/* ============================================================
   CASA MAESTRO BISTRÓ — casamaestrobistro.com
   Diseño minimalista y moderno · Rojo corporativo #8E2F2F
   ============================================================ */

:root {
  --red: #8E2F2F;
  --red-dark: #732424;
  --cream: #FAF7F2;
  --white: #FFFFFF;
  --ink: #211C19;
  --stone: #6E645D;
  --line: #E8E0D6;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* ---------- Tipografía ---------- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 18px;
}

.section-title { font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 24px; }

.lead { font-size: 19px; color: var(--stone); max-width: 640px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1px solid currentColor;
  transition: all 0.35s ease;
  cursor: pointer;
  background: transparent;
}

.btn-solid { background: var(--red); border-color: var(--red); color: var(--white); }
.btn-solid:hover { background: var(--red-dark); border-color: var(--red-dark); }

.btn-outline-dark { color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: var(--cream); }

.btn-outline-light { color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

.btn-violet { background: #5B3A73; border-color: #5B3A73; color: var(--white); }
.btn-violet:hover { background: #472C5C; border-color: #472C5C; }

.text-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  border-bottom: 1px solid var(--red);
  padding-bottom: 4px;
  transition: opacity 0.3s;
}
.text-link:hover { opacity: 0.6; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--red);
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(33, 28, 25, 0.25); }

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 46px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 38px; }

.main-nav a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.3s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-bottom-color: var(--white); }

.main-nav .nav-cta {
  border: 1px solid rgba(255,255,255,0.7);
  padding: 10px 22px !important;
}
.nav-cta:hover { background: var(--white); color: var(--red) !important; border-bottom-color: transparent !important; }

/* Selector de idioma */
.lang-switch { position: relative; }
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 9px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: border-color 0.3s;
}
.lang-btn:hover { border-color: var(--white); }
.lang-btn svg { width: 10px; height: 10px; transition: transform 0.25s; }
.lang-switch.open .lang-btn svg { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--white);
  min-width: 148px;
  box-shadow: 0 12px 32px rgba(33,28,25,0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s ease;
  list-style: none;
}
.lang-switch.open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang-menu button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 11px 18px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s;
}
.lang-menu button:hover { background: var(--cream); }
.lang-menu button.active { color: var(--red); font-weight: 500; }

/* Hamburguesa */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 30px;
  height: 22px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }
body.nav-open .nav-toggle span:nth-child(1) { top: 10px; transform: rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { top: 10px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: var(--white);
}

.hero video, .hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,14,12,0.35) 0%, rgba(20,14,12,0.45) 60%, rgba(20,14,12,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px;
  max-width: 880px;
}

.hero-mark { height: 74px; width: auto; margin: 0 auto 30px; }

.hero-content .eyebrow { color: rgba(255,255,255,0.85); }

.hero-title {
  font-size: clamp(42px, 6.5vw, 84px);
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.9);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  animation: floaty 2.6s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }

/* Hero interior (páginas) */
.page-hero {
  position: relative;
  height: 62vh;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  overflow: hidden;
}
.page-hero img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,14,12,0.3), rgba(20,14,12,0.62));
}
.page-hero .container { position: relative; z-index: 2; padding-bottom: 64px; }
.page-hero .eyebrow { color: rgba(255,255,255,0.85); }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 72px); }

/* En escritorio el banner quedaba como una franja muy apaisada (2,6:1) y las
   fotos son 3:2, así que el "cover" solo dejaba ver el 58% de la altura y el
   plano parecía un primerísimo plano. Con 78vh se ve ~75% de la foto SIN
   ampliarla más: mientras el alto de la caja sea menor que ancho/1,5 el
   escalado lo manda el ancho, no el alto. De ahí el tope de 66vw (≈ ancho/1,5):
   evita que en ventanas muy altas el recorte pase a mandarlo el alto y la foto
   se vuelva a ampliar. El móvil no entra aquí y mantiene los 62vh. */
@media (min-width: 1024px) {
  .page-hero { height: 78vh; max-height: 66vw; }
}

/* ---------- Layout ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 28px; }
.container-narrow { max-width: 860px; margin: 0 auto; padding: 0 28px; }

section { padding: 110px 0; }
section.tight { padding: 80px 0; }

.bg-white { background: var(--white); }
.bg-red { background: var(--red); color: var(--white); }
.bg-ink { background: var(--ink); color: var(--cream); }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Intro ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.split.reverse > *:first-child { order: 2; }

.split-img { position: relative; }
.split-img img { width: 100%; height: 560px; object-fit: cover; }
.split-img::before {
  content: "";
  position: absolute;
  top: 24px; left: -24px; right: 24px; bottom: -24px;
  border: 1px solid var(--red);
  opacity: 0.35;
  pointer-events: none;
}
.split.reverse .split-img::before { left: 24px; right: -24px; }

.split-body p { margin-bottom: 20px; color: var(--stone); }
.split-body p strong { color: var(--ink); font-weight: 500; }

.stat-row { display: flex; gap: 56px; margin-top: 38px; }
.stat { display: flex; flex-direction: column; }
.stat .num {
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--red);
  line-height: 1;
}
.stat .label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone); margin-top: 8px; }

/* ---------- Pilares ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
  margin-top: 70px;
}
.pillar { text-align: center; padding: 0 12px; }
.pillar .pillar-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 20px;
  color: var(--red);
  display: block;
  margin-bottom: 16px;
}
.pillar h3 { font-size: 27px; margin-bottom: 14px; }
.pillar p { color: var(--stone); font-size: 16px; }

/* ---------- Equipo ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 70px;
}
.team-card { text-align: center; }
.team-card figure {
  overflow: hidden;
  margin-bottom: 26px;
  aspect-ratio: 3 / 4;
}
.team-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.team-card:hover img { transform: scale(1.04); }
.team-card .role {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 8px;
}
.team-card h3 { font-size: 28px; margin-bottom: 10px; }
.team-card p { color: var(--stone); font-size: 15.5px; max-width: 320px; margin: 0 auto; }

/* ---------- Galería / tarjetas de espacio ---------- */
.space-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px 56px;
  margin-top: 70px;
}
.space-card figure { overflow: hidden; aspect-ratio: 16 / 11; margin-bottom: 26px; }
.space-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.space-card:hover img { transform: scale(1.04); }
.space-card .num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--red);
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}
.space-card h3 { font-size: 30px; margin-bottom: 12px; }
.space-card p { color: var(--stone); font-size: 16px; max-width: 520px; }

/* Mosaico platos */
.dish-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 70px;
}
.dish-grid figure { overflow: hidden; aspect-ratio: 3 / 4; margin: 0; position: relative; }
.dish-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.dish-grid figure:hover img { transform: scale(1.05); }

/* ---------- Cinta destacada (bodega / cisterna) ---------- */
.feature-band { position: relative; overflow: hidden; }
.feature-band .band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-band::after { content: ""; position: absolute; inset: 0; background: rgba(24,16,14,0.66); }
.feature-band .container { position: relative; z-index: 2; }
.feature-band { color: var(--white); padding: 150px 0; }
.feature-band .eyebrow { color: rgba(255,255,255,0.8); }
.feature-band h2 { font-size: clamp(34px, 4.2vw, 52px); margin-bottom: 20px; max-width: 700px; }
.feature-band p { max-width: 620px; color: rgba(255,255,255,0.88); margin-bottom: 34px; }

/* ---------- Reservas ---------- */
.reserve-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.reserve-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 46px 38px;
}
.bg-red .reserve-card {
  background: transparent;
  border-color: rgba(255,255,255,0.25);
}
.bg-white .reserve-card {
  background: var(--cream);
  border-color: var(--line);
  box-shadow: 0 14px 34px rgba(33,28,25,0.06);
}
.reserve-card h3 { font-size: 25px; margin-bottom: 16px; }
.reserve-card p { font-size: 16px; color: var(--stone); margin-bottom: 8px; }
.bg-red .reserve-card p { color: rgba(255,255,255,0.85); }
.reserve-card .big {
  font-family: var(--font-display);
  font-size: 27px;
  color: var(--ink);
  display: block;
  margin: 6px 0 10px;
}
.bg-red .reserve-card .big { color: var(--white); }
.reserve-card .text-link { display: inline-block; margin-top: 14px; }
.bg-red .text-link { color: var(--white); border-bottom-color: rgba(255,255,255,0.7); }

.hours { list-style: none; font-size: 15.5px; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.bg-red .hours li { border-bottom-color: rgba(255,255,255,0.18); }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 400; }
.hours .time { color: var(--stone); text-align: right; white-space: nowrap; }
.bg-red .hours .time { color: rgba(255,255,255,0.8); }
.hours .closed { color: var(--red); letter-spacing: 0.08em; }
.bg-red .hours .closed { color: rgba(255,255,255,0.6); }

/* ---------- Carta / menú ---------- */
.menu-cta-box {
  border: 1px solid var(--line);
  background: var(--white);
  padding: 70px 48px;
  text-align: center;
  margin-top: 60px;
}
.menu-cta-box h3 { font-size: 32px; margin-bottom: 14px; }
.menu-cta-box p { color: var(--stone); max-width: 560px; margin: 0 auto 32px; }
.menu-cta-box .btn + .btn { margin-left: 14px; }

.quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.4;
  max-width: 780px;
  margin: 0 auto;
}
.quote-source {
  display: block;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 26px;
  color: var(--stone);
}
.bg-red .quote-source { color: rgba(255,255,255,0.7); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--red);
  color: rgba(255,255,255,0.85);
  padding: 90px 0 0;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 70px;
}
.footer-brand img { height: 64px; margin-bottom: 22px; }
.footer-brand p { max-width: 300px; }
.site-footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 22px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* ---------- Animación de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Especialidades (platos con nombre) ---------- */
.specialties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 30px;
  margin-top: 66px;
}
.specialty figure {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0 0 20px;
}
.specialty img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.specialty:hover img { transform: scale(1.05); }
.specialty .course {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 9px;
}
.specialty h3 {
  font-size: 25px;
  line-height: 1.2;
}

/* Galería secundaria (sin título) */
.dish-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.dish-strip figure { overflow: hidden; aspect-ratio: 1 / 1; margin: 0; }
.dish-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.dish-strip figure:hover img { transform: scale(1.06); }

/* Banda de eventos: dos fotos del mismo tamaño */
.events-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 60px;
}
.events-duo figure { overflow: hidden; margin: 0; aspect-ratio: 4 / 3; }
.events-duo figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.events-duo figure:hover img { transform: scale(1.04); }

/* ---------- Slideshow automático ---------- */
.slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.slideshow .slide.active {
  opacity: 1;
  z-index: 1;
}
.slideshow-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
}
.slideshow-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.25);
  padding: 0;
  cursor: pointer;
  transition: background 0.3s;
}
.slideshow-dots button.active { background: var(--white); }

/* Slideshow horizontal: recorte sobre fotos de plato (verticales 3:4 de
   origen). En un marco 4:3 el "cover" solo deja ver la franja central del 56%
   de la altura, así que cada <img class="slide"> lleva su propio
   object-position vertical en línea (en el HTML) para dejar el plato centrado.
   Fórmula: Y% = (centro_del_plato − 0,28) / 0,4375, con el centro del plato
   medido como fracción de la altura de la foto original. */
.slideshow-frame {
  aspect-ratio: 4 / 3;
  max-width: 680px;
  margin: 0 auto;
  background: var(--ink);
  box-shadow: 0 30px 66px rgba(20, 14, 12, 0.26);
}
.slideshow-frame .slide {
  object-fit: cover;
}
.slideshow-frame .slideshow-dots { bottom: 18px; }

/* ---------- Slideshow showcase: dípticos panorámicos con Ken Burns ----------
   Cada diapositiva son DOS fotos verticales una al lado de otra. Las fotos de
   plato son todas 3:4 de origen, así que dos en paralelo dan justo un formato
   ancho (1.5:1) SIN recortarlas: se ven enteras y aun así la sección resulta
   panorámica. Por eso el marco es 1.5/1 y no un 16:9 o 2:1, que obligarían a
   recortar el plato. */
.slideshow-showcase {
  aspect-ratio: 1.5 / 1;
  /* A 1.5:1 el ancho completo daría un alto mayor que la ventana en portátiles.
     Atamos el ancho a la altura disponible (1.5 x 82vh) para que el díptico
     entero se vea de un vistazo, sin recortar las fotos. */
  width: min(100%, 123vh);
  margin-inline: auto;
  background: var(--ink);
  box-shadow: 0 44px 96px rgba(20, 14, 12, 0.34);
}
.slideshow-showcase .slide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  overflow: hidden;
}
.slideshow-showcase .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 8s ease-out;
}
.slideshow-showcase .slide.active img {
  transform: scale(1);
}
/* Velo inferior para que flechas y contador se lean sobre cualquier foto. */
.slideshow-showcase::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to top, rgba(18, 13, 11, 0.62), rgba(18, 13, 11, 0));
}

.slideshow-ui {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.slideshow-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  background: none;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
}
.slideshow-arrow:hover { color: var(--white); transform: scale(1.18); }
.slideshow-arrow svg {
  width: 13px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.slideshow-counter {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.92);
  min-width: 74px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .slideshow-showcase .slide { transition: opacity 0.4s ease; }
  .slideshow-showcase .slide img,
  .slideshow-showcase .slide.active img { transform: none; transition: none; }
}

/* ---------- Experiencias: ficha del Menú Degustación ---------- */
.tasting {
  max-width: 880px;
  margin: 60px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 66px 56px 56px;
  text-align: left;
}
.tasting-head { text-align: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.tasting-head h3 { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 12px; }
.tasting-head .tagline {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 22px;
}
.tasting-head p { color: var(--stone); max-width: 620px; margin: 0 auto; }

.tasting-block-title {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--stone);
  margin: 44px 0 6px;
}

.tasting-course {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.tasting-course .qty {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1;
  color: var(--red);
}
.tasting-course h4 { font-family: var(--font-display); font-size: 23px; margin-bottom: 5px; }
.tasting-course p { color: var(--stone); font-size: 16px; margin: 0; }

.tasting-price {
  text-align: center;
  margin-top: 46px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.tasting-price .amount {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(46px, 6vw, 62px);
  line-height: 1;
  color: var(--red);
}
.tasting-price .per {
  display: block;
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 14px;
}

/* Maridaje opcional: bloque secundario, en crema para diferenciarlo del menú */
.tasting-pairing {
  max-width: 880px;
  margin: 0 auto;
  background: var(--cream);
  border: 1px solid var(--line);
  border-top: 0;
  padding: 46px 56px;
  text-align: center;
}
.tasting-pairing .eyebrow { margin-bottom: 12px; }
.tasting-pairing h4 { font-family: var(--font-display); font-size: 27px; margin-bottom: 14px; }
.tasting-pairing p { color: var(--stone); max-width: 580px; margin: 0 auto 24px; }
.tasting-pairing .pairing-price {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--red);
}
.tasting-pairing .pairing-note {
  display: block;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 8px;
}

/* Etiquetas de temáticas de los eventos del Jueves Divino */
.exp-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.exp-tag {
  border: 1px solid var(--line);
  padding: 9px 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}
.feature-band .exp-tags { justify-content: center; }
.feature-band .exp-tag { border-color: rgba(255,255,255,0.4); color: rgba(255,255,255,0.9); }

@media (max-width: 760px) {
  .tasting { padding: 46px 26px 40px; }
  .tasting-pairing { padding: 36px 26px; }
  .tasting-course { grid-template-columns: 44px 1fr; gap: 16px; }
  .tasting-course .qty { font-size: 30px; }
}

/* ---------- Detalles de alta cocina ---------- */
::selection { background: var(--red); color: var(--white); }

.hero-title em, .section-title em {
  font-style: italic;
  font-weight: 400;
}

.quote { position: relative; }
.quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-size: 110px;
  line-height: 0.4;
  color: var(--red);
  opacity: 0.35;
  margin-bottom: 18px;
}

/* Cinta tipográfica (marquee) */
.ribbon {
  background: var(--ink);
  overflow: hidden;
  padding: 22px 0;
}
.ribbon-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: ribbon 42s linear infinite;
}
.ribbon-track span {
  color: rgba(250, 247, 242, 0.85);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ribbon-track i {
  font-style: normal;
  color: #C9807D;
  font-size: 16px;
  line-height: 1;
}
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ribbon-track { animation: none; }
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 64px auto 0;
  text-align: left;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 28px 4px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.25;
  transition: color 0.3s;
}
.faq-item summary:hover { color: var(--red); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 28px;
  color: var(--red);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  color: var(--stone);
  padding: 0 4px 30px;
  max-width: 700px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .split { grid-template-columns: 1fr; gap: 60px; }
  .split.reverse > *:first-child { order: 0; }
  .split-img img { height: 420px; }
  .pillars, .team-grid, .reserve-cards { grid-template-columns: 1fr; gap: 48px; }
  .team-card figure { max-width: 420px; margin-left: auto; margin-right: auto; }
  .space-grid { grid-template-columns: 1fr; gap: 60px; }
  .dish-grid { grid-template-columns: repeat(2, 1fr); }
  .specialties { grid-template-columns: repeat(2, 1fr); gap: 34px 22px; }
  .dish-strip { grid-template-columns: repeat(3, 1fr); }
  .events-duo { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  section { padding: 80px 0; }

  /* Cabecera minimalista en móvil (la versión de escritorio no se toca):
     logo más pequeño, selector de idioma sin caja y hamburguesa más fina,
     todo dentro de una barra más baja. */
  :root { --header-h: 58px; }
  .header-inner { padding: 0 20px; gap: 14px; position: relative; height: 100%; }
  /* Logo a la izquierda (en su propia esquina: al tocarlo solo puede navegar
     a la home) y el idioma junto a la hamburguesa a la derecha. El idioma va
     a la derecha a propósito: así su desplegable (.lang-menu, anclado con
     right:0) se abre hacia dentro de la pantalla y se ve entero. Centrado a
     la izquierda se salía por el borde. */
  .brand { position: relative; z-index: 2; }
  .brand img { height: 30px; }
  .lang-switch { margin-left: auto; }
  .lang-btn {
    border-color: transparent;
    padding: 4px 0;
    gap: 5px;
    font-size: 11px;
  }
  .lang-btn:hover { border-color: transparent; }
  .nav-toggle { width: 22px; height: 14px; }
  .nav-toggle span:nth-child(1) { top: 0; }
  .nav-toggle span:nth-child(2) { top: 6px; }
  .nav-toggle span:nth-child(3) { top: 12px; }
  body.nav-open .nav-toggle span:nth-child(1) { top: 6px; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 6px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--red);
    flex-direction: column;
    gap: 0;
    padding: 12px 0 28px;
    transform: translateY(-130%);
    transition: transform 0.4s ease;
    box-shadow: 0 18px 30px rgba(33,28,25,0.3);
  }
  body.nav-open .main-nav { transform: translateY(0); }
  .main-nav a { padding: 14px 28px; width: 100%; text-align: center; border-bottom: 0; }
  .nav-cta { border: 0; }
  .dish-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .specialties { grid-template-columns: 1fr 1fr; gap: 26px 14px; }
  .specialty h3 { font-size: 21px; }
  .dish-strip { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .stat-row { gap: 34px; flex-wrap: wrap; }
  .menu-cta-box { padding: 50px 24px; }
  .menu-cta-box .btn + .btn { margin-left: 0; margin-top: 14px; }
  /* El díptico mantiene el 1.5/1 también en móvil: cada mitad sigue siendo 3:4
     y las fotos se ven enteras, solo más pequeñas. */
  .slideshow-showcase .slide { gap: 4px; }
  .slideshow-ui { bottom: 16px; gap: 12px; }
  .slideshow-arrow { width: 38px; height: 38px; }
  .slideshow-counter { font-size: 12px; min-width: 62px; }
}

/* ---------- Formulario de contacto ---------- */
.contact-form {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: left;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 9px;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 14px 16px;
  width: 100%;
  transition: border-color 0.25s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 4px 0 28px;
  font-size: 14.5px;
  color: var(--stone);
  line-height: 1.6;
}
.form-consent input { margin-top: 4px; accent-color: var(--red); flex-shrink: 0; }
.form-consent a { color: var(--red); text-decoration: underline; }
.contact-form .form-actions { text-align: center; }
/* campo trampa anti-spam: invisible para personas, visible para bots */
.hidden-field { display: none; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 18px; margin-bottom: 18px; }
  .contact-form { margin-top: 40px; }
}

/* ---------- Widget de reservas TheFork ---------- */
.thefork-embed {
  max-width: 860px;
  margin: 48px auto 4px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 18px 48px rgba(20,14,12,0.28);
}
.thefork-embed iframe {
  width: 100%;
  height: 560px;
  border: 0;
  display: block;
}
@media (max-width: 640px) {
  .thefork-embed { margin-top: 36px; padding: 6px; }
  .thefork-embed iframe { height: 620px; }
}

/* ============================================================
   Aviso de cookies (banner + modal "Opciones de privacidad")
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  z-index: 300;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(33,28,25,0.18);
  padding: 26px 28px;
  display: none;
}
.cookie-banner.visible { display: block; }
.cookie-banner p {
  font-size: 14.5px;
  color: var(--stone);
  line-height: 1.6;
  margin-bottom: 18px;
}
.cookie-banner .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cookie-banner .btn { padding: 12px 22px; font-size: 12px; }

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(20,14,12,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-overlay.visible { display: flex; }
.cookie-modal {
  background: var(--white);
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 30px;
  margin-bottom: 16px;
}
.cookie-modal > p {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.65;
  margin-bottom: 28px;
}
.cookie-modal .cookie-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none;
  border: 0;
  cursor: pointer;
  width: 30px; height: 30px;
  color: var(--ink);
}
.cookie-modal .cookie-close svg { width: 100%; height: 100%; }
.cookie-category {
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.cookie-category:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 8px;
}
.cookie-category-head h4 {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cookie-category p { font-size: 13.5px; color: var(--stone); line-height: 1.6; }

/* interruptor (switch) */
.cookie-switch { position: relative; display: inline-block; width: 44px; height: 25px; flex-shrink: 0; }
.cookie-switch input { opacity: 0; width: 0; height: 0; }
.cookie-switch .track {
  position: absolute; inset: 0;
  background: #cfc6bd;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s;
}
.cookie-switch .track::before {
  content: "";
  position: absolute;
  left: 3px; top: 3px;
  width: 19px; height: 19px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.25s;
}
.cookie-switch input:checked + .track { background: var(--red); }
.cookie-switch input:checked + .track::before { transform: translateX(19px); }
.cookie-switch input:disabled + .track { background: var(--red); opacity: 0.55; cursor: not-allowed; }

.cookie-modal .cookie-policy-link { font-size: 13.5px; color: var(--stone); }
.cookie-modal .cookie-policy-link a { color: var(--red); text-decoration: underline; }
.cookie-modal .cookie-confirm { margin-top: 24px; text-align: right; }

@media (max-width: 640px) {
  .cookie-banner { left: 14px; right: 14px; bottom: 14px; padding: 22px; }
  .cookie-modal { padding: 28px 22px; }
}

/* ---------- Páginas legales ---------- */
.legal-content h2 {
  font-size: 26px;
  margin: 44px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--stone); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { padding-left: 22px; margin-bottom: 14px; }
.legal-content strong { color: var(--ink); font-weight: 500; }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-meta { color: var(--stone); font-size: 13px; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); }
