/* =========================================================
   LA Youth Soccer Complete Homepage Stylesheet
   Clean & modern. Mobile-first. No frameworks.
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0B0F17;
  --text:       #2A2F3A;
  --muted:      #6B7280;
  --bg:         #FFFFFF;
  --surface:    #F7F8FA;
  --surface-2:  #EEF1F6;
  --border:     #E5E7EB;
  --brand:      #0B5FFF;
  --brand-ink:  #0742B8;
  --accent:     #00C2A8;
  --gold:       #F0B429;
  --radius:     14px;
  --radius-lg:  22px;
  --radius-xl:  28px;
  --shadow-sm:  0 1px 2px rgba(11,15,23,.06), 0 1px 1px rgba(11,15,23,.04);
  --shadow-md:  0 12px 28px rgba(11,15,23,.10);
  --shadow-lg:  0 28px 60px rgba(11,15,23,.18);
  --ease:       cubic-bezier(.2,.7,.2,1);
  --container:  1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.55;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---------- Layout ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: "Manrope", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0;
  font-weight: 800;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; font-weight: 700; }
h4 { font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
p  { margin: 0 0 16px; }
.lead { font-size: 1.18rem; color: var(--muted); line-height: 1.55; max-width: 56ch; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 14px;
}
.eyebrow-dark { color: var(--brand-ink); }
.grad {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .22s var(--ease), background .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  color: #fff;
  box-shadow: 0 8px 22px rgba(11,95,255,.32), 0 2px 6px rgba(0,194,168,.20);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(11,95,255,.42), 0 4px 10px rgba(0,194,168,.30);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-1px);
}
.btn-cta-hero { font-size: 1.05rem; padding: 16px 28px; }
.btn-cta-final { font-size: 1.15rem; padding: 18px 34px; }
.btn-cta-row { padding: 10px 18px; font-size: 0.92rem; }

/* Pulse for hero + final CTA */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,95,255,.36), 0 8px 22px rgba(11,95,255,.32); }
  50%      { box-shadow: 0 0 0 14px rgba(11,95,255,0), 0 8px 22px rgba(11,95,255,.32); }
}
.btn-cta-hero, .btn-cta-final { animation: pulse 2.6s ease-out infinite; }
@media (prefers-reduced-motion: reduce) { .btn-cta-hero, .btn-cta-final { animation: none; } }

/* ---------- Header ---------- */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.hdr-row {
  display: flex; align-items: center; gap: 24px;
  height: 76px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.brand-shield {
  width: 40px; height: 44px;
  border-radius: 6px 6px 18px 18px;
  background: linear-gradient(180deg, var(--ink) 0%, #1A2236 100%);
  color: #fff;
  display: grid; place-items: center;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 0.7rem;
  line-height: 1;
  position: relative;
  border: 1.5px solid var(--gold);
}
.brand-shield span:first-child { letter-spacing: 0.5px; }
.brand-shield span:last-child { color: var(--gold); margin-top: 2px; font-size: 0.6rem; }
.brand-logo {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}
.brand-light .brand-logo { background: #fff; border-color: rgba(255,255,255,.15); }
.brand-text strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand-text small { color: var(--muted); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color .15s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 50%; bottom: -2px;
  width: 0; height: 2px; background: var(--brand);
  transition: width .2s var(--ease), left .2s var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after { width: 100%; left: 0; }
.btn-cta-nav { padding: 10px 20px; font-size: 0.92rem; }
.hdr-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  flex-direction: column; gap: 5px; align-items: center; justify-content: center;
  cursor: pointer;
}
.hdr-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 8vw, 110px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(11,95,255,.10), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(0,194,168,.10), transparent 60%),
    var(--bg);
  z-index: -1;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { max-width: 16ch; }
.hero h1 .grad { display: inline; }
.hero-actions { display: flex; gap: 12px; margin: 28px 0 36px; flex-wrap: wrap; }
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, auto);
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 520px;
}
.hero-stats strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero-stats span {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero art */
.hero-art { position: relative; }
.hero-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background: var(--surface);
}
.hero-card-img {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,23,0) 40%, rgba(11,15,23,.55) 100%),
    url("https://static.wixstatic.com/media/193390_2be676a1cfd844c08cf34b789b2bcef5f000.jpg/v1/fill/w_900,h_1125,al_c,q_85,enc_auto/hero.jpg") center/cover no-repeat;
}
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  background: #0B0F17;
}
.hero-card-badge {
  position: absolute; left: 18px; bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.86rem; font-weight: 600;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(0,194,168,.25);
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  50% { box-shadow: 0 0 0 7px rgba(0,194,168,0); }
}

/* Floating decorative chip */
.hero-art::before {
  content: "MLS NEXT";
  position: absolute; top: -14px; right: -10px;
  background: var(--ink); color: #fff;
  font-family: "Manrope", sans-serif; font-weight: 800;
  font-size: 0.78rem; letter-spacing: 0.14em;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  border: 1.5px solid var(--gold);
}

/* ---------- Trust strip ---------- */
.trust {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
}
.trust .container,
.trust .trust-row-wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
}
.trust-logo {
  height: 28px; width: auto;
  filter: brightness(0) invert(1);
  opacity: .9;
}
.trust-label {
  font-size: 0.78rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
}
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-pill {
  border: 1px solid rgba(255,255,255,.18);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
}

/* ---------- About / Mission ---------- */
.about { padding: clamp(60px,8vw,110px) 0; background: var(--bg); }
.about-grid {
  display: grid; grid-template-columns: 1.3fr 0.8fr; gap: 56px; align-items: start;
}
.about-copy h2 { margin-bottom: 16px; max-width: 18ch; }
.about-copy p { color: var(--text); font-size: 1.05rem; }
.about-side { display: flex; flex-direction: column; gap: 20px; }
.about-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  background: var(--surface);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.quote-mark { width: 28px; height: 28px; color: var(--brand); margin-bottom: 8px; opacity: .35; }
.quote-card p { font-size: 1.05rem; color: var(--ink); font-weight: 500; line-height: 1.5; }
.quote-card footer { font-size: 0.88rem; color: var(--muted); margin-top: 12px; }

/* ---------- Section heads ---------- */
.section-head { max-width: 760px; margin: 0 0 48px; }
.section-head .section-sub { color: var(--muted); font-size: 1.05rem; max-width: 60ch; margin-top: 12px; }

/* ---------- Features ---------- */
.features { padding: clamp(60px,8vw,110px) 0; background: var(--surface); }
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 14px;
}
.card::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D9DDE3;
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11,95,255,.10), rgba(0,194,168,.10));
  color: var(--brand);
  display: grid; place-items: center;
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { color: var(--ink); }
.card p { color: var(--text); font-size: 0.98rem; line-height: 1.55; margin: 0; }
.card-link {
  margin-top: auto;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.94rem;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s var(--ease);
}
.card-link:hover { gap: 12px; }

/* ---------- Action gallery (square shots) ---------- */
.action { padding: clamp(40px,6vw,80px) 0 0; background: var(--bg); }
.action-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(6, 1fr);
}
.action-grid img {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease);
}
.action-grid img:hover { transform: scale(1.03) translateY(-2px); }
@media (max-width: 980px) { .action-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .action-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Tryouts ---------- */
.tryouts { padding: clamp(60px,8vw,110px) 0; background: var(--bg); }
.tryouts-list {
  display: flex; flex-direction: column; gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.tryout {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  transition: background .2s var(--ease);
}
.tryout:last-child { border-bottom: 0; }
.tryout:hover { background: var(--surface); }
.tryout-age { display: flex; gap: 6px; }
.tryout-age span {
  display: inline-grid; place-items: center;
  min-width: 50px; height: 36px;
  padding: 0 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-family: "Manrope", sans-serif;
  font-weight: 800; font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1.5px solid var(--gold);
}
.tryout-meta strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 700; }
.tryout-meta span  { color: var(--muted); font-size: 0.92rem; }

/* ---------- Ongoing tryouts card ---------- */
.tryouts-ongoing {
  max-width: 920px;
  margin: 0 auto;
}
.ongoing-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.ongoing-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}
.ongoing-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.ongoing-point strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.ongoing-point span {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
@media (max-width: 820px) {
  .ongoing-points { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Gallery ---------- */
.gallery { padding: clamp(60px,8vw,110px) 0; background: var(--surface); }
.gallery-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
.g-item {
  margin: 0; position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: #1A2236;
}
.g-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.g-item::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11,15,23,.65) 100%);
  pointer-events: none;
}
.g-item:hover img { transform: scale(1.05); }
.g-item figcaption {
  position: absolute; left: 16px; bottom: 14px;
  color: #fff;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  z-index: 1;
}

/* ---------- FAQ ---------- */
.faq { padding: clamp(60px,8vw,110px) 0; background: var(--bg); }
.faq-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; }
.faq-grid h2 { max-width: 16ch; margin-bottom: 14px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.faq-list details[open] { background: #fff; border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  font-size: 1.5rem; font-weight: 400;
  color: var(--brand);
  transition: transform .2s var(--ease);
  width: 24px; text-align: center; line-height: 1;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 12px 0 0; color: var(--text); font-size: 0.98rem; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  padding: clamp(60px,8vw,100px) 0;
  background: #0B0F17;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.cta-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,15,23,.78) 0%, rgba(11,15,23,.92) 100%),
    url("https://static.wixstatic.com/media/193390_7913d8f92c4a4109b4289f4b08b301bf~mv2.jpeg/v1/fill/w_1600,h_900,fp_0.55_0.19,q_85,enc_auto/cta.jpeg") center/cover no-repeat;
  z-index: 0;
}
.cta-inner { position: relative; z-index: 1; }
.cta h2 { color: #fff; max-width: 22ch; margin: 0 auto 14px; }
.cta p { color: rgba(255,255,255,.78); max-width: 50ch; margin: 0 auto 28px; font-size: 1.05rem; }
.cta-inner small { display: block; margin-top: 18px; color: rgba(255,255,255,.6); font-size: 0.9rem; }
.cta-inner small a { color: rgba(255,255,255,.95); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.ftr {
  background: #06080D;
  color: rgba(255,255,255,.72);
  padding: 64px 0 28px;
}
.ftr-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ftr h4 { color: #fff; margin-bottom: 12px; }
.ftr a { display: block; padding: 4px 0; color: rgba(255,255,255,.72); transition: color .15s var(--ease); }
.ftr a:hover { color: #fff; }
.ftr-blurb { margin: 16px 0 0; font-size: 0.92rem; line-height: 1.55; max-width: 38ch; }
.brand-light .brand-text strong { color: #fff; }
.brand-light .brand-text small  { color: rgba(255,255,255,.5); }
.ftr-base {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 24px;
  flex-wrap: wrap; gap: 8px;
}
.ftr-base small { color: rgba(255,255,255,.5); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { max-width: 480px; margin: 0 auto; width: 100%; }
  .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0;
         background: #fff; flex-direction: column; padding: 20px 24px;
         border-bottom: 1px solid var(--border); gap: 6px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 1.05rem; }
  .hdr-toggle { display: flex; }
  .btn-cta-nav { display: none; }
  .tryout { grid-template-columns: 1fr; gap: 12px; padding: 18px; }
  .tryout-age { justify-content: flex-start; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 18px; }
  .hero-stats li:last-child { grid-column: 1 / -1; }
}
