/* =========================================================
   Caravan Corner — estilos
   ========================================================= */
:root {
  --naranja: #ED7F1E;
  --naranja-osc: #C9620B;
  --naranja-claro: #F7A55A;
  --crema: #FFF5EA;
  --crema-2: #FCE8D2;
  --tinta: #24150B;
  --tinta-suave: #6B4F3A;
  --blanco: #ffffff;
  --radio: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--tinta);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 3px solid var(--tinta); outline-offset: 3px; border-radius: 6px; }

/* Contenido: 80 % de la pantalla en monitores grandes, nunca menos de 1240 px ni más que el ancho disponible */
.wrap { width: min(max(var(--max), 80%), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .9em 1.6em; border-radius: 999px;
  font-weight: 700; font-size: .95rem; letter-spacing: .01em;
  background: var(--blanco); color: var(--tinta);
  transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(36, 21, 11, .45); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--naranja { background: var(--naranja); color: var(--blanco); }
.btn--tinta { background: var(--tinta); color: var(--blanco); }
.btn--borde { background: transparent; color: var(--blanco); box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }

/* ---------- Cabecera ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: 18px var(--gutter);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  transition: background .4s, padding .4s var(--ease), box-shadow .4s;
}
.header.is-solid { background: var(--naranja); padding-block: 10px; box-shadow: 0 10px 30px -20px rgba(36,21,11,.6); }
.header__logo img { height: 56px; width: auto; transition: height .4s var(--ease); }
.header.is-solid .header__logo img { height: 44px; }
.nav { display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav a {
  color: var(--blanco); font-size: .88rem; font-weight: 500;
  padding: .5em 1.15em; border-radius: 999px; transition: background .3s, color .3s;
}
.nav a:hover { background: rgba(255,255,255,.18); }
.nav a[aria-current="page"] { background: var(--blanco); color: var(--tinta); font-weight: 600; }
.header__cta { justify-self: end; }
.header__cta .btn { padding: .7em 1.3em; font-size: .88rem; }
.burger { display: none; justify-self: end; width: 46px; height: 46px; border-radius: 50%; background: var(--blanco); position: relative; z-index: 60; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--tinta); border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 18px; } .burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 860px) {
  .header { grid-template-columns: 1fr auto; }
  .header__cta { display: none; }
  .burger { display: block; }
  .header__logo img { height: 44px; }
  .header.is-solid .header__logo img { height: 40px; }
  .nav {
    position: fixed; inset: 0; z-index: 55; border-radius: 0;
    flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: var(--naranja); backdrop-filter: none;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav a { font-size: 1.9rem; font-weight: 800; padding: .3em 1em; }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open { overflow: hidden; }
}

/* ---------- Selector de idioma ---------- */
@media (min-width: 861px) { .header__cta { display: flex; align-items: center; gap: 10px; } }
.lang { position: relative; }
.lang__flag { display: block; width: 24px; height: 16px; border-radius: 3px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex: none; }
.lang__flag svg { display: block; width: 100%; height: 100%; }
.lang__actual { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 999px; color: var(--blanco); font-weight: 600; font-size: .82rem; background: rgba(255,255,255,.14); transition: background .3s; }
.lang__actual:hover, .lang.is-open .lang__actual { background: rgba(255,255,255,.26); }
.lang__caret { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.lang.is-open .lang__caret { transform: rotate(180deg); }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; padding: 6px; border-radius: 16px; background: var(--blanco); box-shadow: 0 18px 40px -16px rgba(36,21,11,.45); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.lang.is-open .lang__menu { opacity: 1; visibility: visible; transform: none; }
.lang__menu .lang__op { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border-radius: 10px; color: var(--tinta); font-size: .9rem; font-weight: 500; text-align: left; }
.lang__menu .lang__op:hover { background: var(--crema); }
.lang__menu .lang__op[aria-current="true"] { font-weight: 700; color: var(--naranja-osc); }
.nav__lang { display: none; }
.flang { margin-top: 26px; }
.flang__row, .nav__lang { gap: 12px; }
.flang__row { display: flex; }
.flang .lang__op, .nav__lang .lang__op { padding: 4px; border-radius: 8px; box-shadow: inset 0 0 0 2px transparent; opacity: .75; transition: box-shadow .3s, opacity .3s, transform .3s var(--ease); }
.flang .lang__op:hover, .nav__lang .lang__op:hover { opacity: 1; transform: translateY(-2px); }
.flang .lang__op[aria-current="true"], .nav__lang .lang__op[aria-current="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--naranja); }
.flang .lang__flag, .nav__lang .lang__flag { width: 34px; height: 23px; }
@media (max-width: 860px) {
  .nav__lang { display: flex; margin-top: 34px; }
  .nav__lang .lang__op { padding: 6px; }
  .nav__lang .lang__op[aria-current="true"] { box-shadow: inset 0 0 0 2px var(--blanco); }
  .nav__lang .lang__flag { width: 40px; height: 27px; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  overflow: hidden; color: var(--blanco);
  background: radial-gradient(ellipse 70% 65% at 50% 48%, #F59640 0%, var(--naranja) 45%, #D96A0E 78%, #B9560A 100%);
  isolation: isolate;
}
.hero::after { /* grano sutil */
  content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Lienzo: mantiene la proporción de las imágenes originales y cubre la pantalla */
/* Sin transform ni z-index: así la palabra (fuera del lienzo) puede quedar entre capas */
.stage {
  --sw: max(100vw, 178.6vh);
  position: absolute; left: 50%; top: 50%;
  width: var(--sw); height: calc(var(--sw) * 1536 / 2752);
  margin-left: calc(var(--sw) / -2); margin-top: calc(var(--sw) * -768 / 2752);
}
@media (max-aspect-ratio: 1/1) { .stage { --sw: max(100vw, 150vh); } }

.slide { position: absolute; inset: 0; visibility: hidden; }
.slide.is-active { visibility: visible; }

.layer { position: absolute; inset: 0; pointer-events: none; }
.layer--far { z-index: 1; } .layer--mid { z-index: 2; }
.layer--word { z-index: 3; } .layer--prod { z-index: 4; } .layer--front { z-index: 5; }

.el { position: absolute; will-change: transform; }
.el img { width: 100%; height: auto; animation: flotar var(--dur, 6s) ease-in-out var(--delay, 0s) infinite alternate; }
.layer--far .el img { filter: saturate(.92); }
.layer--front .el img { filter: blur(1.5px) drop-shadow(0 30px 30px rgba(80, 30, 0, .25)); }
@keyframes flotar {
  from { transform: translate3d(0, calc(var(--amp, 14px) * -1), 0) rotate(calc(var(--rot, 4deg) * -1)); }
  to   { transform: translate3d(0, var(--amp, 14px), 0) rotate(var(--rot, 4deg)); }
}

/* Palabra gigante — se queda fija respecto a la pantalla, no al lienzo */
.word {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%);
  display: flex; justify-content: center; overflow: hidden; padding-block: .06em;
}
.word span {
  display: block; font-weight: 900; text-transform: uppercase; white-space: nowrap;
  font-size: var(--word-size, 13vw); line-height: .9; letter-spacing: -.035em;
  color: var(--blanco); text-shadow: 0 .04em .12em rgba(120, 45, 0, .18);
  will-change: transform;
}
.hero__words { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__words .word { visibility: hidden; }
.hero__words .word.is-active { visibility: visible; }
.hero__words--trazo { z-index: 4; }
.hero__words--trazo .word span { color: transparent; -webkit-text-stroke: 2.5px rgba(255, 255, 255, .95); text-shadow: none; }

.prod { position: absolute; left: 50%; top: 52%; width: var(--pw, 30%); transform: translate(-50%, -50%); }
.prod__in { will-change: transform; }
.prod img { width: 100%; height: auto; filter: drop-shadow(0 40px 45px rgba(70, 25, 0, .45)); animation: flotar 5s ease-in-out infinite alternate; --amp: 12px; --rot: 1.2deg; }
.prod__sombra {
  position: absolute; left: 50%; bottom: -10%; width: 70%; height: 10%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(90, 30, 0, .35), transparent); filter: blur(6px);
}

/* Interfaz del hero */
.hero__ui { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.hero__info {
  position: absolute; left: var(--gutter); bottom: clamp(28px, 7vh, 70px);
  width: min(340px, 100% - 2 * var(--gutter)); pointer-events: auto;
}
.hero__ui::before { /* halo naranja para que el texto se lea sobre los ingredientes */
  content: ""; position: absolute; left: -10vw; bottom: -12vh; width: 52vw; height: 52vh; pointer-events: none;
  background: radial-gradient(closest-side, rgba(214, 100, 12, .92), rgba(214, 100, 12, .55) 55%, transparent);
}
.hero__ui::after {
  content: ""; position: absolute; inset: 0 0 auto; height: 140px; pointer-events: none;
  background: linear-gradient(rgba(190, 85, 8, .45), transparent);
}
.hero__info, .hero__ctrl, .hero__dots { z-index: 1; }
.hero__texto, .hero__precio { text-shadow: 0 1px 12px rgba(120, 45, 0, .35); }
.hero__row { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.hero__precio { font-weight: 600; font-size: .95rem; }
.hero__precio b { font-size: 1.35rem; font-weight: 800; }
.hero__texto { margin: 0; font-size: .9rem; line-height: 1.65; opacity: .92; min-height: 4.95em; }
.hero__ctrl {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: auto;
}
.hero__flecha {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.75); color: var(--blanco);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.hero__flecha:hover { background: var(--blanco); color: var(--naranja); }
.hero__flecha:active { transform: scale(.94); }
.hero__flecha svg { width: 20px; height: 20px; }
.hero__contador { font-weight: 700; font-size: .85rem; letter-spacing: .08em; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero__barra { width: 2px; height: 70px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; }
.hero__barra i { display: block; width: 100%; height: 100%; background: var(--blanco); transform-origin: top; transform: scaleY(0); }
.hero__dots { position: absolute; left: 50%; bottom: clamp(24px, 5vh, 46px); transform: translateX(-50%); display: flex; gap: 10px; pointer-events: auto; }
.hero__dots button { padding: 8px 2px; }
.hero__dots button span { display: block; height: 4px; width: 26px; border-radius: 4px; background: rgba(255,255,255,.4); transition: width .5s var(--ease), background .3s; }
.hero__dots button[aria-current="true"] span { width: 52px; background: var(--blanco); }

@media (max-width: 860px) {
  .prod { width: min(var(--pw, 30%), 82vw); top: 54%; }
  .word { top: 27%; }
  .hero__ctrl { top: auto; bottom: 26px; transform: none; flex-direction: row; }
  .hero__contador, .hero__dots { display: none; }
  .hero__flecha { width: 44px; height: 44px; }
  .hero__info { bottom: 26px; width: calc(100% - 2 * var(--gutter) - 110px); }
  .hero__texto { display: none; }
  .hero__row { margin: 0; flex-wrap: wrap; gap: 10px 14px; }
}

/* =========================================================
   Secciones
   ========================================================= */
.section { padding-block: clamp(80px, 12vw, 150px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--naranja);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(1.9rem, 4.6vw, 3.9rem); line-height: 1; font-weight: 900; letter-spacing: -.035em; text-transform: uppercase; margin: .35em 0 .4em; }
.lead { font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--tinta-suave); max-width: 54ch; margin: 0; }

/* Cinta */
.cinta { background: var(--tinta); color: var(--crema); overflow: hidden; padding-block: 22px; }
.cinta__track { display: flex; width: max-content; animation: cinta 26s linear infinite; }
.cinta__track span { font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.8rem); text-transform: uppercase; letter-spacing: -.02em; padding-inline: .5em; white-space: nowrap; display: flex; align-items: center; gap: 1em; }
.cinta__track span::after { content: "●"; color: var(--naranja); font-size: .45em; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Tarjetas de categoría */
.cats__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 60px); }
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.cat {
  position: relative; border-radius: var(--radio); overflow: hidden; min-height: 460px;
  background: radial-gradient(ellipse at 50% 40%, #F59640, var(--naranja) 60%, #D96A0E);
  color: var(--blanco); padding: 28px; display: flex; flex-direction: column; justify-content: space-between;
  isolation: isolate; transition: transform .6s var(--ease);
}
.cat:hover { transform: translateY(-6px); }
.cat__n { font-weight: 800; font-size: .85rem; opacity: .8; }
.cat__titulo { font-size: clamp(1.8rem, 2.6vw, 2.5rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: 1; margin: 0; }
.cat__img { position: absolute; left: 50%; top: 44%; width: auto; height: auto; max-width: 86%; max-height: 60%; transform: translate(-50%, -54%) rotate(-4deg); z-index: -1; transition: transform .8s var(--ease); filter: drop-shadow(0 30px 30px rgba(70,25,0,.4)); }
.cat:hover .cat__img { transform: translate(-50%, -58%) rotate(0deg) scale(1.06); }
.cat__pie { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.cat__pie small { display: block; font-size: .8rem; opacity: .85; }
.cat__flecha { width: 48px; height: 48px; border-radius: 50%; background: var(--blanco); color: var(--naranja); display: grid; place-items: center; flex: none; transition: transform .5s var(--ease); }
.cat:hover .cat__flecha { transform: rotate(-45deg); }
.cat__flecha svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .cats { grid-template-columns: 1fr; } .cat { min-height: 380px; } }

/* Bloque dividido */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split__media {
  position: relative; border-radius: var(--radio); aspect-ratio: 1 / 1.05; overflow: hidden;
  background: var(--tinta); display: grid; place-items: center;
}
.split__media img { width: 88%; filter: drop-shadow(0 40px 40px rgba(0,0,0,.5)); }
/* Variante con el vídeo de la hamburguesa armándose: sin caja, el blanco del vídeo se funde con el crema */
/* El vídeo es más alto que la caja: la parte de arriba (capas en el aire) sobresale hacia arriba
   y la caja encuadra la hamburguesa ya montada sobre el plato */
.section--armado { padding-top: clamp(30px, 4vw, 60px); }
.split__media--video { background: transparent; overflow: visible; aspect-ratio: 736 / 862; width: 108%; margin-left: -4%; }
.split__media--video .armado {
  position: absolute; left: 0; bottom: 0; z-index: 1; width: 100%; height: 115.1%; object-fit: fill;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 54% 54% at 50% 52%, #000 85%, transparent 100%); mask-image: radial-gradient(ellipse 54% 54% at 50% 52%, #000 85%, transparent 100%);
  transition: opacity .7s cubic-bezier(.22, 1, .36, 1);
}
/* El plato baja suave; cuando va llegando aparece el vídeo y la hamburguesa se arma encima */
.split__media--video .plato { position: absolute; left: 2.5%; top: 60%; width: 95%; height: auto; z-index: 0; filter: none; transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .4s ease; }
.split__media--video:not(.is-servido) .plato { transform: translateY(-90%); opacity: 0; transition: none; }
.split__media--video:not(.is-armando) .armado { opacity: 0; transition: none; }
@media (max-width: 900px) { .split__media--video { width: 100%; margin-left: 0; } .section--armado { padding-top: 40px; } }
.split__media.split__media--video .sello { top: 4%; right: -6%; z-index: 2; }
@media (max-width: 900px) { .split__media.split__media--video .sello { right: 8px; top: -14%; width: 96px; height: 96px; font-size: .66rem; } }
/* Variante con foto real que llena la caja */
.split__media--foto img { width: 100%; height: 100%; object-fit: cover; filter: none; transition: transform 1s var(--ease); }
.split__media--foto:hover img { transform: scale(1.04); }
.split__media .sello {
  position: absolute; top: 24px; right: 24px; width: 120px; height: 120px; border-radius: 50%;
  background: var(--naranja); color: var(--blanco); display: grid; place-items: center; text-align: center;
  font-weight: 800; font-size: .78rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .04em;
  animation: girar 18s linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
.datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.dato b { display: block; font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 900; color: var(--naranja); letter-spacing: -.03em; line-height: 1; }
.dato span { font-size: .85rem; color: var(--tinta-suave); }
.split__acciones { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Visítanos (franja naranja) */
.visita { background: var(--naranja); color: var(--blanco); border-radius: calc(var(--radio) + 8px); padding: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.visita .h2 { color: var(--blanco); margin-top: 0; }
.visita .eyebrow { color: var(--blanco); }
.visita p { margin: 0; opacity: .92; }
/* Variante con foto de fondo y degradado oscuro */
.visita--foto { background: #1c120a; isolation: isolate; }
.visita__fondo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.visita--foto::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 7, 3, .8) 0%, rgba(12, 7, 3, .6) 42%, rgba(12, 7, 3, .28) 100%),
    linear-gradient(0deg, rgba(12, 7, 3, .45), transparent 55%);
}
.visita--foto:hover .visita__fondo { transform: scale(1.06); }
.visita--foto .eyebrow { color: var(--naranja); }
.visita--foto .visita__lista li { background: rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.visita--foto .visita__lista svg { color: var(--naranja); }
.visita--foto .btn { background: var(--naranja); color: var(--blanco); }
@media (max-width: 900px) {
  .visita--foto::before { background: linear-gradient(180deg, rgba(12, 7, 3, .74) 0%, rgba(12, 7, 3, .6) 55%, rgba(12, 7, 3, .76) 100%); }
}
.visita__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.visita__lista li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255,255,255,.12); border-radius: 16px; padding: 16px 18px; }
.visita__lista svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.visita__lista b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .8; }
@media (max-width: 900px) { .visita { grid-template-columns: 1fr; } }

/* ---------- Cabecera de página interior ---------- */
.page-hero {
  position: relative; overflow: hidden; color: var(--blanco); text-align: center;
  padding: clamp(150px, 20vw, 220px) var(--gutter) clamp(80px, 10vw, 120px);
  background: radial-gradient(ellipse 70% 80% at 50% 40%, #F59640 0%, var(--naranja) 50%, #C9620B 100%);
  isolation: isolate;
}
.page-hero .eyebrow { margin-bottom: clamp(14px, 2vw, 26px); }
.page-hero h1 { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.04em; line-height: .9; font-size: clamp(2.6rem, 9vw, 8.2rem); }
.page-hero--corta h1 { font-size: clamp(2.6rem, 7.5vw, 6.6rem); }
.page-hero p { max-width: 52ch; margin: 22px auto 0; opacity: .92; }
.page-hero .flota { position: absolute; z-index: -1; pointer-events: none; }
/* Dónde estamos: línea de ruta que se dibuja detrás del título y termina en un pin */
.ruta { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.ruta__linea { fill: none; stroke: rgba(255, 255, 255, .55); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2 16; }
.ruta__revela { stroke-dasharray: 1; stroke-dashoffset: 1; animation: rutaDibuja 1.8s cubic-bezier(.45, 0, .25, 1) .3s forwards; }
.ruta__inicio { fill: none; stroke: rgba(255, 255, 255, .7); stroke-width: 5; opacity: 0; animation: rutaAparece .3s ease .1s forwards; }
.ruta__pin { fill: rgba(255, 255, 255, .85); }
.ruta__pin > path, .ruta__pin > .ruta__hueco { transform-box: fill-box; transform-origin: 50% 100%; }
.ruta__pin > path { opacity: 0; transform: translateY(-40px) scale(.6); animation: rutaPin .6s cubic-bezier(.34, 1.56, .64, 1) 2s forwards; }
.ruta__hueco { fill: var(--naranja); opacity: 0; animation: rutaAparece .3s ease 2.25s forwards; }
.ruta__onda { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 3; transform-box: fill-box; transform-origin: center; opacity: 0; animation: rutaOnda 2.2s ease-out 2.4s infinite; }
@keyframes rutaDibuja { to { stroke-dashoffset: 0; } }
@keyframes rutaAparece { to { opacity: 1; } }
@keyframes rutaPin { to { opacity: 1; transform: none; } }
@keyframes rutaOnda { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(2.2); } }
@media (prefers-reduced-motion: reduce) {
  .ruta__revela { stroke-dashoffset: 0; } .ruta__inicio, .ruta__hueco { opacity: 1; } .ruta__pin > path { opacity: 1; transform: none; } .ruta__onda { display: none; }
}
/* Sobre nosotros: la caravana cruza el banner por una carretera */
.page-hero--carretera { padding-bottom: clamp(170px, 16vw, 210px); }
.carretera { position: absolute; left: 0; right: 0; bottom: 18px; height: 110px; z-index: -1; pointer-events: none; overflow: hidden; }
.carretera::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,245,234,.45) 0 26px, transparent 26px 50px); animation: carreteraLinea .6s linear infinite; }
.carretera__coche { position: absolute; bottom: 8px; left: 0; width: 140px; animation: caravanaCruza 11s linear infinite; }
.carretera__caravana { display: block; width: 100%; height: auto; transform-origin: 30% 100%; animation: caravanaBote .45s ease-in-out infinite alternate; }
.carretera__estela { position: absolute; left: 100%; top: 38%; width: 70px; height: 26px; background: repeating-linear-gradient(180deg, rgba(255,245,234,.5) 0 3px, transparent 3px 11px); -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); }
.carretera__polvo { position: absolute; bottom: 2px; left: 88%; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,245,234,.5); animation: caravanaPolvo .9s ease-out infinite; }
.carretera__polvo:nth-of-type(3) { animation-delay: .3s; } .carretera__polvo:nth-of-type(4) { animation-delay: .6s; }
@keyframes caravanaCruza { from { transform: translateX(calc(100vw + 40px)); } 70%, to { transform: translateX(-260px); } }
@keyframes caravanaBote { from { transform: translateY(0) rotate(0); } to { transform: translateY(-3px) rotate(-.8deg); } }
@keyframes caravanaPolvo { from { transform: translate(0, 0) scale(.4); opacity: .8; } to { transform: translate(46px, -10px) scale(1.6); opacity: 0; } }
@keyframes carreteraLinea { to { background-position: 50px 0; } }
@media (max-width: 700px) { .page-hero--carretera .flota { display: none; } .page-hero--carretera { padding-bottom: 150px; } .carretera { bottom: 10px; height: 80px; } .carretera__coche { width: 96px; } }
@media (prefers-reduced-motion: reduce) { .carretera__coche { animation: none; left: 8%; } .carretera__polvo, .carretera__estela { display: none; } }
.page-hero .flota img { width: 100%; animation: flotar var(--dur, 6s) ease-in-out infinite alternate; filter: drop-shadow(0 20px 20px rgba(80, 30, 0, .25)); }
@media (max-width: 700px) {
  .page-hero { padding-bottom: 120px; }
  .page-hero .flota { scale: .42; transform-origin: center; top: auto !important; bottom: -4%; opacity: .95; }
  .page-hero .flota:nth-of-type(odd) { left: -12% !important; }
  .page-hero .flota:nth-of-type(even) { left: auto !important; right: -12%; }
  .page-hero .flota:nth-of-type(n+3) { display: none; }
}

/* ---------- Carta ---------- */
.carta-top { padding-block: clamp(50px, 6vw, 80px) clamp(80px, 10vw, 130px); scroll-margin-top: 80px; }

/* Pestañas de categoría */
.ctabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.ctab {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 10px;
  padding: 14px 12px 16px; border-radius: 20px; background: var(--blanco);
  box-shadow: inset 0 0 0 1.5px rgba(36,21,11,.08);
  transition: background .35s, color .35s, transform .45s var(--ease), box-shadow .35s;
}
.ctab img { width: 100%; max-width: 120px; aspect-ratio: 1; object-fit: contain; border-radius: 16px; transition: transform .5s var(--ease); }
.ctab span { font-weight: 800; font-size: .92rem; text-align: center; line-height: 1.2; text-transform: uppercase; letter-spacing: .01em; }
.ctab:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1.5px var(--naranja-claro), 0 14px 30px -18px rgba(36,21,11,.4); }
.ctab:hover img { transform: scale(1.05) rotate(-2deg); }
.ctab.is-active { background: var(--naranja); color: var(--blanco); box-shadow: 0 16px 34px -16px rgba(201, 98, 11, .7); }
@media (max-width: 900px) {
  .ctabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; }
  .ctabs::-webkit-scrollbar { display: none; }
  .ctab { flex: 0 0 128px; scroll-snap-align: start; }
  .ctab img { max-width: 88px; }
  .ctab span { font-size: .8rem; }
}

/* Panel de platos */
.cpanel { margin-top: clamp(40px, 5vw, 64px); }
.cpanel.is-in { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
.cpanel__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-bottom: 3px solid var(--tinta); padding-bottom: 16px; margin-bottom: 28px; }
.cpanel__head h2 { margin: 0; font-size: clamp(1.75rem, 3.9vw, 3.1rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: 1; }
.cpanel__head span { font-weight: 700; color: var(--naranja); font-size: .9rem; white-space: nowrap; }
.csub { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.csub a { padding: .5em 1.1em; border-radius: 999px; background: var(--blanco); box-shadow: inset 0 0 0 1px rgba(36,21,11,.12); font-size: .86rem; font-weight: 600; transition: background .3s, color .3s; }
.csub a:hover { background: var(--tinta); color: var(--blanco); }
.cgrupo { padding-top: 34px; }
.cgrupo__titulo { margin: 0 0 18px; font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.cgrupo__titulo::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--naranja); }

/* Tarjeta de plato */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.6vw, 22px); }
.pcard {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center;
  background: var(--blanco); border-radius: 18px; padding: 16px 20px 16px 16px;
  box-shadow: inset 0 0 0 1px rgba(36,21,11,.08);
  transition: transform .45s var(--ease), box-shadow .35s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(237,127,30,.5), 0 18px 34px -22px rgba(36,21,11,.45); }
.pcard__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; background: var(--crema-2); display: grid; place-items: center; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; transition: transform .5s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.08) rotate(-3deg); }
.pcard__img.is-vacia { background: var(--crema); border: 2px dashed rgba(237,127,30,.45); color: rgba(237,127,30,.6); }
.pcard__img.is-vacia svg { width: 30px; height: 30px; }
.pcard__txt { min-width: 0; }
.pcard h3 { margin: 0; font-size: 1.05rem; font-weight: 800; line-height: 1.25; }
.pcard p { margin: 5px 0 0; font-size: .84rem; line-height: 1.45; color: var(--tinta-suave); }
.pcard__precio { display: inline-block; margin-top: 8px; font-weight: 800; font-size: 1.05rem; color: var(--naranja); }
@media (max-width: 1100px) { .pgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .pgrid { grid-template-columns: 1fr; } .pcard { grid-template-columns: 78px 1fr; } .pcard__img { width: 78px; height: 78px; } }
.carta-nota { margin-top: 70px; padding: 22px 26px; border-radius: 16px; background: var(--crema-2); font-size: .9rem; color: var(--tinta-suave); }

/* ---------- Sobre nosotros ---------- */
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 50px; }
.valor { background: var(--blanco); border-radius: var(--radio); padding: 30px; }
.valor__ico { width: 54px; height: 54px; border-radius: 16px; background: var(--naranja); color: var(--blanco); display: grid; place-items: center; margin-bottom: 22px; }
.valor__ico svg { width: 26px; height: 26px; }
.valor__gif { width: 80px; height: 80px; margin: -10px 0 14px -10px; }
.valor h3 { margin: 0 0 8px; font-size: 1.2rem; font-weight: 800; }
.valor p { margin: 0; font-size: .92rem; color: var(--tinta-suave); }
@media (max-width: 900px) { .valores { grid-template-columns: 1fr; } }
.cita { text-align: center; }
.cita blockquote { margin: 0 auto; max-width: 22ch; font-size: clamp(1.6rem, 3.8vw, 3.1rem); font-weight: 900; line-height: 1.05; letter-spacing: -.03em; text-transform: uppercase; }
.cita blockquote em { font-style: normal; color: var(--naranja); }

/* ---------- Dónde estamos ---------- */
.mapa { border-radius: var(--radio); overflow: hidden; min-height: 460px; background: var(--crema-2); position: relative; }
.mapa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.info-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 50px); align-items: stretch; }
.info-cards { display: grid; gap: 14px; align-content: start; }
.info-card { background: var(--blanco); border-radius: var(--radio); padding: 26px 28px; }
.info-card h3 { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-size: 1.05rem; font-weight: 800; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--naranja); }
.info-card p { margin: 0; color: var(--tinta-suave); }
.horario { width: 100%; border-collapse: collapse; font-size: .93rem; }
.horario td { padding: 7px 0; border-bottom: 1px dashed rgba(36,21,11,.15); }
.horario td:last-child { text-align: right; font-weight: 600; color: var(--tinta); }
.horario tr:last-child td { border: 0; }
.horario tr.hoy td { color: var(--naranja); font-weight: 700; }
.redes { display: flex; gap: 10px; margin-top: 4px; }
.redes a { width: 46px; height: 46px; border-radius: 50%; background: var(--tinta); color: var(--blanco); display: grid; place-items: center; transition: background .3s, transform .4s var(--ease); }
.redes a:hover { background: var(--naranja); transform: translateY(-3px); }
.redes svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } .mapa { min-height: 360px; } }

/* ---------- Pie ---------- */
.footer { position: relative; isolation: isolate; background: var(--tinta); color: var(--crema); padding-top: clamp(70px, 9vw, 110px); overflow: hidden; }

/* Ilustraciones del pie: dibujos de línea muy suaves y la hamburguesa asomando */
.footer__deco { position: absolute; inset: 0; pointer-events: none; }
.fd { position: absolute; z-index: -1; height: auto; animation: flotar var(--dur, 7s) ease-in-out infinite alternate; }
.fd:not(.fd--burger) { opacity: .16; }
.fd--burger { left: -92px; bottom: -70px; width: clamp(150px, 13vw, 210px); --rot: 5deg; --amp: 12px; --dur: 6s; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); z-index: 2; }
.fd--sandwich { left: 33%; top: 30px; width: clamp(110px, 11vw, 170px); --rot: 3deg; --dur: 8s; }
.fd--patatas { left: 24%; top: 52%; width: clamp(90px, 9vw, 140px); --rot: -4deg; --dur: 7.5s; }
.fd--tomate { left: 54%; top: 42%; width: clamp(110px, 10vw, 160px); --rot: 6deg; --dur: 9s; }
.fd--hotdog { right: -40px; bottom: 16%; width: clamp(170px, 17vw, 260px); --rot: -5deg; --dur: 8.5s; }
@media (max-width: 760px) {
  .fd--burger { left: auto; right: -46px; bottom: auto; top: 22px; width: 108px; }
  .fd--sandwich { left: 52%; top: 46%; width: 110px; }
  .fd--tomate, .fd--patatas { display: none; }
  .fd--hotdog { right: auto; left: -50px; bottom: 22%; width: 150px; }
}
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.credito { display: inline-flex; align-items: center; gap: 14px; transition: opacity .3s, transform .4s var(--ease); }
.credito:hover { opacity: .85; transform: translateY(-2px); }
.footer__top .credito img { width: 100px; height: auto; margin: 0; }
.credito span { display: flex; flex-direction: column; color: #FBF0D0; font-size: 20px; font-weight: 500; line-height: 1.05; text-transform: uppercase; }
.credito b { font-weight: 900; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
.footer__top img { height: 52px; width: auto; margin-bottom: 18px; }
.footer__top p { margin: 0; color: rgba(255,245,234,.7); font-size: .92rem; max-width: 34ch; }
.footer h4 { margin: 0 0 14px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--naranja); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .95rem; }
.footer ul a:hover { color: var(--naranja); }
.footer__gigante { font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; line-height: .78; font-size: 14.5vw; color: var(--naranja); white-space: nowrap; text-align: center; margin: 0; transform: translateY(.1em); user-select: none; }
.footer__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,245,234,.12); padding-block: 20px; font-size: .82rem; color: rgba(255,245,234,.55); }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Aparición al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
