/* =========================================================================
   SEEA Premium — hoja de estilo principal
   Tipografía: Fraunces (titulares) + Inter (texto), autoalojadas.
   Paleta tomada de la identidad real de SEEA.
   ====================================================================== */

/* ---------- 1. Fuentes autoalojadas ---------- */
@font-face {
	font-family: 'Fraunces';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/fraunces-600-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/inter-400-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/inter-500-latin.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/inter-600-latin.woff2') format('woff2');
}

/* ---------- 2. Tokens ---------- */
:root {
	--ink: #15183D;
	--ink-2: #262B57;
	--ink-3: #3A4070;
	--bg: #F6F7FB;
	--bg-alt: #ECEEF6;
	--surface: #FFFFFF;
	--brand: #5666F7;
	--brand-600: #3C49D6;
	--brand-900: #1B2050;
	--accent: #FFB02B;
	--accent-600: #E0940F;
	--wa: #15803D;      /* Verde WhatsApp oscurecido: 5.02:1 con texto blanco (AA). */
	--wa-600: #0E6B31;
	--muted: #5C6183;
	--muted-light: #A9AEC9;
	--line: rgba(21, 24, 61, .10);
	--line-light: rgba(255, 255, 255, .14);

	--font-display: 'Fraunces', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

	--wrap: 1280px;
	--wrap-narrow: 820px;
	--gutter: clamp(20px, 5vw, 40px);
	--radius: 16px;
	--radius-sm: 10px;

	--shadow-sm: 0 2px 8px -2px rgba(21, 24, 61, .10);
	--shadow: 0 18px 44px -22px rgba(21, 24, 61, .38);
	--shadow-lg: 0 32px 70px -30px rgba(21, 24, 61, .52);

	--ease: cubic-bezier(.22, 1, .36, 1);
	--brand-hole: #fff;
}

/* ---------- 3. Reset y base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 96px;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* «clip» y no «hidden»: hidden convierte al body en contenedor de scroll y
	   rompe el encabezado sticky (se queda a medias al bajar). clip recorta
	   igual, pero sin crear contenedor de scroll. */
	overflow-x: clip;
}

img,
svg,
iframe { max-width: 100%; }

img {
	height: auto;
	display: block;
}

a {
	color: var(--brand-600);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover { color: var(--brand); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	color: var(--ink);
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.2em; }

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
	border-radius: 4px;
}

::selection {
	background: var(--brand);
	color: #fff;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	background: var(--ink);
	color: #fff;
	padding: 14px 22px;
	border-radius: 0 0 var(--radius-sm) 0;
	font-weight: 600;
}
.skip-link:focus {
	left: 0;
	color: #fff;
}

/* ---------- 4. Layout ---------- */
.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: clamp(64px, 8vw, 128px); }
.section--alt { background: var(--bg-alt); }
.section--dark {
	background: var(--ink);
	color: #E7E9F5;
}
.section--dark h2,
.section--dark h3 { color: #fff; }

.section__head {
	max-width: 760px;
	margin-bottom: clamp(36px, 5vw, 64px);
}
.section__head--center {
	margin-inline: auto;
	text-align: center;
}
.section__head--split {
	display: grid;
	gap: 24px;
	max-width: none;
	grid-template-columns: 1fr;
	align-items: end;
}
.section__title {
	font-size: clamp(1.85rem, 1.1rem + 2.6vw, 3.05rem);
	margin-bottom: .35em;
}
.section__title--light { color: #fff; }
.section__lead {
	font-size: 1.075rem;
	color: var(--muted);
	max-width: 62ch;
	margin: 0;
}
.section--dark .section__lead { color: #B9BEDC; }
.section__more {
	margin: clamp(32px, 4vw, 48px) 0 0;
	text-align: center;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--brand-600);
	margin: 0 0 14px;
}
.eyebrow--light { color: var(--accent); }
.eyebrow__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--accent);
	box-shadow: 0 0 0 4px rgba(255, 176, 43, .22);
}

.lead {
	font-size: 1.09rem;
	color: var(--ink-2);
}

.grid { display: grid; gap: clamp(18px, 2vw, 28px); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr; }

/* ---------- 5. Botones ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	min-height: 48px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
	background: var(--brand);
	color: #fff;
	box-shadow: 0 12px 26px -14px rgba(86, 102, 247, .95);
}
.btn--primary:hover {
	background: var(--brand-600);
	color: #fff;
	box-shadow: 0 18px 34px -14px rgba(86, 102, 247, .95);
}

.btn--wa {
	background: var(--wa);
	color: #fff;
	box-shadow: 0 12px 26px -16px rgba(21, 128, 61, .9);
}
.btn--wa:hover { background: var(--wa-600); color: #fff; }

.btn--outline {
	background: transparent;
	color: var(--ink);
	border-color: rgba(21, 24, 61, .22);
}
.btn--outline:hover {
	border-color: var(--brand);
	color: var(--brand-600);
	background: rgba(86, 102, 247, .06);
}

.btn--ghost {
	background: rgba(255, 255, 255, .07);
	color: #fff;
	border-color: rgba(255, 255, 255, .28);
	backdrop-filter: blur(6px);
}
.btn--ghost:hover {
	background: rgba(255, 255, 255, .14);
	border-color: rgba(255, 255, 255, .5);
	color: #fff;
}

.btn--sm { padding: 10px 18px; min-height: 42px; font-size: .875rem; }
.btn--lg { padding: 17px 32px; min-height: 56px; font-size: 1rem; }
.btn--block { width: 100%; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: .92rem;
	text-decoration: none;
	color: var(--brand-600);
}
.link-arrow .icon { transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(5px); }

.icon { flex: none; }

/* ---------- 6. Barra superior ---------- */
.topbar {
	background: var(--ink);
	color: #C4C8E4;
	font-size: .82rem;
}
.topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 42px;
}
.topbar__claim {
	margin: 0;
	letter-spacing: .01em;
}
.topbar__links {
	display: flex;
	gap: 22px;
	flex: none;
}
.topbar__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 26px; /* Area tactil minima segun WCAG 2.2 (2.5.8). */
	color: #fff;
	text-decoration: none;
	font-weight: 500;
}
.topbar__link:hover { color: var(--accent); }
.topbar__link .icon { color: var(--accent); }

/* ---------- 7. Encabezado ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .3s var(--ease), background-color .3s var(--ease), min-height .3s var(--ease);
}
/* Al bajar se vuelve opaco y se compacta un poco. */
.site-header.is-stuck {
	box-shadow: 0 10px 30px -22px rgba(21, 24, 61, .6);
	background: var(--surface);
}
.site-header.is-stuck .site-header__inner { min-height: 66px; }
/* Sin soporte de backdrop-filter (Firefox antiguo), fondo sólido. */
@supports not (backdrop-filter: blur(1px)) {
	.site-header { background: var(--surface); }
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 76px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
	min-width: 0; /* Permite encoger en pantallas estrechas sin desbordar. */
}
.brand__mark {
	display: grid;
	place-items: center;
	flex: none;
	color: var(--brand-900);
	transition: transform .5s var(--ease);
}
.brand:hover .brand__mark { transform: rotate(-25deg); }
.brand__text { display: grid; }
.brand__name {
	font-family: var(--font-display);
	font-size: 1.6rem;
	font-weight: 600;
	letter-spacing: .04em;
	line-height: 1;
	color: var(--ink);
}
.brand__tag {
	font-size: .58rem;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 4px;
	font-weight: 500;
}

/* Navegación */
.site-nav { display: none; }
.site-nav__list {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.site-nav__list a {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: .88rem;
	font-weight: 600;
	letter-spacing: .04em;
	color: var(--ink-2);
	text-decoration: none;
	transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav__list a:hover {
	color: var(--brand-600);
	background: rgba(86, 102, 247, .08);
}
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_item > a {
	color: var(--brand-600);
	background: rgba(86, 102, 247, .1);
}
.site-nav__cta {
	display: flex;
	gap: 10px;
	margin-left: 18px;
	padding-left: 18px;
	border-left: 1px solid var(--line);
}

/* Botón hamburguesa */
.nav-toggle {
	display: inline-flex;
	flex: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 48px;
	height: 48px;
	padding: 0 12px;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 12px;
	cursor: pointer;
}
.nav-toggle__bar {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menú móvil abierto.
   Nota: mientras el menú está abierto se retira el backdrop-filter del
   encabezado. Un ancestro con backdrop-filter crea un bloque contenedor y el
   panel «fixed» quedaría encajado dentro del encabezado en vez de ocupar la
   pantalla completa. El desplazamiento superior lo calcula el JS en --nav-top. */
body.nav-open .site-header {
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	background: var(--surface);
}
.site-nav.is-open {
	display: flex;
	flex-direction: column;
	position: fixed;
	inset: var(--nav-top, 118px) 0 0;
	background: var(--surface);
	padding: 28px var(--gutter) 40px;
	gap: 18px;
	overflow-y: auto;
	z-index: 99;
	animation: nav-in .3s var(--ease);
}
@keyframes nav-in {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: none; }
}
.site-nav.is-open .site-nav__list {
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
}
.site-nav.is-open .site-nav__list a {
	padding: 16px 14px;
	font-size: 1.05rem;
	border-bottom: 1px solid var(--line);
	border-radius: 0;
}
.site-nav.is-open .site-nav__cta {
	flex-direction: column;
	margin: 8px 0 0;
	padding: 0;
	border: 0;
}
.site-nav.is-open .btn { width: 100%; }
body.nav-open { overflow: hidden; }

/* ---------- 8. Hero ---------- */
.hero {
	position: relative;
	background: var(--ink);
	color: #E7E9F5;
	overflow: hidden;
	isolation: isolate;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(900px 520px at 78% 8%, rgba(86, 102, 247, .38), transparent 62%),
		radial-gradient(620px 420px at 8% 92%, rgba(86, 102, 247, .18), transparent 60%),
		linear-gradient(160deg, #12153A 0%, #171C4E 52%, #10133A 100%);
}
.hero__bg::after {
	content: '';
	position: absolute;
	right: -14%;
	top: -18%;
	width: 62%;
	height: 150%;
	background: linear-gradient(115deg, rgba(86, 102, 247, .22), rgba(86, 102, 247, 0));
	clip-path: polygon(28% 0, 100% 0, 72% 100%, 0 100%);
	opacity: .85;
}
.hero__inner {
	position: relative;
	display: grid;
	gap: clamp(36px, 5vw, 56px);
	padding-block: clamp(56px, 8vw, 108px);
	align-items: center;
}
.hero__title {
	font-size: clamp(2.35rem, 1.1rem + 5vw, 4.4rem);
	line-height: 1.03;
	color: #fff;
	margin-bottom: .35em;
	text-wrap: balance;
}
.hero__title em {
	font-style: normal;
	color: var(--accent);
	position: relative;
	white-space: nowrap;
}
.hero__lead {
	font-size: clamp(1.02rem, .95rem + .35vw, 1.16rem);
	color: #BFC4E4;
	max-width: 56ch;
	margin-bottom: 2rem;
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 2.6rem;
}
.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 0;
	padding-top: 26px;
	border-top: 1px solid var(--line-light);
}
.hero__stat dt {
	font-size: .68rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 6px;
	font-weight: 600;
}
.hero__stat dd {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(.98rem, .9rem + .35vw, 1.2rem);
	color: #fff;
	line-height: 1.25;
}

.hero__media {
	position: relative;
	margin: 0;
}
.hero__frame {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	background: linear-gradient(180deg, #FFFFFF 0%, #EEF0F9 100%);
	border: 1px solid rgba(255, 255, 255, .18);
	box-shadow: var(--shadow-lg);
	aspect-ratio: 4 / 5;
}
.hero__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	padding: 14px;
}
.hero__caption {
	display: grid;
	gap: 2px;
	margin-top: 16px;
	padding-left: 16px;
	border-left: 2px solid var(--accent);
}
.hero__caption-label {
	font-size: .68rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
}
.hero__caption-title {
	font-size: .92rem;
	color: #C7CBE8;
}

/* ---------- 9. Barra de confianza ---------- */
.trustbar {
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.trustbar__inner {
	display: grid;
	gap: 22px;
	padding-block: 30px;
	grid-template-columns: 1fr;
}
.trust {
	display: flex;
	align-items: flex-start;
	gap: 13px;
}
.trust .icon { color: var(--brand); margin-top: 3px; }
.trust p {
	margin: 0;
	font-size: .88rem;
	color: var(--muted);
	line-height: 1.5;
}
.trust strong {
	display: block;
	color: var(--ink);
	font-size: .95rem;
	font-weight: 600;
}

/* ---------- 10. Tarjetas ---------- */
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
	border-color: rgba(86, 102, 247, .3);
}
.card__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: linear-gradient(180deg, #FFFFFF, #EDEFF7);
	overflow: hidden;
}
.card__media--tall { aspect-ratio: 1 / 1; }
.card__img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 16px;
	transition: transform .6s var(--ease);
}
.card:hover .card__img { transform: scale(1.04); }
.card__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	flex: 1;
}
.card__kicker {
	margin: 0;
	font-size: .7rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--brand-600);
	font-weight: 600;
}
.card__title {
	font-size: 1.16rem;
	margin: 0;
	line-height: 1.25;
}
.card__title a { color: inherit; text-decoration: none; }
.card__text {
	margin: 0;
	font-size: .92rem;
	color: var(--muted);
}
.card__body .link-arrow { margin-top: auto; }

.card--value {
	padding: 28px 24px;
	gap: 14px;
}
.card__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(86, 102, 247, .1);
	color: var(--brand-600);
	margin-bottom: 4px;
}

.ticks {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 9px;
}
.ticks li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: .89rem;
	color: var(--muted);
	line-height: 1.5;
}
.ticks .icon {
	color: var(--brand);
	margin-top: 3px;
}
.ticks--lg li {
	font-size: .98rem;
	color: var(--ink-2);
}

/* ---------- 11. Por qué elegirnos ---------- */
.why {
	display: grid;
	gap: clamp(36px, 5vw, 64px);
	align-items: center;
}
.why__media {
	position: relative;
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}
.why__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.why__badge {
	position: absolute;
	left: 18px;
	bottom: 18px;
	right: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(21, 24, 61, .82);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .14);
}
.why__badge-num {
	font-family: var(--font-display);
	font-size: 1.7rem;
	color: var(--accent);
	line-height: 1;
}
.why__badge-text {
	font-size: .82rem;
	color: #D7DAF0;
	line-height: 1.35;
}

.numbers {
	list-style: none;
	margin: 28px 0 0;
	padding: 0;
	display: grid;
	gap: 26px;
}
.numbers li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 18px;
	padding-bottom: 26px;
	border-bottom: 1px solid var(--line-light);
}
.numbers li:last-child { border-bottom: 0; padding-bottom: 0; }
.numbers__n {
	font-family: var(--font-display);
	font-size: 1.5rem;
	color: var(--accent);
	line-height: 1.1;
}
.numbers h3 {
	font-size: 1.1rem;
	margin: 0 0 6px;
	color: #fff;
}
.numbers p {
	margin: 0;
	font-size: .93rem;
	color: #B4BADB;
}

/* ---------- 12. Proceso ---------- */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 20px;
	counter-reset: step;
}
.step {
	position: relative;
	padding: 28px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.step:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow);
}
.step__n {
	display: block;
	font-family: var(--font-display);
	font-size: 2rem;
	line-height: 1;
	color: rgba(86, 102, 247, .28);
	margin-bottom: 14px;
}
.step__title {
	font-size: 1.05rem;
	margin: 0 0 8px;
}
.step__text {
	margin: 0;
	font-size: .9rem;
	color: var(--muted);
}

/* ---------- 13. Chips ---------- */
.chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 20px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 500;
	color: var(--ink-2);
	transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover {
	border-color: var(--brand);
	transform: translateY(-2px);
}
.chip .icon { color: var(--brand); }

/* ---------- 14. Bloques divididos ---------- */
.split {
	display: grid;
	gap: clamp(32px, 5vw, 64px);
	align-items: center;
}
.split--service { padding-block: clamp(28px, 4vw, 52px); }
.split__media {
	border-radius: var(--radius);
	overflow: hidden;
	background: linear-gradient(180deg, #FFFFFF, #EDEFF7);
	border: 1px solid var(--line);
	box-shadow: var(--shadow);
}
.split__img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
	padding: 18px;
}
.split__num {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--accent-600);
	letter-spacing: .06em;
	margin-bottom: 10px;
}
.split__title {
	font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
	margin-bottom: .5em;
}
.split__actions { margin-top: 26px; }

/* ---------- 15. Fichas de equipo ---------- */
.fichas {
	display: grid;
	gap: clamp(20px, 2.4vw, 30px);
}
.ficha {
	display: grid;
	gap: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	scroll-margin-top: 110px;
	transition: box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.ficha:hover {
	box-shadow: var(--shadow);
	border-color: rgba(86, 102, 247, .28);
}
.ficha__media {
	background: linear-gradient(160deg, #FFFFFF, #E9ECF7);
	display: grid;
	place-items: center;
	padding: 22px;
	border-bottom: 1px solid var(--line);
}
.ficha__img {
	width: 100%;
	max-height: 340px;
	object-fit: contain;
}
.ficha__body { padding: clamp(24px, 3vw, 38px); }
.ficha__kicker {
	margin: 0 0 6px;
	font-size: .7rem;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--brand-600);
	font-weight: 600;
}
.ficha__title {
	font-size: clamp(1.28rem, 1.05rem + .8vw, 1.72rem);
	margin-bottom: .45em;
}
.ficha__text {
	color: var(--muted);
	font-size: .98rem;
	margin-bottom: 26px;
	max-width: 68ch;
}
.ficha__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 26px;
}

.specs {
	display: grid;
	gap: 20px;
	padding: 22px;
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.spec__title {
	font-family: var(--font-body);
	font-size: .68rem;
	font-weight: 600;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 10px;
}
.spec ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 7px;
}
.spec li {
	position: relative;
	padding-left: 16px;
	font-size: .88rem;
	color: var(--ink-2);
	line-height: 1.45;
}
.spec li::before {
	content: '';
	position: absolute;
	left: 0;
	top: .62em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--accent);
}

/* ---------- 16. Paneles (misión/visión) ---------- */
.panel {
	position: relative;
	padding: clamp(28px, 3.5vw, 44px);
	background: rgba(255, 255, 255, .05);
	border: 1px solid var(--line-light);
	border-radius: var(--radius);
	transition: border-color .35s var(--ease), background-color .35s var(--ease);
}
.panel:hover {
	border-color: rgba(255, 176, 43, .5);
	background: rgba(255, 255, 255, .08);
}
.panel__label {
	display: inline-block;
	font-size: .7rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--accent);
	font-weight: 600;
	margin-bottom: 16px;
}
.panel__text {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.05rem, .95rem + .6vw, 1.35rem);
	line-height: 1.5;
	color: #E9EBF8;
	letter-spacing: -.01em;
}

/* ---------- 17. Preguntas frecuentes ---------- */
.faq {
	display: grid;
	gap: 12px;
}
.faq__item {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	overflow: hidden;
	transition: border-color .3s var(--ease);
}
.faq__item[open] { border-color: rgba(86, 102, 247, .35); }
.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 22px;
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
	color: var(--ink);
	list-style: none;
	min-height: 56px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__sign {
	position: relative;
	flex: none;
	width: 20px;
	height: 20px;
}
.faq__sign::before,
.faq__sign::after {
	content: '';
	position: absolute;
	inset: 50% 0 auto;
	height: 2px;
	background: var(--brand);
	border-radius: 2px;
	transition: transform .3s var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__item[open] .faq__sign::after { transform: rotate(0); }
.faq__a {
	padding: 0 22px 22px;
	color: var(--muted);
	font-size: .95rem;
}

/* ---------- 18. Banda de llamada a la acción ---------- */
.cta-band {
	position: relative;
	background: linear-gradient(120deg, var(--brand-900) 0%, #2B33A6 55%, var(--brand) 130%);
	color: #fff;
	overflow: hidden;
}
.cta-band::after {
	content: '';
	position: absolute;
	right: -8%;
	top: -40%;
	width: 46%;
	height: 190%;
	background: rgba(255, 255, 255, .06);
	clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.cta-band__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 32px;
	padding-block: clamp(52px, 6vw, 88px);
	align-items: center;
}
.cta-band__title {
	font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.6rem);
	color: #fff;
	margin-bottom: .4em;
	text-wrap: balance;
}
.cta-band__lead {
	margin: 0;
	color: #D5D9FA;
	max-width: 56ch;
}
.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.cta-band .btn--primary {
	background: #fff;
	color: var(--brand-900);
	box-shadow: 0 16px 34px -18px rgba(0, 0, 0, .6);
}
.cta-band .btn--primary:hover {
	background: var(--accent);
	color: var(--ink);
}

/* ---------- 19. Cabecera de página interior ---------- */
.page-hero {
	position: relative;
	background: var(--ink);
	color: #DCDFF3;
	overflow: hidden;
	isolation: isolate;
}
.page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(760px 420px at 82% 0%, rgba(86, 102, 247, .34), transparent 62%),
		linear-gradient(160deg, #12153A, #191F55);
}
.page-hero__bg::after {
	content: '';
	position: absolute;
	right: -12%;
	top: -30%;
	width: 55%;
	height: 170%;
	background: linear-gradient(115deg, rgba(86, 102, 247, .2), transparent);
	clip-path: polygon(30% 0, 100% 0, 70% 100%, 0 100%);
}
.page-hero__inner {
	padding-block: clamp(52px, 7vw, 92px);
	max-width: 860px;
}
.page-hero--slim .page-hero__inner { padding-block: clamp(40px, 5vw, 64px); }
.page-hero__title {
	font-size: clamp(2rem, 1.2rem + 3.4vw, 3.4rem);
	color: #fff;
	margin-bottom: .35em;
	text-wrap: balance;
}
.page-hero__lead {
	font-size: 1.06rem;
	color: #B8BEE0;
	max-width: 60ch;
	margin: 0;
}
.page-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}
.crumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: .8rem;
	color: #9AA1CC;
	margin-bottom: 20px;
}
.crumbs a { color: #C6CBEA; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* ---------- 20. Contacto y formulario ---------- */
.contacto {
	display: grid;
	gap: clamp(28px, 4vw, 48px);
	align-items: start;
}
.contacto__aside-title {
	font-size: 1.2rem;
	margin-bottom: 20px;
}
.contact-card {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 20px;
	margin-bottom: 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-decoration: none;
	color: var(--ink);
	transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
a.contact-card:hover {
	transform: translateY(-2px);
	border-color: var(--brand);
	box-shadow: var(--shadow-sm);
	color: var(--ink);
}
.contact-card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	flex: none;
	border-radius: 12px;
	background: rgba(86, 102, 247, .1);
	color: var(--brand-600);
}
.contact-card--wa .contact-card__icon {
	background: rgba(21, 128, 61, .12);
	color: var(--wa);
}
.contact-card__body { display: grid; gap: 2px; min-width: 0; }
.contact-card__label {
	font-size: .68rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 600;
}
.contact-card__value {
	font-size: .98rem;
	font-weight: 500;
	overflow-wrap: anywhere;
}
.contact-card--static { cursor: default; }

.contacto__note {
	display: flex;
	gap: 12px;
	padding: 16px 18px;
	margin-top: 20px;
	background: rgba(86, 102, 247, .06);
	border: 1px solid rgba(86, 102, 247, .2);
	border-radius: var(--radius-sm);
}
.contacto__note .icon { color: var(--brand-600); flex: none; margin-top: 2px; }
.contacto__note p {
	margin: 0;
	font-size: .84rem;
	color: var(--muted);
}

.contacto__form {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: clamp(24px, 3.5vw, 44px);
	box-shadow: var(--shadow);
	scroll-margin-top: 110px;
}
.contacto__form-title {
	font-size: clamp(1.4rem, 1.1rem + 1.1vw, 1.9rem);
	margin-bottom: .35em;
}
.contacto__form-lead {
	color: var(--muted);
	font-size: .95rem;
	margin-bottom: 28px;
}

.form__row {
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr;
}
.field {
	display: grid;
	gap: 8px;
	margin-bottom: 18px;
}
.field label {
	font-size: .84rem;
	font-weight: 600;
	color: var(--ink-2);
}
.req { color: var(--brand); }
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	min-height: 50px;
	font-family: var(--font-body);
	font-size: 1rem;
	color: var(--ink);
	background: var(--bg);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.field select {
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C6183' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 18px;
	padding-right: 44px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	background: var(--surface);
	border-color: var(--brand);
	box-shadow: 0 0 0 4px rgba(86, 102, 247, .16);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline: none; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted); }

.form__trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.form__legal {
	font-size: .82rem;
	color: var(--muted);
	margin: 4px 0 22px;
}

.alert {
	display: flex;
	gap: 14px;
	padding: 18px 20px;
	border-radius: var(--radius-sm);
	margin-bottom: 26px;
	border: 1px solid;
}
.alert p { margin: 6px 0 0; font-size: .9rem; }
.alert--ok {
	background: rgba(21, 128, 61, .08);
	border-color: rgba(21, 128, 61, .35);
	color: #145C31;
}
.alert--ok .icon { color: var(--wa); }
.alert--error {
	background: rgba(214, 60, 60, .07);
	border-color: rgba(214, 60, 60, .32);
	color: #8C2020;
}
.alert--error .icon { color: #C33; }

/* Confirmación con envío por WhatsApp (canal prioritario). */
.alert--wa {
	background: linear-gradient(135deg, rgba(21, 128, 61, .10), rgba(21, 128, 61, .04));
	border-color: rgba(21, 128, 61, .38);
	color: #123F26;
	padding: 24px;
}
.alert--wa .icon { color: var(--wa); }
.alert--wa strong {
	display: block;
	font-family: var(--font-display);
	font-size: 1.2rem;
	line-height: 1.25;
	margin-bottom: 6px;
	color: var(--ink);
}
.alert__actions { margin: 18px 0 0; }
.alert__actions .btn { width: 100%; }
.alert__nota {
	margin-top: 14px;
	font-size: .82rem;
	color: var(--muted);
}

.form__hint {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	margin: 16px 0 0;
	font-size: .84rem;
	color: var(--muted);
	line-height: 1.5;
}
.form__hint .icon { color: var(--wa); margin-top: 3px; flex: none; }

/* ---------- 21. Mapa ---------- */
.map {
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
	background: var(--surface);
}
.map iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 0;
}
.map--static {
	display: grid;
	place-items: center;
	min-height: 300px;
	background:
		radial-gradient(circle at 20% 20%, rgba(86, 102, 247, .07), transparent 55%),
		repeating-linear-gradient(45deg, rgba(21, 24, 61, .03) 0 12px, transparent 12px 24px),
		var(--surface);
	padding: 40px 20px;
}
.map__card {
	text-align: center;
	display: grid;
	gap: 10px;
	justify-items: center;
}
.map__card .icon { color: var(--brand); }
.map__address {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.3rem;
	color: var(--ink);
}
.map__hours {
	margin: 0 0 10px;
	font-size: .9rem;
	color: var(--muted);
}

/* ---------- 22. Pie de página ---------- */
.site-footer {
	background: var(--ink);
	color: #A9AFD4;
	padding-block: clamp(48px, 6vw, 80px) 28px;
	font-size: .92rem;
}
.footer-grid {
	display: grid;
	gap: clamp(30px, 4vw, 48px);
	grid-template-columns: 1fr;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line-light);
}
.footer-col { min-width: 0; }
.brand--footer { color: #fff; }
.brand--footer .brand__mark { color: var(--accent); }
.brand--footer .brand__name { color: #fff; }
.brand--footer .brand__tag { color: var(--muted-light); }
.footer-brand__text {
	margin: 20px 0 0;
	max-width: 42ch;
	color: #9BA1C8;
	font-size: .9rem;
}
.footer-col__title {
	font-family: var(--font-body);
	font-size: .72rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 18px;
}
.footer-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 11px;
}
.footer-list a {
	color: #B4BADD;
	text-decoration: none;
	transition: color .25s var(--ease);
}
.footer-list a:hover { color: var(--accent); }
.footer-list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	line-height: 1.5;
}
.footer-list--contact .icon { color: var(--brand); margin-top: 3px; flex: none; }

.social {
	list-style: none;
	display: flex;
	gap: 10px;
	margin: 22px 0 0;
	padding: 0;
}
.social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--line-light);
	color: #C2C7E6;
	transition: all .3s var(--ease);
}
.social a:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--ink);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 14px;
	padding-top: 24px;
}
.footer-bottom__copy {
	margin: 0;
	font-size: .82rem;
	color: #838ABA;
}
.footer-bottom__legal {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	font-size: .82rem;
}
.footer-bottom__legal a { color: #A6ACD3; text-decoration: none; }
.footer-bottom__legal a:hover { color: var(--accent); }

/* ---------- 23. Acciones flotantes ---------- */
.wa-float {
	position: fixed;
	right: 20px;
	bottom: 84px;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--wa);
	color: #fff;
	box-shadow: 0 14px 30px -12px rgba(21, 128, 61, .85);
	transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wa-float:hover {
	transform: scale(1.07);
	background: var(--wa-600);
	color: #fff;
}

.mobile-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 95;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: rgba(255, 255, 255, .97);
	backdrop-filter: blur(12px);
	border-top: 1px solid var(--line);
	padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__item {
	display: grid;
	justify-items: center;
	gap: 3px;
	padding: 10px 6px;
	min-height: 60px;
	font-size: .7rem;
	font-weight: 600;
	color: var(--ink-2);
	text-decoration: none;
	border-right: 1px solid var(--line);
}
.mobile-bar__item:last-child { border-right: 0; }
.mobile-bar__item .icon { color: var(--brand); }
.mobile-bar__item--wa .icon { color: var(--wa); }
body { padding-bottom: 60px; }

/* ---------- 24. Contenido editorial, 404, paginación ---------- */
.prose { font-size: 1.02rem; }
.prose h2 {
	font-size: 1.5rem;
	margin-top: 1.8em;
}
.prose h3 { font-size: 1.2rem; margin-top: 1.5em; }
.prose ul, .prose ol { color: var(--ink-2); }
.prose li { margin-bottom: .5em; }

.error404 { text-align: center; }
.error404__inner { padding-block: clamp(20px, 4vw, 48px); }
.error404__title {
	font-size: clamp(1.9rem, 1.2rem + 3vw, 3rem);
	color: #fff;
}
.error404__text {
	color: #B4BADB;
	max-width: 54ch;
	margin-inline: auto;
}
.error404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: center;
	margin-top: 32px;
}

.empty {
	text-align: center;
	padding-block: 40px;
}
.pagination {
	margin-top: 48px;
	display: flex;
	justify-content: center;
}
.pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--surface);
	text-decoration: none;
	color: var(--ink-2);
	font-weight: 600;
	font-size: .9rem;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

/* ---------- 25. Animación de entrada ---------- */
/* Solo se ocultan si JavaScript esta disponible: sin JS todo se ve igual. */
.js .reveal {
	opacity: 0;
	transform: translateY(22px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- 26. Puntos de quiebre ---------- */
@media (min-width: 600px) {
	.grid--2,
	.grid--3,
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	/* Pie de página: la marca ocupa el ancho y las tres listas se reparten debajo. */
	.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
	.trustbar__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.form__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
	.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	/* Cuatro columnas: marca más ancha y las tres listas alineadas a la derecha. */
	.footer-grid {
		grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1.35fr);
		column-gap: clamp(28px, 3.5vw, 56px);
	}
	.footer-brand { grid-column: auto; }
	.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.trustbar__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.hero__inner { grid-template-columns: 1.05fr .95fr; }
	.why { grid-template-columns: .95fr 1.05fr; }
	.split { grid-template-columns: 1fr 1fr; }
	.split--reverse .split__media { order: 2; }
	.ficha { grid-template-columns: minmax(0, 380px) 1fr; }
	.ficha__media { border-bottom: 0; border-right: 1px solid var(--line); }
	.contacto { grid-template-columns: minmax(0, 360px) 1fr; }
	.cta-band__inner { grid-template-columns: 1.4fr auto; }
	.section__head--split { grid-template-columns: 1.1fr 1fr; }
	.cta-band__actions { justify-content: flex-end; }
}

@media (min-width: 1024px) {
	.site-nav { display: flex; align-items: center; }
	.nav-toggle { display: none; }
	.steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.mobile-bar { display: none; }
	body { padding-bottom: 0; }
	.wa-float { bottom: 28px; right: 28px; }
}

@media (max-width: 1023px) {
	.topbar__claim { display: none; }
	.topbar__inner { justify-content: center; }
	.topbar__links { gap: 18px; }
}

@media (max-width: 599px) {
	body { font-size: 16px; }
	.hero__stats { grid-template-columns: 1fr; gap: 16px; }
	.hero__actions .btn { width: 100%; }
	.footer-bottom { justify-content: center; text-align: center; }
	/* En pantallas estrechas la marca se queda solo con el nombre. */
	.site-header .brand__tag { display: none; }
	.site-header .brand__name { font-size: 1.45rem; }
}

/* ---------- 27. 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;
		scroll-behavior: auto !important;
	}
	.js .reveal { opacity: 1; transform: none; }
}

/* ---------- 28. Impresión ---------- */
@media print {
	.topbar, .site-header, .wa-float, .mobile-bar, .cta-band, .site-footer { display: none !important; }
	body { background: #fff; color: #000; padding: 0; }
	.section { padding-block: 20px; }
}
