/* =========================================================
   Bolsart · Bolsas Ecológicas — estilos
   ========================================================= */

:root {
  /* Marca */
  --lime: #8DC63F;          /* verde del logotipo */
  --green: #4CAF50;         /* verde ecológico */
  --green-deep: #2E7D32;    /* verde principal (botones, acentos de texto) */
  --forest: #173F1D;        /* fondos oscuros */
  --forest-2: #10301A;
  --brown: #5B4A42;         /* café del logotipo */

  /* Neutros */
  --white: #FFFFFF;
  --mist: #F4F6F7;
  --mist-2: #E8EEF1;
  --ink: #2C3E50;
  --ink-soft: #5B6B7B;
  --line: #DCE3E8;

  --lime-tint: #EEF7E1;

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

  --gutter: clamp(16px, 4vw, 48px);
  --radius: 28px;
  --radius-sm: 16px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(23, 63, 29, .06), 0 12px 32px -12px rgba(23, 63, 29, .18);
  --shadow-lg: 0 2px 4px rgba(23, 63, 29, .06), 0 30px 60px -20px rgba(23, 63, 29, .28);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--forest); }

main { overflow-x: clip; }
.only-touch { display: none; }
@media (hover: none) { .only-fine { display: none; } .only-touch { display: inline; } }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.ic { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-deep);
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(141, 198, 63, .25); }
.eyebrow--light { color: var(--lime); }

.h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--ink);
}
.h2 em, .contact__big em { font-style: italic; font-weight: 500; color: var(--green-deep); }
.h2--light { color: #fff; }
.h2--light em { color: var(--lime); }

/* palabras partidas para la animación */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.is-in .w > span { transform: none; }
html:not(.js) .split .w > span { transform: none; }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--green-deep); --fg: #fff;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--lime); border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.btn:hover::before { transform: none; }
.btn:hover { color: var(--forest); box-shadow: 0 12px 30px -10px rgba(141, 198, 63, .7); }
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); }
.btn--lime { --bg: var(--lime); --fg: var(--forest); }
.btn--lime::before { background: #fff; }

.chip-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .9rem;
  transition: border-color .25s, background .25s, color .25s;
}
.chip-btn:hover { border-color: var(--green-deep); }
.chip-btn.is-on { background: var(--forest); border-color: var(--forest); color: #fff; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; font-weight: 700; font-size: .9rem; color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Progreso, cursor, toast, FAB ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--lime)); transform-origin: left; transform: scaleX(var(--p, 0)); }

.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js .cursor { display: block; position: fixed; inset: 0; z-index: 150; pointer-events: none; }
  .cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--green-deep); }
  .cursor__ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1.5px solid rgba(46, 125, 50, .45);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor__ring em { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--forest); opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(141, 198, 63, .22); border-color: transparent; }
  .cursor.is-label .cursor__ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--lime); border-color: transparent; }
  .cursor.is-label .cursor__ring em { opacity: 1; }
  .cursor.is-dark .cursor__dot { background: var(--lime); }
  .cursor.is-dark .cursor__ring { border-color: rgba(141, 198, 63, .5); }
}

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 160;
  transform: translate(-50%, 140%); opacity: 0;
  max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px;
  background: var(--forest); color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: var(--shadow-lg);
  transition: transform .5s var(--ease), opacity .5s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green); color: #fff;
  box-shadow: 0 12px 30px -8px rgba(46, 125, 50, .6);
  transition: transform .35s var(--ease);
}
.fab .ic { width: 28px; height: 28px; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--green); animation: pulse 2.4s var(--ease) infinite; }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.topbar { height: 36px; background: var(--forest); color: rgba(255, 255, 255, .86); font-size: .8rem; font-weight: 600; transition: margin .4s var(--ease); }
.topbar__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; }
.topbar .ic { width: 15px; height: 15px; color: var(--lime); }
.topbar__right { gap: 22px !important; }
.topbar__right span, .topbar__right a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar__right a:hover { color: var(--lime); }

.header__in { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.header.is-scrolled { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .topbar { margin-top: -36px; }
.header.is-hidden { transform: translateY(-100%); }

.brand { flex: none; display: block; }
.brand img { height: 62px; width: auto; transition: height .4s var(--ease); }
.header.is-scrolled .brand img { height: 54px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 999px;
  font-weight: 700; font-size: .95rem; text-decoration: none;
  transition: background .25s, color .25s;
}
.nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--green-deep); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.nav-open .burger span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  padding: calc(var(--header-h) + 36px + 24px) 0 80px;
  display: flex; align-items: center;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__blob {
  position: absolute; right: -12vw; top: 8%;
  width: min(68vw, 920px); aspect-ratio: 1;
  background: radial-gradient(circle at 35% 30%, #B7E07A 0%, var(--lime) 38%, var(--green) 100%);
  border-radius: 58% 42% 46% 54% / 47% 58% 42% 53%;
  animation: blob 16s ease-in-out infinite alternate;
  will-change: transform;
  opacity: .95;
}
.hero__grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(44, 62, 80, .11) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 70%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .5) 45%, transparent 70%);
}
/* sólo transform (la forma irregular gira y respira): animar border-radius repintaba el blob en cada cuadro */
@keyframes blob {
  0% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(22deg) scale(1.05, .97); }
  100% { transform: rotate(-12deg) scale(.97, 1.03); }
}
.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(24px, 4vw, 64px); }
.hero__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(3.3rem, 8.4vw, 7.8rem);
  line-height: .9;
  letter-spacing: -.045em;
  margin-bottom: 28px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .accent { position: relative; font-style: italic; font-weight: 600; color: var(--green-deep); padding-right: .08em; }
.scribble { position: absolute; left: 0; right: 0; bottom: -.02em; width: 100%; height: .22em; overflow: visible; }
.scribble path { fill: none; stroke: var(--lime); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: draw 1.2s var(--ease) 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero__lead { max-width: 34em; font-size: clamp(1.05rem, 1.35vw, 1.2rem); color: var(--ink-soft); margin-bottom: 32px; }
.hero__lead strong { color: var(--ink); font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }
.hero__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.hero__facts li { display: flex; flex-direction: column; }
.hero__facts strong { font-family: var(--ff-display); font-size: 2.2rem; line-height: 1; font-weight: 700; color: var(--forest); }
.hero__facts span { font-size: .85rem; font-weight: 600; color: var(--ink-soft); }

.hero__visual { position: relative; }
.hero__stage { position: relative; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 560 / 640; perspective: 1000px; }
/* el balanceo va en un contenedor propio: sólo transform, sin volver a pintar la sombra del SVG */
.hero__sway { position: absolute; inset: 0; transform-origin: 50% 20%; animation: sway 6s ease-in-out infinite; will-change: transform; }
.hero__bag { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; filter: drop-shadow(0 30px 40px rgba(23, 63, 29, .28)); }
@keyframes sway { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
.hero__orbit { position: absolute; inset: -4%; border-radius: 50%; pointer-events: none; animation: orbit 60s linear infinite; }
.hero__orbit button {
  position: absolute; left: 50%; top: 50%;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%; border: 3px solid #fff;
  background: var(--c);
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, .3);
  pointer-events: auto;
  transform: rotate(var(--a)) translate(var(--r)) rotate(calc(var(--a) * -1));
  transition: box-shadow .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease);
}
.hero__orbit button span { display: block; width: 100%; height: 100%; animation: orbit 60s linear infinite reverse; }
.hero__orbit button:hover, .hero__orbit button.is-active { width: 44px; height: 44px; margin: -22px 0 0 -22px; box-shadow: 0 0 0 3px var(--forest), 0 8px 20px -4px rgba(0, 0, 0, .35); }
@keyframes orbit { to { transform: rotate(360deg); } }
.hero__tag {
  position: absolute; left: 4%; bottom: 10%;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px);
  box-shadow: var(--shadow); font-weight: 700; font-size: .92rem;
}
.hero__tag-sw { width: 26px; height: 26px; border-radius: 50%; background: var(--c, var(--lime)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); transition: background .6s; }
.hero__hint { position: absolute; right: 2%; bottom: 3%; margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--forest); opacity: .7; }

.leaf { position: absolute; width: 44px; fill: var(--lime); stroke: var(--forest); stroke-width: 1.4; opacity: .9; }
.leaf path:last-child { fill: none; }
.leaf--1 { left: -2%; top: 12%; animation: float 7s ease-in-out infinite; }
.leaf--2 { right: 0; top: 4%; width: 30px; animation: float 9s ease-in-out -2s infinite; }
.leaf--3 { right: 8%; bottom: 18%; width: 36px; fill: var(--green-deep); animation: float 8s ease-in-out -4s infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-18px) rotate(18deg); } }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--ink); border-radius: 14px; opacity: .5; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { from { transform: translateY(0); opacity: 1; } to { transform: translateY(14px); opacity: 0; } }

/* intro del hero: arranca con el primer pintado, sin esperar a JS ni a la carga completa.
   "backwards" suelta el transform al terminar para que el parallax de GSAP pueda usarlo. */
.hero [data-hero] { animation: hero-in 1s var(--ease) backwards; }
.hero .line > span { animation: line-in 1.1s var(--ease) backwards; }
.hero .line:nth-child(2) > span { animation-delay: .08s; }
.hero .line:nth-child(3) > span { animation-delay: .16s; }
.hero [data-hero="visual"] { animation-duration: 1.4s; animation-delay: .2s; }
.hero [data-hero="lead"] { animation-delay: .3s; }
.hero [data-hero="ctas"] { animation-delay: .4s; }
.hero [data-hero="facts"] { animation-delay: .5s; }
@keyframes hero-in { from { opacity: 0; transform: translateY(30px); } }
@keyframes line-in { from { transform: translateY(110%); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--forest); color: #fff; padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); margin: 10px 0; }
.marquee__track { display: flex; align-items: center; width: max-content; gap: 34px; animation: marquee 38s linear infinite; will-change: transform; }
.marquee span { font-family: var(--ff-display); font-style: italic; font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.2rem); white-space: nowrap; }
.marquee i { width: 14px; height: 14px; flex: none; background: var(--lime); border-radius: 0 50% 0 50%; transform: rotate(45deg); }
.marquee__track.is-skew span { transform: skewX(var(--skew, 0deg)); transition: transform .2s; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Placeholders de fotos ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(140deg, #B7E07A, var(--lime) 40%, var(--green-deep)); }
.ph::before {
  content: ""; position: absolute; inset: 0;
  background: url("../assets/img/logo-mark-256.webp") center / 38% no-repeat;
  opacity: .22; filter: brightness(0) invert(1);
}
.ph img { position: relative; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Manifiesto ---------- */
.manifest { padding: clamp(80px, 11vw, 150px) 0 clamp(20px, 3vw, 40px); }
.manifest__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.manifest__media { position: sticky; top: 120px; }
.manifest__media .ph { aspect-ratio: 4 / 5; border-radius: 34px; }
.manifest__sticker {
  position: absolute; right: -22px; bottom: 36px;
  width: 128px; height: 128px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--forest); color: var(--lime);
  font-family: var(--ff-display); font-style: italic; font-weight: 600; font-size: 1.05rem; line-height: 1.05;
  box-shadow: var(--shadow-lg);
  animation: spin-slow 18s linear infinite;
}
.manifest__sticker::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; border: 1.5px dashed rgba(141, 198, 63, .55); }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.manifest__text {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 2.35vw, 2.1rem); line-height: 1.32; font-weight: 400; letter-spacing: -.01em;
  margin: 34px 0 22px; color: var(--ink);
}
.manifest__text .mw { transition: color .3s; }
/* texto grande (≥24px): el gris de espera cumple 3:1 de contraste (3.43:1) */
html.js .manifest__text.is-scrub .mw { color: #7F8C99; }
html.js .manifest__text.is-scrub .mw.on { color: var(--ink); }
.manifest__sub { font-size: 1.1rem; color: var(--ink-soft); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.stat { padding: 22px 18px; border-radius: var(--radius-sm); background: var(--mist); }
.stat strong { display: block; font-family: var(--ff-display); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; font-weight: 700; color: var(--green-deep); margin-bottom: 8px; }
.stat span { font-size: .86rem; font-weight: 600; color: var(--ink-soft); line-height: 1.35; display: block; }

/* línea de degradación */
.decay { margin-top: clamp(60px, 9vw, 120px); padding: clamp(24px, 4vw, 48px); border-radius: var(--radius); background: var(--mist); }
.decay__head { display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: end; margin-bottom: 32px; }
.decay__head h3 { font-family: var(--ff-display); font-size: clamp(1.5rem, 2.4vw, 2rem); }
.decay__head p { margin: 0; color: var(--ink-soft); max-width: 46em; }
.decay__row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; align-items: center; margin-bottom: 14px; }
.decay__label { font-weight: 800; font-size: .92rem; }
.decay__track { position: relative; height: 34px; }
.decay__bar { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; width: var(--w); transform-origin: left; }
.decay__row--nw .decay__bar { --w: 5%; background: linear-gradient(90deg, var(--green), var(--lime)); }
.decay__row--nw .decay__bar span { position: absolute; left: calc(100% + 12px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-weight: 800; color: var(--green-deep); }
.decay__row--pl .decay__bar { --w: 100%; background: repeating-linear-gradient(-45deg, #9AA7B2 0 10px, #AEB9C2 10px 20px); mask-image: linear-gradient(90deg, #000 75%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 75%, transparent); }
.decay__row--pl .decay__bar span { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-weight: 800; color: #fff; font-size: .92rem; }
html.js .decay .decay__bar { transform: scaleX(0); transition: transform 1.8s var(--ease); }
html.js .decay.is-in .decay__bar { transform: scaleX(1); }
html.js .decay.is-in .decay__row--pl .decay__bar { transition-duration: 3.2s; transition-delay: .3s; }
.decay__scale { position: relative; height: 22px; margin-left: 188px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); border-top: 1px dashed var(--line); }
.decay__scale span { position: absolute; top: 6px; transform: translateX(-50%); }
.decay__scale span:nth-child(1) { left: 0; transform: none; }
.decay__scale span:nth-child(2) { left: 5%; }
.decay__scale span:nth-child(3) { left: 25%; }
.decay__scale span:nth-child(4) { left: 50%; }
.decay__scale span:nth-child(5) { left: 100%; transform: translateX(-100%); }

/* ---------- Catálogo ---------- */
.catalog { background: var(--white); }
.catalog__pin { padding: 70px 0 32px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.catalog__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(20px, 3.5vh, 40px); flex-wrap: wrap; }
.catalog__note { max-width: 420px; font-size: .95rem; color: var(--ink-soft); }
.catalog__note p { margin: 0 0 6px; }
.catalog__note strong { color: var(--ink); }
.catalog__hint { font-size: .82rem; font-weight: 700; color: var(--green-deep); }
.catalog__viewport { overflow: hidden; }
.catalog__track {
  display: flex; gap: 22px;
  padding-inline: max(var(--gutter), calc((100vw - 1320px) / 2 + var(--gutter)));
  padding-bottom: 8px;
  width: max-content;
}
.pcard {
  position: relative; flex: none;
  width: clamp(260px, min(25vw, 42vh), 360px);
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  background: var(--mist);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; aspect-ratio: 6 / 5; display: grid; place-items: center; overflow: hidden; }
.pcard__media::before {
  content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; transition: transform .7s var(--ease), background .5s;
}
.pcard:hover .pcard__media::before { transform: scale(1.18); background: var(--lime-tint); }
.pcard__media img { position: relative; width: 78%; height: auto; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.06) rotate(-2deg); animation: hue 4s linear infinite; }
@keyframes hue { from { filter: hue-rotate(0deg) saturate(1.3); } to { filter: hue-rotate(360deg) saturate(1.3); } }
.pcard__media--ph::after {
  content: ""; position: absolute; width: 46%; aspect-ratio: 1;
  background: var(--green-deep);
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
.pcard__media--ph:has(img)::after { display: none; }
.pcard__body { padding: 6px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard__num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--green-deep); }
.pcard h3 { font-family: var(--ff-display); font-size: 1.6rem; letter-spacing: -.02em; margin: 6px 0 10px; }
.pcard p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 18px; }
.pcard__more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  border: 1.5px solid var(--ink); background: transparent;
  font-weight: 700; font-size: .9rem;
  transition: background .3s, color .3s, border-color .3s;
}
.pcard__more .ic { transition: transform .4s var(--ease); }
.pcard__more:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.pcard__more:hover .ic { transform: rotate(90deg); }
.pcard--cta { background: var(--forest); color: #fff; justify-content: center; }
.pcard--cta .pcard__body { padding: 36px 30px; justify-content: center; }
.pcard--cta h3 { font-size: 2.2rem; color: #fff; }
.pcard--cta p { color: rgba(255, 255, 255, .78); font-size: 1.02rem; }
.pcard--cta .btn { align-self: flex-start; }
.catalog__progress { margin-top: 34px; }
.catalog__progress::before { content: ""; display: block; height: 3px; border-radius: 3px; background: var(--mist-2); }
.catalog__progress span { display: block; height: 3px; margin-top: -3px; border-radius: 3px; background: var(--green-deep); transform-origin: left; transform: scaleX(var(--p, .1)); }

/* ---------- Drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 140; pointer-events: none; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(16, 48, 26, .45); backdrop-filter: blur(4px); opacity: 0; transition: opacity .5s var(--ease); }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(560px, 100%);
  background: #fff; overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(104%); transition: transform .6s var(--ease);
  box-shadow: -30px 0 60px -30px rgba(0, 0, 0, .35);
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__close { position: absolute; right: 18px; top: 18px; z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .4s var(--ease); }
.drawer__close:hover { transform: rotate(90deg); }
.drawer__media { background: var(--mist); display: grid; place-items: center; aspect-ratio: 4 / 3; }
.drawer__media img { width: 62%; height: auto; }
.drawer__body { padding: 30px clamp(20px, 4vw, 40px) 40px; }
.drawer__num { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: var(--green-deep); }
.drawer h3 { font-family: var(--ff-display); font-size: clamp(1.8rem, 3vw, 2.4rem); letter-spacing: -.02em; margin: 6px 0 18px; }
.drawer ol { padding-left: 1.2em; margin-bottom: 1em; }
.drawer ol li { margin-bottom: 6px; }
.drawer p { color: var(--ink-soft); }
.spec { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.spec li { padding: 6px 12px; border-radius: 999px; background: var(--lime-tint); color: var(--forest); font-size: .85rem; font-weight: 700; }
.sizes { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: .95rem; }
.sizes th, .sizes td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.sizes th { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.sizes td:last-child { font-weight: 700; text-align: right; white-space: nowrap; }
.drawer__ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }

/* ---------- Colores / abanico ---------- */
.colors { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, #fff, var(--mist)); overflow: hidden; }
.colors__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.colors__copy > p { color: var(--ink-soft); font-size: 1.08rem; margin: 22px 0 26px; max-width: 30em; }
.colors__pick { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.colors__pick-sw { width: 56px; height: 56px; border-radius: 16px; background: var(--c, var(--lime)); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08), var(--shadow); transition: background .5s; }
.colors__pick small { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; }
.colors__pick strong { font-family: var(--ff-display); font-size: 1.7rem; line-height: 1.1; }

.fan { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1.85; margin-bottom: 8%; }
.fan__strip {
  --push: 0cqw;
  position: absolute; left: 50%; bottom: 0;
  width: 47cqw; height: 6.2cqw; margin-bottom: -3.1cqw;
  transform-origin: 0 50%;
  transform: rotate(var(--a, -90deg)) translateX(var(--push));
  border: 0; padding: 0 1.4cqw 0 0;
  border-radius: 0 1cqw 1cqw 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(0, 0, 0, .08)), var(--c);
  box-shadow: 0 .4cqw 1cqw rgba(0, 0, 0, .18);
  display: flex; align-items: center; justify-content: flex-end;
  color: var(--t, #fff);
  font-family: var(--ff-body); font-weight: 800; font-size: clamp(6px, 1.25cqw, 12px); letter-spacing: .06em; text-transform: uppercase;
  transition: --push .4s, box-shadow .3s;
}
.fan__strip span { display: block; white-space: nowrap; pointer-events: none; }
.fan__strip.is-flip span { transform: rotate(180deg); }
.fan__strip::before { /* textura de puntos Non Woven */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background-image: radial-gradient(rgba(0, 0, 0, .12) 18%, transparent 22%);
  background-size: .9cqw .9cqw; opacity: .7;
}
.fan__strip:hover, .fan__strip:focus-visible { --push: 3.2cqw; z-index: 40 !important; }
.fan__strip.is-active { --push: 4.6cqw; z-index: 41 !important; box-shadow: 0 0 0 .35cqw #fff, 0 .8cqw 2cqw rgba(0, 0, 0, .3); }
.fan__rivet {
  position: absolute; left: 50%; bottom: 0; z-index: 60;
  width: 15cqw; aspect-ratio: 1; transform: translate(-50%, 50%);
  border-radius: 50%; background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 0 0 1cqw rgba(255, 255, 255, .6), var(--shadow-lg);
}
.fan__rivet img { width: 58%; height: auto; }
@property --push { syntax: "<length>"; inherits: false; initial-value: 0px; }

/* ---------- Configurador ---------- */
.cfg { padding: clamp(80px, 10vw, 140px) 0; background: var(--mist); }
.cfg__head { max-width: 760px; margin-bottom: 48px; }
.cfg__head > p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 18px; }
.cfg__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(20px, 3vw, 44px); align-items: start; }
.cfg__stage { position: sticky; top: calc(var(--header-h) + 16px); }
.cfg__canvas {
  position: relative; aspect-ratio: 560 / 600; max-height: calc(100vh - var(--header-h) - 120px); margin-inline: auto;
  border-radius: 34px; overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, #fff 0%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(rgba(44, 62, 80, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(44, 62, 80, .05) 1px, transparent 1px) 0 0 / 28px 28px,
    var(--mist-2);
  perspective: 1200px;
}
.cfg__canvas svg { width: 100%; height: 100%; transition: transform .7s var(--ease); }
.cfg__canvas.is-flipping svg { transform: rotateY(90deg); }
.cfg__tools { display: flex; gap: 10px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.cfg__caption { text-align: center; margin: 12px 0 0; font-weight: 700; font-size: .95rem; color: var(--ink-soft); }

.cfg__panel { display: flex; flex-direction: column; gap: 14px; }
.step { margin: 0; border: 0; padding: 22px 22px 24px; border-radius: 24px; background: #fff; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--ff-display); font-weight: 700; font-size: 1.3rem; }
.step legend small { font-family: var(--ff-body); font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.step legend + * { clear: both; }
.step__n { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lime); color: var(--forest); font-family: var(--ff-body); font-size: .85rem; font-weight: 800; }
.step__label { margin: 14px 0 10px; font-size: .9rem; color: var(--ink-soft); }
.step__label strong { color: var(--ink); }

.opts { display: grid; gap: 10px; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opts--3 { grid-template-columns: repeat(3, 1fr); }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt span {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px 10px; border-radius: 16px;
  border: 1.5px solid var(--line); background: #fff;
  font-size: .8rem; font-weight: 700; text-align: center; line-height: 1.15;
  transition: border-color .25s, background .25s, color .25s, transform .3s var(--ease);
}
.opt span::before {
  content: ""; width: 48px; height: 48px; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
  color: var(--ink-soft); transition: color .25s, transform .4s var(--ease);
}
.opt:hover span { border-color: var(--green); }
.opt input:checked + span { border-color: var(--green-deep); background: var(--lime-tint); color: var(--forest); }
.opt input:checked + span::before { color: var(--green-deep); transform: scale(1.08) rotate(-4deg); }
.opt input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.opt input:disabled + span { opacity: .35; cursor: not-allowed; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); font-size: .86rem; font-weight: 700; transition: background .25s, border-color .25s, color .25s; }
.seg input:checked + span { background: var(--forest); border-color: var(--forest); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.seg input:disabled + span { opacity: .35; }
.seg[hidden] { display: none; }

.range { display: grid; grid-template-columns: 64px 1fr 52px; align-items: center; gap: 12px; margin-bottom: 10px; }
.range label { font-weight: 700; font-size: .92rem; }
.range output { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.range output::after { content: " cm"; font-weight: 600; font-size: .78rem; color: var(--ink-soft); }
.range[hidden] { display: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green-deep) var(--p, 50%), var(--mist-2) var(--p, 50%)); }
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--green-deep) var(--p, 50%), var(--mist-2) var(--p, 50%)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; background: #fff; border: 3px solid var(--green-deep); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--green-deep); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.2); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(30px, 1fr)); gap: 8px; }
.swatches--sm { grid-template-columns: repeat(auto-fill, minmax(26px, 1fr)); gap: 7px; }
.sw {
  position: relative; aspect-ratio: 1; width: 100%;
  border-radius: 50%; border: 0; padding: 0;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.sw:hover { transform: scale(1.15); z-index: 1; }
.sw[aria-checked="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--forest); transform: scale(1.06); }
.sw--metal { background: linear-gradient(135deg, var(--c2), var(--c) 45%, var(--c2) 55%, var(--c)); }

.drop {
  position: relative; display: flex; align-items: center; gap: 14px;
  margin-top: 16px; padding: 16px 18px; border-radius: 16px;
  border: 1.5px dashed #B9C6CF; background: var(--mist);
  cursor: pointer; transition: border-color .25s, background .25s;
  font-size: .92rem; line-height: 1.35;
}
.drop small { color: var(--ink-soft); font-size: .78rem; }
.drop .ic { width: 30px; height: 30px; color: var(--green-deep); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop:hover, .drop.is-over { border-color: var(--green-deep); background: var(--lime-tint); }
.drop.is-loaded { border-style: solid; border-color: var(--green-deep); }

.qty { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.qty input { width: 120px; height: 48px; text-align: center; font-weight: 800; font-size: 1.2rem; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty__btn { width: 48px; height: 48px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-size: 1.4rem; font-weight: 700; transition: background .2s, border-color .2s; }
.qty__btn:hover { border-color: var(--green-deep); background: var(--lime-tint); }
.qty > span { font-weight: 700; color: var(--ink-soft); }
.impact { display: flex; gap: 12px; align-items: flex-start; margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--lime-tint); font-size: .9rem; }
.impact p { margin: 0; }
.impact .ic { width: 22px; height: 22px; color: var(--green-deep); margin-top: 2px; }
.impact strong { color: var(--green-deep); font-size: 1.05rem; }

.summary { padding: 26px; border-radius: 24px; background: var(--forest); color: #fff; }
.summary h3 { font-family: var(--ff-display); font-size: 1.6rem; margin-bottom: 14px; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0 0 22px; font-size: .92rem; }
.summary dt { color: rgba(255, 255, 255, .62); font-weight: 600; }
.summary dd { margin: 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.summary dd i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .5); flex: none; }
.summary__ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.summary .btn--ghost { --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.summary .btn--ghost:hover { color: var(--forest); }
.summary .btn--primary { --bg: var(--lime); --fg: var(--forest); }
.summary .btn--primary::before { background: #fff; }
.summary .link-btn { color: var(--lime); }
.summary__note { margin: 16px 0 0; font-size: .82rem; color: rgba(255, 255, 255, .62); }

/* SVG de la bolsa */
.bag-face, .bag-side, .bag-back, .bag-strap, .bag-bies, .art-ink, .art-2, .art-vein { transition: fill .7s var(--ease), stroke .7s var(--ease); }
.dim line, .dim path { stroke: var(--ink); stroke-width: 1.5; fill: none; }
.dim text { font-family: var(--ff-body); font-weight: 800; font-size: 15px; fill: var(--ink); }
.dim rect { fill: #fff; }

/* ---------- Material ---------- */
.material { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 150px) 0; background: var(--forest); color: #fff; }
.material__bg { position: absolute; inset: 0; opacity: .18; }
.material__bg img { width: 100%; height: 100%; object-fit: cover; }
.material__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--forest) 30%, rgba(23, 63, 29, .4)); }
.material__in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; margin: 34px 0 26px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.tabs button { height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: rgba(255, 255, 255, .78); font-weight: 700; transition: background .3s, color .3s; }
.tabs button[aria-selected="true"] { background: var(--lime); color: var(--forest); }
.tabpanel { animation: fade-up .6s var(--ease); }
.tabpanel p { font-size: 1.1rem; color: rgba(255, 255, 255, .84); max-width: 34em; }
.tabpanel strong { color: #fff; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.aka { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 30px; }
.aka li { padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(141, 198, 63, .45); color: var(--lime); font-weight: 700; font-size: .85rem; }
.mstats { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.mstats strong { display: block; font-family: var(--ff-display); font-size: clamp(2.6rem, 4.5vw, 3.6rem); line-height: 1; color: var(--lime); }
.mstats span { font-size: .85rem; color: rgba(255, 255, 255, .7); font-weight: 600; }

.lens-card { position: relative; aspect-ratio: 1; border-radius: 50% 50% 34px 34px; overflow: hidden; cursor: none; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.lens-card__img, .lens {
  background-color: var(--lime);
  background-image:
    radial-gradient(circle, rgba(23, 63, 29, .28) 22%, transparent 26%),
    radial-gradient(circle, rgba(255, 255, 255, .18) 22%, transparent 26%),
    repeating-linear-gradient(37deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 7px),
    repeating-linear-gradient(-53deg, rgba(23, 63, 29, .08) 0 1px, transparent 1px 5px);
  background-size: 22px 22px, 22px 22px, auto, auto;
  background-position: 0 0, 11px 11px, 0 0, 0 0;
}
.lens-card.has-img .lens-card__img, .lens-card.has-img .lens { background-image: var(--img); background-size: cover; background-position: center; }
.lens-card__img { position: absolute; inset: 0; }
.lens {
  position: absolute; left: 0; top: 0; width: 190px; height: 190px; margin: -95px 0 0 -95px;
  border-radius: 50%; border: 4px solid #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4);
  opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease);
  pointer-events: none;
}
.lens-card.is-on .lens { opacity: 1; transform: scale(1); }
.lens-card__tag { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 8px 16px; border-radius: 999px; background: rgba(16, 48, 26, .75); backdrop-filter: blur(6px); font-size: .82rem; font-weight: 700; white-space: nowrap; }

/* ---------- Proceso ---------- */
.process { padding: clamp(80px, 10vw, 140px) 0; }
.process__head { margin-bottom: 56px; }
.process__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.process__path { position: absolute; left: 0; top: 40px; width: 100%; height: 420px; z-index: -1; overflow: visible; }
.process__path path { fill: none; stroke: var(--lime); stroke-width: 3; stroke-dasharray: 8 10; }
.pstep { position: relative; padding: 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.pstep:nth-child(even) { margin-top: 60px; }
.pstep__n { position: absolute; right: 22px; top: 18px; font-family: var(--ff-display); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--mist-2); }
.pstep__ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--lime-tint); color: var(--green-deep); margin-bottom: 20px; }
.pstep__ic .ic { width: 28px; height: 28px; }
.pstep h3 { font-family: var(--ff-display); font-size: 1.45rem; margin-bottom: 10px; letter-spacing: -.01em; }
.pstep p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.pstep__img { aspect-ratio: 4 / 3; border-radius: 18px; margin-bottom: 20px; }
.pstep--photo .pstep__n { color: #fff; z-index: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .3); top: 34px; right: 38px; }

/* ---------- Fundas ---------- */
.covers { padding: clamp(80px, 10vw, 140px) 0; background: var(--mist); }
.covers__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.covers__copy > p { color: var(--ink-soft); font-size: 1.08rem; margin: 22px 0 26px; }
.covers__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.covers__list button { height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; font-size: .88rem; transition: background .25s, border-color .25s, color .25s; }
.covers__list button:hover { border-color: var(--green-deep); }
.covers__list button[aria-checked="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.covers__opts { display: flex; flex-wrap: wrap; gap: 18px; }
.check { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .92rem; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--green-deep); }
.covers__stage { position: relative; aspect-ratio: 400 / 520; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); padding: 4%; }
.cover { width: 100%; height: 100%; }
.cover .cv-body { fill: var(--green-deep); transition: fill .4s; }
.cover .cv-win { fill: rgba(220, 240, 255, .55); stroke: rgba(255, 255, 255, .9); stroke-width: 1.5; }
.cover text { font-family: var(--ff-body); font-weight: 700; font-size: 11px; fill: var(--ink-soft); }
.covers__dim { position: absolute; right: 6%; top: 5%; text-align: right; }
.covers__dim strong { display: block; font-family: var(--ff-display); font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1; }
.covers__dim span { font-size: .85rem; font-weight: 700; color: var(--green-deep); }

/* ---------- Sectores ---------- */
.sectors { padding: clamp(80px, 10vw, 140px) 0; }
.sectors__head { margin-bottom: 48px; max-width: 800px; }
.sectors__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sector { position: relative; overflow: hidden; padding: 26px 22px; border-radius: 24px; background: var(--mist); transition: background .4s, transform .4s var(--ease); isolation: isolate; }
.sector::before { content: ""; position: absolute; z-index: -1; left: var(--mx, 50%); top: var(--my, 50%); width: 10px; height: 10px; border-radius: 50%; background: var(--lime); transform: translate(-50%, -50%) scale(0); transition: transform .6s var(--ease); }
.sector:hover::before { transform: translate(-50%, -50%) scale(80); }
.sector:hover { transform: translateY(-4px); }
.sector .ic { width: 38px; height: 38px; color: var(--green-deep); margin-bottom: 26px; transition: transform .5s var(--ease), color .3s; }
.sector:hover .ic { transform: rotate(-10deg) scale(1.12); color: var(--forest); }
.sector h3 { font-family: var(--ff-display); font-size: 1.3rem; margin-bottom: 8px; }
.sector p { margin: 0; font-size: .92rem; color: var(--ink-soft); transition: color .3s; }
.sector:hover p { color: var(--forest); }

/* ---------- Blog ---------- */
.blog { padding: 0 0 clamp(80px, 10vw, 140px); }
.blog__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.blog__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.post { display: block; text-decoration: none; border-radius: 24px; padding: 14px 14px 22px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--ease), box-shadow .5s; }
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.post__art { aspect-ratio: 5 / 3; border-radius: 16px; overflow: hidden; background: color-mix(in srgb, var(--p) 22%, #fff); margin-bottom: 18px; }
.post__art svg { width: 100%; height: 100%; fill: var(--p); stroke: color-mix(in srgb, var(--p) 60%, #000); stroke-width: 3; stroke-linecap: round; transition: transform .8s var(--ease); }
.post__art svg path[opacity] { stroke: none; }
.post__run { fill: none !important; }
.post:hover .post__art svg { transform: scale(1.08); }
.post__tag { display: inline-block; margin: 0 8px 8px; padding: 4px 10px; border-radius: 999px; background: var(--mist); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-deep); }
.post h3 { margin: 0 8px; font-family: var(--ff-display); font-size: 1.2rem; line-height: 1.25; }

/* ---------- Contacto ---------- */
/* la altura sigue al ancho para que el titular quepa en el centro blanco del flat lay */
.contact__banner { position: relative; overflow: hidden; height: clamp(420px, 56vw, 760px); display: grid; place-items: center; background: radial-gradient(circle at 50% 50%, #fff 0%, var(--lime-tint) 60%, #DDEFC4 100%); text-align: center; }
.contact__bg { position: absolute; inset: 0; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 34% 32% at 50% 50%, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .6) 62%, rgba(255, 255, 255, 0) 100%); }
.contact__big { position: relative; font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.4rem, 5.8vw, 5.4rem); line-height: .92; letter-spacing: -.04em; color: var(--forest); }
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); padding-top: clamp(50px, 7vw, 90px); padding-bottom: clamp(80px, 10vw, 130px); align-items: start; }
.cform { padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius); background: var(--mist); }
.cform h3 { font-family: var(--ff-display); font-size: 1.8rem; margin-bottom: 22px; }
.field { position: relative; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 24px 16px 10px; border-radius: 14px;
  border: 1.5px solid transparent; background: #fff; outline: none;
  transition: border-color .25s, box-shadow .25s; resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E50' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.field label { position: absolute; left: 17px; top: 17px; font-weight: 600; color: var(--ink-soft); pointer-events: none; transition: transform .25s var(--ease), font-size .25s, color .25s; transform-origin: left; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-deep); box-shadow: 0 0 0 4px rgba(141, 198, 63, .25); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field label.is-static { transform: translateY(-11px); font-size: .75rem; color: var(--green-deep); }
.cform__err { color: #B3261E; font-weight: 700; font-size: .9rem; }
.cform__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.cinfo__list { list-style: none; display: grid; gap: 22px; margin-bottom: 28px; }
.cinfo__list li { display: flex; gap: 16px; align-items: flex-start; }
.cinfo__list .ic { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--lime-tint); color: var(--green-deep); }
.cinfo__list small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.cinfo__list a { font-weight: 700; font-size: 1.05rem; text-decoration: none; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 2px no-repeat; transition: background-size .4s var(--ease); }
.cinfo__list a:hover { background-size: 100% 2px; }
.pay small { display: block; font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 10px; }
.pay__row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.pay__item { height: 48px; padding: 0 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line); display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; }
.pay__item img { height: 24px; width: auto; }
.pay__item .ic { color: var(--green-deep); }
.map { position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%) 0 0 / 100% 100%,
    linear-gradient(20deg, transparent 60%, #fff 60% 62.5%, transparent 62.5%) 0 0 / 100% 100%,
    linear-gradient(rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255, 255, 255, .7) 2px, transparent 2px) 0 0 / 46px 46px,
    #DCE9D2; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--forest); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); }
.map__load:hover { transform: scale(1.05); }

/* ---------- Footer ---------- */
.footer { position: relative; overflow: hidden; background: var(--forest-2); color: rgba(255, 255, 255, .78); padding: 80px 0 0; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer__brand img { width: 150px; height: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 26em; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: 10px; }
.footer .wrap a { text-decoration: none; font-weight: 600; width: fit-content; transition: color .25s; }
.footer .wrap a:hover { color: var(--lime); }
.footer__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; font-size: .85rem; position: relative; z-index: 1; }
.footer__legal p { margin: 0; }
.footer__legal a { color: var(--lime); }
.footer__word { font-family: var(--ff-display); font-weight: 900; font-size: 25vw; line-height: .78; letter-spacing: -.05em; text-align: center; color: rgba(141, 198, 63, .1); margin-bottom: -.12em; user-select: none; }
.footer__word::before { content: "Bolsart"; } /* marca de agua decorativa: como pseudo-elemento no cuenta como texto */

/* ---------- Revelados ---------- */
html.js [data-reveal="up"] { opacity: 0; transform: translateY(46px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js [data-reveal="clip"] { clip-path: inset(18% 12% 18% 12% round 40px); transition: clip-path 1.4s var(--ease); }
html.js [data-reveal].is-in { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav a { padding: 10px 10px; font-size: .9rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .sectors__grid, .blog__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .pstep:nth-child(even) { margin-top: 0; }
  .process__path { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .header.is-scrolled .topbar { margin-top: 0; }
  .brand img, .header.is-scrolled .brand img { height: 50px; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0;
    padding: 90px var(--gutter) 40px;
    background: var(--forest);
    clip-path: circle(0 at calc(100% - 40px) 36px);
    transition: clip-path .7s var(--ease);
  }
  .nav a { color: #fff; font-family: var(--ff-display); font-size: clamp(2rem, 8vw, 3rem); padding: 6px 0; }
  .nav a::after { left: 0; right: auto; width: 60px; bottom: 4px; }
  .nav-open .nav { clip-path: circle(150% at calc(100% - 40px) 36px); }
  .nav-open .header { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; }
  .nav-open .burger { background: var(--lime); border-color: var(--lime); }
  .nav-open .brand img { filter: brightness(0) invert(1); }
  .nav-open .header__cta { visibility: hidden; }

  .hero { padding-top: calc(var(--header-h) + 28px); min-height: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; width: 100%; margin-inline: auto; }
  .hero__blob { right: -40vw; top: auto; bottom: -10%; width: 120vw; }
  .hero__scroll { display: none; }

  .manifest__in, .colors__in, .material__in, .covers__in, .contact__grid { grid-template-columns: 1fr; }
  .manifest__media { position: relative; top: 0; max-width: 460px; }
  .manifest__sticker { right: 10px; width: 108px; height: 108px; font-size: .92rem; }

  .catalog__pin { min-height: 0; }
  .catalog__viewport { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .catalog__viewport::-webkit-scrollbar { display: none; }
  .pcard { scroll-snap-align: center; width: min(78vw, 340px); }

  .cfg__grid { grid-template-columns: 1fr; }
  .cfg__stage { position: sticky; top: calc(var(--header-h) - 6px); z-index: 5; background: var(--mist); padding-bottom: 8px; }
  .cfg__canvas { aspect-ratio: auto; height: min(42vh, 380px); max-height: none; border-radius: 24px; }
  .cfg__tools { margin-top: 10px; }
  .cfg__caption { display: none; }
  .header.is-hidden ~ main .cfg__stage { top: 0; }

  .lens-wrap { max-width: 480px; }
  .covers__stage { max-width: 440px; width: 100%; margin-inline: auto; }
  .footer__in { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .decay__head { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .header__cta span { display: none; }
  .header__cta { width: 46px; padding: 0; }
  .hero__facts strong { font-size: 1.8rem; }
  .hero__orbit button { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-width: 2px; }
  .hero__hint { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .stats { gap: 10px; }
  .stat { padding: 18px 14px; }
  .decay__row { grid-template-columns: 1fr; gap: 8px; }
  .decay__scale { margin-left: 0; }
  .opts--4 { grid-template-columns: repeat(2, 1fr); }
  .step { padding: 18px 16px 20px; }
  .range { grid-template-columns: 56px 1fr 48px; gap: 8px; }
  .sectors__grid, .blog__grid, .process__grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cform__ctas .btn, .summary__ctas .btn { flex: 1 1 100%; }
  .footer__in { grid-template-columns: 1fr; }
  .fab { width: 54px; height: 54px; right: 14px; bottom: 14px; }
  .manifest__sticker { width: 92px; height: 92px; font-size: .8rem; bottom: 20px; }
  .marquee { padding: 16px 0; }
  .tabs button { padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; }
  .hero__orbit { animation: none; }
}
