/* ===== Base ===== */
:root {
  --green: #2e7d32;
  --green-dark: #1b5e20;
  --green-light: #66bb6a;
  --yellow: #fdd835;
  --yellow-dark: #f9a825;
  --navy: #0d2818;
  --ink: #1a2e22;
  --muted: #5a6b62;
  --bg: #ffffff;
  --bg-alt: #f5f8f5;
  --line: #e3ebe4;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(13, 40, 24, 0.08);
  --shadow-lg: 0 20px 50px rgba(13, 40, 24, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Outfit', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 700;
  color: var(--navy);
}
.accent { color: var(--green); }
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.eyebrow {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 6px 18px rgba(46,125,50,.3); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--green); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); background: var(--bg-alt); }
.btn.full { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 1.25rem; color: var(--navy); cursor: pointer; }
.logo-mark { font-size: 1.5rem; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; font-size: 0.95rem; color: var(--muted); transition: color .15s; cursor: pointer; }
.main-nav a:hover, .main-nav a.active { color: var(--green); }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }
.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .2s; }

/* ===== Page system (tabs) ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== Hero ===== */
.hero { padding: 70px 0 80px; background: linear-gradient(180deg, #f0f7f1 0%, #ffffff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 18px; }
.hero-copy p { font-size: 1.12rem; color: var(--muted); max-width: 520px; margin-bottom: 28px; }
.hero-tagline { font-style: italic; font-size: 1.2rem; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: 'Outfit', sans-serif; font-size: 1.8rem; font-weight: 800; color: var(--green); }
.hero-stats span { font-size: 0.82rem; color: var(--muted); }

.hero-visual { display: flex; justify-content: center; }
.court-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.court-card.small { max-width: 320px; }
.court-lines {
  position: absolute; inset: 18px;
  border: 3px solid rgba(255,255,255,0.6);
  border-radius: 12px;
}
.court-lines::before, .court-lines::after {
  content: ''; position: absolute; background: rgba(255,255,255,0.5);
}
.court-lines::before { left: 50%; top: 0; bottom: 0; width: 3px; transform: translateX(-50%); }
.court-lines::after { top: 50%; left: 0; right: 0; height: 3px; transform: translateY(-50%); }
.ball {
  position: absolute;
  top: 28%; left: 30%;
  font-size: 3rem;
  animation: bounce 2.4s ease-in-out infinite;
}
.court-badge {
  position: absolute;
  bottom: 20px; left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.95);
  color: var(--green-dark);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  padding: 8px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}

/* ===== Motto banner ===== */
.motto-banner {
  background: var(--navy);
  color: #fff;
  padding: 56px 0;
  text-align: center;
}
.motto {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.motto-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.motto-inline {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  margin-top: 18px;
  font-style: italic;
}

/* ===== Page hero (sub pages) ===== */
.page-hero {
  padding: 60px 0 40px;
  background: linear-gradient(180deg, #f0f7f1 0%, #ffffff 100%);
  text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.page-tagline { font-style: italic; }
.coming-soon { font-size: 1.3rem; margin-top: 20px; }
.heart-ball { font-size: 1.6rem; display: inline-block; animation: heartbeat 1.2s ease-in-out infinite; }
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ===== Sections ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.center-cta { text-align: center; margin-top: 40px; }

/* ===== Program cards ===== */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card-grid.two-col { grid-template-columns: repeat(2, 1fr); max-width: 760px; margin: 0 auto; }
.program-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s, box-shadow .2s;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-icon { font-size: 2.2rem; margin-bottom: 14px; }
.program-card h3 { font-size: 1.25rem; margin-bottom: 4px; }
.program-age { display: block; font-size: 0.82rem; font-weight: 600; color: var(--green); margin-bottom: 12px; }
.program-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 16px; }
.program-card ul li { font-size: 0.88rem; padding: 5px 0; color: var(--ink); position: relative; padding-left: 20px; }
.program-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== Story (Who We Are) ===== */
.story-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 50px; align-items: center; }
.story-copy h2 { font-size: 2rem; margin-bottom: 18px; }
.story-copy p { color: var(--muted); margin-bottom: 16px; font-size: 1.02rem; }
.story-visual { display: flex; justify-content: center; }

/* ===== Values ===== */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-icon { font-size: 2.2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 0.88rem; }

/* ===== Features ===== */
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 800px; margin: 0 auto; }
.feature-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-item h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--green-dark); }
.feature-item p { color: var(--muted); font-size: 0.92rem; }

/* ===== Coaches ===== */
.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.coach-grid:has(.coach-card:only-child) { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
.coach-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.coach-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.coach-photo {
  width: 88px; height: 88px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-light), var(--green));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: #fff;
}
.coach-card h3 { font-size: 1.5rem; margin-bottom: 4px; font-weight: 800; }
.coach-role { display: block; font-size: 0.95rem; color: var(--green); font-weight: 700; margin-bottom: 16px; }
.coach-card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 14px; }
.coach-bio { font-weight: 400 !important; text-align: left; }

/* ===== Schedule ===== */
.schedule-wrap { overflow-x: auto; }
.schedule-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-width: 560px; }
.schedule-table th { background: var(--navy); color: #fff; padding: 16px 20px; text-align: left; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 0.9rem; }
.schedule-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background: var(--bg-alt); }
.schedule-table td:first-child { font-weight: 600; color: var(--green-dark); }

/* ===== Pricing ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.price-card.featured { border-color: var(--green); border-width: 2px; box-shadow: var(--shadow-lg); }
.badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--yellow); color: var(--navy);
  font-family: 'Outfit', sans-serif; font-weight: 700; font-size: 0.75rem;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price { font-family: 'Outfit', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; }
.price .currency { font-size: 1.4rem; vertical-align: top; }
.price .per { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 20px; }
.price-card ul { margin-bottom: 24px; flex-grow: 1; }
.price-card ul li { padding: 8px 0; font-size: 0.92rem; position: relative; padding-left: 24px; }
.price-card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.testimonial p { font-size: 1rem; color: var(--ink); margin-bottom: 18px; font-style: italic; }
.testimonial p::before { content: '\201C'; font-size: 2.5rem; color: var(--green-light); line-height: 0; vertical-align: -0.4em; margin-right: 4px; }
.testimonial footer { display: flex; flex-direction: column; }
.testimonial strong { font-family: 'Outfit', sans-serif; font-size: 1rem; }
.testimonial span { font-size: 0.82rem; color: var(--muted); }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-bottom: 14px; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-details li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }
.contact-details li span { color: var(--ink); }

.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); font-family: 'Outfit', sans-serif; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: #fff;
}
.field textarea { resize: vertical; }
.form-note { margin-top: 16px; text-align: center; color: var(--green); font-weight: 600; }

/* ===== Footer ===== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: #fff; margin-bottom: 14px; cursor: pointer; }
.footer-brand p { font-size: 0.9rem; max-width: 320px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.footer-links a, .footer-links span { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: color .15s; cursor: pointer; }
.footer-links a:hover { color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .card-grid, .card-grid.two-col { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .coach-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .story-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .main-nav.open a { font-size: 1.05rem; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .values-grid { grid-template-columns: 1fr; }
}