/* ═══════════════════════════════════════════════════════════════════════════
   Zepy — лендинг (полный редизайн). Самодостаточный файл: свой reset, токены,
   компоненты и CSS-мокапы экранов продукта. Не зависит от site.css.
   JS-хуки совместимы с /js/site.js (id: site-header, mobile-menu-btn,
   mobile-menu, back-to-top, footer-bot-btn; классы: faq-item, animate-in).
   ═══════════════════════════════════════════════════════════════════════════ */

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

:root {
    --green-50:#ecfdf5; --green-100:#d1fae5; --green-200:#a7f3d0; --green-300:#6ee7b7;
    --green-400:#34d399; --green-500:#10b981; --green-600:#059669; --green-700:#047857;
    --teal-400:#2dd4bf; --teal-500:#14b8a6;
    --blue-400:#60a5fa; --blue-500:#3b82f6; --blue-600:#2563eb;
    --purple-400:#a78bfa; --purple-500:#8b5cf6;
    --amber-400:#fbbf24; --amber-500:#f59e0b;
    --violet-400:#a78bfa; --violet-500:#8b5cf6; --violet-600:#7c3aed;
    --indigo-500:#6366f1;
    --ink:#0b1421; --ink-deep:#070d16; --ink-soft:#3f4b5e;
    --ink-950:#0a0f1c; --ink-900:#0f172a; --ink-800:#1e293b; --ink-700:#334155;
    --gray-50:#f8fafc; --gray-100:#f1f5f9; --gray-200:#e2e8f0; --gray-300:#cbd5e1;
    --gray-400:#94a3b8; --gray-500:#64748b; --gray-600:#475569; --gray-700:#334155;
    --gray-800:#1e293b; --gray-900:#0f172a;
    --white:#ffffff;
    --bg:#fbfdfc;
    --mist:#f2f7f4; --mist-edge:#e6efe9;
    --ai-tint:#f6f4ff;
    --font-display:'Manrope','Inter',sans-serif;
    --font-text:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
    --radius-sm:14px;
    --radius:24px;
    --radius-lg:32px;
    --shadow-sm:0 1px 2px rgba(11,20,33,.05);
    --shadow:0 1px 2px rgba(11,20,33,.04), 0 8px 24px -6px rgba(11,20,33,.08);
    --shadow-lg:0 2px 4px rgba(11,20,33,.04), 0 16px 40px -8px rgba(11,20,33,.12), 0 32px 80px -24px rgba(11,20,33,.10);
    --shadow-xl:0 4px 8px rgba(11,20,33,.05), 0 28px 64px -12px rgba(11,20,33,.18), 0 64px 140px -32px rgba(11,20,33,.14);
    --shadow-green:0 8px 20px -4px rgba(16,185,129,.35), 0 20px 48px -8px rgba(16,185,129,.25);
    --shadow-mock:0 2px 4px rgba(11,20,33,.05), 0 24px 56px -12px rgba(11,20,33,.16), 0 56px 120px -36px rgba(16,185,129,.14);
    --ring:0 0 0 1px rgba(11,20,33,.06);
    --grad:linear-gradient(135deg,var(--green-500),var(--teal-500));
    --grad-ai:linear-gradient(135deg,#7c3aed,#6366f1 55%,#3b82f6);
}

html { scroll-behavior:smooth; overflow-x:clip; }
body {
    font-family:var(--font-text);
    color:var(--ink-soft); background:var(--bg);
    line-height:1.6; overflow-x:hidden; -webkit-font-smoothing:antialiased;
}
h1, h2, h3, h4 { font-family:var(--font-display); color:var(--ink); }
[id] { scroll-margin-top:84px; }

/* ─── Фоновый мэш ─────────────────────────────────────────────── */
.bg-mesh { position:fixed; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.bg-mesh::before, .bg-mesh::after {
    content:''; position:absolute; border-radius:50%; filter:blur(90px); opacity:.5;
}
.bg-mesh::before { width:760px; height:760px; background:radial-gradient(circle,var(--green-200),transparent 70%); top:-240px; left:-140px; opacity:.55; }
.bg-mesh::after  { width:560px; height:560px; background:radial-gradient(circle at 30% 30%,#cdeafe,transparent 70%), radial-gradient(circle at 80% 80%,rgba(167,139,250,.35),transparent 70%); top:280px; right:-160px; }
.bg-grid {
    position:fixed; inset:0; z-index:0; pointer-events:none;
    background-image:linear-gradient(var(--gray-200) 1px,transparent 1px),linear-gradient(90deg,var(--gray-200) 1px,transparent 1px);
    background-size:72px 72px;
    -webkit-mask-image:radial-gradient(circle at 50% 0,#000,transparent 60%);
            mask-image:radial-gradient(circle at 50% 0,#000,transparent 60%);
    opacity:.3;
}

.container { max-width:1200px; margin:0 auto; padding:0 24px; position:relative; z-index:10; }

/* ─── Header / nav ────────────────────────────────────────────── */
.site-header {
    position:sticky; top:0; z-index:200;
    backdrop-filter:blur(20px) saturate(1.4); -webkit-backdrop-filter:blur(20px) saturate(1.4);
    background:rgba(251,253,252,.7);
    border-bottom:1px solid transparent; transition:border-color .3s,box-shadow .3s,background .3s;
}
.site-header.scrolled { border-bottom-color:var(--gray-200); box-shadow:0 8px 32px -8px rgba(11,20,33,.08); background:rgba(251,253,252,.92); }
nav { display:flex; align-items:center; justify-content:space-between; padding:17px 0; }
.logo { display:flex; align-items:center; gap:9px; font-family:var(--font-display); font-size:21px; font-weight:800; color:var(--ink); text-decoration:none; letter-spacing:-.02em; }
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-link { font-size:14.5px; font-weight:600; color:var(--gray-600); text-decoration:none; padding:9px 14px; border-radius:12px; transition:background .2s,color .2s; }
.nav-link:hover { background:rgba(15,23,42,.05); color:var(--ink); }
.nav-btn { background:var(--grad); color:var(--white); padding:10px 24px; border-radius:13px; font-size:14.5px; font-weight:700; text-decoration:none; transition:transform .25s,box-shadow .25s; margin-left:10px; box-shadow:var(--shadow-green), inset 0 1px 0 rgba(255,255,255,.35); }
.nav-btn:hover { transform:translateY(-2px); box-shadow:0 18px 40px rgba(16,185,129,.42), inset 0 1px 0 rgba(255,255,255,.35); }

.mobile-menu-btn { display:none; flex-direction:column; gap:5px; padding:8px; background:none; border:none; cursor:pointer; }
.mobile-menu-btn span { display:block; width:22px; height:2px; background:var(--gray-700); border-radius:2px; transition:all .3s; }
.mobile-menu-btn.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity:0; }
.mobile-menu-btn.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.mobile-menu { display:none; flex-direction:column; padding:8px 24px 18px; border-top:1px solid var(--gray-100); background:rgba(247,250,249,.96); }
.mobile-menu.open { display:flex; }
.mobile-nav-link { font-size:16px; font-weight:600; color:var(--gray-700); text-decoration:none; padding:13px 0; border-bottom:1px solid var(--gray-100); }
.mobile-nav-link:last-child { border-bottom:none; }
.mobile-nav-cta { color:var(--green-600); }

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn { display:inline-flex; align-items:center; justify-content:center; gap:10px; font-weight:700; text-decoration:none; border:none; border-radius:15px; cursor:pointer; font-family:inherit; transition:transform .3s,box-shadow .3s,background .3s,border-color .3s; }
.btn-lg { padding:17px 34px; font-size:16.5px; }
.btn-primary { background:var(--grad); color:var(--white); box-shadow:var(--shadow-green), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { transform:translateY(-3px) scale(1.015); box-shadow:0 14px 28px -6px rgba(16,185,129,.45), 0 28px 64px -12px rgba(16,185,129,.35), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background:rgba(255,255,255,.85); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); color:var(--gray-700); border:1.5px solid var(--gray-200); box-shadow:var(--shadow-sm); }
.btn-ghost:hover { color:var(--gray-900); border-color:var(--gray-300); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-light { background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.22); }
.btn-light:hover { background:rgba(255,255,255,.2); transform:translateY(-2px); }
.btn:disabled { opacity:.55; cursor:not-allowed; transform:none !important; }

/* ─── Section headings ───────────────────────────────────────── */
section { position:relative; z-index:10; }
.eyebrow { display:inline-flex; align-items:center; gap:7px; font-size:12.5px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; color:var(--green-700); background:var(--green-50); border:1px solid var(--green-100); padding:6px 13px; border-radius:30px; }
.section-head { text-align:center; max-width:680px; margin:0 auto 64px; display:flex; flex-direction:column; align-items:center; gap:20px; }
.section-title { font-size:clamp(30px,4vw,50px); font-weight:800; color:var(--ink); letter-spacing:-.03em; line-height:1.07; }
.section-sub { font-size:19px; color:var(--ink-soft); line-height:1.65; }
.gradient-text { background:linear-gradient(110deg,var(--green-600) 0%,var(--teal-500) 45%,var(--indigo-500) 100%); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ─── Hero ────────────────────────────────────────────────────── */
.hero { display:grid; grid-template-columns:1.05fr .95fr; gap:64px; align-items:center; padding:96px 0 72px; }
.hero-content { display:flex; flex-direction:column; align-items:flex-start; animation:fadeUp .8s ease; }
.hero-badge { display:inline-flex; align-items:center; gap:9px; background:rgba(255,255,255,.75); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); border:1px solid var(--gray-200); border-radius:30px; padding:7px 16px; font-size:13px; font-weight:600; color:var(--gray-600); margin-bottom:24px; box-shadow:var(--ring),var(--shadow-sm); }
.badge-dot { width:8px; height:8px; background:var(--green-500); border-radius:50%; box-shadow:0 0 0 0 rgba(16,185,129,.5); animation:pulse 2s infinite; }
.hero h1 { font-size:clamp(38px,4.9vw,64px); font-weight:800; letter-spacing:-.035em; line-height:1.05; color:var(--ink); margin-bottom:22px; }
.hero p { font-size:19px; color:var(--ink-soft); line-height:1.65; max-width:520px; margin-bottom:32px; }
.hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.hero-proof { display:flex; align-items:center; gap:12px; margin-top:26px; }
.proof-dots { display:flex; }
.proof-dot { width:30px; height:30px; border-radius:50%; border:2.5px solid var(--bg); margin-right:-10px; box-shadow:var(--shadow-sm); }
.proof-text { font-size:13px; color:var(--gray-500); font-weight:500; padding-left:14px; }

.hero-visual { position:relative; display:flex; justify-content:center; animation:fadeUp 1s ease .1s both; }
.hero-glow { position:absolute; inset:-16% -10%; background:radial-gradient(circle at 60% 35%,rgba(45,212,191,.38),transparent 60%), radial-gradient(circle at 30% 80%,rgba(139,92,246,.18),transparent 55%); filter:blur(20px); z-index:0; }
.hero-visual .mock { transform:rotate(-1.2deg); transition:transform .5s cubic-bezier(.16,1,.3,1); }
.hero-visual .mock:hover { transform:rotate(0) translateY(-4px); }

/* ─── Device: phone frame ─────────────────────────────────────── */
.phone { position:relative; z-index:2; width:300px; background:linear-gradient(160deg,#1c2940,#0b1220 40%); border-radius:46px; padding:12px; box-shadow:var(--shadow-xl), 0 0 0 2px rgba(255,255,255,.05), inset 0 1px 1px rgba(255,255,255,.18); border:1px solid rgba(255,255,255,.14); }
.phone::before { content:''; position:absolute; top:17px; left:50%; transform:translateX(-50%); width:110px; height:22px; background:#0b1220; border-radius:0 0 16px 16px; z-index:5; }
.phone::after { content:''; position:absolute; inset:12px; border-radius:34px; pointer-events:none; background:linear-gradient(105deg,rgba(255,255,255,.14),transparent 22%); z-index:6; }
.phone-screen { background:#eef2f6; border-radius:34px; overflow:hidden; }
.ph-top { background:linear-gradient(135deg,#15213a,#1e293b); color:#fff; padding:30px 16px 12px; display:flex; align-items:center; gap:11px; }
.ph-ava { width:38px; height:38px; border-radius:50%; background:var(--grad); display:flex; align-items:center; justify-content:center; flex-shrink:0; font-size:18px; }
.ph-name { font-size:14px; font-weight:700; }
.ph-status { font-size:11px; color:var(--green-300); display:flex; align-items:center; gap:5px; margin-top:1px; }
.ph-status::before { content:''; width:6px; height:6px; background:var(--green-400); border-radius:50%; }
.ph-body { padding:14px 12px; display:flex; flex-direction:column; gap:8px; min-height:300px; }
.bub { max-width:85%; padding:9px 13px; border-radius:16px; font-size:13px; line-height:1.45; }
.bub-in { background:#fff; color:var(--gray-800); align-self:flex-start; border-bottom-left-radius:4px; box-shadow:var(--shadow-sm); }
.bub-out { background:var(--grad-ai); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; box-shadow:0 4px 14px rgba(99,102,241,.35); }
.bub-time { display:block; font-size:9.5px; opacity:.7; margin-top:3px; }
.typing { align-self:flex-start; background:#fff; border-radius:16px; border-bottom-left-radius:4px; padding:11px 14px; display:flex; gap:4px; box-shadow:var(--shadow-sm); }
.typing span { width:6px; height:6px; background:var(--gray-400); border-radius:50%; animation:typing 1.4s infinite; }
.typing span:nth-child(2){animation-delay:.2s} .typing span:nth-child(3){animation-delay:.4s}

/* Плавающий чип «запись подтверждена» */
.float-chip { position:absolute; z-index:3; background:rgba(255,255,255,.92); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px); border:1px solid var(--gray-200); border-radius:18px; padding:12px 15px; box-shadow:var(--shadow-lg),var(--ring); display:flex; align-items:center; gap:11px; }
.float-chip .fc-ic { width:34px; height:34px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.float-chip .fc-t { font-size:13px; font-weight:700; color:var(--gray-900); line-height:1.2; }
.float-chip .fc-s { font-size:11px; color:var(--gray-500); }
.float-chip--tl { top:18px; left:-46px; animation:floaty 5s ease-in-out infinite; }
.float-chip--br { bottom:40px; right:-40px; animation:floaty 5.5s ease-in-out infinite reverse; }

/* ─── Trust strip ─────────────────────────────────────────────── */
.trust { display:grid; grid-template-columns:repeat(4,1fr); margin:16px 0 32px; background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius); box-shadow:var(--shadow-sm); padding:8px 0; position:relative; z-index:10; }
.trust-item { padding:22px; text-align:center; }
.trust-item + .trust-item { border-left:1px solid var(--gray-100); }
.trust-num { font-family:var(--font-display); font-size:38px; font-weight:800; letter-spacing:-.03em; line-height:1; background:linear-gradient(120deg,var(--ink),var(--green-700)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.trust-num span { font-size:22px; }
.trust-label { font-size:11.5px; color:var(--gray-400); font-weight:700; text-transform:uppercase; letter-spacing:.08em; margin-top:8px; }

/* ─── Банды: full-width подложки для ритма секций ─────────────── */
.band { position:relative; z-index:5; }
.band--mist {
    background:linear-gradient(180deg,var(--mist) 0%,#f7faf8 100%);
    border-top:1px solid var(--mist-edge);
    border-bottom:1px solid var(--mist-edge);
}
.band--mist::before {
    content:''; position:absolute; inset:0; pointer-events:none;
    background:radial-gradient(720px 320px at 50% 0,rgba(16,185,129,.07),transparent 70%);
}
.band--dark { background:var(--ink-deep); }

/* ─── Feature rows (alternating) ─────────────────────────────── */
.feature-row { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; padding:72px 0; }
.feature-row.reverse .feature-text { order:2; }
.feature-row.reverse .feature-media { order:1; }
.feature-text h3 { font-size:clamp(26px,3vw,38px); font-weight:800; color:var(--ink); letter-spacing:-.03em; line-height:1.12; margin:16px 0 14px; }
.feature-text p { font-size:18px; color:var(--ink-soft); line-height:1.65; margin-bottom:20px; }
.feature-list { list-style:none; display:flex; flex-direction:column; gap:11px; }
.feature-list li { display:flex; align-items:flex-start; gap:11px; font-size:15px; color:var(--gray-700); }
.feature-list li::before { content:'✓'; flex-shrink:0; width:22px; height:22px; border-radius:7px; background:var(--green-100); color:var(--green-700); font-weight:800; font-size:12px; display:flex; align-items:center; justify-content:center; margin-top:1px; }
.eyebrow--blue { color:var(--blue-600); background:#eff6ff; border-color:#dbeafe; }
.eyebrow--purple { color:#7c3aed; background:#f5f3ff; border-color:#ede9fe; }
.eyebrow--amber { color:#b45309; background:#fffbeb; border-color:#fef3c7; }

/* медиа-обёртка: «устройство» с подсветкой */
.feature-media { position:relative; display:flex; justify-content:center; }
.feature-media .glow { position:absolute; inset:-8%; border-radius:40px; background:radial-gradient(circle at 50% 40%,rgba(16,185,129,.14),transparent 65%); z-index:0; }
.fr--amber .glow { background:radial-gradient(circle at 50% 40%,rgba(245,158,11,.16),transparent 65%); }
.fr--blue .glow { background:radial-gradient(circle at 50% 40%,rgba(59,130,246,.15),transparent 65%); }
.fr--purple .glow,
.feature-row--ai .glow { background:radial-gradient(circle at 50% 40%,rgba(139,92,246,.18),transparent 65%); }

/* ── AI-панель: feature-row как полноразмерная карточка ── */
.feature-row--ai {
    background:linear-gradient(150deg,var(--ai-tint),#fdfcff 60%,#f4f7ff);
    border:1px solid #e9e4fb; border-radius:var(--radius-lg);
    padding:64px 56px; margin:24px 0;
    box-shadow:0 24px 64px -24px rgba(124,58,237,.14);
    overflow:hidden; position:relative;
}
.feature-row--ai::before { content:''; position:absolute; top:-180px; right:-120px; width:480px; height:480px; border-radius:50%; background:radial-gradient(circle,rgba(124,58,237,.16),transparent 65%); pointer-events:none; }
.feature-row--ai .eyebrow--purple { background:var(--grad-ai); color:#fff; border:none; }
.feature-row--ai .feature-list li::before { background:#ede9fe; color:var(--violet-600); }

/* ── Browser-mock (общий каркас экранов кабинета) ── */
.mock { position:relative; z-index:1; width:100%; max-width:470px; background:var(--white); border:none; border-radius:22px; box-shadow:var(--shadow-mock),var(--ring); overflow:hidden; }
.mock::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(115deg,rgba(255,255,255,.55) 0%,transparent 30%); opacity:.5; }
.mock-bar { display:flex; align-items:center; gap:6px; padding:12px 16px; background:linear-gradient(180deg,#fbfdfc,var(--gray-50)); border-bottom:1px solid var(--gray-100); }
.mock-bar i { width:10px; height:10px; border-radius:50%; display:inline-block; }
.mock-bar i:nth-child(1){background:#ff5f57} .mock-bar i:nth-child(2){background:#febc2e} .mock-bar i:nth-child(3){background:#28c840}
.mock-bar .mock-url { margin-left:10px; font-size:11px; color:var(--gray-400); font-weight:600; }
.mock-body { padding:18px; }
.feature-media .mock { transition:transform .5s cubic-bezier(.16,1,.3,1); }
.feature-media:hover .mock { transform:translateY(-6px); }

/* ── Мокап: недельный календарь ── */
.mk-cal-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
.mk-cal-title { font-size:13px; font-weight:800; color:var(--gray-900); }
.mk-cal-nav { display:flex; gap:5px; }
.mk-cal-nav b { width:22px; height:22px; border-radius:7px; background:var(--gray-100); color:var(--gray-500); font-size:12px; display:flex; align-items:center; justify-content:center; }
.mk-cal-grid { display:grid; grid-template-columns:26px repeat(5,1fr); gap:5px; }
.mk-cal-grid .d { font-size:9.5px; font-weight:700; color:var(--gray-400); text-align:center; text-transform:uppercase; }
.mk-cal-grid .h { font-size:9px; color:var(--gray-300); text-align:right; padding-right:3px; }
.mk-cal-col { display:flex; flex-direction:column; gap:5px; }
.ev { border-radius:7px; padding:5px 7px; font-size:9.5px; font-weight:700; line-height:1.25; }
.ev small { display:block; font-weight:600; opacity:.75; font-size:8.5px; }
.ev.g { background:var(--green-100); color:var(--green-700); }
.ev.b { background:#dbeafe; color:#1d4ed8; }
.ev.p { background:#ede9fe; color:#6d28d9; }
.ev.a { background:#fef3c7; color:#92400e; }
.ev.empty { background:var(--gray-50); border:1px dashed var(--gray-200); height:22px; }

/* ── Мокап: CRM-карточка клиента ── */
.mk-crm-head { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.mk-crm-ava { width:46px; height:46px; border-radius:14px; background:var(--grad); color:#fff; font-size:18px; font-weight:800; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.mk-crm-name { font-size:15px; font-weight:800; color:var(--gray-900); }
.mk-crm-phone { font-size:12px; color:var(--gray-400); }
.mk-tags { display:flex; gap:6px; flex-wrap:wrap; margin-bottom:14px; }
.mk-tag { font-size:10.5px; font-weight:700; padding:3px 10px; border-radius:20px; background:var(--green-50); color:var(--green-700); }
.mk-tag.b { background:#eff6ff; color:#1d4ed8; }
.mk-tag.a { background:#fffbeb; color:#b45309; }
.mk-crm-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin-bottom:14px; }
.mk-crm-stat { background:var(--gray-50); border-radius:12px; padding:9px; text-align:center; }
.mk-crm-stat b { display:block; font-size:18px; font-weight:900; color:var(--gray-900); }
.mk-crm-stat span { font-size:9.5px; color:var(--gray-400); font-weight:600; }
.mk-note { font-size:11.5px; color:var(--gray-600); background:#fffdf5; border:1px solid #fef3c7; border-radius:10px; padding:9px 11px; }
.mk-note b { color:#92400e; }

/* ── Мокап: выбор мастера ── */
.mk-staff-row { display:flex; align-items:center; gap:11px; padding:11px; border:1px solid var(--gray-200); border-radius:14px; margin-bottom:8px; transition:.2s; }
.mk-staff-row.sel { border-color:var(--green-400); background:var(--green-50); box-shadow:0 0 0 3px rgba(16,185,129,.12); }
.mk-staff-ava { width:38px; height:38px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:17px; flex-shrink:0; }
.mk-staff-ava.g{background:var(--green-100)} .mk-staff-ava.b{background:#dbeafe} .mk-staff-ava.p{background:#ede9fe}
.mk-staff-name { font-size:13px; font-weight:700; color:var(--gray-900); }
.mk-staff-meta { font-size:11px; color:var(--gray-400); }
.mk-staff-slot { margin-left:auto; font-size:11px; font-weight:700; color:var(--green-600); background:var(--green-50); padding:4px 9px; border-radius:8px; }

/* ── Мокап: форма онлайн-записи ── */
.mk-form-label { display:block; font-size:10px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; color:var(--gray-400); margin:12px 0 7px; }
.mk-form-label:first-child { margin-top:0; }
.mk-slots { display:flex; flex-wrap:wrap; gap:6px; }
.mk-slot { font-size:11.5px; font-weight:700; color:var(--gray-600); background:var(--gray-50); border:1px solid var(--gray-200); padding:6px 12px; border-radius:9px; }
.mk-slot.on { color:#fff; background:var(--green-600); border-color:var(--green-600); box-shadow:0 2px 8px rgba(16,185,129,.35); }
.mk-form-btn { display:block; width:100%; text-align:center; margin-top:14px; font-size:13px; font-weight:800; color:#fff; background:var(--grad); border-radius:12px; padding:11px; box-shadow:0 4px 14px rgba(16,185,129,.3); }
.mk-note.g { background:var(--green-50); border-color:var(--green-200); }
.mk-note.g b { color:var(--green-700); }

/* ── Мокап: запись в календаре телефона (мини) ── */
.mk-phone-ev { background:var(--gray-50); border-left:3px solid var(--green-500); border-radius:8px; padding:10px 12px; margin-bottom:8px; }
.mk-phone-ev .t { font-size:12.5px; font-weight:700; color:var(--gray-900); }
.mk-phone-ev .s { font-size:11px; color:var(--gray-500); }
.mk-phone-ev.b { border-left-color:var(--blue-500); }

/* ─── Bento grid (мелкие фичи) ───────────────────────────────── */
.bento { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.bento-card { background:var(--white); border:1px solid transparent; border-radius:var(--radius); padding:30px 26px; box-shadow:var(--shadow-sm),var(--ring); transition:transform .35s,box-shadow .35s; position:relative; }
.bento-card::before { content:''; position:absolute; inset:0; border-radius:inherit; padding:1px;
    background:linear-gradient(135deg,var(--green-300),var(--teal-400) 50%,var(--blue-400));
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
    -webkit-mask-composite:xor; mask-composite:exclude;
    opacity:0; transition:opacity .35s; pointer-events:none; }
.bento-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }
a.bento-card { display:block; text-decoration:none; color:inherit; cursor:pointer; }
.bento-card:hover::before { opacity:1; }
.bento-card:hover .bento-ic { transform:scale(1.08) rotate(-3deg); }
.bento-ic { width:48px; height:48px; border-radius:15px; display:flex; align-items:center; justify-content:center; font-size:23px; margin-bottom:16px; transition:transform .35s; }
.ic-green{background:linear-gradient(135deg,var(--green-100),var(--green-200))} .ic-blue{background:linear-gradient(135deg,#dbeafe,#bfdbfe)} .ic-purple{background:linear-gradient(135deg,#ede9fe,#ddd6fe)} .ic-amber{background:linear-gradient(135deg,#fef3c7,#fde68a)}
.bento-card h4 { font-size:17px; font-weight:800; color:var(--gray-900); margin-bottom:7px; letter-spacing:-.01em; }
.bento-card p { font-size:14px; color:var(--gray-600); line-height:1.6; }

/* ─── Steps ───────────────────────────────────────────────────── */
.steps { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; counter-reset:step; }
.step { background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius); padding:30px 28px; box-shadow:var(--shadow-sm); position:relative; transition:transform .35s,box-shadow .35s; }
.step:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.step-num { width:48px; height:48px; border-radius:15px; background:var(--grad); color:#fff; font-family:var(--font-display); font-size:21px; font-weight:800; display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-green), inset 0 1px 0 rgba(255,255,255,.35); margin-bottom:18px; }
.step h4 { font-size:17px; font-weight:800; color:var(--ink); margin-bottom:9px; }
.step p { font-size:14px; color:var(--gray-600); margin-bottom:16px; }
.step-tag { display:inline-flex; font-size:12px; font-weight:700; color:var(--green-700); background:var(--green-50); border:1px solid var(--green-100); border-radius:8px; padding:4px 10px; }
.step-connector { position:absolute; top:54px; right:-22px; width:24px; height:2px; background:linear-gradient(90deg,var(--green-300),transparent); font-size:0; z-index:5; }

/* ─── Testimonials ───────────────────────────────────────────── */
.tgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.tcard { background:var(--white); border:1px solid transparent; border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-sm),var(--ring); transition:transform .35s,box-shadow .35s; }
.tcard:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.tgrid .tcard:nth-child(4) { background:linear-gradient(165deg,#fbfaff,var(--white) 50%); box-shadow:var(--shadow-sm), 0 0 0 1px #ede9fe; }
.tstars { color:var(--amber-500); font-size:15px; letter-spacing:2px; margin-bottom:12px; text-shadow:0 0 12px rgba(245,158,11,.35); }
.ttext { font-size:14.5px; color:var(--gray-700); line-height:1.7; margin-bottom:16px; }
.tfoot { display:flex; align-items:center; gap:11px; }
.tava { width:42px; height:42px; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; flex-shrink:0; }
.tname { font-size:13.5px; font-weight:700; color:var(--gray-900); }
.trole { font-size:11.5px; color:var(--gray-400); }

/* ─── Pricing ─────────────────────────────────────────────────── */
.pricing-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; max-width:760px; margin:0 auto; position:relative; }
.pricing-grid::before { content:''; position:absolute; inset:-60px -16px; background:radial-gradient(560px 360px at 65% 40%,rgba(16,185,129,.10),transparent 70%); z-index:-1; pointer-events:none; }
.pcard { background:var(--white); border:1px solid var(--gray-200); border-radius:var(--radius-lg); padding:40px 36px; box-shadow:var(--shadow); position:relative; transition:transform .35s,box-shadow .35s; }
.pcard:hover { transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.pcard--feat { border-color:transparent; box-shadow:0 0 0 2px var(--green-400), 0 32px 72px -20px rgba(16,185,129,.28); background:linear-gradient(165deg,var(--green-50),var(--white) 55%); transform:scale(1.02); }
.pcard--feat:hover { transform:scale(1.02) translateY(-5px); }
.pbadge { position:absolute; top:18px; right:20px; background:var(--grad); color:#fff; font-size:11.5px; font-weight:800; padding:4px 11px; border-radius:20px; box-shadow:0 4px 12px rgba(16,185,129,.35); }
.plabel { font-size:13px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; color:var(--gray-500); margin-bottom:12px; }
.pamount { font-family:var(--font-display); font-size:56px; font-weight:800; color:var(--ink); letter-spacing:-.04em; line-height:1; }
.pamount span { font-size:30px; }
.pperiod { font-size:14px; color:var(--gray-400); margin:4px 0 28px; }
.plist { list-style:none; margin-bottom:30px; display:flex; flex-direction:column; gap:1px; }
.plist li { font-size:14.5px; color:var(--gray-700); padding:9px 0; border-bottom:1px solid var(--gray-100); display:flex; gap:10px; align-items:flex-start; }
.plist li::before { content:'✓'; color:var(--green-500); font-weight:800; flex-shrink:0; }
.plist li.base { color:var(--gray-400); font-size:13px; }
.plist li.base::before { content:'★'; color:var(--gray-300); }
.pbtn { width:100%; }

/* ─── FAQ ─────────────────────────────────────────────────────── */
.faq-list { max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:12px; }
.faq-item { background:var(--white); border:1px solid transparent; border-radius:20px; box-shadow:var(--shadow-sm),var(--ring); overflow:hidden; transition:box-shadow .3s,background .3s; }
.faq-item.open { box-shadow:var(--shadow-lg); background:linear-gradient(180deg,var(--white),#fbfdfc); }
.faq-q { width:100%; background:none; border:none; text-align:left; padding:20px 24px; font-size:16px; font-weight:700; color:var(--ink); cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; font-family:inherit; }
.faq-q:hover { color:var(--green-600); }
.faq-q::after { content:'+'; width:28px; height:28px; border-radius:50%; background:var(--green-50); color:var(--green-700); display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:600; transition:transform .3s,background .3s,color .3s; flex-shrink:0; }
.faq-item.open .faq-q::after { content:'−'; background:var(--green-600); color:#fff; transform:rotate(180deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .35s ease,padding .35s ease; }
.faq-item.open .faq-a { max-height:480px; padding:0 24px 22px; }
.faq-a p { font-size:15px; color:var(--gray-600); line-height:1.7; }
.faq-a a { color:var(--green-600); }

/* ─── CTA ─────────────────────────────────────────────────────── */
.cta { padding:80px 0 110px; }
.cta-card { background:linear-gradient(150deg,#101a2e,var(--ink-deep)); border-radius:40px; padding:80px 48px; max-width:840px; margin:0 auto; text-align:center; position:relative; overflow:hidden; box-shadow:var(--shadow-xl), inset 0 1px 0 rgba(255,255,255,.07); }
.cta-card::before { content:''; position:absolute; top:-40%; left:50%; transform:translateX(-50%); width:600px; height:600px; background:radial-gradient(circle,rgba(16,185,129,.28),transparent 60%); }
.cta-card::after { content:''; position:absolute; bottom:-50%; right:-10%; width:480px; height:480px; background:radial-gradient(circle,rgba(124,58,237,.22),transparent 60%); }
.cta-card > * { position:relative; z-index:1; }
.cta-card h2 { font-size:clamp(28px,3.6vw,44px); font-weight:800; color:#fff; letter-spacing:-.03em; margin-bottom:14px; }
.cta-card p { font-size:17px; color:rgba(255,255,255,.66); line-height:1.6; margin-bottom:28px; }
.cta-feats { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 22px; margin-bottom:32px; }
.cta-feat { display:flex; align-items:center; gap:8px; font-size:14.5px; color:rgba(255,255,255,.8); }
.cta-feat .ck { color:var(--green-400); font-weight:800; }
.cta-disclaimer { margin-top:16px; font-size:13px; color:rgba(255,255,255,.4); }

/* ─── Footer (тёмный банд) ────────────────────────────────────── */
footer { padding:44px 0; display:flex; justify-content:space-between; align-items:center; color:rgba(255,255,255,.45); font-size:14px; flex-wrap:wrap; gap:16px; }
.footer-link { color:var(--green-300); text-decoration:none; font-weight:600; }
.footer-link:hover { color:var(--green-200); }

/* ─── Back to top ─────────────────────────────────────────────── */
.back-to-top { position:fixed; bottom:24px; right:24px; z-index:300; width:46px; height:46px; background:var(--ink-900); color:#fff; border:none; border-radius:13px; font-size:18px; cursor:pointer; display:none; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); transition:transform .3s; }
.back-to-top.visible { display:flex; }
.back-to-top:hover { transform:translateY(-3px); }

/* ─── Animations ──────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(34px); } to { opacity:1; transform:translateY(0); } }
@keyframes pulse { 0%,100% { box-shadow:0 0 0 0 rgba(16,185,129,.5); } 50% { box-shadow:0 0 0 9px rgba(16,185,129,0); } }
@keyframes typing { 0%,60%,100% { transform:translateY(0); opacity:.5; } 30% { transform:translateY(-5px); opacity:1; } }
@keyframes floaty { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
.animate-in { opacity:0; transform:translateY(26px); }
.animate-in.visible { opacity:1; transform:translateY(0); transition:opacity .7s cubic-bezier(.16,1,.3,1),transform .7s cubic-bezier(.16,1,.3,1); }

/* Стаггер появления карточек в сетках */
.bento .animate-in.visible:nth-child(2),
.tgrid .animate-in.visible:nth-child(2),
.steps .animate-in.visible:nth-child(2) { transition-delay:.07s; }
.bento .animate-in.visible:nth-child(3),
.tgrid .animate-in.visible:nth-child(3),
.steps .animate-in.visible:nth-child(3) { transition-delay:.14s; }
.bento .animate-in.visible:nth-child(4),
.tgrid .animate-in.visible:nth-child(4) { transition-delay:.21s; }
.bento .animate-in.visible:nth-child(5),
.tgrid .animate-in.visible:nth-child(5) { transition-delay:.28s; }
.bento .animate-in.visible:nth-child(6),
.tgrid .animate-in.visible:nth-child(6) { transition-delay:.35s; }
.bento .animate-in.visible:nth-child(7),
.tgrid .animate-in.visible:nth-child(7) { transition-delay:.42s; }

/* ─── Section spacing helper ─────────────────────────────────── */
.section { padding:96px 0; }
.section-tight { padding:28px 0; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width:980px) {
    .hero { grid-template-columns:1fr; gap:40px; text-align:center; padding:56px 0 40px; }
    .hero-content { align-items:center; }
    .hero p { margin-left:auto; margin-right:auto; }
    .hero-visual { order:-1; }
    .hero-visual .mock { transform:none; }
    .feature-row { grid-template-columns:1fr; gap:36px; padding:48px 0; }
    .feature-row.reverse .feature-text { order:0; }
    .feature-row.reverse .feature-media { order:0; }
    .feature-row--ai { padding:44px 28px; }
    .feature-text { text-align:center; }
    .feature-text .eyebrow { align-self:center; }
    .feature-list { max-width:440px; margin:0 auto; text-align:left; }
    .bento { grid-template-columns:repeat(2,1fr); }
    .steps { grid-template-columns:1fr; }
    .step-connector { display:none; }
    .tgrid { grid-template-columns:1fr 1fr; }
}

@media (max-width:768px) {
    .nav-links { display:none; }
    .mobile-menu-btn { display:flex; }
}

@media (max-width:640px) {
    .container { padding:0 18px; }
    .section, .cta { padding:56px 0; }
    .hero h1 { font-size:36px; }
    .hero p { font-size:16px; }
    .hero-actions { width:100%; flex-direction:column; }
    .hero-actions .btn { width:100%; }
    .section-head { margin-bottom:38px; }
    .section-sub { font-size:16px; }
    .trust { grid-template-columns:1fr 1fr; padding:0; }
    .trust-item { padding:18px 12px; }
    .trust-item + .trust-item { border-left:none; }
    .trust-item:nth-child(even) { border-left:1px solid var(--gray-100); }
    .trust-item:nth-child(n+3) { border-top:1px solid var(--gray-100); }
    .trust-num { font-size:28px; }
    .bento { grid-template-columns:1fr; }
    .tgrid { grid-template-columns:1fr; }
    .pricing-grid { grid-template-columns:1fr; }
    .pcard { padding:28px 24px; }
    .pcard--feat { transform:none; }
    .pcard--feat:hover { transform:translateY(-5px); }
    .float-chip--tl { left:-10px; top:6px; transform:scale(.85); }
    .float-chip--br { right:-6px; bottom:18px; transform:scale(.85); }
    .feature-media .mock { max-width:340px; }
    .feature-row--ai { padding:36px 22px; margin:16px 0; }
    .btn-lg { padding:15px 26px; font-size:15.5px; }
    .cta-card { padding:48px 24px; border-radius:32px; }
    footer { flex-direction:column; align-items:flex-start; }
}
