/* ===== SCL Astana — стили (по фирменному логотипу: чёрный, металл, королевский синий) ===== */
:root {
  /* Фон и поверхности */
  --bg: #0a0a0c;
  --bg-2: #101114;
  --surface: #15171b;
  --surface-2: #1c1f24;
  --line: rgba(255,255,255,.08);

  /* Текст */
  --text: #eceef1;
  --text-soft: #a3a9b3;
  --ink: #0a0a0c;

  /* Бренд */
  --blue: #2a63e0;          /* синий из логотипа (футболка сайгака, «ASTANA») */
  --blue-hi: #4a80f0;
  --blue-text: #5b8cf5;     /* синий для текста на чёрном — контраст ≥ 4.5:1 */
  --silver: #c9ced6;
  --silver-hi: #f4f6f8;
  --silver-lo: #7d848f;
  --metal: linear-gradient(180deg, var(--silver-hi) 0%, var(--silver) 45%, var(--silver-lo) 100%);
  --whatsapp: #25d366;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1200px;
  --font-display: "Russo One", "Arial Black", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 12px 18px; border-radius: 8px;
  background: var(--blue); color: #fff; font-weight: 700; text-decoration: none;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Металлический текст как в логотипе */
.metal {
  background: var(--metal);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--blue-text);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: var(--blue); }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 700 15px/1.2 var(--font-body);
  text-transform: uppercase; letter-spacing: .08em;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--silver-hi); outline-offset: 3px; }
.btn--lg { padding: 18px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 12px 32px -12px rgba(42,99,224,.8), inset 0 1px 0 rgba(255,255,255,.2); }
.btn--primary:hover { background: var(--blue-hi); }
.btn--ghost { background: transparent; border-color: rgba(201,206,214,.4); color: var(--silver-hi); }
.btn--ghost:hover { border-color: var(--silver); }
.btn--whatsapp { background: var(--whatsapp); color: #062b14; box-shadow: 0 12px 32px -12px rgba(37,211,102,.7); }
.btn__icon { width: 22px; height: 22px; fill: currentColor; }

/* ===== Логотип (фрагмент SCL + сайгак из scl-logo.webp) ===== */
/* Область кадра в исходнике 1672×941: x 300, y 70, ширина 1070, высота 440 (с запасом под размытие краёв) */
.brand { display: flex; align-items: center; text-decoration: none; }
.brand__mark {
  display: block;
  height: 50px;
  aspect-ratio: 1070 / 440;
  background: url("assets/brand/scl-logo.webp") no-repeat;
  background-size: 156.26% auto;
  background-position: 49.83% 13.97%;
  mix-blend-mode: lighten;   /* убирает тёмный фон картинки на чёрной шапке */
  /* размываем края фрагмента, чтобы не было видно прямоугольника */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
          mask-composite: intersect;
}

/* ===== Шапка ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  background: rgba(10,10,12,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); transition: color .2s; }
.nav a:hover { color: var(--silver-hi); }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav .nav__cta { color: #fff; background: var(--blue); padding: 10px 18px; border-radius: 8px; }
.nav .nav__login { color: var(--silver-hi); border: 1px solid rgba(201,206,214,.35); padding: 10px 18px; border-radius: 8px; }
.nav .nav__login:hover { border-color: var(--silver); }
.nav a:focus-visible, .brand:focus-visible { outline: 3px solid var(--silver-hi); outline-offset: 4px; border-radius: 6px; }
.nav .nav__cta:hover { color: #fff; background: var(--blue-hi); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--silver-hi); margin: 5px 0; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Первый экран ===== */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 24px) 0 72px;
  background: #050506;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 45% at 50% 30%, rgba(42,99,224,.18), transparent 70%),
    radial-gradient(120% 80% at 50% 0%, #17181b 0%, #050506 70%);
}
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__logo {
  width: min(100%, 1080px);
  height: auto;
  /* плавно растворяем все четыре края картинки в фоне */
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
          mask-image:
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 14%, #000 80%, transparent 100%);
          mask-composite: intersect;
  margin-bottom: 8px;
}
.hero__content { display: flex; flex-direction: column; align-items: center; }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-soft); max-width: 640px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 44px; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 56px; color: var(--text-soft); font-size: 14px; letter-spacing: .04em; }
.hero__facts strong {
  display: block; font: 400 40px/1 var(--font-display); margin-bottom: 6px;
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ===== Секции ===== */
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--dark { background: var(--bg-2); border-block: 1px solid var(--line); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__title {
  font-size: clamp(36px, 6.2vw, 76px);
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .05em;
}

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.card__body { padding: clamp(24px, 3vw, 36px); }
.card h3 { font-size: clamp(22px, 2.6vw, 28px); margin-bottom: 12px; color: var(--silver-hi); }
.card p { color: var(--text-soft); }
.card--accent { border-color: rgba(42,99,224,.45); box-shadow: 0 30px 60px -30px rgba(42,99,224,.45); }
.card--accent h3 { font-size: clamp(32px, 4.5vw, 52px); }
.card--accent li { color: var(--text-soft); }

.tag {
  display: inline-block; margin-bottom: 14px;
  padding: 6px 12px; border-radius: 6px;
  background: var(--blue); color: #fff;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
}

/* Для кого */
.audience { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.audience__side { display: grid; gap: 20px; }
.audience__side .card { border-left: 3px solid var(--blue); }
.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: .45em;
  width: 14px; height: 8px;
  border-left: 3px solid var(--blue-text); border-bottom: 3px solid var(--blue-text);
  transform: rotate(-45deg);
}

/* Слоты под фото */
.photo-slot {
  position: relative; aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 80% at 70% 20%, rgba(42,99,224,.22), transparent 70%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 12px, transparent 12px 24px),
    #121418;
  color: var(--silver-lo);
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em;
}
.photo-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Шаги */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative;
  padding: 36px 32px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -22px; top: 50%; transform: translateY(-50%);
  z-index: 1; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--blue); color: #fff; border-radius: 50%;
  font-weight: 700; font-size: 20px;
  box-shadow: 0 0 0 6px var(--bg-2);
}
.step__num {
  display: block; font: 400 68px/1 var(--font-display); margin-bottom: 20px;
  background: linear-gradient(180deg, var(--blue-hi), #1a3f94); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step__title { font-size: 26px; margin-bottom: 14px; color: var(--silver-hi); }
.step p { color: var(--text-soft); }
.process__cta { margin-top: 48px; display: flex; justify-content: center; }

/* Что оцениваем */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.metrics__note { margin: 28px auto 0; max-width: 760px; text-align: center; color: var(--text-soft); font-size: 17px; }
.footer__tagline { color: var(--blue-text); }
.metric {
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.metric:hover { transform: translateY(-4px); border-color: rgba(42,99,224,.5); box-shadow: 0 24px 48px -28px rgba(42,99,224,.6); }
.metric__icon {
  width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 24px;
  background: linear-gradient(180deg, #2a2d33, #16181c); border: 1px solid rgba(255,255,255,.1);
}
.metric__icon svg { width: 30px; height: 30px; fill: var(--silver); }
.metric h3 { font-size: 24px; margin-bottom: 12px; color: var(--silver-hi); }
.metric p { color: var(--text-soft); font-size: 16px; }

.gallery { margin-top: 20px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; }
.gallery .photo-slot { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: auto; min-height: 240px; border: 1px solid var(--line); }

/* Запись */
.section--signup { background: var(--bg-2); overflow: hidden; border-top: 1px solid var(--line); }
.section--signup::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 60% at 0% 100%, rgba(37,211,102,.10), transparent 70%),
              radial-gradient(40% 50% at 100% 0%, rgba(42,99,224,.18), transparent 70%);
}
.signup { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.signup__lead { color: var(--text-soft); font-size: 18px; margin: 24px 0 32px; max-width: 480px; }
.signup__note { margin-top: 16px; color: var(--silver); font-size: 14px; }
.signup__note code { background: rgba(255,255,255,.08); padding: 2px 6px; border-radius: 6px; }

.form { padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; background: var(--surface); }
.form__title { font-size: 26px; color: var(--silver-hi); }
.form__group { border: 0; padding: 0; margin: 0; }
.form__group legend, .field__label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; color: var(--text); }
.field__label em { font-style: normal; color: var(--text-soft); font-weight: 400; }
.field { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: 500 16px/1.4 var(--font-body);
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.field input::placeholder, .field textarea::placeholder { color: #7d848f; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--silver) 50%), linear-gradient(135deg, var(--silver) 50%, transparent 50%);
  background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat;
  padding-right: 40px;
}
.field select option { background: var(--surface); color: var(--text); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,99,224,.3); }
.field input.is-invalid { border-color: #ff5a5f; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); padding: 6px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; text-align: center; padding: 10px; border-radius: 8px; font-weight: 600; cursor: pointer; color: var(--text-soft); transition: background .2s, color .2s; }
.segmented input:checked + span { background: var(--blue); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--silver-hi); }
.form__hint { font-size: 13px; color: var(--text-soft); text-align: center; }

/* Подвал */
.footer { background: #050506; color: var(--text-soft); padding: 40px 0 100px; font-size: 14px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer .brand__mark { height: 40px; }

/* Плавающая кнопка (мобильные) */
.sticky-cta {
  display: none;
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40;
  padding: 16px; border-radius: 12px;
  background: var(--blue); color: #fff;
  font: 700 15px/1.2 var(--font-body); text-transform: uppercase; letter-spacing: .08em;
  text-align: center; text-decoration: none;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.6);
  transition: transform .25s ease, opacity .25s ease;
}
.sticky-cta.is-hidden { transform: translateY(140%); opacity: 0; }

/* Появление при прокрутке */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .metric:hover { transform: none; }
}

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand__mark { height: 40px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 0; font-size: 18px; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav .nav__cta { margin-top: 16px; padding: 16px; justify-content: center; border: 0; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 16px); }
  .hero__logo { width: calc(100% + 40px); max-width: none; margin-inline: -20px; }
  .audience { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -36px; transform: translateX(-50%); }
  .signup { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .photo-slot:first-child { grid-column: 1 / -1; }
  .sticky-cta { display: block; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 88px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { gap: 12px 32px; }
  .hero__facts strong { font-size: 32px; }
  .metrics { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery .photo-slot { min-height: 160px; }
  .step { padding: 28px 24px 32px; }
  .step__num { font-size: 52px; }
}
