/* ===== Шрифты (лежат на нашем сервере — быстрее и не зависят от Google) ===== */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/unbounded-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/unbounded-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/manrope-latin-ext-400-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-cyrillic-700-normal.woff2') format('woff2'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/manrope-latin-ext-700-normal.woff2') format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* ===== Цвета и базовые настройки ===== */
:root {
  --bg: #0A1428;          /* основной фон — тёмно-синий */
  --bg-2: #0D1A33;        /* фон полос */
  --card: #102041;        /* карточки */
  --card-2: #142852;      /* блок заявки */
  --line: #1F3A6B;        /* линии и рамки */
  --line-2: #3A5A90;
  --text: #F4F7FB;        /* белый текст */
  --text-2: #C3CEDD;      /* светло-серый */
  --muted: #8A98AD;       /* серый */
  --accent: #5CB2FF;      /* голубой акцент */
  --accent-2: #9FD4FF;
  --on-accent: #06142E;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
picture { display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-2); }
h1, h2, h3 { margin: 0; }
h1, h2 { font-family: Unbounded, sans-serif; font-weight: 700; }
h1 { font-size: clamp(32px, 5vw, 60px); line-height: 1.08; }
h2 { font-size: clamp(26px, 3.5vw, 42px); line-height: 1.15; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding-left: 20px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 900px; }
.section { padding-top: 88px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 36px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.lead { font-size: 18px; color: var(--text-2); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--accent); }
.eyebrow { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }

/* ===== Кнопки ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 14px 26px; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .2s, border-color .2s, transform .1s;
}
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-2); color: var(--on-accent); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--accent); color: var(--text); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn--block { width: 100%; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ===== Шапка ===== */
.header { position: sticky; top: 0; z-index: 20; background: rgba(10, 20, 40, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo { font-family: Unbounded, sans-serif; font-weight: 700; font-size: 18px; color: var(--text); text-decoration: none; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { color: var(--text); font-weight: 700; text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--line-2); border-radius: 12px; cursor: pointer; padding: 12px 10px; flex-direction: column; justify-content: space-between; }
.burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* ===== Первый экран ===== */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 56px; }
.hero__text { display: flex; flex-direction: column; gap: 22px; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%; border-radius: 24px; }

/* ===== Цифры ===== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding-top: 30px; padding-bottom: 30px; }
.stat__num { font-family: Unbounded, sans-serif; font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--accent); }
.stat__label { color: var(--text-2); font-size: 15px; }

/* ===== Сетки и карточки ===== */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--formats { grid-template-columns: repeat(2, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); gap: 48px; }
.grid--tight { gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card p { color: var(--text-2); }
.card ul { color: var(--text-2); font-size: 15px; }
.card--top { border-top: 3px solid var(--accent); }
.band { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 56px; padding-bottom: 72px; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* ===== Клубные стили и миксы ===== */
.card .styles { color: var(--accent-2); font-size: 15px; line-height: 1.7; }
.card__link { margin-top: auto; font-weight: 700; text-decoration: none; }
.section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.section__head a { font-weight: 700; text-decoration: none; }
.mix { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.mix__meta h3 { font-size: 18px; }
.mix__meta span { color: var(--muted); font-size: 14px; }
.mix__player { background: #fff; border-radius: 12px; overflow: hidden; height: 70px; }
.mix__player iframe { display: block; width: 100%; height: 70px; border: 0; }

/* ===== Страницы услуг ===== */
.crumbs { padding-top: 20px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.hero--page { padding-top: 32px; }
.hero__price { font-size: 26px; font-weight: 700; }
.hero__price span { font-size: 16px; font-weight: 400; color: var(--text-2); }
.steps.steps--wide { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
.other-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card--link { text-decoration: none; color: var(--text); gap: 6px; transition: border-color .2s; }
.card--link:hover { border-color: var(--accent); color: var(--text); }
.card--link span { color: var(--accent); font-size: 15px; }

/* ===== Шаги ===== */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { border-top: 2px solid var(--accent); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.steps span { font-family: Unbounded, sans-serif; color: var(--accent); font-size: 15px; }
.steps b { font-size: 19px; }
.steps p { color: var(--text-2); }

/* ===== Стоимость ===== */
.price { max-width: 460px; gap: 18px; padding: 32px; }
.price__value { font-size: 36px; font-weight: 700; }
.price__extra { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }

/* ===== Почему я ===== */
.why { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.why__photo { aspect-ratio: 3 / 4; }

/* ===== Вопросы ===== */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 24px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--text-2); }

/* ===== Заявка ===== */
.cta { background: var(--card-2); border: 1px solid #2A4A80; border-radius: 28px; padding: clamp(24px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.form input[type=text], .form input[type=tel], .form input[type=date], .form select {
  background: var(--bg); border: 1px solid #2A4A80; border-radius: 12px; padding: 14px;
  color: var(--text); font: inherit; font-size: 16px; min-height: 52px; width: 100%;
  color-scheme: dark;
}
.form input:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.form input.is-invalid { border-color: #FF8A8A; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: var(--accent); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__msg { font-size: 15px; }
.form__msg:empty { display: none; }
.form__msg.is-error { color: #FF9C9C; }
.success { background: var(--bg); border: 1px solid var(--accent); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }

/* ===== Подвал ===== */
.footer { border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 28px; padding-bottom: 28px; color: var(--muted); font-size: 14px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

/* Плавающая кнопка звонка — только на телефоне */
.fab { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 60px; height: 60px; border-radius: 50%; background: var(--accent); color: var(--on-accent); align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.4); }

/* ===== Адаптив ===== */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: flex; }
  .nav.is-open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 20px 16px;
  }
  .nav.is-open a { padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .grid--3, .steps, .steps.steps--wide, .other-links { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .header__phone, .header .btn--sm { display: none; }
  .hero, .grid--2, .grid--3, .grid--formats, .steps, .steps.steps--wide, .other-links, .why, .cta { grid-template-columns: 1fr; }
  .hero { gap: 32px; padding-top: 32px; }
  .hero picture { order: -1; }
  .hero__photo { max-height: 420px; }
  .section { padding-top: 64px; gap: 28px; }
  .grid--2 { gap: 32px; }
  .why__photo { max-height: 420px; }
  .fab { display: flex; }
  .footer { padding-bottom: 80px; }
}
@media (max-width: 420px) {
  .form__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
