﻿/* ============================================================
   Свой Сервис — единая тема (тёмный «detail-studio», холодный сине-голубой акцент)
   Собрано из 7 исторических слоёв style.css: оставлены только
   правила, реально влияющие на итоговый вид.
   Старый файл style.css сохранён как резервная копия.
   ============================================================ */

:root {
  --ref-bg: #070a0f;
  --ref-shell: #101722;
  --ref-card: #141d29;
  --ref-card-2: #182638;
  --ref-line: rgba(255, 255, 255, 0.12);
  --ref-line-hot: rgba(96, 198, 255, 0.48);
  --ref-text: #eef7ff;
  --ref-muted: #b8c7d6;
  --ref-dim: #748496;
  --ref-orange: #2f9eea;
  --ref-orange-2: #7fd7ff;
  --ref-blue: #8bdcff;

  /* наследие ранних слоёв, на которое ещё есть ссылки */
  --text: #eef7ff;
  --muted-strong: #d2e7f7;
  --cyan: #8bdcff;
  --blue: #6aa7d8;

  --radius: 8px;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.54);
  --focus-ring: rgba(125, 211, 252, 0.88);
  --display-font: "Segoe UI Variable Display", "Segoe UI", "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #070a0f;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ref-text);
  background:
    radial-gradient(circle at 50% -10%, rgba(79, 195, 247, 0.11), transparent 30%),
    linear-gradient(180deg, #070a0f 0%, var(--ref-bg) 48%, #070a0f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.62), transparent 68%);
  opacity: 0.55;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(79, 195, 247, 0.11), transparent 26vw),
    radial-gradient(circle at 86% 18%, rgba(92, 140, 255, 0.08), transparent 24vw);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-glow {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 4px;
}

/* появление секций при прокрутке */
.reveal {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(34px) scale(0.985);
  transition: opacity 0.7s ease, transform 0.7s ease, filter 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* ---------- Шапка ---------- */
.site-header,
.site-header.is-scrolled {
  position: sticky;
  top: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto auto;
  gap: clamp(10px, 1.4vw, 22px);
  align-items: center;
  width: min(1220px, calc(100vw - 40px));
  min-height: 74px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)),
    rgba(10, 16, 24, 0.92);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transition: padding 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-logo {
  display: grid;
  place-items: center;
  width: 134px;
  height: 48px;
  overflow: hidden;
  border-radius: 4px;
  background: transparent;
}

.brand-logo img {
  display: block;
  width: 128px;
  height: 44px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 0 14px rgba(139, 220, 255, 0.12));
  transform: translateY(1px);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  color: var(--ref-text);
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  max-width: 220px;
  margin-top: 3px;
  overflow: hidden;
  color: rgba(238, 247, 255, 0.7);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 11px;
  border-radius: 7px;
  color: #c8d6e4;
  font-size: 12.5px;
  font-weight: 760;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.main-nav a[aria-current="page"] {
  color: var(--ref-orange-2);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-call,
.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.header-call {
  color: #eef7ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
}

.header-call:hover {
  border-color: rgba(96, 198, 255, 0.5);
  background: rgba(79, 195, 247, 0.1);
}

.header-phone {
  color: #06131d;
  background: linear-gradient(180deg, var(--ref-orange-2), var(--ref-orange));
  box-shadow: 0 18px 42px rgba(79, 195, 247, 0.28);
}

.header-phone:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: var(--ref-text);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 10px;
  background: var(--ref-text);
  transition: transform 0.2s ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* ---------- Кнопки ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:active {
  transform: translateY(0) scale(0.985);
}

.button-primary {
  color: #06131d;
  background: linear-gradient(180deg, var(--ref-orange-2), var(--ref-orange));
  box-shadow: 0 14px 34px rgba(79, 195, 247, 0.2);
}

.button-primary:hover {
  box-shadow: 0 18px 44px rgba(79, 195, 247, 0.3);
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--ref-text);
  background: rgba(255, 255, 255, 0.055);
}

.button-ghost:hover {
  border-color: var(--ref-line-hot);
  background: rgba(79, 195, 247, 0.09);
}

/* ---------- Типографика и секции ---------- */
h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--ref-text);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-size: clamp(32px, 3.9vw, 54px);
  line-height: 1.04;
  font-weight: 740;
}

h3 {
  margin-bottom: 12px;
  font-size: 19px;
  line-height: 1.2;
}

p {
  color: #c8d6e4;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ref-orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-band {
  width: min(1220px, calc(100vw - 40px));
  margin: 0 auto;
  padding: clamp(62px, 7vw, 104px) 0;
}

.section-band.compact {
  padding-top: 72px;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin-bottom: clamp(28px, 5vw, 56px);
}

.section-head h1,
.hero.section-band .hero-copy h1 {
  max-width: 980px;
  font-family: var(--display-font);
  font-size: clamp(40px, 4.8vw, 70px);
  line-height: 1.04;
  font-weight: 850;
  letter-spacing: 0;
  color: var(--ref-text);
  text-transform: none;
  text-wrap: balance;
}

.section-head h2,
.cta-inner h2 {
  font-family: var(--display-font);
  font-size: clamp(30px, 3.8vw, 54px);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: 0;
  color: var(--ref-text);
  text-transform: none;
}

.section-head p:not(.eyebrow) {
  color: var(--ref-muted);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Hero (карточка с фоном) ---------- */
.hero.section-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 620px) 1fr;
  grid-template-areas:
    "copy copy"
    "panel panel";
  align-content: center;
  justify-content: start;
  gap: 26px;
  width: min(1220px, calc(100vw - 40px));
  min-height: min(760px, calc(100vh - 96px));
  margin: 14px auto 0;
  padding: clamp(38px, 5vw, 70px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  background: #070d14;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
}

.hero.section-band .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero.section-band .hero-bg img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% center;
  filter: saturate(0.92) contrast(1.08) brightness(0.74);
}

.hero.section-band .hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.94) 0%, rgba(5, 10, 16, 0.7) 34%, rgba(5, 10, 16, 0.18) 72%, rgba(5, 10, 16, 0.42) 100%),
    linear-gradient(180deg, rgba(5, 10, 16, 0.08), rgba(5, 10, 16, 0.7));
}

.hero-vignette,
.hero-conversion-panel,
.hero-mini-panel,
.hero-stats {
  display: none;
}

.hero.section-band .hero-copy {
  grid-area: copy;
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero.section-band .reveal,
.hero.section-band .hero-copy {
  opacity: 1;
  filter: none;
  transform: none;
}

.hero.section-band .hero-copy h1 {
  max-width: 610px;
  text-shadow: 0 14px 44px rgba(0, 0, 0, 0.72);
}

.hero.section-band .hero-text {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--ref-muted);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
}

/* ---------- Index: команда и цех ---------- */
.premium-split {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.premium-copy {
  position: sticky;
  top: 112px;
}

.premium-copy p:not(.eyebrow) {
  color: var(--ref-muted);
  line-height: 1.65;
}

.people-grid,
.workshop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.people-card,
.workshop-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.02)),
    rgba(13, 20, 30, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.people-card img,
.workshop-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  border-radius: 10px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.08) brightness(0.78);
}

.people-card span,
.workshop-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--ref-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.people-card h3,
.workshop-card h3 {
  margin-bottom: 10px;
  color: var(--ref-text);
}

.people-card p,
.workshop-card p {
  margin: 0;
  color: var(--ref-muted);
  line-height: 1.55;
}

/* ---------- 3D-осмотр ---------- */
.scanner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.68fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: stretch;
}

.scanner-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  background: var(--ref-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  transform-style: preserve-3d;
}

.scanner-stage::before {
  content: "";
  position: absolute;
  inset: 34px;
  border: 1px solid rgba(111, 234, 255, 0.12);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.22), transparent),
    radial-gradient(circle at 50% 50%, rgba(79, 195, 247, 0.08), transparent 48%);
  opacity: 0.72;
}

.scanner-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.scanner-viewer {
  position: absolute;
  z-index: 2;
  left: 4%;
  right: 4%;
  top: 27%;
  height: 52%;
  cursor: grab;
  user-select: none;
  touch-action: none;
  transform:
    perspective(1100px)
    rotateX(var(--scan-lift, 2deg))
    rotateY(calc(var(--scan-rotate, 0deg) + var(--drag-lean, 0deg)))
    translateZ(0);
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}

.scanner-viewer.is-dragging {
  cursor: grabbing;
  filter: drop-shadow(0 0 22px rgba(125, 211, 252, 0.22));
}

.scanner-car {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: saturate(0.88) contrast(1.04) drop-shadow(0 30px 30px rgba(17, 17, 17, 0.2));
  animation: carInspectFloat 5.8s ease-in-out infinite;
  transition: opacity 0.22s ease, transform 0.28s ease, filter 0.28s ease;
  will-change: transform, opacity;
}

.scanner-car.is-switching {
  opacity: 0.42;
  transform: translateY(-4px) scale(0.992);
}

.scanner-car-shadow {
  position: absolute;
  z-index: 1;
  left: 11%;
  right: 10%;
  bottom: 0;
  height: 18%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(79, 195, 247, 0.16), rgba(0, 0, 0, 0.12) 42%, transparent 72%);
  filter: blur(14px);
  transform: translateY(24px) rotateX(72deg);
}

.car-part-layer {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.car-part-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.car-part-shape {
  fill: rgba(111, 234, 255, 0.001);
  stroke: rgba(111, 234, 255, 0);
  stroke-width: 3.5;
  stroke-linejoin: round;
  stroke-linecap: round;
  cursor: pointer;
  pointer-events: all;
  transition: fill 0.16s ease, stroke 0.16s ease, filter 0.16s ease;
}

.car-part-shape:hover,
.car-part-shape:focus-visible,
.car-part-shape.is-selected {
  fill: rgba(111, 234, 255, 0.2);
  stroke: rgba(111, 234, 255, 0.96);
  filter:
    drop-shadow(0 0 7px rgba(111, 234, 255, 0.88))
    drop-shadow(0 0 18px rgba(47, 155, 255, 0.58));
  outline: none;
}

.part-info {
  position: absolute;
  z-index: 6;
  left: 50%;
  top: 6%;
  transform: translateX(-50%);
  display: grid;
  gap: 3px;
  justify-items: center;
  min-width: 220px;
  max-width: 90%;
  padding: 10px 16px;
  border: 1px solid var(--ref-line-hot);
  border-radius: var(--radius);
  text-align: center;
  background: rgba(7, 13, 20, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(14px);
  pointer-events: none;
}

.part-info[hidden] {
  display: none;
}

.part-info b {
  color: var(--ref-orange-2);
  font-size: 14px;
}

.part-info span {
  color: var(--ref-muted);
  font-size: 12px;
  line-height: 1.4;
}

.viewer-360-badge {
  position: absolute;
  z-index: 4;
  right: 6%;
  top: 3%;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #07131d;
  font-size: 17px;
  font-weight: 950;
  background: var(--ref-orange);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  opacity: 0.72;
}

.viewer-360-badge::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: inherit;
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: scannerSpin 5.5s linear infinite;
}

.viewer-drag-hint {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 7%;
  transform: translateX(-50%);
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 850;
  background: rgba(10, 16, 24, 0.82);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
  white-space: nowrap;
  opacity: 0.72;
}

.scanner-viewer.has-part-selected .viewer-drag-hint {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.viewer-controls {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: -20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: var(--ref-text);
  background: rgba(10, 16, 24, 0.82);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(16px);
  transform: translateX(-50%);
  opacity: 0.72;
}

.viewer-controls button {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: var(--ref-orange);
  box-shadow: 0 14px 34px rgba(79, 195, 247, 0.2);
  cursor: pointer;
}

.viewer-controls button:active {
  transform: scale(0.985);
}

.viewer-controls button::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 15px;
  width: 9px;
  height: 9px;
  border-left: 2px solid #07131d;
  border-bottom: 2px solid #07131d;
  transform: rotate(45deg);
}

.viewer-controls button:last-child::before {
  left: 15px;
  transform: rotate(-135deg);
}

.viewer-controls span {
  min-width: 150px;
  color: var(--ref-text);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.viewer-controls b {
  display: block;
  color: var(--ref-text);
  font-size: 14px;
}

.scanner-copy {
  position: relative;
  padding: clamp(24px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32);
}

.scanner-copy > * {
  position: relative;
  z-index: 1;
}

.scanner-copy img {
  width: 230px;
  margin-bottom: 34px;
}

.scanner-copy p {
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.65;
}

.scanner-report-label {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ref-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.scanner-copy h3 {
  max-width: 460px;
  color: var(--ref-text);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.08;
}

.scanner-report {
  display: grid;
  gap: 10px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.scanner-report li {
  position: relative;
  padding: 15px 16px 15px 42px;
  border: 1px solid var(--ref-line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.scanner-report li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ref-orange-2), var(--ref-orange));
  box-shadow: 0 12px 34px rgba(79, 195, 247, 0.24);
}

.scanner-report li.is-highlighted {
  border-color: var(--ref-line-hot);
  background: rgba(79, 195, 247, 0.08);
  box-shadow: 0 0 24px rgba(79, 195, 247, 0.18);
}

.scanner-report b,
.scanner-report span {
  display: block;
}

.scanner-report b {
  margin-bottom: 5px;
  color: var(--ref-text);
}

.scanner-report span {
  color: var(--ref-muted);
  line-height: 1.45;
}

.scanner-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0;
}

.scanner-summary div {
  min-height: 82px;
  padding: 16px;
  border: 1px solid var(--ref-line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
}

.scanner-summary span {
  display: block;
  color: var(--ref-text);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
}

.scanner-summary b {
  display: block;
  margin-top: 8px;
  color: var(--ref-muted);
  font-size: 13px;
  text-transform: uppercase;
}

/* ---------- Отзывы на Яндексе (index) ---------- */
.yandex-review-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 12%, rgba(79, 195, 247, 0.12), transparent 28%),
    rgba(14, 21, 31, 0.88);
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.28);
}

.yandex-review-card p:not(.eyebrow) {
  max-width: 760px;
  color: var(--ref-muted);
  line-height: 1.6;
}

/* ---------- CTA-блок ---------- */
.cta-inner {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(34px, 5vw, 68px);
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32);
}

.cta-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(125, 211, 252, 0.14), transparent 44%);
}

.cta-inner > * {
  position: relative;
  z-index: 1;
}

.cta-inner p:not(.eyebrow) {
  max-width: 650px;
  margin: 20px 0 28px;
  color: var(--ref-muted);
  font-size: 19px;
  line-height: 1.55;
}

.cta-logo {
  display: block;
  width: 220px;
  height: auto;
  margin-bottom: 22px;
}

/* ---------- Услуги: витрина и карточки ---------- */
.services-showcase {
  position: relative;
  min-height: clamp(360px, 42vw, 540px);
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #070a0f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46), 0 0 54px rgba(0, 141, 255, 0.16);
}

.services-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(360px, 42vw, 540px);
  object-fit: cover;
  transform: scale(1.02);
  filter: saturate(0.94) contrast(1.08) brightness(0.86);
  animation: showcaseDrift 14s ease-in-out infinite alternate;
}

.services-showcase::before {
  content: "";
  position: absolute;
  z-index: 1;
  right: clamp(22px, 5vw, 70px);
  top: clamp(20px, 5vw, 58px);
  width: min(34vw, 320px);
  aspect-ratio: 2.7 / 1;
  background: url("assets/logo-tight.png") center / contain no-repeat;
  opacity: 0.18;
  filter: drop-shadow(0 0 24px rgba(79, 195, 247, 0.28));
  pointer-events: none;
}

.services-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.64) 28%, rgba(5, 7, 10, 0.2) 62%, rgba(5, 7, 10, 0.7) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.08) 0%, rgba(5, 7, 10, 0.34) 58%, rgba(5, 7, 10, 0.82) 100%);
}

.showcase-overlay {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 64px);
  bottom: clamp(28px, 6vw, 70px);
  max-width: min(700px, calc(100% - 44px));
  color: #eef7ff;
}

.showcase-overlay::before {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f9eea, #4fc3f7);
  box-shadow: 0 0 24px rgba(79, 195, 247, 0.48);
}

.showcase-overlay span {
  display: inline-flex;
  margin-bottom: 12px;
  color: #7fd7ff;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.8);
}

.showcase-overlay strong {
  display: block;
  max-width: 20ch;
  color: #f2fbff;
  font-family: var(--display-font);
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 850;
  line-height: 1.05;
  text-wrap: balance;
  text-shadow:
    0 2px 0 rgba(0, 0, 0, 0.18),
    0 18px 58px rgba(0, 0, 0, 0.86),
    0 0 24px rgba(79, 195, 247, 0.16);
}

.showcase-overlay .button {
  margin-top: 22px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  padding-top: 0;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card > img {
  display: block;
  width: calc(100% + 48px);
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 0 -24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.05) contrast(1.12) brightness(0.78);
  transition: transform 0.48s ease, filter 0.48s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.service-card:hover > img {
  transform: scale(1.065);
  filter: saturate(1.16) contrast(1.14) brightness(0.84);
}

.service-card h3 {
  color: var(--ref-text);
}

.service-card p {
  color: var(--ref-muted);
  line-height: 1.65;
}

/* ---------- Сотрудники ---------- */
.employees-hero {
  padding-bottom: clamp(24px, 4vw, 42px);
}

.employees-hero-panel {
  position: relative;
  min-height: clamp(390px, 46vw, 560px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: #070a0f;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.46), 0 0 54px rgba(0, 141, 255, 0.14);
}

.employees-hero-panel img {
  display: block;
  width: 100%;
  min-height: clamp(390px, 46vw, 560px);
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.08) brightness(0.78);
  transform: scale(1.02);
}

.employees-hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.9) 0%, rgba(5, 7, 10, 0.64) 34%, rgba(5, 7, 10, 0.2) 68%, rgba(5, 7, 10, 0.66) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.04) 0%, rgba(5, 7, 10, 0.78) 100%);
}

.employees-hero-copy {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 5vw, 64px);
  bottom: clamp(28px, 6vw, 70px);
  display: grid;
  gap: 18px;
  max-width: min(620px, calc(100% - 44px));
  color: #eef7ff;
}

.employees-hero-copy span {
  width: max-content;
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #8fdcff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.employees-hero-copy strong {
  display: block;
  max-width: 18ch;
  color: #f2fbff;
  font-family: var(--display-font);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 850;
  line-height: 1.05;
  text-wrap: balance;
  text-shadow: 0 18px 58px rgba(0, 0, 0, 0.86);
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.staff-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  padding-top: 0;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.staff-card img {
  display: block;
  width: calc(100% + 48px);
  aspect-ratio: 4 / 3;
  margin: 0 -24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.1) brightness(0.78);
}

.staff-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--ref-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.staff-card h3 {
  color: var(--ref-text);
}

.staff-card p {
  color: var(--ref-muted);
  line-height: 1.65;
}

.employee-service-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32);
}

.employee-service-layout p:not(.eyebrow) {
  max-width: 620px;
  margin: 20px 0 28px;
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.65;
}

.service-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-steps article {
  min-height: 176px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(7, 12, 18, 0.48);
}

.service-steps span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ref-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.service-steps strong {
  display: block;
  color: var(--ref-text);
  font-size: 21px;
  line-height: 1.15;
}

.service-steps p {
  margin: 10px 0 0;
  color: var(--ref-muted);
  line-height: 1.55;
}

/* ---------- Цены ---------- */
.price-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.75fr) minmax(0, 1.25fr);
  gap: 18px;
}

.estimate-card {
  position: relative;
  min-height: 100%;
  padding: 30px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.32);
}

.estimate-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 0%, rgba(79, 195, 247, 0.14), transparent 38%);
}

.estimate-card > * {
  position: relative;
  z-index: 1;
}

.estimate-card img {
  width: 220px;
  margin-bottom: 34px;
}

.estimate-card > span {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--ref-blue);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.estimate-card h3 {
  max-width: 420px;
  color: var(--ref-text);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.05;
}

.estimate-card p {
  color: var(--ref-muted);
  line-height: 1.65;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-card {
  padding: 24px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.price-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin-bottom: 22px;
  padding: 0 12px;
  border-radius: 999px;
  color: #06131d;
  background: linear-gradient(180deg, var(--ref-orange-2), var(--ref-orange));
  box-shadow: 0 14px 34px rgba(79, 195, 247, 0.2);
  font-size: 14px;
  font-weight: 900;
}

.price-card h3 {
  margin-bottom: 10px;
  color: var(--ref-text);
}

.price-card p {
  margin-bottom: 0;
  color: var(--ref-muted);
  line-height: 1.6;
}

.price-card p b {
  color: var(--ref-text);
}

/* ---------- Работы: карусель до/после ---------- */
.before-after-shell {
  position: relative;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--ref-card);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.before-after-track {
  position: relative;
  min-height: clamp(520px, 54vw, 720px);
}

.before-after-slide {
  position: absolute;
  inset: 0;
  min-height: clamp(520px, 54vw, 720px);
  opacity: 0;
  transform: translateX(42px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.before-after-slide.is-active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.before-after-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(520px, 54vw, 720px);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.12) brightness(0.78);
}

.before-after-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 24%, rgba(3, 6, 10, 0.86)),
    linear-gradient(90deg, rgba(3, 6, 10, 0.16), transparent 38%, rgba(3, 6, 10, 0.28));
}

.before-after-slide:has(.compare-slider)::after {
  display: none;
}

.before-after-slide:has(.compare-slider) .ba-caption {
  z-index: 6;
  pointer-events: none;
}

.ba-caption {
  position: absolute;
  z-index: 1;
  left: clamp(22px, 5vw, 58px);
  bottom: clamp(24px, 5vw, 54px);
  width: min(760px, calc(100% - 120px));
  max-width: min(760px, calc(100% - 40px));
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--ref-text);
  background: rgba(10, 16, 24, 0.82);
  backdrop-filter: blur(14px);
}

.ba-caption > span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--ref-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ba-caption strong {
  display: block;
  max-width: 640px;
  color: var(--ref-text);
  font-size: clamp(28px, 2.35vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0 0;
}

.case-details div {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.case-details dt {
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-details dd {
  margin: 0;
  color: var(--ref-text);
  font-size: 13px;
  line-height: 1.3;
}

/* интерактивное сравнение */
.compare-slider {
  --compare-position: 50%;
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: clamp(520px, 54vw, 720px);
  overflow: hidden;
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.compare-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 22%, rgba(5, 10, 16, 0.62) 100%),
    linear-gradient(90deg, rgba(5, 10, 16, 0.28), transparent 44%, rgba(5, 10, 16, 0.16));
}

.compare-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.compare-after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--compare-position)) 0 0);
  will-change: clip-path;
}

.compare-after {
  width: 100%;
  height: 100%;
}

.compare-label {
  position: absolute;
  z-index: 4;
  top: 22px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--ref-text);
  background: rgba(10, 16, 24, 0.82);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  pointer-events: none;
}

.compare-label-before {
  right: 22px;
}

.compare-label-after {
  left: 22px;
}

.illustration-badge {
  position: absolute;
  z-index: 4;
  left: 22px;
  top: 68px;
  min-height: 34px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  color: #07131d;
  background: rgba(238, 247, 255, 0.9);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(10px);
}

.compare-handle {
  position: absolute;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: var(--compare-position);
  width: 56px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateX(-50%);
  cursor: ew-resize;
}

.compare-handle::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--ref-orange-2) 16%, #eef7ff 50%, var(--ref-orange-2) 84%, transparent);
  box-shadow: 0 0 22px rgba(79, 195, 247, 0.52);
  transform: translateX(-50%);
}

.compare-handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(238, 247, 255, 0.52);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--ref-orange-2), var(--ref-orange));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.36), 0 0 28px rgba(79, 195, 247, 0.34);
  transform: translate(-50%, -50%);
}

.compare-handle span::before,
.compare-handle span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-top: 2px solid #07131d;
  border-left: 2px solid #07131d;
}

.compare-handle span::before {
  left: 16px;
  transform: rotate(-45deg);
}

.compare-handle span::after {
  right: 16px;
  transform: rotate(135deg);
}

.compare-slider.is-dragging .compare-handle span {
  transform: translate(-50%, -50%) scale(1.05);
}

/* коллаж 50/50 как интерактивное сравнение: показываем половины одной картинки */
.compare-collage .compare-image {
  width: 210%;
}

.compare-collage .compare-before {
  margin-left: -2%;
}

.compare-collage .compare-after {
  margin-left: -108%;
}

/* стрелки и точки карусели */
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: var(--ref-orange);
  box-shadow: 0 14px 34px rgba(79, 195, 247, 0.2);
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.985);
}

.carousel-arrow::before {
  content: "";
  position: absolute;
  inset: 18px 16px;
  border-top: 2px solid #07131d;
  border-right: 2px solid #07131d;
}

.carousel-prev {
  left: 18px;
}

.carousel-next {
  right: 18px;
}

.carousel-prev::before {
  transform: rotate(-135deg);
}

.carousel-next::before {
  transform: rotate(45deg);
}

.carousel-dots {
  position: absolute;
  z-index: 6;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(22px, 4vw, 48px);
  display: flex;
  gap: 9px;
}

.carousel-dots button {
  width: 38px;
  height: 18px;
  padding: 0;
  border: 7px solid transparent;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  background-clip: padding-box;
  cursor: pointer;
}

.carousel-dots button.is-active {
  background: linear-gradient(90deg, var(--ref-orange-2), var(--ref-orange));
  background-clip: padding-box;
  box-shadow: 0 0 18px rgba(79, 195, 247, 0.4);
}

/* ---------- Работы: преимущества, процесс, отзывы ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.glass-card {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  padding: 24px;
  padding-top: 0;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.glass-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.12) 48%, transparent 58% 100%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.glass-card:hover::after {
  opacity: 1;
  animation: cardGlint 0.85s ease;
}

.card-media {
  display: block;
  width: calc(100% + 48px);
  height: 138px;
  margin: 0 -24px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  filter: saturate(1.05) contrast(1.12) brightness(0.78);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.glass-card:hover .card-media {
  transform: scale(1.055);
  filter: saturate(1.12) contrast(1.14) brightness(0.84);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 34px;
  margin-bottom: 28px;
  border: 1px solid rgba(200, 23, 31, 0.18);
  border-radius: var(--radius);
  color: #c8171f;
  background: rgba(200, 23, 31, 0.07);
  font-size: 13px;
  font-weight: 800;
}

.glass-card h3 {
  color: var(--ref-text);
}

.glass-card p {
  color: var(--ref-muted);
  line-height: 1.65;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 42px;
  left: 5%;
  right: 5%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.process-step {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px 20px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border: 1px solid rgba(200, 23, 31, 0.18);
  border-radius: 50%;
  color: #c8171f;
  background: rgba(200, 23, 31, 0.07);
  font-weight: 800;
}

.process-step h3 {
  margin: 0;
  color: var(--ref-text);
  font-size: 17px;
  line-height: 1.35;
}

.process-step p {
  color: var(--ref-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.review-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.review-top strong {
  color: var(--ref-text);
  font-size: 20px;
}

.review-top span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: #bfeaff;
  background: rgba(255, 211, 107, 0.12);
  font-size: 14px;
}

.review-card p {
  color: var(--ref-muted);
  line-height: 1.7;
}

/* ---------- Страница отзывов: выбор площадки ---------- */
.review-links-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review-platform-button {
  position: relative;
  display: grid;
  align-content: space-between;
  min-height: 190px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025)),
    rgba(16, 24, 34, 0.88);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.review-platform-button::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 32px;
  height: 32px;
  border-top: 2px solid rgba(143, 220, 255, 0.9);
  border-right: 2px solid rgba(143, 220, 255, 0.9);
  transform: rotate(45deg);
  opacity: 0.72;
}

.review-platform-button:hover,
.review-platform-button:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(79, 195, 247, 0.48);
  background:
    linear-gradient(180deg, rgba(79, 195, 247, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(16, 24, 34, 0.92);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.review-card-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.review-number {
  color: var(--ref-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.review-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.review-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-platform-button strong {
  position: relative;
  z-index: 1;
  max-width: calc(100% - 42px);
  color: var(--ref-text);
  font-size: clamp(24px, 2.5vw, 34px);
  line-height: 1.08;
}

/* ---------- Контакты: карта и вход ---------- */
.contact-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 18px;
}

.map-card,
.entrance-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(13, 20, 30, 0.88);
  box-shadow: 0 20px 62px rgba(0, 0, 0, 0.28);
}

.map-card iframe {
  display: block;
  width: 100%;
  min-height: 440px;
  border: 0;
  filter: saturate(0.82) contrast(1.04) brightness(0.82);
}

.entrance-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04) brightness(0.92);
}

.entrance-card div {
  padding: 24px;
}

.entrance-card span {
  color: var(--ref-orange);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.entrance-card p {
  color: var(--ref-muted);
  line-height: 1.6;
}

/* ---------- Контакты: заявка ---------- */
.request-section {
  padding-top: clamp(26px, 4vw, 54px);
}

.request-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  min-height: 560px;
  overflow: hidden;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #070d14;
  box-shadow: 0 24px 78px rgba(0, 0, 0, 0.36);
}

.request-shell::before,
.request-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.request-shell::before {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 6, 7, 0.92) 0%, rgba(6, 6, 7, 0.72) 45%, rgba(6, 6, 7, 0.9) 100%),
    linear-gradient(180deg, rgba(6, 6, 7, 0.18), rgba(6, 6, 7, 0.86));
}

.request-shell::after {
  z-index: 2;
  background:
    radial-gradient(circle at 18% 18%, rgba(79, 195, 247, 0.18), transparent 28%),
    radial-gradient(circle at 80% 40%, rgba(79, 195, 247, 0.18), transparent 32%);
  mix-blend-mode: screen;
}

.request-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(0.78) contrast(1.08) brightness(0.58);
}

.request-copy,
.request-form {
  position: relative;
  z-index: 3;
}

.request-copy {
  align-self: center;
  max-width: 660px;
}

.request-copy h2 {
  max-width: 620px;
  margin: 0 0 22px;
  color: #fff;
  font-family: var(--display-font);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.request-copy p:not(.eyebrow) {
  max-width: 530px;
  color: rgba(238, 247, 255, 0.82);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.62;
}

.request-checklist {
  display: inline-flex;
  max-width: 560px;
  margin-top: 26px;
  color: #eaf7ff;
  font-weight: 850;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(79, 195, 247, 0.42);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.request-checklist:hover {
  color: var(--ref-blue);
}

.request-form {
  display: grid;
  align-self: center;
  gap: 14px;
  padding: clamp(18px, 2.8vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(9, 10, 12, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.request-form label {
  display: grid;
  gap: 7px;
}

.request-form label > span {
  color: rgba(238, 247, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  min-height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0 16px;
  color: #0f1115;
  background: rgba(255, 255, 255, 0.94);
  font: inherit;
}

.request-form textarea {
  min-height: 92px;
  padding-top: 14px;
  resize: vertical;
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 3px solid rgba(79, 195, 247, 0.38);
  outline-offset: 2px;
}

.request-form .consent-field {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 10px;
  color: rgba(238, 247, 255, 0.78);
  font-size: 13px;
  line-height: 1.45;
}

.request-form .consent-field input,
.request-form input[type="checkbox"] {
  width: 18px;
  min-width: 18px;
  max-width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  padding: 0;
  border-radius: 4px;
  color: var(--ref-ink);
  background: rgba(255, 255, 255, 0.94);
  accent-color: var(--ref-orange);
  justify-self: start;
}

.request-form .consent-field span {
  color: rgba(238, 247, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
}

.request-form .consent-field a,
.request-note a {
  color: #bcecff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.request-form .consent-field a:hover,
.request-note a:hover {
  color: #fff;
}

.file-field input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-field b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  font-size: 14px;
  cursor: pointer;
}

.file-field:focus-within b,
.file-field:hover b {
  background: rgba(79, 195, 247, 0.2);
}

.request-form .button {
  width: min(240px, 100%);
  margin-top: 4px;
}

.request-note,
.request-status {
  margin: 0;
  color: rgba(238, 247, 255, 0.7);
  font-size: 13px;
  line-height: 1.45;
}

.request-status {
  min-height: 20px;
  color: #bcecff;
  font-weight: 800;
}

/* ---------- Чек-лист фото повреждений ---------- */
.checklist-section {
  padding-top: clamp(120px, 14vw, 168px);
}

.checklist-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.checklist-card,
.checklist-note {
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(79, 195, 247, 0.08), transparent 38%),
    radial-gradient(circle at 88% 14%, rgba(79, 195, 247, 0.14), transparent 30%),
    rgba(14, 21, 31, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.24);
}

.checklist-card {
  min-height: 220px;
  padding: 24px;
}

.checklist-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 1px solid rgba(79, 195, 247, 0.28);
  border-radius: 10px;
  color: #eaf7ff;
  background: rgba(79, 195, 247, 0.1);
  font-weight: 900;
}

.checklist-card h2,
.checklist-note h2 {
  margin: 0 0 12px;
  color: #eef7ff;
  font-family: var(--display-font);
  font-size: clamp(21px, 1.9vw, 28px);
  line-height: 1.14;
}

.checklist-card p,
.checklist-note p {
  margin: 0;
  color: var(--ref-muted);
  line-height: 1.65;
}

.checklist-note {
  margin-top: 16px;
  padding: clamp(24px, 4vw, 36px);
}

.checklist-note p {
  max-width: 720px;
}

.checklist-note .hero-actions {
  margin-top: 24px;
}

/* ---------- Общий контактный подвал ---------- */
.site-contact-footer {
  position: relative;
  padding-top: clamp(70px, 8vw, 110px);
  padding-bottom: clamp(60px, 7vw, 92px);
}

.site-contact-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 100vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.22), rgba(79, 195, 247, 0.2), transparent);
  transform: translateX(-50%);
}

.site-contact-footer-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.34fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.footer-contact-intro {
  position: sticky;
  top: 104px;
  min-width: 0;
}

.footer-logo {
  display: block;
  width: min(240px, 70vw);
  height: auto;
  margin-bottom: 38px;
}

.footer-contact-intro h2 {
  max-width: 520px;
  margin-bottom: 18px;
}

.footer-contact-intro p:not(.eyebrow) {
  max-width: 520px;
  color: var(--ref-muted);
  line-height: 1.55;
}

.footer-contact-intro .hero-actions {
  margin-top: 22px;
}

.footer-contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.footer-legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  margin: 10px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(238, 247, 255, 0.52);
  font-size: 12px;
  line-height: 1.55;
}

.footer-legal-name {
  color: rgba(238, 247, 255, 0.68);
  font-weight: 760;
}

.footer-legal-details {
  max-width: 980px;
  color: rgba(238, 247, 255, 0.46);
  font-weight: 650;
}

.site-legal-footer {
  padding-top: 18px;
  padding-bottom: 44px;
}

.site-legal-footer .footer-legal {
  margin: 0;
}

.contact-card {
  min-height: 132px;
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
}

.footer-contact-cards .schedule-card {
  min-height: 222px;
}

.footer-contact-cards .contact-info-card {
  min-height: 160px;
}

/* карточка графика */
.schedule-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(79, 195, 247, 0.38);
  background:
    linear-gradient(135deg, rgba(79, 195, 247, 0.1), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(79, 195, 247, 0.22), transparent 30%),
    rgba(14, 21, 31, 0.9);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.schedule-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(79, 195, 247, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 44%);
  pointer-events: none;
}

.schedule-card-head,
.schedule-list {
  position: relative;
  z-index: 1;
}

.schedule-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.schedule-card .schedule-card-head > span {
  margin: 0;
  color: #7fd7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.schedule-card-head b {
  padding: 6px 10px;
  border: 1px solid rgba(79, 195, 247, 0.28);
  border-radius: 999px;
  color: #eaf7ff;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(79, 195, 247, 0.1);
  box-shadow: 0 0 24px rgba(79, 195, 247, 0.12);
}

.schedule-logo {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 78px;
  height: 78px;
  overflow: hidden;
  border: 2px solid rgba(79, 195, 247, 0.26);
  border-radius: 22px;
  opacity: 0.9;
  background: #f4f4f4;
  box-shadow:
    0 0 30px rgba(79, 195, 247, 0.16),
    0 18px 34px rgba(0, 0, 0, 0.22);
}

.schedule-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-list {
  display: grid;
  gap: 8px;
  max-width: calc(100% - 104px);
}

.schedule-list p {
  display: grid;
  grid-template-columns: minmax(58px, 0.6fr) 1fr;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.schedule-list p:last-child {
  border-bottom: 0;
}

.schedule-list p span {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule-list strong {
  color: #eef7ff;
  font-size: 16px;
  font-weight: 850;
}

/* карточки адрес / телефон / ВК / MAX */
.contact-info-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(79, 195, 247, 0.34);
  background:
    linear-gradient(135deg, rgba(79, 195, 247, 0.09), transparent 38%),
    radial-gradient(circle at 88% 14%, rgba(79, 195, 247, 0.18), transparent 30%),
    rgba(14, 21, 31, 0.92);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.26);
}

.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgba(79, 195, 247, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), transparent 42%);
  pointer-events: none;
}

.contact-info-card::after {
  position: absolute;
  right: 22px;
  bottom: 18px;
  width: 72px;
  height: 72px;
  opacity: 0.72;
  pointer-events: none;
}

.contact-info-card .contact-card-head,
.contact-info-card .contact-main-link,
.contact-info-card p {
  position: relative;
  z-index: 1;
}

.contact-info-card .contact-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.contact-info-card .contact-card-head > span {
  margin: 0;
  color: #7fd7ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-info-card .contact-card-head b {
  padding: 6px 10px;
  border: 1px solid rgba(79, 195, 247, 0.28);
  border-radius: 999px;
  color: #eaf7ff;
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  background: rgba(79, 195, 247, 0.1);
  box-shadow: 0 0 24px rgba(79, 195, 247, 0.12);
}

.contact-card .contact-main-link {
  display: inline-flex;
  max-width: calc(100% - 72px);
  margin: 0 0 10px;
  color: #eef7ff;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
  text-shadow: 0 14px 34px rgba(0, 0, 0, 0.55);
}

.contact-card .contact-main-link:hover {
  color: var(--ref-blue);
}

.contact-info-card p {
  max-width: calc(100% - 84px);
  margin: 0;
  color: rgba(247, 243, 235, 0.66);
  font-size: 14px;
}

.address-card::after {
  content: none;
}

.address-card .contact-main-link {
  max-width: calc(100% - 94px);
}

.address-card p {
  max-width: calc(100% - 94px);
}

.address-logo-link {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 2px solid rgba(79, 195, 247, 0.28);
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 0 30px rgba(255, 211, 64, 0.18),
    0 18px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.address-logo-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.address-logo-link:hover {
  border-color: rgba(255, 211, 64, 0.72);
  box-shadow:
    0 0 38px rgba(255, 211, 64, 0.32),
    0 18px 34px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.phone-card::after {
  content: none;
}

.phone-card .contact-main-link {
  max-width: calc(100% - 94px);
}

.phone-card p {
  max-width: calc(100% - 94px);
}

.phone-logo-link {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 2px solid rgba(82, 255, 111, 0.28);
  border-radius: 22px;
  background: #10d637;
  box-shadow:
    0 0 30px rgba(38, 255, 92, 0.2),
    0 18px 34px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.phone-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-logo-link:hover {
  border-color: rgba(82, 255, 111, 0.72);
  box-shadow:
    0 0 38px rgba(38, 255, 92, 0.34),
    0 18px 34px rgba(0, 0, 0, 0.26);
  transform: translateY(-2px);
}

.vk-card::after {
  content: none;
}

.vk-card .contact-main-link {
  max-width: calc(100% - 94px);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.12;
}

.vk-card p {
  max-width: calc(100% - 94px);
}

.vk-logo-link {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 2px solid rgba(79, 195, 247, 0.32);
  border-radius: 22px;
  background: #0077ff;
  box-shadow:
    0 0 30px rgba(0, 119, 255, 0.2),
    inset 0 0 18px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.vk-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
}

.vk-logo-link:hover {
  border-color: rgba(79, 195, 247, 0.72);
  box-shadow:
    0 0 38px rgba(0, 119, 255, 0.34),
    0 18px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

.max-card::after {
  content: none;
}

.max-card .contact-main-link {
  max-width: calc(100% - 94px);
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.12;
}

.max-card p {
  max-width: calc(100% - 94px);
}

.max-logo-link {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 2px solid rgba(79, 195, 247, 0.34);
  border-radius: 22px;
  background: #151924;
  box-shadow:
    0 0 30px rgba(18, 184, 255, 0.22),
    inset 0 0 18px rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.max-logo-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.max-logo-link:hover {
  border-color: rgba(79, 195, 247, 0.78);
  box-shadow:
    0 0 38px rgba(18, 184, 255, 0.36),
    0 18px 34px rgba(0, 0, 0, 0.24);
  transform: translateY(-2px);
}

/* ---------- Плавающий CTA ---------- */
.floating-cta {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--ref-line);
  border-radius: var(--radius);
  color: var(--ref-text);
  background: rgba(10, 12, 15, 0.88);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.floating-cta.is-hidden {
  display: none;
}

.floating-cta span {
  color: var(--ref-muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.floating-cta a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius);
  color: #06131d;
  background: linear-gradient(180deg, var(--ref-orange-2), var(--ref-orange));
  box-shadow: 0 18px 42px rgba(79, 195, 247, 0.28);
  font-size: 13px;
  font-weight: 900;
}

.floating-cta a:active {
  transform: scale(0.985);
}

.floating-cta button {
  position: relative;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: var(--ref-orange);
  cursor: pointer;
}

.floating-cta button::before,
.floating-cta button::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 16px;
  height: 2px;
  border-radius: 999px;
  background: #07131d;
}

.floating-cta button::before {
  transform: rotate(45deg);
}

.floating-cta button::after {
  transform: rotate(-45deg);
}

/* ---------- Анимации ---------- */
@keyframes scannerSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes carInspectFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes cardGlint {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@keyframes showcaseDrift {
  from {
    transform: scale(1.04) translateX(0);
  }
  to {
    transform: scale(1.09) translateX(-2%);
  }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1120px) {
  .brand small {
    max-width: 170px;
  }

  .header-call,
  .header-phone {
    padding: 0 13px;
  }
}

@media (max-width: 1100px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: 1fr auto auto;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 10px;
    background: rgba(10, 12, 15, 0.96);
  }

  .main-nav.is-open {
    display: grid;
  }

  .menu-toggle {
    display: block;
  }

  .hero.section-band {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "panel";
    min-height: 720px;
  }

  .premium-split,
  .contact-location-grid,
  .yandex-review-card {
    grid-template-columns: 1fr;
  }

  .premium-copy {
    position: relative;
    top: auto;
  }

  .people-grid,
  .workshop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-contact-footer-inner {
    grid-template-columns: 1fr;
  }

  .request-shell {
    grid-template-columns: 1fr;
  }

  .footer-contact-intro {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-scrolled {
    grid-template-columns: 1fr auto auto;
  }

  .scanner-layout {
    grid-template-columns: 1fr;
  }

  .scanner-stage {
    min-height: 440px;
  }

  .scanner-viewer {
    top: 31%;
    left: 0;
    right: 0;
  }

  .feature-grid,
  .services-grid,
  .staff-grid,
  .checklist-layout,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-line::before {
    display: none;
  }

  .reviews-grid,
  .review-links-panel,
  .price-layout,
  .price-grid,
  .employee-service-layout {
    grid-template-columns: 1fr;
  }

  .before-after-track,
  .before-after-slide,
  .before-after-slide img {
    min-height: 440px;
  }
}

@media (max-width: 760px) {
  .site-header,
  .site-header.is-scrolled {
    width: min(100vw - 16px, 560px);
    margin-top: 8px;
    padding: 9px;
  }

  .brand-logo {
    width: 96px;
    height: 38px;
  }

  .brand strong {
    font-size: 14px;
  }

  .section-band,
  .hero.section-band {
    width: min(100vw - 16px, 560px);
  }

  .section-band {
    padding: 58px 0;
  }

  .hero.section-band {
    min-height: 700px;
    margin-top: 8px;
    padding: 24px 18px;
    border-radius: 12px;
    align-content: end;
  }

  .hero.section-band .hero-bg img {
    object-position: 62% center;
  }

  .hero.section-band .hero-bg::after {
    background:
      linear-gradient(180deg, rgba(5, 10, 16, 0.2) 0%, rgba(5, 10, 16, 0.72) 42%, rgba(5, 10, 16, 0.96) 100%),
      linear-gradient(90deg, rgba(5, 10, 16, 0.78), rgba(5, 10, 16, 0.18));
  }

  .section-head h1,
  .hero.section-band .hero-copy h1 {
    font-size: clamp(34px, 10vw, 52px);
  }

  .section-head h2,
  .cta-inner h2 {
    font-size: clamp(28px, 9vw, 44px);
  }

  .hero.section-band .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .people-grid,
  .workshop-grid,
  .checklist-layout,
  .case-details {
    grid-template-columns: 1fr;
  }

  .people-card,
  .workshop-card {
    min-height: auto;
  }

  .before-after-track,
  .before-after-slide,
  .before-after-slide img,
  .compare-slider {
    min-height: 460px;
  }

  .ba-caption {
    width: calc(100% - 28px);
    max-width: none;
    padding: 14px;
    bottom: 14px;
    left: 14px;
  }

  .ba-caption strong {
    max-width: 100%;
    font-size: clamp(22px, 6.1vw, 27px);
    line-height: 1.12;
  }

  .ba-caption > span {
    font-size: 11px;
  }

  .services-showcase,
  .services-showcase img {
    min-height: 420px;
  }

  .services-showcase::before {
    right: 18px;
    top: 18px;
    width: 210px;
    opacity: 0.14;
  }

  .services-showcase::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.18) 0%, rgba(5, 7, 10, 0.64) 46%, rgba(5, 7, 10, 0.92) 100%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.72), rgba(5, 7, 10, 0.24));
  }

  .showcase-overlay {
    left: 20px;
    right: 20px;
    bottom: 28px;
  }

  .services-grid .service-card > img {
    aspect-ratio: 4 / 3;
  }

  .review-platform-button {
    min-height: 142px;
    padding: 22px;
  }

  .employees-hero-panel,
  .employees-hero-panel img {
    min-height: 430px;
  }

  .employees-hero-panel::after {
    background:
      linear-gradient(180deg, rgba(5, 7, 10, 0.16) 0%, rgba(5, 7, 10, 0.62) 44%, rgba(5, 7, 10, 0.92) 100%),
      linear-gradient(90deg, rgba(5, 7, 10, 0.72), rgba(5, 7, 10, 0.24));
  }

  .employees-hero-copy {
    left: 20px;
    right: 20px;
    bottom: 28px;
    max-width: none;
  }

  .staff-grid,
  .service-steps {
    grid-template-columns: 1fr;
  }

  .employee-service-layout {
    padding: 24px 18px;
  }

  .contact-card .contact-main-link,
  .contact-info-card p {
    max-width: 100%;
  }

  .contact-info-card::after {
    opacity: 0.2;
  }

  .vk-card .contact-main-link,
  .vk-card p,
  .address-card .contact-main-link,
  .address-card p,
  .phone-card .contact-main-link,
  .phone-card p,
  .max-card .contact-main-link,
  .max-card p {
    max-width: calc(100% - 92px);
  }

  .request-shell {
    min-height: auto;
    padding: 24px 18px;
  }

  .request-shell::before {
    background:
      linear-gradient(180deg, rgba(6, 6, 7, 0.7) 0%, rgba(6, 6, 7, 0.9) 45%, rgba(6, 6, 7, 0.96) 100%),
      linear-gradient(90deg, rgba(6, 6, 7, 0.78), rgba(6, 6, 7, 0.42));
  }

  .request-copy h2 {
    font-size: clamp(30px, 8.5vw, 42px);
  }

  .request-form {
    padding: 16px;
  }

  .map-card iframe {
    min-height: 360px;
  }

  .yandex-review-card .button {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .site-contact-footer {
    padding-top: 64px;
  }

  .footer-logo {
    width: min(210px, 72vw);
    margin-bottom: 28px;
  }

  .footer-contact-cards {
    grid-template-columns: 1fr;
  }

  .footer-contact-cards .schedule-card {
    min-height: 190px;
  }

  .footer-contact-cards .contact-info-card {
    min-height: 150px;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 76px;
  }

  .brand small,
  .header-phone {
    display: none;
  }

  .header-call {
    min-height: 40px;
    padding: 0 13px;
  }

  .feature-grid,
  .services-grid,
  .process-line {
    grid-template-columns: 1fr;
  }

  .card-media {
    height: 150px;
  }

  .scanner-stage {
    min-height: 360px;
  }

  .scanner-viewer {
    top: 35%;
    height: 42%;
  }

  .viewer-360-badge {
    right: 2%;
    top: -8%;
    width: 54px;
    height: 54px;
    font-size: 14px;
  }

  .viewer-drag-hint {
    top: -9%;
    font-size: 11px;
  }

  .viewer-controls {
    bottom: -28px;
    gap: 8px;
  }

  .viewer-controls span {
    min-width: 116px;
    font-size: 10px;
  }

  .scanner-copy img {
    width: 190px;
  }

  .scanner-summary {
    grid-template-columns: 1fr;
  }

  .showcase-overlay strong {
    font-size: clamp(26px, 8vw, 36px);
  }

  .compare-label {
    top: 70px;
    font-size: 10px;
  }

  .compare-label-before {
    right: 14px;
  }

  .compare-label-after {
    left: 14px;
  }

  .illustration-badge {
    left: 14px;
    top: 112px;
    min-height: 30px;
    padding: 7px 10px;
    font-size: 10px;
  }

  .compare-handle {
    width: 64px;
  }

  .compare-handle span {
    width: 48px;
    height: 48px;
  }

  .carousel-arrow {
    top: 24px;
    transform: none;
  }

  .carousel-arrow:active {
    transform: scale(0.985);
  }

  .carousel-dots {
    left: 22px;
    right: auto;
  }

  .cta-logo {
    width: 190px;
  }

  .floating-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: space-between;
    min-height: 58px;
    padding: 8px 8px 8px 14px;
    transform: none;
  }

  .floating-cta span {
    white-space: normal;
  }

  .floating-cta a {
    min-height: 42px;
    padding: 0 12px;
  }
}

@media (max-width: 420px) {
  .header-call {
    padding: 0 11px;
    font-size: 12px;
  }

  .vk-logo-link,
  .address-logo-link,
  .phone-logo-link,
  .max-logo-link {
    right: 18px;
    bottom: 20px;
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .vk-card .contact-main-link,
  .vk-card p,
  .address-card .contact-main-link,
  .address-card p,
  .phone-card .contact-main-link,
  .phone-card p,
  .max-card .contact-main-link,
  .max-card p {
    max-width: calc(100% - 76px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    filter: none;
    opacity: 1;
    transform: none;
  }
}





/* ---------- Плашка об использовании cookie ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 900;
  width: min(900px, calc(100vw - 32px));
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  border: 1px solid var(--ref-line);
  border-radius: var(--radius);
  background: rgba(20, 29, 41, 0.95);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.cookie-bar-text {
  margin: 0;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.55;
}

.cookie-bar-text a {
  color: var(--ref-blue);
}

.cookie-bar .button {
  flex-shrink: 0;
  min-height: 44px;
  padding: 0 26px;
}

@media (max-width: 760px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    bottom: 12px;
    padding: 16px;
  }

  .cookie-bar-text {
    font-size: 13px;
  }
}


/* ---------- Ловушка для спам-ботов ----------
   Поле уводится за экран, а не прячется через display:none:
   часть ботов умеет пропускать явно скрытые поля. */
.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
