/* ============================================================
   INOVVA SCIENCE — Sistema de diseño
   Paleta sobria de marca · navy / teal · escalas de tokens
   ============================================================ */

:root {
  /* Marca */
  --navy:        #16205c;
  --navy-900:    #0a0e1f;   /* fondos oscuros (hero/footer) */
  --navy-800:    #0f1738;
  --royal:       #1e2d7d;   /* acento / acción */
  --royal-600:   #263a9c;
  --teal:        #1aa39a;   /* acento secundario */
  --teal-ink:    #0e6f68;   /* teal legible sobre blanco */

  /* Neutros */
  --ink:         #10131c;
  --paper:       #ffffff;
  --bg:          #f6f7fb;
  --bg-2:        #eef1f8;
  --muted:       #5b6170;
  --muted-2:     #6a7183;   /* ≥4.5:1 sobre blanco para textos pequeños */
  --line:        #e3e6ef;
  --line-soft:   #eef0f6;

  /* Semánticos */
  --success:     #12876a;
  --warning:     #b7791f;

  /* Espaciado (escala 4/8) */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
  --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;

  /* Tipografía */
  --font-sans: "Helvetica Neue", "Segoe UI", Arial, system-ui, sans-serif;
  --t-xs: 12px; --t-sm: 13px; --t-base: 15px; --t-md: 16px;
  --t-lg: 18px; --t-xl: 20px; --t-2xl: 24px; --t-3xl: 30px;
  --t-4xl: 38px; --t-5xl: 48px; --t-6xl: 60px;

  /* Radios y sombras */
  --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 22px; --r-pill: 999px;
  --sh-sm: 0 1px 2px rgba(16,32,92,.06), 0 1px 3px rgba(16,32,92,.05);
  --sh-md: 0 6px 20px rgba(16,32,92,.08);
  --sh-lg: 0 18px 48px rgba(10,14,31,.16);

  --container: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Un display explícito (p.ej. .save { display:inline-block }) le gana a la
   regla [hidden] del navegador y el elemento "oculto" sigue visible.
   Esto restaura la semántica de hidden para todo el sitio. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; }

::selection { background: var(--royal); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Foco visible — nunca lo quitamos */
:focus-visible {
  outline: 2px solid var(--royal);
  outline-offset: 2px;
  border-radius: 3px;
}
.on-dark :focus-visible { outline-color: #8ea2ff; }

/* ---------- Kicker / etiquetas ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal-ink);
}
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--teal); }
.on-dark .kicker { color: #6fd8cf; }
.on-dark .kicker::before { background: var(--teal); }

.tag {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--royal); background: #eef1fb; border: 1px solid #dbe1f6;
  padding: 4px 9px; border-radius: var(--r-sm);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: var(--t-md); font-weight: 700; letter-spacing: -0.01em;
  padding: 13px 24px; border: 1.5px solid transparent; border-radius: var(--r-pill);
  transition: transform .2s var(--ease), background .2s var(--ease),
              box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--royal); color: #fff; }
.btn-primary:hover { background: var(--royal-600); transform: translateY(-2px); box-shadow: var(--sh-md); }
.btn-primary:active { transform: translateY(0); }

.btn-wa { background: #1fb057; color: #fff; }
.btn-wa:hover { background: #17994a; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31,176,87,.28); }
.btn-wa:active { transform: translateY(0); }

.btn-ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--navy); background: var(--bg); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-lg { padding: 16px 30px; font-size: var(--t-lg); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a {
  font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink); position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--royal);
  transition: width .25s var(--ease);
}
.nav-links a:hover { color: var(--royal); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--royal); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; stroke: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy-900); color: #fff;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(30,45,125,.55) 0%, rgba(10,14,31,0) 55%),
    radial-gradient(90% 80% at 8% 100%, rgba(26,163,154,.16) 0%, rgba(10,14,31,0) 60%);
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  padding: 88px 0 96px;
}
.hero h1 { font-size: var(--t-6xl); letter-spacing: -0.03em; margin: 18px 0 20px; }
.hero h1 .accent { color: #7d92ff; }
.hero-sub { font-size: var(--t-xl); color: #c4c9e0; font-weight: 300; max-width: 34ch; line-height: 1.5; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .n { font-size: var(--t-3xl); font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.hero-stat .l { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .12em; color: #8c98d8; margin-top: 2px; }
.hero-media {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  aspect-ratio: 4/5; background: linear-gradient(160deg, #141d3f, #0a0e1f);
  box-shadow: var(--sh-lg); border: 1px solid rgba(255,255,255,.08);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Rotación del hero: dos capas apiladas con crossfade (las crea site.js) */
.hero-media img.hero-rotor { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.hero-media img.hero-rotor.show { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-media img.hero-rotor { transition: none; }
}
.hero-badge {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(10,14,31,.72); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 14px; border-radius: var(--r-pill);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }

/* ---------- Franja de confianza (marcas/valores) ---------- */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-strip .row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-weight: 600; font-size: var(--t-sm); }
.trust-item svg { width: 22px; height: 22px; stroke: var(--teal-ink); flex: none; }

/* ---------- Secciones ---------- */
.section { padding: var(--sp-9) 0; }
.section.tight { padding: var(--sp-8) 0; }
.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h1, .section-head h2 { font-size: var(--t-4xl); margin: 14px 0 12px; color: var(--ink); }
.section-head p { font-size: var(--t-lg); color: var(--muted); }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy-900); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-head p { color: #aab1cc; }

/* ---------- Grid categorías (4 columnas) ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cat-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px 24px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--cat, var(--royal));
}
a.cat-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.cat-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--cat, var(--royal)) 12%, #fff);
  margin-bottom: 18px;
}
.cat-ic svg { width: 24px; height: 24px; stroke: var(--cat, var(--royal)); }
.cat-card h3 { font-size: var(--t-xl); margin-bottom: 6px; }
.cat-tagline { font-size: var(--t-sm); font-weight: 700; color: var(--cat, var(--royal)); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 12px; }
.cat-card p { font-size: var(--t-sm); color: var(--muted); flex: 1; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.cat-count { font-size: var(--t-sm); font-weight: 700; color: var(--ink); }
.cat-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-sm); font-weight: 700; color: var(--cat, var(--royal)); transition: gap .2s var(--ease); }
a.cat-card:hover .cat-arrow { gap: 12px; }

/* ---------- Grid productos ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.pcard {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: transparent; }
.pcard-media {
  position: relative; aspect-ratio: 1/1; background: var(--bg-2);
  display: grid; place-items: center; overflow: hidden;
}
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.05); }
/* Presentación tipográfica cuando no hay foto */
.pcard-media.noimg {
  background: linear-gradient(150deg, #141d3f 0%, #0a0e1f 100%);
}
.pcard-mono {
  text-align: center; color: #fff; padding: 20px;
}
.pcard-mono .mono-name { font-size: var(--t-2xl); font-weight: 800; letter-spacing: -0.02em; }
.pcard-mono .mono-dose { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: var(--t-xs); color: #8c98d8; margin-top: 8px; letter-spacing: .1em; }
.pcard-cat-dot { position: absolute; top: 14px; left: 14px; z-index: 2; }
.pcard-cat-dot span {
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--cat, var(--royal)); padding: 4px 10px; border-radius: var(--r-pill);
}
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.pcard-kicker { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: 6px; }
.pcard-body h3 { font-size: var(--t-xl); letter-spacing: -0.02em; }
.pcard-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pcard-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; padding-top: 16px; }
.pcard-price .from { display: block; font-size: 11px; color: var(--muted-2); text-transform: uppercase; letter-spacing: .08em; }
.pcard-price .val { font-size: var(--t-2xl); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.pcard-cta {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-2);
  display: grid; place-items: center; transition: background .2s var(--ease), transform .2s var(--ease);
}
.pcard-cta svg { width: 18px; height: 18px; stroke: var(--royal); }
.pcard:hover .pcard-cta { background: var(--royal); }
.pcard:hover .pcard-cta svg { stroke: #fff; }

/* ---------- Filtros catálogo ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  font-size: var(--t-sm); font-weight: 700; letter-spacing: .01em;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--paper); border: 1.5px solid var(--line); color: var(--muted);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- Franja descuentos ---------- */
.discount-band { background: var(--navy-900); color: #fff; border-radius: var(--r-xl); overflow: hidden; position: relative; }
.discount-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(80% 120% at 100% 0%, rgba(26,163,154,.25), transparent 60%);
}
.discount-inner { position: relative; z-index: 2; padding: 48px 44px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.discount-tiers { display: flex; gap: 16px; }
.tier {
  flex: 1; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 22px 20px; text-align: center;
}
.tier .pct { font-size: var(--t-4xl); font-weight: 800; color: #fff; letter-spacing: -0.03em; }
.tier .pct span { color: var(--teal); }
.tier .cond { font-size: var(--t-sm); color: #aab1cc; margin-top: 4px; }

/* ---------- Página producto ---------- */
.pdp { padding: 40px 0 90px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: var(--t-sm); color: var(--muted); margin-bottom: 28px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--royal); }
.breadcrumb .sep { color: var(--line); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.gallery-main {
  position: relative; aspect-ratio: 1/1; border-radius: var(--r-lg); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: aspect-ratio .25s var(--ease);
}
/* contain + aspecto adaptable (fijado por JS según la imagen) → nunca recorta */
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main.noimg { background: linear-gradient(150deg, #141d3f 0%, #0a0e1f 100%); display: grid; place-items: center; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.thumb {
  width: 82px; height: 82px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--line);
  background: var(--bg-2); transition: border-color .2s var(--ease);
}
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.thumb:hover { border-color: var(--muted-2); }
.thumb.active { border-color: var(--royal); }

.pdp-info .kicker { margin-bottom: 14px; }
.pdp-info h1 { font-size: var(--t-5xl); letter-spacing: -0.03em; }
.pdp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 20px; }
.pdp-mech { font-size: var(--t-md); color: var(--muted); line-height: 1.65; }

.pdp-facts { display: flex; gap: 10px; margin: 22px 0; flex-wrap: wrap; }
.fact {
  display: flex; align-items: center; gap: 9px; font-size: var(--t-sm); font-weight: 600; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 14px;
}
.fact svg { width: 17px; height: 17px; stroke: var(--teal-ink); flex: none; }

/* Caja de compra */
.buy-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--sh-sm); margin-top: 26px; }
.buy-label { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.dose-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.dose-opt {
  padding: 10px 18px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  background: var(--paper); font-weight: 700; font-size: var(--t-sm); color: var(--ink);
  transition: all .18s var(--ease);
}
.dose-opt:hover { border-color: var(--navy); }
.dose-opt.active { border-color: var(--royal); background: #eef1fb; color: var(--royal); }

.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.qty button { width: 42px; height: 44px; background: var(--paper); border: 0; font-size: 20px; color: var(--navy); transition: background .18s var(--ease); }
.qty button:hover { background: var(--bg-2); }
.qty input { width: 48px; height: 44px; border: 0; border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); text-align: center; font-size: var(--t-md); font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.price-block { text-align: right; }
.price-block .now { font-size: var(--t-4xl); font-weight: 800; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.price-block .was { font-size: var(--t-md); color: var(--muted-2); text-decoration: line-through; }
.price-block .save { display: inline-block; font-size: var(--t-xs); font-weight: 700; color: var(--success); background: #e6f4ef; padding: 3px 9px; border-radius: var(--r-pill); margin-top: 6px; }
.unit-note { font-size: var(--t-xs); color: var(--muted-2); text-align: right; margin-top: 2px; }

.disc-hint { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); color: var(--muted); margin-top: 18px; padding: 12px 14px; background: var(--bg); border-radius: var(--r-sm); }
.disc-hint svg { width: 18px; height: 18px; stroke: var(--teal-ink); flex: none; }

.buy-actions { margin-top: 18px; }
.ruo-inline { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); color: var(--muted-2); margin-top: 14px; justify-content: center; }
.ruo-inline svg { width: 15px; height: 15px; stroke: var(--muted-2); }

/* Bloques info producto */
.pdp-blocks { margin-top: 72px; display: flex; flex-direction: column; gap: 40px; }
.pdp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pdp-cols > .block-card { height: 100%; }
.block-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; }
.block-card h2 { font-size: var(--t-2xl); margin-bottom: 20px; }
.benefits-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.benefits-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: var(--t-md); color: var(--ink); line-height: 1.5; }
.benefits-list li svg { width: 22px; height: 22px; stroke: var(--teal-ink); margin-top: 1px; }

.papers-card { background: var(--navy-900); color: #fff; border: 0; }
.papers-card h2 { color: #fff; }
.papers-note { font-size: var(--t-sm); color: #aab1cc; margin-bottom: 20px; }
.paper { display: block; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); transition: opacity .2s var(--ease); }
.paper:first-of-type { border-top: 0; }
.paper:hover { opacity: .85; }
.paper .p-title { font-size: var(--t-md); font-weight: 700; color: #fff; line-height: 1.35; }
.paper .p-meta { font-size: var(--t-sm); color: #8c98d8; margin-top: 5px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.paper .p-journal { color: #6fd8cf; font-weight: 600; }
.paper .p-link { display: inline-flex; align-items: center; gap: 5px; color: #7d92ff; font-weight: 700; font-size: var(--t-sm); margin-top: 8px; }
.paper .p-link svg { width: 14px; height: 14px; stroke: currentColor; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final h2 { font-size: var(--t-4xl); color: #fff; margin-bottom: 14px; }
.cta-final p { font-size: var(--t-lg); color: #aab1cc; max-width: 52ch; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #c4c9e0; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-logo img { height: 34px; margin-bottom: 18px; }
.footer-about { font-size: var(--t-sm); color: #8c98d8; max-width: 34ch; line-height: 1.6; }
.footer-col h4 { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .12em; color: #6fd8cf; margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--t-sm); color: #c4c9e0; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-wa { margin-top: 8px; }
.ruo-disclaimer {
  margin-top: 48px; padding: 24px; border-radius: var(--r-md);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
}
.ruo-disclaimer h5 { display: flex; align-items: center; gap: 10px; font-size: var(--t-sm); text-transform: uppercase; letter-spacing: .08em; color: #fff; margin-bottom: 10px; }
.ruo-disclaimer h5 .warn { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--teal); border-radius: 50%; color: var(--teal); font-weight: 800; font-size: 12px; }
.ruo-disclaimer p { font-size: var(--t-xs); color: #8c98d8; line-height: 1.6; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--t-xs); color: #8c98d8; flex-wrap: wrap; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #1fb057;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,176,87,.4);
  transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Utilidades ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { max-width: 440px; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
  .pdp-grid { grid-template-columns: 1fr; gap: 36px; }
  .pdp-blocks { grid-template-columns: 1fr; }
  .pdp-cols { grid-template-columns: 1fr; }
  .discount-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-desktop-cta { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .nav-links.open a::after { display: none; }
  :root { --t-6xl: 40px; --t-5xl: 36px; --t-4xl: 30px; }
  .hero-inner { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .discount-tiers { flex-direction: column; }
  .discount-inner { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .block-card { padding: 24px; }
  .container { padding: 0 18px; }
}

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

/* ============================================================
   v2 — Filtros por objetivo · comparador · calculadora · FAQ
   ============================================================ */

/* Card: overview + envoltorio para botón comparar */
.pcard-wrap { position: relative; display: flex; }
.pcard-wrap > .pcard { flex: 1; min-width: 0; }
.pcard-over { font-size: var(--t-sm); color: var(--muted); margin-top: 8px; line-height: 1.45; }
.pcard-cmp {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(4px);
  border: 1.5px solid var(--line); color: var(--navy);
  font-size: 11px; font-weight: 700; letter-spacing: .02em;
  padding: 6px 10px; border-radius: var(--r-pill); box-shadow: var(--sh-sm);
  transition: all .18s var(--ease);
}
.pcard-cmp svg { width: 14px; height: 14px; stroke: currentColor; }
.pcard-cmp span { line-height: 1; }
.pcard-cmp:hover { border-color: var(--navy); }
.pcard-cmp.on { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Filtros: grupos etiquetados */
.filter-block { margin-bottom: 30px; }
.filter-label { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 12px; }
.filters { margin-bottom: 18px; }
.chip-obj { display: inline-flex; align-items: center; gap: 7px; }
.chip-ic { display: inline-flex; }
.chip-ic svg { width: 15px; height: 15px; stroke: currentColor; }
.chip-obj.active .chip-ic svg { stroke: #fff; }

.empty-state { grid-column: 1 / -1; text-align: center; padding: 56px 20px; color: var(--muted); font-size: var(--t-lg); border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--bg); }

/* Ficha: overview + objetivos + datos clave */
.pdp-over { font-size: var(--t-xl); color: var(--ink); font-weight: 500; line-height: 1.45; margin: 14px 0 4px; }
.pdp-objs { margin: 20px 0 4px; }
.pdp-objs-lab { display: block; font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 10px; }
.pdp-objs-row { display: flex; flex-wrap: wrap; gap: 8px; }
.obj-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--t-sm); font-weight: 600; color: var(--teal-ink);
  background: #e9f6f4; border: 1px solid #c7e8e4; padding: 7px 13px; border-radius: var(--r-pill);
  transition: all .18s var(--ease);
}
.obj-pill svg { width: 15px; height: 15px; stroke: currentColor; }
.obj-pill:hover { background: var(--teal-ink); color: #fff; border-color: var(--teal-ink); }

.block-card h2 { display: flex; align-items: center; gap: 10px; }
.block-card h2 svg { width: 22px; height: 22px; stroke: var(--teal-ink); flex: none; }

.keydata { display: flex; flex-direction: column; }
.kd-row { display: grid; grid-template-columns: 40% 1fr; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line-soft); }
.kd-row:first-child { border-top: 0; }
.kd-row dt { font-size: var(--t-sm); font-weight: 700; color: var(--muted); }
.kd-row dd { font-size: var(--t-md); font-weight: 600; color: var(--ink); }

/* Calculadora de reconstitución */
.recon-lead { font-size: var(--t-sm); color: var(--muted); margin-bottom: 20px; }
.recon-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 8px; align-items: start; }
.recon-field { display: grid; grid-template-rows: subgrid; grid-row: span 2; min-width: 0; }
.recon-field span { font-size: var(--t-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.recon-field input {
  width: 100%; min-width: 0;
  font-family: inherit; font-size: var(--t-lg); font-weight: 700; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 14px; background: var(--paper);
  transition: border-color .18s var(--ease);
}
.recon-field input:hover { border-color: var(--muted-2); }
.recon-field input:focus-visible { outline: 2px solid var(--royal); outline-offset: 2px; border-color: var(--royal); }
.recon-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.recon-cell { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; min-height: 96px; }
.recon-cell.hi { background: var(--navy-900); border-color: var(--navy-900); }
.recon-cell.hi .rc-val { color: #fff; }
.recon-cell.hi .rc-lab { color: #8c98d8; }
.rc-val { font-size: var(--t-2xl); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.05; white-space: nowrap; }
.rc-sub { font-size: var(--t-sm); font-weight: 700; color: var(--muted); margin-top: 3px; letter-spacing: -0.01em; }
.rc-lab { font-size: var(--t-xs); color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; margin-top: 8px; }
.recon-empty { color: var(--muted); font-size: var(--t-sm); }
.recon-note { display: flex; align-items: flex-start; gap: 8px; font-size: var(--t-xs); color: var(--muted-2); margin-top: 18px; line-height: 1.5; }
.recon-note svg { width: 15px; height: 15px; stroke: var(--muted-2); flex: none; margin-top: 1px; }

/* Acordeón FAQ */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:first-child { border-top: 0; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 18px 0; text-align: left;
  font-family: inherit; font-size: var(--t-lg); font-weight: 700; color: var(--ink); letter-spacing: -0.01em;
}
.faq-q svg { width: 22px; height: 22px; stroke: var(--royal); flex: none; transition: transform .25s var(--ease); }
.faq-q:hover { color: var(--royal); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { font-size: var(--t-md); color: var(--muted); line-height: 1.6; padding-bottom: 20px; max-width: 68ch; }

/* Calculadora embebida en la ficha de producto */
.pdp-recon .recon-grid { margin-top: 4px; }

/* ---------- Página legal / cumplimiento ---------- */
.legal-shell { max-width: 860px; margin: 0 auto; }
.legal-updated { font-size: var(--t-sm); color: var(--muted-2); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 18px; }
.legal-lead { font-size: var(--t-lg); color: var(--ink); line-height: 1.6; padding: 22px 24px; background: var(--bg); border: 1px solid var(--line); border-left: 4px solid var(--royal); border-radius: var(--r-md); margin-bottom: 40px; }
.legal-lead strong { color: var(--royal); }
.legal-sec { margin-bottom: 30px; }
.legal-sec h2 { font-size: var(--t-xl); color: var(--ink); margin-bottom: 12px; letter-spacing: -0.01em; }
.legal-sec p { font-size: var(--t-md); color: var(--muted); line-height: 1.7; margin-bottom: 10px; }
.legal-sec p strong { color: var(--ink); }
.legal-sec ul { list-style: none; margin: 6px 0 12px; display: flex; flex-direction: column; gap: 8px; }
.legal-sec li { position: relative; padding-left: 22px; font-size: var(--t-md); color: var(--muted); line-height: 1.6; }
.legal-sec li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 2px; background: var(--teal); }
.legal-sec a { color: var(--royal); font-weight: 600; }
.legal-sec a:hover { text-decoration: underline; }

/* ---------- Accesibilidad / pulido (post-revisión) ---------- */
/* Enlace para saltar al contenido (visible solo al foco) */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--royal); color: #fff; padding: 10px 18px;
  border-radius: var(--r-sm); font-weight: 700; font-size: var(--t-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Foco del selector de cantidad: anillo interno (no lo recorta overflow:hidden) */
.qty input:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--royal); }
.qty:focus-within { border-color: var(--royal); }

/* Ocultar el WhatsApp flotante mientras la bandeja del comparador está activa */
body.cmp-active .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }

/* ---------- Selector de región / idioma (header) ---------- */
.region-switch {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 7px 12px; font-weight: 700; font-size: var(--t-sm); color: var(--ink);
  transition: border-color .18s var(--ease), background .18s var(--ease);
}
.region-switch:hover { border-color: var(--navy); }
.region-switch .rs-flag { font-size: 15px; line-height: 1; }
.region-switch .rs-code { letter-spacing: .04em; }

/* ---------- Modal de región (bloqueante 1er ingreso) ---------- */
.region-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,14,31,.72); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; transition: opacity .25s var(--ease);
}
.region-overlay.open { opacity: 1; }
.region-modal {
  position: relative; width: 100%; max-width: 460px; text-align: center;
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-lg);
  padding: 40px 34px 30px;
  transform: translateY(14px); transition: transform .25s var(--ease);
}
.region-overlay.open .region-modal { transform: none; }
.region-logo img { height: 30px; margin: 0 auto 20px; display: block; }
.region-modal h2 { font-size: var(--t-2xl); margin-bottom: 10px; }
.region-modal > p { font-size: var(--t-md); color: var(--muted); margin-bottom: 24px; }
.region-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.region-opt {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg);
  padding: 20px 14px; transition: transform .18s var(--ease), border-color .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease);
}
.region-opt:hover { border-color: var(--royal); background: #f7f8ff; transform: translateY(-2px); box-shadow: var(--sh-sm); }
.region-opt .ro-flag { font-size: 30px; line-height: 1; }
.region-opt .ro-name { font-size: var(--t-md); font-weight: 800; color: var(--ink); }
.region-opt .ro-desc { font-size: var(--t-xs); color: var(--muted); }
.region-note { font-size: var(--t-xs); color: var(--muted-2); margin-top: 20px; }
.region-close { position: absolute; top: 16px; right: 16px; background: var(--bg); border: 0; width: 34px; height: 34px; border-radius: 50%; color: var(--muted); font-size: 15px; transition: background .18s var(--ease); }
.region-close:hover { background: var(--bg-2); color: var(--ink); }

@media (max-width: 480px) {
  .region-opts { grid-template-columns: 1fr; }
  .region-modal { padding: 32px 22px 24px; }
}

.faq-section { background: var(--bg); }
.faq-shell { max-width: 820px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 12px 32px; box-shadow: var(--sh-sm); }
.recon-shell { max-width: 780px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--sh-sm); }

/* Bandeja del comparador */
.cmp-tray {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  background: rgba(10,14,31,.97); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12); box-shadow: 0 -10px 40px rgba(0,0,0,.3);
  padding: 14px 0;
  animation: trayUp .3s var(--ease);
}
@keyframes trayUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cmp-tray-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; position: relative; }
.cmp-tray-items { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; }
.cmp-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: #fff;
  font-size: var(--t-sm); font-weight: 600; padding: 7px 8px 7px 14px; border-radius: var(--r-pill);
}
.cmp-chip button { background: none; border: 0; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; }
.cmp-chip button svg { width: 14px; height: 14px; stroke: #c4c9e0; }
.cmp-chip button:hover { background: rgba(255,255,255,.14); }
.cmp-chip button:hover svg { stroke: #fff; }
.cmp-tray-actions { display: flex; gap: 10px; }
.cmp-tray .cmp-clear { color: #fff; border-color: rgba(255,255,255,.28); padding: 11px 20px; }
.cmp-tray .cmp-clear:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cmp-tray .btn-primary { padding: 11px 22px; }
.cmp-tray .btn-primary:disabled { opacity: .5; }
.cmp-flash { position: absolute; right: 0; top: -44px; background: var(--warning); color: #fff; font-size: var(--t-sm); font-weight: 700; padding: 8px 16px; border-radius: var(--r-pill); opacity: 0; transform: translateY(6px); transition: all .2s var(--ease); pointer-events: none; }
.cmp-flash.show { opacity: 1; transform: none; }

/* Modal comparador */
.cmp-overlay { position: fixed; inset: 0; z-index: 90; background: rgba(10,14,31,.6); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: 40px 20px; overflow-y: auto; }
.cmp-overlay.open { display: flex; }
.cmp-modal { width: 100%; max-width: 1100px; background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; animation: modalIn .3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.cmp-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 28px 32px 20px; border-bottom: 1px solid var(--line); }
.cmp-modal-head h2 { font-size: var(--t-3xl); margin-top: 8px; }
.cmp-modal-close { background: var(--bg); border: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .18s var(--ease); }
.cmp-modal-close svg { width: 20px; height: 20px; stroke: var(--ink); }
.cmp-modal-close:hover { background: var(--bg-2); }
.cmp-scroll { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); font-size: var(--t-sm); color: var(--ink); line-height: 1.5; }
.cmp-table thead th { position: sticky; top: 0; background: var(--paper); border-bottom: 2px solid var(--line); }
.cmp-table td .tag { margin: 0 4px 4px 0; }
.cmp-rowhead { font-weight: 700; color: var(--muted); background: var(--bg); width: 150px; white-space: nowrap; }
.cmp-thumb { width: 64px; height: 64px; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-2); margin-bottom: 10px; }
.cmp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cmp-thumb.noimg { display: grid; place-items: center; background: linear-gradient(150deg,#141d3f,#0a0e1f); color: #fff; font-weight: 800; font-size: var(--t-lg); text-transform: uppercase; }
.cmp-name { font-size: var(--t-lg); font-weight: 800; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.02em; }
.cmp-price { font-size: var(--t-lg); color: var(--navy); }
.btn-sm { padding: 8px 16px; font-size: var(--t-sm); }
.cmp-modal-foot { padding: 22px 32px 28px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; }

@media (max-width: 760px) {
  .recon-grid { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 18px; }
  .recon-field { display: flex; flex-direction: column; grid-row: auto; gap: 8px; }
  .recon-shell { padding: 20px; }
  .faq-shell { padding: 8px 20px; }
  .cmp-tray-inner { flex-direction: column; align-items: stretch; }
  .cmp-tray-actions { justify-content: space-between; }
  .kd-row { grid-template-columns: 1fr; gap: 4px; }
}
