/* ===== Design tokens — LIGHT theme (navy + gold) ===== */
:root {
  --navy: #16244d;
  --navy-2: #1f3266;
  --gold: #c39a2e;
  --gold-2: #b07d1a;
  --gold-soft: #e8d9a8;
  --ink: #1c2540;
  --ink-soft: #5d6685;
  --bg: #ffffff;
  --bg-soft: #f6f4ec;
  --bg-tint: #eef2fb;
  --line: #e7e3d6;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(22, 36, 77, 0.07);
  --shadow-lg: 0 24px 56px rgba(22, 36, 77, 0.14);
  --font: Calibri, "Segoe UI", "Helvetica Neue", system-ui, -apple-system, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: min(1140px, 92%); margin: 0 auto; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.01em; font-family: var(--font); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 12px; font-weight: 700; font-size: 16px;
  cursor: pointer; border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn--primary { background: var(--navy); color: var(--white); box-shadow: 0 8px 20px rgba(22, 36, 77, 0.25); }
.btn--primary:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--navy); border: 1.5px solid rgba(22,36,77,0.25); }
.btn--ghost:hover { background: rgba(22,36,77,0.05); border-color: var(--navy); }
.btn--gold { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #fff; box-shadow: 0 10px 24px rgba(195,154,46,0.35); }
.btn--gold:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn--full { width: 100%; }

/* ===== Topbar (urgency) ===== */
.topbar {
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 9px 16px; font-size: 14px; font-weight: 600; text-align: center;
}
.topbar strong { color: var(--gold-soft); }
.topbar a { color: #fff; font-weight: 700; border-bottom: 1.5px solid var(--gold); padding-bottom: 1px; white-space: nowrap; }
.topbar a:hover { color: var(--gold-soft); }

/* ===== Logo ===== */
.logo { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.logo__emblem { width: 42px; height: 42px; color: var(--navy); flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__text strong { font-weight: 800; font-size: 17px; }
.logo__text span { font-size: 11px; color: var(--ink-soft); font-weight: 600; max-width: 220px; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.header__right { display: flex; align-items: center; gap: 22px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink-soft); font-weight: 600; font-size: 16px; transition: color 0.2s; }
.nav a:hover { color: var(--navy); }
.nav__cta {
  background: var(--gold); color: var(--navy) !important;
  padding: 10px 18px; border-radius: 10px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 6px 16px rgba(195,154,46,0.3);
}
.nav__cta:hover { filter: brightness(1.05); }

/* Тіл ауыстырғыш */
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.lang__btn {
  border: none; background: transparent; cursor: pointer;
  padding: 8px 12px; font-family: var(--font); font-weight: 700; font-size: 13px;
  color: var(--ink-soft); transition: background 0.2s, color 0.2s;
}
.lang__btn:hover { color: var(--navy); }
.lang__btn.is-active { background: var(--navy); color: #fff; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(195,154,46,0.14), transparent),
    radial-gradient(900px 500px at -5% 10%, rgba(22,36,77,0.06), transparent),
    var(--bg-soft);
  padding: 72px 0 84px;
  border-bottom: 1px solid var(--line);
}
.hero__inner { display: grid; grid-template-columns: 1.45fr 1fr; gap: 48px; align-items: center; }
.badge {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--gold-soft);
  color: var(--gold-2); font-size: 14px; font-weight: 700; margin-bottom: 22px;
}
.hero__title { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; color: var(--navy); }
.hero__title span { color: var(--gold-2); }
.hero__lead { margin-top: 18px; font-size: 18px; color: var(--ink-soft); max-width: 560px; }
.hero__lead strong { color: var(--ink); }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero__trust { margin-top: 18px; font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.hero__stats { display: flex; gap: 36px; margin-top: 32px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat strong { font-size: 24px; font-weight: 800; color: var(--navy); }
.stat span { font-size: 13px; color: var(--ink-soft); }

.hero__card {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: 20px; padding: 32px;
  box-shadow: var(--shadow-lg); text-align: center; overflow: hidden;
}
.hero__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.hero__card-emblem { width: 60px; height: 60px; color: var(--navy); margin-bottom: 6px; }
.hero__card-badge {
  display: inline-block; background: #fcefcf; color: var(--gold-2);
  font-size: 13px; font-weight: 800; padding: 5px 14px; border-radius: 999px; margin-bottom: 10px;
}
.hero__card h3 { font-size: 22px; color: var(--navy); }
.hero__card p { margin: 10px 0 22px; color: var(--ink-soft); }
.hero__card strong { color: var(--gold-2); }

/* ===== Publishers strip ===== */
.logos { padding: 38px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.logos__title { text-align: center; color: var(--ink-soft); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.logos__row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.pub {
  padding: 9px 18px; border-radius: 999px; background: var(--bg-tint);
  border: 1px solid var(--line); color: var(--navy);
  font-weight: 700; font-size: 15px;
}

/* ===== Sections ===== */
.section { padding: 82px 0; }
.section--alt { background: var(--bg-soft); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section__head h2 { font-size: clamp(26px, 3.8vw, 38px); font-weight: 800; margin: 12px 0; color: var(--navy); }
.section__head p { color: var(--ink-soft); font-size: 17px; }
.eyebrow { color: var(--gold-2); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; }
.eyebrow--gold { color: var(--gold); }

/* ===== Grids / cards ===== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.card__tag { display: inline-block; font-size: 12px; font-weight: 800; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.card__tag--gold { color: var(--gold-2); }
.card__icon { font-size: 30px; margin-bottom: 12px; }
.card h3 { font-size: 19px; margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--ink-soft); font-size: 15px; }
.card--featured { border: 1.5px solid var(--gold); background: linear-gradient(180deg, #fffdf6, #fff); }

.feature strong { display: block; font-size: 17px; margin-bottom: 6px; color: var(--navy); }
.feature p { color: var(--ink-soft); font-size: 15px; }

/* ===== Ethics ===== */
.ethics { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ethics__col { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.ethics__col h3 { font-size: 20px; margin-bottom: 16px; }
.ethics__col--yes { border-top: 4px solid #16a06a; }
.ethics__col--no { border-top: 4px solid #d2604f; }
.ethics__col ul { list-style: none; display: grid; gap: 11px; }
.ethics__col li { padding-left: 4px; color: var(--ink); font-size: 15px; }

/* ===== Reviews (social proof) ===== */
.review { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.review__stars { color: var(--gold); font-size: 18px; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { font-size: 16px; color: var(--ink); line-height: 1.55; }
.review figcaption { margin-top: 14px; font-weight: 700; color: var(--navy); font-size: 14px; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 16px; }
.step__num { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; font-size: 22px; box-shadow: 0 8px 18px rgba(22,36,77,0.18); }
.step h3 { font-size: 17px; margin-bottom: 6px; color: var(--navy); }
.step p { color: var(--ink-soft); font-size: 15px; }

/* ===== Marketing offer block ===== */
.offer {
  background: linear-gradient(120deg, var(--navy), var(--navy-2));
  color: #fff; padding: 56px 0;
}
.offer__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: center; }
.offer__badge { display: inline-block; background: rgba(195,154,46,0.18); color: var(--gold-soft); border: 1px solid rgba(195,154,46,0.4); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.offer__content h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: 800; }
.offer__content p { color: rgba(255,255,255,0.82); font-size: 17px; margin-top: 10px; }
.offer__content strong { color: var(--gold-soft); }
.offer__perks { list-style: none; margin-top: 18px; display: grid; gap: 9px; }
.offer__perks li { font-weight: 600; }
.offer__cta { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); border-radius: 18px; padding: 28px; text-align: center; }
.offer__spots { margin-bottom: 18px; }
.offer__spots strong { display: block; font-size: 52px; font-weight: 800; color: var(--gold-soft); line-height: 1; }
.offer__spots span { font-size: 15px; color: rgba(255,255,255,0.75); }

/* ===== Contact form ===== */
.section--cta { background: var(--navy); color: var(--white); }
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.form-intro h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin: 12px 0; color: #fff; }
.form-intro p { color: rgba(255,255,255,0.82); font-size: 17px; }
.form-bullets { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.form-bullets li { font-weight: 600; }
.form-direct { margin-top: 26px; display: grid; gap: 8px; }
.form-direct a { color: var(--gold-soft); font-weight: 700; }
.form-direct a:hover { color: #fff; }

.form { background: var(--white); color: var(--ink); border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 7px; }
.field label .req { color: #d2604f; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 16px; font-family: inherit;
  border: 1.5px solid var(--line); border-radius: 11px; background: #fbfaf5;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(195,154,46,0.16); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { font-size: 12px; color: var(--ink-soft); text-align: center; margin-top: 12px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 11px; font-weight: 600; font-size: 15px; text-align: center; }
.form-status--ok { background: #e7f9f1; color: #0c8a5e; }
.form-status--err { background: #fdeaea; color: #c0392b; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255,255,255,0.82); padding: 52px 0 0; }
.footer__inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 36px; }
.footer__brand { max-width: 420px; }
.logo--footer { color: #fff; }
.logo--footer .logo__emblem { color: var(--gold); }
.logo--footer .logo__text strong { color: #fff; }
.logo--footer .logo__text span { color: rgba(255,255,255,0.6); }
.footer__desc { margin-top: 14px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer__contacts { display: grid; gap: 8px; align-content: start; }
.footer__label { color: var(--gold); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.footer__contacts a { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer__contacts a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5); }

/* ===== Responsive ===== */

/* Планшет */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr 1fr; }
  .ethics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .offer__inner { grid-template-columns: 1fr; gap: 28px; }
  .form-wrap { grid-template-columns: 1fr; }
  .nav { display: none; }              /* бөлім сілтемелерін жасырамыз */
  .header__right { gap: 12px; }
}

/* Телефон */
@media (max-width: 640px) {
  .container { width: 90%; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 34px; }
  .grid--3, .grid--4, .steps { grid-template-columns: 1fr; }

  /* Жоғарғы жолақ */
  .topbar { flex-direction: column; gap: 4px; font-size: 13px; padding: 8px 14px; }

  /* Хедер ықшамдалады */
  .header__inner { height: 64px; }
  .logo__emblem { width: 36px; height: 36px; }
  .logo__text strong { font-size: 15px; }
  .logo__text span { display: none; }
  .nav__cta { padding: 9px 14px; font-size: 14px; }
  .lang__btn { padding: 7px 10px; }

  /* Hero */
  .hero { padding: 44px 0 54px; }
  .hero__lead { font-size: 16px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; }       /* түймелер толық ені */
  .hero__stats { gap: 18px; }
  .stat strong { font-size: 21px; }
  .hero__card { padding: 26px; }

  /* Карточкалар мен формалар */
  .card, .ethics__col, .form { padding: 22px; }
  .offer { padding: 40px 0; }
  .offer__cta { padding: 24px; }
  .form-direct { justify-items: start; }
  .btn { font-size: 15px; padding: 13px 22px; }

  /* Тіл түймесін жанаспалы көлемде ыңғайлы ету */
  .pub { font-size: 14px; padding: 8px 14px; }
}

/* Өте кіші экран */
@media (max-width: 380px) {
  .logo__text strong { font-size: 14px; }
  .nav__cta { font-size: 13px; padding: 8px 11px; }
}
