@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --swim-ink: #071d2b;
  --swim-ink-soft: #173747;
  --swim-blue: #08789b;
  --swim-blue-dark: #075974;
  --swim-aqua: #82d8e9;
  --swim-aqua-pale: #e7f7fa;
  --swim-paper: #f8f6ef;
  --swim-white: #fff;
  --swim-gold: #e8b54b;
  --swim-line: rgba(7, 29, 43, .14);
  --swim-muted: #536a76;
  --swim-danger: #a63b2c;
  --swim-success: #187354;
  --swim-shadow: 0 24px 70px rgba(7, 29, 43, .12);
  --swim-radius: 28px;
  --swim-shell: min(1180px, calc(100vw - 40px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--swim-ink);
  background: var(--swim-paper);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.67;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--swim-blue-dark);
  text-underline-offset: .18em;
}

a:hover {
  color: var(--swim-blue);
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--swim-gold);
  outline-offset: 4px;
}

.screen-reader-text,
.swim-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.swim-skip-link:focus {
  z-index: 10000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  color: var(--swim-white);
  background: var(--swim-ink);
  border-radius: 10px;
}

.swim-shell {
  width: var(--swim-shell);
  margin-inline: auto;
}

.swim-header {
  position: sticky;
  z-index: 70;
  top: 0;
  color: var(--swim-ink);
  background: rgba(248, 246, 239, .92);
  border-bottom: 1px solid var(--swim-line);
  backdrop-filter: blur(18px);
}

.admin-bar .swim-header {
  top: 32px;
}

.swim-header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.swim-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  line-height: 1.1;
}

.swim-brand > span:last-child {
  display: grid;
  gap: 4px;
}

.swim-brand strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.swim-brand small {
  color: var(--swim-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.swim-brand-mark {
  position: relative;
  width: 52px;
  height: 42px;
  overflow: visible;
  flex: 0 0 auto;
}

.swim-brand-mark::before {
  content: "БГ";
  position: absolute;
  top: -1px;
  left: 1px;
  color: var(--swim-blue-dark);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .06em;
}

.swim-brand-mark i {
  position: absolute;
  left: 0;
  width: 48px;
  height: 15px;
  border: 0 solid transparent;
  border-width: 0 0 2px;
  border-bottom-color: var(--swim-aqua);
  border-radius: 50%;
}

.swim-brand-mark i:first-child {
  bottom: 7px;
}

.swim-brand-mark i:last-child {
  bottom: 0;
  border-bottom-color: var(--swim-gold);
}

.swim-brand--light .swim-brand-mark::before {
  color: var(--swim-white);
}

.swim-primary-nav {
  margin-left: auto;
}

.swim-nav-list,
.swim-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.swim-nav-list {
  display: flex;
  align-items: center;
  gap: 23px;
}

.swim-nav-list a {
  color: var(--swim-ink-soft);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.swim-nav-list a:hover,
.swim-nav-list .current-menu-item > a {
  color: var(--swim-blue);
}

.swim-header-action,
.swim-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  color: var(--swim-white);
  background: var(--swim-blue-dark);
  border: 2px solid var(--swim-blue-dark);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}

.swim-header-action {
  min-height: 44px;
  padding-inline: 18px;
  font-size: 14px;
}

.swim-header-action:hover,
.swim-button:hover {
  color: var(--swim-white);
  background: var(--swim-blue);
  border-color: var(--swim-blue);
  transform: translateY(-2px);
}

.swim-button--light {
  color: var(--swim-ink);
  background: var(--swim-white);
  border-color: var(--swim-white);
}

.swim-button--light:hover {
  color: var(--swim-ink);
  background: var(--swim-aqua-pale);
  border-color: var(--swim-aqua-pale);
}

.swim-button--outline {
  color: var(--swim-blue-dark);
  background: transparent;
}

.swim-button--outline:hover {
  color: var(--swim-white);
}

.swim-hero .swim-button--outline,
.swim-cta .swim-button--outline {
  color: var(--swim-white);
  border-color: rgba(255, 255, 255, .55);
}

.swim-hero .swim-button--outline:hover,
.swim-cta .swim-button--outline:hover {
  color: var(--swim-ink);
  background: var(--swim-white);
  border-color: var(--swim-white);
}

.swim-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: transparent;
  border: 1px solid var(--swim-line);
  border-radius: 14px;
}

.swim-menu-toggle > span:not(.screen-reader-text) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--swim-ink);
  transition: transform .2s ease, opacity .2s ease;
}

.swim-hero {
  min-height: min(780px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  align-items: stretch;
  background: var(--swim-ink);
}

.swim-hero-copy {
  padding: clamp(64px, 8vw, 118px) clamp(40px, 6vw, 112px) 72px;
  padding-right: clamp(38px, 6vw, 92px);
  color: var(--swim-white);
  align-self: center;
}

.swim-kicker,
.swim-section-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--swim-aqua);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.swim-kicker::before,
.swim-section-kicker::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--swim-gold);
}

.swim-hero h1,
.swim-page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(44px, 5.9vw, 82px);
  line-height: .98;
  letter-spacing: -.055em;
}

.swim-hero-lead {
  max-width: 710px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
}

.swim-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.swim-hero-location {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 38px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.swim-hero-location li::before {
  content: "●";
  margin-right: 8px;
  color: var(--swim-gold);
  font-size: 9px;
}

.swim-hero-media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #10394a;
}

.swim-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 25%;
}

.swim-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 29, 43, .26), transparent 36%), linear-gradient(0deg, rgba(7, 29, 43, .6), transparent 42%);
}

.swim-hero-badge {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 28px;
  max-width: 270px;
  padding: 22px 24px;
  color: var(--swim-ink);
  background: rgba(255, 255, 255, .93);
  border-radius: 22px;
  box-shadow: var(--swim-shadow);
  backdrop-filter: blur(12px);
}

.swim-hero-badge strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
  line-height: 1.2;
}

.swim-hero-badge span {
  color: var(--swim-muted);
  font-size: 14px;
}

.swim-proof {
  background: var(--swim-white);
  border-bottom: 1px solid var(--swim-line);
}

.swim-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.swim-proof-item {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 30px;
  border-right: 1px solid var(--swim-line);
}

.swim-proof-item:first-child {
  border-left: 1px solid var(--swim-line);
}

.swim-proof-item strong {
  color: var(--swim-blue-dark);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.04em;
}

.swim-proof-item span {
  margin-top: 9px;
  color: var(--swim-muted);
  font-size: 14px;
  line-height: 1.35;
}

.swim-section {
  padding: clamp(72px, 9vw, 126px) 0;
}

.swim-section--white {
  background: var(--swim-white);
}

.swim-section--ink {
  color: var(--swim-white);
  background: var(--swim-ink);
}

.swim-section--aqua {
  background: var(--swim-aqua-pale);
}

.swim-section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.swim-section-head--row {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.swim-section-kicker {
  color: var(--swim-blue-dark);
}

.swim-section--ink .swim-section-kicker {
  color: var(--swim-aqua);
}

.swim-section h2,
.swim-content h2,
.swim-cta h2 {
  margin: 0;
  font-size: clamp(34px, 4.7vw, 60px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.swim-section-head > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--swim-muted);
  font-size: 18px;
}

.swim-section--ink .swim-section-head > p:last-child {
  color: rgba(255, 255, 255, .72);
}

.swim-program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.swim-program-card,
.swim-price-card,
.swim-info-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: var(--swim-white);
  border: 1px solid var(--swim-line);
  border-radius: var(--swim-radius);
}

.swim-program-card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
}

.swim-program-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -52px;
  width: 145px;
  height: 145px;
  border: 24px solid var(--swim-aqua-pale);
  border-radius: 50%;
}

.swim-program-card small,
.swim-card-label {
  color: var(--swim-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.swim-program-card h3,
.swim-price-card h3,
.swim-info-card h3 {
  position: relative;
  z-index: 1;
  margin: 22px 0 12px;
  font-size: 24px;
  line-height: 1.17;
  letter-spacing: -.03em;
}

.swim-program-card p,
.swim-price-card p,
.swim-info-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--swim-muted);
  font-size: 15px;
}

.swim-program-card a {
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 22px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.swim-story-grid,
.swim-split {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(42px, 8vw, 96px);
}

.swim-veteran-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
  align-items: center;
  gap: clamp(38px, 6vw, 82px);
}

.swim-veteran-image {
  margin: 0;
}

.swim-veteran-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--swim-radius);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .26);
}

.swim-veteran-image figcaption {
  margin-top: 10px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.swim-veteran-copy h2 {
  margin-bottom: 24px;
}

.swim-veteran-copy p {
  color: rgba(255, 255, 255, .76);
}

.swim-veteran-copy .swim-button {
  margin-top: 18px;
}

.swim-story-image,
.swim-feature-image {
  position: relative;
}

.swim-story-image img,
.swim-feature-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--swim-radius);
  box-shadow: var(--swim-shadow);
}

.swim-story-image::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -22px;
  left: -22px;
  width: 45%;
  aspect-ratio: 1;
  background: var(--swim-gold);
  border-radius: 50%;
}

.swim-story-copy > p,
.swim-split-copy > p {
  color: var(--swim-muted);
  font-size: 18px;
}

.swim-story-copy blockquote {
  margin: 30px 0;
  padding: 2px 0 2px 24px;
  border-left: 4px solid var(--swim-gold);
  font-size: 21px;
  font-weight: 650;
  line-height: 1.5;
}

.swim-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  text-decoration: none;
}

.swim-inline-link::after {
  content: "→";
  transition: transform .2s ease;
}

.swim-inline-link:hover::after {
  transform: translateX(4px);
}

.swim-schedule-card {
  overflow: hidden;
  background: var(--swim-white);
  border-radius: var(--swim-radius);
  box-shadow: var(--swim-shadow);
}

.swim-schedule-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  min-height: 92px;
  align-items: center;
  border-bottom: 1px solid var(--swim-line);
}

.swim-schedule-row:last-child {
  border-bottom: 0;
}

.swim-schedule-row strong,
.swim-schedule-row span {
  padding: 22px 30px;
}

.swim-schedule-row strong {
  color: var(--swim-blue-dark);
  font-size: 15px;
}

.swim-schedule-row span {
  color: var(--swim-muted);
  border-left: 1px solid var(--swim-line);
}

.swim-note {
  margin: 20px 0 0;
  color: var(--swim-muted);
  font-size: 13px;
}

.swim-location-panel {
  min-height: 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--swim-ink);
  border-radius: var(--swim-radius);
}

.swim-location-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swim-location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 6vw, 74px);
  color: var(--swim-white);
}

.swim-location-copy p {
  color: rgba(255, 255, 255, .72);
}

.swim-location-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 22px 0 4px;
}

.swim-location-facts span {
  min-width: 0;
  padding: 14px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
}

.swim-location-facts strong,
.swim-location-facts small {
  display: block;
}

.swim-location-facts strong {
  color: var(--swim-white);
  font-size: 15px;
}

.swim-location-facts small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  line-height: 1.35;
}

.swim-location-copy .swim-button {
  align-self: flex-start;
  margin-top: 20px;
}

.swim-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 94px);
  color: var(--swim-white);
  background: var(--swim-blue-dark);
  border-radius: var(--swim-radius);
}

.swim-cta::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -190px;
  width: 440px;
  height: 440px;
  border: 75px solid rgba(130, 216, 233, .16);
  border-radius: 50%;
}

.swim-cta > * {
  position: relative;
  z-index: 1;
}

.swim-cta p {
  max-width: 690px;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
}

.swim-page-hero {
  padding: clamp(74px, 9vw, 126px) 0 clamp(64px, 8vw, 104px);
  color: var(--swim-white);
  background: var(--swim-ink);
}

.swim-page-hero h1 {
  font-size: clamp(42px, 6vw, 76px);
}

.swim-page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(18px, 2.2vw, 23px);
}

.swim-page-body {
  padding: clamp(66px, 8vw, 112px) 0;
}

.swim-content {
  width: min(820px, 100%);
  margin-inline: auto;
}

.swim-content--wide {
  width: var(--swim-shell);
}

.swim-content--wide > h2,
.swim-content--wide > p {
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
}

.swim-feature-image--landscape img {
  aspect-ratio: 3 / 2;
}

.swim-content h2 {
  margin: 70px 0 22px;
  font-size: clamp(30px, 4vw, 46px);
}

.swim-content h2:first-child {
  margin-top: 0;
}

.swim-content h3 {
  margin: 34px 0 13px;
  font-size: 23px;
  line-height: 1.25;
}

.swim-content p,
.swim-content li {
  color: var(--swim-ink-soft);
}

.swim-content .swim-cta p {
  color: rgba(255, 255, 255, .82);
}

.swim-content > p:first-child,
.swim-lead {
  color: var(--swim-ink);
  font-size: 21px;
  line-height: 1.6;
}

.swim-content ul,
.swim-content ol {
  padding-left: 1.25em;
}

.swim-price-grid,
.swim-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 32px 0;
}

.swim-price-card {
  display: flex;
  flex-direction: column;
}

.swim-price-card .swim-price {
  margin: 24px 0 6px;
  color: var(--swim-ink);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

.swim-price-card .swim-price-note {
  margin-bottom: 22px;
  color: var(--swim-muted);
  font-size: 13px;
}

.swim-price-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.swim-price-card li {
  padding: 10px 0;
  border-bottom: 1px solid var(--swim-line);
  font-size: 14px;
}

.swim-price-card .swim-button {
  margin-top: auto;
}

.swim-price-card--featured {
  color: var(--swim-white);
  background: var(--swim-blue-dark);
  border-color: var(--swim-blue-dark);
}

.swim-price-card--featured h3,
.swim-price-card--featured .swim-price {
  color: var(--swim-white);
}

.swim-price-card--featured p,
.swim-price-card--featured li,
.swim-price-card--featured .swim-price-note {
  color: rgba(255, 255, 255, .75);
}

.swim-price-card--featured li {
  border-color: rgba(255, 255, 255, .18);
}

.swim-alert,
.swim-form-status {
  margin: 24px 0;
  padding: 20px 22px;
  border-radius: 18px;
}

.swim-alert {
  color: var(--swim-ink-soft);
  background: #fff3d9;
  border-left: 5px solid var(--swim-gold);
}

.swim-alert strong {
  display: block;
  margin-bottom: 4px;
  color: var(--swim-ink);
}

.swim-alert--payment {
  padding: 26px 28px;
  background: var(--swim-aqua-pale);
  border-left-color: var(--swim-blue);
}

.swim-alert--final {
  margin-top: 38px;
}

.swim-form-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .46fr);
  gap: 34px;
  align-items: start;
}

.swim-form,
.swim-contact-card,
.swim-payment-result {
  padding: clamp(26px, 5vw, 48px);
  background: var(--swim-white);
  border: 1px solid var(--swim-line);
  border-radius: var(--swim-radius);
  box-shadow: 0 16px 50px rgba(7, 29, 43, .08);
}

.swim-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.swim-field {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.swim-field > span {
  font-size: 14px;
  font-weight: 800;
}

.swim-field input,
.swim-field textarea,
.swim-field select {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  color: var(--swim-ink);
  background: #fbfcfb;
  border: 1px solid #aebcc3;
  border-radius: 13px;
}

.swim-field textarea {
  min-height: 140px;
  resize: vertical;
}

.swim-field input:focus,
.swim-field textarea:focus,
.swim-field select:focus {
  border-color: var(--swim-blue);
  outline: 3px solid rgba(8, 120, 155, .16);
}

.swim-consent {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0 26px;
  color: var(--swim-muted);
  font-size: 13px;
}

.swim-consent input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: var(--swim-blue-dark);
  flex: 0 0 auto;
}

.swim-age-group {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.swim-age-group legend {
  margin-bottom: 11px;
  font-size: 14px;
  font-weight: 800;
}

.swim-age-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.swim-age-options label {
  position: relative;
  cursor: pointer;
}

.swim-age-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.swim-age-options span {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 14px;
  color: var(--swim-ink-soft);
  background: #fbfcfb;
  border: 1px solid #aebcc3;
  border-radius: 13px;
  font-size: 14px;
  font-weight: 750;
  text-align: center;
}

.swim-age-options input:checked + span {
  color: var(--swim-white);
  background: var(--swim-blue-dark);
  border-color: var(--swim-blue-dark);
}

.swim-age-options input:focus-visible + span {
  outline: 3px solid var(--swim-gold);
  outline-offset: 3px;
}

.swim-form-legal {
  margin: 18px 0 0;
  color: var(--swim-muted);
  font-size: 12px;
  line-height: 1.5;
}

.swim-honeypot {
  position: absolute !important;
  left: -10000px !important;
}

.swim-form-status--success {
  color: #0f503b;
  background: #e2f6ed;
  border: 1px solid #9fd5bf;
}

.swim-form-status--error {
  color: #70251d;
  background: #fae6e3;
  border: 1px solid #e3aea6;
}

.swim-contact-card h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

.swim-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.swim-contact-list li {
  padding: 13px 0;
  border-bottom: 1px solid var(--swim-line);
}

.swim-contact-list li:last-child {
  border-bottom: 0;
}

.swim-contact-list a {
  font-weight: 800;
  text-decoration: none;
}

.swim-timeline {
  margin: 44px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--swim-line);
}

.swim-timeline li {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--swim-line);
}

.swim-timeline strong {
  color: var(--swim-blue-dark);
  font-size: 18px;
}

.swim-source-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.swim-source-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  color: var(--swim-ink);
  background: var(--swim-white);
  border: 1px solid var(--swim-line);
  border-radius: 15px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.swim-source-list a::after {
  content: "↗";
  color: var(--swim-blue);
}

.swim-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.swim-gallery-button {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  background: var(--swim-ink);
  border: 0;
  border-radius: 22px;
  cursor: zoom-in;
}

.swim-gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.swim-gallery-button:hover img {
  opacity: .84;
  transform: scale(1.025);
}

.swim-gallery-button span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 7px 11px;
  color: var(--swim-white);
  background: rgba(7, 29, 43, .8);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.swim-lightbox {
  width: min(1100px, calc(100vw - 28px));
  max-width: none;
  padding: 0;
  background: transparent;
  border: 0;
}

.swim-lightbox::backdrop {
  background: rgba(3, 13, 19, .9);
  backdrop-filter: blur(8px);
}

.swim-lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
}

.swim-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  color: var(--swim-white);
  background: rgba(7, 29, 43, .86);
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 50%;
  cursor: pointer;
}

.swim-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.swim-video-card {
  overflow: hidden;
  background: var(--swim-white);
  border: 1px solid var(--swim-line);
  border-radius: 22px;
}

.swim-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--swim-ink);
}

.swim-video-card figcaption {
  padding: 16px 18px;
  color: var(--swim-muted);
  font-size: 14px;
}

.swim-payment-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  margin: 24px 0;
  padding: 20px;
  background: var(--swim-aqua-pale);
  border-radius: 16px;
}

.swim-payment-summary strong {
  display: block;
}

.swim-payment-summary b {
  font-size: 24px;
}

.swim-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.swim-qr {
  width: 230px;
  min-height: 230px;
  display: grid;
  place-items: center;
  margin: 24px 0;
  padding: 12px;
  background: var(--swim-white);
  border: 1px solid var(--swim-line);
  border-radius: 16px;
}

.swim-qr img,
.swim-qr canvas {
  max-width: 100%;
  height: auto;
}

.swim-small {
  color: var(--swim-muted);
  font-size: 13px;
}

.swim-footer {
  padding: 70px 0 24px;
  color: rgba(255, 255, 255, .76);
  background: #04141e;
}

.swim-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 64px;
}

.swim-brand--light {
  color: var(--swim-white);
}

.swim-brand--light small {
  color: rgba(255, 255, 255, .58);
}

.swim-footer-intro p {
  max-width: 420px;
  margin-top: 22px;
}

.swim-footer h2 {
  margin: 0 0 18px;
  color: var(--swim-white);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.swim-footer-links {
  display: grid;
  gap: 10px;
}

.swim-footer a {
  color: rgba(255, 255, 255, .8);
}

.swim-release-note {
  margin-top: 48px;
  padding: 16px 18px;
  color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  font-size: 12px;
}

.swim-footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: 12px;
}

.swim-footer-bottom p {
  margin: 0;
}

.swim-empty {
  min-height: 55vh;
  display: grid;
  place-items: center;
  padding: 80px 20px;
  text-align: center;
}

.swim-empty h1 {
  margin: 0 0 16px;
  font-size: clamp(42px, 8vw, 90px);
}

@media (max-width: 1080px) {
  .swim-nav-list {
    gap: 15px;
  }

  .swim-nav-list a {
    font-size: 13px;
  }

  .swim-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .swim-price-grid,
  .swim-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .swim-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .swim-header {
    background: var(--swim-paper);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    z-index: 59;
    inset: var(--swim-header-bottom, 72px) 0 0;
    background: var(--swim-paper);
  }

  body.menu-open #main,
  body.menu-open .swim-footer {
    visibility: hidden;
  }

  .admin-bar .swim-header {
    top: 46px;
  }

  .swim-header-inner {
    min-height: 72px;
  }

  .swim-menu-toggle {
    display: block;
    margin-left: auto;
  }

  .swim-header-action {
    display: none;
  }

  .swim-primary-nav {
    position: fixed;
    z-index: 60;
    top: var(--swim-header-bottom, 72px);
    right: 0;
    bottom: auto;
    left: 0;
    display: none;
    width: 100%;
    height: calc(100dvh - var(--swim-header-bottom, 72px));
    min-height: calc(100vh - var(--swim-header-bottom, 72px));
    padding: 28px 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #f8f6ef;
    box-shadow: 0 24px 50px rgba(7, 29, 43, .12);
  }

  .swim-primary-nav.is-open {
    display: block;
  }

  .swim-nav-list {
    display: grid;
    align-items: stretch;
    gap: 0;
  }

  .swim-nav-list a {
    display: block;
    padding: 17px 6px;
    border-bottom: 1px solid var(--swim-line);
    font-size: 21px;
  }

  .swim-menu-toggle[aria-expanded="true"] > span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .swim-menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    opacity: 0;
  }

  .swim-menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .swim-hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .swim-hero-copy {
    padding: 76px max(24px, calc((100vw - 720px) / 2)) 60px;
  }

  .swim-hero-media {
    min-height: 630px;
  }

  .swim-proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .swim-proof-item:nth-child(3) {
    border-left: 1px solid var(--swim-line);
  }

  .swim-proof-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--swim-line);
  }

  .swim-story-grid,
  .swim-split,
  .swim-veteran-panel,
  .swim-location-panel,
  .swim-form-wrap {
    grid-template-columns: 1fr;
  }

  .swim-location-panel img {
    max-height: 520px;
  }

  .swim-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .swim-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .swim-footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .swim-footer-intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --swim-shell: min(100% - 32px, 1180px);
    --swim-radius: 22px;
  }

  body {
    font-size: 16px;
  }

  .swim-brand strong {
    font-size: 14px;
  }

  .swim-brand small {
    font-size: 9px;
  }

  .swim-brand-mark {
    width: 46px;
    height: 39px;
  }

  .swim-hero-copy {
    padding: 58px 16px 48px;
  }

  .swim-hero h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  .swim-hero-lead {
    font-size: 17px;
  }

  .swim-actions {
    display: grid;
  }

  .swim-button {
    width: 100%;
  }

  .swim-hero-media {
    min-height: 500px;
  }

  .swim-hero-badge {
    right: 16px;
    bottom: 16px;
    left: 16px;
    max-width: none;
  }

  .swim-proof-item {
    min-height: 110px;
    padding: 20px;
  }

  .swim-program-grid,
  .swim-price-grid,
  .swim-info-grid,
  .swim-form-grid,
  .swim-footer-grid,
  .swim-video-grid {
    grid-template-columns: 1fr;
  }

  .swim-location-facts,
  .swim-age-options {
    grid-template-columns: 1fr;
  }

  .swim-program-card {
    min-height: 275px;
  }

  .swim-section-head--row {
    display: block;
  }

  .swim-section-head--row .swim-inline-link {
    margin-top: 18px;
  }

  .swim-story-image::before {
    top: -12px;
    left: -8px;
  }

  .swim-schedule-row {
    display: block;
    padding: 18px 20px;
  }

  .swim-schedule-row strong,
  .swim-schedule-row span {
    display: block;
    padding: 0;
  }

  .swim-schedule-row span {
    margin-top: 5px;
    border-left: 0;
  }

  .swim-cta {
    padding: 42px 24px;
  }

  .swim-timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .swim-gallery {
    grid-template-columns: 1fr;
  }

  .swim-video-card video {
    max-height: 72vh;
  }

  .swim-footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
