/* ==========================================================================
   EVERBOX · Nutrición deportiva y ropa fitness · Fuengirola
   Concepto: el mundo de la etiqueta de un bote de suplemento.
   Layout: vídeo-reel con ficha lateral, banner ancho de la fachada, paneles
   "etiqueta" en hueso (contenido de la tienda, modo de empleo), selector de kits.
   Forma: paneles e imágenes con radio 14px; todo lo pulsable es píldora.
   ========================================================================== */

:root {
  --bg: #0f1d16;          /* verde selva (sale del vídeo del oso) */
  --surface: #14261d;
  --surface-2: #1c3227;
  --ink: #eef0e6;         /* hueso */
  --dim: #a8b5aa;
  --line: rgba(238, 240, 230, .14);
  --accent: #ff6b2c;      /* naranja energía */
  --accent-ink: #1a0c04;
  --bone: #eef0e6;        /* paneles etiqueta */
  --bone-ink: #10201a;
  --bone-dim: #4a5a51;
  --bone-accent: #c2410c; /* naranja legible sobre hueso */
  color-scheme: dark;

  --ff-display: 'Archivo', 'Arial Black', system-ui, sans-serif;
  --ff-body: 'Hanken Grotesk', system-ui, sans-serif;
  --ff-mono: 'DM Mono', ui-monospace, 'Courier New', monospace;

  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);

  --r: 14px;
  --nav-h: 72px;
  --gutter: clamp(16px, 4.5vw, 72px);
  --section: clamp(96px, 12vw, 168px);
  --maxw: 1320px;

  --z-nav: 50;
  --z-overlay: 80;
  --z-drawer: 90;
  --z-toast: 100;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--ff-body); font-size: 1.0625rem; line-height: 1.6;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: var(--ff-display); font-weight: 800; font-stretch: 125%;
  text-transform: uppercase; line-height: .98; letter-spacing: -.01em; text-wrap: balance;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 4.2rem); }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--ff-mono); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--dim); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: calc(var(--z-toast) + 1);
  padding: .7rem 1.1rem; border-radius: 999px; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; transform: translateY(-160%);
  transition: transform 200ms var(--ease-out);
}
.skip-link:focus { transform: none; }

/* ---------- Píldoras (todo lo pulsable) ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem; border-radius: 999px;
  font-family: var(--ff-body); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.pill i { font-size: 1.2em; }
.pill:active { transform: scale(.97); }
.pill-accent { background: var(--accent); color: var(--accent-ink); }
.pill-ghost { border-color: rgba(238, 240, 230, .35); color: var(--ink); }
.pill-dark { background: var(--bone-ink); color: var(--bone); }
.pill-outline-dark { border-color: var(--bone-ink); color: var(--bone-ink); }
.pill-block { width: 100%; }
@media (hover: hover) and (pointer: fine) {
  .pill-accent:hover { background: var(--ink); color: var(--bone-ink); }
  .pill-ghost:hover { border-color: var(--ink); background: rgba(238, 240, 230, .08); }
  .pill-dark:hover { background: #050b08; }
  .pill-outline-dark:hover { background: var(--bone-ink); color: var(--bone); }
}

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; font-size: 1.35rem;
  transition: transform 160ms var(--ease-out), background-color 200ms ease;
}
.icon-btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--surface-2); } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
  padding-top: env(safe-area-inset-top, 0px);
  transition: background-color 300ms ease, border-color 300ms ease;
  border-bottom: 1px solid transparent;
}
.nav.is-solid { background: rgba(15, 29, 22, .97); border-bottom-color: var(--line); }
.nav-inner {
  height: var(--nav-h); max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 2rem;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-word { font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: 1.35rem; letter-spacing: -.01em; }
.brand-tag { font-family: var(--ff-mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-top: .3rem; }
.nav-links { display: flex; gap: .25rem; margin-left: auto; }
.nav-links a {
  font-weight: 600; font-size: .98rem; text-decoration: none; color: var(--dim);
  padding: .5rem .9rem; border-radius: 999px;
  transition: color 200ms ease, background-color 200ms ease;
}
.nav-links a.is-active { color: var(--ink); background: rgba(238, 240, 230, .08); }
@media (hover: hover) and (pointer: fine) { .nav-links a:hover { color: var(--ink); } }
.nav-actions { display: flex; align-items: center; gap: .5rem; }
.cart-btn { min-height: 44px; padding: .45rem .5rem .45rem 1rem; gap: .55rem; }
.cart-count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink);
  font-family: var(--ff-mono); font-size: .82rem; font-variant-numeric: tabular-nums;
  transition: background-color 200ms ease, color 200ms ease;
}
.cart-btn.has-items .cart-count { background: var(--accent); color: var(--accent-ink); }
.cart-btn.is-bump { animation: bump 420ms var(--ease-out); }
@keyframes bump { 30% { transform: scale(1.08); } 100% { transform: scale(1); } }

.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 999px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform 250ms var(--ease-out); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px)); left: 0; right: 0;
    flex-direction: column; gap: 0; margin: 0; padding: .5rem var(--gutter) 1.5rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden;
    transition: opacity 200ms ease, transform 250ms var(--ease-out), visibility 0s linear 250ms;
  }
  .nav-links.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity 200ms ease, transform 250ms var(--ease-out), visibility 0s; }
  .nav-links a { font-family: var(--ff-display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: 1.3rem; padding: 1rem 0; border-radius: 0; border-bottom: 1px solid var(--line); color: var(--ink); background: none; }
  .nav-links a.is-active { background: none; color: var(--accent); }
}
@media (max-width: 480px) { .cart-label { display: none; } .cart-btn { padding-left: .8rem; } }

/* ==========================================================================
   1. REEL · el vídeo avanza con el scroll, textos superpuestos
   ========================================================================== */
.reel { position: relative; height: 420vh; }
.reel-stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 300px);
  align-items: center; gap: clamp(28px, 4vw, 64px);
  padding: calc(var(--nav-h) + 16px) max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))) 24px;
}
.reel-frame {
  position: relative; grid-column: 2; grid-row: 1;
  height: 100%; max-height: 1280px; aspect-ratio: 9 / 16;
  border-radius: var(--r); overflow: hidden;
  background: #0a140f url("../frames/f001.jpg") center / cover no-repeat;
}
.reel-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 860px) { .reel-canvas { object-position: 50% 50%; } .reel-frame { background-image: url("../frames-m/f001.jpg"); background-position: center; } }
.reel-scrim { display: none; }

.reel-copy { position: relative; grid-column: 1; grid-row: 1; height: 100%; }
.reel-beat { position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; opacity: 0; will-change: opacity, transform; }
.reel-scrim, .reel-label { will-change: transform; }
.reel-beat.is-on { opacity: 1; }
.reel-kicker { margin-bottom: 1rem; color: var(--accent); }
.reel-title {
  font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.4rem, 3.6vw, 4.6rem); line-height: .92; letter-spacing: -.02em;
}
.reel-title em { font-style: normal; color: var(--accent); }
.reel-sub { margin-top: 1.25rem; max-width: 30ch; font-size: clamp(1.05rem, 1.35vw, 1.25rem); line-height: 1.45; }
.reel-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.reel-beat-final { pointer-events: none; }
.reel-beat-final.is-live { pointer-events: auto; }

/* Ficha lateral tipo etiqueta */
.reel-label {
  grid-column: 3; grid-row: 1; align-self: center;
  background: var(--bone); color: var(--bone-ink); border-radius: var(--r);
  padding: 1.4rem 1.4rem 1.2rem;
}
.label-brand { font-family: var(--ff-display); font-weight: 900; font-stretch: 62%; font-size: 3.2rem; line-height: .9; letter-spacing: -.01em; }
.label-sub { font-weight: 600; font-size: .95rem; padding-bottom: .8rem; border-bottom: 8px solid var(--bone-ink); margin-top: .4rem; }
.label-rows { display: grid; }
.label-rows div { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: .5rem; padding: .6rem 0; border-bottom: 1px solid rgba(16, 32, 26, .35); font-size: .92rem; }
.label-rows dt { font-family: var(--ff-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bone-dim); padding-top: .15rem; }
.label-rows dd { font-weight: 600; line-height: 1.35; }
.label-rows i { color: var(--bone-accent); }
.label-meter { height: 6px; margin-top: 1rem; border-radius: 999px; background: rgba(16, 32, 26, .15); overflow: hidden; }
.label-meter span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }

@media (max-width: 1180px) {
  .reel-stage { grid-template-columns: minmax(0, 1fr) auto; }
  .reel-label { display: none; }
}

/* Ordenador con vídeo horizontal: pantalla completa */
@media (min-width: 861px) {
  .reel--wide .reel-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .reel--wide .reel-frame { position: absolute; inset: 0; grid-column: auto; grid-row: auto; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; }
  .reel--wide .reel-scrim {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(15, 29, 22, .65), rgba(15, 29, 22, 0) 18%),
      linear-gradient(to right, rgba(15, 29, 22, .9) 0%, rgba(15, 29, 22, .55) 36%, rgba(15, 29, 22, 0) 64%);
  }
  .reel--wide .reel-copy { grid-column: 1; z-index: 1; }
  .reel--wide .reel-label { grid-column: 2; display: block; z-index: 1; }
  .reel--wide .reel-title { font-size: clamp(3rem, 6vw, 6.4rem); }
}

/* Móvil: el vídeo vertical ocupa la pantalla */
@media (max-width: 860px) {
  .reel { height: 380vh; }
  .reel-stage { display: block; padding: 0; }
  .reel-frame { position: absolute; inset: 0; height: 100%; max-height: none; aspect-ratio: auto; border-radius: 0; background-position: 48% center; }
  .reel-scrim {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background:
      linear-gradient(to bottom, rgba(15, 29, 22, .7) 0%, rgba(15, 29, 22, 0) 18%),
      linear-gradient(to top, rgba(15, 29, 22, .96) 0%, rgba(15, 29, 22, .75) 30%, rgba(15, 29, 22, 0) 58%);
  }
  .reel-copy { position: absolute; inset: auto 0 0; height: 0; }
  .reel-beat { top: auto; bottom: calc(32px + env(safe-area-inset-bottom, 0px)); left: 20px; right: 20px; translate: none; }
  .reel-kicker { margin-bottom: .6rem; }
  .reel-title { font-size: clamp(2.5rem, 12.5vw, 4.2rem); }
  .reel-sub { margin-top: .8rem; font-size: 1.05rem; }
  .reel-actions .pill { flex: 1 1 auto; }
}

/* ==========================================================================
   2. TIENDA
   ========================================================================== */
.store { padding-block: var(--section); }
.store-top {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.store-banner { border-radius: var(--r); overflow: hidden; background: var(--surface); }
.store-banner img { width: 100%; aspect-ratio: 1170 / 1002; object-fit: cover; }
.store-intro { display: grid; gap: 1.2rem; }
.store-intro h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.store-intro p { color: var(--dim); max-width: 52ch; font-size: 1.12rem; }

.store-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px); align-items: center; margin-top: clamp(64px, 8vw, 112px);
}
.store-photos { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: end; }
.store-photos img { width: 100%; border-radius: var(--r); object-fit: cover; }
.store-photos img:first-child { aspect-ratio: 4 / 5; }
.store-photos img:last-child { aspect-ratio: 3 / 4; margin-bottom: 48px; }

/* Panel "información nutricional" */
.facts {
  background: var(--bone); color: var(--bone-ink); border-radius: var(--r);
  padding: clamp(22px, 2.6vw, 34px);
  box-shadow: 0 24px 60px -30px rgba(2, 8, 5, .7);
}
.facts-title {
  font-family: var(--ff-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: .92; letter-spacing: -.01em;
}
.facts-serving { font-weight: 600; padding: .5rem 0 .8rem; border-bottom: 10px solid var(--bone-ink); }
.facts-table { width: 100%; border-collapse: collapse; }
.facts-table th, .facts-table td { padding: .7rem 0; border-bottom: 1px solid rgba(16, 32, 26, .3); vertical-align: top; }
.facts-table th { text-align: left; font-weight: 800; font-size: 1.02rem; padding-right: 1rem; }
.facts-table td { text-align: right; color: var(--bone-dim); font-size: .95rem; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 5px solid var(--bone-ink); }
.facts-foot { margin-top: .9rem; font-size: .88rem; color: var(--bone-dim); line-height: 1.45; }

@media (max-width: 900px) {
  .store-top { grid-template-columns: 1fr; }
  .store-detail { grid-template-columns: 1fr; }
  .store-photos img:last-child { margin-bottom: 32px; }
}
@media (max-width: 520px) {
  .facts-table th, .facts-table td { display: block; text-align: left; padding: 0; border: 0; }
  .facts-table th { padding-top: .7rem; }
  .facts-table td { padding-bottom: .7rem; border-bottom: 1px solid rgba(16, 32, 26, .3); }
  .facts-table tr:last-child th { border: 0; }
  .facts-table tr:last-child td { border-bottom: 5px solid var(--bone-ink); }
}

/* ==========================================================================
   3. FITNESS KITS · selector con pestañas
   ========================================================================== */
.kits { padding-block: var(--section); background: var(--surface); }
.kits-head { display: grid; gap: 1rem; max-width: 640px; }
.kits-head p { color: var(--dim); font-size: 1.1rem; }

.kits-tabs {
  display: inline-flex; gap: 4px; padding: 4px; margin: clamp(32px, 4vw, 48px) 0 clamp(24px, 3vw, 40px);
  border-radius: 999px; background: var(--bg); border: 1px solid var(--line);
  max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.kits-tabs::-webkit-scrollbar { display: none; }
.kits-tabs [role="tab"] {
  min-height: 44px; padding: .55rem 1.3rem; border-radius: 999px; white-space: nowrap;
  font-weight: 700; color: var(--dim);
  transition: background-color 220ms var(--ease-out), color 220ms ease, transform 160ms var(--ease-out);
}
.kits-tabs [role="tab"]:active { transform: scale(.97); }
.kits-tabs [aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
@media (hover: hover) and (pointer: fine) { .kits-tabs [aria-selected="false"]:hover { color: var(--ink); } }

.kit { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.kit-body { padding-top: clamp(0px, 3vw, 40px); }
.kit-poster { border-radius: var(--r); overflow: hidden; background: #0c1610; max-width: 460px; width: 100%; }
.kit-poster img { width: 100%; aspect-ratio: 900 / 1580; object-fit: cover; object-position: top; }
.kit-body { display: grid; gap: 1.1rem; align-content: start; min-width: 0; }
.kit-body .mono { color: var(--accent); }
.kit-body h3 { font-size: clamp(2.2rem, 4.6vw, 4.4rem); }
.kit-desc { font-size: 1.2rem; max-width: 40ch; }
.kit-list { display: grid; border-top: 1px solid var(--line); }
.kit-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.kit-list strong { font-weight: 700; }
.kit-list span { color: var(--dim); text-align: right; }
.kit-price { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin-top: .4rem; }
.kit-price strong { font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.kit-price s { color: var(--dim); }
.kit-price .save { color: var(--accent); font-weight: 700; }
.kit-buy { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.kit-add { min-height: 54px; padding-inline: 1.8rem; font-size: 1.05rem; }
.kit-add.is-added { background: var(--ink); color: var(--bone-ink); }
.kit-note { display: flex; align-items: center; gap: .5rem; color: var(--dim); font-size: .95rem; }
.kit-note i { color: var(--accent); font-size: 1.2rem; }

.kit-poster, .kit-body { transition: opacity 220ms ease, transform 280ms var(--ease-out); }
.kit.is-swapping .kit-poster, .kit.is-swapping .kit-body { opacity: 0; transform: translateY(8px); transition-duration: 140ms; }

.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; }
.qty button { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 999px; transition: background-color 150ms ease, transform 160ms var(--ease-out); }
.qty button:active { transform: scale(.92); background: var(--surface-2); }
.qty output { min-width: 26px; text-align: center; font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
.qty-lg button { width: 50px; height: 50px; font-size: 1.1rem; }

@media (max-width: 860px) {
  .kits-tabs { display: flex; width: 100%; }
  .kits-tabs [role="tab"] { flex: 1 1 0; padding-inline: .6rem; font-size: .95rem; }
  .kit-body { padding-top: 0; }
  .kit { grid-template-columns: 1fr; }
  .kit-poster { max-width: 380px; margin-inline: auto; }
}

/* ==========================================================================
   4. OPINIONES
   ========================================================================== */
.reviews { padding-block: var(--section); }
.reviews-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.seal {
  position: sticky; top: calc(var(--nav-h) + 40px);
  width: min(300px, 70vw); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-content: center; justify-items: center; gap: .3rem; text-align: center;
  border: 2px solid var(--accent); outline: 1px dashed rgba(255, 107, 44, .45); outline-offset: -14px;
  rotate: -8deg;
}
.seal-num { font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: clamp(4rem, 7vw, 5.6rem); line-height: .9; color: var(--accent); }
.seal-stars { color: var(--accent); font-size: 1.2rem; display: flex; gap: .1rem; }
.seal-meta { font-family: var(--ff-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); }
.reviews-body { display: grid; gap: clamp(32px, 4vw, 52px); justify-items: start; min-width: 0; }
.quote { display: grid; gap: .9rem; padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line); width: 100%; }
.quote blockquote { font-size: clamp(1.3rem, 2.3vw, 1.85rem); line-height: 1.32; font-weight: 500; letter-spacing: -.01em; max-width: 36ch; }
.quote figcaption { font-family: var(--ff-mono); font-size: .88rem; text-transform: uppercase; letter-spacing: .04em; }
.quote figcaption span { color: var(--dim); }
@media (max-width: 860px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .seal { position: relative; top: 0; width: min(240px, 64vw); margin-inline: auto; }
}

/* ==========================================================================
   5. MODO DE EMPLEO · horario + mapa
   ========================================================================== */
.visit { padding-block: 0 var(--section); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(16px, 2vw, 24px); align-items: stretch; }
.usage {
  background: var(--bone); color: var(--bone-ink); border-radius: var(--r);
  padding: clamp(24px, 3vw, 40px); display: grid; gap: 1rem; align-content: start;
}
.usage-title { font-family: var(--ff-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: clamp(2.6rem, 5vw, 4rem); line-height: .9; padding-bottom: .7rem; border-bottom: 10px solid var(--bone-ink); }
.usage-lead { font-weight: 600; font-size: 1.1rem; }

.status { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--ff-mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--bone-dim); }
.status.is-open .status-dot { background: #1f9d55; box-shadow: 0 0 0 4px rgba(31, 157, 85, .18); }

.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .55rem 0; text-align: left; border-bottom: 1px solid rgba(16, 32, 26, .25); font-size: .98rem; }
.hours th { font-weight: 600; width: 36%; }
.hours td { color: var(--bone-dim); }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bone-ink); font-weight: 800; }
.hours tr.is-today th::after { content: "Hoy"; display: inline-block; margin-left: .45rem; padding: .05rem .45rem; border-radius: 999px; background: var(--bone-ink); color: var(--bone); font-family: var(--ff-mono); font-weight: 500; font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; vertical-align: .1em; white-space: nowrap; }
.usage-addr { display: flex; gap: .7rem; font-style: normal; padding-top: .4rem; }
.usage-addr i { font-size: 1.5rem; color: var(--bone-accent); }
.usage .pill { justify-self: start; margin-top: .3rem; }

.map { position: relative; min-height: 520px; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (max-width: 560px) {
  .hours tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; border-bottom: 1px solid rgba(16, 32, 26, .25); padding: .5rem 0; }
  .hours th, .hours td { border: 0; padding: 0; width: auto; }
  .hours th { grid-row: span 2; align-self: start; }
  .hours td { text-align: right; }
  .hours td:empty, .hours td:only-of-type:empty { display: none; }
}
@media (max-width: 900px) {
  .visit-grid { grid-template-columns: 1fr; }
  .map { min-height: 360px; }
}

/* ==========================================================================
   6. CONTACTO
   ========================================================================== */
.contact { padding-block: 0 var(--section); }
.contact-band {
  background: var(--accent); color: var(--accent-ink); border-radius: var(--r);
  padding: clamp(28px, 5vw, 64px); display: grid; gap: 1rem;
}
.contact-band .mono { color: rgba(26, 12, 4, .78); }
.contact-phone {
  font-family: var(--ff-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(1.9rem, 8vw, 7.4rem); line-height: .9; letter-spacing: -.03em; white-space: nowrap;
  font-variant-numeric: tabular-nums; user-select: all;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .5rem; }
.contact-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(40px, 5vw, 64px); }
.contact-list dt { display: flex; align-items: center; gap: .5rem; font-family: var(--ff-mono); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--dim); margin-bottom: .5rem; }
.contact-list dt i { color: var(--accent); font-size: 1.15rem; }
.contact-list dd { font-size: 1.1rem; font-weight: 600; line-height: 1.45; }
@media (max-width: 760px) { .contact-list { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0 calc(32px + env(safe-area-inset-bottom, 0px)); overflow: hidden; }
.footer-word {
  font-family: var(--ff-display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(3rem, 13.2vw, 13rem); line-height: .8; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(238, 240, 230, .22); white-space: nowrap;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 1.5rem; color: var(--dim); font-size: .92rem; }

/* ==========================================================================
   PEDIDO (cajón lateral)
   ========================================================================== */
.cart-overlay { position: fixed; inset: 0; z-index: var(--z-overlay); background: rgba(4, 9, 6, .62); opacity: 0; transition: opacity 250ms ease; }
.cart-overlay.is-open { opacity: 1; }
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: var(--z-drawer);
  width: min(440px, 100vw); display: flex; flex-direction: column;
  background: var(--surface); border-left: 1px solid var(--line);
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  transform: translateX(100%); transition: transform 380ms var(--ease-drawer);
}
.cart.is-open { transform: none; }
.cart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: 1.4rem 1rem 1.2rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 2rem; margin-top: .3rem; }
.cart-items { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: .25rem 1.5rem; }
.cart-item { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 60px; height: 80px; object-fit: cover; object-position: top; border-radius: 8px; }
.ci-name { font-weight: 700; line-height: 1.25; }
.ci-price { color: var(--dim); font-size: .9rem; }
.ci-side { display: grid; justify-items: end; gap: .45rem; }
.ci-total { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
.cart-empty { flex: 1; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center; color: var(--dim); }
.cart-foot { padding: 1.2rem 1.5rem 1.4rem; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.cart-sum { display: grid; gap: .3rem; }
.cart-sum div { display: flex; justify-content: space-between; align-items: baseline; }
.cart-sum dt { color: var(--dim); }
.cart-sum dd { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; }
.cart-sum div:first-child dd { color: var(--accent); }
.cart-sum-total dt { color: var(--ink); font-weight: 700; }
.cart-sum-total dd { font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: 2rem; }
.cart-note { color: var(--dim); font-size: .88rem; text-align: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: var(--z-toast);
  translate: -50% 0; max-width: calc(100vw - 32px);
  padding: .8rem 1.3rem; border-radius: 999px; background: var(--bone); color: var(--bone-ink);
  font-weight: 700; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 200ms ease, transform 300ms var(--ease-out);
}
.toast.is-on { opacity: 1; transform: none; }

body.is-locked { overflow: hidden; }

/* ---------- Entrada al hacer scroll (visible en reposo, nunca oculto) ---------- */
.js .reveal { opacity: .35; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Movimiento reducido: fundidos suaves en vez de desplazamientos.
   El vídeo del reel sigue funcionando: lo mueve el propio scroll del usuario. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { transform: none; transition: opacity 400ms ease; }
  .kit.is-swapping .kit-poster, .kit.is-swapping .kit-body { transform: none; }
  .cart { transition-duration: 220ms; }
  .cart-btn.is-bump { animation: none; }
}

/* ---------- Textos del reel ligados al scroll por CSS (hilo de composición) ----------
   El JS solo marca el estado; la opacidad y el desplazamiento los anima el
   navegador con la posición del scroll, sin pasar por JavaScript. */
@supports (animation-timeline: view()) {
  .has-scroll-timeline .reel { view-timeline: --reel block; view-timeline-inset: 0px; }
  .has-scroll-timeline .reel-beat,
  .has-scroll-timeline .label-meter span {
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-duration: auto;
    animation-timeline: --reel;
    animation-range: contain 0% contain 100%;
  }
  .has-scroll-timeline .reel-beat:nth-child(1) { animation-name: beat-1; }
  .has-scroll-timeline .reel-beat:nth-child(2) { animation-name: beat-2; }
  .has-scroll-timeline .reel-beat:nth-child(3) { animation-name: beat-3; }
  .has-scroll-timeline .reel-beat:nth-child(4) { animation-name: beat-4; }
  .has-scroll-timeline .label-meter span { animation-name: meter; }
}
@keyframes beat-1 { 0% { opacity: 1; transform: translateY(0); } 17.5%, 100% { opacity: 0; transform: translateY(-15px); } }
@keyframes beat-2 { 0%, 15.8% { opacity: 0; transform: translateY(15px); } 33.3% { opacity: 1; transform: translateY(0); } 50.8%, 100% { opacity: 0; transform: translateY(-15px); } }
@keyframes beat-3 { 0%, 49.2% { opacity: 0; transform: translateY(15px); } 66.7% { opacity: 1; transform: translateY(0); } 84.2%, 100% { opacity: 0; transform: translateY(-15px); } }
@keyframes beat-4 { 0%, 82.5% { opacity: 0; transform: translateY(15px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes meter { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Visor incrustado sin scroll propio: el reel ocupa una pantalla y se reproduce solo */
.reel.reel--autoplay { height: auto; }
.reel--autoplay .reel-stage { position: relative; }

/* Vídeo del reel en móvil */
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; pointer-events: none; }

/* Mapa enlazado (el visor de artefactos no permite incrustar Google Maps) */
.map-link { display: grid; place-items: center; text-decoration: none; isolation: isolate;
  background: radial-gradient(circle at 50% 44%, rgba(255, 107, 44, .18), transparent 40%), var(--surface-2); }
.map-grid { position: absolute; inset: 0; z-index: -1; opacity: .55;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(28deg, transparent 49.4%, rgba(238,240,230,.18) 49.5%, rgba(238,240,230,.18) 50.5%, transparent 50.6%),
    linear-gradient(-62deg, transparent 49.2%, rgba(238,240,230,.11) 49.3%, rgba(238,240,230,.11) 50.7%, transparent 50.8%);
  background-size: 52px 52px, 52px 52px, 100% 100%, 100% 100%; }
.map-pin { font-size: 4.2rem; color: var(--accent); line-height: 1; transition: transform 300ms var(--ease-out); }
.map-caption { position: absolute; left: 24px; right: 24px; bottom: 24px; display: grid; gap: .15rem; }
.map-caption strong { font-family: var(--ff-display); font-weight: 900; font-stretch: 125%; font-size: 1.5rem; text-transform: uppercase; line-height: 1.1; }
.map-caption span { color: var(--dim); }
.map-caption .map-cta { color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: .35rem; margin-top: .5rem; }
@media (hover: hover) and (pointer: fine) { .map-link:hover .map-pin { transform: translateY(-6px); } }
