/* ============================================================
   SWIMNEXAR — Clean Athletic Design
   ============================================================ */

:root {
  --red:       #d42b2b;
  --red-dark:  #a81f1f;
  --black:     #0d0d0d;
  --dark:      #141414;
  --dark-2:    #1e1e1e;
  --white:     #ffffff;
  --off-white: #f7f7f7;
  --gray:      #6b7280;
  --gray-lt:   #e5e7eb;
  --blue:      #1a56db;
  --blue-dark: #1239a6;
  --success:   #10b981;
  --error:     #ef4444;

  --font: 'Inter', -apple-system, sans-serif;
  --h:    var(--header-h);
  --ticker-h: 34px;
  --header-h: 114px;
  --r:    12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --ease: cubic-bezier(.4,0,.2,1);
  --t:    .3s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:hidden; }
body { font-family:var(--font); color:var(--black); background:var(--white); overflow-x:hidden; line-height:1.6; }
img { max-width:100%; height:auto; display:block; }
a { text-decoration:none; color:inherit; transition:color var(--t); }
ul { list-style:none; }

/* ── Container ── */
.container { width:100%; max-width:1180px; margin:0 auto; padding:0 24px; }

/* ── Buttons ── */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:14px 30px; font-size:15px; font-weight:700; border-radius:50px;
  border:2px solid transparent; cursor:pointer; transition:all var(--t);
  font-family:var(--font); white-space:nowrap;
}
.btn-red   { background:var(--red); color:var(--white); border-color:var(--red); box-shadow:0 6px 24px rgba(212,43,43,.35); }
.btn-red:hover   { background:var(--red-dark); border-color:var(--red-dark); transform:translateY(-2px); box-shadow:0 12px 32px rgba(212,43,43,.45); }
.btn-blue  { background:var(--blue); color:var(--white); border-color:var(--blue); box-shadow:0 6px 24px rgba(26,86,219,.35); }
.btn-blue:hover  { background:var(--blue-dark); transform:translateY(-2px); }
.btn-white { background:var(--white); color:var(--black); border-color:var(--white); }
.btn-white:hover { background:var(--off-white); transform:translateY(-2px); }
.btn-ghost { background:transparent; color:var(--white); border-color:rgba(255,255,255,.4); }
.btn-ghost:hover { border-color:var(--white); background:rgba(255,255,255,.08); }
.btn-outline-red { background:transparent; color:var(--red); border-color:var(--red); }
.btn-outline-red:hover { background:var(--red); color:var(--white); }
.btn-outline-blue { background:transparent; color:var(--blue); border-color:var(--blue); }
.btn-outline-blue:hover { background:var(--blue); color:var(--white); }
.btn-lg { padding:18px 40px; font-size:17px; }
.btn-sm { padding:10px 22px; font-size:14px; }
.btn-full { width:100%; }

/* ── Section ── */
.section { padding:96px 0; }
.section-dark { background:var(--dark); color:var(--white); }
.section-gray { background:var(--off-white); }

.label {
  display:inline-flex; align-items:center; gap:8px;
  font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:var(--red); margin-bottom:16px;
}
.label::before { content:''; width:20px; height:2px; background:var(--red); border-radius:2px; }
.label.blue { color:var(--blue); }
.label.blue::before { background:var(--blue); }
.label.white { color:rgba(255,255,255,.6); }
.label.white::before { background:rgba(255,255,255,.4); }

h2.title {
  font-size:clamp(30px, 4.5vw, 48px); font-weight:900; letter-spacing:-1.5px;
  line-height:1.1; color:var(--black); margin-bottom:18px;
}
h2.title.light { color:var(--white); }
.subtitle { font-size:17px; color:var(--gray); line-height:1.75; max-width:560px; }
.subtitle.light { color:rgba(255,255,255,.65); }
.section-head { margin-bottom:56px; }
.section-head.center { text-align:center; }
.section-head.center .label { justify-content:center; }
.section-head.center .subtitle { margin:0 auto; }

/* ── POPUP / ENTRY MODAL ── */
.entry-overlay {
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,.92);
  display:flex; align-items:center; justify-content:center;
  padding:24px;
  opacity:1; transition:opacity .4s ease;
}
.entry-overlay.hidden { opacity:0; pointer-events:none; }

.entry-modal {
  background:var(--dark); border:1px solid rgba(255,255,255,.08);
  border-radius:var(--r-xl); max-width:860px; width:100%;
  padding:56px 48px; text-align:center;
  transform:translateY(0); transition:transform .4s var(--ease);
}
.entry-overlay.hidden .entry-modal { transform:translateY(20px); }

.entry-logo {
  display:inline-flex; align-items:center; gap:10px;
  font-size:22px; font-weight:900; color:var(--white); margin-bottom:36px;
}
.entry-logo img { height:220px; width:auto; }

.entry-modal h2 {
  font-size:clamp(24px, 4vw, 36px); font-weight:900; color:var(--white);
  letter-spacing:-1px; margin-bottom:10px;
}
.entry-modal > p {
  font-size:16px; color:rgba(255,255,255,.5); margin-bottom:40px;
}

.entry-cards { display:grid; grid-template-columns:1fr 1fr; gap:20px; }

.entry-card {
  position:relative; overflow:hidden;
  border-radius:var(--r-lg); cursor:pointer;
  border:2px solid transparent; transition:all var(--t);
  aspect-ratio:3/2;
  display:flex; flex-direction:column; justify-content:flex-end;
}
.entry-card:hover { transform:translateY(-4px); }
.entry-card-bg {
  position:absolute; inset:0;
}
.entry-card-bg img { width:100%; height:100%; object-fit:cover; }
.entry-card-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
  transition:background var(--t);
}
.entry-card:hover .entry-card-overlay { background:linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 60%, transparent 100%); }

.entry-card.waterpolo:hover { border-color:var(--red); box-shadow:0 0 40px rgba(212,43,43,.35); }
.entry-card.swimteam:hover  { border-color:var(--blue); box-shadow:0 0 40px rgba(26,86,219,.35); }

.entry-card-content { position:relative; z-index:1; padding:28px; text-align:left; }
.entry-card-icon { font-size:36px; margin-bottom:12px; display:block; }
.entry-card-content h3 { font-size:24px; font-weight:900; color:var(--white); margin-bottom:4px; }
.entry-card-content p  { font-size:14px; color:rgba(255,255,255,.6); margin-bottom:20px; }
.entry-card-cta {
  display:inline-flex; align-items:center; gap:8px;
  font-size:14px; font-weight:700; color:var(--white);
  padding:10px 20px; border-radius:50px; transition:all var(--t);
}
.entry-card.waterpolo .entry-card-cta { background:var(--red); }
.entry-card.swimteam  .entry-card-cta { background:var(--blue); }
.entry-card:hover .entry-card-cta { gap:12px; }

/* ── ANNOUNCEMENT TICKER (injected into header via JS) ── */
.ticker-bar {
  width: 100%; height: 34px; overflow: hidden;
  background: #1a1a1a; display: flex; align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
}
.ticker-track {
  display: flex; align-items: center; flex-shrink: 0;
  white-space: nowrap;
  animation: ticker-scroll 44s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex; align-items: center;
  padding: 0 22px; height: 34px;
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.6);
  white-space: nowrap;
}
.ticker-dot {
  display: inline-block; width: 3px; height: 3px; border-radius: 50%;
  background: rgba(255,255,255,.2); align-self: center;
}
@media (max-width: 768px) { .ticker-bar { display: none; } }

/* ── HEADER ── */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; flex-direction: column;
  transition: background var(--t), box-shadow var(--t);
}
.header.scrolled {
  background:rgba(13,13,13,.96);
  backdrop-filter:blur(16px);
  box-shadow:0 1px 0 rgba(255,255,255,.06);
}
.header .container {
  height: 80px; display:flex; flex-direction:row;
  align-items:center; justify-content:space-between; gap:16px;
  flex-shrink: 0;
}
.logo {
  display:flex; align-items:center; flex-shrink:0;
}
.logo img { height:56px; width:auto; }
.header .logo img { height:38px; }
.logo-text {
  display:flex; flex-direction:row; align-items:center; gap:12px;
  font-size:18px; font-weight:900; color:var(--white);
  letter-spacing:3px; text-transform:uppercase; line-height:1; white-space:nowrap;
}
.logo-text::after {
  content:''; display:block; width:1px; height:18px;
  background:rgba(255,255,255,.3);
}
.logo-text em {
  font-style:normal; font-size:11px; font-weight:500;
  letter-spacing:3px; color:rgba(255,255,255,.6); text-transform:uppercase;
}
.nav { display:flex; align-items:center; gap:2px; flex:1; justify-content:center; }
.nav-link {
  padding:8px 14px; font-size:14px; font-weight:600;
  color:rgba(255,255,255,.7); border-radius:8px; transition:all var(--t);
}
.nav-link:hover, .nav-link.active { color:var(--white); background:rgba(255,255,255,.1); }
.header-cta { flex-shrink:0; }
.menu-btn {
  display:none; flex-direction:column; gap:5px; padding:12px;
  background:none; border:none; cursor:pointer;
  min-width:48px; min-height:48px; align-items:center; justify-content:center;
}
.menu-btn span { display:block; width:22px; height:2px; background:var(--white); border-radius:2px; transition:all var(--t); }
.menu-btn.open span:nth-child(1) { transform:rotate(45deg) translate(5px,5px); }
.menu-btn.open span:nth-child(2) { opacity:0; }
.menu-btn.open span:nth-child(3) { transform:rotate(-45deg) translate(5px,-5px); }

/* ── HERO ── */
.hero {
  position:relative; min-height:100vh;
  display:flex; align-items:center; overflow:hidden;
  padding-top:var(--header-h);
}
.hero-photo { position:absolute; inset:0; }
.hero-photo img { width:100%; height:100%; object-fit:cover; object-position:center 40%; }
.hero-dim {
  position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(0,0,0,.78) 0%, rgba(0,0,0,.65) 50%, rgba(0,0,0,.85) 100%);
}
.hero-body {
  position:relative; z-index:2; max-width:700px;
  padding-top:0; padding-bottom:120px;
}
.hero-tag {
  font-size:12px; font-weight:700; letter-spacing:2px; text-transform:uppercase;
  color:rgba(255,255,255,.5); margin-bottom:20px;
}
.hero h1 {
  font-size:clamp(48px, 8vw, 88px); font-weight:900;
  line-height:1.02; letter-spacing:-3px; color:var(--white); margin-bottom:20px;
}
.hero h1 span { color:var(--red); }
.hero-sub {
  font-size:18px; color:rgba(255,255,255,.75); line-height:1.75; margin-bottom:20px; max-width:500px;
}
.hero-free {
  display:inline-block; background:rgba(212,43,43,.2); border:1px solid rgba(212,43,43,.4);
  color:rgba(255,255,255,.9); font-size:13px; font-weight:700;
  padding:8px 16px; border-radius:50px; margin-bottom:36px;
}
.hero-btns { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:60px; }
.hero-stats {
  display:flex; gap:40px; flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.1); padding-top:32px;
}
.hero-stat strong { display:block; font-size:26px; font-weight:900; color:var(--white); letter-spacing:-1px; line-height:1; }
.hero-stat span   { font-size:12px; color:rgba(255,255,255,.45); font-weight:500; margin-top:4px; text-transform:uppercase; letter-spacing:.5px; }
.hero-wave { position:absolute; bottom:-2px; left:0; right:0; z-index:3; line-height:0; }
.hero-wave svg { display:block; width:100%; }

/* ── ABOUT ── */
.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:72px; align-items:center; }
.about-photo { border-radius:var(--r-lg); overflow:hidden; box-shadow:0 20px 60px rgba(0,0,0,.15); }
.about-photo img { width:100%; height:480px; object-fit:cover; }
.about-text .label { margin-bottom:14px; }
.about-text h2 { margin-bottom:16px; }
.about-text p { color:var(--gray); font-size:16px; line-height:1.8; margin-bottom:16px; }
.about-creds { display:flex; flex-direction:column; gap:12px; margin-top:28px; }
.cred {
  display:flex; align-items:center; gap:14px;
  padding:16px 20px; background:var(--off-white); border-radius:var(--r);
  border-left:3px solid var(--red);
}
.cred-icon { font-size:22px; flex-shrink:0; }
.cred-text strong { display:block; font-size:14px; font-weight:700; color:var(--black); }
.cred-text span   { font-size:13px; color:var(--gray); }

/* ── PROGRAMS ── */
.programs-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.prog-card {
  border-radius:var(--r-xl); overflow:hidden; position:relative;
  min-height:420px; display:flex; flex-direction:column; justify-content:flex-end;
  transition:transform var(--t), box-shadow var(--t);
}
.prog-card:hover { transform:translateY(-6px); box-shadow:0 24px 64px rgba(0,0,0,.2); }
.prog-card-bg { position:absolute; inset:0; }
.prog-card-bg img { width:100%; height:100%; object-fit:cover; }
.prog-card-dim {
  position:absolute; inset:0;
  background:linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.4) 60%, transparent 100%);
}
.prog-card.wp-card .prog-card-dim { background:linear-gradient(to top, rgba(140,20,20,.9) 0%, rgba(0,0,0,.5) 60%, transparent 100%); }
.prog-card-body { position:relative; z-index:1; padding:32px; }
.prog-card-tag {
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:1.5px;
  text-transform:uppercase; padding:5px 14px; border-radius:50px;
  color:var(--white); margin-bottom:14px;
}
.wp-card .prog-card-tag  { background:var(--red); }
.st-card .prog-card-tag  { background:var(--blue); }
.prog-card-body h3 { font-size:28px; font-weight:900; color:var(--white); margin-bottom:6px; }
.prog-card-body p  { font-size:15px; color:rgba(255,255,255,.7); margin-bottom:24px; line-height:1.6; }
.prog-card-body .btn { width:100%; }

/* ── PRICING ── */
.pricing-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.price-card {
  background:var(--white); border:2px solid var(--gray-lt); border-radius:var(--r-xl);
  padding:36px 28px; transition:all var(--t); position:relative;
}
.price-card:hover { border-color:var(--red); box-shadow:0 16px 48px rgba(0,0,0,.1); transform:translateY(-4px); }
.price-card.popular { border-color:var(--red); box-shadow:0 0 0 4px rgba(212,43,43,.08); }
.price-pop-badge {
  position:absolute; top:-13px; left:50%; transform:translateX(-50%);
  background:var(--red); color:var(--white); font-size:11px; font-weight:800;
  letter-spacing:1px; text-transform:uppercase; padding:5px 18px; border-radius:50px;
}
.price-icon { font-size:36px; margin-bottom:16px; }
.price-card h3 { font-size:18px; font-weight:800; color:var(--black); margin-bottom:4px; }
.price-age    { font-size:13px; color:var(--red); font-weight:600; margin-bottom:20px; }
.price-amount { font-size:48px; font-weight:900; color:var(--black); letter-spacing:-2px; line-height:1; }
.price-per    { font-size:14px; color:var(--gray); margin-left:2px; }
.price-note   { font-size:13px; color:var(--gray); margin-top:6px; margin-bottom:20px; }
.price-divider { height:1px; background:var(--gray-lt); margin:20px 0; }
.price-feats  { display:flex; flex-direction:column; gap:10px; margin-bottom:28px; }
.price-feat   { display:flex; align-items:center; gap:10px; font-size:14px; color:var(--black); }
.price-feat::before {
  content:'✓'; font-size:11px; font-weight:800; color:var(--white);
  background:var(--red); width:18px; height:18px; min-width:18px;
  border-radius:50%; display:flex; align-items:center; justify-content:center;
}

/* ── PRICE AGE TOGGLE ── */
.price-toggle { display:flex; background:var(--off-white); border-radius:50px; padding:4px; gap:4px; }
.price-toggle-btn {
  padding:12px 28px; border:none; border-radius:50px;
  font-size:15px; font-weight:700; font-family:var(--font);
  cursor:pointer; background:transparent; color:var(--gray); transition:all var(--t);
}
.price-toggle-btn.active { background:var(--red); color:var(--white); box-shadow:0 4px 14px rgba(212,43,43,.35); }

/* ── SCHEDULE ── */
.schedule-inner { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; }
.days-row { display:flex; gap:8px; margin-bottom:28px; }
.day {
  flex:1; display:flex; flex-direction:column; align-items:center; gap:4px;
  padding:14px 8px; border-radius:var(--r); font-weight:700; font-size:13px;
}
.day.on  { background:var(--red); color:var(--white); }
.day.off { background:rgba(255,255,255,.06); color:rgba(255,255,255,.25); border:1px solid rgba(255,255,255,.06); }
.day .d-name { font-size:10px; text-transform:uppercase; letter-spacing:1px; }
.day .d-abbr { font-size:20px; font-weight:900; }
.sched-items { display:flex; flex-direction:column; gap:12px; }
.sched-item {
  display:flex; align-items:center; gap:16px;
  padding:18px 20px; background:rgba(255,255,255,.05);
  border-radius:var(--r); border:1px solid rgba(255,255,255,.06);
}
.sched-item-icon {
  width:48px; height:48px; min-width:48px; border-radius:10px;
  background:rgba(212,43,43,.15); display:flex; align-items:center;
  justify-content:center; font-size:22px;
}
.sched-item strong { display:block; color:var(--white); font-weight:700; }
.sched-item span   { font-size:13px; color:rgba(255,255,255,.45); }
.sched-location {
  padding:28px; background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1); border-radius:var(--r-lg);
}
.sched-location .label { margin-bottom:12px; }
.sched-location h4 { font-size:20px; font-weight:800; color:var(--white); margin-bottom:6px; }
.sched-location p  { font-size:15px; color:rgba(255,255,255,.5); margin-bottom:16px; }
.sched-location a  { color:var(--red); font-size:14px; font-weight:600; display:inline-flex; align-items:center; gap:6px; }
.sched-location a:hover { text-decoration:underline; }

/* ── GALLERY ── */
.gallery { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; }
.gal-item { border-radius:var(--r); overflow:hidden; cursor:zoom-in; aspect-ratio:4/3; }
.gal-item img { width:100%; height:100%; object-fit:cover; object-position:center; transition:transform .5s ease; }
.gal-item:hover img { transform:scale(1.04); }

/* Portrait gallery (swim team awards) */
.gallery-portrait .gal-item { aspect-ratio:3/4; }

/* ── LIGHTBOX ── */
.lightbox {
  position:fixed; inset:0; z-index:9999;
  background:rgba(0,0,0,.92);
  display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
  cursor:zoom-out;
}
.lightbox.open { opacity:1; visibility:visible; }
.lightbox img {
  max-width:92vw; max-height:92vh;
  object-fit:contain; border-radius:8px;
  transform:scale(.92); transition:transform .3s ease;
  box-shadow:0 32px 80px rgba(0,0,0,.6);
}
.lightbox.open img { transform:scale(1); }
.lightbox-close {
  position:absolute; top:20px; right:24px;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,.12); border:none;
  color:#fff; font-size:22px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s;
}
.lightbox-close:hover { background:rgba(255,255,255,.25); }

/* ── COACH ── */
.coach-grid { display:grid; grid-template-columns:360px 1fr; gap:64px; align-items:start; }
.coach-photo { border-radius:var(--r-xl); overflow:hidden; box-shadow:0 24px 64px rgba(0,0,0,.3); }
.coach-photo img { width:100%; aspect-ratio:3/4; object-fit:cover; object-position:center; }
.coach-info .label { margin-bottom:12px; }
.coach-info h2 { margin-bottom:8px; }
.coach-title  { font-size:16px; color:var(--red); font-weight:700; margin-bottom:20px; }
.coach-bio    { font-size:16px; color:var(--gray); line-height:1.8; margin-bottom:32px; }
.coach-badges { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:36px; }
.badge {
  display:flex; align-items:flex-start; gap:12px;
  padding:18px 20px; background:var(--off-white); border-radius:var(--r);
}
.badge-icon { font-size:26px; }
.badge strong { display:block; font-size:14px; font-weight:700; color:var(--black); }
.badge span   { font-size:13px; color:var(--gray); }

/* ── FAQ ── */
.faq-list { max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:10px; }
.faq-item { border:1px solid var(--gray-lt); border-radius:var(--r); overflow:hidden; transition:border-color var(--t); }
.faq-item.open { border-color:var(--red); }
.faq-q {
  display:flex; justify-content:space-between; align-items:center; gap:16px;
  padding:20px 24px; font-size:16px; font-weight:700; color:var(--black);
  cursor:pointer; user-select:none; background:var(--white); transition:color var(--t);
}
.faq-item.open .faq-q { color:var(--red); }
.faq-icon {
  width:26px; height:26px; min-width:26px; border-radius:50%;
  background:var(--off-white); display:flex; align-items:center; justify-content:center;
  font-size:18px; font-weight:900; color:var(--red); transition:all var(--t);
}
.faq-item.open .faq-icon { background:var(--red); color:var(--white); transform:rotate(45deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .4s ease; }
.faq-a-inner { padding:0 24px 20px; font-size:15px; color:var(--gray); line-height:1.75; }

/* ── CONTACT ── */
.contact-grid { display:grid; grid-template-columns:1fr 1.3fr; gap:64px; align-items:start; }
.contact-info h2 { margin-bottom:16px; }
.contact-info .subtitle { margin-bottom:36px; }
.c-items { display:flex; flex-direction:column; gap:18px; margin-bottom:32px; }
.c-item { display:flex; align-items:center; gap:16px; }
.c-icon {
  width:48px; height:48px; min-width:48px; border-radius:var(--r);
  background:var(--red); display:flex; align-items:center; justify-content:center;
  font-size:20px; box-shadow:0 4px 16px rgba(212,43,43,.3);
}
.c-item strong { display:block; font-size:14px; font-weight:700; color:var(--black); margin-bottom:2px; }
.c-item a, .c-item span { font-size:15px; color:var(--gray); }
.c-item a:hover { color:var(--red); }
.c-socials { display:flex; gap:10px; }
.c-social {
  display:flex; align-items:center; gap:8px;
  padding:10px 16px; border-radius:50px; font-size:14px; font-weight:700;
  background:var(--off-white); color:var(--black);
  border:1px solid var(--gray-lt); transition:all var(--t);
}
.c-social:hover { background:var(--black); color:var(--white); }

/* Form */
.form-box {
  background:var(--white); border:1px solid var(--gray-lt);
  border-radius:var(--r-xl); padding:44px; box-shadow:0 16px 48px rgba(0,0,0,.08);
}
.form-box h3 { font-size:22px; font-weight:800; margin-bottom:6px; }
.form-box > p { font-size:15px; color:var(--gray); margin-bottom:28px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.f-group { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.f-group label { font-size:13px; font-weight:700; color:var(--black); }
.f-group input, .f-group select, .f-group textarea {
  padding:13px 16px; font-size:15px; font-family:var(--font);
  background:var(--off-white); border:2px solid transparent;
  border-radius:var(--r); color:var(--black); transition:all var(--t); width:100%;
}
.f-group input:focus, .f-group select:focus, .f-group textarea:focus {
  outline:none; border-color:var(--red); background:var(--white);
  box-shadow:0 0 0 4px rgba(212,43,43,.08);
}
.f-group select { appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; background-color:var(--off-white); }
.f-group textarea { min-height:110px; resize:vertical; }
.waiver-box {
  background:var(--off-white); border:1px solid var(--gray-lt);
  border-radius:var(--r); padding:16px 18px; margin-bottom:20px;
}
.waiver-label {
  display:flex; gap:12px; align-items:flex-start; cursor:pointer;
}
.waiver-label input[type="checkbox"] {
  width:18px; height:18px; min-width:18px; margin-top:2px;
  accent-color:var(--red); cursor:pointer;
}
.waiver-label span {
  font-size:13px; color:var(--gray); line-height:1.6;
}
.waiver-label span a {
  color:var(--red); font-weight:600; text-decoration:underline;
}
.waiver-label span a:hover { color:var(--red-dark); }

.form-submit {
  width:100%; padding:17px; font-size:16px; font-weight:800; font-family:var(--font);
  background:var(--red); color:var(--white); border:none; border-radius:50px;
  cursor:pointer; transition:all var(--t); box-shadow:0 6px 24px rgba(212,43,43,.35);
}
.form-submit:hover { background:var(--red-dark); transform:translateY(-2px); box-shadow:0 12px 32px rgba(212,43,43,.4); }
.form-submit:disabled { opacity:.65; cursor:not-allowed; transform:none; }
.form-hp { position:absolute; left:-9999px; height:1px; overflow:hidden; opacity:0; pointer-events:none; }

/* ── Swim gate warning ── */
.wp-gate {
  display:none; background:rgba(26,86,219,.07);
  border:1px solid rgba(26,86,219,.25); border-left:3px solid var(--blue);
  border-radius:var(--r); padding:18px 20px; margin-bottom:16px;
  animation:gateIn .25s ease;
}
@keyframes gateIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:none; } }
.wp-gate-head { font-size:14px; font-weight:800; color:var(--black); margin-bottom:8px; }
.wp-gate p { font-size:13px; color:var(--gray); margin-bottom:12px; line-height:1.6; }
.wp-gate-btns { display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.wp-gate-dismiss { background:none; border:none; font-size:12px; color:var(--gray); cursor:pointer; text-decoration:underline; font-family:var(--font); padding:0; }
.wp-gate-dismiss:hover { color:var(--black); }

.form-msg {
  margin-top:14px; padding:14px 18px; border-radius:var(--r);
  font-size:14px; font-weight:600; display:none;
}
.form-msg.ok  { background:rgba(16,185,129,.1); color:#065f46; border:1px solid rgba(16,185,129,.3); }
.form-msg.err { background:rgba(239,68,68,.1);  color:#991b1b;  border:1px solid rgba(239,68,68,.3); }

/* ── FOOTER ── */
.footer { background:var(--black); padding:72px 0 32px; color:var(--white); }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:40px; margin-bottom:56px; }
.footer-brand .logo { margin-bottom:14px; }
.footer-brand p { font-size:14px; color:rgba(255,255,255,.4); line-height:1.7; max-width:280px; }
.footer-socials { display:flex; gap:8px; margin-top:20px; }
.footer-soc {
  width:38px; height:38px; border-radius:8px; font-size:16px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center; transition:all var(--t);
}
.footer-soc:hover { background:var(--red); border-color:var(--red); }
.footer-col h4 { font-size:12px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:rgba(255,255,255,.3); margin-bottom:18px; }
.footer-col a { display:block; font-size:14px; color:rgba(255,255,255,.55); padding:5px 0; transition:all var(--t); }
.footer-col a:hover { color:var(--white); padding-left:4px; }
.footer-bottom {
  border-top:1px solid rgba(255,255,255,.06); padding-top:28px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
}
.footer-bottom p, .footer-bottom a { font-size:13px; color:rgba(255,255,255,.3); }
.footer-bottom a:hover { color:rgba(255,255,255,.6); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background:var(--dark); padding:calc(var(--header-h) + 56px) 0 72px; color:var(--white);
  position:relative; overflow:hidden; text-align:center;
}
.page-hero h1 { font-size:clamp(36px,6vw,60px); font-weight:900; letter-spacing:-2px; margin-bottom:14px; }
.page-hero h1 span { color:var(--blue); }
.page-hero p { font-size:17px; color:rgba(255,255,255,.6); max-width:520px; margin:0 auto; }
.page-hero-wave { position:absolute; bottom:-2px; left:0; right:0; line-height:0; }
.page-hero-wave svg { display:block; width:100%; }

/* ── SUPPORT PAGE ── */
.support-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; }
.support-box {
  background:var(--white); border:1px solid var(--gray-lt); border-radius:var(--r-xl);
  padding:44px; text-align:center; box-shadow:0 8px 32px rgba(0,0,0,.06);
}
.support-box h3 { font-size:22px; font-weight:800; margin-bottom:8px; }
.support-box p  { font-size:15px; color:var(--gray); margin-bottom:24px; }
.venmo-handle { font-size:26px; font-weight:900; color:var(--black); margin-bottom:8px; }
.use-items { display:flex; flex-direction:column; gap:14px; }
.use-item { display:flex; align-items:flex-start; gap:14px; padding:18px; background:var(--off-white); border-radius:var(--r); }
.use-item-icon { font-size:24px; }
.use-item strong { display:block; font-weight:700; color:var(--black); margin-bottom:2px; }
.use-item p { font-size:14px; color:var(--gray); margin:0; }

/* ── SCROLL REVEAL ── */
.reveal, .reveal-l, .reveal-r {
  opacity:0; transition:opacity .7s ease, transform .7s ease;
}
.reveal   { transform:translateY(28px); }
.reveal-l { transform:translateX(-28px); }
.reveal-r { transform:translateX(28px); }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity:1; transform:none; }
.d1 { transition-delay:.1s; }
.d2 { transition-delay:.2s; }
.d3 { transition-delay:.3s; }
.d4 { transition-delay:.4s; }
.d5 { transition-delay:.5s; }

/* ── UTILITY GRIDS (replaces inline styles) ── */
.grid-2   { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.grid-2sm { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:700px; margin:0 auto; }
.grid-3   { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.grid-3-c { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; max-width:860px; margin:0 auto; }
.grid-2b  { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; max-width:680px; margin:20px auto 0; }

/* ── RESPONSIVE ── */
@media (max-width:1024px) {
  .about-grid, .coach-grid, .contact-grid, .support-grid { grid-template-columns:1fr; gap:40px; }
  .coach-grid { max-width:600px; }
  .schedule-inner { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .pricing-grid { grid-template-columns:1fr; max-width:440px; margin:0 auto; }
  .grid-3, .grid-3-c { grid-template-columns:1fr; max-width:440px; margin:0 auto; }
  .grid-2 { gap:40px; }
}

@media (max-width:768px) {
  :root { --header-h:60px; }

  .nav {
    position:fixed; top:var(--header-h); left:0; right:0; bottom:0;
    background:var(--dark); flex-direction:column; justify-content:flex-start;
    padding:24px 20px; gap:4px;
    transform:translateX(100%); transition:transform .35s ease; overflow-y:auto;
    z-index:999; max-height:calc(100vh - var(--header-h));
  }
  .nav.open { transform:translateX(0); }
  .nav-link { width:100%; font-size:17px; padding:14px 18px; border-radius:10px; }
  .menu-btn { display:flex; }
  .header-cta { display:none; }

  .logo img { height:44px; }
  .hero h1 { font-size:clamp(36px,10vw,52px); letter-spacing:-2px; }
  .hero-body { padding-top:32px; padding-bottom:80px; }
  .hero-stats { gap:20px; flex-wrap:wrap; }
  .hero-stat strong { font-size:20px; }
  .hero-stat { min-width:calc(50% - 10px); }

  .section { padding:56px 0; }
  .section-head { margin-bottom:36px; }

  .programs-grid { grid-template-columns:1fr; }
  .gallery { grid-template-columns:1fr 1fr; }
  .gallery .gal-item:first-child { grid-column:span 2; }
  .footer-grid { grid-template-columns:1fr; gap:28px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .form-row { grid-template-columns:1fr; }
  .form-box { padding:24px 18px; }
  .entry-cards { grid-template-columns:1fr; }
  .entry-modal { padding:32px 20px; }
  .hero-btns { flex-direction:column; }
  .hero-btns .btn { width:100%; text-align:center; justify-content:center; }

  /* Utility grids → single column on mobile */
  .grid-2, .grid-2sm, .grid-2b { grid-template-columns:1fr; gap:20px; max-width:100%; }
  .grid-3, .grid-3-c { grid-template-columns:1fr; max-width:100%; }

  /* Price toggle */
  .price-toggle { width:100%; }
  .price-toggle-btn { flex:1; padding:11px 12px; font-size:14px; }

  /* Coach grid */
  .coach-grid { grid-template-columns:1fr; }
  .coach-photo img { aspect-ratio:4/3; }
  .coach-badges { grid-template-columns:1fr; }

  /* Days row */
  .days-row { gap:4px; }
  .day { padding:10px 4px; font-size:11px; }
  .day .d-abbr { font-size:16px; }

  /* Contact */
  .contact-grid { grid-template-columns:1fr; gap:32px; }
  .c-socials { flex-wrap:wrap; }

  /* Support */
  .support-grid { grid-template-columns:1fr; gap:24px; }
  .support-box { padding:28px 20px; }

  /* Page hero */
  .page-hero { padding:calc(var(--header-h) + 40px) 0 56px; }
  .page-hero h1 { font-size:clamp(28px,8vw,44px); letter-spacing:-1px; }

  /* Buttons touch targets */
  .btn { min-height:48px; }
  .btn-sm { min-height:48px; }
}

@media (max-width:480px) {
  :root { --header-h:56px; }

  .container { padding:0 16px; }

  .hero h1 { font-size:clamp(30px,9vw,44px); letter-spacing:-1.5px; }
  .hero-sub { font-size:16px; }
  .hero-free { font-size:12px; }
  .hero-stat { min-width:calc(50% - 10px); }
  .hero-stat strong { font-size:18px; }
  .hero-stat span { font-size:11px; }

  .section { padding:44px 0; }

  h2.title { font-size:clamp(24px,7vw,34px); letter-spacing:-1px; }
  .subtitle { font-size:15px; }

  /* Cards full width */
  .prog-card { min-height:320px; }
  .prog-card-body { padding:24px; }
  .prog-card-body h3 { font-size:22px; }

  /* Pricing */
  .price-card { padding:24px 20px; }
  .price-amount { font-size:40px; }
  .price-toggle { width:100%; }
  .price-toggle-btn { font-size:13px; padding:10px 8px; }

  /* Gallery */
  .gallery { grid-template-columns:1fr; }
  .gallery .gal-item:first-child { grid-column:span 1; }
  .gallery-portrait .gal-item { aspect-ratio:4/3; }

  /* Schedule */
  .sched-item { gap:12px; padding:14px 16px; }
  .sched-item-icon { width:40px; height:40px; font-size:18px; }
  .days-row { gap:3px; }
  .day { padding:8px 2px; }
  .day .d-abbr { font-size:14px; }

  /* Form */
  .form-box { padding:20px 16px; border-radius:16px; }
  .form-box h3 { font-size:18px; }
  .f-group input, .f-group select, .f-group textarea { font-size:16px; } /* prevents iOS zoom */

  /* Footer */
  .footer { padding:48px 0 24px; }
  .footer-grid { gap:20px; }

  /* Entry modal */
  .entry-modal { padding:24px 16px; border-radius:20px; }
  .entry-modal h2 { font-size:22px; }
  .entry-card-content { padding:20px; }
  .entry-card-content h3 { font-size:20px; }

  /* Buttons */
  .btn-lg { padding:15px 28px; font-size:16px; }
  .btn { font-size:14px; }

  /* Badge grid → 1 col */
  .coach-badges { grid-template-columns:1fr; gap:10px; }

  /* About */
  .about-photo img { height:300px; }

  /* Cred items */
  .cred { padding:12px 16px; }
  .cred-text strong { font-size:13px; }

  /* Swim gate */
  .wp-gate-btns { flex-direction:column; align-items:flex-start; }

  /* Entry logo mobile */
  .entry-logo img { height:clamp(120px, 35vw, 180px); }

  /* Schedule icon */
  .sched-item-icon { width:48px; height:48px; min-width:48px; font-size:20px; }

  /* Logo */
  .logo img { height:40px; }
  .footer-brand .logo img { height:36px; }
}

/* ── Floating WhatsApp button ── */
.wa-float {
  position: fixed; bottom: 28px; right: 24px; z-index: 997;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; line-height: 1; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
@media (max-width: 640px) { .wa-float { bottom: 88px; right: 16px; width: 50px; height: 50px; font-size: 22px; } }

/* ── Google Calendar embed ── */
.cal-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.10);
  margin-top: 40px;
}
.cal-wrap iframe { display: block; border-radius: 20px; }
.cal-placeholder {
  background: #f7f7f7;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  padding: 48px 24px;
}
.cal-ph-inner { text-align: center; max-width: 480px; }
.cal-ph-inner h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; color: var(--dark); }
.cal-ph-inner p  { font-size: 15px; color: #6b7280; margin-bottom: 28px; }
.cal-days {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.cal-day {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px;
}
.cal-day.on  { background: var(--red); color: #fff; }
.cal-day.off { background: #e5e7eb; color: #9ca3af; }

/* ── Mobile sticky Sign Up button ── */
.mobile-signup {
  display:flex; position:fixed; bottom:24px; left:50%; transform:translateX(-50%);
  z-index:998; width:calc(100% - 40px); max-width:360px;
}
.mobile-signup a {
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; padding:16px 24px; font-size:17px; font-weight:800;
  background:var(--red); color:var(--white); border-radius:50px;
  box-shadow:0 8px 32px rgba(212,43,43,.5); text-decoration:none;
  letter-spacing:0.3px; transition:all var(--t);
}
.mobile-signup a:hover { transform:translateY(-2px); box-shadow:0 12px 40px rgba(212,43,43,.6); }
.mobile-signup.blue a { background:var(--blue); box-shadow:0 8px 32px rgba(26,86,219,.5); }
.mobile-signup.blue a:hover { box-shadow:0 12px 40px rgba(26,86,219,.6); }

/* ── Hover only on non-touch devices ── */
@media (hover:hover) and (pointer:fine) {
  .prog-card:hover { transform:translateY(-6px); box-shadow:0 24px 64px rgba(0,0,0,.2); }
  .entry-card:hover { transform:translateY(-4px); }
  .entry-card:hover .entry-card-overlay { background:linear-gradient(to top, rgba(0,0,0,.92) 0%, rgba(0,0,0,.45) 60%, transparent 100%); }
  .entry-card:hover .entry-card-cta { gap:12px; }
}
