/* =============================================================
   Wild Burger · Cocina salvaje
   Arquetipo 02 — Editorial oscuro cálido (carbón, hueso, brasa y hoja)
   Firma: "Las especiales": foto fija que cambia según la burger que lees.
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
/* Layout: noche de barra; tipografía condensada enorme, foto protagonista, un acento brasa y un verde hoja. */
:root {
  color-scheme: dark;
  --bg:     #121310;   /* carbón con matiz verde, nunca negro puro */
  --bg-2:   #191b16;
  --bg-3:   #22251e;   /* tarjeta */
  --bone:   #efe7d6;   /* texto sobre oscuro */
  --bone-2: #d6ccb6;
  --mute:   #9a927f;
  --ember:  #e8562a;   /* brasa: apetito */
  --ember-2:#c9441b;
  --leaf:   #9bb866;   /* hoja: lo natural */
  --line:   rgba(239, 231, 214, .12);
  --line-2: rgba(239, 231, 214, .22);

  --display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(1.1rem, 5vw, 4rem);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  color: var(--bone); background: var(--bg);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
fieldset { border: 0; min-width: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: .92; letter-spacing: -0.02em; text-wrap: balance; font-stretch: 75%; font-variation-settings: "wdth" 75; }
h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); text-transform: uppercase; }
h2 em, h1 em { font-style: normal; color: var(--ember); }
h3 { font-size: 1.9rem; text-transform: uppercase; }
::selection { background: var(--ember); color: var(--bg); }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(5rem, 12vw, 9.5rem); }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--leaf); }
.lead { color: var(--bone-2); font-size: clamp(1.02rem, 1.6vw, 1.15rem); max-width: 32rem; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 999; padding: .6rem 1rem; background: var(--bone); color: var(--bg); }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 1rem); }
.sample { margin-left: .5rem; padding: .15rem .5rem; border: 1px solid currentColor; font-size: .62rem; letter-spacing: .12em; }
.grain { position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 200px 200px; }

/* =============================================================
   4. Components
   ============================================================= */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 54px; padding: .9rem 1.6rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; letter-spacing: .02em;
  transition: transform .45s var(--ease-out), background .3s, color .3s, box-shadow .45s var(--ease-out);
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-ember { background: var(--ember); color: #1a0e08; box-shadow: 0 14px 30px -14px rgba(232, 86, 42, .7); }
.btn-ember:hover { background: var(--bone); }
.btn-ghost { box-shadow: inset 0 0 0 1.5px var(--line-2); color: var(--bone); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--bone); }
.btn-block { width: 100%; }
.btn-spin { position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(26, 14, 8, .3); border-top-color: #1a0e08; opacity: 0; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.head { display: grid; gap: 1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.head-split { align-items: end; }
.head-note { color: var(--mute); max-width: 26rem; font-size: .95rem; }

/* =============================================================
   5. Sections
   ============================================================= */
/* ---------- Nav ---------- */
.nav { position: fixed; z-index: 60; inset: 0 0 auto 0; padding-top: env(safe-area-inset-top, 0px); transition: background .4s, box-shadow .4s; }
.nav.is-solid, .nav.menu-open { background: rgba(18, 19, 16, .92); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 76px; max-width: 1360px; margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.logo { display: inline-flex; align-items: baseline; gap: .6rem; margin-right: auto; }
.logo-mark { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; letter-spacing: -0.03em; font-variation-settings: "wdth" 75; transform: skewX(-8deg); }
.logo-sub { font-size: .64rem; letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
.nav-links { display: none; gap: 2rem; font-weight: 600; font-size: .9rem; }
.nav-links a { position: relative; color: var(--bone-2); transition: color .25s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ember); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-soft); }
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; min-height: 44px; padding: .55rem 1.2rem; }
.nav-toggle { position: relative; width: 44px; height: 44px; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--bone); transition: transform .4s var(--ease-out); }
.nav-toggle span:first-child { top: 17px; } .nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.menu { display: none; padding: 1rem max(var(--gutter), env(safe-area-inset-right, 0px)) 2.5rem max(var(--gutter), env(safe-area-inset-left, 0px)); min-height: calc(100dvh - 76px); }
.menu.is-open { display: grid; align-content: start; gap: 2rem; animation: fade-in .45s var(--ease-out); }
.menu nav { display: grid; }
.menu nav a { font-family: var(--display); font-weight: 800; font-size: 2.6rem; text-transform: uppercase; font-variation-settings: "wdth" 75; padding: .3rem 0; border-bottom: 1px solid var(--line); }
@keyframes fade-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: max(660px, min(100svh, 1000px)); display: grid; align-items: end; }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0d0e0b; }
.hero-media picture, .hero-img { width: 100%; height: 100%; }
.hero-img { object-fit: cover; object-position: 70% 50%; animation: drift 26s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: scale(1.05); } 50% { transform: scale(1.12) translate3d(-1%, -1%, 0); } }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(13, 14, 11, .9) 0%, rgba(13, 14, 11, .55) 40%, rgba(13, 14, 11, 0) 70%),
  linear-gradient(0deg, rgba(13, 14, 11, .85) 0%, rgba(13, 14, 11, 0) 40%); }
.hero-glow { position: absolute; z-index: -1; width: 70vmax; height: 70vmax; left: -25vmax; bottom: -40vmax; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 86, 42, .28), transparent 62%); filter: blur(20px); animation: glow 9s ease-in-out infinite alternate; pointer-events: none; }
@keyframes glow { to { transform: translate3d(6vmax, -4vmax, 0) scale(1.08); opacity: .8; } }
.hero-content { display: grid; gap: 1.3rem; padding-top: 140px; padding-bottom: clamp(2.5rem, 7vw, 5rem); }
.status { display: inline-flex; align-items: center; gap: .6rem; justify-self: start; padding: .4rem .9rem; border-radius: 999px; background: rgba(239, 231, 214, .08); box-shadow: inset 0 0 0 1px var(--line); font-size: .8rem; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mute); }
.status.is-open .status-dot { background: var(--leaf); box-shadow: 0 0 0 0 rgba(155, 184, 102, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(155, 184, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(155, 184, 102, 0); } }
.hero-title { font-size: clamp(5rem, 19vw, 15rem); line-height: .82; text-transform: uppercase; letter-spacing: -0.035em; }
.hero-title i { font-style: normal; color: var(--ember); }
.ht-line { display: block; overflow: hidden; padding-bottom: .04em; }
.ht-line > span { display: inline-block; }
.hero-sub { max-width: 30rem; color: var(--bone-2); font-size: clamp(1rem, 1.6vw, 1.12rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.badge { position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: clamp(2rem, 6vw, 4.5rem); width: 128px; height: 128px; display: grid; place-items: center; color: var(--bone); }
.badge-ring { position: absolute; inset: 0; animation: rotate 22s linear infinite; }
.badge-ring text { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; fill: var(--bone); }
.badge-core { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--ember); color: #1a0e08; font-family: var(--display); font-weight: 800; font-size: 1.7rem; font-variation-settings: "wdth" 75; transition: transform .5s var(--ease-out); }
.badge:hover .badge-core { transform: scale(1.1) rotate(-8deg); }
@keyframes rotate { to { transform: rotate(360deg); } }

/* ---------- Ticker ---------- */
.ticker { position: relative; display: flex; overflow: hidden; background: var(--ember); color: #1a0e08; padding-block: 1rem; transform: rotate(-1.2deg); margin-block: -.6rem; z-index: 2; }
.ticker-track { display: inline-flex; flex: none; align-items: center; gap: 2rem; padding-right: 2rem; white-space: nowrap; will-change: transform; }
.ticker-track span { font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.2rem); text-transform: uppercase; font-variation-settings: "wdth" 75; }
.ticker-track b { font-size: 1.2rem; }

/* ---------- Cómo funciona ---------- */
.steps { display: grid; gap: 1px; background: var(--line); }
.step { display: grid; gap: .8rem; padding: clamp(1.6rem, 4vw, 2.6rem); background: var(--bg); }
.step-n { font-family: var(--display); font-weight: 800; font-size: clamp(4.5rem, 10vw, 7.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px var(--ember); font-variation-settings: "wdth" 75; }
.step h3 { font-size: 1.9rem; }
.step p { color: var(--bone-2); max-width: 26ch; }

/* ---------- Las especiales (firma) ---------- */
.specials { background: var(--bg-2); }
.sp { display: grid; gap: 2rem; }
.sp-stage { display: none; }
.sp-list { display: grid; gap: 1.5rem; }
.sp-item { display: grid; gap: 1rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.sp-thumb { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px; }
.sp-text { display: grid; gap: .6rem; }
.sp-text h3 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.sp-text p { color: var(--bone-2); max-width: 34ch; }
.sp-tag { justify-self: start; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; background: rgba(232, 86, 42, .14); color: var(--ember); }
.sp-tag-hot { background: rgba(232, 86, 42, .14); }
.sp-tag-leaf { background: rgba(155, 184, 102, .14); color: var(--leaf); }

/* ---------- Carta ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; }
.tabs button { min-height: 42px; padding: .45rem 1rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: var(--bone-2); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, color .25s, box-shadow .25s; }
.tabs button:hover { color: var(--bone); box-shadow: inset 0 0 0 1px var(--bone); }
.tabs button[aria-selected="true"] { background: var(--bone); color: var(--bg); box-shadow: none; }
.menu-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.menu-photo { display: none; position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 24px; background: var(--bg-3); }
.menu-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .7s var(--ease-out), transform 1.2s var(--ease-out); }
.menu-photo img.is-active { opacity: 1; transform: none; }
.panels { display: grid; gap: 2.5rem; min-width: 0; }
.panel-title { font-size: 1.7rem; margin-bottom: .5rem; color: var(--leaf); }
.items { display: grid; }
.items li { display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px dashed var(--line-2); }
.items strong { display: block; font-weight: 700; font-size: 1.06rem; }
.items span { display: block; color: var(--mute); font-size: .92rem; margin-top: .2rem; }
.items .sizes { color: var(--bone-2); font-size: .85rem; }
.items em { font-style: normal; font-weight: 700; color: var(--ember); white-space: nowrap; font-variant-numeric: tabular-nums; }
.notes { margin-top: clamp(2.5rem, 6vw, 4rem); display: flex; flex-wrap: wrap; gap: .5rem; }
.notes li { padding: .45rem .9rem; border-radius: 999px; background: var(--bg-3); color: var(--bone-2); font-size: .84rem; }
.js .panels .panel { display: none; }
.js .panels .panel.is-active { display: block; animation: fade-in .5s var(--ease-out); }

/* ---------- El local ---------- */
.place-grid { display: grid; gap: 4px; }
.place-a, .place-b { overflow: hidden; background: var(--bg-3); }
.place-a img, .place-b img { width: 100%; height: 100%; object-fit: cover; }
.place-a { aspect-ratio: 3 / 2; }
.place-b { aspect-ratio: 4 / 5; }
.place-quote { display: grid; align-content: center; padding: clamp(2rem, 6vw, 4rem) max(var(--gutter), env(safe-area-inset-left, 0px)); background: var(--leaf); color: #10140b; }
.place-quote p { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: .95; text-transform: uppercase; font-variation-settings: "wdth" 75; }
.place-quote em { font-style: normal; color: #1a0e08; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }

/* ---------- Opiniones ---------- */
.rv-grid { display: grid; gap: 1rem; }
.rv { display: grid; gap: 1.2rem; align-content: space-between; padding: 1.8rem; border-radius: 22px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line);
  --rx: 0deg; --ry: 0deg; transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .55s var(--ease-soft), box-shadow .4s; }
.rv:hover { box-shadow: inset 0 0 0 1px var(--ember), 0 30px 60px -30px rgba(232, 86, 42, .35); }
.stars { color: var(--ember); letter-spacing: .15em; }
.rv blockquote { font-size: 1.12rem; line-height: 1.45; }
.rv figcaption strong { display: block; }
.rv figcaption span { color: var(--mute); font-size: .86rem; }

/* ---------- Reservas ---------- */
.book { background: var(--bg-2); }
.book-grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.book-info { display: grid; gap: 1.3rem; justify-items: start; min-width: 0; }
.info { display: grid; width: 100%; }
.info div { display: grid; gap: .1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.info dt { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); }
.info dd { font-size: 1.05rem; }
.info a { color: var(--ember); font-weight: 700; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); padding-bottom: .5rem; }
.hours th, .hours td { padding: .55rem 0; border-top: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; color: var(--bone-2); }
.hours tr.closed td { color: var(--mute); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--ember); font-weight: 700; }
.book-card { position: relative; min-width: 0; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 28px; background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line); }
.book-form { display: grid; gap: 1.4rem; transition: opacity .5s, transform .5s var(--ease-out); }
.field { display: grid; gap: .5rem; min-width: 0; }
.field label, .field legend, .field-label { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.field legend { margin-bottom: .55rem; }
.field input[type=text], .field input[type=tel] { width: 100%; min-height: 52px; padding: .7rem 1rem; border-radius: 14px; border: 1px solid var(--line-2); background: var(--bg); font-size: 1rem; }
.field input:focus { outline: none; border-color: var(--ember); }
.field.is-invalid input { border-color: #e2715a; }
.row2 { display: grid; gap: 1.2rem; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pills label { position: relative; cursor: pointer; font-size: 1rem; letter-spacing: normal; text-transform: none; font-weight: 600; color: var(--bone); }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-grid; min-height: 46px; padding: .6rem 1.1rem; place-items: center; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, color .25s, box-shadow .25s; }
.pills small { display: block; font-size: .7rem; font-weight: 500; color: inherit; opacity: .7; }
.pills input:checked + span { background: var(--ember); color: #1a0e08; box-shadow: none; }
.pills input:focus-visible + span { outline: 2px solid var(--bone); outline-offset: 2px; }
.pills-sm span { min-height: 42px; padding: .5rem .9rem; font-variant-numeric: tabular-nums; }
.field-people { grid-template-columns: 1fr auto; align-items: center; }
.stepper { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
.stepper button { width: 42px; height: 42px; border-radius: 50%; font-size: 1.3rem; transition: background .2s; }
.stepper button:hover { background: rgba(239, 231, 214, .1); }
.stepper output { min-width: 2.2ch; text-align: center; font-family: var(--display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--bone-2); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--ember); }
.form-error { color: #f08a6c; font-size: .9rem; }
.form-error:empty { display: none; }
.book-form.is-sending .btn-label { opacity: 0; }
.book-form.is-sending .btn-spin { opacity: 1; }
.book-form.is-sent { opacity: 0; transform: translateY(-10px); pointer-events: none; }
.book-done { position: absolute; inset: 0; display: grid; place-content: center; gap: .8rem; padding: 2rem; text-align: center; opacity: 0; visibility: hidden; transition: opacity .7s var(--ease-out) .2s, visibility 0s .9s; }
.book-done.is-visible { opacity: 1; visibility: visible; transition: opacity .7s var(--ease-out) .2s, visibility 0s; }
.done-big { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 6vw, 4rem); line-height: .9; text-transform: uppercase; color: var(--ember); font-variation-settings: "wdth" 75; }

/* ---------- Footer ---------- */
.footer { padding-block: clamp(3rem, 8vw, 5rem) calc(6rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); overflow: hidden; }
.footer-word { font-family: var(--display); font-weight: 800; font-size: clamp(7rem, 30vw, 26rem); line-height: .75; text-transform: uppercase; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 2px var(--ember); font-variation-settings: "wdth" 75; margin-bottom: 2rem; transform: skewX(-8deg); transform-origin: left; }
.footer-row { display: grid; gap: 1rem; color: var(--bone-2); font-size: .9rem; }
.footer-note { color: var(--mute); font-size: .8rem; }

/* =============================================================
   6. Effects · reveals (red de seguridad en main.js)
   ============================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-soft), transform 1.1s var(--ease-out); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal-mask] { clip-path: inset(0 0 100% 0); transition: clip-path 1.2s var(--ease-out); }
.js [data-reveal-mask].is-revealed { clip-path: inset(0); }

/* =============================================================
   7. Responsive (mobile-first)
   ============================================================= */
@media (min-width: 540px) {
  .row2 { grid-template-columns: 1fr 1fr; }
  .rv-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .head-split { grid-template-columns: 1fr auto; gap: 2rem; }
  .sp-item { grid-template-columns: 220px 1fr; align-items: center; gap: 2rem; }
  .place-grid { grid-template-columns: 1.6fr 1fr; }
  .place-a { grid-row: span 2; aspect-ratio: auto; min-height: 520px; }
  .place-b { aspect-ratio: auto; min-height: 340px; }
  .footer-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle, .menu, .menu.is-open { display: none; }
  /* Firma: foto fija + lista que la cambia */
  .sp { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6rem); align-items: start; }
  .sp-stage { display: block; position: sticky; top: 100px; }
  .sp-frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 140px); margin-inline: auto; overflow: hidden; border-radius: 28px; background: var(--bg-3); }
  .sp-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .8s var(--ease-out), transform 1.4s var(--ease-out); }
  .sp-frame img.is-active { opacity: 1; transform: none; }
  .sp-count { position: absolute; left: 1.2rem; bottom: 1rem; z-index: 2; padding: .3rem .8rem; border-radius: 999px; background: rgba(18, 19, 16, .75); font-family: var(--display); font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
  .sp-list { gap: 0; }
  .sp-item { grid-template-columns: 1fr; min-height: 62vh; align-content: center; border-bottom: 0; padding: 0; opacity: .32; transition: opacity .6s var(--ease-out); }
  .sp-item.is-active { opacity: 1; }
  .sp-thumb { display: none; }
  .sp-text h3 { font-size: clamp(3rem, 5.4vw, 5.4rem); }
  .menu-grid { grid-template-columns: 5fr 7fr; }
  .menu-photo { display: block; position: sticky; top: 100px; }
  .rv-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rv:nth-child(even) { margin-top: 2.5rem; }
  .book-grid { grid-template-columns: 5fr 6fr; }
  .place-grid { grid-template-columns: 1.6fr 1fr; }
}
@media (max-width: 640px) {
  .hero { display: block; min-height: 0; }
  .hero-media { position: relative; inset: auto; height: min(74svh, 600px); }
  .hero-img { object-position: 50% 28%; }
  .hero-shade { background: linear-gradient(0deg, var(--bg) 0%, rgba(18, 19, 16, 0) 40%), linear-gradient(180deg, rgba(18, 19, 16, .6) 0%, rgba(18, 19, 16, 0) 22%); }
  .hero-content { margin-top: -9rem; padding-top: 0; position: relative; }
  .badge { top: calc(76px + env(safe-area-inset-top, 0px) + 1rem); bottom: auto; width: 104px; height: 104px; }
  .badge-core { width: 62px; height: 62px; font-size: 1.4rem; }
  .badge-ring text { font-size: 17px; }
}

/* =============================================================
   8. Reduced-motion — solo lo intrusivo
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-glow { animation: none; }
}
