:root{
  --navy-deep:#0d1338;
  --navy:#171f52;
  --blue:#4b5ed1;
  --blue-bright:#6d7ff0;
  --ink:#101431;
  --paper:#f6f7fd;
  --paper-2:#ffffff;
  --muted:#8890c9;
  --cream:#eef0ff;
  --line: rgba(255,255,255,.12);
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Manrope',sans-serif;
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  animation:fade .35s ease;
}
h1,h2,h3,.display{
  font-family:'Unbounded',sans-serif;
  letter-spacing:-0.01em;
}
@keyframes fade{ from{opacity:0; transform:translateY(6px);} to{opacity:1; transform:none;} }

/* ===== HEADER / NAV ===== */
header.site{
  position:sticky; top:0; z-index:50;
  background:var(--paper-2);
  border-bottom:1px solid #e4e6f5;
}
.header-inner{
  max-width:1180px; margin:0 auto; padding:16px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
}
.brand{display:flex; align-items:center; gap:10px;}
.brand .mark{
  width:40px; height:40px; border-radius:10px;
  background:linear-gradient(155deg,var(--blue),var(--navy));
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.mark-logo{ width:22px; height:22px; display:block; }
.brand .word{line-height:1.05;}
.brand .word b{display:block; font-family:'Unbounded'; font-size:16px; letter-spacing:.02em;}
.brand .word span{display:block; font-size:10px; color:var(--muted); letter-spacing:.04em;}

.nav-toggle{
  display:none; font-size:22px; background:none; border:none; cursor:pointer; color:var(--navy-deep);
}

nav.tabs{ display:flex; gap:4px; flex-wrap:wrap; justify-content:flex-end; }
nav.tabs a{
  font-family:'Manrope'; font-weight:700; font-size:13.5px; text-decoration:none;
  color:var(--ink); background:transparent; border:none;
  padding:9px 14px; border-radius:100px; cursor:pointer;
  transition:.18s ease;
}
nav.tabs a:hover{ background:var(--cream); }
nav.tabs a.active{ background:var(--navy); color:#fff; }

/* ===== flash messages ===== */
.flash-banner{ max-width:1180px; margin:16px auto 0; padding:0 24px; }
.flash-msg{
  background:#e7f8ee; color:#166a3d; border:1px solid #bfe9cf;
  padding:12px 16px; border-radius:12px; font-size:14px; font-weight:600;
}

/* ===== hero ===== */
.hero{
  background:radial-gradient(120% 140% at 15% 0%, #232c68 0%, var(--navy-deep) 55%, #090c24 100%);
  color:#fff; padding:64px 24px 76px; position:relative; overflow:hidden;
}
.hero::after{
  content:""; position:absolute; right:-120px; top:-80px; width:420px; height:420px;
  background:radial-gradient(circle, rgba(109,127,240,.35), transparent 70%);
}
.hero::before{
  content:""; position:absolute; left:-60px; bottom:-90px; width:280px; height:280px;
  background-image:url('../img/logo.svg'); background-repeat:no-repeat; background-size:contain;
  opacity:.08; transform:rotate(-8deg); pointer-events:none;
}
.hero-inner{ max-width:1180px; margin:0 auto; position:relative; z-index:1; }
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue-bright); background:rgba(109,127,240,.14);
  border:1px solid rgba(109,127,240,.35); padding:7px 14px; border-radius:100px;
  margin-bottom:22px;
}
.hero h1{ font-size:clamp(32px,5vw,54px); font-weight:800; line-height:1.08; max-width:820px; }
.hero h1.h1-sm{ font-size:clamp(28px,4.4vw,44px); }
.hero p.lead{ margin-top:18px; max-width:620px; font-size:17px; line-height:1.6; color:#c7cbef; }
.hero-actions{ display:flex; gap:12px; margin-top:32px; flex-wrap:wrap; }

.btn{
  font-family:'Manrope'; font-weight:700; font-size:14.5px; cursor:pointer;
  border-radius:12px; padding:14px 24px; border:1px solid transparent;
  transition:.18s ease; display:inline-flex; align-items:center; gap:8px; text-decoration:none;
}
.btn-primary{ background:var(--blue-bright); color:#0d1338; }
.btn-primary:hover{ background:#8391ff; transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:#fff; border-color:rgba(255,255,255,.35); }
.btn-ghost:hover{ border-color:#fff; }

section{ padding:64px 24px; }
.wrap{ max-width:1180px; margin:0 auto; }
.section-head{ margin-bottom:36px; max-width:640px; }
.kicker{
  font-size:12.5px; font-weight:800; letter-spacing:.08em; text-transform:uppercase;
  color:var(--blue); margin-bottom:10px;
}
.section-head h2{ font-size:clamp(24px,3vw,34px); font-weight:800; color:var(--navy-deep); line-height:1.15; }
.section-head p{ margin-top:12px; color:#5b6199; font-size:15.5px; line-height:1.6; }

/* club grid on home */
.club-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:18px; }
.club-card{
  background:var(--paper-2); border:1px solid #e4e6f5; border-radius:18px;
  padding:26px; cursor:pointer; transition:.2s ease; position:relative; overflow:hidden;
  text-decoration:none; color:inherit; display:block;
}
.club-card:hover{ transform:translateY(-4px); box-shadow:0 16px 30px -14px rgba(23,31,82,.25); border-color:var(--blue-bright); }
.club-card .ico{
  width:46px;height:46px;border-radius:12px; display:flex;align-items:center;justify-content:center;
  background:var(--cream); font-size:22px; margin-bottom:16px;
}
.club-card h3{ font-size:17px; font-weight:700; color:var(--navy-deep); margin-bottom:8px; font-family:'Manrope'; }
.club-card p{ font-size:13.5px; color:#6a70a4; line-height:1.55; }
.club-card .go{ margin-top:14px; font-size:12.5px; font-weight:800; color:var(--blue); letter-spacing:.02em; }

/* stat strip */
.stats{
  background:var(--navy); border-radius:22px; padding:36px 30px; color:#fff;
  display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:24px;
}
.stats .stat b{ font-family:'Unbounded'; font-size:30px; display:block; }
.stats .stat span{ font-size:12.5px; color:#aab0ea; letter-spacing:.03em; }

/* club detail pages */
.club-hero{ display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center; }
@media(max-width:860px){ .club-hero{ grid-template-columns:1fr; } }
.badge-row{ display:flex; gap:8px; flex-wrap:wrap; margin-top:18px; }
.pill{
  font-size:12px; font-weight:700; padding:7px 12px; border-radius:100px;
  background:var(--cream); color:var(--navy); border:1px solid #dadeff;
}
.visual-card{
  background:linear-gradient(160deg,var(--navy),var(--navy-deep));
  border-radius:22px; padding:36px; color:#fff; min-height:260px;
  display:flex; flex-direction:column; justify-content:space-between; position:relative; overflow:hidden;
}
.visual-card::before{
  content:""; position:absolute; right:-40px; bottom:-40px; width:220px; height:220px;
  background-image:url('../img/logo.svg'); background-repeat:no-repeat; background-size:contain;
  opacity:.14; transform:rotate(12deg); pointer-events:none;
}
.visual-card .big-emoji{ font-size:64px; }
.visual-card .visual-title{ font-family:'Unbounded'; font-size:17px; }
.visual-card .quote{ font-size:14px; color:#c7cbef; line-height:1.6; margin-top:20px; }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media(max-width:760px){ .two-col{ grid-template-columns:1fr; } }

.info-card{ background:var(--paper-2); border:1px solid #e4e6f5; border-radius:16px; padding:24px; }
.info-card h4{ font-family:'Manrope'; font-size:15px; font-weight:800; color:var(--navy-deep); margin-bottom:12px; display:flex; align-items:center; gap:8px;}
.info-card ul{ list-style:none; }
.info-card li{ font-size:14px; color:#565c93; line-height:1.7; padding-left:18px; position:relative; }
.info-card li::before{
  content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%;
  background:var(--blue-bright);
}

.track-table{ width:100%; border-collapse:collapse; margin-top:10px; }
.track-table th{
  text-align:left; font-size:11.5px; text-transform:uppercase; letter-spacing:.06em;
  color:var(--muted); padding:10px 14px; border-bottom:1px solid #e4e6f5;
}
.track-table td{ padding:14px; font-size:14px; border-bottom:1px solid #edeefa; color:var(--ink); }
.track-table tr:last-child td{ border-bottom:none; }
.age-chip{
  display:inline-block; font-size:12px; font-weight:700; color:var(--blue);
  background:var(--cream); padding:4px 10px; border-radius:8px;
}

.schedule-strip{
  background:var(--paper-2); border:1px solid #e4e6f5; border-radius:16px; padding:22px 26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
}
.schedule-strip .when b{ font-family:'Unbounded'; font-size:16px; color:var(--navy-deep); }
.schedule-strip .when span{ display:block; font-size:12.5px; color:var(--muted); margin-top:2px;}
.schedule-btn{ background:var(--navy); color:#fff; }

.quote-block{ background:var(--navy-deep); color:#fff; border-radius:22px; padding:40px; text-align:center; }
.quote-block p{ font-family:'Unbounded'; font-size:clamp(18px,2.4vw,24px); font-weight:600; line-height:1.4; max-width:760px; margin:0 auto; }
.quote-block span{ display:block; margin-top:18px; color:#9aa0e0; font-size:13.5px; }

footer.site{ background:var(--navy-deep); color:#c7cbef; padding:44px 24px 30px; text-align:center; font-size:13px; }
footer.site .footer-logo{ width:34px; height:34px; opacity:.55; margin-bottom:14px; }
footer.site a{ color:#fff; text-decoration:none; }
footer.site .links{ display:flex; justify-content:center; gap:18px; margin:16px 0; flex-wrap:wrap; }

.cta-band{
  background:linear-gradient(120deg,var(--blue),var(--navy));
  border-radius:22px; padding:40px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap:20px; flex-wrap:wrap;
}
.cta-band h3{ font-family:'Unbounded'; font-size:22px; max-width:420px; }
.cta-band p{ color:#dadeff; font-size:13.5px; margin-top:6px; }
.cta-btn{ background:#fff; color:var(--navy); }

/* contact form */
.contact-form{ display:grid; gap:16px; max-width:420px; margin-top:8px; }
.form-row{ display:flex; flex-direction:column; gap:6px; }
.form-row label{ font-size:12.5px; font-weight:700; color:var(--muted); }
.form-row input, .form-row select{
  font-family:'Manrope'; font-size:14px; padding:11px 14px; border-radius:10px;
  border:1px solid #dcdfef; background:var(--paper); color:var(--ink);
}
.form-row input:focus, .form-row select:focus{ outline:2px solid var(--blue-bright); outline-offset:1px; }

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .5s ease, transform .5s ease; }
.reveal.in-view{ opacity:1; transform:none; }

@media(max-width:640px){
  .header-inner{ position:relative; }
  .nav-toggle{ display:block; }
  nav.tabs{
    display:none; width:100%; flex-direction:column; align-items:flex-start;
    background:var(--paper-2); border-top:1px solid #e4e6f5; margin-top:12px; padding-top:10px;
  }
  nav.tabs.open{ display:flex; }
  nav.tabs a{ width:100%; padding:12px 10px; }
  .cta-band{ flex-direction:column; align-items:flex-start; }
}
