/* =========================================================
   Comercializadora NC — «El laboratorio que se deja ver»
   Mobile first · tema claro con capítulos oscuros
   ========================================================= */

@property --a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

:root {
  --bg: #F5F3F9; --surface: #FFFFFF; --mist: #ECE7F5;
  --ink: #120E1B; --ink-2: #5A5368;
  --line: rgba(18, 14, 27, .12);
  --violet: #912D8D; --violet-deep: #4A1260;
  --cobalt: #2B44FF; --mint: #12C98B;
  --vault: #0A0712; --vault-2: #150C24; --tile: #050506;
  --holo: linear-gradient(110deg, #2B44FF 0%, #19D3F0 24%, #12C98B 44%, #F6D365 62%, #FF5C93 80%, #912D8D 100%);
  --r: 28px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --f-d: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --f-b: 'Inter Tight', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-m: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --on-dark: rgba(255, 255, 255, .78);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font: 400 17px/1.6 var(--f-b); color: var(--ink); background: var(--bg);
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
section[id] { scroll-margin-top: 0; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; }
.wrap--n { max-width: 880px; }
.wrap--c { text-align: center; }
.center { display: flex; justify-content: center; margin-top: 40px; }
.center-t { text-align: center; margin-top: 24px; }

/* ---------- Tipografía ---------- */
h1, h2, h3 { font-family: var(--f-d); font-weight: 400; letter-spacing: -.02em; font-variation-settings: "opsz" 144; }
h2 { font-size: clamp(2rem, 6vw, 4.4rem); line-height: 1.02; }
h3 { font-size: 1.35rem; line-height: 1.15; font-weight: 500; }
.h2--pin { font-size: clamp(1.7rem, 5vw, 3.2rem); }
.kick { font: 500 12px/1.2 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.kick--l { color: #E49BDF; }
.mono { font: 500 12px/1.4 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.mono--l { color: rgba(255, 255, 255, .6); }
.lead { font-size: clamp(1.05rem, 2.4vw, 1.25rem); color: var(--ink-2); max-width: 56ch; margin-top: 18px; }
.lead--l { color: var(--on-dark); }
.note { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.note--l, .note--dk { color: rgba(255, 255, 255, .62); }
.holo {
  font-style: italic; background: var(--holo); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em; animation: holoShift 7s ease-in-out infinite alternate;
}
@keyframes holoShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

.sec { position: relative; padding: 88px 0; }
.sec--pearl { background: var(--bg); }
.sec--vault2 { background: var(--vault-2); color: var(--on-dark); }
.sec--tight { padding: 40px 0 88px; }
.sec__hd { max-width: 820px; }

/* ---------- Iconos y botones ---------- */
.ic { width: 20px; height: 20px; flex: none; }
.btn {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1.2 var(--f-b); text-decoration: none; text-align: center;
  transform: translate(var(--bx, 0px), var(--by, 0px)); transition: transform .35s var(--ease), background .3s, color .3s;
}
.btn__t { position: relative; z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: color .35s; }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn--p { background: var(--ink); color: #fff; }
.btn--p::before {
  content: ""; position: absolute; inset: -1.5px; border-radius: inherit; padding: 1.5px; z-index: 0; pointer-events: none;
  background: var(--holo);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@supports (background: conic-gradient(from var(--a), red, blue)) {
  .btn--p::before { background: conic-gradient(from var(--a), #2B44FF, #19D3F0, #12C98B, #F6D365, #FF5C93, #912D8D, #2B44FF); animation: spin 6s linear infinite; }
}
.btn--p::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; background: #fff; z-index: 1;
  transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease);
}
@media (hover: hover) {
  .btn--p:hover::after { transform: scaleX(1); }
  .btn--p:hover .btn__t { color: var(--ink); }
  .btn--light:hover .btn__t { color: #fff; }
}
.btn--light { background: #fff; color: var(--ink); }
.btn--light::after { background: var(--ink); }
.btn--s { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--s:hover { background: var(--mist); }
.btn--onDark { color: #fff; border-color: rgba(255, 255, 255, .22); margin-top: auto; align-self: flex-start; }
.btn--onDark:hover { background: rgba(255, 255, 255, .1); }
.btn[data-reveal].is-in, html.js .btn[data-reveal].is-in { transform: translate(var(--bx, 0px), var(--by, 0px)); }
html.js .tile[data-reveal].is-in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
@keyframes spin { to { --a: 360deg; } }
@keyframes rot { to { transform: rotate(360deg); } }

/* ---------- Cargador ---------- */
.loader { position: fixed; inset: 0; z-index: 200; animation: lf .01s linear 2.5s forwards; }
@keyframes lf { to { visibility: hidden; opacity: 0; pointer-events: none; } }
.loader.gone { display: none; }
.loader__half {
  position: absolute; left: 0; right: 0; height: 50.6%; background-color: #F5F3F9;
  background-image: radial-gradient(rgba(18, 14, 27, .08) 1px, transparent 1.5px); background-size: 24px 24px;
  transition: transform .7s var(--ease-io);
}
.loader__half--t { top: 0; }
.loader__half--b { bottom: 0; background-position: 0 calc(-50vh); }
.loader.out .loader__half--t { transform: translateY(-101%); }
.loader.out .loader__half--b { transform: translateY(101%); }
.loader__core { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; transition: opacity .3s; }
.loader.out .loader__core { opacity: 0; }
.loader__mol { position: relative; width: 140px; height: 140px; }
.loader__mol svg { overflow: visible; }
.loader .lk { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) both; animation-delay: calc(var(--d, 0) * .12s); }
.loader .lk--ring { animation-delay: .8s; }
.loader .nd { transform-box: fill-box; transform-origin: center; animation: pop .55s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--d, 0) * .12s + .15s); }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.loader__logo { position: absolute; left: 50%; top: 50%; width: 56px; height: auto; margin: -28px 0 0 -28px; opacity: 0; animation: fadeIn .6s ease 1s both; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.loader__name { font: 500 12px/1 var(--f-m); letter-spacing: .22em; text-transform: uppercase; }
.loader__bar { width: 160px; height: 2px; background: rgba(18, 14, 27, .12); overflow: clip; border-radius: 2px; }
.loader__bar i { display: block; height: 100%; background: var(--holo); transform: scaleX(0); transform-origin: left; }
.loader__state { font: 500 11px/1 var(--f-m); letter-spacing: .16em; color: var(--ink-2); }

/* ---------- Progreso + header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 130; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--holo); transform-origin: left; transform: scaleX(var(--page-p, 0)); }
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 110; height: 64px;
  background: rgba(245, 243, 249, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line); transition: transform .5s var(--ease), background .3s;
}
.hdr.hide { transform: translateY(-100%); }
.hdr__in { height: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.05rem/1 var(--f-d); letter-spacing: -.01em; }
.brand img { width: 34px; height: auto; }
.nav { display: none; position: relative; gap: 4px; }
.nav a { padding: 8px 12px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav__ind { position: absolute; left: 0; bottom: 0; height: 2px; width: var(--w, 0px); transform: translateX(var(--x, 0px)); background: var(--holo); opacity: var(--o, 0); transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.hdr__cta { display: none; }
.burger { width: 44px; height: 44px; border: 0; background: transparent; position: relative; cursor: pointer; }
.burger i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .45s var(--ease), background .3s; }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 25px; }
html.menu-open .burger i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
html.menu-open .burger i:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
html.menu-open .burger i { background: #fff; }
html.menu-open .hdr { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
html.menu-open .brand { color: #fff; }
html.menu-open .brand img { filter: invert(1); }
html.menu-open { overflow: hidden; }
.menu {
  position: fixed; inset: 0; z-index: 105; background: var(--vault); color: #fff; padding: 96px 28px 40px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; overflow-y: auto;
}
.menu.open { visibility: visible; opacity: 1; transition: opacity .4s; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { font: 400 2.4rem/1.15 var(--f-d); text-decoration: none; letter-spacing: -.02em; opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); transition-delay: 0s; }
.menu.open nav a, .menu.open > .btn { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 70ms + 120ms); }
.menu > .btn { opacity: 0; transform: translateY(24px); transition: opacity .5s, transform .6s var(--ease); }

/* ---------- Entradas del hero (visible por defecto) ---------- */
html.js .hin { opacity: 0; transform: translateY(22px); animation: fs .01s linear 3.6s forwards; }
html.ready .hin { opacity: 1; transform: none; transition: opacity .9s var(--ease) calc(var(--i, 0) * .1s + .1s), transform 1.1s var(--ease) calc(var(--i, 0) * .1s + .1s); }
.ln { display: block; overflow: clip; padding: .04em 0 .14em; margin-bottom: -.1em; }
.ln > span { display: inline-block; }
html.js .ln > span { transform: translateY(112%); animation: fsT .01s linear 3.6s forwards; }
html.ready .ln > span { transform: none; transition: transform 1.2s var(--ease) calc(var(--l, 0) * .12s + .2s); }
.ln:nth-child(2) > span { --l: 1; } .ln:nth-child(3) > span { --l: 2; } .ln:nth-child(4) > span { --l: 3; }
@keyframes fs { to { opacity: 1; transform: none; filter: none; } }
@keyframes fsT { to { transform: none; } }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: max(100svh, 760px); padding: 100px 0 96px; overflow: clip; display: flex; align-items: center; background: var(--bg); isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.aurora { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .32; pointer-events: none; z-index: 0; }
.aurora--a { left: -20vmax; top: -18vmax; background: radial-gradient(circle, #912D8D, transparent 65%); animation: drift 18s ease-in-out infinite alternate; }
.aurora--b { right: -22vmax; bottom: -20vmax; background: radial-gradient(circle, #2B44FF, transparent 65%); animation: drift 18s ease-in-out -9s infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(8vmax, 6vmax) scale(1.15); } }
.hero__veil { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 70% 55% at 30% 45%, rgba(245, 243, 249, .88), rgba(245, 243, 249, 0) 70%); }
.hero__grid { position: relative; z-index: 2; display: grid; gap: 44px; }
.hero__txt { transform: translateY(calc(var(--hp, 0) * -60px)) scale(calc(1 - var(--hp, 0) * .06)); opacity: calc(1 - var(--hp, 0) * .6); transform-origin: left top; will-change: transform; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font: 500 11px/1.3 var(--f-m); letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .7); border: 1px solid rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -12px rgba(74, 18, 96, .3); }
.chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); flex: none; box-shadow: 0 0 0 0 rgba(18, 201, 139, .6); animation: ping 2s infinite; }
.chip .holo { font-style: normal; padding-right: 0; }
@keyframes ping { to { box-shadow: 0 0 0 10px rgba(18, 201, 139, 0); } }
.h1 { margin-top: 22px; font-size: clamp(2.6rem, 10.5vw, 7rem); line-height: .96; letter-spacing: -.035em; font-weight: 400; }
.hero__sub { margin-top: 24px; }
.tick { margin-top: 22px; display: flex; align-items: center; gap: 10px; font: 500 13px/1.4 var(--f-m); letter-spacing: .14em; color: var(--violet); }
.tick__w { position: relative; display: block; height: 1.5em; width: 24ch; overflow: clip; }
.tick__w span { position: absolute; left: 0; top: 0; white-space: nowrap; }
.tick__w .in { animation: tIn .6s var(--ease) both; }
.tick__w .out { animation: tOut .6s var(--ease) both; }
@keyframes tIn { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes tOut { from { transform: none; opacity: 1; } to { transform: translateY(-100%); opacity: 0; } }
.cta-row { margin-top: 28px; display: grid; gap: 12px; }
.micro { margin-top: 20px; font: 500 11px/1.6 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.hero__txt .note { margin-top: 8px; }

.hero__scene { position: relative; width: min(78vw, 340px); margin: 0 auto; }
.scene__float { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }
.scene__tilt {
  position: relative; isolation: isolate;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(calc(var(--hp, 0) * 40px)) rotateZ(calc(var(--hp, 0) * 4deg));
  transition: transform .25s ease-out; will-change: transform;
}
.scene__ring { position: absolute; inset: -25%; z-index: -2; border-radius: 50%; background: conic-gradient(#2B44FF, #19D3F0, #12C98B, #F6D365, #FF5C93, #912D8D, #2B44FF); filter: blur(40px); opacity: .42; animation: rot 30s linear infinite; }
.scene__orbit { position: absolute; inset: -12%; z-index: -1; border: 1px dashed rgba(18, 14, 27, .24); border-radius: 50%; animation: rot 22s linear infinite; }
.scene__orbit i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 14px var(--violet); }
.scene__orbit i:nth-child(1) { left: 50%; top: 0; } .scene__orbit i:nth-child(2) { left: 93%; top: 75%; background: var(--cobalt); box-shadow: 0 0 14px var(--cobalt); } .scene__orbit i:nth-child(3) { left: 7%; top: 75%; background: var(--mint); box-shadow: 0 0 14px var(--mint); }
.card { position: relative; width: 100%; }
.card__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 28px; border: 1px solid rgba(255, 255, 255, .9); background: #050506; box-shadow: 0 50px 80px -34px rgba(74, 18, 96, .5), 0 12px 30px rgba(18, 14, 27, .14); }
.card__ph img { position: absolute; width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; }
.foil { position: absolute; inset: 0; mix-blend-mode: color-dodge; opacity: .3; pointer-events: none; background: conic-gradient(from var(--a) at var(--mx, 50%) var(--my, 40%), #2B44FF, #19D3F0, #12C98B, #F6D365, #FF5C93, #912D8D, #2B44FF); animation: spin 6s linear infinite; }
.card figcaption { margin-top: 14px; text-align: center; font: 500 10px/1.4 var(--f-m); letter-spacing: .18em; color: var(--ink-2); }
.fchip { position: absolute; z-index: 3; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font: 500 10.5px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .78); border: 1px solid #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 14px 30px -14px rgba(74, 18, 96, .4); animation: bob 6s ease-in-out infinite; }
.fchip--1 { top: -3%; left: -6%; } .fchip--2 { top: 44%; right: -8%; animation-delay: -2s; } .fchip--3 { bottom: 12%; left: -5%; animation-delay: -4s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.note--scene { margin-top: 44px; text-align: center; position: relative; z-index: 1; }

.mq { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; border-top: 1px solid var(--line); background: rgba(245, 243, 249, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); overflow: clip; padding: 14px 0; }
.mq__track { display: flex; width: max-content; animation: mq 40s linear infinite; font: 500 13px/1 var(--f-m); letter-spacing: .2em; color: var(--ink-2); }
.mq__track span { white-space: pre; padding-right: 0; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- CIFRAS ---------- */
.datos { position: relative; z-index: 4; margin-top: -32px; border-radius: 32px 32px 0 0; background: var(--bg); padding: 24px 0 8px; box-shadow: 0 -20px 40px -30px rgba(74, 18, 96, .3); }
.datos__grid { display: grid; grid-template-columns: 1fr 1fr; }
.datos__grid li { position: relative; padding: 36px 14px 32px; border-top: 1px solid var(--line); }
.datos__grid li:nth-child(even) { border-left: 1px solid var(--line); }
.num { font: 400 clamp(2.9rem, 13vw, 7rem)/1 var(--f-d); letter-spacing: -.04em; font-variation-settings: "opsz" 144; font-variant-numeric: tabular-nums; }
.num__l { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-2); max-width: 26ch; }
.num__u { display: block; margin-top: 18px; height: 2px; width: 64px; background: var(--holo); transform-origin: left; }
html.js .datos__grid li:not(.is-in) .num__u { transform: scaleX(0); animation: fsU .01s linear 7s forwards; }
html.js .datos__grid li .num__u { transition: transform 1.2s var(--ease) .5s; }
@keyframes fsU { to { transform: scaleX(1); } }

/* ---------- Revelados genéricos ---------- */
html.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); animation: fs .01s linear 7s forwards; }
html.js [data-reveal="up"] { transform: translateY(34px); }
html.js [data-reveal="blur"] { transform: translateY(16px); filter: blur(12px); }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="mask"] { opacity: 1; animation: none; }
html.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
html.js [data-reveal="mask"] .mask__in { clip-path: inset(14% round 32px); transition: clip-path 1.5s var(--ease); }
html.js [data-reveal="mask"]:not(.is-in) .mask__in { animation: fsC .01s linear 7s forwards; }
html.js [data-reveal="mask"].is-in .mask__in { clip-path: inset(-80px round 32px); }
@keyframes fsC { to { clip-path: inset(-80px round 32px); } }

/* ---------- PRESENTACIONES ---------- */
.cfg { position: relative; margin-top: 48px; background: var(--tile); color: #fff; border-radius: 32px; display: grid; overflow: clip; box-shadow: 0 50px 90px -40px rgba(74, 18, 96, .6); }
.cfg__vis { position: relative; min-height: 300px; display: grid; place-items: center; padding: 24px; overflow: clip; }
.cfg__glow { position: absolute; inset: 0; background: radial-gradient(circle at 50% 55%, rgba(145, 45, 141, .55), transparent 62%); }
.cfg__ring { position: absolute; left: 50%; top: 50%; width: 68%; max-width: 380px; aspect-ratio: 1; margin: calc(min(34%, 190px) * -1) 0 0 calc(min(34%, 190px) * -1); border-radius: 50%; background: conic-gradient(#2B44FF, #19D3F0, #12C98B, #F6D365, #FF5C93, #912D8D, #2B44FF); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1px)); opacity: .55; animation: rot 16s linear infinite; }
.cfg__wm { position: absolute; left: 0; right: 0; bottom: 6%; text-align: center; font: 500 clamp(4.5rem, 24vw, 10rem)/1 var(--f-m); color: rgba(255, 255, 255, .09); letter-spacing: -.04em; white-space: nowrap; transition: opacity .25s; }
.cfg__wm.swap { opacity: 0; }
.cfg__img { position: relative; z-index: 2; width: min(100%, 420px); aspect-ratio: 7 / 5; }
.cfg__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; mix-blend-mode: lighten; }
.cfg__img--caja { width: min(68%, 320px); aspect-ratio: 3 / 4; }
.cfg__img--caja img { object-position: 50% 50%; mix-blend-mode: normal; border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6); }
.cfg__ui { padding: 8px 24px 32px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cfg__ui h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; }
.pick { position: relative; display: flex; width: 100%; max-width: 440px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.pick button { position: relative; z-index: 1; flex: 1; border: 0; background: transparent; cursor: pointer; padding: 11px 4px; border-radius: 999px; font: 600 14px/1 var(--f-b); color: rgba(255, 255, 255, .75); transition: color .3s; }
.pick button[aria-checked="true"] { color: var(--ink); }
.pick__ind { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: var(--w, 20%); transform: translateX(var(--x, 0px)); border-radius: 999px; background: #fff; transition: transform .5s var(--ease), width .5s var(--ease); }
.price { font: 400 clamp(3.4rem, 15vw, 4.5rem)/1 var(--f-d); letter-spacing: -.03em; display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.price__cur { font-size: .5em; color: rgba(255, 255, 255, .7); }
.price__mx { font: 500 12px/1 var(--f-m); letter-spacing: .14em; color: rgba(255, 255, 255, .6); margin-left: 6px; }
.cfg__line { color: var(--on-dark); font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; font: 500 11px/1.2 var(--f-m); letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.cfg__ui .btn { margin-top: 6px; }

.tiles { margin-top: 20px; display: grid; gap: 16px; }
.tile { position: relative; overflow: clip; background: var(--tile); color: #fff; border-radius: 28px; padding: 24px; display: flex; flex-direction: column; gap: 8px; --sx: 50%; --sy: 30%; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out; }
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(360px circle at var(--sx) var(--sy), rgba(145, 45, 141, .38), transparent 60%); }
.tile > * { position: relative; }
.tile__vis { width: min(100%, 260px); aspect-ratio: 1; margin: 0 auto 8px; display: grid; place-items: center; overflow: clip; }
.tile__vis img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.15); mix-blend-mode: lighten; }
.tile__vis svg { width: 78%; }
.doses { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.doses a { display: block; padding: 11px 4px; border-radius: 999px; text-align: center; font: 600 14px/1 var(--f-b); color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .22); transition: background .25s, color .25s, border-color .25s; }
.doses a:hover, .doses a:focus-visible { background: #fff; color: var(--ink); border-color: #fff; }
.tile__vis--foto { border-radius: 20px; background: #fff; }
.tile__vis--foto img { object-fit: cover; transform: scale(1.25); mix-blend-mode: normal; }
.hexp { transform-origin: 100px 100px; animation: hexpulse 3.6s ease-in-out infinite; }
.hexn circle { animation: nodeb 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.hexn circle:nth-child(odd) { animation-delay: -1.2s; }
@keyframes hexpulse { 0%, 100% { transform: scale(.94) rotate(0); opacity: .8; } 50% { transform: scale(1.04) rotate(6deg); opacity: 1; } }
@keyframes nodeb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.tile h3 { font-size: 1.6rem; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.tile__p { font: 500 1.1rem/1 var(--f-m); color: #8FF0CF; }
.tile p:not(.mono) { color: var(--on-dark); font-size: 15px; margin-bottom: 14px; }

/* ---------- PIN (cómo actúa / liofilización) ---------- */
.pin { position: relative; }
.pin__stage { position: relative; padding: 88px 0 56px; overflow: clip; }
.pin--mist { background: var(--mist); }
.pin--vault { background: var(--vault); color: var(--on-dark); }
html.pin-on .pin { height: 360vh; }
html.pin-on #liofilizacion.pin { height: 420vh; }
@media (max-width: 899px) {
  /* En teléfonos bajos el contenido no cabe en una pantalla: el escenario crece en vez de cortar el botón final */
  html.pin-on #liofilizacion .pin__stage { height: auto; min-height: 100svh; padding-bottom: 40px; }
}
html.pin-on .pin__stage { position: sticky; top: 0; height: 100svh; padding: 72px 0 12px; display: flex; align-items: center; }
html.pin-on .pin__stage > .wrap { width: 100%; }
.grid-bg { position: absolute; inset: 0; opacity: .7; pointer-events: none; background-image: linear-gradient(rgba(18, 14, 27, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(18, 14, 27, .05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); mask: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 80%); }
.act__stage > .wrap { position: relative; }
.act__hd { margin-bottom: 8px; }
.act__grid { display: grid; gap: 16px; align-items: center; }
.act__vis { height: 40svh; min-height: 250px; }
html:not(.pin-on) .act__vis { height: auto; }
.molsvg { width: 100%; height: 100%; max-height: 640px; margin-inline: auto; overflow: visible; }
.molsvg text { font-family: var(--f-m); }
.nd2 circle { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.nd2 text { font-size: 19px; font-weight: 500; letter-spacing: .1em; fill: var(--ink-2); }
.nd2 .halo { fill: rgba(145, 45, 141, .14); stroke: none; transform-box: fill-box; transform-origin: center; animation: halo 2.4s ease-in-out infinite; }
.nd2--plain circle { fill: var(--mist); stroke: var(--ink-2); stroke-width: 1.5; }
.core circle:nth-child(2) { fill: var(--ink); stroke: none; }
.core .halo { fill: rgba(43, 68, 255, .12); stroke: none; transform-box: fill-box; transform-origin: center; animation: halo 3s ease-in-out infinite; }
.core text { font-size: 24px; font-weight: 500; fill: #fff; letter-spacing: .08em; }
.rcp { font-size: 22px; font-weight: 500; letter-spacing: .2em; fill: var(--violet); }
@keyframes halo { 0%, 100% { transform: scale(.9); opacity: .5; } 50% { transform: scale(1.25); opacity: 1; } }
html.pin-on .lkx { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--ease); }
html.pin-on .lkx.on { stroke-dashoffset: 0; }
html.pin-on .nd2, html.pin-on .rcp { opacity: .16; transition: opacity .7s var(--ease); }
html.pin-on .nd2.on, html.pin-on .rcp.on { opacity: 1; }
html.pin-on .nd2:not(.cur) .halo { animation: none; opacity: 0; }

.steps { display: grid; gap: 12px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.step__n { font: 500 12px/1 var(--f-m); letter-spacing: .14em; color: var(--violet); }
.step h3 { font-size: clamp(1.35rem, 3.6vw, 2.1rem); margin: 10px 0 8px; line-height: 1.1; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step .btn { margin-top: 18px; }
html.pin-on .steps { display: grid; gap: 0; }
html.pin-on .step { grid-area: 1 / 1; background: transparent; border: 0; padding: 0 0 8px; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .6s; }
html.pin-on .step.on { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .1s, transform .8s var(--ease) .1s; }
html.pin-on .step:not(:last-child) .btn { display: none; }
.ticks { display: none; gap: 6px; margin-top: 14px; }
html.pin-on .ticks { display: flex; }
.ticks i { flex: 1; height: 3px; border-radius: 3px; background: var(--line); transition: background .5s; }
.ticks i.on { background: var(--holo); }
.act__txt .note { margin-top: 14px; }

/* ---------- LIOFILIZACIÓN ---------- */
.bubs i { position: absolute; bottom: -40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); animation: bub 24s linear infinite; }
.bubs i:nth-child(1) { left: 6%; width: 18px; height: 18px; animation-duration: 26s; } .bubs i:nth-child(2) { left: 18%; width: 34px; height: 34px; animation-delay: -8s; }
.bubs i:nth-child(3) { left: 31%; width: 12px; height: 12px; animation-delay: -15s; } .bubs i:nth-child(4) { left: 47%; width: 26px; height: 26px; animation-delay: -4s; animation-duration: 30s; }
.bubs i:nth-child(5) { left: 63%; width: 16px; height: 16px; animation-delay: -12s; } .bubs i:nth-child(6) { left: 76%; width: 40px; height: 40px; animation-delay: -19s; }
.bubs i:nth-child(7) { left: 88%; width: 14px; height: 14px; animation-delay: -6s; } .bubs i:nth-child(8) { left: 94%; width: 22px; height: 22px; animation-delay: -21s; }
@keyframes bub { from { transform: translateY(0) translateX(0); opacity: 0; } 10% { opacity: 1; } to { transform: translateY(-110vh) translateX(24px); opacity: 0; } }
.lio__grid { position: relative; display: grid; gap: 10px; grid-template-areas: "hd" "vis" "txt"; align-items: center; }
.lio__hd { grid-area: hd; }
.lio__vis { grid-area: vis; display: grid; place-items: center; padding-top: 34px; }
.lio__txt { grid-area: txt; }
.vialwrap { position: relative; height: min(32svh, 300px); min-height: 190px; aspect-ratio: 280 / 520; }
html:not(.pin-on) .vialwrap { height: 420px; }
.vialwrap canvas, .vial { position: absolute; inset: 0; width: 100%; height: 100%; }
.vial { overflow: visible; pointer-events: none; }
.vial #vstop { transition: none; }
.stages { position: relative; display: grid; gap: 8px; padding-left: 0; }
.stages::before { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: rgba(255, 255, 255, .14); }
.stages::after { content: ""; position: absolute; left: 15px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(180deg, #2B44FF, #19D3F0, #12C98B, #F6D365, #FF5C93); transform-origin: top; transform: scaleY(var(--p, 1)); }
.stg { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: start; z-index: 1; }
.stg__n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 11px/1 var(--f-m); background: var(--vault); border: 1.5px solid rgba(255, 255, 255, .25); color: rgba(255, 255, 255, .7); transition: all .4s; }
.stg.on .stg__n { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .12); }
.stg h3 { font-size: 1.25rem; color: #fff; padding-top: 4px; transition: opacity .4s; }
.stg p { font-size: 14.5px; color: var(--on-dark); }
html.pin-on .stg:not(.on) h3 { opacity: .5; }
html.pin-on .stg p { max-height: 0; opacity: 0; overflow: clip; transition: max-height .5s var(--ease), opacity .4s; }
html.pin-on .stg.on p { max-height: 6em; opacity: 1; }
.meter { margin-top: 12px; font: 500 11px/1 var(--f-m); letter-spacing: .16em; color: rgba(255, 255, 255, .6); }
.meter b { color: #fff; font-weight: 500; }
.lio__end { margin-top: 14px; display: grid; gap: 12px; }
.lio__end p { font-size: 14px; color: var(--on-dark); }
html.pin-on .lio__end { opacity: 0; transform: translateY(14px); visibility: hidden; transition: opacity .6s var(--ease), transform .6s var(--ease), visibility 0s .6s; }
html.pin-on .lio__end.on { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease), transform .6s var(--ease); }

/* ---------- LO QUE RECIBES ---------- */
.emp__grid { display: grid; gap: 56px; margin-top: 48px; }
.emp__spec { position: relative; }
.mask__in { position: relative; }
.spec { position: relative; padding: 30px 28px 30px 38px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -40px rgba(74, 18, 96, .35); }
.xh { position: absolute; width: 14px; height: 14px; opacity: .55; background: linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat; }
.xh--tl { left: 12px; top: 12px; } .xh--tr { right: 12px; top: 12px; } .xh--bl { left: 12px; bottom: 12px; } .xh--br { right: 12px; bottom: 12px; }
.spec__ruler { position: absolute; left: 10px; top: 34px; bottom: 34px; width: 12px; display: flex; flex-direction: column; justify-content: space-between; }
.spec__ruler i { display: block; height: 1px; width: 6px; background: var(--ink-2); opacity: .6; }
.spec__ruler i:nth-child(5n+1) { width: 12px; }
.spec__ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 18px; background: #050506; }
.spec__ph img { position: absolute; width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; transform: scale(calc(1.15 - .15 * var(--p, 1))); transform-origin: 40% 40%; }
.spec__cap { margin-top: 14px; text-align: center; }
.spec__legend { margin-top: 10px; font-size: 14px; color: var(--ink-2); min-height: 4.2em; text-align: center; }
.hot { position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 0; padding: 0; border-radius: 50%; background: rgba(255, 255, 255, .22); border: 1px solid rgba(255, 255, 255, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); cursor: pointer; z-index: 2; }
.hot i { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #fff; }
.hot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid #fff; animation: hotp 2.2s ease-out infinite; }
.hot.on { background: var(--violet); border-color: #fff; }
@keyframes hotp { from { transform: scale(1); opacity: .9; } to { transform: scale(2.2); opacity: 0; } }
.hot__tip { display: none; }
.polwrap { position: absolute; right: -6px; bottom: -28px; width: 40%; max-width: 210px; z-index: 3; transform: translateY(calc((var(--p, .5) - .5) * -44px)); }
.pol { position: relative; aspect-ratio: 1; overflow: hidden; border: 6px solid #fff; border-radius: 6px; background: #050506; transform: rotate(-3deg); box-shadow: 0 30px 50px -20px rgba(18, 14, 27, .5); }
.pol img { position: absolute; width: 100%; height: 100%; left: 0; top: 0; object-fit: cover; }
.checks { display: grid; gap: 14px; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; font-size: 16px; }
.ck { width: 30px; height: 30px; padding: 6px; border-radius: 50%; flex: none; background: var(--ink); color: #fff; }
.checks li.is-in .ck { animation: ckpop .7s var(--ease) .3s both; }
@keyframes ckpop { from { transform: scale(.3) rotate(-40deg); } to { transform: none; } }

/* ---------- PUREZA ---------- */
.pur__grid { display: grid; gap: 40px; align-items: center; }
.pur__txt .btn { margin-top: 28px; }
.chart { position: relative; aspect-ratio: 16 / 10; padding: 14px; border-radius: 24px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); overflow: clip; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.chart svg { width: 100%; height: 100%; }
.chart__ax { position: absolute; font-size: 10px; color: rgba(255, 255, 255, .5); }
.chart__ax--y { left: 14px; top: 10px; } .chart__ax--x { right: 14px; bottom: 8px; }
.chart__tag { position: absolute; left: 62.5%; top: 14%; transform: translate(12px, 0); padding: 6px 12px; border-radius: 999px; font: 500 12px/1 var(--f-m); letter-spacing: .08em; background: #fff; color: var(--ink); box-shadow: 0 10px 24px -8px rgba(25, 211, 240, .6); }
html.js .chart__tag { opacity: 0; transition: opacity .6s var(--ease) 1.9s; animation: fs .01s linear 7s forwards; }
html.js .pur__chart.is-in .chart__tag { opacity: 1; }
.chart__scan { position: absolute; top: 0; bottom: 0; left: 4%; width: 2px; background: linear-gradient(180deg, transparent, #19D3F0, transparent); box-shadow: 0 0 24px 6px rgba(25, 211, 240, .35); animation: scanx 7s linear infinite; pointer-events: none; }
@keyframes scanx { from { left: 4%; } to { left: 96%; } }
html.js #peak { stroke-dasharray: 1; stroke-dashoffset: 1; animation: fsDash .01s linear 7s forwards; }
html.js .pur__chart.is-in #peak { transition: stroke-dashoffset 2.4s var(--ease-io); stroke-dashoffset: 0; }
@keyframes fsDash { to { stroke-dashoffset: 0; } }
.pur__chart .note { margin-top: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; grid-column: 1 / -1; }
.pills li { padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05); font-size: 14px; color: #fff; }

/* ---------- RESULTADOS OBTENIDOS ---------- */
.res__grid { display: grid; gap: 16px; margin-top: 48px; }
.res__col { display: grid; gap: 14px; align-content: start; }
.res__lbl { color: var(--violet); }
.res__card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 24px 20px; }
.res__ct { font: 600 1.05rem/1.3 var(--f-b); color: var(--ink); }
.res__card .note { margin-top: 6px; }
.bars { display: grid; grid-template-columns: 26px 1fr; column-gap: 10px; margin-top: 26px; }
.bars__y { position: relative; height: 220px; font: 500 11px/1 var(--f-m); color: var(--ink-2); }
.bars__y span { position: absolute; right: 0; bottom: calc(var(--t) * 25%); transform: translateY(50%); }
.bars__plot { position: relative; height: 220px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid rgba(18, 14, 27, .25); background: repeating-linear-gradient(to top, transparent 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%); }
.bars__g { display: flex; justify-content: center; align-items: flex-end; gap: 2px; }
.b { position: relative; width: min(24px, 34%); height: calc(var(--v) / 80 * 100%); border-radius: 4px 4px 0 0; }
.b--ene, .sw--ene { background: var(--violet); }
.b--dic, .sw--dic { background: var(--mint); }
.b::after { content: attr(data-t); position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); white-space: nowrap; padding: 6px 9px; border-radius: 8px; background: var(--ink); color: #fff; font: 500 11px/1 var(--f-m); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 2; }
.b:hover::after { opacity: 1; }
.bars__x { grid-column: 2; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; text-align: center; font: 500 11px/1 var(--f-m); letter-spacing: .08em; color: var(--ink-2); }
.legend { display: flex; justify-content: center; gap: 20px; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { width: 10px; height: 10px; border-radius: 3px; }
.res__scroll { overflow-x: auto; margin-top: 12px; }
.res__t { width: 100%; border-collapse: collapse; font-size: 14px; }
.res__t th, .res__t td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.res__t thead th { font: 500 10.5px/1.2 var(--f-m); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.res__t thead th:first-child, .res__t tbody th { text-align: left; }
.res__t tbody th { font-weight: 500; color: var(--ink); }
.res__t td { color: var(--ink-2); }
.res__t tbody tr:last-child > * { border-bottom: 0; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 999px; font: 600 11.5px/1 var(--f-b); background: #E3F6EE; color: #0B6B4A; }
.tag--n { background: var(--mist); color: var(--ink-2); }
@media (min-width: 900px) {
  .res__grid { grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
  .res__card { padding: 30px 28px; }
}

/* ---------- USO RESPONSABLE ---------- */
.salud { background: var(--mist); padding-bottom: 88px; }
.salud__stage { padding: 96px 0 56px; }
.salud__p { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.1; max-width: 18ch; margin-inline: auto; }
.w { display: inline-block; }
@media (min-width: 768px) {
  html.pin-on .salud__pin { height: 220vh; }
  html.pin-on .salud__stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; padding: 72px 0 0; }
  html.pin-on .salud__stage .wrap { width: 100%; }
  .salud__p { max-width: 20ch; }
}
.salud__cards { display: grid; gap: 14px; }
.scard { background: #fff; border-radius: 24px; padding: 28px; border: 1px solid var(--line); min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.scard h3 { font-size: 1.45rem; }
.scard .mono { color: var(--violet); }

/* ---------- RUTA DE COMPRA ---------- */
.route { position: relative; margin-top: 44px; }
.route__svg { display: none; width: 100%; height: auto; overflow: visible; }
.route__v { position: absolute; left: 13px; top: 28px; bottom: 28px; width: 2px; background: repeating-linear-gradient(180deg, rgba(18, 14, 27, .28) 0 4px, transparent 4px 10px); }
.route__vf { position: absolute; inset: 0; background: linear-gradient(180deg, #2B44FF, #19D3F0, #12C98B, #F6D365, #FF5C93, #912D8D); transform-origin: top; transform: scaleY(var(--p, 1)); }
.route__vm { position: absolute; left: -12px; top: calc(var(--p, 0) * 100%); width: 26px; height: 26px; margin-top: -13px; border-radius: 8px; background: var(--ink); box-shadow: 0 8px 16px -6px rgba(18, 14, 27, .5); }
.est { display: grid; gap: 14px; padding-left: 44px; }
.est__i { position: relative; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out, border-color .4s, box-shadow .4s; }
.est__i::before { content: ""; position: absolute; left: -38px; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink-2); transition: all .4s; }
.est__i.on::before { background: var(--holo); border-color: #fff; box-shadow: 0 0 0 4px rgba(145, 45, 141, .2); }
html.js .est__i:not(.on) { opacity: .62; }
.est__n { font: 500 12px/1 var(--f-m); letter-spacing: .14em; color: var(--violet); }
.est__i h3 { margin: 10px 0 8px; font-size: 1.5rem; }
.est__i p { font-size: 15px; color: var(--ink-2); }
.est__i.on { box-shadow: 0 24px 44px -28px rgba(74, 18, 96, .5); }
.aviso { margin: 36px auto 0; max-width: 640px; text-align: center; padding: 14px 20px; border-radius: 18px; background: var(--mist); font-size: 14.5px; }
.pay { margin-top: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pay li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font: 500 11px/1 var(--f-m); letter-spacing: .1em; text-transform: uppercase; }
#rmark { will-change: transform; }

/* ---------- DISTRIBUIDORES ---------- */
.dist { position: relative; overflow: clip; border-radius: 36px; padding: 40px 24px; display: grid; gap: 20px; align-items: center; color: #fff; background: radial-gradient(circle at 20% 20%, rgba(145, 45, 141, .5), transparent 55%), linear-gradient(135deg, var(--violet-deep), var(--vault)); }
.dist__vis { perspective: 900px; display: grid; place-items: center; min-height: 280px; transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .3s ease-out; }
.cluster { position: relative; width: 240px; height: 240px; transform-style: preserve-3d; animation: cl 18s linear infinite; }
@keyframes cl { from { transform: rotateX(-16deg) rotateY(0deg); } to { transform: rotateX(-16deg) rotateY(360deg); } }
.cluster .sp { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, #fff 0, #19D3F0 22%, #912D8D 58%, #2B44FF 100%); box-shadow: 0 0 30px rgba(145, 45, 141, .6); }
.sp--c { width: 62px !important; height: 62px !important; margin: -31px !important; transform: translateZ(0); }
.sp:nth-of-type(2) { transform: translate3d(84px, 0, 60px); } .sp:nth-of-type(3) { transform: translate3d(42px, 72.7px, -60px); }
.sp:nth-of-type(4) { transform: translate3d(-42px, 72.7px, 60px); } .sp:nth-of-type(5) { transform: translate3d(-84px, 0, -60px); }
.sp:nth-of-type(6) { transform: translate3d(-42px, -72.7px, 60px); } .sp:nth-of-type(7) { transform: translate3d(42px, -72.7px, -60px); }
.lnk { position: absolute; left: 50%; top: 50%; width: 168px; height: 2px; margin-left: -84px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: rotate(var(--r)); }
.dist__txt h2 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
.dist__txt .btn { margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq__i { position: relative; border-bottom: 1px solid var(--line); }
.faq__i h3 { font-size: inherit; font-family: var(--f-b); font-weight: 600; letter-spacing: 0; }
.faq__i button { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; border: 0; background: transparent; cursor: pointer; text-align: left; font: 500 clamp(1.15rem, 3vw, 1.45rem)/1.25 var(--f-d); letter-spacing: -.01em; }
.faq__i button i { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line); transition: transform .5s var(--ease), background .3s, border-color .3s; }
.faq__i button i::before, .faq__i button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--ink); margin: -.75px 0 0 -6px; }
.faq__i button i::after { transform: rotate(90deg); transition: transform .5s var(--ease); }
.faq__i.open button i { transform: rotate(180deg); background: var(--ink); border-color: var(--ink); }
.faq__i.open button i::before, .faq__i.open button i::after { background: #fff; }
.faq__i.open button i::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: clip; }
.faq__a p { padding: 0 48px 24px 0; color: var(--ink-2); }
.faq__i.open .faq__a { grid-template-rows: 1fr; }
.faq__i::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--holo); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.faq__i.open::after { transform: scaleX(1); }
html:not(.js) .faq__a { grid-template-rows: 1fr; }

/* ---------- CONTACTO ---------- */
.contact { position: relative; isolation: isolate; overflow: clip; background: var(--vault); color: var(--on-dark); padding: 96px 0; }
.contact__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .7; }
.contact .aurora { opacity: .28; }
.contact__grid { position: relative; z-index: 2; display: grid; gap: 28px; }
.contact__hd h2 { font-size: clamp(2.2rem, 7vw, 5rem); color: #fff; }
.glass { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-radius: 28px; padding: 24px; }
.form { display: grid; gap: 16px; }
.fld { display: grid; gap: 6px; }
.fld[hidden] { display: none; }
.fld label { font: 500 11px/1.2 var(--f-m); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.fld label b { color: #FF8AA8; }
.fld input, .fld select, .fld textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .07); color: #fff; font-size: 16px; transition: border-color .25s, background .25s; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(255, 255, 255, .4); }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: #19D3F0; background: rgba(255, 255, 255, .11); }
.fld select option { color: var(--ink); }
.fld.bad input { border-color: #FF8AA8; }
.err { min-height: 0; font-size: 13px; color: #FF8AA8; }
.nowa { display: none; text-align: center; font-size: 14px; }
html.no-wa .nowa { display: block; }
.info { align-self: start; display: grid; gap: 6px; }
.info .mono { margin-top: 14px; } .info .mono:first-child { margin-top: 0; }
.info p { color: var(--on-dark); font-size: 15.5px; }
.info__big a { font: 400 clamp(1.8rem, 6vw, 2.5rem)/1.1 var(--f-d); color: #fff; text-decoration: none; letter-spacing: -.02em; border-bottom: 1px solid rgba(255, 255, 255, .3); }
.info .note { margin-top: 18px; }

/* ---------- FOOTER ---------- */
.foot { background: var(--vault); color: rgba(255, 255, 255, .7); padding: 56px 0 40px; border-top: 1px solid rgba(255, 255, 255, .1); overflow: clip; }
.brand--l { color: #fff; } .brand--l img { filter: invert(1); }
.foot__top { display: grid; gap: 24px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.foot__nav a { font-size: 14px; text-decoration: none; color: rgba(255, 255, 255, .7); }
.foot__nav a:hover { color: #fff; }
.foot__nc { margin: 32px 0 8px; text-align: center; font: 600 clamp(9rem, 44vw, 26rem)/.82 var(--f-d); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .3); background: var(--holo); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; animation: holoShift 12s ease-in-out infinite alternate; user-select: none; }
.foot__legal { font-size: 12px; max-width: 70ch; margin-top: 8px; }
.foot__copy { font: 500 11px/1 var(--f-m); letter-spacing: .14em; margin-top: 18px; color: rgba(255, 255, 255, .5); }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; z-index: 100; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; text-decoration: none; box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6); transition: bottom .5s var(--ease), transform .3s; }
.wa-float:hover { transform: scale(1.06); }
.wa-float .ic { width: 30px; height: 30px; }
.wa-float__pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: wap 2.4s ease-out infinite; }
@keyframes wap { from { transform: scale(1); opacity: .8; } to { transform: scale(1.7); opacity: 0; } }
.wa-bub { position: absolute; right: 70px; top: 50%; translate: 0 -50%; padding: 10px 16px; border-radius: 14px 14px 4px 14px; background: #fff; color: var(--ink); font: 600 14px/1 var(--f-b); white-space: nowrap; box-shadow: 0 12px 30px -10px rgba(18, 14, 27, .35); opacity: 0; transform: translateX(10px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease); }
.wa-bub.show { opacity: 1; transform: none; }
html.js .wa-float { opacity: 0; transform: scale(.6); animation: fs .01s linear 3.6s forwards; }
html.ready .wa-float { opacity: 1; transform: none; transition: opacity .6s .4s, transform .6s var(--ease) .4s, bottom .5s var(--ease); }
html.at-end .wa-float { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 72px); }
html.no-wa [data-wa], html.no-wa #formBtn, html.no-wa .wa-float { display: none !important; }

/* =========================================================
   ≥ 640
   ========================================================= */
@media (min-width: 640px) {
  .wrap, .hdr__in { padding-inline: 40px; }
  .cta-row { display: flex; flex-wrap: wrap; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .salud__cards { grid-template-columns: repeat(3, 1fr); }
  .cfg__ui { padding: 8px 40px 40px; }
  .datos__grid { grid-template-columns: repeat(4, 1fr); }
  .datos__grid li:nth-child(even) { border-left: 0; }
  .datos__grid li + li { border-left: 1px solid var(--line); }
  .datos__grid li { border-top: 0; }
}

/* ≥ 900 */
@media (min-width: 900px) {
  .hdr__cta { display: inline-flex; }
  .cfg { grid-template-columns: 1.05fr 1fr; }
  .cfg__vis { min-height: 560px; }
  .cfg__ui { padding: 48px 48px 48px 8px; justify-content: center; }
  .act__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .act__vis { height: min(66svh, 640px); }
  .lio__grid { grid-template-columns: 5fr 7fr; column-gap: 56px; grid-template-areas: "hd vis" "txt vis"; align-content: center; }
  .vialwrap { height: min(68svh, 580px); }
  .emp__grid { grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; }
  .spec__legend { display: none; }
  .hot.on .hot__tip { display: block; position: absolute; left: calc(100% + 12px); top: 50%; translate: 0 -50%; width: 220px; padding: 12px 14px; border-radius: 14px; font: 500 12.5px/1.4 var(--f-b); color: var(--ink); background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 16px 34px -12px rgba(18, 14, 27, .5); text-align: left; }
  .hot.on .hot__tip--l { left: auto; right: calc(100% + 12px); }
  .pur__grid { grid-template-columns: 5fr 6fr; gap: 56px; }
  .dist { grid-template-columns: 1fr 1fr; padding: 56px; gap: 40px; }
  .dist__vis { min-height: 360px; }
  .contact__grid { grid-template-columns: 1.15fr 1fr; gap: 28px 40px; }
  .contact__hd { grid-column: 1 / -1; }
  .glass { padding: 32px; }
  .foot__top { grid-template-columns: auto 1fr; align-items: center; gap: 48px; }
  .foot__nav { justify-content: flex-end; }
  /* Ruta horizontal */
  .route__svg { display: block; }
  .route__v { display: none; }
  .est { grid-template-columns: repeat(4, 1fr); padding-left: 0; margin-top: -10px; gap: 18px; }
  .est__i::before { display: none; }
}

/* ≥ 1024 */
@media (min-width: 1024px) {
  .nav { display: flex; }
  .burger { display: none; }
  .menu { display: none; }
  .hero__grid { grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
  .hero__txt { grid-column: 1 / 8; }
  .hero__scene { grid-column: 8 / 13; width: min(100%, 57vh, 420px); justify-self: center; }
  .h1 { font-size: clamp(3.6rem, 6.4vw, 6.6rem); }
  .cta-row { margin-top: 32px; }
  .fchip { font-size: 11px; }
  .fchip--1 { left: -22%; } .fchip--2 { right: -22%; } .fchip--3 { left: -16%; }
  .sec { padding: 120px 0; }
  .sec--tight { padding: 40px 0 120px; }
}

/* =========================================================
   Efectos de scroll de CSS (solo con soporte)
   ========================================================= */
@supports (animation-timeline: view()) {
  .cfg { animation: cfgIn linear both; animation-timeline: view(); animation-range: entry 5% entry 70%; }
  @keyframes cfgIn { from { transform: perspective(1400px) rotateX(10deg) translateY(40px); filter: blur(8px); } to { transform: none; filter: none; } }
  .tile__vis img { animation: tvis linear both; animation-timeline: view(); animation-range: entry 0% cover 60%; }
  @keyframes tvis { from { translate: 0 24px; } to { translate: 0 -8px; } }
  .foot__nc { animation: holoShift 12s ease-in-out infinite alternate, ncUp linear both; animation-timeline: auto, view(); animation-range: normal, entry 0% entry 100%; }
  @keyframes ncUp { from { translate: 0 40px; opacity: .2; } to { translate: 0 0; opacity: 1; } }
}

/* =========================================================
   Reducción de movimiento
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .loader { animation: lf .01s linear 2.5s forwards !important; }
  .loader__half { transition: none !important; }
  .loader.out { opacity: 0; transition: opacity .4s !important; }
  .loader.out .loader__half--t, .loader.out .loader__half--b { transform: none; }
  .loader .lk { stroke-dashoffset: 0; }
  .loader__logo { opacity: 1; }
  html.js .hin, html.js [data-reveal], html.js .ln > span, html.js .wa-float, html.js .chart__tag { opacity: 1 !important; transform: none !important; filter: none !important; }
  html.js [data-reveal="mask"] .mask__in { clip-path: none !important; }
  html.js #peak { stroke-dashoffset: 0; }
  html.js .num__u { transform: none !important; }
  .mq__track { animation: none !important; }
  .tick__w span { position: static; }
}
