/* ==========================================================
   Cafés de Origen — sistema de diseño
   Marfil · Café · Cereza · Bosque · Espresso
   ========================================================== */
:root {
  --ivory: #FDFAF4;
  --parch: #F0E8DA;
  --parch-2: #E7DCC9;
  --coffee: #673C11;
  --ink: #2A1707;
  --cherry: #AC2329;
  --cherry-d: #8C1A20;
  --forest: #19492E;
  --espresso: #110800;
  --yellow: #ECDD12;
  --blue: #159EDC;
  /* bandera oficial de Colombia (amarillo · azul · rojo) */
  --flag-y: #FCD116;
  --flag-b: #003893;
  --flag-r: #CE1126;
  --line: rgba(103, 60, 17, .16);
  --line-2: rgba(103, 60, 17, .28);
  --serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --gutter: clamp(20px, 4.2vw, 64px);
  --max: 1400px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr: 76px;
  --badge-bg: var(--ivory);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 24px); }
body {
  margin: 0; background: var(--ivory); color: var(--coffee);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before { /* grano de papel */
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 200; opacity: .35; mix-blend-mode: multiply;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .4 0 0 0 0 .24 0 0 0 0 .07 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.9rem, 7vw, 6.6rem); letter-spacing: -.025em; }
h2 { font-size: clamp(2.3rem, 4.6vw, 4.3rem); letter-spacing: -.02em; }
h3 { font-size: clamp(1.5rem, 2.2vw, 2rem); }
h1 em, h2 em, h3 em, .it { font-style: italic; font-weight: 500; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--cherry); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--cherry); color: var(--ivory); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--ivory); padding: 10px 16px; z-index: 999; transition: top .2s; }
.skip:focus { top: 12px; }
.ic { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 10vw, 152px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }
.section--parch { background: var(--parch); }
.section--dark { background: var(--espresso); color: var(--ivory); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--ivory); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--coffee); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.section--dark .eyebrow { color: rgba(253, 250, 244, .78); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55; max-width: 58ch; }
.muted { opacity: .72; }
.tri { display: inline-flex; height: 4px; width: 54px; vertical-align: middle; }
.tri i { flex: 1; } .tri i:nth-child(1) { background: var(--flag-y); } .tri i:nth-child(2) { background: var(--flag-b); } .tri i:nth-child(3) { background: var(--flag-r); }

/* ---------- botones ---------- */
.btn { --bg: var(--cherry); --fg: var(--ivory); display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 17px 30px; background: var(--bg); color: var(--fg); border: 1px solid var(--bg); border-radius: 2px; font: 600 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .25s, box-shadow .35s var(--ease), color .25s; }
.btn:hover { background: var(--cherry-d); border-color: var(--cherry-d); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(172, 35, 41, .55); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--coffee); border-color: var(--coffee); }
.btn--ghost:hover { background: var(--coffee); border-color: var(--coffee); color: var(--ivory); box-shadow: none; }
.section--dark .btn--ghost, .btn--ghost.on-dark { --fg: var(--ivory); border-color: rgba(253, 250, 244, .55); }
.section--dark .btn--ghost:hover, .btn--ghost.on-dark:hover { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.btn--sm { padding: 12px 18px; font-size: .7rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: gap .3s var(--ease), border-color .3s; }
.link-arrow:hover { gap: 16px; border-color: var(--cherry); }

/* ---------- etiquetas ---------- */
.tag { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--coffee); background: transparent; white-space: nowrap; }
.tag--region { color: var(--forest); border-color: rgba(25, 73, 46, .45); }
.tag--sca { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.tag--flag { border: 0; padding: 0; height: 4px; width: 42px; background: linear-gradient(90deg, var(--flag-y) 50%, var(--flag-b) 50% 75%, var(--flag-r) 75%); border-radius: 0; }

/* ---------- anuncio + header ---------- */
.announce { background: var(--cherry); color: var(--ivory); font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; overflow: hidden; white-space: nowrap; position: relative; z-index: 60; }
.announce__track { display: inline-flex; gap: 0; padding: 10px 0; animation: marq 46s linear infinite; }
.announce__track span { padding: 0 34px; display: inline-flex; align-items: center; gap: 34px; }
.announce__track span::after { content: '✦'; opacity: .6; }
@keyframes marq { to { transform: translateX(-50%); } }
.announce:hover .announce__track { animation-play-state: paused; }

.hdr { position: sticky; top: 0; z-index: 70; height: var(--hdr); transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.hdr.is-stuck { background: rgba(253, 250, 244, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; flex-direction: column; gap: 7px; text-decoration: none; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.brand__name em { font-weight: 500; }
.brand__logo { display: block; height: 46px; width: auto; }
@media (max-width: 520px) { .brand__logo { height: 38px; } }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 36px); }
.nav a { position: relative; font-size: .76rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; text-decoration: none; padding: 8px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--cherry); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.hdr__act { display: flex; align-items: center; gap: 10px; }
.iconbtn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--coffee); cursor: pointer; transition: background .25s, color .25s, transform .3s var(--ease); }
.iconbtn:hover { background: var(--coffee); color: var(--ivory); transform: translateY(-1px); }
.iconbtn .ic { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -5px; right: -5px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--cherry); color: var(--ivory); font-size: .68rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.on { transform: scale(1); }
.burger { display: none; }
@media (max-width: 1280px) {
  .nav { position: fixed; inset: 0; top: 0; background: var(--ivory); flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; padding: 100px var(--gutter) 40px; transform: translateY(-101%); transition: transform .5s var(--ease); z-index: 65; visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-family: var(--serif); font-size: clamp(2.2rem, 9vw, 3.4rem); font-weight: 500; letter-spacing: -.01em; text-transform: none; }
  .burger { display: inline-grid; position: relative; z-index: 70; }
  .hdr__act { position: relative; z-index: 70; }
}

/* ---------- hero ---------- */
.hero { position: relative; margin-top: calc(var(--hdr) * -1); padding-top: calc(var(--hdr) + clamp(30px, 6vw, 90px)); padding-bottom: clamp(60px, 8vw, 120px); min-height: min(100svh, 980px); display: flex; align-items: center; overflow: clip; }
.hero__topo { position: absolute; inset: -6% -4%; background: url('../img/topo-a.svg') center/cover no-repeat; opacity: .34; transform: translate3d(0, calc(var(--py, 0) * 1px), 0); pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); animation: drift 60s ease-in-out infinite alternate; }
@keyframes drift { from { background-position: 48% 50%; } to { background-position: 54% 46%; } }
.hero > .wrap { width: 100%; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(3.5rem, 9.4vw, 9.4rem); line-height: .8; letter-spacing: -.035em; margin-bottom: .3em; }
.hero h1 .hl { display: block; overflow: hidden; padding: .06em 0 .2em; margin-bottom: -.12em; }
.hero h1 .hl > span { display: block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.hero h1 .hl:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .hl:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero__sub { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 46ch; margin-bottom: 34px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero__facts { display: flex; gap: 18px clamp(18px, 2.4vw, 36px); margin-top: clamp(34px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line-2); flex-wrap: wrap; }
.fact b { display: block; font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 3.2rem); font-weight: 600; color: var(--ink); line-height: 1; }
.fact span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .75; }
.stage { position: relative; aspect-ratio: 1 / 1.08; width: 100%; max-width: 620px; margin-left: auto; }
.stage__sun { position: absolute; inset: 6% 2% 10% 2%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F9E9C7, var(--parch-2) 62%, #DCCBAE); box-shadow: inset 0 0 0 1px var(--line); }
.stage__sun::after { content: ''; position: absolute; inset: 14%; border-radius: 50%; border: 1px dashed var(--line-2); }
.stage .bag { position: absolute; width: 46%; filter: drop-shadow(0 26px 30px rgba(17, 8, 0, .22)); transition: transform .8s var(--ease); }
.stage .bag:nth-of-type(1) { left: 2%; bottom: 8%; transform: rotate(-9deg); z-index: 2; }
.stage .bag:nth-of-type(2) { left: 27%; bottom: 20%; z-index: 3; width: 50%; animation: float 7s ease-in-out infinite; }
.stage .bag:nth-of-type(3) { right: 0; bottom: 6%; transform: rotate(8deg); z-index: 2; }
.stage:hover .bag:nth-of-type(1) { transform: rotate(-13deg) translateX(-4%); }
.stage:hover .bag:nth-of-type(3) { transform: rotate(12deg) translateX(4%); }
@keyframes float { 50% { transform: translateY(-14px); } }
.badge { position: absolute; top: -2%; right: 4%; width: clamp(120px, 13vw, 176px); aspect-ratio: 1; z-index: 5; color: var(--coffee); background: var(--ivory); border-radius: 50%; box-shadow: 0 0 0 1px var(--line-2); }
.badge__ring { width: 100%; height: 100%; animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.scrollcue { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 12px; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.scrollcue i { width: 1px; height: 44px; background: var(--coffee); transform-origin: top; animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 900px) { .hero__grid { grid-template-columns: 1fr; } .stage { max-width: 440px; margin: 10px auto 0; } .scrollcue { display: none; } .hero { min-height: 0; } }

/* ---------- marquee de varietales ---------- */
.marq { background: var(--espresso); color: var(--ivory); overflow: hidden; white-space: nowrap; padding: 22px 0; }
.marq__track { display: inline-flex; animation: marq 52s linear infinite; }
.marq__track span { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3.4vw, 3rem); padding: 0 26px; display: inline-flex; align-items: center; gap: 52px; }
.marq__track span::after { content: '✦'; font-style: normal; font-size: .5em; color: var(--yellow); }

/* ---------- manifiesto ---------- */
.manifesto { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 4.6rem); line-height: 1.08; letter-spacing: -.02em; color: var(--ink); max-width: 26ch; }
.manifesto--wide { max-width: 26ch; }
.manifesto .w { opacity: .16; transition: opacity .5s; }
.manifesto .w.on { opacity: 1; }
.manifesto em { color: var(--cherry); }
.no-js .manifesto .w { opacity: 1; }

/* ---------- mosaico de categorías ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { position: relative; grid-column: span 2; min-height: 260px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; background: var(--parch); border-radius: 4px; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), background .4s, color .4s; }
.tile:nth-child(1), .tile:nth-child(4) { grid-column: span 4; }
.tile:nth-child(5), .tile:nth-child(6) { grid-column: span 3; }
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--tile-bg, none) center/cover; opacity: .22; transition: opacity .5s, transform 1.2s var(--ease); }
.tile:hover { background: var(--espresso); color: var(--ivory); transform: translateY(-4px); }
.tile:hover::before { opacity: .4; transform: scale(1.06); filter: invert(1) hue-rotate(180deg); }
.tile:hover h3 { color: var(--ivory); }
.tile__n { font-family: var(--serif); font-size: 1rem; font-style: italic; opacity: .7; }
.tile h3 { font-size: clamp(1.8rem, 2.8vw, 2.7rem); margin: 0; }
.tile p { margin: 8px 0 0; font-size: .92rem; max-width: 32ch; opacity: .8; }
.tile .go { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; opacity: .7; transition: transform .4s var(--ease), background .3s, color .3s; }
.tile:hover .go { transform: rotate(-45deg); background: var(--cherry); border-color: var(--cherry); color: var(--ivory); opacity: 1; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } .tile, .tile:nth-child(n) { grid-column: span 1; min-height: 210px; padding: 20px; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } .tile:nth-child(n) { min-height: 170px; } }

/* ---------- cabeceras de sección ---------- */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: clamp(32px, 5vw, 64px); flex-wrap: wrap; }
.shead > div { min-width: 0; flex: 1 1 340px; }
.shead h2 { margin: 0; max-width: 16ch; }
.shead p { margin: 0; max-width: 46ch; }

/* ---------- producto: tarjeta ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
@media (max-width: 1180px) { .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 820px) { .pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-6px); box-shadow: 0 28px 44px -26px rgba(17, 8, 0, .4); border-color: var(--line-2); }
.pcard[hidden] { display: none; }
.pcard__art { position: relative; display: block; aspect-ratio: 1 / 1.08; padding: 8% 14% 4%; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--hue, #B4532A) 20%, var(--parch)) 0, var(--parch) 66%); }
.pcard__art .bag { display: block; width: 100%; height: 100%; transition: transform .7s var(--ease); filter: drop-shadow(0 16px 16px rgba(17, 8, 0, .18)); }
.pcard:hover .pcard__art .bag { transform: translateY(-6px) rotate(-2.5deg) scale(1.03); }
.pcard__badges { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 18px 20px; flex: 1; }
.pcard__brand { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.pcard h3 { font-size: clamp(1.4rem, 1.9vw, 1.75rem); margin: 0; line-height: 1.05; }
.pcard h3 a { text-decoration: none; }
.pcard h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard__meta { margin: 0; font-size: .86rem; opacity: .78; }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1; white-space: nowrap; }
.price small { font-family: var(--sans); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; opacity: .65; margin-right: 6px; }
.pcard__foot .btn { position: relative; z-index: 2; }
.pcard__foot .btn .ic { display: none; }
.pcard__foot .btn { flex-shrink: 0; }
.pcard__foot .price { min-width: 0; line-height: 1.05; }
.pcard__foot .price small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 2px; }
@media (max-width: 520px) { .pcard__body { padding: 14px; } .pcard__foot { flex-direction: column; align-items: stretch; } .pcard__foot .price { text-align: left; } }

/* ---------- productores ---------- */
.brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1100px) { .brands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .brands { grid-template-columns: 1fr; } }
.bcard { position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 26px; border-radius: 4px; background: var(--parch); text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .5s var(--ease), background .35s, color .35s; }
.bcard:hover { transform: translateY(-5px); background: var(--espresso); color: var(--ivory); }
.bcard__mono { position: absolute; right: -14px; top: -34px; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: 13rem; line-height: 1; color: var(--hue, #B4532A); opacity: .2; z-index: -1; transition: transform .8s var(--ease), opacity .4s; }
.bcard:hover .bcard__mono { transform: translate(-8px, 10px) rotate(-4deg); opacity: .5; }
.bcard .tag--region { background: var(--ivory); }
.bcard:hover .tag--region { background: transparent; color: var(--ivory); border-color: rgba(253, 250, 244, .5); }
.bcard h3 { margin: auto 0 10px; font-size: clamp(1.8rem, 2.4vw, 2.4rem); }
.bcard:hover h3 { color: var(--ivory); }
.bcard p { font-size: .9rem; margin: 0 0 14px; opacity: .85; }
.bcard__n { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }

/* ---------- gráfico de altitud + regiones ---------- */
.regions { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 960px) { .regions { grid-template-columns: 1fr; } }
.altchart { width: 100%; height: auto; color: var(--coffee); overflow: visible; }
.alt-row { cursor: pointer; outline: none; transition: opacity .3s, transform .4s var(--ease); }
.altchart:has(.alt-row.on) .alt-row:not(.on) { opacity: .35; }
.alt-row.on { transform: translateX(6px); }
.alt-row:focus-visible text:first-child { text-decoration: underline; }
.rpanel { position: relative; min-height: 360px; padding: clamp(24px, 3vw, 44px); background: var(--ivory); border: 1px solid var(--line-2); border-radius: 4px; }
.rpanel h3 { font-size: clamp(2.4rem, 4vw, 3.8rem); margin-bottom: 4px; }
.rpanel .sub { font-family: var(--serif); font-style: italic; font-size: 1.4rem; margin-bottom: 20px; }
.rpanel [data-rp] { display: none; }
.rpanel [data-rp].on { display: block; animation: fadeup .6s var(--ease); }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }

/* ---------- buscador de café (quiz) ---------- */
.quiz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
@media (max-width: 960px) { .quiz { grid-template-columns: 1fr; } }
.quiz__card { background: var(--ivory); border: 1px solid var(--line-2); border-radius: 4px; padding: clamp(22px, 3vw, 40px); position: relative; overflow: hidden; }
.quiz__bar { height: 3px; background: var(--line); margin-bottom: 26px; }
.quiz__bar i { display: block; height: 100%; width: 0; background: var(--cherry); transition: width .5s var(--ease); }
.quiz__step { display: none; }
.quiz__step.on { display: block; animation: fadeup .5s var(--ease); }
.quiz__q { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.5rem); line-height: 1.05; color: var(--ink); margin: 0 0 8px; }
.quiz__hint { font-size: .9rem; opacity: .75; margin-bottom: 22px; }
.opts { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .86rem; transition: background .25s, color .25s, border-color .25s, transform .3s var(--ease); cursor: pointer; background: var(--ivory); }
.opt:hover span { border-color: var(--coffee); transform: translateY(-1px); }
.opt input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--cherry); outline-offset: 3px; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.quiz__result { display: none; }
.quiz__result.on { display: block; animation: fadeup .6s var(--ease); }
.qres { display: grid; gap: 12px; margin: 20px 0; }
.qrow { display: grid; grid-template-columns: 78px 1fr auto; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: var(--parch); text-decoration: none; transition: transform .35s var(--ease), border-color .3s; }
.qrow:hover { transform: translateX(4px); border-color: var(--coffee); }
.qrow .bag, .qrow .line__img { width: 70px; height: 78px; }
.qrow b { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--ink); line-height: 1.05; display: block; }
.qrow small { display: block; font-size: .78rem; opacity: .75; }
.qrow .match { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); }

/* ---------- proceso (oscuro) ---------- */
.process { position: relative; overflow: hidden; }
.process__topo { position: absolute; inset: 0; background: url('../img/topo-b.svg') center/cover; opacity: .16; pointer-events: none; }
.steps { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 26vw); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); padding: 8px var(--gutter) 30px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: thin; scrollbar-color: var(--cherry) transparent; }
.step { scroll-snap-align: start; position: relative; padding: 30px 26px 32px; border: 1px solid rgba(253, 250, 244, .18); border-radius: 4px; min-height: 340px; display: flex; flex-direction: column; background: rgba(253, 250, 244, .03); transition: background .4s, transform .5s var(--ease), border-color .3s; }
@media (min-width: 1100px) { .steps { grid-auto-columns: 1fr; overflow: visible; margin: 0; padding: 8px 0 30px; } }
.step:hover { background: rgba(253, 250, 244, .08); transform: translateY(-5px); border-color: rgba(253, 250, 244, .4); }
.step__n { font-family: var(--serif); font-style: italic; font-size: 5.6rem; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(253, 250, 244, .55); margin-bottom: 22px; }
.step h3 { margin: 26px 0 8px; font-size: 1.9rem; }
.step p { margin: 0; font-size: .95rem; opacity: .82; }
.step .ic { width: 28px; height: 28px; color: var(--yellow); margin-bottom: 8px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(40px, 6vw, 80px); padding-top: 34px; border-top: 1px solid rgba(253, 250, 244, .2); }
@media (max-width: 780px) { .stats { grid-template-columns: 1fr 1fr; } }
.stats b { display: block; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 500; line-height: 1; color: var(--ivory); }
.stats span { font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

/* ---------- experiencia ---------- */
.xp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .xp { grid-template-columns: 1fr; } }
.xp__art { position: relative; aspect-ratio: 4 / 4.4; border-radius: 4px; overflow: hidden; background: var(--espresso); isolation: isolate; }
.xp__art::before { content: ''; position: absolute; inset: 0; background: url('../img/topo-b.svg') center/cover; opacity: .5; z-index: -1; animation: drift 40s ease-in-out infinite alternate; }
.cups { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: clamp(10px, 2vw, 22px); padding: clamp(24px, 6%, 56px); }
.cup { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ivory); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; text-align: center; }
.cup i { display: block; width: min(100%, 130px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 50%, var(--c, #6b3a12) 0 34%, #f6efe2 35% 44%, #d9cdb8 45% 47%, #f6efe2 48%); box-shadow: 0 16px 24px -10px rgba(0, 0, 0, .6); transition: transform .6s var(--ease); }
.xp__art:hover .cup i { transform: scale(1.06) rotate(6deg); }
.xp__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 6px; }
.xp__price b { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.6rem); font-weight: 500; color: var(--ink); line-height: 1; }
.checks { display: grid; gap: 12px; margin: 26px 0 30px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks .ic { color: var(--forest); margin-top: 3px; }
.section--dark .checks .ic { color: var(--yellow); }

/* ---------- guía / blog ---------- */
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .gcards { grid-template-columns: 1fr; } }
.gcard { display: flex; flex-direction: column; padding: 28px; border-top: 1px solid var(--coffee); text-decoration: none; min-height: 250px; transition: background .35s, padding .4s var(--ease); }
.gcard:hover { background: var(--parch); padding-left: 36px; }
.gcard__meta { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-bottom: 18px; }
.gcard h3 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin-bottom: 12px; }
.gcard p { font-size: .95rem; opacity: .85; }
.gcard .link-arrow { margin-top: auto; align-self: flex-start; }
.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.75; }
.prose h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.6rem; margin: 1.4em 0 .4em; }
.prose ul { list-style: none; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 26px; }
.prose li::before { content: ''; position: absolute; left: 0; top: .7em; width: 12px; height: 1px; background: var(--cherry); }
.prose a { color: var(--cherry); font-weight: 500; }
.prose strong { color: var(--ink); }
.faq details { border-top: 1px solid var(--line-2); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.6rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 20px; align-items: center; line-height: 1.1; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: var(--sans); font-size: 1.6rem; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; max-width: 62ch; }

/* ---------- sedes ---------- */
.sedes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sede__hours { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; margin: 0 0 14px; }
.sede__hours .ic { width: 18px; height: 18px; color: var(--coffee); }
@media (max-width: 760px) { .sedes { grid-template-columns: 1fr; } }
.sede { position: relative; display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 34px); border: 1px solid var(--line-2); border-radius: 4px; background: var(--ivory); overflow: hidden; isolation: isolate; scroll-margin-top: 110px; }
.sede::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../img/topo-a.svg') center/cover; opacity: .18; transition: opacity .5s, transform 1.4s var(--ease); }
.sede:hover::before { opacity: .34; transform: scale(1.06); }
.sede h3 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 18px 0 14px; }
.sede .host { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin: -10px 0 14px; }
.sede ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 24px; }
.sede .btn { margin-top: auto; align-self: flex-start; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill--open { color: var(--forest); background: rgba(25, 73, 46, .1); }
.pill--guest { color: var(--coffee); background: var(--parch-2); }

/* ---------- CTA WhatsApp + newsletter ---------- */
.cta { background: var(--espresso); color: var(--ivory); position: relative; overflow: hidden; isolation: isolate; }
.cta::before { content: ''; position: absolute; inset: 0; background: url('../img/topo-b.svg') center/cover; opacity: .2; z-index: -1; }
.cta__in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
@media (max-width: 860px) { .cta__in { grid-template-columns: 1fr; } }
.cta .eyebrow { color: rgba(253, 250, 244, .78); }
.cta h2 { color: var(--ivory); font-size: clamp(2.8rem, 7vw, 6.4rem); line-height: .92; margin: 0; }
.cta h2 em { color: var(--yellow); }
.cta__side p { opacity: .85; max-width: 40ch; }
.cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- footer ---------- */
.ftr { background: var(--espresso); color: rgba(253, 250, 244, .82); padding: clamp(56px, 7vw, 100px) 0 28px; border-top: 1px solid rgba(253, 250, 244, .12); position: relative; z-index: 2; }
.ftr__grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: clamp(28px, 4vw, 64px); }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } .ftr__grid > :first-child { grid-column: 1 / -1; } }
.ftr .brand__logo { height: 72px; }
.ftr h4 { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ivory); margin: 0 0 18px; }
.ftr li { margin-bottom: 9px; }
.ftr a { text-decoration: none; opacity: .85; transition: opacity .2s, color .2s; }
.ftr a:hover { opacity: 1; color: var(--yellow); }
.ftr__about { max-width: 38ch; margin: 18px 0 22px; font-size: .95rem; }
.social { display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(253, 250, 244, .3); border-radius: 50%; }
.social a:hover { background: var(--ivory); color: var(--espresso); border-color: var(--ivory); }
.ftr__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(253, 250, 244, .14); font-size: .8rem; opacity: .75; }
.ftr__flag { display: flex; height: 6px; margin-bottom: 56px; }
.ftr__flag i:nth-child(1) { flex: 2; background: var(--flag-y); } .ftr__flag i:nth-child(2) { flex: 1; background: var(--flag-b); } .ftr__flag i:nth-child(3) { flex: 1; background: var(--flag-r); }

/* ---------- migas + cabecera de página ---------- */
.phead { padding: clamp(40px, 7vw, 100px) 0 clamp(28px, 4vw, 56px); position: relative; overflow: hidden; isolation: isolate; }
.phead__topo { position: absolute; inset: -10% -5%; z-index: -1; background: var(--topo, url('../img/topo-a.svg')) center/cover; opacity: .4; -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.crumbs { font-size: .78rem; letter-spacing: .08em; margin-bottom: 30px; opacity: .8; }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 8px; opacity: .5; }
.phead h1 { font-size: clamp(3rem, 8vw, 7.4rem); margin-bottom: 20px; max-width: 14ch; line-height: .9; }
.phead .lead { margin: 0; }

/* ---------- tienda ---------- */
.shop { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
@media (max-width: 980px) { .shop { grid-template-columns: 1fr; } }
.filters { position: sticky; top: calc(var(--hdr) + 16px); max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; padding-right: 10px; scrollbar-width: thin; }
@media (max-width: 980px) { .filters { position: static; max-height: none; overflow: visible; padding: 0; } .filters__body { display: none; } .filters.open .filters__body { display: block; } }
.filters__toggle { display: none; }
@media (max-width: 980px) { .filters__toggle { display: flex; width: 100%; } }
.fgroup { border-top: 1px solid var(--line-2); padding: 16px 0; }
.fgroup summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; transition: transform .3s; }
.fgroup[open] summary::after { transform: rotate(45deg); }
.fgroup ul { margin-top: 14px; display: grid; gap: 4px; }
.fcheck { display: flex; align-items: center; gap: 10px; font-size: .92rem; cursor: pointer; padding: 5px 0; }
.fcheck input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; border: 1px solid var(--coffee); border-radius: 2px; display: grid; place-items: center; flex: none; cursor: pointer; transition: background .2s; }
.fcheck input:checked { background: var(--cherry); border-color: var(--cherry); }
.fcheck input:checked::after { content: ''; width: 5px; height: 9px; border: solid var(--ivory); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.fcheck em { margin-left: auto; font-style: normal; font-size: .76rem; opacity: .55; }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.shop__bar .count { font-size: .9rem; }
.field { font: 500 .9rem var(--sans); color: var(--coffee); background: var(--ivory); border: 1px solid var(--line-2); border-radius: 2px; padding: 12px 14px; min-height: 44px; }
.field:focus { outline: 2px solid var(--cherry); outline-offset: 1px; }
.search { position: relative; flex: 1; min-width: 200px; max-width: 360px; }
.search .field { width: 100%; padding-left: 40px; }
.search .ic { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); opacity: .6; pointer-events: none; }
.empty { display: none; text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: 4px; }
.empty.on { display: block; }
.activef { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.activef button { font: 600 .74rem var(--sans); letter-spacing: .06em; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--coffee); background: transparent; color: var(--coffee); cursor: pointer; }
.activef button::after { content: ' ×'; }
.activef button:hover { background: var(--coffee); color: var(--ivory); }

/* ---------- ficha de producto ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: start; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.pdp__art { position: sticky; top: calc(var(--hdr) + 20px); aspect-ratio: 1 / 1.02; border-radius: 4px; padding: 6% 22% 4%; background: radial-gradient(circle at 50% 44%, color-mix(in srgb, var(--hue, #B4532A) 26%, var(--parch)) 0, var(--parch) 68%); overflow: hidden; isolation: isolate; }
@media (max-width: 900px) { .pdp__art { position: relative; top: 0; padding: 6% 24% 4%; } }
.pdp__art::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('../img/topo-a.svg') center/cover; opacity: .35; }
.pdp__art .bag { width: 100%; height: 100%; filter: drop-shadow(0 30px 30px rgba(17, 8, 0, .25)); animation: float 8s ease-in-out infinite; }
.pdp h1 { font-size: clamp(2.8rem, 5.4vw, 5rem); margin-bottom: 10px; }
.pdp__brand { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pdp__brand a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.pdp__price { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--ink); margin: 22px 0 6px; line-height: 1; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; padding: 12px 18px; min-width: 64px; justify-content: center; border: 1px solid var(--line-2); border-radius: 2px; font-weight: 600; font-size: .86rem; background: var(--ivory); cursor: pointer; transition: all .25s; }
.seg input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.seg input:focus-visible + span { outline: 2px solid var(--cherry); outline-offset: 2px; }
.lbl { font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; display: block; }
.buyrow { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; margin: 6px 0 16px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 2px; background: var(--ivory); }
.qty button { width: 44px; height: 52px; background: none; border: 0; cursor: pointer; color: var(--coffee); display: grid; place-items: center; }
.qty button:hover { background: var(--parch); }
.qty output { min-width: 34px; text-align: center; font-weight: 700; }
.buyrow .btn { flex: 1; min-width: 200px; }
.specs { display: grid; grid-template-columns: 1fr 1fr; margin: 30px 0; border-top: 1px solid var(--line-2); }
.specs div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs dt { font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .65; }
.specs dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.acc details { border-top: 1px solid var(--line-2); padding: 16px 0; }
.acc details:last-child { border-bottom: 1px solid var(--line-2); }
.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: '+'; font-size: 1.2rem; font-weight: 400; }
.acc details[open] summary::after { content: '–'; }
.acc details > div { padding-top: 12px; font-size: .96rem; }

/* ---------- calculadora ---------- */
.calc { border: 1px solid var(--line-2); border-radius: 4px; padding: clamp(22px, 3vw, 40px); background: var(--parch); margin: 40px 0; max-width: 900px; }
.calc h3 { margin-top: 0; }
.calc__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; margin: 22px 0; }
.calc label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.calc .field { width: 100%; }
.calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
.calc__out div { background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; padding: 16px; }
.calc__out b { display: block; font-family: var(--serif); font-size: 2.3rem; color: var(--ink); line-height: 1; font-weight: 600; }
.calc__out span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .7; }
.calc__note { margin: 18px 0 0; font-size: .92rem; }

/* ---------- rueda de sabores ---------- */
.wheelwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
@media (max-width: 900px) { .wheelwrap { grid-template-columns: 1fr; } }
.wheel { width: 100%; max-width: 560px; margin: 0 auto; display: block; }
.wheel-fam { cursor: pointer; outline: none; transition: opacity .3s, transform .4s var(--ease); transform-origin: 250px 250px; }
.wheel:has(.wheel-fam.on) .wheel-fam:not(.on) { opacity: .35; }
.wheel-fam.on { transform: scale(1.03); }
.wheel-fam:hover { transform: scale(1.02); }

/* ---------- carrito ---------- */
.overlay { position: fixed; inset: 0; background: rgba(17, 8, 0, .5); opacity: 0; pointer-events: none; transition: opacity .4s; z-index: 90; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--ivory); z-index: 95; display: flex; flex-direction: column; transform: translateX(102%); transition: transform .5s var(--ease); box-shadow: -30px 0 60px -30px rgba(17, 8, 0, .5); visibility: hidden; }
.drawer.on { transform: none; visibility: visible; }
.drawer__hd { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line-2); }
.drawer__hd h2 { font-size: 2rem; margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__ft { padding: 20px 24px 24px; border-top: 1px solid var(--line-2); background: var(--parch); }
.line { display: grid; grid-template-columns: 64px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line .bag { width: 64px; height: 70px; }
.line h4 { font-size: 1.35rem; margin: 0; }
.line small { display: block; font-size: .78rem; opacity: .75; }
.line__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.line select { font: 500 .8rem var(--sans); padding: 6px 8px; border: 1px solid var(--line-2); background: var(--ivory); color: var(--coffee); border-radius: 2px; max-width: 100%; }
.line .qty button { width: 32px; height: 34px; }
.line .rm { background: none; border: 0; color: var(--coffee); text-decoration: underline; cursor: pointer; font-size: .78rem; padding: 4px; }
.totals { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.totals b { font-family: var(--serif); font-size: 2rem; color: var(--ink); }
.cart-empty { text-align: center; padding: 60px 10px; }
.drawer textarea { width: 100%; margin: 6px 0 14px; min-height: 64px; resize: vertical; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); background: var(--ink); color: var(--ivory); padding: 14px 20px; border-radius: 3px; font-size: .9rem; opacity: 0; pointer-events: none; z-index: 120; transition: all .4s var(--ease); display: flex; gap: 12px; align-items: center; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast .ic { color: var(--yellow); }
.wa-fab { position: fixed; right: 20px; bottom: 20px; z-index: 80; width: 58px; height: 58px; border-radius: 50%; background: var(--cherry); color: var(--ivory); display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(172, 35, 41, .7); transition: transform .3s var(--ease); }
.wa-fab:hover { transform: scale(1.08) rotate(-6deg); }
.wa-fab .ic { width: 28px; height: 28px; }

/* ---------- medidor de altitud ---------- */
.alti { position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 55; height: min(44vh, 380px); width: 58px; display: flex; justify-content: flex-end; pointer-events: none; opacity: 0; transition: opacity .5s; }
.alti.on { opacity: 1; }
.alti__line { position: relative; width: 1px; height: 100%; background: var(--line-2); margin-right: 14px; }
.alti__line::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, var(--line-2) 0 1px, transparent 1px 22px); width: 9px; right: 0; }
.alti__dot { position: absolute; right: -4px; top: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--cherry); box-shadow: 0 0 0 5px rgba(172, 35, 41, .16); }
.alti__lbl { position: absolute; right: 26px; top: 0; transform: translateY(-50%); text-align: right; font-size: .62rem; letter-spacing: .12em; font-weight: 700; text-transform: uppercase; line-height: 1.15; white-space: nowrap; color: var(--coffee); }
@media (max-width: 1599px) { .alti__lbl { display: none; } }
.alti__lbl b { display: block; font-family: var(--serif); font-size: 1.7rem; font-weight: 600; letter-spacing: 0; color: var(--ink); }
@media (max-width: 1240px) { .alti { display: none; } }

/* ---------- utilidades varias ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.notice { border-left: 3px solid var(--cherry); background: var(--parch); padding: 16px 20px; font-size: .92rem; margin: 20px 0; }
.card-note { font-size: .82rem; opacity: .75; }
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.pdate { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; opacity: .7; }
.article-head { max-width: 900px; }
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* ---------- animaciones de entrada ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .rv { opacity: 1; transform: none; }
  .manifesto .w { opacity: 1; }
  .hero h1 .hl > span { transform: none; }
}
@media print { .announce, .hdr, .ftr, .wa-fab, .alti, .drawer, .overlay { display: none !important; } body::before { display: none; } }

/* ---------- exportación (+43 países) ---------- */
.xpill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 14px; margin-bottom: 22px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(253, 250, 244, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; line-height: 1.3; transition: background .3s, color .3s, border-color .3s, gap .3s var(--ease); }
.xpill .ic { width: 18px; height: 18px; flex: none; }
.xpill b { color: var(--cherry); font-weight: 700; }
.xpill:hover { background: var(--espresso); color: var(--ivory); border-color: var(--espresso); gap: 14px; }
.xpill:hover b { color: var(--yellow); }
.xpill--sm { display: flex; width: fit-content; max-width: 100%; margin: 16px 0 0; font-size: .66rem; }
.fact b, .stats b, .badge__c b { font-variant-numeric: lining-nums; }
.fact--xp b::after { content: ''; display: block; height: 4px; margin-top: 9px; background: linear-gradient(90deg, var(--flag-y) 50%, var(--flag-b) 50% 75%, var(--flag-r) 75%); }
.badge__c { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; pointer-events: none; }
.badge__c b { font-family: var(--serif); font-size: clamp(2.1rem, 3.6vw, 3.2rem); font-weight: 600; color: var(--ink); letter-spacing: -.02em; }
.badge__c span { margin-top: 4px; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.marq__track span.xm { color: var(--yellow); }

.xport { overflow: hidden; isolation: isolate; padding-bottom: clamp(48px, 6vw, 90px); }
.xport__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 90px); align-items: center; }
.xport__big { display: flex; align-items: baseline; gap: .12em; margin: 0 0 .16em; font-variant-numeric: lining-nums; font-family: var(--serif); color: var(--ivory); }
.xport__big b { font-size: clamp(6.4rem, 17vw, 15rem); font-weight: 500; line-height: .82; letter-spacing: -.045em; }
.xport__big b::first-letter { color: var(--yellow); }
.xport__big span { font-style: italic; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1; color: var(--yellow); }
.xport h2 { max-width: 14ch; margin-bottom: 0; }
.xport h2 em { color: var(--yellow); }
.xport .lead { color: rgba(253, 250, 244, .9); }
.xport__pts { margin: 26px 0 30px; }
.xport__pts li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(253, 250, 244, .16); }
.xport__pts .ic { width: 24px; height: 24px; color: var(--yellow); margin-top: 4px; }
.xport__pts h3 { font-size: 1.35rem; margin: 0 0 2px; }
.xport__pts p { margin: 0; font-size: .92rem; opacity: .82; }
.xport .link-arrow { border-color: rgba(253, 250, 244, .4); }
.xport__map { display: block; width: min(1400px, 100%); margin: clamp(30px, 5vw, 64px) auto 0; padding: 0 var(--gutter); height: auto; }
@media (max-width: 860px) { .xport__in { grid-template-columns: 1fr; align-items: start; } }

.xband { overflow: hidden; isolation: isolate; display: flex; flex-direction: column; }
.xband > .wrap { width: 100%; }
.xband__map { order: 2; display: block; width: min(1100px, 92%); height: auto; margin: clamp(28px, 4vw, 56px) auto 0; }
.phead--dark { background: var(--espresso); color: var(--ivory); }
.phead--dark h1 { color: var(--ivory); }
.phead--dark h1 em { color: var(--yellow); }
.phead--dark .eyebrow { color: rgba(253, 250, 244, .78); }
.phead--dark .lead { color: rgba(253, 250, 244, .9); margin: 0; }
.phead--dark .link-arrow { border-color: rgba(253, 250, 244, .4); }
.xhero { padding-bottom: 0; }
.xhero h1 { max-width: 15ch; font-size: clamp(2.8rem, 6.6vw, 6.2rem); }
.xhero .lead { max-width: 56ch; }
.xhero__map { display: block; width: min(1300px, 100%); height: auto; margin: clamp(10px, 3vw, 40px) auto 0; padding: 0 var(--gutter); }
.xstats .stats { border-top: 0; padding-top: 0; }
.steps--4 .step { min-height: 250px; }
.xwhos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.xwho { padding: 28px 24px 30px; border: 1px solid var(--line-2); border-radius: 4px; background: var(--ivory); transition: transform .5s var(--ease), box-shadow .4s; }
.xwho:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -26px rgba(42, 23, 7, .5); }
.xwho .ic { width: 30px; height: 30px; color: var(--coffee); margin-bottom: 18px; }
.xwho h3 { font-size: 1.6rem; margin: 0 0 8px; }
.xwho p { margin: 0; font-size: .93rem; opacity: .85; }
@media (max-width: 1000px) { .xwhos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .xwhos { grid-template-columns: 1fr; } }

/* ---------- fotos de producto ---------- */
.pcard__art--photo { padding: 0; background: var(--parch); overflow: hidden; }
.pcard__art--photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.pcard:hover .pcard__art--photo img { transform: scale(1.05); }
.pdp__art--photo { padding: 0; background: var(--parch); }
.pdp__art--photo::before { display: none; }
.pdp__main { display: block; width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; z-index: 2; }
.pdp__thumbs button { width: 56px; height: 56px; padding: 0; border: 2px solid rgba(253, 250, 244, .9); border-radius: 3px; overflow: hidden; cursor: pointer; opacity: .82; background: var(--ivory); transition: opacity .2s, border-color .2s, transform .3s var(--ease); }
.pdp__thumbs button:hover { opacity: 1; transform: translateY(-2px); }
.pdp__thumbs button[aria-current="true"] { border-color: var(--cherry); opacity: 1; }
.pdp__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.line__img { width: 64px; height: 70px; object-fit: cover; border-radius: 2px; background: var(--parch); }
