/* ============================================================
   Қарттар қазынасы — многостраничный сайт
   Структура: gold_app · Дизайн: website (тема «Табиғат»)
   Чистый CSS, без фреймворков.
   ============================================================ */

:root {
  --font-display: 'Lora', Georgia, serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;

  --bg: #f6f4ec;
  --surface: #ffffff;
  --surface-alt: #eef1e6;
  --ink: #1f2a20;
  --ink-soft: #586156;
  --line: #e0e2d2;

  --accent: #4a7c45;
  --accent-strong: #3a6537;
  --accent-soft: #e7efe2;
  --accent-ink: #ffffff;

  --gold: #b0893f;
  --gold-soft: #f0e7d3;

  --dark: #1f2a20;
  --dark-2: #18211a;
  --dark-ink: #eef1e6;

  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 18px 40px -24px rgba(31,42,32,.5);
  --shadow-lg: 0 30px 60px -30px rgba(31,42,32,.55);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--ink); }

.container { width: min(1200px, 92vw); margin: 0 auto; }
.section { padding: clamp(56px, 7vw, 96px) 0; position: relative; }
.bg-alt { background: var(--surface-alt); }
.bg-surface { background: var(--surface); }

/* ---------- typography helpers ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
}
.badge--light { background: #fff; color: var(--accent-strong); }
.badge--gold { background: var(--gold-soft); color: var(--gold); }
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 50px); }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.h2 { font-size: clamp(28px, 4vw, 44px); margin: 18px 0 16px; letter-spacing: -.01em; }
.h2 em { font-style: normal; color: var(--accent); }
.title-line { width: 78px; height: 3px; background: var(--accent); border-radius: 3px; }
.sec-head--center .title-line { margin: 0 auto; }
.lead { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.7; margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px; transition: .2s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-strong); transform: translateY(-2px); }
.btn-outline { border: 1.6px solid var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-strong); }
.btn-white { background: #fff; color: var(--accent-strong); }
.btn-white:hover { background: var(--accent-soft); }
.btn-ghost-light { border: 1.6px solid rgba(255,255,255,.6); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--accent-strong); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { filter: brightness(1.07); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
/* резерв высоты шапки до инъекции JS — против скачка контента (CLS) */
#site-header { display: block; min-height: 77px; }
.hdr { position: sticky; top: 0; z-index: 80; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 22px; height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo .mark { width: 44px; height: 44px; border-radius: 13px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 24px; flex-shrink: 0; }
.logo .mark img { width: 30px; height: 30px; }
.logo .lg-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; line-height: 1.05; white-space: nowrap; }
.logo .lg-sub { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { font-size: 14.5px; font-weight: 600; color: var(--ink-soft); transition: .18s; position: relative; padding: 4px 0; }
.nav a:hover { color: var(--accent-strong); }
.nav a.active { color: var(--accent-strong); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--accent); border-radius: 2px; }
.hdr-actions { display: flex; align-items: center; gap: 10px; margin-left: 22px; }
.hdr-actions .btn { padding: 11px 18px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; flex-direction: column; gap: 5px; align-items: center; justify-content: center; flex-shrink: 0; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }

/* ============================================================
   PAGE HERO (subpages) — bg image + green overlay
   ============================================================ */
.phero { position: relative; min-height: 56vh; display: flex; align-items: center; padding: 70px 0; }
.phero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(24,33,26,.92), rgba(58,101,55,.72)); }
.phero .container { position: relative; z-index: 2; max-width: min(1200px, 92vw); }
.phero .inner { max-width: 760px; }
.phero h1 { color: #fff; font-size: clamp(32px, 5vw, 56px); margin: 16px 0 18px; line-height: 1.06; }
.phero h1 .alt { display: block; color: var(--accent-soft); }
.phero .title-line { background: #fff; margin-bottom: 22px; }
.phero .lead { color: rgba(255,255,255,.88); max-width: 640px; margin-top: 0; margin-bottom: 28px; }
.phero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.phero .info-card { margin-top: 28px; background: #fff; border-radius: var(--radius); padding: 20px 24px; display: inline-block; box-shadow: var(--shadow-lg); }
.phero .info-card b { display: block; font-size: 17px; margin-bottom: 4px; }
.phero .info-card span { color: var(--ink-soft); font-size: 14px; }

/* ============================================================
   HOME HERO
   ============================================================ */
.hero { position: relative; min-height: 82vh; display: flex; align-items: center; padding: 60px 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(24,33,26,.9) 0%, rgba(24,33,26,.6) 45%, rgba(24,33,26,.25) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-card { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(32px, 5.4vw, 62px); line-height: 1.05; margin: 18px 0 18px; }
.hero h1 em { font-style: normal; color: var(--accent-soft); }
.hero .lead { color: rgba(255,255,255,.9); font-size: clamp(16px, 1.5vw, 20px); margin: 0 0 28px; max-width: 600px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.2); }
.hero-stats .st b { display: block; font-family: var(--font-display); font-size: clamp(26px, 3vw, 36px); color: #fff; line-height: 1; }
.hero-stats .st span { font-size: 13.5px; color: rgba(255,255,255,.78); }

/* ============================================================
   CARD GRID (services / values / factors / quick info)
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 2.4vw, 32px); transition: .25s; position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-ic { width: 58px; height: 58px; border-radius: 15px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 18px; }
.card-ic svg { width: 28px; height: 28px; }
.card-stat { position: absolute; top: 22px; right: 22px; font-size: 12px; font-weight: 700; color: var(--accent-strong); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
.card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.25; }
.card p { color: var(--ink-soft); font-size: 15px; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; color: var(--accent-strong); font-size: 15px; transition: gap .2s; }
.card-link:hover { gap: 12px; }
.card--center { text-align: center; align-items: center; }
.card--center .card-ic { margin-left: auto; margin-right: auto; }
.card-num { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent); letter-spacing: .05em; margin-bottom: 6px; }

/* ============================================================
   CTA BOX (green block)
   ============================================================ */
.cta-box { background: linear-gradient(120deg, var(--accent-strong), var(--accent)); color: #fff; border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); text-align: center; position: relative; overflow: hidden; }
.cta-box::before { content: ""; position: absolute; top: -40px; right: -40px; width: 200px; height: 200px; border: 2px solid rgba(255,255,255,.12); border-radius: 50%; }
.cta-box::after { content: ""; position: absolute; bottom: -60px; left: -30px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.cta-box .in { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-box h2, .cta-box h3 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,.9); font-size: 17px; margin-bottom: 26px; }
.cta-box .actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* full-width dark CTA band */
.cta-band { background: var(--dark); color: var(--dark-ink); }
.cta-band .h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.8); }

/* ============================================================
   TRUST / STATS
   ============================================================ */
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 22px; text-align: center; transition: .25s; }
.stat-card:hover { box-shadow: var(--shadow); border-color: var(--accent); transform: translateY(-4px); }
.stat-card .ic { width: 58px; height: 58px; border-radius: 15px; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; }
.stat-card .ic svg { width: 28px; height: 28px; }
.stat-card .num { font-family: var(--font-display); font-size: 34px; font-weight: 700; color: var(--accent-strong); }
.stat-card .ttl { font-weight: 700; font-size: 16px; margin: 4px 0 2px; }
.stat-card .dsc { color: var(--ink-soft); font-size: 13.5px; }

/* ============================================================
   AUDIENCE / FORMATS rows (alternating)
   ============================================================ */
.aud-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.aud-row:last-child { margin-bottom: 0; }
.aud-row .media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/2; }
.aud-row .media img { width: 100%; height: 100%; object-fit: cover; }
.aud-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.aud-head .ic { width: 60px; height: 60px; background: var(--accent); color: #fff; display: grid; place-items: center; border-radius: 15px; flex-shrink: 0; }
.aud-head .ic svg { width: 28px; height: 28px; }
.aud-head .tag { background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.aud-row h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 10px; }
.aud-row .sub { color: var(--ink-soft); font-size: 17px; margin-bottom: 22px; }
.aud-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 26px; }
.aud-feat { display: flex; align-items: center; gap: 11px; background: var(--surface-alt); padding: 12px 14px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14.5px; }
.aud-feat .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }

/* ============================================================
   PROGRAMS cards (image + meta + features)
   ============================================================ */
.prog-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .3s; height: 100%; display: flex; flex-direction: column; }
.prog-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent); transform: translateY(-4px); }
.prog-media { position: relative; height: 220px; }
.prog-media img { width: 100%; height: 100%; object-fit: cover; }
.prog-media .badge-res { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,.92); color: var(--accent-strong); font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.prog-media .ic { position: absolute; top: 16px; left: 16px; width: 50px; height: 50px; background: var(--accent); color: #fff; display: grid; place-items: center; border-radius: 14px; }
.prog-body { padding: clamp(24px, 2.6vw, 32px); display: flex; flex-direction: column; flex: 1; }
.prog-body h3 { font-size: 23px; margin-bottom: 8px; }
.prog-body .sub { color: var(--ink-soft); margin-bottom: 18px; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.prog-meta span { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--ink-soft); background: var(--surface-alt); padding: 6px 13px; border-radius: 999px; }
.prog-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-bottom: 24px; }
.prog-feat { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; }
.prog-feat svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.prog-body .btn { margin-top: auto; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; }
.step .n { width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 14.5px; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.rev-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; height: 100%; display: flex; flex-direction: column; }
.rev-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--gold); }
.rev-stars svg { width: 18px; height: 18px; }
.rev-card p { color: var(--ink); font-size: 16px; line-height: 1.65; flex: 1; margin-bottom: 20px; }
.rev-who { display: flex; align-items: center; gap: 13px; }
.rev-who .av { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); font-size: 19px; }
.rev-who b { display: block; font-size: 15px; }
.rev-who span { color: var(--ink-soft); font-size: 13px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow); }
.form-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.form-head .ic { width: 48px; height: 48px; border-radius: 13px; background: var(--accent); color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.form-head h3 { font-size: 22px; }
.form-head p { color: var(--ink-soft); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; background: var(--bg); color: var(--ink); transition: .18s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(74,124,69,.13); }
.field.err input, .field.err textarea { border-color: #c0392b; }
.field .msg { font-size: 12px; color: #c0392b; margin-top: 5px; display: none; }
.field.err .msg { display: block; }
.form-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.form-ok { text-align: center; padding: 26px 10px; }
.form-ok .ic { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin: 0 auto 16px; }
.form-ok h3 { margin-bottom: 8px; }
.form-ok p { color: var(--ink-soft); }

/* contact side */
.side-stack { display: grid; gap: 18px; }
.info-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-box h4 { font-size: 18px; margin-bottom: 16px; }
.info-row { display: flex; gap: 13px; align-items: flex-start; margin-bottom: 14px; }
.info-row:last-child { margin-bottom: 0; }
.info-row .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.info-row b { display: block; font-size: 15px; }
.info-row span { color: var(--ink-soft); font-size: 13.5px; }
.info-box--accent { background: linear-gradient(120deg, var(--accent-strong), var(--accent)); color: #fff; }
.info-box--accent h4 { color: #fff; }
.info-box--accent p, .info-box--accent li { color: rgba(255,255,255,.9); }
.info-box--accent ul { display: grid; gap: 8px; margin: 14px 0 18px; }
.info-box--accent li { font-size: 14.5px; }

/* map */
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-link { display: block; text-align: center; padding: 14px; font-weight: 700; color: var(--accent-strong); background: #fff; }
.map-link:hover { background: var(--accent-soft); }

/* contact methods */
.method { display: block; background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #fff; padding: 26px; border-radius: var(--radius); transition: .25s; height: 100%; }
.method:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.method .ic { width: 50px; height: 50px; border-radius: 13px; background: rgba(255,255,255,.16); display: grid; place-items: center; margin-bottom: 16px; }
.method h3 { color: #fff; font-size: 19px; margin-bottom: 5px; }
.method .sub { color: rgba(255,255,255,.8); font-size: 13.5px; margin-bottom: 14px; }
.method .val { font-weight: 700; font-size: 15px; }

/* ============================================================
   PRICING
   ============================================================ */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 38px); display: flex; flex-direction: column; }
.plan.popular { border-color: var(--accent); box-shadow: var(--shadow-lg); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; padding: 6px 16px; border-radius: 999px; }
.plan h3 { font-size: 24px; text-align: center; margin-bottom: 6px; }
.plan .pfor { color: var(--ink-soft); text-align: center; font-size: 14px; margin-bottom: 18px; }
.plan .price { text-align: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line); }
.plan .price b { font-family: var(--font-display); font-size: 36px; color: var(--accent-strong); }
.plan .price span { display: block; color: var(--ink-soft); font-size: 14px; margin-top: 2px; }
.plan ul { display: grid; gap: 12px; margin-bottom: 24px; flex: 1; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.plan li svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.plan .rooms { border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 22px; display: grid; gap: 10px; }
.plan .room { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan .room .rn { font-weight: 700; font-size: 14px; }
.plan .room .rd { font-size: 12px; color: var(--ink-soft); }
.plan .room .rp { font-family: var(--font-display); font-weight: 700; color: var(--accent-strong); white-space: nowrap; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.faq-cat { padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; background: #fff; border: 1px solid var(--line); color: var(--ink-soft); transition: .18s; }
.faq-cat:hover { border-color: var(--accent); color: var(--accent-strong); }
.faq-cat.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.faq-list { max-width: 880px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; gap: 16px; padding: 22px 24px; text-align: left; }
.faq-q .qic { width: 34px; height: 34px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; flex-shrink: 0; }
.faq-q .qtxt { flex: 1; }
.faq-q h3 { font-size: 17px; margin-bottom: 3px; }
.faq-q .cat { font-size: 12px; font-weight: 700; color: var(--accent-strong); }
.faq-q .chev { color: var(--ink-soft); transition: transform .25s; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 22px 74px; color: var(--ink-soft); line-height: 1.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--dark); color: var(--dark-ink); padding: clamp(48px, 6vw, 72px) 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .f-brand .logo .mark { background: var(--accent); }
.footer .f-brand .lg-name { color: #fff; }
.footer .f-brand .lg-sub { color: rgba(255,255,255,.55); }
.footer .f-about { color: rgba(255,255,255,.6); font-size: 14px; margin: 16px 0; max-width: 320px; }
.f-socials { display: flex; gap: 10px; }
.f-socials a { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; transition: .2s; }
.f-socials a svg { width: 20px; height: 20px; }
.f-wa { background: #25d366; color: #fff; }
.f-call { background: var(--accent); color: #fff; }
.f-socials a:hover { transform: translateY(-3px); }
.footer h3 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 16px; font-weight: 700; }
.footer .f-col a, .footer .f-col p { display: block; color: rgba(255,255,255,.72); font-size: 14.5px; margin-bottom: 11px; transition: .18s; }
.footer .f-col a:hover { color: #fff; }
.f-info .row { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 13px; color: rgba(255,255,255,.72); font-size: 14px; }
.f-info .row svg { width: 18px; height: 18px; color: var(--accent-soft); flex-shrink: 0; margin-top: 2px; }
.footer-bottom { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-nav a { color: rgba(255,255,255,.6); font-size: 13.5px; }
.footer-nav a:hover { color: #fff; }
.footer-copy { color: rgba(255,255,255,.7); font-size: 13px; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: .2s; }
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.08); }

/* ============================================================
   ICON SIZING — держим глифы по центру рамки с воздухом
   (svg без явного размера иначе растягивается на весь чип)
   ============================================================ */
.info-row .ic svg { width: 20px; height: 20px; }
.form-head .ic svg { width: 22px; height: 22px; }
.form-ok .ic svg { width: 28px; height: 28px; }
.method .ic svg { width: 24px; height: 24px; }
.faq-q .qic svg { width: 18px; height: 18px; }
.faq-q .chev { display: inline-flex; flex-shrink: 0; }
.faq-q .chev svg { width: 20px; height: 20px; }
.prog-media .ic svg { width: 22px; height: 22px; }
.aud-head .ic svg { width: 26px; height: 26px; }
.card-link svg, .fmt-link svg { width: 17px; height: 17px; flex: none; }
/* защитный кап: иконка-глиф никогда не больше ~52% своей рамки */
.card-ic, .stat-card .ic, .aud-head .ic, .info-row .ic, .form-head .ic,
.form-ok .ic, .method .ic, .faq-q .qic, .prog-media .ic, .fmt-ic {
  line-height: 0;
}
.card-ic > svg, .stat-card .ic > svg, .aud-head .ic > svg, .info-row .ic > svg,
.form-head .ic > svg, .form-ok .ic > svg, .method .ic > svg, .faq-q .qic > svg,
.prog-media .ic > svg, .fmt-ic > svg { max-width: 56%; max-height: 56%; flex: none; }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hdr-actions { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-2, .plan-grid, .steps { grid-template-columns: 1fr; }
  .aud-row { grid-template-columns: 1fr; }
  .aud-row .media { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .prog-feats, .aud-feats { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px 28px; }
  .phero .actions .btn, .hero .actions .btn { flex: 1; }
}

/* mobile nav panel */
@media (max-width: 1100px) {
  .mobile-nav { display: block; position: fixed; inset: 76px 0 auto 0; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-120%); transition: transform .3s ease; z-index: 79; max-height: calc(100vh - 76px); overflow-y: auto; }
  .mobile-nav.open { transform: translateY(0); }
  .mobile-nav .container { padding: 18px 0 24px; }
  .mobile-nav a:not(.btn) { display: block; padding: 13px 4px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav a.active:not(.btn) { color: var(--accent-strong); }
  .mobile-nav .m-actions { display: flex; gap: 10px; margin-top: 16px; }
  .mobile-nav .m-actions .btn { flex: 1; }
}
