/* ==========================================================================
   Alpha Training Facility — public site
   Premium extension of the Alpha Fitness app: near-black surfaces with
   depth, gold (#B8962E) as an accent only, clean uppercase tracking.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;700&display=swap');

:root {
  --color-black: #000000;
  --color-surface: #0d0d0d;
  --color-surface-2: #111111;
  --color-surface-3: #1a1a1a;
  --color-gold: #B8962E;
  --color-gold-light: #D4A93C;
  --color-white: #ffffff;
  --color-gray: #888888;
  --color-gray-light: #c4c4c4;
  --color-border: rgba(184, 150, 46, 0.2);
  --color-border-faint: rgba(255, 255, 255, 0.07);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; }

/* The hidden attribute must always win — author display rules (e.g.
   .site-form { display: grid }) otherwise override the browser default
   and "hidden" forms stay visible. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-surface);
  color: var(--color-white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; }

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition), background var(--transition),
    border-color var(--transition), opacity var(--transition);
}
a:hover { color: var(--color-gold-light); }

button { transition: all var(--transition); }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* --------------------------------------------------------------------------
   Headings: Oswald 700 site-wide (the client's locked-in choice)
   -------------------------------------------------------------------------- */
h1, h2, h3, .section-title, .hero-title, .page-title, .page-hero h1, .cta-gold h2 {
  font-family: 'Oswald', var(--font);
  font-weight: 700;
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 16px; }

.section { padding: 88px 0; }

/* Section header: white uppercase title + short gold rule beneath. */
.section-head { text-align: center; margin-bottom: 52px; }
.section-title {
  color: var(--color-white);
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}
.gold-rule {
  display: block;
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: 18px auto 0;
}

/* Small gold kicker label used above titles. */
.kicker {
  color: var(--color-gold);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin: 0 0 14px;
}

.lead { color: var(--color-gray-light); font-size: 18px; }
.muted { color: var(--color-gray); }
.center { text-align: center; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
}
/* Inline checkout forms (plan cards) — keep <button class="btn"> identical to <a class="btn"> */
form.checkout-form { display: inline-block; margin-top: auto; }
form.checkout-form .btn { margin-top: 0; }

/* Page-hero logo treatment (Alpha Fitness service page only) */
.page-hero-logo { height: 80px; width: auto; display: block; margin: 0 auto 26px; }

/* Secondary link under the free-class form */
.member-link { text-align: center; margin-top: 44px; font-size: 15px; }
.member-link a { font-weight: 600; }
.btn-gold { background: var(--color-gold); border-color: var(--color-gold); color: #0a0a0a; }
.btn-gold:hover { background: var(--color-gold-light); border-color: var(--color-gold-light); color: #0a0a0a; }
.btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: var(--color-white); }
.btn-outline:hover { border-color: var(--color-white); background: rgba(255, 255, 255, 0.08); color: var(--color-white); }
.btn-outline-gold { background: transparent; border-color: var(--color-gold); color: var(--color-gold); }
.btn-outline-gold:hover { background: rgba(184, 150, 46, 0.12); color: var(--color-gold-light); }
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition),
    backdrop-filter var(--transition);
}
.site-header.scrolled {
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

.brand { display: flex; align-items: center; }
/* logo-atf-light.png is pre-processed (near-black -> white) for dark
   surfaces, so NO CSS filter is applied to any logo image. */
.nav-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav > a, .nav-parent {
  color: var(--color-white);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--transition);
}
.site-nav > a:hover { color: var(--color-gold); }
.site-nav > a.active { color: var(--color-gold); }

/* Services dropdown (hover / focus on desktop) */
.nav-item { position: relative; }
.nav-parent { display: inline-flex; align-items: center; gap: 6px; cursor: default; }
.nav-item.active-parent .nav-parent { color: var(--color-gold); }
.caret { opacity: 0.6; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 240px;
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 8px 0;
  margin-top: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
/* Invisible hover bridge so the pointer can cross the gap to the panel. */
.dropdown::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: flex; }
.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 11px 18px;
  white-space: nowrap;
}
.dropdown a:hover, .dropdown a.active { color: var(--color-gold); background: rgba(184, 150, 46, 0.07); }
/* Non-link contact entry in the dropdown (court rental is text-to-book). */
.dropdown-contact {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--color-white);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 11px 18px;
  white-space: nowrap;
  cursor: default;
}
.dropdown-contact span {
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
}
.dropdown a.soon-link { color: var(--color-gray); cursor: default; }
.dropdown a.soon-link:hover { color: var(--color-gray); background: transparent; }
.soon-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 2px 8px;
}

/* Hamburger — hidden on desktop */
.nav-toggle { display: none; }
.hamburger { display: none; cursor: pointer; padding: 8px; }
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

/* --------------------------------------------------------------------------
   Homepage hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.65); }
.hero-content { position: relative; text-align: center; padding: 96px 24px; max-width: 960px; }
.hero-title {
  font-size: clamp(38px, 6.4vw, 72px);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-white);
  margin: 0 0 18px;
}
.hero-sub {
  font-size: 1.1rem;
  color: #B8962E;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 40px;
}

/* --------------------------------------------------------------------------
   App download section (official store badges)
   -------------------------------------------------------------------------- */
.app-strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border-faint);
  border-bottom: 1px solid var(--color-border-faint);
}
.app-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.app-strip .kicker { margin-bottom: 10px; color: var(--color-gold); }
.app-strip h2 {
  color: var(--color-white);
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 10px;
}
.app-strip p { color: var(--color-gray); margin: 0; font-size: 16px; max-width: 480px; }

/* Official store badges, sized by height. Google's badge art ships with
   built-in padding, so it gets a taller box to visually match Apple's. */
.app-badges { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-badges a { display: inline-block; line-height: 0; }
.app-badges img { height: 52px; width: auto; display: block; }
.app-badges .badge-google img { height: 61px; }

/* --------------------------------------------------------------------------
   Services grid
   -------------------------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #111111;
  border: none;
  border-left: 2px solid var(--color-gold);
  border-radius: 0 10px 10px 0;
  padding: 32px 28px;
  color: var(--color-white);
  transition: background var(--transition);
}
.service-card:hover { background: #1a1a1a; color: var(--color-white); }
.service-card h3 {
  color: var(--color-white);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.service-card p { color: #888888; margin: 0; font-size: 0.875rem; flex: 1; }
.service-card .more {
  color: var(--color-gold);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.service-card .more .arrow { transition: transform var(--transition); display: inline-block; }
.service-card:hover .more .arrow { transform: translateX(4px); }
.service-card .soon {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
/* Informational (non-link) service card — same look, no click affordance. */
.service-card-static { cursor: default; }
.service-card-static:hover { background: #111111; }
.service-card-static p { color: var(--color-gray-light); }

/* --------------------------------------------------------------------------
   Why Alpha
   -------------------------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.why-item { padding: 8px 16px; }
.why-icon {
  display: flex;
  justify-content: center;
  margin: 0 auto 16px;
  color: #B8962E;
}
.why-icon svg { width: 32px; height: 32px; flex-shrink: 0; }
.why-item h3 {
  color: var(--color-white);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.why-item p { color: var(--color-gray); font-size: 15px; margin: 0; max-width: 300px; margin: 0 auto; }

/* --------------------------------------------------------------------------
   Interior page hero banner
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(180deg, #0a0a0a 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-border-faint);
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}
.page-hero h1 {
  color: var(--color-white);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}
.page-hero .sub {
  color: var(--color-gray-light);
  font-size: 17px;
  font-weight: 300;
  letter-spacing: 0.06em;
  margin: 20px 0 0;
}

/* --------------------------------------------------------------------------
   Gold CTA band (Alpha Fitness page only)
   -------------------------------------------------------------------------- */
.cta-gold {
  background: #B8962E;
  color: #000000;
  text-align: center;
  padding: 60px 20px;
}
.cta-gold h2 {
  color: #000000;
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.cta-gold p { color: #1a1a1a; max-width: 520px; margin: 0 auto 24px; font-size: 1rem; font-weight: 500; }
.btn-dark {
  background: #000000;
  border: none;
  color: #B8962E;
  padding: 14px 32px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.btn-dark:hover { background: #1a1a1a; color: var(--color-gold-light); }

/* --------------------------------------------------------------------------
   Schedule table
   -------------------------------------------------------------------------- */
.schedule-wrap { overflow-x: auto; }
table.schedule {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-faint);
  border-radius: 12px;
  overflow: hidden;
}
table.schedule th, table.schedule td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border-faint);
}
table.schedule th {
  color: var(--color-gold);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  background: #0a0a0a;
}
table.schedule td.day {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  white-space: nowrap;
}
table.schedule td.times { color: var(--color-gray-light); font-size: 15px; }
table.schedule tr:last-child td { border-bottom: none; }
.schedule-note { color: var(--color-gold); font-weight: 700; }

/* --------------------------------------------------------------------------
   Plan cards
   -------------------------------------------------------------------------- */
.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan-card {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-faint);
  border-radius: 12px;
  padding: 30px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: border-color var(--transition);
}
.plan-card:hover { border-color: var(--color-gold); }
.plan-card .plan-name {
  font-weight: 800;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.plan-card .plan-note { color: var(--color-gray); font-size: 13px; }
.plan-card .plan-price { color: var(--color-gold); font-size: 36px; font-weight: 900; margin: 10px 0 6px; }
.plan-card .plan-period { color: var(--color-gray); font-size: 14px; font-weight: 400; }
.plan-card .btn { margin-top: auto; padding: 12px 26px; font-size: 12px; }

/* --------------------------------------------------------------------------
   Prose (About page)
   -------------------------------------------------------------------------- */
.prose { max-width: 720px; margin: 0 auto; }
.prose p { color: var(--color-gray-light); font-size: 17px; margin: 0 0 26px; }
/* Long-form legal/policy text (e.g. /privacy) */
.prose h2 { font-size: 1.35rem; margin: 38px 0 14px; }
.prose ul { color: var(--color-gray-light); font-size: 17px; margin: 0 0 26px; padding-left: 22px; }
.prose li { margin: 0 0 12px; line-height: 1.6; }
.prose li strong, .prose p strong { color: var(--color-white); }
.prose a { color: var(--color-gold); }
/* Buttons inside prose keep their own text colors — without these, the
   `.prose a` gold above outranks the .btn-* color and gold-on-gold text
   is invisible until hover (seen on Alpha Select / J2 Athletics). */
.prose .btn-gold { color: #0a0a0a; }
.prose .btn-outline { color: var(--color-white); }
.prose .btn-outline-gold { color: var(--color-gold); }

/* --------------------------------------------------------------------------
   Forms (Contact + Waiver)
   -------------------------------------------------------------------------- */
.form-wrap { max-width: 640px; margin: 0 auto; }
.site-form { display: grid; gap: 20px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-gray-light);
  margin-bottom: 7px;
}
.field .req { color: var(--color-gold); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-faint);
  border-radius: 8px;
  color: var(--color-white);
  padding: 13px 14px;
  font-size: 15px;
  font-family: var(--font);
  transition: border-color var(--transition);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--color-gold); }
.field textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.checkbox-field { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--color-gray-light); }
.checkbox-field input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--color-gold); }

.form-msg { border-radius: 8px; padding: 16px 18px; font-weight: 600; }
.form-msg.success { background: rgba(46, 158, 79, 0.1); border: 1px solid rgba(46, 158, 79, 0.6); color: #7fd99a; }
.form-msg.error { background: rgba(204, 0, 0, 0.1); border: 1px solid rgba(204, 0, 0, 0.6); color: #ff8a8a; }

.waiver-text {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-faint);
  border-left: 3px solid var(--color-gold);
  border-radius: 8px;
  padding: 22px 24px;
  max-height: 320px;
  overflow-y: auto;
  color: var(--color-gray-light);
  font-size: 15px;
}
.waiver-text p { margin: 0 0 16px; }
.waiver-text p:last-child { margin-bottom: 0; }

/* Contact info row under the form */
.contact-strip {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  text-align: center;
}
.contact-details { margin-top: 60px; }
.contact-strip .item .label {
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 5px;
}
.contact-strip .item .value, .contact-strip .item .value a { color: var(--color-gray-light); font-size: 15px; }
.contact-strip .item .value a:hover { color: var(--color-gold); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--color-gold);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 48px; padding-bottom: 44px; }
.footer-logo { width: 160px; height: auto; display: block; }
/* Scoped as .site-footer .footer-tag so it outranks the `.site-footer p`
   gray — the tagline must be gold. */
.site-footer .footer-tag {
  color: var(--color-gold);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-top: 16px;
}
.site-footer h4 {
  color: var(--color-gold);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 16px;
}
.site-footer p { margin: 0 0 9px; color: var(--color-gray-light); font-size: 14px; }
.site-footer a { color: var(--color-gray-light); }
.site-footer a:hover { color: var(--color-gold); }
.footer-bottom {
  border-top: 1px solid var(--color-border-faint);
  padding-top: 22px;
  padding-bottom: 26px;
  color: var(--color-gray);
  font-size: 13px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Gold free-class CTA — forced at every screen size (Alpha Fitness page)
   -------------------------------------------------------------------------- */
.free-class-cta {
  background-color: #B8962E !important;
  padding: 60px 20px !important;
  text-align: center !important;
}
.free-class-cta h2 {
  color: #000000 !important;
  font-family: 'Oswald', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(1.5rem, 4vw, 2.5rem) !important;
  margin-bottom: 12px !important;
}
.free-class-cta p {
  color: #1a1a1a !important;
  font-size: 1rem !important;
  margin-bottom: 24px !important;
}
.free-class-cta a,
.free-class-cta .btn {
  background: #000000 !important;
  color: #B8962E !important;
  padding: 14px 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-block !important;
  border-radius: 4px !important;
}

/* --------------------------------------------------------------------------
   Court booking (/basketball-rental)
   -------------------------------------------------------------------------- */
.court-pricing {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 22px 20px;
}
.court-pricing .label {
  color: var(--color-gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.court-pricing .value { color: var(--color-white); font-size: 15px; font-weight: 600; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.slot {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-faint);
  border-radius: 6px;
  color: var(--color-white);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 4px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.slot:hover { border-color: var(--color-gold); }
.slot-off {
  color: #555555;
  background: #0b0b0b;
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot-off:hover { border-color: var(--color-border-faint); }
.slot-selected {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0a0a0a;
}
.slot-selected:hover { border-color: var(--color-gold); }

.court-price-line {
  font-size: 17px;
  color: var(--color-gray-light);
}
.court-price-line strong { color: var(--color-gold); font-size: 22px; }

.card-element {
  background: var(--color-surface-2);
  border: 1px solid var(--color-border-faint);
  border-radius: 8px;
  padding: 14px;
}

.policy-note {
  background: var(--color-surface-2);
  border-left: 3px solid var(--color-gold);
  border-radius: 6px;
  color: var(--color-gray-light);
  font-size: 14px;
  padding: 14px 16px;
}

/* Flatpickr calendar — align the CDN dark theme with the brand gold. */
body .flatpickr-calendar {
  background: var(--color-surface-3);
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}
body .flatpickr-day.selected,
body .flatpickr-day.selected:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: #0a0a0a;
}
body .flatpickr-day.today { border-color: var(--color-gold); }
body .flatpickr-day.today:hover { background: var(--color-surface-2); color: var(--color-white); }
body .flatpickr-day:hover { background: var(--color-surface-2); border-color: var(--color-border); }
body .flatpickr-months .flatpickr-month,
body .flatpickr-weekdays,
body span.flatpickr-weekday {
  background: var(--color-surface-3);
  color: var(--color-gold);
  fill: var(--color-gold);
}
body .flatpickr-current-month .flatpickr-monthDropdown-months { background: var(--color-surface-3); }
body .flatpickr-months .flatpickr-prev-month:hover svg,
body .flatpickr-months .flatpickr-next-month:hover svg { fill: var(--color-gold); }

@media (max-width: 768px) {
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .court-pricing { gap: 20px; }
}

/* --------------------------------------------------------------------------
   Select elements — dark theme (contact + free-class forms)
   -------------------------------------------------------------------------- */
select {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
  border: 1px solid #333333 !important;
  border-radius: 4px !important;
  padding: 12px 16px !important;
  font-size: 1rem !important;
  width: 100% !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23B8962E' d='M6 8L0 0h12z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  cursor: pointer !important;
}
select option {
  background-color: #1a1a1a !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   Responsive — 768px and 480px
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  /* Global mobile gutter: every section keeps at least 20px side padding. */
  section, .section, .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  /* Mobile brand: same PNG as desktop, just smaller. */
  .nav-logo { height: 34px; max-width: 170px; }
  .footer-logo { width: 140px; }

  /* App download section: breathing room + stacked badges at equal height. */
  .app-strip { padding: 0 !important; margin-top: 0 !important; border-top: 1px solid #1a1a1a; }
  .app-strip-inner { flex-direction: column; align-items: flex-start; padding: 48px 20px !important; }
  .app-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .app-badges img { height: 44px; width: auto; }
  .app-badges .badge-google img { height: 52px; }

  .page-hero { padding-top: 40px; padding-bottom: 40px; }

  /* Tagline: force gold + bold (belt-and-suspenders vs stale cached CSS). */
  .hero-sub,
  .hero-tagline,
  .hero-subtitle,
  [class*="tagline"] {
    color: #B8962E !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.15em !important;
  }

  /* Mobile type scale caps */
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hamburger { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 18px;
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav-toggle:checked ~ .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .hamburger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav > a, .nav-parent { display: block; padding: 13px 24px; }
  .nav-item { position: static; }
  .nav-parent { color: var(--color-gray); font-size: 11px; letter-spacing: 0.2em; padding-bottom: 4px; }
  .caret { display: none; }
  .dropdown {
    display: flex;
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    margin-top: 0;
  }
  .dropdown::before { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 52px 0; }
  .container { padding: 0 18px; }
  .card-grid, .card-grid-4 { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-sub { letter-spacing: 0.14em; }
  .btn { width: 100%; text-align: center; }
  .btn-row { flex-direction: column; align-items: stretch; }
  form.checkout-form { display: block; width: 100%; }
  .contact-strip { gap: 28px; }
}
