/* Voronka Lab — сайты под ключ */

:root {
  --bg: #f0efec;
  --surface: #f8f7f4;
  --fg: #1a1c20;
  --muted: #555a61;
  --border: #d7d5cf;
  --accent: #2b4bff;
  --accent-on: #ffffff;
  --ink: #1a1c20;
  --ink-fg: #f0efec;
  --ink-muted: #a9adb4;
  --ink-line: #34373d;
  --accent-soft: #8c9dff;
  --font-display: "Geologica", "Golos Text", sans-serif;
  --font-body: "Golos Text", sans-serif;
  --radius: 6px;
  --space-section: 104px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 40px; } }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--accent); color: var(--accent-on);
  padding: 10px 16px; border-radius: var(--radius); text-decoration: none;
}
.skip:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 1.2;
  text-decoration: none; border-radius: var(--radius); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-accent { background: var(--accent); color: var(--accent-on); }
.btn-dark { background: var(--ink); color: var(--ink-fg); }
.btn-line { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 15px; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn-accent:hover { background: #1d38d6; }
  .btn-dark:hover { background: #2c3038; }
  .btn-line:hover { background: var(--fg); color: var(--bg); }
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 239, 236, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.top-in { display: flex; align-items: center; gap: 24px; min-height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.logo-text {
  font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.05;
  letter-spacing: -0.01em; white-space: nowrap;
}
.logo-sub {
  display: block; margin-top: 4px;
  font-family: var(--font-body); font-size: 12px; font-weight: 500;
  color: var(--muted); letter-spacing: 0.02em; white-space: nowrap;
}
.nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav a {
  font-size: 15px; text-decoration: none; color: var(--fg); white-space: nowrap;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}
@media (hover: hover) { .nav a:hover { border-bottom-color: var(--accent); } }
.top-phone {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  white-space: nowrap; text-decoration: none; font-variant-numeric: tabular-nums;
  padding: 8px 0; border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}
@media (hover: hover) { .top-phone:hover { border-bottom-color: var(--accent); } }

@media (max-width: 1180px) {
  .top-in { flex-wrap: wrap; gap: 8px 20px; padding-block: 12px; }
  .nav {
    order: 4; margin-left: 0; width: 100%;
    border-top: 1px solid var(--border); padding-top: 10px;
    gap: 8px 22px; flex-wrap: wrap;
  }
  .nav a { font-size: 14px; padding: 6px 0; }
  .top-phone { margin-left: auto; }
}
@media (max-width: 560px) {
  .top { position: static; }
  .logo-sub { display: none; }
  .logo-mark { width: 34px; height: 34px; }
  .logo-text { font-size: 17px; }
  .top-phone { font-size: 15px; }
  .top-in .btn-sm { flex: 1 1 100%; }
  .nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: 56px 0 var(--space-section); }
.hero-grid { display: grid; gap: 32px; }
.kicker {
  font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.hero-h {
  font-size: clamp(34px, 4.5vw, 62px); font-weight: 800; line-height: 1.03;
  letter-spacing: -0.03em; max-width: 18ch;
}
.mark { color: var(--accent); }
.hero-sub { margin-top: 28px; max-width: 62ch; color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.fact {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.fact dt { color: var(--muted); font-size: 15px; }
.fact dd { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 19px; text-align: right; }

.hero-note { margin-top: 28px; font-size: 15px; color: var(--muted); }
.hero-fig { margin: 40px 0 0; }
.hero-fig img { width: 100%; aspect-ratio: 900 / 385; object-fit: cover; border-radius: var(--radius); }
.hero-fig figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); max-width: 80ch; }

@media (min-width: 980px) {
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: end; }
  .hero-sub { font-size: 19px; }
}

/* ---------- Sections ---------- */
.sec { padding: var(--space-section) 0; border-top: 1px solid var(--border); }
.sec-head { margin-bottom: 48px; }
.sec-n {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--accent); margin-bottom: 16px; font-variant-numeric: tabular-nums;
}
.sec-h { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.06; max-width: 18ch; }
.sec-lead { margin-top: 20px; max-width: 60ch; color: var(--muted); font-size: 18px; }

/* ---------- 01 Funnel ---------- */
.sec-dark { background: var(--ink); color: var(--ink-fg); border-top: 0; }
.sec-dark .sec-n { color: var(--accent-soft); }
.sec-dark .sec-lead { color: var(--ink-muted); }
.funnel { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fstep {
  display: grid; gap: 8px 24px; padding: 26px 0;
  border-top: 1px solid var(--ink-line);
}
.fstep-n { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--accent-soft); font-variant-numeric: tabular-nums; }
.fstep h3 { font-size: clamp(21px, 2.4vw, 28px); font-weight: 700; line-height: 1.15; }
.fstep p { margin-top: 10px; color: var(--ink-muted); max-width: 58ch; }
.funnel-out {
  display: flex; align-items: center; gap: 12px;
  margin-top: 4px; padding-top: 22px; border-top: 1px solid var(--ink-line);
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent-soft); flex: 0 0 auto; }

@media (min-width: 900px) {
  .fstep { grid-template-columns: 56px minmax(0, 1fr); align-items: start; }
  .fstep-1 { width: 100%; }
  .fstep-2 { width: 86%; }
  .fstep-3 { width: 72%; }
  .fstep-4 { width: 58%; }
  .funnel-out { width: 58%; }
}

/* ---------- 02 Included ---------- */
.inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.inc li {
  display: grid; gap: 4px 20px; padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.inc-n { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.inc strong { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.inc-d { color: var(--muted); }
@media (min-width: 820px) {
  .inc { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
  .inc li { grid-template-columns: 36px minmax(0, 1fr); }
  .inc-n { grid-row: span 2; padding-top: 5px; }
  .inc li:nth-child(odd) { padding-right: 8px; }
}

/* ---------- 03 Works ---------- */
.sec-works { background: var(--surface); }
.works { display: grid; gap: 48px; }
.work { display: grid; gap: 18px; min-width: 0; align-content: start; }
.work img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); background: var(--border); }
.work-body { display: grid; gap: 6px; max-width: 46ch; align-content: start; }
.work-n { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.work h3 { font-size: 24px; font-weight: 700; line-height: 1.15; }
.work-meta { font-size: 14px; color: var(--muted); }
.work p { color: var(--muted); }
.work-link {
  justify-self: start; margin-top: 6px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--accent);
  text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
@media (hover: hover) { .work-link:hover { border-bottom-color: var(--accent); } }

@media (min-width: 980px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 72px; }
  .work img { height: 340px; }
  .work-body { grid-template-columns: 48px minmax(0, 1fr); column-gap: 0; }
  .work-n { grid-row: span 4; padding-top: 6px; }
  .w-5 { grid-column: 1 / -1; }
  .w-5 img { height: 420px; }
}

/* ---------- 04 Prices ---------- */
.prices { border-top: 1px solid var(--border); }
.price {
  display: grid; gap: 6px 32px; padding: 26px 0;
  border-bottom: 1px solid var(--border); align-items: baseline;
}
.price h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.price-d { color: var(--muted); max-width: 52ch; }
.price-num {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price-free .price-num { color: var(--accent); }
.prices-note { margin-top: 28px; font-size: 15px; color: var(--muted); max-width: 70ch; }
@media (min-width: 900px) {
  .price { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); }
  .price-num { text-align: right; font-size: 30px; }
}

/* ---------- 05 Why ---------- */
.why-grid { display: grid; gap: 40px; }
.why { display: grid; gap: 0; border-top: 1px solid var(--border); }
.why-item {
  display: grid; gap: 6px 24px; padding: 26px 0;
  border-bottom: 1px solid var(--border);
}
.why-n { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.why-item h3 { font-size: 22px; font-weight: 700; line-height: 1.2; }
.why-item p { margin-top: 8px; color: var(--muted); max-width: 56ch; }
@media (min-width: 980px) {
  .why-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; align-items: start; }
  .why-grid .sec-head { margin-bottom: 0; position: sticky; top: 110px; }
  .why-item { grid-template-columns: 48px minmax(0, 1fr); }
}

/* ---------- 06 CTA ---------- */
.sec-cta { background: var(--surface); }
.cta-grid { display: grid; gap: 40px; }
.cta-list { list-style: none; margin: 28px 0 32px; padding: 0; display: grid; gap: 10px; }
.cta-list li { position: relative; padding-left: 26px; }
.cta-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 2px; background: var(--accent);
}
.cta-hint { margin-top: 20px; font-size: 14px; color: var(--muted); max-width: 52ch; }

.lead {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; display: grid; gap: 18px;
}
.lead-h { font-size: 24px; font-weight: 700; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--fg);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px; min-height: 48px;
  transition: border-color 0.2s ease;
}
.field textarea { resize: vertical; min-height: 104px; }
.field input::placeholder, .field textarea::placeholder { color: #8b8f96; }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.form-status { min-height: 22px; font-size: 15px; font-weight: 500; }
.form-status.ok { color: #0d6b3f; }
.form-status.err { color: #b3261e; }
.consent { font-size: 13px; color: var(--muted); }
.consent a { color: var(--fg); text-underline-offset: 3px; }

@media (min-width: 980px) {
  .cta-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 72px; align-items: start; }
  .lead { padding: 36px 32px; }
}

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: var(--ink-fg); padding: 56px 0 48px; }
.foot-in { display: grid; gap: 32px; }
.foot-logo {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.foot-note { margin-top: 12px; color: var(--ink-muted); font-size: 15px; max-width: 44ch; }
.foot-col { display: grid; gap: 8px; align-content: start; }
.foot-label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-muted); }
.foot-link {
  font-family: var(--font-display); font-weight: 600; font-size: 17px; text-decoration: none;
  justify-self: start; border-bottom: 2px solid transparent; padding-bottom: 2px;
  transition: border-color 0.2s ease;
}
@media (hover: hover) { .foot-link:hover { border-bottom-color: var(--accent-soft); } }
.foot :focus-visible { outline-color: var(--accent-soft); }
@media (min-width: 820px) {
  .foot-in { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
}

/* ---------- Legal ---------- */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.08; }
.legal .lead-d { color: var(--muted); margin: 12px 0 36px; }
.legal h2 { font-size: 20px; font-weight: 700; margin: 32px 0 10px; }
.legal p, .legal li { color: var(--muted); max-width: 72ch; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--fg); text-underline-offset: 3px; }
.back {
  display: inline-flex; margin-top: 36px; color: var(--accent);
  font-family: var(--font-display); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent;
}
@media (hover: hover) { .back:hover { border-bottom-color: var(--accent); } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

#spru-pages-badge-host { display: none !important; }
