/* AR Tennis Academy — Horizon West, Winter Garden FL */

:root {
  --green-dark:  #10331D;
  --green:       #217A43;
  --green-mid:   #2E9150;
  --green-pale:  #A7E3BC;
  --green-tint:  #EAF5EE;
  --pink:        #D6559E;
  --pink-dark:   #B93E85;
  --pink-pale:   #F3C1DD;
  --ink:         #141414;
  --muted:       #55554F;
  --muted-light: #CFE3D6;
  --faint:       #8A8A82;
  --line:        #E8E8E2;
  --bg-light:    #F4F7F2;
  --paper:       #FBFBF9;
  --white:       #FFFFFF;
  --off-white:   #EDEDE8;
  --display: 'Anton', Impact, sans-serif;
  --body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; }
a { color: var(--green); }
a:hover { color: var(--pink); }

h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
h1 { font-size: clamp(44px, 8.5vw, 96px); line-height: 0.98; margin: 0 0 16px; max-width: 13ch; }
h2 { font-size: clamp(32px, 5vw, 52px); margin: 0 0 32px; }
h3 { font-size: 26px; margin: 0; }

/* ---------- layout helpers ---------- */

.wrap { max-width: 1200px; margin: 0 auto; padding: 72px 20px; }
.section-tight { padding-bottom: 24px; }
.band-light { background: var(--bg-light); }
.band-dark  { background: var(--green-dark); color: var(--white); }

.muted       { color: var(--muted); }
.muted-light { color: var(--muted-light); }
.small       { font-size: 14px; }
.nowrap      { white-space: nowrap; }
.lead        { font-size: 17px; line-height: 1.65; margin: 0 0 14px; }
.footnote    { font-size: 13px; color: var(--faint); margin: 10px 0 0; }
.section-sub { margin: 0 0 32px; color: var(--muted); font-size: 17px; max-width: 60ch; }

.kicker { margin: 0 0 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; }
.kicker-light { color: var(--green-pale); }
.kicker-green { color: var(--green); }

.accent-green { color: var(--green); }
.accent-pink  { color: var(--pink-pale); }

.link-underline {
  font-weight: 700; text-decoration: none;
  border-bottom: 2px solid var(--pink); padding-bottom: 2px;
}
.link-light { color: var(--white); font-weight: 600; }
.link-light:hover { color: var(--pink-pale); }

.btn {
  display: inline-block; border: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; text-decoration: none;
  border-radius: 999px; text-align: center;
  transition: background 140ms ease;
}
.btn-pink { background: var(--pink); color: var(--white); }
.btn-pink:hover { background: var(--pink-dark); color: var(--white); }
.btn-sm  { padding: 10px 16px; font-size: 13px; white-space: nowrap; }
.btn-lg  { padding: 16px 28px; font-size: 17px; }
.btn-block { padding: 15px 24px; font-size: 16px; width: 100%; }

.row-cta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.row-cta-center { justify-content: center; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 20px;
  display: flex; align-items: center; gap: 14px;
}
.nav-spacer { flex: 1; }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.wordmark { font-family: var(--display); font-size: 18px; letter-spacing: 0.5px; white-space: nowrap; }
.wordmark-short { display: none; }

.nav-links { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.nav-links a { text-decoration: none; white-space: nowrap; }

.lang-switch {
  display: flex; align-items: center; gap: 4px;
  border: 2px solid var(--ink); border-radius: 999px; padding: 3px;
}
.lang-switch button {
  border: none; background: transparent; color: var(--ink);
  border-radius: 999px; padding: 5px 9px;
  font-family: var(--body); font-weight: 700; font-size: 12px;
  cursor: pointer; line-height: 1;
}
.lang-switch button[aria-current="true"] { background: var(--ink); color: var(--white); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: flex-end; background: var(--green-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,25,15,0.15) 30%, rgba(10,25,15,0.82) 100%);
}
.hero-inner {
  position: relative; max-width: 1200px; margin: 0 auto;
  width: 100%; padding: 120px 20px 64px; color: var(--white);
}
.hero-sub { font-size: clamp(17px, 2.2vw, 22px); margin: 0 0 28px; max-width: 46ch; color: var(--off-white); }

/* ---------- program cards ---------- */

.grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column;
}
.card > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.card-body p { margin: 0; font-size: 15px; }
.card-dark { background: var(--green-dark); color: var(--white); border: none; }

.ball-list { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.ball-row { display: flex; gap: 10px; align-items: flex-start; }
.ball-row p { font-size: 14px; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0; margin-top: 3px; }
.dot-red    { background: #E24B3B; }
.dot-orange { background: #F08A24; }
.dot-green  { background: var(--green-mid); }

.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  background: var(--green-tint); color: #1E6B3A;
  border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600;
}
.quote-rule { border-left: 3px solid var(--pink); padding-left: 12px; color: var(--off-white); font-size: 14px; }

/* ---------- coach / split sections ---------- */

.grid-split {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 36px; align-items: center;
}
.grid-split-top { align-items: start; }
.coach-photo {
  width: 100%; max-height: 460px; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: center 20%; border-radius: 16px;
}

/* ---------- why ---------- */

.grid-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.why-card {
  background: var(--white); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.why-card h3 { font-family: var(--body); font-size: 18px; font-weight: 700; text-transform: none; }
.why-card p { margin: 0; line-height: 1.55; }
.why-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--green-mid); color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; }

/* ---------- gallery ---------- */

.gallery-hint { margin: -20px 0 20px; }
.gallery { columns: 260px 4; gap: 12px; }
.gallery img {
  width: 100%; height: auto; border-radius: 12px; margin-bottom: 12px;
  break-inside: avoid; display: block; cursor: zoom-in;
  transition: opacity 140ms ease;
}
.gallery img:hover { opacity: 0.86; }

/* ---------- testimonials ---------- */

.grid-testi { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.testi {
  margin: 0; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.quote-mark { color: var(--pink); font-family: var(--display); font-size: 34px; line-height: 1; }
.testi blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--off-white); flex: 1; }
.testi figcaption { font-weight: 700; font-size: 14px; color: var(--green-pale); }

/* ---------- schedule ---------- */

.table-scroll { overflow-x: auto; }
.sched { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; }
.sched thead tr { text-align: left; border-bottom: 2px solid var(--ink); }
.sched th { padding: 10px 12px; text-transform: uppercase; font-size: 12px; letter-spacing: 1px; }
.sched tbody tr { border-bottom: 1px solid var(--line); }
.sched td { padding: 12px; }
.sched td:first-child { font-weight: 700; white-space: nowrap; }

.loc { display: flex; flex-direction: column; gap: 16px; }
.loc iframe { width: 100%; height: 300px; border: 0; border-radius: 16px; }
.loc h3 { font-family: var(--body); font-size: 18px; font-weight: 700; text-transform: none; margin: 0 0 6px; }
.loc p { margin: 0 0 10px; font-size: 15px; }

/* ---------- form ---------- */

.form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px;
}
.form label {
  display: flex; flex-direction: column; gap: 6px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.form input, .form select, .form textarea {
  font-family: var(--body); font-size: 16px; font-weight: 400;
  text-transform: none; letter-spacing: 0;
  padding: 12px 14px; border: 1px solid #D8D8D2; border-radius: 10px;
  background: var(--paper); color: var(--ink);
}
.form textarea { resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible {
  outline: 2px solid var(--green); outline-offset: 1px;
}
.form .footnote { margin: 0; }

/* ---------- final CTA ---------- */

.final { position: relative; background: var(--green-dark); }
.final-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
}
.final-inner {
  position: relative; max-width: 900px; margin: 0 auto;
  padding: 96px 20px; text-align: center; color: var(--white);
}
.final-inner h2 { font-size: clamp(36px, 6vw, 64px); margin: 0 0 14px; }
.final-sub { font-size: 18px; margin: 0 0 28px; color: var(--off-white); }

/* ---------- footer ---------- */

.footer { background: #0B0B0B; color: #CFCFC8; }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 28px;
  align-items: center; justify-content: space-between;
  padding-top: 48px; padding-bottom: 48px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img {
  width: 52px; height: 52px; object-fit: contain;
  background: var(--white); border-radius: 12px; padding: 4px;
}
.footer-brand p { margin: 0; }
.footer-name { font-family: var(--display); color: var(--white); font-size: 16px; letter-spacing: 0.5px; }
.footer-contact { font-size: 14px; display: flex; flex-direction: column; gap: 4px; }
.footer-contact a { color: var(--green-pale); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }
.footer-note { margin: 0; max-width: 32ch; }

/* ---------- lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(8,14,10,0.94);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 92vw); max-height: 82vh;
  border-radius: 14px; display: block; object-fit: contain;
}
.lb-btn {
  position: absolute; border: none; border-radius: 50%;
  background: rgba(255,255,255,0.14); color: var(--white);
  font-size: 22px; cursor: pointer; line-height: 1;
}
.lb-btn:hover { background: var(--pink); }
.lb-close { top: 16px; right: 20px; width: 44px; height: 44px; }
.lb-prev  { left: 14px;  width: 48px; height: 48px; }
.lb-next  { right: 14px; width: 48px; height: 48px; }
.lb-counter {
  position: absolute; bottom: 18px; margin: 0;
  color: var(--muted-light); font-size: 13px; letter-spacing: 1px;
}

/* ---------- floating WhatsApp ---------- */

.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
}
.wa-float:hover { background: #1EBE5B; color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- responsive ---------- */

@media (max-width: 859px) {
  .nav-links { display: none; }
  .wordmark-full  { display: none; }
  .wordmark-short { display: inline; }

  .gallery {
    columns: auto; display: flex; gap: 12px;
    overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory;
  }
  .gallery img {
    height: 260px; width: auto; flex: 0 0 auto;
    margin-bottom: 0; scroll-snap-align: center;
  }
}

/* very narrow phones: the logo alone carries the brand so the nav row still fits */
@media (max-width: 460px) {
  .nav-inner { gap: 10px; padding: 10px 14px; }
  .wordmark-short { display: none; }
  .brand img { width: 40px; height: 40px; }
  .btn-sm { padding: 9px 13px; font-size: 12px; }
  .lang-switch button { padding: 5px 7px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
