/* ==========================================================================
   Biocom — estilos principales
   Identidad: cian #00BFFF · rojo #FF0000 · gris #555 · blanco
   Tipografías: Montserrat (títulos) · Alex Brush (acento) · Open Sans (texto)
   ========================================================================== */

/* ---------- Fuentes ---------- */
@font-face { font-family: "Montserrat"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/montserrat-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/open-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/open-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Alex Brush"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/alex-brush-latin-400-normal.woff2") format("woff2"); }

/* ---------- Variables ---------- */
:root {
	--cyan: #00bfff;
	--cyan-600: #00a2d9;
	--cyan-700: #007ba6;
	--red: #ff0000;
	--red-600: #db0000;
	--ink: #1f272e;
	--ink-deep: #0d1820;
	--gray: #555555;
	--muted: #77848e;
	--line: #e2edf3;
	--mist: #f2fafe;
	--white: #ffffff;
	--wa: #25d366;

	--font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
	--font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
	--font-script: "Alex Brush", "Segoe Script", cursive;

	--wrap: 1240px;
	--gutter: clamp(20px, 4vw, 40px);
	--radius: 22px;
	--radius-sm: 14px;
	--shadow-sm: 0 2px 10px rgba(16, 42, 58, 0.05);
	--shadow: 0 18px 50px -18px rgba(16, 42, 58, 0.22);
	--shadow-cyan: 0 24px 60px -22px rgba(0, 150, 210, 0.45);
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
	--ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
	--header-h: 84px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }

body {
	margin: 0;
	background: var(--white);
	color: var(--gray);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	overflow-x: clip;
}
html { overflow-x: clip; }

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--cyan-700); text-decoration: none; transition: color 0.25s var(--ease-soft); }
a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }

:focus-visible { outline: 2px solid var(--cyan-700); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--cyan); color: var(--white); }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 300; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--white); transition: top 0.2s; }
.skip-link:focus { top: 16px; color: var(--white); }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(820px + var(--gutter) * 2); }

.icon { flex: none; }

/* ---------- Tipografía de apoyo ---------- */
.eyebrow { margin: 0 0 18px; color: var(--cyan-700); font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.eyebrow--pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid rgba(0, 191, 255, 0.35); border-radius: 999px; background: rgba(255, 255, 255, 0.7); backdrop-filter: blur(8px); }
.eyebrow--pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.14); animation: pulse-dot 2.4s ease-in-out infinite; }
.script { margin: 6px 0 0; color: var(--cyan-600); font-family: var(--font-script); font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.1; }
.script--light { color: #8fe2ff; }
.section-title { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.section-lead { max-width: 60ch; margin: 18px 0 0; font-size: 1.12rem; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 56px); }
.section-row .section-head { margin-bottom: 0; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--mist { background: linear-gradient(180deg, var(--mist), #fff 140%); }
.section--ink { background: var(--ink-deep); color: #b9c7d1; overflow: hidden; }
.section--ink::before,
.section--ink::after { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; filter: blur(110px); opacity: 0.32; pointer-events: none; }
.section--ink::before { top: -260px; left: -180px; background: var(--cyan); }
.section--ink::after { bottom: -320px; right: -200px; background: var(--red); opacity: 0.2; }
.section--ink > * { position: relative; z-index: 1; }
.section--ink .section-title { color: var(--white); }
.section--ink .eyebrow { color: #7fdcff; }
.section--ink .script { color: #7fdcff; }

/* ---------- Botones ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 28px; border: 1.5px solid transparent; border-radius: 999px; font-family: var(--font-head); font-size: 0.92rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.1; text-align: center; overflow: hidden; isolation: isolate; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, border-color 0.3s, color 0.3s; will-change: transform; }
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.45) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.8s var(--ease); }
.btn:hover::after { transform: translateX(120%); }
.btn .icon { transition: transform 0.35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 14px 30px -14px rgba(255, 0, 0, 0.7); }
.btn--primary:hover { background: var(--red-600); color: var(--white); box-shadow: 0 20px 38px -14px rgba(255, 0, 0, 0.75); }
.btn--ghost { border-color: rgba(31, 39, 46, 0.2); background: rgba(255, 255, 255, 0.6); color: var(--ink); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--whatsapp { background: var(--wa); color: #06240f; box-shadow: 0 14px 30px -14px rgba(37, 211, 102, 0.8); }
.btn--whatsapp:hover { background: #1fc25b; color: #06240f; }
.btn--light { background: var(--white); color: var(--ink); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, 0.5); }
.btn--light:hover { color: var(--red-600); }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-size: 0.9rem; font-weight: 600; letter-spacing: 0.03em; }
.link-arrow::after { content: ""; }
.link-arrow .icon-arrow { transition: transform 0.35s var(--ease); }
.link-arrow:hover { color: var(--cyan-700); }
.link-arrow:hover .icon-arrow { transform: translateX(6px); }
.link-arrow--light { color: var(--white); }
.link-arrow--light:hover { color: #7fdcff; }
.link-arrow .icon-whatsapp { color: #1aa64b; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--ink); font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.chip--ghost { background: transparent; border-color: rgba(0, 163, 219, 0.35); color: var(--cyan-700); font-family: var(--font-head); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }

/* ---------- Carga inicial ---------- */
.preloader { display: none; }
.js .preloader { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; background: var(--white); transition: opacity 0.6s var(--ease-soft), visibility 0.6s; }
.js.is-loaded .preloader,
.js .preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.preloader__mark img { width: 84px; height: 84px; animation: breathe 1.6s ease-in-out infinite; }
.preloader__mark .arcs { position: absolute; inset: -14px; width: auto; height: auto; }
.arcs--loader .arcs__orbit { display: none; }
.arcs--loader .arcs__dot { display: none; }
.arcs--loader .arcs__spin--cyan { animation: spin 1.5s linear infinite; }
.arcs--loader .arcs__spin--red { animation: spin 1.5s linear infinite reverse; }

.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 210; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--cyan), var(--red)); }

/* Transición entre páginas */
.js body { transition: opacity 0.35s var(--ease-soft); }
.js body.is-leaving { opacity: 0; }

/* ---------- Cabecera ---------- */
.site-header { position: sticky; top: 0; z-index: 200; border-bottom: 1px solid transparent; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, 0.88); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 10px 30px -22px rgba(16, 42, 58, 0.4); }
.site-header.is-hidden { transform: translateY(-100%); }

.topbar { background: var(--ink-deep); color: #c5d3dc; font-size: 0.78rem; max-height: 40px; overflow: hidden; transition: max-height 0.4s var(--ease), opacity 0.3s; }
.is-stuck .topbar { max-height: 0; opacity: 0; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item .icon { color: var(--cyan); }
.topbar__item--link { color: var(--white); font-weight: 600; }
.topbar__item--link:hover { color: #7fdcff; }

.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); transition: min-height 0.35s var(--ease); }
.is-stuck .site-header__in { min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.brand__mark { width: 52px; height: 52px; object-fit: contain; transition: transform 0.6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.05); }
.brand__word { display: flex; flex-direction: column; font-family: var(--font-head); line-height: 1; text-transform: uppercase; }
.brand__word-top { color: var(--gray); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.3em; }
.brand__word-main { margin-top: 4px; color: var(--ink); font-size: 1.22rem; font-weight: 800; letter-spacing: 0.06em; }
.brand--light .brand__word-top { color: #9fb2bf; }
.brand--light .brand__word-main { color: var(--white); }

.main-nav .menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); list-style: none; }
.main-nav .menu a { position: relative; display: block; padding: 10px 0; white-space: nowrap; color: var(--ink); font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.02em; }
.main-nav .menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--cyan), var(--red)); transform: scaleX(0); transform-origin: 100% 50%; transition: transform 0.45s var(--ease); }
.main-nav .menu > li > a:hover::after,
.main-nav .menu > .current-menu-item > a::after,
.main-nav .menu > .current-menu-ancestor > a::after,
.main-nav .menu > .current_page_parent > a::after { transform: scaleX(1); transform-origin: 0 50%; }
.main-nav .menu li { position: relative; }
.main-nav .sub-menu { position: absolute; top: 100%; left: -18px; min-width: 230px; padding: 10px; list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: 0.3s var(--ease); }
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { padding: 9px 12px; border-radius: 10px; font-weight: 500; }
.main-nav .sub-menu a:hover { background: var(--mist); }
.main-nav__extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn,
.header-cart { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease); }
.icon-btn:hover,
.header-cart:hover { background: var(--mist); color: var(--cyan-700); transform: translateY(-1px); }
.header-cart__count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; border-radius: 999px; background: var(--red); color: var(--white); font-family: var(--font-head); font-size: 0.66rem; font-weight: 700; transform: scale(0); transition: transform 0.4s var(--ease); }
.header-cart__count.is-visible { transform: scale(1); }

.nav-toggle { display: none; position: relative; width: 46px; height: 46px; border: 0; border-radius: 50%; background: transparent; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.4s var(--ease), opacity 0.2s, top 0.4s var(--ease); }
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.header-search { border-top: 1px solid var(--line); background: var(--white); animation: drop 0.35s var(--ease); }
.header-search[hidden] { display: none; }
.header-search form { display: flex; gap: 12px; padding-block: 18px; }
.header-search input[type="search"] { flex: 1; min-width: 0; height: 54px; padding: 0 22px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--mist); color: var(--ink); font: inherit; transition: border-color 0.25s, background-color 0.25s; }
.header-search input[type="search"]:focus { outline: 0; border-color: var(--cyan); background: var(--white); }

/* ---------- Portada: hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: min(860px, calc(100vh - 40px)); padding-block: clamp(56px, 8vw, 110px) clamp(72px, 9vw, 120px); overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__blob { position: absolute; border-radius: 50%; filter: blur(90px); }
.hero__blob--cyan { top: -180px; right: -120px; width: 640px; height: 640px; background: rgba(0, 191, 255, 0.34); animation: drift 16s ease-in-out infinite alternate; }
.hero__blob--red { bottom: -260px; left: -180px; width: 520px; height: 520px; background: rgba(255, 0, 0, 0.1); animation: drift 20s ease-in-out infinite alternate-reverse; }
.hero__grid { position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 123, 166, 0.16) 1px, transparent 1.4px); background-size: 28px 28px; -webkit-mask-image: radial-gradient(60% 60% at 70% 45%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 60% at 70% 45%, #000 0%, transparent 75%); }
.hero__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: center; gap: clamp(32px, 5vw, 80px); }
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; }
.hero__script { margin-top: 10px; font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.hero__text { max-width: 52ch; margin: 26px 0 0; font-size: 1.14rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(31, 39, 46, 0.1); list-style: none; font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.hero__trust li { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust .icon { color: var(--cyan-600); }

.hero__visual { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin-inline: auto; }
.hero__stage { position: absolute; inset: 6%; display: grid; place-items: center; }
.hero__stage .arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hero__orb { position: relative; display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(120% 120% at 30% 20%, #fff 0%, #fff 38%, #e6f7ff 100%); box-shadow: inset 0 -18px 40px rgba(0, 150, 210, 0.12), inset 0 2px 0 #fff, 0 40px 80px -30px rgba(0, 120, 180, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.9); animation: float-y 7s ease-in-out infinite; }
.hero__orb::before { content: ""; position: absolute; inset: 7% 14% 55% 14%; border-radius: 50%; background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0)); pointer-events: none; }
.hero__orb img { width: 66%; height: auto; }

.arcs__arc--cyan { fill: var(--cyan); }
.arcs__arc--red { fill: var(--red); }
.arcs__orbit { stroke: rgba(0, 123, 166, 0.22); stroke-width: 1; stroke-dasharray: 2 9; }
.arcs__orbit--b { stroke: rgba(255, 0, 0, 0.18); }
.arcs__dot--cyan { fill: var(--cyan); }
.arcs__dot--red { fill: var(--red); }
.arcs__spin { transform-origin: 0 0; transform-box: view-box; }
.arcs--hero .arcs__spin--cyan { animation: spin 46s linear infinite; }
.arcs--hero .arcs__spin--red { animation: spin 62s linear infinite reverse; }
.arcs--hero .arcs__orbit--a { transform-origin: 0 0; animation: spin 120s linear infinite; }
.js .arcs--hero .arcs__arc { opacity: 0; transform: scale(0.72) rotate(-70deg); transform-origin: 0 0; transition: opacity 1s var(--ease) 0.25s, transform 1.6s var(--ease) 0.25s; }
.js.is-loaded .arcs--hero .arcs__arc { opacity: 1; transform: none; }
.js .arcs--hero .arcs__arc--red { transition-delay: 0.45s; }

.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px; border: 1px solid rgba(255, 255, 255, 0.9); border-radius: 999px; background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(10px); box-shadow: 0 18px 40px -20px rgba(0, 110, 160, 0.55); color: var(--ink); font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; white-space: nowrap; }
.float-chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); }
.float-chip--2 i,
.float-chip--4 i { background: var(--red); }
.float-chip--1 { top: 9%; left: -2%; animation: float-y 6s ease-in-out infinite; }
.float-chip--2 { top: 22%; right: -6%; animation: float-y 7.5s ease-in-out -2s infinite; }
.float-chip--3 { bottom: 20%; left: -6%; animation: float-y 8s ease-in-out -4s infinite; }
.float-chip--4 { bottom: 7%; right: 2%; animation: float-y 6.5s ease-in-out -1s infinite; }
.js .float-chip { opacity: 0; scale: 0.8; transition: opacity 0.7s var(--ease), scale 0.9s var(--ease); }
.js.is-loaded .float-chip { opacity: 1; scale: 1; }
.js .float-chip--1 { transition-delay: 0.9s; }
.js .float-chip--2 { transition-delay: 1.05s; }
.js .float-chip--3 { transition-delay: 1.2s; }
.js .float-chip--4 { transition-delay: 1.35s; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(31, 39, 46, 0.3); border-radius: 999px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--red); animation: scroll-hint 2s var(--ease) infinite; }

/* ---------- Marquesina de activos ---------- */
.marquee { overflow: hidden; padding-block: 22px; background: var(--ink-deep); color: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; align-items: center; list-style: none; flex: none; }
.marquee__list li { display: inline-flex; align-items: center; padding-inline: 26px; font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; white-space: nowrap; }
.marquee__list li::after { content: ""; width: 7px; height: 7px; margin-left: 52px; border-radius: 50%; background: var(--cyan); }
.marquee__list li:nth-child(even)::after { background: var(--red); }

/* ---------- Institucional ---------- */
.about__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.about .section-head { margin-bottom: 26px; }
.about__text { font-size: 1.14rem; color: var(--ink); }
.about__text--soft { color: var(--gray); font-size: 1.04rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin-bottom: 34px; }
.stat { padding-top: 20px; border-top: 2px solid var(--ink); }
.stat__num { display: block; color: var(--ink); font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.stat:nth-child(1) .stat__num { color: var(--cyan-600); }
.stat:nth-child(3) .stat__num { color: var(--red); }
.stat__label { display: block; margin-top: 10px; font-size: 0.9rem; line-height: 1.45; }
.values { display: grid; gap: 14px; list-style: none; }
.values li { display: flex; gap: 18px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.values li:hover { transform: translateX(8px); border-color: rgba(0, 191, 255, 0.5); box-shadow: var(--shadow-cyan); }
.values li > span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--mist); color: var(--cyan-700); }
.values strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.values p { margin: 2px 0 0; font-size: 0.94rem; line-height: 1.5; }

/* ---------- Grupos de productos ---------- */
.group-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.group-card.group-card--all { grid-column: span var(--span-4, 1); min-height: 0; justify-content: center; border-color: transparent; background: var(--ink-deep); color: var(--white); }
.group-card.group-card--all::before { background: radial-gradient(circle, rgba(0, 191, 255, 0.5), transparent 68%); opacity: 0.7; transform: none; }
.group-card.group-card--all .group-card__title { color: var(--white); font-size: clamp(1.4rem, 2.4vw, 2rem); }
.group-card.group-card--all .script { font-size: 1.9rem; }
.group-card.group-card--all:hover { color: var(--white); border-color: transparent; }
.group-card__go { position: absolute; right: 26px; bottom: 26px; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--red); color: var(--white); transition: transform 0.5s var(--ease); }
.group-card.group-card--all:hover .group-card__go { transform: rotate(-45deg) scale(1.08); }
.group-card { position: relative; display: flex; flex-direction: column; min-height: 250px; padding: 28px 26px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--gray); overflow: hidden; transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.group-card::before { content: ""; position: absolute; top: -90px; right: -90px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(0, 191, 255, 0.2), transparent 68%); opacity: 0; transition: opacity 0.5s, transform 0.7s var(--ease); transform: scale(0.6); }
.group-card:hover { border-color: rgba(0, 191, 255, 0.55); box-shadow: var(--shadow-cyan); color: var(--gray); }
.group-card:hover::before { opacity: 1; transform: scale(1); }
.group-card__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 18px; background: var(--mist); color: var(--cyan-700); transition: background-color 0.4s, color 0.4s, transform 0.6s var(--ease); }
.group-card:hover .group-card__icon { background: var(--cyan); color: var(--white); transform: rotate(-8deg) scale(1.06); }
.group-card__title { font-size: 1.2rem; }
.group-card__text { margin: 10px 0 22px; font-size: 0.94rem; line-height: 1.55; }
.group-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.group-card__foot .icon { color: var(--red); transition: transform 0.4s var(--ease); }
.group-card:hover .group-card__foot .icon { transform: translateX(6px); }

/* ---------- Línea destacada ---------- */
.spotlight__in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.spotlight__visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--mist) 60%, #d8f3ff 100%); box-shadow: inset 0 -30px 60px rgba(0, 150, 210, 0.12), var(--shadow-cyan); }
.spotlight__ring { position: absolute; inset: -5%; border: 1.5px dashed rgba(0, 163, 219, 0.4); border-radius: 50%; animation: spin 50s linear infinite; }
.spotlight__ring--2 { inset: 9%; border: 0; border-top: 3px solid var(--red); border-right: 3px solid transparent; animation: spin 14s linear infinite reverse; }
.spotlight__ring::after { content: ""; position: absolute; top: 50%; left: -7px; width: 13px; height: 13px; border-radius: 50%; background: var(--cyan); }
.spotlight__ring--2::after { display: none; }
.spotlight__pct { color: var(--ink); font-family: var(--font-head); font-size: clamp(4.2rem, 11vw, 8rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.spotlight__pct b { font-weight: 800; }
.spotlight__name { position: absolute; bottom: 21%; color: var(--cyan-600); font-family: var(--font-script); font-size: clamp(2rem, 4vw, 2.8rem); }
.spotlight .section-head { margin-bottom: 28px; }
.spotlight__list { display: grid; gap: 4px; margin-bottom: 34px; list-style: none; }
.spotlight__list li { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spotlight__list strong { color: var(--ink); font-family: var(--font-head); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.03em; }
.spotlight__list li:nth-child(1) strong { color: var(--cyan-600); }
.spotlight__list li:nth-child(3) strong { color: var(--red); }

/* ---------- Tratamientos ---------- */
.rail { overflow-x: auto; scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging a { pointer-events: none; }
.rail__track { display: flex; gap: 18px; width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-block: 6px 20px; }
.rail .protocol-card { width: min(330px, 78vw); flex: none; }

.protocol-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.protocol-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; min-height: 250px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--gray); overflow: hidden; transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease), background-color 0.3s; }
.protocol-card:hover { border-color: rgba(0, 191, 255, 0.6); box-shadow: var(--shadow-cyan); color: var(--gray); transform: translateY(-6px); }
.protocol-card__num { color: transparent; font-family: var(--font-head); font-size: 3.2rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; -webkit-text-stroke: 1.2px rgba(0, 163, 219, 0.55); transition: color 0.4s, -webkit-text-stroke-color 0.4s; }
.protocol-card:hover .protocol-card__num { color: var(--cyan); -webkit-text-stroke-color: var(--cyan); }
.protocol-card__title { font-size: 1.22rem; line-height: 1.25; }
.protocol-card__meta { margin-top: auto; font-size: 0.86rem; }
.protocol-card__go { position: absolute; right: 22px; bottom: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--mist); color: var(--ink); transition: background-color 0.35s, color 0.35s, transform 0.5s var(--ease); }
.protocol-card:hover .protocol-card__go { background: var(--red); color: var(--white); transform: rotate(-45deg); }
.protocol-card.is-filtered,
.pv-card.is-filtered { display: none; }

.section--ink .protocol-card { border-color: rgba(255, 255, 255, 0.1); background: rgba(255, 255, 255, 0.04); color: #a9b8c3; backdrop-filter: blur(6px); }
.section--ink .protocol-card:hover { border-color: rgba(0, 191, 255, 0.7); background: rgba(255, 255, 255, 0.07); box-shadow: 0 30px 60px -30px rgba(0, 191, 255, 0.6); }
.section--ink .protocol-card__title { color: var(--white); }
.section--ink .protocol-card__go { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.section--ink .chip--ghost { border-color: rgba(127, 220, 255, 0.4); color: #7fdcff; }

.protocol { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.protocol__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.aside-card { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, var(--mist), #fff); box-shadow: var(--shadow-sm); }
.aside-card h2 { font-size: 1.26rem; }
.aside-card p { margin: 10px 0 22px; font-size: 0.96rem; }
.aside-card .btn { width: 100%; margin-bottom: 18px; }
.aside-note { margin: 18px 6px 0; color: var(--muted); font-size: 0.82rem; line-height: 1.5; }

/* ---------- Profesionales / puntos de venta ---------- */
.pro__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.pro__card { position: relative; padding: clamp(30px, 4vw, 48px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--white); overflow: hidden; transition: box-shadow 0.5s var(--ease), border-color 0.3s; }
.pro__card::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border: 26px solid var(--mist); border-radius: 50%; transition: transform 0.9s var(--ease), border-color 0.4s; }
.pro__card:hover { border-color: rgba(0, 191, 255, 0.5); box-shadow: var(--shadow-cyan); }
.pro__card:hover::after { transform: scale(1.25) rotate(40deg); border-color: #dcf5ff; }
.pro__card > * { position: relative; z-index: 1; }
.pro__icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 24px; border-radius: 50%; background: var(--ink-deep); color: var(--cyan); }
.pro__card h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.pro__card p { max-width: 44ch; margin: 14px 0 26px; }

/* ---------- Llamado final ---------- */
.cta { padding-block: 0 clamp(72px, 9vw, 120px); }
.cta__box { position: relative; padding: clamp(48px, 7vw, 92px) clamp(26px, 6vw, 88px); border-radius: calc(var(--radius) + 14px); background: linear-gradient(135deg, #ff1a1a 0%, var(--red) 40%, #c40000 100%); color: rgba(255, 255, 255, 0.92); text-align: center; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(255, 0, 0, 0.75); }
.cta__arcs { position: absolute; top: 50%; right: -8%; width: min(520px, 70%); transform: translateY(-50%); opacity: 0.16; pointer-events: none; }
.cta__arcs .arcs__arc { fill: var(--white); }
.cta__arcs .arcs__orbit { stroke: rgba(255, 255, 255, 0.7); }
.cta__arcs .arcs__dot { fill: var(--white); }
.arcs--cta .arcs__spin--cyan { animation: spin 40s linear infinite; }
.arcs--cta .arcs__spin--red { animation: spin 54s linear infinite reverse; }
.cta__box > *:not(.cta__arcs) { position: relative; z-index: 1; }
.cta .script { color: var(--white); opacity: 0.95; }
.cta__title { margin-top: 4px; color: var(--white); font-size: clamp(2.2rem, 5.4vw, 4.2rem); font-weight: 800; letter-spacing: -0.03em; }
.cta__text { max-width: 54ch; margin: 20px auto 0; font-size: 1.1rem; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 26px; margin-top: 36px; }
.cta__phone { color: var(--white); font-family: var(--font-head); font-size: 1.24rem; font-weight: 700; letter-spacing: 0.02em; }
.cta .btn--light .icon-whatsapp { color: #1aa64b; }

/* ---------- Cabecera de páginas interiores ---------- */
.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 6vw, 76px); background: linear-gradient(180deg, var(--mist) 0%, #fff 100%); overflow: hidden; }
.page-hero__arcs { position: absolute; top: 50%; right: -120px; width: 520px; transform: translateY(-50%); opacity: 0.5; pointer-events: none; }
.arcs--page .arcs__spin--cyan { animation: spin 60s linear infinite; }
.arcs--page .arcs__spin--red { animation: spin 80s linear infinite reverse; }
.page-hero .wrap { position: relative; }
.page-hero__title { max-width: 20ch; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.03em; }
.page-hero__text { max-width: 60ch; margin: 22px 0 0; font-size: 1.12rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: var(--muted); font-size: 0.84rem; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--cyan-700); }

/* ---------- Filtros ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; transition: 0.3s var(--ease-soft); }
.filter small { color: var(--muted); font-size: 0.74rem; }
.filter:hover { border-color: var(--cyan); color: var(--cyan-700); }
.filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.filter.is-active small { color: #a9b8c3; }

/* ---------- Puntos de venta ---------- */
.pv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 18px; }
.pv-card { display: flex; flex-direction: column; align-items: flex-start; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.pv-card:hover { transform: translateY(-5px); border-color: rgba(0, 191, 255, 0.55); box-shadow: var(--shadow-cyan); }
.pv-card__place { margin: 16px 0 12px; font-size: 1.3rem; }
.pv-card__name { margin: -8px 0 16px; color: var(--cyan-700); font-weight: 600; }
.pv-card__list { display: grid; gap: 10px; list-style: none; font-size: 0.94rem; line-height: 1.5; }
.pv-card__list li { display: flex; gap: 10px; }
.pv-card__list .icon { margin-top: 3px; color: var(--muted); }
.pv-card__note { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--mist); font-size: 0.86rem; line-height: 1.45; }

/* ---------- Artículos / informes ---------- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { height: 100%; }
.post-card__link { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--gray); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s; }
.post-card__link:hover { transform: translateY(-6px); border-color: rgba(0, 191, 255, 0.55); box-shadow: var(--shadow-cyan); color: var(--gray); }
.post-card__media { width: calc(100% + 56px); margin: -28px -28px 6px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.post-card__title { font-size: 1.3rem; }
.post-card__text { margin: 0; font-size: 0.95rem; }
.post-card .link-arrow { margin-top: auto; }
.post-card__link:hover .icon-arrow { transform: translateX(6px); }
.vade-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.vade-link { display: block; padding: clamp(28px, 4vw, 44px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); color: var(--gray); transition: box-shadow 0.5s var(--ease), border-color 0.3s; }
.vade-link:hover { border-color: rgba(0, 191, 255, 0.55); box-shadow: var(--shadow-cyan); color: var(--gray); }
.vade-link__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%; background: var(--ink-deep); color: var(--cyan); }
.vade-link h2 { font-size: 1.5rem; }
.vade-link p { margin: 12px 0 22px; }

.pagination,
.woocommerce-pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; }
.page-numbers.current { border-color: var(--ink); background: var(--ink); color: var(--white); }
a.page-numbers:hover { border-color: var(--cyan); color: var(--cyan-700); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.post-nav span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 0.76rem; letter-spacing: 0.14em; text-transform: uppercase; }
.post-nav a { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.post-nav a:hover { color: var(--cyan-700); }
.post-nav__next { text-align: right; grid-column: 2; }

/* ---------- Contenido editable ---------- */
.entry-content { color: var(--gray); font-size: 1.08rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 2em 0 0.6em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.entry-content h3 { margin: 2em 0 0.7em; font-size: 1.28rem; }
.entry-content h4 { margin: 1.6em 0 0.5em; font-size: 1.08rem; }
.entry-content ul,
.entry-content ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li::marker { color: var(--cyan-600); font-weight: 700; }
.entry-content a { text-decoration: underline; text-decoration-color: rgba(0, 163, 219, 0.4); text-underline-offset: 4px; }
.entry-content strong { color: var(--ink); }
.entry-content blockquote { margin: 2em 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--cyan); color: var(--ink); font-size: 1.2rem; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content table { width: 100%; margin-bottom: 1.6em; border-collapse: collapse; font-size: 0.96rem; }
.entry-content th,
.entry-content td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content--lead > p:first-child { color: var(--ink); font-size: 1.36rem; line-height: 1.55; }
.entry-content--wide { max-width: none; }
.entry-media { margin-bottom: 40px; border-radius: var(--radius); overflow: hidden; }
.alignwide { margin-inline: calc(var(--gutter) * -1); }
.aligncenter { margin-inline: auto; }
.wp-caption-text,
figcaption { margin-top: 8px; color: var(--muted); font-size: 0.86rem; }

/* Protocolos: productos como etiquetas, pasos numerados */
.entry-content--protocol h3 { display: flex; align-items: center; gap: 14px; font-size: 0.86rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan-700); }
.entry-content--protocol h3::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.entry-content--protocol ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.entry-content--protocol ul li { margin: 0; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); color: var(--ink); font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.entry-content--protocol ol { padding: 0; list-style: none; counter-reset: paso; }
.entry-content--protocol ol li { position: relative; margin: 0; padding: 18px 0 18px 66px; border-bottom: 1px solid var(--line); counter-increment: paso; }
.entry-content--protocol ol li::before { content: counter(paso, decimal-leading-zero); position: absolute; left: 0; top: 16px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-deep); color: var(--white); font-family: var(--font-head); font-size: 0.84rem; font-weight: 700; }
.entry-content--protocol ol li:nth-child(3n + 1)::before { background: var(--cyan-600); }

.accordion { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; color: var(--ink); font-family: var(--font-head); font-weight: 600; cursor: pointer; list-style: none; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform 0.4s var(--ease); }
.accordion[open] summary .icon { transform: rotate(180deg); }
.accordion .entry-content { padding: 0 26px 26px; font-size: 1rem; }

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { padding: 34px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.pillar__num { color: var(--red); font-family: var(--font-head); font-size: 0.86rem; font-weight: 700; letter-spacing: 0.16em; }
.pillar h2 { margin: 14px 0 12px; font-size: 1.5rem; }
.pillar p { margin: 0; }

.empty { padding: clamp(40px, 6vw, 72px) 24px; border: 1px dashed #c9dbe5; border-radius: var(--radius); background: var(--mist); text-align: center; }
.empty h2 { font-size: 1.5rem; }
.empty p { margin: 12px auto 24px; max-width: 50ch; }
.empty .hero__actions { justify-content: center; margin-top: 0; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact__form { padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); box-shadow: var(--shadow); }
.contact__form h2,
.contact__info h2 { font-size: 1.6rem; }
.contact__hint { margin: 8px 0 26px; font-size: 0.96rem; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: var(--ink); font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.field input,
.field select,
.field textarea { width: 100%; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--mist); color: var(--ink); font: inherit; transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 0; border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.14); }
.field__error { margin: 0 0 16px; color: var(--red-600); font-size: 0.9rem; font-weight: 600; }
.contact__form .btn { width: 100%; }
.contact-list { display: grid; gap: 12px; list-style: none; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.contact-list .icon { margin-top: 3px; color: var(--cyan); }
.contact-list--big { gap: 0; margin-top: 18px; }
.contact-list--big li { gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list--big .icon { width: 46px; height: 46px; margin: 0; padding: 12px; border-radius: 50%; background: var(--mist); color: var(--cyan-700); }
.contact-list--big strong { display: block; color: var(--muted); font-family: var(--font-head); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.contact-list--big a,
.contact-list--big span { color: var(--ink); font-size: 1.1rem; font-weight: 600; }

/* ---------- Pie ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 104px); background: var(--ink-deep); color: #a9b8c3; overflow: hidden; }
.site-footer__glow { position: absolute; top: -280px; left: 50%; width: 900px; height: 520px; margin-left: -450px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 191, 255, 0.24), transparent); pointer-events: none; }
.site-footer .wrap { position: relative; }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 0.8fr 1.1fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding-bottom: clamp(48px, 6vw, 76px); }
.site-footer__about { max-width: 36ch; margin-top: 16px; font-size: 0.95rem; }
.site-footer .script { margin-top: 18px; font-size: 2rem; }
.site-footer__title { margin-bottom: 20px; color: var(--white); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; }
.footer-menu,
.site-footer .menu { display: grid; gap: 10px; list-style: none; }
.site-footer a { color: #d5e0e7; }
.site-footer a:hover { color: var(--cyan); }
.site-footer a.btn--whatsapp,
.site-footer a.btn--whatsapp:hover { color: #06240f; }
.site-footer__cta p { margin-bottom: 20px; font-size: 0.95rem; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 50%; transition: 0.35s var(--ease); }
.social a:hover { border-color: var(--cyan); background: var(--cyan); color: var(--ink-deep); transform: translateY(-3px); }
.site-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.84rem; }
.site-footer__bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: 8px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white); box-shadow: 0 16px 34px -12px rgba(37, 211, 102, 0.9); transition: transform 0.4s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s ease-out infinite; }
.wa-float:hover { color: var(--white); transform: scale(1.08) rotate(-6deg); }

/* ---------- Cuenta en la cabecera ---------- */
.header-account { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 4px 14px 4px 10px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--ink); transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--ease); }
.header-account:hover { border-color: var(--cyan); background: var(--mist); color: var(--ink); transform: translateY(-1px); }
.header-account .icon { color: var(--cyan-700); }
.header-account__text { display: flex; flex-direction: column; font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; line-height: 1.15; }
.header-account__text small { color: var(--red-600); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.header-account.is-in .header-account__text small { color: var(--cyan-700); }

/* ---------- Cómo comprar ---------- */
.steps__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; list-style: none; counter-reset: none; }
.step { position: relative; padding: 34px 30px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(0, 191, 255, 0.55); box-shadow: var(--shadow-cyan); }
.step__num { position: absolute; top: 6px; right: 22px; color: transparent; font-family: var(--font-head); font-size: 6rem; font-weight: 800; line-height: 1; -webkit-text-stroke: 1.4px rgba(0, 163, 219, 0.28); transition: -webkit-text-stroke-color 0.4s, color 0.4s; }
.step:hover .step__num { color: rgba(0, 191, 255, 0.12); -webkit-text-stroke-color: var(--cyan); }
.step__icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: 50%; background: var(--ink-deep); color: var(--cyan); }
.step:nth-child(3) .step__icon { background: var(--red); color: var(--white); }
.step h3 { font-size: 1.3rem; }
.step p { margin: 10px 0 0; font-size: 0.98rem; }
.steps__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 28px; margin-top: 40px; }
.section-row__links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.link-arrow--soft { color: var(--muted); }

/* ---------- Tienda: apartados y aviso de registro ---------- */
.stock-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--mist); }
.stock-tab { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 999px; color: var(--ink); font-family: var(--font-head); font-size: 0.86rem; font-weight: 600; transition: background-color 0.3s, color 0.3s, box-shadow 0.3s; }
.stock-tab small { padding: 2px 8px; border-radius: 999px; background: rgba(31, 39, 46, 0.08); font-size: 0.72rem; }
.stock-tab:hover { background: var(--white); color: var(--cyan-700); }
.stock-tab.is-active { background: var(--ink); color: var(--white); box-shadow: 0 10px 22px -12px rgba(13, 24, 32, 0.8); }
.stock-tab.is-active small { background: rgba(255, 255, 255, 0.18); }
.access-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-bottom: 28px; padding: 20px 26px; border: 1px solid rgba(0, 191, 255, 0.4); border-radius: var(--radius); background: linear-gradient(120deg, var(--mist), #fff); box-shadow: var(--shadow-sm); }
.access-banner > div { flex: 1 1 320px; }
.access-banner strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.06rem; }
.access-banner p { margin: 2px 0 0; font-size: 0.94rem; }
.access-banner__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink-deep); color: var(--cyan); flex: none; }
.list-flag { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 9px 18px; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--ink); font-family: var(--font-head); font-size: 0.82rem; font-weight: 600; }
.list-flag .icon { color: var(--cyan-600); }

/* ---------- Acceso y registro ---------- */
.access { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { padding: clamp(26px, 3.4vw, 44px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); background: var(--white); box-shadow: var(--shadow); }
.form-card h2 { margin-bottom: 22px; font-size: 1.6rem; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-card__foot { margin: 18px 0 0; text-align: center; font-size: 0.92rem; }
.form-card--register { box-shadow: var(--shadow-cyan); border-color: rgba(0, 191, 255, 0.4); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.field__hint { display: block; margin-top: 6px; color: var(--muted); font-size: 0.82rem; }
.check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px; font-size: 0.9rem; line-height: 1.45; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan-600); flex: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-errors { margin-bottom: 20px; padding: 14px 18px; border: 1px solid rgba(255, 0, 0, 0.3); border-left: 4px solid var(--red); border-radius: var(--radius-sm); background: #fff5f5; color: #8f0000; font-size: 0.94rem; }
.form-errors ul { margin: 6px 0 0; padding-left: 1.1em; }
.form-note { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--mist); color: var(--ink); font-size: 0.9rem; line-height: 1.45; }
.form-note .icon { margin-top: 2px; color: var(--cyan-700); }
.type-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 22px; padding: 0; border: 0; }
.type-picker legend { margin-bottom: 10px; padding: 0; color: var(--ink); font-family: var(--font-head); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.04em; }
.type-card { position: relative; cursor: pointer; }
.type-card input { position: absolute; opacity: 0; inset: 0; }
.type-card__in { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px 18px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--white); transition: border-color 0.3s, background-color 0.3s, box-shadow 0.4s var(--ease), transform 0.4s var(--ease); }
.type-card__in .icon { color: var(--muted); transition: color 0.3s; }
.type-card__in strong { color: var(--ink); font-family: var(--font-head); font-size: 1rem; }
.type-card__in small { font-size: 0.82rem; line-height: 1.4; }
.type-card:hover .type-card__in { border-color: var(--cyan); }
.type-card input:checked + .type-card__in { border-color: var(--cyan-600); background: var(--mist); box-shadow: 0 0 0 4px rgba(0, 191, 255, 0.14); transform: translateY(-2px); }
.type-card input:checked + .type-card__in .icon { color: var(--cyan-700); }
.type-card input:focus-visible + .type-card__in { outline: 2px solid var(--cyan-700); outline-offset: 3px; }
.type-fields { animation: drop 0.45s var(--ease); }
.type-fields[hidden] { display: none; }
.access__perks { display: grid; gap: 14px; margin-top: 26px; padding: 0 8px; list-style: none; font-size: 0.94rem; font-weight: 600; color: var(--ink); }
.access__perks li { display: flex; align-items: center; gap: 12px; }
.access__perks .icon { color: var(--cyan-600); }
.account-card { padding: clamp(30px, 5vw, 56px); border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: linear-gradient(180deg, var(--mist), #fff 70%); box-shadow: var(--shadow); text-align: center; }
.account-card__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; margin-bottom: 20px; border-radius: 50%; background: var(--cyan); color: var(--white); box-shadow: 0 0 0 8px rgba(0, 191, 255, 0.14); }
.account-card__icon--wait { background: var(--ink-deep); color: var(--cyan); box-shadow: 0 0 0 8px rgba(13, 24, 32, 0.08); }
.account-card h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.account-card p { max-width: 52ch; margin: 14px auto 0; }
.account-card__note { padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.account-card .hero__actions { justify-content: center; }
.account-card__foot { margin-top: 24px !important; font-size: 0.9rem; }
.biocom-register-link { margin-top: 18px; font-size: 0.94rem; }
.checks { padding: 0 !important; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.checks li { position: relative; margin: 0 !important; padding-left: 30px; color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px; border-radius: 50%; background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 13px no-repeat; }

/* ---------- Animaciones de entrada ---------- */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal="left"] { transform: translate3d(-48px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(48px, 0, 0); }
.js [data-reveal="scale"] { transform: scale(0.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-tilt].is-in { transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.3s, opacity 0.9s var(--ease); transition-delay: 0s; }

.js [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js [data-split] .w > span { display: inline-block; transform: translate3d(0, 115%, 0) rotate(4deg); transform-origin: 0 100%; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms)); }
.js [data-split].is-in .w > span { transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float-y { 0%, 100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.12); } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes breathe { 0%, 100% { transform: scale(0.94); opacity: 0.85; } 50% { transform: scale(1); opacity: 1; } }
@keyframes pulse-dot { 0%, 100% { box-shadow: 0 0 0 4px rgba(255, 0, 0, 0.14); } 50% { box-shadow: 0 0 0 8px rgba(255, 0, 0, 0); } }
@keyframes scroll-hint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Adaptación a pantallas ---------- */
/* El menú pasa a panel lateral antes de que los ocho ítems dejen de entrar en una línea. */
@media (max-width: 1240px) {
	.main-nav { position: fixed; inset: 0 0 0 auto; z-index: 190; width: min(420px, 100%); padding: 110px 30px 34px; background: var(--white); box-shadow: -30px 0 80px -30px rgba(16, 42, 58, 0.4); transform: translateX(105%); visibility: hidden; transition: transform 0.6s var(--ease), visibility 0s linear 0.6s; overflow-y: auto; display: flex; flex-direction: column; }
	.nav-open .main-nav { transform: none; visibility: visible; transition-delay: 0s; }
	.nav-open .site-header::after { content: ""; position: fixed; inset: 0; z-index: 180; background: rgba(13, 24, 32, 0.45); }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.16rem; white-space: normal; }
	.main-nav .menu > li > a::after { display: none; }
	.main-nav .sub-menu { position: static; padding: 0 0 0 16px; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.main-nav .sub-menu a { font-size: 1rem; }
	.js .main-nav .menu > li { opacity: 0; transform: translateX(26px); transition: opacity 0.5s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 50ms + 0.15s); }
	.js.nav-open .main-nav .menu > li { opacity: 1; transform: none; }
	.main-nav__extra { display: block; margin-top: auto; padding-top: 30px; }
	.main-nav__extra .btn { width: 100%; }
	.nav-toggle { display: block; z-index: 195; }
	.nav-open { overflow: hidden; }
	.nav-open .site-header { transform: none !important; }
}

/* Entre 1241 y 1500 px el menú se compacta para no partir los ítems en dos renglones. */
@media (min-width: 1241px) and (max-width: 1500px) {
	.site-header__in { gap: 16px; }
	.main-nav .menu { gap: clamp(11px, 1.15vw, 18px); }
	.main-nav .menu a { font-size: 0.8rem; letter-spacing: 0; }
	.brand__word-top { letter-spacing: 0.22em; }
}

@media (max-width: 1080px) {
	.site-footer__top { grid-template-columns: 1fr 1fr; }
	.group-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.group-card.group-card--all { grid-column: span var(--span-3, 1); }
	.protocol { grid-template-columns: 1fr; }
	.protocol__aside { position: static; }
}

@media (max-width: 900px) {
	.hero { min-height: 0; }
	.hero__in { grid-template-columns: 1fr; }
	.hero__visual { max-width: 420px; order: -1; }
	.hero__scroll { display: none; }
	.about__in,
	.spotlight__in,
	.contact,
	.access { grid-template-columns: 1fr; }
	.steps__list { grid-template-columns: 1fr; }
	.access__register { order: -1; }
	.group-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.group-card.group-card--all { grid-column: span var(--span-2, 1); min-height: 180px; }
	.pro__in,
	.vade-links,
	.pillars { grid-template-columns: 1fr; }
	.topbar__item--mid { display: none; }
}

@media (max-width: 600px) {
	body { font-size: 1rem; }
	.topbar__in { justify-content: center; }
	.topbar__item:first-child { display: none; }
	.brand__mark { width: 44px; height: 44px; }
	.brand__word-main { font-size: 1.05rem; }
	.hero__actions .btn { flex: 1 1 100%; }
	.hero__visual { max-width: 300px; }
	.float-chip { font-size: 0.7rem; padding: 8px 13px; }
	.float-chip--1 { left: 0; }
	.float-chip--2 { right: 0; }
	.float-chip--3 { left: 0; }
	.stats { grid-template-columns: 1fr; }
	.field-row,
	.type-picker,
	.checks { grid-template-columns: 1fr; }
	.header-account { padding: 0; width: 46px; justify-content: center; border-color: transparent; }
	.header-account__text { display: none; }
	.stock-tabs { display: flex; border-radius: var(--radius-sm); }
	.filters--links { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.filters--links::-webkit-scrollbar { display: none; }
	.filters--links .filter { flex: none; }
	.stock-tab { flex: 1 1 auto; justify-content: center; padding: 10px 14px; }
	.group-grid { grid-template-columns: 1fr; }
	.group-card { min-height: 0; }
	.group-card.group-card--all { grid-column: auto; }
	.stat { display: flex; align-items: baseline; gap: 16px; }
	.stat__label { margin: 0; }
	.site-footer__top { grid-template-columns: 1fr; }
	.header-search form { flex-direction: column; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav__next { grid-column: 1; text-align: left; }
	.wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
	.cta__box { border-radius: var(--radius); }
}

/* ---------- Menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
	.js [data-reveal],
	.js [data-split] .w > span,
	.js .float-chip,
	.js .arcs--hero .arcs__arc { opacity: 1 !important; transform: none !important; scale: 1 !important; }
	.js .preloader { display: none; }
}

@media print {
	.site-header, .site-footer, .wa-float, .cta, .preloader, .scroll-progress { display: none !important; }
	.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
