/* =========================================================
   Ostionería La Reyna — estilos
   Paleta tomada del logo: rojo, azul rey, amarillo sol
   ========================================================= */
:root {
  --red: #e3262d;
  --red-dark: #b81a20;
  --blue: #1d5bb8;
  --navy: #0a1a30;
  --navy-2: #102641;
  --yellow: #f9a825;
  --cream: #f5efe4;
  --white: #fff;
  --text: #5c6370;
  --heading: #0a1a30;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(10, 26, 48, .12);
  --font-h: "Archivo", system-ui, sans-serif;
  --font-b: "Roboto", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body { margin: 0; font-family: var(--font-b); color: var(--text); background: var(--cream); line-height: 1.6; overflow-x: hidden; -webkit-tap-highlight-color: transparent; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--heading); margin: 0; line-height: 1.1; }
p { margin: 0 0 1rem; }
.container { width: min(1240px, 92%); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 44px; text-align: center; padding: .95rem 1.6rem; font: 700 .85rem/1 var(--font-h); text-transform: uppercase; letter-spacing: .04em; border-radius: 4px; border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn__arrow { display: inline-grid; place-items: center; width: 22px; height: 22px; background: #fff; color: var(--red); border-radius: 3px; font-size: .85rem; transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(227, 38, 45, .35); }
.btn--red:hover { background: var(--red-dark); }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow .btn__arrow { color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy .btn__arrow { color: var(--navy); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: .7rem 1.1rem; font-size: .75rem; }

.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 800 .85rem/1 var(--font-h); text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: 1rem; }
.eyebrow::before, .eyebrow::after { content: "〰"; color: currentColor; font-weight: 400; }
.eyebrow--dark { color: var(--red); }
.eyebrow--light { color: var(--yellow); }
.eyebrow.center { display: flex; justify-content: center; }
.title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; margin-bottom: 1.2rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #cfd6e2; font-size: .85rem; }
.topbar__inner { display: flex; align-items: center; gap: 2rem; padding: .55rem 4%; padding-left: calc(4% + 230px); }
.topbar p { margin: 0; }
.topbar__welcome span { color: var(--yellow); font-weight: 700; }
.topbar__item, .topbar__hours { display: inline-flex; align-items: center; gap: .4rem; }
.topbar svg { width: 15px; height: 15px; fill: var(--yellow); }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.topbar__hours { background: var(--yellow); color: var(--navy); font-weight: 700; padding: .55rem 1rem; margin: -.55rem 0; }
.topbar__hours svg { fill: var(--navy); }
.topbar__social { display: inline-flex; align-items: center; gap: .6rem; }
.topbar__social a svg { fill: #fff; transition: fill .2s; }
.topbar__social a:hover svg { fill: var(--yellow); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 2rem; background: #fff; padding: 0 4%; height: 84px; box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.header__logo { flex: none; position: relative; align-self: stretch; display: flex; align-items: center; padding: 0 3.5rem 0 4%; margin-left: -4%; margin-top: -40px; background: var(--red); clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%); transition: margin .3s; }
.header__logo img { height: 108px; width: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .25)); transition: height .3s; }
.header.is-stuck .header__logo { margin-top: 0; }
.header.is-stuck .header__logo img { height: 74px; }
.nav { display: flex; gap: 2rem; margin-inline: auto; }
.nav a { font: 700 1rem var(--font-h); color: var(--heading); position: relative; padding: .5rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--red); transition: width .25s; }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 1.2rem; }
.header__phone { display: flex; align-items: center; gap: .6rem; font: 800 1rem var(--font-h); color: var(--heading); }
.header__phone small { display: block; font: 500 .75rem var(--font-b); color: var(--text); }
.header__phone-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(227, 38, 45, .1); }
.header__phone-ico svg { width: 18px; fill: var(--red); }
.burger { display: none; width: 44px; height: 44px; background: var(--navy); border: 0; border-radius: 4px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 22px; height: 2px; background: #fff; transition: transform .3s, opacity .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 680px; background:
    radial-gradient(circle at 20% 30%, rgba(29, 91, 184, .25), transparent 45%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 6px),
    var(--navy);
  overflow: hidden; color: #fff; }
.hero::after { content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 100%;
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 38px),
    var(--red);
  border-radius: 50% 0 0 50% / 60% 0 0 60%; z-index: 0; }
.hero__slides { position: relative; z-index: 1; }
.hero__slide { display: none; grid-template-columns: 1fr 1fr; align-items: center; gap: 2rem; width: min(1240px, 92%); margin-inline: auto; min-height: 680px; padding: 3rem 0; }
.hero__slide.is-active { display: grid; }
.hero__slide.is-active .hero__text > * { animation: rise .8s both; }
.hero__slide.is-active .hero__text > *:nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__text > *:nth-child(3) { animation-delay: .24s; }
.hero__slide.is-active .hero__text > *:nth-child(4) { animation-delay: .36s; }
.hero__slide.is-active .hero__plate { animation: plateIn 1s both; }
.hero h1, .hero h2 { font-size: clamp(2.3rem, 5.8vw, 6rem); overflow-wrap: break-word; font-weight: 900; text-transform: uppercase; color: #fff; letter-spacing: -.01em; margin-bottom: 1.4rem; }
.hero__lead { max-width: 460px; font-size: 1.1rem; color: #c8d1df; margin-bottom: 2rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__media { position: relative; display: grid; place-items: center; }
.hero__plate { width: min(520px, 100%); aspect-ratio: 1; border-radius: 50%; padding: 18px; background: radial-gradient(circle, #1c1c1c 60%, #2b2b2b 61%, #111 100%); box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.hero__plate img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; animation: spin 60s linear infinite; }
.burst { position: absolute; top: 4%; left: 0; width: 140px; height: 140px; display: grid; place-items: center; background: var(--yellow); color: var(--navy);
  clip-path: polygon(50% 0, 61% 12%, 75% 6%, 79% 21%, 94% 21%, 91% 36%, 100% 50%, 91% 64%, 94% 79%, 79% 79%, 75% 94%, 61% 88%, 50% 100%, 39% 88%, 25% 94%, 21% 79%, 6% 79%, 9% 64%, 0 50%, 9% 36%, 6% 21%, 21% 21%, 25% 6%, 39% 12%);
  animation: wobble 4s ease-in-out infinite; }
.burst span { font: 900 1.7rem/1 var(--font-h); text-align: center; transform: rotate(-12deg); }
.burst sup { font-size: .55em; }
.burst--yellow { background: var(--yellow); }
.hero__dots { position: absolute; left: 2%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: .2rem; z-index: 2; }
.hero__dots button { width: 28px; height: 28px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; padding: 0; }
.hero__dots button::before { content: ""; width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .6); transition: background .2s, transform .2s, border-color .2s; }
.hero__dots button.is-active::before { background: var(--yellow); border-color: var(--yellow); transform: scale(1.25); }
.hero__deco { position: absolute; font-size: 2.6rem; z-index: 1; opacity: .9; animation: float 6s ease-in-out infinite; pointer-events: none; }
.hero__deco--1 { top: 12%; left: 46%; }
.hero__deco--2 { bottom: 10%; left: 5%; animation-delay: -2s; }
.hero__deco--3 { top: 8%; right: 4%; animation-delay: -4s; }

/* ---------- Promos ---------- */
.promos { padding: 5rem 0 2rem; }
.promos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.promo { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: .5rem; padding: 2rem 1.6rem; border-radius: var(--radius); overflow: hidden; min-height: 240px; transition: transform .3s; }
.promo:hover { transform: translateY(-6px); }
.promo h3 { font-size: 1.6rem; font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: .6rem; }
.promo__tag { font: 700 .8rem var(--font-h); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; }
.promo__price { font: 900 1.4rem var(--font-h); margin-bottom: 1rem; }
.promo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid rgba(255, 255, 255, .2); transition: transform .5s; }
.promo:hover img { transform: rotate(8deg) scale(1.05); }
.promo--red { background: var(--red); color: #ffe3a6; }
.promo--navy { background: var(--navy); color: var(--yellow); }
.promo--yellow { background: var(--yellow); color: var(--navy); }
.promo--yellow h3 { color: var(--navy); }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding: 5rem 4% 5rem 0; }
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 1.15; object-fit: cover; border-radius: 0 50% 50% 0 / 0 50% 50% 0; }
.spin-badge { position: absolute; top: 50%; left: 50%; width: 170px; height: 170px; transform: translate(-50%, -50%); display: grid; place-items: center; background: rgba(10, 26, 48, .55); border-radius: 50%; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.spin-badge svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.spin-badge text { fill: #fff; font: 800 15px var(--font-h); letter-spacing: 3px; }
.spin-badge span { font-size: 2.6rem; }
.about__text p { font-size: 1.05rem; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; padding: 1.5rem 0; margin: 1.5rem 0; border-block: 1px solid rgba(10, 26, 48, .12); }
.feature { display: flex; gap: .9rem; }
.feature + .feature { border-left: 1px solid rgba(10, 26, 48, .12); padding-left: 1.5rem; }
.feature__ico { font-size: 2rem; line-height: 1; }
.feature h4 { font-size: 1.15rem; margin-bottom: .3rem; }
.feature p { font-size: .92rem; margin: 0; }
.about__hours { display: flex; gap: 1rem; flex-wrap: wrap; }
.about__hours div { flex: 1; min-width: 140px; background: #fff; padding: .8rem 1rem; border-radius: 6px; box-shadow: var(--shadow); }
.about__hours strong { display: block; font-family: var(--font-h); color: var(--red); }
.about__hours span { font-size: .9rem; }

/* ---------- Categorías + marquee ---------- */
.cats { padding: 2rem 0 4rem; }
.cats__track { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1rem 4% 2rem; scrollbar-width: none; }
.cats__track::-webkit-scrollbar { display: none; }
.cat { flex: 0 0 260px; scroll-snap-align: start; text-align: center; cursor: pointer; background: none; border: 0; padding: 0; font: inherit; color: inherit; }
.cat__img { aspect-ratio: 1; overflow: hidden; border-radius: 6px; box-shadow: var(--shadow); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat:hover .cat__img img { transform: scale(1.08); }
.cat h3 { font-size: 1.3rem; margin-top: 1rem; }
.cat p { font-size: .88rem; margin: .2rem 0 0; }
.marquee { overflow: hidden; padding: 1rem 0; }
.marquee__inner { display: flex; gap: 3rem; width: max-content; animation: marquee 35s linear infinite; }
.marquee span { font: 900 clamp(3rem, 7vw, 5.5rem)/1 var(--font-h); text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px rgba(10, 26, 48, .25); white-space: nowrap; }
.marquee span:nth-child(odd) { color: rgba(10, 26, 48, .18); -webkit-text-stroke: 0; }

/* ---------- Favoritos ---------- */
.favs { padding: 2rem 0 5rem; }
.favs__box { position: relative; background: #fff; border-radius: 6px; padding: 5rem 3rem 4rem; box-shadow: var(--shadow); }
.favs__chili { position: absolute; top: -10px; right: 30px; font-size: 4rem; transform: rotate(25deg); }
.favs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.6rem; margin-top: 3rem; }
.fav { position: relative; text-align: center; padding: 0 1.2rem 1.6rem; background: var(--cream); border-radius: var(--radius); margin-top: 70px; transition: transform .3s, box-shadow .3s; }
.fav:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.fav__img { width: 150px; height: 150px; margin: -70px auto 1rem; border-radius: 50%; padding: 6px; border: 2px dashed var(--red); background: #fff; }
.fav__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transition: transform .6s; }
.fav:hover .fav__img img { transform: rotate(12deg); }
.fav h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.fav__stars { color: var(--yellow); letter-spacing: 2px; font-size: .9rem; }
.fav p { font-size: .85rem; margin: .4rem 0 .6rem; }
.fav__price { display: block; font: 900 1.2rem var(--font-h); color: var(--red); margin-bottom: .9rem; }
.fav .btn { background: rgba(227, 38, 45, .1); color: var(--red); padding: .6rem 1rem; font-size: .72rem; border-radius: 30px; }
.fav .btn:hover { background: var(--red); color: #fff; }

/* ---------- Offer banner ---------- */
.offer { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 420px; background: var(--navy); overflow: hidden; }
.offer::after { content: ""; position: absolute; top: 0; right: 0; width: 45%; height: 100%; background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 38px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .08) 0 2px, transparent 2px 38px), var(--red);
  border-radius: 50% 0 0 50% / 70% 0 0 70%; }
.offer__text { position: relative; z-index: 1; padding: 4rem 0 4rem 8%; color: #c8d1df; }
.offer__text h2 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.offer__text p { max-width: 460px; margin-bottom: 1.6rem; }
.offer__media { position: relative; z-index: 1; display: flex; justify-content: center; padding: 2rem; }
.offer__media img { width: min(380px, 80%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid rgba(255, 255, 255, .15); box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.offer__media .burst { left: 6%; top: 10%; z-index: 2; }

/* ---------- Menú ---------- */
.menu { padding: 6rem 0; }
.menu__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1rem 0 3rem; }
.menu__tab { border: 2px solid rgba(10, 26, 48, .15); background: #fff; color: var(--heading); font: 700 .88rem var(--font-h); padding: .7rem 1.2rem; border-radius: 40px; cursor: pointer; transition: all .2s; }
.menu__tab:hover { border-color: var(--red); color: var(--red); }
.menu__tab.is-active { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227, 38, 45, .3); }
.menu__panel { background: #fff; border-radius: 6px; padding: 3rem; box-shadow: var(--shadow); animation: fade .4s; }
.menu__head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 2px dashed rgba(10, 26, 48, .12); }
.menu__head h3 { font-size: 2rem; font-weight: 900; }
.menu__head small { display: block; font: 600 .9rem var(--font-b); color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin-top: .3rem; }
.menu__note { background: rgba(249, 168, 37, .15); color: var(--navy); font-weight: 500; padding: .7rem 1rem; border-radius: 6px; margin: 0; font-size: .92rem; }
.menu__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 3rem; }
.dish { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.1rem; align-items: center; padding: .6rem; border-radius: 10px; transition: background .2s; }
.dish:hover { background: var(--cream); }
.dish > * { min-width: 0; }
.dish h4, .dish p { overflow-wrap: break-word; }
.dish__img { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid #fff; box-shadow: 0 6px 16px rgba(0, 0, 0, .15); cursor: zoom-in; padding: 0; background: none; }
.dish__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.dish:hover .dish__img img { transform: scale(1.1); }
.dish h4 { font-size: 1.1rem; margin-bottom: .25rem; }
.dish h4 .star { color: var(--yellow); }
.dish p { font-size: .88rem; margin: 0; line-height: 1.45; }
.dish__price { font: 900 1.05rem var(--font-h); color: var(--red); text-align: right; white-space: nowrap; }
.dish__price.is-long { white-space: normal; max-width: 110px; font-size: .9rem; }
.menu__legal { font-size: .8rem; margin-top: 2rem; text-align: center; opacity: .8; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5, 12, 24, .88); display: none; place-items: center; padding: 2rem; }
.lightbox.is-open { display: grid; animation: fade .25s; }
.lightbox figure { margin: 0; max-height: 92vh; max-height: 92dvh; overflow-y: auto; max-width: 760px; width: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; }
.lightbox img { width: 100%; max-height: 70vh; max-height: 70dvh; object-fit: cover; }
.lightbox figcaption { padding: 1.2rem 1.5rem; display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.lightbox figcaption strong { font: 900 1.3rem var(--font-h); color: var(--heading); }
.lightbox figcaption span { font: 900 1.2rem var(--font-h); color: var(--red); }
.lightbox__close { position: absolute; top: 1rem; right: 1.4rem; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; }

/* ---------- Opiniones ---------- */
.reviews { background: #fff; padding: 6rem 0; position: relative; }
.reviews__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.quote-mark { display: block; font-size: 5rem; line-height: .6; color: var(--red); margin: 1.5rem 0 1rem; border-top: 1px solid rgba(10, 26, 48, .12); padding-top: 2rem; }
.reviews__lead { font-size: 1.2rem; font-style: italic; font-weight: 500; color: var(--heading); }
.reviews__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }
.octagon { width: min(460px, 100%); margin-inline: auto; aspect-ratio: 1; padding: 14px; background: #fde3c3; clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%); }
.octagon img { width: 100%; height: 100%; object-fit: cover; clip-path: inherit; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 520px; background: var(--navy); }
.contact__info { position: relative; background: var(--red); color: #ffe9e9; padding: 4.5rem 8% 4.5rem 8%; border-radius: 0 0 60% 0 / 0 0 25% 0; }
.contact__info h2 { color: #fff; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; margin-bottom: 2rem; }
.contact__info ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.1rem; }
.contact__info li { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; }
.contact__info strong { font-family: var(--font-h); color: var(--yellow); text-transform: uppercase; font-size: .85rem; letter-spacing: .05em; padding-top: .15rem; }
.contact__info a:hover { text-decoration: underline; }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(.9); }

/* ---------- Footer ---------- */
.footer { background: radial-gradient(circle at 15% 60%, rgba(249, 168, 37, .12), transparent 35%), var(--navy); color: #aeb8c8; padding-top: 4rem; }
.footer__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; background: var(--yellow); color: var(--navy); padding: 2rem 2.5rem; border-radius: var(--radius); }
.footer__bar-item { display: flex; align-items: center; gap: 1rem; font: 800 1.1rem var(--font-h); }
.footer__bar-item > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; font-size: 1.3rem; flex: none; }
.footer__bar-item small { display: block; font: 600 .78rem var(--font-b); }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding: 4rem 0 3rem; }
.footer__logo { width: 150px; margin-bottom: 1rem; }
.footer h4 { color: #fff; font-size: 1.3rem; margin-bottom: 1.4rem; padding-bottom: .8rem; position: relative; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 50px; height: 3px; background: var(--red); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer a:hover { color: var(--yellow); }
.footer__hours li { display: flex; flex-direction: column; }
.footer__hours span { color: var(--yellow); font-weight: 700; }
.footer__social { display: flex; gap: .6rem; }
.footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); transition: background .2s, border-color .2s; }
.footer__social a:hover { background: var(--red); border-color: var(--red); }
.footer__social svg { width: 16px; fill: #fff; }
.footer__bottom { background: var(--red); color: #fff; padding: 1.1rem 0; font-size: .9rem; }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.footer__bottom a { border: 1px solid rgba(255, 255, 255, .5); padding: .4rem .9rem; border-radius: 4px; }
.footer__bottom a:hover { background: #fff; color: var(--red); }

.to-top { position: fixed; right: calc(1.2rem + env(safe-area-inset-right)); bottom: calc(1.2rem + env(safe-area-inset-bottom)); width: 48px; height: 48px; display: grid; place-items: center; background: var(--yellow); color: var(--navy); font: 900 1.3rem var(--font-h); border-radius: 8px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(10px); transition: all .3s; z-index: 40; }
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Animaciones ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
@keyframes plateIn { from { opacity: 0; transform: scale(.7) rotate(-40deg); } }
@keyframes float { 50% { transform: translateY(-16px) rotate(8deg); } }
@keyframes wobble { 50% { transform: rotate(10deg) scale(1.05); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes fade { from { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   >=1281 escritorio | <=1280 laptop | <=1100 tablet horizontal (menu hamburguesa)
   <=900 tablet vertical (columnas apiladas) | <=600 telefono | <=380 telefono chico
   + modo horizontal para telefonos (poca altura)
   ========================================================= */

/* Altura del hero segun la pantalla (evita que se desborde en laptops de 768px de alto) */
.hero, .hero__slide { min-height: clamp(560px, calc(100vh - 124px), 760px); }

/* En pantallas tactiles no dejamos "pegados" los efectos hover */
@media (hover: none) {
  .btn:hover, .promo:hover, .fav:hover { transform: none; }
  .btn:hover .btn__arrow { transform: none; }
  .promo:hover img, .fav:hover .fav__img img, .cat:hover .cat__img img, .dish:hover .dish__img img { transform: none; }
}

/* Header y barra superior respetan el "notch" de iPhone en horizontal */
.header { padding-right: calc(4% + env(safe-area-inset-right)); }
.header__logo { padding-left: calc(4% + env(safe-area-inset-left)); }
.topbar__inner { padding-right: calc(4% + env(safe-area-inset-right)); }
.footer__bottom { padding-bottom: calc(1.1rem + env(safe-area-inset-bottom)); }

/* Pantallas muy grandes */
@media (min-width: 1800px) {
  .container { width: min(1400px, 88%); }
  .hero__slide { width: min(1400px, 88%); }
  .hero__plate { width: min(580px, 100%); }
}

/* Laptop */
@media (max-width: 1280px) {
  .header__phone { display: none; }
  .nav { gap: 1.4rem; }
  .topbar__welcome { display: none; }
  .topbar__inner { padding-left: calc(4% + 200px); }
}

/* Tablet horizontal / laptop chica: menu hamburguesa */
@media (max-width: 1100px) {
  .topbar__inner { padding-left: 4%; gap: 1rem; }
  .topbar__item { display: none; }
  .burger { display: flex; }
  .header__actions { margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; padding: 1rem 6% 2rem; box-shadow: 0 20px 30px rgba(0, 0, 0, .1); transform: translateY(-120%); visibility: hidden; transition: transform .35s, visibility .35s; z-index: -1; max-height: calc(100vh - 84px); max-height: calc(100dvh - 84px); overflow-y: auto; overscroll-behavior: contain; }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid #eee; }
  .header__logo { margin-top: 0; }
  .header__logo img, .header.is-stuck .header__logo img { height: 74px; }
  .hero__deco { display: none; }
  .hero__slide { gap: 1.5rem; }
  .about { gap: 2.5rem; }
  .menu__list { gap: 1rem 2rem; }
  .menu__panel { padding: 2.2rem; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* Tablet vertical (iPad, tablets Android) */
@media (max-width: 1024px) {
  .promos__grid { grid-template-columns: 1fr 1fr; }
  .promo:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .promo:last-child:nth-child(odd) img { max-width: 220px; justify-self: center; }
  .favs__box { padding: 4.5rem 2rem 3rem; }
}

/* Columnas apiladas */
@media (max-width: 900px) {
  .hero, .hero__slide { min-height: 0; }
  .hero__slide { grid-template-columns: 1fr; text-align: center; padding: 3rem 0 4.5rem; }
  .hero h1, .hero h2 { font-size: clamp(2.3rem, 10vw, 4.6rem); }
  .hero__lead { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero::after { width: 100%; height: 42%; top: auto; bottom: 0; border-radius: 50% 50% 0 0 / 30% 30% 0 0; }
  .hero__plate { width: min(400px, 78vw); }
  .hero .burst { left: 4%; }
  .hero__dots { left: 50%; top: auto; bottom: .8rem; transform: translateX(-50%); flex-direction: row; }
  .about { grid-template-columns: 1fr; padding: 3rem 4%; }
  .about__media img { border-radius: var(--radius); aspect-ratio: 4 / 3; }
  .offer { grid-template-columns: 1fr; }
  .offer::after { width: 100%; height: 50%; top: auto; bottom: 0; border-radius: 50% 50% 0 0 / 25% 25% 0 0; }
  .offer__text { padding: 3rem 6% 1rem; text-align: center; }
  .offer__text p { margin-inline: auto; }
  .menu { padding: 4rem 0; }
  .menu__list { grid-template-columns: 1fr; }
  .reviews { padding: 4rem 0; }
  .reviews__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .octagon { width: min(380px, 80vw); }
  .contact { grid-template-columns: 1fr; }
  .contact__info { border-radius: 0; padding: 3.5rem 6%; }
  .contact__map iframe { min-height: 360px; }
  .footer__bar { grid-template-columns: 1fr; padding: 1.6rem; gap: 1rem; }
  .cat { flex-basis: 220px; }
}

/* Telefonos */
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .topbar { font-size: .78rem; }
  .topbar__social { display: none; }
  .topbar__right { margin: 0 auto; }
  .header { gap: .6rem; height: 74px; }
  .nav { max-height: calc(100vh - 74px); max-height: calc(100dvh - 74px); }
  .header__logo { padding-right: 2.2rem; }
  .header__logo img, .header.is-stuck .header__logo img { height: 60px; }
  .header__actions { gap: .6rem; }
  .header .btn--red { padding: .65rem .8rem; font-size: .7rem; white-space: nowrap; }
  .header .btn--red .btn__arrow { display: none; }
  .burger { width: 44px; height: 44px; flex: none; }
  .hero__slide { padding: 2.5rem 0 4rem; }
  .hero__lead { font-size: 1rem; margin-bottom: 1.5rem; }
  .burst { width: 104px; height: 104px; }
  .burst span { font-size: 1.25rem; }
  .title { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .promos { padding: 3rem 0 1rem; }
  .promos__grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .promo { grid-template-columns: 1fr 130px; padding: 1.5rem 1.3rem; min-height: 0; }
  .promo h3 { font-size: 1.35rem; }
  .promo:last-child:nth-child(odd) img { max-width: none; }
  .about { padding: 2rem 4% 3rem; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; padding-left: 0; }
  .about__hours div { min-width: 0; flex-basis: 100%; }
  .spin-badge { width: 130px; height: 130px; }
  .spin-badge text { font-size: 13px; }
  .cats { padding: 1rem 0 2.5rem; }
  .cat { flex-basis: 70%; }
  .favs { padding: 1rem 0 3.5rem; }
  .favs__box { padding: 3.5rem 1rem 2rem; }
  .favs__chili { font-size: 3rem; right: 14px; }
  .favs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
  .fav .btn { white-space: nowrap; }
  .fav { padding: 0 .8rem 1.2rem; margin-top: 56px; }
  .fav__img { width: 116px; height: 116px; margin-top: -56px; }
  .fav h3 { font-size: 1rem; }
  .fav p { display: none; }
  .offer__text h2 { font-size: clamp(1.9rem, 9vw, 2.6rem); }
  .offer__media .burst { left: 2%; }
  .menu__tabs { justify-content: center; gap: .45rem; margin: .5rem 0 1.5rem; }
  .menu__tab { padding: .5rem .85rem; font-size: .8rem; min-height: 40px; }
  .menu__panel { padding: 1.5rem 1rem; }
  .menu__head h3 { font-size: 1.6rem; }
  .dish { grid-template-columns: 72px 1fr; gap: .9rem; padding: .5rem 0; }
  .dish__img { width: 72px; height: 72px; }
  .dish__price, .dish__price.is-long { grid-column: 2; text-align: left; max-width: none; margin-top: -.4rem; }
  .reviews__lead { font-size: 1.05rem; }
  .reviews__actions .btn { flex: 1 1 auto; }
  .contact__info li { grid-template-columns: 1fr; gap: .2rem; }
  .contact__map iframe { min-height: 300px; }
  .footer { padding-top: 3rem; }
  .footer__cols { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2rem; }
  .footer__bottom .container { justify-content: center; text-align: center; }
  .to-top { width: 42px; height: 42px; font-size: 1.1rem; }
  .lightbox { padding: 1rem; }
  .lightbox figcaption { flex-direction: column; gap: .2rem; }
}

/* Telefonos chicos (iPhone SE, Android compactos) */
@media (max-width: 380px) {
  .header__logo { padding-right: 1.8rem; }
  .header__logo img, .header.is-stuck .header__logo img { height: 52px; }
  .header .btn--red { padding: .6rem; font-size: .64rem; letter-spacing: .02em; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .promo { grid-template-columns: 1fr 100px; }
  .promo h3 { font-size: 1.2rem; }
  .favs__grid { gap: .8rem; }
  .eyebrow::before, .eyebrow::after { display: none; }
  .fav .btn { font-size: .66rem; }
  .fav__img { width: 100px; height: 100px; }
  .fav .btn { padding: .5rem .7rem; }
  .burst { width: 92px; height: 92px; }
  .burst span { font-size: 1.1rem; }
}

/* Telefonos en horizontal: poca altura, aprovechamos el ancho */
@media (orientation: landscape) and (max-height: 540px) and (max-width: 1100px) {
  html { scroll-padding-top: 70px; }
  .topbar { display: none; }
  .header { height: 64px; }
  .header__logo img, .header.is-stuck .header__logo img { height: 52px; }
  .nav { max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); padding-block: .5rem 1rem; }
  .nav a { padding: .6rem 0; }
  .hero, .hero__slide { min-height: 0; }
  .hero__slide { grid-template-columns: 1.15fr 1fr; text-align: left; padding: 2rem 0 2.5rem; }
  .hero h1, .hero h2 { font-size: clamp(2rem, 5.5vw, 3.2rem); margin-bottom: .8rem; }
  .hero__lead { margin: 0 0 1.2rem; font-size: .95rem; }
  .hero__cta { justify-content: flex-start; flex-direction: row; }
  .hero::after { width: 42%; height: 100%; top: 0; bottom: auto; border-radius: 50% 0 0 50% / 60% 0 0 60%; }
  .hero__plate { width: min(300px, 68vh); }
  .hero .burst { width: 90px; height: 90px; left: 0; }
  .hero .burst span { font-size: 1.05rem; }
  .hero__dots { left: 50%; bottom: .4rem; }
  .about__media img { aspect-ratio: 16 / 9; }
  .offer { grid-template-columns: 1.2fr 1fr; }
  .offer::after { width: 42%; height: 100%; top: 0; bottom: auto; border-radius: 50% 0 0 50% / 70% 0 0 70%; }
  .offer__text { text-align: left; padding: 2.5rem 0 2.5rem 6%; }
  .offer__media img { width: min(260px, 60vh); }
  .promos__grid { grid-template-columns: 1fr 1fr; }
  .promo:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .menu__list { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }
  .dish { grid-template-columns: 60px 1fr; gap: .7rem; padding: .4rem 0; }
  .dish__img { width: 60px; height: 60px; }
  .dish__price, .dish__price.is-long { grid-column: 2; text-align: left; max-width: none; margin-top: -.3rem; }
  .reviews__grid { grid-template-columns: 1.2fr 1fr; }
  .octagon { width: min(300px, 70vh); }
  .contact { grid-template-columns: 1fr 1fr; }
  .contact__map iframe { min-height: 100%; }
  .lightbox img { max-height: 60vh; max-height: 60dvh; }
  .to-top { width: 42px; height: 42px; }
  .menu__tabs { gap: .4rem; margin: .5rem 0 1.2rem; }
  .menu__tab { padding: .45rem .8rem; font-size: .78rem; min-height: 38px; }
}

/* =========================================================
   PÁGINAS INTERIORES: banner con título y ruta
   ========================================================= */
.page-banner { position: relative; overflow: hidden; color: #fff; padding: 5.5rem 0 5rem; text-align: center;
  background: radial-gradient(circle at 15% 30%, rgba(29, 91, 184, .3), transparent 45%), repeating-linear-gradient(90deg, rgba(255, 255, 255, .02) 0 2px, transparent 2px 6px), var(--navy); }
.page-banner::after { content: ""; position: absolute; right: -8%; top: -40%; width: 38%; height: 180%; border-radius: 50%;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 38px), repeating-linear-gradient(-45deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 38px), var(--red); }
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4.5rem); font-weight: 900; text-transform: uppercase; margin-bottom: 1rem; }
.crumbs { display: inline-flex; gap: .7rem; align-items: center; background: rgba(255, 255, 255, .08); padding: .55rem 1.3rem; border-radius: 40px; font: 700 .9rem var(--font-h); }
.crumbs a { color: var(--yellow); }
.crumbs a:hover { text-decoration: underline; }
.cat { display: block; }
.page-banner + .about { padding-top: 5rem; }
.page-banner + .reviews, .page-banner + .menu { padding-top: 4.5rem; }
@media (max-width: 900px) {
  .page-banner { padding: 3.5rem 0 3.2rem; }
  .page-banner::after { width: 60%; right: -30%; }
  .page-banner + .about { padding-top: 3rem; }
}
@media (max-width: 600px) {
  .page-banner { padding: 2.8rem 0 2.6rem; }
  .crumbs { font-size: .8rem; padding: .45rem 1rem; }
}

/* Botones "categoría anterior / siguiente" al final de cada categoría del menú */
.menu__pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 2px dashed rgba(10, 26, 48, .12); }
.menu__pager button { display: flex; flex-direction: column; gap: .2rem; max-width: 48%; padding: .8rem 1.2rem; border: 2px solid rgba(10, 26, 48, .15); border-radius: 10px; background: #fff; cursor: pointer; text-align: left; transition: border-color .2s, background .2s; }
.menu__pager button:hover { border-color: var(--red); }
.menu__pager .next { margin-left: auto; text-align: right; }
.menu__pager small { font: 600 .75rem var(--font-b); text-transform: uppercase; letter-spacing: .05em; color: var(--text); }
.menu__pager strong { font: 800 1rem var(--font-h); color: var(--red); }
@media (max-width: 600px) {
  .menu__pager { gap: .6rem; }
  .menu__pager button { padding: .7rem .8rem; }
  .menu__pager strong { font-size: .9rem; }
}
