/* ==========================================================================
   La Muixineta · estilos de la web
   Basado en el prototipo aprobado (diseno/inicio-prototipo.html)
   ========================================================================== */

/* ---------- Fuentes (autoalojadas, subconjuntos latin + latin-ext) ---------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/bricolage-grotesque-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/fonts/figtree-latin-ext-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Variables ---------- */
:root {
  --negro: #1A1410;
  --noche: #120E0B;
  --amarillo: #F9D73F;
  --rojo: #C42846;
  --enlace: #A8321E;
  --enlace-hover: #7E2414;
  --palido: #FFF6D2;
  --texto-2: #3D352F;
  --texto-3: #5C534C;
  --linea: #E6DCCD;
  --blanco: #FFFFFF;
  --claro-sobre-oscuro: #EDE5DC;

  --titulares: "Bricolage Grotesque", system-ui, sans-serif;
  --texto: "Figtree", system-ui, sans-serif;

  --ancho: 1240px;
  --margen: clamp(16px, 4vw, 40px);
  --seccion: clamp(64px, 9vw, 120px);
  --alto-cabecera: 89px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--alto-cabecera) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--blanco);
  color: var(--negro);
  font-family: var(--texto);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--titulares); margin: 0; }
p, figure, blockquote, ul, ol { margin: 0; }
img, picture { display: block; max-width: 100%; }
picture img { width: 100%; height: auto; }
a { color: var(--enlace); }
a:hover { color: var(--enlace-hover); }
button { font: inherit; }

/* Foco visible: oscuro sobre fondos claros, amarillo sobre fondos oscuros */
:focus-visible { outline: 3px solid var(--negro); outline-offset: 2px; }
.tema-oscuro :focus-visible, .tema-noche :focus-visible, .cabecera :focus-visible, .pie :focus-visible,
.whatsapp-flotante:focus-visible { outline-color: var(--amarillo); }
.tema-oscuro .formulario :focus-visible { outline-color: var(--negro); }

.visualmente-oculto {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.saltar {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amarillo); color: var(--negro); font-weight: 700;
  padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.saltar:focus { top: 12px; }

/* ---------- Estructura ---------- */
.contenedor { max-width: var(--ancho); margin: 0 auto; }
.seccion { padding: var(--seccion) var(--margen); }
.tema-oscuro { background: var(--negro); color: var(--blanco); }
.tema-noche { background: var(--noche); color: var(--blanco); }
.tema-amarillo { background: var(--amarillo); color: var(--negro); }
.tema-palido { background: var(--palido); }
.tema-oscuro a:not(.boton), .tema-noche a:not(.boton) { color: var(--amarillo); }

.pila { display: flex; flex-direction: column; gap: 36px; }
.pila-s { display: flex; flex-direction: column; gap: 20px; }

.antetitulo {
  font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--enlace);
}
.titulo-seccion {
  font-weight: 800; font-size: clamp(34px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.02em;
}
.cabecera-seccion { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.enlace-flecha { font-weight: 700; font-size: 17px; }
.texto-grande { font-size: 18px; line-height: 1.6; color: var(--texto-2); }
.frase-marca { font-family: var(--titulares); font-weight: 800; font-size: 22px; }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px; line-height: 1.2;
  padding: 16px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease;
}
.boton:hover { transform: translateY(-1px); }
.boton svg { flex-shrink: 0; }
.boton-amarillo { background: var(--amarillo); color: var(--negro); }
.boton-amarillo:hover { background: #FFE35C; color: var(--negro); }
.boton-oscuro { background: var(--negro); color: var(--blanco); }
.boton-oscuro:hover { background: #33291F; color: var(--blanco); }
.boton-contorno { background: transparent; color: var(--blanco); border-color: rgba(255, 255, 255, 0.7); }
.boton-contorno:hover { background: rgba(255, 255, 255, 0.08); color: var(--blanco); border-color: var(--blanco); }
.botones { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cabecera ---------- */
.cabecera {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 20, 16, 0.94);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(249, 215, 63, 0.18);
}
.cabecera-interior {
  max-width: var(--ancho); margin: 0 auto; padding: 12px var(--margen);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.marca { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--blanco); flex-shrink: 0; }
.marca:hover { color: var(--blanco); }
.marca img { width: 64px; height: 64px; }
.marca span { font-family: var(--titulares); font-weight: 800; font-size: 24px; letter-spacing: -0.01em; }

.nav-lista { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 28px; }
.nav-lista a, .nav-boton {
  color: var(--blanco); text-decoration: none; font-weight: 600; font-size: 16px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 4px;
}
.nav-lista a:hover, .nav-boton:hover, .nav-lista a[aria-current="page"] { color: var(--amarillo); }
.nav-boton svg { transition: transform .2s; }
.nav-boton[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-desplegable { position: relative; }
.submenu {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: 100%; left: -18px; min-width: 300px;
  background: var(--negro); border: 1px solid rgba(249, 215, 63, 0.25); border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: none;
}
.submenu a { display: block; padding: 10px 12px; border-radius: 10px; }
.submenu a:hover { background: rgba(249, 215, 63, 0.1); }
.nav-desplegable.abierto .submenu { display: block; }
@media (hover: hover) and (min-width: 1001px) {
  .nav-desplegable:hover .submenu { display: block; }
}

.acciones { display: flex; align-items: center; gap: 14px; }
.idiomas { display: flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 700; }
.idiomas a { color: var(--blanco); padding: 6px 8px; border-radius: 6px; text-decoration: none; }
.idiomas a:hover { color: var(--amarillo); }
.idiomas a[aria-current="true"] { color: var(--negro); background: var(--amarillo); }
.cabecera .boton { font-size: 15px; padding: 12px 18px; white-space: nowrap; }
.boton-menu {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  color: var(--blanco); background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 10px; cursor: pointer;
}
.boton-menu .icono-cerrar { display: none; }
.boton-menu[aria-expanded="true"] .icono-abrir { display: none; }
.boton-menu[aria-expanded="true"] .icono-cerrar { display: block; }
.nav-cta { display: none; }

@media (max-width: 1000px) {
  .boton-menu { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--negro); border-bottom: 4px solid var(--amarillo);
    padding: 12px var(--margen) 28px;
    max-height: calc(100vh - var(--alto-cabecera)); overflow-y: auto;
  }
  .nav.abierto { display: block; }
  .nav-lista { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-lista > li { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
  .nav-lista a, .nav-boton { font-size: 19px; padding: 14px 0; width: 100%; justify-content: space-between; }
  .submenu { position: static; display: block; min-width: 0; border: 0; box-shadow: none; padding: 0 0 10px 14px; background: none; }
  .submenu a { font-size: 17px; padding: 10px 0; color: var(--claro-sobre-oscuro); }
  .nav-desplegable .nav-boton svg { display: none; }
  .nav-cta { display: block; padding-top: 22px; border: 0 !important; }
  .nav-lista .nav-cta a.boton { width: auto; justify-content: center; padding: 16px 26px; color: var(--negro); background: var(--amarillo); font-size: 17px; font-weight: 700; }
}
@media (max-width: 640px) {
  :root { --alto-cabecera: 77px; }
  .marca img { width: 52px; height: 52px; }
  .marca span { font-size: 20px; }
  .marca { gap: 10px; }
  .acciones { gap: 8px; }
  .acciones > .boton { display: none; }
}
@media (max-width: 359px) {
  .marca span { display: none; }
}
/* Landings: el botón de presupuesto se queda también en el móvil (no hay menú) */
@media (max-width: 640px) {
  .acciones > .cta-landing { display: inline-flex; font-size: 14px; padding: 10px 14px; }
  .cabecera-landing .marca span { display: none; }
}

/* ---------- Portada (hero) ---------- */
.hero { overflow: hidden; }
.hero-interior {
  max-width: var(--ancho); margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--margen) clamp(48px, 6vw, 88px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.hero-texto { display: flex; flex-direction: column; gap: 22px; }
.lema { font-family: var(--titulares); font-weight: 800; font-size: clamp(20px, 2.4vw, 28px); color: var(--amarillo); }
.hero h1 {
  color: var(--blanco); font-weight: 800; font-size: clamp(40px, 6.2vw, 84px);
  line-height: 0.98; letter-spacing: -0.03em; max-width: 13ch;
}
.hero-sub { color: #F3ECE4; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; max-width: 34ch; }
.hero .botones { margin-top: 6px; }
.hero-prueba {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18); color: #E9E1D8; font-size: 15px; font-weight: 600;
  list-style: none; padding-left: 0;
}
.hero-prueba li:first-child { color: var(--amarillo); }
.hero-foto { position: relative; }
.hero-foto img { aspect-ratio: 4 / 5; max-height: 660px; object-fit: cover; border-radius: 28px; }
.etiqueta-girada {
  position: absolute; background: var(--amarillo); color: var(--negro);
  font-family: var(--titulares); font-weight: 800; font-size: 18px; line-height: 1.15;
  padding: 14px 18px; border-radius: 16px; transform: rotate(-3deg);
}
.hero-foto .etiqueta-girada { left: -12px; bottom: 28px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
@media (max-width: 520px) { .hero-foto .etiqueta-girada { left: 8px; } }

/* ---------- Dos columnas (foto + texto) ---------- */
.dos-columnas {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
  gap: clamp(32px, 5vw, 72px); align-items: center;
}
.foto-con-etiqueta { position: relative; }
.foto-con-etiqueta img { border-radius: 24px; }
.foto-con-etiqueta .etiqueta-girada { left: -10px; bottom: -18px; padding: 12px 18px; }
@media (max-width: 520px) { .foto-con-etiqueta .etiqueta-girada { left: 8px; } }
.tarjetas-personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 4px; }
.tarjeta-palida { background: var(--palido); border-radius: 18px; padding: 20px; }
.tarjeta-palida h3 { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.tarjeta-palida p { font-size: 16px; line-height: 1.55; color: var(--texto-2); }

/* ---------- Tarjetas de eventos ---------- */
.seccion-eventos { padding-top: 0; }
.tarjetas-eventos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.tarjeta-evento {
  display: flex; flex-direction: column; text-decoration: none;
  background: var(--negro); border-radius: 22px; overflow: hidden; transition: transform .2s ease;
}
.tarjeta-evento:hover { transform: translateY(-3px); }
.tarjeta-evento img { aspect-ratio: 4 / 3; object-fit: cover; }
.tarjeta-evento div { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.tarjeta-evento h3 { color: var(--amarillo); font-size: 22px; font-weight: 800; line-height: 1.1; }
.tarjeta-evento p { color: var(--claro-sobre-oscuro); font-size: 16px; line-height: 1.5; flex-grow: 1; }
.tarjeta-evento span { color: var(--blanco); font-weight: 700; font-size: 15px; }
.tarjeta-evento:hover span { color: var(--amarillo); }

/* ---------- Pasos ---------- */
.pasos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 28px; list-style: none; padding: 0; }
.paso { display: flex; flex-direction: column; gap: 10px; }
.paso-numero { font-family: var(--titulares); font-weight: 800; font-size: 72px; line-height: 0.9; }
.paso h3 { font-size: 24px; font-weight: 800; }
.paso p { font-size: 17px; line-height: 1.55; }

/* ---------- Platos ---------- */
.platos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 20px; }
.plato { display: flex; flex-direction: column; gap: 12px; }
.plato img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
.plato h3 { color: var(--amarillo); font-size: 22px; font-weight: 800; }
.plato p { color: #E2D9CF; font-size: 15px; line-height: 1.5; }
.texto-tenue { color: #E2D9CF; font-size: 17px; }
/* "Y mucho más…" bajo los platos de la casa: bien visible */
.mas-platos {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px;
  padding: 26px 0; border-top: 2px solid rgba(249, 215, 63, 0.35); border-bottom: 2px solid rgba(249, 215, 63, 0.35);
}
.mas-platos p {
  flex: 1 1 420px; font-family: var(--titulares); font-weight: 700; color: var(--blanco);
  font-size: clamp(21px, 2.4vw, 28px); line-height: 1.3;
}
.mas-platos strong { color: var(--amarillo); }
.aviso-dietas {
  background: rgba(249, 215, 63, 0.09); border: 1px solid rgba(249, 215, 63, 0.35);
  border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px;
}
.aviso-dietas h3 { color: var(--amarillo); font-size: 20px; font-weight: 800; }
.aviso-dietas p { color: var(--claro-sobre-oscuro); font-size: 16px; line-height: 1.6; }

/* ---------- Cifras (con foto de fondo) ---------- */
.seccion-cifras { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 128px); }
.fondo-foto, .fondo-foto img { position: absolute; inset: 0; width: 100%; height: 100%; }
.fondo-foto img { object-fit: cover; opacity: 0.32; }
.fondo-velo { position: absolute; inset: 0; background: rgba(18, 14, 11, 0.55); }
.seccion-cifras .contenedor { position: relative; display: flex; flex-direction: column; gap: 40px; }
.cifras { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; list-style: none; padding: 0; }
@media (max-width: 900px) { .cifras { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .cifras { gap: 24px 16px; }
  .cifra-valor { font-size: 44px; }
  .cifra-texto { font-size: 15px; }
}
.cifra { display: flex; flex-direction: column; gap: 4px; border-top: 3px solid var(--amarillo); padding-top: 14px; }
.cifra-valor { font-family: var(--titulares); font-weight: 800; font-size: 56px; line-height: 1; color: var(--amarillo); }
.cifra-texto { color: var(--blanco); font-size: 17px; font-weight: 600; }
.seccion-cifras .nota { color: var(--claro-sobre-oscuro); font-size: 17px; line-height: 1.6; max-width: 70ch; }

/* ---------- Historia ---------- */
.historia .dos-columnas { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.historia img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; max-height: 620px; }
.historia .texto-grande { line-height: 1.65; }

/* ---------- Testimonios ---------- */
.testimonios { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.testimonio { background: var(--blanco); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.testimonio-comillas { font-family: var(--titulares); font-weight: 800; font-size: 64px; line-height: 0.6; color: var(--rojo); }
.testimonio blockquote { font-size: 20px; line-height: 1.45; font-weight: 600; }
.testimonio figcaption { font-size: 15px; line-height: 1.5; color: var(--texto-3); font-style: italic; }

/* ---------- Clientes ---------- */
.seccion-clientes { padding-block: clamp(56px, 7vw, 88px); border-bottom: 1px solid #EFE7DB; }
.seccion-clientes .contenedor { display: flex; flex-direction: column; gap: 32px; align-items: center; text-align: center; }
.seccion-clientes h2 { font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.01em; }
.logos { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 44px; }
/* Cada logo trae su alto (--alto) calculado para que todos pesen visualmente parecido */
.logos img {
  height: var(--alto, 56px); width: auto; max-width: 180px; object-fit: contain;
  filter: grayscale(1); opacity: 0.62; transition: filter .25s ease, opacity .25s ease;
}
.logos li:hover img { filter: none; opacity: 1; }
@media (max-width: 640px) { .logos { gap: 22px 30px; } .logos img { height: calc(var(--alto, 56px) * 0.8); max-width: 140px; } }

/* ---------- Preguntas frecuentes ---------- */
.faq-contenedor { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.faq-lista { border-top: 1px solid var(--linea); }
.faq-lista details { border-bottom: 1px solid var(--linea); padding: 6px 0; }
.faq-lista summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0;
  font-family: var(--titulares); font-weight: 700; font-size: 21px; line-height: 1.25;
  cursor: pointer; list-style: none;
}
.faq-lista summary::-webkit-details-marker { display: none; }
.faq-mas { font-size: 30px; line-height: 1; color: var(--rojo); transition: transform .2s; flex-shrink: 0; }
.faq-lista details[open] .faq-mas { transform: rotate(45deg); }
.faq-respuesta { font-size: 17px; line-height: 1.6; color: var(--texto-2); padding: 0 0 18px; }
.faq-respuesta p + p { margin-top: 10px; }

/* ---------- Formulario ---------- */
.presupuesto-rejilla {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.presupuesto-texto { display: flex; flex-direction: column; gap: 22px; }
.presupuesto-texto h2 { font-weight: 800; font-size: clamp(36px, 4.8vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.presupuesto-texto > p { font-size: 19px; line-height: 1.55; color: var(--claro-sobre-oscuro); max-width: 36ch; }
.vias-titulo { font-family: var(--titulares); font-weight: 700; font-size: 20px; margin-top: 8px; }
.vias { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.via { display: flex; align-items: center; gap: 14px; color: var(--blanco) !important; text-decoration: none; font-size: 18px; font-weight: 600; }
.via:hover { color: var(--amarillo) !important; }
.via-icono {
  width: 48px; height: 48px; border-radius: 999px; border: 2px solid var(--amarillo); color: var(--amarillo);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.via-icono.lleno { background: var(--amarillo); color: var(--negro); }

.formulario {
  background: var(--blanco); color: var(--negro); border-radius: 24px; padding: clamp(22px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 16px;
}
.campo { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.campo .opcional { font-weight: 400; color: var(--texto-3); }
.campo .req { color: var(--rojo); }
.campo input, .campo textarea {
  font: inherit; font-weight: 400; font-size: 17px; padding: 14px 16px;
  border: 1.5px solid #B9AD9F; border-radius: 12px; background: var(--blanco); color: var(--negro); width: 100%;
}
.campo textarea { resize: vertical; min-height: 120px; }
.campo input:focus-visible, .campo textarea:focus-visible { outline: 3px solid var(--amarillo); outline-offset: 1px; border-color: var(--negro); }
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulario button[type="submit"] {
  font: inherit; background: var(--amarillo); color: var(--negro); font-weight: 800; font-size: 18px;
  padding: 16px 24px; border: 0; border-radius: 999px; cursor: pointer;
}
.formulario button[type="submit"]:hover { background: #FFE35C; }
.formulario button[type="submit"]:focus-visible { outline-color: var(--negro); }
.formulario button[disabled] { opacity: 0.6; cursor: wait; }
.form-legal { font-size: 14px; line-height: 1.5; color: var(--texto-3); }
.form-legal a { color: var(--enlace) !important; }
.form-mensaje { font-size: 15px; line-height: 1.5; border-radius: 12px; padding: 12px 14px; background: #FDECEF; color: #7A1328; }
.form-mensaje[hidden] { display: none; }
.form-mensaje a { color: #7A1328 !important; font-weight: 700; }

/* ---------- Pie ---------- */
.pie { background: var(--noche); color: #D8CFC5; padding: 56px var(--margen) 96px; border-top: 4px solid var(--amarillo); }
.pie-interior { max-width: var(--ancho); margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.pie-columnas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.pie-marca { display: flex; flex-direction: column; gap: 12px; max-width: 360px; }
.pie-marca .marca img { width: 96px; height: 96px; }
.pie-marca .marca span { font-size: 28px; }
.pie-marca p { font-size: 15px; line-height: 1.55; }
.pie .lema { font-size: 20px; }
.redes { display: flex; gap: 10px; margin-top: 4px; list-style: none; padding: 0; }
.redes a {
  width: 48px; height: 48px; border-radius: 999px; background: var(--amarillo); color: var(--negro);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .15s ease;
}
.redes a:hover { transform: translateY(-2px); color: var(--negro); }
.pie-lista { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.pie-lista a { color: var(--blanco); text-decoration: none; }
.pie-lista a:hover { color: var(--amarillo); text-decoration: underline; }
.pie-legal {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 14px;
}
.pie-legal ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.pie-legal a, .pie-legal button { color: #D8CFC5; }
.pie-legal button { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: 14px; }
.pie-legal a:hover, .pie-legal button:hover { color: var(--amarillo); }

/* ==========================================================================
   Páginas interiores
   ========================================================================== */

/* Texto sobre fondos oscuros */
.tema-oscuro .texto-grande, .tema-noche .texto-grande,
.tema-oscuro .nota-bloque, .tema-noche .nota-bloque { color: var(--claro-sobre-oscuro); }
.tema-oscuro .antetitulo, .tema-noche .antetitulo { color: var(--amarillo); }
.tema-amarillo .texto-grande, .tema-amarillo .nota-bloque { color: var(--negro); }
.tema-oscuro .titulo-seccion, .tema-noche .titulo-seccion { color: var(--blanco); }

/* Dos secciones blancas seguidas: sin doble espacio entre ellas */
.seccion.tema-claro + .seccion.tema-claro { padding-top: 0; }

.contenedor.estrecho { max-width: 860px; }
.contenedor.ancho { max-width: var(--ancho); }
.nota-bloque { font-size: 17px; line-height: 1.6; color: var(--texto-2); }

/* Portada interior: titular algo más pequeño que en Inicio */
.hero-pagina h1 { font-size: clamp(36px, 5.2vw, 68px); line-height: 1.02; max-width: 16ch; }
.hero-pagina.sin-foto { grid-template-columns: 1fr; }
.hero-pagina.sin-foto h1 { max-width: 22ch; }
.hero-legal { padding-block: clamp(40px, 5vw, 64px); }
.hero-foto.apaisada img { aspect-ratio: 4 / 3; }

/* Botón con borde oscuro (sobre fondos claros) */
.boton-contorno-oscuro { background: transparent; color: var(--negro); border-color: var(--negro); }
.boton-contorno-oscuro:hover { background: rgba(26, 20, 16, 0.06); color: var(--negro); }

/* Foto a la derecha en escritorio */
@media (min-width: 1000px) { .foto-derecha .bloque-foto { order: 2; } }
.dos-columnas.arriba { align-items: start; }
.bloque-foto img { border-radius: 24px; }

/* Listas */
.lista-check { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.lista-check li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.55; }
.lista-check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 999px;
  background: var(--amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1410' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.lista-check.dos-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px 28px; }
.tema-claro .lista-check li, .tema-palido .lista-check li { color: var(--texto-2); }
.tema-oscuro .lista-check li, .tema-noche .lista-check li { color: var(--claro-sobre-oscuro); }
.lista-check strong { color: inherit; }
.tema-claro .lista-check strong, .tema-palido .lista-check strong { color: var(--negro); }

.lista-tarjetas { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.lista-tarjetas li {
  position: relative; border-radius: 18px; padding: 20px 22px 20px 58px; font-size: 16px; line-height: 1.55;
  background: var(--palido); color: var(--texto-2);
}
.lista-tarjetas li strong { display: block; font-family: var(--titulares); font-size: 19px; color: var(--negro); margin-bottom: 2px; }
.lista-tarjetas li::before {
  content: ""; position: absolute; left: 20px; top: 22px; width: 24px; height: 24px; border-radius: 999px;
  background: var(--amarillo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A1410' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.tema-oscuro .lista-tarjetas li, .tema-noche .lista-tarjetas li {
  background: rgba(249, 215, 63, 0.08); border: 1px solid rgba(249, 215, 63, 0.3); color: var(--claro-sobre-oscuro);
}
.tema-oscuro .lista-tarjetas li strong, .tema-noche .lista-tarjetas li strong { color: var(--amarillo); }
.tema-palido .lista-tarjetas li { background: var(--blanco); }

/* Tablas */
.tabla-envoltura { overflow-x: auto; border-radius: 18px; border: 1px solid var(--linea); }
.tabla { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; background: var(--blanco); color: var(--negro); }
.tabla th, .tabla td { text-align: left; vertical-align: top; padding: 14px 16px; border-bottom: 1px solid var(--linea); }
.tabla thead th { background: var(--negro); color: var(--amarillo); font-family: var(--titulares); font-size: 16px; white-space: nowrap; }
.tabla tbody th { font-weight: 700; min-width: 140px; }
.tabla tbody tr:nth-child(even) { background: #FFFBEA; }
.tabla tbody tr:last-child th, .tabla tbody tr:last-child td { border-bottom: 0; }
.tabla td { color: var(--texto-2); }

/* Catálogo */
.catalogo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); gap: 16px; }
.catalogo-grupo { background: var(--palido); border-radius: 18px; padding: 22px; }
.catalogo-grupo h3 { font-size: 20px; font-weight: 800; margin-bottom: 8px; }
.catalogo-grupo p { font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.tema-palido .catalogo-grupo { background: var(--blanco); }

/* Galería */
.galeria { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.galeria img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 18px; }
@media (max-width: 900px) { .galeria { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .galeria { grid-template-columns: repeat(2, 1fr); gap: 10px; } .galeria img { border-radius: 14px; } }

/* Línea de tiempo */
.camino { list-style: none; padding: 0; border-left: 3px solid var(--amarillo); display: flex; flex-direction: column; gap: 22px; margin-left: 8px; }
.camino li { position: relative; padding-left: 26px; }
.camino li::before {
  content: ""; position: absolute; left: -10px; top: 5px; width: 17px; height: 17px; border-radius: 999px;
  background: var(--amarillo); border: 3px solid var(--blanco); box-shadow: 0 0 0 1px var(--amarillo);
}
.camino-fecha { display: block; font-family: var(--titulares); font-weight: 800; font-size: 19px; margin-bottom: 2px; }
.camino p { font-size: 17px; line-height: 1.55; color: var(--texto-2); }
.tema-palido .camino li::before { border-color: var(--palido); }

/* Destacado */
.destacado { background: var(--amarillo); border-radius: 24px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.destacado h2 { font-weight: 800; font-size: clamp(26px, 3vw, 34px); }
.destacado p { font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }

/* Un solo testimonio */
.testimonios.uno { grid-template-columns: minmax(0, 760px); }

/* Platos también sobre fondo claro */
.tema-claro .plato h3, .tema-palido .plato h3 { color: var(--negro); }
.tema-claro .plato p, .tema-palido .plato p { color: var(--texto-2); }

/* ---------- Contacto ---------- */
.contacto-rejilla { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (max-width: 900px) { .contacto-rejilla { grid-template-columns: 1fr; } }
.contacto-principal { display: flex; flex-direction: column; gap: 18px; }
.contacto-principal h1 { color: var(--blanco); font-weight: 800; font-size: clamp(36px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.02em; }
.contacto-principal .formulario { margin-top: 10px; }
.contacto-info { display: flex; flex-direction: column; gap: 36px; padding-top: 8px; }
.contacto-info h2 { font-weight: 800; font-size: 28px; color: var(--blanco); margin-bottom: 14px; }
.contacto-nota { color: var(--claro-sobre-oscuro); font-size: 16px; line-height: 1.6; margin-top: 14px; }
.contacto-nota a { color: var(--amarillo); }
.lista-pasos { padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--claro-sobre-oscuro); font-size: 17px; line-height: 1.55; }
.lista-pasos li::marker { color: var(--amarillo); font-weight: 800; font-family: var(--titulares); }
.lista-pasos strong { color: var(--blanco); }
.via strong { font-weight: 700; }

/* ---------- Gracias ---------- */
.seccion-gracias { min-height: 60vh; padding-block: clamp(64px, 10vw, 140px); }
.seccion-gracias h1 { color: var(--blanco); font-weight: 800; font-size: clamp(40px, 6vw, 76px); line-height: 1; letter-spacing: -0.03em; }
.seccion-gracias .hero-sub { max-width: none; }
.seccion-gracias .hero-sub strong { color: var(--amarillo); }
.seccion-gracias .lema { margin-top: 18px; }
.firma { color: var(--claro-sobre-oscuro); font-size: 18px; }

/* ---------- Textos legales ---------- */
.prosa { font-size: 17px; line-height: 1.7; color: var(--texto-2); }
.prosa > * + * { margin-top: 14px; }
.prosa h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: var(--negro); margin-top: 40px; line-height: 1.2; }
.prosa h2:first-child { margin-top: 0; }
.prosa ul { padding-left: 22px; }
.prosa li + li { margin-top: 6px; }
.prosa strong { color: var(--negro); }
.prosa table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; display: block; overflow-x: auto; }
.prosa th, .prosa td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--linea); }
.prosa thead th { background: var(--negro); color: var(--amarillo); white-space: nowrap; }
.prosa a { word-break: break-word; }
.actualizado { margin-top: 40px !important; color: var(--texto-3); font-size: 15px; }

/* ---------- Cookies: aviso inferior (no bloquea la web) y panel de configuración ---------- */
.cookies {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--negro); color: var(--claro-sobre-oscuro);
  border-top: 4px solid var(--amarillo); box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
}
.cookies[hidden] { display: none; }
.cookies-interior {
  max-width: var(--ancho); margin: 0 auto; padding: 18px var(--margen);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
}
.cookies-texto { flex: 1 1 420px; font-size: 15px; line-height: 1.5; }
.cookies-titulo { font-family: var(--titulares); font-weight: 800; font-size: 19px; color: var(--blanco); margin-bottom: 4px; }
.cookies a { color: var(--amarillo); }
.cookies-botones { display: flex; flex-wrap: wrap; gap: 10px; flex: 0 1 auto; }
/* Los tres botones con el mismo peso visual */
.boton-cookies {
  font: inherit; font-weight: 700; font-size: 15px; min-width: 120px; padding: 12px 20px; border-radius: 999px; cursor: pointer;
  background: var(--amarillo); color: var(--negro); border: 2px solid var(--amarillo);
}
.boton-cookies:hover { background: #FFE35C; border-color: #FFE35C; }
@media (max-width: 560px) {
  .cookies-interior { padding-block: 14px; }
  .cookies-botones { width: 100%; }
  .boton-cookies { flex: 1 1 0; min-width: 0; padding-inline: 8px; }
}

.cookies-panel {
  width: min(560px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  padding: 0; border: 0; border-radius: 24px; background: var(--blanco); color: var(--negro);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.cookies-panel::backdrop { background: rgba(18, 14, 11, 0.6); }
.cookies-panel-form { padding: clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 6px; }
.cookies-panel-cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.cookies-panel h2 { font-weight: 800; font-size: 26px; }
.cookies-cerrar { background: none; border: 0; padding: 6px; border-radius: 10px; cursor: pointer; color: var(--negro); }
.cookies-opcion {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--linea); cursor: pointer;
}
.cookies-opcion:first-of-type { cursor: default; }
.cookies-opcion p:not(.cookies-opcion-titulo), .cookies-opcion-texto { display: block; font-size: 15px; line-height: 1.5; color: var(--texto-2); }
.cookies-opcion-titulo { display: block; font-family: var(--titulares); font-weight: 700; font-size: 18px; color: var(--negro); }
.cookies-siempre { font-size: 14px; font-weight: 700; color: var(--texto-3); white-space: nowrap; }
.cookies-guardar { justify-content: center; margin-top: 14px; border: 0; }
.cookies-guardar:focus-visible { outline-color: var(--negro); }

/* Interruptor (checkbox con aspecto de botón deslizante) */
.interruptor {
  appearance: none; -webkit-appearance: none; flex-shrink: 0; margin: 0; cursor: pointer;
  width: 52px; height: 30px; border-radius: 999px; background: #B9AD9F; position: relative; transition: background .2s;
}
.interruptor::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 999px;
  background: var(--blanco); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); transition: transform .2s;
}
.interruptor:checked { background: var(--negro); }
.interruptor:checked::after { transform: translateX(22px); background: var(--amarillo); }
.interruptor:focus-visible { outline: 3px solid var(--negro); outline-offset: 2px; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-flotante {
  position: fixed; right: 18px; bottom: calc(18px + var(--alto-cookies, 0px)); z-index: 40;
  width: 60px; height: 60px; border-radius: 999px; background: var(--amarillo); color: var(--negro);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28); transition: transform .15s ease;
}
.whatsapp-flotante:hover { transform: scale(1.06); color: var(--negro); }

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