/* ==========================================================
   Riberas del Maule — hoja de estilos (versión renovada)
   Paleta tomada del logo: azul marino, sol naranjo/amarillo y agua celeste.
   ========================================================== */

:root, [data-theme="light"] {
  --navy: #13306b;
  --navy-2: #0c2250;
  --sun: #f7a21b;
  --sun-2: #ffc93c;
  --sun-ink: #3a2200;
  --water: #14a3e0;
  --water-soft: #d9f1fc;
  --leaf: #2f9e5b;

  --bg: #fffdf8;
  --surface: #ffffff;
  --tint: #f2f8fc;
  --line: #e2ebf3;
  --text: #102243;
  --muted: #4d6283;
  --primary: var(--navy);
  --primary-hover: #1b4396;
  --shadow-sm: 0 1px 2px rgba(16, 34, 67, .06);
  --shadow-md: 0 14px 34px rgba(16, 34, 67, .10);
  --shadow-lg: 0 28px 70px rgba(16, 34, 67, .18);
  --whatsapp: #25d366;

  --r-sm: .6rem; --r-md: 1rem; --r-lg: 1.5rem; --r-xl: 2rem; --r-full: 999px;
  --content: 1180px;
  --font-display: 'Clash Display', 'Satoshi', system-ui, sans-serif;
  --font-body: 'Satoshi', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #08142b;
  --surface: #0e1f3f;
  --tint: #0b1a36;
  --line: #1f3561;
  --text: #eaf2ff;
  --muted: #a7bbd9;
  --primary: #4cb8f2;
  --primary-hover: #7ccbf6;
  --water-soft: #10304f;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.3);
  --shadow-md: 0 14px 34px rgba(0,0,0,.35);
  --shadow-lg: 0 28px 70px rgba(0,0,0,.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--content)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--sun); color: var(--sun-ink); padding: .6rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip-link:focus { top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: var(--r-full); border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), background .2s, box-shadow .25s var(--ease), color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-block { width: 100%; }
.btn-sun { background: linear-gradient(135deg, var(--sun-2), var(--sun)); color: var(--sun-ink); box-shadow: 0 10px 24px rgba(247, 162, 27, .35); }
.btn-sun:hover { box-shadow: 0 14px 30px rgba(247, 162, 27, .45); }
.btn-primary { background: var(--primary); color: #fff; }
[data-theme="dark"] .btn-primary { color: #06162f; }
.btn-primary:hover { background: var(--primary-hover); }
.btn-outline { border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.26); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Cabecera (fija y sólida, no tapa el contenido) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 96%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  padding-block: .6rem;
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(16, 34, 67, .08); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); margin-right: auto; }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: var(--shadow-sm); }
.brand strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.1; }
.brand small { display: block; font-size: .78rem; color: var(--muted); }
.nav-links { display: flex; gap: .3rem; }
.nav-links a { color: var(--text); text-decoration: none; font-weight: 500; padding: .45rem .8rem; border-radius: var(--r-full); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.is-active { background: var(--water-soft); color: var(--text); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .menu-toggle {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--line); color: var(--text); cursor: pointer;
}
.menu-toggle { display: none; }
.mobile-nav { display: grid; gap: .2rem; margin: .6rem 1rem .4rem; padding: .6rem; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: .8rem 1rem; border-radius: var(--r-md); text-decoration: none; font-weight: 600; color: var(--text); }
.mobile-nav a:hover { background: var(--tint); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(86vh, 800px); display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; z-index: -2; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(8, 24, 60, .88) 0%, rgba(12, 34, 80, .62) 45%, rgba(12, 34, 80, .1) 80%),
  linear-gradient(to top, rgba(8, 24, 60, .55), transparent 40%); }
.hero-inner { padding-block: 5.5rem 9.5rem; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); padding: .45rem .9rem; border-radius: var(--r-full); backdrop-filter: blur(6px); }
.sun-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sun-2); box-shadow: 0 0 0 4px rgba(255, 201, 60, .3), 0 0 18px var(--sun); }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.4rem); font-weight: 600; margin-block: 1.2rem 1.2rem; max-width: 14ch; }
.hero h1 span { background: linear-gradient(90deg, var(--sun-2), #ffe08a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 54ch; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: var(--bg); }

/* ---------- Franja de horarios ---------- */
.hours-strip {
  position: relative; z-index: 5; margin-top: -5.5rem;
  display: grid; grid-template-columns: 1.15fr 1fr 1.3fr auto; align-items: center; gap: 1.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 1.4rem 1.8rem; box-shadow: var(--shadow-lg);
}
.status { display: flex; align-items: center; gap: .9rem; padding-right: 1.5rem; border-right: 1px solid var(--line); }
.status strong { display: block; font-family: var(--font-display); font-size: 1.2rem; }
.status span { color: var(--muted); font-size: .92rem; }
.status-dot { flex: none; width: 14px; height: 14px; border-radius: 50%; background: #9aa9c0; }
.status.is-open .status-dot { background: var(--leaf); box-shadow: 0 0 0 0 rgba(47,158,91,.5); animation: pulse 2s infinite; }
.status.is-closed .status-dot { background: #d9534f; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(47,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(47,158,91,0); } }
.hours-item { display: grid; }
.hours-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--water); }
.hours-item strong { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .4vw, 1.35rem); font-weight: 600; }
.hours-item strong i { color: var(--sun); font-style: normal; }
.hours-sub { font-size: .88rem; color: var(--muted); }
.hours-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--primary); text-decoration: none; }
.hours-link:hover svg { transform: translateX(3px); }
.hours-link svg { transition: transform .2s; }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4rem, 3rem + 5vw, 7rem); }
.section--tint { background: var(--tint); }
.section--navy { background: radial-gradient(1200px 500px at 90% 0%, #1d4a9a 0%, transparent 60%), var(--navy-2); color: #eaf2ff; }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.2rem); }
.section-head h2, .corp-copy h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); margin-block: .6rem .9rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--water); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow--sun { color: var(--sun-2); }

/* ---------- Horarios detallados ---------- */
.schedule { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 1rem + 2vw, 2.6rem); box-shadow: var(--shadow-md); }
.schedule-days { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.schedule-days span { flex: 1 1 0; min-width: 3.2rem; text-align: center; padding: .65rem .4rem; border-radius: var(--r-md); background: var(--water-soft); font-weight: 700; color: var(--text); }
.schedule-days span.is-today { background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(19,48,107,.3); }
[data-theme="dark"] .schedule-days span.is-today { background: var(--sun); color: var(--sun-ink); }

.timeline { position: relative; display: grid; gap: .9rem; padding-top: .4rem; --name: 6.5rem; }
.tl-row, .tl-axis { display: grid; grid-template-columns: var(--name) 1fr; align-items: center; gap: 1rem; }
.tl-name { font-weight: 700; font-size: .95rem; }
.tl-track { position: relative; height: 46px; border-radius: var(--r-full); background: repeating-linear-gradient(90deg, var(--tint) 0 calc(100% / 21 - 1px), var(--line) calc(100% / 21 - 1px) calc(100% / 21)); }
.tl-bar, .tl-gap { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 1%); width: calc((var(--e) - var(--s)) * 1%); border-radius: var(--r-full); display: grid; place-items: center; overflow: hidden; }
.tl-bar b { font-size: .88rem; white-space: nowrap; }
.tl-bar--open { background: linear-gradient(90deg, var(--navy), #2457b8); color: #fff; }
.tl-bar--pool { background: linear-gradient(90deg, var(--water), #46c3f2); color: #04283d; }
.b-open { --s: 0; --e: 100; } .b-p1 { --s: 14.29; --e: 38.1; } .b-gap { --s: 38.1; --e: 47.62; } .b-p2 { --s: 47.62; --e: 95.24; }
.t-0 { --p: 0; } .t-1 { --p: 14.29; } .t-2 { --p: 38.1; } .t-3 { --p: 47.62; } .t-4 { --p: 95.24; } .t-5 { --p: 100; }
.tl-gap { background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(247,162,27,.35) 6px 9px); border-radius: 0; }
.tl-ticks { position: relative; height: 2.6rem; }
.tl-ticks span { position: absolute; left: calc(var(--p) * 1%); transform: translateX(-50%); font-size: .8rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; top: 0; }
.tl-ticks span.tick-low { top: 1.2rem; }
.tl-ticks span:first-child { transform: none; }
.tl-ticks span:last-child { transform: translateX(-100%); }
.tl-now { position: absolute; top: -.6rem; bottom: -.4rem; width: 2px; background: var(--sun); left: calc(var(--name) + 1rem + (100% - var(--name) - 1rem) * var(--p, 0) / 100); z-index: 2; }
.tl-now span { position: absolute; top: -1.3rem; left: 50%; transform: translateX(-50%); background: var(--sun); color: var(--sun-ink); font-size: .72rem; font-weight: 800; padding: .1rem .5rem; border-radius: var(--r-full); white-space: nowrap; }
.tl-now[hidden] { display: none; }

.schedule-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.6rem; }
.sched-card { padding: 1.4rem; border-radius: var(--r-lg); background: var(--tint); border: 1px solid var(--line); }
.sched-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--navy); color: #fff; margin-bottom: 1rem; }
.sched-card--pool .sched-icon { background: var(--water); }
.sched-card h3 { font-size: 1.1rem; }
.sched-time { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--primary); margin-block: .3rem .4rem; }
.sched-card--pool .sched-time { color: var(--water); }
.sched-card p:last-child { color: var(--muted); font-size: .95rem; }

/* ---------- Servicios (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 230px; gap: 1rem; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate; box-shadow: var(--shadow-md); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,24,60,.85), rgba(8,24,60,.05) 60%); }
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile-body { position: absolute; inset: auto 0 0 0; padding: 1.3rem; }
.tile-body h3 { font-size: 1.35rem; margin-top: .5rem; }
.tile--xl .tile-body h3 { font-size: 2rem; }
.tile-body p { margin-top: .4rem; opacity: .92; max-width: 40ch; }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .25rem .65rem; border-radius: var(--r-full); background: var(--sun-2); color: var(--sun-ink); }

/* ---------- Empresas ---------- */
.corp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.corp-copy > p { color: #c9d8f0; font-size: 1.08rem; max-width: 56ch; }
.corp-list { list-style: none; display: grid; gap: 1rem; margin-block: 2rem; }
.corp-list li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: var(--r-lg); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); transition: background .2s, transform .3s var(--ease); }
.corp-list li:hover { background: rgba(255,255,255,.1); transform: translateX(4px); }
.corp-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--sun-2), var(--sun)); color: var(--sun-ink); }
.corp-list h3 { font-size: 1.15rem; color: #fff; }
.corp-list p { color: #b9cbe8; font-size: .96rem; margin-top: .2rem; }
.corp-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.corp-photos { position: relative; aspect-ratio: 4 / 4.4; }
.corp-photos img { position: absolute; object-fit: cover; border-radius: var(--r-xl); box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.cp-1 { inset: 0 18% 26% 0; width: 82%; height: 74%; }
.cp-2 { right: 0; bottom: 0; width: 60%; height: 46%; border: 6px solid var(--navy-2); }
.corp-badge { position: absolute; left: 6%; bottom: 6%; display: grid; background: linear-gradient(135deg, var(--sun-2), var(--sun)); color: var(--sun-ink); padding: .9rem 1.2rem; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.corp-badge strong { font-family: var(--font-display); font-size: 1.3rem; }
.corp-badge span { font-weight: 600; }


/* ---------- Estado en el hero ---------- */
.hero-status { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1.6rem; color: #fff; text-decoration: none; font-size: .95rem; background: rgba(8,24,60,.45); border: 1px solid rgba(255,255,255,.2); padding: .5rem .95rem; border-radius: var(--r-full); backdrop-filter: blur(6px); }
.hero-status strong { font-weight: 700; }
.hero-status .status-dot { width: 11px; height: 11px; }
.hero-status.is-open .status-dot { background: #3ddc84; box-shadow: 0 0 0 0 rgba(61,220,132,.6); animation: pulse 2s infinite; }
.hero-status.is-closed .status-dot { background: #ff7b72; }

/* ---------- Franja de atractivos ---------- */
.highlights { position: relative; z-index: 5; margin-top: -5.5rem; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.highlights li { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.5rem; }
.highlights li + li { border-left: 1px solid var(--line); }
.highlights strong { display: block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.highlights span:not(.hl-icon) { font-size: .9rem; color: var(--muted); }
.hl-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; }
.hl-water { background: linear-gradient(135deg, #46c3f2, var(--water)); }
.hl-sun { background: linear-gradient(135deg, var(--sun-2), var(--sun)); color: var(--sun-ink); }
.hl-leaf { background: linear-gradient(135deg, #52c27e, var(--leaf)); }
.hl-navy { background: linear-gradient(135deg, #2457b8, var(--navy)); }

/* ---------- Tile de canchas ---------- */
.tile--field { grid-column: 1 / -1; background: repeating-linear-gradient(90deg, #2f9e5b 0 60px, #36ad66 60px 120px); }
.tile--field::after { background: linear-gradient(90deg, rgba(8,40,24,.75), rgba(8,40,24,.1) 70%); }
.field-art { position: absolute; inset: 0; z-index: -1; }
.field-art svg { width: 100%; height: 100%; }
.tile-body--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.field-balls { font-size: 2.6rem; line-height: 1; filter: drop-shadow(0 6px 10px rgba(0,0,0,.3)); }

/* ---------- Familias / empresas ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: clamp(3rem, 2rem + 3vw, 4.5rem); }
.aud-card { display: grid; grid-template-columns: 40% 1fr; border-radius: var(--r-xl); overflow: hidden; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.aud-card img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.aud-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.aud-body h3 { font-size: 1.35rem; color: #fff; }
.aud-body p { color: #b9cbe8; font-size: .96rem; }
.aud-link { margin-top: auto; padding-top: .4rem; color: var(--sun-2); font-weight: 700; text-decoration: none; }
.aud-link:hover { text-decoration: underline; }

/* ---------- Valores ---------- */
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.price-group { padding-block: 1rem; border-top: 1px dashed var(--line); }
.price-group h4 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.price-group h4 small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }
.price-row { display: flex; justify-content: space-between; gap: 1rem; padding-block: .35rem; }
.price-row span { color: var(--muted); }
.price-row strong { font-family: var(--font-display); font-size: 1.3rem; color: var(--primary); font-variant-numeric: tabular-nums; }
.price-card--promo { background: linear-gradient(160deg, #fff6e0, #ffffff 55%); border-color: #ffd98a; position: relative; }
[data-theme="dark"] .price-card--promo { background: linear-gradient(160deg, #2a2410, var(--surface) 55%); border-color: #6b5420; }
.promo-badge { display: inline-block; background: var(--sun); color: var(--sun-ink); font-weight: 800; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding: .35rem .8rem; border-radius: var(--r-full); }
.promo-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem; margin-block: 1rem .3rem; }
.promo-price strong { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--text); }
.promo-price span { color: var(--muted); font-weight: 600; }
.promo-intro { color: var(--muted); }
.meal-list { list-style: none; display: grid; gap: .8rem; margin-block: 1.3rem; }
.meal-list li { display: grid; grid-template-columns: 6rem 1fr; gap: .8rem; padding: .9rem 1rem; border-radius: var(--r-md); background: rgba(247,162,27,.09); }
.meal-time { font-weight: 800; color: #b86d00; }
[data-theme="dark"] .meal-time { color: var(--sun-2); }
.price-note { font-size: .88rem; color: var(--muted); }

/* ---------- Galería ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; grid-auto-flow: dense; gap: .9rem; }
.gallery-item { position: relative; border: 0; padding: 0; border-radius: var(--r-lg); overflow: hidden; cursor: zoom-in; background: var(--line); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.07); }
.g-wide { grid-column: span 2; }
.g-tall { grid-row: span 2; }
.gallery-overlay { position: absolute; left: .7rem; bottom: .7rem; background: rgba(8,24,60,.72); color: #fff; font-size: .85rem; font-weight: 600; padding: .3rem .7rem; border-radius: var(--r-full); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px); transition: .3s var(--ease); }
.gallery-item:hover .gallery-overlay, .gallery-item:focus-visible .gallery-overlay { opacity: 1; transform: none; }

.lightbox { margin: auto; border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); overflow: visible; }
.lightbox::backdrop { background: rgba(4, 12, 28, .88); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-md); }
.lightbox figcaption { color: #fff; text-align: center; margin-top: .8rem; }
.lightbox-btn { position: fixed; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.15); color: #fff; cursor: pointer; }
.lightbox-btn:hover { background: rgba(255,255,255,.3); }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ---------- Ubicación ---------- */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; }
.location-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 1.8rem; box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
.info-list { list-style: none; display: grid; gap: 1.2rem; margin-bottom: 1.6rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list svg { flex: none; color: var(--water); margin-top: .15rem; }
.info-list strong { display: block; }
.info-list span, .info-list a { color: var(--muted); }
.location-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: auto; }
.map-card { border-radius: var(--r-xl); overflow: hidden; min-height: 380px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.4rem; align-items: start; }
.contact-side { display: grid; gap: .9rem; }
.contact-wa { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.3rem; border-radius: var(--r-lg); background: var(--whatsapp); color: #053b1d; text-decoration: none; box-shadow: 0 12px 26px rgba(37,211,102,.3); transition: transform .3s var(--ease); }
.contact-wa:hover { transform: translateY(-3px); }
.contact-wa strong { display: block; font-size: 1.08rem; }
.contact-wa span { font-size: .9rem; }
.contact-panel { padding: 1.1rem 1.3rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.contact-panel h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .3rem; }
.contact-panel a, .contact-panel p { font-weight: 600; text-decoration: none; word-break: break-word; }
.social-icons { display: flex; gap: .6rem; }
.social-icons a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tint); border: 1px solid var(--line); }
.social-icons a:hover { background: var(--water-soft); }

.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); box-shadow: var(--shadow-md); display: grid; gap: 1rem; }
.contact-form > h3 { font-size: 1.5rem; }
.tipo { border: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tipo legend { font-weight: 700; font-size: .92rem; margin-bottom: .5rem; }
.tipo label { cursor: pointer; }
.tipo input { position: absolute; opacity: 0; pointer-events: none; }
.tipo span { display: inline-block; padding: .55rem 1rem; border-radius: var(--r-full); border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; transition: .2s; }
.tipo input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
[data-theme="dark"] .tipo input:checked + span { background: var(--primary); border-color: var(--primary); color: #06162f; }
.tipo input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border-radius: var(--r-md); border: 1.5px solid var(--line); background: var(--bg); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--water); box-shadow: 0 0 0 4px color-mix(in srgb, var(--water) 20%, transparent); }
.cf-turnstile { min-height: 65px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: .8rem 1rem; border-radius: var(--r-md); font-weight: 600; }
.form-status.ok { background: #e3f6ea; color: #17633a; }
.form-status.error { background: #fde8e7; color: #9b2c25; }
.form-legal { font-size: .85rem; color: var(--muted); text-align: center; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-2); color: #c9d8f0; padding-block: 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 2rem; }
.footer-brand img { width: 84px; border-radius: 16px; margin-bottom: 1rem; }
.footer-brand p { max-width: 36ch; font-size: .95rem; }
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: .8rem; }
.site-footer p { font-size: .95rem; margin-bottom: .7rem; }
.site-footer strong { color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--sun-2); }
.footer-legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; text-align: center; }

.wa-float { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 40; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .nav-links { display: none; }
  .menu-toggle { display: grid; }
  .hours-strip { grid-template-columns: 1fr 1fr; }
  .status { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--line); padding: 0 0 1rem; }
  .hours-link { grid-column: 1 / -1; }
  .corp { grid-template-columns: 1fr; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .highlights li:nth-child(3) { border-left: 0; }
  .highlights li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .audience { grid-template-columns: 1fr; }
  .corp-photos { max-width: 560px; width: 100%; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 190px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .schedule-cards, .prices, .location, .contact { grid-template-columns: 1fr; }
  .gallery-overlay { opacity: 1; transform: none; }
}
@media (max-width: 560px) {
  .header-cta { display: none; }
  .brand small { display: none; }
  .hero-inner { padding-block: 3.5rem 8rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .highlights { margin-top: -4.5rem; }
  .highlights li { padding: 1rem; gap: .7rem; flex-direction: column; align-items: flex-start; }
  .hl-icon { width: 44px; height: 44px; border-radius: 13px; }
  .highlights strong { font-size: 1rem; }
  .aud-card { grid-template-columns: 1fr; }
  .aud-card img { min-height: 0; aspect-ratio: 16 / 9; }
  .tile--field { grid-row: span 2; }
  .tile-body--row { flex-direction: column; align-items: flex-start; }
  .field-balls { display: none; }
  .timeline { --name: 4.6rem; }
  .tl-row, .tl-axis { gap: .6rem; }
  .tl-name { font-size: .85rem; }
  .tl-bar b { font-size: .68rem; white-space: normal; text-align: center; line-height: 1.15; padding-inline: .2rem; }
  .tl-ticks span { font-size: .68rem; }
  .tl-ticks span:first-child, .tl-ticks span:last-child { display: none; }
  .schedule-days { flex-wrap: nowrap; gap: .25rem; }
  .schedule-days span { min-width: 0; padding: .55rem 0; font-size: .8rem; }
  .bento { grid-template-columns: 1fr; }
  .tile--xl { grid-column: auto; grid-row: span 2; }
  .field-row { grid-template-columns: 1fr; }
  .meal-list li { grid-template-columns: 1fr; gap: .2rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
