/* ============================================================
   PADEL MAX — dark cinematic, optic-lime padel accent
   Fonts: Barlow Condensed (display) + Barlow (body)
   ============================================================ */

:root {
  --bg:        #0a0d0a;
  --bg-2:      #0f140e;
  --surface:   #141a12;
  --surface-2: #1a221770;
  --line:      #2a3326;
  --ink:       #f3f7ec;
  --ink-dim:   #aab6a0;
  --ink-faint: #6f7c66;

  --lime:      #d4ff3d;   /* the ball */
  --lime-deep: #aee000;
  --lime-glow: rgba(192, 255, 40, 0.55);
  --blue:      #3a72ff;   /* booking / availability */
  --blue-deep: #1f4fd6;
  --busy:      #3a2622;
  --busy-ink:  #c0786c;

  --r:    14px;
  --r-lg: 22px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 30px 80px -30px rgba(0,0,0,.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Barlow", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 { font-family: "Barlow Condensed", sans-serif; font-weight: 700; line-height: .98; text-transform: uppercase; letter-spacing: .01em; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--lime); color: #142000; }

/* ---------- buttons ---------- */
.btn {
  --pad: .8rem 1.4rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--pad);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700; font-size: 1.02rem; text-transform: uppercase; letter-spacing: .06em;
  border: 1px solid transparent; border-radius: 999px;
  cursor: pointer; transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap; line-height: 1;
}
.btn--lg { --pad: 1.05rem 2rem; font-size: 1.15rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--lime); color: #16240a; box-shadow: 0 10px 30px -10px var(--lime-glow); }
.btn--accent:hover { background: #e4ff66; transform: translateY(-2px); box-shadow: 0 16px 40px -10px var(--lime-glow); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 2.4rem);
  transition: background .3s, backdrop-filter .3s, border-color .3s, padding .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,13,10,.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-top: .75rem; padding-bottom: .75rem;
}
.nav__brand {
  font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: 1.5rem; text-transform: uppercase; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: .55rem;
}
.nav__brand-thin { font-weight: 500; color: var(--ink-dim); }
.nav__dot { width: 13px; height: 13px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 14px var(--lime-glow); }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim);
  position: relative; padding: .3rem 0; transition: color .2s;
}
.nav__links a::after { content:""; position:absolute; left:0; bottom:-2px; height:2px; width:0; background: var(--lime); transition: width .25s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: .6rem 1.2rem; }
.nav__booklink { display: none; }   /* desktop: the CTA button is the single booking action */
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 26px; height: 2px; background: var(--ink); transition: .25s; }

/* ============================================================
   HERO — static player photo; the ball travels on scroll
   ============================================================ */
.hero {
  position: relative; height: 100vh; min-height: 100svh;
  overflow: hidden; display: grid; align-items: center; background: var(--bg);
  /* lift the centered content up so it clears the scroll hint at the bottom */
  padding-bottom: clamp(6rem, 14vh, 10rem);
}

/* fixed full-viewport WebGL layer: player swings here, ball flies across it */
.scene {
  position: fixed; inset: 0; width: 100vw; height: 100vh;
  z-index: 55; pointer-events: none; display: block;
}

/* stylized dark arena backdrop (3D mode) */
.hero__arena {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 75% at 72% 26%, rgba(140,180,40,.16) 0%, transparent 46%),
    radial-gradient(100% 80% at 50% 8%, #1a2412 0%, #0c1109 55%, var(--bg) 100%),
    linear-gradient(180deg, #0b0f0a 0%, var(--bg) 100%);
}
.hero__arena::after {              /* subtle court floor sheen at the bottom */
  content: ""; position: absolute; left: -10%; right: -10%; bottom: -2%; height: 38%;
  background: radial-gradient(60% 100% at 50% 100%, rgba(150,190,50,.10), transparent 70%);
}

/* photo hero is the no-WebGL fallback only */
.hero__photo {
  position: absolute; inset: 0; display: none;
  background-image: url("padel-hero.png");
  background-size: cover; background-position: 56% 42%;
}
.no-webgl .hero__photo { display: block; }
.no-webgl .hero__arena { display: none; }
.no-webgl .scene { display: none; }
.hero__vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 50% 18%, transparent 30%, rgba(10,13,10,.55) 100%),
    linear-gradient(180deg, rgba(10,13,10,.55) 0%, rgba(10,13,10,.15) 32%, rgba(10,13,10,.7) 78%, var(--bg) 100%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  position: relative; z-index: 5; text-align: left;
  justify-self: start;
  margin-left: clamp(1.2rem, 7vw, 7rem);
  padding: 0 1.2rem 0 0; max-width: min(600px, 88vw); will-change: transform, opacity;
}
.hero__eyebrow {
  font-family: "Barlow Condensed", sans-serif; font-weight: 600;
  text-transform: uppercase; letter-spacing: .32em; font-size: .9rem;
  color: var(--lime); margin-bottom: 1.1rem;
}
.hero__title { font-size: clamp(3rem, 10vw, 8rem); font-weight: 800; letter-spacing: -.01em; }
.hero__title span { display: block; }
.hero__title-accent {
  color: transparent; -webkit-text-stroke: 2px var(--lime);
  text-shadow: 0 0 40px var(--lime-glow);
}
.hero__sub {
  max-width: 34ch; margin: 1.5rem 0 0; color: var(--ink-dim);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}
.hero__actions { display: flex; gap: .9rem; justify-content: flex-start; flex-wrap: wrap; margin-top: 2.1rem; }

/* 2D SVG ball — fallback only (when WebGL is unavailable). Starts left in the
   hero, travels down on scroll and docks at the booking title. */
.ball {
  position: fixed; left: 0; top: 0; z-index: 60; display: none;
  width: clamp(72px, 9vw, 116px); height: clamp(72px, 9vw, 116px);
  pointer-events: none; will-change: transform;
  transform: translate(-100px, -100px);   /* off-screen until JS places it */
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)) drop-shadow(0 0 26px var(--lime-glow));
}
.no-webgl .ball { display: block; }
.ball__svg { width: 100%; height: 100%; animation: ballspin 9s linear infinite; transform-origin: 50% 50%; }
@keyframes ballspin { to { transform: rotate(360deg); } }

.hero__scrollhint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 6; display: flex; flex-direction: column; align-items: center; gap: .35rem;
  color: var(--ink-dim); font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  transition: opacity .3s;
}
.hero__scrollhint svg { animation: bob 1.8s var(--ease) infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(6px);} }

/* ============================================================
   SHARED SECTION SCAFFOLD
   ============================================================ */
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.kicker {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .28em; font-size: .85rem;
  color: var(--lime); margin-bottom: .8rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content:""; width: 28px; height: 2px; background: var(--lime); }
.section-title { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.section-lead { margin-top: 1.1rem; color: var(--ink-dim); max-width: 56ch; font-size: 1.1rem; }

/* ---------- stats band ---------- */
.stats { background: var(--bg-2); border-block: 1px solid var(--line); position: relative; z-index: 2; }
.stats__inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(2.2rem, 5vw, 3.4rem) clamp(1.1rem, 4vw, 2rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.stat { text-align: center; }
.stat__num {
  display: block; font-family: "Barlow Condensed", sans-serif; font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--lime); line-height: 1;
}
.stat__label { color: var(--ink-dim); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; }

/* ---------- club / features ---------- */
.club { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.feature-grid {
  max-width: var(--maxw); margin: clamp(2.5rem,5vw,4rem) auto 0;
  padding: 0 clamp(1.1rem, 4vw, 2rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.feature {
  background: linear-gradient(160deg, var(--surface), #0e130c);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem 1.8rem; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.feature:hover { transform: translateY(-6px); border-color: #3c4a35; box-shadow: var(--shadow); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(192,255,40,.1); color: var(--lime); margin-bottom: 1.2rem;
  border: 1px solid rgba(192,255,40,.2);
}
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.feature p { color: var(--ink-dim); }

/* ---------- courts ---------- */
.courts { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.court-list { max-width: var(--maxw); margin: clamp(2.5rem,5vw,4rem) auto 0; padding: 0 clamp(1.1rem,4vw,2rem); display: flex; flex-direction: column; gap: 1.4rem; }
.court-row {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: var(--surface);
}
.court-row--rev { grid-template-columns: 1fr 1.15fr; }
.court-row--rev .court-row__media { order: 2; }
.court-row__media {
  min-height: 280px; background-size: cover; background-position: center;
  position: relative;
}
.court-row__media::after { content:""; position:absolute; inset:0; background: linear-gradient(90deg, transparent, rgba(20,26,18,.4)); }
.court-row__media--1 { background-image: url("https://images.unsplash.com/photo-1554068865-24cecd4e34b8?auto=format&fit=crop&w=1100&q=80"); }
.court-row__media--2 { background-image: url("https://images.unsplash.com/photo-1622279457486-62dcc4a431d6?auto=format&fit=crop&w=1100&q=80"); }
.court-row__media--3 { background-image: url("https://images.unsplash.com/photo-1595435934249-5df7ed86e1c0?auto=format&fit=crop&w=1100&q=80"); }
.court-row__media--4 { background-image: url("https://images.unsplash.com/photo-1626224583764-f87db24ac4ea?auto=format&fit=crop&w=1100&q=80"); }
.court-row__body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; justify-content: center; }
.court-row__no { font-family: "Barlow Condensed", sans-serif; font-weight: 700; letter-spacing: .2em; color: var(--lime); text-transform: uppercase; font-size: .9rem; }
.court-row__body h3 { font-size: clamp(2rem, 4vw, 3rem); margin: .3rem 0 .7rem; }
.court-row__body p { color: var(--ink-dim); max-width: 42ch; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.tags li { font-family: "Barlow Condensed", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; padding: .35rem .8rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-dim); }

/* ---------- pricing ---------- */
.pricing { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.pricing--abo { background: var(--bg-2); border-block: 1px solid var(--line); }
.price-grid { max-width: var(--maxw); margin: clamp(2.5rem,5vw,4rem) auto 0; padding: 0 clamp(1.1rem,4vw,2rem); display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; align-items: stretch; }
.price-card {
  flex: 1 1 280px; max-width: 380px;
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 2.2rem 1.9rem; display: flex; flex-direction: column;
  transition: transform .3s var(--ease), border-color .3s;
}
/* prepaid credit bonus tiers */
.tiers { list-style: none; display: flex; flex-direction: column; gap: .55rem; margin: 1.2rem 0 1.6rem; }
.tiers li { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; padding-bottom: .55rem; border-bottom: 1px solid var(--line); color: var(--ink-dim); }
.tiers li:last-child { border-bottom: 0; padding-bottom: 0; }
.tiers__load { font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.tiers__bonus { font-family: "Barlow Condensed", sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .95rem; color: var(--lime); }
.price-card:hover { transform: translateY(-6px); }
.price-card--feat { border-color: var(--lime); background: linear-gradient(170deg, rgba(192,255,40,.06), var(--surface)); box-shadow: 0 30px 70px -30px var(--lime-glow); }
.price-card__badge { position: absolute; top: -.8rem; right: 1.5rem; background: var(--lime); color: #16240a; font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; padding: .3rem .9rem; border-radius: 999px; }
.price-card h3 { font-size: 1.8rem; }
.price-card__when { color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-top: .2rem; }
.price-card__amount { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 3.6rem; line-height: 1; margin: 1.2rem 0; color: var(--ink); }
.price-card__amount span { font-size: 1.6rem; vertical-align: super; color: var(--ink-dim); margin-right: .1rem; }
.price-card__amount small { font-size: 1rem; font-weight: 500; color: var(--ink-faint); letter-spacing: 0; }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1.8rem; }
.price-card li { color: var(--ink-dim); padding-left: 1.6rem; position: relative; }
.price-card li::before { content:""; position:absolute; left:0; top:.5em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.price-card .btn { margin-top: auto; }

/* ============================================================
   BOOKING
   ============================================================ */
.booking { padding: clamp(4.5rem, 10vw, 8rem) 0; background: var(--bg-2); border-block: 1px solid var(--line); }
.booker {
  max-width: var(--maxw); margin: clamp(2.5rem,5vw,3.5rem) auto 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow);
}

.booker__dates { display: flex; gap: .6rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: thin; }
.date-pill {
  flex: 0 0 auto; cursor: pointer; background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r); padding: .7rem 1rem; text-align: center; min-width: 78px;
  transition: border-color .2s, background .2s, transform .15s; color: var(--ink-dim);
}
.date-pill:hover { border-color: #3c4a35; transform: translateY(-2px); }
.date-pill__dow { display: block; font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }
.date-pill__day { display: block; font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--ink); line-height: 1.1; }
.date-pill__mon { display: block; font-size: .72rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .08em; }
.date-pill.is-active { background: var(--lime); border-color: var(--lime); color: #16240a; }
.date-pill.is-active .date-pill__day, .date-pill.is-active .date-pill__mon { color: #16240a; }
.date-pill:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ---- duration chips ---- */
.booker__duration { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem; margin-top: 1.3rem; }
.booker__duration-label { font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--ink-dim); }
.duration-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.duration-chip {
  cursor: pointer; background: var(--bg); border: 1px solid var(--line); color: var(--ink-dim);
  border-radius: 999px; padding: .5rem 1.05rem;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
.duration-chip:hover { border-color: #3c4a35; transform: translateY(-2px); }
.duration-chip.is-active { background: var(--lime); border-color: var(--lime); color: #16240a; }
.duration-chip:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.booker__legend { display: flex; gap: 1.4rem; margin: 1.3rem 0 1rem; flex-wrap: wrap; }
.booker__legend span { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink-dim); font-size: .85rem; }
.dot { width: 14px; height: 14px; border-radius: 4px; }
.dot--free { background: var(--bg); border: 1px solid #3c4a35; }
.dot--sel  { background: var(--lime); }
.dot--busy { background: var(--busy); border: 1px solid #5a352e; }
.dot--na   { background: transparent; border: 1px dashed #3c4a35; }

.booker__scroll { overflow-x: auto; padding-bottom: .5rem; }
.grid { display: grid; gap: 6px; min-width: 640px; }
.grid__head, .grid__row { display: grid; grid-template-columns: 86px repeat(4, 1fr); gap: 6px; align-items: stretch; }
.grid__corner, .grid__court, .grid__time {
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink-dim);
}
.grid__court { padding: .6rem 0; color: var(--ink); }
.grid__court small { display: block; font-family: "Barlow", sans-serif; font-weight: 400; font-size: .68rem; color: var(--ink-faint); letter-spacing: .02em; text-transform: none; }
.grid__time { font-size: .95rem; color: var(--ink-dim); }

.slot {
  border: 1px solid #2b3427; background: var(--bg); border-radius: 10px;
  min-height: 46px; cursor: pointer; color: var(--ink-dim);
  font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: .82rem;
  letter-spacing: .04em; transition: background .18s, border-color .18s, transform .12s, color .18s;
  display: flex; align-items: center; justify-content: center;
}
.slot:hover:not(.is-busy):not(.is-sel) { border-color: var(--lime); color: var(--lime); transform: translateY(-1px); }
.slot.is-busy { background: var(--busy); border-color: #4a2c26; color: var(--busy-ink); cursor: not-allowed; }
.slot.is-na { background: transparent; border: 1px dashed #2b3427; color: var(--ink-faint); cursor: not-allowed; opacity: .55; }
.slot.is-sel { background: var(--lime); border-color: var(--lime); color: #16240a; box-shadow: 0 8px 22px -8px var(--lime-glow); }
.slot:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.booker__summary {
  display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; justify-content: space-between;
  margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.summary__hint { color: var(--ink-faint); }
.summary__detail { display: flex; flex-direction: column; }
.summary__court { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 1.6rem; text-transform: uppercase; }
.summary__meta { color: var(--ink-dim); }
.summary__action { display: flex; align-items: center; gap: 1.2rem; margin-left: auto; }
.summary__price { font-family: "Barlow Condensed", sans-serif; font-weight: 800; font-size: 2rem; color: var(--lime); }

/* ---------- closer ---------- */
.closer { padding: clamp(5rem, 12vw, 9rem) clamp(1.1rem,4vw,2rem); text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(192,255,40,.08), transparent 60%),
    var(--bg);
}
.closer__inner { max-width: 720px; margin: 0 auto; }
.closer h2 { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.closer p { color: var(--ink-dim); font-size: 1.2rem; margin: 1.2rem auto 2.2rem; max-width: 50ch; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: clamp(3rem,6vw,4.5rem) clamp(1.1rem,4vw,2rem) 1.5rem; }
.footer__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.nav__brand--foot { font-size: 1.7rem; }
.footer__tag { color: var(--ink-dim); margin-top: .6rem; }
.footer h4 { font-family: "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .1em; font-size: .95rem; color: var(--ink); margin-bottom: .7rem; }
.footer p { color: var(--ink-dim); font-size: .95rem; }
.footer__bar { max-width: var(--maxw); margin: 2.5rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--ink-faint); font-size: .85rem; }

/* ---------- toast ---------- */
.toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translate(-50%, 150%);
  z-index: 200; background: var(--lime); color: #16240a;
  font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: 1.05rem;
  padding: 1rem 1.6rem; border-radius: 999px; box-shadow: 0 18px 50px -12px var(--lime-glow);
  transition: transform .4s var(--ease); max-width: 90vw; text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .nav__links, .nav__cta { display: none; }
  .nav__booklink { display: block; }  /* mobile: show booking inside the open menu */
  .nav__burger { display: flex; margin-left: auto; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(10,13,10,.96); backdrop-filter: blur(14px); padding: 1.2rem clamp(1rem,4vw,2.4rem) 1.6rem; gap: 1rem; border-bottom: 1px solid var(--line);
  }
  .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .court-row, .court-row--rev { grid-template-columns: 1fr; }
  .court-row--rev .court-row__media { order: 0; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  /* re-center hero content on small screens (player sits behind it) */
  .hero { justify-items: center; }
  .hero__content { justify-self: center; text-align: center; margin-left: 0; padding: 0 1.2rem; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
}
@media (max-width: 540px) {
  .summary__action { width: 100%; justify-content: space-between; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   REDUCED MOTION — disable the heavy scroll choreography
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ball__svg { animation: none; }
  .hero__scrollhint svg { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}
