@font-face {
  font-family: "DM Sans";
  src: url("dm-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f2fbff;
  --ink: #103752;
  --deep: #092f50;
  --sky: #a8eaff;
  --muted: #3c5b70;
  --line: #a5c9db;
  --coral: #b54332;
  --whatsapp: #11763e;
  --whatsapp-hover: #095b2d;
  --chat-size: 3.875rem;
  --chat-inset: clamp(.875rem, 2vw, 1.5rem);
  --chat-right: calc(var(--chat-inset) + env(safe-area-inset-right, 0px));
  --chat-bottom: calc(var(--chat-inset) + env(safe-area-inset-bottom, 0px));
  --gutter: clamp(1.25rem, 6vw, 6.5rem);
  --serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.55 "DM Sans", sans-serif; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
h1, h2, .band-title, .band h3 { font-family: var(--serif); }
h2 { font-size: clamp(3rem, 6vw, 6.15rem); line-height: .95; letter-spacing: -.025em; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { max-width: 106rem; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; top: .5rem; left: .5rem; transform: translateY(-150%); z-index: 10; padding: .6rem 1rem; background: var(--paper); }
.skip:focus { transform: none; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; min-height: 2.75rem; padding: .6rem 1.15rem; border: 1px solid currentColor; border-radius: 100vmax; text-decoration: none; font-size: .88rem; font-weight: 700; }
.pill span { font-size: 1.1em; }
.info-cta { color: white; background: var(--deep); border-color: var(--deep); }
.info-cta:hover { background: #17547c; border-color: #17547c; }
.info-cta:focus-visible { outline-color: var(--deep); }
.whatsapp-cta, .whatsapp-float {
  color: white;
  background: var(--whatsapp);
  border: 1px solid var(--whatsapp);
}
.whatsapp-cta:hover, .whatsapp-float:hover {
  background: var(--whatsapp-hover);
  border-color: var(--whatsapp-hover);
}
.whatsapp-cta:focus-visible, .whatsapp-float:focus-visible {
  outline-color: var(--deep);
  box-shadow: 0 0 0 5px white;
}
.whatsapp-float {
  position: fixed;
  right: var(--chat-right);
  bottom: var(--chat-bottom);
  z-index: 8;
  display: grid;
  place-items: center;
  width: var(--chat-size);
  height: var(--chat-size);
  border-radius: 50%;
  box-shadow: 0 4px 16px #092f5040;
}
.whatsapp-float img { display: block; width: 3rem; height: 3rem; }

.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 5rem; padding-block: .4rem; }
.brand { justify-self: start; }
.brand img { display: block; width: clamp(6.25rem, 9vw, 8rem); height: auto; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.6rem); }
.masthead nav a { display: flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-size: .9rem; font-weight: 600; }
.masthead nav a:hover { text-decoration: underline; }
.header-cta { justify-self: end; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--deep); color: var(--paper); }
.hero-photo { position: absolute; inset: 0 0 0 23%; z-index: -2; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 65% 29%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--deep) 22%, #092f50f5 28%, #092f5099 45%, #092f5000 71%), linear-gradient(0deg, #092f5077, transparent 30%); }
.hero-inner { position: relative; display: grid; align-items: center; min-height: clamp(34rem, 46vw, 46rem); padding-block: clamp(3.1rem, 5.1vw, 6rem); }
.kicker { display: flex; align-items: center; gap: .65rem; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.mark { width: .48rem; height: .48rem; border-radius: 50%; background: var(--coral); flex: none; }
.hero .mark, .footer .mark { background: #ffb29c; }
.hero h1 { margin-block: 1.15rem 1.1rem; font-size: clamp(5rem, 8.4vw, 9.2rem); line-height: .85; letter-spacing: -.025em; }
.hero h1 em { color: var(--sky); font-weight: 400; }
.hero-description { max-width: 17rem; font-size: clamp(1rem, 1.3vw, 1.16rem); color: #dceffb; }
.hero .pill { margin-top: 1.55rem; }

.section-intro, .schedule { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(1.25rem, 6vw, 6rem); padding-block: clamp(3.25rem, 7vw, 7rem); align-items: end; }
.section-intro .kicker, .schedule .kicker, .footer .kicker { margin-bottom: 1rem; }
.section-intro > p, .schedule > div > p:last-child { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 29rem; }
.band {
  --text-share: 66.666667%;
  --slide: var(--text-share);
  --photo-shift: -33.333333%;
  --title-shift: calc(-100% - var(--gutter));
  --motion: 1.1s cubic-bezier(.42,0,.24,1);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: var(--text-share) 1fr;
  overflow: hidden;
  background: #dff6fc;
}
.band + .band { border-top: 2px solid var(--paper); }
.band.hydro {
  --slide: calc(-1 * var(--text-share));
  --photo-shift: 33.333333%;
  --title-shift: calc(100% + var(--gutter));
  grid-template-columns: 1fr var(--text-share);
  background: #d6ecfa;
}
.band-panel {
  grid-area: 1 / 1;
  align-self: center;
  padding: clamp(2.25rem, 4vw, 4.5rem) clamp(1.5rem, 4vw, 4.5rem) clamp(2.25rem, 4vw, 4.5rem) var(--gutter);
}
.hydro .band-panel {
  grid-column: 2;
  padding-inline: clamp(1.5rem, 4vw, 4.5rem) var(--gutter);
}
.band-panel h3 { font-size: clamp(2.65rem, 4.8vw, 5.3rem); line-height: .94; margin-bottom: 1rem; }
.band-lead { max-width: 58ch; font-size: 1.05rem; }
.benefits {
  display: grid;
  gap: .8rem clamp(1rem, 2vw, 2rem);
  margin: 1.2rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .93rem;
}
.benefits strong { display: block; margin-bottom: .2rem; }
.band-panel a { margin-top: 1.2rem; font-weight: 700; }
.band-panel a:not(.pill) { display: inline-block; }
.band-cover { grid-area: 1 / 2; position: relative; min-height: 100%; background: #174f73; }
.hydro .band-cover { grid-column: 1; }
.band-cover img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 41%; }
.hydro .band-cover img { object-position: 50% 53%; }
.band-title { display: none; }
.band[data-ready] .band-cover {
  grid-area: auto;
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--motion);
}
.band[data-ready] .band-cover img { transition: transform var(--motion); }
.band[data-ready] .band-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(8deg, #08213be8, #092f5055 45%, transparent 70%); pointer-events: none; }
.band[data-ready] .band-title { display: block; position: absolute; z-index: 1; left: var(--gutter); bottom: clamp(1.5rem, 4.6vw, 4.5rem); color: white; font-size: clamp(3.5rem, 7.5vw, 7.5rem); line-height: .9; transition: transform var(--motion); }
.hydro[data-ready] .band-title { right: var(--gutter); left: auto; }
.band[data-open] .band-cover { transform: translateX(var(--slide)); }
.band[data-open] .band-cover img { transform: translateX(var(--photo-shift)); }
.band[data-open] .band-title { transform: translateX(var(--title-shift)); }
.band-toggle { position: absolute; bottom: clamp(1.5rem, 4.6vw, 4.5rem); right: max(var(--gutter), calc(var(--chat-right) + var(--chat-size) + .75rem)); z-index: 2; display: inline-flex; align-items: center; gap: .65rem; min-height: 2.75rem; padding: .45rem .55rem .45rem .92rem; border: 1px solid var(--paper); border-radius: 100vmax; background: var(--deep); color: white; font-size: .83rem; font-weight: 700; cursor: pointer; }
.hydro .band-toggle { left: var(--gutter); right: auto; }
.band-toggle:hover { background: #17547c; }
.toggle-icon { display: grid; place-items: center; width: 1.65rem; height: 1.65rem; border-radius: 50%; background: var(--sky); color: var(--deep); font-size: 1.1rem; line-height: 1; }

.schedule { align-items: center; }
.schedule > div > p:last-child { margin-top: 1rem; }
.schedule-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.schedule-list li { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding-block: 1.05rem; border-bottom: 1px solid var(--line); }
.schedule-list h3 { font-size: 1.04rem; font-weight: 700; }
.schedule-list p { color: var(--muted); font-size: .9rem; }
.schedule-list a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; font-size: .88rem; font-weight: 700; }

.swim-hero .hero-inner { min-height: clamp(26rem, 38vw, 39rem); }
.swim-hero .hero-photo img { object-position: 64% 35%; }
.swim-hero h1 { font-size: clamp(4.8rem, 8vw, 8.5rem); }
.hero-jump { color: var(--paper); }
.hero-jump:hover { background: var(--sky); color: var(--deep); border-color: var(--sky); }
.swim-details {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.75rem, 5vw, 5rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}
.swim-details h2 { font-size: clamp(2.8rem, 5vw, 4.85rem); margin-bottom: 1.3rem; }
.swim-times { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.swim-times li {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: start;
  gap: .55rem 1.25rem;
  padding-block: .85rem;
  border-bottom: 1px solid var(--line);
}
.swim-times h3, .price-group h3, .trial-price h3 { font-size: 1rem; font-weight: 700; }
.swim-times p { font-size: .92rem; color: var(--muted); }
.swim-times .swim-day { color: var(--ink); font-weight: 600; }
.swim-times .swim-note { margin-top: .3rem; color: #a32628; font-size: .82rem; }
.swim-times time, .price-list dd, .trial-price p { font-variant-numeric: tabular-nums; }
.swim-prices { padding: clamp(1.25rem, 3vw, 2.5rem); background: #dff6fc; }
.price-group + .price-group { margin-top: 1.2rem; }
.price-list { margin: .4rem 0 0; }
.price-list > div, .trial-price { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; }
.price-list > div { padding-block: .45rem; border-bottom: 1px solid var(--line); }
.price-list dt { color: var(--muted); font-size: .92rem; }
.price-list dd, .trial-price p { margin: 0; font-weight: 700; white-space: nowrap; }
.trial-price { margin-top: 1.25rem; padding: .7rem .8rem; background: var(--deep); color: var(--paper); }
.swim-prices > .whatsapp-cta { margin-top: 1.2rem; }

.footer { background: var(--deep); color: var(--paper); }
.footer-main { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; padding-block: clamp(3rem, 6vw, 6rem); }
.footer-main h2 { margin-bottom: .75rem; }
.footer-main p:last-child, .footer-contact > span { color: #c6e4f5; }
.footer-contact { display: grid; justify-items: end; gap: .45rem; }
.footer-contact > span { font-size: .88rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; padding-right: max(var(--gutter), calc(var(--chat-right) + var(--chat-size) + 1rem)); border-top: 1px solid #557c98; color: #c6e4f5; font-size: .86rem; }

@media (min-width: 1120px) {
  .benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .section-intro, .schedule { gap: 1.25rem; }
  .swim-details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .masthead-inner { grid-template-columns: 1fr 1fr; gap: .05rem .75rem; padding-top: .8rem; }
  .masthead nav { grid-area: 2 / 1 / 3 / -1; gap: 1.45rem; }
  .header-cta { grid-area: 1 / 2; }
  .hero-inner { align-items: end; min-height: 37.5rem; padding-block: 13rem 3.5rem; }
  .hero-photo { inset: 0 0 auto; height: 22rem; mask-image: linear-gradient(black 68%, transparent); }
  .hero-photo img { object-position: 60% 23%; }
  .hero::after { background: linear-gradient(0deg, var(--deep) 40%, #092f50ea 49%, #092f5000 77%); }
  .hero h1 { font-size: clamp(4.2rem, 14vw, 5.85rem); }
  .swim-hero .hero-inner { min-height: 30rem; padding-block: 10rem 2.75rem; }
  .swim-hero .hero-photo { height: 20rem; }
  .swim-hero h1 { font-size: clamp(4rem, 14vw, 5.4rem); }
  .swim-times li { gap: .45rem .8rem; }
  .section-intro, .schedule { grid-template-columns: minmax(0, 1fr); }
  .schedule { gap: 1.65rem; }
  .band, .band.hydro { --text-share: 100%; grid-template-columns: minmax(0, 1fr); }
  .band-panel, .hydro .band-panel { grid-column: 1; padding: 1.9rem var(--gutter) 5.5rem; }
  .band:not([data-ready]) .band-cover { grid-area: 2 / 1; min-height: 11rem; }
  .band:not([data-ready]) .band-panel { padding-bottom: 1.9rem; }
  .band[data-ready] .band-title { left: var(--gutter); bottom: 5.45rem; right: var(--gutter); }
  .band-toggle { bottom: 1.55rem; }
  .footer-main { flex-direction: column; align-items: start; }
  .footer-contact { justify-items: start; }
}
@media (prefers-reduced-motion: reduce) {
  .band { --motion: .55s ease-in-out; }
}
