/* =====================================================
   BJJ Krasnodar — дизайн-система «Светлый пояс»
   Белый фон + светло-серые секции + графитовый текст
   Акцент — синий пояс BJJ. Контрастные тёмные блоки:
   подвал и плашка логотипа.
   ===================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f2f5f9;
  --surface: #ffffff;
  --surface-2: #fbfcfe;
  --border: #e3e8f0;
  --border-strong: #c9d2df;
  --text: #131a24;
  --muted: #46536b;
  --muted-2: #66738a;
  --accent: #2f6bff;
  --accent-2: #2453c8;
  --accent-soft: rgba(47, 107, 255, .09);
  --ok: #1a9e66;
  --err: #d64545;
  --belt: linear-gradient(90deg, #d9dfeb 0 14%, #2f6bff 14% 38%, #8b5cf6 38% 58%, #8a5a34 58% 78%, #16181d 78% 100%);
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(23, 43, 77, .13);
  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --container: 1180px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, blockquote, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px;
  transition: top .2s;
}
.skip:focus { top: 12px; }

/* ---------- Типографика ---------- */
.h1, .h2, h3, h4 { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; line-height: 1.12; letter-spacing: .015em; }
.h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); font-weight: 700; }
.h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
.accent { color: var(--accent); }
.nowrap { white-space: nowrap; }
.lead { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.13rem); max-width: 58ch; }
.kicker {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--accent-2); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase;
}
.small { font-size: .85rem; color: var(--muted-2); }

/* ---------- Секции ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.sec-head { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.sec-head .kicker { margin-bottom: .7rem; }
.sec-head .lead { margin-top: .8rem; }
.center { display: flex; justify-content: center; margin-top: 1.6rem; }

/* ---------- Поясная полоса (фирменный мотив) ---------- */
.belt-bar { height: 4px; background: var(--belt); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
  min-height: 44px;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), #2453c8);
  color: #fff; box-shadow: 0 8px 24px rgba(47, 107, 255, .28);
}
.btn-primary:hover { background: linear-gradient(135deg, #3d78ff, #2a5fd6); box-shadow: 0 10px 30px rgba(47, 107, 255, .38); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(19, 26, 36, .02); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.02rem; }
.btn-sm { padding: .55rem 1rem; font-size: .87rem; min-height: 40px; }
.btn-block { width: 100%; }

/* ---------- Чек-листы ---------- */
.checks li {
  position: relative; padding-left: 1.9rem; margin-bottom: .65rem;
  color: var(--muted);
}
.checks li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--accent-soft) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%232f6bff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M20 6 9 17l-5-5"/></svg>') center/62% no-repeat;
}

/* ---------- Заглушки под фото/видео ---------- */
.ph {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .45rem;
  min-height: 170px; padding: 1.2rem; text-align: center;
  border: 1.5px dashed rgba(19, 26, 36, .22); border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(19, 26, 36, .035) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #eef2f8, #e2e9f2);
  color: var(--muted-2);
}
.ph::before {
  content: ""; width: 44px; height: 44px; opacity: .55; margin-bottom: .2rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237e8ba0" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3Z"/><circle cx="12" cy="13" r="3.2"/></svg>') center/contain no-repeat;
}
.ph-video::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237e8ba0" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="9"/><path d="m10 8 6 4-6 4V8Z"/></svg>');
}
.ph-map::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%237e8ba0" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"><path d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/><circle cx="12" cy="10" r="3"/></svg>');
}
.ph-cap { color: #4a5a70; font-weight: 700; font-size: .92rem; max-width: 34ch; }
.ph-hint { font-size: .78rem; color: var(--muted-2); max-width: 40ch; }
.ph-hero { aspect-ratio: 4 / 3.4; min-height: 300px; width: 100%; }
.dir-ph { aspect-ratio: 16 / 10; }
.coach-ph { aspect-ratio: 4 / 5; }
.gal-ph { aspect-ratio: 4 / 3; }
.ph-map { aspect-ratio: 16 / 9; min-height: 220px; }

/* ---------- Шаблонные пометки ---------- */
.tpl {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
  color: #9a7414; border: 1px dashed rgba(154, 116, 20, .55);
  padding: .1rem .45rem; border-radius: 6px; vertical-align: super; margin-left: .3rem;
  cursor: help;
}
.tpl-note, .info-note {
  color: var(--muted-2); font-size: .86rem; margin-top: 1.1rem;
  border-left: 3px solid rgba(154, 116, 20, .5); padding-left: .9rem; max-width: 72ch;
}

/* =====================================================
   ШАПКА
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(23, 43, 77, .10); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.logo { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.logo-txt { display: flex; flex-direction: column; font-family: var(--font-head); font-size: 1.12rem; letter-spacing: .06em; line-height: 1.05; }
.logo-txt b { color: var(--accent); }
.logo-txt small { font-family: var(--font-body); font-size: .62rem; color: var(--muted-2); letter-spacing: .12em; text-transform: uppercase; }
footer .logo-txt { font-size: 1rem; }
footer .logo-txt small { display: none; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav ul { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--muted); font-weight: 600; font-size: .93rem; transition: color .2s; position: relative; padding: .4rem 0; }
.nav a:hover { color: var(--text); }
.nav a.nav-cta { color: var(--accent-2); }
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--belt); transition: right .25s;
}
.nav ul a:hover::after { right: 0; }
.nav-extra { display: flex; align-items: center; gap: .8rem; }
.tel { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .93rem; white-space: nowrap; }
.tel:hover { color: var(--accent-2); }
.soc-ic { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border-strong); color: var(--muted); transition: all .2s; }
.soc-ic:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--border-strong); border-radius: 10px; cursor: pointer;
}
.burger span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   ГЕРОЙ
   ===================================================== */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 5.8rem) 0 clamp(2.8rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(52% 60% at 78% 28%, rgba(47, 107, 255, .10), transparent 70%),
    radial-gradient(40% 50% at 12% 88%, rgba(139, 92, 246, .06), transparent 70%);
}
.hero-in {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center;
}
.hero-txt .kicker { margin-bottom: 1.1rem; }
.h1 { margin-bottom: 1.1rem; }
.hero-txt .lead { margin-bottom: 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: .9rem; }
.hero-note { color: var(--muted); font-size: .92rem; margin-bottom: 1.3rem; }
.hero-note b { color: var(--ok); }
.chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li {
  padding: .42rem .85rem; border-radius: 999px;
  border: 1px solid var(--border-strong); background: rgba(19, 26, 36, .03);
  font-size: .82rem; font-weight: 600; color: var(--muted);
}

/* =====================================================
   ПОЛОСА ФАКТОВ
   ===================================================== */
.ribbon { border-block: 1px solid var(--border); background: var(--bg-alt); }
.ribbon-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.2rem 0; }
.ribbon-item { display: flex; flex-direction: column; padding: .35rem .9rem; border-left: 3px solid; border-image: var(--belt) 1; }
.ribbon-item b { font-family: var(--font-head); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; font-size: .98rem; }
.ribbon-item span { color: var(--muted-2); font-size: .8rem; }

/* =====================================================
   НАПРАВЛЕНИЯ
   ===================================================== */
.dir-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.dir-card {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.3rem;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.dir-card:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, .45); box-shadow: var(--shadow); }
.dir-card h3 small { color: var(--muted-2); font-size: .8em; font-weight: 500; }
.dir-tag { color: var(--accent-2); font-weight: 700; font-size: .85rem; }
.dir-card .btn { margin-top: auto; align-self: flex-start; }

/* =====================================================
   ПОЧЕМУ БЖЖ
   ===================================================== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.why-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
}
.why-card h3 { margin-bottom: .3rem; font-size: 1.35rem; }
.why-sub { color: var(--muted-2); font-size: .9rem; margin-bottom: 1.2rem; }
.belt-path {
  margin-top: 1.8rem; padding: 1.1rem 1.4rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  background: rgba(19, 26, 36, .02);
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
}
.belt-path-bar { display: flex; gap: 6px; }
.belt-path-bar i { width: 42px; height: 7px; border-radius: 4px; }
.belt-path-bar i:nth-child(1) { background: #d9dfeb; box-shadow: inset 0 0 0 1px rgba(19,26,36,.14); }
.belt-path-bar i:nth-child(2) { background: var(--accent); }
.belt-path-bar i:nth-child(3) { background: #8b5cf6; }
.belt-path-bar i:nth-child(4) { background: #8a5a34; }
.belt-path-bar i:nth-child(5) { background: #16181d; }
.belt-path p { color: var(--muted); font-size: .9rem; }
.belt-path .b-blue { color: var(--accent-2); }
.belt-path .b-purple { color: #6d4fc4; }
.belt-path .b-brown { color: #9a5f33; }
.belt-path .b-black { color: #16181d; }

/* =====================================================
   ПЕРВАЯ ТРЕНИРОВКА
   ===================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.steps li {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.3rem 1.3rem;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
}
.steps .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent-soft); color: var(--accent-2);
  font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  border: 1px solid rgba(47, 107, 255, .30); margin-bottom: .9rem;
}
.steps h4 { margin-bottom: .45rem; }
.steps p { color: var(--muted); font-size: .92rem; }

/* =====================================================
   ЗАЛ
   ===================================================== */
.gym-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.6rem; align-items: start; }
.addr-card {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.1rem 1.2rem; margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
}
.addr-card svg { color: var(--accent-2); flex-shrink: 0; margin-top: .2rem; }
.addr-card b { display: block; font-size: 1.02rem; }
.addr-card span { color: var(--muted-2); font-size: .88rem; }
.gym-ph { display: flex; flex-direction: column; gap: 1rem; }
.gym-ph-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.gym-ph-row .ph { min-height: 150px; }

/* =====================================================
   ТРЕНЕРЫ
   ===================================================== */
.coach-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; max-width: 780px; margin-inline: auto; }
.coach-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
}
.coach-card h4 { font-size: 1.2rem; }
.belt-chip { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .88rem; font-weight: 600; }
.belt-ic { width: 26px; height: 6px; border-radius: 3px; display: inline-block; }
.belt-ic.b-black { background: #16181d; }
.belt-ic.b-purple { background: #8b5cf6; }
.coach-card > p:last-child { color: var(--muted); font-size: .92rem; }

/* =====================================================
   ТАБЛИЦЫ (расписание, цены)
   ===================================================== */
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
}
.tbl { width: 100%; border-collapse: collapse; min-width: 560px; }
.tbl th, .tbl td { padding: .95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border); }
.tbl thead th {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .06em;
  font-weight: 600; font-size: .85rem; color: var(--accent-2);
  background: rgba(19, 26, 36, .035);
}
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 0; }
.tbl tbody th { font-weight: 700; color: var(--text); white-space: nowrap; }
.tbl td { color: var(--muted); }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: rgba(47, 107, 255, .045); }

/* =====================================================
   ГАЛЕРЕЯ / ОТЗЫВЫ
   ===================================================== */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.rev-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: .8rem;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
}
.stars { color: #e8a415; letter-spacing: .18em; font-size: 1rem; }
.rev-card blockquote { color: var(--muted); font-size: .94rem; line-height: 1.6; }
.rev-card figcaption { color: var(--muted-2); font-size: .85rem; font-weight: 700; }

/* =====================================================
   БЛОГ
   ===================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.3rem; }
.blog-card {
  display: flex; flex-direction: column; gap: .65rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); border-color: rgba(47, 107, 255, .45); box-shadow: var(--shadow); }
.blog-chip {
  align-self: flex-start; padding: .3rem .7rem; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-2);
  font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
}
.blog-card h3 { font-size: 1.12rem; line-height: 1.3; }
.blog-card p { color: var(--muted); font-size: .92rem; }
.blog-more {
  margin-top: auto; padding-top: .4rem;
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--accent-2); font-weight: 700; font-size: .86rem;
}
.blog-more sup.tpl { color: var(--muted-2); border-color: var(--border-strong); }

/* =====================================================
   FAQ
   ===================================================== */
.faq { max-width: 820px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: .8rem; overflow: hidden;
  box-shadow: 0 2px 12px rgba(23, 43, 77, .04);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem; cursor: pointer; font-weight: 700; font-size: .98rem;
  list-style: none; transition: background .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { background: rgba(19, 26, 36, .03); }
.chev {
  width: 10px; height: 10px; flex-shrink: 0;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .25s; margin-top: -4px;
}
.faq details[open] .chev { transform: rotate(225deg); margin-top: 4px; }
.faq-body { padding: 0 1.3rem 1.15rem; color: var(--muted); font-size: .94rem; max-width: 70ch; }

/* =====================================================
   ФОРМА ЗАЯВКИ
   ===================================================== */
.lead-sec { background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.2rem); align-items: start; }
.lead-txt .kicker { margin-bottom: .7rem; }
.lead-txt .lead { margin: .9rem 0 1.4rem; }
.alt-contact { margin-top: 1.6rem; }
.alt-contact p { color: var(--muted-2); font-size: .9rem; margin-bottom: .7rem; }
.alt-btns { display: flex; gap: .7rem; flex-wrap: wrap; }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}
.form h3 { margin-bottom: 1.2rem; font-size: 1.3rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: .4rem; color: #2c3850; }
.field label small { color: var(--muted-2); font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 10px; padding: .78rem 1rem; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #8a97ab; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%2366738a" stroke-width="2" stroke-linecap="round"><path d="m6 9 6 6 6-6"/></svg>'); background-repeat: no-repeat; background-position: right 1rem center; background-size: 14px; padding-right: 2.6rem; }
.err { display: block; color: var(--err); font-size: .8rem; margin-top: .3rem; min-height: 1em; }
.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .82rem; color: var(--muted); margin: 1rem 0 1.2rem; cursor: pointer; }
.consent input { margin-top: .18rem; width: 16px; height: 16px; accent-color: var(--accent); flex-shrink: 0; }
.consent a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.form-status { margin-top: .9rem; font-size: .92rem; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--ok); }
.form-status.fail { color: var(--err); }
.form-note { margin-top: .5rem; font-size: .78rem; color: var(--muted-2); }
.form.done { text-align: center; }
.form.done .ok-ic {
  width: 58px; height: 58px; margin: .4rem auto 1rem; border-radius: 50%;
  background: rgba(26, 158, 102, .12); border: 1.5px solid rgba(26, 158, 102, .45);
  display: flex; align-items: center; justify-content: center;
}

/* HONEYPOT — поля невидимы и недоступны для человека, боты их заполняют */
.hp {
  position: absolute !important; left: -9999px !important; top: -9999px !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
  opacity: 0 !important; pointer-events: none !important;
}

/* =====================================================
   ПОДВАЛ — единственный тёмный блок страницы (контраст)
   ===================================================== */
.footer { background: #0d131c; color: #c3cddd; }
.f-grid {
  display: grid; grid-template-columns: 1.4fr .8fr 1fr .9fr;
  gap: 2rem; padding: 3rem 0 2.2rem;
}
.f-brand p { color: #8fa0b8; font-size: .9rem; margin: 1rem 0 1.2rem; max-width: 34ch; }
.f-soc { display: flex; gap: .5rem; flex-wrap: wrap; }
.soc-tpl {
  padding: .4rem .8rem; border: 1px dashed rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: .78rem; font-weight: 700; color: #8fa0b8; cursor: help;
}
.f-col { display: flex; flex-direction: column; gap: .55rem; }
.f-col b { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: #6ea8ff; margin-bottom: .4rem; }
.f-col a, .f-col span { color: #a7b4c8; font-size: .9rem; }
.f-col a:hover { color: #ffffff; }
.footer .logo-txt b { color: #6ea8ff; }
.f-bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; justify-content: space-between;
  padding: 1.2rem 0 1.4rem; border-top: 1px solid rgba(255, 255, 255, .08);
  color: #7e8ba0; font-size: .8rem;
}
.f-bottom a { color: #a7b4c8; text-decoration: underline; text-underline-offset: 3px; }

/* =====================================================
   ЛИПКАЯ КНОПКА (мобильные)
   ===================================================== */
.sticky-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(23, 43, 77, .10); transition: transform .3s, opacity .3s; }
.sticky-cta.hidden { transform: translateY(110%); opacity: 0; }

/* =====================================================
   Анимация появления
   ===================================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* =====================================================
   Адаптив
   ===================================================== */
@media (max-width: 1024px) {
  .ribbon-in { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; z-index: 40;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--border);
    padding: 1.2rem 1.4rem 1.6rem; transform: translateY(-130%); transition: transform .3s;
    max-height: calc(100dvh - 72px); overflow: auto;
  }
  body.menu-open .nav { transform: none; }
  .nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav ul a { display: block; padding: .85rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .nav ul a::after { content: none; }
  .nav-extra { margin-top: 1.1rem; justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-ph { order: -1; }
  .ph-hero { aspect-ratio: 16 / 10; min-height: 220px; }
  .why-grid { grid-template-columns: 1fr; }
  .gym-grid { grid-template-columns: 1fr; }
  .lead-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  body { padding-bottom: 76px; }
}

@media (max-width: 640px) {
  .header-in { height: 64px; }
  .nav { inset: 64px auto auto 0; }
  .dir-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; }
  .ribbon-in { grid-template-columns: 1fr; padding: .8rem 0; }
  .ribbon-item { padding: .35rem .8rem; }
  .f-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .gym-ph-row { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .f-bottom { flex-direction: column; }
}

/* =====================================================
   Хлебные крошки + статья блога
   ===================================================== */
.crumbs {
  display: flex; flex-wrap: wrap; gap: .45rem; align-items: center;
  font-size: .82rem; color: var(--muted-2); margin-bottom: 1.2rem;
}
.crumbs a { color: var(--accent-2); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs .sep { opacity: .55; }

.article { max-width: 780px; }
.article h2 { margin: 2.3rem 0 .9rem; font-size: 1.5rem; }
.article h3 { margin: 1.6rem 0 .6rem; font-size: 1.1rem; }
.article p { margin: .8rem 0; line-height: 1.72; }
.article ul, .article ol { margin: .8rem 0 1rem; padding-left: 1.4rem; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li { margin-bottom: .5rem; color: var(--muted); line-height: 1.68; }
.article .lead { margin: 1rem 0 1.6rem; }
.article p b { color: var(--text); }
.art-meta {
  display: flex; gap: 1rem; flex-wrap: wrap;
  color: var(--muted-2); font-size: .82rem; margin-bottom: 1.8rem;
}
.art-cta {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.6rem 1.8rem; margin: 2.2rem 0 1rem;
}
.art-cta h3 { margin-bottom: .5rem; }
.art-cta p { color: var(--muted); font-size: .95rem; margin: 0 0 1.1rem; }
