/* Vida Verde · vitrina. Satoshi (Indian Type Foundry, licencia ITF FFL: ver public/fonts). Tema claro único. */
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/fonts/Satoshi-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/fonts/Satoshi-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Satoshi';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/static/fonts/Satoshi-Bold.woff2') format('woff2');
}

:root {
  /* Verdes sacados del logo. */
  --brand-dark: #0b4a1a;
  --brand: #2e8b1e;
  --brand-bright: #5fae14;
  --ink: #12261a;
  --muted: #536257;
  --line: rgba(18, 38, 26, 0.1);
  --paper: #ffffff;
  --bg: #eef4e6;
  --radius: 28px;
  --wrap: 1160px;
  --sans: 'Satoshi', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 1px 2px rgba(18, 38, 26, 0.04), 0 18px 48px -18px rgba(18, 38, 26, 0.18);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  transition: background-color 0.9s var(--ease);
  -webkit-font-smoothing: antialiased;
  /* clip y no hidden: hidden vuelve al body un contenedor de scroll y rompe el position: sticky de la escena. */
  overflow-x: clip;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: min(100% - 40px, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow {
  --wrap: 720px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
}

/* ---------- Textos de apoyo ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-dark);
}
.tag .ico {
  width: 16px;
  height: 16px;
  color: var(--brand);
}
.tag--accent {
  background: color-mix(in srgb, var(--accent, var(--brand)) 12%, #fff);
  border-color: color-mix(in srgb, var(--accent, var(--brand)) 22%, transparent);
  color: color-mix(in srgb, var(--accent, var(--brand)) 80%, #000);
}

.hl {
  color: var(--brand);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 48px);
}
.section-title--left {
  margin-bottom: 24px;
}

/* ---------- Botones ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  border: 0;
  background: var(--brand-dark);
  color: #fff;
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(11, 74, 26, 0.55);
  transition:
    transform 0.3s var(--ease),
    background-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
  -webkit-touch-callout: none;
  user-select: none;
}
.pill .ico {
  color: var(--brand-bright);
}
@media (hover: hover) {
  .pill:hover {
    background: #0e5a21;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px -12px rgba(11, 74, 26, 0.6);
  }
}
.pill:active {
  transform: scale(0.98);
}
.pill--small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
}
.pill--block {
  width: 100%;
}
.pill--center {
  display: flex;
  width: fit-content;
  margin: 40px auto 0;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  -webkit-touch-callout: none;
}
.link .ico {
  width: 18px;
  height: 18px;
  transition: transform 0.3s var(--ease);
}
@media (hover: hover) {
  .link:hover .ico {
    transform: translateX(4px);
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}

/* ---------- Barra ---------- */
.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px max(20px, calc((100% - var(--wrap)) / 2));
  transition:
    background-color 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
}
.bar.is-solid {
  padding-block: 10px;
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  -webkit-touch-callout: none;
}
.brand__iso {
  width: 42px;
  height: auto;
}
.brand__name {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--brand-dark);
}
.brand__name b {
  font-weight: 700;
  color: var(--brand);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 132px 0 96px;
  overflow: clip;
}
.hero::before {
  /* Luz verde suave detrás de los envases; se desvanece sin bordes. */
  content: '';
  position: absolute;
  inset: 0 -10% auto 40%;
  height: 100%;
  background: radial-gradient(
    closest-side,
    rgba(95, 174, 20, 0.2),
    rgba(95, 174, 20, 0.06) 60%,
    transparent
  );
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero__title {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--brand-dark);
}
.hero__title .hl {
  display: block;
}
.hero__text {
  max-width: 470px;
  margin: 22px 0 32px;
  font-size: 19px;
  color: var(--muted);
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.trust .ico {
  width: 18px;
  height: 18px;
  color: var(--brand);
}

.hero__stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 500px;
  perspective: 900px;
}
.hero__pack {
  grid-area: 1 / 1;
  text-decoration: none;
  transition: transform 0.6s var(--ease);
  -webkit-touch-callout: none;
}
.hero__stage--2 {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero__stage--2 .hero__pack:nth-of-type(1) {
  z-index: 2;
}
.hero__stage--2 .hero__pack:nth-of-type(2) {
  margin-left: -4%;
}
.hero__stage--2 .pack {
  width: auto;
}
.hero__stage--3 .hero__pack:nth-of-type(1) {
  z-index: 3;
}
.hero__stage--3 .hero__pack:nth-of-type(2) {
  transform: translate(-56%, -10%);
}
.hero__stage--3 .hero__pack:nth-of-type(3) {
  transform: translate(56%, -12%);
}
.hero__stage--tilt .hero__pack {
  transform-style: preserve-3d;
}

/* ---------- Envase ---------- */
.pack {
  --size: 320px;
  margin: 0;
  width: var(--size);
  max-width: 100%;
  display: grid;
  justify-items: center;
}
.pack--md {
  --size: 236px;
}
.pack--sm {
  --size: 130px;
}
.pack__float {
  width: 100%;
  filter: drop-shadow(0 26px 30px rgba(18, 38, 26, 0.2));
}
.pack__svg {
  width: 100%;
  height: auto;
}
/* Foto real: se mide por alto para que frascos y botellas queden parejos. */
.pack__img {
  width: auto;
  max-width: 100%;
  height: calc(var(--size) * 1.25);
  margin-inline: auto;
  object-fit: contain;
  -webkit-touch-callout: none;
  user-select: none;
}
.pack__cap {
  fill: #1f2d24;
}
.pack__cap-line {
  fill: rgba(255, 255, 255, 0.1);
}
.pack__glass {
  fill: color-mix(in srgb, var(--accent) 62%, #12060c);
}
.pack__glass--solid {
  fill: color-mix(in srgb, var(--accent) 14%, #fbfaf6);
}
.pack__name {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  fill: var(--label-ink, #fff);
}
.pack__sub {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  fill: var(--label-ink, #fff);
  opacity: 0.8;
}
.pack__shadow {
  width: 50%;
  height: 16px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(18, 38, 26, 0.22), transparent);
}

/* ---------- Producto ---------- */
.anchor {
  height: 0;
}
.product {
  padding: 48px 0;
  overflow-x: clip;
}
.product__card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.product--flip .product__media {
  order: 2;
}
.product__media {
  display: grid;
  place-items: center;
  min-height: 480px;
  padding: 40px 24px;
  background:
    radial-gradient(
      circle at 50% 46%,
      color-mix(in srgb, var(--accent) 20%, #fff) 0,
      transparent 68%
    ),
    color-mix(in srgb, var(--accent) 7%, #fbfcf8);
}
.product__info {
  padding: clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product__info .tag {
  align-self: flex-start;
  border-radius: 12px;
  line-height: 1.4;
}
.product__title {
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--ink);
}
.product__tagline {
  margin-top: 12px;
  font-size: 19px;
  color: var(--muted);
}

.contains {
  margin-top: 26px;
}
.contains__label {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 7px 14px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  font-size: 15px;
  font-weight: 500;
}

.claims {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.claims li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.claims .ico {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.price {
  display: grid;
  gap: 2px;
}
.price__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price strong {
  font-size: 30px;
  letter-spacing: -0.02em;
}
.price__ask {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.price__note {
  font-size: 14px;
  color: var(--muted);
}

.fine {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #f6f7f2;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--muted);
}
.fine .ico {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--brand);
}

.product__about {
  margin-top: 14px;
  max-width: 520px;
  font-size: 16px;
  color: var(--muted);
}

/* ---------- Ficha técnica y preguntas ---------- */
.info {
  padding: 8px 0 40px;
}
.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.facts,
.info__faq {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.facts__title {
  font-size: clamp(24px, 2.6vw, 30px);
  margin-bottom: 10px;
}
.facts__lead {
  color: var(--muted);
  margin-bottom: 20px;
}
.facts__list {
  margin: 0;
}
.facts__list div {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) 1.1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.facts__list dt {
  font-size: 15px;
  color: var(--muted);
}
.facts__list dd {
  margin: 0;
  font-weight: 700;
}
.facts__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
}
.info__faq .facts__title {
  margin-bottom: 18px;
}
.faq__item {
  border-radius: 18px;
  background: #f6f8f1;
  border: 1px solid var(--line);
}
.faq-section .faq__item {
  background: var(--paper);
}
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  -webkit-touch-callout: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary .ico {
  width: 18px;
  height: 18px;
  color: var(--brand);
  transform: rotate(90deg);
  transition: transform 0.3s var(--ease);
}
.faq__item[open] summary .ico {
  transform: rotate(-90deg);
}
.faq__item p {
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq-section {
  padding: 24px 0 96px;
}

/* ---------- Página de producto ---------- */
.product.detail {
  padding-top: 112px;
}
.crumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 15px;
  color: var(--muted);
}
.crumbs a {
  text-decoration: none;
}
@media (hover: hover) {
  .crumbs a:hover {
    color: var(--brand-dark);
    text-decoration: underline;
  }
}

/* ---------- Pasos ---------- */
.steps {
  padding: 96px 0;
}
.steps__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: paso;
}
.step {
  position: relative;
  padding: 30px 28px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  counter-increment: paso;
}
.step::after {
  content: counter(paso);
  position: absolute;
  top: 24px;
  right: 26px;
  font-size: 15px;
  font-weight: 700;
  color: color-mix(in srgb, var(--brand) 55%, #fff);
}
.step__ico {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: #eef6e4;
  color: var(--brand);
}
.step h3 {
  font-size: 21px;
  margin-bottom: 8px;
}
.step p {
  color: var(--muted);
}

/* ---------- Más productos ---------- */
.more {
  padding: 24px 0 96px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.card a {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 18px 18px 24px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-decoration: none;
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  -webkit-touch-callout: none;
}
@media (hover: hover) {
  .card a:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
}
.card__media {
  display: grid;
  place-items: center;
  padding: 18px 0 8px;
  margin-bottom: 10px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 8%, #fbfcf8);
}
.card__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.card__tag {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Documentos (privacidad, 404) ---------- */
.doc {
  padding: 132px 0 96px;
}
.doc p {
  margin-bottom: 16px;
  color: var(--muted);
}
.doc--center {
  text-align: center;
}
.doc--center .section-title {
  margin-bottom: 16px;
}
.doc--center .pill {
  margin-top: 12px;
}

/* ---------- Pie ---------- */
.foot {
  padding: 64px max(20px, calc((100% - var(--wrap)) / 2)) 40px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.foot__top {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}
.foot__logo img {
  width: 92px;
  height: auto;
}
.foot__tag {
  font-weight: 500;
  color: var(--muted);
}
.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-bottom: 28px;
}
.foot__links a {
  text-decoration: none;
  font-weight: 500;
}
@media (hover: hover) {
  .foot__links a:hover {
    color: var(--brand);
  }
}
.foot__legal {
  max-width: 680px;
  font-size: 13px;
  color: var(--muted);
}
.foot__legal p {
  margin: 0 0 6px;
}

/* ---------- Botón fijo en el celular ---------- */
.dock {
  display: none;
}
@media (max-width: 820px) {
  .dock {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 30;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
    transition: transform 0.45s var(--ease);
  }
  .js .dock:not(.is-on) {
    transform: translateY(110%);
  }
  .bar__nav .pill span {
    display: none;
  }
  .bar__nav .pill {
    width: 44px;
    padding: 0;
  }
  .foot {
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
  }
}

/* ---------- Vida: color y movimiento (pedido de Palacio: "le falta vida") ---------- */
/* Título con degradado vivo (todos los tonos pasan 3:1 sobre el fondo claro en letra grande). */
.hero__title .hl {
  background: linear-gradient(
    100deg,
    var(--brand) 0%,
    #2c8c9e 35%,
    var(--brand-dark) 65%,
    var(--brand) 100%
  );
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tarjeta de producto con más color: nombre gigante de fondo y anillo que gira. */
.product__media {
  position: relative;
  overflow: hidden;
  container-type: inline-size;
  background:
    radial-gradient(
      circle at 50% 50%,
      color-mix(in srgb, var(--accent) 34%, #fff) 0,
      transparent 62%
    ),
    linear-gradient(
      160deg,
      color-mix(in srgb, var(--accent) 16%, #fff),
      color-mix(in srgb, var(--accent) 26%, #f4f8ee)
    );
}
.product__mark {
  position: absolute;
  top: 6%;
  left: 50%;
  translate: -50% 0;
  font-size: 16.5cqi;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: color-mix(in srgb, var(--accent) 14%, transparent);
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--accent) 45%, transparent);
  pointer-events: none;
  user-select: none;
}
.product__media > .pack {
  position: relative;
  z-index: 1;
}
.product__card {
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease);
}
.product__media .pack__float {
  transition: scale 0.6s var(--ease);
}
@media (hover: hover) {
  .product__card:hover {
    transform: translateY(-6px);
    box-shadow:
      0 1px 2px rgba(18, 38, 26, 0.04),
      0 30px 60px -24px color-mix(in srgb, var(--accent) 55%, rgba(18, 38, 26, 0.4));
  }
  .product__card:hover .pack__float {
    scale: 1.05;
  }
}

/* Botón de WhatsApp con un brillo que lo cruza de vez en cuando. */
.pill {
  position: relative;
  overflow: hidden;
}
.pill::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-18deg);
  pointer-events: none;
  opacity: 0;
}

/* Pasos con ícono de color. */
.step__ico {
  background: linear-gradient(140deg, var(--brand-bright), var(--brand));
  color: #fff;
  box-shadow: 0 10px 20px -10px rgba(46, 139, 30, 0.7);
}
.step::after {
  font-size: 44px;
  top: 14px;
  color: color-mix(in srgb, var(--brand) 18%, #fff);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title .hl {
    animation: sheen 9s ease-in-out infinite alternate;
  }
  .pill::after {
    animation: shine 5s 1.5s ease-in-out infinite;
  }
}
@keyframes sheen {
  to {
    background-position: 100% 0;
  }
}
@keyframes shine {
  0%,
  70% {
    left: -60%;
    opacity: 0;
  }
  72% {
    opacity: 1;
  }
  100% {
    left: 130%;
    opacity: 0;
  }
}

/* ---------- Inicio jugable: logo de tabletas (experiencia.js) ---------- */
.swarm {
  position: absolute;
  left: -22%;
  top: -12%;
  width: 144%;
  height: 120%;
  z-index: 0;
  pointer-events: none;
}
.hero__pack {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    opacity 0.8s var(--ease),
    transform 1s var(--ease);
}
.hero__stage[data-swarm-wait] .hero__pack {
  opacity: 0;
  transform: translateY(40px) scale(0.82);
}
.hero__pack:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 6px;
  border-radius: 24px;
}
.hero__hint {
  position: absolute;
  left: 50%;
  bottom: -6px;
  z-index: 2;
  translate: -50% 0;
  margin: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 24px -14px rgba(18, 38, 26, 0.4);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  color: var(--muted);
  transition: opacity 0.5s var(--ease);
}
.hero__hint.is-gone {
  opacity: 0;
}
.no-js .hero__hint,
html:not(.js) .hero__hint {
  display: none;
}

/* ---------- Escena de productos con giro natural (experiencia.js) ---------- */
/* Sin JavaScript o con movimiento reducido: los envases y sus datos uno al lado del otro, quietos. */
.xp {
  position: relative;
  padding: 88px 0;
}
.xp__sticky {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}
.xp__stage {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 36px;
}
.xp__prod {
  margin: 0;
}
.xp__prod img {
  height: 300px;
  width: auto;
  -webkit-touch-callout: none;
  user-select: none;
}
.xp__copy {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  text-align: center;
}
.xp__title {
  grid-column: 1 / -1;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--brand-dark);
}
.xp__kicker {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 70%, var(--ink));
}
.xp__big {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.18em;
  margin: 0;
  font-size: clamp(72px, 10vw, 150px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  color: var(--brand-dark);
  font-variant-numeric: tabular-nums;
}
.xp__unit {
  font-size: 0.42em;
  letter-spacing: -0.02em;
  color: color-mix(in srgb, var(--accent) 75%, var(--ink));
}
.xp__caption {
  margin: 8px 0 16px;
  font-size: 21px;
  font-weight: 500;
  color: var(--muted);
}
.xp__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.xp__chips li {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  font-size: 15px;
}

/* Con movimiento: escena de pantalla completa que avanza con el scroll. */
.xp.is-live {
  padding: 0;
}
.xp.is-live .xp__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  max-width: none;
  padding: 0;
  overflow: hidden;
}
.xp.is-live .xp__stage {
  position: absolute;
  inset: 0;
  display: block;
  margin: 0;
}
.xp.is-live .xp__prod {
  position: absolute;
  left: 68%;
  top: 54%;
  opacity: 0;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
}
.xp.is-live .xp__prod img {
  height: min(62vh, 580px);
}
.xp.is-live .xp__copy {
  position: absolute;
  z-index: 20;
  left: max(24px, calc((100vw - var(--wrap)) / 2 + 20px));
  top: 0;
  bottom: 0;
  width: min(46vw, 540px);
  display: block;
  text-align: left;
  pointer-events: none;
}
.xp.is-live .xp__title,
.xp.is-live .xp__step {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  translate: 0 -50%;
}
.xp.is-live .xp__step {
  opacity: 0;
  visibility: hidden;
}
.xp.is-live .xp__big {
  justify-content: flex-start;
}
.xp.is-live .xp__chips {
  justify-content: flex-start;
}
.xp.is-live .xp__step a {
  pointer-events: auto;
}
/* Los ingredientes entran uno detrás de otro cuando el número ya contó. */
.xp.is-live .xp__chips li {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.xp.is-live .is-on .xp__chips li {
  opacity: 1;
  transform: none;
}
.xp.is-live .is-on .xp__chips li:nth-child(2) {
  transition-delay: 0.08s;
}
.xp.is-live .is-on .xp__chips li:nth-child(3) {
  transition-delay: 0.16s;
}

@media (prefers-reduced-motion: no-preference) {
  .xp.is-live .xp__float {
    animation: levitate 4.5s ease-in-out infinite;
  }
  .xp.is-live .xp__prod:nth-child(2) .xp__float {
    animation-delay: -1.5s;
  }
}

@media (max-width: 900px) {
  .xp__stage {
    gap: 20px;
  }
  .xp__prod img {
    height: 220px;
  }
  .xp.is-live .xp__prod {
    left: 50%;
    top: 28%;
  }
  .xp.is-live .xp__prod img {
    height: 34vh;
  }
  .xp.is-live .xp__copy {
    left: 20px;
    right: 20px;
    top: auto;
    /* Libre del botón fijo de WhatsApp del celular. */
    bottom: calc(84px + env(safe-area-inset-bottom));
    height: 40vh;
    width: auto;
    text-align: center;
  }
  .xp.is-live .xp__big,
  .xp.is-live .xp__chips {
    justify-content: center;
  }
  .xp__caption {
    font-size: 18px;
  }
  .hero__hint {
    bottom: -14px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__pack.is-shaking {
    animation: shake 0.7s var(--ease);
  }
}
@keyframes shake {
  15% {
    transform: rotate(-9deg) translateY(-6px);
  }
  32% {
    transform: rotate(8deg) translateY(-10px);
  }
  50% {
    transform: rotate(-6deg) translateY(-4px);
  }
  68% {
    transform: rotate(4deg);
  }
  84% {
    transform: rotate(-2deg);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    padding: 92px 0 56px;
  }
  .hero::before {
    inset: 0 -30% auto -30%;
    height: 60%;
  }
  .hero__grid,
  .product__card {
    grid-template-columns: 1fr;
  }
  .hero__grid {
    gap: 12px;
  }
  /* En el celular el producto va arriba: se ve en el primer pantallazo junto al botón. */
  .hero__stage {
    order: -1;
    min-height: 0;
    height: clamp(230px, 62vw, 400px);
  }
  .hero__stage .pack--lg {
    --size: clamp(150px, 40vw, 270px);
  }
  .hero__stage .pack--md {
    --size: clamp(110px, 30vw, 200px);
  }
  .hero__title {
    font-size: clamp(38px, 10.5vw, 64px);
  }
  .hero__text {
    font-size: 18px;
    margin: 18px 0 26px;
  }
  .product {
    padding: 28px 0;
  }
  .product.detail {
    padding-top: 84px;
  }
  .product--flip .product__media {
    order: 0;
  }
  .product__media {
    min-height: 0;
    padding: 32px 16px 20px;
  }
  .product__media .pack--lg {
    --size: clamp(170px, 50vw, 280px);
  }
  .steps {
    padding: 72px 0;
  }
  .info__grid {
    grid-template-columns: 1fr;
  }
  .facts__list div {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .section-head {
    margin-bottom: 32px;
  }
}
@media (max-width: 380px) {
  body {
    font-size: 16px;
  }
  .wrap {
    width: min(100% - 28px, var(--wrap));
  }
  .pill {
    padding: 0 20px;
    font-size: 15px;
  }
  .buy .pill {
    width: 100%;
  }
}
@media (max-height: 500px) and (orientation: landscape) {
  /* Celular acostado: dos columnas para que el producto y el texto quepan juntos. */
  .hero {
    padding-top: 76px;
  }
  .hero__grid,
  .product__card {
    grid-template-columns: 1fr 1fr;
  }
  .hero__stage {
    order: 0;
    height: 300px;
  }
  .hero__title {
    font-size: 42px;
  }
  .product__media .pack--lg,
  .hero__stage .pack--lg {
    --size: min(220px, 50vh);
  }
  .hero__stage .pack--md {
    --size: min(160px, 36vh);
  }
  .product--flip .product__media {
    order: 2;
  }
}

/* ---------- Movimiento (solo si la persona no pidió reducirlo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pack__float {
    animation: levitate 4s ease-in-out infinite;
  }
  .pack__shadow {
    animation: breathe 4s ease-in-out infinite;
  }
  .hero__pack:nth-of-type(2) .pack__float,
  .hero__pack:nth-of-type(2) .pack__shadow {
    animation-delay: -1.3s;
  }
  .hero__pack:nth-of-type(3) .pack__float,
  .hero__pack:nth-of-type(3) .pack__shadow {
    animation-delay: -2.6s;
  }

  [data-intro] {
    animation: rise 0.9s var(--ease) both;
  }
  .hero__title[data-intro] {
    animation-delay: 0.06s;
  }
  .hero__text[data-intro] {
    animation-delay: 0.14s;
  }
  .hero__copy .cta-row[data-intro] {
    animation-delay: 0.22s;
  }
  .trust[data-intro] {
    animation-delay: 0.3s;
  }
  .hero__stage[data-intro] {
    animation: settle 1.2s 0.1s var(--ease) both;
  }

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.8s var(--ease),
      transform 0.8s var(--ease);
  }
  .js [data-reveal].in {
    opacity: 1;
    transform: none;
  }
}

/* Sube sin partir de opacidad 0: el título del inicio es el LCP y debe pintarse de una. */
@keyframes rise {
  from {
    transform: translateY(16px);
  }
}
@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.97);
  }
}
@keyframes levitate {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
@keyframes breathe {
  0%,
  100% {
    transform: scaleX(1);
    opacity: 1;
  }
  50% {
    transform: scaleX(0.88);
    opacity: 0.75;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body,
  .bar,
  .dock {
    transition: none;
  }
}
