/* ============================================================
   Автоюрист Ростов-на-Дону — стили лендинга
   Палитра «E»: светлый редакционный фон + винный акцент
   ============================================================ */

:root {
  --ink: #14181d;
  --ink-soft: #1f242b;
  --ink-line: #2e343d;
  --wine: #a8232f;
  --wine-dark: #861b25;
  --wine-tint: #f7eae8;
  --sand: #d9c7a7;
  --sand-soft: #f1ece1;
  --brass: #b08a4f;
  --text: #1a1e24;
  --muted: #616b77;
  --bg: #fbfaf7;
  --bg-alt: #f5f1e8;
  --card: #ffffff;
  --line: #e7e4dc;
  --danger: #b3261e;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(20, 24, 29, .07);
  --shadow-lg: 0 26px 60px rgba(20, 24, 29, .16);
  --wrap: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.18; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }

p { margin: 0 0 1em; }

a { color: inherit; }

::selection { background: rgba(168, 35, 47, .16); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(168, 35, 47, .32);
  outline-offset: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn--primary { background: var(--wine); color: #fffaf6; }
.btn--primary:hover {
  background: var(--wine-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(168, 35, 47, .26);
}
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid #cfc8ba; }
.btn--ghost:hover { border-color: var(--wine); color: var(--wine); background: rgba(168, 35, 47, .04); }
.btn--block { width: 100%; }

/* ---------- Шапка ---------- */
.topbar {
  background: var(--bg-alt);
  color: #5f6a76;
  font-size: 13.5px;
  border-bottom: 1px solid var(--line);
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar__item { display: flex; align-items: center; gap: 8px; }
.topbar__item svg { flex: none; color: var(--wine); opacity: .8; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, .94);
  backdrop-filter: blur(10px);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark {
  width: 44px; height: 44px; flex: none;
  display: grid; place-items: center;
  background: var(--wine);
  color: #fdf6ef;
  border-radius: 10px;
  font-size: 22px;
}
.logo__text strong { display: block; font-size: 17px; letter-spacing: .1px; color: var(--ink); }
.logo__text span { display: block; font-size: 11.5px; color: var(--muted); letter-spacing: .9px; text-transform: uppercase; }

.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: #4d5763; transition: color .2s; }
.nav a:hover { color: var(--wine); }

.header__phone {
  text-align: right;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.header__phone strong { display: block; font-size: 18px; letter-spacing: .2px; }
.header__phone span { font-size: 12px; color: var(--wine); }

/* ---------- Герой ---------- */
.hero {
  position: relative;
  padding: 0;
  color: var(--ink);
  background:
    radial-gradient(780px 420px at 88% -14%, rgba(168, 35, 47, .10), transparent 62%),
    radial-gradient(640px 400px at 4% 4%, rgba(217, 199, 167, .55), transparent 62%),
    linear-gradient(180deg, #fbf8f1 0%, #f7f3e9 58%, #fbfaf7 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -140px; bottom: -180px;
  width: 520px; height: 520px;
  border-radius: 50%;
  border: 60px solid rgba(168, 35, 47, .05);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  grid-template-areas:
    "intro form"
    "card card";
  gap: 36px 56px;
  align-items: center;
  padding-top: 68px;
  padding-bottom: 68px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(168, 35, 47, .07);
  border: 1px solid rgba(168, 35, 47, .2);
  color: var(--wine);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 22px;
}
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); margin-bottom: 20px; }
.hero h1 em { color: var(--wine); font-style: normal; }
.hero__lead { font-size: 18px; color: #4d5763; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__note { margin-top: 22px; font-size: 14px; color: var(--muted); }

.hero__intro { grid-area: intro; min-width: 0; }
.hero__form {
  grid-area: form;
  justify-self: end;
  width: 100%;
  max-width: 430px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.hero__form h3 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.hero__form #heroIntro p { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-bottom: 16px; }
.hero__form .field { margin-bottom: 12px; }
.hero__form .form-consent { font-size: 11.5px; margin: 14px 0 0; }
.hero__form .form-note { margin-top: 10px; min-height: 0; }
.hero__form .form-success { padding: 0 0 4px; text-align: left; }
.hero__form .form-success__icon { margin-left: 0; width: 48px; height: 48px; font-size: 24px; }

.hero__card {
  grid-area: card;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 10px 30px rgba(20, 24, 29, .05);
}
.hero__card h2 { font-size: 19px; margin-bottom: 14px; }
.hero__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.hero__list li { display: block; }
.hero__chip {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  color: #3d4753;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.hero__chip:hover,
.hero__chip:focus-visible {
  background: var(--wine-tint);
  border-color: rgba(168, 35, 47, .35);
  color: var(--wine);
  transform: translateY(-2px);
}
.hero__chip .check { width: 20px; height: 20px; font-size: 12px; }
.hero__chip-label { flex: 1; }
.hero__chip-arrow { flex: none; opacity: .55; }
.check {
  flex: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine);
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700;
}

/* ---------- Полоса статистики ---------- */
.stats {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 34px;
  padding-bottom: 34px;
}
.stat { text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat strong { display: block; font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--muted); }
.stat--link { display: block; text-decoration: none; color: inherit; transition: color .18s ease; }
.stat--link span::after { content: " \2197"; color: var(--wine); font-size: 12px; }
.stat--link:hover strong { color: var(--wine); }
.stat--link:hover span { color: var(--ink); }

/* ---------- Секции ---------- */
section { padding: 84px 0; }
section[id] { scroll-margin-top: 90px; }
.section--alt { background: #fff; }

.section__head { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.section__head .eyebrow {
  color: var(--wine);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section__head h2 { font-size: clamp(25px, 3.2vw, 38px); }
.section__head p { color: var(--muted); font-size: 16px; margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d2c4; }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--wine-tint);
  color: var(--wine);
  display: grid; place-items: center;
  margin-bottom: 16px;
}
.card h3 { font-size: 17px; margin-bottom: 8px; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { color: var(--wine); }
.card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.card[id] { scroll-margin-top: 104px; }
.card:target {
  border-color: rgba(168, 35, 47, .45);
  box-shadow: 0 0 0 3px rgba(168, 35, 47, .14), var(--shadow);
}

/* ---------- Преимущества / шаги ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step__num {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--wine);
  color: #fff9f3;
  display: grid; place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; color: var(--muted); margin: 0; }

/* ---------- Гарантии ---------- */
.guarantees {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.guarantee {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 4px solid var(--wine);
  border-radius: var(--radius);
  padding: 24px 24px 26px;
}
.guarantee__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--wine-tint);
  color: var(--wine);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.guarantee h3 { font-size: 17px; margin-bottom: 8px; }
.guarantee p { font-size: 14.5px; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .guarantees { grid-template-columns: 1fr; }
}

/* ---------- Частые ситуации ---------- */
.situations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.situation {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.situation:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d9d2c4; }
.situation__media { padding: 12px 12px 0; }
.situation__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.situation__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 22px 24px;
}
.situation__body h3 { font-size: 18px; margin-bottom: 8px; }
.situation__body p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }
.situation__link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--wine);
  text-decoration: none;
}
.situation__link::after { content: "\2192"; transition: transform .2s ease; }
.situation__link:hover::after { transform: translateX(3px); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.faq__item[open] { border-color: #d9d2c4; box-shadow: var(--shadow); }
.faq__item summary {
  position: relative;
  padding: 18px 56px 18px 22px;
  font-weight: 700;
  font-size: 16.5px;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--wine);
}
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--wine); }
.faq__answer { padding: 0 22px 20px; }
.faq__answer p { margin: 0; font-size: 15px; color: var(--muted); }

/* ---------- Форма ---------- */
.form-section {
  background:
    radial-gradient(720px 420px at 12% -6%, rgba(168, 35, 47, .07), transparent 62%),
    radial-gradient(560px 360px at 96% 100%, rgba(217, 199, 167, .45), transparent 62%),
    var(--bg-alt);
  border-top: 1px solid var(--line);
  color: var(--text);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.form-info h2 { font-size: clamp(25px, 3.2vw, 38px); }
.form-info p { color: #4d5763; font-size: 16px; }
.form-info ul { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 13px; }
.form-info li { display: flex; gap: 12px; align-items: flex-start; color: #3d4753; font-size: 15px; }
.form-info .phone-big {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .2px;
  transition: border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.form-info .phone-big:hover { border-color: var(--wine); color: var(--wine); box-shadow: var(--shadow); }

.form-card {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }

.field { margin-bottom: 18px; }
.field label,
.field .field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 7px;
  color: #333c47;
}
.field .req { color: var(--danger); }
.field input,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-size: 15.5px;
  font-family: inherit;
  color: var(--text);
  background: #fbfaf7;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
  outline: none;
}
.field input::placeholder,
.field textarea::placeholder { color: #9a958a; }
.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(168, 35, 47, .12);
}
.field textarea { resize: vertical; min-height: 118px; }

.field__meta {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--line); }
.field.is-invalid input,
.field.is-invalid textarea {
  border-color: var(--danger);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(179, 38, 30, .12);
}
.field.is-invalid input:focus,
.field.is-invalid textarea:focus { border-color: var(--danger); }

.field__optional {
  font-weight: 400;
  color: var(--muted);
  font-size: 13px;
}

/* Yandex SmartCaptcha */
.field--captcha { margin-top: 4px; }
.field--captcha .smart-captcha {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.field__error {
  margin: 6px 0 0;
  min-height: 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}
.field__error:empty { display: none; }

.form-consent {
  font-size: 12.5px;
  color: var(--muted);
  margin: 16px 0 18px;
  line-height: 1.5;
}
.form-consent a { color: var(--wine); }

.form-note {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--wine-dark);
  font-weight: 600;
  min-height: 18px;
  text-align: center;
}

/* ---------- Экран «заявка принята» ---------- */
[hidden] { display: none !important; }

.form-success { text-align: center; padding: 10px 0 4px; }
.form-success:focus { outline: none; }
.form-success__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--wine-tint);
  color: var(--wine);
  font-size: 28px;
  font-weight: 700;
}
.form-success h4 { font-size: 22px; margin: 0 0 10px; color: var(--ink); }
.form-success p { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.form-success strong { color: var(--ink); }
.form-success__note { font-size: 13px; margin: 14px 0 0; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: #b6afa3; font-size: 14.5px; padding: 54px 0 0; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr 1fr;
  gap: 34px;
  padding-bottom: 40px;
}
.footer h3 { color: #f7f2e8; font-size: 15px; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; color: #b6afa3; }
.footer a:hover { color: var(--sand); }
.footer .logo__text strong { color: #f7f2e8; }
.footer .logo__text span { color: #8d8779; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 13px;
  color: #8d8779;
}

/* ---------- Юридические страницы ---------- */
.legal { padding: 56px 0 72px; }
.legal__head { max-width: 860px; margin: 0 auto 26px; }
.legal__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 14px;
  color: var(--muted);
}
.legal__crumbs a { color: var(--muted); text-decoration: none; }
.legal__crumbs a:hover { color: var(--wine); }
.legal__crumbs [aria-current="page"] { color: var(--text); }
.legal__head h1 { font-size: clamp(26px, 3.4vw, 40px); color: var(--ink); margin-bottom: 12px; }
.legal__meta { margin: 0; font-size: 14px; color: var(--muted); }

.legal__content {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(22px, 4vw, 46px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal__content h2 {
  font-size: clamp(19px, 2vw, 23px);
  color: var(--ink);
  margin: 1.7em 0 .6em;
}
.legal__content h2:first-child { margin-top: 0; }
.legal__content h3 { font-size: 17px; margin: 1.3em 0 .5em; }
.legal__content p,
.legal__content li { font-size: 15.5px; }
.legal__content ul,
.legal__content ol { margin: 0 0 1em; padding-left: 1.4em; }
.legal__content li { margin-bottom: .45em; }
.legal__content a { color: var(--wine); text-decoration: underline; text-underline-offset: 2px; }
.legal__content a:hover { color: var(--ink); }
.legal__content code {
  padding: 1px 5px;
  background: var(--wine-tint);
  border-radius: 4px;
  font-size: .92em;
}
.legal__note {
  margin: 0 0 1.6em;
  padding: 14px 18px;
  background: var(--wine-tint);
  border: 1px solid #e7cfc9;
  border-radius: 10px;
  font-size: 14.5px;
  color: #6e141c;
}

.legal__table-wrap { margin: 0 0 1.6em; overflow-x: auto; }
.legal__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.legal__table th,
.legal__table td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.legal__table th { background: var(--wine-tint); color: var(--ink); font-weight: 700; }
.legal__table td { color: var(--text); }
.legal__table caption {
  caption-side: top;
  padding: 0 0 8px;
  font-size: 14px;
  color: var(--muted);
  text-align: left;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1000px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    grid-template-areas: "intro" "form" "card";
    gap: 34px;
    padding-top: 54px;
    padding-bottom: 60px;
  }
  .hero__form { justify-self: center; max-width: 480px; }
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .situations { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .stat { border-right: none; }
}
@media (max-width: 620px) {
  section { padding: 56px 0; }
  .cards, .steps { grid-template-columns: 1fr; }
  .situations { grid-template-columns: 1fr; }
  .hero__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .header__phone span { display: none; }
  .logo__text span { display: none; }
  .hero__actions .btn { width: 100%; }
  .form-card { padding: 24px; }
}

/* ---------- Мобильная панель связи ---------- */
.mobile-cta { display: none; }

@media (max-width: 1000px) {
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(20, 24, 29, .97);
    border-top: 1px solid rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    transform: translateY(110%);
    transition: transform .25s ease;
  }
  .mobile-cta.is-visible { transform: none; }
  .mobile-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
  }
  .mobile-cta__btn--call {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .35);
  }
  .mobile-cta__btn--lead {
    background: var(--wine);
    color: #fffaf6;
  }
}
@media (max-width: 360px) {
  .mobile-cta { grid-template-columns: 1fr 1fr; }
  .mobile-cta__btn { font-size: 14px; padding: 12px 8px; }
}

/* ---------- Посадочные страницы ---------- */
.hero--landing .wrap { grid-template-areas: "intro form"; }
@media (max-width: 1000px) {
  .hero--landing .wrap { grid-template-areas: "intro" "form"; }
}
