/* ============================================================
   UNO PADEL — refined editorial redesign
   Palette: black #0D0D0D, crimson #C41E2C (sparing accent),
   gold #E8A93A (hairline accents), white. Display grotesk +
   Inter. Glass, generous space, cinematic placeholders.
   ============================================================ */

:root {
  --black: #0D0D0D;
  --ink: #141416;
  --red: #C41E2C;
  --gold: #E8A93A;
  --white: #FFFFFF;
  --muted: #9a9a9e;
  --line: rgba(255, 255, 255, 0.10);
  --line-gold: rgba(232, 169, 58, 0.24);
  --radius: 10px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Unified cinematic placeholder system (replaces busy red/gold blobs) */
  --ph-base: linear-gradient(155deg, #1c1c20 0%, #131316 55%, #0d0d0f 100%);
  --ph-crimson: radial-gradient(80% 90% at 12% 8%, rgba(196,30,44,.30), transparent 58%);
  --ph-gold: radial-gradient(70% 80% at 92% 96%, rgba(232,169,58,.18), transparent 60%);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Global video background ---------- */
.bg-video { position: fixed; inset: 0; z-index: -2; overflow: hidden; }
.bg-video video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.02) brightness(.8);
  transform: scale(1.04);
}
.bg-overlay {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13,13,13,.52) 0%, rgba(13,13,13,.70) 50%, rgba(13,13,13,.90) 100%);
}
.bg-overlay::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 82% 0%, rgba(196,30,44,.10), transparent 52%);
}

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  font-size: 0.72rem; color: var(--gold); margin-bottom: 18px;
}
.section__title {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 700; font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 26px;
}
.section__title em { font-style: italic; font-weight: 600; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; letter-spacing: 0;
  padding: 15px 28px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .35s var(--ease);
}
.btn--cta { background: var(--red); color: #fff; box-shadow: 0 4px 20px rgba(196,30,44,.26); }
.btn--cta:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(196,30,44,.4), 0 0 0 1px rgba(232,169,58,.4); }
.btn--cta:active { transform: translateY(0) scale(.985); }

.link-underline {
  position: relative; display: inline-block; font-weight: 500;
  color: var(--white); padding-bottom: 3px;
}
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.link-underline:hover { color: var(--gold); }
.link-underline:hover::after { transform: scaleX(1); }

/* ---------- Nav ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background .35s var(--ease), border-color .35s var(--ease); border-bottom: 1px solid transparent; }
.nav__inner { max-width: var(--maxw); margin: 0 auto; padding: 18px 28px; display: flex; align-items: center; gap: 18px; }
.nav__logo-img { height: 34px; width: auto; }
.nav__links { margin-left: auto; display: flex; gap: 30px; }
.nav__links a {
  font-weight: 500; font-size: 0.92rem; color: rgba(255,255,255,.82);
  position: relative; padding: 4px 0; transition: color .25s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 100%;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { padding: 10px 20px; font-size: 0.88rem; }
.nav.scrolled { background: rgba(13,13,13,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-gold); }

.nav__burger { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: #fff; display: block; transition: .3s; }

/* ---------- Hero (left-aligned, editorial) ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 120px 0 90px;
}
.hero__inner { max-width: 760px; }
.hero__eyebrow {
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-size: 0.78rem; margin-bottom: 26px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-gold);
  display: inline-block;
}
.hero__headline {
  font-family: 'Bricolage Grotesque', 'Inter', sans-serif;
  font-weight: 800; font-size: clamp(2.8rem, 8.5vw, 6rem);
  line-height: 0.98; letter-spacing: -0.04em; margin-bottom: 28px;
}
.hero__headline em { font-style: italic; font-weight: 700; color: var(--gold); }
.hero__sub { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 46ch; margin-bottom: 40px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 34px; right: 28px;
  font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.hero__scroll::after {
  content: ""; display: block; width: 1px; height: 36px; margin: 12px auto 0;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- Generic section ---------- */
.section { position: relative; padding: 120px 0; }

/* ---------- Glass + placeholder ---------- */
.glass {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.ph {
  background-image: var(--ph-crimson), var(--ph-gold), var(--ph-base);
  background-blend-mode: screen, screen, normal;
}

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.about__text p { color: var(--muted); margin-bottom: 18px; max-width: 48ch; }
.about__text .link-underline { margin-top: 8px; }
.about__panel { overflow: hidden; }
.about__media { height: 280px; }
.about__meta { display: flex; align-items: baseline; gap: 14px; padding: 22px 24px; border-top: 1px solid var(--line); }
.about__num { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.9rem; letter-spacing: -0.02em; }
.about__label { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* ---------- Courts (asymmetric bento) ---------- */
.courts__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card { overflow: hidden; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.card:nth-child(1) { grid-column: span 7; }
.card:nth-child(2) { grid-column: span 5; }
.card:nth-child(3) { grid-column: span 5; }
.card:nth-child(4) { grid-column: span 7; }
.card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 20px 44px rgba(0,0,0,.45); }
.card__media { height: 240px; position: relative; }
.card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(13,13,13,.6)); }
.card__body { padding: 22px 24px 28px; }
.card__body h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: 0.94rem; }

/* ---------- Coaching (split intro + list) ---------- */
.coaching__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.coaching__note { color: var(--muted); max-width: 44ch; }
.coaching__list { list-style: none; }
.coaching__list li {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: clamp(1.3rem, 3vw, 2rem);
  letter-spacing: -0.02em; padding: 20px 0; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px; transition: color .25s var(--ease);
}
.coaching__list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }
.coaching__list li:last-child { border-bottom: 1px solid var(--line); }
.coaching__list li:hover { color: var(--gold); }

/* ---------- Booking (two-card split) ---------- */
.booking__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.book-card {
  padding: 38px 36px; display: flex; flex-direction: column; gap: 10px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.book-card:hover { transform: translateY(-4px); border-color: var(--line-gold); box-shadow: 0 20px 44px rgba(0,0,0,.45); }
.book-card__label { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; }
.book-card__num { color: var(--muted); font-size: 1.05rem; letter-spacing: 0.02em; }
.book-card__cta { margin-top: 14px; color: var(--gold); font-weight: 600; letter-spacing: 0.02em; }

/* ---------- Community ---------- */
.community__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 14px; margin-bottom: 44px; }
.shot { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.shot--tall { grid-row: span 2; }
.shot--wide { grid-column: span 2; }
.community__quote { text-align: center; font-weight: 300; font-size: clamp(1.3rem, 3.4vw, 2rem); line-height: 1.4; color: #fff; max-width: 680px; margin: 0 auto; letter-spacing: -0.01em; }
.community__quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact__list { list-style: none; margin: 8px 0 28px; }
.contact__list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); color: rgba(255,255,255,.9); }
.contact__list a { color: var(--gold); }
.contact__list a:hover { text-decoration: underline; }
.ico { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.contact__social { display: flex; gap: 22px; }
.contact__map { aspect-ratio: 4/3; }

/* ---------- Footer ---------- */
.footer { background: rgba(13,13,13,.6); padding: 56px 0 44px; text-align: center; }
.footer__line { height: 1px; background: linear-gradient(90deg, transparent, var(--line-gold), transparent); margin-bottom: 36px; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.footer__mark { width: 52px; height: auto; opacity: 0.95; }
.footer__tag { color: var(--muted); font-weight: 300; font-style: italic; }
.footer__copy { color: #6a6a6a; font-size: 0.8rem; }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 120;
  width: 54px; height: 54px; border-radius: 50%; display: none;
  align-items: center; justify-content: center;
  background: #25D366; box-shadow: 0 8px 24px rgba(37,211,102,.4);
  transition: transform .25s var(--ease);
}
.fab:hover { transform: scale(1.06); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav.open .nav__links {
    display: flex; flex-direction: column; gap: 18px; position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(13,13,13,.96); padding: 26px 28px; border-top: 1px solid var(--line-gold); backdrop-filter: blur(10px);
  }
  .about__grid, .contact__grid, .coaching__grid, .booking__grid { grid-template-columns: 1fr; gap: 40px; }
  .courts__grid { grid-template-columns: 1fr; }
  .card:nth-child(n) { grid-column: auto; }
  .community__grid { grid-template-columns: repeat(2, 1fr); }
  .shot--wide { grid-column: span 2; }
  .section { padding: 84px 0; }
  .hero { padding-top: 110px; }
  .fab { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .bg-video video { transform: none; }
}
