@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;650;700;750&family=Manrope:wght@500;600;700;750;800&display=swap');

:root {
  --ink: #082e39;
  --ink-soft: #36505a;
  --navy: #081b3b;
  --pool: #006f76;
  --lime: #dcf65c;
  --cream: #f6f8f1;
  --line: #dce6df;
  --white: #fff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--white); color: var(--ink); font: 1rem/1.6 "DM Sans", system-ui, sans-serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid #008e92; outline-offset: 5px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand strong { font-family: "Manrope", system-ui, sans-serif; }
.wrap { width: min(100% - 5rem, 76rem); margin-inline: auto; }
.skip { position: absolute; z-index: 2; left: 1rem; top: -5rem; padding: .8rem; background: white; }
.skip:focus { top: .8rem; }
.header { background: var(--navy); color: var(--white); }
.header-inner { padding-block: .6rem; display: flex; align-items: center; gap: 2rem; }
.header a:focus-visible { outline-color: var(--white); }
.header-logo { display: block; width: auto; height: 8.5rem; }
.brand { display: inline-flex; gap: .75rem; align-items: center; text-decoration: none; flex-shrink: 0; line-height: 1.04; }
.brand strong { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.06em; }
.brand small { display: block; font-size: .77rem; font-weight: 650; margin-top: .3rem; }
.brand-logo { display: block; width: 3.25rem; height: 3.25rem; flex: none; object-fit: contain; }
.header nav { display: flex; gap: 2rem; margin-left: auto; align-items: center; }
.header nav a { font-weight: 650; text-decoration: none; }
.header nav a:hover { text-decoration: underline; text-underline-offset: .27em; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.15rem; padding: .69rem 1.23rem; border-radius: .55rem; font-weight: 750; text-decoration: none; text-align: center; line-height: 1.28; transition: background .16s ease, transform .16s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--pool); }
.button-lime { background: var(--lime); color: #18291b; }
.button-lime:hover { background: #ecff93; }
.hero { display: grid; grid-template-columns: .98fr 1.14fr; align-items: center; gap: clamp(2rem, 5vw, 5.5rem); padding-block: clamp(3rem, 6vw, 5.5rem); }
.eyebrow { display: flex; align-items: center; gap: .55rem; font-size: .84rem; font-weight: 750; letter-spacing: .1em; line-height: 1.35; text-transform: uppercase; }
.eyebrow span { width: 1rem; height: 2px; background: var(--pool); }
h1 { font-size: clamp(3.5rem, 6.1vw, 6.25rem); font-weight: 800; line-height: .99; letter-spacing: -.065em; margin-top: 1.1rem; }
h1 em { color: var(--pool); font-style: normal; }
.intro { font-size: clamp(1.06rem, 1.45vw, 1.24rem); max-width: 32ch; color: var(--ink-soft); margin-top: 1.55rem; }
.hero-actions, .location-links { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.45rem; margin-top: 1.75rem; }
.text-link { font-weight: 750; text-decoration-color: #429193; text-underline-offset: .27em; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--pool); }
.hero-image { border-radius: 1rem 1rem 4.5rem 1rem; overflow: hidden; position: relative; background: #086a71; aspect-ratio: 1.16; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 63% center; }
.pool-gallery { padding-block: clamp(3rem, 6vw, 5.25rem); }
.pool-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pool-gallery-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 58%; border-radius: .8rem; }
.pool-gallery-grid figcaption { margin-top: .45rem; font-weight: 650; }
.catalog { background: var(--cream); padding-block: clamp(3rem, 6vw, 5.25rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.7rem; }
h2 { font-size: clamp(2.45rem, 4.8vw, 4.6rem); line-height: 1.04; letter-spacing: -.075em; font-weight: 800; }
.section-head p { max-width: 34ch; color: var(--ink-soft); }
.programs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.program { min-width: 0; display: flex; flex-direction: column; align-items: start; background: white; border: 1px solid var(--line); border-radius: .7rem; padding: clamp(1rem, 2vw, 1.7rem); }
.program h3 { font-size: 1.33rem; font-weight: 800; letter-spacing: -.035em; line-height: 1.15; margin-block: 1rem .65rem; }
.program p { color: var(--ink-soft); }
.program .price { margin-top: auto; padding-top: 1.3rem; color: var(--ink); }
.price strong { font-size: 1.25rem; font-weight: 750; white-space: nowrap; }
.price span { font-size: .9rem; white-space: nowrap; }
.icon { width: 2.65rem; height: 2.65rem; border-radius: .56rem; background: #e2f1ec; color: #006a71; display: grid; position: relative; place-content: center; }
.icon i { display: block; }
.bubbles i { position: absolute; border: 1.5px solid currentColor; border-radius: 50%; width: .55rem; height: .55rem; top: .65rem; left: .7rem; }
.bubbles i:nth-child(2) { width: .7rem; height: .7rem; top: 1.2rem; left: 1.22rem; }
.bubbles i:nth-child(3) { width: .4rem; height: .4rem; top: 1.73rem; left: .68rem; }
.rings i { width: 1rem; height: 1rem; border: 1.5px solid currentColor; border-radius: 50%; position: absolute; top: .73rem; left: .55rem; }
.rings i:nth-child(2) { top: 1rem; left: 1.14rem; }
.lane { gap: .18rem; }
.lane i { height: 1.5px; width: 1.15rem; background: currentColor; transform: rotate(-34deg); }
.ripple i { width: 1.25rem; height: .31rem; border-bottom: 1.5px solid currentColor; border-radius: 50%; transform: skewX(-15deg); }
.visit { color: white; background: var(--ink); }
.visit-inner { display: grid; grid-template-columns: 1fr .83fr; align-items: end; gap: 2rem; padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.visit .eyebrow { color: var(--lime); margin-bottom: 1rem; }
.visit .eyebrow span { background: var(--lime); }
.visit-details { max-width: 27rem; justify-self: center; }
.visit-details p { font-size: 1.12rem; color: #f0faf6; margin-bottom: 1.3rem; }
.location { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 2rem 5rem; padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.location .eyebrow { margin-bottom: .85rem; }
address { font-style: normal; color: var(--ink-soft); margin-top: .8rem; }
.faq { padding: 1.4rem 1.65rem; background: var(--cream); border-radius: .75rem; }
.faq h3 { font-size: 1.38rem; font-weight: 800; letter-spacing: -.03em; margin-bottom: .5rem; }
details { border-bottom: 1px solid var(--line); }
details:last-child { border-bottom: 0; }
summary { cursor: pointer; font-weight: 700; padding: .78rem 0; }
summary:hover { color: var(--pool); }
details p { color: var(--ink-soft); padding-bottom: .9rem; }
footer { border-top: 1px solid #e7ece8; padding-block: 1.4rem; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.footer-inner p { color: var(--ink-soft); }
body { padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); }
.help-launcher, .help-panel { --help-edge: max(1rem, env(safe-area-inset-right)); }
.help-launcher {
  position: fixed;
  z-index: 1;
  inset: auto var(--help-edge) max(1rem, env(safe-area-inset-bottom)) auto;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3.2rem;
  padding: .35rem 1rem .35rem .5rem;
  border: 1px solid #076548;
  border-radius: 2rem;
  color: var(--white);
  background: #076548;
  box-shadow: 0 3px 0 #054e37, 0 7px 18px #082e3933;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.help-launcher:hover { background: #054e37; }
.help-launcher-label { display: grid; justify-items: start; line-height: 1.08; }
.help-launcher-label small { color: #dcf65c; font-size: .75rem; }
.help-launcher-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .16rem;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  color: #075647;
  background: #b8f4df;
}
.help-launcher-icon::before {
  content: "";
  position: absolute;
  bottom: -.03rem;
  left: .24rem;
  width: .55rem;
  height: .55rem;
  border-radius: 0 0 .12rem 0;
  background: inherit;
  transform: skew(-22deg, -18deg);
}
.help-launcher-icon span { width: .25rem; height: .25rem; border-radius: 50%; background: currentColor; }
.help-launcher-icon span:nth-child(2) { transform: translateY(-.12rem); }
.help-panel {
  position: fixed;
  inset: auto var(--help-edge) calc(4.65rem + env(safe-area-inset-bottom)) auto;
  margin: 0;
  width: min(22rem, calc(100% - var(--help-edge) - 1rem));
  max-height: calc(100dvh - 5.65rem - env(safe-area-inset-bottom));
  padding: 1rem;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: .9rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 8px 28px #082e3933;
}
.help-panel > header { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.help-panel h2 { font-size: 1.15rem; }
.help-close, .help-topics button { font: inherit; cursor: pointer; }
.help-close { flex: none; width: 2.75rem; height: 2.75rem; border: 0; border-radius: .5rem; color: var(--ink); background: var(--cream); font-size: 1.5rem; }
.help-topics { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: .8rem; }
.help-topics button { min-height: 2.75rem; padding: .35rem .65rem; border: 1px solid var(--line); border-radius: .65rem; color: var(--ink); background: var(--white); }
.help-topics button:hover, .help-topics [aria-pressed="true"] { background: var(--cream); border-color: var(--pool); }
.help-answer { padding: .75rem; border-radius: .65rem; background: var(--cream); }
.help-answer a, .help-contact a { display: inline-block; margin-top: .3rem; }
.help-contact { padding-top: .75rem; color: var(--ink-soft); }
.help-contact span { display: block; font-size: .9rem; }
.help-launcher:focus-visible, .help-panel button:focus-visible { outline: 3px solid #008e92; outline-offset: 2px; }
@supports not selector(:popover-open) {
  .help-launcher, .help-panel { display: none; }
}
@media (max-width: 63rem) {
  .wrap { width: min(100% - 3rem, 76rem); }
  .hero { gap: 2rem; }
  .wide { display: none; }
  .hero-image { aspect-ratio: .97; }
  .programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43rem) {
  .wrap { width: min(100% - 2.1rem, 76rem); }
  .header-inner { gap: .75rem; justify-content: space-between; }
  .header-logo { height: 7.5rem; }
  .header nav { display: none; }
  .header-cta { font-size: .88rem; min-height: 2.6rem; padding: .55rem .65rem; max-width: 9.4rem; }
  .brand strong { font-size: 1.3rem; }
  .brand small { font-size: .71rem; }
  .brand-logo { width: 2.75rem; height: 2.75rem; }
  .hero { grid-template-columns: 1fr; gap: 1.55rem; padding-block: 2.6rem 2.3rem; }
  .pool-gallery-grid { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 13vw, 5.2rem); }
  .hero-image { aspect-ratio: 1.34; border-radius: .8rem .8rem 2.6rem .8rem; }
  .hero-image img { object-position: 60% 48%; }
  .intro { margin-top: 1.15rem; }
  .hero-actions { margin-top: 1.2rem; }
  .section-head { align-items: start; flex-direction: column; gap: .55rem; }
  .visit-inner, .location { grid-template-columns: 1fr; }
  .visit-details { justify-self: start; }
  .faq { padding: 1rem; }
  .footer-inner { flex-direction: column; align-items: start; }
}
@media (max-width: 24rem) {
  .programs { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
