/* ============================================================
   24/7 Indoor Golf Club — hoja de estilos principal
   Mobile-first. Tokens de diseño en :root.
   ============================================================ */

:root {
  /* Color — paleta derivada del logo "24/7 Indoor Golf Club" (negro + verde) */
  --c-bg-dark: #0c1512;        /* fondo principal oscuro (negro verdoso) */
  --c-bg-panel: #14211a;       /* paneles sobre fondo oscuro */
  --c-bg-panel-2: #1b2c23;     /* panel elevado / hover */
  --c-bg-light: #f4f6f2;       /* secciones claras */
  --c-bg-white: #ffffff;
  --c-ink: #0f2118;            /* texto sobre claro */
  --c-ink-soft: #3d5248;       /* texto secundario sobre claro */
  --c-paper: #f2f5f1;          /* texto sobre oscuro */
  --c-paper-soft: #b7c6bc;     /* texto secundario sobre oscuro */
  --c-accent: #00bf63;         /* VERDE OFICIAL de marca (tomado del logo) */
  --c-accent-strong: #00a053;  /* hover CTA */
  --c-accent-soft: #00bf63;    /* acento sobre fondos oscuros: 7.6:1, es el oficial */
  --c-accent-text: #00763c;    /* acento sobre fondos claros: 5.3:1 (el oficial da 2.2) */
  --c-accent-ink: #06130b;     /* texto sobre acento: 7.8:1 */
  --c-cream: #e8dfc8;          /* detalle cálido secundario */
  --c-line-dark: rgba(242, 245, 241, 0.14);
  --c-line-light: rgba(15, 33, 24, 0.14);

  /* Tipografía */
  --f-display: "Oswald", "Arial Narrow", sans-serif;
  --f-body: "Manrope", "Segoe UI", sans-serif;
  --fs-hero: clamp(2.6rem, 8vw, 4.75rem);
  --fs-h2: clamp(1.9rem, 5vw, 3rem);
  --fs-h3: clamp(1.25rem, 3vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;

  /* Ritmo */
  --space-section: clamp(4rem, 10vw, 7rem);
  --container: 72rem;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 10px 30px rgba(9, 22, 16, 0.18);
  --header-h: 4.25rem;
}

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

/* El atributo hidden debe ganar SIEMPRE: la regla del navegador
   ([hidden]{display:none}) pierde por especificidad frente a cualquier clase
   que declare display (le pasó a .form, que se quedaba visible al enviarse). */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

[id] { scroll-margin-top: calc(var(--header-h) + 0.75rem); }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg-white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--c-accent-text);
  outline-offset: 2px;
}
.header :focus-visible,
.footer :focus-visible,
.hero :focus-visible,
.stats :focus-visible,
.cta-band :focus-visible,
.page-head :focus-visible,
.parallax-band :focus-visible,
.lightbox :focus-visible,
.terms-modal :focus-visible,
.section--dark :focus-visible {
  outline-color: var(--c-accent-soft);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  z-index: 200;
  background: var(--c-accent);
  color: var(--c-accent-ink);
  padding: 0.6rem 1rem;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ---------- Utilidades ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--space-section); }
.section--dark { background: var(--c-bg-dark); color: var(--c-paper); }
.section--light { background: var(--c-bg-light); }
.section--white { background: var(--c-bg-white); }

.kicker {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-accent-text);
  margin: 0 0 0.75rem;
}
.hero .kicker,
.page-head .kicker,
.cta-band .kicker,
.section--dark .kicker { color: var(--c-accent-soft); }

.section__title {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  margin: 0 0 1rem;
}

.section__lead {
  max-width: 46rem;
  margin: 0 0 2.5rem;
  color: var(--c-ink-soft);
}
.section--dark .section__lead { color: var(--c-paper-soft); }

.center { text-align: center; }
.center .section__lead { margin-inline: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0.8rem 1.7rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--c-accent);
  color: var(--c-accent-ink);
}
.btn--primary:hover { background: var(--c-accent-strong); }

.btn--ghost {
  border-color: currentColor;
  color: var(--c-paper);
  background: transparent;
}
.section--light .btn--ghost,
.section--white .btn--ghost { color: var(--c-ink); }

.btn--lg { padding: 1rem 2.2rem; font-size: 1.1rem; }
.btn--block { display: block; width: 100%; }

/* ---------- Cabecera ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 21, 18, 0.93);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--c-paper);
  border-bottom: 1px solid var(--c-line-dark);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Lockup de marca: marca oficial "24/7" + bajada tipográfica */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.28rem;
  text-decoration: none;
  color: inherit;
  line-height: 1;
}
.brand__logo {
  display: block;
  width: auto;
  height: 1.85rem;
}
.brand__sub {
  font-family: var(--f-display);
  font-size: 0.56rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-paper-soft);
  white-space: nowrap;
}
/* En el pie hay sitio para el lockup oficial completo */
.footer .brand__logo { height: 3.6rem; }

/* Selector de idioma */
.lang-switch {
  display: inline-block;
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--c-line-dark);
  border-radius: 6px;
  text-decoration: none;
  color: var(--c-paper);
}
.lang-switch:hover {
  color: var(--c-accent-soft);
  border-color: var(--c-accent);
}

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c-bg-dark);
  border-bottom: 1px solid var(--c-line-dark);
  padding: 1rem 1.25rem 1.5rem;
}
.nav.is-open {
  display: block;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__link {
  display: block;
  padding: 0.65rem 0.5rem;
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--c-paper);
  border-radius: 6px;
}
.nav__link:hover { background: var(--c-bg-panel-2); color: var(--c-accent); }
.nav__link[aria-current="page"] { color: var(--c-accent); }

.nav__cta { margin-top: 0.75rem; }

.burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  background: transparent;
  border: 1px solid var(--c-line-dark);
  border-radius: 8px;
  cursor: pointer;
}
.burger__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-paper);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] .burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__book { display: none; }

@media (min-width: 64rem) {
  .burger { display: none; }
  .nav,
  .nav.is-open {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    padding: 0;
    max-height: none;
    overflow: visible;
  }
  .nav__list {
    flex-direction: row;
    align-items: center;
    gap: 0.25rem;
  }
  .nav__link { font-size: 0.92rem; padding: 0.5rem 0.7rem; }
  .nav__link:hover { background: transparent; }
  .nav__cta { display: none; }
  .header__book { display: inline-block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 46rem);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(0, 191, 99, 0.20), transparent 60%),
    linear-gradient(160deg, #0d1f17 0%, #10281c 55%, #0a1811 100%);
  color: var(--c-paper);
  overflow: hidden;
}

.hero__pattern {
  position: absolute;
  inset: 0;
  background-image: url("../img/pattern-fairway.svg");
  background-size: 480px;
  opacity: 0.16;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  padding-block: clamp(4rem, 12vw, 7rem);
  max-width: 46rem;
}

.hero__title {
  font-family: var(--f-display);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.02;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
}
.hero__title em {
  font-style: normal;
  color: var(--c-accent-soft);
}

.hero__claim {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  color: var(--c-paper-soft);
  max-width: 38rem;
  margin: 0 0 2.25rem;
}
.hero__claim strong { color: var(--c-cream); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero__note {
  margin-top: 1.5rem;
  font-size: var(--fs-small);
  color: var(--c-paper-soft);
}

/* ---------- Barra de datos ---------- */
.stats {
  border-top: 1px solid var(--c-line-dark);
  background: var(--c-bg-panel);
  color: var(--c-paper);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-block: 2rem;
}
.stat { text-align: center; }
.stat__value {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 600;
  color: var(--c-accent-soft);
  line-height: 1.1;
}
.stat__label {
  font-size: var(--fs-small);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-paper-soft);
}
@media (min-width: 48rem) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Tarjetas genéricas ---------- */
.grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 48rem) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 64rem) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: var(--c-bg-white);
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.section--dark .card {
  background: var(--c-bg-panel);
  border-color: var(--c-line-dark);
  box-shadow: none;
}

.card__icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--c-accent);
}

.card__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
}

.card__text { margin: 0; color: var(--c-ink-soft); }
.section--dark .card__text { color: var(--c-paper-soft); }

/* Pasos "cómo funciona" */
.step { position: relative; }
.step__num {
  font-family: var(--f-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--c-accent);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 0.75rem;
}

/* ---------- Precios ---------- */
.price-card { display: flex; flex-direction: column; position: relative; }
.price-card__price {
  font-family: var(--f-display);
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  margin: 0.5rem 0 0.25rem;
}
.price-card__price small {
  font-size: 1rem;
  font-weight: 400;
  color: var(--c-ink-soft);
}
.section--dark .price-card__price small { color: var(--c-paper-soft); }
.price-card__list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--c-ink-soft);
}
.section--dark .price-card__list { color: var(--c-paper-soft); }
.price-card__list li { padding-left: 1.5rem; position: relative; }
.price-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 0.85rem; height: 0.85rem;
  background: var(--c-accent);
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.price-card .btn { margin-top: auto; }

.price-card--featured {
  border: 2px solid var(--c-accent);
  position: relative;
}

/* Distintivo sobrio para los planes que aún no están disponibles.
   Doble clase: la regla base .price-card__flag se declara después y, a igual
   especificidad, ganaría por orden dejando el texto oscuro sobre verde. */
.price-card__flag.price-card__flag--soon {
  background: rgba(242, 245, 241, 0.14);
  color: var(--c-paper);
  border: 1px solid rgba(242, 245, 241, 0.36);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-weight: 500;
}
.price-card--soon .price-card__price,
.price-card--soon .card__title { opacity: 0.92; }
/* El boton de alta queda inactivo mientras el plan no este a la venta */
.btn--soon {
  border-color: rgba(242, 245, 241, 0.3);
  color: var(--c-paper-soft);
  background: transparent;
  cursor: default;
  pointer-events: none;
}
.btn--soon:hover { transform: none; }
.price-card__flag {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: var(--c-accent-ink);
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Testimonios ---------- */
.quote {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote__stars {
  color: var(--c-accent-text);
  font-size: 1.1rem;
  letter-spacing: 0.15em;
}
.section--dark .quote__stars { color: var(--c-accent-soft); }
.quote__text {
  margin: 0;
  font-size: 1.05rem;
  font-style: italic;
}
.quote__author {
  margin: 0;
  font-weight: 700;
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
}
.section--dark .quote__author { color: var(--c-paper-soft); }

/* ---------- Acordeón FAQ ---------- */
.faq { max-width: 50rem; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  background: var(--c-bg-white);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.section--dark .faq__item {
  background: var(--c-bg-panel);
  border-color: var(--c-line-dark);
}
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-align: left;
  color: inherit;
  cursor: pointer;
}
.faq__q::after {
  content: "+";
  font-family: var(--f-display);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--c-accent-text);
  transition: transform 0.2s ease;
}
.section--dark .faq__q::after { color: var(--c-accent-soft); }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a {
  display: none;
  padding: 0 1.3rem 1.2rem;
  color: var(--c-ink-soft);
}
.section--dark .faq__a { color: var(--c-paper-soft); }
.faq__item.is-open .faq__a { display: block; }

/* ---------- Franja CTA ---------- */
.cta-band {
  background:
    radial-gradient(40rem 20rem at 15% 120%, rgba(0, 191, 99, 0.22), transparent 60%),
    var(--c-bg-dark);
  color: var(--c-paper);
  text-align: center;
}
.cta-band .section__title { margin-bottom: 0.75rem; }
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* ---------- Página interior: cabecera ---------- */
.page-head {
  background:
    radial-gradient(50rem 25rem at 80% -20%, rgba(0, 191, 99, 0.16), transparent 60%),
    var(--c-bg-dark);
  color: var(--c-paper);
  padding-block: clamp(3.5rem, 9vw, 5.5rem);
}
.page-head__title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 0.75rem;
}
.page-head__lead {
  max-width: 44rem;
  margin: 0;
  color: var(--c-paper-soft);
  font-size: 1.1rem;
}

/* ---------- Bloque reserva (Albaplay) ---------- */
.booking-embed {
  border: 2px dashed var(--c-accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: var(--c-bg-panel);
  color: var(--c-paper);
}
.booking-embed__badge {
  display: inline-block;
  background: var(--c-cream);
  color: var(--c-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  margin-bottom: 1rem;
}

/* ---------- Media / ilustraciones ---------- */
.media-split {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 64rem) {
  .media-split { grid-template-columns: 1.1fr 0.9fr; }
  .media-split--flip > .media-split__media { order: -1; }
}
.media-split__media img,
.media-split__media svg {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* ---------- Mapa de ubicación ---------- */
.map-embed {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--c-line-light);
  box-shadow: var(--shadow);
  background: var(--c-bg-light);
}
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.map-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin: 1rem 0 0;
}
.map-note {
  font-size: var(--fs-small);
  color: var(--c-ink-soft);
}
.section--dark .map-note { color: var(--c-paper-soft); }
@media (min-width: 48rem) {
  .map-embed { aspect-ratio: 1 / 1; }
}
@media (min-width: 64rem) {
  .map-embed { aspect-ratio: 4 / 3; }
}

/* ---------- Formularios (dummy) ---------- */
.form {
  display: grid;
  gap: 1rem;
  max-width: 38rem;
}
.form label {
  font-weight: 700;
  font-size: var(--fs-small);
  display: grid;
  gap: 0.35rem;
}
.form input,
.form select,
.form textarea {
  font: inherit;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--c-line-light);
  border-radius: 8px;
  background: var(--c-bg-white);
  color: var(--c-ink);
  width: 100%;
}
.form textarea { min-height: 7rem; resize: vertical; }
.form__note { font-size: var(--fs-small); color: var(--c-ink-soft); margin: 0; }

/* ---------- Pie ---------- */
.footer {
  background: #08100c;
  color: var(--c-paper-soft);
  padding-block: 3.5rem 2rem;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 48rem) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer__title {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-paper);
  margin: 0 0 0.9rem;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.footer__list a { color: inherit; text-decoration: none; }
.footer__list a:hover { color: var(--c-accent); }
.footer__legal {
  border-top: 1px solid var(--c-line-dark);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--fs-small);
}
.footer__legal a { color: inherit; }

/* ---------- Demo de reservas (tee sheet) ---------- */
.demo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}
.demo-toolbar fieldset {
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  padding: 0.6rem 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.demo-toolbar legend {
  font-family: var(--f-display);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-paper-soft);
  padding-inline: 0.35rem;
}
.chip {
  font: inherit;
  font-size: 0.9rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--c-paper);
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
  font-weight: 700;
}
.member-hours {
  font-size: var(--fs-small);
  color: var(--c-paper-soft);
}
.member-hours strong { color: var(--c-accent-soft); }

.tee-wrap { overflow-x: auto; }
.tee-sheet {
  display: grid;
  grid-template-columns: 4.5rem repeat(4, minmax(7.5rem, 1fr));
  gap: 4px;
  min-width: 36rem;
}
.tee-sheet__head,
.tee-sheet__time {
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-paper-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.2rem;
}
.slot {
  font: inherit;
  font-size: 0.85rem;
  border: 1px solid var(--c-line-dark);
  border-radius: 8px;
  padding: 0.5rem 0.3rem;
  background: var(--c-bg-panel);
  color: var(--c-paper);
  cursor: pointer;
  text-align: center;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.slot:hover { border-color: var(--c-accent); }
.slot--peak { background: var(--c-bg-panel-2); }
.slot--busy {
  background: transparent;
  border-style: dashed;
  color: rgba(242, 245, 241, 0.35);
  cursor: not-allowed;
  text-decoration: line-through;
}
.slot--selected {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
  font-weight: 700;
}
.slot__price { display: block; font-size: 0.75rem; opacity: 0.85; }

.demo-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--c-paper-soft);
}
.demo-legend__dot {
  display: inline-block;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 3px;
  margin-right: 0.4rem;
  vertical-align: -0.05em;
}

.demo-panel {
  margin-top: 1.75rem;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-lg);
  background: var(--c-bg-panel);
  padding: 1.5rem;
}
.demo-panel__total {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 600;
}
.demo-confirmation {
  border: 2px solid var(--c-accent);
  border-radius: var(--radius-lg);
  background: var(--c-bg-panel-2);
  padding: 1.5rem;
  margin-top: 1rem;
}
.demo-confirmation code {
  font-size: 1.5rem;
  letter-spacing: 0.3em;
  color: var(--c-accent-soft);
}
.demo-bookings { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: 0.6rem; }
.demo-bookings li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
}
.btn--small { padding: 0.4rem 0.9rem; font-size: 0.8rem; }

/* ============================================================
   Showcase de tecnología: capturas reales, parallax y reveals
   ============================================================ */

/* --- Reveal al hacer scroll (IntersectionObserver añade .is-in) ---
   Solo se oculta si el JS está vivo (clase .js en <html>): sin JS, o si el
   script falla, el contenido se ve siempre. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal="left"] { transform: translateX(-36px); }
.js [data-reveal="right"] { transform: translateX(36px); }
.js [data-reveal="zoom"] { transform: scale(0.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
/* En móvil los bloques ocupan todo el ancho: desplazarlos en horizontal los
   saca de la pantalla y provoca scroll lateral hasta que se revelan. Ahí la
   entrada es vertical, que no desborda. */
@media (max-width: 47.9375rem) {
  .js [data-reveal="left"],
  .js [data-reveal="right"] { transform: translateY(28px); }
}

/* --- Hero con imagen real de bahía + parallax --- */
.hero { position: relative; overflow: hidden; }
.hero__media {
  /* El desplazamiento máximo del parallax es speed*0.5 = 17,5% de la altura,
     así que la imagen sobresale un 20% por arriba y por abajo: nunca hay hueco. */
  position: absolute;
  top: -20%;
  left: 0;
  width: 100%;
  height: 140%;
  z-index: 0;
  background-position: center 40%;
  background-size: cover;
  background-repeat: no-repeat;
  /* translate3d ya promociona a capa del compositor; will-change reservaría
     memoria de GPU durante toda la vida de la página sin ganancia. */
  transform: translate3d(0, 0, 0);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(12, 21, 18, 0.96) 0%, rgba(12, 21, 18, 0.88) 42%, rgba(12, 21, 18, 0.55) 100%),
    linear-gradient(to top, rgba(12, 21, 18, 0.98) 0%, rgba(12, 21, 18, 0) 45%);
}
.hero__pattern { z-index: 2; }
.hero__inner { position: relative; z-index: 3; }
.hero__title,
.hero__claim { text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55); }

/* --- Marco de captura de pantalla --- */
.shot {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  background: #050a08;
  border: 1px solid rgba(242, 245, 241, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 2px 0 rgba(255, 255, 255, 0.06) inset;
  line-height: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.45s ease, border-color 0.45s ease;
}
.shot img { width: 100%; height: auto; display: block; }
/* brillo diagonal tipo cristal */
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 34%);
  opacity: 0.75;
  transition: opacity 0.45s ease;
}
a.shot:hover,
button.shot:hover {
  transform: translateY(-6px);
  border-color: var(--c-accent);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--c-accent),
              0 0 40px rgba(0, 191, 99, 0.30);
}
a.shot:hover::after,
button.shot:hover::after { opacity: 0.35; }

/* botón-lupa sobre la captura */
button.shot {
  padding: 0;
  border-width: 1px;
  cursor: zoom-in;
  width: 100%;
  font: inherit;
  color: inherit;
}
/* Las capturas son de 756 px: no se estiran por encima de su tamaño nativo. */
.shot { max-width: 47.25rem; margin-inline: auto; }
.shot__zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(6, 12, 9, 0.82);
  border: 1px solid rgba(242, 245, 241, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-family: var(--f-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--c-paper);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
button.shot:hover .shot__zoom,
button.shot:focus .shot__zoom,
button.shot:focus-visible .shot__zoom { opacity: 1; transform: none; }
/* En pantallas táctiles no hay hover: la pista de ampliar debe verse siempre. */
@media (hover: none), (pointer: coarse) {
  .shot__zoom { opacity: 1; transform: none; }
}

/* --- Filas alternas imagen / texto --- */
.feature-row {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--c-line-dark);
}
.feature-row:first-of-type { border-top: 0; padding-top: 0; }
.feature-row__num {
  font-family: var(--f-display);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--c-accent-soft);
  display: block;
  margin-bottom: 0.6rem;
}
.feature-row__title {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.1;
  margin: 0 0 0.85rem;
}
.feature-row__text { color: var(--c-paper-soft); margin: 0 0 1.25rem; }
.metric-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.metric-chips li {
  font-family: var(--f-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--c-line-dark);
  border-radius: 999px;
  color: var(--c-paper-soft);
}
.metric-chips li strong { color: var(--c-accent-soft); font-weight: 600; }
@media (min-width: 60rem) {
  .feature-row { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; }
  .feature-row--flip > .feature-row__media { order: -1; }
}

/* --- Banda destacada a sangre completa (sin foto: solo marca) --- */
.parallax-band {
  position: relative;
  overflow: hidden;
  min-height: clamp(17rem, 36vw, 24rem);
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    radial-gradient(48rem 26rem at 84% 6%, rgba(0, 191, 99, 0.17), transparent 62%),
    linear-gradient(150deg, #101f19 0%, var(--c-bg-dark) 55%, #08110d 100%);
}
.parallax-band__pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../img/pattern-fairway.svg");
  background-size: 420px;
  opacity: 0.14;
  pointer-events: none;
}
/* La banda es OSCURA: sin esto hereda los colores pensados para fondo claro
   (--c-ink sobre casi negro = ilegible). */
.parallax-band { color: var(--c-paper); }
.parallax-band .kicker { color: var(--c-accent-soft); }
.parallax-band .section__lead { color: var(--c-paper-soft); }
/* El contenedor conserva el ancho del grid; solo se limita la medida del texto,
   para que la banda quede alineada con el resto de secciones. */
.parallax-band__inner { padding-block: clamp(3rem, 8vw, 5rem); }
.parallax-band__inner > * { max-width: 40rem; }
.parallax-band .section__title { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6); }

/* --- Lightbox de capturas --- */
.lightbox {
  position: fixed;
  inset: 0;
  /* Por encima del widget de chat de terceros (se inyecta con z-index
     99999999): ni la galeria ni el modal legal pueden quedar tapados. */
  z-index: 2147483001;
  background: rgba(4, 8, 6, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  animation: lb-in 0.28s ease;
}
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: min(100%, 78rem);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(242, 245, 241, 0.18);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}
.lightbox__caption {
  color: var(--c-paper-soft);
  font-size: var(--fs-small);
  text-align: center;
  max-width: 46rem;
  margin: 0;
}
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: rgba(6, 12, 9, 0.8);
  border: 1px solid rgba(242, 245, 241, 0.25);
  color: var(--c-paper);
  cursor: pointer;
}
.lightbox__close:hover { border-color: var(--c-accent); color: var(--c-accent-soft); }

/* --- Sin animaciones si el usuario las desactiva --- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__media { transform: none !important; }
  .shot { transition: none; }
}

/* ---------- Modal de términos y condiciones ---------- */
.terms-overlay {
  position: fixed;
  inset: 0;
  /* Por encima del widget de chat: es un consentimiento obligatorio. */
  z-index: 2147483000;
  background: rgba(6, 12, 9, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.terms-modal {
  background: var(--c-bg-panel);
  color: var(--c-paper);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius-lg);
  width: min(100%, 46rem);
  max-height: min(88vh, 88dvh);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.terms-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.terms-close {
  font: inherit;
  font-size: 1.6rem;
  line-height: 1;
  background: none;
  border: 1px solid var(--c-line-dark);
  border-radius: 8px;
  color: var(--c-paper);
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  flex-shrink: 0;
}
.terms-close:hover { color: var(--c-accent-soft); border-color: var(--c-accent); }
.terms-intro { color: var(--c-paper-soft); font-size: var(--fs-small); margin: 0.5rem 0 1rem; }
.terms-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}
.terms-tab {
  font-family: var(--f-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--c-line-dark);
  border-radius: 8px;
  background: transparent;
  color: var(--c-paper);
  cursor: pointer;
}
.terms-tab[aria-selected="true"] {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-accent-ink);
  font-weight: 600;
}
.terms-langbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin: 0 0 0.6rem;
  font-size: var(--fs-small);
  color: var(--c-paper-soft);
}
.terms-langbtn {
  font: inherit;
  font-size: var(--fs-small);
  background: none;
  border: 0;
  padding: 0;
  color: var(--c-accent-soft);
  text-decoration: underline;
  cursor: pointer;
  white-space: nowrap;
}
.terms-langbtn:hover { color: var(--c-paper); }

.terms-body {
  flex: 1;
  min-height: 8rem;
  overflow-y: auto;
  background: var(--c-bg-dark);
  border: 1px solid var(--c-line-dark);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--c-paper-soft);
}
.terms-body h3 {
  font-family: var(--f-display);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-paper);
  margin: 1.2rem 0 0.4rem;
}
.terms-body h3:first-child { margin-top: 0; }
.terms-body p { margin: 0.6rem 0; }
.terms-body ul { margin: 0.6rem 0; padding-left: 1.2rem; }
.terms-body li { margin-bottom: 0.4rem; }
.terms-check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin-top: 1rem;
  font-weight: 700;
  cursor: pointer;
}
.terms-check input { margin-top: 0.3rem; width: 1.1rem; height: 1.1rem; accent-color: var(--c-accent); flex-shrink: 0; }
.terms-actions { margin: 1rem 0 0; display: flex; gap: 0.75rem; flex-wrap: wrap; }
.terms-actions .btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }
.terms-accepted-note { margin: 1rem 0 0; color: var(--c-accent-soft); font-weight: 700; }

/* ---------- Aviso dummy ---------- */
.dummy-banner {
  background: var(--c-cream);
  color: var(--c-ink);
  text-align: center;
  font-size: var(--fs-small);
  padding: 0.45rem 1rem;
}
.dummy-banner strong { text-transform: uppercase; letter-spacing: 0.06em; }

/* ---------- Priority Waitlist ---------- */
.form-choice {
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem 1.1rem;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.form-choice legend {
  font-weight: 700;
  font-size: var(--fs-small);
  padding-inline: 0.35rem;
}
/* .form label pone display:grid (apila): aquí hace falta más especificidad
   para que el control quede EN LÍNEA delante del texto */
.form label.choice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-weight: 400;
  font-size: 1rem;
  cursor: pointer;
}
/* los controles de opción no heredan el ancho 100% de .form input */
.form .choice input {
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
  margin-top: 0.3rem;
  padding: 0;
  accent-color: var(--c-accent-text);
}
.form .choice-other { margin-top: 0.25rem; }
.consent-box {
  display: grid;
  gap: 0.9rem;
  border: 1px solid var(--c-line-light);
  border-radius: var(--radius);
  background: var(--c-bg-light);
  padding: 1rem 1.1rem;
}
.choice--consent {
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--c-ink-soft);
}
.choice--consent a {
  color: var(--c-accent-text);
  font-weight: 700;
}
.form-choice.is-invalid,
.consent-box.is-invalid,
.form input.is-invalid {
  border-color: #b3261e;
  box-shadow: 0 0 0 1px #b3261e;
}
.waitlist-reassure {
  margin-top: 1.5rem;
  border-left: 4px solid var(--c-accent);
  background: var(--c-bg-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.9rem 1.1rem;
}
.waitlist-reassure p { margin: 0; }
.waitlist-share { margin-top: 2.25rem; }
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.waitlist-success {
  border: 1px solid var(--c-line-light);
  border-top: 4px solid var(--c-accent);
  border-radius: var(--radius);
  background: var(--c-bg-light);
  padding: 1.5rem 1.4rem;
  margin-top: 1.25rem;
}
.waitlist-success h2:focus { outline: none; }
.waitlist-success p { margin: 0.5rem 0 0; }
.share-copy-fallback {
  flex-basis: 100%;
  font-size: var(--fs-small);
  display: grid;
  gap: 0.3rem;
}
.share-copy-fallback input {
  font: inherit;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--c-line-light);
  border-radius: 8px;
  width: 100%;
  max-width: 26rem;
}
.waitlist-demo-note {
  border: 1px dashed #b3261e;
  border-radius: var(--radius);
  color: #7a1712;
  padding: 0.5rem 0.75rem;
  margin: 0 0 0.75rem;
}
.field-error {
  color: #b3261e;
  font-size: var(--fs-small);
  font-weight: 600;
}
/* Zona de registro: columna única centrada (el formulario manda en la página) */
.waitlist-signup {
  max-width: 42rem;
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}
.waitlist-signup .waitlist-reassure { margin-top: 0; }
.waitlist-signup .form { max-width: none; }
/* CTA de acceso anticipado a Founding, bajo el texto/botón del hero */
.hero__actions--stack { flex-direction: column; align-items: flex-start; }
.hero__founding { margin-top: 1.25rem; }
