/* ===== Ocean Baby — фирменные стили ===== */

@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Light.ttf") format("truetype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("assets/fonts/Manrope-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Tovari"; src: url("assets/fonts/tovari-sans.otf") format("opentype"); font-weight: 400; font-display: swap; }

:root {
  --aqua: #DEF0F0;
  --mint: #B8DFDE;
  --blue: #3287C8;
  --navy: #0C4684;
  --yellow: #F8CC13;
  --ink: #0F1A2A;
  --muted: #5A6A7B;
  --line: #E5EEF3;
  --card: #FFFFFF;
  --shadow: 0 12px 40px rgba(12,70,132,.08);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --container: 1200px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--blue); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; position: relative; }
section.tight { padding: 44px 0; }
.page-hero + section { padding-top: 72px; }
.section-eyebrow {
  display: inline-block;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue); font-weight: 700; margin-bottom: 14px;
}
.h1 { font-family: "Manrope"; font-weight: 800; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.05; color: var(--navy); letter-spacing: -.02em; margin: 0 0 18px; }
.h2 { font-family: "Manrope"; font-weight: 800; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.1; color: var(--navy); letter-spacing: -.01em; margin: 0 0 16px; }
.h3 { font-family: "Manrope"; font-weight: 700; font-size: 22px; line-height: 1.25; color: var(--navy); margin: 0 0 10px; }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 720px; }
.muted { color: var(--muted); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease; text-decoration: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--yellow); color: var(--navy); }
.btn-primary:hover { background: #ffd633; color: var(--navy); }
.btn-secondary { background: var(--navy); color: #fff; }
.btn-secondary:hover { background: var(--blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.nav-toggle { display: none; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 22px; flex: 1; justify-content: center; flex-wrap: wrap; }
.nav a { color: var(--ink); font-weight: 500; font-size: 15px; padding: 6px 4px; position: relative; }
.nav a:hover, .nav a.active { color: var(--navy); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 3px; background: var(--yellow); border-radius: 2px; }
.header-extra { display: flex; align-items: center; gap: 10px; }
.branch-switch { display: flex; padding: 4px; background: var(--aqua); border-radius: 999px; font-size: 12px; font-weight: 600; }
.branch-switch button { border: 0; background: transparent; padding: 6px 12px; border-radius: 999px; cursor: pointer; color: var(--navy); }
.branch-switch button.active { background: #fff; box-shadow: 0 2px 8px rgba(12,70,132,.12); }
.lang-switch { font-size: 13px; color: var(--muted); }
.lang-switch button { background: transparent; border: 0; cursor: pointer; padding: 4px 6px; color: var(--muted); font-weight: 600; }
.lang-switch button.active { color: var(--navy); }

.hero { padding: 80px 0 64px; background: radial-gradient(900px 500px at 80% 0%, rgba(184,223,222,.55), transparent 70%), radial-gradient(700px 400px at 0% 100%, rgba(222,240,240,.85), transparent 65%), #fff; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero p.lead { margin-top: 6px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 36px; }
.hero-stats div b { display: block; font-family: "Manrope"; font-weight: 800; font-size: 28px; color: var(--navy); }
.hero-stats div span { font-size: 13px; color: var(--muted); }
.hero-visual { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--mint), var(--aqua)); overflow: hidden; box-shadow: var(--shadow); }
.hero-visual::before, .hero-visual::after { content: ""; position: absolute; border-radius: 50%; }
.hero-visual::before { width: 280px; height: 280px; background: rgba(255,255,255,.35); top: -60px; right: -60px; }
.hero-visual::after { width: 160px; height: 160px; background: rgba(50,135,200,.25); bottom: -40px; left: 20%; }
.hero-visual .placeholder-tag { position: absolute; left: 24px; bottom: 24px; background: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 999px; font-size: 12px; color: var(--navy); font-weight: 600; }
.hero-visual .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.hero-visual .play span { width: 88px; height: 88px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 32px rgba(12,70,132,.25); color: var(--navy); font-size: 28px; }
.formats-hero-split { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.formats-hero-split > div { display: flex; align-items: center; justify-content: center; font-size: 64px; }
.formats-hero-split .a { background: linear-gradient(135deg, var(--blue), var(--navy)); }
.formats-hero-split .b { background: linear-gradient(135deg, #fff3c4, var(--mint)); }
.hero-solo { max-width: 760px; margin: 0 auto; text-align: center; }
.hero-solo .lead { margin-left: auto; margin-right: auto; }
.hero-solo .hero-cta { justify-content: center; }
.hero-solo .hero-stats { justify-content: center; }

/* Встроенное видео (16:9, адаптивное) */
.video-embed { position: relative; aspect-ratio: 16/9; max-width: 900px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===== Слайдер (галереи филиалов) ===== */
.slider { position: relative; overflow: hidden; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.slider-track { display: flex; transition: transform .35s ease; }
.slider .slide { position: relative; min-width: 100%; margin: 0; aspect-ratio: 16/10; background: var(--aqua); }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider .slide figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--navy); font-weight: 600; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(12,70,132,.18); display: flex; align-items: center; justify-content: center; z-index: 2; }
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; transition: width .2s ease, background .2s ease; }
.slider-dots button.active { background: #fff; width: 22px; border-radius: 999px; }
@media (max-width: 640px) { .slider-arrow { width: 38px; height: 38px; font-size: 22px; } .slider .slide figcaption { font-size: 12px; } }

.grid { display: grid; gap: 24px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: var(--card); border-radius: var(--radius-md); padding: 28px; border: 1px solid var(--line); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card .icon { width: 56px; height: 56px; border-radius: 16px; background: var(--aqua); display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 26px; margin-bottom: 18px; }
.card .icon.icon-img { width: 88px; height: 88px; background: none; border-radius: 0; overflow: hidden; }
.card .icon.icon-img img { width: 150%; max-width: none; flex-shrink: 0; }
.card .icon.icon-pic { width: 104px; height: 104px; background: none; border-radius: 0; }
.card .icon.icon-pic img { width: 100%; height: 100%; object-fit: contain; }
.card.feature h3 { font-size: 20px; }
.card.dark { background: var(--navy); color: #fff; border-color: transparent; }
.card.dark h3 { color: #fff; }
.card.dark .icon { background: rgba(255,255,255,.12); color: var(--yellow); }
.card.dark .muted { color: rgba(255,255,255,.7); }

.ph { position: relative; border-radius: var(--radius-md); overflow: hidden; background: linear-gradient(135deg, var(--mint), var(--aqua)); aspect-ratio: 4/3; }
.ph.tall { aspect-ratio: 3/4; }
.ph.wide { aspect-ratio: 16/9; }
.ph.square { aspect-ratio: 1/1; }
.ph.deep { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; }
.ph.warm { background: linear-gradient(135deg, #fff3c4, var(--yellow)); }
.ph::before { content: ""; position: absolute; inset: 0; background-image: url("assets/elements/bubbles.webp"); background-size: 60% auto; background-repeat: no-repeat; background-position: 110% -20%; opacity: .35; }
.ph .ph-tag { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.92); padding: 6px 12px; border-radius: 999px; font-size: 12px; color: var(--navy); font-weight: 600; }
.ph.deep .ph-tag { background: rgba(255,255,255,.18); color: #fff; backdrop-filter: blur(6px); }
.ph .ph-emoji { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 64px; }
.ph .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Встроенный виджет карты 2GIS (DGWidgetLoader рендерит iframe) */
.map-embed { width: 100%; border-radius: var(--radius-md); overflow: hidden; line-height: 0; }
.map-embed iframe { display: block; width: 100% !important; max-width: 100% !important; border: 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head .lead { margin-left: auto; margin-right: auto; }

.age-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.age-card { position: relative; padding: 32px; border-radius: var(--radius-md); background: var(--aqua); transition: transform .2s ease, background .2s ease; cursor: pointer; overflow: hidden; }
.age-card:hover { transform: translateY(-6px); background: var(--mint); }
.age-card .age-num { font-family: "Manrope"; font-weight: 800; font-size: 32px; color: var(--navy); line-height: 1.15; margin-bottom: 12px; }
.age-card h3 { margin: 12px 0 6px; }
.age-card p { color: var(--muted); margin: 0 0 16px; min-height: 48px; }
.age-card .arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; font-size: 14px; }

.trainers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.trainers-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.member-card { display: grid; grid-template-columns: 200px 1fr; gap: 0; }
.trainer-card { background: var(--card); border-radius: var(--radius-md); border: 1px solid var(--line); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.trainer-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.trainer-card .ph { aspect-ratio: 4/5; border-radius: 0; }
.trainer-card .body { padding: 18px; }
.trainer-card h4 { margin: 0 0 4px; color: var(--navy); font-size: 18px; }
.trainer-card .cat { display: inline-block; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--navy); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.trainer-card .cat.master { background: var(--mint); }
.trainer-card .cat.elite { background: var(--navy); color: #fff; }
.trainer-card .specialty { color: var(--muted); font-size: 13px; margin: 8px 0 14px; }

.reviews-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: #fff; border-radius: var(--radius-md); padding: 26px; border: 1px solid var(--line); }
.review-card .stars { color: var(--yellow); margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { margin: 0 0 18px; color: var(--ink); font-size: 15px; line-height: 1.6; }
.review-card .who { display: flex; align-items: center; gap: 12px; }
.review-card .who .avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--mint), var(--aqua)); display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 800; }
.review-card .who b { display: block; font-size: 14px; }
.review-card .who span { font-size: 12px; color: var(--muted); }

.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 12px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.faq details[open] { border-color: var(--blue); background: var(--aqua); }
.faq summary { list-style: none; font-weight: 600; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--navy); font-size: 22px; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-top: 12px; color: var(--muted); }

/* ===== Кодекс — правила бережности ===== */
.code-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.code-rule { display: grid; grid-template-columns: 34px 1fr; gap: 14px; align-items: start; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 18px; }
.code-rule .n { width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; flex-shrink: 0; }
.code-rule p { margin: 0; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.55; }
.code-more { margin-top: 24px; text-align: center; }
.code-more > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; color: var(--navy); background: var(--yellow); font-weight: 700; padding: 12px 26px; border-radius: 999px; }
.code-more > summary::-webkit-details-marker { display: none; }
.code-more[open] > summary { background: rgba(255,255,255,.12); color: #fff; }
.code-more .code-rules { margin-top: 22px; text-align: left; }
@media (max-width: 1024px) { .code-rules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .code-rules { grid-template-columns: 1fr; } }

.form-card { background: var(--navy); color: #fff; padding: 40px; border-radius: var(--radius-lg); position: relative; overflow: hidden; }
.form-card::before { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(248,204,19,.5), transparent 70%); }
.form-card h2 { color: #fff; }
.form-card p { color: rgba(255,255,255,.8); }
.form-card .row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 12px; margin-top: 22px; align-items: end; }
.field label { display: block; font-size: 13px; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.field input, .field select { width: 100%; padding: 14px 16px; border-radius: 12px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-family: inherit; font-size: 15px; }
.field input::placeholder { color: rgba(255,255,255,.55); }
.field input:focus, .field select:focus { outline: 2px solid var(--yellow); }
.form-card .btn { white-space: nowrap; }

.wave-divider { height: 60px; background-image: url("assets/elements/wave.png"); background-repeat: repeat-x; background-size: auto 60px; opacity: .8; }

.stat-strip { background: var(--navy); color: #fff; padding: 36px 0; }
.stat-strip .stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-strip b { display: block; font-size: 36px; color: var(--yellow); font-weight: 800; }
.stat-strip span { font-size: 14px; color: rgba(255,255,255,.8); }

.site-footer { background: #0a2545; color: rgba(255,255,255,.85); padding: 64px 0 24px; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: #fff; }
.footer-logo { height: 50px; margin-bottom: 14px; }
.socials { display: flex; gap: 10px; margin-top: 14px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; margin-top: 36px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); }

.calc { background: linear-gradient(135deg, var(--aqua), #fff); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }
.calc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calc-fields .field label { color: var(--muted); }
.calc-fields .field select { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.calc-result { margin-top: 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.calc-result .res-card { background: #fff; padding: 22px; border-radius: var(--radius-md); border: 1px solid var(--line); text-align: center; }
.calc-result .res-card.highlight { background: var(--navy); color: #fff; border-color: transparent; }
.calc-result .res-card .label { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.calc-result .res-card.highlight .label { color: rgba(255,255,255,.7); }
.calc-result .res-card .price { font-family: "Manrope"; font-weight: 800; font-size: 28px; color: var(--navy); }
.calc-result .res-card.highlight .price { color: var(--yellow); }
.calc-result .res-card.highlight .save { font-size: 12px; color: rgba(255,255,255,.85); margin-top: 4px; }
.calc-cta { margin-top: 24px; display: flex; justify-content: flex-end; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; font-weight: 600; font-size: 14px; font-family: inherit; }
.tabs button.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow); }
table.price-table th, table.price-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
table.price-table th { background: var(--navy); color: #fff; font-weight: 600; font-size: 14px; }
table.price-table tbody tr:hover { background: var(--aqua); }
table.price-table .cat { font-weight: 700; color: var(--navy); }
table.price-table .price-cell { font-weight: 700; color: var(--navy); }

.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; box-shadow: 0 4px 20px rgba(12,70,132,.04); margin-bottom: 32px; }
.filter-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.filter-row label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.filter-row select, .filter-row input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line); font-family: inherit; font-size: 14px; background: #fff; }
.tags-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.tag { padding: 6px 14px; border-radius: 999px; background: var(--aqua); color: var(--navy); font-size: 12px; font-weight: 600; cursor: pointer; user-select: none; transition: background .15s ease, color .15s ease; }
.tag.active { background: var(--navy); color: #fff; }
.trainers-grid.full { grid-template-columns: repeat(4, 1fr); }

.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(10,37,69,.6); z-index: 100; align-items: center; justify-content: center; padding: 24px; }
.modal-overlay.open { display: flex; }
.modal { background: #fff; border-radius: var(--radius-lg); max-width: 720px; width: 100%; max-height: 90vh; overflow: auto; padding: 32px; position: relative; }
.modal .close { position: absolute; right: 16px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--aqua); border: 0; cursor: pointer; font-size: 18px; color: var(--navy); }

.timeline { display: grid; gap: 18px; }
.timeline-step { display: grid; grid-template-columns: 80px 1fr; gap: 22px; align-items: start; }
.timeline-step .num { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; font-family: "Manrope"; font-weight: 800; font-size: 24px; }
.timeline-step .body { padding-top: 6px; }
.timeline-step .body h3 { margin-bottom: 4px; }
.timeline-step .body p { color: var(--muted); margin: 0; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.compare .col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px; }
.compare .col.featured { background: var(--navy); color: #fff; border-color: transparent; }
.compare .col.featured h3 { color: #fff; }
.compare .col.featured ul li::before { background: var(--yellow); }
.compare ul { list-style: none; padding: 0; margin: 18px 0 0; }
.compare ul li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.compare ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px; background: var(--blue); border-radius: 50%; }

.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: start; }
.feature-list li:last-child { border-bottom: 0; }
.feature-list li .ico { width: 32px; height: 32px; border-radius: 8px; background: var(--aqua); color: var(--navy); display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; font-size: 14px; }
.feature-list li b { display: block; color: var(--navy); margin-bottom: 2px; }
.feature-list li span { color: var(--muted); font-size: 14px; }
.feature-list.feature-list-img li { grid-template-columns: 48px 1fr; }
.feature-list.feature-list-img li .ico { width: 48px; height: 48px; background: none; border-radius: 0; }
.feature-list.feature-list-img li .ico img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }

.cta-section { background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta-section::before { content: ""; position: absolute; right: -100px; bottom: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(248,204,19,.3), transparent 70%); }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.85); margin-bottom: 28px; }

.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 8px 16px; background: var(--aqua); color: var(--navy); border-radius: 999px; font-size: 13px; font-weight: 600; }

.page-hero { padding: 64px 0; background: radial-gradient(700px 300px at 100% 0%, rgba(184,223,222,.55), transparent 70%), var(--aqua); }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .lead { font-size: 18px; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--navy); }

@media (max-width: 1024px) {
  .grid.cols-3, .grid.cols-4, .age-cards, .trainers-grid, .trainers-grid.cols-3, .trainers-grid.full, .calc-fields, .calc-result, .reviews-track, .filter-row, .stat-strip .stats, .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .form-card .row { grid-template-columns: 1fr 1fr; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 48px 0; }
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .age-cards, .trainers-grid, .trainers-grid.cols-3, .trainers-grid.full, .calc-fields, .calc-result, .reviews-track, .filter-row, .stat-strip .stats, .site-footer .footer-grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 340px !important; }

  /* Мобильное меню: бургер + выпадающая навигация */
  .header-inner { gap: 12px; }
  .header-extra { margin-left: auto; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 42px; height: 42px; padding: 9px; border: 0; background: transparent;
    cursor: pointer; flex-shrink: 0;
  }
  .nav-toggle span {
    display: block; height: 2px; width: 100%; background: var(--navy); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-header .nav {
    display: flex; flex: none; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
    transition: max-height .28s ease, opacity .2s ease;
  }
  body.nav-open .site-header .nav { max-height: 85vh; opacity: 1; pointer-events: auto; padding: 6px 0; }
  .site-header .nav a { width: 100%; padding: 14px 24px; font-size: 16px; }
  .site-header .nav a.active::after { display: none; }

  .hero-stats { gap: 18px; }
  .form-card .row { grid-template-columns: 1fr; }
  .member-card { grid-template-columns: 1fr; }
  .member-card .ph { height: 240px; aspect-ratio: auto; }
  .timeline-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .timeline-step .num { width: 48px; height: 48px; font-size: 18px; }
}

/* ===== Вау-плашка под прайсом ===== */
.wow-offer-section { padding-top: 0; }
.wow-offer {
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(120deg, var(--yellow) 0%, #FFD740 100%);
  color: var(--navy);
  border-radius: var(--radius-lg);
  padding: 26px 34px;
  box-shadow: 0 16px 44px rgba(248,204,19,.35);
}
.wow-offer-emoji { font-size: 44px; line-height: 1; flex: none; }
.wow-offer-text { margin: 0; font-size: 20px; line-height: 1.45; font-weight: 600; }
.wow-offer-text b { font-weight: 800; }
@media (max-width: 640px) {
  .wow-offer { flex-direction: column; text-align: center; gap: 12px; padding: 22px 20px; }
  .wow-offer-emoji { font-size: 38px; }
  .wow-offer-text { font-size: 17px; }
}

/* ===== Экран «Спасибо» после отправки формы ===== */
.form-success { text-align: center; padding: 24px 12px; color: #fff; animation: obFadeIn .45s ease; }
.form-success .icon { width: 64px; height: 64px; border-radius: 50%; background: #2ecc71; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 34px; line-height: 1; margin: 0 auto 18px; box-shadow: 0 10px 28px rgba(46,204,113,.4); }
.form-success h3 { color: #fff; font-family: "Manrope"; font-weight: 800; font-size: 22px; margin: 0 0 10px; }
.form-success p { color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.6; margin: 0; }
@keyframes obFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
