/* =========================================================
   Global Plastic — sitio web
   Paleta salida del logo: morado #422872, lavanda #7e69a2, lima #a4c635
   ========================================================= */

/* ---------- Tokens ---------- */
@property --roll {
  syntax: "<color>";
  inherits: true;
  initial-value: #1d4fb8;
}

:root {
  --ink: #0f0b18;
  --ink-2: #161026;
  --ink-3: #221a38;
  --purple: #422872;
  --violet: #7e69a2;
  --violet-2: #b3a1d6;
  --lime: #a4c635;
  --lime-2: #c2e25a;
  --paper: #f4f2ee;
  --paper-2: #e9e5de;
  --white: #ffffff;

  --text: #f3f0f8;
  --muted: #b9b0c9;
  --text-d: #17112a;
  --muted-d: #544b63;
  --line: rgba(255, 255, 255, 0.1);
  --line-d: rgba(23, 17, 42, 0.12);
  --wa: #25d366;
  --error: #ff8f8f;

  --f-display: "Syne", "DM Sans", sans-serif;
  --f-body: "DM Sans", sans-serif;
  --f-mono: "IBM Plex Mono", monospace;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(80px, 11vw, 150px);
  --radius: 20px;
  --radius-sm: 12px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-ui: 0.3s ease;
  --t-reveal: 0.8s var(--ease);
  --nav-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Tipografía de sección ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.eyebrow--dark { color: var(--purple); }

.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); color: var(--text-d); }
.section--ink { background: var(--ink); }
.section--ink2 { background: var(--ink-2); }

.head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2, .colores h2, .proceso h2, .cacique h2 {
  font-size: clamp(2.1rem, 1.1rem + 4.2vw, 4.4rem);
  font-weight: 800;
}
.head h2 span, .colores h2 span, .proceso h2 span { color: var(--violet-2); }
.section--paper .head h2 span { color: var(--purple); }
.head__lead { margin-top: 20px; color: var(--muted); max-width: 56ch; font-size: 1.125rem; }
.section--paper .head__lead { color: var(--muted-d); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform var(--t-ui), background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui), box-shadow var(--t-ui);
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-2); box-shadow: 0 10px 30px -10px rgba(164, 198, 53, 0.7); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.28); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, 0.06); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--purple); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 0.95rem; }
.btn--block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--nav-h);
}
.nav::before {
  /* el vidrio va en una capa aparte: backdrop-filter en .nav encerraría el menú fijo */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(15, 11, 24, 0.84);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity var(--t-ui);
}
.nav.is-scrolled::before, .nav.is-open::before { opacity: 1; }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand__name b { color: var(--lime); margin-left: 4px; font-weight: 800; }

.nav__links {
  position: fixed; inset: var(--nav-h) 0 0 0;
  background: var(--ink);
  display: flex; flex-direction: column; gap: 4px;
  padding: 32px var(--gutter);
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: opacity var(--t-ui), transform var(--t-ui), visibility var(--t-ui);
}
.nav.is-open .nav__links { opacity: 1; transform: none; visibility: visible; }
.nav__links a:not(.btn) {
  font-family: var(--f-display); font-weight: 700; font-size: 2rem;
  text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--line);
}
.nav__links .btn { margin-top: 24px; min-height: 56px; font-size: 1.05rem; }

.nav__toggle {
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; cursor: pointer; display: grid; place-content: center; gap: 6px;
}
.nav__toggle span { display: block; width: 20px; height: 2px; background: var(--text); transition: transform var(--t-ui); }
.nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (min-width: 900px) {
  .nav__toggle { display: none; }
  .nav__links {
    position: static; flex-direction: row; align-items: center; gap: 30px;
    background: none; padding: 0; opacity: 1; visibility: visible; transform: none;
  }
  .nav__links a:not(.btn) {
    font-family: var(--f-body); font-weight: 500; font-size: 0.95rem;
    border: 0; padding: 6px 0; color: var(--muted); position: relative;
    transition: color var(--t-ui);
  }
  .nav__links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui);
  }
  .nav__links a:not(.btn):hover { color: var(--text); }
  .nav__links a:not(.btn):hover::after { transform: scaleX(1); }
  .nav__links .btn { margin-top: 0; min-height: 42px; font-size: 0.95rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero__film { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero::before {
  /* oscurece el lado del texto */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15, 11, 24, 0.92) 0%, rgba(15, 11, 24, 0.55) 55%, rgba(15, 11, 24, 0.1) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 35%);
}
.hero::after {
  /* grano de película */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner { padding-bottom: clamp(40px, 7vw, 88px); }
.hero__title {
  font-size: clamp(2.4rem, 0.9rem + 6.6vw, 6rem);
  font-weight: 800; line-height: 0.95; letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero__title em {
  font-style: normal; color: var(--lime); position: relative; white-space: nowrap;
}
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.08em;
  background: var(--lime); border-radius: 99px;
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s var(--ease) 0.6s;
}
.hero__title.is-in em::after { transform: scaleX(1); }
.hero__lead { margin-top: 26px; max-width: 52ch; color: var(--muted); font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.25rem); }
.hero__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 220px; }
@media (min-width: 640px) { .hero__ctas .btn { flex: 0 0 auto; } }
.hero__facts {
  margin-top: clamp(40px, 6vw, 64px);
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--f-mono); font-size: 0.85rem; color: var(--text);
}
.hero__facts span { color: var(--lime); margin-right: 6px; }

.ticker {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 16px 0; background: rgba(15, 11, 24, 0.6);
}
.ticker__track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker span {
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  white-space: nowrap; padding-inline: 22px; display: inline-flex; align-items: center; gap: 44px;
  color: var(--muted);
}
.ticker span::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Quiénes somos ---------- */
.nosotros__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .nosotros__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 80px; align-items: center; } }
.nosotros .head { margin-bottom: 28px; }
.nosotros__text p:not(.eyebrow) { color: var(--muted); max-width: 54ch; font-size: 1.1rem; }
.nosotros__text p + p { margin-top: 16px; }

.mv { display: grid; gap: 16px; }
.mv__card {
  position: relative; overflow: hidden;
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 36px);
  transition: border-color var(--t-ui), translate 0.5s var(--ease);
}
.mv__card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--lime); }
.mv__card--vision::before { background: var(--violet-2); }
.mv__card:hover { border-color: rgba(255, 255, 255, 0.22); translate: 0 -4px; }
.mv__label {
  font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 14px;
}
.mv__card--vision .mv__label { color: var(--violet-2); }
.mv__text { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem); line-height: 1.3; letter-spacing: -0.01em; }

/* ---------- Productos (bento) ---------- */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, 1fr); }
  .bento .card--wide { grid-column: span 2; flex-direction: row; }
  .bento .card--wide img { width: 58%; aspect-ratio: auto; height: auto; }
  .bento .card--full { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0 32px; }
  .bento .card--full .card__ico { margin-bottom: 0; }
  .bento .card--full .card__cta { margin-top: 0; }
}

.card {
  position: relative; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line-d); border-radius: var(--radius);
  padding: 26px; overflow: hidden;
  transition: transform var(--t-ui), box-shadow var(--t-ui), border-color var(--t-ui);
}
.card:hover { transform: translateY(-4px); border-color: rgba(66, 40, 114, 0.35); box-shadow: 0 24px 50px -28px rgba(66, 40, 114, 0.45); }
.card h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.card p { color: var(--muted-d); font-size: 1rem; }
.card__ico {
  width: 64px; height: 64px; padding: 12px; margin-bottom: 26px;
  color: var(--purple); background: #ece6f6; border-radius: 16px;
  transition: transform var(--t-ui), background-color var(--t-ui), color var(--t-ui);
}
.card:hover .card__ico { transform: rotate(-6deg) scale(1.05); background: var(--lime); color: var(--ink); }
.card__ico--red { color: #b3121e; background: #fbe4e5; }

.specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.specs li {
  font-family: var(--f-mono); font-size: 0.75rem; font-weight: 500;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-d); color: var(--muted-d);
}
.card__cta {
  margin-top: auto; font-weight: 700; color: var(--purple); text-decoration: none;
  display: inline-flex; gap: 8px; align-items: center; min-height: 44px;
}
.card__cta::after { content: ""; position: absolute; inset: 0; } /* toda la tarjeta es el enlace */
.card__cta span { transition: transform var(--t-ui); }
.card:hover .card__cta span { transform: translateX(5px); }

.card--photo { padding: 0; }
.card--photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card--photo .card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.card--wide h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); }

.card--ink { background: var(--ink); color: var(--text); border-color: var(--ink); }
.card--ink p { color: var(--muted); }
.card--ink .card__ico { background: rgba(164, 198, 53, 0.14); color: var(--lime); }
.card--ink .card__cta { color: var(--lime); }

/* ---------- Colores: rollo interactivo ---------- */
.colores { overflow: hidden; }
.colores__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .colores__grid { grid-template-columns: 1fr 1.05fr; } }
@media (max-width: 959px) {
  /* en celular el rollo va entre el texto y los colores, para verlo cambiar al tocar */
  .colores__grid { gap: 0; }
  .colores__text { display: contents; }
  .roll-stage { order: 2; min-height: 0; margin: 4px 0 28px; }
  .swatches, .colores__pick, #colorCta { order: 3; }
  .colores__lead { margin-bottom: 8px; }
}
.colores__lead { margin: 22px 0 30px; color: var(--muted); max-width: 46ch; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; max-width: 360px; }
.swatches button {
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--c); border: 2px solid rgba(255, 255, 255, 0.22);
  box-shadow: inset 0 -6px 10px rgba(0, 0, 0, 0.25), inset 0 4px 8px rgba(255, 255, 255, 0.25);
  transition: transform var(--t-ui), box-shadow var(--t-ui);
}
.swatches button:hover { transform: translateY(-3px); }
.swatches button[aria-checked="true"] {
  transform: scale(1.08);
  box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--lime), inset 0 -6px 10px rgba(0, 0, 0, 0.25);
}
.colores__pick { margin: 22px 0 22px; font-family: var(--f-mono); font-size: 0.9rem; color: var(--muted); }
.colores__pick strong { color: var(--text); font-weight: 500; }

.roll-stage {
  position: relative; display: grid; place-items: center;
  min-height: clamp(300px, 52vw, 520px);
}
.roll-stage::before {
  content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--roll) 45%, var(--purple)) 0%, transparent 65%);
  opacity: 0.55; filter: blur(30px);
}
.roll-stage__tag {
  position: absolute; right: 4%; top: 6%;
  font-family: var(--f-mono); font-size: 0.8rem; color: var(--muted);
  border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px;
}
.roll {
  --w: min(84vw, 540px);
  position: relative; width: var(--w); height: calc(var(--w) * 0.7);
  transition: --roll 0.7s var(--ease);
  animation: rollIn 1.2s var(--ease) both;
}
.roll__body {
  position: absolute; left: 0; top: 4%;
  width: 86%; height: 42%;
  border-radius: calc(var(--w) * 0.07) 0 0 calc(var(--w) * 0.07) / 50% 0 0 50%;
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--roll) 55%, black) 0%,
    color-mix(in srgb, var(--roll) 70%, white) 22%,
    var(--roll) 46%,
    color-mix(in srgb, var(--roll) 75%, black) 78%,
    color-mix(in srgb, var(--roll) 45%, black) 100%);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.8);
}
.roll__body::after {
  /* brillo de la película */
  content: ""; position: absolute; inset: 14% 4% auto 6%; height: 10%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  border-radius: 99px; filter: blur(2px);
}
.roll__cap {
  position: absolute; top: 4%; left: calc(86% - var(--w) * 0.07);
  width: calc(var(--w) * 0.14); height: 42%;
  border-radius: 50%;
  background: repeating-radial-gradient(ellipse at center,
    color-mix(in srgb, var(--roll) 85%, white) 0 2px,
    color-mix(in srgb, var(--roll) 80%, black) 2px 4px);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--roll) 60%, black);
}
.roll__core {
  width: 42%; height: 42%; border-radius: 50%;
  background: radial-gradient(ellipse at center, #2a1d12 0 45%, #b98f5e 47% 100%);
  box-shadow: 0 0 0 2px #8a6740;
}
.roll__sheet {
  /* la película que se desenrolla */
  position: absolute; left: 3%; top: 38%;
  width: 80%; height: 60%;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 4% 100%);
  background:
    linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.28) 45%, transparent 60%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--roll) 70%, black) 0%,
      color-mix(in srgb, var(--roll) 92%, white) 40%,
      color-mix(in srgb, var(--roll) 80%, white) 100%);
  opacity: 0.92;
  transform-origin: top; animation: unroll 1.4s var(--ease) 0.3s both;
}
@keyframes unroll { from { transform: scaleY(0.05); } }
@keyframes rollIn { from { transform: translateX(14%) rotate(2deg); opacity: 0; } }

/* ---------- Proceso ---------- */
.proceso__grid { display: grid; gap: 48px; }
@media (min-width: 960px) {
  .proceso__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 80px; align-items: start; }
  .proceso__head { position: sticky; top: calc(var(--nav-h) + 48px); }
}
.proceso__head p:not(.eyebrow) { margin-top: 22px; color: var(--muted); max-width: 42ch; }
.proceso__bar { display: none; }
@media (min-width: 960px) {
  .proceso__bar { display: block; margin-top: 40px; height: 4px; border-radius: 99px; background: var(--line); overflow: hidden; max-width: 340px; }
  .proceso__bar span { display: block; height: 100%; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 0.5s var(--ease); }
}

.steps { counter-reset: step; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
  padding: 30px 0; border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__n {
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 1.6rem + 2.4vw, 3.6rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--violet);
  transition: color 0.5s ease, -webkit-text-stroke-color 0.5s ease;
  min-width: 2.2ch;
}
.step.is-active .step__n { color: var(--lime); -webkit-text-stroke-color: var(--lime); }
.step h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 700; margin: 4px 0 10px; }
.step p { color: var(--muted); max-width: 48ch; }
.step img { margin-top: 20px; border-radius: var(--radius-sm); width: 100%; max-width: 520px; aspect-ratio: 16 / 9; object-fit: cover; filter: saturate(0.9) contrast(1.05); }

/* ---------- Por qué + etiqueta de rollo ---------- */
.porque__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) { .porque__grid { grid-template-columns: 1.15fr 0.85fr; gap: 80px; } }
.porque .head { margin-bottom: 40px; }
.porque .head h2 span { color: var(--lime); }
.reasons { display: grid; gap: 0; }
@media (min-width: 640px) { .reasons { grid-template-columns: 1fr 1fr; gap: 0 36px; } }
.reasons li { padding: 24px 0; border-top: 1px solid var(--line); }
.reasons h3 { font-family: var(--f-body); font-size: 1.15rem; font-weight: 700; letter-spacing: 0; margin-bottom: 8px; }
.reasons h3::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: var(--lime); margin-right: 10px; vertical-align: middle; transform: rotate(45deg); }
.reasons p { color: var(--muted); font-size: 1rem; }

.tag {
  position: relative; margin: 0 auto; width: min(100%, 380px);
  background: var(--paper); color: var(--text-d);
  border-radius: 18px; padding: 44px 26px 22px;
  rotate: -3deg;
  box-shadow: 0 50px 80px -40px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
  transition: rotate 0.6s var(--ease), translate 0.6s var(--ease), opacity var(--t-reveal), transform var(--t-reveal);
}
.tag:hover { rotate: 0deg; translate: 0 -6px; }
.tag__hole {
  position: absolute; top: 14px; left: 50%; width: 18px; height: 18px; margin-left: -9px;
  border-radius: 50%; background: var(--ink); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
}
.tag__top { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-d); padding-bottom: 14px; border-bottom: 1.5px dashed var(--line-d); }
.tag__rows { margin: 0; }
.tag__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line-d); font-family: var(--f-mono); font-size: 0.85rem; }
.tag__rows dt { color: var(--muted-d); }
.tag__rows dd { margin: 0; font-weight: 500; text-align: right; }
.tag__rows dd.ok { background: var(--lime); color: var(--ink); padding: 1px 10px; border-radius: 99px; }
.tag__barcode {
  height: 54px; margin-top: 18px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px);
}
.tag figcaption { margin-top: 10px; font-family: var(--f-mono); font-size: 0.68rem; color: var(--muted-d); text-align: center; }

/* ---------- Industrias ---------- */
.inds { display: grid; gap: 0; counter-reset: ind; }
@media (min-width: 640px) { .inds { grid-template-columns: repeat(2, 1fr); gap: 0 36px; } }
@media (min-width: 1024px) { .inds { grid-template-columns: repeat(3, 1fr); } }
.ind { position: relative; padding: 28px 0 30px; border-top: 1.5px solid var(--text-d); counter-increment: ind; }
.ind::before {
  content: "0" counter(ind); font-family: var(--f-mono); font-size: 0.8rem; color: var(--purple); display: block; margin-bottom: 18px;
}
.ind::after {
  content: ""; position: absolute; left: 0; top: -1.5px; height: 4px; width: 100%;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.ind:hover::after { transform: scaleX(1); }
.ind h3 { font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.75rem); font-weight: 700; margin-bottom: 10px; }
.ind p { color: var(--muted-d); }

/* ---------- Marca Cacique ---------- */
.cacique { background: var(--lime); color: var(--ink); padding-block: clamp(64px, 9vw, 120px); overflow: hidden; }
.cacique__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .cacique__grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.cacique img {
  width: 100%; max-width: 380px; aspect-ratio: 1; object-fit: cover; justify-self: center; border-radius: 16px; background: var(--white); padding: 10px;
  rotate: -2.5deg; box-shadow: 0 30px 60px -30px rgba(15, 11, 24, 0.6);
}
.cacique .eyebrow { color: var(--purple); }
.cacique h2 { margin-bottom: 18px; }
.cacique p:not(.eyebrow) { max-width: 46ch; margin-bottom: 28px; font-size: 1.1rem; color: #1f2a0a; }

/* ---------- Cotizador ---------- */
.cotizar__grid { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .cotizar__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .cotizar .head { position: sticky; top: calc(var(--nav-h) + 48px); }
}
.cotizar .head h2 { font-size: clamp(2rem, 1.2rem + 2vw, 2.8rem); }
.cotizar .head h2 span { color: var(--lime); }

.quote {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 24px;
  padding: clamp(20px, 3.5vw, 36px);
  display: grid; gap: 22px;
}
.row { display: grid; gap: 22px; }
@media (min-width: 640px) { .row { grid-template-columns: 1fr 1fr; } }
.field { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 8px; align-content: start; }
.field legend, .field > label, .label { font-weight: 700; font-size: 0.95rem; padding: 0; margin-bottom: 8px; display: block; }
.field > label { margin-bottom: 0; }
.field small { font-weight: 400; color: var(--muted); }
.field abbr { color: var(--lime); text-decoration: none; }
.field__err { color: var(--error); font-size: 0.9rem; }

.quote input[type="text"], .quote input[type="number"], .quote select {
  width: 100%; min-height: 52px; padding: 0 16px;
  background: var(--ink-3); border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; transition: border-color var(--t-ui), box-shadow var(--t-ui);
}
.quote select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.quote input::placeholder { color: #8a809b; }
.quote input:focus, .quote select:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(164, 198, 53, 0.18); }
.quote [aria-invalid="true"] { border-color: var(--error) !important; }
.combo { display: grid; grid-template-columns: 1fr 140px; gap: 8px; }

.chips, .seg { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .seg label { position: relative; cursor: pointer; }
.chips input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span, .seg span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--ink-3);
  font-size: 0.95rem; font-weight: 500;
  transition: background-color var(--t-ui), color var(--t-ui), border-color var(--t-ui);
}
.chips label:hover span, .seg label:hover span { border-color: var(--violet); }
.chips input:checked + span, .seg input:checked + span { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 700; }
.chips input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.chips.is-invalid span { border-color: rgba(255, 143, 143, 0.6); }

.quote__preview { border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 16px; }
.quote__preview .label { font-family: var(--f-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; }
.quote__preview pre { margin: 0; white-space: pre-wrap; font-family: var(--f-mono); font-size: 0.85rem; color: var(--text); line-height: 1.6; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding: 72px 0 calc(32px + 72px); overflow: hidden; }
.footer__big {
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.85;
  font-size: clamp(2rem, 7.4vw, 7rem); white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  margin-bottom: 56px;
}
.footer__grid { display: grid; gap: 36px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__logo { width: 220px; background: var(--white); padding: 10px 14px; border-radius: 12px; margin-bottom: 16px; }
.footer p { color: var(--muted); max-width: 36ch; }
.footer h3 { font-family: var(--f-mono); font-size: 0.78rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--lime); margin-bottom: 14px; }
.footer li { color: var(--muted); padding: 4px 0; }
.footer li a { text-decoration: none; transition: color var(--t-ui); display: inline-block; padding: 6px 0; }
.footer li a:hover { color: var(--text); }
.footer__legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; max-width: none !important; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: var(--white);
  box-shadow: 0 14px 30px -8px rgba(37, 211, 102, 0.6);
  transition: transform var(--t-ui);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping { from { transform: scale(1); opacity: 0.8; } to { transform: scale(1.6); opacity: 0; } }
@media (min-width: 768px) { .wa-float { right: 28px; bottom: 28px; } }

/* ---------- Aparición al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--t-reveal), transform var(--t-reveal); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.tag, .js .reveal.mv__card { transition: rotate 0.6s var(--ease), translate 0.6s var(--ease), border-color var(--t-ui), opacity var(--t-reveal), transform var(--t-reveal); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ticker__track { animation: none; }
  .wa-float::before { display: none; }
}
