/* ==========================================================================
   Eurohigiene — hoja de estilos principal
   Sistema: Trust & Authority · azul marino + azul profesional · Lexend / Source Sans 3
   ========================================================================== */

:root {
	/* Paleta */
	--navy-950: #020617;
	--navy-900: #0F172A;
	--navy-800: #1E293B;
	--slate-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748B;
	--slate-400: #94A3B8;
	--slate-300: #CBD5E1;
	--slate-200: #E2E8F0;
	--slate-100: #F1F5F9;
	--slate-50: #F8FAFC;
	--sky-50: #F0F9FF;
	--sky-100: #E0F2FE;
	--sky-200: #BAE6FD;
	--sky-300: #7DD3FC;
	--sky-500: #0EA5E9;
	--blue-600: #0284C7;
	--blue-700: #0369A1;
	--blue-800: #075985;

	/* Tokens semánticos */
	--color-primary: var(--navy-900);
	--color-accent: var(--blue-700);
	--color-accent-hover: var(--blue-800);
	--bg: var(--slate-50);
	--fg: var(--navy-950);
	--muted: var(--slate-600);
	--border: var(--slate-200);
	--card: #FFFFFF;

	--font-head: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
	--shadow: 0 4px 6px -1px rgba(15, 23, 42, .06), 0 12px 28px -8px rgba(15, 23, 42, .12);
	--shadow-lg: 0 28px 56px -16px rgba(15, 23, 42, .28);

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--ease: cubic-bezier(.22, 1, .36, 1);
}

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

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--fg);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
figure { margin: 0; }
img { height: auto; }

a { color: var(--color-accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--color-accent-hover); }

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -.02em;
	color: var(--navy-900);
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 4.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.85rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; }

:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 3px; border-radius: 8px; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.sr-only {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 16px; top: -100px; z-index: 100;
	background: var(--navy-900); color: #fff; padding: .75rem 1rem; border-radius: 12px;
	font-family: var(--font-head); text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-950); color: var(--slate-300); font-size: .9rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__item { display: inline-flex; align-items: center; gap: .45rem; color: var(--slate-200); text-decoration: none; }
a.topbar__item:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: 15px; height: 15px; color: var(--sky-300); }

/* ---------- Cabecera y navegación ---------- */
.site-header {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 10px 30px -18px rgba(15, 23, 42, .3); }
.site-header > .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy-900); flex: none; }
.brand:hover { color: var(--navy-900); }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1; letter-spacing: -.02em; }
.brand__name span { color: var(--color-accent); }
.brand__tag { display: block; margin-top: 5px; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.1; }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__name span { color: var(--sky-300); }
.brand--light .brand__tag { color: var(--slate-400); }

.nav { display: flex; align-items: center; gap: .5rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
	display: inline-flex; align-items: center; gap: .3rem; min-height: 44px; padding: .55rem .9rem;
	border: 0; border-radius: 999px; background: none; cursor: pointer;
	font-family: var(--font-head); font-size: .95rem; font-weight: 500; color: var(--slate-700); text-decoration: none;
	transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--slate-100); color: var(--navy-900); }
.nav__link[aria-current="page"], .nav__link.is-current { color: var(--color-accent); background: var(--sky-50); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.nav__link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__cta { margin-left: .5rem; }

.nav-dropdown { position: relative; }
.nav-dropdown__menu {
	position: absolute; top: calc(100% + 10px); left: 50%; min-width: 330px; padding: .5rem;
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
	transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.nav-dropdown > [aria-expanded="true"] + .nav-dropdown__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu-item { display: flex; align-items: flex-start; gap: .8rem; padding: .7rem .75rem; border-radius: 12px; text-decoration: none; color: var(--navy-900); }
.menu-item:hover, .menu-item[aria-current="page"] { background: var(--slate-50); color: var(--navy-900); }
.menu-item__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--color-accent); flex: none; }
.menu-item__icon .icon { width: 19px; height: 19px; }
.menu-item strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.menu-item small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; }

.nav-toggle {
	display: none; place-items: center; width: 46px; height: 46px; border-radius: 12px; cursor: pointer;
	border: 1px solid var(--border); background: #fff; color: var(--navy-900);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-grid; }
	.nav {
		position: absolute; top: 100%; left: 0; right: 0; display: none;
		flex-direction: column; align-items: stretch; gap: 0;
		max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
		padding: .75rem var(--gutter) 1.5rem; background: #fff;
		border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
	.nav__link { width: 100%; justify-content: space-between; padding: .8rem 1rem; border-radius: 12px; font-size: 1.05rem; }
	.nav-dropdown__menu {
		position: static; min-width: 0; padding: .25rem 0 .5rem .5rem; display: none;
		border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none;
	}
	.nav-dropdown > [aria-expanded="true"] + .nav-dropdown__menu { display: block; transform: none; }
	.nav__cta { margin: 1rem 0 0; }
}
@media (max-width: 720px) {
	.topbar__hide-sm { display: none; }
	.topbar .container { justify-content: center; }
	.topbar__group { gap: 1rem; font-size: .85rem; }
}
@media (max-width: 400px) {
	.brand__tag { display: none; }
}

/* ---------- Botones ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 50px; padding: .75rem 1.45rem; border: 1px solid transparent; border-radius: 999px;
	font-family: var(--font-head); font-size: 1rem; font-weight: 500; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .i-arrow-right { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: .55rem 1.15rem; font-size: .95rem; }
.btn--primary { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(3, 105, 161, .7); }
.btn--primary:hover { background: var(--color-accent-hover); color: #fff; }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-900); border-color: var(--slate-300); }
.btn--ghost:hover { background: var(--slate-50); border-color: var(--slate-400); color: var(--navy-900); }
.btn--light { background: #fff; color: var(--navy-900); }
.btn--light:hover { background: var(--sky-50); color: var(--navy-900); }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .08); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 500; text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Etiquetas y chips ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1.1rem; padding: .3rem .85rem .3rem .35rem;
	border-radius: 999px; background: var(--sky-50); border: 1px solid var(--sky-200);
	color: var(--blue-800); font-family: var(--font-head); font-size: .84rem; font-weight: 500;
}
.eyebrow__dot { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--color-accent); box-shadow: var(--shadow-sm); }
.eyebrow__dot .icon { width: 14px; height: 14px; }
.eyebrow--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .16); color: var(--sky-200); }
.eyebrow--dark .eyebrow__dot { background: rgba(255, 255, 255, .1); color: var(--sky-300); box-shadow: none; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.chip {
	display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .85rem; border-radius: 999px;
	background: #fff; border: 1px solid var(--border); color: var(--slate-700); font-size: .95rem; line-height: 1.3;
}
.chip .icon { width: 15px; height: 15px; color: var(--color-accent); }
.chip--dark { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--slate-200); }
.chip--dark .icon { color: var(--sky-300); }

/* ---------- Secciones ---------- */
.section { padding-block: clamp(4rem, 3rem + 4.5vw, 7.5rem); }
.section--tight { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.section--white { background: #fff; }
.section--muted { background: var(--slate-100); }
.section--dark { background: var(--navy-900); color: var(--slate-300); position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: var(--slate-400); }
.section--dark::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(700px 400px at 90% 0%, rgba(14, 165, 233, .16), transparent 70%),
		radial-gradient(600px 400px at 0% 100%, rgba(3, 105, 161, .18), transparent 70%);
}
.section--dark > .container { position: relative; }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 700px; }
.section-head h2 { margin-bottom: .4em; }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.6; color: var(--muted); }
.section-head .lead { margin: 0; }
.text-muted { color: var(--muted); }
.prose p { color: var(--slate-700); }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Hero de inicio ---------- */
.hero {
	position: relative; overflow: hidden;
	padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
	background:
		radial-gradient(1100px 600px at 90% -10%, var(--sky-100) 0%, transparent 60%),
		radial-gradient(800px 500px at -10% 110%, var(--sky-50) 0%, transparent 60%),
		var(--bg);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(rgba(15, 23, 42, .09) 1px, transparent 1px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
	mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.text-gradient {
	background: linear-gradient(95deg, var(--blue-700) 10%, var(--blue-600) 90%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead { max-width: 580px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; margin: 2.25rem 0 0; padding: 0; color: var(--slate-700); font-size: .98rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__trust .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--sky-100); color: var(--color-accent); stroke-width: 3; }

.hero__media { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; }
.hero__img { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-lg); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }
.hero__img--main { grid-row: span 2; aspect-ratio: 4 / 5; }
.hero__img--a { aspect-ratio: 1; }
.hero__img--a img { object-fit: contain; padding: 8%; }
.hero__img--b { aspect-ratio: 1; }

.float-card {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: .8rem;
	padding: .8rem 1.1rem .8rem .8rem; border-radius: 18px; font-size: .9rem; line-height: 1.3; color: var(--slate-600);
	background: rgba(255, 255, 255, .9); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow-lg);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; color: var(--navy-900); }
.float-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--color-accent); color: #fff; flex: none; }
.float-card__icon .icon { width: 20px; height: 20px; }
.float-card--1 { left: -1.25rem; bottom: 1.75rem; }
.float-card--2 { right: -.75rem; top: 45%; animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Cinta deslizante (marquee) ---------- */
.strip { border-block: 1px solid var(--border); background: #fff; padding-block: 1.25rem; }
.strip__inner { display: flex; align-items: center; gap: 1.5rem; }
.strip__label { flex: none; font-family: var(--font-head); font-size: .85rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.marquee {
	--gap: 2.75rem; --duration: 45s;
	position: relative; display: flex; flex: 1; min-width: 0; overflow: hidden;
	-webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
	mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
	display: flex; flex: none; align-items: center; gap: var(--gap); min-width: 100%;
	padding-right: var(--gap); margin: 0; list-style: none; padding-left: 0;
	animation: marquee var(--duration) linear infinite;
}
.marquee--reverse .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.sector { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; font-family: var(--font-head); font-weight: 500; color: var(--slate-700); }
.sector .icon { width: 20px; height: 20px; color: var(--color-accent); }
.marquee-toggle {
	flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
	border: 1px solid var(--border); background: #fff; color: var(--slate-600); cursor: pointer;
}
.marquee-toggle:hover { color: var(--navy-900); border-color: var(--slate-300); }
.marquee-toggle .icon { width: 16px; height: 16px; }
.marquee-toggle .i-play, .is-paused .marquee-toggle .i-pause { display: none; }
.is-paused .marquee-toggle .i-play { display: block; }

/* ---------- Cifras ---------- */
.stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; overflow: hidden;
	background: var(--border); border: 1px solid var(--border); border-radius: var(--radius-lg);
}
.stat { background: #fff; padding: clamp(1.4rem, 1rem + 1.5vw, 2rem); }
.stat__value { display: block; font-family: var(--font-head); font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; color: var(--navy-900); }
.stat__value small { font-size: .5em; letter-spacing: -.01em; color: var(--color-accent); margin-left: .1em; }
.stat__label { display: block; margin-top: .6rem; color: var(--muted); font-size: 1rem; line-height: 1.45; }

/* ---------- Bento de líneas de producto ---------- */
.bento {
	display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(250px, auto);
	grid-template-areas: "a a b b" "a a c d" "e e f f";
}
.bento > :nth-child(1) { grid-area: a; }
.bento > :nth-child(2) { grid-area: b; }
.bento > :nth-child(3) { grid-area: c; }
.bento > :nth-child(4) { grid-area: d; }
.bento > :nth-child(5) { grid-area: e; }
.bento > :nth-child(6) { grid-area: f; }

.tile {
	position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden;
	border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border);
	color: inherit; text-decoration: none;
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .2s;
}
a.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.tile__body { padding: clamp(1.4rem, 1rem + 1vw, 1.9rem); }
.tile__kicker { display: block; font-family: var(--font-head); font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--color-accent); }
.tile h3 { font-size: clamp(1.3rem, 1.05rem + .8vw, 1.8rem); margin: .35rem 0 .4rem; }
.tile p { margin: 0; color: var(--muted); max-width: 46ch; }
.tile .chips { margin-top: 1.25rem; }

.tile--image { justify-content: flex-end; min-height: 260px; border: 0; color: #fff; background: var(--navy-900); }
.tile--image > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a.tile--image:hover > img { transform: scale(1.05); }
.tile--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(2, 6, 23, 0) 30%, rgba(2, 6, 23, .55) 60%, rgba(2, 6, 23, .9) 100%); }
.tile--image h3 { color: #fff; }
.tile--image p { color: var(--slate-200); }
.tile--image .tile__kicker { color: var(--sky-300); }
.tile--image.tile--contain > img { object-fit: contain; object-position: center 25%; background: linear-gradient(160deg, #38BDF8, #6366F1); }
.tile__arrow {
	position: absolute; top: 1.1rem; right: 1.1rem; display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--navy-900);
	box-shadow: var(--shadow); transition: transform .35s var(--ease), background-color .2s, color .2s;
}
.tile__arrow .icon { width: 20px; height: 20px; }
a.tile:hover .tile__arrow { transform: rotate(-45deg); background: var(--color-accent); color: #fff; }

.tile--dark { background: var(--navy-900); border-color: var(--navy-800); color: var(--slate-300); }
.tile--dark h3 { color: #fff; }
.tile--dark p { color: var(--slate-400); }
.tile--dark .tile__kicker { color: var(--sky-300); }
.tile--soft { background: linear-gradient(160deg, #fff 0%, var(--sky-50) 100%); }
.tile__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 1.2rem; background: var(--sky-100); color: var(--color-accent); }
.tile--dark .tile__icon { background: rgba(56, 189, 248, .12); color: var(--sky-300); }
.tile__icon .icon { width: 26px; height: 26px; }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.related .tile { min-height: 300px; }

/* Brillo que sigue al cursor (tarjetas oscuras) */
.spotlight::before {
	content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
	background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(56, 189, 248, .16), transparent 45%);
}
.spotlight:hover::before { opacity: 1; }

/* ---------- Bloques imagen + texto ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--wide-media { grid-template-columns: 1.1fr .9fr; }
.split--reverse > :first-child { order: 2; }
.media-frame { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); background: var(--slate-200); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.media-frame--square { aspect-ratio: 1; }
.media-badge {
	position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem;
	padding: .55rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--navy-900);
	font-family: var(--font-head); font-size: .88rem; font-weight: 500; box-shadow: var(--shadow);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.media-badge .icon { width: 17px; height: 17px; color: var(--color-accent); }

.banner { position: relative; overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 1400 / 486; background: var(--slate-200); }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; }

.checklist { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; color: var(--slate-700); }
.checklist .icon { width: 22px; height: 22px; margin-top: .15rem; padding: 4px; border-radius: 50%; background: var(--sky-100); color: var(--color-accent); stroke-width: 3; }
.section--dark .checklist li { color: var(--slate-300); }
.section--dark .checklist .icon { background: rgba(56, 189, 248, .15); color: var(--sky-300); }

/* ---------- Tarjetas ---------- */
.cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.cards--2 { grid-template-columns: 1fr 1fr; }
.cards--wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.cards--stack { grid-template-columns: 1fr; margin-top: 2rem; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
	position: relative; isolation: isolate; overflow: hidden;
	padding: clamp(1.4rem, 1rem + 1vw, 1.9rem); border-radius: var(--radius-lg);
	background: #fff; border: 1px solid var(--border);
	transition: border-color .25s, box-shadow .25s, transform .35s var(--ease);
}
.card:hover { border-color: var(--sky-200); box-shadow: var(--shadow); }
.card__icon {
	display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 1.15rem; border-radius: 15px;
	background: linear-gradient(140deg, var(--sky-100), var(--sky-50)); border: 1px solid var(--sky-200); color: var(--color-accent);
}
.card__icon .icon { width: 24px; height: 24px; }
.card h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }
.card__num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--font-head); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--slate-100); letter-spacing: -.04em; z-index: -1; }
.section--dark .card { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .09); }
.section--dark .card:hover { border-color: rgba(125, 211, 252, .35); box-shadow: none; }
.section--dark .card p { color: var(--slate-400); }
.section--dark .card__icon { background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .25); color: var(--sky-300); }
.section--dark .card__num { color: rgba(255, 255, 255, .06); }

/* Formatos con foto */
.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.format { overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.format img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.format__body { padding: 1.25rem 1.4rem 1.5rem; }
.format h3 { font-size: 1.15rem; margin-bottom: .3rem; }
.format p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Código de colores ---------- */
.colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.color-card { --c: #2563EB; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); display: flex; flex-direction: column; }
.color-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.color-card__body { flex: 1; padding: 1.2rem 1.3rem 1.4rem; border-top: 5px solid var(--c); }
.color-card__name { display: flex; align-items: center; gap: .55rem; margin: 0 0 .35rem; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: var(--navy-900); }
.color-card__swatch { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 22%, transparent); flex: none; }
.color-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.color-card--rojo { --c: #DC2626; }
.color-card--amarillo { --c: #EAB308; }
.color-card--azul { --c: #2563EB; }
.color-card--verde { --c: #16A34A; }
.color-dots { display: flex; gap: .45rem; margin-top: 1.5rem; }
.color-dots span { width: 34px; height: 10px; border-radius: 999px; }
.note { margin-top: 1.25rem; font-size: .92rem; color: var(--muted); }
.section--dark .note { color: var(--slate-400); }

/* ---------- Galería ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filter {
	min-height: 44px; padding: .5rem 1.15rem; border-radius: 999px; cursor: pointer;
	border: 1px solid var(--border); background: #fff; color: var(--slate-700);
	font-family: var(--font-head); font-size: .95rem; font-weight: 500;
	transition: background-color .2s, color .2s, border-color .2s;
}
.filter:hover { border-color: var(--slate-400); }
.filter[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.filter__count { margin-left: .35rem; opacity: .65; font-weight: 400; }

.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; }
.gallery__item { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 5 / 4; background: var(--slate-200); cursor: zoom-in; }
.gallery__item--wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(2, 6, 23, .55)); opacity: 0; transition: opacity .3s; }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__tag {
	position: absolute; left: .75rem; bottom: .75rem; z-index: 1; padding: .3rem .7rem; border-radius: 999px;
	background: rgba(255, 255, 255, .92); color: var(--navy-900); font-family: var(--font-head); font-size: .78rem; font-weight: 500;
	opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__zoom {
	position: absolute; top: .75rem; right: .75rem; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px;
	border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy-900);
	opacity: 0; transform: scale(.85); transition: opacity .3s, transform .3s var(--ease);
}
.gallery__zoom .icon { width: 18px; height: 18px; }
.gallery__item:hover .gallery__tag, .gallery__item:focus-visible .gallery__tag,
.gallery__item:hover .gallery__zoom, .gallery__item:focus-visible .gallery__zoom { opacity: 1; transform: none; }
.gallery__item[hidden] { display: none; }

/* Fotos en movimiento (inicio) */
.photo-rows { display: grid; gap: 1rem; }
.photo-rows .marquee { --gap: 1rem; --duration: 70s; }
.photo-rows .marquee__track { gap: 1rem; padding-right: 1rem; }
.photo-rows a { display: block; flex: none; overflow: hidden; border-radius: 18px; }
.photo-rows img { width: clamp(220px, 24vw, 330px); aspect-ratio: 5 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.photo-rows a:hover img { transform: scale(1.05); }

/* ---------- Productos / equipos ---------- */
.products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 255px), 1fr)); }
.product { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); transition: box-shadow .3s, transform .35s var(--ease), border-color .2s; }
.product:hover { box-shadow: var(--shadow); border-color: var(--sky-200); transform: translateY(-3px); }
.product[hidden] { display: none; }
.product__media { display: block; aspect-ratio: 1; background: #fff; cursor: zoom-in; overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.product:hover .product__media img { transform: scale(1.04); }
.product__body { flex: 1; padding: 1.2rem 1.35rem 1.45rem; border-top: 1px solid var(--border); }
.product__cat { display: block; font-family: var(--font-head); font-size: .76rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }
.product h3 { font-size: 1.1rem; margin: .35rem 0; }
.product p { margin: 0; color: var(--muted); font-size: .98rem; }

.product--feature { display: grid; grid-template-columns: 200px 1fr; }
.product--feature .product__media { aspect-ratio: auto; min-height: 100%; cursor: default; display: grid; place-items: center; background: #fff; }
.product--feature .product__media img { object-fit: contain; padding: 1rem; max-height: 220px; }
.product--feature .product__body { border-top: 0; border-left: 1px solid var(--border); }
.product .checklist { margin-top: .9rem; gap: .45rem; }
.product .checklist li { font-size: .97rem; }
.product .checklist .icon { width: 20px; height: 20px; }
.source { display: block; margin-top: .9rem; font-size: .85rem; color: var(--slate-500); }

/* ---------- Guantes ---------- */
.gloves { margin-top: 1rem; padding: 1.25rem 1.25rem 1rem; border-radius: var(--radius-lg); background: #fff; }
.gloves__row { display: flex; align-items: flex-end; justify-content: space-around; gap: .5rem; }
.gloves img { width: clamp(44px, 8vw, 78px); height: auto; transition: transform .4s var(--ease); }
.gloves img:hover { transform: translateY(-6px) rotate(-3deg); }
.gloves__caption { margin: .75rem 0 0; text-align: center; font-size: .9rem; color: var(--slate-600); }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: 1.75rem 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 1.1rem; border-radius: 12px; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.step h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.step p { margin: 0; color: var(--muted); font-size: 1rem; }
.step:not(:last-child)::after {
	content: ""; position: absolute; top: 2.95rem; right: -1rem; width: 1rem; height: 2px;
	background: repeating-linear-gradient(90deg, var(--slate-300) 0 4px, transparent 4px 8px);
}

/* ---------- Marcas ---------- */
.brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.brand-card { display: flex; flex-direction: column; gap: .6rem; padding: 1.9rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); }
.brand-card__name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; color: var(--navy-900); }
.brand-card__area { font-family: var(--font-head); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--color-accent); }
.brand-card p { margin: 0 0 .5rem; color: var(--muted); }
.brand-card .link-arrow { margin-top: auto; }

/* ---------- Llamada a la acción ---------- */
.cta {
	position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
	padding: clamp(1.75rem, 1rem + 4vw, 4rem); border-radius: var(--radius-xl); color: var(--sky-100);
	background: linear-gradient(130deg, var(--blue-700) 0%, var(--navy-900) 65%);
}
.cta::before, .cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.cta::before { width: 520px; height: 520px; right: -160px; top: -260px; background: radial-gradient(closest-side, rgba(56, 189, 248, .35), transparent); }
.cta::after { width: 360px; height: 360px; left: -120px; bottom: -220px; background: radial-gradient(closest-side, rgba(14, 165, 233, .28), transparent); }
.cta h2 { color: #fff; }
.cta__text { color: var(--sky-100); max-width: 52ch; font-size: 1.1rem; }
.cta__actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__contacts { display: grid; gap: .75rem; }
.cta__contact {
	display: flex; align-items: center; gap: .9rem; min-height: 64px; padding: .85rem 1.1rem; border-radius: 18px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #fff; text-decoration: none;
	transition: background-color .2s, border-color .2s;
}
.cta__contact:hover { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .3); color: #fff; }
.cta__contact small { display: block; font-size: .85rem; color: var(--sky-200); }
.cta__contact strong { display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; word-break: break-word; }
.cta__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: rgba(255, 255, 255, .12); flex: none; }
.cta__icon .icon { width: 20px; height: 20px; }

/* ---------- Cabecera de páginas interiores ---------- */
/* Fondo en capas sobre la propia sección (sin pseudoelementos ni máscaras): brillos, fundido y retícula de puntos */
.page-hero {
	position: relative; overflow: hidden; padding-block: clamp(3rem, 2rem + 4vw, 6rem); color: var(--slate-300);
	background-color: var(--navy-900);
	background-image:
		radial-gradient(700px 480px at 85% 10%, rgba(14, 165, 233, .28), transparent 70%),
		radial-gradient(500px 380px at 10% 110%, rgba(3, 105, 161, .3), transparent 70%),
		linear-gradient(to right, transparent 20%, var(--navy-900) 85%),
		radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
	background-size: auto, auto, 100% 100%, 22px 22px;
}
.page-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero--text .page-hero__grid { grid-template-columns: minmax(0, 820px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); }
.page-hero .lead { color: var(--slate-300); max-width: 60ch; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-hero__media { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--radius-xl); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__media--contain { background: linear-gradient(160deg, #38BDF8, #6366F1); }
.page-hero__media--contain img { object-fit: contain; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; list-style: none; margin: 0 0 1.5rem; padding: 0; font-size: .92rem; color: var(--slate-400); }
.breadcrumb a { color: var(--slate-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: var(--slate-500); }

/* Navegación entre secciones de una página */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--border); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.subnav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .5rem 0; overflow-x: auto; scrollbar-width: none; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; white-space: nowrap; color: var(--slate-700); text-decoration: none; font-family: var(--font-head); font-size: .92rem; font-weight: 500; }
.subnav a:hover { background: var(--slate-100); color: var(--navy-900); }
.subnav a.is-active { background: var(--sky-50); color: var(--color-accent); }
.subnav .icon { width: 16px; height: 16px; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.info-list { display: grid; gap: .75rem; }
.info { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
a.info:hover { border-color: var(--sky-200); box-shadow: var(--shadow); color: inherit; }
.info__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--sky-50); border: 1px solid var(--sky-100); color: var(--color-accent); flex: none; }
.info__icon .icon { width: 21px; height: 21px; }
.info small { display: block; color: var(--muted); font-size: .88rem; }
.info strong { display: block; font-family: var(--font-head); font-weight: 500; color: var(--navy-900); word-break: break-word; }
.map { overflow: hidden; margin-top: .75rem; border-radius: var(--radius-lg); border: 1px solid var(--border); aspect-ratio: 4 / 3; background: var(--slate-200); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.form { display: grid; gap: 1.1rem; padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow); }
.form h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; margin-bottom: .4rem; font-family: var(--font-head); font-size: .93rem; font-weight: 500; color: var(--navy-900); }
.field .req { color: #B91C1C; }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: .75rem .95rem; border: 1px solid var(--slate-300); border-radius: 12px;
	background: #fff; color: var(--fg); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(3, 105, 161, .16); }
.field__hint { margin-top: .35rem; font-size: .88rem; color: var(--muted); }
.field__error { margin-top: .35rem; font-size: .9rem; color: #B91C1C; }
.field--invalid input, .field--invalid textarea, .field--invalid select { border-color: #DC2626; }
.checkbox { display: flex; align-items: flex-start; gap: .65rem; font-size: .97rem; color: var(--slate-700); cursor: pointer; }
.checkbox input { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--color-accent); flex: none; }
.form .btn { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.2rem; border-radius: 14px; }
.alert .icon { width: 22px; height: 22px; margin-top: .1rem; }
.alert p { margin: 0; }
.alert--ok { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; }
.alert--err { background: #FEF2F2; border: 1px solid #FECACA; color: #991B1B; }

/* ---------- Pie ---------- */
.site-footer { background: var(--navy-950); color: var(--slate-400); padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(2rem, 4vw, 3rem); }
.footer__about p { margin-top: 1.25rem; max-width: 40ch; }
.footer__motto { display: flex; align-items: center; gap: .5rem; color: var(--slate-200); font-family: var(--font-head); font-size: .95rem; }
.footer__motto .icon { width: 18px; height: 18px; color: var(--sky-300); }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; letter-spacing: 0; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.site-footer a { color: var(--slate-300); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer__contact .icon { width: 18px; height: 18px; margin-top: .2rem; color: var(--sky-300); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .92rem; }
.footer__bottom p { margin: 0; }

/* ---------- Visor de imágenes ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lightbox::backdrop { background: rgba(2, 6, 23, .92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox__inner { display: grid; place-items: center; width: 100%; height: 100%; padding: 4.5rem clamp(1rem, 6vw, 5.5rem); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 1rem; margin: 0; max-width: 100%; }
.lightbox__img { width: auto; max-width: min(1200px, 100%); max-height: calc(100dvh - 11rem); border-radius: 18px; background: #fff; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6); }
.lightbox__caption { max-width: 60ch; text-align: center; color: var(--slate-200); font-size: 1rem; }
.lightbox__btn { position: fixed; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s; }
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: fixed; top: 1.6rem; left: 1.25rem; margin: 0; font-family: var(--font-head); font-size: .9rem; color: var(--slate-300); }
.lightbox--single .lightbox__prev, .lightbox--single .lightbox__next, .lightbox--single .lightbox__count { display: none; }

/* ---------- Aparición al hacer scroll ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
/* Lo que está en la primera pantalla aparece con CSS, sin esperar al JavaScript */
.js .hero [data-reveal], .js .page-hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: rise .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Adaptación a pantallas ---------- */
@media (max-width: 1080px) {
	.bento { grid-template-columns: repeat(2, 1fr); grid-template-areas: "a a" "b b" "c d" "e e" "f f"; }
	.bento > :nth-child(1) { min-height: 380px; }
	.cards--4, .steps { grid-template-columns: repeat(2, 1fr); }
	.step::after { display: none; }
	.colors { grid-template-columns: repeat(2, 1fr); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	.hero__grid, .page-hero__grid, .split, .split--wide-media, .contact-grid, .cta { grid-template-columns: 1fr; }
	.split--reverse > :first-child { order: 0; }
	.hero__media { max-width: 620px; }
	.page-hero__media { max-width: 620px; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.cards--3, .brands, .formats { grid-template-columns: 1fr 1fr; }
	.gallery { grid-template-columns: repeat(2, 1fr); }
	.strip__label { display: none; }
	.banner { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) {
	body { font-size: 1.03rem; }
	.bento { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c" "d" "e" "f"; }
	.bento > :nth-child(1) { min-height: 340px; }
	.cards--2, .cards--3, .cards--4, .brands, .formats, .steps, .colors, .form__row, .footer__grid { grid-template-columns: 1fr; }
	.float-card { padding: .6rem .8rem .6rem .6rem; font-size: .8rem; }
	.float-card strong { font-size: .95rem; }
	.float-card__icon { width: 34px; height: 34px; border-radius: 10px; }
	.float-card--1 { left: .5rem; bottom: .75rem; }
	.float-card--2 { right: .5rem; top: .75rem; }
	.product--feature { grid-template-columns: 1fr; }
	.product--feature .product__media { min-height: 0; aspect-ratio: 4 / 3; }
	.product--feature .product__body { border-left: 0; border-top: 1px solid var(--border); }
	.lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
	.lightbox__prev { left: calc(50% - 60px); }
	.lightbox__next { right: calc(50% - 60px); }
	.banner { aspect-ratio: 4 / 3; }
	.banner img { object-position: 57% 50%; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js [data-reveal] { opacity: 1; transform: none; }
	.marquee { overflow-x: auto; }
	.marquee__track { animation: none; }
	.marquee__track[aria-hidden="true"], .marquee-toggle { display: none; }
}
