/* ══════════════════════════════════════════════════════════════
   Ñandecoga — estilos
   Paleta cálida regional: crema, maíz, terracota (tierra colorada),
   verde selva y tierra oscura. Tipografía Barlow / Barlow Condensed.
   ══════════════════════════════════════════════════════════════ */

/* ── Fuentes (autoalojadas) ── */
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-400-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-500-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-700.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-700-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 400; font-display: swap; src: url('../fonts/barlowc-400.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 400; font-display: swap; src: url('../fonts/barlowc-400-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlowc-600.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlowc-600-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ── Tokens ── */
:root {
  --cream: #f7f1e6;
  --cream-2: #efe5d3;
  --paper: #fffaf2;
  --ink: #2a1f17;
  --ink-70: color-mix(in srgb, var(--ink) 74%, transparent);
  --ink-55: color-mix(in srgb, var(--ink) 58%, transparent);
  --line: color-mix(in srgb, var(--ink) 15%, transparent);

  --maize-100: #fdf3dc;
  --maize-200: #fae3a8;
  --maize-300: #f5cf73;
  --maize: #e8a317;
  --maize-700: #9a6406;

  --terra-100: #fbe6dc;
  --terra-300: #eba68a;
  --terra: #b9472a;
  --terra-600: #a23d22;
  --terra-800: #6e2814;

  --selva-100: #e3eee4;
  --product-bg: #F3EADA; /* fondo de las fotos de producto (salvia suave) */
  --selva: #2f5d3a;
  --selva-800: #1d3a24;

  --earth: #3b2a1e;
  --earth-900: #24190f;

  --wa: #0f7a52;
  --wa-600: #0b6644;

  --font-head: 'Barlow Condensed', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  --wrap: 1280px;
  --gutter: clamp(16px, 5vw, 64px);
  --radius: 4px;
  --header-h: 72px;

  --shadow-sm: 0 1px 2px rgb(59 42 30 / .12);
  --shadow-md: 0 6px 18px rgb(59 42 30 / .14);
  --shadow-lg: 0 18px 48px rgb(59 42 30 / .22);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gingham-terra:
    linear-gradient(90deg, rgb(185 71 42 / .5) 50%, transparent 0),
    linear-gradient(rgb(185 71 42 / .5) 50%, transparent 0);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--cream); color: var(--ink);
  font-family: var(--font-body); font-size: 16px; line-height: 1.55;
  overflow-x: clip; text-wrap: pretty; -webkit-font-smoothing: antialiased;
}
body.is-locked { overflow: hidden; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0 0 .9em; }
a { color: var(--terra-600); text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
svg { flex-shrink: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
::selection { background: var(--maize-300); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: fixed; left: 12px; top: -60px; z-index: 3000; background: var(--ink); color: var(--cream); padding: 10px 14px; transition: top .2s; }
.skip:focus { top: 12px; }
.noscript { position: fixed; inset: auto 0 0; background: var(--ink); color: var(--cream); padding: 12px; text-align: center; margin: 0; z-index: 3000; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-600);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--maize-300); }
.sec-title { font-size: clamp(40px, 5.4vw, 68px); line-height: .92; margin-top: 12px; }
.sec-title--xl { font-size: clamp(44px, 6vw, 80px); }
.sec-lead { font-size: 17px; color: var(--ink-70); max-width: 46ch; margin: 14px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.link-btn { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ── Botones ── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 18px; border: 1.5px solid transparent; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 600; font-size: 16px; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; white-space: nowrap; text-decoration: none; isolation: isolate; overflow: hidden;
  transition: transform .25s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(.98); }
.btn-lg { min-height: 52px; padding-inline: 24px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--terra); color: var(--cream); }
.btn-primary:hover { background: var(--terra-600); box-shadow: 0 8px 20px rgb(185 71 42 / .35); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-600); box-shadow: 0 8px 20px rgb(15 122 82 / .35); transform: translateY(-2px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-maize { background: var(--maize); color: var(--earth-900); }
.btn-maize:hover { background: var(--maize-300); transform: translateY(-2px); }
.btn-ghost-light { border-color: color-mix(in srgb, var(--cream) 45%, transparent); color: var(--cream); }
.btn-ghost-light:hover { background: color-mix(in srgb, var(--cream) 12%, transparent); border-color: var(--cream); }
/* brillo que cruza el botón al pasar el mouse */
.btn-primary::after, .btn-wa::after, .btn-maize::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgb(255 255 255 / .28) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease-out);
}
.btn-primary:hover::after, .btn-wa:hover::after, .btn-maize:hover::after { transform: translateX(120%); }

.icon-btn {
  width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0;
  border: 1.5px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; pointer-events: none; }

/* Esquinas de registro (herencia del mockup) */
.corners { position: relative; }
.corners::before, .corners::after {
  content: ''; position: absolute; width: 14px; height: 14px; pointer-events: none;
  border-color: var(--terra); border-style: solid;
}
.corners::before { top: -7px; left: -7px; border-width: 2px 0 0 2px; }
.corners::after { bottom: -7px; right: -7px; border-width: 0 2px 2px 0; }

/* ── Preloader / progreso ── */
.preloader {
  position: fixed; inset: 0; z-index: 4000; display: grid; place-items: center; background: var(--cream);
  transition: opacity .5s ease .1s, visibility 0s linear .6s;
}
.preloader.done { opacity: 0; visibility: hidden; }
.preloader-mark { width: 96px; height: 96px; }
.preloader-mark path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pl-n { stroke: var(--terra); stroke-width: 7; stroke-dasharray: 110; stroke-dashoffset: 110; animation: draw 1s var(--ease-io) forwards; }
.pl-tilde { stroke: var(--maize); stroke-width: 5; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s var(--ease-io) .8s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1500; pointer-events: none;
  background: linear-gradient(90deg, var(--maize), var(--terra));
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ── Barra superior ── */
.topbar { background: var(--earth); color: var(--maize-100); font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; padding-block: 8px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 6px 24px; flex-wrap: wrap; }
.topbar a, .topbar span { color: inherit; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--maize-300); }
.topbar svg { width: 15px; height: 15px; opacity: .8; }
.topbar-social { display: flex; gap: 14px; }
.topbar-social svg { width: 18px; height: 18px; opacity: 1; }

/* ── Header / nav ── */
.header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s;
}
/* el blur va en un pseudo-elemento: backdrop-filter en .header volvería al menú mobile (fixed) relativo al header */
.header::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
}
.header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgb(59 42 30 / .08); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s var(--ease-out); }
.header.scrolled .header-inner { height: 60px; }
.brand { display: flex; flex-direction: column; color: var(--ink); line-height: 1; margin-right: auto; }
.brand-word { font-family: var(--font-head); font-weight: 600; font-size: 30px; letter-spacing: .05em; text-transform: uppercase; }
.brand-n { position: relative; color: var(--terra); display: inline-block; }
.brand-tilde { position: absolute; left: 0; top: -5px; width: 100%; height: 7px; overflow: visible; }
.brand-tilde path { fill: none; stroke: var(--maize); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 40; stroke-dashoffset: 0; }
.brand:hover .brand-tilde path { animation: tilde 1s var(--ease-io); }
@keyframes tilde { from { stroke-dashoffset: 40; } }
.brand-sub { font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--selva); margin-top: 4px; }
.nav { position: relative; display: flex; gap: 28px; align-items: center; }
.nav a { position: relative; color: var(--ink); font-weight: 500; font-size: 14.5px; letter-spacing: .06em; text-transform: uppercase; padding-block: 6px; }
.nav a:not(.btn):hover, .nav a.active { color: var(--terra-600); }
.nav-indicator {
  position: absolute; bottom: -2px; left: 0; height: 2px; width: 0; background: var(--terra);
  transition: transform .4s var(--ease-out), width .4s var(--ease-out), opacity .3s; opacity: 0; pointer-events: none;
}
.nav-mobile-cta { display: none !important; }
.nav a.btn-wa { color: #fff; font-family: var(--font-head); font-size: 17px; padding: 12px 18px; }
body::after {
  content: ''; position: fixed; inset: 0; z-index: 999; background: rgb(36 25 15 / .45);
  opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s linear .35s;
}
body.nav-open::after { opacity: 1; visibility: visible; transition: opacity .35s; }
.header-cta { min-height: 42px; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; opacity: .5;
  background:
    radial-gradient(60% 70% at 85% 40%, var(--maize-200), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, var(--terra-100), transparent 70%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px clamp(32px, 5vw, 80px); align-items: center;
  padding-block: clamp(36px, 6vw, 80px) clamp(48px, 6vw, 88px);
}
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-title { font-size: clamp(52px, 7.2vw, 104px); line-height: .88; font-weight: 600; }
.hero-title em { font-style: normal; color: var(--terra); position: relative; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-title .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 70ms + 150ms); }
.hero-title.is-in .w > span { transform: none; }
.hero-company { margin: -8px 0 0; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--selva); }
.hero-lead { font-size: 18px; color: var(--ink-70); max-width: 44ch; margin: 0; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-list { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid var(--line); }
.hero-list button {
  position: relative; width: 100%; display: flex; align-items: center; gap: 16px; padding: 14px 0;
  background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
  opacity: .5; transition: opacity .3s, padding .4s var(--ease-out);
}
.hero-list button:hover { opacity: .85; }
.hero-list button[aria-current="true"] { opacity: 1; padding-left: 8px; }
.hero-list .n { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: var(--terra-600); width: 26px; }
.hero-list .name { font-family: var(--font-head); font-weight: 600; font-size: 21px; text-transform: uppercase; flex: 1; }
.hero-list .packs { font-size: 13px; color: var(--ink-55); }
.hero-list .bar { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--terra); transform-origin: 0 50%; transform: scaleX(0); }
.hero-list button[aria-current="true"] .bar { animation: bar var(--dur, 5s) linear forwards; }
.hero-list.paused button[aria-current="true"] .bar { animation-play-state: paused; }
@keyframes bar { to { transform: scaleX(1); } }

.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: center; touch-action: pan-y; }
.hero-disc {
  position: absolute; inset: 9%; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgb(255 255 255 / .45), transparent 45%),
    radial-gradient(circle, var(--maize-300), var(--maize) 75%);
  box-shadow: inset 0 -20px 60px rgb(154 100 6 / .35), 0 30px 60px rgb(154 100 6 / .25);
  transform: translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -10px), 0);
  transition: transform .4s var(--ease-out);
}
.hero-disc::after { /* cuadrillé de la bolsa, sutil */
  content: ''; position: absolute; inset: 0; border-radius: 50%; opacity: .14;
  background: var(--gingham-terra); background-size: 26px 26px;
  mask: radial-gradient(circle, transparent 55%, #000 56%); -webkit-mask: radial-gradient(circle, transparent 55%, #000 56%);
}
.hero-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 40s linear infinite; }
.hero-ring text { font-family: var(--font-head); font-weight: 600; font-size: 10.5px; letter-spacing: .32em; fill: var(--earth); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 15% 24% 13%; display: grid; place-items: center;
  opacity: 0; transform: translate3d(40px, 20px, 0) rotate(8deg) scale(.92);
  transition: opacity .6s ease, transform .9s var(--ease-out); pointer-events: none;
}
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.hero-slide.is-leaving { opacity: 0; transform: translate3d(-40px, 10px, 0) rotate(-8deg) scale(.92); }
.hero-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; cursor: pointer;
  filter: drop-shadow(0 24px 30px rgb(59 42 30 / .35));
  transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px), 0) rotate(calc(var(--px, 0) * 3deg));
  transition: transform .4s var(--ease-out);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -10px; } }
.grains { position: absolute; inset: 0; pointer-events: none; }
.grain {
  position: absolute; width: 18px; height: 24px; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: radial-gradient(circle at 35% 30%, #fff3c4, var(--maize) 70%);
  box-shadow: 0 4px 8px rgb(154 100 6 / .3);
  animation: drift 7s ease-in-out infinite;
  transform: translate3d(calc(var(--px, 0) * var(--d) * 1px), calc(var(--py, 0) * var(--d) * 1px), 0);
}
.grain.g1 { top: 8%; left: 14%; --d: 30; animation-delay: -1s; }
.grain.g2 { top: 20%; right: 6%; --d: 22; width: 14px; height: 18px; animation-delay: -3s; background: radial-gradient(circle at 35% 30%, #f8c9b6, var(--terra) 70%); }
.grain.g3 { bottom: 16%; left: 4%; --d: 40; animation-delay: -2s; }
.grain.g4 { bottom: 8%; right: 18%; --d: 26; width: 22px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #eadcbc 70%); animation-delay: -4s; }
.grain.g5 { top: 46%; left: 0; --d: 18; width: 12px; height: 16px; animation-delay: -5s; }
.grain.g6 { top: 4%; right: 30%; --d: 34; width: 20px; height: 13px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #c7d9b5, #6f8f3e 70%); animation-delay: -2.5s; }
.grain.g7 { bottom: 30%; right: 0; --d: 16; width: 16px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #a65b4a, #5c1f17 75%); animation-delay: -6s; }
@keyframes drift { 50% { translate: 0 -14px; rotate: 20deg; } }
.hero-badge {
  position: absolute; top: 10%; right: 2%; width: 104px; height: 104px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: .95;
  background: var(--selva); color: var(--cream); font-family: var(--font-head); font-weight: 600; font-size: 26px;
  box-shadow: var(--shadow-md); transform: rotate(-12deg); animation: wobble 5s ease-in-out infinite;
  outline: 2px dashed color-mix(in srgb, var(--cream) 55%, transparent); outline-offset: -8px;
}
.hero-badge b { font-weight: 400; font-size: 15px; letter-spacing: .1em; }
.hero-badge small { font-family: var(--font-body); font-size: 8.5px; letter-spacing: .06em; margin-top: 4px; opacity: .85; text-transform: uppercase; }
@keyframes wobble { 50% { transform: rotate(-4deg) scale(1.04); } }
.hero-controls { position: absolute; right: 0; bottom: 4%; display: flex; gap: 10px; }

/* ── Marquesina ── */
.marquee-sec { border-block: 1px solid var(--line); padding: 24px 0; background: var(--paper); }
.marquee-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-55); margin: 0 0 16px; }
.marquee { overflow: hidden; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 64px; width: max-content; animation: marquee 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img {
  height: 52px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: .65; transition: filter .3s, opacity .3s;
}
.marquee-track img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Contadores ── */
.stats { background: var(--terra); color: var(--cream); position: relative; overflow: hidden; }
.stats::before { content: ''; position: absolute; inset: 0; background: var(--gingham-terra); background-size: 22px 22px; opacity: .12; mix-blend-mode: multiply; }
.stats-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); padding-block: 40px; }
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-left: 1px solid color-mix(in srgb, var(--cream) 25%, transparent); }
.stat-num { font-family: var(--font-head); font-weight: 600; font-size: clamp(48px, 6vw, 76px); line-height: 1; font-variant-numeric: tabular-nums; }
.stat-label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--maize-100); margin-top: 6px; }

/* ── Beneficios ── */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-block: 64px; }
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit-icon {
  width: 56px; height: 56px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%;
  background: var(--maize-100); color: var(--terra); border: 1.5px solid var(--maize-200);
  transition: transform .4s var(--ease-out), background .3s;
}
.benefit:hover .benefit-icon { transform: rotate(-10deg) scale(1.08); background: var(--maize-200); }
.benefit-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.draw * { stroke-dasharray: 80; stroke-dashoffset: 80; transition: stroke-dashoffset 1.6s var(--ease-io) .2s; }
.is-visible .draw * { stroke-dashoffset: 0; }
.benefit h3 { font-size: 22px; margin-bottom: 6px; }
.benefit p { font-size: 14.5px; color: var(--ink-70); margin: 0; }

/* ── Productos ── */
.products { padding-block: 48px 104px; }
.filters { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.tab {
  position: relative; padding: 9px 16px; border: 1.5px solid var(--line); background: transparent; border-radius: 999px; cursor: pointer;
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: background .25s, color .25s, border-color .25s;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.tab .count { font-weight: 500; opacity: .6; margin-left: 4px; }
.search { position: relative; display: flex; align-items: center; width: min(340px, 100%); }
.search svg { position: absolute; left: 14px; width: 17px; height: 17px; color: var(--ink-55); pointer-events: none; }
.search input {
  width: 100%; min-height: 44px; padding: 8px 14px 8px 40px; border: 1.5px solid var(--line); border-radius: 999px;
  background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.search input:focus { border-color: var(--terra); box-shadow: 0 0 0 4px var(--terra-100); outline: none; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 28px; }
.card {
  position: relative; display: flex; color: inherit; flex-direction: column; text-align: left; cursor: pointer;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 0; overflow: hidden;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift, 0));
  transition: transform .5s var(--ease-out), box-shadow .4s, border-color .3s, opacity .4s;
  will-change: transform;
}
.card:hover, .card:focus-visible { --lift: -6px; box-shadow: var(--shadow-lg); border-color: transparent; }
.card.is-hidden { display: none; }
.card-media {
  position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; background: var(--product-bg);
}
.card-media img {
  position: absolute; inset: 22px; width: calc(100% - 44px); height: calc(100% - 44px); object-fit: contain;
  filter: drop-shadow(0 10px 12px rgb(47 93 58 / .18));
  transition: transform .6s var(--ease-out);
}
.card:hover .card-media img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.badge-tacc { background: var(--selva); color: var(--cream); }
.badge-stock { background: var(--ink); color: var(--cream); }
.badge-star { left: auto; right: 12px; background: var(--maize); color: var(--earth-900); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; border-top: 1px solid var(--line); }
.card-cat { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-600); }
.card-title { font-size: 26px; line-height: 1; }
.card-desc { font-size: 14.5px; color: var(--ink-70); margin: 0; flex: 1; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--ink-55); }
.card-more {
  display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-head); font-weight: 600; font-size: 15px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--terra-600); white-space: nowrap;
}
.card-more svg { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.card:hover .card-more svg { transform: translateX(4px); }
.empty { text-align: center; padding: 48px 0; color: var(--ink-70); font-size: 17px; }

/* ── Insignia ── */
.flagship { position: relative; background: var(--earth); color: var(--cream); overflow: hidden; }
.flagship-pattern {
  position: absolute; inset: 0; opacity: .07;
  background: var(--gingham-terra); background-size: 34px 34px; filter: brightness(1.8);
}
.flagship-inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px clamp(32px, 6vw, 96px); align-items: center; padding-block: clamp(64px, 8vw, 112px); }
.flagship-media { position: relative; margin: 0; justify-self: center; width: min(100%, 440px); }
.flagship-media img { width: 100%; border-radius: 6px; box-shadow: 0 30px 60px rgb(0 0 0 / .4); }
.mask-reveal img { clip-path: inset(100% 0 0 0 round 6px); transition: clip-path 1.4s var(--ease-out); }
.mask-reveal.is-visible img { clip-path: inset(0 0 0 0 round 6px); }
.flagship-stamp {
  position: absolute; right: -28px; bottom: 40px; width: 120px; height: 120px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; line-height: 1;
  background: var(--maize); color: var(--earth-900); font-family: var(--font-head); text-transform: uppercase;
  box-shadow: var(--shadow-lg); transform: rotate(10deg) scale(0); transition: transform .8s var(--ease-out) .9s;
}
.flagship-stamp span { font-size: 13px; letter-spacing: .14em; }
.flagship-stamp b { font-size: 30px; font-weight: 600; }
.mask-reveal.is-visible .flagship-stamp { transform: rotate(10deg) scale(1); }
.flagship-text { display: flex; flex-direction: column; gap: 20px; }
.flagship-text .sec-title { margin: 0; }
.flagship-text p { font-size: 18px; color: var(--maize-100); max-width: 48ch; margin: 0; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.pill-row li { padding: 6px 14px; border: 1.5px solid color-mix(in srgb, var(--maize-300) 60%, transparent); border-radius: 999px; font-size: 14px; color: var(--maize-100); }

/* ── Cómo comprar ── */
.howto { padding-block: 104px; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: none; }
.steps::before { /* conector entre pasos */
  content: ''; position: absolute; top: 58px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--terra) 0 10px, transparent 10px 18px);
  transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.6s var(--ease-io) .3s;
}
.steps.is-visible::before { transform: scaleX(1); }
.step {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 32px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-num { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-weight: 600; font-size: 64px; line-height: 1; color: var(--maize-200); }
.step-icon {
  position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%;
  background: var(--terra); color: var(--cream); box-shadow: 0 0 0 8px var(--paper);
  transition: transform .5s var(--ease-out);
}
.step:hover .step-icon { transform: rotate(-12deg) scale(1.08); }
.step-icon svg { width: 28px; height: 28px; }
.step h3 { font-size: 30px; margin-top: 8px; }
.step p { margin: 0; color: var(--ink-70); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border: 1.5px solid var(--ink); border-radius: 6px; overflow: hidden; }
.tier { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 22px 16px; text-align: left; }
.tier + .tier { border-left: 1.5px solid var(--ink); }
.tier b { font-family: var(--font-head); font-weight: 600; font-size: 48px; line-height: 1; }
.tier span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); line-height: 1.3; }
.tier--hl { background: var(--maize); }
.tier--hl span { color: var(--earth-900); }
.tier em {
  position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--terra); color: var(--cream); animation: wobble 4s ease-in-out infinite;
}
.howto-cta { display: flex; justify-content: center; margin-top: 36px; }

/* ── Misión y valores ── */
.values { position: relative; background: var(--selva); color: var(--cream); overflow: hidden; }
.values::before { content: ''; position: absolute; inset: 0; opacity: .08; background: var(--gingham-terra); background-size: 30px 30px; filter: brightness(2); }
.values-inner { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 48px clamp(32px, 6vw, 96px); padding-block: clamp(64px, 8vw, 112px); align-items: start; }
.values .eyebrow { color: var(--maize-300); }
.values .sec-lead { color: color-mix(in srgb, var(--cream) 82%, transparent); }
.values-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; align-self: center; }
.value { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 6px; background: color-mix(in srgb, var(--cream) 8%, transparent); border: 1px solid color-mix(in srgb, var(--cream) 16%, transparent); transition: background .3s, transform .4s var(--ease-out); }
.value:hover { background: color-mix(in srgb, var(--cream) 14%, transparent); transform: translateX(6px); }
.value p { margin: 0; font-family: var(--font-head); font-size: 23px; line-height: 1.15; text-transform: uppercase; }
.value .benefit-icon { background: var(--maize); border-color: var(--maize); color: var(--earth-900); }
.quote { grid-column: 1 / -1; margin: 8px 0 0; padding-top: 40px; border-top: 1px solid color-mix(in srgb, var(--cream) 20%, transparent); text-align: center; }
.quote-kicker { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--maize-300); margin-bottom: 12px; }
.quote p { max-width: 60ch; margin: 0 auto 18px; color: color-mix(in srgb, var(--cream) 85%, transparent); font-size: 17px; }
.quote blockquote { margin: 0 auto; max-width: 22ch; font-family: var(--font-head); font-weight: 600; font-size: clamp(36px, 5vw, 64px); line-height: .98; text-transform: uppercase; color: var(--cream); text-wrap: balance; }

/* ── Historia ── */
.story { position: relative; overflow: hidden; color: var(--ink); min-height: 900px; display: flex; align-items: flex-end; }
.story-scene { position: absolute; inset: 0; }
.story-scene svg { width: 100%; height: 100%; display: block; overflow: visible; }
.story-scene [data-depth] { will-change: transform; }
.story-inner {
  position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end;
  padding-top: clamp(260px, 30vw, 380px); padding-bottom: clamp(40px, 5vw, 72px);
}
.story-card { background: var(--paper); padding: clamp(28px, 4vw, 48px); border-radius: 6px; box-shadow: var(--shadow-lg); }
.story-card .sec-title { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 20px; }
.story-card p { color: var(--ink-70); font-size: 16.5px; }
.guarani { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); }
.guarani-word { font-family: var(--font-head); font-weight: 600; font-size: 34px; text-transform: uppercase; color: var(--terra); }
.guarani-eq { font-size: 24px; color: var(--maize-700); }
.guarani-def { font-family: var(--font-head); font-size: 28px; text-transform: uppercase; }
.guarani-def small { font-family: var(--font-body); font-size: 13px; text-transform: none; color: var(--ink-55); margin-left: 4px; }
.timeline {
  position: relative; list-style: none; margin: 0; padding: 28px 28px 28px 56px; border-radius: 6px;
  background: color-mix(in srgb, var(--earth-900) 88%, transparent); color: var(--cream);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.timeline::before {
  content: ''; position: absolute; left: 30px; top: 40px; bottom: 40px; width: 2px; background: var(--maize);
  transform-origin: top; transform: scaleY(var(--tl, 0)); transition: transform .2s linear;
}
.timeline li { position: relative; padding: 10px 0; }
.timeline li::before {
  content: ''; position: absolute; left: -32px; top: 16px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--earth-900); border: 2.5px solid var(--maize);
}
.timeline b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 22px; text-transform: uppercase; color: var(--maize-300); }
.timeline span { font-size: 15px; color: color-mix(in srgb, var(--cream) 85%, transparent); }

/* ── FAQ ── */
.faq { padding-block: 104px; }
.faq-inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px clamp(32px, 6vw, 96px); align-items: start; }
.faq-head { position: sticky; top: calc(var(--header-h) + 32px); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.faq-head .btn { margin-top: 24px; }
.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-head); font-weight: 600; font-size: 23px; text-transform: uppercase; transition: color .2s;
}
.acc-btn:hover { color: var(--terra-600); }
.acc-icon { position: relative; width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid var(--line); transition: background .3s, border-color .3s, transform .4s var(--ease-out); }
.acc-icon::before, .acc-icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; transition: transform .4s var(--ease-out); }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon { background: var(--terra); border-color: var(--terra); color: var(--cream); transform: rotate(180deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.acc-panel > div { overflow: hidden; }
.acc-panel p { margin: 0; padding: 0 48px 24px 0; color: var(--ink-70); font-size: 16px; max-width: 64ch; }
.acc-item.open .acc-panel { grid-template-rows: 1fr; }

/* ── Contacto ── */
.contact { padding-block: 104px; background: var(--paper); border-top: 1px solid var(--line); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px clamp(32px, 6vw, 96px); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; border-top: 1px solid var(--line); }
.contact-list a { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; overflow-wrap: anywhere; transition: padding .3s var(--ease-out), color .2s; }
.contact-list a:hover { padding-left: 8px; color: var(--terra-600); }
.contact-list small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); }
.ci { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--maize-100); color: var(--terra); }
.ci svg { width: 20px; height: 20px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3vw, 40px); background: var(--cream); border: 1px solid var(--line); border-radius: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-70); margin-bottom: 6px; }
.input {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.input:hover { border-color: color-mix(in srgb, var(--ink) 35%, transparent); }
.input:focus { border-color: var(--terra); box-shadow: 0 0 0 4px var(--terra-100); outline: none; }
textarea.input { resize: vertical; min-height: 90px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%232a1f17' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.err { display: none; color: var(--terra-600); font-size: 13px; margin-top: 4px; }
.field.invalid .input { border-color: var(--terra); }
.field.invalid .err { display: block; }
.field.invalid { animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.chat-preview { padding: 16px; border-radius: 6px; background: #e9dfd0; background-image: radial-gradient(rgb(59 42 30 / .08) 1px, transparent 1px); background-size: 14px 14px; }
.chat-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-55); margin-bottom: 8px; }
.chat-bubble {
  position: relative; margin-left: auto; width: fit-content; max-width: 92%; padding: 10px 12px 18px; border-radius: 10px 0 10px 10px;
  background: #d9fdd3; color: #111; font-size: 14.5px; line-height: 1.45; white-space: pre-wrap; box-shadow: 0 1px 1px rgb(0 0 0 / .12);
}
.chat-bubble::before { content: ''; position: absolute; right: -8px; top: 0; width: 0; height: 0; border-top: 10px solid #d9fdd3; border-right: 8px solid transparent; }
.chat-bubble::after { content: '✓✓'; position: absolute; right: 8px; bottom: 3px; font-size: 10px; color: #53bdeb; letter-spacing: -2px; }
.chat-bubble.pop { animation: pop .3s var(--ease-out); }
@keyframes pop { from { transform: scale(.97); } }
.form-note { font-size: 13px; color: var(--ink-55); margin: 0; text-align: center; }

/* ── Footer ── */
.footer { position: relative; background: var(--earth-900); color: var(--maize-100); }
.footer-gingham { height: 14px; background: var(--gingham-terra); background-size: 14px 14px; background-color: var(--cream); }
.footer-inner { display: flex; flex-direction: column; gap: 40px; padding-block: 56px 32px; }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-brand { font-family: var(--font-head); font-weight: 600; font-size: clamp(56px, 9vw, 120px); line-height: .85; text-transform: uppercase; color: var(--cream); letter-spacing: .02em; }
.footer-top p { margin: 10px 0 0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.footer-nav a { color: var(--cream); width: fit-content; background: linear-gradient(var(--maize), var(--maize)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease-out); }
.footer-nav a:hover { background-size: 100% 2px; }
.wholesale {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 24px; border-radius: 6px;
  border: 1.5px solid color-mix(in srgb, var(--cream) 22%, transparent); color: var(--cream); font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 28px); text-transform: uppercase; line-height: 1.1;
  transition: background .3s, border-color .3s;
}
.wholesale small { display: block; font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; color: var(--maize-300); margin-bottom: 4px; }
.wholesale:hover { background: color-mix(in srgb, var(--cream) 6%, transparent); border-color: var(--maize); }
.wholesale-arrow { font-size: 36px; transition: transform .4s var(--ease-out); }
.wholesale:hover .wholesale-arrow { transform: translate(4px, -4px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid color-mix(in srgb, var(--cream) 18%, transparent); font-size: 13.5px; }

/* ── Drawer / showcase ── */
.overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgb(36 25 15 / .5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .35s;
}
.overlay.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 2100; width: min(560px, 100vw);
  display: flex; flex-direction: column; background: var(--paper); box-shadow: -12px 0 48px rgb(36 25 15 / .25);
  transform: translateX(105%); transition: transform .5s var(--ease-out); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer.dragging { transition: none; }
.drawer-grip { display: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-kicker { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--terra-600); }
.drawer-nav { display: flex; align-items: center; gap: 6px; }
.drawer-count { font-size: 13px; color: var(--ink-55); min-width: 48px; text-align: center; font-variant-numeric: tabular-nums; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.drawer-body > * { animation: rise .55s var(--ease-out) both; }
.drawer-body > *:nth-child(2) { animation-delay: .06s; } .drawer-body > *:nth-child(3) { animation-delay: .12s; }
.drawer-body > *:nth-child(4) { animation-delay: .18s; } .drawer-body > *:nth-child(5) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.dr-gallery { position: relative; background: var(--product-bg); border-bottom: 1px solid var(--line); }
.dr-main { position: relative; height: 340px; display: grid; place-items: center; padding: 24px; overflow: hidden; }
.dr-main img { position: absolute; inset: 24px; width: calc(100% - 48px); height: calc(100% - 48px); object-fit: contain; filter: drop-shadow(0 14px 16px rgb(47 93 58 / .2)); animation: zoomIn .6s var(--ease-out); cursor: zoom-in; transition: transform .4s var(--ease-out); }
.dr-main.zoomed img { transform: scale(1.7); cursor: zoom-out; }
@keyframes zoomIn { from { opacity: 0; transform: scale(.9) rotate(-4deg); } }
.dr-thumbs { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; }
.dr-thumb { width: 56px; height: 56px; padding: 4px; border-radius: 6px; border: 2px solid var(--line); background: var(--paper); cursor: pointer; transition: border-color .2s, transform .2s; }
.dr-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dr-thumb[aria-pressed="true"] { border-color: var(--terra); }
.dr-thumb:hover { transform: translateY(-2px); }
.dr-badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.dr-badges .badge { position: static; }
.dr-intro { padding: 24px 24px 8px; }
.dr-intro .card-cat { display: block; margin-bottom: 8px; }
.dr-intro h2 { font-size: 40px; line-height: .95; }
.dr-intro p { margin: 12px 0 0; color: var(--ink-70); font-size: 16px; }
.dr-sec { padding: 18px 24px; border-top: 1px solid var(--line); margin-top: 12px; }
.dr-sec + .dr-sec { margin-top: 0; }
.dr-sec h3 { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--ink-55); margin-bottom: 12px; }
.pres { display: flex; flex-wrap: wrap; gap: 8px; }
.pres-pill {
  padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 6px; background: var(--paper); cursor: pointer;
  font-weight: 700; font-size: 14px; transition: border-color .2s, background .2s, color .2s, transform .2s;
}
.pres-pill:hover { border-color: var(--terra); transform: translateY(-1px); }
.pres-pill[aria-pressed="true"] { border-color: var(--terra); background: var(--terra-100); color: var(--terra-800); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--maize-100); color: var(--maize-700); font-size: 14px; font-weight: 500; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { display: flex; gap: 10px; align-items: center; font-size: 15px; }
.checks svg { width: 18px; height: 18px; color: var(--selva); padding: 3px; border-radius: 50%; background: var(--selva-100); box-sizing: content-box; }
.drawer-foot { padding: 14px 24px 18px; border-top: 1px solid var(--line); background: var(--paper); }
.dr-note { text-align: center; font-size: 13px; color: var(--ink-55); margin: 0 0 10px; min-height: 1.2em; }
.dr-note strong { color: var(--ink); }
.dr-nostock { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 10px; border-radius: 6px; background: var(--terra-100); color: var(--terra-800); font-size: 14px; }
.dr-nostock svg { width: 22px; height: 22px; }
.drawer-foot .btn { width: 100%; }

/* Shimmer de carga */
.shimmer { padding: 0; }
.sh { background: linear-gradient(90deg, var(--cream-2) 25%, var(--paper) 50%, var(--cream-2) 75%); background-size: 700px 100%; animation: sweep 1.2s linear infinite; border-radius: 4px; }
.sh-img { height: 340px; border-radius: 0; }
.sh-line { height: 14px; margin: 14px 24px 0; }
@keyframes sweep { from { background-position: -700px 0; } to { background-position: 700px 0; } }

/* ── Modal ── */
.modal {
  position: fixed; inset: 0; z-index: 2500; display: grid; place-items: center; padding: 16px;
  background: rgb(36 25 15 / .55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  animation: fade .3s ease;
}
@keyframes fade { from { opacity: 0; } }
.modal-card {
  position: relative; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--paper); border-radius: 8px; box-shadow: var(--shadow-lg); animation: modalIn .5s var(--ease-out);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.modal-close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.modal-title { font-size: 36px; padding: 32px 32px 0; }
.modal-text { padding: 16px 32px 32px; color: var(--ink-70); }
.modal-text .small { font-size: 13px; }
/* ── Flotantes ── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 10px 28px rgb(15 122 82 / .45);
  transform: scale(0); transition: transform .5s var(--ease-out), visibility 0s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.show { transform: scale(1); }
.wa-float.show::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.wa-float-tip {
  position: absolute; right: 72px; white-space: nowrap; padding: 8px 12px; border-radius: 6px; background: var(--ink); color: var(--cream);
  font-size: 14px; font-weight: 500; opacity: 0; transform: translateX(8px); transition: opacity .3s, transform .3s var(--ease-out); pointer-events: none;
}
.wa-float:hover .wa-float-tip, .wa-float.hint .wa-float-tip { opacity: 1; transform: none; }
body.drawer-open .wa-float, body.drawer-open .to-top { visibility: hidden; }
.to-top {
  position: fixed; right: 26px; bottom: 92px; z-index: 900; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: var(--paper); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease-out);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle { fill: none; stroke: var(--line); stroke-width: 3; }
.to-top-ring .to-top-bar { stroke: var(--terra); stroke-dasharray: 132; stroke-dashoffset: 132; stroke-linecap: round; }
.to-top-icon { position: relative; width: 20px; height: 20px; }
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 3000; padding: 12px 18px; border-radius: 6px; background: var(--ink); color: var(--cream);
  font-size: 15px; box-shadow: var(--shadow-lg); transform: translate(-50%, calc(100% + 40px)); visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s; max-width: calc(100vw - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--ease-out); }

/* ── Reveal on scroll (animación con `translate` para no pisar los `transform` de hover) ── */
.js .reveal { opacity: 0; }
.js .reveal.is-visible { opacity: 1; animation: revealUp .9s var(--ease-out) calc(var(--d, 0) * 90ms) both; }
.js .reveal--left.is-visible { animation-name: revealLeft; }
.js .reveal--right.is-visible { animation-name: revealRight; }
@keyframes revealUp { from { opacity: 0; translate: 0 28px; } }
@keyframes revealLeft { from { opacity: 0; translate: -40px 0; } }
@keyframes revealRight { from { opacity: 0; translate: 40px 0; } }

/* ══ Responsive ══ */
@media (max-width: 1080px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .nav { gap: 20px; }
}
@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); z-index: 1100;
    flex-direction: column; align-items: stretch; gap: 0; padding: 88px 28px 28px; background: var(--paper);
    box-shadow: -12px 0 40px rgb(36 25 15 / .2); transform: translateX(105%); transition: transform .5s var(--ease-out); visibility: hidden;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { font-family: var(--font-head); font-size: 30px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(24px); transition: opacity .4s, transform .5s var(--ease-out), color .2s; }
  .nav.open a:not(.btn) { opacity: 1; transform: none; }
  .nav.open a:nth-child(2) { transition-delay: .05s; } .nav.open a:nth-child(3) { transition-delay: .1s; }
  .nav.open a:nth-child(4) { transition-delay: .15s; } .nav.open a:nth-child(5) { transition-delay: .2s; }
  .nav-indicator { display: none; }
  .nav-mobile-cta { display: inline-flex !important; margin-top: 24px; }
  .header .nav-toggle { position: relative; z-index: 1200; }
  .hero-inner, .flagship-inner, .faq-inner, .contact-inner, .story-inner { grid-template-columns: 1fr; }
  .hero-stage { max-width: 440px; order: -1; }
  .hero-list { display: none; }
  .faq-head { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(3) { border-left: 0; }
  .filters { align-items: stretch; width: 100%; }
  .tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .search { width: 100%; }
  .flagship-stamp { right: -8px; width: 96px; height: 96px; }
  .flagship-stamp b { font-size: 24px; }
  .story { min-height: 0; }
  .story-inner { padding-top: 220px; }
  .values-inner { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1.5px solid var(--ink); }

  /* drawer como hoja inferior */
  .drawer { top: auto; left: 0; width: 100%; height: 90dvh; border-radius: 16px 16px 0 0; transform: translateY(105%); }
  .drawer.open { transform: translateY(var(--drag, 0px)); }
  .drawer-grip { display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; flex-shrink: 0; }
  .drawer-head { padding: 8px 12px 10px 20px; }
  .dr-main, .sh-img { height: 280px; }
}
@media (max-width: 560px) {
  body { font-size: 15.5px; }
  .topbar-info span, .topbar-info a:nth-child(-n+2) { display: none; }
  .brand-word { font-size: 26px; }
  .benefits { grid-template-columns: 1fr; gap: 24px; padding-block: 48px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-btns .btn { flex: 1 1 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-media img { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); }
  .card-body { padding: 12px 12px 14px; gap: 6px; }
  .card-title { font-size: 20px; }
  .card-desc { display: none; }
  .card-foot { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 12px; }
  .card-more { font-size: 14px; }
  .badge { top: 8px; left: 8px; font-size: 9.5px; padding: 3px 7px; }
  .badge-star { left: auto; right: 8px; }
  .stat-num { font-size: 52px; }
  .hero-badge { width: 84px; height: 84px; font-size: 21px; }
  .acc-btn { font-size: 20px; padding: 20px 0; }
  .acc-panel p { padding-right: 0; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 14px 14px 0 0; max-height: 92dvh; }
  .modal-text { padding-inline: 20px; }
  .modal-title { padding: 28px 64px 0 20px; font-size: 28px; }
  .wa-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .to-top { right: 20px; bottom: 84px; }
  .wholesale { padding: 18px; }
}

/* ── Movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .hero-ring, .marquee-track, .grain, .hero-slide img, .hero-badge { animation: none !important; }
  .card { transform: none !important; }
}
