/* ============================================================
   SABORA FOOD.COM — demo estática para portfolio
   HTML + CSS + JS vanilla. Sin frameworks, sin build.

   Índice
   00 Tipografía · 01 Variables · 02 Reset · 03 Utilidades
   04 Header · 05 Hero · 06 Categorías · 07 Bandas
   08 Today's Special + oferta · 09 Menú · 10 Chefs
   11 Testimonios · 12 App · 13 Footer · 14 Responsive
   ============================================================ */

/* ---------- 00 Tipografía (auto-hospedada) ---------- */
@font-face { font-family: 'Bitter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/bitter-700.woff2') format('woff2'); }
@font-face { font-family: 'Bitter'; font-style: italic; font-weight: 700; font-display: swap; src: url('../assets/fonts/bitter-700i.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/nunito-400.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/nunito-600.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/nunito-700.woff2') format('woff2'); }
@font-face { font-family: 'Pacifico'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/pacifico-400.woff2') format('woff2'); }
@font-face { font-family: 'Caveat'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/caveat-600.woff2') format('woff2'); }

/* ---------- 01 Variables ---------- */
:root {
  /* Muestreados de la referencia */
  --verde: #0A3323;
  --verde-osc: #052617;
  --verde-banda: #0B3626;
  --naranja: #F0A62B;
  --naranja-osc: #D98F16;
  --crema: #F7F8F2;
  --blanco: #FFFFFF;
  --tinta: #16261E;
  --gris: #6B7A72;
  --gris-claro: #9BA8A1;
  --linea: #E6E9E0;
  --linea-osc: rgba(255, 255, 255, .16);

  --ff-head: 'Bitter', Georgia, 'Times New Roman', serif;
  --ff-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --ff-script: 'Pacifico', cursive;
  --ff-mano: 'Caveat', cursive;

  --edge: 6.5%;            /* medido sobre la referencia: 32px sobre 473 */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --sombra: 0 1px 2px rgba(10, 51, 35, .05), 0 12px 28px rgba(10, 51, 35, .08);
  --section-y: clamp(48px, 5.4vw, 86px);
}

/* ---------- 02 Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
body {
  margin: 0; background: var(--crema); color: var(--tinta);
  font-family: var(--ff-body); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }
input { font: inherit; }
h1, h2, h3 { font-family: var(--ff-head); font-weight: 700; line-height: 1.16; letter-spacing: -.01em; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 99; background: var(--naranja); color: var(--verde); padding: 10px 18px; border-radius: 999px; }
.skip-link:focus { left: 12px; }

/* ---------- 03 Utilidades ---------- */
.container { padding-inline: var(--edge); }
.section { padding-block: var(--section-y); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(22px, 4vw, 56px); margin-bottom: clamp(24px, 3vw, 40px); }
.section__titulo { font-size: clamp(28px, 3.1vw, 45px); }
.section__titulo--italica { font-style: italic; }
.section__lead { margin-top: 10px; max-width: 52ch; color: var(--gris); font-size: clamp(14px, 1.1vw, 16px); }

.eyebrow {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-family: var(--ff-body); font-size: 12px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase; color: var(--naranja-osc);
}
.eyebrow--claro { color: var(--naranja); }
.eyebrow--oscuro { color: #6B4A05; }
.rombo { width: 7px; height: 7px; flex: none; background: currentColor; transform: rotate(45deg); border-radius: 1px; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon--corazon { width: 15px; height: 15px; color: #E5484D; fill: currentColor; stroke: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: none;
  padding: 14px 26px; border-radius: 999px;
  font-family: var(--ff-body); font-size: 15px; font-weight: 700; white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }
.btn--naranja { background: var(--naranja); color: var(--verde); }
.btn--naranja:hover { background: var(--naranja-osc); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(240, 166, 43, .35); }
.btn--verde { background: var(--verde); color: #fff; }
.btn--verde:hover { background: var(--verde-osc); transform: translateY(-2px); }

.link-flecha { display: inline-flex; align-items: center; gap: 8px; flex: none; font-size: 14px; font-weight: 700; color: var(--verde); }
.link-flecha .icon { width: 15px; height: 15px; transition: transform .2s; }
.link-flecha:hover { color: var(--naranja-osc); }
.link-flecha:hover .icon { transform: translateX(3px); }

.flecha { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--linea); color: var(--verde); background: var(--blanco); transition: background-color .2s, color .2s, border-color .2s; }
.flecha:hover:not([disabled]) { background: var(--naranja); border-color: var(--naranja); color: var(--verde); }
.flecha[disabled] { opacity: .4; cursor: default; }
.flecha .icon { width: 16px; height: 16px; }
.carrusel__flechas { display: flex; gap: 10px; flex: none; }

.chip { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: rgba(240, 166, 43, .16); color: var(--naranja); }
.chip--linea { background: transparent; border: 1.5px solid rgba(240, 166, 43, .5); }
.chip--naranja { background: var(--naranja); color: var(--verde); border-radius: 14px; }

.estrellas { display: inline-flex; gap: 2px; color: var(--naranja); }
.estrellas .icon { width: 13px; height: 13px; }

.redes { display: flex; gap: 14px; }
.redes a { color: rgba(255, 255, 255, .72); transition: color .2s; }
.redes a:hover { color: var(--naranja); }
.redes .icon { width: 18px; height: 18px; }

/* ---------- 04 Header ---------- */
.site-header { position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 30px); padding-block: 16px; }
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; color: #fff; }
.logo__mark { width: 34px; height: 34px; flex: none; color: var(--naranja); }
.logo__text { display: flex; flex-direction: column; line-height: 1; font-family: var(--ff-body); font-size: 25px; font-weight: 700; letter-spacing: -.02em; }
.logo__text small { font-size: 12.5px; font-weight: 700; color: var(--naranja); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: clamp(12px, 1.7vw, 26px); margin-inline: auto; }
.nav__link { position: relative; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .8); padding-block: 6px; transition: color .2s; }
.nav__link:hover, .nav__link.is-active { color: var(--naranja); }
.nav__link.is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; background: var(--naranja); border-radius: 2px; }

.site-header__acciones { display: flex; align-items: center; gap: 8px; flex: none; }
.buscador { display: flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid var(--linea-osc); color: rgba(255, 255, 255, .6); }
.buscador input { width: clamp(120px, 13vw, 190px); border: 0; background: none; color: #fff; font-size: 13.5px; }
.buscador input::placeholder { color: rgba(255, 255, 255, .55); }
.icon-btn { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; transition: background-color .2s; }
.icon-btn:hover { background: rgba(255, 255, 255, .12); }
.icon-btn--menu, .icon-btn--lupa { display: none; }
.icon-btn--menu .icon-close { display: none; }
.cart-badge {
  position: absolute; top: 1px; right: 1px; min-width: 17px; height: 17px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--naranja); color: var(--verde);
  font-size: 10.5px; font-weight: 700; line-height: 1;
}
.cart-badge.is-pulse { animation: pulso .35s ease-out; }
@keyframes pulso { 0% { transform: scale(1); } 45% { transform: scale(1.5); } 100% { transform: scale(1); } }

/* ---------- 05 Hero ---------- */
/* La foto trae el plato quemado a la derecha; el lado izquierdo es
   verde limpio y ahí va todo el texto. */
.hero { position: relative; isolation: isolate; background: var(--verde-osc); color: #fff; display: flex; flex-direction: column; }
.hero__media { position: absolute; inset: 0; z-index: -2; display: block; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 32, 20, .95) 0%, rgba(5, 32, 20, .82) 34%, rgba(5, 32, 20, .25) 60%, rgba(5, 32, 20, 0) 76%);
}
.hero__texto { padding-block: clamp(30px, 4.6vw, 70px) clamp(34px, 5vw, 76px); max-width: 58%; }
.hero__titulo { font-size: clamp(36px, 5.3vw, 76px); line-height: 1.1; }
.hero__titulo .script { display: inline-block; font-family: var(--ff-script); font-style: normal; font-weight: 400; color: var(--naranja); font-size: 1.05em; line-height: 1.5; }
.hero__lead { margin: 14px 0 26px; max-width: 46ch; color: rgba(255, 255, 255, .8); font-size: clamp(14.5px, 1.2vw, 17px); }

.buscar-zona {
  display: flex; align-items: center; gap: 10px; max-width: 560px;
  padding: 7px 7px 7px 20px; border-radius: 999px; background: var(--blanco); color: var(--tinta);
}
.buscar-zona .icon { color: var(--naranja-osc); }
.buscar-zona input { flex: 1; min-width: 0; border: 0; background: none; font-size: 15px; }
.buscar-zona input::placeholder { color: var(--gris-claro); }
.buscar-zona .btn { padding: 13px 30px; }

.hero__ventajas { display: flex; flex-wrap: wrap; gap: 14px clamp(22px, 3.4vw, 54px); margin-top: clamp(22px, 2.6vw, 38px); }
.hero__ventajas li { display: flex; align-items: center; gap: 12px; }
.hero__ventajas span span, .hero__ventajas li > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.hero__ventajas strong { font-size: 14.5px; font-weight: 700; }
.hero__ventajas small { font-size: 12px; color: rgba(255, 255, 255, .58); }

/* ---------- 06 Categorías ---------- */
.categorias { background: var(--crema); }
.categorias__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.3vw, 20px); align-items: start; }
.categoria {
  display: block; padding: 10px 10px 18px; background: var(--blanco); border-radius: var(--r-md);
  text-align: center; box-shadow: var(--sombra); transition: transform .25s, box-shadow .25s;
}
.categoria:hover { transform: translateY(-5px); }
/* Las fotos vienen cuadradas; la de la tarjeta destacada viene más alta
   y en la referencia esa tarjeta sobresale del resto. */
.categoria img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.categoria.is-activa img { aspect-ratio: 1177 / 1337; }
.categoria__pie { display: flex; flex-direction: column; gap: 2px; margin-top: 14px; }
.categoria__pie strong { font-family: var(--ff-head); font-size: clamp(14px, 1.15vw, 17px); font-weight: 700; }
.categoria__pie small { font-size: 12.5px; color: var(--gris); }
.categoria__flecha { display: grid; place-items: center; width: 34px; height: 34px; margin: 14px auto 0; border-radius: 50%; color: var(--verde); }
.categoria__flecha .icon { width: 17px; height: 17px; }
/* La primera viene destacada en la referencia */
.categoria.is-activa { background: var(--verde); color: #fff; padding-top: 14px; }
.categoria.is-activa .categoria__pie small { color: rgba(255, 255, 255, .68); }
.categoria.is-activa .categoria__flecha { background: var(--naranja); color: var(--verde); }

/* ---------- 07 Bandas a ancho completo ---------- */
.banda { position: relative; isolation: isolate; background: var(--verde-banda); color: #fff; }
.banda__media { display: block; }
.banda__media img { width: 100%; }
.banda::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.banda--frescura::before { background: linear-gradient(270deg, rgba(11, 54, 38, .95) 0%, rgba(11, 54, 38, .86) 40%, rgba(11, 54, 38, .25) 62%, rgba(11, 54, 38, 0) 78%); }
.banda--historia::before, .banda--juntos::before { background: linear-gradient(90deg, rgba(11, 54, 38, .95) 0%, rgba(11, 54, 38, .86) 34%, rgba(11, 54, 38, .25) 58%, rgba(11, 54, 38, 0) 74%); }
.banda__panel { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.banda__titulo { font-size: clamp(26px, 3.2vw, 46px); }
.banda__texto { margin: 16px 0 26px; max-width: 44ch; color: rgba(255, 255, 255, .78); font-size: clamp(13.5px, 1.1vw, 16px); }

/* Fresh Food Better Life: el plato va a la izquierda de la foto */
.banda--frescura .banda__panel { padding-left: 52%; padding-right: var(--edge); }
.ventajas-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 22px); font-size: clamp(12px, 1vw, 14px); line-height: 1.4; }
.ventajas-4 li { display: flex; flex-direction: column; gap: 10px; }

/* Crafting Delicious Moments: el chef va a la derecha */
.banda--historia .banda__panel { padding-left: var(--edge); padding-right: 55%; }

/* Good Food Brings People Together */
.banda--juntos .banda__panel { padding-left: var(--edge); padding-right: 58%; }
.lettering { display: flex; flex-direction: column; font-family: var(--ff-mano); font-size: clamp(30px, 4.2vw, 60px); line-height: 1.1; color: #fff; }
/* Sólo "Brings" va en ámbar y con el subrayado, como en la referencia */
.lettering__dos { margin-left: .24em; }
.lettering__dos em { font-style: normal; color: var(--naranja); position: relative; }
.lettering__dos em::after {
  content: ''; position: absolute; left: -.06em; right: -.3em; bottom: -.12em; height: 3px;
  background: var(--naranja); border-radius: 999px;
}
.ver-historia {
  position: absolute; z-index: 3; left: 50%; bottom: 12%;
  display: inline-flex; align-items: center; gap: 11px; color: #fff; font-size: 14px; font-weight: 600;
}
.ver-historia__play { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--naranja); color: var(--verde); }
.ver-historia__play .icon { width: 13px; height: 13px; }

/* ---------- 08 Today's Special + oferta ---------- */
.especiales { background: var(--crema); }
.platos { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 22px); }
.plato { background: var(--blanco); border-radius: var(--r-md); padding: 10px 10px 18px; box-shadow: var(--sombra); transition: transform .25s; }
.plato:hover { transform: translateY(-4px); }
.plato__foto { position: relative; margin-bottom: 14px; }
.plato__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 4px 12px; border-radius: 999px; background: var(--naranja); color: var(--verde); font-size: 11.5px; font-weight: 700; }
.fav {
  position: absolute; top: 9px; right: 9px; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #E5484D;
  transition: transform .2s, background-color .2s;
}
.fav:hover { transform: scale(1.1); }
.fav[aria-pressed="true"] { background: #E5484D; color: #fff; }
.fav[aria-pressed="true"] .icon { fill: currentColor; }
.plato h3 { padding-inline: 8px; font-size: clamp(14px, 1.15vw, 17px); }
.plato__desc { padding-inline: 8px; margin-top: 3px; font-size: 12.5px; color: var(--gris); }
.plato__precio { padding-inline: 8px; margin: 10px 0 12px; font-family: var(--ff-head); font-size: clamp(17px, 1.5vw, 22px); font-weight: 700; }
.plato .btn { margin-inline: 8px; padding: 11px 20px; font-size: 13.5px; }

/* Banner de oferta */
.oferta { position: relative; isolation: isolate; margin-top: clamp(22px, 2.6vw, 38px); border-radius: var(--r-lg); overflow: hidden; background: var(--naranja); }
.oferta__media { display: block; }
.oferta__media img { width: 100%; }
.oferta__texto { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-left: 6%; padding-right: 52%; color: #3A2A02; }
.oferta__texto h2 { font-family: var(--ff-body); font-size: clamp(22px, 2.8vw, 40px); font-weight: 700; line-height: 1.18; color: #23190A; }
.oferta__codigo { margin: 10px 0 20px; font-size: clamp(13px, 1.05vw, 15px); }
.oferta__codigo strong { font-weight: 700; }

/* ---------- 09 Menú ---------- */
.menu { background: var(--crema); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.tab { padding: 11px 26px; border-radius: 999px; background: var(--blanco); border: 1px solid var(--linea); font-size: 14px; font-weight: 600; color: var(--gris); transition: background-color .2s, color .2s, border-color .2s; }
.tab:hover { border-color: var(--naranja); color: var(--verde); }
.tab.is-activa { background: var(--verde); border-color: var(--verde); color: #fff; }
.menu__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.item { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px; background: var(--blanco); border-radius: var(--r-md); box-shadow: var(--sombra); }
.item img { width: clamp(80px, 8vw, 116px); flex: none; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.item__cuerpo { flex: 1; min-width: 0; padding-right: 44px; }
.item h3 { font-size: clamp(14.5px, 1.2vw, 18px); }
.item__cuerpo > p { margin-top: 2px; font-size: 12.5px; color: var(--gris); }
.item__precio { margin-top: 8px !important; font-family: var(--ff-head); font-size: clamp(15px, 1.3vw, 19px); font-weight: 700; color: var(--tinta) !important; }
.mas { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--verde); color: #fff; transition: background-color .2s, transform .2s; }
.mas:hover { background: var(--naranja); color: var(--verde); transform: scale(1.08); }
.mas .icon { width: 16px; height: 16px; }
.menu__vacio { margin-top: 20px; color: var(--gris); }

/* ---------- 10 Chefs ---------- */
.chefs { background: var(--crema); }
.chefs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.5vw, 22px); }
.chef { background: var(--blanco); border-radius: var(--r-md); padding: 10px 10px 18px; text-align: center; box-shadow: var(--sombra); transition: transform .25s; }
.chef:hover { transform: translateY(-4px); }
.chef img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.chef h3 { margin-top: 14px; font-size: clamp(14px, 1.15vw, 17px); }
.chef > p { font-size: 12.5px; color: var(--gris); }
.redes--chef { justify-content: center; margin-top: 12px; }
.redes--chef a { color: var(--verde); }
.redes--chef a:hover { color: var(--naranja-osc); }

/* ---------- 11 Testimonios ---------- */
.testimonios { background: var(--crema); }
.resenas { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 24px); }
.resena { background: var(--blanco); border-radius: var(--r-md); padding: clamp(18px, 1.9vw, 26px); box-shadow: var(--sombra); }
.resena figcaption { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; border-bottom: 2px solid var(--naranja); }
.resena .avatar {
  display: grid; place-items: center; width: 54px; height: 54px; flex: none; border-radius: 50%;
  background: var(--verde); color: var(--naranja);
  font-family: var(--ff-head); font-size: 17px; font-weight: 700;
}
.resena figcaption > span { display: flex; flex-direction: column; line-height: 1.35; }
.resena figcaption strong { font-family: var(--ff-head); font-size: 15.5px; font-weight: 700; }
.resena figcaption small { font-size: 12.5px; color: var(--gris); }
.resena .estrellas { margin-top: 4px; }
.resena blockquote { margin-top: 16px; font-size: clamp(13.5px, 1.1vw, 15.5px); line-height: 1.75; color: var(--gris); }

/* ---------- 12 App ----------
   La foto ya trae el teléfono y el panel blanco de las tres ventajas:
   acá sólo se superpone el texto de la izquierda. */
.app { background: var(--blanco); }
.app__foto { position: relative; isolation: isolate; background: var(--verde-osc); color: #fff; }
.app__media { display: block; }
.app__media img { width: 100%; height: 100%; object-fit: cover; }
.app__foto::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5, 32, 20, .9) 0%, rgba(5, 32, 20, .68) 36%, rgba(5, 32, 20, .1) 62%, rgba(5, 32, 20, 0) 78%);
}
.app__texto { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 0 62% 0 var(--edge); }
.app__texto h2 { font-size: clamp(22px, 2.6vw, 38px); }
.app__texto > p { margin: 12px 0 22px; max-width: 34ch; color: rgba(255, 255, 255, .76); font-size: clamp(13px, 1.05vw, 15px); }
/* max-content se queda ~10px corto y los dos badges se apilan; con sitio
   de sobra la solución honesta es no dejar que corten. */
.tiendas { display: flex; flex-wrap: nowrap; gap: 12px; }
.tienda { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 9px 18px; border-radius: 10px; background: #0A0F0C; border: 1px solid rgba(255, 255, 255, .22); color: #fff; }
.tienda .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; }
.tienda span { display: flex; flex-direction: column; line-height: 1.2; }
.tienda small { font-size: 10px; color: rgba(255, 255, 255, .7); }
.tienda strong { font-size: 15px; font-weight: 700; }


/* ---------- 13 Footer ---------- */
.site-footer { background: var(--verde); color: #fff; padding-block: clamp(40px, 4.6vw, 62px) 20px; }
.site-footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 32px 34px; padding-bottom: clamp(26px, 3vw, 40px); }
.lema { display: flex; align-items: center; gap: 9px; margin-top: 16px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
.lema .rombo { color: var(--naranja); width: 6px; height: 6px; }
.site-footer h3 { font-family: var(--ff-body); margin-bottom: 16px; font-size: 16px; font-weight: 700; }
.site-footer nav a { font-size: 14px; color: rgba(255, 255, 255, .62); transition: color .2s; }
.site-footer nav a:hover { color: var(--naranja); }
.site-footer nav li + li { margin-top: 10px; }
.site-footer__pie { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 20px; border-top: 1px solid var(--linea-osc); font-size: 12.5px; color: rgba(255, 255, 255, .5); }
.site-footer__pie p:last-child { display: flex; align-items: center; gap: 6px; }

/* ============================================================
   14 RESPONSIVE
   ============================================================ */

/* --- Desktop chico --- */
@media (max-width: 1180px) {
  .buscador { display: none; }
  .icon-btn--lupa { display: grid; }
  .hero__texto { max-width: 70%; }
  .categorias__grid { grid-template-columns: repeat(3, 1fr); }
  .chefs__grid, .platos { grid-template-columns: repeat(2, 1fr); }
  .banda--frescura .banda__panel { padding-left: 48%; }
}

/* --- Tablet --- */
@media (max-width: 960px) {
  .icon-btn--menu { display: grid; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    padding: 8px; background: var(--verde); border: 1px solid var(--linea-osc); border-radius: var(--r-md);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .4);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s, transform .22s, visibility .22s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 13px 16px; border-radius: var(--r-sm); font-size: 15px; }
  .nav__link:hover { background: rgba(255, 255, 255, .08); }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: rgba(240, 166, 43, .2); }

  .hero__texto { max-width: 84%; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .menu__grid { grid-template-columns: 1fr; }
  /* Ya no entran las tres: pasa a carrusel y las flechas empiezan a servir */
  .resenas {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px;
  }
  .resenas::-webkit-scrollbar { display: none; }
  .resena { flex: 0 0 min(100%, 360px); scroll-snap-align: start; }
  /* Las bandas dejan de llevar el texto encima */
  .banda { display: flex; flex-direction: column; }
  .banda::before { display: none; }
  .banda__panel { position: static; padding: clamp(26px, 3.6vw, 40px) var(--edge) !important; }
  .banda__media img { aspect-ratio: 16 / 10; object-fit: cover; }
  .ver-historia { position: static; margin: 0 var(--edge) clamp(26px, 3.6vw, 40px); }
  .oferta__texto { position: static; padding: clamp(24px, 3.4vw, 38px) var(--edge); }
  .oferta__media img { aspect-ratio: 16 / 9; object-fit: cover; object-position: right center; }
  .app__texto { position: static; padding: clamp(26px, 3.6vw, 40px) var(--edge); }
  .app__foto { display: flex; flex-direction: column; }
  .app__foto::before { display: none; }
  .app__media img { aspect-ratio: 16 / 10; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile --- */
@media (max-width: 767px) {
  :root { --edge: 18px; }

  .hero { display: flex; }
  .hero .site-header { order: -1; }
  .hero__media { position: static; }
  .hero__media img { aspect-ratio: 4 / 5; }
  .hero::before { display: none; }
  .hero__texto { max-width: 100%; }
  .buscar-zona { flex-wrap: wrap; border-radius: var(--r-lg); padding: 10px; }
  .buscar-zona input { flex: 1 1 140px; padding-left: 4px; }
  .buscar-zona .btn { flex: 1 1 auto; }
  .hero__ventajas { gap: 14px 24px; }
  .hero__ventajas li { flex: 1 1 140px; }

  .categorias__grid, .platos, .chefs__grid { grid-template-columns: repeat(2, 1fr); }
  .ventajas-4 { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .tiendas { flex-wrap: wrap; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; padding: 10px 20px; }
  .item { gap: 12px; padding: 10px; }
  .item__cuerpo { padding-right: 40px; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__pie { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 360px) {
  .categorias__grid, .platos, .chefs__grid { grid-template-columns: 1fr; }
}
