/* ==========================================================================
   styles.css — Zumo y Mar (demo)
   COLORES: cambia la paleta en las variables de :root (sección 1).
   ========================================================================== */

/* ---------- 1) Variables ---------- */
:root {
  --petrol: #0B3C49;        /* azul petróleo */
  --petrol-2: #17566A;      /* petróleo más claro (olas) */
  --cream: #F6EFE3;         /* arena / crema */
  --sand: #EEE2CC;          /* arena más oscura (carta) */
  --orange: #FF7A1A;        /* naranja cítrico */
  --orange-text: #B84A00;   /* naranja oscuro para texto sobre crema (contraste AA) */
  --lime: #C6D93B;          /* verde limón: solo pequeñas dosis */
  --coral: #F26B5B;         /* coral suave */
  --coral-soft: #FAD0C8;
  --banner-h: 40px;         /* la altura real la calcula app.js */
  --font-title: "Fraunces", Georgia, serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---------- 2) Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; padding-top: var(--banner-h);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.55;
  color: var(--petrol); background: var(--cream); overflow-x: clip;
}
/* Textura de grano sutil (estática, no se anima) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .3  0 0 0 0 .2  0 0 0 0 .1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
h2 { font-size: clamp(2.4rem, 9vw, 4.6rem); }
h2 em, h1 em { font-weight: 500; color: var(--orange-text); }
.dark h2 em { color: var(--orange); }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.eyebrow { font-weight: 600; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .8rem; color: var(--orange-text); }
.dark .eyebrow { color: var(--lime); }
.dark { color: var(--cream); background: var(--petrol); }

/* Foco visible */
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .sheet :focus-visible { outline-color: var(--orange); }
.btn-orange:focus-visible { outline-color: var(--petrol); }

/* ---------- 3) Cinta demo + progreso ---------- */
.demo-banner {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120; display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--lime); color: var(--petrol); padding: .35rem .5rem .35rem .9rem; font-size: .8rem; font-weight: 600; line-height: 1.25;
}
.demo-banner button { background: transparent; border: 0; padding: .35rem; border-radius: 50%; display: grid; place-items: center; min-width: 32px; min-height: 32px; }
.demo-banner.is-closed { display: none; }
.progress { position: fixed; top: var(--banner-h); left: 0; right: 0; height: 4px; z-index: 119; }
.progress span { display: block; height: 100%; background: var(--coral); transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* ---------- 4) Botones y logotipo ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent; font-weight: 700; text-decoration: none; transition: transform .25s var(--spring);
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: scale(.97); }
.btn-orange { background: var(--orange); color: var(--petrol); }
.btn-ghost { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-wa { background: var(--petrol); color: var(--cream); width: 100%; }

.wordmark { display: inline-flex; align-items: baseline; gap: .12em; text-decoration: none; font-family: var(--font-title); font-size: 1.7rem; line-height: 1; letter-spacing: -.03em; }
.wm-a { font-weight: 800; }
.wm-b { font-weight: 500; font-style: italic; }
.wm-y { display: inline-grid; place-items: center; width: 1.05em; height: 1.05em; border-radius: 50%; background: var(--orange); color: var(--petrol); font-size: .62em; font-style: italic; font-weight: 800; transform: rotate(-12deg) translateY(-.15em); }

/* ---------- 5) Hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--banner-h)); display: flex; flex-direction: column; overflow: hidden; padding-top: 1.1rem; isolation: isolate; }
.hero-top { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 3; }
.ig-link { display: inline-flex; align-items: center; gap: .4rem; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .5rem .8rem; border-radius: 999px; border: 1.5px solid rgba(246, 239, 227, .65); background: rgba(11, 60, 73, .82); text-shadow: 0 1px 4px rgba(7, 35, 43, .9); backdrop-filter: blur(6px); }
.wordmark { text-shadow: 0 1px 6px rgba(7, 35, 43, .85); }
.hero-body { position: relative; z-index: 3; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2rem 0 11rem; }
/* Velo detrás del texto del hero: oscurece los cítricos justo donde hay letras */
.hero-body::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -3rem -4rem -3rem -8rem;
  background: radial-gradient(65% 62% at 28% 50%, rgba(11, 60, 73, .95) 0%, rgba(11, 60, 73, .82) 45%, rgba(11, 60, 73, 0) 78%);
}
.chip { display: inline-flex; align-items: center; gap: .55rem; background: rgba(246, 239, 227, .12); border: 1.5px solid rgba(246, 239, 227, .4); padding: .45rem .9rem; border-radius: 999px; font-weight: 600; font-size: .92rem; margin-bottom: 1.4rem; }
.chip-dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--lime); }
.chip.is-closed .chip-dot { background: var(--coral); }
.hero h1 { font-size: clamp(3.6rem, 17vw, 10rem); line-height: .9; letter-spacing: -.04em; }
.h-l1, .h-l2 { display: block; }
.h-l2 { padding-left: 6vw; font-weight: 500; font-style: italic; }
.brush { position: relative; display: inline-block; }
.brush svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .16em; transform-origin: 0 50%; animation: brush 1s .9s var(--ease) both; }
.wheel { display: inline-grid; color: var(--orange); font-weight: 800; -webkit-text-stroke: 1.5px rgba(11, 60, 73, .45); paint-order: stroke fill; text-shadow: 0 2px 12px rgba(11, 60, 73, .8); }
.wheel span { grid-area: 1 / 1; opacity: 0; animation: wheel 9s infinite; }
.wheel span:nth-child(2) { animation-delay: 3s; }
.wheel span:nth-child(3) { animation-delay: 6s; }
.hero-sub { max-width: 30rem; margin-top: 1.6rem; font-size: 1.15rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Sticker */
.sticker { display: grid; place-items: center; width: 7rem; height: 7rem; border-radius: 50%; background: var(--lime); color: var(--petrol); font-family: var(--font-title); font-weight: 800; font-size: 1.25rem; line-height: 1; text-align: center; transform: rotate(12deg); outline: 2px dashed var(--petrol); outline-offset: -8px; }

/* Cítricos */
.citrus { position: absolute; z-index: 1; will-change: transform; pointer-events: none; }
.citrus svg { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }
.c1 { width: min(62vw, 440px); right: -20vw; top: 5%; }
.c1 svg { animation-duration: 9s; }
.c2 { width: min(38vw, 260px); left: -12vw; bottom: 22%; }
.c2 svg { animation-duration: 8s; animation-delay: -3s; }
.c3 { width: 4.5rem; right: 16%; top: 52%; }
.c3 svg { animation-duration: 6s; animation-delay: -1s; }
.c4 { width: 3.4rem; left: 38%; top: 12%; }
.c4 svg { animation-duration: 7s; animation-delay: -4s; }

.bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubbles i { position: absolute; bottom: 12%; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; border: 2px solid rgba(246, 239, 227, .55); opacity: 0; animation: bubble var(--t) var(--d) linear infinite; }

/* Olas */
.hero-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 2; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; height: 100%; width: max(200%, 1500px); will-change: transform; }
.w1 { fill: var(--petrol-2); opacity: .9; animation: wave 16s linear infinite; bottom: 18px; }
.w2 { fill: var(--coral); animation: wave 12s linear infinite reverse; bottom: 8px; height: 75%; }
.w3 { fill: var(--cream); animation: wave 9s linear infinite; height: 62%; }

/* ---------- 6) Marquee ---------- */
.marquee-wrap { overflow: hidden; padding: 1.3rem 0; margin-top: -1px; position: relative; z-index: 3; }
.marquee { background: var(--orange); color: var(--petrol); transform: rotate(-1.6deg); width: 104%; margin-left: -2%; padding: .7rem 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 1.2rem; padding-right: 1.2rem; font-family: var(--font-title); font-weight: 800; font-style: italic; font-size: 1.7rem; white-space: nowrap; }
.marquee-track svg { width: 1.6rem; height: 1.6rem; }

/* ---------- 7) Secciones comunes ---------- */
section { position: relative; }
.sec-head { margin-bottom: 2.2rem; }
.wave-up { position: absolute; left: 0; top: -39px; width: 100%; height: 40px; fill: var(--sand); pointer-events: none; }
.ambiente .wave-up, .footer .wave-up { fill: var(--petrol); }

/* Revelado al hacer scroll (solo si hay JS) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--rd, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- 8) Destacados (asimétrico) ---------- */
.destacados { padding: 3rem 0 5rem; }
.dest-grid { display: flex; flex-direction: column; gap: 2rem; }
.dest { position: relative; border-radius: 2rem 0.8rem 2.4rem 1rem; padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; }
.dest:nth-child(1) { background: var(--petrol); color: var(--cream); transform: rotate(-1deg); }
.dest:nth-child(2) { background: var(--orange); color: var(--petrol); margin-left: 8vw; border-radius: 0.8rem 2.4rem 1rem 2rem; }
.dest:nth-child(3) { background: var(--coral-soft); color: var(--petrol); margin-right: 8vw; transform: rotate(1.2deg); }
.dest:nth-child(4) { background: var(--lime); color: var(--petrol); margin-left: 4vw; border-radius: 2.4rem 1rem 2rem 0.8rem; }
.dest-art { color: var(--petrol); width: 100%; max-width: 15rem; align-self: center; }
.dest:nth-child(1) .dest-art { color: var(--cream); }
.dest-art svg { width: 100%; height: auto; transition: transform .4s var(--spring); }
.dest:hover .dest-art svg { transform: rotate(-6deg) scale(1.05); }
.dest h3 { font-size: clamp(1.7rem, 6vw, 2.4rem); }
.dest p { max-width: 26rem; }
.dest-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.dest-price { font-family: var(--font-title); font-weight: 800; font-size: 1.9rem; }
.dest .sticker { position: absolute; top: -1.6rem; right: -.4rem; width: 5.4rem; height: 5.4rem; font-size: 1.05rem; background: var(--cream); }

/* Botón agregar */
.add-btn { position: relative; display: inline-flex; align-items: center; gap: .45rem; min-height: 48px; padding: .6rem 1.15rem; border-radius: 999px; border: 2px solid currentColor; background: transparent; font-weight: 700; }
.dest:nth-child(1) .add-btn { background: var(--orange); border-color: var(--orange); color: var(--petrol); }
.dest:not(:nth-child(1)) .add-btn { background: var(--petrol); border-color: var(--petrol); color: var(--cream); }
.splash { position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--lime); pointer-events: none; }

/* ---------- 9) Carta ---------- */
.carta { background: var(--sand); padding: 3.5rem 0 5rem; }
.cat-nav { position: sticky; top: calc(var(--banner-h) + 4px); z-index: 50; background: var(--sand); border-bottom: 2px dashed rgba(11, 60, 73, .25); padding: .7rem 0; }
.cat-nav-inner { display: flex; flex-direction: column; gap: .6rem; }
.cat-scroll { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; padding: 2px; margin: -2px; scroll-snap-type: x proximity; }
.cat-scroll::-webkit-scrollbar { display: none; }
.pill { flex: none; scroll-snap-align: start; min-height: 44px; padding: .45rem 1.1rem; border-radius: 999px; border: 2px solid var(--petrol); background: transparent; font-weight: 600; white-space: nowrap; transition: transform .25s var(--spring); }
.pill:active { transform: scale(.95); }
.pill[aria-pressed="true"] { background: var(--petrol); color: var(--cream); transform: rotate(-1.5deg); }
.search { display: flex; align-items: center; gap: .6rem; background: var(--cream); border: 2px solid var(--petrol); border-radius: 999px; padding: 0 1rem; min-height: 46px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; padding: .5rem 0; }
.search:focus-within { outline: 3px solid var(--orange); outline-offset: 2px; }
.search input::placeholder { color: #4f6f78; }

.carta-lista { padding-top: 2rem; min-height: 24rem; }
.panel-anim { animation: panelIn .5s var(--ease) both; }
.cat-title { font-size: clamp(2rem, 8vw, 3.4rem); margin-bottom: 1.2rem; }
.cat-title small { font-family: var(--font-body); font-size: .9rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-text); margin-left: .6rem; }
.cat-nota { margin: -.6rem 0 1.2rem; font-weight: 600; color: var(--orange-text); }
.plato p[hidden] { display: none; }
.platos { display: grid; gap: .9rem; }
.plato { position: relative; isolation: isolate; display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center; padding: 1rem 1.1rem; border-radius: 1.2rem; background: var(--cream); transition: transform .3s var(--spring); }
.plato::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--coral-soft); opacity: 0; transition: opacity .3s; }
.plato:hover, .plato:active { transform: rotate(-.7deg) translateX(3px); }
.plato:hover::before, .plato:active::before { opacity: 1; }
.plato:nth-child(even):hover, .plato:nth-child(even):active { transform: rotate(.7deg) translateX(-3px); }
.plato h4 { font-size: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; letter-spacing: -.01em; }
.plato p { font-size: .96rem; margin-top: .35rem; color: #2c5560; grid-column: 1; }
.plato-buy { grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; }
.precio { font-family: var(--font-title); font-weight: 800; font-size: 1.35rem; }
.cat-tag { font-size: .8rem; font-weight: 600; color: var(--orange-text); }
.tag { display: inline-flex; align-items: center; gap: .25rem; padding: .15rem .55rem; border-radius: 999px; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.tag .ic { width: .95em; height: .95em; stroke-width: 2.4; }
.tag-picante { background: var(--coral-soft); color: #7A1F14; }
.tag-nuevo { background: var(--lime); color: var(--petrol); }
.tag-dia { background: var(--petrol); color: var(--cream); }

.qty { display: inline-flex; align-items: center; background: var(--petrol); color: var(--cream); border-radius: 999px; padding: 3px; }
.qty button { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.qty button:disabled { opacity: .35; cursor: default; }
.qty button:not(:disabled):active { background: var(--orange); color: var(--petrol); }
.qty .qty-n { min-width: 1.6rem; text-align: center; font-weight: 700; }
.qty :focus-visible { outline-color: var(--orange); }
.vacio { padding: 2rem 0; font-family: var(--font-title); font-size: 1.5rem; }

/* ---------- 10) Ambiente ---------- */
.ambiente { padding: 5rem 0 6rem; margin-top: 2rem; }
.amb-grid { display: grid; gap: 2.5rem; }
.amb-text p:last-child { margin-top: 1.1rem; font-size: 1.15rem; max-width: 24rem; }
.amb-frames { display: grid; gap: 1.8rem; }
.frame { margin: 0; background: var(--cream); color: var(--petrol); padding: .7rem .7rem .5rem; border-radius: 6px; box-shadow: 0 6px 0 rgba(0, 0, 0, .18); }
.frame img { width: 100%; height: auto; border-radius: 3px; background: var(--sand); }
.frame figcaption { font-family: var(--font-title); font-style: italic; font-weight: 500; padding-top: .5rem; }
.f1 { transform: rotate(-2deg); width: 88%; }
.f2 { transform: rotate(2.4deg); width: 78%; margin-left: auto; }
.f3 { transform: rotate(-1deg); width: 70%; }
.js .frame.reveal { transform: translateY(26px) rotate(0); }
.js .f1.reveal.in { transform: rotate(-2deg); }
.js .f2.reveal.in { transform: rotate(2.4deg); }
.js .f3.reveal.in { transform: rotate(-1deg); }

/* ---------- 11) Cómo llegar ---------- */
.llegar { padding: 5rem 0; }
.llegar-grid { display: grid; gap: 2.5rem; }
.info-list { list-style: none; padding: 0; margin: 1.8rem 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list .ic { width: 1.7rem; height: 1.7rem; color: var(--orange-text); margin-top: .1rem; }
.info-list strong { display: block; font-family: var(--font-title); font-size: 1.3rem; }
.mapa { border: 4px solid var(--petrol); border-radius: 2rem .8rem 2.4rem .8rem; overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand); transform: rotate(1deg); }
.js .mapa.reveal.in { transform: rotate(1deg); }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- 12) Footer ---------- */
.footer { padding: 4.5rem 0 7rem; margin-top: 2rem; }
.foot-big { font-family: var(--font-title); font-style: italic; font-weight: 800; font-size: clamp(4rem, 22vw, 12rem); line-height: .85; letter-spacing: -.04em; color: var(--orange); margin-bottom: 2rem; }
.foot-row { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 1.8rem; border-bottom: 1.5px dashed rgba(246, 239, 227, .4); }
.foot-links { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; }
.foot-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; font-weight: 600; }
.foot-links a:hover, .cta-discreto:hover { text-decoration: underline; }
.foot-credit { padding-top: 1.4rem; display: grid; gap: .5rem; font-size: .95rem; }
.cta-discreto { color: var(--lime); }

/* ---------- 13) Botón flotante + bottom sheet ---------- */
.fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: inline-flex; align-items: center; gap: .6rem; min-height: 56px; padding: .5rem .6rem .5rem 1.1rem; border-radius: 999px; border: 0; background: var(--orange); color: var(--petrol); font-weight: 700; box-shadow: 0 4px 0 var(--petrol); transform: scale(0); opacity: 0; pointer-events: none; transition: transform .45s var(--spring), opacity .25s; }
.fab.show { transform: scale(1); opacity: 1; pointer-events: auto; }
.fab-count { display: grid; place-items: center; min-width: 2.3rem; height: 2.3rem; border-radius: 999px; background: var(--petrol); color: var(--cream); font-weight: 700; }
.fab-label { font-size: 1rem; }

.scrim { position: fixed; inset: 0; z-index: 100; background: rgba(11, 60, 73, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.scrim.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; max-height: 90svh; display: flex; flex-direction: column; background: var(--cream); border-radius: 2rem 2rem 0 0; transform: translateY(105%); visibility: hidden; transition: transform .35s ease-in, visibility 0s .35s; margin-inline: auto; width: min(560px, 100%); }
.sheet.open { transform: none; visibility: visible; transition: transform .6s var(--spring); }
.sheet-handle { width: 3rem; height: 5px; border-radius: 3px; background: rgba(11, 60, 73, .3); margin: .7rem auto .2rem; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: .4rem 1.3rem .6rem; }
.sheet-head h2 { font-size: 2rem; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--petrol); background: transparent; }
.sheet-body { overflow-y: auto; padding: 0 1.3rem 1.5rem; overscroll-behavior: contain; }
.sheet-empty { padding: 1rem 0 1.4rem; font-family: var(--font-title); font-size: 1.3rem; }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; padding: .8rem 0; border-bottom: 1.5px dashed rgba(11, 60, 73, .3); }
.cart-item b { font-family: var(--font-title); font-size: 1.1rem; }
.cart-item .sub { grid-column: 1; font-size: .92rem; color: #2c5560; }
.cart-item .qty { grid-column: 2; grid-row: 1 / span 2; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 1.2rem; font-size: 1.1rem; }
.cart-total strong { font-family: var(--font-title); font-size: 2rem; }
.is-empty .cart-list, .is-empty .cart-total, .is-empty #btn-enviar { display: none; }
.sheet:not(.is-empty) .sheet-empty { display: none; }

.field { display: grid; gap: .3rem; margin-bottom: 1rem; }
.field > span, .seg legend { font-weight: 600; font-size: .95rem; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: .65rem .9rem; border: 2px solid var(--petrol); border-radius: 1rem; background: #fff9ee; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.seg { border: 0; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.seg legend { padding: 0; margin-bottom: .4rem; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: .4rem 1rem; border: 2px solid var(--petrol); border-radius: 999px; font-weight: 600; }
.seg input:checked + span { background: var(--petrol); color: var(--cream); }
.seg input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.hint { font-size: .85rem; color: #2c5560; margin: -.4rem 0 1rem; }
.btn-wa + .hint { text-align: center; margin: .7rem 0 0; }
.form-error { background: var(--coral-soft); color: #7A1F14; font-weight: 600; padding: .6rem .9rem; border-radius: .8rem; margin-bottom: 1rem; }
body.lock { overflow: hidden; }

/* ---------- 14) Animaciones (solo transform y opacity) ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
[data-in] { animation: rise .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes brush { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes wheel { 0% { opacity: 0; transform: translateY(45%); } 4%, 30% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-45%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes bubble { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .8; } 100% { opacity: 0; transform: translateY(-60vh); } }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- 15) Escritorio ---------- */
@media (min-width: 700px) {
  .cat-nav-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .search { width: 18rem; flex: none; }
  .platos { grid-template-columns: 1fr 1fr; }
  .amb-frames { grid-template-columns: repeat(6, 1fr); }
  .f1 { grid-column: 1 / 5; width: 100%; }
  .f2 { grid-column: 4 / 7; grid-row: 2; width: 100%; margin: -3rem 0 0; position: relative; }
  .f3 { grid-column: 1 / 4; grid-row: 2; width: 100%; margin-top: 2rem; }
  .foot-row { flex-direction: row; justify-content: space-between; align-items: center; }
  .foot-credit { grid-auto-flow: column; justify-content: space-between; }
}
@media (min-width: 960px) {
  .hero-body { padding-bottom: 9rem; }
  .dest-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 2rem; align-items: start; }
  .dest { margin: 0 !important; }
  .dest:nth-child(1) { grid-column: 1 / 7; grid-row: 1 / 3; padding: 2rem; min-height: 34rem; }
  .dest:nth-child(1) .dest-art { max-width: 22rem; }
  .dest:nth-child(2) { grid-column: 7 / 13; margin-top: 2.5rem !important; flex-direction: row; align-items: center; }
  .dest:nth-child(2) .dest-art { max-width: 10rem; flex: none; }
  .dest:nth-child(3) { grid-column: 7 / 10; grid-row: 2; }
  .dest:nth-child(4) { grid-column: 10 / 13; grid-row: 2; margin-top: 3rem !important; }
  .amb-grid { grid-template-columns: 5fr 7fr; align-items: center; gap: 4rem; }
  .llegar-grid { grid-template-columns: 5fr 6fr; align-items: center; gap: 4rem; }
  .sheet { bottom: 1rem; border-radius: 2rem; max-height: 86svh; }
  .fab { right: 2rem; bottom: 2rem; }
}

/* ---------- 16) Ajustes responsive extra ---------- */
/* Legibilidad del hero: los cítricos van detrás, atenuados y lejos del texto */
.citrus { opacity: .38; }
.c1 { right: -34vw; top: 1%; }
.c2 { left: -20vw; bottom: 8%; }
.c3, .c4 { display: none; }
.hero-body > * { text-shadow: 0 2px 6px rgba(7, 35, 43, .85), 0 0 26px rgba(7, 35, 43, .65); }
.hero-body .btn, .hero-body .chip { text-shadow: none; }
.btn-ghost { background: rgba(11, 60, 73, .55); }
.chip { background: rgba(11, 60, 73, .7); }
@media (min-width: 700px) {
  .citrus { opacity: .75; }
  .c1 { right: -10vw; top: 4%; }
  .c2 { left: -8vw; bottom: 12%; }
  .c3, .c4 { display: block; }
}
@media (min-width: 1280px) { .citrus { opacity: .9; } }
/* Móviles muy angostos (≤ 380 px) */
@media (max-width: 380px) {
  .wrap { width: calc(100% - 1.6rem); }
  .hero h1 { font-size: 3.4rem; }
  .btn { width: 100%; }
  .wordmark { font-size: 1.45rem; }
  .ig-link span { display: none; }
  .plato { padding: .85rem; gap: .3rem .6rem; }
  .plato h4 { font-size: 1.15rem; }
  .fab-label { display: none; }
  .fab { padding-left: .6rem; }
}
/* Tablet (700 px+): hero con más aire */
@media (min-width: 700px) {
  .hero h1 { font-size: clamp(5rem, 13vw, 8.5rem); }
  .hero-sub { font-size: 1.25rem; }
  .c1 { right: -8vw; }
  .c2 { left: -6vw; }
  .dest-grid { gap: 2.2rem; }
  .dest:nth-child(2) { margin-left: 12vw; }
  .dest:nth-child(3) { margin-right: 12vw; }
}
/* Escritorio ancho */
@media (min-width: 1280px) {
  .hero h1 { font-size: 9.5rem; }
  .c1 { right: -5vw; }
  .c2 { left: -8vw; bottom: 0; opacity: .55; }
  body { font-size: 1.125rem; }
}
/* Pantallas bajas (celular en horizontal) */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-body { padding: 1.5rem 0 8rem; }
  .hero h1 { font-size: 3.4rem; }
  .sheet { max-height: 96svh; }
}

/* ---------- 17) Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none !important; flex-wrap: wrap; width: auto; }
  .wave, .citrus svg, .bubbles { animation: none !important; }
  .bubbles { display: none; }
  .wheel span { animation: none !important; opacity: 0; }
  .wheel span:first-child { opacity: 1; }
  .js .reveal { opacity: 1; transform: none; }
}
