/* boostavt — дизайн-система */
:root {
  --brand-purple: #8d50ec;
  --brand-green:  #00d762;
  --brand-red:    #fe3547;
  --brand-blue:   #00aaf7;

  /* Light theme */
  --bg:      #f6f5f0;
  --bg2:     #ffffff;
  --bg3:     #ecebe3;
  --line:    rgba(11,11,12,0.10);
  --line2:   rgba(11,11,12,0.18);
  --muted:   #5b5b62;
  --ink:     #0b0b0c;
  --accent:  #8d50ec;
  --accent-ink: #ffffff;

  --font-display: "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-serif:   "Playfair Display", Georgia, serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { font-family: var(--font-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: var(--bg); color: var(--ink); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
input, textarea, select { font-family: inherit; color: inherit; }

.tnum { font-variant-numeric: tabular-nums; }

/* ─── Layout ─────────────────────────────────────────────────── */
.site { width: 100%; max-width: 1440px; margin: 0 auto; }

.section        { padding: 64px 80px; border-top: 1px solid var(--line); }
.section-tight  { padding: 64px 80px; border-top: 1px solid var(--line); }
.cta-section    { padding: 64px 80px; background: var(--bg2); border-top: 1px solid var(--line); }
#cases.section  { padding-bottom: 24px; }

.row   { display: flex; }
.col   { display: flex; flex-direction: column; }
.gap-8{gap:8px} .gap-12{gap:12px} .gap-16{gap:16px} .gap-20{gap:20px}
.gap-24{gap:24px} .gap-32{gap:32px} .gap-40{gap:40px} .gap-64{gap:64px}

/* ─── Typography ─────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent); display: block; }

.h1       { font-family: var(--font-serif); font-weight: 500; font-size: 96px; line-height: 0.96; letter-spacing: -0.03em; }
.h2       { font-family: var(--font-serif); font-weight: 500; font-size: 64px; line-height: 1.04; letter-spacing: -0.018em; }
.h2-serif { font-family: var(--font-serif); font-weight: 500; font-size: 60px; line-height: 1.04; letter-spacing: -0.02em; }
.h3       { font-size: 24px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 600; }
.body-l   { font-size: 18px; line-height: 1.55; color: var(--muted); }
.body     { font-size: 16px; line-height: 1.6;  color: var(--muted); }

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 26px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .15s ease, background .2s ease, filter .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(0.93); }
.btn-ghost { border: 1px solid var(--line2); color: var(--ink); }
.btn-cta   { background: #1f8a5b; color: #fff; }
.btn-cta:hover { filter: brightness(0.93); }
.btn-tg    { background: #229ED9; color: #fff; display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 18px 26px; font-weight: 600; font-size: 15px; }
.btn-tg:hover { filter: brightness(0.93); }
.btn-free  { background: #fff; color: #1f8a5b; display: inline-flex; align-items: center; gap: 10px; border-radius: 999px; padding: 18px 26px; font-weight: 600; font-size: 15px; align-self: flex-start; margin-top: 6px; }
.btn-free:hover { background: #f1f1f1; }
.btn-arrow { width: 16px; height: 16px; }

/* ─── Nav ────────────────────────────────────────────────────── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 80px; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100; background: var(--bg);
}
.nav-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: -0.02em; font-size: 20px; }
.nav-brand-mark { width: 36px; height: 36px; border-radius: 8px; display: block; object-fit: cover; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { font-size: 14px; padding: 12px 18px; }
.nav-vk { display: flex; align-items: center; flex-shrink: 0; opacity: .9; transition: opacity .15s, transform .15s; }
.nav-vk:hover { opacity: 1; transform: scale(1.08); }
.nav-burger { display: none; width: 40px; height: 40px; place-items: center; background: transparent; border: 1px solid var(--line2); border-radius: 10px; cursor: pointer; }
.nav-drawer {
  display: none; flex-direction: column; gap: 0;
  padding: 0 20px 24px; border-bottom: 1px solid var(--line);
  background: var(--bg); position: sticky; top: 65px; z-index: 99;
}
.nav-drawer.is-open { display: flex; }
.nav-drawer a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
.nav-drawer a.btn { margin-top: 12px; border-bottom: 0; justify-content: center; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero { padding: 48px 80px 0; position: relative; overflow: hidden; }
.hero-bg-image {
  position: absolute; top: 0; right: 120px; bottom: 0; width: 55%;
  pointer-events: none; z-index: 0;
  background-image: url('../images/hero.png');
  background-repeat: no-repeat; background-position: right center; background-size: contain;
}
.hero > *:not(.hero-bg-image) { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 0.7fr; gap: 40px; align-items: flex-end; }
.hero-meta {
  background: rgba(255,255,255,0.7); border: 1px solid var(--line);
  backdrop-filter: blur(8px); padding: 20px 24px; border-radius: 12px;
  display: flex; flex-direction: row; gap: 40px; align-items: center;
  margin-left: -120px;
}
.hero-meta-row { display: flex; flex-direction: column; gap: 6px; }
.hero-stat-num { font-family: var(--font-serif); font-weight: 500; font-size: 36px; letter-spacing: -0.02em; }
.hero-stat-label { font-size: 13px; color: var(--muted); }

/* ─── Niches strip ───────────────────────────────────────────── */
.niches-strip {
  display: flex; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.niches-track { display: flex; width: max-content; animation: niches-marquee 40s linear infinite; }
.niches-strip:hover .niches-track { animation-play-state: paused; }
@keyframes niches-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.niche-chip {
  padding: 14px 24px; font-size: 14px; color: var(--muted); border-right: 1px solid var(--line);
  font-family: var(--font-mono); letter-spacing: 0.02em;
  display: flex; align-items: center; gap: 10px; white-space: nowrap; flex: 0 0 auto;
}
.niche-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-purple); }
.niche-chip:nth-child(4n+2)::before { background: var(--brand-green); }
.niche-chip:nth-child(4n+3)::before { background: var(--brand-red); }
.niche-chip:nth-child(4n+4)::before { background: var(--brand-blue); }

/* ─── Section head ───────────────────────────────────────────── */
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: flex-end; margin-bottom: 40px; }
.section-head-r { color: var(--muted); font-size: 16px; line-height: 1.6; max-width: 480px; }

/* ─── Metrics ────────────────────────────────────────────────── */
.metrics-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); }
.metric-cell { padding: 48px 32px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.metric-cell:last-child { border-right: none; }
.metric-num { font-family: var(--font-serif); font-weight: 500; font-size: 104px; letter-spacing: -0.025em; line-height: 0.95; }
.metric-cell:nth-child(4n+1) .metric-num { color: var(--brand-purple); }
.metric-cell:nth-child(4n+2) .metric-num { color: var(--brand-green); }
.metric-cell:nth-child(4n+3) .metric-num { color: var(--brand-red); }
.metric-cell:nth-child(4n+4) .metric-num { color: var(--brand-blue); }
.metric-label { font-size: 14px; color: var(--muted); max-width: 200px; line-height: 1.4; }

/* ─── Services slider ────────────────────────────────────────── */
.services-wrap { margin-top: 8px; margin-bottom: -16px; }
.services-controls { display: flex; justify-content: flex-end; gap: 8px; margin-bottom: 24px; }
.services-btn {
  width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--line2);
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
  background: transparent; color: inherit;
}
.services-btn:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.services-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.services-btn:disabled:hover { background: transparent; color: inherit; border-color: var(--line2); }
.services-track-wrap {
  overflow: hidden; margin: 0 -80px; padding: 0 80px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.services-track { display: flex; transition: transform .45s cubic-bezier(0.22,1,0.36,1); }
.service-card-h {
  flex: 0 0 calc(100% / 3); min-width: calc(100% / 3);
  padding: 40px 36px 44px; display: flex; flex-direction: column; gap: 20px;
  min-height: 380px; position: relative;
  border-right: 1px solid var(--line); background: var(--bg);
  transition: background .25s;
}
.service-card-h:hover { background: var(--bg2); }
.service-icon { position: absolute; top: 36px; right: 32px; width: 72px; height: 72px; border-radius: 16px; display: grid; place-items: center; }
.service-icon svg { width: 38px; height: 38px; }
.service-card-h:nth-child(6n+1) .service-icon { background: rgba(141,80,236,0.12); color: var(--brand-purple); }
.service-card-h:nth-child(6n+2) .service-icon { background: rgba(0,215,98,0.12);  color: var(--brand-green); }
.service-card-h:nth-child(6n+3) .service-icon { background: rgba(254,53,71,0.10); color: var(--brand-red); }
.service-card-h:nth-child(6n+4) .service-icon { background: rgba(0,170,247,0.12); color: var(--brand-blue); }
.service-card-h:nth-child(6n+5) .service-icon { background: rgba(141,80,236,0.12); color: var(--brand-purple); }
.service-card-h:nth-child(6n+6) .service-icon { background: rgba(0,215,98,0.12);  color: var(--brand-green); }
.service-card-h .service-num {
  font-family: var(--font-serif); font-weight: 600; font-size: 64px; letter-spacing: -0.025em;
  line-height: 1; margin-bottom: 4px; display: flex; align-items: center; min-height: 72px;
}
.service-card-h:nth-child(6n+1) .service-num { color: var(--brand-purple); }
.service-card-h:nth-child(6n+2) .service-num { color: var(--brand-green); }
.service-card-h:nth-child(6n+3) .service-num { color: var(--brand-red); }
.service-card-h:nth-child(6n+4) .service-num { color: var(--brand-blue); }
.service-card-h:nth-child(6n+5) .service-num { color: var(--brand-purple); }
.service-card-h:nth-child(6n+6) .service-num { color: var(--brand-green); }
.service-title { font-size: 24px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.service-desc  { color: var(--muted); font-size: 15px; line-height: 1.5; flex: 1; }
.service-points { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); list-style: none; }
.service-points li { padding-left: 18px; position: relative; }
.service-points li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.service-card-h:nth-child(6n+1) .service-points li::before { background: var(--brand-purple); }
.service-card-h:nth-child(6n+2) .service-points li::before { background: var(--brand-green); }
.service-card-h:nth-child(6n+3) .service-points li::before { background: var(--brand-red); }
.service-card-h:nth-child(6n+4) .service-points li::before { background: var(--brand-blue); }
.service-card-h:nth-child(6n+5) .service-points li::before { background: var(--brand-purple); }
.service-card-h:nth-child(6n+6) .service-points li::before { background: var(--brand-green); }
.services-progress { display: flex; gap: 8px; margin-top: 16px; }
.services-dot { flex: 1; height: 3px; background: var(--line); border-radius: 2px; transition: background .25s; }
.services-dot.active { background: var(--accent); }

/* ─── Process ────────────────────────────────────────────────── */
.process-list { display: grid; grid-template-columns: 160px 1fr 1.2fr; border-top: 1px solid var(--line); }
.process-row { display: contents; }
.process-row > * { padding: 36px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; }
.process-num {
  font-family: var(--font-serif); font-weight: 600; font-size: 64px; letter-spacing: -0.025em; line-height: 1;
}
.process-row:nth-child(6n+1) .process-num { color: var(--brand-purple); }
.process-row:nth-child(6n+2) .process-num { color: var(--brand-green); }
.process-row:nth-child(6n+3) .process-num { color: var(--brand-red); }
.process-row:nth-child(6n+4) .process-num { color: var(--brand-blue); }
.process-row:nth-child(6n+5) .process-num { color: var(--brand-purple); }
.process-row:nth-child(6n+6) .process-num { color: var(--brand-green); }
.process-title { font-size: 22px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.2; }
.process-desc  { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Mobile process slider */
.process-slider { margin-top: 8px; }
.process-slider-wrap { overflow: hidden; }
.process-slider-track { display: flex; transition: transform .45s cubic-bezier(0.22,1,0.36,1); }
.process-slide { flex: 0 0 100%; min-width: 100%; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.process-slide .process-num { font-size: 56px; line-height: 1; }
.process-slide .process-title { font-size: 20px; font-weight: 600; }
.process-slider-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
.process-dots { display: flex; gap: 8px; }

/* ─── Cases slider (main page) ───────────────────────────────── */
.case-slider { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-slide { display: grid; grid-template-columns: 520px 1fr; min-height: 622px; }
.case-media { position: relative; background: transparent; overflow: visible; min-height: 622px; margin: 24px 0 24px 24px; }
.case-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; border-radius: 20px; }
.case-media-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px; color: var(--muted);
  background: repeating-linear-gradient(45deg, transparent 0 14px, rgba(127,127,127,.06) 14px 15px), var(--bg2);
  border-radius: 20px;
}
.case-media-ph span { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; }
.case-counter {
  position: absolute; top: 24px; left: 24px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  padding: 8px 12px; border-radius: 6px;
  background: rgba(246,245,240,.78); backdrop-filter: blur(6px); color: var(--ink);
}
.case-counter-cur { font-weight: 600; }
.case-counter-sep, .case-counter-tot { color: var(--muted); }
.case-body { padding: 48px 44px; display: flex; flex-direction: column; gap: 24px; background: var(--bg); }
.case-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.case-niche  { font-size: 13px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.05em; text-transform: uppercase; }
.case-period { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }
.case-title  { font-family: var(--font-serif); font-weight: 500; font-size: 34px; letter-spacing: -0.015em; line-height: 1.12; }
.case-numbers { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-num-block { display: flex; flex-direction: column; gap: 6px; }
.case-num-l { font-size: 11px; font-family: var(--font-mono); color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }
.case-num-v { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.case-arrow { color: var(--accent); font-size: 22px; }
.case-delta { display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 8px; background: var(--brand-purple); color: #fff; font-weight: 700; font-size: 14px; font-family: var(--font-mono); }
.case-actions { display: flex; flex-direction: column; gap: 16px; }
.case-actions-title { font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.case-actions-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.case-actions-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 17px; line-height: 1.45; color: var(--ink); }
.case-actions-bullet { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; margin-top: 9px; background: var(--brand-purple); }
.case-actions-list li:nth-child(5n+2) .case-actions-bullet { background: var(--brand-green); }
.case-actions-list li:nth-child(5n+3) .case-actions-bullet { background: var(--brand-red); }
.case-actions-list li:nth-child(5n+4) .case-actions-bullet { background: var(--brand-blue); }
.case-cta { margin-top: 4px; display: flex; }
.case-controls { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.case-arrows { display: flex; gap: 10px; }
.case-dots { display: flex; gap: 8px; }
.case-dot { width: 28px; height: 4px; border-radius: 2px; border: 0; background: var(--line); cursor: pointer; padding: 0; transition: background .2s; }
.case-dot.active { background: var(--accent); }

/* ─── About ──────────────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: flex-start; }
.about-left { display: flex; flex-direction: column; gap: 32px; }
.about-photo { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%); border: 1px solid var(--line); position: relative; overflow: hidden; border-radius: 4px; }
.about-photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-quote { font-family: var(--font-serif); font-size: 22px; line-height: 1.35; letter-spacing: -0.015em; font-weight: 500; }
.about-quote em { color: var(--accent); font-style: normal; }
.about-bio   { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 520px; }
.about-creds { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.about-cred-num { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.about-cred-l   { font-size: 13px; color: var(--muted); margin-top: 4px; }
/* desktop: show creds under right text, hide under photo */
.about-creds--desktop { display: none; }
@media (min-width: 1025px) {
  .about-creds--mobile  { display: none; }
  .about-creds--desktop { display: grid; }
}

/* ─── Testimonials ───────────────────────────────────────────── */
.testimonials { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.t-card { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 36px 32px; display: flex; flex-direction: column; gap: 24px; background: var(--bg); }
.t-mark   { font-family: var(--font-serif); font-size: 60px; line-height: 0.5; height: 24px; }
.t-card:nth-child(3n+1) .t-mark { color: var(--brand-purple); }
.t-card:nth-child(3n+2) .t-mark { color: var(--brand-green); }
.t-card:nth-child(3n+3) .t-mark { color: var(--brand-blue); }
.t-text   { font-size: 18px; line-height: 1.5; letter-spacing: -0.005em; flex: 1; }
.t-author { display: flex; flex-direction: column; gap: 4px; padding-top: 20px; border-top: 1px solid var(--line); }
.t-name   { font-weight: 600; font-size: 15px; }
.t-role   { font-size: 13px; color: var(--muted); }
/* Testimonials slider (mobile/tablet) */
.testimonials-slider { margin-top: 8px; }
.testimonials-slider-wrap { overflow: hidden; }
.testimonials-slider-track { display: flex; transition: transform .45s cubic-bezier(0.22,1,0.36,1); }
.testimonials-slide { flex: 0 0 100%; min-width: 100%; box-sizing: border-box; }
.testimonials-slide .t-card { height: 100%; }
.testimonials-slider-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
.services-arrows { display: flex; gap: 8px; }

/* ─── FAQ ────────────────────────────────────────────────────── */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; padding: 28px 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; }
.faq-q-icon { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 16px; flex-shrink: 0; transition: transform .25s, background .2s; }
.faq-item.is-open .faq-q-icon { background: var(--accent); color: var(--accent-ink); transform: rotate(45deg); border-color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 28px; max-width: 780px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.faq-q-h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; margin: 0; line-height: inherit; }

/* ─── Calculator ─────────────────────────────────────────────── */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: start; }
.calc-form { padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; }
.calc-side { display: flex; flex-direction: column; gap: 16px; }
.calc-result {
  padding: 36px 36px 24px; background: #7c4dff; color: #fff;
  border-radius: 24px; display: flex; flex-direction: column; gap: 20px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(124,77,255,.45);
}
.calc-result::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%); }
.calc-result > * { position: relative; z-index: 1; }
.calc-result .btn-primary { background: #fff; color: #111; }
.calc-free {
  padding: 32px 36px 28px; background: #1f8a5b; color: #fff;
  border-radius: 24px; display: flex; flex-direction: column; gap: 14px;
  position: relative; overflow: hidden;
  box-shadow: 0 24px 60px -28px rgba(31,138,91,.45);
}
.calc-free::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(80% 50% at 50% 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 60%); }
.calc-free > * { position: relative; z-index: 1; }
.calc-free-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.calc-free-title { font-family: var(--font-serif); font-weight: 500; font-size: 28px; line-height: 1.1; letter-spacing: -0.02em; }
.calc-free-sub { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.9); }
.calc-total-l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.calc-total { font-family: var(--font-serif); font-weight: 500; font-size: 72px; line-height: 0.95; letter-spacing: -0.015em; }
.calc-sub  { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.calc-cta  { margin-top: 4px; }
.calc-group { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.calc-group.is-open { border-color: var(--line2); }
.calc-step-head { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; background: transparent; border: 0; cursor: pointer; text-align: left; color: inherit; transition: background .15s; }
.calc-step-head:hover { background: rgba(0,0,0,.02); }
.calc-group-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.calc-step-summary { font-size: 15px; font-weight: 500; color: var(--ink); }
.calc-step-chev { display: grid; place-items: center; color: var(--muted); transition: transform .2s; }
.calc-group.is-open .calc-step-chev { transform: rotate(180deg); }
.calc-step-body { padding: 0 20px 20px; }
.calc-options { display: flex; flex-wrap: wrap; gap: 8px; }
.calc-opt { border: 1px solid var(--line2); padding: 12px 18px; border-radius: 999px; font-size: 14px; transition: all .15s; background: transparent; color: inherit; cursor: pointer; }
.calc-opt:hover { border-color: var(--accent); }
.calc-opt.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.calc-add { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; transition: border-color .15s; }
.calc-add:hover { border-color: var(--line2); }
.calc-add.active { border-color: var(--accent); }
.calc-add-check { width: 20px; height: 20px; border-radius: 6px; border: 1px solid var(--line2); display: grid; place-items: center; flex-shrink: 0; }
.calc-add.active .calc-add-check { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.calc-add-l { display: flex; flex-direction: column; gap: 2px; }
.calc-add-name { font-size: 14px; font-weight: 500; }
.calc-add-price { font-size: 12px; color: var(--muted); font-family: var(--font-mono); }

/* ─── Contact form ───────────────────────────────────────────── */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.cta-form { display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { background: transparent; border: none; border-bottom: 1px solid var(--line2); padding: 14px 0; font-size: 18px; outline: none; transition: border-color .2s; width: 100%; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--accent); }
.field textarea { resize: none; min-height: 80px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer { padding: 64px 80px 32px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; align-items: flex-start; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; opacity: 0.7; }
.footer-col a { color: var(--ink); font-size: 14px; line-height: 1.4; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .footer-meta { font-size: 13px; color: var(--muted); }
.footer-brand .footer-mark { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.footer-brand .nav-brand-mark { width: 40px; height: 40px; }
.footer-tagline { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 280px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; flex-wrap: wrap; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); font-size: 12px; transition: color .15s; }
.footer-legal a:hover { color: var(--ink); }
