/* =============================================================
   Auto Paradise — стили сайта. Подробно о выборе — в DESIGN.md.
   Характер: надёжный, открытый, обстоятельный. Настроение: стена рулонов плёнки,
   матовый серый кузов, бирюзовый логотип студии. Светлый сайт, шапка и подвал — графит.
   Сначала стили для телефона (от 360px), ниже — дополнения для экранов шире.
   ============================================================= */

/* Шрифты лежат на сайте (assets/fonts, лицензия OFL), браузер качает только нужный набор букв.
   Inter — заголовки и текст, Jura — цифры: цены, платёж, срок, номера строк. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jura"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/jura-cyrillic-700.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Jura"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/jura-latin-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Матовая серая плёнка, графит, бирюза логотипа */
  --c-bg: #e6e8e9;
  --c-bg-alt: #dde0e2;
  --c-surface: #f4f5f5;
  --c-surface-2: #fbfaf6;       /* бумага заказ-наряда — чуть тёплая */
  --c-line: #c3c8cb;
  --c-line-2: #9aa1a6;
  --c-led: #17191b;             /* графит: крупные цифры и контуры */
  --c-accent: #3cc3e8;          /* бирюза логотипа: главная кнопка, ползунок, отметки */
  --c-accent-text: #076a86;     /* тёмная бирюза для текста на светлом (контраст 5:1) */
  --c-on-accent: #17191b;       /* на бирюзе — графит: контраст 9:1 */

  /* Шапка и подвал — графит. Те же имена использует admin.css */
  --c-dark: #17191b;
  --c-dark-2: #202326;
  --c-dark-line: #33373b;
  --c-on-dark: #eef0f1;
  --c-on-dark-muted: #a9b0b5;
  --c-text: #17191b;
  --c-text-2: #3a3f44;
  --c-muted: #596167;
  --c-input-bg: #ffffff;
  --c-input-line: #868d93;      /* рамка полей: контраст 3:1 */
  --c-placeholder: #6b7278;

  --c-error: #c62828;
  --c-error-bg: #fbe9e7;
  --c-error-text: #8e1c1c;
  --c-success: #1e8a5a;
  --c-success-bg: #e3f4ea;

  /* Заглушки [ЗАМЕНИТЬ] */
  --c-stub-bg: #fff3cd;
  --c-stub-text: #7a5300;
  --c-stub-line: #d9a400;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "Jura", "Inter", system-ui, sans-serif;   /* «табло» для цифр */
  --radius: 6px;
  --radius-sm: 6px;
  --header-h: 64px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);   /* чтобы шапка не закрывала заголовок блока */
  color-scheme: light;
  scrollbar-color: #9aa1a6 var(--c-bg);
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
body.menu-open, body.lightbox-open { overflow: hidden; }

::selection { background: rgba(60, 195, 232, .45); color: var(--c-text); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { border: 2px solid var(--c-bg); border-radius: 6px; background: #aab1b6; }
::-webkit-scrollbar-thumb:hover { background: #868d93; }

h1, h2, h3 { margin: 0; line-height: 1.2; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--c-accent-text); text-underline-offset: 3px; }
svg { flex-shrink: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }

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

.demo-bar {
  margin: 0;
  padding: 7px 20px;
  background: #17191b;
  border-bottom: 1px solid #33373b;
  color: #bfeaf6;
  font-size: 13.5px;
  line-height: 1.4;
  text-align: center;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--c-led); color: var(--c-on-accent);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.stub-demo { color: var(--c-muted); font-style: italic; }

.stub {
  display: inline-block;
  padding: 0 .45em;
  border: 1px dashed var(--c-stub-line);
  border-radius: 3px;
  background: var(--c-stub-bg);
  color: var(--c-stub-text);
  font-family: var(--font);
  font-size: .82em;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.label {
  color: var(--c-muted);
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 500;
  letter-spacing: .04em; text-transform: uppercase;
}
.h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.6vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .01em;
  text-transform: uppercase;
}

/* Светодиодная полоса: тонкая линия, ярче в середине */
.hero::after, .footer::before {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(238, 243, 246, .55) 50%, transparent);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 650; line-height: 1.2; letter-spacing: .01em;
  text-align: center; text-decoration: none;
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-accent); color: var(--c-on-accent); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.btn--primary:hover { background: #6dd3f0; box-shadow: 0 0 0 1px var(--c-accent), 0 10px 28px -8px rgba(60, 195, 232, .7); }
.btn--ghost, .btn--outline { border-color: var(--c-line-2); background: transparent; color: var(--c-text); }
.btn--ghost:hover, .btn--outline:hover { border-color: var(--c-accent); color: var(--c-accent-text); }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; box-shadow: none; }

.link {
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1px solid rgba(60, 195, 232, .35);
  color: var(--c-accent-text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s;
}
.link:hover { border-color: var(--c-accent); }
.link svg { transition: transform .2s var(--ease); }
.link:hover svg { transform: translateX(3px); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--c-dark);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.header.is-scrolled { border-bottom-color: var(--c-dark-line); }
.header__inner { display: flex; align-items: center; gap: 12px; height: var(--header-h); }

.logo {
  margin-right: auto;
  color: var(--c-on-dark);
  font-family: var(--font-display);
  font-size: 18px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
}
.logo { color: var(--c-accent); font-size: 21px; letter-spacing: .04em; text-transform: uppercase; }
.logo span { margin-left: .28em; color: var(--c-on-dark); }

.header__phone { display: none; }
.header__cta { display: none; }

.burger {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--c-line-2); border-radius: var(--radius-sm);
  background: transparent; color: var(--c-on-dark);
  cursor: pointer;
}
.burger .icon--close,
.header.is-open .burger .icon--menu { display: none; }
.header.is-open .burger .icon--close { display: block; }

/* Меню на телефоне — панель под шапкой */
.nav {
  position: absolute; top: 100%; left: 0; right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  padding: 4px 20px 28px;
  background: var(--c-dark);
  border-bottom: 1px solid var(--c-dark-line);
  visibility: hidden; opacity: 0; transform: translateY(-6px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.header.is-open .nav {
  visibility: visible; opacity: 1; transform: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.nav__list { display: flex; flex-direction: column; }
.nav__link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-dark-line);
  color: var(--c-on-dark);
  font-size: 18px; font-weight: 600;
  text-decoration: none;
}
.nav__extra { display: grid; gap: 14px; margin-top: 22px; }
.nav__contact { justify-self: center; padding: 4px 0; color: var(--c-accent-text); font-weight: 600; text-decoration: none; }

.hero { position: relative; overflow: hidden; padding: 92px 0 0; }

.hero__grid { display: grid; gap: 32px; }
.hero__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(40px, 9.4vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.hero__lead { max-width: 34em; margin-top: 20px; color: var(--c-text-2); font-size: 17.5px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 30px; }
.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 65%;
  border: 1px solid var(--c-line);
  border-radius: 2px;
}
.hero__photo figcaption { margin-top: 10px; color: var(--c-muted); font-size: 13.5px; }

.facts { margin-top: 36px; padding: 8px 0 28px; border-top: 1px solid var(--c-line); }
.facts__item { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: baseline; gap: 12px; padding: 10px 0; }
.facts dd { font-family: var(--font-display); font-size: 20px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.facts dt { color: var(--c-muted); font-size: 13.5px; line-height: 1.35; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; }

.section { padding: 72px 0; }
.section--alt { background: var(--c-bg-alt); }
.head { display: grid; gap: 12px; margin-bottom: 32px; }
.head__note { max-width: 34em; color: var(--c-muted); }

.svc-grid { display: grid; gap: 16px; }
.svc {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 22px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface);
}
.svc--main::before { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(238, 243, 246, .7) 50%, transparent); }
.svc__sub { color: var(--c-accent-text); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.svc__title { margin-top: 8px; font-family: var(--font-display); font-size: 21px; font-weight: 700; }
.svc--main .svc__title { font-size: clamp(22px, 3vw, 28px); }
.svc__text { max-width: 34em; margin-top: 12px; color: var(--c-text-2); }
.prices { margin: 22px 0 20px; border-top: 1px solid var(--c-line); }
.prices__row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px 16px; padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.prices__name { color: var(--c-text-2); font-size: 15.5px; }
a.prices__name { border-bottom: 1px dashed rgba(60, 195, 232, .45); color: var(--c-accent-text); text-decoration: none; }
.prices__price { font-family: var(--font-mono); font-size: 14px; font-weight: 500; white-space: nowrap; }
.svc__more { align-self: flex-start; margin-top: auto; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__item--big { grid-column: span 2; }
.gallery__link { display: block; overflow: hidden; border-radius: 2px; background: var(--c-surface); cursor: zoom-in; }
.gallery__link img {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: brightness(.9);
  transition: filter .4s var(--ease);
}
.gallery__link:hover img, .gallery__link:focus-visible img { filter: brightness(1.06); }   /* как будто включили свет */

.lightbox {
  width: 100%; height: 100%;
  max-width: none; max-height: none;
  margin: 0; padding: 56px 12px 64px;
  border: 0;
  background: #060708;
  color: var(--c-text);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: #060708; }
.lightbox__img { max-width: min(100%, 1280px); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 2px; object-fit: contain; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 22px; padding: 0 70px; color: var(--c-muted); font-size: 14px; text-align: center; }
.lightbox__btn {
  position: absolute;
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--c-line-2); border-radius: var(--radius-sm);
  background: var(--c-surface); color: var(--c-text);
  cursor: pointer;
  transition: border-color .2s, color .2s;
}
.lightbox__btn:hover { border-color: var(--c-accent); color: var(--c-accent); }
.lightbox__btn--close { top: 10px; right: 10px; }
.lightbox__btn--prev { left: 10px; bottom: 10px; }
.lightbox__btn--next { right: 10px; bottom: 10px; }

.about { display: grid; gap: 40px; align-items: start; }
.about__photo {
  display: grid; place-items: center;
  aspect-ratio: 3 / 2;
  margin-top: 26px; padding: 24px;
  border: 1px dashed var(--c-line-2); border-radius: var(--radius);
  background: var(--c-surface);
  text-align: center;
}
.about__story { margin-top: 18px; color: var(--c-text-2); }
.about__facts { border-top: 1px solid var(--c-line); }
.about__fact { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.about__fact dt { color: var(--c-led); font-family: var(--font-display); font-size: 19px; font-weight: 700; }
.about__fact dd { color: var(--c-text-2); }

.order { display: grid; gap: 40px; }
.order__lead { max-width: 30em; margin-top: 16px; color: var(--c-text-2); }
.order__steps-title { margin-top: 34px; }
.steps { counter-reset: step; margin-top: 12px; border-top: 1px solid var(--c-line); }
.step { counter-increment: step; display: grid; grid-template-columns: 34px minmax(0, 1fr); padding: 12px 0; border-bottom: 1px solid var(--c-line); }
.step::before { content: counter(step, decimal-leading-zero); grid-row: span 2; padding-top: 2px; color: var(--c-accent-text); font-family: var(--font-mono); font-size: 13px; }
.step__title { font-weight: 600; }
.step__text { color: var(--c-text-2); }
.order__avito { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 26px; color: var(--c-text-2); }

.form-card {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  background: var(--c-surface);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
}
.form-card::before { content: ""; position: absolute; top: -1px; left: 24px; right: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(238, 243, 246, .7) 50%, transparent); }
.form__row { display: grid; gap: 0 16px; }
.field { margin-bottom: 18px; }
.field__label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.field__opt { color: var(--c-muted); font-weight: 400; }
.field__req { color: var(--c-accent-text); }

.input {
  display: block;
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--c-input-line); border-radius: var(--radius-sm);
  background: var(--c-input-bg); color: var(--c-text);
  font-size: 16px; line-height: 1.4;              /* 16px — иначе iPhone увеличивает страницу */
  transition: border-color .15s, box-shadow .15s;
}
.input::placeholder { color: var(--c-placeholder); }
.input:hover { border-color: #7a8592; }
.input:focus { outline: none; border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(60, 195, 232, .2); }
.input[aria-invalid="true"] { border-color: var(--c-error); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(255, 138, 128, .18); }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e99a5' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}
select.input option { background: var(--c-surface); color: var(--c-text); }
textarea.input { min-height: 116px; resize: vertical; }

.field__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.field__error { margin-top: 6px; color: var(--c-error); font-size: 14px; font-weight: 600; }
.field__error:empty { display: none; }
.field__count { margin-top: 6px; margin-left: auto; color: var(--c-muted); font-size: 13px; white-space: nowrap; }

.check { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; cursor: pointer; }
.check input { flex-shrink: 0; width: 22px; height: 22px; margin: 0; accent-color: var(--c-accent); cursor: pointer; }
.check input[aria-invalid="true"] { outline: 2px solid var(--c-error); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }   /* ловушка для ботов */

.form__status { margin-top: 14px; padding: 12px 14px; border-radius: var(--radius-sm); font-size: 15px; font-weight: 600; }
.form__status:empty { display: none; }
.form__status--error { background: var(--c-error-bg); color: var(--c-error-text); }
.form__note { margin-top: 14px; color: var(--c-muted); font-size: 13.5px; }

.form-success { padding: 28px 0 12px; text-align: center; }
.form-success__icon {
  display: grid; place-items: center;
  width: 72px; height: 72px; margin: 0 auto 18px;
  border: 1px solid rgba(95, 211, 160, .4); border-radius: 50%;
  color: var(--c-success);
}
.form-success__title { font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.form-success__title:focus { outline: none; }
.form-success__text { max-width: 26em; margin: 10px auto 24px; color: var(--c-text-2); }

.faq-layout { display: grid; gap: 24px; }
.faq-layout__head .head__note { margin-top: 12px; }
.faq { border-top: 1px solid var(--c-line); }
.faq__item { border-bottom: 1px solid var(--c-line); }
.faq__q {
  position: relative;
  display: block;
  padding: 20px 44px 20px 0;
  font-size: 17px; font-weight: 600; line-height: 1.45;
  list-style: none;
  cursor: pointer;
  transition: color .2s;
}
.faq__q:hover { color: var(--c-accent-text); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {                      /* плюс; при открытии поворачивается в крестик */
  content: "";
  position: absolute; top: 50%; right: 6px;
  width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--c-accent), var(--c-accent)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--c-accent), var(--c-accent)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { max-width: 40em; padding: 0 44px 22px 0; color: var(--c-text-2); }
/* Плавное раскрытие ответа — там, где браузер это умеет; в остальных просто открывается */
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content {
    height: 0;
    overflow: clip;
    transition: height .3s var(--ease), content-visibility .3s allow-discrete;
  }
  .faq__item[open]::details-content { height: auto; }
}

.contacts { display: grid; gap: 36px; }
.contacts__address { margin: 18px 0 16px; color: var(--c-led); font-family: var(--font-display); font-size: clamp(19px, 2.6vw, 26px); font-weight: 700; line-height: 1.35; }
.contacts__list { border-top: 1px solid var(--c-line); }
.contacts__list > div { display: grid; gap: 10px; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.contacts__list dt { color: var(--c-muted); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.contacts__list dd { font-size: 16.5px; }
.metro li { display: flex; align-items: center; gap: 10px; }
.metro li + li { margin-top: 6px; }
.metro__line {                        /* кружок с номером линии, как на схеме метро */
  display: inline-grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-line-2); color: #fff;
  font-size: 11.5px; font-weight: 700; line-height: 1;
}
.metro__line--1 { background: #da2128; }
.metro__line--2 { background: #2a9a3c; }
.metro__line--3 { background: #0072ba; }
.metro__line--4 { background: #0099cc; }
.metro__line--5 { background: #8d5b2d; }
.metro__line--6 { background: #f07e24; }
.metro__line--7 { background: #943e90; }
.metro__line--8 { background: #ffcd1c; color: #0b0d10; }
.metro__line--9 { background: #a1a2a3; color: #0b0d10; }
.metro__line--10 { background: #b1d332; color: #0b0d10; }
.metro__line--11 { background: #29b1a6; }
.metro__line--12 { background: #acbfe1; color: #0b0d10; }
.metro__line--13 { background: #2c87c5; }
.metro__line--14 { background: #e4402d; }
.metro__line--15 { background: #de64a1; }
.metro__line--21 { background: #f6a600; color: #0a0a0c; }   /* МЦД-1…МЦД-5 */
.metro__line--22 { background: #df467c; }
.metro__line--23 { background: #ea5b1c; }
.metro__line--24 { background: #3fb17f; }
.metro__line--25 { background: #81bc41; color: #0a0a0c; }
.contacts__note { margin-top: 10px; color: var(--c-muted); font-size: 14px; }
.contacts__tg { margin-top: 12px; }
.contacts__phone { display: inline-block; margin-top: 8px; color: var(--c-text); font-weight: 600; text-decoration: none; }

.footer { position: relative; padding: 48px 0 24px; background: var(--c-dark); color: var(--c-on-dark-muted); font-size: 15px; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; }
.footer__grid { display: grid; gap: 32px; }
.footer__about p { max-width: 28em; margin-top: 14px; }
.footer__title { margin-bottom: 12px; color: var(--c-on-dark); font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.footer__list li + li { margin-top: 8px; }
.footer a:not(.logo) { color: var(--c-on-dark); text-decoration: none; transition: color .2s; }
.footer a:not(.logo):hover { color: var(--c-accent-text); }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--c-dark-line);
  font-size: 14px;
}

.sticky-cta { display: none; }

.page-head { padding: 44px 0 36px; border-bottom: 1px solid var(--c-dark-line); background: var(--c-dark); }
.page-head__title { font-family: var(--font-display); font-size: clamp(24px, 4vw, 34px); font-weight: 700; line-height: 1.25; }
.page-head__meta { margin-top: 10px; color: var(--c-muted); }
.doc { max-width: 800px; padding-block: 40px 72px; }
.doc__note {
  margin-bottom: 28px; padding: 14px 16px;
  border-left: 3px solid var(--c-stub-line);
  background: var(--c-stub-bg); color: var(--c-stub-text);
  font-size: 15px;
}
.doc h2 { margin: 36px 0 12px; font-size: 20px; }
.doc p, .doc li { color: var(--c-text-2); }
.doc p + p { margin-top: 10px; }
.doc ul { margin: 10px 0; padding-left: 1.3em; list-style: disc; }
.doc li + li { margin-top: 6px; }

/* На странице 404 цифры светятся контуром, как светодиодная трубка */
.message { padding: 72px 0 104px; text-align: center; }
.message__code {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-led);
  font-family: var(--font-display);
  font-size: clamp(96px, 24vw, 180px); font-weight: 700; line-height: 1;
  text-shadow: 0 0 24px rgba(60, 195, 232, .35);
}
.message__title { margin-top: 18px; font-family: var(--font-display); font-size: clamp(22px, 4vw, 30px); font-weight: 700; }
.message__text { max-width: 30em; margin: 12px auto 28px; color: var(--c-text-2); }

@media (min-width: 560px) {
  .form__row { grid-template-columns: 1fr 1fr; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 22px 0 36px; }
  .facts__item { flex-direction: column-reverse; justify-content: flex-end; align-items: flex-start; gap: 4px; padding: 0; }
  .facts dd { font-size: clamp(18px, 3.4vw, 28px); }
  .about__fact { grid-template-columns: 130px minmax(0, 1fr); gap: 20px; }
}

@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
  .contacts__list > div { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (min-width: 768px) {
  .container { padding-inline: 32px; }
  .section { padding: 104px 0; }
  .hero { padding-top: 132px; }
  .head { grid-template-columns: minmax(0, 1fr) minmax(0, 26em); align-items: end; gap: 40px; margin-bottom: 44px; }
  .svc { padding: 30px 28px; }
  .svc--main { padding: 36px 34px; }
  .form-card { padding: 34px; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .gallery__item--big { grid-row: span 2; }
  .gallery__item--big .gallery__link { height: 100%; }
  .gallery__item--big .gallery__link img { aspect-ratio: auto; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .lightbox { padding: 64px 90px; }
  .lightbox__btn--prev, .lightbox__btn--next { top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__btn--prev { left: 20px; }
  .lightbox__btn--next { right: 20px; }
}

@media (min-width: 900px) {
  .svc-grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .svc--main { grid-row: span 2; }
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; }
  .about__facts { margin-top: 62px; }
  .contacts { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
}

@media (min-width: 960px) {
  /* Шапка: меню в строку, бургер не нужен */
  .header__inner { gap: 24px; }
  .logo { margin-right: 8px; }
  .nav {
    position: static;
    margin-right: auto; padding: 0;
    max-height: none; overflow: visible;
    background: none; border: 0;
    visibility: visible; opacity: 1; transform: none;
    transition: none;
  }
  .nav__list { flex-direction: row; gap: 2px; }
  .nav__link { padding: 8px 12px; border: 0; color: var(--c-on-dark-muted); font-size: 15px; font-weight: 500; transition: color .2s; }
  .nav__link:hover { color: var(--c-on-dark); }
  .nav__extra { display: none; }
  .header__phone { display: inline; color: var(--c-on-dark); font-weight: 600; text-decoration: none; white-space: nowrap; }
  .burger { display: none; }

  .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 56px; }
  .order { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
  .faq-layout { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
  .faq-layout__head { position: sticky; top: calc(var(--header-h) + 32px); }
}

@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
}

/* На телефоне главная кнопка всегда под рукой: появляется, когда кнопка первого экрана ушла вверх,
   и прячется, когда на экране форма (main.js ставит класс is-on) */
@media (max-width: 767px) {
  .js .sticky-cta {
    position: fixed; z-index: 40;
    left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; justify-content: center;
    min-height: 52px;
    border-radius: var(--radius-sm);
    background: var(--c-accent); color: var(--c-on-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .7);
    text-transform: uppercase; letter-spacing: .06em;
    font-weight: 700; text-decoration: none;
    visibility: hidden; transform: translateY(140%);
    transition: transform .3s var(--ease), visibility 0s linear .3s;
  }
  .js .sticky-cta.is-on { visibility: visible; transform: none; transition: transform .3s var(--ease); }
  .js .footer { padding-bottom: 92px; }
}

/* ---------- Auto Paradise: стеллаж с плёнкой, заказ-наряд, калькулятор ---------- */

/* Заголовки — обычным регистром, плотно: спокойно и открыто */
.h2 { font-size: clamp(30px, 5vw, 48px); line-height: 1.08; letter-spacing: -.025em; text-transform: none; }
.label { letter-spacing: .08em; }
.btn { font-weight: 650; }
.btn--primary { text-transform: none; letter-spacing: 0; font-weight: 700; }
.btn--primary:hover { background: #6dd3f0; box-shadow: 0 10px 24px -10px rgba(7, 106, 134, .55); }
.btn--ghost { background: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: #fff; }

.logo { color: var(--c-on-dark); font-size: 20px; letter-spacing: -.01em; text-transform: none; }
.logo span { margin-left: .22em; color: var(--c-accent); }
.nav__contact { color: var(--c-accent); }
.footer a:not(.logo):hover { color: var(--c-accent); }

/* Первый экран: сверху — стеллаж с рулонами плёнки, как стена в боксе студии */
.hero { padding-top: 186px; }
.hero__rack {
  position: absolute; top: 0; left: 0; right: 0; height: 186px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 35%, transparent 96%);
  mask-image: linear-gradient(#000 35%, transparent 96%);
}
.rack { position: relative; left: 50%; display: block; width: max(1472px, 100%); height: auto; transform: translateX(-50%); }
.rack__shelf { stroke: #b4babe; stroke-width: 2; }
.roll__edge { fill: #eceeef; stroke: #b4babe; stroke-width: 1.5; }
.roll__wind {
  fill: none;
  stroke: #6b7278; stroke-width: 1.4; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0;
  opacity: .55;
  animation: wind 1.5s var(--ease) backwards;
}
.roll__core { fill: var(--c-bg); stroke: #9aa1a6; stroke-width: 1.5; }
/* Цветные рулоны — как цветные плёнки на стеллаже; бирюзовые — цвет студии */
.roll--t .roll__edge { stroke: var(--c-accent); stroke-width: 2.5; }
.roll--t .roll__wind { stroke: #1d9fc4; opacity: .85; }
.roll--s .roll__wind { stroke: #9aa1a6; }
.roll--b .roll__wind { stroke: #4a76b0; opacity: .7; }
.roll--r .roll__wind { stroke: #b65a50; opacity: .7; }
/* Рулоны наматываются вразнобой */
.roll:nth-child(5n+1) .roll__wind { animation-delay: .05s; }
.roll:nth-child(5n+2) .roll__wind { animation-delay: .35s; }
.roll:nth-child(5n+3) .roll__wind { animation-delay: .2s; }
.roll:nth-child(5n+4) .roll__wind { animation-delay: .5s; }
.roll:nth-child(5n)   .roll__wind { animation-delay: .12s; }
@keyframes wind { from { stroke-dashoffset: 1; } }

.hero__grid, .hero .container { position: relative; }
.hero__title { font-size: clamp(34px, 6.4vw, 58px); line-height: 1.04; letter-spacing: -.035em; text-transform: none; }
.hero__promo {
  display: inline-block;
  margin-top: 18px; padding: 8px 12px;
  border-left: 3px solid var(--c-accent);
  background: rgba(60, 195, 232, .14);
  font-size: 15px; font-weight: 600;
}
.hero__photo img { border-radius: var(--radius); }
.facts dd { font-family: var(--font-mono); font-size: 24px; letter-spacing: 0; }
.facts__item:first-child dd { color: var(--c-accent-text); }

/* Главный блок: заказ-наряд и калькулятор */
.section--offer { background: var(--c-bg-alt); border-block: 1px solid var(--c-line); }
.offer { display: grid; gap: 24px; align-items: start; }

.order-doc {
  padding: 22px 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface-2);
  box-shadow: 0 18px 40px -26px rgba(23, 25, 27, .45);
}
.order-doc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding-bottom: 12px; border-bottom: 2px solid var(--c-text); }
.order-doc__name { font-size: 18px; font-weight: 700; }
.order-doc__no { margin-left: 6px; color: var(--c-muted); font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.order-doc__film { color: var(--c-text-2); font-size: 14.5px; }
.order-doc__zones { margin-top: 4px; }
.order-doc__zones li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--c-line); font-size: 15.5px; line-height: 1.4; }
.order-doc__num { min-width: 24px; color: var(--c-accent-text); font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.order-doc__sum { margin-top: 14px; }
.order-doc__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--c-line); }
.order-doc__row dt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-weight: 600; }
.order-doc__row dd { font-family: var(--font-mono); font-size: 18px; white-space: nowrap; }
.order-doc__row--gift dt svg, .order-doc__row--gift dd { color: var(--c-accent-text); }
.order-doc__row--total { margin-top: 6px; border-top: 2px solid var(--c-text); border-bottom: 0; }
.order-doc__row--total dt { font-size: 18px; font-weight: 700; }
.order-doc__row--total dd { font-size: clamp(26px, 6vw, 32px); }
.order-doc__old { margin-right: 6px; color: var(--c-muted); font-size: 15px; }
.order-doc__note { color: var(--c-muted); font-size: 14px; font-weight: 400; }
.order-doc__bonus { margin-top: 16px; padding: 12px 14px; border-left: 3px solid var(--c-accent); background: rgba(60, 195, 232, .12); font-size: 14.5px; }

/* Калькулятор — графитовое «табло» с бирюзовыми цифрами */
.calc {
  padding: 26px 20px 22px;
  border-radius: var(--radius);
  background: var(--c-dark);
  color: var(--c-on-dark);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.calc__title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.calc__lead { margin-top: 8px; color: var(--c-on-dark-muted); font-size: 15px; }
.calc__field { margin-top: 22px; }
.calc__label { display: block; color: var(--c-on-dark-muted); font-size: 14px; font-weight: 600; }
.calc__sum {
  margin-top: 8px;
  border-color: #50575d;
  background: var(--c-dark-2); color: var(--c-on-dark);
  font-family: var(--font-mono); font-size: 22px;
}
.calc__sum:hover { border-color: #7d858b; }
.calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.calc__term { color: var(--c-accent); font-family: var(--font-mono); font-size: 20px; }
.calc__range {
  display: block;
  width: 100%; height: 36px; margin: 8px 0 0;
  background: transparent;
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
}
.calc__range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: #3a3f44; }
.calc__range::-moz-range-track { height: 6px; border-radius: 3px; background: #3a3f44; }
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 28px; height: 28px; margin-top: -11px;
  border: 4px solid var(--c-dark); border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 1px var(--c-accent);
}
.calc__range::-moz-range-thumb { width: 20px; height: 20px; border: 4px solid var(--c-dark); border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 1px var(--c-accent); }
.calc__range:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }
/* Подписи под ползунком: каждая стоит ровно под своим положением */
.calc__ticks { display: flex; justify-content: space-between; padding: 0 14px; color: var(--c-on-dark-muted); font-family: var(--font-mono); font-size: 13px; }
.calc__ticks li { display: flex; justify-content: center; width: 0; white-space: nowrap; }
.calc__result { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-dark-line); }
.calc__pay { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--c-on-dark-muted); }
.calc__pay output { color: var(--c-accent); font-family: var(--font-mono); font-size: clamp(40px, 10vw, 54px); line-height: 1.05; }
/* Полоса срока: клетка — полмесяца; при смене срока клетки загораются по очереди */
.calc__strip { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2px; margin-top: 14px; }
.calc__strip i { height: 10px; border-radius: 2px; background: #33373b; transition: background-color .25s var(--ease); }
.calc__strip i:nth-child(2n):not(:last-child) { margin-right: 4px; }       /* граница месяца */
.calc__strip i.is-on { background: var(--c-accent); }
.calc__strip i:nth-child(1)  { transition-delay: 0s; }
.calc__strip i:nth-child(2)  { transition-delay: .03s; }
.calc__strip i:nth-child(3)  { transition-delay: .06s; }
.calc__strip i:nth-child(4)  { transition-delay: .09s; }
.calc__strip i:nth-child(5)  { transition-delay: .12s; }
.calc__strip i:nth-child(6)  { transition-delay: .15s; }
.calc__strip i:nth-child(7)  { transition-delay: .18s; }
.calc__strip i:nth-child(8)  { transition-delay: .21s; }
.calc__strip i:nth-child(9)  { transition-delay: .24s; }
.calc__strip i:nth-child(10) { transition-delay: .27s; }
.calc__strip i:nth-child(11) { transition-delay: .3s; }
.calc__strip i:nth-child(12) { transition-delay: .33s; }
.calc__over { margin-top: 12px; color: var(--c-on-dark-muted); }
.calc__over b { color: var(--c-on-dark); font-family: var(--font-mono); font-size: 18px; }
.calc .btn { margin-top: 22px; }
.calc__note { margin-top: 12px; color: var(--c-on-dark-muted); font-size: 13.5px; }
.calc .stub-demo { color: #c9d0d4; }

/* Без сюрпризов: пять пунктов строкой */
.section--trust { padding: 56px 0; }
.trust { margin-top: 24px; border-top: 1px solid var(--c-line); }
.trust__item { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--c-line); }
.trust__item svg { grid-row: span 2; margin-top: 2px; color: var(--c-accent-text); }
.trust__title { font-weight: 700; }
.trust__text { color: var(--c-text-2); font-size: 15px; }

.svc { background: var(--c-surface); }
.films { margin-top: 40px; }
.films__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.films__list li { padding: 6px 12px; border: 1px solid var(--c-line-2); border-radius: var(--radius); background: var(--c-surface); font-weight: 600; }
.films__note { margin-top: 12px; color: var(--c-text-2); }

.gallery__link img { filter: none; }
.gallery__link:hover img, .gallery__link:focus-visible img { filter: brightness(1.08); }
.form-card { box-shadow: 0 24px 50px -32px rgba(23, 25, 27, .5); }
.faq__q:hover { color: var(--c-accent-text); }
.about__fact dt { font-size: 20px; }
@media (min-width: 560px) { .about__fact { grid-template-columns: 170px minmax(0, 1fr); } }

/* Где мы: два адреса, пока студия не уточнила верный */
.addr { margin-top: 20px; }
.addr__line { margin-bottom: 8px; font-size: clamp(19px, 2.4vw, 24px); font-weight: 700; line-height: 1.35; }
.addr__src { display: block; color: var(--c-muted); font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.addr__note { margin-top: 20px; padding: 10px 14px; border-left: 3px solid var(--c-accent); background: rgba(60, 195, 232, .12); font-size: 14.5px; }

.sticky-cta { text-transform: none !important; letter-spacing: 0 !important; }

@media (min-width: 560px) {
  .order-doc { padding: 28px 28px 24px; }
  .order-doc__zones { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .calc { padding: 30px 28px 26px; }
}
@media (min-width: 768px) {
  .hero { padding-top: 236px; }
  .hero__rack { height: 270px; }
  .trust { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
}
@media (min-width: 900px) {
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .offer { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; }
  .calc { position: sticky; top: calc(var(--header-h) + 24px); }
  .trust { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 0; border-top: 0; }
  .trust__item { display: flex; flex-direction: column; gap: 6px; padding: 4px 22px 4px 18px; border-bottom: 0; border-left: 1px solid var(--c-line); }
  .trust__item svg { margin: 0 0 6px; }
}

/* Тем, кто попросил систему уменьшить движение, — без анимаций */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
