/* Uratecno — estilos base (paso 1: tokens y tema oscuro). Las secciones vienen después. */

:root {
  color-scheme: light;
  --bg: #f4f8f3;
  --surface: #ffffff;
  --text: #11231a;
  --text-soft: #4a5e53;
  --brand: #1f8a4c;
  --brand-strong: #166a3a;
  --border: #d5e3d8;
  --font-head: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Oscuro automático (según el sistema), salvo que la persona haya elegido claro */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #07140c;
    --surface: #0f2016;
    --text: #e8f3ec;
    --text-soft: #a3b9aa;
    --brand: #3ccf79;
    --brand-strong: #6ee59f;
    --border: #1d3827;
  }
}

/* Oscuro elegido manualmente */
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07140c;
  --surface: #0f2016;
  --text: #e8f3ec;
  --text-soft: #a3b9aa;
  --brand: #3ccf79;
  --brand-strong: #6ee59f;
  --border: #1d3827;
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h, 3.5rem); }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  padding: .6rem 1rem;
  background: var(--brand);
  color: #fff;
  border-radius: .5rem;
  z-index: 1000;
}
.skip-link:focus { top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ===== Paso 2: encabezado y portada ===== */
:root {
  --maxw: 72rem;
  --radius: 1rem;
  --on-dark-text: #eaf6ee;
  --on-dark-soft: #b4cdbb;
  --on-dark-bg: #07140c;
  --on-dark-border: rgba(255,255,255,.14);
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: .4rem; }

.on-dark { color: var(--on-dark-text); }

/* Encabezado */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,20,12,.9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--on-dark-border);
  padding-top: env(safe-area-inset-top);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; gap: .4rem 1rem; flex-wrap: wrap;
  padding: .55rem 1rem;
}
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.brand img { width: 3rem; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-head); font-size: 1.15rem; letter-spacing: .01em; }
.brand-text small { color: var(--on-dark-soft); font-size: .72rem; }
.site-nav { display: flex; gap: .25rem; }
.site-nav a {
  text-decoration: none; padding: .45rem .8rem; border-radius: 99px;
  font-size: .92rem; color: var(--on-dark-soft); transition: background .2s, color .2s;
}
.site-nav a:hover { background: rgba(255,255,255,.09); color: #fff; }
.header-tools { display: flex; gap: .4rem; align-items: center; }
.tool-group { display: flex; gap: .25rem; }
.tool-btn {
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  color: var(--on-dark-text); background: rgba(255,255,255,.08);
  border: 1px solid var(--on-dark-border); border-radius: 99px;
  min-width: 2.4rem; min-height: 2.4rem; padding: 0 .7rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  transition: background .2s;
}
.tool-btn:hover { background: rgba(255,255,255,.16); }
.theme-icon { width: .95rem; height: .95rem; border-radius: 50%; border: 2px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%); }

/* Portada */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--on-dark-bg);
  min-height: calc(100svh - var(--header-h, 3.6rem)); /* llena justo la pantalla bajo la barra */
  display: grid; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background: url("../images/brand/fondo-hojas.webp") center / cover no-repeat;
  opacity: .55;
}
.hero::after { /* viñeta para que el texto siempre se lea */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(7,20,12,.15), rgba(7,20,12,.85) 85%),
    linear-gradient(to bottom, rgba(7,20,12,.2), var(--bg) 100%);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.glow-a { width: 30rem; height: 30rem; left: -8rem; top: -6rem; background: rgba(60,207,121,.38); animation: flota 16s ease-in-out infinite alternate; }
.glow-b { width: 26rem; height: 26rem; right: -6rem; bottom: -5rem; background: rgba(20,150,200,.28); animation: flota 20s ease-in-out infinite alternate-reverse; }
@keyframes flota { to { transform: translate(3rem, 2rem) scale(1.12); } }

.hero-plant { position: absolute; bottom: 0; z-index: -1; width: min(24vw, 18rem); opacity: .95; pointer-events: none; transform-origin: 50% 100%; will-change: transform; }
.plant-l { animation: viento-a 3.8s ease-in-out infinite alternate, aleteo 1.7s ease-in-out infinite alternate; }
.plant-r { animation: viento-b 4.6s ease-in-out -1.5s infinite alternate, aleteo 2.1s ease-in-out -.8s infinite alternate-reverse; }
/* El viento mece la mata desde su base: arriba se mueve más, abajo casi nada. 'aleteo' suma un temblor más rápido y corto */
@keyframes viento-a { from { transform: skewX(-5deg) rotate(-1.4deg); } to { transform: skewX(6deg) rotate(1.6deg); } }
@keyframes viento-b { from { transform: skewX(5.5deg) rotate(1.4deg); } to { transform: skewX(-5.5deg) rotate(-1.5deg); } }
@keyframes aleteo { from { rotate: -.9deg; } to { rotate: .9deg; } }
.mov-off .hero-plant, .mov-off .hero-glow { animation-play-state: paused; }
.plant-l { left: 0; } .plant-r { right: 0; }

.hero-inner {
  max-width: 46rem; margin: 0 auto; text-align: center;
  padding: 3rem 1rem 4rem; display: flex; flex-direction: column; align-items: center;
}
.logo-anim { position: relative; width: min(18rem, 70%); margin-bottom: .6rem; }
.hero-logo { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 24px rgba(60,207,121,.35)); }
.hero-kicker { margin: 0 0 .8rem; color: var(--on-dark-soft); letter-spacing: .18em; text-transform: uppercase; font-size: .8rem; }
.hero-title { font-size: clamp(2rem, 6.2vw, 3.6rem); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.hero-sub { color: var(--on-dark-soft); max-width: 34rem; margin: 1rem 0 1.6rem; font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 99px; font-weight: 700; text-decoration: none;
  min-height: 3rem; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #3ccf79, #1f9d5a); color: #04140a; box-shadow: 0 8px 28px rgba(60,207,121,.35); }
.btn-ghost { border: 1px solid var(--on-dark-border); background: rgba(255,255,255,.07); color: var(--on-dark-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; padding: 0; margin: 1.8rem 0 0; }
.hero-badges li { font-size: .85rem; padding: .35rem .8rem; border-radius: 99px; border: 1px solid var(--on-dark-border); background: rgba(255,255,255,.06); color: var(--on-dark-soft); }
.hero-reviews { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; }

@media (max-width: 62.5rem) {
  .hero-inner { padding-bottom: 20.5rem; }
}
@media (max-width: 52rem) {
  .tool-theme .theme-label { display: none; }
  .hero-plant { width: 32vw; opacity: .7; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-plant { animation: none; }
  .btn { transition: none; }
}

/* ===== Paso 3: reseñas flotantes ===== */
.bubble {
  position: absolute; left: 0; top: 0; margin: 0;
  width: max-content; max-width: 15rem;
  padding: .8rem 1rem .85rem; border-radius: 1.2rem;
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 14px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
  color: var(--on-dark-text); font-size: .86rem; line-height: 1.4;
  will-change: transform; opacity: 0; transition: opacity .45s ease;
}
.bubble.is-on { opacity: 1; }
.bubble-top { display: block; margin-bottom: .3rem; font-size: .78rem; letter-spacing: .08em; color: #ffd36b; }
.bubble-top.is-promise { color: var(--brand); text-transform: uppercase; font-weight: 700; font-size: .68rem; letter-spacing: .14em; }
.bubble-text { margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bubble-who { display: block; margin-top: .45rem; font-size: .74rem; color: var(--on-dark-soft); }
.motion-toggle {
  position: absolute; right: .8rem; bottom: .7rem; z-index: 3;
  font: inherit; font-size: .74rem; cursor: pointer; color: var(--on-dark-soft);
  background: rgba(255,255,255,.07); border: 1px solid var(--on-dark-border);
  border-radius: 99px; padding: .3rem .8rem; min-height: 2rem;
}
.motion-toggle:hover { color: #fff; background: rgba(255,255,255,.14); }
@media (max-width: 52rem) {
  .bubble { max-width: 10.5rem; padding: .6rem .75rem .65rem; font-size: .76rem; border-radius: 1rem; }
  .bubble-text { -webkit-line-clamp: 3; }
}
@media (prefers-reduced-motion: reduce) { .bubble { transition: none; } }

/* ===== Paso 4: catálogo ===== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1rem; }
.section { padding: 4rem 0; position: relative; }
.section-head { text-align: center; margin-bottom: 1.8rem; }
.eyebrow { margin: 0 0 .4rem; color: var(--brand); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; }
.section-head h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 800; }
.section-lead { color: var(--text-soft); margin: .6rem auto 0; max-width: 34rem; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

#catalogo::before { /* difuminado de fondo */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(40rem 24rem at 10% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    radial-gradient(34rem 22rem at 100% 40%, rgba(20,150,200,.10), transparent 70%);
}
#catalogo { isolation: isolate; }

.filtros { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.8rem; }
.chip {
  font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer;
  color: var(--text); background: var(--surface); border: 1px solid var(--border);
  border-radius: 99px; padding: .55rem 1.1rem; min-height: 2.6rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.chip:hover { border-color: var(--brand); transform: translateY(-1px); }
.chip[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #04140a; }
.filtros { align-items: flex-start; }
.filtro-menu { position: relative; }
.chip-cat { display: inline-flex; align-items: center; gap: .45rem; max-width: 62vw; }
.chip-cat-txt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chip-flecha { font-size: .8em; transition: transform .2s; }
.chip-cat[aria-expanded="true"] .chip-flecha { transform: rotate(180deg); }
.menu-cats {
  position: absolute; top: calc(100% + .45rem); z-index: 20; width: max-content; min-width: 13rem; max-width: min(20rem, calc(100vw - 1rem));
  max-height: min(18rem, 55vh); overflow-y: auto; padding: .4rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 1rem; box-shadow: 0 18px 44px rgba(0,0,0,.35);
}
.menu-cats[hidden] { display: none; }
.menu-op {
  display: block; width: 100%; text-align: left; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer;
  color: var(--text); background: transparent; border: 0; border-radius: .7rem; padding: .65rem .85rem; min-height: 2.6rem;
}
.menu-op:hover, .menu-op:focus-visible { background: rgba(60,207,121,.14); outline: none; }
.menu-op[aria-selected="true"] { background: var(--brand); color: #04140a; }
@media (prefers-reduced-motion: reduce) { .chip-flecha { transition: none; } }

/* Columnas fijas (4 en computador, 3 en tableta, 2 en celular) para que las filas siempre queden completas con 12 o 24 productos */
.grid-productos { display: grid; gap: 1.2rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 62rem) { .grid-productos { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card {
  background: #fff; color: #11231a; border-radius: 1.2rem; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 10px 30px rgba(7,20,12,.12);
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(7,20,12,.2); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: #fff; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: .6rem; }
.card-img .ph { width: 40%; opacity: .18; }
.card-badge { position: absolute; left: .7rem; top: .7rem; background: #11231a; color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; }
.card-body { padding: .9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; border-top: 1px solid rgba(0,0,0,.06); }
.card-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #3a7a53; font-weight: 700; }
.card-name { font-size: 1.05rem; font-weight: 700; line-height: 1.25; }
.card-desc { font-size: .85rem; color: #4a5e53; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-price { font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; margin-top: auto; padding-top: .3rem; }
.card-ship { font-size: .8rem; color: #1b7a43; font-weight: 600; margin-bottom: .5rem; }
.btn-wa { background: #25d366; color: #052e16; box-shadow: 0 6px 18px rgba(37,211,102,.35); width: 100%; gap: .5rem; font-size: .95rem; }
.btn-wa svg { width: 1.2rem; height: 1.2rem; flex: none; }

.vacio { grid-column: 1 / -1; text-align: center; padding: 2.5rem 1.2rem; border: 1px dashed var(--border); border-radius: 1.2rem; background: color-mix(in srgb, var(--surface) 70%, transparent); }
.vacio h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.vacio p { color: var(--text-soft); margin: 0 auto 1.2rem; max-width: 28rem; }
.avisos { margin-top: 2rem; text-align: center; color: var(--text-soft); font-size: .88rem; }
.avisos p { margin: .3rem auto; max-width: 40rem; }
.avisos p:empty { display: none; }

@media (max-width: 40rem) {
  .section { padding: 3rem 0; }
  .grid-productos { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .card-body { padding: .7rem .7rem .9rem; }
  .card-name { font-size: .92rem; }
  .card-price { font-size: 1.2rem; }
  .btn-wa { font-size: .82rem; padding: .7rem .5rem; }
  .card-desc { display: none; }
}
@media (max-width: 22rem) { .grid-productos { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .card, .chip { transition: none; } .card:hover { transform: none; } }

/* ===== Paso 5: cómo recibes tu pedido ===== */
.section-alt { isolation: isolate; }
.section-alt::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, transparent, color-mix(in srgb, var(--brand) 7%, var(--bg)) 18%, color-mix(in srgb, var(--brand) 7%, var(--bg)) 82%, transparent),
    radial-gradient(36rem 22rem at 90% 10%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 70%),
    radial-gradient(30rem 20rem at 0% 90%, rgba(20,150,200,.09), transparent 70%);
}
.pasos { list-style: none; counter-reset: paso; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.paso {
  counter-increment: paso; position: relative;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--border); border-radius: 1.2rem;
  padding: 1.3rem 1.2rem 1.3rem; transition: transform .25s, border-color .25s;
}
.paso:hover { transform: translateY(-3px); border-color: var(--brand); }
.paso::before {
  content: counter(paso); display: grid; place-items: center;
  width: 2.6rem; height: 2.6rem; border-radius: 50%; margin-bottom: .8rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: #04140a;
  background: linear-gradient(135deg, #3ccf79, #1f9d5a); box-shadow: 0 6px 18px rgba(60,207,121,.3);
}
.paso h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .35rem; }
.paso p { margin: 0; color: var(--text-soft); font-size: .93rem; }
.paso.es-pago { border-color: var(--brand); }

.entrega-extra { display: grid; gap: 1rem; grid-template-columns: 1fr 1.4fr; margin-top: 1.4rem; align-items: stretch; }
.tiempo {
  border-radius: 1.2rem; padding: 1.5rem 1.4rem; color: #04140a;
  background: linear-gradient(135deg, #3ccf79, #1f9d5a);
  box-shadow: 0 14px 40px rgba(60,207,121,.25);
  display: flex; flex-direction: column; justify-content: center; gap: .4rem;
}
.tiempo-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; opacity: .75; }
.tiempo-texto { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.25; }
.consejos { border: 1px solid var(--border); border-radius: 1.2rem; padding: 1.3rem 1.4rem; background: color-mix(in srgb, var(--surface) 82%, transparent); }
.consejos h3 { font-size: 1.1rem; margin-bottom: .7rem; }
.consejos ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.consejos li { position: relative; padding-left: 1.7rem; font-size: .93rem; color: var(--text-soft); }
.consejos li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.7 2.7L12 5.8' fill='none' stroke='%2304140a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
@media (max-width: 60rem) { .pasos { grid-template-columns: repeat(2, 1fr); } .entrega-extra { grid-template-columns: 1fr; } }
@media (max-width: 38rem) { .pasos { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .paso { transition: none; } .paso:hover { transform: none; } }

/* ===== Paso 6: nosotros, ubicación y redes ===== */
#nosotros { isolation: isolate; }
#nosotros::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(38rem 24rem at 8% 20%, color-mix(in srgb, var(--brand) 13%, transparent), transparent 70%),
              radial-gradient(30rem 20rem at 95% 80%, rgba(20,150,200,.10), transparent 70%);
}
.nosotros-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.2rem; align-items: stretch; }
.nosotros-texto { padding: .4rem .4rem; }
.nosotros-texto p { margin: 0 0 1rem; font-size: 1.05rem; color: var(--text-soft); max-width: 36rem; }
.nosotros-texto p:first-child { color: var(--text); font-size: 1.15rem; }
.contacto {
  position: relative; overflow: hidden; border: 1px solid var(--border); border-radius: 1.3rem;
  padding: 1.5rem 1.4rem; background: color-mix(in srgb, var(--surface) 85%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.contacto-marca { position: absolute; right: -2rem; bottom: -1.2rem; width: 11rem; opacity: .07; pointer-events: none; }
.datos { margin: 0; display: grid; gap: .9rem; position: relative; }
.datos dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.datos dd { margin: .1rem 0 0; font-size: 1rem; word-break: break-word; }
.datos a { text-decoration: underline; text-underline-offset: .2em; }
.contacto .btn-wa { position: relative; margin-top: auto; }
.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }
.red {
  display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: .6rem 1.1rem .6rem .8rem; min-height: 2.9rem; border-radius: 99px;
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  transition: transform .2s, border-color .2s, background .2s, color .2s;
}
.red svg { width: 1.3rem; height: 1.3rem; flex: none; }
.red:hover { transform: translateY(-2px); border-color: var(--brand); }
.red:hover svg { color: var(--brand); }
@media (max-width: 52rem) { .nosotros-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .red { transition: none; } .red:hover { transform: none; } }

/* ===== Paso 7: preguntas, políticas y pie de página ===== */
.wrap-narrow { max-width: 48rem; }
.acordeon { display: grid; gap: .7rem; }
.acordeon details {
  border: 1px solid var(--border); border-radius: 1rem; overflow: hidden;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
  transition: border-color .2s;
}
.acordeon details[open] { border-color: var(--brand); }
.acordeon summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.2rem; font-weight: 700; font-size: 1.02rem; min-height: 3.2rem;
}
.acordeon summary::-webkit-details-marker { display: none; }
.acordeon summary::after {
  content: ""; flex: none; width: .65rem; height: .65rem; margin-right: .2rem;
  border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand);
  transform: rotate(45deg); transition: transform .25s;
}
.acordeon details[open] > summary::after { transform: rotate(-135deg); }
.acordeon .cuerpo { padding: 0 1.2rem 1.2rem; color: var(--text-soft); font-size: .96rem; }
.cuerpo p { margin: 0 0 .8rem; }
.cuerpo h4 { font-family: var(--font-head); color: var(--text); font-size: 1rem; margin: 1.1rem 0 .4rem; }
.cuerpo ul { margin: 0 0 .8rem; padding-left: 1.2rem; display: grid; gap: .3rem; }
.cuerpo > :last-child { margin-bottom: 0; }

.site-footer { background: var(--on-dark-bg); border-top: 1px solid var(--on-dark-border); padding: 2.5rem 0 calc(2rem + env(safe-area-inset-bottom)); margin-top: 2rem; }
.footer-inner { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }
.footer-brand img { width: 11rem; }
.footer-brand p { margin: .3rem 0 0; color: var(--on-dark-soft); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem .5rem; }
.footer-nav a { text-decoration: none; color: var(--on-dark-soft); padding: .4rem .8rem; border-radius: 99px; font-size: .92rem; }
.footer-nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.footer-legal { margin: 0; font-size: .8rem; color: var(--on-dark-soft); opacity: .8; max-width: 36rem; }
@media (prefers-reduced-motion: reduce) { .acordeon summary::after, .acordeon details { transition: none; } }

/* ===== Paso 8: botón y panel de ayuda ===== */
.ayuda-fab {
  position: fixed; z-index: 60; left: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: .5rem; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .92rem; color: #04140a;
  background: linear-gradient(135deg, #3ccf79, #1f9d5a); border: 0; border-radius: 99px;
  min-height: 3rem; padding: 0 1.1rem 0 .6rem; box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transition: transform .2s;
}
.ayuda-fab:hover { transform: translateY(-2px); }
.ayuda-q { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: #04140a; color: #3ccf79; font-family: var(--font-head); font-weight: 800; }
.ayuda {
  border: 0; padding: 0; background: transparent; color: var(--text);
  width: min(30rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); margin: auto; overflow: visible;
}
.ayuda::backdrop { background: rgba(3,10,6,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ayuda-caja {
  position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 1.4rem;
  padding: 1.6rem 1.5rem 1.5rem; max-height: calc(100dvh - 2rem); overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.ayuda h2 { font-size: 1.5rem; font-weight: 800; padding-right: 2.5rem; margin-bottom: .6rem; }
.ayuda h3 { font-size: 1rem; margin: 1.1rem 0 .35rem; color: var(--brand); }
.ayuda p, .ayuda li { color: var(--text-soft); font-size: .95rem; margin: 0; }
.ayuda ol, .ayuda ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.ayuda .btn-wa { width: 100%; margin-top: 1.3rem; }
.ayuda-cerrar {
  position: absolute; right: .8rem; top: .8rem; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  border: 1px solid var(--border); background: transparent; color: var(--text); font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.ayuda-cerrar:hover { border-color: var(--brand); }
@media (max-width: 40rem) { .ayuda-txt { display: none; } .ayuda-fab { padding: 0 .6rem; } }
@media (prefers-reduced-motion: reduce) { .ayuda-fab { transition: none; } }

/* ===== Detalle de producto ===== */
.card { cursor: pointer; }
.card-name-btn { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; text-align: left; cursor: pointer; }
.card-name-btn:hover { text-decoration: underline; text-underline-offset: .2em; }
.card-more { font-size: .8rem; color: #3a7a53; font-weight: 600; margin-bottom: .6rem; }
.card-ship { margin-bottom: .2rem; }
.card:hover .card-more { text-decoration: underline; text-underline-offset: .2em; }

.detalle { border: 0; padding: 0; background: transparent; color: var(--text); width: min(52rem, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); margin: auto; overflow: visible; }
.detalle::backdrop { background: rgba(3,10,6,.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.detalle-caja { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 1.4rem; max-height: calc(100dvh - 1.5rem); overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.detalle .ayuda-cerrar { z-index: 3; background: var(--surface); }
.detalle-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; }
.det-media { padding: 1.2rem; background: #fff; border-radius: 1.4rem 0 0 1.4rem; align-self: stretch; }
.det-foto { aspect-ratio: 1 / 1; display: grid; place-items: center; background: #fff; position: relative; overflow: hidden; }
.det-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.det-foto .ph { width: 40%; height: auto; opacity: .18; }
.det-tiras { display: flex; gap: .5rem; margin-top: .8rem; flex-wrap: wrap; }
.det-mini { width: 3.6rem; height: 3.6rem; padding: 0; border: 2px solid #d5e3d8; border-radius: .6rem; background: #fff; cursor: pointer; overflow: hidden; }
.det-mini[aria-pressed="true"] { border-color: #1f9d5a; }
.det-mini img { width: 100%; height: 100%; object-fit: contain; }
.det-info { padding: 1.6rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.det-info .card-cat { color: var(--brand); }
.det-nombre { font-size: 1.5rem; font-weight: 800; padding-right: 2.5rem; }
.det-precio { font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.det-info .card-ship { color: var(--brand); }
.det-resumen { margin: .3rem 0 0; color: var(--text); }
.det-texto { color: var(--text-soft); font-size: .95rem; }
.det-texto p { margin: 0 0 .7rem; }
.det-texto h4 { font-family: var(--font-head); color: var(--text); margin: .9rem 0 .3rem; }
.det-texto ul { margin: 0 0 .7rem; padding-left: 1.2rem; }
.det-bloque { border-top: 1px solid var(--border); padding-top: .8rem; margin-top: .4rem; }
.det-bloque h3 { font-size: 1rem; margin-bottom: .4rem; color: var(--brand); }
.det-bloque ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .25rem; color: var(--text-soft); font-size: .93rem; }
.det-bloque p { margin: 0 0 .4rem; color: var(--text-soft); font-size: .93rem; }
.det-enlace { font-size: .88rem; color: var(--text); text-decoration: underline; text-underline-offset: .2em; }
.det-enlace::after { content: "\2192"; display: inline-block; margin-left: .35em; color: var(--brand); font-weight: 700; text-decoration: none; transition: transform .2s ease; }
.det-enlace:hover::after, .det-enlace:focus-visible::after { transform: translateX(.25em); }
@media (prefers-reduced-motion: reduce) { .det-enlace::after { transition: none; } .det-enlace:hover::after { transform: none; } }
.det-info .btn-wa { width: 100%; margin-top: 1rem; }
@media (max-width: 40rem) {
  .detalle-grid { grid-template-columns: 1fr; }
  .det-media { border-radius: 1.4rem 1.4rem 0 0; padding: 1rem 1rem .6rem; }
  .det-foto { max-height: 18rem; aspect-ratio: auto; height: 16rem; }
  .det-info { padding: 1.1rem 1.1rem 1.3rem; }
  .card-more { font-size: .74rem; }
}


/* ---- Paso 1 de ajustes: saludo, iconos, botón de ayuda ---- */
.hero-saludo { margin: 0 0 .9rem; font-size: .92rem; font-weight: 600; letter-spacing: .04em; color: var(--on-dark-soft); }
.hero-saludo:empty { display: none; }

.tiempo { position: relative; }
.tiempo-iconos { position: absolute; top: .9rem; right: 1rem; display: flex; gap: .55rem; color: #04140a; opacity: .7; }
.tiempo-iconos svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.datos dt { display: flex; align-items: center; gap: .45rem; }
.datos dt .ico-linea { width: 1.05rem; height: 1.05rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn-ayuda { background: #cfdcff; color: #1a2750; box-shadow: 0 6px 18px rgba(150,170,255,.35); width: 100%; font-size: .95rem; }
.btn-ayuda:hover { background: #bfd0ff; transform: translateY(-1px); }
.ayuda .btn-ayuda { width: 100%; margin-top: 1.3rem; }


/* ---- Animación del logo ---- */
.la-ok .logo-anim .hero-logo { opacity: 0; }
.la-escena { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.la-grupo { position: absolute; inset: 0; transform-origin: 50% 50%; }
.la-power, .la-hoja { position: absolute; height: auto; max-width: none; user-select: none; -webkit-user-drag: none; will-change: transform, left, top; }
.la-power { transform-origin: 50% 50%; z-index: 1; }
.la-hoja { z-index: 2; filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.la-cursor { position: absolute; width: 9%; aspect-ratio: 1; z-index: 5; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); transform-origin: 0 0; }
.la-cursor svg { display: block; width: 100%; height: 100%; }
.la-onda { position: absolute; width: 14%; aspect-ratio: 1; border-radius: 50%; border: 2px solid #3ccf79; box-shadow: 0 0 14px #3ccf79; z-index: 4; opacity: 0; }

/* ---- Página de asesores ---- */
.section-head h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); font-weight: 800; }
.as-comision {
  display: flex; flex-direction: column; align-items: center; gap: .2rem; text-align: center;
  border-radius: 1.2rem; padding: 1.3rem 1.2rem; margin-bottom: 1.4rem; color: #04140a;
  background: linear-gradient(135deg, #3ccf79, #1f9d5a); box-shadow: 0 14px 40px rgba(60,207,121,.25);
}
.as-comision[hidden], #as-abierto[hidden], #as-cerrado[hidden], .as-reglas[hidden], .as-resultado[hidden], .as-error[hidden], .as-nota[hidden] { display: none; }
.as-comision-label { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; opacity: .75; }
.as-comision strong { font-family: var(--font-head); font-size: clamp(1.3rem, 4.5vw, 1.8rem); line-height: 1.2; }
.as-comision-nota { font-size: .9rem; opacity: .85; }
.as-pasos { grid-template-columns: repeat(2, 1fr); margin-bottom: 1.4rem; }
@media (max-width: 38rem) { .as-pasos { grid-template-columns: 1fr; } }
.as-registro, .as-gen, .as-aviso {
  border: 1px solid var(--border); border-radius: 1.2rem; padding: 1.4rem 1.3rem; margin-bottom: 1.2rem;
  background: color-mix(in srgb, var(--surface) 85%, transparent);
}
.as-registro h2, .as-gen h2, .as-reglas h2 { font-size: 1.25rem; margin-bottom: .4rem; }
.as-registro p, .as-gen p, .as-aviso p { color: var(--text-soft); margin: 0 0 .9rem; }
.as-gen label { display: block; font-weight: 700; font-size: .9rem; margin: .4rem 0 .3rem; }
.as-gen input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid var(--border); border-radius: .8rem; padding: .7rem .9rem; min-height: 2.9rem;
}
.as-gen input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.as-gen-fila { display: flex; gap: .6rem; flex-wrap: wrap; }
.as-gen-fila input { flex: 1 1 12rem; text-transform: uppercase; }
.as-acciones { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; }
.as-acciones .btn { flex: 1 1 11rem; width: auto; }
.as-error { color: #c0392b; font-weight: 600; margin: .6rem 0 0 !important; }
.as-nota { font-size: .85rem; margin: .7rem 0 0 !important; }
.as-reglas { margin-top: 1.6rem; }
.hero-title { margin-top: .9rem; }

/* ---- Buscador y "Ver más productos" ---- */
.buscador { position: relative; max-width: 28rem; margin: 0 auto 1.1rem; }
.buscador svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.2rem; height: 1.2rem; fill: none; stroke: var(--text-soft); stroke-width: 2; stroke-linecap: round; pointer-events: none; }
.buscador input {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 99px; padding: .7rem 1rem .7rem 2.9rem; min-height: 2.9rem;
}
.buscador input:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
.ver-mas { text-align: center; margin-top: 1.8rem; }
.ver-mas[hidden], #mas-btn[hidden] { display: none; }
.volver { margin: 0 0 1rem; }
.btn-volver { width: auto; }
.volver-fin { text-align: center; margin: 2rem 0 0; }

/* ---- Foto en la página de asesores ---- */
.as-foto { margin: 0 auto 1.2rem; width: min(13rem, 62%); }
.as-foto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.4rem; box-shadow: 0 14px 40px rgba(7,20,12,.25); border: 1px solid var(--border); }
.as-foto[hidden] { display: none; }
@media (min-width: 46rem) {
  .as-top.con-foto { display: grid; grid-template-columns: 15rem 1fr; gap: 2rem; align-items: center; }
  .as-top.con-foto .as-foto { width: 100%; margin: 0 0 1.8rem; }
  .as-top.con-foto .section-head { text-align: left; }
  .as-top.con-foto .section-lead { margin-left: 0; }
  .as-top.con-foto.lado-der { grid-template-columns: 1fr 15rem; }
  .as-top.con-foto.lado-der .as-foto { order: 2; }
}
.hero-badges[hidden], .hero-badges li[hidden], .hero-sub[hidden] { display: none; }

/* ¿Para qué sirve? — siempre fondo claro y letra negra, en modo claro, oscuro o automático */
.det-beneficios { background: #eaf6ef; border: 1px solid #cfe5d8; border-radius: 12px; padding: .8rem .9rem; }
.det-beneficios h3 { color: #14633f; }
.det-beneficios ul { list-style: none; padding-left: 0; color: #0b0f0d; }
.det-beneficios li { position: relative; padding-left: 1.5rem; color: #0b0f0d; }
.det-beneficios li::before { content: "✓"; position: absolute; left: 0; color: #14633f; font-weight: 700; }

/* Botón «Ver más productos»: latido de luz + saltito cada tanto para que se note que se puede tocar */
.ver-mas .btn-primary { position: relative; animation: ver-mas-latido 2.6s ease-out infinite, ver-mas-salto 5.2s ease-in-out infinite; }
@keyframes ver-mas-latido {
  0% { box-shadow: 0 8px 28px rgba(60,207,121,.35), 0 0 0 0 rgba(60,207,121,.6); }
  70%, 100% { box-shadow: 0 8px 28px rgba(60,207,121,.35), 0 0 0 1.1rem rgba(60,207,121,0); }
}
@keyframes ver-mas-salto { 0%, 70%, 100% { translate: 0 0; } 76% { translate: 0 -7px; } 82% { translate: 0 0; } 88% { translate: 0 -4px; } 94% { translate: 0 0; } }
.ver-mas .btn-primary::after { content: "\2192"; margin-left: .55rem; font-weight: 800; }
.mov-off .ver-mas .btn-primary { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ver-mas .btn-primary { animation: none; box-shadow: 0 8px 28px rgba(60,207,121,.45), 0 0 0 4px rgba(60,207,121,.25); } }

/* Zoom de la foto del producto */
.det-foto img { transition: transform .12s ease-out; }
.det-foto.zoom-mouse { cursor: zoom-in; }
.det-foto.zoom-on img { transform: scale(2.4); }
.det-foto.zoom-toque { cursor: pointer; }
.det-lupa { position: absolute; right: .5rem; bottom: .5rem; z-index: 2; width: 2rem; height: 2rem; display: grid; place-items: center; font-size: .95rem; background: rgba(255,255,255,.92); border: 1px solid #d5e3d8; border-radius: 99px; box-shadow: 0 2px 8px rgba(0,0,0,.15); pointer-events: none; }
.visor { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(2,8,5,.95); touch-action: none; overflow: hidden; }
.visor img { max-width: 100%; max-height: 100%; object-fit: contain; touch-action: none; user-select: none; -webkit-user-select: none; background: #fff; }
.visor-cerrar { position: absolute; top: max(.8rem, env(safe-area-inset-top)); right: .8rem; width: 2.8rem; height: 2.8rem; border-radius: 99px; border: 1px solid rgba(255,255,255,.35); background: rgba(0,0,0,.55); color: #fff; font-size: 1.1rem; cursor: pointer; z-index: 2; }
.visor-pista { position: absolute; left: 0; right: 0; bottom: max(1rem, env(safe-area-inset-bottom)); margin: 0; text-align: center; color: rgba(255,255,255,.75); font-size: .85rem; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .det-foto img { transition: none; } }

/* Producto «más vendido de la semana»: brillo dorado difuminado + listón arriba a la izquierda */
.card.card-top { border-color: #e8b72f; box-shadow: 0 0 0 2px rgba(240,187,52,.85), 0 0 26px 4px rgba(240,187,52,.5), 0 10px 30px rgba(7,20,12,.15); animation: top-brillo 3.2s ease-in-out infinite alternate; }
.card.card-top:hover { box-shadow: 0 0 0 2px #f0bb34, 0 0 34px 8px rgba(240,187,52,.65), 0 18px 44px rgba(7,20,12,.22); }
@keyframes top-brillo { from { box-shadow: 0 0 0 2px rgba(240,187,52,.75), 0 0 18px 2px rgba(240,187,52,.35), 0 10px 30px rgba(7,20,12,.15); } to { box-shadow: 0 0 0 2px rgba(247,201,72,.95), 0 0 32px 7px rgba(240,187,52,.6), 0 10px 30px rgba(7,20,12,.15); } }
.card-liston {
  position: absolute; left: 0; top: .8rem; z-index: 2; display: flex; flex-direction: column; line-height: 1.15;
  padding: .32rem 1.15rem .34rem .65rem; font-size: .68rem; font-weight: 800; letter-spacing: .01em; color: #3b2800;
  background: linear-gradient(135deg, #fbe28a, #e8b72f 55%, #d19a14);
  clip-path: polygon(0 0, 100% 0, calc(100% - .55rem) 50%, 100% 100%, 0 100%);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.25));
}
.card-liston span:last-child { font-weight: 700; font-size: .62rem; opacity: .85; }
@media (max-width: 40rem) { .card-liston { top: .55rem; font-size: .62rem; padding-right: 1rem; } .card-liston span:last-child { font-size: .58rem; } }
@media (prefers-reduced-motion: reduce) { .card.card-top { animation: none; } }
.mov-off .card.card-top { animation-play-state: paused; }

/* Video del producto (opcional) */
.det-video { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1rem; border-radius: 99px; border: 1px solid var(--brand); color: var(--text); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .2s, transform .2s; }
.det-video:hover, .det-video:focus-visible { background: rgba(60,207,121,.14); transform: translateY(-1px); }
.det-video-play { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--brand); color: #04140a; font-size: .6rem; padding-left: .1rem; }
@media (prefers-reduced-motion: reduce) { .det-video { transition: none; } .det-video:hover { transform: none; } }




/* ---- Pestañas «Temporada» (verde menta) y «Descuentos» (oro brillante) — aparecen solo si se activan en el panel ---- */
.chip-temporada { border-color: #12b89c; background: color-mix(in srgb, #12b89c 14%, var(--surface)); color: var(--text); }
.chip-temporada:hover { border-color: #20d6b6; }
.chip-temporada[aria-pressed="true"] { background: linear-gradient(135deg, #2fe0c0, #0fa88d); border-color: #0fa88d; color: #02211b; }
.chip-descuentos {
  position: relative; overflow: hidden; border-color: #d9a526; color: #2a1c00; font-weight: 800;
  background: linear-gradient(135deg, #fff1b8, #f2c94c 55%, #e0a82e); box-shadow: 0 2px 10px rgba(224,168,46,.45);
}
.chip-descuentos::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,.85), transparent);
  transform: skewX(-20deg); animation: brillo-oro 4.5s ease-in-out infinite;
}
.chip-descuentos:hover { border-color: #f5d56a; }
.chip-descuentos[aria-pressed="true"] { background: linear-gradient(135deg, #ffe58a, #f0b92e 55%, #d89a1c); border-color: #b9820f; color: #1f1400; box-shadow: 0 2px 14px rgba(240,185,46,.7); }
@keyframes brillo-oro { 0%, 55% { left: -60%; } 80%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .chip-descuentos::after { animation: none; display: none; } }
/* Precio con descuento: precio nuevo, precio normal tachado y porcentaje */
.precio-dto { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; }
.precio-antes { font-family: var(--font-body); font-size: .62em; font-weight: 600; color: #6b7d72; text-decoration: line-through; }
.precio-pct { font-family: var(--font-body); font-size: .5em; font-weight: 800; color: #1f1400; background: linear-gradient(135deg, #ffe58a, #e8b02a); border-radius: 99px; padding: .12em .6em; align-self: center; }

/* ---- Escalera de comisiones (página de asesores) ---- */
.as-escalera { margin: 0 0 1.6rem; padding: 1.4rem 1.2rem 1.3rem; border: 1px solid var(--border); border-radius: 1.2rem; background: var(--surface); }
.as-escalera[hidden] { display: none; }
.as-escalera h2 { font-size: 1.35rem; text-align: center; margin: 0 0 .3rem; }
.esc-sub { text-align: center; color: var(--text-soft); margin: 0 0 1.2rem; font-size: .95rem; }
.esc-grafico { display: flex; align-items: flex-end; justify-content: center; gap: .8rem; height: 11rem; margin-bottom: 1rem; }
.esc-paso { flex: 1 1 0; max-width: 15rem; border-radius: .9rem .9rem .3rem .3rem; padding: .7rem .6rem; text-align: center; display: flex; flex-direction: column; justify-content: flex-start; gap: .1rem; transform-origin: bottom; }
.esc-paso b { font-family: var(--font-head); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.1; }
.esc-paso span { font-size: .82rem; font-weight: 600; }
.esc-1 { height: 55%; background: linear-gradient(180deg, #3ccf79, #1f9d5a); color: #04140a; }
.esc-2 { height: 100%; position: relative; overflow: hidden; background: linear-gradient(180deg, #ffe58a, #e8b02a); color: #1f1400; box-shadow: 0 8px 26px rgba(232,176,42,.45); }
.esc-2::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-20deg); animation: brillo-oro 4.5s ease-in-out infinite; }
.as-escalera.ver .esc-paso { animation: esc-sube .8s cubic-bezier(.2,.8,.2,1) both; }
.as-escalera.ver .esc-2 { animation-delay: .25s; }
@keyframes esc-sube { from { transform: scaleY(.05); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
.esc-nota { text-align: center; font-size: .88rem; color: var(--text-soft); margin: 0 0 1.1rem; }
@media (prefers-reduced-motion: reduce) { .esc-2::after { animation: none; display: none; } .as-escalera.ver .esc-paso { animation: none; } }


/* ---- Catálogo completo: botón «Volver» de la cinta (visible en celular también) y botón final ---- */
.site-nav a.nav-volver {
  font-weight: 700; color: #d7f8e4; background: rgba(60,207,121,.18); border: 1px solid #3ccf79;
  padding: .45rem 1rem; box-shadow: 0 0 0 0 rgba(60,207,121,.4);
}
.site-nav a.nav-volver:hover { background: #3ccf79; color: #04140a; transform: translateX(-2px); }
.site-nav a.nav-volver:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
}
.volver-fin .btn-primary { background: linear-gradient(135deg, #1b7a4a, #0f5132); color: #fff; border: 1px solid #3ccf79; animation: ver-mas-latido 2.6s ease-out infinite; }
.volver-fin .btn-primary:hover { background: linear-gradient(135deg, #22905a, #146b43); }
@media (prefers-reduced-motion: reduce) { .volver-fin .btn-primary { animation: none; box-shadow: 0 8px 28px rgba(60,207,121,.45), 0 0 0 4px rgba(60,207,121,.25); } }
.mov-off .volver-fin .btn-primary { animation-play-state: paused; }


/* Catálogo completo y asesores: difuminado verde fijo detrás del contenido, de abajo hasta la mitad de la pantalla (claro y oscuro) */
.pg-catalogo::before, .pg-asesores::before {
  content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 50vh; z-index: -1; pointer-events: none;
  background: linear-gradient(to top, rgba(31,138,76,.42) 0%, rgba(31,138,76,.26) 35%, rgba(31,138,76,.10) 70%, rgba(31,138,76,0) 100%);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .pg-catalogo::before, :root:not([data-theme="light"]) .pg-asesores::before {
    background: linear-gradient(to top, rgba(60,207,121,.34) 0%, rgba(60,207,121,.20) 35%, rgba(60,207,121,.08) 70%, rgba(60,207,121,0) 100%);
  }
}
:root[data-theme="dark"] .pg-catalogo::before, :root[data-theme="dark"] .pg-asesores::before {
  background: linear-gradient(to top, rgba(60,207,121,.34) 0%, rgba(60,207,121,.20) 35%, rgba(60,207,121,.08) 70%, rgba(60,207,121,0) 100%);
}


/* ---- Ayuda: preguntas desplegables y botón «Habla con nosotros» ---- */
.ayuda-acc { display: grid; gap: .5rem; margin-top: .4rem; }
.ayuda-acc details { border: 1px solid var(--border); border-radius: .9rem; background: color-mix(in srgb, var(--surface) 92%, var(--brand) 8%); overflow: hidden; }
.ayuda-acc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .65rem; padding: .8rem 1rem;
  font-weight: 700; font-size: 1rem; color: var(--brand); min-height: 2.8rem;
}
.ayuda-acc summary::-webkit-details-marker { display: none; }
.ayuda-acc summary::before {
  content: ""; flex: none; width: .5rem; height: .5rem; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s; margin-left: .1rem;
}
.ayuda-acc details[open] > summary::before { transform: rotate(45deg); }
.ayuda-acc summary:hover { background: color-mix(in srgb, var(--brand) 10%, transparent); }
.ayuda-acc details > ol, .ayuda-acc details > ul, .ayuda-acc details > p { margin: 0; padding: 0 1rem 1rem 2.4rem; }
.ayuda-acc details > p { padding-left: 1rem; }
.ayuda .btn-chat {
  width: 100%; margin-top: 1.3rem; gap: .6rem; font-size: 1rem; font-weight: 800; color: #04140a;
  background: linear-gradient(135deg, #3ccf79, #1f9d5a); box-shadow: 0 8px 28px rgba(60,207,121,.4);
  animation: ver-mas-latido 2.6s ease-out infinite;
}
.ayuda .btn-chat:hover { transform: translateY(-2px); background: linear-gradient(135deg, #52e08c, #26ad66); }
.chat-ico { flex: none; transform-origin: 50% 80%; animation: chat-vibra 5s ease-in-out infinite; }
@keyframes chat-vibra { 0%, 78%, 100% { transform: rotate(0); } 82% { transform: rotate(-12deg) scale(1.1); } 86% { transform: rotate(10deg) scale(1.1); } 90% { transform: rotate(-6deg); } 94% { transform: rotate(0); } }
@media (prefers-reduced-motion: reduce) {
  .ayuda .btn-chat { animation: none; box-shadow: 0 8px 28px rgba(60,207,121,.45), 0 0 0 4px rgba(60,207,121,.25); }
  .chat-ico, .ayuda-acc summary::before { animation: none; transition: none; }
}
.mov-off .ayuda .btn-chat, .mov-off .chat-ico { animation-play-state: paused; }

/* ---- Asesores: video explicativo ---- */
.as-video { margin: 0 0 1.6rem; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.as-video[hidden] { display: none; }
.as-video h2 { font-size: 1.35rem; text-align: center; margin: 0; }
.av-texto { margin: 0; text-align: center; color: var(--text-soft); max-width: 40rem; }
.av-marco { width: 100%; max-width: 44rem; aspect-ratio: 16 / 9; border-radius: 1rem; overflow: hidden; background: #0b1a12; border: 1px solid var(--border); }
.av-marco iframe { width: 100%; height: 100%; border: 0; display: block; }
.av-enlace { font-size: .88rem; color: var(--text-soft); }

/* Video: se ve una portada liviana y el video solo carga cuando la persona lo toca */
.av-portada { position: relative; display: grid; place-items: center; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: #0b1a12 center / cover no-repeat; }
.av-play { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border-radius: 50%; background: #3ccf79; color: #04140a; font-size: 1.5rem; padding-left: .25rem; box-shadow: 0 .4rem 1.4rem rgba(0,0,0,.45); transition: transform .2s; }
.av-portada:hover .av-play, .av-portada:focus-visible .av-play { transform: scale(1.08); }
.av-portada:focus-visible { outline: 3px solid #3ccf79; outline-offset: -3px; }
@media (prefers-reduced-motion: reduce) { .av-play { transition: none; } }

/* ===== Celular: barra de arriba en dos filas (logo + botones / enlaces) y portada que cabe en pantalla ===== */
.hero::before { /* borde de abajo suave: la portada se funde con lo que sigue */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5rem; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
@media (max-width: 52rem) {
  :root { --header-h: 5.7rem; }
  .header-inner { padding: .45rem 1rem .25rem; row-gap: .15rem; }
  .brand { order: 1; }
  .header-tools { order: 2; }
  .site-nav {
    display: flex; order: 3; flex: 1 0 100%; gap: 0; justify-content: space-between;
    margin: 0 -.4rem; padding-top: .15rem; border-top: 1px solid var(--on-dark-border);
    overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-nav a { flex: none; white-space: nowrap; padding: .4rem .3rem; font-size: clamp(.7rem, 3.3vw, .88rem); }
  .site-nav a.nav-volver { padding: .3rem .7rem; font-size: .8rem; }
  .nav-volver .nv-txt { display: none; }
  .tool-btn { min-width: 2.2rem; min-height: 2.2rem; padding: 0 .55rem; }
}
@media (max-width: 40rem) {
  .hero-inner { padding: .7rem 1rem 9.8rem; }
  .hero-saludo { margin: 0 0 .4rem; }
  .logo-anim { width: min(11rem, 52%); margin-bottom: .2rem; }
  .hero-title { font-size: clamp(1.65rem, 7.8vw, 2.1rem); }
  .hero-sub { font-size: .9rem; margin: .5rem 0 .9rem; }
  .hero .btn { min-height: 2.8rem; padding: .7rem 1.3rem; }
  .hero-badges { margin-top: .9rem; gap: .4rem; }
  .hero-badges li { font-size: .76rem; padding: .28rem .6rem; }
}

/* ---- Instalar como app (aparece solo si el navegador lo permite) ---- */
.instalar { display: grid; gap: .5rem; justify-items: center; text-align: center; margin: .3rem 0 1rem; }
.instalar[hidden] { display: none; }
.instalar-txt, .instalar-ios { margin: 0; font-size: .9rem; max-width: 28rem; }
.site-footer .instalar-txt, .site-footer .instalar-ios { color: var(--on-dark-soft); }
.btn-instalar { font: inherit; font-weight: 700; cursor: pointer; color: inherit; background: rgba(60,207,121,.16); border: 1px solid #3ccf79; border-radius: 99px; padding: .55rem 1.2rem; min-height: 2.75rem; transition: background .2s, transform .2s; }
.btn-instalar[hidden] { display: none; }
.btn-instalar:hover, .btn-instalar:focus-visible { background: rgba(60,207,121,.3); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .btn-instalar { transition: none; } .btn-instalar:hover { transform: none; } }
