:root {
  --bg: #0b0d10;
  --bg-2: #0f1217;
  --surface: #14181f;
  --surface-2: #1b212a;
  --border: #262d38;
  --text: #f3f5f2;
  --muted: #9aa2ad;
  --accent: #cdf000;        --accent-ink: #0b0d10;    --amber: #ff9a3d;         --danger: #ff5d5d;
  --brand-red: #e23b3b;     --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.7);
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-head: "Space Grotesk", var(--font-sans);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 600;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

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

.section {
  padding-block: clamp(28px, 4.5vw, 60px);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(205, 240, 0, 0.05);
}

.section-title {
  font-size: clamp(28px, 4.4vw, 46px);
  margin-top: 18px;
  max-width: 20ch;
  text-wrap: balance;
}

.section-sub {
  color: var(--muted);
  margin-top: 16px;
  max-width: 56ch;
  font-size: 17px;
  text-wrap: pretty;
}

.text-accent { color: var(--accent); }
.text-amber { color: var(--amber); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 10px 30px -10px rgba(205, 240, 0, 0.55);
}
.btn-primary:hover { box-shadow: 0 14px 40px -8px rgba(205, 240, 0, 0.75); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-block { width: 100%; }

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 13, 16, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.header.scrolled { border-bottom-color: var(--border); background: rgba(11, 13, 16, 0.9); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 28px; height: 40px;
  display: block;
  object-fit: contain;
}
.brand-name { font-family: var(--font-head); font-weight: 700; letter-spacing: 0.02em; }
.brand-name .bn-center { color: var(--text); }
.brand-name .bn-car { color: var(--brand-red); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-links-cta { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: 42px; height: 42px;
  color: var(--text);
  cursor: pointer;
}

.hero {
  position: relative;
  padding-top: clamp(48px, 7vw, 90px);
  padding-bottom: clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(600px 320px at 78% 12%, rgba(205, 240, 0, 0.14), transparent 70%),
    radial-gradient(520px 320px at 12% 4%, rgba(255, 154, 61, 0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 64px);
  margin-top: 20px;
  text-wrap: balance;
}
.hero h1 .hl {
  color: var(--accent);
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  margin-top: 20px;
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.stat .num {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
}
.stat .num span { color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: 14px; }

.hero-visual {
  position: relative;
}
.hero-card {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-car {
  display: block;
  border-radius: 16px;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--surface-2);
}
.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  gap: 12px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(205, 240, 0, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(205, 240, 0, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(205, 240, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(205, 240, 0, 0); }
}
.float-tag {
  position: absolute;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  animation: floaty 4s ease-in-out infinite;
}
.float-tag.top { top: -14px; right: 24px; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.marquee {
  border-block: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
  padding-block: 18px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-x 26s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  padding-right: 48px;
}
.marquee-item svg { color: var(--accent); }
@keyframes scroll-x {
  to { transform: translateX(-10%); }
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.focus-card {
  position: relative;
  border-radius: var(--radius);
  padding: 34px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s;
}
.focus-card:hover { transform: translateY(-6px); border-color: var(--accent); }
.focus-card.lime { background: linear-gradient(150deg, rgba(205,240,0,0.14), var(--surface)); }
.focus-card.amber { background: linear-gradient(150deg, rgba(255,154,61,0.14), var(--surface)); }
.focus-ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.focus-card.lime .focus-ic { color: var(--accent); }
.focus-card.amber .focus-ic { color: var(--amber); }
.focus-card h3 { font-size: 24px; }
.focus-card p { color: var(--muted); margin-top: 10px; }
.focus-list { margin-top: 20px; display: grid; gap: 12px; }
.focus-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 15px; }
.focus-list svg { flex: none; margin-top: 3px; }
.focus-card.lime .focus-list svg { color: var(--accent); }
.focus-card.amber .focus-list svg { color: var(--amber); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 48px;
  align-items: center;
}
.gallery-stage {
  position: relative;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.gallery-main {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: var(--surface-2);
}
.gallery-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  position: absolute; inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.gallery-main img.active { opacity: 1; transform: scale(1); }
.gallery-badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  background: rgba(11,13,16,0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px; font-weight: 600;
  padding: 7px 12px; border-radius: 999px;
}
.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.thumb {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
  padding: 0;
  transition: border-color 0.2s, transform 0.2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { transform: translateY(-3px); }
.thumb.active { border-color: var(--accent); }

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.spec {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.spec .k { color: var(--muted); font-size: 13px; }
.spec .v { font-family: var(--font-head); font-weight: 600; font-size: 19px; margin-top: 4px; }

.gallery-book { margin-top: 28px; }

.calc-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  margin-top: 48px;
  align-items: stretch;
}
.calc-controls, .calc-result {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.control { margin-bottom: 26px; }
.control:last-child { margin-bottom: 0; }
.control-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}
.control-head label { font-weight: 600; font-size: 15px; }
.control-val {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  color: var(--accent);
  white-space: nowrap;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  outline: none;
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent), 0 6px 14px -4px rgba(205,240,0,0.7);
  cursor: pointer;
  transition: transform 0.15s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 4px solid var(--bg);
  cursor: pointer;
}
.range-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 12px;
  margin-top: 8px;
}

.calc-result {
  background: linear-gradient(160deg, rgba(205,240,0,0.12), var(--surface));
  display: flex;
  flex-direction: column;
}
.result-label { color: var(--muted); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.result-big {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(38px, 7vw, 58px);
  line-height: 1;
  margin-top: 10px;
}
.result-big .cur { color: var(--accent); font-size: 0.5em; vertical-align: super; }
.result-period { color: var(--muted); margin-top: 6px; }
.result-rows {
  margin-top: 26px;
  display: grid;
  gap: 2px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
}
.result-row span:first-child { color: var(--muted); }
.result-row span:last-child { font-weight: 600; }
.result-row.neg span:last-child { color: var(--danger); }
  .result-note { color: var(--muted); font-size: 13px; margin-top: 18px; }
    .calc-cta { margin-top: 22px; }
.result-monthly {
  margin-top: 20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.result-monthly .k { color: var(--muted); font-size: 14px; }
.result-monthly .v { font-family: var(--font-head); font-weight: 700; font-size: 24px; color: var(--amber); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  position: relative;
  transition: transform 0.2s, border-color 0.2s;
}
.step:hover { transform: translateY(-5px); border-color: var(--accent); }
.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 40px;
  color: var(--surface-2);
  -webkit-text-stroke: 1px var(--border);
  line-height: 1;
}
.step h4 { font-size: 18px; margin-top: 12px; }
.step p { color: var(--muted); margin-top: 8px; font-size: 15px; }

.perks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.perk {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s;
}
.perk:hover { transform: translateY(-5px); border-color: var(--accent); }
.perk-head { display: flex; align-items: center; gap: 14px; }
.perk-ic {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
}
.perk h4 { font-size: 19px; }
.perk > p { color: var(--muted); margin-top: 14px; font-size: 15px; }
.perk-list { margin-top: 16px; display: grid; gap: 10px; }
.perk-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-size: 14px; }
.perk-list svg { flex: none; margin-top: 3px; color: var(--accent); }
.perk-highlight {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(150deg, rgba(205,240,0,0.16), var(--surface));
  border-color: rgba(205,240,0,0.4);
}
.perk-highlight .perk-amount {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 44px;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
}
.perk-highlight .perk-amount span { font-size: 20px; }

.brand-band {
  margin-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(150deg, rgba(205, 240, 0, 0.16), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.brand-band-main { flex: 1 1 420px; }
.brand-band-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
}
.brand-band-title {
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 30px);
  margin: 16px 0 10px;
  color: var(--text);
}
.brand-band-main > p { color: var(--muted); }
.brand-band-badge {
  flex: none;
  display: grid;
  place-items: center;
  gap: 8px;
  width: 140px;
  height: 140px;
  border-radius: 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--accent);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
}

.req-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.req-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.req-card:hover { transform: translateY(-5px); border-color: var(--accent); }
.req-ic {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(205, 240, 0, 0.12);
  color: var(--accent);
  margin-bottom: 18px;
}
.req-card h3 { font-size: 20px; }
.req-card p { color: var(--muted); margin-top: 10px; font-size: 15px; }

#apply > .container > .eyebrow {
  margin-bottom: 18px;
}

.cta-wrap {
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-wrap::before {
  content: "";
  position: absolute;
  inset: auto -10% -60% 40%;
  height: 400px;
  background: radial-gradient(400px 240px at 60% 40%, rgba(205,240,0,0.15), transparent 70%);
  pointer-events: none;
}
.cta-info { position: relative; z-index: 1; }
.cta-info h2 { font-size: clamp(26px, 3.6vw, 40px); }
.cta-info p { color: var(--muted); margin-top: 14px; }
.cta-perks { margin-top: 24px; display: grid; gap: 12px; }
.cta-perks li { display: flex; gap: 10px; align-items: center; }
.cta-perks svg { color: var(--accent); flex: none; }

.lead-form {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--muted);
}
.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder { color: #5c6470; }
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(205, 240, 0, 0.15);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-hint { color: var(--muted); font-size: 13px; margin-top: 14px; text-align: center; }
.form-hint a { color: var(--accent); }

.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.ok { background: rgba(205,240,0,0.12); color: var(--accent); border: 1px solid rgba(205,240,0,0.3); }
.form-msg.err { background: rgba(255,93,93,0.12); color: var(--danger); border: 1px solid rgba(255,93,93,0.3); }

.btn.loading { pointer-events: none; opacity: 0.75; }
.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(11,13,16,0.35);
  border-top-color: var(--accent-ink);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
.btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.faq { margin-top: 44px; display: grid; gap: 14px; max-width: 820px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  padding: 20px 22px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-q .ic { transition: transform 0.25s; color: var(--accent); flex: none; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--muted);
}
.faq-a p { padding: 0 22px 20px; }

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding-block: 44px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 40ch; }
.footer-contacts { display: grid; gap: 10px; }
.footer-contacts a { display: inline-flex; gap: 10px; align-items: center; color: var(--text); font-weight: 500; }
.footer-contacts a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .gallery-grid, .calc-grid, .cta-wrap { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: repeat(3, 1fr); }

  .hero-copy { order: -1; }
  .gallery-stage { order: -1; }

  .float-tag { position: static; margin: 8px 8px 0 0; display: inline-flex; animation: none; }
  .hero-card-row { margin-top: 14px; }
}

@media (max-width: 720px) {
  .nav-links, .nav-actions .btn-ghost { display: none; }
  .nav-toggle { display: grid; place-items: center; }

  .nav-actions .btn-primary { padding: 9px 16px; font-size: 13px; box-shadow: none; }
  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 18px;
    align-items: flex-start;
    z-index: 60;
  }

  .nav.open .nav-links .nav-links-cta { display: block; width: 100%; margin-top: 4px; }
  .focus-grid { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .req-grid { grid-template-columns: 1fr; }
  .brand-band { flex-direction: column; align-items: flex-start; gap: 0; }
  .brand-band-badge { width: 100%; height: auto; padding: 20px; flex-direction: row; margin-top: 4px; }
  .perk-highlight { flex-direction: column; align-items: flex-start; }
  .perk-highlight .perk-amount { font-size: 36px; }
  .spec-list { grid-template-columns: repeat(2, 1fr); }

  .hero-card-row { flex-direction: column; align-items: stretch; }
  .section-sub { font-size: 16px; }
}

@media (max-width: 460px) {
  .container { padding-inline: 16px; }

  .nav-actions .btn-primary { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .gallery-thumbs { grid-template-columns: repeat(4, 1fr); }
  .spec-list { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .brand-name { font-size: 18px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link-btn:hover { color: var(--text); }

.footer-legal {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}
.footer-legal .dot { color: var(--muted); }
.footer-legal + .footer-bottom { margin-top: 18px; border-top: 0; padding-top: 0; }

body.modal-open { overflow: hidden; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 5, 8, 0.72);
  backdrop-filter: blur(3px);
  animation: modal-fade 0.2s ease;
}
.modal[hidden] { display: none; }
@keyframes modal-fade { from { opacity: 0; } to { opacity: 1; } }
.modal-dialog {
  position: relative;
  width: min(720px, 100%);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: modal-rise 0.25s ease;
}
@keyframes modal-rise { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 12px;
  border-bottom: 1px solid var(--border);
}
.modal-header h2 { font-family: var(--font-head); font-size: 22px; margin: 0; }
.modal-updated { color: var(--muted); font-size: 13px; margin-top: 6px; }
.modal-close {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.modal-body {
  padding: 20px 24px 28px;
  overflow-y: auto;
}
.modal-body p { color: var(--muted); line-height: 1.6; margin: 0 0 14px; }
.modal-body p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .modal-dialog { max-height: 92vh; }
  .modal-header h2 { font-size: 19px; }
}

.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 16px;
}
.error-inner { max-width: 520px; }
.error-code {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(72px, 18vw, 140px);
  line-height: 1;
  font-weight: 700;
  color: var(--accent);
  margin: 0;
}
.error-page h1 {
  font-size: clamp(22px, 5vw, 30px);
  margin: 8px 0 12px;
}
.error-page p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 24px;
}
