/* ============================================================
   Rancho Itahue — estilos.css
   Rediseño 17-10-2026: el día del rancho en capítulos de color planos
   (cal de mañana, prado de mediodía, bosque de tarde y noche). Sin
   ornamentos: ni hojas, ni cortes, ni sombras en reposo, ni filetes.
   Tipo: Besley (títulos, slab de letrero de campo) + Libre Franklin (texto).
   Acción: el rojo del logo. El logo NO se recolorea.
   Móvil primero; breakpoints md=768px, lg=1024px.
   ============================================================ */

@font-face {
  font-family: 'Besley';
  src: url('../fonts/besley.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Libre Franklin';
  src: url('../fonts/libre-franklin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --cal: #F2F1EC;        /* fondo: muro encalado, hueso de bajo croma */
  --prado: #E3E6D3;      /* campo de mediodía */
  --bosque: #22372A;     /* campo profundo */
  --ink: #1C2A21;        /* tinta: bosque casi negro */
  --ink-2: #3F4A3F;      /* notas secundarias sobre claro */
  --noche: #141E17;      /* pie */
  --rojo: #D2121C;       /* rojo del logo: solo acciones */
  --rojo-dark: #B00F18;
  --on-dark: #F2F1EC;
  --on-dark-2: rgba(242, 241, 236, 0.84);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: 'Besley', Georgia, 'Times New Roman', serif;
  --body: 'Libre Franklin', system-ui, -apple-system, sans-serif;
  /* Escala: display, título, subtítulo, enunciado, bajada, texto y nota. */
  --fs-1: clamp(2.75rem, 1rem + 4.6vw, 5rem);
  --fs-2: clamp(1.75rem, 1.1rem + 1.6vw, 2.5rem);
  --fs-3: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem);
  --fs-stmt: 20px;
  --fs-lead: 18px;
  --fs-text: 17px;
  --fs-small: 15px;
}
@media (min-width: 768px) {
  :root { --fs-stmt: 22px; --fs-lead: 19px; --fs-text: 17px; }
}

*, *::before, *::after { box-sizing: border-box; }

/* Fondo del lienzo = color del pie: el rebote de scroll al final no muestra franja clara. */
html { scroll-behavior: smooth; background: var(--noche); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
html:has(dialog.lb[open]) { overflow: hidden; }

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--body);
  font-size: var(--fs-text);
  background: var(--cal);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { text-wrap: balance; }
.txt, .lead, .hero-lead { text-wrap: pretty; }

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--rojo-dark);
  outline-offset: 3px;
}
.sec--deep :focus-visible,
.panel :focus-visible,
.hero :focus-visible,
.footer :focus-visible,
.site-header :focus-visible {
  outline-color: var(--on-dark);
}
.site-header.is-solid :focus-visible,
.menu-panel :focus-visible,
.sec--deep .banq :focus-visible,
.sec--deep .form-card :focus-visible {
  outline-color: var(--rojo-dark);
}

/* Enlaces chicos en línea: amplían el área táctil a ~44px sin mover el layout. */
.tap { position: relative; }
.tap::before {
  content: '';
  position: absolute;
  inset: -8px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--rojo);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
}
.skip:focus { left: 16px; top: 16px; }

/* ── Layout base ─────────────────────────────────────────── */
.wrap {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) {
  .wrap { padding-inline: 32px; }
}

.sec {
  position: relative;
  padding-block: 64px;
  background-color: var(--cal);
  scroll-margin-top: calc(68px + var(--aviso-h, 0px));
}
@media (min-width: 768px) {
  .sec { padding-block: 96px; }
}
@media (min-width: 1024px) {
  .sec { scroll-margin-top: calc(84px + var(--aviso-h, 0px)); }
}
.sec--deep { background-color: var(--bosque); color: var(--on-dark); }
.sec--soft { background-color: var(--prado); }

/* ── Títulos y texto ─────────────────────────────────────── */
.shead h2 {
  max-width: 17em;
  margin: 0;
  font-family: var(--display);
  font-size: var(--fs-2);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--bosque);
}
.sec--deep .shead h2 { color: var(--on-dark); }
/* Las dos partes del título son una sola frase: misma cara, peso y color. */
.t-light, .t-bold { display: inline; }

.shead + * { margin-top: 32px; }
@media (min-width: 768px) {
  .shead + * { margin-top: 48px; }
}

.lead {
  max-width: 36em;
  margin: 16px 0 0;
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink);
}
.sec--deep .lead { color: var(--on-dark-2); }

.h3 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: var(--fs-3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--bosque);
}
.sec--deep .h3 { color: var(--on-dark); }
.txt { max-width: 34em; margin: 12px 0 0; font-size: var(--fs-text); line-height: 1.55; color: var(--ink); }
.sec--deep .txt { color: var(--on-dark-2); }
/* Enunciado de apertura: más grande, sigue siendo párrafo. */
.txt--strong {
  margin-top: 0;
  font-size: var(--fs-stmt);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.w-full { width: 100%; }

/* Etiquetas como texto corrido separado por puntos, sin cajas. */
.chips {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.chip {
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--bosque);
}
.chip:not(:last-child)::after {
  content: '·';
  margin: 0 0.55em;
  font-weight: 400;
}
.chip--dark { font-size: var(--fs-lead); font-weight: 600; color: var(--on-dark); }

/* ── Botones: planos, un color, esquinas vivas ───────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  font-family: var(--body);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: transform 0.15s, background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn:active { transform: scale(0.97); }
.btn--red { background: var(--rojo); color: #fff; }
.btn--white { background: var(--cal); color: var(--bosque); }
.btn--line {
  color: var(--bosque);
  border: 2px solid var(--bosque);
  background: transparent;
}
@media (hover: hover) {
  .btn--red:hover { background: var(--rojo-dark); }
  .btn--white:hover { background: #fff; }
  .btn--line:hover { background: var(--bosque); color: var(--cal); }
}
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 32px; }
.cta .btn { flex: 1 1 auto; }
@media (min-width: 768px) {
  .cta .btn { flex: 0 0 auto; }
}

/* Enlace de texto con flecha que avanza al pasar. */
.link-go {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.link-go::after {
  content: '→';
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  .link-go:hover::after { transform: translateX(5px); }
}

/* ── Header fijo ─────────────────────────────────────────────
   Transparente sobre la portada (con velo neutro para leer los links)
   y sólido en cal al hacer scroll. */
.site-header {
  --hh: 68px;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  background-color: rgba(242, 241, 236, 0);
  transition: background-color 0.35s ease, box-shadow 0.35s ease;
}
@media (min-width: 1024px) {
  .site-header { --hh: 84px; }
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--hh) + var(--aviso-h, 0px) + 56px);
  background: linear-gradient(180deg, rgba(10, 14, 10, 0.55) 0%, rgba(10, 14, 10, 0) 100%); /* taste-skill-ignore: velo neutro bajo el texto del header sobre la foto */
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.site-header.is-solid {
  background-color: var(--cal);
  box-shadow: 0 10px 24px -18px rgba(20, 30, 23, 0.55); /* taste-skill-ignore: barra fija que flota sobre el contenido */
}
.site-header.is-solid::before { opacity: 0; }

.header-row {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 20px;
  height: var(--hh);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 768px) {
  .header-row { padding-inline: 32px; }
}

/* Logo: el PNG tal cual, sobre su blanco original para que se lea sobre la foto. */
.brand {
  display: flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}
.brand img {
  height: 52px;
  width: auto;
  padding: 3px;
  background: #fff;
}
@media (min-width: 1024px) {
  .brand img { height: 64px; }
}

.nav-desktop { display: none; }
@media (min-width: 1024px) {
  .nav-desktop { display: flex; align-items: center; gap: 22px; }
}
@media (min-width: 1280px) {
  .nav-desktop { gap: 32px; }
}
.nav-desktop a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  color: var(--on-dark);
  transition: color 0.35s ease;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="true"]::after { transform: scaleX(1); }
.site-header.is-solid .nav-desktop a { color: var(--ink); }

.nav-desktop .nav-cta {
  margin-left: 4px;
  padding: 0 22px;
  min-height: 44px;
  background: var(--rojo);
  color: #fff;
  transition: background-color 0.25s;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover { background: var(--rojo-dark); }
.site-header.is-solid .nav-desktop .nav-cta { color: #fff; }

.menu-btn {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 0;
  background: rgba(10, 14, 10, 0.4);
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.35s ease, color 0.35s ease;
}
.site-header.is-solid .menu-btn {
  background: transparent;
  color: var(--ink);
}
.menu-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}
.menu-btn[aria-expanded="true"] .bar1 { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bar2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .bar3 { transform: translateY(-7px) rotate(-45deg); }
/* Hamburguesa solo por debajo de 1024px (va después de .menu-btn para ganarle en cascada). */
@media (min-width: 1024px) {
  .menu-btn { display: none; }
}

.menu-panel {
  max-height: calc(100vh - var(--hh) - var(--aviso-h, 0px));
  max-height: calc(100svh - var(--hh) - var(--aviso-h, 0px));
  overflow-y: auto;
  padding: 8px 20px 24px;
  background: var(--cal);
}
@media (min-width: 768px) {
  .menu-panel { padding-inline: 32px; }
}
.menu-panel .nav-m {
  display: flex;
  align-items: center;
  min-height: 52px;
  font-family: var(--display);
  font-size: var(--fs-stmt);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--bosque);
  text-decoration: none;
  transition: color 0.2s, translate 0.25s var(--ease);
}
.menu-panel .nav-m:hover,
.menu-panel .nav-m[aria-current="true"] { color: var(--rojo-dark); translate: 6px 0; }
.menu-panel .btn { width: 100%; margin-top: 20px; }
@media (prefers-reduced-motion: no-preference) {
  .menu-panel:not([hidden]) { animation: menu-in 0.28s var(--ease) backwards; }
  .menu-panel:not([hidden]) .nav-m { animation: rise 0.4s var(--ease) backwards; }
  .menu-panel:not([hidden]) .nav-m:nth-child(2) { animation-delay: 0.03s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(3) { animation-delay: 0.06s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(4) { animation-delay: 0.09s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(5) { animation-delay: 0.12s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(6) { animation-delay: 0.15s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(7) { animation-delay: 0.18s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(8) { animation-delay: 0.21s; }
  .menu-panel:not([hidden]) .nav-m:nth-child(9) { animation-delay: 0.24s; }
}
@keyframes menu-in {
  from { opacity: 0; transform: translateY(-8px); }
}

/* ── Portada: la foto manda, el nombre abajo a la izquierda ── */
.hero {
  position: relative;
  min-height: 100vh; /* taste-skill-ignore: fallback; la línea siguiente usa 100svh */
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bosque);
  color: var(--on-dark);
  scroll-margin-top: calc(68px + var(--aviso-h, 0px));
}
.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Velo neutro solo donde va el texto (la única excepción a "sin gradientes"). */
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 10, 0) 30%, rgba(10, 14, 10, 0.5) 62%, rgba(10, 14, 10, 0.84) 100%); /* taste-skill-ignore: velo neutro bajo el texto sobre la foto */
}
.hero-inner {
  position: relative;
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding: calc(120px + var(--aviso-h, 0px)) 20px 28px;
}
@media (min-width: 768px) {
  .hero-inner { padding: calc(140px + var(--aviso-h, 0px)) 32px 40px; }
}
.h1 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--fs-1);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.h1 .t1, .h1 .t2 { display: inline-block; }
.hero-foot { display: grid; gap: 4px; margin-top: 28px; }
@media (min-width: 1024px) {
  .hero-foot { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; margin-top: 36px; }
  .hero-foot .cta { margin-top: 0; }
}
.hero-tag {
  max-width: 28em;
  margin: 0;
  font-size: var(--fs-stmt);
  font-weight: 600;
  line-height: 1.3;
  color: var(--on-dark);
}
.hero-lead {
  max-width: 34em;
  margin: 10px 0 0;
  font-size: var(--fs-text);
  line-height: 1.5;
  color: var(--on-dark-2);
}
.hero-addr {
  margin: 28px 0 0;
  padding-right: 72px; /* el botón fijo de WhatsApp no tapa la dirección */
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--on-dark-2);
}

/* Entrada de la portada: la foto se asienta, el nombre sube palabra por palabra.
   Se usa `scale`/`translate` (no `transform`) para que convivan con el parallax. */
@media (prefers-reduced-motion: no-preference) {
  .hero > img { animation: hero-settle 2.4s var(--ease) backwards; }
  .h1 > span { animation: rise-lg 1s var(--ease) backwards; }
  .h1 > .t1 { animation-delay: 0.15s; }
  .h1 > .t2 { animation-delay: 0.27s; }
  .hero-foot > * { animation: rise 0.8s var(--ease) backwards; }
  .hero-foot > :nth-child(1) { animation-delay: 0.45s; }
  .hero-foot > :nth-child(2) { animation-delay: 0.55s; }
  .hero-addr { animation: rise 0.8s var(--ease) 0.65s backwards; }

  @supports (animation-timeline: scroll()) {
    .hero > img {
      animation: hero-settle 2.4s var(--ease) backwards, hero-parallax linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 100vh;
    }
  }
}
@keyframes hero-settle {
  from { scale: 1.08; }
}
@keyframes hero-parallax {
  from { translate: 0 0; }
  to { translate: 0 14%; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
}
@keyframes rise-lg {
  from { opacity: 0; transform: translateY(0.35em); }
}
@keyframes fade-in {
  from { opacity: 0; }
}

/* ── Fotos ───────────────────────────────────────────────── */
.ph {
  position: relative;
  overflow: hidden;
  background: var(--prado);
}
.ph > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph--43 { aspect-ratio: 4 / 3; }
.ph--45 { aspect-ratio: 4 / 5; }
.ph--34 { aspect-ratio: 3 / 4; }
.ph--1610 { aspect-ratio: 16 / 10; }
.ph--sq { aspect-ratio: 1 / 1; }
.ph--wide { aspect-ratio: 16 / 10; }
@media (min-width: 768px) {
  .ph--wide { aspect-ratio: 2 / 1; }
}
.sec--soft .ph { background: var(--cal); }
.sec--deep .ph { background: rgba(242, 241, 236, 0.08); }

/* Zoom lento al pasar el mouse (solo con puntero real). */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ph > img,
  .panel-photo img { transition: transform 1s var(--ease); }
  .ph:hover > img { transform: scale(1.045); }
  .panel:hover .panel-photo img { transform: scale(1.03); }
}

/* ── Grillas ─────────────────────────────────────────────── */
.duo { display: grid; gap: 32px; }
@media (min-width: 768px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .duo--tight { gap: 40px; }
  .duo--stretch { align-items: stretch; }
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

/* ── El rancho (cal) ─────────────────────────────────────── */
#rancho { padding-bottom: 0; }
@media (min-width: 768px) {
  .duo--rancho { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.marco .ph { aspect-ratio: 3 / 2; }
/* Móvil: las fotos de tarjeta van más apaisadas para acortar el scroll. */
@media (max-width: 767px) {
  .duo-cards .ph, .bloque .ph { aspect-ratio: 16 / 10; }
}

/* ── Cifras (prado) ──────────────────────────────────────── */
.cifras {
  margin-top: 64px;
  padding-block: 44px;
  background-color: var(--prado);
  color: var(--ink);
}
@media (min-width: 768px) {
  .cifras { margin-top: 96px; padding-block: 56px; }
}
.cifras-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 20px;
}
@media (min-width: 768px) {
  .cifras-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.cifra p { margin: 0; }
.cifra-v {
  font-family: var(--display);
  font-size: calc(var(--fs-2) * 1.2);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--bosque);
}
.cifra .cifra-u {
  margin-top: 10px;
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--bosque);
}
.cifra-l { font-size: var(--fs-small); line-height: 1.4; color: var(--ink); }
.sig { margin: 32px 0 0; font-size: var(--fs-small); color: var(--ink); }
.sig a { font-weight: 700; text-underline-offset: 4px; }
/* Logos sociales: icono de 18px heredando el color del texto, alineado con el handle. */
.social { display: inline-flex; align-items: center; gap: 6px; }
.social svg { width: 18px; height: 18px; flex: none; }

/* ── Eventos (bosque) ────────────────────────────────────── */
#eventos .chips { margin-top: 24px; }
.duo-cards { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 768px) {
  .duo-cards { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin-top: 48px; }
}

/* Banquetería: un campo de cal dentro del bosque (cambio de tono, sin borde). */
.banq {
  margin-top: 48px;
  padding: 28px 20px;
  background: var(--cal);
  color: var(--ink);
}
@media (min-width: 768px) {
  .banq { margin-top: 64px; padding: 40px; }
}
.banq-in { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .banq-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 48px; }
}
.banq h3 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--fs-3);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--bosque);
}
.sec--deep .banq .lead { color: var(--ink); }
.banq .btn { margin-top: 24px; }
.banq .ph { background: var(--prado); }

/* ── Piscinas y canchas (cal): dos tarjetas lado a lado ──── */
.bloques { display: grid; gap: 40px; }
@media (min-width: 768px) {
  .bloques { grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
}
.bloque { display: grid; gap: 20px; }
.h3-lg { margin-top: 0; }

/* Play Padel: la foto nocturna a sangre, el nombre encima; cierra la sección. */
#piscinas-canchas { padding-bottom: 0; }
.panel {
  position: relative;
  isolation: isolate;
  margin-top: 64px;
  overflow: hidden;
  background: var(--noche);
  color: var(--on-dark);
}
@media (min-width: 768px) {
  .panel { margin-top: 96px; }
}
.panel-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.panel-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.panel-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 14, 10, 0.86) 0%, rgba(10, 14, 10, 0.4) 55%, rgba(10, 14, 10, 0) 100%); /* taste-skill-ignore: velo neutro bajo el texto sobre la foto */
}
.panel-txt {
  min-height: clamp(340px, 50vh, 460px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 24px;
  padding-block: 40px;
}
@media (min-width: 1024px) {
  .panel-txt { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; padding-block: 56px; }
}
.panel-name {
  max-width: 10em;
  margin: 0;
  font-family: var(--display);
  font-size: var(--fs-2);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.panel-tag { margin: 12px 0 0; font-size: var(--fs-stmt); font-weight: 600; line-height: 1.3; }
.panel-act { display: grid; gap: 16px; flex: none; }
.panel-num, .panel-ig { margin: 0; font-size: var(--fs-small); color: var(--on-dark-2); }
.panel-ig { margin-top: 8px; }
.panel-ig a { font-weight: 600; }

/* ── Quinchos y prados (prado): dos tarjetas ───────────────── */
.cards-2 { display: grid; gap: 40px; }
@media (min-width: 768px) {
  .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; align-items: start; }
}
.cx-txt .h3 { margin-top: 20px; }

/* ── Almuerzos (bosque): la hora es el titular ───────────── */
@media (min-width: 768px) {
  .duo--almuerzo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: center; }
}
.horario { display: grid; gap: 18px; margin: 0; }
.horario dt { font-family: var(--display); font-size: var(--fs-lead); font-weight: 700; color: var(--on-dark); }
.horario dd { margin: 4px 0 0; color: var(--on-dark-2); }
.tel-line { margin: 12px 0 0; font-size: var(--fs-small); font-weight: 600; color: var(--on-dark-2); }


/* ── Galería + lightbox ──────────────────────────────────── */
.gal { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.nat button:first-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
@media (min-width: 768px) {
  .gal { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .nat { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .nat button:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: 1 / 1; }
}
@media (min-width: 1024px) {
  .gal { grid-template-columns: repeat(4, 1fr); }
}
.gal button, .nat button {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--prado);
}
.gal img, .nat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: no-preference) {
  .gal img, .nat img { transition: transform 0.8s var(--ease); }
  .gal button:hover img, .nat button:hover img { transform: scale(1.05); }
  /* Las fotos que aparecen con "Ver las N fotos" entran subiendo. */
  .gal.is-open button:nth-child(n+9) { animation: rise 0.6s var(--ease) backwards; }
  .gal.is-open button:nth-child(n+9):nth-child(4n+2) { animation-delay: 0.06s; }
  .gal.is-open button:nth-child(n+9):nth-child(4n+3) { animation-delay: 0.12s; }
  .gal.is-open button:nth-child(n+9):nth-child(4n) { animation-delay: 0.18s; }
}
.gal-more { display: flex; justify-content: center; margin-top: 32px; }

dialog.lb {
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  width: 100vw;
  height: 100vh; /* taste-skill-ignore: fallback; la línea siguiente usa 100dvh */
  height: 100dvh;
  background: rgba(14, 20, 16, 0.96);
  color: var(--on-dark);
}
dialog.lb::backdrop { background: var(--noche); }
@media (prefers-reduced-motion: no-preference) {
  dialog.lb[open] { animation: fade-in 0.25s ease-out; }
  .lb-ph img { transition: opacity 0.25s ease-out; }
}
.lb-ph img.is-loading { opacity: 0; }
.lb-ph { touch-action: pan-y; }
.lb-in { display: flex; flex-direction: column; height: 100%; }
.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
}
.lb-count, .lb-cap {
  margin: 0;
  font-size: var(--fs-small);
  color: var(--on-dark-2);
}
.lb-cap { line-height: 1.4; min-width: 0; }
.lb-ph { position: relative; flex: 1; min-height: 0; }
.lb-ph img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lb-btns { display: flex; gap: 8px; flex: none; }
.lb-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.lb-btn:hover { background: rgba(242, 241, 236, 0.14); }
.lb-btn svg { width: 20px; height: 20px; }

/* ── Ubicación (prado) ───────────────────────────────────── */
.pasos {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pasos p { margin: 0; font-size: var(--fs-text); line-height: 1.5; color: var(--ink); }
.coords { margin: 28px 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.coords b { font-weight: 700; color: var(--ink); }
.mapa {
  position: relative;
  min-height: 300px;
  margin-inline: -20px;
  overflow: hidden;
  background: var(--cal);
}
@media (min-width: 768px) {
  .mapa { min-height: 400px; margin-inline: 0; }
}
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Contacto (bosque) ───────────────────────────────────── */
@media (min-width: 768px) {
  .duo--contacto { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
}
.fonos { display: grid; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.fonos p { margin: 0; }
.fonos .k { font-family: var(--display); font-size: var(--fs-stmt); font-weight: 800; letter-spacing: -0.01em; color: var(--on-dark); }
.fonos .n { margin-top: 2px; font-size: var(--fs-small); color: var(--on-dark-2); }
.fonos .tel {
  display: inline-block;
  margin-top: 8px;
  font-size: var(--fs-lead);
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: rgba(242, 241, 236, 0.45);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  transition: text-decoration-color 0.2s;
}
.fonos .tel:hover { text-decoration-color: var(--on-dark); }
.social--sm { display: flex; width: max-content; margin-top: 12px; font-size: var(--fs-small); font-weight: 600; color: var(--on-dark-2); }
.sociales { margin: 40px 0 0; font-size: var(--fs-small); color: var(--on-dark-2); }
.sociales a { color: var(--on-dark); font-weight: 700; text-underline-offset: 4px; }

.form-card {
  background: var(--cal);
  padding: 32px 20px;
  color: var(--ink);
}
@media (min-width: 768px) {
  .form-card { padding: 48px; }
}
.form h3 {
  margin: 0;
  font-family: var(--display);
  font-size: var(--fs-3);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.015em;
  color: var(--bosque);
}
.form .nota { margin: 10px 0 0; font-size: var(--fs-small); color: var(--ink-2); }
.field { margin-top: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1.5px solid #6E7464;
  border-radius: 0;
  padding: 0 16px;
  font-family: var(--body);
  font-size: 16px;
  background: #FBFAF5;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--bosque); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--bosque); box-shadow: 0 0 0 3px rgba(34, 55, 42, 0.2); outline: none; } /* taste-skill-ignore: anillo de foco, no está en reposo */
.field textarea { min-height: 0; height: auto; padding: 12px 16px; }
.fields-2 { display: grid; gap: 0 12px; }
@media (min-width: 640px) {
  .fields-2 { grid-template-columns: 1fr 1fr; }
}
/* Vista previa del mensaje: lo que llegará al WhatsApp del rancho. */
.wa-preview {
  margin-top: 22px;
  padding: 16px 18px;
  background: var(--prado);
}
.wa-preview-k { margin: 0; font-size: var(--fs-small); font-weight: 700; color: var(--bosque); }
.wa-preview-txt { margin: 6px 0 0; font-size: var(--fs-small); line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink); }
.form .btn { width: 100%; margin-top: 22px; }

/* ── Pie (noche): el nombre vuelve a todo el ancho ───────── */
/* El espacio para el botón fijo de WhatsApp vive dentro del pie (mismo fondo). */
.footer {
  background-color: var(--noche);
  color: var(--on-dark);
  padding-top: 56px;
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 768px) {
  .footer { padding-top: 72px; padding-bottom: calc(48px + env(safe-area-inset-bottom, 0px)); }
}
.footer-name {
  margin: 0;
  font-family: var(--display);
  font-size: calc(var(--fs-2) * 1.3);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--on-dark);
}
.footer-row { display: grid; gap: 24px; margin-top: 32px; }
@media (min-width: 768px) {
  .footer-row { grid-template-columns: auto 1fr; align-items: center; gap: 32px; }
  .footer-links { text-align: right; }
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 52px; width: auto; padding: 2px; background: #fff; }
.footer-rubro { margin: 0; font-size: var(--fs-small); color: var(--on-dark-2); }
.footer-links {
  margin: 0;
  font-size: var(--fs-small);
  line-height: 2;
  color: var(--on-dark-2);
}
.footer-links a { color: inherit; text-underline-offset: 4px; transition: color 0.2s; }
.footer-links a:hover { color: var(--on-dark); }
.footer-copy {
  margin: 28px 0 0;
  font-size: var(--fs-small);
  line-height: 1.6;
  color: rgba(242, 241, 236, 0.7);
}

/* ── FAB WhatsApp ────────────────────────────────────────── */
.wa-fab {
  position: fixed;
  right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.45); /* taste-skill-ignore: botón flotante fijo */
  transition: transform 0.15s;
}
.wa-fab:hover { transform: scale(1.06); }
.wa-fab:active { transform: scale(0.95); }
.wa-fab svg { width: 28px; height: 28px; }
@media (prefers-reduced-motion: no-preference) {
  .wa-fab { animation: fab-in 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.1s backwards; }
}
@keyframes fab-in {
  from { opacity: 0; transform: scale(0.6); }
}

/* ── Entradas al hacer scroll (solo con JS y sin reducción de movimiento) ──
   Título, luego texto, luego foto: cascada de 60–120ms dentro de cada bloque. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }

  /* Títulos: primero la frase (entera, para que se balancee en dos líneas), después la bajada. */
  .js .reveal .shead h2,
  .js .shead.reveal h2,
  .js .shead.reveal .lead {
    opacity: 0;
    translate: 0 0.3em;
    transition: opacity 0.8s var(--ease), translate 0.8s var(--ease);
  }
  .js .shead.reveal .lead { translate: 0 18px; }
  .js .reveal.is-visible .shead h2,
  .js .shead.reveal.is-visible h2,
  .js .shead.reveal.is-visible .lead { opacity: 1; translate: 0 0; transition-delay: 0.06s; }
  .js .shead.reveal.is-visible .lead { transition-delay: 0.2s; }

  /* Cascada entre hermanos de una misma grilla. */
  .js .duo > .reveal:nth-child(2),
  .js .duo-cards > .reveal:nth-child(2),
  .js .bloque.reveal:nth-child(2),
  .js .cards-2 > .reveal:nth-child(2),
  .js .cifras-grid > .reveal:nth-child(2) { transition-delay: 0.08s; }
  .js .cifras-grid > .reveal:nth-child(3) { transition-delay: 0.16s; }
  .js .cifras-grid > .reveal:nth-child(4) { transition-delay: 0.24s; }
}

/* ============================================================
   Capa de vida (17-10-2026, segunda ronda)
   ============================================================ */

/* ── Menos texto: se ocultan solo las repeticiones (el contenido del panel sigue en el HTML) ── */
#rancho .txt--strong { max-width: 30em; }
/* Portada en móvil: nombre, una frase y la acción. */
@media (max-width: 767px) {
  .hero-lead { display: none; }
}

/* ── Cortina: cada foto se descubre como un toldo que se recoge al entrar ── */
.sec { --curtain: var(--bosque); }
.sec--deep { --curtain: var(--prado); }
.banq { --curtain: var(--bosque); }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal .ph::after,
  .js .ph.reveal::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: var(--curtain);
    transform-origin: top;
    transition: transform 0.9s cubic-bezier(0.77, 0, 0.18, 1) 0.1s;
    pointer-events: none;
  }
  .js .reveal.is-visible .ph::after,
  .js .ph.reveal.is-visible::after { transform: scaleY(0); }
  /* Las fotos chicas se descubren después de la grande. */
  .js .reveal.is-visible .grid-3 > .ph::after { transition-delay: 0.24s; }
  .js .reveal.is-visible .grid-3 > .ph:nth-child(2)::after { transition-delay: 0.32s; }
  .js .reveal.is-visible .grid-3 > .ph:nth-child(3)::after { transition-delay: 0.4s; }
}

/* ── Deriva: las fotos se mueven apenas dentro de su marco al hacer scroll ── */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .ph > img,
    .panel-photo img {
      scale: 1.12;
      animation: deriva linear both;
      animation-timeline: view();
    }
  }
}
@keyframes deriva {
  from { translate: 0 -4%; }
  to { translate: 0 4%; }
}


/* ── Galería: las fotos entran en cascada ── */
@media (prefers-reduced-motion: no-preference) {
  .js .gal.reveal, .js .nat.reveal { transform: none; }
  .js .gal.reveal button, .js .nat.reveal button { opacity: 0; translate: 0 24px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }
  .js .gal.reveal.is-visible button, .js .nat.reveal.is-visible button { opacity: 1; translate: 0 0; }
  .js .gal.reveal.is-visible button:nth-child(2), .js .nat.reveal.is-visible button:nth-child(2) { transition-delay: 0.06s; }
  .js .gal.reveal.is-visible button:nth-child(3), .js .nat.reveal.is-visible button:nth-child(3) { transition-delay: 0.12s; }
  .js .gal.reveal.is-visible button:nth-child(4), .js .nat.reveal.is-visible button:nth-child(4) { transition-delay: 0.18s; }
  .js .gal.reveal.is-visible button:nth-child(5), .js .nat.reveal.is-visible button:nth-child(5) { transition-delay: 0.24s; }
  .js .gal.reveal.is-visible button:nth-child(6), .js .nat.reveal.is-visible button:nth-child(6) { transition-delay: 0.3s; }
  .js .gal.reveal.is-visible button:nth-child(7), .js .nat.reveal.is-visible button:nth-child(7) { transition-delay: 0.36s; }
  .js .gal.reveal.is-visible button:nth-child(8), .js .nat.reveal.is-visible button:nth-child(8) { transition-delay: 0.42s; }
}

/* ── Feedback: los botones suben al pasar y se hunden al presionar ── */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn { transition: transform 0.15s, translate 0.3s var(--ease), background-color 0.25s, color 0.25s, border-color 0.25s; }
  .btn:hover { translate: 0 -3px; }
  .fonos .tel { transition: text-decoration-color 0.2s, translate 0.3s var(--ease); }
  .fonos .tel:hover { translate: 4px 0; }
}

/* ── Partes que el panel puede ocultar: la grilla y los márgenes se ajustan a lo que queda ── */
#piscinas-canchas:has(> .panel[hidden]) { padding-bottom: 64px; }
@media (min-width: 768px) {
  #piscinas-canchas:has(> .panel[hidden]) { padding-bottom: 96px; }
}

/* ── Aviso de temporada: franja roja sobre el menú, para vender ──────────
   Rojo del logo (blanco encima: 5,5:1). Se mueve sin mover el texto: entra desde
   arriba, un punto late como "en vivo", un brillo cruza la franja cada pocos
   segundos y la flecha del botón empuja. En móvil se recoge al hacer scroll
   (el header sube lo que mide el aviso) para no robar pantalla. */
.aviso { position: relative; overflow: hidden; background: var(--rojo); color: #fff; }
.aviso-in {
  position: relative;
  z-index: 1;
  max-width: 80rem;
  margin-inline: auto;
  padding: 0 6px 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .aviso-in { padding: 0 16px 0 32px; }
}
.aviso-link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  padding-block: 9px;
  color: inherit;
  text-decoration: none;
}
@media (min-width: 768px) {
  .aviso-link { flex-wrap: nowrap; gap: 16px; padding-block: 8px; }
}
.aviso-dot { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff; }
.aviso-txt { font-size: var(--fs-small); font-weight: 800; line-height: 1.25; }
/* Móvil: texto arriba, precio abajo y la flecha como botón cuadrado a la derecha. */
@media (max-width: 767px) {
  .aviso-link { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 10px; }
  .aviso-dot { grid-area: 1 / 1; }
  .aviso-txt { grid-area: 1 / 2; }
  .aviso-dest { grid-area: 2 / 2; justify-self: start; font-size: 15px; }
  .aviso-cta { grid-area: 1 / 3 / 3 / 4; width: 42px; height: 42px; margin: 0; padding: 0; justify-content: center; font-size: 18px; }
  .aviso-cta-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
.aviso-dest {
  padding: 3px 10px;
  background: #fff;
  color: var(--rojo-dark);
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.aviso-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 5px 12px;
  border: 2px solid #fff;
  font-size: var(--fs-small);
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.aviso-link:hover .aviso-cta,
.aviso-link:focus-visible .aviso-cta { background: #fff; color: var(--rojo-dark); }
.aviso-x {
  flex: none;
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.aviso :focus-visible { outline-color: #fff; }
.aviso-link:focus-visible { outline-offset: -2px; }
@media (max-width: 767px) {
  .site-header { transition: background-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s var(--ease); }
  .site-header.is-solid { transform: translateY(calc(-1 * var(--aviso-h, 0px))); }
}
@media (prefers-reduced-motion: no-preference) {
  .aviso:not([hidden]) { animation: aviso-entra 0.7s var(--ease) 0.2s backwards; }
  .aviso-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #fff;
    animation: aviso-late 1.6s ease-out infinite;
  }
  .aviso::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 -45%;
    width: 45%;
    background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%); /* taste-skill-ignore: brillo que cruza el aviso, no es fondo */
    animation: aviso-brillo 5s ease-in-out 1.4s infinite;
    pointer-events: none;
  }
  .aviso-flecha { display: inline-block; animation: aviso-empuja 1.3s ease-in-out infinite; }
  .aviso-dest { animation: aviso-salta 5s ease-in-out 1.6s infinite; }
}
@keyframes aviso-entra { from { transform: translateY(-100%); } }
@keyframes aviso-late { from { transform: scale(1); opacity: 0.75; } to { transform: scale(3); opacity: 0; } }
@keyframes aviso-brillo { 0% { transform: translateX(0); } 35%, 100% { transform: translateX(345%); } }
@keyframes aviso-empuja { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes aviso-salta { 0%, 8%, 100% { transform: scale(1); } 4% { transform: scale(1.08); } }

/* ── Temporada (bosque): paseos de fin de año ────────────────
   Las opciones son radios con forma de tarjeta: la elegida se invierte a cal.
   Debajo, el cotizador en un campo cal (mismos campos que el formulario de contacto). */
.temp-head { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) {
  .temp-head { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 48px; }
}
.temp-head .shead + * { margin-top: 0; }
.temp-ph { display: none; }
@media (min-width: 1024px) {
  .temp-ph { display: block; }
}
.cotiza { margin-top: 32px; }
@media (min-width: 768px) {
  .cotiza { margin-top: 48px; }
}
.opciones { min-width: 0; margin: 0; padding: 0; border: 0; }
.op-legend { padding: 0; font-family: var(--display); font-size: var(--fs-3); font-weight: 800; line-height: 1.1; color: var(--on-dark); }
.temp-base { margin: 8px 0 0; font-size: var(--fs-small); color: var(--on-dark-2); }
.op-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
@media (min-width: 1024px) {
  .op-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.opcion {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 16px 14px 18px;
  background: rgba(242, 241, 236, 0.08);
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}
@media (min-width: 768px) {
  .opcion { padding: 22px 22px 24px; }
}
.opcion:hover { background: rgba(242, 241, 236, 0.15); }
.opcion input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.opcion:has(input:checked) { background: var(--cal); color: var(--ink); }
.opcion:has(input:focus-visible) { outline: 2px solid var(--on-dark); outline-offset: 3px; }
.op-n { font-size: var(--fs-small); font-weight: 700; }
.opcion:has(input:checked) .op-n::after { content: ' · elegida'; color: var(--rojo-dark); }
.op-nombre { margin-top: 2px; font-size: var(--fs-text); font-weight: 700; line-height: 1.25; }
/* Sin font-variant-numeric: el 0 tabular de Besley no tiene peso variable y sale delgado. */
.op-precio {
  margin-top: 14px;
  font-family: var(--display);
  font-size: var(--fs-2);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.op-pp, .op-finde { margin-top: 4px; font-size: var(--fs-small); font-weight: 600; }
.op-detalle { margin-top: 12px; font-size: var(--fs-small); line-height: 1.4; }
.comidas { margin-top: 12px; color: var(--on-dark); }
.comidas summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.comidas dl { display: grid; gap: 14px; max-width: 62em; margin: 4px 0 8px; }
.comidas dt { font-weight: 700; }
.comidas dd { margin: 2px 0 0; color: var(--on-dark-2); }
.cot {
  display: grid;
  gap: 0 40px;
  margin-top: 16px;
  padding: 4px 20px 24px;
  background: var(--cal);
  color: var(--ink);
}
@media (min-width: 768px) {
  .cot { padding: 12px 32px 32px; }
}
@media (min-width: 1024px) {
  .cot { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
}
.cot-campos { display: grid; gap: 0 12px; }
@media (min-width: 768px) {
  .cot-campos { grid-template-columns: 1fr 1fr 1.4fr; }
}
.cot-res { margin: 20px 0 0; font-size: var(--fs-text); line-height: 1.45; }
.cot-res b { font-family: var(--display); font-size: var(--fs-3); font-weight: 800; color: var(--bosque); }
.cot-nota { margin: 8px 0 0; font-size: var(--fs-small); font-weight: 600; color: var(--rojo-dark); }
.cot .btn { width: 100%; margin-top: 16px; }
.sec--deep .cot :focus-visible { outline-color: var(--rojo-dark); }
.cot-letra { max-width: 62em; margin: 16px 0 0; font-size: var(--fs-small); color: var(--on-dark-2); }
