/* =========================================================
   Fiumi Café de Especialidad — estilos
   Paleta sacada del logo (caramelo/crema), de sus piezas de
   Instagram (chocolate + amarillo manteca) y del local (dorado).
   ========================================================= */

/* Fuentes alojadas en el sitio (Google Fonts, licencia OFL), solo el set latino */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 460; font-display: swap; src: url("assets/fonts/fraunces.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 460; font-display: swap; src: url("assets/fonts/fraunces-italic.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/figtree.woff2") format("woff2"); }

:root {
  --espresso: #1E110C;
  --cocoa: #33201A;
  --choco: #5A3527;
  --caramel: #B27A48;
  --caramel-ink: #88562C; /* caramelo para textos chicos (contraste AA) */
  --honey: #D9A55B;
  --butter: #F2C75C;
  --butter-deep: #E8B640;
  --cream: #F3EADB;
  --paper: #FAF6EF;
  --ink: #2A1913;
  --muted: #74604F;
  --line: rgba(42, 25, 19, .12);
  --line-light: rgba(243, 234, 219, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --radius: clamp(16px, 2vw, 28px);
  --section: clamp(88px, 12vw, 168px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
  /* arcos concéntricos como el relieve de la pared dorada del local */
  --arcs: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' fill='none' stroke='%23D9A55B' stroke-width='1.3'%3E%3Cg%3E%3Cpath d='M0 70A10 10 0 0 1 10 80M0 60A20 20 0 0 1 20 80M0 50A30 30 0 0 1 30 80M0 40A40 40 0 0 1 40 80M0 30A50 50 0 0 1 50 80M0 20A60 60 0 0 1 60 80M0 10A70 70 0 0 1 70 80M0 0A80 80 0 0 1 80 80'/%3E%3C/g%3E%3Cg transform='translate%28160 0%29 scale%28-1 1%29'%3E%3Cpath d='M0 70A10 10 0 0 1 10 80M0 60A20 20 0 0 1 20 80M0 50A30 30 0 0 1 30 80M0 40A40 40 0 0 1 40 80M0 30A50 50 0 0 1 50 80M0 20A60 60 0 0 1 60 80M0 10A70 70 0 0 1 70 80M0 0A80 80 0 0 1 80 80'/%3E%3C/g%3E%3Cg transform='translate%280 160%29 scale%281 -1%29'%3E%3Cpath d='M0 70A10 10 0 0 1 10 80M0 60A20 20 0 0 1 20 80M0 50A30 30 0 0 1 30 80M0 40A40 40 0 0 1 40 80M0 30A50 50 0 0 1 50 80M0 20A60 60 0 0 1 60 80M0 10A70 70 0 0 1 70 80M0 0A80 80 0 0 1 80 80'/%3E%3C/g%3E%3Cg transform='translate%28160 160%29 scale%28-1 -1%29'%3E%3Cpath d='M0 70A10 10 0 0 1 10 80M0 60A20 20 0 0 1 20 80M0 50A30 30 0 0 1 30 80M0 40A40 40 0 0 1 40 80M0 30A50 50 0 0 1 50 80M0 20A60 60 0 0 1 60 80M0 10A70 70 0 0 1 70 80M0 0A80 80 0 0 1 80 80'/%3E%3C/g%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.1 0 0 0 0 0.07 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, figure, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--butter); color: var(--ink); }
:focus-visible { outline: 2px solid var(--butter-deep); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--butter); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- tipografía ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 380;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  letter-spacing: -.035em;
  line-height: .8;
}
.display {
  font-family: var(--serif);
  font-weight: 360;
  font-variation-settings: "opsz" 120, "SOFT" 40;
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.display em, .hero__lead em, .footer__claim em {
  font-style: italic;
  font-weight: 320;
  font-variation-settings: "opsz" 120, "SOFT" 100;
  color: var(--caramel);
}
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--caramel-ink);
  margin-bottom: 20px;
}
.eyebrow--light { color: var(--butter); }
.cup { display: block; }

/* ---------- botones ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 15.5px; letter-spacing: .01em; white-space: nowrap;
  translate: var(--mx, 0px) var(--my, 0px);
  transition: transform .4s var(--ease), translate .5s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .4s var(--ease);
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn__arrow { display: inline-block; transition: transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14.5px; }
.btn--lg { min-height: 60px; padding: 0 34px; font-size: 16.5px; }
.btn--butter { --bg: var(--butter); --fg: var(--ink); }
.btn--butter:hover { --bg: var(--butter-deep); box-shadow: 0 10px 30px -12px rgba(242, 199, 92, .7); }
.btn--ghost { --bg: transparent; --fg: var(--cream); border-color: rgba(243, 234, 219, .4); }
.btn--ghost:hover { --bg: var(--cream); --fg: var(--ink); border-color: var(--cream); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: rgba(42, 25, 19, .25); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--paper); }
.btn--dark { --bg: var(--ink); --fg: var(--paper); }
.btn--dark:hover { --bg: var(--choco); }
.btn--wa { --bg: #25D366; --fg: #08361B; }
.btn--wa:hover { --bg: #1FBE5B; }

.completar {
  display: inline-block; margin-top: 14px;
  font: 600 12.5px/1.4 ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .02em;
  color: #9A4B1E; background: #FFF1D6;
  border: 1px dashed #D99A5B; border-radius: 6px;
  padding: 4px 8px;
}
.completar--inline { margin: 0 0 0 6px; font-size: 11px; padding: 2px 6px; }

/* ---------- intro ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; align-content: center;
  background: var(--espresso); color: var(--cream);
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.1s var(--ease);
  animation: loaderSafety .01s 4.5s forwards;
}
.js.no-intro .loader { display: none; }
.loader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.loader__word { display: flex; font-size: clamp(84px, 16vw, 170px); color: var(--cream); }
.loader__word span { display: inline-block; opacity: 0; transform: translateY(.3em); animation: letter 1s var(--ease) forwards; animation-delay: calc(.1s + var(--i) * .07s); }
.loader__line { width: min(220px, 52vw); height: 1px; margin: 34px auto 0; background: rgba(243, 234, 219, .16); overflow: hidden; }
.loader__line i { display: block; height: 100%; background: var(--butter); transform: scaleX(0); transform-origin: left; animation: fill 1.2s var(--ease) .25s forwards; }
.loader__sub { margin-top: 16px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--butter); opacity: 0; animation: fade .8s var(--ease) .5s forwards; }
@keyframes fill { to { transform: scaleX(1); } }
@keyframes fade { to { opacity: 1; } }
@keyframes letter { to { opacity: 1; transform: none; filter: none; } }
@keyframes loaderSafety { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--cream);
  transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.nav__inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter);
  height: var(--nav-h);
  display: flex; align-items: center; gap: 32px;
  border-radius: 0;
  transition: width .7s var(--ease), max-width .7s var(--ease), height .7s var(--ease), margin .7s var(--ease), padding .7s var(--ease), border-radius .7s var(--ease), background-color .5s, box-shadow .5s;
}
.nav__logo { display: inline-flex; flex-direction: column; line-height: 1; margin-right: auto; }
.nav__logo .wordmark { font-size: 38px; transition: font-size .6s var(--ease); }
.nav__logo-sub { font-size: 9.5px; letter-spacing: .26em; text-transform: uppercase; margin-top: 4px; opacity: .75; padding-left: 2px; }
.nav__links { display: none; gap: 30px; font-size: 15px; font-weight: 500; }
.nav__links a { position: relative; padding: 6px 0; opacity: .88; transition: opacity .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { display: none; }
.js .nav { opacity: 0; transform: translateY(-12px); }
.js:not(.is-ready) .nav { animation: rise 1s var(--ease) 4.6s forwards; }
.is-ready .nav { opacity: 1; transform: none; transition: background-color .5s var(--ease), color .5s var(--ease), box-shadow .5s var(--ease), transform .8s var(--ease), opacity .8s var(--ease) .4s; }

/* al scrollear el menú se vuelve una píldora flotante */
.nav.is-scrolled { color: var(--ink); }
.nav.is-scrolled .nav__inner {
  --pill-gap: max(10px, calc(var(--gutter) - 22px));
  width: calc(100% - 2 * var(--pill-gap));
  max-width: calc(var(--maxw) - 2 * var(--gutter) + 44px);
  height: 62px; margin-top: 10px;
  padding-inline: 22px 10px;
  border-radius: 999px;
  background: rgba(250, 246, 239, .9);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 14px 40px -18px rgba(42, 25, 19, .45), inset 0 0 0 1px rgba(42, 25, 19, .07);
}
.nav.is-scrolled .nav__logo .wordmark { font-size: 32px; }
.nav.is-scrolled .nav__burger { margin-right: -4px; }
.is-ready .nav.is-hidden { transform: translateY(calc(-100% - 16px)); }

.nav__burger {
  width: 48px; height: 48px; margin-right: -10px;
  border: 0; background: none; position: relative; z-index: 60;
  display: grid; place-content: center; gap: 7px;
}
.nav__burger span { display: block; width: 26px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.menu-open .nav__burger span:first-child { transform: translateY(4.3px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-4.3px) rotate(-45deg); }
.menu-open .nav { color: var(--cream); transform: none; }
.menu-open .nav .nav__inner { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.menu {
  position: fixed; inset: 0; z-index: 45; isolation: isolate; overflow: hidden auto;
  background: var(--espresso); color: var(--cream);
  padding: calc(var(--nav-h) + 20px) var(--gutter) calc(24px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  clip-path: inset(0 0 100% 0 round 0 0 40px 40px);
  visibility: hidden;
  transition: clip-path .8s var(--ease), visibility 0s .8s;
}
.menu-open .menu { clip-path: inset(0 0 0 0 round 0); visibility: visible; transition: clip-path .8s var(--ease); }
.menu::before {
  content: ""; position: absolute; z-index: -1; width: 120vw; aspect-ratio: 1; left: -50vw; top: -50vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 165, 91, .2), transparent);
}
.menu .deco-arcs { inset: 35% -20% 0 -20%; opacity: .13; --m: radial-gradient(ellipse 60% 60% at 70% 75%, #000 0%, transparent 75%); }

.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
}
.menu__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s var(--ease) calc(.2s + var(--i) * .06s);
}
.menu__mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.menu__label {
  display: block;
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 96, "SOFT" 60;
  font-size: clamp(38px, 10vw, 58px); line-height: 1.02; letter-spacing: -.025em;
  transform: translateY(110%);
  transition: transform .9s var(--ease) calc(.12s + var(--i) * .06s), color .3s, translate .5s var(--ease);
}
.menu__go {
  flex: none; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(243, 234, 219, .24); color: var(--butter); font-size: 18px;
  scale: 0; transition: scale .6s var(--ease) calc(.3s + var(--i) * .06s), background-color .3s, color .3s, border-color .3s;
}
.menu-open .menu__links a::after { transform: scaleX(1); }
.menu-open .menu__label { transform: none; }
.menu-open .menu__go { scale: 1; }
.menu__links a:hover .menu__label, .menu__links a:active .menu__label, .menu__links a:focus-visible .menu__label { color: var(--butter); translate: 6px 0; }
.menu__links a:hover .menu__go, .menu__links a:active .menu__go, .menu__links a:focus-visible .menu__go { background: var(--butter); border-color: var(--butter); color: var(--ink); }

.menu__foot { display: grid; gap: 16px; opacity: 0; translate: 0 18px; transition: opacity .7s var(--ease), translate .7s var(--ease); }
.menu-open .menu__foot { opacity: 1; translate: none; transition-delay: .45s; }
.menu__foot .status { margin: 0; }
.menu__claim { font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 72, "SOFT" 50; font-size: clamp(26px, 7vw, 36px); line-height: 1.08; letter-spacing: -.015em; margin-bottom: 8px; }
.menu__claim em { font-style: italic; font-variation-settings: "opsz" 72, "SOFT" 100; color: var(--butter); }
@media (max-height: 700px) { .menu__claim { display: none; } }
.menu__actions { display: flex; gap: 10px; }
.menu__actions .btn { flex: 1 1 auto; }
.menu__icon {
  flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(243, 234, 219, .28); color: var(--cream);
  transition: background-color .3s, color .3s, border-color .3s;
}
.menu__icon svg { width: 20px; height: 20px; }
.menu__icon:hover, .menu__icon:active { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.menu__addr { font-size: 14px; color: rgba(243, 234, 219, .6); }
.menu-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger, .menu { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  background: var(--espresso); color: var(--cream);
  display: grid; align-items: end;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img {
  position: absolute; left: 0; top: -60px; width: 100%; height: calc(100% + 60px); max-width: none;
  object-fit: cover; object-position: 50% 30%;
  translate: 0 var(--hy, 0px);
}
.js .hero__media img { scale: 1.16; }
.is-ready .hero__media img { scale: var(--hs, 1); transition: scale 2.8s var(--ease) .1s; }
.is-ready.hero-settled .hero__media img { transition: none; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 17, 12, .55) 0%, rgba(30, 17, 12, 0) 22%),
    linear-gradient(0deg, rgba(30, 17, 12, .97) 8%, rgba(30, 17, 12, .72) 38%, rgba(30, 17, 12, .05) 68%);
}

.hero__content {
  padding: 0 var(--gutter) calc(40px + env(safe-area-inset-bottom)); max-width: 640px;
  translate: 0 var(--cy, 0px); opacity: var(--co, 1);
}
.hero__eyebrow { color: var(--butter); margin-bottom: 18px; }
@media (max-width: 480px) {
  .hero__eyebrow { font-size: 12px; letter-spacing: .1em; }
}
.hero__title .wordmark { display: flex; font-size: clamp(112px, 34vw, 210px); margin-left: -.04em; color: var(--cream); }
.hero__word > span { display: inline-block; }
.js .hero__word > span { opacity: 0; transform: translateY(.32em) rotate(5deg); filter: blur(8px); transform-origin: 50% 100%; }
.is-ready .hero__word > span { animation: letter 1.3s var(--ease) forwards; animation-delay: calc(.25s + var(--i) * .075s); }
.hero__lead {
  font-family: var(--serif); font-weight: 340; font-variation-settings: "opsz" 72, "SOFT" 50;
  font-size: clamp(26px, 7vw, 44px); line-height: 1.08; letter-spacing: -.015em;
  margin-top: 14px;
}
.hero__lead em { color: var(--butter); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__actions .btn { flex: 1 1 auto; }

.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; font-weight: 500; color: rgba(243, 234, 219, .82); }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--honey); box-shadow: 0 0 0 0 rgba(242, 199, 92, .6); flex: none; }
.status.is-open .status__dot { background: #7BD389; animation: pulse 2.2s infinite; }
.status--dark { color: var(--muted); margin-top: 18px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(123, 211, 137, .55); } 70% { box-shadow: 0 0 0 9px rgba(123, 211, 137, 0); } 100% { box-shadow: 0 0 0 0 rgba(123, 211, 137, 0); } }

/* fondo del hero: arcos de la pared, brillo cálido y textura */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grain); opacity: .32; mix-blend-mode: soft-light; pointer-events: none; }
.deco-arcs {
  position: absolute; inset: -12% 0; z-index: -1; pointer-events: none;
  background: var(--arcs) 0 0 / 150px 150px;
  opacity: .15;
  -webkit-mask: var(--m, radial-gradient(closest-side, #000, transparent));
  mask: var(--m, radial-gradient(closest-side, #000, transparent));
}
.hero__glow { display: none; }
.hero__info { display: none; }
@media (min-width: 960px) {
  .hero .deco-arcs { right: 50%; --m: radial-gradient(ellipse 75% 60% at 35% 52%, #000 0%, rgba(0, 0, 0, .45) 45%, transparent 78%); }
  .hero__glow {
    display: block; position: absolute; z-index: -1; pointer-events: none;
    width: 58vw; aspect-ratio: 1; left: -16vw; bottom: -30vw; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(217, 165, 91, .26), rgba(178, 122, 72, .08) 55%, transparent);
    animation: breathe 9s ease-in-out infinite alternate;
  }
  .hero__info {
    display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: clamp(16px, 2.6vw, 48px); white-space: nowrap;
    margin-top: auto; padding-top: 18px;
    border-top: 1px solid var(--line-light);
    font-size: 14px; color: rgba(243, 234, 219, .78);
  }
  .hero__info small { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--butter); }
  .hero__info a { transition: color .3s; }
  .hero__info a:hover { color: var(--butter); }
}
@media (max-width: 959px) { .hero .deco-arcs { display: none; } }
@keyframes breathe { to { transform: translate(4vw, -3vw) scale(1.12); opacity: .8; } }

/* sello giratorio */
.hero__badge {
  position: absolute; z-index: 2;
  right: var(--gutter); top: calc(var(--nav-h) + 22px);
  width: clamp(92px, 9vw, 138px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--butter); color: var(--ink);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
}
.hero__badge > svg:first-child, .about__badge > svg:first-child { rotate: var(--br, 0deg); }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.hero__badge text { font: 600 19px var(--sans); letter-spacing: .1em; text-transform: uppercase; fill: currentColor; }
.hero__badge svg.cup { position: static; width: 34%; height: 34%; color: var(--choco); animation: none; }
.js .hero__badge { scale: 0; }
.is-ready .hero__badge { scale: 1; transition: scale 1.2s var(--ease) 1s; }

/* entrada del hero */
.js [data-hero] { opacity: 0; transform: translateY(28px); }
/* la frase principal se pinta desde el inicio (solo se desliza): así el navegador la toma como contenido principal */
.js [data-hero="3"] { opacity: 1; }
.is-ready [data-hero] { animation: rise 1.1s var(--ease) forwards; }
.js:not(.is-ready) [data-hero], .js:not(.is-ready) .hero__word > span { animation: rise 1s var(--ease) 4.6s forwards; }
.is-ready [data-hero="1"] { animation-delay: .15s; }
.is-ready [data-hero="3"] { animation-delay: .7s; }
.is-ready [data-hero="4"] { animation-delay: .85s; }
.is-ready [data-hero="5"] { animation-delay: 1s; }
@keyframes rise { to { opacity: 1; transform: none; filter: none; } }

@media (min-width: 560px) {
  .hero__actions .btn { flex: 0 0 auto; }
}

@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
  .hero__media {
    position: relative; inset: auto; z-index: 0;
    grid-column: 2; grid-row: 1;
    margin: var(--nav-h) 14px 14px 0; border-radius: var(--radius);
  }
  .js .hero__media { clip-path: inset(100% 0 0 0 round var(--radius)); }
  .is-ready .hero__media { clip-path: inset(0 0 0 0 round var(--radius)); transition: clip-path 1.6s var(--ease) .1s; }
  .hero__media::after { background: linear-gradient(0deg, rgba(30, 17, 12, .35) 0%, rgba(30, 17, 12, 0) 30%); }
  .hero__content {
    grid-column: 1; grid-row: 1;
    display: flex; flex-direction: column; align-items: flex-start;
    max-width: none;
    padding: calc(var(--nav-h) + 24px) clamp(56px, 6vw, 96px) 30px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  }
  .hero__content > .hero__eyebrow { margin-top: auto; }
  .hero__content > .hero__info { align-self: stretch; }
  .hero__title .wordmark { font-size: clamp(150px, min(17.5vw, 30vh), 300px); }
  .hero__lead { font-size: clamp(30px, min(3.2vw, 5.4vh), 54px); }
  .hero__badge { right: auto; top: auto; left: 50%; bottom: clamp(48px, 12vh, 130px); translate: -50% 0; }
}

/* ---------- banda ---------- */
.ribbon { background: var(--butter); color: var(--ink); overflow: hidden; padding: 18px 0; border-block: 1px solid rgba(42, 25, 19, .08); }
.ribbon__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 38s linear infinite; will-change: transform; }
.ribbon span { font-family: var(--serif); font-style: italic; font-weight: 380; font-variation-settings: "opsz" 48, "SOFT" 100; font-size: clamp(20px, 2.4vw, 30px); white-space: nowrap; }
.ribbon i { font-style: normal; font-size: 14px; color: var(--choco); }
@keyframes marquee { to { transform: translateX(-50%); } }
/* animaciones infinitas en pausa fuera de pantalla (lo maneja main.js) */
.is-offscreen, .is-offscreen *, .is-offscreen::before, .is-offscreen::after { animation-play-state: paused !important; }

/* ---------- nosotros ---------- */
.about { background: var(--cream); }
.about__grid { display: grid; gap: clamp(56px, 8vw, 120px); }
.about__title { max-width: 14ch; }
.has-words [data-words] .w { opacity: var(--o, 1); transition: opacity .2s linear; }
.about__body { margin-top: 28px; max-width: 54ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.pillars { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillars li { display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pillars__n { grid-row: span 2; font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--caramel-ink); padding-top: 5px; }
.pillars strong { font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 36, "SOFT" 50; font-size: 21px; line-height: 1.25; }
.pillars li > span:last-child { color: var(--muted); font-size: 15.5px; }

.about__media { position: relative; padding-bottom: 18%; }
.frame { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { width: 82%; aspect-ratio: 4 / 5; }
.frame--tall img { height: 116%; margin-top: -8%; }
.frame--float {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 6 / 5;
  border: 6px solid var(--paper); border-radius: calc(var(--radius) + 6px);
  box-shadow: 0 30px 60px -30px rgba(42, 25, 19, .45);
}
.frame--float img { height: 116%; margin-top: -8%; }
.about__badge {
  position: absolute; top: -34px; right: 6%; width: clamp(100px, 13vw, 132px); aspect-ratio: 1;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--caramel); color: var(--cream);
  box-shadow: 0 18px 40px -18px rgba(90, 53, 39, .6);
}
.about__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; }
.about__badge text { font: 600 23px var(--sans); letter-spacing: .2em; text-transform: uppercase; fill: currentColor; }
.about__badge svg.cup { position: static; width: 32%; height: 32%; animation: none; color: var(--cream); }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 960px) {
  .about__grid { grid-template-columns: 1.05fr .95fr; align-items: center; }
  .about__media { padding-bottom: 14%; }
}

/* ---------- section head ---------- */
.section-head { display: grid; gap: 24px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head__aside { color: var(--muted); max-width: 40ch; font-size: clamp(16px, 1.2vw, 18px); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- destacados ---------- */
.featured { background: var(--cream); padding-block: var(--section); position: relative; }
.products {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px;
  scrollbar-width: none;
}
.products::-webkit-scrollbar { display: none; }
.product { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; display: block; }
.product__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--paper); }
.product__img img { width: 100%; height: 100%; object-fit: cover; translate: var(--ix, 0px) 0; scale: 1.1; transition: transform 1.2s var(--ease); }
.product:hover .product__img img { transform: scale(1.05); }
.product__body { padding: 20px 4px 0; }
.product__tag {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--choco); background: rgba(178, 122, 72, .14); padding: 4px 10px; border-radius: 999px;
}
.product h3 { font-family: var(--serif); font-weight: 420; font-variation-settings: "opsz" 48, "SOFT" 50; font-size: clamp(24px, 2vw, 28px); line-height: 1.15; letter-spacing: -.01em; margin-top: 12px; }
.product p { color: var(--muted); margin-top: 6px; font-size: 15.5px; max-width: 34ch; }
.product__more { display: inline-flex; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--choco); transition: gap .4s var(--ease); }
.product:hover .product__more { gap: 10px; }

.product--cta {
  aspect-ratio: 4 / 5; align-self: flex-start;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(24px, 2.4vw, 36px); border-radius: var(--radius);
  background: var(--espresso); color: var(--cream);
  position: relative; overflow: hidden;
}
.product--cta::before { content: ""; position: absolute; width: 140%; aspect-ratio: 1; right: -70%; bottom: -70%; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 199, 92, .35), transparent); transition: transform 1.2s var(--ease); }
.product--cta:hover::before { transform: scale(1.25); }
.product--cta .eyebrow { color: var(--butter); margin: 0; position: relative; }
.product--cta h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.04; margin: 0; position: relative; }
.product--cta h3 em { font-style: italic; font-variation-settings: "opsz" 48, "SOFT" 100; color: var(--butter); }
.product--cta .btn { align-self: flex-start; position: relative; }

.swipe-hint { margin-top: 22px; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.swipe-hint span { animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.featured__progress { display: none; }

@media (min-width: 720px) {
  .product { flex-basis: 320px; }
}

/* versión fija con scroll horizontal (desktop, la activa el JS) */
.featured.is-pinned { padding-block: 0; }
.featured.is-pinned .featured__pin { height: var(--pin-h, 300vh); }
.featured.is-pinned .featured__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  padding-top: var(--nav-h);
}
.featured.is-pinned .section-head { margin-bottom: clamp(24px, 4.5vh, 56px); }
.featured.is-pinned .products {
  --card-w: clamp(230px, 34vh, 420px);
  overflow: visible; scroll-snap-type: none;
  margin: 0; padding: 0; gap: clamp(20px, 2vw, 32px);
  width: max-content;
  transform: translate3d(var(--hx, 0px), 0, 0);
  will-change: transform;
}
.featured.is-pinned .product { flex-basis: var(--card-w); }
.featured.is-pinned .product p { font-size: 15px; }
.featured.is-pinned .swipe-hint { display: none; }
.featured.is-pinned .featured__progress {
  display: flex; align-items: center; gap: 18px;
  margin-top: clamp(20px, 4vh, 44px);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; color: var(--muted);
}
.featured__progress b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.featured__progress i { flex: 0 0 min(320px, 30vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.featured__progress i b { display: block; height: 100%; background: var(--caramel); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- carta ---------- */
.menu-band { background: var(--espresso); color: var(--cream); padding-block: var(--section); overflow: hidden; position: relative; }
.menu-band::before {
  content: ""; position: absolute; width: 60vw; aspect-ratio: 1; left: -20vw; top: -30vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(217, 165, 91, .16), transparent);
  pointer-events: none;
}
.menu-band::after { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .35; mix-blend-mode: soft-light; pointer-events: none; }
.menu-band__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; position: relative; z-index: 1; }
.menu-band__title { font-size: clamp(46px, 7.4vw, 112px); max-width: 11ch; }
.menu-band__title em { color: var(--butter); }
.menu-band__body { margin: 26px 0 36px; color: rgba(243, 234, 219, .75); font-size: clamp(17px, 1.3vw, 19px); max-width: 44ch; }

.menu-card-wrap { position: relative; display: block; width: min(100%, 440px); justify-self: center; padding: 18px 10px 26px; perspective: 1400px; }
.menu-card-stack { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .9s var(--ease); }
.menu-card {
  position: relative; z-index: 1;
  background: var(--paper); color: var(--ink);
  border-radius: 22px; padding: clamp(26px, 3.4vw, 40px);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7);
  transform: translateZ(30px);
  rotate: -2.5deg;
  transition: rotate .9s var(--ease), translate .9s var(--ease);
}
.menu-card--back, .menu-card--mid { position: absolute; inset: 0; padding: 0; box-shadow: none; }
.menu-card--back { z-index: 0; background: var(--caramel); transform: translateZ(-40px); rotate: 4deg; }
.menu-card--mid { z-index: 0; background: var(--butter); transform: translateZ(-12px); rotate: 1deg; }
.menu-card-wrap:hover .menu-card--back { rotate: 9deg; translate: 22px -6px; }
.menu-card-wrap:hover .menu-card--mid { rotate: 4deg; translate: 10px -2px; }
.menu-card-wrap:hover .menu-card--front { rotate: -4deg; translate: -8px -4px; }
.menu-card__head { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.menu-card__head .wordmark { font-size: 46px; }
.menu-card__kicker { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--caramel-ink); }
.menu-card__list { padding: 10px 0 6px; }
.menu-card__list li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; font-family: var(--serif); font-variation-settings: "opsz" 36, "SOFT" 50; font-size: clamp(18px, 1.7vw, 21px); }
.menu-card__list i { flex: 1; border-bottom: 1.5px dotted rgba(42, 25, 19, .28); transform: translateY(-4px); transform-origin: left; }
.menu-card__list b { font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--caramel); transition: transform .4s var(--ease); }
.menu-card-wrap:hover .menu-card__list b { transform: translateX(3px); }
.js .menu-card__list li { opacity: 0; translate: 0 12px; transition: opacity .7s var(--ease), translate .7s var(--ease); transition-delay: calc(.35s + var(--i, 0) * .08s); }
.js .menu-card__list i { transform: translateY(-4px) scaleX(0); transition: transform 1s var(--ease); transition-delay: calc(.5s + var(--i, 0) * .08s); }
.js .is-in .menu-card__list li { opacity: 1; translate: none; }
.js .is-in .menu-card__list i { transform: translateY(-4px) scaleX(1); }
.menu-card__foot { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--cream); font-size: 13.5px; line-height: 1.35; color: var(--muted); }
.menu-card__foot svg { width: 38px; height: 38px; color: var(--ink); flex: none; }
.js .menu-card-wrap[data-reveal] { transform: translateY(70px) rotate(4deg); }
.js .menu-card-wrap[data-reveal].is-in { transform: none; transition-duration: 1.4s; }
@media (min-width: 960px) {
  .menu-band__grid { grid-template-columns: 1.15fr .85fr; }
  .menu-card-wrap { justify-self: end; }
}

/* ---------- galería ---------- */
.gallery { background: var(--cream); }
.bento {
  display: grid; gap: 10px;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: clamp(150px, 42vw, 240px);
  grid-auto-flow: dense;
}
.bento__item { position: relative; overflow: hidden; border-radius: calc(var(--radius) * .8); border: 0; padding: 0; background: var(--paper); cursor: zoom-in; }
.bento__item img { width: 100%; height: 120%; margin-top: -10%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.bento__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30, 17, 12, .25), transparent 40%); opacity: 0; transition: opacity .5s; }
.bento__item:hover img { transform: scale(1.05); }
.bento__item:hover::after { opacity: 1; }
.bento__item--hero { grid-column: span 2; grid-row: span 2; }
.bento__item--tall { grid-row: span 2; }
.bento__item--wide { grid-column: span 2; }
.bento__item--wide img { object-position: 50% 35%; }
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 17vw, 270px); gap: 14px; }
}
.gallery__follow { margin-top: 36px; display: flex; justify-content: center; }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; font-size: 17px; padding: 10px 4px; border-bottom: 1px solid var(--line); transition: border-color .3s, color .3s; }
.link-arrow:hover { border-color: var(--caramel); color: var(--choco); }

/* lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); max-height: 90vh; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 11, 8, .9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 82vh; width: auto; border-radius: 14px; margin-inline: auto; }
.lightbox img.is-swap { animation: pop .5s var(--ease); }
.lightbox__close { position: absolute; top: -56px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 16px; }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(243, 234, 219, .92); color: var(--ink); font-size: 18px; transition: background-color .3s, scale .3s var(--ease); }
.lightbox__nav:hover { background: var(--butter); scale: 1.06; }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox__count { position: absolute; top: -46px; left: 0; color: var(--cream); font-size: 13px; letter-spacing: .14em; font-weight: 600; }
@media (min-width: 1100px) {
  .lightbox__nav--prev { left: -72px; }
  .lightbox__nav--next { right: -72px; }
}
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- visitanos (postal) ---------- */
.visit {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--cream);
}
.visit .deco-arcs { opacity: .38; --m: radial-gradient(ellipse 70% 55% at 50% 62%, #000 0%, rgba(0, 0, 0, .35) 50%, transparent 80%); }

.visit__marquee { position: relative; z-index: 0; overflow: hidden; margin-block: clamp(-36px, -3vw, -12px) clamp(-90px, -7vw, -40px); pointer-events: none; }
.visit__marquee-track { display: flex; align-items: center; gap: .3em; width: max-content; animation: marquee 50s linear infinite reverse; will-change: transform; }
.visit__marquee span {
  font-family: var(--serif); font-style: italic; font-weight: 340; font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(96px, 17vw, 280px); line-height: 1.05; letter-spacing: -.03em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(178, 122, 72, .45);
}
.visit__marquee i { font-style: normal; font-size: clamp(36px, 5vw, 80px); color: rgba(178, 122, 72, .4); }

.visit__grid { display: grid; gap: 28px; position: relative; z-index: 1; }
.postcard {
  position: relative;
  background: var(--paper);
  border-radius: 10px; padding: clamp(28px, 4vw, 52px);
  display: grid; gap: 34px; align-content: start;
  box-shadow: 0 40px 70px -44px rgba(42, 25, 19, .45), 0 0 0 1px rgba(42, 25, 19, .05);
}
.postcard::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(178, 122, 72, .3); border-radius: 6px; pointer-events: none; }
.postcard__stamp {
  position: absolute; top: clamp(20px, 2.4vw, 32px); right: clamp(20px, 2.4vw, 32px);
  width: clamp(74px, 8vw, 96px); aspect-ratio: 4 / 5;
  filter: drop-shadow(0 4px 6px rgba(42, 25, 19, .2));
  rotate: 4deg;
}
.postcard__stamp-paper {
  width: 100%; height: 100%; padding: 6px; background: var(--paper);
  -webkit-mask: radial-gradient(circle, #0000 2.6px, #000 3px) -5px -5px / 10px 10px round padding-box, linear-gradient(#000 0 0) content-box;
  mask: radial-gradient(circle, #0000 2.6px, #000 3px) -5px -5px / 10px 10px round padding-box, linear-gradient(#000 0 0) content-box;
}
.postcard__stamp-in { width: 100%; height: 100%; background: var(--caramel); display: grid; place-items: center; align-content: center; gap: 6px; color: var(--cream); text-align: center; }
.postcard__stamp-in .wordmark { font-size: clamp(22px, 2.4vw, 28px); line-height: .9; }
.postcard__stamp-in small { font-size: 6.5px; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.postcard__postmark { position: absolute; top: clamp(58px, 6vw, 84px); right: clamp(50px, 5.6vw, 76px); width: clamp(84px, 8vw, 104px); color: rgba(90, 53, 39, .5); rotate: -14deg; pointer-events: none; }
.postcard__postmark text { font: 600 18px var(--sans); letter-spacing: .24em; text-transform: uppercase; fill: currentColor; }
.visit__label { font-family: var(--sans); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--caramel-ink); margin-bottom: 12px; }
.visit__big { font-family: var(--serif); font-weight: 400; font-variation-settings: "opsz" 72, "SOFT" 50; font-size: clamp(32px, 3.2vw, 46px); line-height: 1.02; letter-spacing: -.02em; }
.visit__muted { color: var(--muted); margin-top: 6px; }
.visit__block--address { padding-right: clamp(96px, 10vw, 124px); }
.hours { display: grid; border-top: 1px solid var(--line); }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 12px; margin-inline: -12px; border-bottom: 1px solid var(--line); border-radius: 10px; transition: background-color .3s; }
.hours__row dt { font-weight: 500; }
.hours__row dd { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.hours__row.is-today { background: rgba(242, 199, 92, .32); border-bottom-color: transparent; }
.hours__row.is-today dt::after { content: "Hoy"; margin-left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--choco); background: var(--butter); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.visit__actions .btn { flex: 1 1 auto; }
.visit__phone { font-size: 14.5px; color: var(--muted); margin-top: -18px; }
.visit__phone a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); transition: border-color .3s; }
.visit__phone a:hover { border-color: var(--caramel); }

.visit__map { position: relative; min-height: 420px; }
.visit__map-frame { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; background: var(--paper); border: 8px solid var(--paper); box-shadow: 0 40px 70px -44px rgba(42, 25, 19, .45), 0 0 0 1px rgba(42, 25, 19, .05); }
.visit__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; opacity: 0; transition: opacity .8s var(--ease); border-radius: 4px; filter: saturate(.85) sepia(.12) contrast(1.02); }
.visit__map iframe.is-loaded, .visit__map noscript iframe { opacity: 1; }

/* portada liviana del mapa */
.map-cover {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 4px; overflow: hidden; cursor: pointer;
  display: grid; place-items: center; align-content: center; gap: 14px;
  background: #EFE4D1; color: var(--ink); text-align: center;
  transition: opacity .6s var(--ease);
}
.map-cover.is-gone { opacity: 0; pointer-events: none; }
.map-cover__streets { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform 1.4s var(--ease); }
.map-cover:hover .map-cover__streets { transform: scale(1.06); }
.map-cover__pin { position: relative; width: 44px; color: var(--caramel); filter: drop-shadow(0 10px 12px rgba(90, 53, 39, .35)); animation: pinBob 2.4s var(--ease) infinite; }
.map-cover__pin::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 26px; height: 8px; margin-left: -13px; border-radius: 50%; background: rgba(90, 53, 39, .25); animation: pinShadow 2.4s var(--ease) infinite; z-index: -1; }
.map-cover__pin svg { display: block; width: 100%; }
.map-cover__card { position: relative; display: grid; gap: 2px; padding: 12px 18px; border-radius: 14px; background: var(--paper); box-shadow: 0 14px 30px -16px rgba(42, 25, 19, .4); }
.map-cover__card strong { font-family: var(--serif); font-weight: 450; font-variation-settings: "opsz" 36, "SOFT" 50; font-size: 18px; }
.map-cover__card small { font-size: 13.5px; color: var(--muted); }
.map-cover__btn { position: relative; pointer-events: none; }
.map-cover:hover .map-cover__btn { --bg: var(--choco); }
.map-cover.is-loading .map-cover__btn::after { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes pinBob { 50% { transform: translateY(-8px); } }
@keyframes pinShadow { 50% { transform: scale(.7); opacity: .6; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; z-index: 44;
  right: calc(16px + env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 58px; min-width: 58px; padding: 0 17px; border-radius: 999px;
  background: #25D366; color: #08361B; font-weight: 700; font-size: 15px;
  box-shadow: 0 16px 34px -14px rgba(8, 54, 27, .55), 0 2px 6px rgba(8, 54, 27, .18);
  opacity: 0; translate: 0 140%; pointer-events: none;
  transition: translate .7s var(--ease), opacity .5s var(--ease), background-color .3s, scale .3s var(--ease);
}
.wa-float svg { width: 26px; height: 26px; flex: none; }
.wa-float span { display: none; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; opacity: 0; animation: waRing 4s var(--ease) 1.5s infinite; pointer-events: none; }
.wa-float.is-visible { opacity: 1; translate: none; pointer-events: auto; }
.wa-float:hover { background: #1FBE5B; scale: 1.04; }
.menu-open .wa-float { opacity: 0; translate: 0 140%; pointer-events: none; }
@media (min-width: 1000px) {
  .wa-float { right: calc(28px + env(safe-area-inset-right)); bottom: 28px; padding: 0 22px 0 18px; }
  .wa-float span { display: inline; }
}
@keyframes waRing { 0% { opacity: .7; transform: scale(1); } 40%, 100% { opacity: 0; transform: scale(1.35); } }

.tape { position: absolute; z-index: 2; width: 110px; height: 30px; background: rgba(242, 199, 92, .55); box-shadow: 0 1px 3px rgba(42, 25, 19, .12); pointer-events: none; }
.tape--a { top: -12px; left: 22px; rotate: -8deg; }
.tape--b { bottom: -12px; right: 26px; rotate: 6deg; }

@media (min-width: 960px) {
  .visit__grid { grid-template-columns: .92fr 1.08fr; gap: 44px; align-items: stretch; }
  .postcard { rotate: -1.2deg; transition: rotate .8s var(--ease); }
  .visit__map { rotate: 1.4deg; transition: rotate .8s var(--ease); margin-block: 24px; }
  .postcard:hover, .visit__map:hover { rotate: 0deg; }
}

/* ---------- footer ---------- */
.footer { background: var(--espresso); color: var(--cream); padding: clamp(80px, 10vw, 140px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer__top { display: grid; gap: 32px; padding-bottom: clamp(48px, 6vw, 80px); border-bottom: 1px solid var(--line-light); }
.footer__claim { font-size: clamp(38px, 5.6vw, 84px); max-width: 14ch; }
.footer__claim em { color: var(--butter); }
.footer__top .btn { justify-self: start; }
.footer__cols { display: grid; grid-template-columns: 1fr; gap: 28px; padding-block: 44px; }
.footer__cols p { color: rgba(243, 234, 219, .78); font-size: 15.5px; line-height: 1.7; }
.footer__cols a { border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.footer__cols a:hover { color: var(--butter); border-color: currentColor; }
.footer__label { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--butter); margin-bottom: 10px; }
.footer__mark { text-align: center; line-height: .78; margin-block: 8px 28px; user-select: none; }
.footer__mark .wordmark { font-size: clamp(120px, 31vw, 460px); color: var(--cocoa); display: inline-flex; }
.footer__mark .wordmark span { display: inline-block; }
.js .footer__mark .wordmark span { transform: translateY(60%); opacity: 0; transition: transform 1.4s var(--ease), opacity 1.4s var(--ease); transition-delay: calc(var(--i) * .08s); }
.js .footer__mark.is-in .wordmark span { transform: none; opacity: 1; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; color: rgba(243, 234, 219, .62); padding-top: 22px; border-top: 1px solid var(--line-light); }
.footer__bottom strong { color: var(--cream); font-weight: 600; }
@media (min-width: 700px) {
  .footer__cols { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .footer__top { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- cursor con etiqueta (solo mouse) ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--butter); color: var(--ink);
  font-size: 13.5px; font-weight: 600; letter-spacing: .02em;
  transform: translate3d(var(--cx, -200px), var(--cy, -200px), 0);
  scale: 0; transition: scale .45s var(--ease);
}
.cursor.is-on { scale: 1; }

/* ---------- reveals ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal-img] { clip-path: inset(12% 6% 12% 6% round var(--radius)); transition: clip-path 1.4s var(--ease); }
.js [data-reveal-img] img { transform: scale(1.22); transition: transform 1.8s var(--ease); }
.js [data-reveal-img].is-in { clip-path: inset(0 0 0 0 round var(--radius)); }
.js [data-reveal-img].is-in img { transform: scale(1); }
.js .bento__item[data-reveal-img].is-in:hover img { transform: scale(1.05); }
.js .bento__item[data-reveal-img] { clip-path: inset(10% 10% 10% 10% round calc(var(--radius) * .8)); }
.js .bento__item[data-reveal-img].is-in { clip-path: inset(0 0 0 0 round calc(var(--radius) * .8)); }

/* parallax: el JS mueve --py; la imagen ya tiene margen extra */
[data-parallax] { translate: 0 var(--py, 0px); will-change: translate; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .ribbon__track, .visit__marquee-track { animation: none; }
  .map-cover__pin, .map-cover__pin::after, .wa-float::before { animation: none; }
  .js .loader { display: none; }
  .js [data-hero], .js .hero__word > span { opacity: 1; transform: none; filter: none; }
  .js .hero__media, .js .hero__media img { clip-path: none; scale: 1; }
  .js .hero__badge { scale: 1; }
  .js .nav { opacity: 1; }
  [data-parallax] { translate: none; }
}
