:root {
  --violet: #7F77DD; --pink: #D4537E; --peach: #F0997B; --mint: #5EE6C9;
  --ink: #2B2438; --muted: #6B5A4C; --soft: #9C8CA6; --bg: #FDFCFA; --card: #FFFFFF; --line: #EEE7F4;
  --grad: linear-gradient(135deg, var(--violet), var(--pink), var(--peach));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; overflow-x: hidden; }
a { color: var(--violet); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 20; background: rgba(253,252,250,0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.top .logo img { height: 40px; width: auto; }
.top nav { display: flex; gap: 20px; align-items: center; font-size: 14px; font-weight: 600; }
.top nav a { color: var(--ink); text-decoration: none; }
.top nav a.hide-sm { }
@media (max-width: 720px) { .top nav a.hide-sm { display: none; } }

.btn { display: inline-block; background: var(--grad); color: #fff !important; text-decoration: none; font-weight: 800; padding: 14px 24px; border-radius: 16px; box-shadow: 0 8px 20px rgba(127,119,221,0.35); border: none; font-size: 16px; cursor: pointer; text-align: center; }
.btn.small { padding: 9px 16px; font-size: 14px; border-radius: 12px; box-shadow: none; }
.btn.ghost { background: #fff; color: var(--violet) !important; border: 1.5px solid #E0D8ED; box-shadow: none; }

/* первый экран */
.hero { position: relative; padding: 64px 0 48px; overflow: hidden; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 44% 56% 60% 40% / 50% 45% 55% 50%; z-index: -1; }
.hero::before { width: 420px; height: 380px; right: -120px; top: -80px; background: linear-gradient(135deg, rgba(127,119,221,0.25), rgba(94,230,201,0.22)); }
.hero::after { width: 320px; height: 300px; left: -140px; bottom: -60px; background: linear-gradient(135deg, rgba(240,153,123,0.25), rgba(212,83,126,0.2)); }
.hero .grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; }
.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--violet); margin-bottom: 12px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.08; font-weight: 900; margin-bottom: 18px; }
.hero h1 span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; max-width: 520px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { font-size: 13px; color: var(--soft); margin-top: 14px; }
.hero-card { background: var(--grad); border-radius: 28px; padding: 28px; color: #fff; box-shadow: 0 24px 50px rgba(127,119,221,0.35); }
.hero-card img { width: 70%; margin: 0 auto 18px; }
.hero-card .row { background: rgba(255,255,255,0.16); border-radius: 16px; padding: 12px 14px; margin-top: 10px; font-weight: 700; display: flex; justify-content: space-between; gap: 10px; }
@media (max-width: 820px) { .hero .grid { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }

section { padding: 56px 0; }
h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 900; margin-bottom: 10px; }
.sub { color: var(--muted); margin-bottom: 28px; max-width: 640px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: 0 8px 22px rgba(127,119,221,0.1); }
.step::before { counter-increment: s; content: counter(s); display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 900; align-items: center; justify-content: center; margin-bottom: 12px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.p-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 6px 18px rgba(127,119,221,0.1); }
.p-card .ph { height: 130px; background: #EDE9F7 center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 38px; }
.p-card .bd { padding: 14px; }
.p-card .nm { font-weight: 800; }
.p-card .ct { font-size: 12px; color: var(--soft); margin-bottom: 6px; }
.p-card .pk { font-weight: 800; background: linear-gradient(90deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.empty { color: var(--soft); }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--card); border: 1.5px solid var(--line); border-radius: 22px; padding: 24px; text-align: center; }
.plan.best { border-color: var(--pink); box-shadow: 0 12px 30px rgba(212,83,126,0.18); }
.plan .nm { font-weight: 800; margin-bottom: 6px; }
.plan .pr { font-size: 34px; font-weight: 900; background: linear-gradient(90deg, var(--violet), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .pm { font-size: 13px; color: var(--soft); }
.plans-note { font-size: 13px; color: var(--soft); margin-top: 14px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }

.charity { background: var(--grad); color: #fff; border-radius: 28px; padding: 36px; display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.charity .big { font-size: 72px; font-weight: 900; line-height: 1; }
.charity p { opacity: 0.95; }
@media (max-width: 720px) { .charity { grid-template-columns: 1fr; padding: 26px; } .charity .big { font-size: 56px; } }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { font-weight: 800; cursor: pointer; }
.faq details p { color: var(--muted); margin-top: 10px; font-size: 15px; }

footer { background: #231D30; color: #CFC6DD; padding: 40px 0 90px; font-size: 14px; }
footer .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
footer a { color: #fff; }
footer .links a { display: block; margin-bottom: 6px; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr; } }

/* юридические страницы */
.doc { max-width: 820px; margin: 0 auto; padding: 40px 16px 80px; }
.doc h1 { font-size: clamp(24px, 4vw, 32px); font-weight: 900; margin-bottom: 6px; }
.doc .ed { color: var(--soft); font-size: 14px; margin-bottom: 26px; }
.doc h2 { font-size: 19px; margin: 28px 0 10px; }
.doc p, .doc li { margin-bottom: 10px; }
.doc ul { padding-left: 22px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 14.5px; }
.doc td, .doc th { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: #F5F2FB; }

/* уведомление о cookie */
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin: 0 auto; background: #2C2456; color: #fff; border-radius: 16px; padding: 14px 16px; font-size: 13.5px; display: flex; gap: 14px; align-items: center; box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
.cookie-bar a { color: #F0C0D0; }
.cookie-bar button { flex-shrink: 0; background: #fff; color: #2C2456; border: none; border-radius: 10px; padding: 9px 14px; font-weight: 800; cursor: pointer; }
