/* Al Carbón. Sistema visual según landing-page-design.
   El corte móvil y ordenador es 900 px, igual que en app.js. */

@font-face {
  font-family: 'Manrope';
  src: url('/fonts/manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --bg: #131209;
  --surface: #1f1f1f;
  --surface-2: #272727;
  --line: #313131;
  --text: #ffffff;
  --muted: #b9b5aa;
  --ember: #f2752f;
  --ember-hover: #ff8a47;
  --on-ember: #131209;
  --overlay: rgb(19 18 9 / 0.62);

  --s-25: 2px; --s-50: 4px; --s-75: 8px; --s-100: 12px; --s-200: 16px; --s-300: 24px;
  --s-400: 32px; --s-500: 40px; --s-600: 48px; --s-700: 64px; --s-800: 80px; --s-900: 96px;

  --curve: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 56px;
  --section-y: var(--s-900);
  --gutter: var(--s-500);
}

*, *::before, *::after { box-sizing: border-box; }
/* El lienzo pinta el color base; el body es transparente para dejar ver el vídeo fijo. */
html { background: var(--bg); color: var(--text); scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; border-radius: 4px; }
.muted { color: var(--muted); }

/* Estilos de texto */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -0.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -0.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.01em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-5 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.button-md { font-size: 16px; line-height: 24px; font-weight: 600; }
.button-sm { font-size: 14px; line-height: 20px; font-weight: 600; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-2 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }

/* Iconos Phosphor, con el color del texto */
.i {
  display: inline-block; flex: none; width: 20px; height: 20px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.i-fire { --icon: url('/icons/fire.svg'); }
.i-arrow { --icon: url('/icons/arrow-right.svg'); }
.i-arrow-up { --icon: url('/icons/arrow-up.svg'); }
.i-search { --icon: url('/icons/magnifying-glass.svg'); }
.i-coffee { --icon: url('/icons/coffee.svg'); }
.i-burger { --icon: url('/icons/hamburger.svg'); }
.i-beer { --icon: url('/icons/beer-bottle.svg'); }
.i-ice { --icon: url('/icons/ice-cream.svg'); }
.i-clock { --icon: url('/icons/clock.svg'); }
.i-pin { --icon: url('/icons/map-pin.svg'); }
.i-phone { --icon: url('/icons/phone.svg'); }
.i-caret { --icon: url('/icons/caret-down.svg'); }

.skip-link {
  position: fixed; top: var(--s-75); left: var(--s-75); z-index: 100;
  padding: var(--s-75) var(--s-100); background: var(--ember); color: var(--on-ember); border-radius: 8px;
  transform: translateY(-200%); transition: transform 300ms var(--curve);
}
.skip-link:focus { transform: none; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-75);
  padding: var(--s-75) var(--s-100); border: 0; border-radius: 8px; cursor: pointer; white-space: nowrap;
  transition: background-color 300ms var(--curve), transform 300ms var(--curve);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ember); color: var(--on-ember); }
.btn-secondary { background: var(--surface-2); color: var(--text); }
.btn .i { transition: transform 300ms var(--curve); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--ember-hover); }
  .btn-secondary:hover { background: var(--line); }
  .btn:hover .i { transform: translateX(4px); }
}

/* Vídeo de fondo */
.bg-video { position: fixed; inset: 0; height: 100lvh; z-index: -1; overflow: hidden; background: var(--bg); }
.bg-video img, .bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg-video video { opacity: 0; transition: opacity 600ms var(--curve); }
.bg-video video.is-playing { opacity: 1; }
.bg-video-overlay { position: absolute; inset: 0; background: var(--overlay); }

/* Navegación flotante */
.nav-wrap {
  position: fixed; z-index: 50; top: var(--s-200); left: 0; right: 0;
  display: flex; justify-content: center; padding: 0 var(--s-200); pointer-events: none;
}
.nav {
  pointer-events: auto; display: flex; align-items: center; gap: var(--s-400);
  min-height: var(--nav-h); padding: var(--s-75) var(--s-75) var(--s-75) var(--s-200);
  background: rgb(19 18 9 / 0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / 0.1); border-radius: 16px;
}
.logo { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; white-space: nowrap; }
.logo .i { color: var(--ember); }
.nav-links { display: flex; gap: var(--s-300); }
.nav-links a { display: block; padding: var(--s-75) 0; color: var(--muted); transition: color 300ms var(--curve); }
.nav-links a:hover, .nav-links a[aria-current] { color: var(--text); }
.nav-toggle {
  display: none; position: relative; width: 40px; height: 40px; padding: 0;
  background: transparent; border: 0; border-radius: 8px; cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 20px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform 500ms var(--curve);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.menu-open .nav-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu-panel {
  position: fixed; inset: 0; z-index: 40; display: none; padding: 120px var(--s-300) var(--s-400);
  background: rgb(19 18 9 / 0.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity 300ms var(--curve), visibility 0s linear 300ms;
}
.menu-panel li { opacity: 0; transform: translateY(var(--s-300)); transition: opacity 500ms var(--curve), transform 500ms var(--curve); }
.menu-panel a { display: block; padding: var(--s-100) 0; }
.menu-panel a[aria-current] { color: var(--ember); }
.menu-open .menu-panel { opacity: 1; visibility: visible; transition: opacity 300ms var(--curve); }
.menu-open .menu-panel li { opacity: 1; transform: none; }
.menu-open .menu-panel li:nth-child(2) { transition-delay: 60ms; }
.menu-open .menu-panel li:nth-child(3) { transition-delay: 120ms; }
.menu-open .menu-panel li:nth-child(4) { transition-delay: 180ms; }
.menu-open .menu-panel li:nth-child(5) { transition-delay: 240ms; }
.menu-open, .menu-open body { overflow: hidden; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: 128px var(--gutter) var(--s-800); }
.hero-inner { width: 100%; max-width: 1200px; margin: 0 auto; }
.hero-title {
  max-width: 800px;
  background: linear-gradient(90deg, #ffffff 40%, #d4d4d4 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { max-width: 560px; margin-top: var(--s-200); color: #ececec; }
.hero-actions { display: flex; align-items: center; gap: var(--s-200); margin-top: var(--s-300); }
.hero-proof { color: #ececec; }

/* Frase revelada */
.tagline { background: rgb(19 18 9 / 0.76); padding: var(--s-900) var(--gutter); display: flex; justify-content: center; min-height: 70vh; align-items: center; }
.tagline-text { max-width: 760px; text-align: center; }
.word { opacity: 0.3; transition: opacity 600ms var(--curve); }
.word.is-lit { opacity: 1; }
html:not(.js) .word { opacity: 1; }

/* Secciones */
.section { background: var(--bg); padding: var(--section-y) var(--gutter); scroll-margin-top: var(--s-500); }
.section-alt { background: var(--surface); }
.container { max-width: 1200px; margin: 0 auto; }
.section-title { margin-bottom: var(--s-500); }
.js .reveal { opacity: 0; transform: translateY(var(--s-400)); transition: opacity 700ms var(--curve), transform 700ms var(--curve); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Destacados */
.bento { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--s-200); }
.tile {
  display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border-radius: 16px;
  transition: transform 500ms var(--curve), background-color 300ms var(--curve);
}
.tile img { width: 100%; height: 280px; object-fit: cover; transition: transform 500ms var(--curve); }
.tile-body { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-300); }
.tile-kicker { color: var(--ember); }
.tile-plain { justify-content: space-between; background: var(--surface-2); }
.tile-icon { width: 48px; height: 48px; margin: var(--s-300); color: var(--ember); }
.tile:active { transform: scale(0.98); }
@media (hover: hover) {
  .tile:hover { transform: translateY(-4px); }
  .tile:hover img { transform: scale(1.03); }
}

/* Momentos */
.moments { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-200); }
.moment {
  display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-300);
  background: var(--surface-2); border-radius: 16px; transition: background-color 300ms var(--curve), transform 500ms var(--curve);
}
.moment-icon { width: 32px; height: 32px; margin-bottom: var(--s-200); color: var(--ember); }
.moment:active { transform: scale(0.98); }
@media (hover: hover) { .moment:hover { background: var(--line); transform: translateY(-4px); } }

/* Carta */
.carta-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-300); margin-bottom: var(--s-500); }
.carta-head .section-title { margin: 0; }
.search {
  display: flex; align-items: center; gap: var(--s-75); width: 320px; padding: 0 var(--s-100);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  transition: border-color 300ms var(--curve);
}
.search:focus-within { border-color: var(--ember); }
.search .i { color: var(--muted); }
.search input { flex: 1; min-width: 0; height: 40px; background: transparent; border: 0; outline: 0; }
.search input::placeholder { color: var(--muted); }
.sr-status:empty { display: none; }
.sr-status { margin-bottom: var(--s-200); }

.carta-layout { display: grid; grid-template-columns: 224px 1fr; gap: var(--s-600); align-items: start; }
.carta-index { position: sticky; top: 96px; display: flex; flex-direction: column; gap: var(--s-25); }
.index-link { padding: var(--s-75) var(--s-100); border-radius: 8px; color: var(--muted); transition: background-color 300ms var(--curve), color 300ms var(--curve); }
.index-link:hover { color: var(--text); background: var(--surface); }
.index-link.is-active { color: var(--on-ember); background: var(--ember); }

.cat { scroll-margin-top: 96px; }
.cat + .cat { margin-top: var(--s-600); }
.cat-summary { display: flex; align-items: center; gap: var(--s-200); list-style: none; }
.cat-summary::-webkit-details-marker { display: none; }
.cat-summary h3 { flex: 1; }
.cat-caret { display: none; }
.cat-note { margin-top: var(--s-75); }
.cat-body { margin-top: var(--s-200); }
.cat-group + .cat-group { margin-top: var(--s-300); }
.cat-group-title { margin-bottom: var(--s-75); }
.items { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s-500); }
.item { padding: var(--s-100) 0; min-width: 0; }
.item.has-img { display: grid; grid-template-columns: 80px 1fr; gap: var(--s-200); align-items: start; }
.item-img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; background: var(--surface-2); }
.item-content { min-width: 0; }
.item-head { display: flex; align-items: baseline; gap: var(--s-75); }
.item-name { min-width: 0; }
.leader { flex: 1; min-width: var(--s-200); border-bottom: 2px dotted var(--line); transform: translateY(-4px); }
.price { color: var(--ember); white-space: nowrap; }
.prices { flex: none; }
.prices-multi { display: flex; flex-wrap: wrap; gap: var(--s-25) var(--s-300); margin-top: var(--s-25); }
.price-row { display: inline-flex; align-items: baseline; gap: var(--s-75); }
.item-desc { margin-top: var(--s-25); }
.tag { display: inline-block; padding: var(--s-25) var(--s-75); color: var(--on-ember); background: var(--ember); border-radius: 4px; vertical-align: middle; }
.carta-empty { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-75); padding: var(--s-500); background: var(--surface); border-radius: 16px; }
.carta-empty .btn { margin-top: var(--s-100); }
.allergens { margin-top: var(--s-600); padding: var(--s-200); background: var(--surface); border-radius: 8px; }

.glovo-band {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-300);
  margin-top: var(--s-100); padding: var(--s-300); background: var(--surface-2); border-radius: 16px;
}

.skeleton { display: grid; gap: var(--s-200); }
.skeleton i { display: block; height: var(--s-500); background: var(--surface); border-radius: 8px; }

/* Cubos */
.cubos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-700); align-items: center; }
.cubos .section-title { margin-bottom: var(--s-200); }
.cubos-time { display: flex; align-items: center; gap: var(--s-75); margin-bottom: var(--s-100); }
.cubos-list { display: grid; gap: var(--s-75); }
.cubos-list li { display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); padding: var(--s-200); background: var(--surface-2); border-radius: 8px; }

/* Preguntas */
.faq-wrap { max-width: 760px; }
.faq { display: grid; gap: var(--s-75); }
.faq details { background: var(--surface); border-radius: 8px; }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-200);
  padding: var(--s-200); cursor: pointer; list-style: none; border-radius: 8px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { transition: transform 500ms var(--curve); }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 var(--s-200) var(--s-200); }

/* Contacto y cierre sobre el vídeo */
.contact { background: transparent; padding-block: var(--s-900); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-700); align-items: stretch; }
.contact-actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }
.map {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: var(--s-75);
  min-height: 320px; padding: var(--s-300); overflow: hidden;
  background: rgb(19 18 9 / 0.86); border: 1px solid rgb(255 255 255 / 0.1); border-radius: 16px;
}
.map-icon { width: 32px; height: 32px; margin-bottom: auto; color: var(--ember); }
.map-note { max-width: 420px; margin-bottom: var(--s-100); }
.map.is-loaded { padding: 0; background: var(--surface); }
.map iframe { width: 100%; flex: 1; min-height: 320px; border: 0; display: block; }
.inline-link { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.contact .section-title { margin-bottom: var(--s-300); }
.contact-list { display: grid; gap: var(--s-100); margin-bottom: var(--s-400); }
.contact-list li { display: flex; align-items: center; gap: var(--s-100); }
.contact-list .i { color: var(--ember); }
.contact-list a { text-decoration: underline; text-underline-offset: 4px; }
.placeholder { padding: var(--s-25) var(--s-75); color: var(--on-ember); background: #ffd9a8; border-radius: 4px; }

.footer { background: var(--bg); padding: var(--s-300) var(--gutter); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s-200); flex-wrap: wrap; }
.footer ul { display: flex; gap: var(--s-300); flex-wrap: wrap; }
.footer a { color: var(--muted); transition: color 300ms var(--curve); }
.footer a:hover { color: var(--text); }
/* Por debajo de este ancho el botón flotante caería encima de los enlaces legales. */
@media (max-width: 1359px) { .footer-inner { padding-right: var(--s-700); } }

/* Volver al inicio. Sin JavaScript se queda siempre visible y sigue funcionando como enlace. */
.to-top {
  position: fixed; z-index: 30;
  right: max(var(--s-300), env(safe-area-inset-right));
  bottom: max(var(--s-300), env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  color: var(--text); background: rgb(19 18 9 / 0.72);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / 0.1); border-radius: 16px;
  transition: opacity 300ms var(--curve), transform 500ms var(--curve), visibility 0s linear 300ms,
    background-color 300ms var(--curve), color 300ms var(--curve);
}
.to-top:focus-visible { border-radius: 16px; }
.to-top .i { transition: transform 300ms var(--curve); }
.js .to-top { opacity: 0; visibility: hidden; transform: translateY(var(--s-200)); }
.js .to-top.is-visible {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 300ms var(--curve), transform 500ms var(--curve), visibility 0s,
    background-color 300ms var(--curve), color 300ms var(--curve);
}
.js .to-top.is-visible:active { transform: scale(0.98); }
.js.menu-open .to-top.is-visible { opacity: 0; visibility: hidden; }
@media (hover: hover) {
  .to-top:hover { color: var(--on-ember); background: var(--ember); }
  .to-top:hover .i { transform: translateY(-4px); }
}

/* Páginas simples */
.simple-page { background: var(--bg); min-height: 100svh; padding: var(--s-800) var(--gutter); }
.simple-page .container { max-width: 720px; }
.simple-page h2 { margin: var(--s-500) 0 var(--s-100); scroll-margin-top: var(--s-300); }
.simple-page p { margin-bottom: var(--s-100); }
.simple-page .logo { margin-bottom: var(--s-500); }
.simple-center { display: flex; align-items: center; }
.simple-center .btn, .legal-back { margin-top: var(--s-300); }
.m-only { display: none; }

/* ==== Versión móvil ==== */
@media (max-width: 899px) {
  :root { --section-y: var(--s-700); --gutter: var(--s-200); --nav-h: 48px; }

  .nav-wrap { top: var(--s-75); padding: 0 var(--s-75); padding-top: env(safe-area-inset-top); }
  .nav { width: 100%; justify-content: space-between; padding: var(--s-25) var(--s-25) var(--s-25) var(--s-100); gap: var(--s-100); }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; width: 44px; height: 44px; }
  .nav-toggle span { left: 12px; }
  .nav-toggle span:nth-child(1) { top: 17px; }
  .nav-toggle span:nth-child(2) { top: 25px; }
  .menu-panel { display: block; }

  /* La acción principal queda al alcance del pulgar. */
  .btn { min-height: 44px; }
  .hero { padding: 96px var(--gutter) max(var(--s-400), env(safe-area-inset-bottom)); }
  .hero-title { font-size: 36px; line-height: 40px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: var(--s-100); }
  .hero-proof { text-align: center; }

  .tagline { min-height: 60svh; padding: var(--s-700) var(--gutter); }
  .tagline-text { font-size: 30px; line-height: 36px; }
  .section-title { margin-bottom: var(--s-300); font-size: 30px; line-height: 36px; }

  .bento { grid-template-columns: 1fr; gap: var(--s-100); }
  .tile { flex-direction: row; align-items: stretch; }
  .tile img { width: 112px; height: auto; min-height: 136px; flex: none; }
  .tile-body { padding: var(--s-200); gap: var(--s-50); }
  .tile .heading-5 { font-size: 20px; line-height: 28px; }
  .tile-plain { justify-content: flex-start; }
  .tile-icon { width: 32px; height: 32px; margin: var(--s-200) 0 0 var(--s-200); }

  .moments { grid-template-columns: 1fr 1fr; gap: var(--s-100); }
  .moment { padding: var(--s-200); }
  .moment-icon { width: 24px; height: 24px; margin-bottom: var(--s-75); }
  .moment .title-1 { font-size: 16px; line-height: 24px; }

  .carta-head { flex-direction: column; align-items: stretch; gap: var(--s-200); margin-bottom: var(--s-100); }
  .search { width: 100%; }
  .search input { height: 44px; font-size: 16px; }

  .carta-layout { display: block; }
  .carta-index {
    position: sticky; top: calc(var(--nav-h) + var(--s-75) + env(safe-area-inset-top)); z-index: 10;
    flex-direction: row; gap: var(--s-50); overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1) var(--s-100); padding: var(--s-75) var(--gutter);
    background: var(--bg); overscroll-behavior-x: contain;
  }
  .carta-index::-webkit-scrollbar { display: none; }
  .index-link { flex: none; padding: var(--s-75) var(--s-100); background: var(--surface); white-space: nowrap; min-height: 36px; }

  .cat { scroll-margin-top: 128px; background: var(--surface); border-radius: 8px; }
  .cat + .cat { margin-top: var(--s-75); }
  .cat-summary { padding: var(--s-200); min-height: 56px; cursor: pointer; }
  .cat-summary h3 { font-size: 20px; line-height: 28px; }
  .cat-caret { display: block; transition: transform 500ms var(--curve); }
  .cat[open] .cat-caret { transform: rotate(180deg); }
  .cat-note { margin: 0 0 var(--s-100); }
  .cat-body { margin: 0; padding: 0 var(--s-200) var(--s-200); }
  .items { grid-template-columns: 1fr; }
  .item { padding: var(--s-100) 0; }

  .cubos { grid-template-columns: 1fr; gap: var(--s-300); }
  .contact { padding-block: var(--s-800); }
  .contact-inner { grid-template-columns: 1fr; gap: var(--s-300); }
  .contact-actions .btn { flex: 1 1 40%; }
  .contact-actions .btn:last-child { flex-basis: 100%; }
  .item.has-img { grid-template-columns: 64px 1fr; gap: var(--s-100); }
  .item-img { width: 64px; height: 64px; }
  .glovo-band { flex-direction: column; align-items: stretch; padding: var(--s-200); gap: var(--s-200); }
  .map { min-height: 240px; }
  .m-only { display: inline; }
  .footer { padding-bottom: max(var(--s-300), env(safe-area-inset-bottom)); }
  .to-top {
    right: max(var(--s-200), env(safe-area-inset-right));
    bottom: max(var(--s-200), env(safe-area-inset-bottom));
    width: 44px; height: 44px;
  }
}

/* Solo interacción táctil: sin estados hover pegados */
@media (hover: none) {
  .nav-links a:hover, .index-link:hover { color: inherit; background: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 200ms !important; transition-delay: 0s !important; }
  .js .reveal, .menu-panel li, .js .to-top { transform: none; }
  .tile:hover, .moment:hover, .to-top:hover .i { transform: none; }
}
