/* ============================================================
   FUNctional Sports — Public site styles
   ============================================================ */

.skip-link{ position:absolute; left:-999px; top:0; background:var(--orange); color:#fff;
  padding:10px 18px; border-radius:0 0 8px 0; z-index:200; font-weight:700; }
.skip-link:focus{ left:0; }

/* ---------- Navbar ---------- */
.site-nav{ position:sticky; top:0; z-index:100; background:rgba(255,255,255,.86);
  backdrop-filter:saturate(160%) blur(12px); border-bottom:1px solid var(--line); }
.nav-inner{ height:var(--nav-h); display:flex; align-items:center; gap:24px; }
.nav-logo img{ height:72px; width:auto; }
.nav-links{ display:flex; gap:32px; margin-inline:auto; }
.nav-links a{ white-space:nowrap; font-weight:700; font-size:1.1rem; color:var(--ink); position:relative; padding:6px 0; }
.nav-links a::after{ content:''; position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--orange); transition:width .2s ease; border-radius:2px; }
.nav-links a:hover, .nav-links a.active{ color:var(--teal); }
.nav-links a.active::after, .nav-links a:hover::after{ width:100%; }
.nav-cta{ display:flex; align-items:center; gap:8px; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ width:24px; height:2.5px; background:var(--navy); border-radius:2px; transition:.2s; }

.mobile-menu{ display:none; flex-direction:column; gap:4px; padding:18px var(--gutter) 28px;
  background:#fff; border-bottom:1px solid var(--line); }
.mobile-menu a{ padding:11px 4px; font-weight:600; color:var(--ink); border-bottom:1px solid var(--surface-2); }
body.nav-open .mobile-menu{ display:flex; }
body.nav-open .nav-toggle span:nth-child(1){ transform:translateY(7.5px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2){ opacity:0; }
body.nav-open .nav-toggle span:nth-child(3){ transform:translateY(-7.5px) rotate(-45deg); }

@media(max-width:980px){
  .nav-links{ display:none; }
  .nav-cta .btn-ghost{ display:none; }
  .nav-toggle{ display:flex; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; overflow:hidden; padding-block:clamp(48px,7vw,84px); }
.hero-grid{ display:grid; gap:48px; align-items:center; }
@media(min-width:900px){ .hero-grid{ grid-template-columns:1.05fr 1fr; } }
.hero h1 span{ color:var(--orange); }
.hero .lede{ margin-top:20px; max-width:30ch; }
.hero-cta{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; }
.hero-media{ position:relative; }
.hero-media img{ border-radius:var(--r-xl); box-shadow:var(--shadow-lg); width:100%;
  aspect-ratio:4/3; object-fit:cover; }
.hero-blob{ position:absolute; inset:auto -40px -40px auto; width:220px; height:220px;
  background:radial-gradient(circle at 30% 30%, var(--teal-100), transparent 70%); z-index:-1; }
.hero-wave{ position:absolute; left:0; right:0; bottom:-2px; line-height:0; color:var(--teal); }

/* Stat strip */
.stat-strip{ background:var(--teal); color:#fff; border-radius:var(--r-lg); padding:30px clamp(20px,4vw,48px);
  display:grid; gap:20px; box-shadow:var(--shadow-md); }
@media(min-width:680px){ .stat-strip{ grid-template-columns:repeat(4,1fr); } }
.stat-strip .s{ display:flex; align-items:center; gap:14px; }
.stat-strip .s svg{ width:30px; height:30px; opacity:.9; flex:none; }
.stat-strip .num{ font-size:1.7rem; font-weight:800; color:#fff; line-height:1; }
.stat-strip .label{ font-size:.82rem; opacity:.9; }
.stat-strip .s + .s{ border-left:1px solid rgba(255,255,255,.2); padding-left:20px; }
@media(max-width:680px){ .stat-strip .s+.s{ border-left:none; padding-left:0; } }

/* Section backgrounds */
.bg-soft{ background:var(--surface-2); }
.bg-teal{ background:var(--teal); color:#fff; }
.bg-teal h1,.bg-teal h2,.bg-teal h3{ color:#fff; }
.bg-teal p{ color:rgba(255,255,255,.9); }

/* Service cards */
.svc-card{ text-align:left; }
.svc-card h3{ font-size:1.15rem; margin-bottom:8px; }
.svc-card p{ font-size:.94rem; }

/* Process steps */
.process{ display:grid; gap:28px; counter-reset:step; }
@media(min-width:760px){ .process{ grid-template-columns:repeat(5,1fr); } }
.process .step{ text-align:center; position:relative; }
.process .step .dot{ width:62px; height:62px; border-radius:50%; background:var(--teal); color:#fff;
  display:grid; place-items:center; margin:0 auto 16px; font-weight:800; font-size:1.2rem; position:relative; z-index:2; }
.process .step .dot svg{ width:26px; height:26px; }
.process .step h4{ font-size:1rem; margin-bottom:6px; }
.process .step p{ font-size:.86rem; }
@media(min-width:760px){
  .process .step::before{ content:''; position:absolute; top:31px; left:50%; width:100%; height:2px;
    background:var(--line-strong); z-index:1; }
  .process .step:last-child::before{ display:none; }
}

/* Testimonial */
.quote-card{ background:var(--teal); color:#fff; border-radius:var(--r-lg); padding:36px; position:relative; }
.quote-card .mark{ font-size:3.4rem; line-height:.6; color:var(--orange); font-weight:900; }
.quote-card p{ color:#fff; font-size:1.05rem; margin:14px 0 20px; }
.quote-card .who{ font-weight:700; }
.quote-card .who span{ display:block; font-weight:500; opacity:.8; font-size:.86rem; }

/* CTA band */
.cta-band{ background:linear-gradient(120deg,var(--teal),var(--teal-700)); color:#fff;
  border-radius:var(--r-xl); padding:clamp(36px,6vw,64px); text-align:center; box-shadow:var(--shadow-md); }
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.92); max-width:50ch; margin:14px auto 28px; }

/* Value props row */
.value-prop .feature-icon{ margin-inline:auto; }
.value-prop{ text-align:center; }

/* FAQ */
.faq-item{ border:1px solid var(--line); border-radius:var(--r); margin-bottom:12px; background:#fff; overflow:hidden; }
.faq-q{ width:100%; text-align:left; padding:18px 22px; font-weight:700; color:var(--navy);
  background:none; border:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; font-size:1rem; font-family:var(--font); }
.faq-q svg{ flex:none; transition:transform .2s; }
.faq-item.open .faq-q svg{ transform:rotate(180deg); }
.faq-a{ max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-a div{ padding:0 22px 20px; color:var(--body); }
.faq-item.open .faq-a{ max-height:320px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy); color:rgba(255,255,255,.78); margin-top:60px; }
.footer-grid{ display:grid; gap:40px; padding-block:60px 40px; }
@media(min-width:780px){ .footer-grid{ grid-template-columns:2fr 1fr 1fr 1.4fr; } }
.footer-logo{ height:54px; margin-bottom:16px; }
.footer-brand p{ color:rgba(255,255,255,.7); max-width:32ch; font-size:.94rem; }
.footer-social{ display:flex; gap:10px; margin-top:18px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.1);
  display:grid; place-items:center; color:#fff; transition:.2s; }
.footer-social a:hover{ background:var(--orange); }
.footer-col h4{ color:#fff; font-size:.92rem; text-transform:uppercase; letter-spacing:.08em; margin-bottom:16px; }
.footer-col a{ display:block; color:rgba(255,255,255,.72); padding:5px 0; font-size:.92rem; }
.footer-col a:hover{ color:#fff; }
.footer-contact{ margin-top:14px; font-size:.86rem; color:rgba(255,255,255,.6); line-height:1.8; }
.footer-bar{ border-top:1px solid rgba(255,255,255,.12); padding-block:20px; font-size:.85rem; }
.footer-bar p{ color:rgba(255,255,255,.6); }
.footer-bar a{ color:rgba(255,255,255,.7); margin-left:20px; }
.footer-bar a:hover{ color:#fff; }

/* Page hero (interior) */
.page-hero{ background:var(--teal-050); padding-block:clamp(40px,6vw,72px); text-align:center; }
.page-hero .eyebrow{ color:var(--teal); }
.page-hero p{ max-width:60ch; margin:14px auto 0; font-size:1.08rem; }

/* Auth pages */
.auth-wrap{ min-height:calc(100vh - var(--nav-h)); display:grid; place-items:center; padding:40px var(--gutter); }
.auth-card{ width:100%; max-width:440px; }
.auth-card .tabs{ display:flex; background:var(--surface-2); border-radius:100px; padding:5px; margin-bottom:24px; }
.auth-card .tabs button{ flex:1; padding:10px; border:none; background:none; border-radius:100px; font-weight:700;
  font-family:var(--font); cursor:pointer; color:var(--muted); }
.auth-card .tabs button.active{ background:#fff; color:var(--teal); box-shadow:var(--shadow-sm); }

/* Scroll reveal — progressive: only hidden when JS adds .js-reveal to <html> */
.js-reveal .reveal{ opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.in{ opacity:1; transform:none; }
.site-nav.scrolled{ box-shadow:0 2px 16px rgba(15,59,69,.07); }

/* Dark header theme: navy background + light links, matching the dashboard sidebar */
.site-nav{ background:var(--navy); border-bottom:1px solid rgba(255,255,255,.08); }
.site-nav a{ color:#EAF6F8; }
.nav-links a{ color:#EAF6F8; }
.nav-links a:hover, .nav-links a.active{ color:#3FD4E0; }
.site-nav .btn-primary{ color:#fff; }
