@font-face {
  font-family: Gilroy;
  src: url("https://www.avantsb.ru/local/templates/new_avantis/css_newmain_header_footer/fonts/Gilroy-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("https://www.avantsb.ru/local/templates/new_avantis/css_newmain_header_footer/fonts/Gilroy-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("https://www.avantsb.ru/local/templates/new_avantis/css_newmain_header_footer/fonts/Gilroy-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("https://www.avantsb.ru/local/templates/new_avantis/css_newmain_header_footer/fonts/Gilroy-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Gilroy;
  src: url("https://www.avantsb.ru/local/templates/new_avantis/css_newmain_header_footer/fonts/Gilroy-ExtraBold.woff") format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #171237;
  --muted: #6c737a;
  --blue: #0077ff;
  --blue-soft: #2195d2;
  --red: #f33742;
  --green: #2f9e44;
  --bg: #fff;
  --surface: #f1f4f6;
  --line: #e3e7ea;
  --radius: 13px;
  --shadow: none;
}

* { box-sizing: border-box; }
.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
.section, .hero, .card, .form-section {
  scroll-margin-top: 88px;
}
body {
  margin: 0;
  font-family: Gilroy, Roboto, sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.4;
  overflow-x: hidden;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--blue);
  color: #fff;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
}
.btn-blue { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-blue:hover { background: #fff; color: var(--blue); }
.btn-red { background: var(--red); color: #fff; border-color: var(--red); }
.btn-red:hover { background: #fff; color: var(--red); }
.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: rgba(134, 142, 150, 0.33);
}
.btn-ghost:hover { background: rgba(134, 142, 150, 0.12); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 72px;
}
.logo { overflow: hidden; flex-shrink: 0; height: 28px; }
.logo img { height: 28px; width: auto; }
.nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}
.nav a { font-size: 15px; font-weight: 600; color: var(--ink); }
.nav a:hover { color: var(--blue); }
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn {
  min-height: 36px;
  padding: 7px 14px;
  font-size: 14px;
}
.phone { font-weight: 800; font-size: 16px; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; font-size: 22px; cursor: pointer; }

.hero,
.form-section {
  position: relative;
  padding: 0;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: #0c0b1f;
  display: flex;
  justify-content: center;
}
.banner-bleed {
  display: none;
}
.banner-stage {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  overflow: hidden;
  background: transparent;
}
.hero-stage {
  max-width: none;
  aspect-ratio: 3 / 1;
}
.form-stage {
  max-width: none;
  aspect-ratio: 3840 / 1180;
}
.hero picture,
.form-section picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.banner-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}
.banner-copy > .wrap {
  min-height: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(12, 11, 31, 0.76) 0%,
    rgba(12, 11, 31, 0.58) 31%,
    rgba(12, 11, 31, 0.18) 50%,
    rgba(12, 11, 31, 0) 68%
  );
  pointer-events: none;
}
.hero-copy {
  width: min(430px, 38vw);
  padding: 40px 0;
}
.eyebrow {
  display: inline-block;
  color: #4fc3f7;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 800;
}
.hero h1, .hero .lead { overflow-wrap: break-word; }
.lead { margin: 0 0 20px; color: var(--muted); font-size: 18px; font-weight: 500; }
.hero .lead,
.hero .note { color: rgba(255, 255, 255, 0.86); }
.price-from { font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.note { color: var(--muted); font-size: 14px; font-weight: 500; margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: nowrap; gap: 10px; align-items: center; min-width: 0; }
.hero-cta .btn {
  padding-inline: 14px;
  font-size: 14px;
  white-space: nowrap;
}
.hero .btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.hero .btn-ghost:hover {
  background: #fff;
  color: var(--ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.section { padding: 48px 0; }
.form-section.section { padding: 0; }
.section-muted {
  background: var(--surface);
  padding: 56px 0;
}
.section h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
}
.section-intro { color: var(--muted); font-weight: 500; margin: 0 0 24px; }
.section-photo {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: #0096d6;
}
.section-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.18) brightness(0.92) contrast(1.06) saturate(0.75);
  pointer-events: none;
}
.section-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(0, 150, 214, 0.62) 0%,
      rgba(0, 150, 214, 0.48) 48%,
      rgba(0, 119, 200, 0.58) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 150, 214, 0.55) 0%,
      rgba(0, 150, 214, 0.38) 42%,
      rgba(0, 119, 200, 0.42) 100%
    );
  pointer-events: none;
}
.section-photo > .wrap { position: relative; z-index: 1; }
.section.section-photo h2 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 90, 160, 0.35);
}
.section-photo .section-intro {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 12px rgba(0, 90, 160, 0.28);
}
.terms-grid .feature-card::after { content: none; }
.terms-grid .feature-card { min-height: 0; }
.conditions-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 500;
  font-size: 14px;
}

.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
}
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 32px rgba(23, 18, 55, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: #d5dbe0;
  box-shadow: 0 18px 44px rgba(23, 18, 55, 0.11);
}
.card[hidden] { display: none; }
.card-photo {
  position: relative;
  background: #fff;
  min-height: 220px;
  border-bottom: 1px solid var(--line);
}
.card-plaque {
  position: absolute;
  top: 12px;
  left: 12px;
  right: auto;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 8px;
  max-width: min(210px, calc(100% - 24px));
  padding: 8px 12px 8px 10px;
  border-radius: var(--radius);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 10px 22px rgba(0, 119, 255, 0.28);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
  pointer-events: none;
}
.card[data-pts] .card-plaque { display: flex; }
.card-plaque svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card-gallery-trigger {
  display: block;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.card-photo img {
  width: 100%;
  height: 250px;
  object-fit: contain;
  transition: transform 0.35s ease;
}
.card-gallery-trigger img { height: 230px; }
.card:hover .card-gallery-trigger img { transform: scale(1.025); }
.card-gallery-count {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 2;
  padding: 4px 8px;
  border-radius: 8px;
  background: rgba(23, 18, 55, 0.78);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
}
.card-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  padding: 0 10px 10px;
  background: #fff;
}
.card-thumb {
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.card-thumb img {
  width: 100%;
  height: 46px;
  object-fit: contain;
  transition: none;
}
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 12px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--surface);
}
.badge-red { background: #fde8ea; color: var(--red); }
.badge-blue { background: #e8f3ff; color: var(--blue); }
.card h3 { margin: 0; font-size: 22px; font-weight: 800; }
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price { font-size: 26px; font-weight: 800; color: var(--red); }
.old { color: var(--muted); text-decoration: line-through; font-weight: 500; }
.specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.spec-item {
  min-width: 0;
  min-height: 72px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff 0%, #f6f8fa 100%);
}
.spec-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: var(--blue);
  background: #eaf4ff;
}
.spec-icon svg,
.feature-icon svg,
.step-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spec-copy {
  min-width: 0;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.spec-copy strong { display: block; font-size: 13px; }
.spec-copy span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.equip { font-size: 14px; font-weight: 500; color: var(--muted); }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions .btn { flex: 1; }
.btn-ghost.js-compare.is-active,
.btn-ghost.js-compare.is-active:hover {
  color: var(--blue);
}

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15px; }
th { background: var(--surface); font-weight: 800; }
td:first-child { font-weight: 700; }
.compare-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.compare-remove {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.compare-remove:hover {
  color: var(--red);
  border-color: #f7c4c8;
  background: #fff0f1;
}

.grid-4, .grid-3 { display: grid; gap: 16px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.block {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px;
}
.block h3 { margin: 0 0 8px; font-size: 20px; }
.block p { margin: 0; color: var(--muted); font-weight: 500; font-size: 15px; }
.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 8px 28px rgba(23, 18, 55, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -60px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(0, 119, 255, 0.055);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 16px 38px rgba(23, 18, 55, 0.1); }
.feature-icon,
.step-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 14px;
  color: var(--blue);
  background: #eaf4ff;
}
.feature-card h3 { position: relative; z-index: 1; }
.feature-card p { position: relative; z-index: 1; }
.benefit-grid .feature-icon { color: var(--red); background: #fff0f1; }
.benefit-grid .feature-card::after { content: none; }

.steps { position: relative; gap: 42px; }
.step {
  position: relative;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 10px 32px rgba(23, 18, 55, 0.06);
}
.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -34px;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 16px;
  box-shadow: 0 5px 14px rgba(0, 119, 255, 0.28);
}
.step-number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: #e4eaf0;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}
.step-icon { margin-bottom: 20px; }
.step b { position: relative; display: block; margin-bottom: 8px; font-size: 20px; }

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 8px 0 0; color: var(--muted); font-weight: 500; }

.form-banner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 46%;
}
.form-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(12, 11, 31, 0.82) 0%,
    rgba(12, 11, 31, 0.64) 24%,
    rgba(12, 11, 31, 0.28) 42%,
    rgba(12, 11, 31, 0.06) 58%,
    rgba(12, 11, 31, 0) 72%
  );
  pointer-events: none;
}
.form-section h2 { color: #fff; }
.form-section .section-intro { color: rgba(255,255,255,0.78); }
.form-section .note { color: rgba(255,255,255,0.86); margin: 0 0 16px; }
.form-grid {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 48px 0;
}
.form-copy {
  max-width: 490px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.form-copy h2 { font-size: 42px; line-height: 1.08; }
.form-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 8px;
}
.form-cta .btn { min-width: 240px; }

.photo-gallery {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 16px;
}
.photo-gallery[hidden] { display: none; }
.photo-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 24, 0.84);
}
.photo-gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-rows: auto minmax(240px, 1fr) auto;
  gap: 10px 6px;
  align-items: center;
}
.photo-gallery-title {
  grid-column: 1 / -1;
  margin: 0 48px 0 0;
  color: #fff;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}
.photo-gallery-close {
  position: absolute;
  top: -4px;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}
.photo-gallery-nav {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}
.photo-gallery-nav:hover { background: rgba(255, 255, 255, 0.28); }
.photo-gallery-stage {
  margin: 0;
  min-height: 280px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
}
.photo-gallery-stage img {
  width: auto;
  max-width: 100%;
  max-height: min(68vh, 720px);
  object-fit: contain;
}
.photo-gallery-stage figcaption {
  justify-self: stretch;
  padding: 8px 12px 12px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}
.photo-gallery-thumbs {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.photo-gallery-thumbs button {
  width: 72px;
  height: 54px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.photo-gallery-thumbs button.is-active { border-color: var(--blue); }
.photo-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
@media (max-width: 980px) {
  .photo-gallery-dialog {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
  }
  .photo-gallery-stage img { max-height: 52vh; }
}

.lead-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.lead-modal[hidden] { display: none; }
.lead-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 11, 31, 0.55);
}
.lead-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(90vh, 860px);
  overflow: auto;
  background: #fff;
  color: var(--ink);
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 24px 60px rgba(9, 7, 28, 0.28);
}
.lead-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.lead-modal-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
  text-align: center;
  padding-right: 28px;
}
.lead-modal-card .note {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
  text-align: center;
}
.field { margin-bottom: 12px; }
.field input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  font-size: 16px;
  font-weight: 600;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.consent a { color: var(--blue); }
.consent input { margin-top: 4px; }
.b24-form-slot { min-height: 220px; }
.form-error {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 14px;
  font-weight: 600;
}
.success { display: none; text-align: center; padding: 8px 0; }
.success.is-visible { display: block; }
form.is-hidden { display: none; }

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 20px; }
.site-footer b { color: var(--ink); display: block; margin-bottom: 6px; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}
.footer-nav a { color: var(--muted); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 60;
  padding: 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 700; }

@media (max-width: 980px) {
  .header-inner { display: flex; }
  .nav, .header-actions .phone, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .header-actions { margin-left: auto; }
  .banner-bleed { display: none; }
  .hero-stage, .hero .banner-copy {
    min-height: 650px;
    height: auto;
    aspect-ratio: auto;
    max-width: none;
  }
  .hero .banner-copy { align-items: flex-end; }
  .hero-copy { width: 100%; padding: 32px 0; }
  .cards, .grid-4, .grid-3, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .hero-banner { object-position: 68% 50%; }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(12, 11, 31, 0.42) 0%,
      rgba(12, 11, 31, 0.58) 22%,
      rgba(12, 11, 31, 0.82) 48%,
      rgba(12, 11, 31, 0.93) 72%,
      rgba(12, 11, 31, 0.97) 100%
    );
  }
  .hero-copy {
    text-shadow: 0 2px 18px rgba(12, 11, 31, 0.55);
  }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; min-width: 0; }
  .card-actions { flex-direction: column; }
  .feature-card { min-height: 0; }
  .steps { gap: 16px; }
  .step { min-height: 0; }
  .step:not(:last-child)::after {
    content: "↓";
    top: auto;
    right: 50%;
    bottom: -21px;
    transform: translateX(50%);
  }
  .form-stage, .form-section .banner-copy { min-height: 620px; aspect-ratio: auto; max-width: none; }
  .form-banner { object-position: 68% center; }
  .form-overlay {
    background: linear-gradient(
      180deg,
      rgba(12, 11, 31, 0.08) 0%,
      rgba(12, 11, 31, 0.2) 42%,
      rgba(12, 11, 31, 0.82) 78%,
      rgba(12, 11, 31, 0.92) 100%
    );
  }
  .form-grid { min-height: 620px; align-items: flex-end; padding-bottom: 28px; }
  .form-copy { max-width: none; }
  .form-copy h2 { font-size: 32px; }
  .form-cta { justify-content: flex-start; }
}
