/* ============================================
   RANKER — Premium Fintech Terminal × Eco-Tech
   ============================================ */

:root {
  --abyss: #072B0F;
  --abyss-2: #0E381D;
  --abyss-3: #0A331A;
  --forest: #1C6B55;
  --forest-2: #1A523D;
  --mint: #16F88A;
  --mint-2: #14E07C;
  --mint-soft: rgba(22, 248, 138, 0.12);
  --white: #FFFFFF;
  --bg-light: #FFFFFF;
  --bg-alt: #F7FBF9;
  --border-light: #DCE8E1;
  --text-dark: #072B0F;
  --text-dark-muted: #4B6B5A;
  --text-light-muted: #7DA68F;
  --coral: #D9534F;
  --coral-soft: rgba(217, 83, 79, 0.12);

  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-card: 8px;
  --r-btn: 6px;

  --max-w: 1280px;
  --pad-x: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.05;
  text-wrap: balance;
}
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum" 1, "zero" 1; }
.container { max-width: var(--max-w); margin: 0 auto; padding-inline: var(--pad-x); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid var(--forest);
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(28, 107, 85, 0.08);
}
.eyebrow.light {
  color: var(--forest);
  background: rgba(28, 107, 85, 0.06);
  border-color: var(--border-light);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--mint);
  color: var(--abyss);
  box-shadow: 0 0 0 1px var(--mint) inset, 0 12px 32px -12px rgba(22, 248, 138, 0.55);
}
.btn-primary:hover { background: var(--mint-2); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1.5px solid var(--forest);
}
.btn-secondary:hover { border-color: var(--mint); color: var(--mint); }
.btn-secondary.dark { color: var(--text-dark); border-color: var(--forest); }
.btn-secondary.dark:hover { color: var(--forest); }
.btn-ghost {
  color: var(--text-dark);
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
}
.btn-ghost:hover { color: var(--forest); }
.btn-ghost .arrow { transition: transform .2s ease; }
.btn-ghost:hover .arrow { transform: translateX(4px); }
.btn-block { width: 100%; padding: 18px 22px; font-size: 16px; }

/* ============================================
   SECTION 1 — PRE-HEADER BAR
   ============================================ */
.trust-bar {
  background: var(--abyss);
  border-bottom: 1px solid var(--forest);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.trust-bar .strip {
  display: flex;
  gap: 28px;
  color: var(--mint);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.trust-bar .strip span { display: inline-flex; align-items: center; gap: 28px; }
.trust-bar .strip .sep { color: var(--forest); }

/* ============================================
   SECTION 2 — STICKY NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
}
.nav-row {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}
.logo-img-inv {
  filter: brightness(0) invert(1);
}
.footer-logo .logo-img { height: 38px; }
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0; margin: 0;
}
.nav-links a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  transition: color .2s;
}
.nav-links a:hover { color: var(--forest); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-phone {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
}

/* ============================================
   SECTION 3 — HERO (Light agency)
   ============================================ */
.hero {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7FBF9 100%);
  color: var(--text-dark);
  padding: clamp(48px, 6vw, 80px) 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg .hero-topo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0.6;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: clamp(520px, 70vh, 720px);
}
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; min-height: auto; }
}

.hero-h1 {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  margin: 24px 0 20px;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  max-width: 620px;
  text-wrap: balance;
}
@media (max-width: 1200px) {
  .hero-h1 span[style] { white-space: normal !important; }
}
.hero-sub {
  font-size: 17px;
  color: var(--text-dark-muted);
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--text-dark); font-weight: 600; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; margin-top: 36px; }

/* Dark filled button (matches the reference) */
.btn-dark {
  background: var(--abyss);
  color: var(--white);
  padding: 16px 28px;
}
.btn-dark:hover { background: #0A3D17; transform: translateY(-1px); }

/* Feature pills */
.feat-pills {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.feat-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 12px 22px 12px 14px;
  box-shadow: 0 10px 28px -16px rgba(7, 43, 15, 0.18);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.25;
  width: max-content;
  max-width: 100%;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feat-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -16px rgba(7, 43, 15, 0.25);
}
.feat-pill.pill-1 { margin-left: 0; }
.feat-pill.pill-2 { margin-left: clamp(40px, 8vw, 90px); }
.feat-pill.pill-3 { margin-left: clamp(12px, 3vw, 30px); }
@media (max-width: 700px) {
  .feat-pill { margin-left: 0 !important; }
}
.feat-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--abyss);
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(22, 248, 138, 0.18);
}

/* Hero visual side */
.hero-visual {
  position: relative;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 1000px) { .hero-visual { min-height: 480px; } }

.orb {
  position: absolute;
  inset: -5% -5% -5% 0;
  z-index: 0;
  pointer-events: none;
  animation: orbFloat 14s ease-in-out infinite;
}
.orb svg { width: 100%; height: 100%; display: block; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-1%, -2%) scale(1.025); }
}

.hero-photo {
  position: relative;
  z-index: 1;
  width: clamp(320px, 90%, 520px);
  height: clamp(420px, 60vh, 580px);
  background: transparent !important;
  border: 1.5px dashed rgba(28, 107, 85, 0.35);
  border-radius: 14px;
  --is-placeholder-color: var(--forest);
}
/* When image-slot has a file, drop the dashed border */
.hero-photo[data-has-image="true"],
.hero-photo[has-image] { border: none; }

/* Floating data badges */
.hero-badge {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 18px 40px -18px rgba(7, 43, 15, 0.22), 0 0 0 1px rgba(255,255,255,0.6) inset;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
}
.hero-badge .b-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--abyss);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hero-badge .b-k {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 3px;
  font-weight: 500;
}
.hero-badge .b-v {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1;
}
.hero-badge .b-v .up { color: var(--forest); }
.hero-badge .b-v .muted { color: var(--text-dark-muted); font-weight: 500; font-size: 12px; margin-left: 4px; }
.hero-badge.badge-top { top: 8%; left: -2%; }
.hero-badge.badge-bot { bottom: 8%; right: -4%; }
@media (max-width: 700px) {
  .hero-badge.badge-top { top: 0; left: 0; }
  .hero-badge.badge-bot { bottom: 0; right: 0; }
}

/* Terminal dashboard */
.terminal {
  background: linear-gradient(180deg, var(--abyss-2) 0%, #0A2E18 100%);
  border: 1px solid var(--forest-2);
  border-radius: 12px;
  padding: 22px;
  box-shadow:
    0 30px 60px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(22, 248, 138, 0.08),
    0 0 60px -20px rgba(22, 248, 138, 0.25);
  position: relative;
  overflow: hidden;
}
.terminal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 248, 138, 0.4), transparent);
}
.terminal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.terminal-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mint);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.terminal-dots { display: inline-flex; gap: 6px; }
.terminal-dots i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--forest-2);
}
.terminal-dots i.live { background: var(--mint); box-shadow: 0 0 8px var(--mint); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chart-wrap {
  position: relative;
  height: 220px;
  margin: 8px -6px 18px;
}
.chart-wrap svg { width: 100%; height: 100%; display: block; }
.chart-grid line {
  stroke: var(--forest-2);
  stroke-width: 1;
  stroke-dasharray: 2 4;
  opacity: 0.6;
}
.chart-axis text {
  fill: var(--text-light-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}

.terminal-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--forest-2);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 8px;
}
.metric-cell {
  background: rgba(7, 43, 15, 0.6);
  padding: 14px 14px 12px;
}
.metric-cell .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  color: var(--white);
}
.metric-cell .v.up { color: var(--mint); }
.metric-cell .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 6px;
}

/* Floating mini cards */
.float-card {
  position: absolute;
  background: rgba(14, 56, 29, 0.95);
  border: 1px solid var(--forest-2);
  border-radius: 8px;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--white);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -8px rgba(0,0,0,0.5);
  z-index: 2;
}
.float-card .k { color: var(--text-light-muted); display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.float-card .v { color: var(--mint); font-weight: 700; font-size: 16px; }
.float-card.top-right { top: -16px; right: -8px; transform: rotate(2deg); }
.float-card.bot-left { bottom: -18px; left: -16px; transform: rotate(-2deg); }
@media (max-width: 600px) {
  .float-card { display: none; }
}

/* ============================================
   SECTION 4 — STATS BAR
   ============================================ */
.stats {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  text-align: left;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr 1fr; } }
.stat .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(40px, 4vw, 56px);
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat .v.mint { color: var(--mint); text-shadow: 0 0 24px rgba(22, 248, 138, 0.25); }
.stat .l {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-dark-muted);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

/* ============================================
   Section common
   ============================================ */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--abyss); color: var(--white); position: relative; overflow: hidden; }
.section.dark .section-head h2 { color: var(--white); }
.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 16px;
  letter-spacing: -0.025em;
}
.section-head .sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-dark-muted);
  max-width: 640px;
  line-height: 1.55;
}
.section.dark .section-head .sub { color: var(--text-light-muted); }

.section.dark::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='600' height='600'><g fill='none' stroke='%231C6B55' stroke-width='1' opacity='0.18'><path d='M-50 200 Q150 120 300 200 T650 180'/><path d='M-50 320 Q150 240 300 320 T650 300'/><path d='M-50 440 Q150 360 300 440 T650 420'/></g></svg>");
  background-size: 600px 600px;
  opacity: 0.5;
  pointer-events: none;
}
.section.dark > .container { position: relative; z-index: 1; }

/* ============================================
   SECTION 5 — CASE STUDIES
   ============================================ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: 1fr; } }
.case-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(7, 43, 15, 0.25);
}
.case-top {
  background: var(--abyss);
  color: var(--white);
  padding: 28px 28px 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.case-top::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='400' height='200'><g fill='none' stroke='%231C6B55' stroke-width='1' opacity='0.5'><path d='M0 100 Q100 60 200 100 T400 80'/><path d='M0 140 Q100 100 200 140 T400 120'/><path d='M0 60 Q100 20 200 60 T400 40'/></g></svg>");
  background-size: cover;
  opacity: 0.5;
  z-index: -1;
}
.case-top .niche {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 10px;
}
.case-top h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
}
.case-top .domain {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-light-muted);
}
.case-spark {
  height: 56px;
  margin-top: 14px;
  position: relative;
}
.case-spark svg { width: 100%; height: 100%; display: block; }

.case-body { padding: 0; }
.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-light);
}
.case-metric {
  background: var(--abyss-2);
  padding: 18px 16px 16px;
}
.case-metric .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 24px;
  color: var(--mint);
  line-height: 1;
}
.case-metric .l {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}
.case-foot {
  padding: 20px 28px 24px;
  font-size: 14px;
  color: var(--text-dark-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.case-foot a { color: var(--forest); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.case-foot a:hover { color: var(--mint); }

/* ============================================
   SECTION 6 — SEO vs PPC
   ============================================ */
.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}
@media (max-width: 900px) { .vs-grid { grid-template-columns: 1fr; } }
.vs-card {
  background: var(--abyss-2);
  border: 1px solid var(--forest-2);
  border-radius: 12px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.vs-card.bad { border-top: 3px solid var(--coral); }
.vs-card.good {
  border-top: 3px solid var(--mint);
  box-shadow: 0 0 0 1px rgba(22, 248, 138, 0.2), 0 30px 80px -30px rgba(22, 248, 138, 0.4);
}
.vs-card.good::before {
  content: "";
  position: absolute; top: -100px; right: -100px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 248, 138, 0.12), transparent 70%);
  z-index: -1;
}
.vs-badge {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--mint);
  color: var(--abyss);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
}
.vs-card h3 {
  font-size: 24px;
  margin-bottom: 6px;
  color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.vs-card h3 .icon {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
}
.vs-card.bad h3 .icon { background: rgba(217, 83, 79, 0.15); color: var(--coral); }
.vs-card.good h3 .icon { background: rgba(22, 248, 138, 0.15); color: var(--mint); }
.vs-card .tagline {
  color: var(--text-light-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.vs-rows {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}
.vs-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--forest-2);
  font-size: 14px;
  color: var(--text-light-muted);
}
.vs-row:last-child { border-bottom: none; }
.vs-row .v {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
}
.vs-card.bad .vs-row .v { color: var(--coral); }
.vs-card.good .vs-row .v { color: var(--mint); }
.vs-verdict {
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--forest-2);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
}
.vs-verdict .l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light-muted);
}
.vs-verdict .v {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
}
.vs-card.bad .vs-verdict .v { color: var(--coral); }
.vs-card.good .vs-verdict .v { color: var(--mint); }

.vs-chart {
  background: var(--abyss-2);
  border: 1px solid var(--forest-2);
  border-radius: 12px;
  padding: 32px;
}
.vs-chart-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 24px;
  gap: 24px; flex-wrap: wrap;
}
.vs-chart-head h4 {
  font-size: 20px; color: var(--white);
  margin-bottom: 6px;
}
.vs-chart-head .sub {
  font-size: 13px; color: var(--text-light-muted);
}
.vs-legend { display: flex; gap: 18px; font-family: var(--font-mono); font-size: 12px; }
.vs-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--text-light-muted); }
.vs-legend i { width: 12px; height: 2px; border-radius: 2px; }
.vs-legend .l-mint { background: var(--mint); box-shadow: 0 0 6px var(--mint); }
.vs-legend .l-coral { background: var(--coral); }
.vs-chart-svg { height: 280px; }
.vs-chart-svg svg { width: 100%; height: 100%; }

/* ============================================
   SECTION 7 — SCENARIOS
   ============================================ */
.scenarios {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) { .scenarios { grid-template-columns: 1fr; } }
.scenario {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}
.scenario.featured {
  border: 2px solid var(--mint);
  box-shadow: 0 30px 80px -30px rgba(22, 248, 138, 0.35);
}
.scenario .badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.scenario .badge.gray { background: var(--bg-alt); color: var(--text-dark-muted); }
.scenario .badge.mint { background: var(--mint-soft); color: var(--forest); }
.scenario h3 { font-size: 22px; margin-bottom: 10px; }
.scenario .desc { color: var(--text-dark-muted); margin-bottom: 24px; font-size: 15px; }
.scenario-stack {
  display: grid;
  gap: 12px;
}
.scenario-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border-light);
}
.scenario.featured .scenario-step { background: rgba(22, 248, 138, 0.04); border-color: rgba(22, 248, 138, 0.25); }
.scenario-step .n {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--abyss); color: var(--mint);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700;
}
.scenario-step .t { font-weight: 500; font-size: 14px; color: var(--text-dark); }
.scenario-step .time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dark-muted);
  text-transform: uppercase;
}
.scenario-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px dashed var(--border-light);
}
.scenario-total .l { font-size: 13px; color: var(--text-dark-muted); text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
.scenario-total .v { font-family: var(--font-mono); font-weight: 700; font-size: 22px; color: var(--text-dark); }
.scenario.featured .scenario-total .v { color: var(--forest); }

/* ============================================
   SECTION 8 — PRICING
   ============================================ */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; } }
.price-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card.featured {
  border-top: 3px solid var(--mint);
  box-shadow: 0 30px 80px -30px rgba(22, 248, 138, 0.35), 0 0 0 1px rgba(22, 248, 138, 0.15);
  transform: translateY(-8px);
}
.price-tag {
  position: absolute; top: -14px; right: 24px;
  background: var(--mint); color: var(--abyss);
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 100px;
}
.price-card h3 { font-size: 22px; margin-bottom: 6px; }
.price-card .tier-desc { color: var(--text-dark-muted); font-size: 14px; margin-bottom: 24px; }
.price-amount {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 42px;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  line-height: 1;
  display: flex; align-items: baseline; gap: 8px;
}
.price-amount .per {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text-dark-muted);
}
.price-card .from {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin: 16px 0 8px;
}
.price-features {
  list-style: none; padding: 0; margin: 24px 0 32px;
  display: grid; gap: 10px;
}
.price-features li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  font-size: 14px; color: var(--text-dark);
}
.price-features li .check {
  color: var(--mint); flex-shrink: 0; margin-top: 2px;
}
.price-card .btn { margin-top: auto; }

/* ============================================
   SECTION 9 — WHY CHEAPER IS EXPENSIVE
   ============================================ */
.editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .editorial-grid { grid-template-columns: 1fr; } }
.editorial-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 4px solid var(--forest);
  border-radius: 8px;
  padding: 28px;
}
.editorial-card .n {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--forest);
  margin-bottom: 12px;
}
.editorial-card h4 { font-size: 20px; margin-bottom: 12px; }
.editorial-card p { color: var(--text-dark-muted); font-size: 14px; }
.editorial-card .stat {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--forest);
}
.editorial-card .stat strong { font-weight: 700; color: var(--text-dark); }

/* ============================================
   SECTION 11 — STAGES / TIMELINE
   ============================================ */
.timeline {
  position: relative;
  display: grid;
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 12px; bottom: 12px;
  border-left: 2px dashed var(--mint);
  opacity: 0.5;
}
.stage {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: start;
  position: relative;
}
.stage-node {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--forest);
  border: 2px solid var(--mint);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700;
  font-size: 16px;
  color: var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--abyss), 0 0 24px rgba(22, 248, 138, 0.4);
}
.stage-content {
  background: var(--abyss-2);
  border: 1px solid var(--forest-2);
  border-radius: 8px;
  padding: 20px 24px;
}
.stage-content .ttl {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  margin-bottom: 6px;
}
.stage-content h4 { color: var(--white); font-size: 18px; }
.stage-content .dur {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--mint);
}
.stage-content p { font-size: 14px; color: var(--text-light-muted); }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 28px;
  display: flex; flex-direction: column;
}
.testimonial blockquote {
  margin: 0 0 24px;
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.55;
  flex: 1;
}
.testimonial blockquote::before {
  content: "“";
  display: block;
  font-family: var(--font-head);
  font-size: 48px;
  line-height: 0.6;
  color: var(--mint);
  margin-bottom: 12px;
}
.t-author {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px; border-top: 1px solid var(--border-light);
}
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--abyss));
  color: var(--mint);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: 700; font-size: 14px;
}
.t-name { font-weight: 600; font-size: 14px; }
.t-role { font-size: 12px; color: var(--text-dark-muted); }
.t-result {
  margin-top: 14px;
  display: inline-flex; gap: 6px; align-items: center;
  font-family: var(--font-mono); font-size: 12px;
  color: var(--forest);
}

/* ============================================
   SECTION 14 — URGENCY
   ============================================ */
.urgency {
  background: var(--abyss);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 120px) 0;
  isolation: isolate;
}
.urgency::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='600' viewBox='0 0 1200 600'><defs><linearGradient id='g' x1='0%25' y1='100%25' x2='100%25' y2='0%25'><stop offset='0%25' stop-color='%2316F88A' stop-opacity='0'/><stop offset='100%25' stop-color='%2316F88A' stop-opacity='0.5'/></linearGradient></defs><path d='M0 580 C200 560 350 540 500 480 S800 280 1200 60' stroke='url(%23g)' stroke-width='3' fill='none' opacity='0.7'/><path d='M0 580 C200 560 350 540 500 480 S800 280 1200 60 L1200 600 L0 600 Z' fill='url(%23g)' opacity='0.18'/></svg>");
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.urgency .container { text-align: center; max-width: 880px; }
.urgency h2 {
  color: var(--white);
  font-size: clamp(40px, 5.5vw, 64px);
  margin: 24px 0 16px;
  letter-spacing: -0.025em;
}
.urgency h2 .accent { color: var(--mint); display: block; }
.urgency p { color: var(--text-light-muted); font-size: 18px; max-width: 640px; margin: 0 auto 36px; }
.urgency-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.urgency-meter {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--forest-2);
  border: 1px solid var(--forest-2);
  border-radius: 12px;
  overflow: hidden;
  max-width: 720px;
  margin-left: auto; margin-right: auto;
}
.urgency-meter .cell {
  background: var(--abyss-2);
  padding: 22px 18px;
  text-align: left;
}
.urgency-meter .v {
  font-family: var(--font-mono); font-weight: 700; font-size: 28px;
  color: var(--mint); line-height: 1;
}
.urgency-meter .l {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-light-muted); margin-top: 8px;
}

/* ============================================
   GUARANTEES
   ============================================ */
.guarantees {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .guarantees { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .guarantees { grid-template-columns: 1fr; } }
.guarantee {
  background: var(--abyss-2);
  border: 1px solid var(--forest-2);
  border-top: 2px solid var(--mint);
  border-radius: 8px;
  padding: 24px;
}
.guarantee .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(22, 248, 138, 0.12);
  color: var(--mint);
  display: grid; place-items: center;
  margin-bottom: 14px;
}
.guarantee h4 { color: var(--white); font-size: 16px; margin-bottom: 8px; }
.guarantee p { color: var(--text-light-muted); font-size: 13px; line-height: 1.5; }

/* ============================================
   FAQ
   ============================================ */
.faq {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  color: var(--text-dark);
}
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--forest);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 18px; font-weight: 500;
  flex-shrink: 0;
  transition: transform .25s ease, background .2s ease;
}
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--mint); color: var(--abyss); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  color: var(--text-dark-muted);
  font-size: 15px;
  line-height: 1.6;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner { padding: 0 24px 22px; }

/* ============================================
   SECTION 20 — LEAD FORM
   ============================================ */
.lead {
  background: var(--abyss);
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.lead::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><g fill='none' stroke='%231C6B55' stroke-width='1' opacity='0.22'><circle cx='400' cy='400' r='100'/><circle cx='400' cy='400' r='180'/><circle cx='400' cy='400' r='260'/><circle cx='400' cy='400' r='340'/></g></svg>");
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-copy h2 { color: var(--white); font-size: clamp(32px, 4vw, 44px); margin: 16px 0 16px; }
.lead-copy p { color: var(--text-light-muted); font-size: 17px; margin-bottom: 28px; max-width: 480px; }
.lead-checks {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 12px;
}
.lead-checks li {
  display: grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: center;
  color: var(--white); font-size: 15px;
}
.lead-checks .check {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(22, 248, 138, 0.15);
  color: var(--mint);
  display: grid; place-items: center;
}

.lead-form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 36px;
  box-shadow: 0 40px 100px -20px rgba(0,0,0,0.4);
  position: relative;
}
.lead-form-card .form-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--forest);
  margin-bottom: 8px;
  display: inline-flex; align-items: center; gap: 8px;
}
.lead-form-card .form-eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}
.lead-form-card h3 { font-size: 24px; margin-bottom: 4px; }
.lead-form-card .form-sub { color: var(--text-dark-muted); font-size: 14px; margin-bottom: 24px; }
.form-grid {
  display: grid;
  gap: 14px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-dark);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(22, 248, 138, 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }
.budget-pills {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.budget-pill {
  padding: 8px 14px;
  border: 1px solid var(--border-light);
  border-radius: 100px;
  font-size: 13px;
  font-family: var(--font-mono);
  color: var(--text-dark-muted);
  background: var(--white);
  transition: all .15s;
}
.budget-pill:hover { border-color: var(--forest); color: var(--text-dark); }
.budget-pill.active {
  background: var(--abyss); color: var(--mint); border-color: var(--abyss);
}
.consent {
  font-size: 12px;
  color: var(--text-dark-muted);
  line-height: 1.5;
}
.consent a { color: var(--forest); text-decoration: underline; }

.form-success {
  display: none;
  text-align: center;
  padding: 24px 0;
}
.form-success.show { display: block; }
.form-success .icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(22, 248, 138, 0.15);
  color: var(--mint);
  display: grid; place-items: center;
  margin: 0 auto 18px;
}
.form-success h3 { color: var(--text-dark); margin-bottom: 8px; }
.form-success p { color: var(--text-dark-muted); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--abyss);
  color: var(--white);
  border-top: 1px solid var(--forest);
  padding: 72px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer .logo-word { color: var(--white); }
.footer-tagline {
  color: var(--text-light-muted);
  font-size: 14px;
  margin: 16px 0 24px;
  max-width: 320px;
  line-height: 1.55;
}
.footer-col h5, .footer-col .footer-h {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mint);
  margin: 0 0 16px;
  font-weight: 600;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col li a {
  color: var(--text-light-muted);
  font-size: 14px;
  transition: color .2s;
}
.footer-col li a:hover { color: var(--mint); }
.footer-bottom {
  border-top: 1px solid var(--forest-2);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; flex-wrap: wrap;
  color: var(--text-light-muted);
  font-size: 13px;
}
.footer-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-meta .mono { color: var(--text-light-muted); }

/* misc helpers */
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
@media (max-width: 900px) { .split-row { grid-template-columns: 1fr; } }

.section-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}
.section.dark .section-tag { color: var(--mint); }
.section-tag .n {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--abyss);
  color: var(--mint);
  font-weight: 700;
}
.section.dark .section-tag .n {
  background: var(--mint); color: var(--abyss);
}


/* ============================================================
   ДОПОЛНЕНИЯ: мобильное меню, крошки, форма, шаблон посадочных
   ============================================================ */

/* --- Бургер и мобильное меню --- */
.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-btn);
  background: var(--white);
  cursor: pointer;
  padding: 0;
  place-items: center;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-dark);
  box-shadow: 0 -6px 0 var(--text-dark), 0 6px 0 var(--text-dark);
}

@media (max-width: 960px) {
  .nav-burger { display: grid; }
  .nav-row { gap: 12px; }
  .nav-right { display: flex; align-items: center; gap: 10px; }
  .nav-right .btn { display: none; }
  .nav-phone {
    display: inline-block;
    font-size: 13px;
    white-space: nowrap;
    color: var(--text-dark);
    font-family: var(--font-mono);
  }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 72px;
    flex-direction: column;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 20px 40px -28px rgba(7, 43, 15, 0.4);
    padding: 8px var(--pad-x) 16px;
    margin: 0;
    list-style: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
  }
  .nav-links li:last-child a { border-bottom: none; }
}
@media (max-width: 480px) {
  .nav-phone { display: none; }
}

/* --- Хлебные крошки --- */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 13px;
  color: var(--text-dark-muted);
}
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  list-style: none; margin: 0; padding: 0;
}
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--border-light); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--text-dark-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text-dark); }

/* --- Согласие на обработку данных + ошибка формы --- */
.consent-row {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12px; line-height: 1.5;
  color: var(--text-dark-muted);
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
}
.consent-row input[type="checkbox"] {
  flex: none;
  width: 18px; height: 18px;
  margin-top: 1px;
  accent-color: var(--forest);
  cursor: pointer;
}
.consent-row label { cursor: pointer; }
.consent-row a { color: var(--forest); text-decoration: underline; }
.consent-row.consent-error {
  border-color: var(--coral);
  background: var(--coral-soft);
}
.form-error {
  min-height: 0;
  font-size: 13px;
  color: var(--coral);
  font-weight: 500;
}
.form-error:not(:empty) { padding-top: 4px; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* --- Компактный герой внутренних страниц --- */
.hero.hero-inner { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 6vw, 72px); }
.hero-inner .hero-grid { grid-template-columns: 1fr; gap: 28px; }
.hero-inner .hero-h1 { max-width: 18ch; }
.hero-inner .hero-sub { max-width: 62ch; }
.hero-inner-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--border-light);
}
.hero-inner-stats .v {
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--forest);
}
.hero-inner-stats .l { font-size: 13px; color: var(--text-dark-muted); margin-top: 4px; }

/* --- Текстовые блоки посадочных --- */
.prose { max-width: 74ch; }
.prose p { margin: 0 0 18px; line-height: 1.7; color: var(--text-dark-muted); }
.prose p strong { color: var(--text-dark); }
.prose h3 {
  font-family: var(--font-head);
  font-size: clamp(19px, 2vw, 24px);
  margin: 34px 0 12px;
  color: var(--text-dark);
}
.prose ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.prose ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.65;
  color: var(--text-dark-muted);
}
.prose ul li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-soft);
}
.section.dark .prose p,
.section.dark .prose ul li { color: var(--text-light-muted); }
.section.dark .prose h3,
.section.dark .prose p strong { color: var(--white); }

/* --- Таблицы (тарифы, план-график) --- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-light);
  border-radius: var(--r-card);
}
.section.dark .table-wrap { border-color: var(--forest-2); }
.data-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 14px;
}
.data-table th,
.data-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
.data-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dark-muted);
  background: var(--bg-alt);
  white-space: nowrap;
}
.data-table tbody th {
  font-weight: 500;
  color: var(--text-dark);
}
.data-table td { color: var(--text-dark-muted); font-family: var(--font-mono); }
.data-table tr:last-child th,
.data-table tr:last-child td { border-bottom: none; }
.data-table .hl { color: var(--forest); font-weight: 700; }
.section.dark .data-table th,
.section.dark .data-table td { border-color: var(--forest-2); }
.section.dark .data-table thead th { background: var(--abyss-2); color: var(--text-light-muted); }
.section.dark .data-table tbody th { color: var(--white); }
.section.dark .data-table td { color: var(--text-light-muted); }
.section.dark .data-table .hl { color: var(--mint); }

/* --- Сетка «смыслов» / аргументов --- */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.proof-card {
  border: 1px solid var(--border-light);
  border-radius: var(--r-card);
  padding: 26px;
  background: var(--white);
}
.section.dark .proof-card { background: var(--abyss-2); border-color: var(--forest-2); }
.proof-card .n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}
.section.dark .proof-card .n { color: var(--mint); }
.proof-card h4 {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.35;
  margin: 0 0 10px;
  color: var(--text-dark);
}
.section.dark .proof-card h4 { color: var(--white); }
.proof-card p { margin: 0 0 14px; font-size: 14px; line-height: 1.65; color: var(--text-dark-muted); }
.section.dark .proof-card p { color: var(--text-light-muted); }
.proof-card .fact {
  font-family: var(--font-mono);
  font-size: 13px;
  padding-top: 12px;
  border-top: 1px dashed var(--border-light);
  color: var(--forest);
}
.section.dark .proof-card .fact { color: var(--mint); border-color: var(--forest-2); }

/* --- Перелинковка на соседние услуги --- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}
.related-card {
  display: block;
  padding: 20px 22px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-card);
  text-decoration: none;
  background: var(--white);
  transition: border-color .18s ease, transform .18s ease;
}
.related-card:hover { border-color: var(--forest); transform: translateY(-2px); }
.related-card .t {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.related-card .d { font-size: 13px; line-height: 1.55; color: var(--text-dark-muted); }
.related-card .go { margin-top: 12px; font-size: 13px; color: var(--forest); font-weight: 600; }

/* --- Юридическая страница --- */
.legal { padding-block: clamp(36px, 5vw, 64px); }
.legal .prose { max-width: 82ch; }
.legal .prose h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.2vw, 26px);
  margin: 40px 0 14px;
  color: var(--text-dark);
}
.legal .prose ol { padding-left: 20px; margin: 0 0 20px; }
.legal .prose ol li { margin-bottom: 10px; line-height: 1.65; color: var(--text-dark-muted); }
.legal .updated {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-dark-muted);
  margin-bottom: 28px;
}

/* --- Страница 404 --- */
.err-page { padding-block: clamp(60px, 9vw, 130px); text-align: center; }
.err-page .code {
  font-family: var(--font-mono);
  font-size: clamp(64px, 12vw, 132px);
  font-weight: 700;
  line-height: 1;
  color: var(--forest);
}
.err-page h1 { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); margin: 18px 0 12px; }
.err-page p { color: var(--text-dark-muted); max-width: 52ch; margin: 0 auto 28px; line-height: 1.65; }
.err-page .err-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* --- Плашка альянса в футере --- */
.footer-alliance {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--forest-2);
  font-size: 13px;
  color: var(--text-light-muted);
}
.footer-alliance a { color: var(--mint); text-decoration: none; }
.footer-alliance a:hover { text-decoration: underline; }

/* =========================================================================
   Правки после аудита адаптива, 4 августа 2026
   ========================================================================= */

/* 1. Горизонтальный скролл на мобильных.
   Причина первая: <select> в форме заявки не сжимался ниже ширины самого
   длинного пункта списка (303px) и распирал карточку формы до 359px. */
.lead-form-card select,
.lead-form-card input,
.lead-form-card textarea { max-width: 100%; min-width: 0; }
.lead-grid > *,
.form-grid, .field, .field-row { min-width: 0; }

/* Причина вторая: у подвала было правило на две колонки до 900px,
   но одноколоночного для узких экранов не было — колонка «Услуги»
   уезжала за правый край. */
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}

/* Страховка от будущих переполнений декоративной графикой */
.hero-bg, .trust-bar { overflow: hidden; }
.hero-topo { max-width: 100%; }

/* 2. Размеры целей нажатия на мобильных.
   Ссылки в подвале и меню имели высоту 17px — попасть пальцем тяжело. */
@media (max-width: 900px) {
  .footer-col ul a,
  .footer-col ul li > span { display: inline-block; padding: 7px 0; min-height: 24px; }
  .breadcrumbs a,
  .breadcrumbs span { display: inline-block; padding: 6px 0; }
  .budget-pill { min-height: 44px; }
  .consent-row label a { display: inline; }
}

/* Чекбокс согласия был 18x18 — ниже комфортного минимума */
.consent-row input[type="checkbox"] {
  width: 22px; height: 22px;
  min-width: 22px;
  cursor: pointer;
}
.consent-row label { cursor: pointer; }

/* Колонки сетки формы должны уметь сжиматься: по умолчанию трек грида
   растягивается под min-content самого широкого элемента (это был <select>),
   и карточка формы вылезала за свои границы на узких экранах. */
.form-grid { grid-template-columns: minmax(0, 1fr); }
.field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }


/* ============================================
   07.09.2026 — блоки по анализу конкурентов: график в кейсе, основатель, сетка ссылок
   ============================================ */
.case-img { display: block; width: 100%; height: auto; margin-top: 14px; border-radius: 8px; }
.founder {
  display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 32px; align-items: start;
  background: var(--abyss-2); border: 1px solid var(--forest-2); border-radius: 12px; padding: 36px;
}
@media (max-width: 700px) { .founder { grid-template-columns: 1fr; gap: 20px; padding: 24px; } }
.founder-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--abyss)); border: 2px solid var(--mint);
  color: var(--mint); display: grid; place-items: center; font-size: 36px; font-weight: 700;
}
.founder-name { color: var(--white); font-size: 26px; margin: 0 0 6px; }
.founder-role { color: var(--mint); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.founder p { color: var(--text-light-muted); line-height: 1.7; margin: 0 0 16px; }
.founder h4 { color: var(--white); font-size: 18px; margin: 22px 0 10px; }
.founder a { color: var(--mint); }
.founder-facts { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; }
@media (max-width: 540px) { .founder-facts { grid-template-columns: 1fr; } }
.founder-facts li { color: var(--text-light-muted); font-size: 14px; padding-left: 18px; position: relative; }
.founder-facts li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.founder-facts strong { color: var(--white); }
.link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .link-grid { grid-template-columns: 1fr; } }
.link-card { display: block; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease; }
.link-card:hover { transform: translateY(-3px); border-left-color: var(--mint); }
.link-card h4 { color: var(--text-dark); }
.section.dark .prose a, .guarantees + .prose a { color: var(--mint); }
.prose a { color: var(--forest); font-weight: 600; }

/* ============================================
   08.09.2026 — инфографика и калькуляторы
   ============================================ */
.info-fig { margin: 32px 0 0; }
.info-fig img { width: 100%; height: auto; display: block; border-radius: 12px; border: 1px solid var(--border-light); }
.section.dark .info-fig img { border-color: var(--forest-2); }
.info-fig figcaption { margin-top: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--text-dark-muted); }
.section.dark .info-fig figcaption { color: var(--text-light-muted); }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; background: var(--white); border: 1px solid var(--border-light); border-radius: 14px; padding: 32px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; padding: 22px; } }
.calc-form .field { margin-bottom: 18px; }
.calc-form .field label { display: block; font-weight: 600; margin-bottom: 8px; }
.calc-range { width: 100%; accent-color: var(--forest); }
.calc-check { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-dark-muted); cursor: pointer; }
.calc-check input { width: 20px; height: 20px; accent-color: var(--forest); }
.calc-result { background: var(--abyss); color: var(--white); border-radius: 12px; padding: 26px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--forest-2); }
.calc-row strong { font-family: var(--font-mono); font-size: 24px; color: var(--mint); }
.calc-kpi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.calc-kpi .v { font-size: 26px; font-weight: 700; color: var(--mint); }
.calc-kpi .l { font-size: 11px; color: var(--text-light-muted); margin-top: 4px; line-height: 1.3; }
.calc-note { font-size: 13px; color: var(--text-light-muted); margin: 0 0 18px; }
.calc-result .btn { width: 100%; text-align: center; }
