/* GROVO — light-only by design. Layout concept: a launch-day schedule. Left-aligned, asymmetric, the 24-hour clock is the hero. */
:root {
  --bg: #F5F7F5;
  --surface: #FFFFFF;
  --ink: #0E1A16;
  --muted: #56645E;
  --line: #DCE3DF;
  --accent: #0B7A55;
  --accent-ink: #FFFFFF;
  --accent-soft: #E2F1E9;
  --signal: #E9A21B;
  --danger: #C2412D;
  --shadow: 0 1px 2px rgba(14, 26, 22, .06), 0 8px 24px rgba(14, 26, 22, .06);
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --r: 14px;
  --band: #E8F3EC;
  color-scheme: light;
  --wrap: 1160px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.08; }
h1 { font-size: clamp(2rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 58ch; }
.eyebrow { font: 600 .78rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
section { padding-block: clamp(56px, 9vw, 104px); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 760px; }

/* Header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font: 800 1.35rem/1 var(--f-display); letter-spacing: .02em; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo { gap: 10px; color: var(--ink); }
.logo-word { font: 700 2rem/1 "Outfit", "Poppins", "Montserrat", system-ui, sans-serif; letter-spacing: -.035em; color: var(--ink); }
.logo-dot { color: var(--accent); }
.logo-mark { width: 32px; height: 32px; flex: none; display: block; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: .95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav-home, .nav-more { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); cursor: pointer; padding: 0; place-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 860px) {
  .top .wrap { gap: 10px; }
  .top .wrap .btn-wa { margin-left: auto; min-height: 44px; }
  .top .btn-wa span { display: none; }
  .burger { display: grid; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 4px 20px 12px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; color: var(--accent); font-weight: 600; }
  .nav-home, .nav-more { display: block; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 600 1rem/1 var(--f-body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: #1FAF5A; color: #fff; min-height: 42px; padding: 0 16px; font-size: .92rem; }
.btn-wa svg, .btn svg { width: 18px; height: 18px; flex: none; }
.top .btn-wa { margin-left: 0; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero-copy h1 em { font-style: normal; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; padding: 0; margin: 4px 0 0; list-style: none; }
.perks li { display: flex; align-items: center; gap: 8px; }
.perks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* Launch clock card */
.clock { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); min-width: 0; }
.clock-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.clock-time { font: 700 clamp(2.6rem, 7vw, 4.2rem)/1 var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; margin: 14px 0 6px; }
.clock-sub { color: var(--muted); font-size: .9rem; }
.track { position: relative; height: 6px; border-radius: 6px; background: var(--line); margin: 20px 0 18px; overflow: hidden; }
.track b { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); border-radius: 6px; transition: width .6s ease; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.steps li { display: grid; grid-template-columns: 58px 1fr; gap: 12px; align-items: baseline; font-size: .95rem; color: var(--muted); }
.steps li .mono { font-size: .85rem; }
.steps li.done { color: var(--ink); }
.steps li.done .mono { color: var(--accent); }
.steps li.now { color: var(--ink); font-weight: 600; }
.steps li.now .mono { color: var(--signal); }
.live { display: inline-flex; align-items: center; gap: 6px; font: 600 .72rem/1 var(--f-mono); letter-spacing: .1em; color: var(--accent); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); min-width: 0; text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.svc:hover { border-color: var(--accent); transform: translateY(-2px); }
.svc p { color: var(--muted); font-size: .95rem; }
.svc .price { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.svc .price strong { font: 700 1.05rem/1.2 var(--f-mono); font-variant-numeric: tabular-nums; }
.svc .price span { font-size: .85rem; color: var(--accent); font-weight: 600; }
.svc.main { background: var(--accent-soft); border: 1.5px solid var(--accent); }

.svc.main .price { border-color: color-mix(in srgb, var(--accent) 35%, transparent); }

.tag { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; font: 600 .7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.svc.main .tag { background: var(--accent); color: var(--accent-ink); }

/* Guarantees */
.band { background: var(--band); color: var(--ink); }
.band .lead { color: var(--muted); }

.g-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
@media (max-width: 800px) { .g-grid { grid-template-columns: 1fr; } }
.g { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.g + .g { padding-left: 24px; border-left: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }
@media (max-width: 800px) { .g + .g { padding-left: 0; border-left: 0; border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); } }
.g .big { font: 700 clamp(2rem, 4vw, 2.8rem)/1 var(--f-display); color: var(--accent); }
.g p { color: var(--muted); font-size: .95rem; }
.fine { font-size: .82rem; margin-top: 28px; color: var(--muted); max-width: 80ch; }

/* Benefits list (landings) */
.ben { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 40px; padding: 0; margin: 0; list-style: none; }
@media (max-width: 700px) { .ben { grid-template-columns: 1fr; } }
.ben li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding-block: 18px; border-top: 1px solid var(--line); }
.ben li svg { width: 22px; height: 22px; color: var(--accent); margin-top: 3px; }
.ben li p { color: var(--muted); font-size: .95rem; margin-top: 4px; }

/* Demo projects */
.demo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; min-width: 0; }
.demo .shot { aspect-ratio: 16 / 10; max-width: 100%; background: var(--accent-soft); position: relative; padding: 16px; display: grid; gap: 8px; align-content: start; }
.demo .shot .bar { height: 10px; border-radius: 4px; background: color-mix(in srgb, var(--ink) 14%, transparent); }
.demo .shot .bar.w60 { width: 60%; } .demo .shot .bar.w40 { width: 40%; } .demo .shot .bar.w80 { width: 80%; }
.demo .shot .blk { height: 54px; border-radius: 8px; background: var(--surface); }
.demo .shot .cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.demo .shot .cols div { height: 64px; border-radius: 6px; background: var(--surface); }
.demo .shot .pill { height: 22px; width: 96px; border-radius: 99px; background: var(--accent); }
.demo .body { padding: 18px 20px 22px; display: grid; gap: 6px; }
.demo .body p { color: var(--muted); font-size: .92rem; }
.demo .body .mono { font-size: .78rem; color: var(--accent); }

/* Quiz */
.quiz-wrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .quiz-wrap { grid-template-columns: 1fr; } }
.quiz-side { display: grid; gap: 18px; min-width: 0; }
.gift { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px; border: 1px dashed var(--accent); border-radius: var(--r); background: var(--accent-soft); }
.gift svg { width: 32px; height: 32px; color: var(--accent); }
.gift b { display: block; }
.gift span { color: var(--muted); font-size: .9rem; }
.quiz { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3.5vw, 32px); box-shadow: var(--shadow); min-width: 0; }
.q-progress { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.q-dots { display: flex; gap: 6px; }
.q-dots i { width: 28px; height: 5px; border-radius: 4px; background: var(--line); }
.q-dots i.on { background: var(--accent); }
.q-step { display: grid; gap: 16px; }
.q-step h3 { font-size: 1.3rem; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 520px) { .opts { grid-template-columns: 1fr; } }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; }
.opt label { display: flex; align-items: center; gap: 10px; min-height: 54px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; font-weight: 500; transition: border-color .12s ease, background .12s ease; }
.opt label::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid var(--line); }
.opt.multi label::before { border-radius: 5px; }
.opt input:checked + label { border-color: var(--accent); background: var(--accent-soft); }
.opt input:checked + label::before { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px var(--surface); }
.opt input:focus-visible + label { outline: 3px solid var(--signal); outline-offset: 2px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .88rem; font-weight: 600; }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--ink); font: 1rem var(--f-body); }
.field input:focus, .field textarea:focus { border-color: var(--accent); outline: none; }
.field .err { color: var(--danger); font-size: .82rem; }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 520px) { .two { grid-template-columns: 1fr; } }
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.q-nav .btn { min-height: 48px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { font-size: .8rem; color: var(--muted); }
.done-box { display: grid; gap: 14px; text-align: left; }
.done-box .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent); }
.done-box .ok svg { width: 28px; height: 28px; }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 400 1.6rem/1 var(--f-mono); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px)); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: flex-start; }
.foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot nav a, .foot small { color: var(--muted); text-decoration: none; font-size: .92rem; }

/* Floating WhatsApp on mobile */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #1FAF5A; color: #fff; display: none; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.wa-float svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .wa-float { display: grid; } }
@media (min-width: 961px) { .svc-cta { grid-column: span 2; } }
.thanks { max-width: 760px; }

.tag svg { width: 13px; height: 13px; }
.svc-cta { background: var(--accent-soft); border: 1.5px dashed var(--accent); justify-content: center; }
.svc-cta .price strong { font-family: var(--f-body); }

/* Результат через 24 часа (вместо часов) */
.result { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); min-width: 0; display: grid; gap: 18px; }
.result-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.result-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; font-weight: 500; }
.result-list svg { width: 20px; height: 20px; color: var(--accent); margin-top: 2px; }
.result-flow { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.result-flow li { display: grid; gap: 6px; font-size: .8rem; color: var(--muted); line-height: 1.3; }
.result-flow b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font: 700 .75rem/1 var(--f-mono); }
@media (max-width: 480px) { .result { padding: 20px; } .result-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Липкая панель на телефоне */
.mbar { display: none; }
@media (max-width: 860px) {
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transition: transform .25s ease; }
  .mbar .btn-primary { flex: 1; min-height: 50px; }
  .mbar-wa { width: 50px; min-height: 50px; padding: 0; flex: none; }
  .mbar-wa svg { width: 24px; height: 24px; }
  .mbar.off { transform: translateY(110%); }
  body { padding-bottom: 72px; }
}

/* Политика */
.legal-wrap { max-width: 760px; display: grid; gap: 14px; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 10px; }
.legal h2 { font-family: var(--f-body); font-size: 1.15rem; letter-spacing: 0; margin-top: 18px; }
.legal p { color: var(--muted); }
.consent a { color: var(--accent); }

/* Демо-проекты: 7 карточек + призыв */
.demo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .demo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .demo-grid { grid-template-columns: 1fr; } }
a.demo { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .15s ease, border-color .15s ease; }
a.demo:hover { transform: translateY(-2px); border-color: var(--d, var(--accent)); }
.demo .shot { background: color-mix(in srgb, var(--d, var(--accent)) 16%, var(--surface)); }
.demo .shot .pill { background: var(--d, var(--accent)); }
.demo .body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.demo .body .mono { color: var(--d, var(--accent)); }
.demo-open { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: .9rem; color: var(--d, var(--accent)); }
.demo-cta { background: var(--accent-soft); border: 1.5px dashed var(--accent) !important; justify-content: center; }
.demo .shot.shot-img { padding: 0; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); }
.demo .shot.shot-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .4s ease; }
a.demo:hover .shot-img img { transform: scale(1.03); }

/* Примеры презентаций */
.pres-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .pres-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pres-grid { grid-template-columns: 1fr; } }
.pres-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.pres-shot { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.pres-shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pres-shot:hover img { transform: scale(1.03); }
.pres-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pres-body .mono { font-size: .74rem; color: var(--accent); letter-spacing: .04em; }
.pres-body p { color: var(--muted); font-size: .92rem; }
.pres-links { display: flex; gap: 8px; margin-top: auto; padding-top: 12px; }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9rem; }
.demo-more { margin-top: 20px; } .demo-more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pres-home { padding-top: 0; }
