/* ═══════════════════════════════════════════════════════════════
   CARLOS JUMBO · NATURE'S SUNSHINE ECUADOR
   Estética: "botánica solar" — crema cálido, verde profundo,
   ámbar sol y 9 colores de sistema. Fraunces + Outfit.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green-deep: #14301d;
  --green-ink:  #1d4428;
  --green-mid:  #2c6e3f;
  --cream:      #faf3e3;
  --cream-soft: #fffaf0;
  --sun:        #f4a91b;
  --sun-soft:   #ffd166;
  --coral:      #e5484d;
  --ink:        #1b2a1f;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --radius: 22px;
  --shadow-soft: 0 16px 40px -18px rgba(20, 48, 29, .35);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }

::selection { background: var(--sun); color: var(--green-deep); }

/* ── Tipografía de sección ─────────────────────────────── */
.kicker {
  font-weight: 700; font-size: .82rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--green-mid); margin-bottom: .6rem;
}
.kicker--light { color: var(--sun-soft); }
.section-title {
  font-family: var(--font-display);
  font-weight: 800; font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08; color: var(--green-deep); margin-bottom: 2.4rem;
}
.section-title em {
  font-style: italic; font-weight: 500; color: var(--green-mid);
}
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--sun-soft); }

/* ── Botones ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: 1rem; padding: .9rem 1.7rem;
  border-radius: 999px; transition: transform .25s var(--ease-bounce), box-shadow .25s;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--sun {
  background: linear-gradient(135deg, var(--sun-soft), var(--sun));
  color: var(--green-deep);
  box-shadow: 0 10px 28px -10px rgba(244, 169, 27, .7);
}
.btn--ghost {
  border: 2px solid rgba(250, 243, 227, .45); color: var(--cream);
}
.btn--ghost:hover { border-color: var(--sun-soft); color: var(--sun-soft); }
.btn--wa {
  background: linear-gradient(135deg, #34d058, #1faa48);
  color: #fff; box-shadow: 0 10px 28px -10px rgba(31, 170, 72, .7);
}
.btn--full { width: 100%; justify-content: center; }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  padding: .9rem 0; transition: background .35s, box-shadow .35s, padding .35s;
}
.nav.is-scrolled {
  background: rgba(20, 48, 29, .92); backdrop-filter: blur(14px);
  box-shadow: 0 6px 30px rgba(0,0,0,.25); padding: .55rem 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.nav__logo-img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a {
  color: var(--cream); font-weight: 600; font-size: .95rem; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; height: 2.5px; width: 0;
  background: var(--sun); border-radius: 2px; transition: width .3s var(--ease-bounce);
}
.nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: .8rem; }
.nav__cart {
  position: relative; color: var(--cream); padding: .55rem;
  border-radius: 50%; border: 2px solid rgba(250,243,227,.3); transition: .3s;
}
.nav__cart:hover { border-color: var(--sun); color: var(--sun); transform: rotate(-8deg) scale(1.08); }
.nav__cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 21px; height: 21px;
  background: var(--coral); color: #fff; font-size: .72rem; font-weight: 800;
  border-radius: 999px; display: grid; place-items: center; padding-inline: 5px;
  animation: pop .35s var(--ease-bounce);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.nav__toggle { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.nav__toggle span { width: 26px; height: 3px; background: var(--cream); border-radius: 2px; transition: .3s; }

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative; min-height: 100svh;
  background: radial-gradient(1200px 800px at 75% -10%, #2c6e3f 0%, var(--green-ink) 45%, var(--green-deep) 100%);
  display: flex; align-items: center; overflow: hidden;
  padding: 7.5rem 0 6rem;
}
.hero__sun {
  position: absolute; top: -180px; right: -120px; width: 560px; height: 560px;
  background: radial-gradient(circle, var(--sun-soft) 0%, var(--sun) 38%, transparent 70%);
  border-radius: 50%; opacity: .55; filter: blur(8px);
  animation: pulse-sun 7s ease-in-out infinite;
}
@keyframes pulse-sun { 50% { transform: scale(1.12); opacity: .7; } }
.hero__rays {
  position: absolute; top: -340px; right: -300px; width: 920px; height: 920px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 209, 102, .12) 0deg 9deg, transparent 9deg 24deg);
  border-radius: 50%; animation: spin 70s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.hero__grain {
  position: absolute; inset: 0; opacity: .25; 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='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.32'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.5rem; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: .55rem;
  background: rgba(250, 243, 227, .12); border: 1px solid rgba(250, 243, 227, .25);
  color: var(--cream); font-size: .85rem; font-weight: 600;
  padding: .45rem 1.1rem; border-radius: 999px; backdrop-filter: blur(6px);
}
.hero__badge-dot {
  width: 9px; height: 9px; border-radius: 50%; background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, .7); animation: ping 1.8s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02;
  color: var(--cream); margin: 1.1rem 0 1.2rem;
}
.hero__title span { display: block; }
.hero__title-accent {
  font-style: italic; font-weight: 500; color: var(--sun-soft);
  position: relative;
}
.hero__sub { color: rgba(250, 243, 227, .82); font-size: 1.12rem; max-width: 32rem; }
.hero__sub strong { color: var(--sun-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }
.hero__stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; }
.hero__stats div { display: flex; flex-direction: column; }
.hero__stats b {
  font-family: var(--font-display); font-size: 2rem; color: var(--sun-soft); line-height: 1;
}
.hero__stats b::after { content: "+"; }
.hero__stats span { font-size: .82rem; color: rgba(250, 243, 227, .65); margin-top: .25rem; }

/* escenario de frascos */
.hero__stage { position: relative; height: 520px; }
.hero__blob {
  position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5;
}
.hero__blob--1 {
  width: 340px; height: 340px; top: 8%; left: 14%;
  background: var(--sun); animation: drift 11s ease-in-out infinite;
}
.hero__blob--2 {
  width: 250px; height: 250px; bottom: 4%; right: 4%;
  background: #4ade80; animation: drift 13s ease-in-out -4s infinite reverse;
}
@keyframes drift { 50% { transform: translate(28px, -22px) scale(1.1); } }
.hero__orbit {
  position: absolute; inset: 6% 8%; border: 1.5px dashed rgba(255, 209, 102, .35);
  border-radius: 50%; animation: spin 50s linear infinite;
}
.hero__bottle {
  position: absolute; border-radius: 18px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, .55), 0 0 0 5px rgba(250, 243, 227, .12);
  will-change: transform;
}
.hero__bottle--main {
  width: 46%; left: 27%; top: 4%; rotate: 2deg;
  animation: float-a 6s ease-in-out infinite;
  z-index: 3;
}
.hero__bottle--left {
  width: 32%; left: 1%; bottom: 5%; rotate: -7deg;
  animation: float-b 7.5s ease-in-out -2s infinite;
  z-index: 2;
}
.hero__bottle--right {
  width: 30%; right: 0%; bottom: 10%; rotate: 6deg;
  animation: float-c 8.5s ease-in-out -4s infinite;
  z-index: 2;
}
@keyframes float-a { 50% { transform: translateY(-26px) rotate(1.5deg); } }
@keyframes float-b { 50% { transform: translateY(-18px) rotate(-2.5deg); } }
@keyframes float-c { 50% { transform: translateY(-22px) rotate(2deg); } }

.hero__wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; }
.hero__wave svg { width: 100%; height: 90px; display: block; }

/* ═══════════ MARQUEE ═══════════ */
.marquee {
  background: var(--cream); padding: 1.1rem 0; overflow: hidden;
  border-bottom: 1px solid rgba(20, 48, 29, .08);
}
.marquee__track {
  display: flex; gap: 3rem; width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--font-display); font-style: italic; font-weight: 600;
  font-size: 1.05rem; color: var(--green-mid); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ═══════════ SISTEMAS ═══════════ */
.sistemas { padding: 5.5rem 0 4.5rem; background: var(--cream); }
.sistemas__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 1.1rem;
}
.sistema-card {
  --c: var(--green-mid);
  position: relative; overflow: hidden; text-align: left;
  background: var(--cream-soft); border: 2px solid color-mix(in srgb, var(--c) 25%, transparent);
  border-radius: var(--radius); padding: 1.5rem 1.3rem 1.4rem;
  transition: transform .3s var(--ease-bounce), box-shadow .3s, border-color .3s;
}
.sistema-card::before {
  content: ""; position: absolute; top: -42px; right: -42px; width: 110px; height: 110px;
  background: var(--c); opacity: .14; border-radius: 50%; transition: transform .45s var(--ease-bounce);
}
.sistema-card:hover { transform: translateY(-7px) rotate(-.7deg); box-shadow: var(--shadow-soft); border-color: var(--c); }
.sistema-card:hover::before { transform: scale(2.6); }
.sistema-card__emoji { font-size: 1.9rem; display: block; margin-bottom: .5rem; position: relative; }
.sistema-card h3 {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 700;
  color: var(--green-deep); position: relative;
}
.sistema-card p { font-size: .87rem; color: #5a6b5e; position: relative; }
.sistema-card__count {
  position: relative; display: inline-block; margin-top: .7rem;
  font-size: .78rem; font-weight: 700; color: var(--c);
  background: color-mix(in srgb, var(--c) 13%, transparent);
  padding: .22rem .75rem; border-radius: 999px;
}

/* ═══════════ CATÁLOGO ═══════════ */
.catalogo {
  position: relative; padding: 5.5rem 0 6rem;
  background:
    radial-gradient(900px 500px at 110% 0%, rgba(244, 169, 27, .14), transparent 60%),
    radial-gradient(700px 500px at -10% 100%, rgba(56, 182, 201, .12), transparent 60%),
    linear-gradient(165deg, var(--green-ink), var(--green-deep) 70%);
}
.filtros { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.4rem; }
.filtro {
  --c: var(--sun);
  font-weight: 600; font-size: .88rem; color: var(--cream);
  border: 1.5px solid rgba(250, 243, 227, .3); border-radius: 999px;
  padding: .5rem 1.1rem; transition: all .25s var(--ease-bounce);
}
.filtro:hover { transform: translateY(-2px); border-color: var(--c); }
.filtro.is-active {
  background: var(--c); border-color: var(--c);
  color: var(--green-deep); font-weight: 800; transform: scale(1.05);
}
.busqueda {
  display: flex; align-items: center; gap: .6rem; max-width: 420px;
  background: rgba(250, 243, 227, .1); border: 1.5px solid rgba(250, 243, 227, .25);
  border-radius: 999px; padding: .55rem 1.1rem; margin-bottom: 2.5rem;
  color: rgba(250, 243, 227, .7); transition: border-color .3s;
}
.busqueda:focus-within { border-color: var(--sun-soft); }
.busqueda input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--cream); font-family: inherit; font-size: .95rem;
}
.busqueda input::placeholder { color: rgba(250, 243, 227, .5); }

.productos__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 1.4rem;
}
.producto {
  --c: var(--sun);
  position: relative; background: var(--cream-soft); border-radius: var(--radius);
  padding: 0 1.2rem 1.3rem; display: flex; flex-direction: column;
  opacity: 0; transform: translateY(26px);
  transition: opacity .5s, transform .5s var(--ease-bounce), box-shadow .35s;
}
.producto.is-visible { opacity: 1; transform: translateY(0); }
.producto:hover { box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .45); z-index: 2; }
.producto__top {
  position: relative; margin: 0 -1.2rem 0; border-radius: var(--radius) var(--radius) 60% 60% / var(--radius) var(--radius) 22% 22%;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 28%, var(--cream-soft)), color-mix(in srgb, var(--c) 10%, var(--cream-soft)));
  padding: 1.6rem 1rem 1rem; display: grid; place-items: center; cursor: pointer;
}
.producto__img {
  height: 190px; width: auto; object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 16px 30px -10px rgba(20, 48, 29, .4);
  transition: transform .45s var(--ease-bounce);
  animation: idle-float 5.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * -.7s);
}
.producto:hover .producto__img { transform: translateY(-10px) rotate(-2.5deg) scale(1.06); }
@keyframes idle-float { 50% { translate: 0 -7px; } }
.producto__star {
  position: absolute; top: .8rem; left: .8rem;
  background: var(--sun); color: var(--green-deep);
  font-size: .68rem; font-weight: 800; letter-spacing: .06em;
  padding: .25rem .65rem; border-radius: 999px; rotate: -4deg;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.producto__sys {
  display: flex; gap: .35rem; margin: .9rem 0 .35rem;
}
.producto__sys span {
  font-size: .68rem; font-weight: 700; color: #fff;
  background: var(--c); padding: .18rem .6rem; border-radius: 999px;
}
.producto__nombre {
  font-family: var(--font-display); font-weight: 700; font-size: 1.18rem;
  color: var(--green-deep); line-height: 1.2; cursor: pointer;
}
.producto__desc {
  font-size: .85rem; color: #5a6b5e; margin: .4rem 0 .9rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.producto__bottom { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.producto__precio {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; color: var(--green-deep);
}
.producto__precio small { font-size: .68rem; font-weight: 600; color: #8a978d; display: block; letter-spacing: .05em; }
.producto__precio--consultar { font-size: .92rem; font-style: italic; color: var(--green-mid); }
.producto__add {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--green-deep); color: var(--sun-soft); font-size: 1.4rem; font-weight: 700;
  transition: transform .25s var(--ease-bounce), background .25s;
}
.producto__add:hover { background: var(--c); color: #fff; transform: rotate(90deg) scale(1.12); }
.productos__vacio { color: rgba(250, 243, 227, .8); text-align: center; padding: 3rem 0; font-size: 1.05rem; }
.productos__vacio a { color: var(--sun-soft); text-decoration: underline; }

/* ═══════════ PASOS ═══════════ */
.pasos { padding: 5.5rem 0; background: var(--cream); }
.pasos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.paso {
  background: var(--cream-soft); border-radius: var(--radius); padding: 2.2rem 1.8rem;
  border: 2px solid rgba(20, 48, 29, .07); position: relative;
  transition: transform .3s var(--ease-bounce), box-shadow .3s;
}
.paso:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.paso__num {
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 800;
  width: 70px; height: 70px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sun-soft), var(--sun));
  color: var(--green-deep); border-radius: 24px; rotate: -5deg;
  margin-bottom: 1.2rem; box-shadow: 0 10px 22px -8px rgba(244, 169, 27, .6);
}
.paso h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-deep); margin-bottom: .5rem; }
.paso p { font-size: .95rem; color: #5a6b5e; }

/* ═══════════ CONSULTOR ═══════════ */
.consultor {
  padding: 5.5rem 0;
  background:
    radial-gradient(700px 400px at 0% 0%, rgba(244, 169, 27, .18), transparent 55%),
    var(--cream);
}
.consultor__card {
  background: var(--cream-soft); border-radius: 34px; padding: 3rem clamp(1.5rem, 5vw, 4rem);
  max-width: 760px; margin-inline: auto; text-align: center;
  border: 2px solid rgba(244, 169, 27, .35);
  box-shadow: var(--shadow-soft);
}
.consultor__logo { height: 54px; margin: 0 auto 1.4rem; width: auto; }
.consultor__card p { color: #4a5a4e; max-width: 36rem; margin-inline: auto; }
.consultor__puntos {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem 1.6rem; margin: 1.6rem 0 2rem; font-weight: 600; font-size: .92rem;
  color: var(--green-ink);
}

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--green-deep); padding: 3.5rem 0 2.5rem; text-align: center; }
.footer__logo { height: 40px; margin: 0 auto 1.2rem; width: auto; opacity: .9; }
.footer__contact { color: var(--cream); font-weight: 600; margin-bottom: 1.4rem; }
.footer__contact a { color: var(--sun-soft); }
.footer__disclaimer {
  font-size: .76rem; color: rgba(250, 243, 227, .45); max-width: 46rem;
  margin: 0 auto 1rem; line-height: 1.55;
}
.footer__copy { font-size: .82rem; color: rgba(250, 243, 227, .6); }

/* ═══════════ DRAWER (CARRITO) ═══════════ */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(15, 30, 19, .55);
  backdrop-filter: blur(3px); z-index: 80; opacity: 0; transition: opacity .3s;
}
.drawer-overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(420px, 94vw); background: var(--cream-soft);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .4s var(--ease-bounce);
  box-shadow: -20px 0 60px rgba(0, 0, 0, .3);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 1.5rem; background: var(--green-deep);
}
.drawer__head h3 { font-family: var(--font-display); color: var(--cream); font-size: 1.3rem; }
.drawer__close { color: var(--cream); font-size: 1.2rem; padding: .3rem .6rem; border-radius: 10px; transition: .25s; }
.drawer__close:hover { background: rgba(250, 243, 227, .15); rotate: 90deg; }
.drawer__items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; }
.drawer__vacio { text-align: center; color: #8a978d; padding: 3rem 1rem; }
.drawer__vacio span { font-size: 2.6rem; display: block; margin-bottom: .6rem; }
.cart-item {
  display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; align-items: center;
  padding: .8rem 0; border-bottom: 1px dashed rgba(20, 48, 29, .15);
}
.cart-item__img {
  width: 64px; height: 64px; object-fit: contain;
  background: var(--cream); border-radius: 14px; padding: 6px;
}
.cart-item__nombre { font-weight: 700; font-size: .92rem; color: var(--green-deep); line-height: 1.25; }
.cart-item__precio { font-size: .82rem; color: var(--green-mid); font-weight: 600; }
.cart-item__qty { display: flex; align-items: center; gap: .45rem; margin-top: .3rem; }
.cart-item__qty button {
  width: 24px; height: 24px; border-radius: 8px; background: var(--cream);
  font-weight: 800; color: var(--green-deep); transition: .2s;
}
.cart-item__qty button:hover { background: var(--sun); }
.cart-item__qty b { min-width: 20px; text-align: center; font-size: .92rem; }
.cart-item__del { color: #b0552f; font-size: 1.05rem; padding: .35rem; transition: transform .25s; }
.cart-item__del:hover { transform: scale(1.25); }
.drawer__foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 2px solid rgba(20, 48, 29, .1); }
.drawer__total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-weight: 600; color: var(--green-ink); margin-bottom: .4rem;
}
.drawer__total b { font-family: var(--font-display); font-size: 1.7rem; color: var(--green-deep); }
.drawer__nota { font-size: .74rem; color: #8a978d; margin-bottom: 1rem; }

/* ═══════════ MODAL PRODUCTO ═══════════ */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15, 30, 19, .6); backdrop-filter: blur(4px); }
.modal__card {
  --c: var(--sun);
  position: relative; background: var(--cream-soft); border-radius: 28px;
  width: min(720px, 100%); max-height: 88vh; overflow-y: auto;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 1.5rem;
  padding: 2rem; animation: modal-in .4s var(--ease-bounce);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .4);
}
@keyframes modal-in { from { transform: translateY(40px) scale(.95); opacity: 0; } }
.modal__img-wrap {
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, var(--cream-soft)), color-mix(in srgb, var(--c) 8%, var(--cream-soft)));
  border-radius: 20px; display: grid; place-items: center; padding: 1.4rem;
}
.modal__img-wrap img {
  max-height: 340px; width: auto; object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 20px 36px -12px rgba(20, 48, 29, .4);
}
.modal__body { display: flex; flex-direction: column; }
.modal__sys { display: flex; gap: .4rem; margin-bottom: .6rem; flex-wrap: wrap; }
.modal__sys span { font-size: .7rem; font-weight: 700; color: #fff; background: var(--c); padding: .2rem .65rem; border-radius: 999px; }
.modal__body h3 { font-family: var(--font-display); font-size: 1.8rem; color: var(--green-deep); line-height: 1.1; }
.modal__code { font-size: .78rem; color: #8a978d; font-weight: 600; margin: .3rem 0 .8rem; }
.modal__body p { color: #4a5a4e; font-size: .97rem; flex: 1; }
.modal__precio { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--green-deep); margin: 1rem 0; }
.modal__precio small { font-size: .8rem; font-family: var(--font-body); font-weight: 600; color: #8a978d; }
.modal__close {
  position: absolute; top: .9rem; right: .9rem; width: 38px; height: 38px;
  border-radius: 50%; background: var(--cream); color: var(--green-deep);
  font-weight: 700; transition: .25s; z-index: 2;
}
.modal__close:hover { rotate: 90deg; background: var(--sun); }

/* ═══════════ WA FLOAT / TOAST ═══════════ */
.wa-float {
  position: fixed; bottom: 1.4rem; right: 1.4rem; z-index: 70;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, #34d058, #1faa48);
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(31, 170, 72, .8);
  animation: wa-bob 3.4s ease-in-out infinite;
  transition: transform .25s var(--ease-bounce);
}
.wa-float:hover { transform: scale(1.14) rotate(8deg); animation-play-state: paused; }
@keyframes wa-bob { 50% { translate: 0 -7px; } }
.toast {
  position: fixed; bottom: 1.6rem; left: 50%; translate: -50% 0; z-index: 110;
  background: var(--green-deep); color: var(--cream); font-weight: 600; font-size: .92rem;
  padding: .85rem 1.5rem; border-radius: 999px; box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
  animation: toast-in .35s var(--ease-bounce);
}
@keyframes toast-in { from { translate: -50% 26px; opacity: 0; } }

/* ═══════════ REVEAL ON SCROLL ═══════════ */
.reveal-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease var(--d, 0s), transform .7s var(--ease-bounce) var(--d, 0s); }
.reveal-up.is-visible { opacity: 1; transform: none; }

/* entrada automática del hero (CSS puro, sin JS) */
.anim-up { opacity: 0; animation: rise .85s var(--ease-bounce) var(--d, 0s) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub, .hero__title { margin-inline: auto; }
  .hero__actions, .hero__stats { justify-content: center; }
  .hero__stage { height: 380px; max-width: 460px; margin-inline: auto; width: 100%; }
  .pasos__grid { grid-template-columns: 1fr; }
  .modal__card { grid-template-columns: 1fr; }
  .modal__img-wrap img { max-height: 200px; }
}
@media (max-width: 760px) {
  .nav__links {
    position: fixed; top: 64px; right: 4%; left: 4%; z-index: 59;
    flex-direction: column; gap: 0; overflow: hidden;
    background: var(--green-deep); border-radius: 20px;
    max-height: 0; transition: max-height .4s ease; box-shadow: 0 20px 50px rgba(0,0,0,.4);
  }
  .nav__links.is-open { max-height: 320px; }
  .nav__links a { padding: 1rem 1.5rem; border-bottom: 1px solid rgba(250,243,227,.08); }
  .nav__links a::after { display: none; }
  .nav__toggle { display: flex; }
  .hero { padding-top: 6rem; }
  .hero__stats { gap: 1.4rem; }
}

/* movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal-up, .producto { opacity: 1; transform: none; }
}
