:root {
  --navy: #031b49;
  --navy-deep: #01102d;
  --blue: #0d5cff;
  --cyan: #14cadb;
  --white: #fff;
  --ice: #f2f8fb;
  --ink: #061735;
  --muted: #63718a;
  --line: rgba(6, 23, 53, .13);
  --radius: 26px;
  --max: 1320px;
  --display: "Unbounded", "Arial Black", sans-serif;
  --body: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; overflow-x: hidden; background: var(--white); color: var(--ink); font: 500 16px/1.55 var(--body); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--cyan); color: var(--navy-deep); }

.skip-link { position: fixed; z-index: 1000; left: 20px; top: 12px; padding: 12px 18px; border-radius: 12px; background: var(--cyan); color: var(--navy); font-weight: 800; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.scroll-progress { position: fixed; z-index: 999; inset: 0 0 auto; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }
.section { padding: 112px 0; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--white); transition: background .3s ease, box-shadow .3s ease, color .3s ease; }
.site-header.is-scrolled { background: rgba(255,255,255,.92); color: var(--ink); box-shadow: 0 10px 40px rgba(3,27,73,.08); backdrop-filter: blur(18px); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 13px; box-shadow: 0 8px 30px rgba(0,0,0,.16); }
.brand-text { display: grid; gap: 3px; line-height: 1; }
.brand-text strong { font-family: var(--display); font-size: .98rem; letter-spacing: .06em; }
.brand-text small { color: var(--cyan); font-size: .63rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: clamp(15px, 1.7vw, 28px); }
.site-nav a { position: relative; font-size: .82rem; font-weight: 700; white-space: nowrap; opacity: .78; transition: opacity .2s ease, color .2s ease; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; background: var(--cyan); transition: right .25s ease; }
.site-nav a:hover, .site-nav a.is-active { opacity: 1; }
.site-nav a:hover::after, .site-nav a.is-active::after { right: 0; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 920px; overflow: hidden; padding: 164px 0 0; background: var(--navy-deep); color: var(--white); isolation: isolate; }
.hero-grid { position: absolute; z-index: -3; inset: 0; opacity: .34; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, black 0%, transparent 92%); }
.hero-glow { position: absolute; z-index: -2; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .28; animation: drift 12s ease-in-out infinite alternate; }
.hero-glow-a { right: -180px; top: -240px; background: var(--blue); }
.hero-glow-b { left: 34%; bottom: -420px; background: var(--cyan); animation-delay: -6s; }
.hero-layout { min-height: 600px; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(420px, .92fr); align-items: center; gap: clamp(48px, 6vw, 88px); }
.hero-copy, .pool-visual, .section-head > *, .about-layout > *, .records-layout > *, .reviews-layout > *, .docs-layout > * { min-width: 0; }
.hero-kicker { display: flex; align-items: center; gap: 12px; color: var(--cyan); font-size: .74rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hero-kicker i { width: 28px; height: 1px; background: currentColor; }
.hero h1 { position: relative; z-index: 2; margin: 28px 0 26px; font-family: var(--display); font-size: clamp(4rem, 7vw, 7rem); font-weight: 800; letter-spacing: -.075em; line-height: .88; white-space: nowrap; }
.hero-copy > p { max-width: 610px; margin: 0; color: rgba(255,255,255,.7); font-size: clamp(1rem, 1.5vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; gap: 20px; padding: 14px 22px; border: 1px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--cyan); color: var(--navy-deep); box-shadow: 0 18px 55px rgba(20,202,219,.18); }
.button-primary:hover { box-shadow: 0 20px 55px rgba(20,202,219,.32); }
.button-ghost { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.04); color: var(--white); backdrop-filter: blur(8px); }
.button-ghost:hover { background: rgba(255,255,255,.1); }

.pool-visual { position: relative; min-height: 520px; border-radius: 44px; background: linear-gradient(145deg, rgba(12,89,255,.8), rgba(3,27,73,.25)); box-shadow: 0 40px 100px rgba(0,0,0,.3); transform: perspective(1000px) rotateY(-7deg) rotateX(2deg); }
.pool-visual::before { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.18); border-radius: inherit; box-shadow: inset 0 0 80px rgba(20,202,219,.16); }
.lane-track { position: absolute; left: 11%; right: 11%; height: 2px; overflow: hidden; background: rgba(255,255,255,.22); transform: rotate(-16deg); transform-origin: center; }
.lane-track::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 16px, rgba(255,255,255,.95) 16px 28px, transparent 28px 44px); animation: laneFlow 3.8s linear infinite; }
.lane-track span { position: absolute; right: 0; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan); transform: translateY(-50%); }
.lane-track-one { top: 25%; }
.lane-track-two { top: 50%; }
.lane-track-three { top: 75%; }
.lane-track-two::before { animation-duration: 5s; animation-direction: reverse; }
.pool-card { position: absolute; width: 235px; min-height: 178px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: 24px; background: rgba(3,17,46,.72); color: var(--white); box-shadow: 0 24px 70px rgba(0,0,0,.25); backdrop-filter: blur(18px); animation: floatCard 6s ease-in-out infinite; }
.pool-card-vodnik { left: -28px; top: 78px; }
.pool-card-ska { right: -22px; bottom: 62px; animation-delay: -3s; }
.pool-card small { display: block; color: rgba(255,255,255,.55); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.pool-card strong { display: block; margin: 26px 0 7px; font: 700 1.45rem/1 var(--display); }
.pool-card p { margin: 0; color: var(--cyan); font-size: .82rem; font-weight: 700; }
.hero-stats { display: grid; grid-template-columns: .9fr 1.2fr 1.05fr .85fr; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats > div { min-width: 0; min-height: 156px; display: grid; align-content: center; justify-items: start; gap: 12px; padding: 30px 24px 28px 0; border-right: 1px solid rgba(255,255,255,.14); }
.hero-stats > div:not(:first-child) { padding-left: 28px; }
.hero-stats > div:last-child { border-right: 0; }
.hero-stats strong { font: 700 clamp(1.8rem, 3vw, 3.2rem)/1 var(--display); }
.hero-stats span { max-width: 100%; color: rgba(255,255,255,.65); font-size: .78rem; }
.hero-stats .stat-pools { gap: 7px; }
.hero-stats .stat-pools strong { font-size: clamp(1.6rem, 2.7vw, 2.8rem); white-space: nowrap; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 44px; }
.section-code { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--blue); font-size: clamp(.95rem, 1.2vw, 1.12rem); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.section-code::before { content: ""; flex: 0 0 28px; width: 28px; height: 3px; border-radius: 2px; background: currentColor; }
.section-code-light { color: var(--cyan); }
.section h2 { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4.8rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; text-wrap: balance; }
.title-line { display: block; }
.demo-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .75rem; font-weight: 700; }
.demo-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.section-note { max-width: 410px; margin: 0 0 6px; color: var(--muted); font-size: .9rem; }

.news-section { background: var(--ice); }
.news-grid { display: grid; grid-template-columns: 1.32fr 1fr 1fr; gap: 18px; }
.news-card { min-height: 355px; display: flex; flex-direction: column; padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 60px rgba(3,27,73,.055); }
.news-card-featured { color: var(--white); background: linear-gradient(145deg, var(--blue), #073a9d); }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.news-meta span { color: var(--blue); }
.news-card-featured .news-meta span { color: var(--cyan); }
.news-card h3 { max-width: 460px; margin: auto 0 18px; font-family: var(--display); font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.14; letter-spacing: -.035em; }
.news-card p { margin: 0; color: var(--muted); font-size: .88rem; }
.news-card-featured p { color: rgba(255,255,255,.68); }
.text-link { align-self: flex-start; display: inline-flex; gap: 14px; margin-top: 30px; font-size: .78rem; font-weight: 800; }

.about-section { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.about-section::after { content: "В"; position: absolute; right: -2vw; bottom: -11vw; color: rgba(255,255,255,.025); font: 800 33vw/1 var(--display); pointer-events: none; }
.about-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 90px 70px; }
.about-lead h2 { max-width: 900px; font-size: clamp(2.45rem, 4.1vw, 4.2rem); line-height: 1.08; }
.about-copy { padding-top: 44px; color: rgba(255,255,255,.68); font-size: 1.04rem; }
.about-copy p { margin: 0 0 18px; }
.approach-grid { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.approach-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 24px; background: #092554; }
.approach-card > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.approach-copy { padding: 28px 24px 32px; }
.approach-card h3 { margin: 0 0 16px; font: 600 clamp(1rem, 1.25vw, 1.18rem)/1.35 var(--display); }
.approach-card p { margin: 0; color: rgba(255,255,255,.78); font-size: .9rem; line-height: 1.65; }

.coaches-section { background: var(--white); }
.coach-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.coach-card { position: relative; min-height: 330px; overflow: hidden; padding: 24px; border-radius: 24px; background: var(--ice); cursor: pointer; transition: color .3s ease, background .3s ease, transform .3s ease, box-shadow .3s ease; }
.coach-card:hover { color: var(--white); background: var(--blue); transform: translateY(-6px); }
.coach-card:focus-visible { outline: 3px solid var(--cyan); outline-offset: 4px; box-shadow: 0 24px 70px rgba(13,92,255,.2); }
.coach-mark { width: 132px; height: 132px; overflow: hidden; display: grid; place-items: center; border: 4px solid var(--white); border-radius: 50%; background: var(--white); box-shadow: 0 20px 55px rgba(13,92,255,.2); transition: transform .3s ease, border-color .3s ease; }
.coach-photo { --photo-scale: 1.04; --photo-hover-scale: 1.12; width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(var(--photo-scale)); transition: transform .3s ease; }
.coach-photo-igor { --photo-scale: 1.65; --photo-hover-scale: 1.73; object-position: 50% 27%; }
.coach-photo-yulia { object-position: 50% 27%; }
.coach-photo-andrey { object-position: 50% 29%; }
.coach-photo-mikhail { object-position: 50% 26%; }
.coach-photo-elizaveta { --photo-scale: 1.48; --photo-hover-scale: 1.56; object-position: 50% 27%; }
.coach-photo-galina { --photo-scale: 1.18; --photo-hover-scale: 1.26; object-position: 50% 27%; }
.coach-photo-svetlana { --photo-scale: 1.42; --photo-hover-scale: 1.5; object-position: 50% 36%; }
.coach-photo-polina { --photo-scale: 1.55; --photo-hover-scale: 1.63; object-position: 50% 39%; }
.coach-card:hover .coach-mark { border-color: var(--cyan); transform: scale(1.05) rotate(-4deg); }
.coach-card:hover .coach-photo { transform: scale(var(--photo-hover-scale)); }
.coach-card h4 { margin: 52px 0 10px; font: 600 1.08rem/1.2 var(--display); }
.coach-card p { margin: 0; color: var(--muted); font-size: .78rem; transition: color .3s ease; }
.coach-card:hover p { color: rgba(255,255,255,.8); }
.team-subheading { margin: 0 0 24px; font: 600 clamp(1.2rem, 2vw, 1.65rem)/1.3 var(--display); letter-spacing: -.025em; }
.team-subheading-staff { margin-top: 64px; }
.leadership-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.leadership-card { cursor: default; border: 1px solid var(--line); background: var(--white); }
.leadership-card h4 { margin-top: 34px; }
.leadership-card p { max-width: 310px; font-size: .88rem; }
.leadership-card:hover { color: var(--ink); background: var(--white); transform: none; }
.leadership-card:hover p { color: var(--muted); }
.leadership-card:hover .coach-mark { border-color: var(--white); transform: none; }
.leadership-card:hover .coach-photo { transform: scale(var(--photo-scale)); }
.coach-mark-placeholder { background: var(--navy); color: var(--cyan); font: 600 2rem/1 var(--display); box-shadow: none; }

.schedule-section { background: var(--navy-deep); color: var(--white); }
.section-head-dark { margin-bottom: 36px; }
.demo-label-dark { color: rgba(255,255,255,.6); }
.pool-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.pool-tab { min-height: 90px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; padding: 20px 25px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; background: transparent; color: rgba(255,255,255,.62); text-align: left; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.pool-tab small { color: inherit; font-size: .73rem; }
.pool-tab.is-active { border-color: var(--cyan); background: var(--cyan); color: var(--navy-deep); }
.schedule-workspace { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: #061a42; box-shadow: 0 28px 90px rgba(0,0,0,.22); }
.schedule-coach-picker { padding: 28px; border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.schedule-picker-label { display: block; margin-bottom: 17px; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.schedule-coach-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 9px; }
.schedule-coach-tab { min-height: 76px; display: flex; align-items: center; padding: 15px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.025); color: rgba(255,255,255,.58); text-align: left; cursor: pointer; transition: border-color .22s ease, background .22s ease, color .22s ease, transform .22s ease; }
.schedule-coach-tab:hover { border-color: rgba(20,202,219,.65); color: var(--white); transform: translateY(-2px); }
.schedule-coach-tab:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.schedule-coach-tab.is-active { border-color: var(--blue); background: var(--blue); color: var(--white); box-shadow: 0 14px 36px rgba(13,92,255,.2); }
.schedule-coach-tab span { font-size: .74rem; font-weight: 800; line-height: 1.3; }
.schedule-view { min-height: 420px; padding: 32px 28px 30px; animation: panelIn .35s ease; }
.schedule-trainer-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.schedule-trainer-head h3 { max-width: 800px; margin: 0; font: 600 clamp(1.45rem, 2.6vw, 2.4rem)/1.12 var(--display); letter-spacing: -.035em; }
.schedule-profile-link { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 13px; padding: 11px 16px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.72); font-size: .72rem; font-weight: 800; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.schedule-profile-link:hover { border-color: var(--cyan); background: rgba(20,202,219,.08); color: var(--cyan); }
.schedule-group-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.schedule-group-item { --group-color: var(--cyan); min-height: 62px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(255,255,255,.035); color: rgba(255,255,255,.76); font-size: .76rem; font-weight: 700; }
.schedule-group-item::before { content: ""; flex: 0 0 auto; width: 38px; height: 9px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: var(--group-color); }
.schedule-week { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.schedule-day { min-height: 150px; padding: 20px; border: 1px solid rgba(255,255,255,.08); border-radius: 18px; background: rgba(255,255,255,.04); }
.schedule-day h4 { margin: 0 0 22px; color: rgba(255,255,255,.48); font-size: .66rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.schedule-times { display: flex; flex-wrap: wrap; gap: 8px; }
.schedule-time { --group-color: var(--cyan); display: inline-flex; min-height: 39px; align-items: center; justify-content: center; padding: 9px 12px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: var(--group-color); color: var(--navy-deep); font: 700 .78rem/1 var(--display); }
.schedule-group-item.group-aqua, .schedule-time.group-aqua { --group-color: #63d9e7; }
.schedule-group-item.group-white, .schedule-time.group-white { --group-color: #fff; }
.schedule-group-item.group-lime, .schedule-time.group-lime { --group-color: #b8ff56; }
.schedule-group-item.group-yellow, .schedule-time.group-yellow { --group-color: #ffda61; }
.schedule-group-item.group-neutral, .schedule-time.group-neutral { --group-color: #e5eef6; }
.schedule-notice { min-height: 292px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 50px; padding: clamp(28px, 4vw, 54px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: linear-gradient(135deg, rgba(13,92,255,.2), rgba(20,202,219,.06)); }
.schedule-notice small { display: block; margin-bottom: 17px; color: var(--cyan); font-size: .68rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.schedule-notice h4 { max-width: 850px; margin: 0; font: 600 clamp(1.8rem, 3.5vw, 3.35rem)/1.08 var(--display); letter-spacing: -.045em; }
.schedule-notice p { max-width: 730px; margin: 20px 0 0; color: rgba(255,255,255,.62); font-size: .9rem; }
.schedule-phone { align-self: center; display: grid; gap: 9px; min-width: 260px; padding: 22px 24px; border-radius: 18px; background: var(--cyan); color: var(--navy-deep); }
.schedule-phone span { font-size: .66rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.schedule-phone strong { font: 600 1.15rem/1.1 var(--display); white-space: nowrap; }
.schedule-caption { max-width: 700px; margin: 22px 0 0; color: rgba(255,255,255,.5); font-size: .78rem; }

.records-section { background: var(--ice); }
.records-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.records-head { max-width: 1080px; }
.records-head h2 { max-width: 1080px; font-size: clamp(2.25rem, 4.6vw, 4.35rem); line-height: 1.08; text-wrap: balance; }
.records-head p { max-width: 690px; margin: 24px 0 0; color: var(--muted); font-size: 1.05rem; }
.records-board { border-radius: var(--radius); background: var(--white); box-shadow: 0 20px 70px rgba(3,27,73,.06); overflow: hidden; }
.record-row { display: grid; grid-template-columns: 1.24fr .6fr .72fr 1.16fr .72fr .72fr; align-items: center; gap: 14px; min-height: 96px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.record-row:last-child { border-bottom: 0; }
.record-row strong { font-size: .9rem; }
.record-row span { color: var(--muted); font-size: .8rem; }
.record-row b { color: var(--blue); font: 700 1.05rem/1 var(--display); text-align: right; }
.record-row-head { min-height: 56px; background: var(--navy); }
.record-row-head span { color: rgba(255,255,255,.7); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.record-row-head span:last-child { text-align: right; }
.records-controls { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.records-controls[hidden] { display: none; }
.records-controls button { width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--navy); font-size: 1.2rem; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.records-controls button:hover:not(:disabled) { border-color: var(--blue); background: var(--blue); color: var(--white); }
.records-controls button:disabled { opacity: .35; cursor: default; }
.records-controls span { min-width: 62px; color: var(--muted); font-size: .78rem; font-weight: 800; text-align: center; }

.reviews-section { overflow: hidden; background: var(--blue); color: var(--white); }
.reviews-layout { display: grid; grid-template-columns: minmax(340px, .64fr) minmax(0, 1.36fr); gap: 72px; align-items: center; }
.reviews-head { min-width: 0; padding-right: 24px; }
.reviews-head h2 { max-width: 400px; font-size: clamp(2.25rem, 3.1vw, 3.1rem); line-height: 1.08; }
.review-controls { display: flex; gap: 8px; margin-top: 46px; }
.review-controls button { width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.2rem; cursor: pointer; transition: background .2s ease, color .2s ease; }
.review-controls button:hover { background: var(--cyan); color: var(--navy); }
.reviews-window { overflow: hidden; border-radius: 34px; background: var(--white); color: var(--ink); }
.reviews-track { display: flex; transition: transform .55s cubic-bezier(.22,.61,.36,1); }
.review-card { min-width: 100%; min-height: 420px; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(34px, 6vw, 70px); }
.review-card blockquote { margin: 0; font-family: var(--display); font-size: clamp(1.45rem, 3vw, 2.45rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.25; }
.review-card footer { display: grid; gap: 4px; margin-top: 48px; }
.review-card footer strong { font-size: .9rem; }
.review-card footer span { color: var(--muted); font-size: .72rem; }

.route-section { background: var(--white); }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.location-card { min-height: 450px; display: flex; flex-direction: column; padding: 34px; border-radius: 30px; background: var(--navy); color: var(--white); }
.location-card-cyan { background: var(--cyan); color: var(--navy-deep); }
.location-top { display: flex; justify-content: space-between; align-items: center; }
.location-top small { color: var(--cyan); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.location-card-cyan .location-top small { color: var(--navy); }
.location-card h3 { margin: 110px 0 12px; font: 700 clamp(2rem, 4vw, 4rem)/1 var(--display); letter-spacing: -.05em; }
.location-card address { font-style: normal; font-size: 1rem; }
.location-line { position: relative; display: flex; align-items: center; justify-content: space-between; margin: 48px 0 32px; }
.location-line::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255,255,255,.25); }
.location-card-cyan .location-line::before { background: rgba(3,27,73,.24); }
.location-line i { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.location-card-cyan .location-line i { background: var(--navy); }
.button-map { align-self: flex-start; margin-top: auto; border-color: rgba(255,255,255,.3); color: inherit; }
.location-card-cyan .button-map { border-color: rgba(3,27,73,.25); }
.button-map:hover { background: var(--white); color: var(--navy); }

.docs-section { background: var(--ice); }
.docs-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.docs-head { position: sticky; top: 118px; }
.docs-head h2 { font-size: clamp(2.5rem, 5vw, 3.4rem); }
.docs-head p { max-width: 400px; margin-top: 24px; color: var(--muted); }
.docs-list { border-top: 1px solid var(--line); }
.doc-row { width: 100%; min-height: 112px; display: grid; grid-template-columns: minmax(0, 1fr) auto 24px; align-items: center; gap: 18px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; cursor: pointer; }
.doc-row strong { font-size: .95rem; }
.doc-row small { color: var(--muted); font-size: .7rem; }
.doc-row b { color: var(--blue); font-size: 1.1rem; transition: transform .2s ease; }
.doc-row:hover b { transform: translate(3px,-3px); }

.site-footer { padding: 68px 0 46px; background: var(--navy-deep); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 55px; }
.footer-brand { display: inline-flex; align-items: center; gap: 16px; justify-self: start; }
.footer-brand img { width: 64px; height: 64px; border-radius: 17px; }
.footer-brand span { display: grid; gap: 6px; }
.footer-brand strong { font: 700 1.25rem/1 var(--display); }
.footer-brand small { color: var(--cyan); font-size: .66rem; font-weight: 800; text-transform: uppercase; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; align-content: center; }
.footer-nav a { color: rgba(255,255,255,.65); font-size: .78rem; }
.footer-nav a:hover { color: var(--cyan); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.42); font-size: .68rem; }
.toast { position: fixed; z-index: 200; left: 50%; bottom: 24px; max-width: min(420px, calc(100% - 32px)); padding: 14px 20px; border-radius: 999px; background: var(--navy-deep); color: var(--white); box-shadow: 0 18px 60px rgba(0,0,0,.25); font-size: .78rem; font-weight: 700; opacity: 0; pointer-events: none; transform: translate(-50%, 18px); transition: opacity .25s ease, transform .25s ease; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.news-grid .reveal:nth-child(2), .coach-grid .reveal:nth-child(2), .coach-grid .reveal:nth-child(6) { transition-delay: .08s; }
.news-grid .reveal:nth-child(3), .coach-grid .reveal:nth-child(3), .coach-grid .reveal:nth-child(7) { transition-delay: .16s; }
.coach-grid .reveal:nth-child(4), .coach-grid .reveal:nth-child(8) { transition-delay: .24s; }

@keyframes laneFlow { to { transform: translateX(44px); } }
@keyframes floatCard { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(0,-13px,0); } }
@keyframes drift { to { transform: translate3d(90px, 45px, 0) scale(1.08); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1140px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .73rem; }
  .hero-layout { grid-template-columns: 1fr .85fr; }
  .pool-visual { min-height: 460px; }
  .pool-card { width: 205px; }
  .coach-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule-coach-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .records-layout { grid-template-columns: 1fr; gap: 45px; }
  .records-head { position: static; }
  .docs-layout { grid-template-columns: .8fr 1.2fr; gap: 45px; }
}

@media (max-width: 900px) {
  .section { padding: 84px 0; }
  .menu-toggle { position: relative; z-index: 3; width: 48px; height: 48px; margin-left: auto; display: grid; place-content: center; gap: 5px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; }
  .menu-toggle span { width: 18px; height: 1px; display: block; background: currentColor; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 18px; padding: 100px max(28px, calc((100vw - 720px)/2)); background: var(--navy-deep); color: var(--white); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease, visibility .25s ease; }
  .site-nav a { font: 600 clamp(1.35rem, 6vw, 2.4rem)/1.15 var(--display); opacity: .8; }
  .site-nav a::after { display: none; }
  .menu-open .site-nav { z-index: 2; opacity: 1; visibility: visible; transform: translateY(0); }
  .menu-open .site-header { background: transparent; color: var(--white); box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero { min-height: 0; padding-top: 148px; }
  .hero-layout { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { font-size: clamp(4.4rem, 17vw, 8rem); }
  .pool-visual { min-height: 430px; max-width: 700px; width: 100%; margin: 16px auto 0; transform: none; }
  .pool-card-vodnik { left: 22px; }
  .pool-card-ska { right: 22px; }
  .hero-stats { margin-top: 70px; }
  .hero-stats > div { display: grid; gap: 8px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card-featured { grid-column: 1 / -1; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; }
  .about-copy { padding-top: 0; }
  .approach-grid { grid-template-columns: 1fr; margin-top: 24px; gap: 16px; }
  .approach-card { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .approach-card > img { height: 100%; }
  .approach-copy { padding: 24px; }
  .leadership-card { padding: 22px 18px; }
  .leadership-card h4 { font-size: .96rem; }
  .schedule-coach-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .schedule-notice { grid-template-columns: 1fr; align-items: start; }
  .schedule-phone { justify-self: start; }
  .records-layout, .docs-layout { grid-template-columns: 1fr; }
  .records-head, .docs-head { position: static; }
  .records-board { overflow-x: auto; }
  .record-row { min-width: 1040px; }
  .reviews-layout { grid-template-columns: 1fr; gap: 45px; }
  .locations-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .shell { width: min(calc(100% - 28px), var(--max)); }
  .section { padding: 70px 0; }
  .nav-wrap { min-height: 74px; }
  .brand-text small { display: none; }
  .hero { padding-top: 128px; }
  .hero-kicker { gap: 8px; font-size: .62rem; }
  .hero-kicker i { width: 14px; }
  .hero h1 { margin-top: 22px; font-size: clamp(3.1rem, 16.5vw, 5.4rem); }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .pool-visual { min-height: 390px; border-radius: 28px; }
  .pool-card { width: calc(100% - 44px); min-height: 132px; }
  .pool-card-vodnik { left: 22px; top: 36px; }
  .pool-card-ska { right: 22px; bottom: 34px; }
  .pool-card strong { margin-top: 18px; }
  .lane-track-one { top: 38%; }
  .lane-track-two { top: 52%; }
  .lane-track-three { top: 66%; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div, .hero-stats > div:not(:first-child) { min-height: 108px; padding: 24px 10px 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .hero-stats > div:nth-child(even) { padding-left: 18px; border-right: 0; }
  .section-head { display: grid; gap: 18px; margin-bottom: 30px; }
  .section h2 { font-size: clamp(1.9rem, 9.2vw, 3.1rem); overflow-wrap: anywhere; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card-featured { grid-column: auto; }
  .news-card { min-height: 320px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-card { display: block; }
  /* Reset the tablet fill-height so the image leaves room for its caption. */
  .approach-card > img { height: auto; }
  .approach-copy { padding: 24px; }
  .approach-card h3 { font-size: clamp(1rem, 4.8vw, 1.18rem); }
  .coach-grid, .leadership-grid { grid-template-columns: 1fr; }
  .coach-card { min-height: 280px; }
  .coach-card h4 { margin-top: 42px; }
  .pool-tabs { grid-template-columns: 1fr; }
  .pool-tab { min-height: 70px; }
  .schedule-coach-picker { padding: 20px; }
  .schedule-coach-tabs { grid-template-columns: 1fr; }
  .schedule-coach-tab { min-height: 60px; align-items: center; }
  .schedule-view { min-height: 0; padding: 26px 20px 22px; }
  .schedule-trainer-head { display: grid; }
  .schedule-profile-link { justify-self: start; }
  .schedule-group-legend, .schedule-week { grid-template-columns: 1fr; }
  .schedule-day { min-height: 128px; }
  .schedule-notice { min-height: 0; grid-template-columns: 1fr; gap: 30px; padding: 26px 22px; }
  .schedule-phone { min-width: 0; width: 100%; }
  .review-card { min-height: 390px; }
  .location-card { min-height: 390px; padding: 26px; }
  .location-card h3 { margin-top: 80px; }
  .doc-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 10px; }
  .doc-row small { grid-column: 1; }
  .doc-row b { grid-column: 2; grid-row: 1 / span 2; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-meta { display: grid; gap: 8px; }
}

.swim-level-notes { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px 32px; margin: 0 0 28px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swim-level-notes p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.swim-level-notes strong { color: var(--ink); font-weight: 800; }
.schedule-section .swim-level-notes { border-color: rgba(255,255,255,.13); }
.schedule-section .swim-level-notes p { color: rgba(255,255,255,.72); }
.schedule-section .swim-level-notes strong { color: var(--cyan); }
.schedule-group-item > span, .coach-group-item > span { min-width: 0; }
@media (max-width: 680px) {
  .swim-level-notes { grid-template-columns: 1fr; }
  .hero-stats strong { font-size: 2rem; }
  .hero-stats .stat-pools strong { font-size: 1.6rem; }
  .leadership-card h4 { font-size: 1.08rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
