/* =========================================================
   BENDITO CAFÉ · Landing page
   Paleta: crema + espresso + azul cielo de la marca
   ========================================================= */

:root {
  --sky: #91E0EF;          /* azul del logo */
  --sky-soft: #D6F2F8;
  --sky-mist: #EAF7FA;
  --sky-ink: #0D6274;      /* azul profundo para texto */
  --espresso: #1E140F;
  --coffee: #3A271C;
  --mocha: #6B4A36;
  --cream: #F6F1E9;
  --paper: #FCFAF6;
  --sand: #EAE1D3;
  --muted: #6A5C53;
  --line: rgba(30, 20, 15, .12);
  --line-strong: rgba(30, 20, 15, .22);
  --wa: #25D366;

  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
  --nav-h: 76px;
  --radius: 24px;
  --shadow-lg: 0 40px 80px -40px rgba(30, 20, 15, .45);
  --shadow-md: 0 18px 40px -22px rgba(30, 20, 15, .35);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* textura sutil de papel */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--sky); color: var(--espresso); }
:focus-visible { outline: 2px solid var(--sky-ink); outline-offset: 3px; border-radius: 6px; }
/* secciones que reciben el foco al llegar desde un enlace interno: sin recuadro */
[tabindex="-1"]:focus { outline: none; }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.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-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 16px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Tipografía ---------- */
.h2 {
  font-family: var(--ff-display);
  font-weight: 380;
  font-variation-settings: "SOFT" 60;
  font-size: clamp(2.2rem, 4.8vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.h2 em, .hero__title em, .closing__title em {
  font-style: italic;
  font-weight: 340;
  color: var(--sky-ink);
}
.h3 {
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "SOFT" 60;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.lead { color: var(--muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); line-height: 1.65; max-width: 52ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mocha);
  margin-bottom: 1.4rem;
}
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(145, 224, 239, .35); flex: none; }
.eyebrow__num {
  font-family: var(--ff-display); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none;
  font-size: 1rem; color: var(--sky-ink);
  padding-right: .7rem; border-right: 1px solid var(--line-strong);
}
.eyebrow--light { color: rgba(246, 241, 233, .7); }
.eyebrow--light .eyebrow__num { color: var(--sky); border-color: rgba(246, 241, 233, .25); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--espresso); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: 1rem; line-height: 1;
  letter-spacing: .005em;
  transition: background-color .35s var(--ease), color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease), translate .5s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: .7rem 1.1rem; font-size: .92rem; }
.btn--lg { padding: 1.15rem 1.8rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--sky { --bg: var(--sky); --fg: var(--espresso); box-shadow: 0 14px 30px -14px rgba(13, 98, 116, .55); }
.btn--sky:hover { --bg: var(--espresso); --fg: var(--cream); box-shadow: 0 18px 34px -16px rgba(30, 20, 15, .6); }
.btn--dark:hover { --bg: var(--sky); --fg: var(--espresso); }
.btn--wa { --bg: var(--espresso); --fg: #fff; }
.btn--wa .ico { color: var(--wa); }
.btn--wa:hover { --bg: #128C4B; }
.btn--wa:hover .ico { color: #fff; }
.btn--ghost-light { --bg: transparent; --fg: var(--cream); box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .3); }
.btn--ghost-light:hover { --bg: rgba(246, 241, 233, .08); box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .6); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--espresso);
  padding: .4rem 0;
  border-bottom: 1px solid var(--line-strong);
  transition: border-color .3s, gap .3s var(--ease);
}
.link-arrow:hover { border-color: var(--espresso); gap: .8rem; }

/* ---------- Revelado al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* fotos que se descubren de abajo hacia arriba */
.js .reveal-img img { clip-path: inset(100% 0 0 0); scale: 1.12; transition: clip-path 1.4s var(--ease-io), scale 1.9s var(--ease); }
.js .is-in .reveal-img img, .js .reveal-img.is-in img { clip-path: inset(0 0 0 0); scale: 1; }

/* títulos que aparecen palabra por palabra */
.js [data-reveal].split-ready { opacity: 1; transform: none; }
.wm { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .1em .16em 0; margin: 0 -.1em -.16em 0; }
.wi { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms + var(--d, 0s)); }
.is-in .wi { transform: none; }

/* =========================================================
   NAVEGACIÓN
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  transition: height .4s var(--ease), background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(246, 241, 233, .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 2rem; }
.nav__brand { display: flex; align-items: center; gap: .75rem; font-family: var(--ff-display); font-size: 1.2rem; font-weight: 450; letter-spacing: -.01em; }
.nav__brand img { width: 48px; height: 48px; border-radius: 50%; transition: transform .6s var(--ease), width .4s var(--ease), height .4s var(--ease); }
.nav.is-scrolled .nav__brand img { width: 40px; height: 40px; }
.nav__brand:hover img { transform: rotate(-12deg); }
.nav__links { display: flex; gap: 1.8rem; margin-left: auto; }
.nav__links a { position: relative; font-size: .94rem; font-weight: 500; color: var(--coffee); padding: .3rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px;
  background: var(--espresso); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--espresso); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; position: relative; margin-left: .25rem; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 1.6px; background: var(--espresso); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* barra de progreso de lectura */
.nav__progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.nav__progress span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--sky), var(--sky-ink));
  transform-origin: left; transform: scaleX(var(--p, 0));
}
/* sección actual (solo móvil y tableta) */
.nav__section { display: none; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  background: var(--cream);
  padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity .4s var(--ease);
}
.menu.is-open { opacity: 1; }
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-family: var(--ff-display); font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 380; letter-spacing: -.02em;
  padding: .45rem 0; border-bottom: 1px solid var(--line);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding-top: calc(var(--nav-h) + clamp(28px, 6vh, 80px));
  padding-bottom: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(900px 520px at 88% 8%, var(--sky-mist), transparent 62%),
    radial-gradient(700px 500px at -10% 90%, rgba(234, 225, 211, .7), transparent 60%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 350;
  font-variation-settings: "SOFT" 70;
  font-size: clamp(2.8rem, 6.6vw, 6.1rem);
  line-height: 1;
  letter-spacing: -.035em;
  padding-top: .35em;
  margin-bottom: 1.6rem;
}
.halo-word { position: relative; display: inline-block; white-space: nowrap; padding-right: .06em; }
.halo-word__ring {
  position: absolute; left: 50%; top: -.36em;
  width: 1.15em; height: .3em;
  transform: translateX(-46%);
  overflow: visible;
  animation: halo-bob 5s ease-in-out infinite;
}
.halo-word__ring ellipse {
  fill: none; stroke: var(--sky); stroke-width: 5;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  filter: drop-shadow(0 0 6px rgba(145, 224, 239, .9));
}
.is-in .halo-word__ring ellipse { animation: draw 1.6s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes halo-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }

/* Palabra rotativa: negocio · cafetería · restaurante · … */
.rotator { display: block; position: relative; height: 1.12em; overflow: hidden; margin-top: .04em; }
.rotator__word {
  position: absolute; left: 0; top: 0;
  line-height: 1.12; white-space: nowrap;
  transform: translateY(105%); opacity: 0;
  transition: transform .8s var(--ease), opacity .6s var(--ease);
  background-image: linear-gradient(transparent 74%, rgba(145, 224, 239, .6) 74%, rgba(145, 224, 239, .6) 90%, transparent 90%);
  padding-right: .05em;
}
.rotator__word.is-current { transform: none; opacity: 1; }
.rotator__word.is-out { transform: translateY(-105%); opacity: 0; }

.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 46ch; margin-bottom: 2.2rem; }
.hero__ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem 2rem; }

.hero__visual { position: relative; padding: 40px 0 10px; max-width: 480px; margin-left: auto; width: 100%; }
.hero__halo {
  position: absolute; left: 50%; top: 2px; z-index: 2;
  width: 46%; aspect-ratio: 4 / 1;
  border: 3px solid var(--sky); border-radius: 50%;
  translate: -50% 0;
  box-shadow: 0 0 26px rgba(145, 224, 239, .9), inset 0 0 14px rgba(145, 224, 239, .6);
  animation: float-halo 6s ease-in-out infinite;
}
@keyframes float-halo { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--sky-soft);
  isolation: isolate;
}
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); pointer-events: none; }
.arch img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 38%; will-change: transform; }

.seal {
  position: absolute; left: -54px; bottom: 54px; z-index: 3;
  width: 150px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-md);
  display: grid; place-items: center;
}
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal__ring text { font-family: var(--ff-body); font-size: 13.5px; font-weight: 600; letter-spacing: .14em; fill: var(--espresso); }
.seal img { width: 58%; border-radius: 50%; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__chip {
  position: absolute; right: -22px; top: 46%; z-index: 3;
  display: flex; flex-direction: column; gap: .55rem;
  padding: .9rem 1.1rem;
  border-radius: 18px;
  background: rgba(252, 250, 246, .78);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255, 255, 255, .6);
  animation: float-chip 7s ease-in-out infinite;
}
.hero__chip-label { font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--mocha); }
.hero__chip-dots { display: flex; gap: .4rem; }
.hero__chip-dots i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); box-shadow: inset -3px -4px 6px rgba(0,0,0,.25), inset 3px 3px 6px rgba(255,255,255,.18); }
@keyframes float-chip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.float-bean { position: absolute; z-index: 1; color: var(--coffee); width: 46px; height: 56px; transition: transform .8s var(--ease); filter: drop-shadow(0 10px 12px rgba(30,20,15,.25)); }
.float-bean--a { top: 18%; left: -36px; rotate: -28deg; color: #4A2C1B; }
.float-bean--b { bottom: -6px; right: 22%; rotate: 52deg; width: 34px; height: 42px; color: #6B4128; }
.float-bean--c { top: 6%; right: 0; rotate: 18deg; width: 28px; height: 34px; color: #3A2216; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.stats li { padding: 1.6rem 1.4rem 0 0; display: flex; flex-direction: column; gap: .35rem; }
.stats li + li { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.stats strong { font-family: var(--ff-display); font-weight: 350; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; letter-spacing: -.03em; }
.stats small { font-size: .55em; margin: 0 .05em; color: var(--sky-ink); }
.stats span { font-size: .92rem; color: var(--muted); max-width: 22ch; line-height: 1.45; }

/* ---------- Cinta ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--paper); padding: 1.1rem 0; }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { font-family: var(--ff-display); font-style: italic; font-weight: 340; font-size: clamp(1.25rem, 2vw, 1.7rem); white-space: nowrap; color: var(--coffee); }
.marquee__track svg { width: 16px; height: 20px; color: var(--sky); rotate: 30deg; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   SECCIONES
   ========================================================= */
.section { padding-block: clamp(80px, 11vw, 160px); position: relative; }
.split-head {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(20px, 5vw, 80px); align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.split-head .lead { padding-bottom: .4rem; }

/* ---------- Manifiesto ---------- */
.manifesto { padding-bottom: clamp(70px, 9vw, 130px); }
.manifesto__text {
  font-family: var(--ff-display);
  font-weight: 340;
  font-variation-settings: "SOFT" 70;
  font-size: clamp(1.85rem, 4.3vw, 3.7rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  max-width: 24ch;
  text-wrap: pretty;
}
.manifesto__text b { font-weight: inherit; }
.manifesto__grid {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr);
  gap: clamp(32px, 6vw, 96px); align-items: end;
}
.manifesto__photo { margin: 0; --d: .1s; }
.manifesto__frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; border-radius: 999px 999px 24px 24px;
  background: var(--sand); box-shadow: var(--shadow-lg);
}
.manifesto__frame img { width: 100%; height: 114%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.manifesto__photo figcaption { margin-top: 1rem; font-family: var(--ff-display); font-style: italic; font-size: 1.05rem; color: var(--mocha); }
.manifesto__text .w { opacity: .14; transition: opacity .5s var(--ease), color .5s; }
.manifesto__text .w.on { opacity: 1; }
.manifesto__text .w--hl { font-style: italic; color: var(--sky-ink); }
.no-js-words .manifesto__text .w { opacity: 1; }

.benefits {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px);
  margin-top: clamp(56px, 8vw, 110px);
}
.benefits li {
  padding: 1.8rem 1.6rem 1.9rem;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .5s;
}
.benefits li:hover { transform: translateY(-6px); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
.benefits li:nth-child(2) { --d: .08s; } .benefits li:nth-child(3) { --d: .16s; } .benefits li:nth-child(4) { --d: .24s; }
.benefits__ico { width: 40px; height: 40px; color: var(--sky-ink); margin-bottom: 2.2rem; padding: 8px; border-radius: 50%; background: var(--sky-mist); box-sizing: content-box; }
.benefits h3 { font-family: var(--ff-display); font-weight: 420; font-size: 1.45rem; letter-spacing: -.01em; margin-bottom: .45rem; }
.benefits p { color: var(--muted); font-size: .97rem; line-height: 1.55; }

/* ---------- Para su negocio ---------- */
.markets { background: var(--paper); border-top: 1px solid var(--line); }
.markets__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.market-photo { position: relative; grid-row: span 2; display: flex; }
.market-photo__frame {
  position: relative; flex: 1; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); background: var(--sand); box-shadow: var(--shadow-md);
}
.market-photo__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 74%; }
.market-photo__caption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 1;
  display: flex; align-items: center; gap: .6rem;
  padding: .7rem .95rem; border-radius: 14px;
  background: rgba(252, 250, 246, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--ff-display); font-style: italic; font-size: 1rem; color: var(--coffee);
}
.market {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 272px;
  padding: 2.1rem 1.8rem 1.7rem;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.market:nth-child(3n+2) { --d: .08s; } .market:nth-child(3n) { --d: .16s; }
.market:hover, .market:focus-within { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-md); }
/* halo que aparece sobre el ícono, como en el logo */
.market::before {
  content: ""; position: absolute; top: 1.15rem; left: calc(1.8rem + 12px);
  width: 40px; height: 10px; border: 2px solid var(--sky); border-radius: 50%;
  box-shadow: 0 0 10px rgba(145, 224, 239, .8);
  opacity: 0; transform: translateY(6px); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.market:hover::before, .market:focus-within::before { opacity: 1; transform: none; }
.market__ico {
  width: 40px; height: 40px; padding: 12px; box-sizing: content-box; border-radius: 50%;
  background: var(--sky-mist); color: var(--sky-ink);
  transition: background-color .45s var(--ease), color .45s, transform .6s var(--ease);
}
.market:hover .market__ico, .market:focus-within .market__ico { background: var(--sky); color: var(--espresso); transform: rotate(-6deg); }
.market h3 { font-family: var(--ff-display); font-weight: 420; font-size: clamp(1.3rem, 1.8vw, 1.55rem); letter-spacing: -.012em; line-height: 1.15; margin: 0 0 .5rem; padding-top: 2.4rem; }
.market p { color: var(--muted); font-size: .97rem; line-height: 1.55; margin-bottom: 1.3rem; max-width: 34ch; }
.market__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; font-weight: 600; font-size: .94rem; color: var(--espresso); }
.market__cta::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.market__cta .ico { transition: transform .4s var(--ease); }
.market:hover .market__cta .ico { transform: translateX(4px); }
.market--other { background: var(--espresso); color: var(--cream); box-shadow: none; }
.market--other p { color: rgba(246, 241, 233, .7); }
.market--other .market__ico { background: rgba(145, 224, 239, .14); color: var(--sky); }
.market--other .market__cta { color: var(--sky); }
.market--other:hover, .market--other:focus-within { box-shadow: var(--shadow-md); }
.market--other:hover .market__cta .ico { transform: scale(1.12); }

/* ---------- Origen ---------- */
.origin { background: var(--paper); border-top: 1px solid var(--line); }
/* Tríptico editorial de fotos reales */
.gallery {
  display: grid; grid-template-columns: 1fr 1.18fr 1fr;
  gap: clamp(14px, 2.2vw, 32px); align-items: start;
  padding-top: 26px;
}
.ph { position: relative; margin: 0; }
.ph--a { margin-top: clamp(32px, 5vw, 72px); --d: .08s; }
.ph--c { margin-top: clamp(64px, 9vw, 136px); --d: .16s; }
.ph__frame {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; border-radius: 22px;
  background: var(--sand);
  box-shadow: var(--shadow-md);
}
.ph--b .ph__frame { aspect-ratio: 4 / 5; border-radius: 999px 999px 24px 24px; box-shadow: var(--shadow-lg); }
.ph__frame::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); pointer-events: none; }
.ph__frame img { width: 100%; height: 114%; object-fit: cover; will-change: transform; transition: scale 1.4s var(--ease); }
.ph:hover .ph__frame img, .js .ph.is-in:hover .reveal-img img { scale: 1.04; }
.ph--a img { object-position: 50% 30%; }
.ph--b img { object-position: 52% 62%; }
.ph--c img { object-position: 50% 50%; }
.ph__halo {
  position: absolute; left: 50%; top: -24px; z-index: 2;
  width: 30%; aspect-ratio: 4 / 1;
  border: 2.5px solid var(--sky); border-radius: 50%;
  translate: -50% 0;
  box-shadow: 0 0 18px rgba(145, 224, 239, .85), inset 0 0 10px rgba(145, 224, 239, .5);
  animation: float-halo 6s ease-in-out infinite;
}
.ph figcaption {
  display: flex; align-items: baseline; gap: .7rem;
  margin-top: 1.1rem;
  font-family: var(--ff-display); font-size: 1.15rem; font-weight: 400; letter-spacing: -.01em; color: var(--coffee);
}
.ph figcaption span { font-family: var(--ff-body); font-size: .72rem; font-weight: 600; letter-spacing: .14em; color: var(--sky-ink); }

/* ---------- Franja panorámica ---------- */
.band { position: relative; height: clamp(300px, 34vw, 520px); overflow: hidden; background: var(--espresso); }
.band__media { position: absolute; inset: 0; overflow: hidden; }
.band__media img { width: 100%; height: 118%; object-fit: cover; object-position: 38% 50%; will-change: transform; }
.band__overlay {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  padding-bottom: clamp(28px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(30, 20, 15, 0) 30%, rgba(30, 20, 15, .66) 100%);
}
.band__inner { width: 100%; }
.band__eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; margin-bottom: .8rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(246, 241, 233, .85);
}
.band__quote {
  max-width: 22ch;
  font-family: var(--ff-display); font-style: italic; font-weight: 340; font-variation-settings: "SOFT" 70;
  font-size: clamp(1.7rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.02em; color: var(--cream);
  --d: .12s;
}

/* Las imágenes provisionales (empaque y camión) se armonizan con el tono de las fotos reales */
.graded { filter: saturate(.84) contrast(.96) sepia(.08); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 4vw, 48px); }
.facts li {
  display: flex; flex-direction: column; gap: .5rem;
  padding: 1.3rem 1.2rem 0 0;
  font-family: var(--ff-display); font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 400; letter-spacing: -.01em; line-height: 1.2;
  border-top: 1px solid var(--line-strong);
}
.facts li + li { margin-left: 1.2rem; }
.facts li:nth-child(2) { --d: .08s; } .facts li:nth-child(3) { --d: .16s; } .facts li:nth-child(4) { --d: .24s; }
.facts span { font-family: var(--ff-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; color: var(--sky-ink); }

/* =========================================================
   PROCESO (sticky)
   ========================================================= */
.process { position: relative; height: 560vh; background: var(--cream); }
.process__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 64px;
}
.process__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.process__head .h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1rem; }
.process__hint { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .92rem; margin-bottom: 2rem; }
.process__hint .ico { animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.process__list { display: flex; flex-direction: column; gap: .15rem; counter-reset: p; }
.process__list li {
  counter-increment: p;
  display: flex; align-items: center; gap: .8rem;
  font-size: .98rem; color: rgba(30, 20, 15, .38);
  padding: .32rem 0;
  transition: color .5s var(--ease);
}
.process__list li::before {
  content: counter(p, decimal-leading-zero);
  font-family: var(--ff-display); font-style: italic; font-size: .85rem;
  width: 1.8rem;
}
.process__list li::after {
  content: ""; height: 1px; background: var(--espresso);
  width: 0; transition: width .6s var(--ease);
}
.process__list li.is-done { color: rgba(30, 20, 15, .6); }
.process__list li.is-active { color: var(--espresso); font-weight: 600; }
.process__list li.is-active::after { width: 32px; }

.process__stage { position: relative; width: 100%; aspect-ratio: 1; }
.pstage { width: 100%; height: 100%; overflow: visible; }
.pstage__track { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.pstage__prog { fill: none; stroke: var(--sky); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .25s linear; }
.pstage__dots circle { fill: var(--cream); stroke: var(--line-strong); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.pstage__dots circle.is-on { fill: var(--sky); stroke: var(--sky-ink); }

.pbean { transition: transform 1s var(--ease); }
.pbean__body { fill: #B8202B; transition: fill .9s var(--ease); }
.pbean__shine { fill: #fff; opacity: .28; transition: opacity .9s; }
.pbean__crease { fill: none; stroke: #000; stroke-opacity: 0; stroke-width: 8; stroke-linecap: round; transition: stroke-opacity .9s; }
.pacc { opacity: 0; transition: opacity .7s var(--ease), transform .9s var(--ease); }
.pacc--1 .pulp { transition: transform 1.1s var(--ease); }
.pstage[data-step="0"] .pacc--0,
.pstage[data-step="1"] .pacc--1,
.pstage[data-step="2"] .pacc--2,
.pstage[data-step="3"] .pacc--3,
.pstage[data-step="4"] .pacc--4,
.pstage[data-step="5"] .pacc--5 { opacity: 1; }
.pstage[data-step="1"] .pulp--l { transform: translateX(-20px); }
.pstage[data-step="1"] .pulp--r { transform: translateX(20px); }
.pacc--2 .drop { animation: drip 2.4s ease-in-out infinite; }
.pacc--2 .drop:nth-child(2) { animation-delay: .6s; }
.pacc--2 .drop:nth-child(3) { animation-delay: 1.2s; }
@keyframes drip { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
.pacc--3 g { transform-origin: 96px -96px; animation: spin 18s linear infinite; }
.steam path { stroke-dasharray: 6 10; animation: steam 1.6s linear infinite; }
@keyframes steam { to { stroke-dashoffset: -32; } }

.process__text { position: relative; }
.process__count { font-size: .9rem; letter-spacing: .14em; color: var(--muted); margin-bottom: 1rem; }
.process__num { font-family: var(--ff-display); font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -.03em; color: var(--espresso); font-weight: 340; vertical-align: -.2em; margin-right: .2rem; }
.process__steps { display: grid; }
.pstep { grid-area: 1 / 1; opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none; }
.pstep.is-active { opacity: 1; transform: none; transition-delay: .12s; pointer-events: auto; }
.pstep h3 { font-family: var(--ff-display); font-weight: 400; font-size: clamp(1.7rem, 2.6vw, 2.3rem); letter-spacing: -.02em; line-height: 1.1; margin-bottom: .8rem; }
.pstep p { color: var(--muted); max-width: 34ch; }
.pstep strong { color: var(--espresso); font-weight: 600; }

/* =========================================================
   CALIDADES
   ========================================================= */
.quality { background: var(--paper); border-top: 1px solid var(--line); }
/* Selector de calidades con jerarquía discreta: Excelso → Premium → Alta */
.tabs {
  --gold: #CDAA72;
  position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr);
  padding: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #E2D3BD 0%, #EAE0D1 55%, #F0E9DE 100%);
  box-shadow: inset 0 0 0 1px rgba(30, 20, 15, .06);
  margin-bottom: clamp(28px, 4vw, 48px);
}
.tabs__btn {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem clamp(1rem, 3vw, 2.2rem);
  border-radius: 999px;
  font-weight: 600; font-size: .98rem; color: var(--mocha);
  transition: color .45s var(--ease);
}
.tabs__btn:hover { color: var(--espresso); }
.tier { display: inline-flex; gap: 3px; color: inherit; }
.tier i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .2; transition: background-color .45s var(--ease), opacity .45s; }
.tier i.on { opacity: .75; }
.tabs__pill {
  position: absolute; top: 6px; bottom: 6px; left: 6px;
  width: calc((100% - 12px) / 3);
  border-radius: 999px; background: #fff;
  box-shadow: 0 6px 16px -8px rgba(30, 20, 15, .35);
  transition: transform .55s var(--ease), background-color .55s var(--ease), box-shadow .55s var(--ease);
  transform: translateX(calc(var(--i, 0) * 100%));
}
/* Excelso: espresso con filo y puntos dorados */
.tabs[data-active="excelso"] .tabs__pill { background: #2A1C14; box-shadow: inset 0 0 0 1px rgba(205, 170, 114, .5), 0 8px 18px -8px rgba(30, 20, 15, .6); }
.tabs[data-active="excelso"] .tabs__btn[aria-selected="true"] { color: #F6F1E9; }
.tabs[data-active="excelso"] .tabs__btn[aria-selected="true"] .tier i.on { background: var(--gold); opacity: 1; }
/* Premium: café medio */
.tabs[data-active="premium"] .tabs__pill { background: #74523D; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 8px 18px -8px rgba(30, 20, 15, .5); }
.tabs[data-active="premium"] .tabs__btn[aria-selected="true"] { color: #F6F1E9; }
.tabs[data-active="premium"] .tabs__btn[aria-selected="true"] .tier i.on { opacity: .9; }
/* Alta: claro */
.tabs[data-active="alta"] .tabs__btn[aria-selected="true"] { color: var(--espresso); }

.quality__panel {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 80px); align-items: center;
}
.quality__visual {
  padding: clamp(20px, 3vw, 36px);
  border-radius: calc(var(--radius) + 8px);
  background: radial-gradient(120% 90% at 50% 0%, #fff, var(--cream));
  box-shadow: inset 0 0 0 1px var(--line);
}
.beanfield { width: 100%; height: auto; overflow: visible; }
.beanfield g { transition: transform .9s var(--ease), color .9s var(--ease); transition-delay: var(--dl, 0s); }
.beanfield__legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.2rem; font-size: .86rem; color: var(--muted); }
.beanfield__legend span { display: inline-flex; align-items: center; gap: .5rem; transition: opacity .5s; }
.beanfield__legend span.is-off { opacity: .35; }
.lg { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.lg--alta { background: #4A2C1B; }
.lg--media { background: #9A6B45; }
.beanfield__note { margin-top: .5rem; font-size: .82rem; color: var(--muted); opacity: .85; }

.quality__info > * { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.quality__info.is-swapping > [data-q] { opacity: 0; transform: translateY(8px); }
.quality__tag {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky-ink); background: var(--sky-mist); padding: .45rem .8rem; border-radius: 999px; margin-bottom: 1.1rem;
}
.quality__info .h3 { margin-bottom: 1rem; }
.quality__desc { color: var(--muted); margin-bottom: 1.8rem; max-width: 46ch; }
.mix { margin-bottom: 1.6rem; }
.mix__bar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--sand); }
.mix__a, .mix__b { display: block; height: 100%; width: var(--w); transition: width .9s var(--ease); }
.mix__a { background: #4A2C1B; }
.mix__b { background: #9A6B45; }
.mix__labels { display: flex; justify-content: space-between; gap: 1rem; margin-top: .6rem; font-size: .86rem; color: var(--muted); }
.quality__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 1.6rem; }
.quality__chips div { padding: .9rem 1rem; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.quality__chips dt { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; font-weight: 600; }
.quality__chips dd { font-family: var(--ff-display); font-size: 1.2rem; font-weight: 420; }
.quality__ideal {
  position: relative; padding-left: 1.2rem; margin-bottom: 2rem;
  font-family: var(--ff-display); font-style: italic; font-size: 1.12rem; line-height: 1.45; color: var(--coffee);
}
.quality__ideal::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 2px; border-radius: 2px; background: var(--sky); }

/* =========================================================
   TOSTIÓN
   ========================================================= */
.roast {
  background:
    radial-gradient(800px 600px at 22% 60%, var(--glow), transparent 65%),
    #170F0B;
  color: var(--cream);
  transition: background-color .8s;
  overflow: hidden;
}
.roast .h2 em { color: var(--sky); }
.roast .lead { color: rgba(246, 241, 233, .68); }
.roast__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 100px); align-items: center; }
.roast__stage {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  min-height: 600px;
  padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 40px) clamp(28px, 3vw, 40px);
  border-radius: 32px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .75), inset 0 0 0 1px rgba(246, 241, 233, .08);
}
/* foto real del tostador como escenario del grano */
.roast__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; opacity: .5; filter: saturate(.85); }
.roast__stage::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(23, 15, 11, .2), rgba(23, 15, 11, .82)),
    linear-gradient(180deg, rgba(23, 15, 11, .15), rgba(23, 15, 11, .88));
}
.roast__glow {
  position: absolute; top: 4%; left: 50%; translate: -50% 0;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow), transparent 68%);
  filter: blur(10px);
  transition: background .8s;
}
.rbean { position: relative; width: min(300px, 62vw); height: auto; aspect-ratio: 120 / 140; animation: bean-sway 9s ease-in-out infinite; filter: drop-shadow(0 40px 40px rgba(0, 0, 0, .5)); margin-bottom: 2.6rem; }
@keyframes bean-sway { 0%, 100% { transform: rotate(-14deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-12px); } }
.rbean__body { fill: var(--roast); transition: fill .8s var(--ease); }
.rbean__sheen { opacity: var(--sheen, .5); transition: opacity .8s; }
.rbean__crease { fill: none; stroke: #0d0805; stroke-opacity: .7; stroke-width: 6; stroke-linecap: round; }

.roast__control { width: min(420px, 100%); }
#roast-range {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 8px; border-radius: 999px;
  background: linear-gradient(90deg, #A5713F, #5C3721 50%, #26150D);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
  cursor: pointer; margin: 0;
}
#roast-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--cream); border: 6px solid var(--sky);
  box-shadow: 0 0 0 6px rgba(145, 224, 239, .18), 0 8px 18px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
#roast-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--cream); border: 6px solid var(--sky);
  box-shadow: 0 0 0 6px rgba(145, 224, 239, .18), 0 8px 18px rgba(0,0,0,.4);
}
#roast-range:active::-webkit-slider-thumb { transform: scale(1.12); }
#roast-range:focus-visible { outline: 2px solid var(--sky); outline-offset: 8px; }
.roast__stops { display: flex; justify-content: space-between; margin-top: 1rem; }
.roast__stops button { font-size: .92rem; font-weight: 600; color: rgba(246, 241, 233, .5); padding: .3rem .2rem; transition: color .3s; }
.roast__stops button:hover { color: rgba(246, 241, 233, .85); }
.roast__stops button.is-active { color: var(--sky); }

.roast__info > [data-r], .roast__info .profile { transition: opacity .35s var(--ease), transform .35s var(--ease); }
.roast__info.is-swapping > [data-r] { opacity: 0; transform: translateY(8px); }
.roast__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--espresso); background: var(--sky); padding: .45rem .85rem; border-radius: 999px;
  margin-bottom: 1rem;
}
.roast__badge::before { content: "★"; font-size: .9em; }
.roast__name {
  font-family: var(--ff-display); font-weight: 340; font-variation-settings: "SOFT" 70;
  font-size: clamp(3rem, 6.5vw, 5.4rem); line-height: 1; letter-spacing: -.035em;
  margin-bottom: 1.1rem;
}
.roast__desc { color: rgba(246, 241, 233, .74); max-width: 44ch; margin-bottom: 2rem; font-size: 1.05rem; min-height: 5.1em; }
.profile { display: grid; gap: .85rem; margin-bottom: 2rem; max-width: 440px; }
.profile li { display: grid; grid-template-columns: 7.5rem 1fr; align-items: center; gap: 1rem; font-size: .93rem; color: rgba(246, 241, 233, .78); }
.profile__bar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.profile__bar i { height: 8px; border-radius: 999px; background: rgba(246, 241, 233, .12); transition: background-color .5s var(--ease), transform .5s var(--ease); transform-origin: left; }
.profile__bar i.on { background: var(--sky); }
.profile__bar i:nth-child(2) { transition-delay: .04s; } .profile__bar i:nth-child(3) { transition-delay: .08s; }
.profile__bar i:nth-child(4) { transition-delay: .12s; } .profile__bar i:nth-child(5) { transition-delay: .16s; }
.roast__uses { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: 2.2rem; }
.roast__uses-label { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(246, 241, 233, .5); }
.roast__uses ul { display: flex; flex-wrap: wrap; gap: .5rem; }
.roast__uses li { padding: .45rem .9rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(246, 241, 233, .22); font-size: .9rem; }

/* =========================================================
   EMPAQUE
   ========================================================= */
.pack__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.pack__media { position: relative; }
/* Arco elíptico: más bajo que el de las otras fotos para que la esquina de la bolsa grande no se corte */
.pack__frame {
  position: relative; aspect-ratio: 1100 / 1375;
  border-radius: 50% 50% var(--radius) var(--radius) / 22% 22% var(--radius) var(--radius);
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: #DCE9EE;
}
.pack__zoom { position: absolute; inset: 0; }
/* Al elegir una presentación, un velo claro envuelve la otra bolsa y la elegida queda iluminada */
.pack__veil {
  position: absolute; inset: 0; pointer-events: none; opacity: 0;
  transition: opacity .8s var(--ease);
}
.pack__veil--5 { background: radial-gradient(ellipse 38% 52% at 38.5% 46%, transparent 72%, rgba(236, 243, 246, .66) 100%); }
.pack__veil--1 { background: radial-gradient(ellipse 26% 34% at 73.5% 60%, transparent 72%, rgba(236, 243, 246, .66) 100%); }
.pack__frame.is-picked[data-size="5"] .pack__veil--5,
.pack__frame.is-picked[data-size="1"] .pack__veil--1 { opacity: 1; }
.pack__frame img { width: 100%; height: 100%; object-fit: cover; }
/* Números sobre la foto: el mismo número que en la lista; se mudan a la bolsa elegida */
.hotspot {
  position: absolute; width: 44px; height: 44px; translate: -50% -50%;
  left: var(--x5); top: var(--y5);
  display: grid; place-items: center; border-radius: 50%;
  transition: left .9s var(--ease), top .9s var(--ease);
}
.pack__frame[data-size="1"] .hotspot { left: var(--x1); top: var(--y1); }
.hotspot span {
  position: relative; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--sky-ink);
  font-weight: 700; font-size: .82rem; line-height: 1;
  box-shadow: 0 0 0 2px var(--sky), 0 6px 14px rgba(13, 98, 116, .35);
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .3s;
}
.hotspot span::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 2px solid var(--sky);
  animation: ping 2.2s var(--ease) infinite;
}
.hotspot:hover span { transform: scale(1.1); }
.hotspot.is-active span { transform: scale(1.18); background: var(--espresso); color: var(--cream); box-shadow: 0 0 0 2px #fff, 0 8px 18px rgba(30, 20, 15, .4); }
.hotspot.is-active span::after { animation: none; opacity: 0; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
/* Sello del peso: arriba a la derecha, sobre el fondo libre de la foto (no tapa ninguna bolsa) */
.pack__weight {
  position: absolute; right: -18px; top: 12%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 128px; aspect-ratio: 1; border-radius: 50%;
  background: var(--espresso); color: var(--cream);
  box-shadow: var(--shadow-md);
}
.pack__weight strong { font-family: var(--ff-display); font-weight: 360; font-size: 2.8rem; line-height: 1; letter-spacing: -.03em; }
.pack__weight small { font-size: .45em; margin-left: .1em; color: var(--sky); }
.pack__weight span { font-size: .82rem; opacity: .75; margin-top: .2rem; }
.pack__weight strong, .pack__weight span { transition: opacity .3s, translate .3s var(--ease); }
.pack__weight.is-swap strong, .pack__weight.is-swap span { opacity: 0; translate: 0 6px; }
.pack__info .h2 { margin-bottom: 1.4rem; }
.pack__info .lead { margin-bottom: 1.8rem; }

/* Selector de presentaciones (5 lb / 1 lb) */
.sizes { margin-bottom: 2.4rem; }
.sizes__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.size {
  display: flex; align-items: center; gap: .9rem; text-align: left;
  padding: .95rem 1.1rem; border-radius: 18px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .35s, box-shadow .35s, color .35s;
}
.size:hover { box-shadow: inset 0 0 0 1px var(--espresso); }
.size.is-active { background: var(--espresso); color: var(--cream); box-shadow: none; }
.size__w {
  flex: none; display: flex; align-items: center; justify-content: center; width: 54px; aspect-ratio: 1; border-radius: 50%;
  font-family: var(--ff-display); font-size: 1.55rem; line-height: 1; letter-spacing: -.03em;
  background: rgba(145, 224, 239, .35); color: var(--sky-ink);
  transition: background-color .35s, color .35s;
}
.size__w small { font-size: .5em; margin: .35em 0 0 .06em; }
.size.is-active .size__w { background: var(--sky); color: var(--espresso); }
.size__txt { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.size__txt strong { font-weight: 600; font-size: .98rem; line-height: 1.25; }
.size__txt span { font-size: .84rem; opacity: .7; }
.sizes__panel { padding: 1.1rem .2rem 0; animation: sizeIn .5s var(--ease); }
.sizes__panel p { color: var(--muted); max-width: 52ch; margin-bottom: .7rem; }
.sizes__link {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; color: var(--sky-ink);
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.sizes__link .ico { width: 1em; height: 1em; }
.sizes__link:hover { color: var(--espresso); }
@media (max-width: 520px) {
  .size { flex-direction: column; align-items: flex-start; gap: .6rem; }
}
@keyframes sizeIn { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: 0 0; } }
/* Pasos de la sección: 1 elegir presentación · 2 conocer el empaque */
.pack__step {
  display: flex; align-items: center; gap: .6rem; flex-wrap: wrap;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--espresso); margin-bottom: .9rem;
}
.pack__step::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--sky); }
.pack__step small { flex-basis: 100%; padding-left: calc(22px + .6rem); font-size: .86rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
.sizes + .pack__step { margin-top: .4rem; }

/* Lista del empaque: todo visible; cada fila ilumina su número en la foto */
.perks { display: grid; gap: .5rem; }
.perk {
  width: 100%; display: flex; align-items: flex-start; gap: .9rem; text-align: left;
  padding: .85rem 1rem; border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .3s, box-shadow .3s;
}
.perk:hover { box-shadow: inset 0 0 0 1px var(--line-strong); }
.perk.is-active { background: rgba(145, 224, 239, .22); box-shadow: inset 0 0 0 1px rgba(13, 98, 116, .35); }
.perk__n {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: #fff; color: var(--sky-ink); font-weight: 700; font-size: .82rem;
  box-shadow: 0 0 0 2px var(--sky);
  transition: background-color .3s, color .3s;
}
.perk.is-active .perk__n { background: var(--espresso); color: var(--cream); box-shadow: 0 0 0 2px var(--espresso); }
.perk__body { display: flex; flex-direction: column; gap: .2rem; padding-top: .15rem; }
.perk__body strong { font-family: var(--ff-display); font-weight: 450; font-size: 1.12rem; letter-spacing: -.01em; line-height: 1.2; }
.perk__body span { color: var(--muted); font-size: .92rem; line-height: 1.45; }

/* =========================================================
   DISTRIBUCIÓN
   ========================================================= */
.dist { background: var(--sky-mist); overflow: hidden; }
.dist .h2 em { color: var(--sky-ink); }
.route { position: relative; margin-bottom: clamp(48px, 7vw, 96px); }
/* Mapa en línea Tolima → Bogotá: el trazo avanza y el camión lo recorre con el scroll */
.route__map { position: relative; aspect-ratio: 1200 / 260; margin-bottom: clamp(22px, 3vw, 36px); }
.map { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.map path, .map ellipse { vector-effect: non-scaling-stroke; }
.map__fill { fill: url(#mapMtn); }
.map__ridge { fill: none; stroke: rgba(13, 98, 116, .42); stroke-width: 1.4; stroke-linejoin: round; }
.map__range--back .map__fill { opacity: .5; }
.map__range--back .map__ridge { stroke: rgba(13, 98, 116, .2); }
.map__halo { fill: none; stroke: var(--sky); stroke-width: 2; filter: drop-shadow(0 0 4px rgba(145, 224, 239, .9)); }
.map__rows { fill: none; stroke: rgba(13, 98, 116, .4); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: .1 8; }
.map__river { fill: none; stroke: var(--sky); stroke-width: 2.6; stroke-linecap: round; opacity: .85; }
.map__city { fill: rgba(255, 255, 255, .75); stroke: rgba(13, 98, 116, .5); stroke-width: 1.2; stroke-linejoin: round; }
.map__road { fill: none; stroke: rgba(13, 98, 116, .3); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 7; }
.map__trail { fill: none; stroke: var(--sky-ink); stroke-width: 2.8; stroke-linecap: round; }
.map__pin { position: absolute; left: var(--x); top: var(--y); z-index: 1; translate: -50% -50%; }
.map__pin > i {
  position: relative; display: block; width: 14px; height: 14px; border-radius: 50%;
  background: var(--sky-ink); box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(13, 98, 116, .35);
}
.map__pin > i::after {
  content: ""; position: absolute; inset: -8px; border-radius: 50%;
  border: 2px solid var(--sky); opacity: 0;
}
.map__pin--from > i::after { animation: ping 2.4s var(--ease) infinite; }
.map__pin--to > i { background: #fff; box-shadow: 0 0 0 3px var(--sky-ink), 0 4px 10px rgba(13, 98, 116, .3); transition: background-color .5s, box-shadow .5s; }
.route__map.is-arrived .map__pin--to > i { background: var(--sky); box-shadow: 0 0 0 3px var(--sky-ink), 0 0 18px rgba(145, 224, 239, .9); }
.route__map.is-arrived .map__pin--to > i::after { animation: ping 1.8s var(--ease) infinite; }
.map__label {
  position: absolute; left: 50%; translate: -50% 0; white-space: nowrap; text-align: center;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.25;
}
.map__label b { display: block; font-family: var(--ff-display); font-size: 1.1rem; font-weight: 420; font-style: italic; letter-spacing: 0; text-transform: none; color: var(--espresso); }
.map__pin .map__label { top: 22px; }
.map__truck {
  position: absolute; left: 15.5%; top: 67.7%; z-index: 2;
  width: clamp(30px, 3.6vw, 46px); aspect-ratio: 48 / 32;
  translate: -50% -88%; transform-origin: 50% 88%;
  color: var(--sky-ink); filter: drop-shadow(0 6px 6px rgba(13, 98, 116, .2));
}
.map__truck svg { width: 100%; height: 100%; }
.route__steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 56px); }
.route__when {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky-ink); margin-bottom: .8rem;
}
.route__steps h3 { font-family: var(--ff-display); font-weight: 420; font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.015em; line-height: 1.15; margin-bottom: .55rem; }
.route__steps p { color: var(--muted); font-size: .98rem; max-width: 34ch; }

.dist__picker {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
  border-radius: calc(var(--radius) + 8px); overflow: hidden;
  background: #fff; box-shadow: var(--shadow-lg);
}
.dist__photo { position: relative; min-height: 340px; overflow: hidden; }
.dist__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 58%; }
.dist__days { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; }
.dist__q { font-family: var(--ff-display); font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 400; letter-spacing: -.015em; line-height: 1.2; margin-bottom: 1.4rem; }
.days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 1.4rem; }
.days button {
  aspect-ratio: 1; border-radius: 50%;
  font-weight: 600; font-size: .9rem; color: var(--coffee);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: background-color .35s var(--ease), color .35s, box-shadow .35s, transform .35s var(--ease);
}
.days button:hover { box-shadow: inset 0 0 0 1.5px var(--espresso); }
.days button[aria-checked="true"] { background: var(--espresso); color: var(--cream); box-shadow: none; transform: translateY(-3px); }
.dist__answer { color: var(--muted); }
.dist__answer em { font-family: var(--ff-display); font-style: italic; font-size: 1.15em; color: var(--sky-ink); }

/* =========================================================
   PEDIDO
   ========================================================= */
.order { background: var(--cream); }
.order__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.builder {
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line);
  display: grid; gap: 1.9rem;
}
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field legend, .input > span { display: block; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mocha); margin-bottom: .8rem; padding: 0; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; flex: 1 1 0; min-width: max-content; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .6rem 1rem; border-radius: 14px;
  background: #fff; box-shadow: inset 0 0 0 1px var(--line-strong);
  font-weight: 600; font-size: .95rem; color: var(--coffee);
  transition: background-color .3s var(--ease), color .3s, box-shadow .3s;
  cursor: pointer; text-align: center;
}
.seg label:hover span { box-shadow: inset 0 0 0 1.5px var(--espresso); }
.seg input:checked + span { background: var(--espresso); color: var(--cream); box-shadow: none; }
.seg input:focus-visible + span { outline: 2px solid var(--sky-ink); outline-offset: 2px; }
.seg--sm label { flex: 0 0 auto; }
.seg--sm span { min-height: 40px; width: 44px; padding: 0; border-radius: 12px; }
.seg--wrap label { flex: 1 1 calc(33.333% - 8px); min-width: 0; }
.field.is-pulse .seg { animation: pulse-field 1.4s var(--ease); border-radius: 16px; }
@keyframes pulse-field { 0% { box-shadow: 0 0 0 0 rgba(145, 224, 239, .9); } 100% { box-shadow: 0 0 0 14px rgba(145, 224, 239, 0); } }
.seg--days { flex-wrap: nowrap; gap: 6px; }
.seg--days label { flex: 1 1 0; min-width: 0; }
.seg--days span { padding-inline: .2rem; }

.calc { display: grid; gap: 1rem; padding: 1.2rem; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.calc__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-size: .96rem; color: var(--coffee); flex-wrap: wrap; }
.calc output#tazas-out { font-family: var(--ff-display); font-size: 1.5rem; font-weight: 420; color: var(--espresso); }
#tazas {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; margin: 0;
  background: linear-gradient(90deg, var(--sky-ink) var(--fill, 13%), var(--sand) var(--fill, 13%));
  cursor: pointer;
}
#tazas::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--sky-ink); box-shadow: 0 4px 10px rgba(13, 98, 116, .3); }
#tazas::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--sky-ink); }
.calc__result { display: flex; align-items: center; gap: 1rem; padding-top: 1rem; border-top: 1px dashed var(--line-strong); }
.calc__result p { display: flex; flex-direction: column; line-height: 1.35; }
.calc__result strong { font-weight: 600; }
.calc__note { font-size: .84rem; color: var(--muted); }
.stepper { display: flex; align-items: center; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-strong); flex: none; }
.stepper button { width: 42px; height: 48px; font-size: 1.3rem; color: var(--coffee); border-radius: 14px; transition: background-color .3s; }
.stepper button:hover { background: var(--sky-mist); }
.stepper output { min-width: 2.4ch; text-align: center; font-family: var(--ff-display); font-size: 1.7rem; font-weight: 420; }

.field--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--two .input--wide { grid-column: 1 / -1; }
.input input, .input select {
  width: 100%; min-height: 50px; padding: .75rem 1rem; border-radius: 14px;
  background: #fff; border: 0; box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 1rem; color: var(--espresso);
  transition: box-shadow .3s;
}
.input select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%233A271C' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.4rem; }
.input input::placeholder { color: rgba(106, 92, 83, .65); }
.input input:focus, .input select:focus { outline: none; box-shadow: inset 0 0 0 2px var(--sky-ink); }

.ticket { position: sticky; top: 88px; filter: drop-shadow(0 30px 34px rgba(30, 20, 15, .16)) drop-shadow(0 2px 4px rgba(30, 20, 15, .06)); }
.ticket__paper {
  position: relative;
  padding: 30px 26px 26px;
  background: #fff;
  border-radius: 18px;
  /* muescas laterales tipo tiquete */
  -webkit-mask: radial-gradient(circle 11px at 0 var(--notch, 104px), transparent 97%, #000), radial-gradient(circle 11px at 100% var(--notch, 104px), transparent 97%, #000);
  -webkit-mask-composite: source-in;
  mask: radial-gradient(circle 11px at 0 var(--notch, 104px), transparent 97%, #000), radial-gradient(circle 11px at 100% var(--notch, 104px), transparent 97%, #000);
  mask-composite: intersect;
}
.ticket__paper::before {
  content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 6px;
  border-radius: 0 0 6px 6px;
  background: repeating-linear-gradient(90deg, var(--sky) 0 14px, transparent 14px 22px);
}
.ticket__head { display: flex; align-items: center; gap: .9rem; padding-bottom: 1.2rem; margin-bottom: .6rem; border-bottom: 1px dashed var(--line-strong); }
.ticket__head img { width: 52px; height: 52px; border-radius: 50%; }
.ticket__title { font-family: var(--ff-display); font-size: 1.35rem; font-weight: 420; letter-spacing: -.01em; line-height: 1.15; }
.ticket__meta { font-size: .84rem; color: var(--muted); }
.ticket__rows { display: grid; }
.ticket__rows > div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.ticket__rows dt { color: var(--muted); }
.ticket__rows dd { font-weight: 600; text-align: right; transition: color .3s; }
.ticket__rows dd.flash { animation: flash .8s var(--ease); }
@keyframes flash { 0% { color: var(--sky-ink); } 100% { color: inherit; } }
.ticket__total { display: flex; justify-content: space-between; align-items: baseline; padding: 1.1rem 0 1.3rem; }
.ticket__total span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--mocha); }
.ticket__total strong { font-family: var(--ff-display); font-size: 2.1rem; font-weight: 380; letter-spacing: -.03em; }
.ticket__foot { margin-top: .9rem; text-align: center; font-size: .84rem; color: var(--muted); }

/* =========================================================
   CIERRE + PIE
   ========================================================= */
.closing { padding-block: clamp(20px, 4vw, 40px) clamp(60px, 8vw, 110px); }
.closing__card {
  position: relative; overflow: hidden;
  border-radius: clamp(28px, 4vw, 48px);
  padding: clamp(64px, 9vw, 130px) clamp(24px, 6vw, 90px);
  background: var(--espresso);
  isolation: isolate;
  color: var(--cream);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
/* foto real del cafetal como textura, oscurecida con los tonos de la marca */
.closing__bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  opacity: .55; filter: saturate(.8);
}
.closing__card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 400px at 50% -10%, rgba(145, 224, 239, .26), transparent 60%),
    radial-gradient(120% 95% at 50% 55%, rgba(30, 20, 15, .58), rgba(30, 20, 15, .93));
}
.closing__halo {
  width: clamp(80px, 8vw, 104px); aspect-ratio: 4 / 1;
  border: 3px solid var(--sky); border-radius: 50%;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(145, 224, 239, .8), inset 0 0 14px rgba(145, 224, 239, .6);
  animation: float-halo 6s ease-in-out infinite;
}
.closing__logo { width: clamp(96px, 11vw, 130px); border-radius: 50%; margin: 0 0 2rem; box-shadow: 0 20px 50px -10px rgba(145, 224, 239, .35); }
.closing__title {
  font-family: var(--ff-display); font-weight: 340; font-variation-settings: "SOFT" 70;
  font-size: clamp(2.6rem, 6.4vw, 5.6rem); line-height: 1; letter-spacing: -.035em;
  margin-bottom: 1.4rem; text-wrap: balance;
}
.closing__title em { color: var(--sky); }
.closing__lead { color: rgba(246, 241, 233, .72); max-width: 46ch; font-size: 1.08rem; margin-bottom: 2.4rem; }
.closing__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 1.6rem; }
.closing__phone { font-size: .92rem; color: rgba(246, 241, 233, .55); }
.closing__phone a { color: var(--cream); border-bottom: 1px solid rgba(246, 241, 233, .3); margin-left: .3rem; }

.footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: clamp(28px, 5vw, 80px); padding-bottom: clamp(36px, 5vw, 64px); }
.footer__brand img { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.2rem; }
.footer__brand p { color: var(--muted); max-width: 36ch; }
.footer__h { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mocha); margin-bottom: 1rem; }
.footer__col { display: flex; flex-direction: column; gap: .55rem; align-items: flex-start; }
.footer__col a, .footer__col span { display: inline-flex; align-items: center; gap: .5rem; color: var(--coffee); font-size: .97rem; }
.footer__col a:hover { color: var(--sky-ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
/* gran firma tipográfica de la marca, con su halo */
.footer__mark {
  display: flex; justify-content: center; align-items: baseline; gap: .1em;
  height: 1.02em; overflow: hidden;
  padding-top: .2em;
  font-family: var(--ff-display); font-weight: 360; font-variation-settings: "SOFT" 100;
  font-size: clamp(4.4rem, 19vw, 17rem); line-height: 1; letter-spacing: -.05em;
  color: var(--sand);
  user-select: none;
}
.footer__mark em { font-style: italic; font-weight: 320; font-size: .5em; color: #DCCDB8; letter-spacing: -.02em; }
.footer__mark-word { position: relative; }
.footer__mark-halo {
  position: absolute; left: 50%; top: -.04em;
  width: .9em; height: .2em;
  border: .022em solid var(--sky); border-radius: 50%;
  translate: -50% 0;
  box-shadow: 0 0 .08em rgba(145, 224, 239, .8);
  animation: float-halo 6s ease-in-out infinite;
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(18, 140, 75, .7);
  transform: translateY(120px) scale(.8); opacity: 0;
  transition: transform .6s var(--ease), opacity .6s var(--ease);
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease) infinite; }
.wa-float__tip {
  position: absolute; right: calc(100% + 12px); top: 50%; translate: 0 -50%;
  padding: .5rem .9rem; border-radius: 12px; white-space: nowrap;
  background: var(--espresso); color: var(--cream); font-size: .9rem; font-weight: 600;
  opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease); pointer-events: none;
}
.wa-float:hover .wa-float__tip, .wa-float:focus-visible .wa-float__tip { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav__inner { gap: 1.4rem; }
  .nav__links { gap: 1.1rem; }
  .nav__links a { font-size: .88rem; }
  .hero__chip { right: -8px; }
  .markets__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-photo { grid-column: 1 / -1; grid-row: auto; }
  .market-photo__frame { flex: none; width: 100%; aspect-ratio: 2 / 1; }
  /* encuadre en la taza completa, con el logo visible */
  .market-photo__frame img { object-position: 50% 82%; }
  .market-photo__caption { right: auto; }
}

@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__toggle { display: block; }
  .nav__section {
    display: inline-flex; align-items: baseline; gap: .45rem; min-width: 0;
    font-size: .84rem; font-weight: 600; color: var(--coffee); white-space: nowrap;
    opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease);
  }
  .nav__section b { font-family: var(--ff-display); font-style: italic; font-weight: 400; color: var(--sky-ink); }
  .nav.has-section .nav__section { opacity: 1; transform: none; }
  .nav__inner { gap: 1rem; }
  .manifesto__grid { grid-template-columns: 1fr; align-items: start; }
  .manifesto__photo { max-width: 380px; width: 100%; justify-self: center; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { margin: 12px auto 0; max-width: 420px; }
  .seal { left: -14px; width: 124px; bottom: 40px; }
  .hero__chip { right: -6px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats li:nth-child(3) { border-left: 0; padding-left: 0; }
  .stats li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 1.4rem; }

  .split-head { grid-template-columns: 1fr; align-items: start; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .markets__grid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 1.6rem; }
  .facts li + li { margin-left: 0; }
  .facts li:nth-child(even) { margin-left: 1.2rem; }

  .process { height: 520vh; }
  .process__sticky { padding-top: 64px; align-items: center; }
  .process__grid { grid-template-columns: 1fr; gap: 0; justify-items: center; text-align: center; padding-top: clamp(12px, 3vh, 32px); }
  .process__head .h2 { font-size: clamp(2rem, 7vw, 2.8rem); margin-bottom: .3rem; }
  .process__head .eyebrow { margin-bottom: .6rem; }
  .process__hint { margin-bottom: 0; }
  .process__list { display: none; }
  .process__stage { width: min(70vw, 38vh, 320px); margin: clamp(10px, 3vh, 32px) 0; }
  .process__count { margin-bottom: .4rem; }
  .process__num { font-size: 2.6rem; }
  .pstep p { margin-inline: auto; }

  .quality__panel { grid-template-columns: 1fr; }
  .roast__grid { grid-template-columns: 1fr; }
  .pack__grid { grid-template-columns: 1fr; }
  .pack__media { max-width: 460px; margin-inline: auto; width: 100%; }
  .pack__weight { right: -8px; width: 96px; top: 10%; }
  .pack__weight strong { font-size: 2.1rem; }
  .size { padding: .8rem .85rem; gap: .7rem; }
  .size__w { width: 44px; font-size: 1.3rem; }
  .dist__picker { grid-template-columns: 1fr; }
  .dist__photo { min-height: 0; aspect-ratio: 16 / 9; }
  .roast__stage { min-height: 520px; }
  .order__grid { grid-template-columns: 1fr; }
  .ticket { position: relative; top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  body { font-size: 16px; }
  .nav__brand span { display: none; }
  .nav__cta span { display: none; }
  .nav__cta { padding: .7rem; }
  .nav__cta .ico { width: 1.3em; height: 1.3em; }

  .hero__title { font-size: clamp(2.5rem, 11.5vw, 3.4rem); }
  .hero__ctas .btn { width: 100%; }
  .hero__visual { max-width: 330px; padding-top: 32px; }
  .seal { width: 104px; left: -10px; bottom: 30px; }
  .seal__ring text { font-size: 14px; }
  .hero__chip { padding: .7rem .8rem; right: -10px; }
  .hero__chip-dots i { width: 20px; height: 20px; }
  .float-bean--a { left: -6px; }

  .benefits { grid-template-columns: 1fr; }
  .benefits__ico { margin-bottom: 1.2rem; }
  .markets__grid { grid-template-columns: 1fr; }
  /* celular: foto vertical para que la taza y el logo se vean completos */
  .market-photo__frame { aspect-ratio: 4 / 5; }
  .market-photo__frame img { object-position: 50% 97%; }
  .market-photo__caption { left: 12px; right: auto; bottom: 12px; font-size: .95rem; padding: .6rem .85rem; }
  .band { height: 320px; }
  .band__media img { object-position: 36% 50%; }
  .roast__stage { min-height: 460px; border-radius: 24px; }
  .manifesto__photo { max-width: 300px; }
  .market { min-height: 0; padding: 1.6rem 1.4rem 1.4rem; }
  .market::before { left: calc(1.4rem + 12px); top: .7rem; }
  .market h3 { padding-top: 1.2rem; }
  .market p { margin-bottom: 1rem; }
  .seg--wrap label { flex-basis: calc(50% - 4px); }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 22px; }
  .ph--b { grid-column: 1 / -1; order: -1; width: 100%; max-width: 360px; justify-self: center; margin-bottom: 14px; }
  .ph--a { margin-top: 0; }
  .ph--c { margin-top: 28px; }
  .ph__frame { border-radius: 18px; }
  .ph figcaption { font-size: 1rem; margin-top: .7rem; }
  .facts { grid-template-columns: 1fr 1fr; }

  .tabs { display: grid; width: 100%; }
  .tabs__btn { padding: .7rem .5rem; font-size: .92rem; flex-direction: column; gap: 5px; }
  .quality__chips { grid-template-columns: 1fr 1fr; }

  .route__map { aspect-ratio: 2.4 / 1; margin-inline: -8px; }
  .map__label { font-size: .62rem; }
  .map__label b { font-size: .95rem; }
  .route__steps { grid-template-columns: 1fr; gap: 1.6rem; }
  .route__steps li { padding-left: 1.2rem; border-left: 2px solid rgba(13, 98, 116, .25); }
  .days { gap: 6px; }

  .field--two { grid-template-columns: 1fr; }
  .seg--days span { font-size: .85rem; min-height: 44px; }
  .calc__result { flex-wrap: wrap; }

  .closing__ctas .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}

@media (max-height: 640px) and (max-width: 980px) {
  .process__hint { display: none; }
  .process__stage { width: min(48vw, 28vh, 220px); }
}

/* =========================================================
   FONDO ILUSTRADO (prueba)
   Ilustraciones del diseño de la marca (olas, ramas, granos),
   curvas de nivel propias y olas divisorias en SVG.
   Regla: nada se corta contra una línea recta; cada pieza entra
   por el borde de la pantalla o queda completa dentro del espacio.
   ========================================================= */
.has-deco { isolation: isolate; }
.deco { position: absolute; z-index: -1; pointer-events: none; user-select: none; }
.deco img { width: 100%; height: auto; }
.footer.has-deco { position: relative; overflow: hidden; }
.quality.has-deco { overflow: hidden; }

/* Ramita de café que sale de la pared: el tallo nace en el borde de la pantalla
   (el corte del tallo queda escondido dentro de la pared, en el 10 % exterior).
   Tres capas:
   .deco (posición y espejo) > .deco__grow (brota de la pared al aparecer y se mueve
   con el "viento" del scroll) > img (vaivén continuo de brisa). Todo gira desde el
   punto donde el tallo toca la pared, así nunca se despega de ella. */
.deco--rama { --wall-x: 90%; --wall-y: 73%; }
.deco__grow { display: block; transform-origin: var(--wall-x) var(--wall-y); }
.deco--rama img {
  transform-origin: var(--wall-x) var(--wall-y);
  animation: deco-breeze 7.5s ease-in-out infinite; animation-delay: var(--breeze-delay, 0s);
}
.js .deco--rama .deco__grow {
  opacity: 0; transform: rotate(-28deg) scale(.3);
  transition: transform 1.9s cubic-bezier(.2, 1.15, .3, 1), opacity .8s ease;
}
.js .deco--rama.is-in .deco__grow { opacity: 1; transform: none; }
@keyframes deco-breeze {
  0%, 100% { rotate: 0deg; }
  16% { rotate: 3.4deg; }
  30% { rotate: -1.4deg; }
  48% { rotate: 4.6deg; }
  64% { rotate: .4deg; }
  80% { rotate: 2.8deg; }
}

/* Marco de toda la página: ola arriba a la izquierda (inicio)
   y ola con granos abajo a la derecha (pie), como en el diseño */
.hero > .deco--ola-sup { top: 0; left: 0; width: clamp(300px, 46vw, 720px); }
.nav__brand img { box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 4px 12px -4px rgba(13, 98, 116, .35); border-radius: 50%; }
.deco--ola-pie { right: 0; bottom: 0; width: clamp(320px, 46vw, 760px); }
.footer__bottom { position: relative; }

/* fruto que se suelta de una rama con el viento del scroll */
.berry-drop { position: absolute; z-index: -1; pointer-events: none; will-change: transform, opacity; }
.berry-drop svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 3px 3px rgba(13, 98, 116, .2)); }

/* 03 Origen: curvas de nivel de las montañas, muy tenues y desvanecidas en los bordes */
.deco--topo {
  inset: 0; opacity: .17;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.deco--topo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }

/* 05 Calidades: ramita que sale de la pared derecha, en el espacio libre sobre el texto */
.quality.has-deco { padding-top: clamp(112px, 16vw, 250px); }
.deco--rama-calidades {
  --rama-w: clamp(91px, 14.3vw, 247px);
  top: clamp(8px, 1.2vw, 20px); right: calc(var(--rama-w) * -.1); width: var(--rama-w);
}

/* 08 Distribución: sección azul con bordes ondulados y dos ramas en simetría diagonal */
.dist.has-deco {
  --wave-h: clamp(54px, 8.5vw, 130px);
  --rama-w: clamp(91px, 14.3vw, 247px);
  padding-block: calc(var(--wave-h) + clamp(80px, 11vw, 165px));
  background:
    radial-gradient(34% 38% at 6% 16%, rgba(255, 255, 255, .9), transparent 72%),
    radial-gradient(34% 38% at 94% 84%, rgba(255, 255, 255, .9), transparent 72%),
    linear-gradient(180deg, #E3F5FA 0%, #EDF9FC 50%, #E3F5FA 100%);
}
.wave { position: absolute; left: 0; z-index: -1; display: block; width: 100%; max-width: none; height: calc(var(--wave-h) + 1px); pointer-events: none; }
.wave--top { top: -1px; }
.wave--bottom { bottom: -1px; rotate: 180deg; }
.wave__cover { fill: var(--cream); }
.wave__band { fill: var(--sky); opacity: .34; }
.wave__line { fill: none; stroke: #fff; stroke-width: 1.6; opacity: .95; vector-effect: non-scaling-stroke; }
/* simetría en espejo: una sale de la pared izquierda y otra de la derecha */
.deco--rama-dist-a { --breeze-delay: -2.6s; left: calc(var(--rama-w) * -.1); top: calc(var(--wave-h) * .5); width: var(--rama-w); scale: -1 1; }
.deco--rama-dist-b { --breeze-delay: -5.1s; right: calc(var(--rama-w) * -.1); bottom: calc(var(--wave-h) * .5); width: var(--rama-w); }

@media (max-width: 640px) {
  .hero > .deco--ola-sup { width: 78vw; opacity: .75; }
  .deco--ola-pie { width: 92vw; }
  .dist.has-deco { --wave-h: 46px; --rama-w: 86px; }
  .deco--rama-dist-a { top: 20px; }
  .deco--rama-dist-b { bottom: 20px; }
}

/* =========================================================
   RECOMENDADOR · "¿Qué café necesita su negocio?"
   ========================================================= */
.reco {
  background:
    radial-gradient(60% 46% at 50% 0%, var(--sky-mist), transparent 72%),
    var(--paper);
}
.reco__head { max-width: 760px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.reco__head .h2 { margin-bottom: 1rem; }
.reco__head .lead { margin-inline: auto; }
.reco__card {
  position: relative; max-width: 1000px; margin-inline: auto;
  padding: clamp(22px, 3.6vw, 48px);
  border-radius: calc(var(--radius) + 8px);
  background: #fff;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
}
.reco__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: clamp(20px, 3vw, 32px); }
.reco__progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: min(240px, 52%); }
.reco__progress span { position: relative; height: 4px; overflow: hidden; border-radius: 999px; background: var(--sand); }
.reco__progress span::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--sky-ink); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease), background-color .4s;
}
.reco__progress span.is-now::after { transform: scaleX(.45); background: var(--sky); }
.reco__progress span.is-done::after { transform: scaleX(1); }
.reco__count { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: opacity .3s; }
.reco__count span { font-family: var(--ff-display); font-size: 1.15rem; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--sky-ink); }
.reco__card.is-done .reco__count { opacity: 0; }

.reco__stage { position: relative; min-height: 300px; }
.reco__step { display: none; min-width: 0; margin: 0; padding: 0; border: 0; }
.reco__step.is-active { display: block; animation: reco-in .55s var(--ease) both; }
.reco__q {
  padding: 0; margin-bottom: clamp(18px, 2.4vw, 28px);
  font-family: var(--ff-display); font-weight: 380; font-variation-settings: "SOFT" 60;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; letter-spacing: -.015em;
}
.reco__opts { display: grid; gap: 12px; }
.reco__opts--6, .reco__opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.reco__opts--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reco__opt {
  position: relative; display: flex; align-items: center; gap: .9rem;
  min-height: 74px; padding: 1rem 1.1rem;
  border-radius: 18px; text-align: left;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--coffee); font-size: 1rem;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s, transform .3s var(--ease);
}
.reco__opt b { font-weight: 600; }
.reco__opt small { display: block; margin-top: .1rem; font-size: .84rem; line-height: 1.35; color: var(--muted); transition: color .3s; }
.reco__opt:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--espresso), 0 12px 24px -16px rgba(30, 20, 15, .35); }
.reco__opt.is-picked { background: var(--espresso); color: var(--cream); box-shadow: 0 14px 26px -16px rgba(30, 20, 15, .6); }
.reco__opt.is-picked small { color: rgba(246, 241, 233, .66); }
.reco__ico {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sky-mist); color: var(--sky-ink);
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.reco__ico svg { width: 24px; height: 24px; }
.reco__opt:hover .reco__ico { transform: rotate(-8deg) scale(1.06); }
.reco__opt.is-picked .reco__ico { background: rgba(145, 224, 239, .16); color: var(--sky); }
.reco__opt--text { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .5rem; padding: 1.1rem 1.15rem 1.2rem; }
/* medidor de volumen: barras que suben según las tazas */
.reco__cups {
  --bar: linear-gradient(currentColor 0 0);
  --bars: var(--bar) 0 100% / 5px 34% no-repeat, var(--bar) 8px 100% / 5px 56% no-repeat, var(--bar) 16px 100% / 5px 78% no-repeat, var(--bar) 24px 100% / 5px 100% no-repeat;
  position: relative; width: 29px; height: 22px;
  background: var(--bars); color: #E5DACA;
}
.reco__cups::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0;
  width: calc(var(--n) * 8px - 3px); overflow: hidden;
  background: var(--bars); color: var(--sky-ink);
}
.reco__opt.is-picked .reco__cups { color: rgba(246, 241, 233, .2); }
.reco__opt.is-picked .reco__cups::after { color: var(--sky); }
.reco__bean { width: 24px; height: 29px; rotate: 24deg; filter: drop-shadow(0 4px 5px rgba(30, 20, 15, .25)); transition: rotate .5s var(--ease); }
.reco__opt:hover .reco__bean { rotate: -8deg; }

/* resultado */
.reco__result { display: none; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 56px); align-items: center; outline: none; }
.reco__result.is-active { display: grid; animation: reco-in .6s var(--ease) both; }
.reco__visual {
  position: relative; display: grid; place-items: center;
  width: 100%; max-width: 300px; aspect-ratio: 1; margin-inline: auto; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, #fff 0%, var(--sky-mist) 56%, rgba(234, 247, 250, 0) 71%);
}
.reco__hero-bean { position: relative; z-index: 1; width: 40%; height: auto; aspect-ratio: 100 / 120; color: #5C3721; rotate: -18deg; filter: drop-shadow(0 22px 22px rgba(30, 20, 15, .3)); transition: color .6s; }
.reco__halo {
  position: absolute; top: 15%; left: 50%; z-index: 2; width: 32%; aspect-ratio: 4 / 1;
  border: 3px solid var(--sky); border-radius: 50%; translate: -50% 0;
  box-shadow: 0 0 16px rgba(145, 224, 239, .7), inset 0 0 8px rgba(145, 224, 239, .5);
}
.reco__shadow { position: absolute; bottom: 17%; left: 50%; width: 30%; height: 7%; border-radius: 50%; translate: -50% 0; background: radial-gradient(rgba(30, 20, 15, .25), transparent 70%); }
.reco__result.is-active .reco__hero-bean { animation: reco-bean 1s var(--ease) both, reco-float-bean 6s ease-in-out 1s infinite; }
.reco__result.is-active .reco__halo { animation: reco-halo .9s .45s var(--ease) both, reco-float 6s ease-in-out 1.2s infinite; }
.reco__tag {
  display: inline-block; margin-bottom: .9rem; padding: .45rem .8rem; border-radius: 999px;
  font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sky-ink); background: var(--sky-mist);
}
.reco__name {
  display: flex; align-items: center; gap: .9rem;
  font-family: var(--ff-display); font-weight: 340; font-variation-settings: "SOFT" 70;
  font-size: clamp(2.6rem, 5vw, 3.9rem); line-height: 1; letter-spacing: -.03em;
}
.reco__name .tier { gap: 4px; color: #CDAA72; }
.reco__name .tier i { width: 7px; height: 7px; opacity: .25; }
.reco__name .tier i.on { opacity: 1; }
.reco__sub { margin: .55rem 0 1rem; font-family: var(--ff-display); font-style: italic; font-size: 1.25rem; color: var(--sky-ink); }
.reco__why { max-width: 50ch; margin-bottom: 1.4rem; color: var(--muted); }
.reco__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 1.6rem; }
.reco__facts div { padding: .8rem .95rem; border-radius: 16px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.reco__facts dt { margin-bottom: .2rem; font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.reco__facts dd { font-family: var(--ff-display); font-size: 1.15rem; font-weight: 420; }
.reco__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.6rem; }

.reco__foot { display: flex; justify-content: space-between; min-height: 1.5rem; margin-top: clamp(16px, 2.4vw, 26px); }
.reco__back, .reco__restart { display: inline-flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 600; color: var(--muted); transition: color .3s, gap .3s var(--ease); }
.reco__back:hover, .reco__restart:hover { color: var(--espresso); gap: .7rem; }
.reco__back .ico { rotate: 180deg; }
.reco__restart { margin-left: auto; }

@keyframes reco-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes reco-bean { from { opacity: 0; transform: translateY(-70px) rotate(-50deg) scale(.6); } 60% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes reco-halo { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }
@keyframes reco-float { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -7px; } }
@keyframes reco-float-bean { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }

@media (max-width: 980px) {
  .reco__opts--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reco__result { grid-template-columns: 1fr; text-align: center; }
  .reco__visual { max-width: 210px; }
  .reco__name, .reco__ctas { justify-content: center; }
  .reco__why { margin-inline: auto; }
}
@media (max-width: 640px) {
  .reco__opts--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reco__opts--3 { grid-template-columns: 1fr; }
  .reco__opts--3 .reco__opt { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
  .reco__opts--3 .reco__bean { grid-row: span 2; }
  .reco__opt { min-height: 64px; gap: .6rem; padding: .85rem .75rem; font-size: .93rem; }
  .reco__ico { width: 38px; height: 38px; }
  .reco__ico svg { width: 21px; height: 21px; }
  .reco__stage { min-height: 0; }
  .reco__facts { gap: 8px; }
  .reco__facts div { padding: .7rem .6rem; }
  .reco__facts dd { font-size: 1rem; }
  .reco__ctas .btn { width: 100%; }
}

/* =========================================================
   VAPOR sobre la taza (02 Para su negocio)
   Se ubica por JS justo encima del café, en cualquier encuadre
   ========================================================= */
.steam { position: absolute; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.4s ease 1s; }
.market-photo.is-in .steam { opacity: .9; }
.market-photo:hover .steam { opacity: 1; transition-delay: 0s; }
.steam g { transform-origin: 50% 100%; animation: steam-sway 7s ease-in-out infinite; }
.steam__p { stroke-width: 6; stroke-dasharray: 120 360; animation: steam-rise 5s linear infinite; }
.steam__p--2 { stroke-width: 7; animation-duration: 6.2s; animation-delay: -2.1s; }
.steam__p--3 { stroke-width: 5; animation-duration: 4.4s; animation-delay: -3.3s; }
.market-photo:hover .steam__p { animation-duration: 3.4s; }
.market-photo:hover .steam__p--2 { animation-duration: 4.2s; }
@keyframes steam-rise { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -480; } }
@keyframes steam-sway { 0%, 100% { transform: skewX(0deg); } 50% { transform: skewX(-7deg); } }

/* =========================================================
   BOLSA que se llena de granos (09 Arme su pedido)
   ========================================================= */
.bag { --roast-c: #5C3721; --lvl: 70px; flex: none; width: 64px; height: 80px; margin-left: auto; overflow: visible; transform-origin: 50% 100%; }
.bag__body { fill: #fff; stroke: var(--coffee); stroke-width: 1.6; stroke-linejoin: round; }
.bag__lvl { transform: translateY(var(--lvl)); transition: transform 1s cubic-bezier(.3, 1.25, .4, 1); }
.bag__base { fill: var(--roast-c); opacity: .5; transition: fill .6s; }
.bag__beans ellipse { fill: var(--roast-c); stroke: rgba(0, 0, 0, .3); stroke-width: .5; transition: fill .6s; }
.bag__line { fill: none; stroke: var(--coffee); stroke-width: 1; stroke-dasharray: 2 2; opacity: .55; }
.bag__notch { stroke: var(--coffee); stroke-width: 1; stroke-linecap: round; opacity: .5; }
.bag__valve { fill: #fff; stroke: var(--coffee); stroke-width: 1.2; }
.bag__badge { fill: #fff; stroke: var(--sky); stroke-width: 2; }
.bag__halo { fill: none; stroke: var(--sky); stroke-width: 1.4; }
.bag__lb { font: 600 6.2px var(--ff-body); text-anchor: middle; fill: var(--espresso); letter-spacing: .02em; }
.bag__drops ellipse { fill: var(--roast-c); opacity: 0; transform-box: fill-box; transform-origin: center; }
.bag.is-pour .bag__drops ellipse { animation: bag-drop .75s cubic-bezier(.5, 0, .9, .6) both; }
.bag.is-pour .bag__drops ellipse:nth-child(2) { animation-delay: .12s; }
.bag.is-pour .bag__drops ellipse:nth-child(3) { animation-delay: .24s; }
.bag.is-pour { animation: bag-bump .6s .5s var(--ease); }
@keyframes bag-drop { 0% { opacity: 0; transform: translateY(-16px) rotate(0deg); } 20% { opacity: 1; } 100% { opacity: 0; transform: translateY(var(--drop, 60px)) rotate(170deg); } }
@keyframes bag-bump { 30% { transform: scale(1.06, .94); } 60% { transform: scale(.98, 1.03); } 100% { transform: none; } }
@media (max-width: 640px) {
  .calc__result p { order: 3; flex-basis: 100%; }
  .bag { width: 56px; height: 70px; }
}

/* =========================================================
   PISTAS DE INTERACCIÓN ("Haga clic…")
   ========================================================= */
.roast__control, .days, .builder { position: relative; }
.nudge {
  position: absolute; z-index: 6;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .3rem .95rem .3rem .3rem;
  border-radius: 999px;
  background: var(--espresso); color: var(--cream);
  font-family: var(--ff-body); font-size: .78rem; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  white-space: nowrap;
  box-shadow: 0 14px 30px -14px rgba(30, 20, 15, .7), inset 0 0 0 1px rgba(246, 241, 233, .08);
  pointer-events: none;
  opacity: 0; translate: 0 8px; scale: .94;
  transition: opacity .5s var(--ease), translate .6s var(--ease), scale .6s var(--ease);
}
.nudge.is-shown { opacity: 1; translate: 0 0; scale: 1; animation: nudge-float 3.2s ease-in-out .6s infinite; }
.nudge.is-done { opacity: 0; scale: .9; translate: 0 0; animation: none; transition-duration: .35s; }
/* flecha que señala el control */
.nudge::before {
  content: ""; position: absolute; z-index: -1; width: 9px; height: 9px;
  background: inherit; border-radius: 2px; rotate: 45deg;
}
.nudge__ico {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--sky); color: var(--espresso);
}
.nudge__ico svg { width: 14px; height: 14px; animation: nudge-tap 2s var(--ease) infinite; }
.nudge__ico::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 1.5px solid var(--sky); opacity: 0;
  animation: nudge-ring 2s var(--ease) infinite;
}
@keyframes nudge-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -3px; } }
@keyframes nudge-tap { 0%, 60%, 100% { transform: none; } 22% { transform: translate(-1px, 1px) scale(.82); } }
@keyframes nudge-ring { 0%, 18% { transform: scale(.75); opacity: 0; } 24% { opacity: .9; } 70%, 100% { transform: scale(1.45); opacity: 0; } }

/* versión clara para fondos oscuros (Tostión) */
.nudge--light { background: var(--cream); color: var(--espresso); box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .7); }

/* Calidades: a la derecha del selector, señalándolo */
.nudge--tabs { left: calc(100% + 16px); top: 50%; transform: translateY(-50%); }
.nudge--tabs::before { left: -4px; top: calc(50% - 4.5px); }
/* Tostión: sobre la barra */
.nudge--roast { left: 50%; bottom: calc(100% + 14px); transform: translateX(-50%); }
.nudge--roast::before { left: calc(50% - 4.5px); bottom: -4px; }
/* Empaque: esquina inferior de la foto, junto a los puntos */
.nudge--pack { left: 22px; bottom: 22px; }
.nudge--pack::before { display: none; }
/* Distribución: bajo los días; la frase de respuesta aparece al elegir */
.nudge--days { left: 50%; top: calc(100% + 10px); transform: translateX(-50%); }
.nudge--days::before { left: calc(50% - 4.5px); top: -4px; }
.dist__answer { transition: opacity .4s var(--ease); }
.dist__days.nudge-on .dist__answer { opacity: 0; }
/* Pedido: etiqueta sobre el borde superior de la tarjeta */
.nudge--builder { right: clamp(20px, 3vw, 40px); top: 0; transform: translateY(-50%); }
.nudge--builder::before { left: calc(50% - 4.5px); bottom: -4px; }

@media (max-width: 1000px) {
  .quality .tabs { margin-top: 12px; }
  .nudge--tabs { left: 50%; top: auto; bottom: calc(100% + 10px); transform: translateX(-50%); }
  .nudge--tabs::before { left: calc(50% - 4.5px); top: auto; bottom: -4px; }
}
@media (max-width: 640px) {
  .nudge--pack { left: 14px; bottom: 14px; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .reveal-img img { clip-path: none; scale: 1; }
  .wi { transform: none; }
  .js .deco--rama .deco__grow { opacity: 1; transform: none; }
  .steam { display: none; }
  .marquee__track { animation: none; }
  .halo-word__ring ellipse { stroke-dashoffset: 0; }
}
