:root {
  color-scheme: light;
  --bg: #071d18;
  --bg-soft: #0d3027;
  --green: #114236;
  --gold: #d9b871;
  --gold-dark: #684a13;
  --cream: #f6f0e4;
  --ink: #202923;
  --muted: #53615b;
  --line: #e3dac8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--cream); background: var(--bg); }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1100px, calc(100% - 36px)); margin: 0 auto; }
.top { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(217,184,113,.2); background: rgba(7,29,24,.96); backdrop-filter: blur(12px); }
.top .wrap { min-height: 66px; display: flex; align-items: center; gap: 18px; }
.brand { margin-right: auto; color: #f7e6b6; font: 600 25px/1 Georgia, serif; text-decoration: none; white-space: nowrap; }
.topnav { display: flex; align-items: center; gap: 16px; }
.topnav a { color: #d9e5df; font-size: 14px; font-weight: 650; text-decoration: none; }
.topnav a[aria-current="page"] { color: #f7e6b6; }
.lang { display: flex; border: 1px solid rgba(217,184,113,.35); border-radius: 10px; padding: 2px; }
.lang button { border: 0; border-radius: 7px; background: transparent; color: #d9e5df; cursor: pointer; padding: 6px 9px; font-size: 12px; font-weight: 800; }
.lang button[aria-pressed="true"] { background: var(--gold); color: #201704; }
.hero { position: relative; overflow: hidden; padding: clamp(58px, 8vw, 100px) 0 72px; background: radial-gradient(85% 100% at 12% 0%, #164b3e 0, var(--bg) 75%); }
.hero:after { content: ""; position: absolute; right: -100px; top: 20px; width: 440px; height: 440px; border: 1px solid rgba(217,184,113,.15); border-radius: 50%; box-shadow: 0 0 0 34px rgba(217,184,113,.025), 0 0 0 80px rgba(217,184,113,.02); pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(250px, .6fr); gap: 56px; align-items: center; }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 800px; margin: 16px 0; font: 500 clamp(42px, 6vw, 68px)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
h2 { margin-bottom: 12px; font: 500 clamp(32px, 4vw, 48px)/1.12 Georgia, "Times New Roman", serif; }
h3 { margin-bottom: 8px; font-size: 19px; line-height: 1.3; }
.lead { max-width: 700px; color: #d8e2dc; font-size: clamp(17px, 2vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { min-height: 48px; display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 12px 20px; border: 1px solid var(--gold); border-radius: 99px; background: transparent; color: #f7e6b6; font-weight: 750; text-decoration: none; cursor: pointer; transition: transform .16s ease, background .16s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { border-color: transparent; background: linear-gradient(135deg, #f7e6b6, #d9b871 65%, #b58a3d); color: #241b08; }
.btn.light { border-color: #8b6725; color: #503a0b; }
.hero-card { padding: 24px; border: 1px solid rgba(217,184,113,.55); border-radius: 24px; background: rgba(7,29,24,.56); box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.hero-card strong { display: block; color: #f7e6b6; font: 500 30px/1.1 Georgia, serif; }
.hero-card p { margin: 8px 0 0; color: #d8e2dc; font-size: 14px; }
.section { padding: 76px 0; }
.section.light { background: var(--cream); color: var(--ink); }
.section.light .lead { color: #53615b; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 32px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 12px 30px rgba(39,33,21,.06); }
.card p, .card li, .card .muted { color: #4d5a54; }
.icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 14px; border-radius: 14px; background: #f2e8d4; color: #5b410b; font-weight: 900; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 32px; counter-reset: step; }
.steps .card { counter-increment: step; }
.steps .card:before { content: "0" counter(step); display: block; margin-bottom: 16px; color: var(--gold-dark); font: 500 34px/1 Georgia, serif; }
.pricing { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.plan { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 24px; background: #fff; color: var(--ink); }
.plan.featured { border-color: #b58a3d; background: linear-gradient(160deg, #104235, #071d18); color: var(--cream); box-shadow: 0 22px 54px rgba(7,29,24,.22); }
.plan .price { margin: 8px 0; color: inherit; font: 600 clamp(38px, 5vw, 52px)/1.1 Georgia, serif; }
.plan .price small { font: 650 14px/1.4 system-ui, sans-serif; opacity: .85; }
.plan p, .plan li { color: #4d5a54; }
.plan.featured p, .plan.featured li { color: #e4e8e3; }
.plan ul { flex: 1; padding-left: 20px; margin: 14px 0 22px; }
.plan li { padding: 4px 0; }
.plan .btn { width: 100%; }
.notice { margin: 20px 0 0; padding: 14px 16px; border-left: 4px solid var(--gold); border-radius: 10px; background: rgba(217,184,113,.12); color: #f1e6cd; }
.section.light .notice { background: #f2e8d4; color: #303a34; }
.faq { display: grid; gap: 10px; margin-top: 26px; }
.faq details { padding: 18px 20px; border: 1px solid rgba(217,184,113,.32); border-radius: 14px; background: rgba(255,255,255,.035); }
.section.light .faq details { border-color: var(--line); background: #fff; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin: 10px 0 0; color: #d8e2dc; }
.section.light .faq p { color: #4d5a54; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.footer { padding: 30px 0; border-top: 1px solid rgba(217,184,113,.2); color: #c5d1cb; font-size: 14px; }
.footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
[hidden] { display: none !important; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #704f13; }
.section.light a:focus-visible, .section.light button:focus-visible, .section.light summary:focus-visible { outline-color: #1c2d25; }
@media (max-width: 760px) {
  .wrap { width: min(100% - 28px, 620px); }
  .top .wrap { min-height: 60px; gap: 10px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand { font-size: 22px; }
  .topnav { order: 3; width: 100%; justify-content: center; padding-bottom: 4px; }
  .hero { padding: 54px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-card { max-width: 440px; }
  .section { padding: 58px 0; }
  .cards, .steps, .pricing { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .topnav { gap: 10px; font-size: 13px; }
  .topnav a { font-size: 13px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .card, .plan { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* контраст на светлых секциях: золотой текст и светлые кнопки там не читаются */
.section.light .kicker { color: var(--gold-dark); }
.section.light .btn:not(.primary) { border-color: #8b6725; color: #503a0b; }

/* ---------- тарифы ---------- */
.pricing.three { grid-template-columns: repeat(3, minmax(0,1fr)); align-items: stretch; }
.plan { position: relative; }
.plan .ribbon { position: absolute; top: -13px; left: 24px; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 800; letter-spacing: .02em; background: linear-gradient(135deg, #f7e6b6, #d9b871 60%, #b58a3d); color: #241b08; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.plan .per { margin: -2px 0 10px; font-size: 14.5px; font-weight: 700; }
.plan .per s { opacity: .6; font-weight: 600; margin-right: 6px; }
.plan .save { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: #e3f4ea; color: #1b6b47; font-size: 12.5px; font-weight: 800; }
.plan.featured .save { background: rgba(95,211,154,.18); color: #9be8c0; }
.plan ul { list-style: none; padding-left: 0; }
.plan li { position: relative; padding-left: 26px; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 4px; font-weight: 900; color: #b58a3d; }
.plan.featured li::before { color: #d9b871; }
/* «Сделаем за вас»: такая же «дорогая», как тёмная карточка, но светлая — шампань с золотом */
.plan.premium { border: 1px solid #c9a352; background: radial-gradient(120% 90% at 100% 0%, #fff7e2 0%, #f6e8c6 55%, #ecd7a6 100%); color: #2a2110; box-shadow: 0 22px 54px rgba(120,86,20,.22), inset 0 1px 0 rgba(255,255,255,.8); }
.plan.premium h3 { color: #3a2b0c; }
.plan.premium .price { background: linear-gradient(100deg, #6b4a12, #a27526 45%, #6b4a12); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan.premium .price small { color: #6b5426; -webkit-text-fill-color: #6b5426; }
.plan.premium p, .plan.premium li { color: #4a3c1f; }
.plan.premium li::before { color: #8a6420; }
.plan.premium .ribbon { background: #0e3a31; color: #f7e6b6; }
.btn.dark { border-color: transparent; background: linear-gradient(135deg, #165545, #0b2b23); color: #f7e6b6; box-shadow: 0 12px 26px rgba(11,43,35,.28); }
.section.light .btn.dark:not(.primary) { color: #f7e6b6; border-color: transparent; }
.allin { margin-top: 26px; padding: 22px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.allin h3 { margin: 0 0 10px; font-size: 17px; }
.allin ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px 18px; }
.allin li { position: relative; padding-left: 24px; color: #4d5a54; font-size: 15px; }
.allin li::before { content: "✓"; position: absolute; left: 0; color: #b58a3d; font-weight: 900; }
.section:not(.light) .allin { background: rgba(255,255,255,.04); border-color: rgba(217,184,113,.3); color: var(--cream); }
.section:not(.light) .allin li { color: #d8e2dc; }
@media (max-width: 900px) { .pricing.three { grid-template-columns: 1fr; } .allin ul { grid-template-columns: 1fr; } .plan .ribbon { left: 20px; } .pricing.three .plan { margin-top: 8px; } }

/* ---------- документы ---------- */
.doc .wrap { max-width: 820px; }
.doc h1 { color: var(--ink); font-size: clamp(34px, 5vw, 48px); }
.doc h2 { font: 700 20px/1.3 system-ui, sans-serif; margin: 28px 0 8px; color: var(--ink); }
.doc p, .doc li { color: #3d4944; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .muted { color: #5b6661; }
.doc .small { font-size: 13.5px; }
.footer a { color: #e6d6ad; }
.price.gold { background: linear-gradient(100deg, #cfa85a, #f7e6b6 40%, #d9b871 60%, #cfa85a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price.gold small { -webkit-text-fill-color: #e4e8e3; }
.pricing.three .plan .price { font-size: clamp(32px, 3.4vw, 42px); white-space: nowrap; }
.plan .price small { white-space: nowrap; }

/* логотип: шаңырақ */
.brand { display: inline-flex; align-items: center; gap: 11px; }
.mark { flex: none; display: block; border-radius: 24%; box-shadow: 0 3px 10px rgba(0,0,0,.3), 0 0 0 1px rgba(217,185,111,.3); }
.fbrand .mark { display: inline-block; vertical-align: -6px; margin-right: 8px; box-shadow: none; }
@media (max-width: 760px) { .brand .mark { width: 30px; height: 30px; } }
