:root{
  --navy:#26304d; --teal:#2f7f86; --teal-soft:#dff0ee; --sun:#f6c945; --sand:#fbf7f0;
  --ink:#1f2537; --muted:#5b6275; --line:#e6e0d4; --white:#fff; --r:18px; --max:1120px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth; scroll-padding-top:84px; color-scheme:light}
body{margin:0; background:var(--sand); color:var(--ink); font:17px/1.6 var(--font); -webkit-font-smoothing:antialiased}
img{max-width:100%; display:block}
a{color:var(--teal)}
h1,h2,h3{color:var(--navy); line-height:1.15; margin:0 0 .5em; letter-spacing:-.01em}
h1{font-size:clamp(2.3rem,6vw,4rem); font-weight:800}
h2{font-size:clamp(1.8rem,4vw,2.6rem); font-weight:800}
h3{font-size:1.2rem; font-weight:700}
p{margin:0 0 1em}
.wrap{max-width:var(--max); margin:0 auto; padding:0 20px}
section{padding:72px 0}
.page-top{padding-top:56px}
.eyebrow{display:inline-block; font-weight:700; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; color:var(--teal); margin-bottom:.6em}
.lead{font-size:1.15rem; color:var(--muted); max-width:46ch}

/* language toggle: show only the active language */
html[lang="en"] [data-l="es"], html[lang="es"] [data-l="en"]{display:none !important}

/* buttons */
.btn{display:inline-flex; align-items:center; justify-content:center; gap:.5em; padding:.85em 1.4em; border-radius:999px; font-weight:800; text-decoration:none; font-size:1rem; border:2px solid transparent; cursor:pointer; transition:transform .15s; font-family:inherit}
.btn:hover{transform:translateY(-2px)}
.btn-sun{background:var(--sun); color:var(--navy)}
.btn-navy{background:var(--navy); color:#fff}
.btn-ghost{border-color:var(--navy); color:var(--navy); background:transparent}
.btn-big{padding:1.1em 2em; font-size:1.2rem}
.btn svg{width:20px; height:20px; flex:none}
.cta-row{display:flex; flex-wrap:wrap; gap:12px; margin:24px 0}

/* header */
header{position:sticky; top:0; z-index:20; background:rgba(251,247,240,.96); backdrop-filter:blur(8px); border-bottom:1px solid var(--line)}
.nav{display:flex; align-items:center; gap:20px; height:76px}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--navy); font-weight:800; font-size:1.3rem; white-space:nowrap}
.brand img{width:62px; height:auto}
.nav-links{display:flex; gap:18px; margin-left:auto; white-space:nowrap}
.nav-links a{color:var(--navy); text-decoration:none; font-weight:700; font-size:.95rem}
.nav-links a:hover,.nav-links a[aria-current]{color:var(--teal)}
.lang{display:flex; border:2px solid var(--navy); border-radius:999px; overflow:hidden; flex:none}
.lang button{border:0; background:transparent; font:800 .8rem var(--font); color:var(--navy); padding:.4em .8em; cursor:pointer}
.lang button[aria-pressed="true"]{background:var(--navy); color:#fff}
.nav .btn{padding:.55em 1.1em; font-size:.92rem}
.menu-btn{display:none; flex:none; width:44px; height:44px; border:2px solid var(--navy); border-radius:12px; background:transparent; color:var(--navy); cursor:pointer; place-items:center; padding:0}
.menu-btn svg{width:24px; height:24px}
.menu-btn .x{display:none}
.menu-open .menu-btn .bars{display:none}
.menu-open .menu-btn .x{display:block}

header .wrap{max-width:1240px}
.nav{gap:16px}
.nav-links{gap:14px}
.nav-links a{font-size:.9rem}
.nav .btn{white-space:nowrap}
@media (max-width:1200px){
  .nav .btn{display:none}
  .nav-links{position:absolute; top:76px; left:0; right:0; flex-direction:column; gap:0; background:var(--sand); border-bottom:1px solid var(--line); padding:8px 20px 16px; display:none; white-space:normal; margin:0}
  .menu-open .nav-links{display:flex}
  .nav-links a{padding:12px 0; border-top:1px solid var(--line); font-size:1.05rem}
  .menu-btn{display:grid}
  header{position:sticky}
}

/* hero */
.hero{padding:56px 0 80px}
.hero-grid{display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center}
.hl{color:var(--teal)}
.chips{list-style:none; padding:0; margin:20px 0 0; display:flex; flex-wrap:wrap; gap:10px}
.chips li{background:#fff; border:1px solid var(--line); border-radius:999px; padding:.35em 1em; font-size:.9rem; font-weight:700; color:var(--navy)}
.hero-media{position:relative}
.hero-photo{border-radius:var(--r); overflow:hidden; box-shadow:0 18px 40px rgba(38,48,77,.15)}
.hero-photo img{width:100%; height:auto}
.hero-badge{position:absolute; left:-40px; bottom:-30px; width:200px; height:200px; border-radius:50%; background:#fff; display:grid; place-items:center; box-shadow:0 14px 30px rgba(38,48,77,.2); padding:24px}
.hero-badge img{width:100%; height:auto}

/* cards */
.card{background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:28px}
.why{padding-top:88px}
.why-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:32px 0 20px}
.offer{display:grid; grid-template-columns:repeat(3,1fr); gap:20px}
.offer .card{background:var(--navy); border-color:var(--navy)}
.offer .card h3{color:#fff}
.offer .card p{color:#e4e8f2; margin:0}
.why-grid .card p{color:var(--ink); margin:0}
.icon{width:48px; height:48px; border-radius:14px; background:var(--teal-soft); color:var(--teal); display:grid; place-items:center; margin-bottom:16px}
.icon svg{width:24px; height:24px}

/* press */
.press-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:8px}
.press-card{text-decoration:none; color:inherit; display:block}
.press-card:hover{border-color:var(--teal)}
.press-card blockquote{margin:0 0 16px; font-weight:800; color:var(--navy); font-size:1.15rem; line-height:1.4}
.press-src{color:var(--muted); font-size:.95rem; margin:0}
.press-src b{color:var(--teal)}

/* next links */
.next{padding-top:40px}
.next-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:16px}
.next-card{text-decoration:none; color:inherit; padding:22px; display:flex; flex-direction:column; min-height:170px}
.next-card:hover{border-color:var(--teal)}
.next-card .eyebrow{font-size:.75rem; margin-bottom:.4em}
.next-card h3{font-size:1.1rem; margin:0}

/* contact */
.contact{text-align:center; padding:88px 0}
.contact .wrap{display:flex; flex-direction:column; align-items:center}
.contact-mark{width:160px; height:auto; margin:0 auto 12px}
.contact .lead{margin:0 auto 12px}
.phone{font-size:1.6rem; font-weight:800; color:var(--navy); text-decoration:none}
.contact h2{margin-bottom:.3em}

/* footer */
footer{padding:36px 0; border-top:1px solid var(--line); color:var(--muted); font-size:.92rem}
footer .wrap{display:flex; flex-wrap:wrap; gap:16px 28px; align-items:center; justify-content:space-between}
footer .wrap > span{display:flex; align-items:center; gap:10px}
footer img{width:36px; height:auto}
footer a{color:var(--navy)}
.social{display:flex; gap:12px; align-items:center}
.social a{display:inline-flex; width:36px; height:36px; border-radius:50%; background:#fff; border:1px solid var(--line); align-items:center; justify-content:center}
.social svg{width:18px; height:18px}
.powered{font-size:.85rem}

/* sticky mobile CTA */
.sticky{display:none}

/* about / swim pages */
.about{padding-top:56px}
.about-grid{display:grid; grid-template-columns:.9fr 1.1fr; gap:48px; align-items:center}
.about-photo img{border-radius:var(--r); width:100%; height:auto; box-shadow:0 18px 40px rgba(38,48,77,.15)}
.about p{font-size:1.05rem}
.splash-line{display:flex; gap:12px; align-items:center; color:var(--navy); font-weight:700; background:var(--teal-soft); border-radius:var(--r); padding:16px 20px}
.splash-line .splash{width:28px; height:28px; flex:none; fill:var(--teal)}

/* schedule */
.sec-head{display:flex; justify-content:space-between; align-items:flex-end; gap:20px; flex-wrap:wrap; margin-bottom:24px}
.sched{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.cls{background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:22px; display:flex; flex-direction:column; gap:4px}
.cls .day{font-weight:800; color:var(--teal); text-transform:uppercase; letter-spacing:.06em; font-size:.85rem}
.cls .time{font-size:2rem; font-weight:800; color:var(--navy); line-height:1.1}
.cls h3{margin:6px 0 4px}
.month{display:block; font-size:1.05rem; font-weight:800; color:var(--teal); letter-spacing:.06em; text-transform:uppercase; margin:-.2em 0 .4em}
.cls details{margin:10px 0 0; padding:0; border:0; background:none}
.cls summary{display:inline-flex; align-items:center; gap:.5em; width:max-content; padding:.4em 1em; border:2px solid var(--navy); border-radius:999px; color:var(--navy); font-weight:800; font-size:.9rem; cursor:pointer; list-style:none}
.cls summary::-webkit-details-marker{display:none}
.cls summary::after{content:"+"; font-size:1rem; line-height:1; color:var(--navy)}
.cls details[open] summary::after{content:"–"}
.cls details > div{margin-top:8px; color:var(--muted); font-size:.95rem}
.cls .where{color:var(--muted)}
.notice{display:flex; flex-wrap:wrap; gap:16px; align-items:center; justify-content:space-between; background:var(--teal-soft); border-radius:var(--r); padding:22px 26px; margin-top:24px}
.notice p{margin:0; color:var(--navy); font-weight:600}
.spin{margin-top:32px; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:28px; display:grid; grid-template-columns:1fr 1fr; gap:28px}
.spin ul{list-style:none; padding:0; margin:0}
.spin li{display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid var(--line)}
.spin li:last-child{border-bottom:0}
.locations{background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
.loc-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:24px}
.loc{background:var(--sand); border:1px solid var(--line); border-radius:var(--r); padding:18px; scroll-margin-top:100px}
.loc .map img{border-radius:12px; width:100%; height:auto; margin-bottom:14px}
.loc .tag{display:inline-block; background:var(--teal-soft); color:var(--navy); font-weight:700; font-size:.85rem; border-radius:999px; padding:.2em .8em; margin-bottom:8px}
.loc h3{margin:0 0 4px}
.loc address{font-style:normal; color:var(--muted); margin-bottom:8px}
.dir{font-weight:800}
.map-credit{font-size:.8rem; color:var(--muted); margin-top:16px}

/* FAQ */
.faq-grid{display:grid; grid-template-columns:.8fr 1.2fr; gap:48px; align-items:start}
details{background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:16px 22px; margin-bottom:12px}
summary{cursor:pointer; font-weight:800; color:var(--navy); list-style:none; display:flex; justify-content:space-between; gap:12px}
summary::after{content:"+"; font-size:1.4rem; line-height:1; color:var(--teal)}
details[open] summary::after{content:"–"}
details > div{margin-top:10px; color:var(--ink)}
details p:last-child{margin-bottom:0}

/* gallery */
.video-grid{display:grid; grid-template-columns:1fr; gap:20px; margin-top:32px}
.video{margin:0; background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:24px}
.video figcaption{color:var(--muted)}
.video figcaption a{font-weight:800}

/* meet the team */
.team{padding-top:24px}
.team-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:20px; margin-top:24px}
.team-card{display:flex; flex-direction:column}
.team-card h3{margin:16px 0 8px}
.team-card p{margin:0; color:var(--ink)}
.team-photo{border-radius:14px; overflow:hidden; aspect-ratio:4/4.4; background:var(--teal-soft)}
.team-photo img{width:100%; height:100%; object-fit:cover}
.team-initial{display:grid; place-items:center; font-size:5rem; font-weight:800; color:var(--teal)}

/* swim lessons contact block */
.contact-inline{margin-top:12px}

/* responsive */
@media (max-width:960px){
  .hero-grid,.about-grid,.faq-grid{grid-template-columns:1fr; gap:32px}
  .hero-badge{left:-8px; bottom:-24px; width:150px; height:150px}
  .why-grid,.offer{grid-template-columns:1fr}
  .next-grid{grid-template-columns:repeat(2,1fr)}
  .press-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:1fr}
  .sched,.loc-grid,.spin{grid-template-columns:1fr}
}
@media (max-width:640px){
  body{font-size:16px}
  section{padding:56px 0}
  .brand{font-size:1.1rem}
  .brand img{width:52px}
  .lang{margin-left:auto}
  .hero{padding:24px 0 56px}
  .hero-badge{width:120px; height:120px; padding:14px}
  .next-grid{grid-template-columns:1fr}
  .sticky{display:block; position:fixed; left:12px; right:12px; bottom:12px; z-index:30}
  .sticky .btn{width:100%; box-shadow:0 8px 24px rgba(38,48,77,.25)}
  body{padding-bottom:80px}
  .contact{padding:64px 0 88px}
}
