:root {
  /* Палитра cold-luxury «серебро от машины» (эксперимент owner 2026-07-29) */
  --ink: #17191c;                       /* прохладный near-black */
  --black: #0f1114;                     /* панели/CTA */
  --muted: #6b7177;                     /* прохладный серый текст */
  --paper: #e7e9ec;                     /* СВЕТЛО-СЕРЫЙ фон страницы (под карточками) */
  --canvas: #ffffff;                    /* белые карточки */
  --sunken: #eff1f3;                    /* прохладный sunken */
  --orange: #9aa0a7;                    /* (repurposed) серебро — иконки/декор */
  --orange-deep: #3b4046;               /* графит — ссылки/hover/мелкие акценты (AA) */
  --orange-tint: #eef0f2;               /* прохладный тинт */
  --car: #e36f1d;                       /* точный цвет кузова Škoda (замер с фото) */
  --car-deep: #c85d14;                  /* тёмный вариант для hover */
  --hairline: rgba(20, 24, 28, .13);
  --soft-shadow: none;  /* тени под карточками отключены */
  --max: 1560px;                       /* единая линия контейнера (owner 2026-07-29) */
  --gutter: clamp(24px, 5vw, 72px);    /* боковое поле: моб 24 → desktop 72 */
  /* Custom easing (emil-design-eng): дефолтные CSS-кривые слабы — берём с «панчем» */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  interpolate-size: allow-keywords; /* плавная height:auto для аккордеона */
}
/* Scroll-reveal + stagger — активны только при JS (html.js); без JS контент виден */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 720ms var(--ease-out), transform 720ms var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); }
html.js .stagger.in > * { opacity: 1; transform: none; }
html.js .stagger.in > *:nth-child(1){transition-delay:0ms}html.js .stagger.in > *:nth-child(2){transition-delay:60ms}html.js .stagger.in > *:nth-child(3){transition-delay:120ms}html.js .stagger.in > *:nth-child(4){transition-delay:180ms}html.js .stagger.in > *:nth-child(5){transition-delay:240ms}html.js .stagger.in > *:nth-child(6){transition-delay:300ms}
/* Направленный въезд: текст слева, слово PRECISION справа (owner) */
html.js .reveal-left { opacity: 0; transform: translateX(-46px); transition: opacity 760ms var(--ease-out), transform 760ms var(--ease-out); }
html.js .reveal-left.in { opacity: 1; transform: none; }
html.js .services::before { opacity: 0; transform: translateX(110px); transition: opacity 950ms var(--ease-out), transform 950ms var(--ease-out); }
html.js .services.in::before { opacity: 1; transform: none; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { display: block; width: 100%; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Sora, sans-serif; font-weight: 400; }
/* Старт: шапка = верх большой карточки hero (слитно, без отрыва). Скролл: отрывается в плавающую пилюлю. */
.site-header { position: sticky; top: 16px; z-index: 20; height: 72px; margin: 16px auto 0; padding: 8px 63px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid transparent; background: var(--canvas); backdrop-filter: none; border-radius: 32px 32px 0 0; transition: box-shadow .35s var(--ease-out), background .35s var(--ease-out), border-radius .35s var(--ease-out), border-color .35s var(--ease-out), margin .35s var(--ease-out); }
.site-header.scrolled { margin: 16px auto 0; border-radius: 22px; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.9); backdrop-filter: blur(18px); box-shadow: 0 12px 36px rgba(20,24,28,.1); }
.brand { display: block; }
.brand img { height: 48px; width: auto; display: block; }
nav { display: flex; align-items: center; gap: 32px; font-size: 14px; }
nav a, footer a { transition: color 200ms var(--ease-out); }
nav a:hover, footer a:hover { color: var(--orange-deep); }
.header-actions { justify-self: end; display: flex; gap: 16px; align-items: center; }
.languages { display: flex; gap: 8px; color: #7b756e; font-size: 12px; }
.languages b { color: var(--ink); }
.icon-button { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: white; transition: transform 160ms var(--ease-out); }
.icon-button:active { transform: scale(0.94); }
.icon-button svg { width: 20px; }
main { overflow: hidden; }
/* min-height: карточка занимает первый экран; поле шапка→карточка (20px) = поле карточка→низ экрана.
   128 = 16 (top шапки) + 72 (высота шапки) + 20 (зазор сверху) + 20 (зазор снизу). */
.hero { min-height: calc(100dvh - 52px); margin: -72px auto 0; padding: 108px 60px 30px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1.12fr; grid-template-rows: 1fr auto; align-items: center; column-gap: 36px; background: var(--canvas); border-radius: 32px; transition: border-radius .35s var(--ease-out); }
.site-header.scrolled + main .hero { border-radius: 32px; }
.hero-copy { position: relative; z-index: 3; padding-left: 4px; }
/* Лента логотипов марок — бесконечный marquee с растворением по краям (21st.dev-стиль) */
.brand-block { grid-column: 1 / -1; z-index: 2; margin-top: 30px; }
.marquee-label { margin: 0; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); text-align: left; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.brand-marquee { padding-top: 26px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
.marquee-track { display: flex; align-items: center; gap: 72px; width: max-content; animation: marquee 55s linear infinite; }
.marquee-track img { height: 61px; width: auto; flex: 0 0 auto; }
.brand-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; gap: 40px 48px; } }
.eyebrow { margin-bottom: 24px; color: var(--car); font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }  /* оранжевый акцент (цвет машины) везде — owner */
.hero h1 { margin: 0 0 30px; font-size: clamp(68px, 7.6vw, 120px); line-height: .88; letter-spacing: -.075em; }
/* Выделение текста = ПОДЧЁРКИВАНИЕ тем же цветом (owner 2026-07-29). Без градиента/смены цвета. */
.contact h2 span {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: .05em;
  text-underline-offset: .12em;
}
.hero h1 span { color: inherit; text-decoration: none; }  /* hero — без подчёркивания (owner) */
.hero-lead { max-width: 500px; margin-bottom: 34px; color: var(--muted); font-size: 18px; line-height: 1.55; }
sup { font-size: .55em; }
.button { min-height: 56px; padding: 0 24px; border: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; font-weight: 500; cursor: pointer; transition: transform 180ms var(--ease-out), background 180ms var(--ease-out), color 180ms var(--ease-out); }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(0.97); } /* press feedback — интерфейс «слышит» нажатие */
.button-primary { background: var(--car); color: #fff; }          /* оранжевый в цвет машины (owner) */
.button-primary:hover { background: var(--car-deep); }
.button-ghost { gap: 10px; background: transparent; color: var(--ink); border: 1px solid var(--hairline); }
.button-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.button svg { width: 18px; }
.micro { margin-top: 12px; color: #7a756f; font-size: 11px; }
.hero-visual { position: relative; z-index: 1; width: 100%; margin-left: 0; }
.hero-visual img { width: 100%; height: auto; max-height: 560px; object-fit: contain; transform: scale(1.22); transform-origin: center; }
.hero-stamp { position: absolute; left: -38px; bottom: 34px; padding: 14px 18px; display: flex; gap: 15px; align-items: center; background: rgba(252,251,249,.83); backdrop-filter: blur(12px); border-radius: 14px; box-shadow: var(--soft-shadow); }
.hero-stamp span { color: var(--orange-deep); font-size: 12px; }
.hero-stamp b { font-size: 12px; line-height: 1.4; }
.hero-side { position: absolute; right: -110px; top: 49%; transform: rotate(90deg); color: #8c857d; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.estimate-wrap { max-width: 1280px; margin: 84px auto 190px; padding: 0 32px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 70px; align-items: center; position: relative; z-index: 4; }
.estimate-intro { padding-left: 0; }
.estimate-intro h2, .section-heading h2, .ba-copy h2, .process h2, .faq h2, .contact h2, .why-head h2 { font-size: clamp(45px, 5vw, 74px); line-height: 1.03; letter-spacing: -.055em; }
.estimate-intro > p:last-child, .section-heading > p:last-child, .ba-copy > p:not(.eyebrow) { color: var(--muted); line-height: 1.65; max-width: 440px; }
.estimate-card { padding: 34px; border-radius: 22px; background: var(--canvas); border: 1px solid var(--hairline); box-shadow: var(--soft-shadow); }
.upload-zone { min-height: 108px; padding: 22px; border: 1px dashed rgba(20,24,28,.20); border-radius: 16px; display: flex; align-items: center; gap: 18px; background: var(--sunken); cursor: pointer; }
.upload-zone input { display: none; }
.upload-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--car); background: rgba(227,111,29,.1); }
.upload-icon svg { width: 24px; }
.upload-zone b, .upload-zone small { display: block; }
.upload-zone small { margin-top: 6px; color: var(--muted); }
.upload-zone-sm { min-height: 0; padding: 14px 16px; gap: 14px; }
.upload-zone-sm .upload-icon { width: 42px; height: 42px; }
.upload-zone-sm .upload-icon svg { width: 20px; }
fieldset { padding: 0; margin: 26px 0; border: 0; }
legend, .form-grid label > span { margin-bottom: 11px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 14px; border: 1px solid var(--hairline); background: transparent; border-radius: 999px; cursor: pointer; transition: transform 160ms var(--ease-out), background 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out); }
.chip:active { transform: scale(0.96); }
.chip.active { color: var(--car); border-color: transparent; background: rgba(227,111,29,.12); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: grid; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid input { min-width: 0; padding: 17px 16px; border: 0; outline: 1px solid transparent; border-radius: 12px; background: var(--sunken); }
.form-grid input:focus { outline-color: var(--car); background: var(--canvas); }
.consent { margin: 18px 0; display: flex; gap: 9px; align-items: flex-start; color: var(--muted); font-size: 12px; line-height: 1.4; }
.consent input { accent-color: var(--car); }
.req { color: var(--car); font-style: normal; font-weight: 600; }
.submit { width: 100%; }
.form-note { margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 11px; }
/* Секция «Proč my» — заголовок + интро, ниже кадры деталей авто с текстом поверх */
.why { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: 96px auto 200px; }
.why-head { max-width: 660px; margin-bottom: 56px; }
.why-sub { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.why-card { position: relative; overflow: hidden; border-radius: 20px; aspect-ratio: 4 / 5; }
.why-card:nth-child(2) { margin-top: 64px; }
/* base scale = запас для параллакса (сдвиг translateY внутри рамки без пустых краёв); zoom вынесен в отдельное CSS-свойство scale, чтобы не конфликтовать с transform параллакса */
.why-card img { width: 100%; height: 100%; object-fit: cover; display: block; scale: 1.14; transition: scale 700ms var(--ease-out); will-change: transform; }
.why-card:hover img { scale: 1.2; }
.why-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 42%, rgba(10,12,14,.86)); }
.why-overlay { position: absolute; left: 26px; right: 26px; bottom: 26px; z-index: 2; color: #fff; }
.why-overlay h3 { margin: 0 0 7px; font-size: 22px; }
.why-overlay p { margin: 0; color: rgba(255,255,255,.72); font-size: 13px; line-height: 1.5; }

.services { max-width: var(--max); margin: 0 auto 220px; padding: 0 32px; position: relative; }
.services::before { content: "PRECISION"; position: absolute; top: 90px; right: -9px; color: rgba(23,22,20,.035); font-family: Sora; font-size: 220px; letter-spacing: -.06em; z-index: -1; }
.section-heading { max-width: 700px; margin: 0 0 80px 0; }
.service-grid { display: grid; grid-template-columns: .92fr 1.08fr 1fr; grid-template-rows: 300px 240px 300px; gap: 24px; }
.service-card { min-height: 220px; position: relative; overflow: hidden; border-radius: 18px; transition: transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out); }
.service-card:hover { transform: translateY(-6px); }
.service-card:active { transform: translateY(-4px) scale(0.994); }
.service-card figure { margin: 0; width: 100%; height: 100%; }
.service-card figure img { transition: scale 600ms var(--ease-out); scale: 1.12; will-change: transform; }
.service-card:hover figure img { scale: 1.16; }
.service-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(15,14,12,.82)); }
.service-card figure img { width: 100%; height: 100%; object-fit: cover; }
.service-card > div:not(.line-car) { position: absolute; left: 24px; right: 24px; bottom: 22px; color: white; z-index: 2; }
.service-card h3 { margin: 0 0 7px; font-size: 22px; }
.service-card p { margin: 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.5; }
.service-number { position: absolute; top: 18px; left: 18px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(252,251,249,.86); color: var(--ink); font-size: 11px; backdrop-filter: blur(10px); }
.service-a { grid-row: 1 / 3; }
.service-b { grid-column: 2; grid-row: 1; }
.service-c { grid-column: 3; grid-row: 1 / 3; }
.service-d { grid-column: 1; grid-row: 3; }
.service-e { grid-column: 2; grid-row: 2 / 4; }
.service-f { grid-column: 3; grid-row: 3; }
.orange-card { padding: 26px; background: var(--orange); color: white; }
.orange-card > div:last-child { color: white !important; }
.orange-card p { color: rgba(255,255,255,.75); }
.line-car { position: absolute; width: 230px; height: 85px; right: -20px; top: 16px; border: 2px solid rgba(255,255,255,.32); border-width: 2px 0 0; border-radius: 60% 70% 0 0; transform: rotate(-5deg); }
.text-card { padding: 28px; background: var(--canvas); }
.text-card > div { color: var(--ink) !important; }
.text-card p { color: var(--muted); }
.text-card .service-number { background: var(--sunken); box-shadow: none; }
.arrow { position: absolute; right: 22px; top: 20px; font-size: 22px; }
.dark-card { padding: 28px; background: var(--black); color: white; }
.dark-card > div { color: white !important; }
.swatches { position: absolute; top: 24px; right: 22px; display: flex; }
.swatches i { width: 24px; height: 24px; border: 2px solid var(--black); margin-left: -8px; border-radius: 50%; background: #5d5d58; }
.swatches i:nth-child(2) { background: var(--orange); }.swatches i:nth-child(3) { background: #d8d2ca; }.swatches i:nth-child(4) { background: #1c3245; }
.before-after { max-width: var(--max); margin: 0 auto 130px; padding: 0 32px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: center; }
.ba-copy { padding-left: 0; }
.button-soft { margin-top: 16px; background: var(--canvas); border: 1px solid var(--hairline); box-shadow: none; }
.compare { height: 540px; position: relative; overflow: hidden; border-radius: 22px; background: #222; container-type: inline-size; }
.compare img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.compare-base { filter: saturate(1.05) contrast(1.04); }
.compare-after { position: absolute; inset: 0; width: var(--position); overflow: hidden; }
/* верхняя картинка = точно ширина контейнера (100cqw), тот же кадр, что и нижняя → шторка режет пиксель-в-пиксель, без смещения и «дубля» справа */
.compare-after img { width: 100cqw; max-width: none; filter: saturate(.7) brightness(.76); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--position); width: 2px; background: white; transform: translateX(-1px); }
.compare-line span { position: absolute; top: 50%; left: 50%; width: 48px; height: 48px; display: grid; place-items: center; transform: translate(-50%,-50%); border-radius: 50%; background: white; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; }
.label-before,.label-after { position: absolute; top: 20px; z-index: 2; padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.85); font-size: 11px; }
.label-before { left: 20px; }.label-after { right: 20px; }
/* Стеклянные ленты услуг — full-bleed, две реальные ленты, идут навстречу и перекрещиваются */
.ribbons { position: relative; overflow: hidden; margin: 50px 0 130px; height: 300px; }
.ribbon { position: absolute; top: 50%; left: 50%; width: 122vw; padding: 30px 0; overflow: hidden; background: #ffffff; border-top: 1px solid rgba(255,255,255,.75); border-bottom: 1px solid var(--hairline); box-shadow: 0 18px 40px -26px rgba(20,24,28,.30); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%); }
.ribbon-left { transform: translate(-50%, calc(-50% - 30px)) rotate(-4deg); z-index: 1; }
.ribbon-right { transform: translate(-50%, calc(-50% + 30px)) rotate(4deg); z-index: 2; }
.ribbon-track { display: flex; align-items: center; gap: 40px; width: max-content; will-change: transform; }
.ribbon-left .ribbon-track { animation: ribbon-left 60s linear infinite; }
.ribbon-right .ribbon-track { animation: ribbon-right 60s linear infinite; }
.ribbon-item { flex: 0 0 auto; font-size: 24px; font-weight: 500; letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.ribbon-dot { flex: 0 0 auto; color: var(--car); font-size: 24px; }
@keyframes ribbon-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes ribbon-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .ribbon-track { animation: none; } }
.process { max-width: calc(var(--max) - 64px); margin: 0 auto 170px; padding: 80px; border-radius: 28px; background: var(--black); color: white; display: grid; grid-template-columns: 1fr 1.12fr; gap: 100px; position: relative; overflow: hidden; }
.process::after { content: ""; position: absolute; width: 420px; height: 420px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; right: -180px; bottom: -250px; box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015); }
.process .eyebrow { color: var(--car); }
.process-heading > p:last-child { color: rgba(255,255,255,.55); line-height: 1.6; }
.process ol { margin: 0; padding: 0; list-style: none; position: relative; z-index: 2; }
.process li { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.16); display: grid; grid-template-columns: 62px 1fr; gap: 18px; }
.process li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.process li > span { color: var(--car); font-size: 12px; }
.process h3 { margin: 0 0 8px; font-size: 22px; }
.process li p { margin: 0; color: rgba(255,255,255,.55); line-height: 1.5; }
.faq { max-width: 1220px; margin: 0 auto 190px; padding: 0 32px; display: grid; grid-template-columns: .65fr 1.35fr; gap: 90px; }
.accordion details { border-top: 1px solid var(--hairline); }
.accordion details:last-child { border-bottom: 1px solid var(--hairline); }
.accordion summary { padding: 25px 0; display: flex; justify-content: space-between; gap: 28px; align-items: center; font-family: Sora; font-size: 17px; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary span { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; line-height: 0; font-size: 0; transition: background 250ms var(--ease-out), transform 250ms var(--ease-out); }
.accordion summary span::before { content: ""; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7L17 17M17 17H10M17 17V10'/%3E%3C/svg%3E") center / contain no-repeat; }
.accordion summary:hover span { transform: translateY(-1px); }
.accordion details[open] summary span { background: var(--car); }
.accordion details[open] summary span::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 7L17 17M17 7L7 17'/%3E%3C/svg%3E"); }
/* Плавное раскрытие ответа (progressive enhancement — где браузер поддерживает ::details-content) */
.accordion details::details-content { height: 0; overflow: hidden; content-visibility: hidden; transition: height 350ms var(--ease-out), content-visibility 350ms allow-discrete; }
.accordion details[open]::details-content { height: auto; content-visibility: visible; }
.accordion details p { max-width: 690px; margin: -6px 42px 26px 0; color: var(--muted); line-height: 1.65; }
.contact { width: min(var(--max), calc(100% - var(--gutter) * 2)); margin: 0 auto 40px; }
.contact-head { margin-bottom: 40px; text-align: center; }
.contact-sub { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: stretch; }
.contact-info { display: grid; grid-template-rows: auto auto auto 1fr; gap: 24px; }
.contact-cta { display: flex; gap: 12px; }
.contact-cta .button { flex: 1; gap: 10px; }
.contact-cta .button svg { width: 19px; }
.contact-facts { display: grid; gap: 18px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.contact-facts .fact { display: grid; gap: 4px; }
.contact-facts .fact small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.contact-facts .fact span { font-size: 16px; color: var(--ink); }
.contact-facts .fact a { font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s var(--ease-out); }
.contact-facts .fact a:hover { color: var(--car); }
.contact-map { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--hairline); min-height: 220px; height: 100%; display: block; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; pointer-events: none; filter: grayscale(.4) contrast(1.02); }
.map-pin { position: absolute; left: 14px; right: 14px; bottom: 14px; display: grid; gap: 3px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.93); backdrop-filter: blur(8px); }
.map-pin .ci-ic { position: absolute; top: 13px; right: 14px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(227,111,29,.12); color: var(--car); }
.map-pin .ci-ic svg { width: 18px; }
.map-pin small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.map-pin b { font-size: 15px; }
.map-cta { color: var(--car); font-size: 12px; font-weight: 600; margin-top: 3px; }
.contact-form { padding: 34px; border-radius: 22px; background: var(--canvas); border: 1px solid var(--hairline); display: grid; gap: 14px; align-content: start; }
.contact-form h3 { margin: 0; font-size: 24px; }
.cf-sub { margin: -4px 0 6px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.contact-form > label:not(.consent) { display: grid; gap: 8px; }
.contact-form > label:not(.consent) > span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.contact-form input, .contact-form textarea { padding: 13px 15px; border: 1px solid var(--hairline); border-radius: 12px; background: var(--paper); font: inherit; font-size: 15px; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--car); outline-offset: 1px; background: var(--canvas); }
.contact-form .consent { margin: 2px 0 0; }
.contact-form .button { width: 100%; margin-top: 4px; justify-content: center; }
footer { padding: 90px max(var(--gutter), calc((100% - var(--max)) / 2)) 28px; background: var(--black); color: white; display: grid; grid-template-columns: 1.3fr repeat(3,1fr); gap: 60px; }
.footer-wordmark { font-family: Sora; font-size: 34px; letter-spacing: -.06em; }
.footer-brand p { margin-top: 18px; color: rgba(255,255,255,.5); line-height: 1.55; }
footer h3 { margin-bottom: 18px; color: rgba(255,255,255,.42); font-family: Inter; font-size: 10px; text-transform: uppercase; letter-spacing: .15em; }
footer div:not(.footer-bottom) > a, footer div:not(.footer-bottom) > span { margin-bottom: 12px; display: block; font-size: 13px; }
footer div:not(.footer-bottom) > span { color: rgba(255,255,255,.45); }
.footer-bottom { grid-column: 1 / -1; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; color: rgba(255,255,255,.45); font-size: 11px; }
.digital-fox b { color: #fff; }
.mobile-bar { display: none; }

/* 🔒 Единая линия контейнера (owner-инвариант 2026-07-29): все блоки по одной линии --max/--gutter.
   Content-секции — контент до линии; object-блоки (пилюля-шапка, тёмная панель) — их край на линии. */
.estimate-wrap, .services, .before-after, .trust, .faq, .contact {
  width: min(var(--max), calc(100% - var(--gutter) * 2)); max-width: none; margin-inline: auto; padding-inline: 0;
}
.site-header, .process, .hero { width: min(var(--max), calc(100% - var(--gutter) * 2)); max-width: none; margin-inline: auto; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { min-height: auto; padding: 48px 40px 26px; grid-template-columns: 1fr; grid-template-rows: auto; }
  .hero-copy { padding-left: 0; }
  .hero h1 { max-width: 760px; }
  .hero-visual { width: 100%; margin: 45px 0 0; }
  .hero-side { display: none; }
  .estimate-wrap { margin-top: -70px; grid-template-columns: 1fr; }
  .estimate-intro { padding-left: 0; max-width: 640px; }
  .service-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3,360px); }
  .service-a,.service-b,.service-c,.service-d,.service-e,.service-f { grid-column: auto; grid-row: auto; margin-top: 0; }
  .before-after,.process,.faq,.contact-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-card:nth-child(2) { margin-top: 0; }
  .process { gap: 40px; }
  footer { grid-template-columns: 1.3fr 1fr 1fr; }
  footer > div:nth-child(4) { grid-column: 2; }
}
@media (max-width: 680px) {
  .site-header { top: 8px; height: 62px; margin: 8px auto -70px; padding-left: 12px; border-radius: 18px; }
  .brand { width: 125px; height: 44px; }
  .brand img { width: 145px; height: 72px; transform: translate(-10px,-15px); }
  .languages { display: none; }
  .icon-button { width: 44px; height: 44px; }
  .hero { padding: 125px 0 110px; }
  .hero h1 { font-size: 61px; }
  .hero-lead { font-size: 16px; }
  .hero-visual img { height: 390px; border-radius: 18px 52px 18px 18px; }
  .hero-stamp { left: 10px; right: 10px; bottom: 14px; box-shadow: none; }
  .estimate-wrap { margin: 48px auto 120px; padding: 0; gap: 28px; }
  .estimate-card { padding: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .estimate-intro h2, .section-heading h2, .ba-copy h2, .process h2, .faq h2, .contact h2, .why-head h2 { font-size: 43px; }
  .why-grid { grid-template-columns: 1fr; }
  .services { padding: 0; margin-bottom: 140px; }
  .section-heading { margin-left: 0; }
  .service-grid { display: flex; overflow-x: auto; gap: 14px; scroll-snap-type: x mandatory; padding: 8px 2px 20px; }
  .service-card { flex: 0 0 82vw; height: 410px; scroll-snap-align: center; }
  .before-after { padding: 0; gap: 32px; }
  .ba-copy { padding-left: 0; }
  .compare { height: 420px; }
  .compare-after img { width: 130vw; }
  .ribbons { margin: 0 0 90px; }
  .process { margin: 0 auto 120px; padding: 48px 24px; border-radius: 22px; }
  .faq { padding: 0; margin-bottom: 120px; gap: 26px; }
  .contact { margin-bottom: 100px; }
  .contact-grid { gap: 28px; }
  footer { padding: 66px 24px 110px; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  footer > div:nth-child(4) { grid-column: auto; }
  .footer-bottom { flex-wrap: wrap; gap: 14px; }
  .mobile-bar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; padding: 7px; display: grid; grid-template-columns: 1fr 52px; gap: 7px; background: rgba(244,242,238,.86); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 12px 35px rgba(23,22,20,.2); }
  .mobile-bar .button { min-height: 50px; }
  .mobile-call { display: grid; place-items: center; border-radius: 50%; background: var(--canvas); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Гасим ДВИЖЕНИЕ, но оставляем press-feedback (не вестибулярно, помогает пониманию) */
  html.js .reveal, html.js .stagger > *, html.js .reveal-left { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js .services::before { opacity: 1 !important; transform: none !important; transition: none !important; }
  .button:hover, .service-card:hover, .service-card:hover figure img { transform: none !important; }
  .why-card:hover img, .service-card:hover figure img { scale: 1.12 !important; }
  .service-card figure img, .accordion details::details-content { transition: none !important; }
  * { animation: none !important; }
}
