/* ============================================================
   Green House Urubó — Sistema de diseño
   Tema: clubhouse premium · verde de golf al anochecer
   Editar la marca = editar las variables de :root
   ============================================================ */

:root {
  /* Paleta */
  --green-950: #061c14;
  --green-900: #082619;
  --green-850: #0a3022;
  --green-800: #0e3b2a;
  --green-700: #135338;
  --gold: #c9a24b;
  --gold-soft: #e3c885;
  --cream: #f5f1e8;
  --cream-dim: rgba(245, 241, 232, 0.70);
  --line: rgba(245, 241, 232, 0.14);

  /* Tipografía */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;

  /* Espaciado / radios */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --shadow-lg: 0 30px 70px -25px rgba(0, 0, 0, 0.65);

  --header-h: 88px;
  --maxw: 1240px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--green-950);
  color: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Accesibilidad: foco visible y skip link */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--gold);
  color: var(--green-950);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.section { padding-block: clamp(72px, 11vw, 150px); }
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
.display {
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  font-weight: 600;
}
.h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.h3 { font-size: clamp(1.35rem, 2.4vw, 1.9rem); }
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--cream-dim);
  max-width: 56ch;
}
.italic-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  min-height: 44px;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--gold);
  color: var(--green-950);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(201, 162, 75, 0.6);
  background: var(--gold-soft);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6, 28, 20, 0.85);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.brand img { height: 60px; width: auto; display: block; }
.brand .dot { color: var(--gold); }
@media (max-width: 480px) { .brand img { height: 50px; } }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 34px; align-items: center; }
.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--cream-dim);
  position: relative;
  padding-block: 6px;
  transition: color 0.2s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] { color: var(--cream); }
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 12px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--cream);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Drawer móvil */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: linear-gradient(160deg, var(--green-900), var(--green-950));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 clamp(28px, 8vw, 60px);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 99;
}
body.nav-open .nav-mobile { transform: translateX(0); }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream);
}
.nav-mobile a:last-of-type { border-bottom: 0; }
.nav-mobile .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 90% at 15% 20%, rgba(6, 28, 20, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(6, 28, 20, 0.55) 0%, rgba(6, 28, 20, 0.78) 55%, var(--green-950) 100%);
}
.hero-content { max-width: 920px; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { max-width: 50ch; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-hint::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ---------- Bloques de contenido ---------- */
.intro-grid {
  display: grid;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 56px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--gold);
  line-height: 1;
}
.stat .label { color: var(--cream-dim); font-size: 0.92rem; margin-top: 8px; }

/* Feature alterno (servicios) */
.feature {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.feature-media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media .tag {
  position: absolute;
  top: 20px; left: 20px;
  background: rgba(6, 28, 20, 0.7);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--gold-soft);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
}
.feature h3 { margin-bottom: 18px; }
.feature p { color: var(--cream-dim); margin-bottom: 26px; }
.feature ul.ticks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--cream-dim);
}
.feature ul.ticks li svg { color: var(--gold); flex-shrink: 0; margin-top: 3px; }

/* Banda membresías / CTA */
.band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px);
  background:
    linear-gradient(135deg, rgba(8, 38, 25, 0.92), rgba(6, 28, 20, 0.92)),
    radial-gradient(circle at 80% 20%, rgba(201, 162, 75, 0.25), transparent 55%);
  border: 1px solid var(--line);
  text-align: center;
}
.band h2 { margin-bottom: 20px; }
.band p { color: var(--cream-dim); max-width: 54ch; margin: 0 auto 34px; }

/* Galería */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
  aspect-ratio: 1;
}

/* Ubicación */
.location-grid { display: grid; gap: 40px; }
.info-list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.info-list li svg { color: var(--gold); flex-shrink: 0; }
.info-list .k { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.info-list .v { color: var(--cream); }
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 320px;
}
.map-frame iframe {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  background: var(--green-900);
  filter: grayscale(0.3) saturate(0.85);
}

/* Estado de carga (queda detrás del iframe; al cargar, el iframe lo cubre) */
.booking-frame::before,
.map-frame::before {
  content: "Cargando…";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--cream-dim);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ---------- Páginas internas (menú / precios / membresías) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(60px, 12vw, 130px));
  padding-bottom: clamp(40px, 8vw, 80px);
  background-image:
    linear-gradient(180deg, rgba(6, 28, 20, 0.80), rgba(6, 28, 20, 0.93) 65%, var(--green-950)),
    radial-gradient(circle at 75% 0%, rgba(19, 83, 56, 0.40), transparent 60%),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero h1 { margin: 18px 0 16px; }

.menu-cat { margin-bottom: clamp(40px, 7vw, 72px); }
.menu-cat h2 { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; }
.menu-cat h2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 24px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
}
.menu-item .name { font-weight: 700; }
.menu-item .price { font-family: var(--font-display); color: var(--gold); font-size: 1.15rem; white-space: nowrap; }
.menu-item .desc { grid-column: 1 / -1; color: var(--cream-dim); font-size: 0.95rem; }

.plan-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
.plan-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, var(--green-900), var(--green-950));
  display: flex;
  flex-direction: column;
}
.plan-card.featured {
  border-color: var(--gold);
  background:
    linear-gradient(180deg, rgba(19, 83, 56, 0.35), var(--green-950));
}
.plan-card .badge {
  align-self: flex-start;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-950);
  background: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 18px;
}
.plan-card h3 { font-size: 1.6rem; }
.plan-card .price {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--gold);
  margin: 14px 0 6px;
}
.plan-card .price small { font-size: 0.9rem; color: var(--cream-dim); font-family: var(--font-body); }
.plan-card ul { margin: 24px 0 30px; }
.plan-card ul li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--cream-dim);
  border-bottom: 1px solid var(--line);
}
.plan-card ul li svg { color: var(--gold); flex-shrink: 0; }
.plan-card .btn { margin-top: auto; }

.plan-solo { max-width: 560px; margin-inline: auto; }

.menu-cat .cat-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  white-space: nowrap;
}
.menu-note {
  color: var(--cream-dim);
  font-size: 0.85rem;
  font-style: italic;
  margin: 4px 0 2px;
}
.conditions {
  margin-top: clamp(40px, 7vw, 64px);
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.conditions h3 { font-size: 1.25rem; margin-bottom: 18px; }
.conditions ul li {
  display: flex;
  gap: 12px;
  padding: 9px 0;
  color: var(--cream-dim);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.conditions ul li svg { color: var(--gold); flex-shrink: 0; width: 16px; height: 16px; margin-top: 4px; }

/* Foto de cabecera por sector del menú */
.cat-photo {
  display: block;
  width: 100%;
  height: clamp(150px, 23vw, 260px);
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: 26px;
  box-shadow: var(--shadow-lg);
}

/* Navegación rápida del menú (chips sticky) */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  background: rgba(6, 28, 20, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(36px, 6vw, 60px);
}
.menu-nav ul {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(20px, 5vw, 56px);
  max-width: var(--maxw);
  margin-inline: auto;
  scrollbar-width: none;
}
.menu-nav ul::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.menu-nav a:hover { color: var(--cream); border-color: var(--gold); }
.menu-nav a.active { background: var(--gold); color: var(--green-950); border-color: var(--gold); }

.menu-cat { scroll-margin-top: calc(var(--header-h) + 78px); }
.menu-subhead {
  font-family: var(--font-body);
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin: 30px 0 4px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.menu-cat .menu-subhead:first-of-type { border-top: 0; padding-top: 0; margin-top: 6px; }

/* Calculadora de ahorro (membresía) */
.calc {
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  padding: clamp(26px, 5vw, 48px);
  background: linear-gradient(180deg, rgba(19, 83, 56, 0.35), var(--green-950));
  margin-top: clamp(40px, 7vw, 64px);
}
.calc h3 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin-bottom: 8px; }
.calc .calc-sub { color: var(--cream-dim); margin-bottom: 30px; max-width: 52ch; }
.calc-controls { display: grid; gap: 26px; }
.calc-field label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  font-weight: 700;
}
.calc-field .range-row { display: flex; align-items: center; gap: 18px; }
.calc-field input[type="range"] { flex: 1; accent-color: var(--gold); height: 4px; min-width: 0; }
.calc-field output {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--cream);
  min-width: 3.5ch;
  text-align: right;
}
.calc-result {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  display: grid;
  gap: 6px;
}
.calc-result .save {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  color: var(--gold);
  line-height: 1.02;
}
.calc-result .save.neg { color: var(--cream-dim); font-size: clamp(1.6rem, 4vw, 2.4rem); }
.calc-result .meta { color: var(--cream-dim); }
.calc-result .pay { color: var(--gold-soft); font-weight: 700; margin-top: 10px; }
.calc-note { margin-top: 22px; font-size: 0.82rem; color: var(--cream-dim); font-style: italic; }
@media (min-width: 760px) { .calc-controls { grid-template-columns: 1fr 1fr; } }

/* Botón flotante de WhatsApp */
.wa-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 90;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab:hover { transform: translateY(-3px) scale(1.05); }
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s ease-out infinite;
}
@keyframes waPulse { to { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } }
body.nav-open .wa-fab { display: none; }
@media (prefers-reduced-motion: reduce) { .wa-fab::after { animation: none; } }
@media print { .wa-fab { display: none; } }

.placeholder-note {
  background: rgba(201, 162, 75, 0.1);
  border: 1px dashed var(--gold);
  border-radius: var(--r-md);
  padding: 16px 22px;
  color: var(--gold-soft);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

/* ---------- Banner del torneo (en index.html) ---------- */
.torneo-banner {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 60%, rgba(201,162,75,.18) 130%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.torneo-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,162,75,.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.torneo-banner-link {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(22px, 3.5vw, 36px) clamp(20px, 5vw, 56px);
  position: relative;
  z-index: 1;
  transition: background 0.25s ease;
  text-decoration: none;
}
.torneo-banner-link:hover { background: rgba(201,162,75,.04); }
.torneo-banner-link:hover .torneo-banner-cta { color: var(--gold-soft); transform: translateX(4px); }
.torneo-banner-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  grid-column: 1 / 2;
}
.torneo-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--cream);
  line-height: 1.25;
  letter-spacing: -0.005em;
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.torneo-banner-title em {
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-style: italic;
}
.torneo-banner-cta {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}
.torneo-banner-cta svg { width: 18px; height: 18px; }
@media (max-width: 720px) {
  .torneo-banner-link { grid-template-columns: 1fr; gap: 14px; }
  .torneo-banner-cta { grid-column: 1 / 2; grid-row: auto; justify-self: start; }
}

/* Reservas */
.booking-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--green-900);
  min-height: 720px;
}
.booking-frame iframe {
  position: relative;
  width: 100%;
  min-height: 720px;
  border: 0;
  display: block;
  background: #fff;
}
.booking-fallback {
  text-align: center;
  padding: clamp(40px, 8vw, 80px);
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--green-950);
  padding-block: clamp(56px, 8vw, 88px) 32px;
}
.footer-grid {
  display: grid;
  gap: 44px;
  grid-template-columns: 1fr;
}
.footer-brand { font-family: var(--font-display); font-size: 1.5rem; }
.footer-logo { height: 86px; width: auto; display: block; margin-bottom: 6px; }
.footer-brand p { font-family: var(--font-body); color: var(--cream-dim); font-size: 0.95rem; margin-top: 14px; max-width: 36ch; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col li { padding: 7px 0; }
.footer-col a { color: var(--cream-dim); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: 14px; margin-top: 8px; }
.socials a {
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: center;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { border-color: var(--gold); color: var(--gold-soft); transform: translateY(-2px); }
.footer-bottom {
  margin-top: 56px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: var(--cream-dim);
  font-size: 0.85rem;
}

/* ---------- Animaciones reveal ---------- */
/* Progresivo: solo se ocultan si hay JS (html.js). Sin JS = visible. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint::after { animation: none; }
}

/* ---------- Breakpoints ---------- */
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .location-grid { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .plan-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1000px) {
  .nav-desktop { display: block; }
  .nav-toggle, .nav-mobile { display: none; }
  body.nav-open .nav-mobile { display: none; }
  .intro-grid { grid-template-columns: 1.05fr 0.95fr; }
  .feature { grid-template-columns: 1fr 1fr; }
  .feature.reverse .feature-media { order: 2; }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
