/* =========================================================
   Procex Software — Propuesta 2 "Pulso"
   Claro y luminoso, verde de la marca (logo), formas orgánicas.
   Mobile first.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
	/* Fondos claros */
	--white: #FFFFFF;
	--mist: #F2F7F4;
	--line: #DCE7E1;

	/* Verde casi negro (títulos y bloques oscuros) */
	--ink: #0A2620;
	--ink-900: #06201A;
	--ink-700: #144136;

	/* Texto */
	--text: #3C5550;
	--muted: #5E736E;

	/* Acentos: el verde del logo llevado a una paleta moderna */
	--leaf: #1F9D5A;
	--leaf-700: #137A41;
	--lime: #C6F06A;
	--mint: #5BD39B;
	--mint-100: #DDF6E8;
	--sky: #7DD3FC;
	--coral: #F0614F;
	/* Rojo tomado de los trazos del logo (línea de pulso) */
	--brand-red: #A32B30;
	--whatsapp: #15803D;
	--grad: linear-gradient(100deg, var(--lime) 0%, var(--mint) 100%);

	/* Sobre fondo oscuro */
	--on-dark: #EAF5EF;
	--on-dark-muted: #A5C2B8;
	--line-dark: rgba(198, 240, 106, .16);

	/* Tipografía */
	--font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;

	/* Layout */
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--radius: 20px;
	--radius-lg: 28px;
	--radius-xl: 40px;
	--ease: cubic-bezier(.2, .7, .2, 1);
	--shadow-sm: 0 1px 2px rgba(10, 38, 32, .06);
	--shadow: 0 24px 48px -28px rgba(10, 38, 32, .35);
	--shadow-lg: 0 40px 80px -40px rgba(10, 38, 32, .45);

	/* Patrón de cruces (+): guiño a salud y a los planos técnicos */
	--plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28'%3E%3Cpath d='M14 10v8M10 14h8' stroke='%230A2620' stroke-opacity='.09' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
	/* Forma orgánica base de las fotos */
	--blob: 62% 38% 55% 45% / 48% 58% 42% 52%;
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 110px;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

body.no-scroll {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
}

h1,
h2,
h3 {
	color: var(--ink);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.08;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

:focus-visible {
	outline: 2px solid var(--leaf-700);
	outline-offset: 3px;
	border-radius: 8px;
}

.island :focus-visible,
.foot :focus-visible {
	outline-color: var(--lime);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 12px;
	z-index: 100;
	padding: .6rem 1rem;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-weight: 600;
}

.skip-link:focus {
	left: 12px;
}

/* ---------- 3. Piezas tipográficas ---------- */
.kicker {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 1rem;
	font: 500 .75rem/1 var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--leaf-700);
}

.kicker::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--leaf);
	box-shadow: 0 0 0 4px rgba(31, 157, 90, .18);
}

.island .kicker {
	color: var(--lime);
}

.island .kicker::before {
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(198, 240, 106, .18);
}

.title {
	margin: 0;
	font-size: clamp(2rem, 4.4vw, 3.3rem);
	text-wrap: balance;
}

.island .title {
	color: #fff;
}

/* Palabra resaltada con "marcador" lima */
mark {
	padding: 0 .1em;
	margin: 0 -.04em;
	border-radius: .15em;
	background: linear-gradient(transparent 60%, var(--lime) 60%, var(--lime) 92%, transparent 92%);
	color: inherit;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}

.island mark {
	background: none;
	color: var(--lime);
}

/* ---------- 4. Botones ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .65rem;
	min-height: 48px;
	padding: .4rem 1.35rem;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 .95rem/1 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--sm {
	min-height: 44px;
	padding: .3rem 1.1rem;
	font-size: .88rem;
}

.btn--lg {
	min-height: 56px;
	font-size: 1rem;
}

/* Botón con círculo de flecha a la derecha */
.btn--arrow {
	padding-right: .45rem;
}

.btn__arrow {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--lime);
	color: var(--ink);
	transition: transform .3s var(--ease);
}

.btn--lg .btn__arrow {
	width: 44px;
	height: 44px;
}

.btn:hover .btn__arrow {
	transform: rotate(45deg);
}

.btn--dark {
	background: var(--ink);
	color: #fff;
	box-shadow: 0 14px 30px -16px rgba(10, 38, 32, .7);
}

.btn--dark:hover {
	background: var(--ink-700);
}

.btn--lime {
	background: var(--grad);
	color: var(--ink);
	box-shadow: 0 14px 30px -16px rgba(91, 211, 155, .9);
}

.btn--lime .btn__arrow {
	background: var(--ink);
	color: var(--lime);
}

.btn--ghost {
	border-color: var(--line);
	background: #fff;
	color: var(--ink);
}

.btn--ghost:hover {
	border-color: var(--ink);
}

/* Contorno oscuro sobre fondos de color */
.btn--ink-ghost {
	border-color: rgba(10, 38, 32, .25);
	background: rgba(255, 255, 255, .25);
	color: var(--ink);
}

.btn--ink-ghost:hover {
	border-color: var(--ink);
	background: rgba(255, 255, 255, .5);
}

.btn--block {
	width: 100%;
	justify-content: space-between;
}

/* ---------- 5. Navegación flotante (píldora) ---------- */
.nav {
	position: fixed;
	top: 12px;
	left: 0;
	right: 0;
	z-index: 50;
	padding-inline: var(--gutter);
	pointer-events: none;
}

.nav__pill {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	max-width: var(--container);
	height: 64px;
	margin: 0 auto;
	padding: 0 .5rem 0 1.25rem;
	border: 1px solid rgba(10, 38, 32, .08);
	border-radius: 999px;
	background: rgba(255, 255, 255, .8);
	backdrop-filter: blur(16px) saturate(170%);
	-webkit-backdrop-filter: blur(16px) saturate(170%);
	box-shadow: 0 12px 32px -20px rgba(10, 38, 32, .4);
	pointer-events: auto;
	transition: box-shadow .3s, background-color .3s;
}

.nav.is-scrolled .nav__pill {
	background: rgba(255, 255, 255, .95);
	box-shadow: 0 18px 40px -22px rgba(10, 38, 32, .55);
}

/* Logo nuevo de SIGIRES: ícono animado (WebP) + nombre al lado, sobre la píldora blanca.
   Las imágenes se escalan en proporción, nunca se deforman. */
.nav__brand {
	display: flex;
	flex: none;
	align-items: center;
	gap: .65rem;
}

.nav__mark img {
	display: block;
	width: 50px;
	height: auto;
}

.nav__name {
	display: block;
	width: 150px;
	height: auto;
}

.nav__menu ul {
	display: flex;
	gap: .15rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__menu a {
	display: block;
	padding: .55rem .9rem;
	border-radius: 999px;
	font-size: .92rem;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	transition: background-color .2s, color .2s;
}

.nav__menu a:hover {
	background: var(--mist);
	color: var(--ink);
}

.nav__menu a[aria-current] {
	background: var(--ink);
	color: #fff;
}

.nav__end {
	display: flex;
	align-items: center;
	gap: .4rem;
}

.nav__toggle {
	position: relative;
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--mist);
	cursor: pointer;
}

.nav__toggle span {
	position: absolute;
	left: 13px;
	right: 13px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform .3s var(--ease), top .3s var(--ease);
}

.nav__toggle span:first-child {
	top: 17px;
}

.nav__toggle span:last-child {
	top: 25px;
}

.nav.is-open .nav__toggle span:first-child {
	top: 21px;
	transform: rotate(45deg);
}

.nav.is-open .nav__toggle span:last-child {
	top: 21px;
	transform: rotate(-45deg);
}

@media (max-width: 1023.98px) {
	.nav__toggle {
		display: block;
	}

	/* El menú baja como una tarjeta debajo de la píldora */
	.nav__menu {
		position: absolute;
		top: calc(100% + 10px);
		left: 0;
		right: 0;
		padding: .6rem;
		border: 1px solid rgba(10, 38, 32, .08);
		border-radius: 28px;
		background: #fff;
		box-shadow: var(--shadow-lg);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
	}

	.nav.is-open .nav__menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity .25s, transform .25s var(--ease);
	}

	.nav__menu ul {
		flex-direction: column;
	}

	.nav__menu a {
		padding: .95rem 1.1rem;
		border-radius: 18px;
		font-size: 1.08rem;
		font-weight: 600;
	}
}

@media (max-width: 560px) {
	.nav__pill {
		height: 60px;
		padding-left: 1rem;
	}

	.nav__brand {
		gap: .5rem;
	}

	.nav__mark img {
		width: 42px;
	}

	.nav__name {
		width: 122px;
	}

	.nav__sigires {
		width: 44px;
		padding: 0;
	}

	.nav__sigires span {
		display: none;
	}
}

/* ---------- 6. Panel lateral "Ingresar SIGIRES" ---------- */
.drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(440px, 100%);
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	margin: 0 0 0 auto;
	padding: 0;
	border: 0;
	border-radius: 28px 0 0 28px;
	background: #fff;
	color: var(--text);
	box-shadow: -30px 0 60px -30px rgba(10, 38, 32, .5);
}

.drawer::backdrop {
	background: rgba(6, 32, 26, .45);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
}

.drawer[open] {
	animation: drawer-in .4s var(--ease);
}

.drawer__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 1.5rem;
}

.drawer__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.drawer__head .kicker {
	margin-bottom: .6rem;
}

.drawer__head h2 {
	margin: 0;
	font-size: 1.7rem;
}

.drawer__close {
	flex: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--mist);
	color: var(--ink);
	font-size: 1rem;
	cursor: pointer;
	transition: background-color .2s;
}

.drawer__close:hover {
	background: var(--line);
}

.drawer__list {
	flex: 1;
	display: grid;
	align-content: start;
	gap: .5rem;
	margin: 1rem -.5rem 0;
	padding: 0 .5rem .5rem;
	overflow-y: auto;
	list-style: none;
}

.drawer__item[hidden] {
	display: none;
}

.drawer__item a {
	display: flex;
	align-items: center;
	gap: .9rem;
	padding: .55rem .6rem;
	border: 1px solid var(--line);
	border-radius: 18px;
	color: var(--ink);
	text-decoration: none;
	transition: border-color .2s, background-color .2s;
}

.drawer__item a:hover {
	border-color: var(--leaf);
	background: var(--mist);
}

.drawer__logo {
	display: grid;
	flex: none;
	place-items: center;
	width: 68px;
	height: 46px;
	border-radius: 12px;
	background: var(--mist);
}

.drawer__logo img {
	max-width: 54px;
	max-height: 30px;
	object-fit: contain;
}

.drawer__name {
	flex: 1;
	min-width: 0;
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.25;
}

.drawer__name small {
	display: block;
	margin-top: .15rem;
	font: 500 .7rem/1.3 var(--mono);
	color: var(--muted);
	overflow-wrap: anywhere;
}

.drawer__go {
	display: grid;
	flex: none;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--lime);
	transition: transform .3s var(--ease);
}

.drawer__item a:hover .drawer__go {
	transform: rotate(45deg);
}

.drawer__empty {
	margin: 1rem 0 0;
	padding: 1.25rem;
	border: 1px dashed var(--line);
	border-radius: 18px;
	text-align: center;
	color: var(--muted);
}

.drawer__empty[hidden] {
	display: none;
}

.drawer__foot {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--line);
	font-size: .9rem;
	font-weight: 600;
}

.drawer__foot a {
	display: inline-flex;
	align-items: center;
	gap: .4rem;
	color: var(--leaf-700);
	text-decoration: none;
}

.drawer__foot a:hover {
	text-decoration: underline;
}

@media (max-width: 480px) {
	.drawer {
		border-radius: 0;
	}
}

/* ---------- 7. Buscador ---------- */
.search {
	display: flex;
	align-items: center;
	gap: .75rem;
	max-width: 32rem;
	height: 60px;
	padding: 0 .5rem 0 1.2rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	box-shadow: var(--shadow);
	transition: border-color .2s, box-shadow .2s;
}

.search:focus-within {
	border-color: var(--leaf);
	box-shadow: 0 0 0 4px rgba(31, 157, 90, .15), var(--shadow);
}

.search>i {
	color: var(--leaf-700);
}

.search input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: none;
	font: 500 1rem/1.2 var(--font);
	color: var(--ink);
	outline: none;
}

.search input::placeholder {
	color: var(--muted);
}

.search__count {
	flex: none;
	padding: .55rem .9rem;
	border-radius: 999px;
	background: var(--mint-100);
	font: 500 .75rem/1 var(--mono);
	color: var(--leaf-700);
	white-space: nowrap;
}

.search--sm {
	height: 52px;
	max-width: none;
	padding-right: 1rem;
	box-shadow: none;
}

/* ---------- 8. Línea de pulso (electrocardiograma) ---------- */
.ecg {
	width: 100%;
	height: 120px;
	overflow: visible;
}

.ecg path {
	fill: none;
	vector-effect: non-scaling-stroke;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Línea de pulso en el rojo del logo: trazo base suave + tramo que recorre la línea */
.ecg__base {
	stroke: rgba(163, 43, 48, .3);
	stroke-width: 1.5;
}

.ecg__pulse {
	stroke: var(--brand-red);
	stroke-width: 2.5;
	stroke-dasharray: 90 910;
	stroke-dashoffset: 1000;
	filter: drop-shadow(0 0 6px rgba(163, 43, 48, .55));
	animation: ecg 5s linear infinite;
}

/* ---------- 9. Hero (Inicio) ---------- */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding-top: calc(96px + clamp(24px, 5vw, 56px));
	background:
		radial-gradient(55% 60% at 88% 6%, rgba(198, 240, 106, .55), transparent 62%),
		radial-gradient(45% 50% at 4% 24%, rgba(91, 211, 155, .28), transparent 60%),
		radial-gradient(40% 45% at 55% 100%, rgba(125, 211, 252, .22), transparent 60%),
		var(--white);
}

.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.hero__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--plus) 0 0 / 28px 28px;
	-webkit-mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(70% 60% at 30% 40%, #000 20%, transparent 75%);
}

.hero__bg .ecg {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 210px;
}

.hero__inner {
	display: grid;
	gap: clamp(40px, 6vw, 64px);
	align-items: center;
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	margin: 0 0 1.5rem;
	padding: .45rem .95rem .45rem .6rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
	font: 500 .78rem/1.3 var(--mono);
	color: var(--ink);
}

.chip__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--coral);
	animation: ping-coral 2s var(--ease) infinite;
}

/* Mismo mensaje del banner: INNOVACIÓN / SOFTWARE PARA EL SECTOR SALUD */
.hero__title {
	margin: 0 0 1.4rem;
}

.hero__title>span {
	display: block;
}

.hero__title .hero__big {
	font-size: clamp(3.1rem, 9vw, 6.4rem);
	line-height: .95;
	letter-spacing: -.06em;
}

.hero__title .hero__sub {
	margin-top: .9rem;
	font-size: clamp(1.45rem, 3.3vw, 2.6rem);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -.035em;
	text-wrap: balance;
}

.hero__lead {
	max-width: 30rem;
	margin: 0 0 2.25rem;
	font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

/* Visual: foto orgánica + tarjeta de acceso SIGIRES + adornos */
.hero__visual {
	position: relative;
	display: grid;
}

.hero__photo {
	width: 100%;
	/* sin esto el navegador usa el alto del atributo height="933" y la foto se estira */
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: 62% 35%;
	border-radius: var(--blob);
	box-shadow: var(--shadow-lg);
	animation: morph 16s ease-in-out infinite alternate;
}

.hero__visual .seal {
	position: absolute;
	top: -12px;
	left: -4px;
	width: 96px;
	height: 96px;
}

/* Tarjeta de acceso (login) */
.login-card {
	position: relative;
	width: calc(100% - 24px);
	margin: -72px auto 0;
	padding: 1.35rem;
	border: 1px solid rgba(10, 38, 32, .08);
	border-radius: 28px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: var(--shadow-lg);
}

.login-card__head {
	display: flex;
	align-items: center;
	gap: .8rem;
	margin-bottom: 1.2rem;
}

.login-card__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--lime);
	font-size: 1.2rem;
}

.login-card__head strong {
	display: block;
	font-size: 1.08rem;
	letter-spacing: -.015em;
	color: var(--ink);
}

.login-card__head span {
	font: 500 .72rem/1.2 var(--mono);
	color: var(--muted);
}

.live {
	flex: none;
	width: 10px;
	height: 10px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--leaf);
	animation: ping-leaf 2s var(--ease) infinite;
}

.field {
	display: block;
	margin-bottom: 1rem;
}

.field__label {
	display: block;
	margin-bottom: .45rem;
	font: 500 .72rem/1 var(--mono);
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--muted);
}

.field__control {
	position: relative;
	display: flex;
	align-items: center;
	gap: .6rem;
	height: 56px;
	padding: 0 1rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}

.field__control:focus-within {
	border-color: var(--leaf);
	box-shadow: 0 0 0 4px rgba(31, 157, 90, .15);
}

.field__control select {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	background: none;
	font: 500 1rem/1.2 var(--font);
	color: var(--ink);
	appearance: none;
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
}

.field__control .bi-chevron-down {
	color: var(--muted);
	pointer-events: none;
}

.field__logo {
	flex: none;
	width: auto;
	max-width: 70px;
	height: 26px;
	object-fit: contain;
}

.field__logo[hidden] {
	display: none;
}

.login-card.is-error .field__control {
	border-color: var(--coral);
	animation: shake .4s var(--ease);
}

.login-card__help {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .45rem;
	margin-top: .9rem;
	font-size: .82rem;
	color: var(--muted);
	text-decoration: none;
}

.login-card__help:hover {
	color: var(--leaf-700);
}

@media (min-width: 640px) {
	.login-card {
		width: min(380px, 82%);
		margin: -120px 0 0 auto;
	}
}

@media (min-width: 1024px) {
	.hero__inner {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	}

	.hero__visual {
		display: block;
		min-height: 560px;
	}

	.hero__photo {
		position: absolute;
		top: 0;
		left: 0;
		width: 80%;
		aspect-ratio: 1 / 1.02;
		/* Encuadre para que se vean las dos caras en el recorte casi cuadrado */
		object-position: 92% 30%;
	}

	.hero__visual .seal {
		top: auto;
		left: -22px;
		bottom: 26%;
		width: 112px;
		height: 112px;
	}

	.login-card {
		position: absolute;
		right: 0;
		bottom: 0;
		width: min(370px, 74%);
		margin: 0;
	}
}

/* Sello circular con texto que gira */
.seal {
	position: relative;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	box-shadow: var(--shadow);
}

.seal svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	animation: spin 24s linear infinite;
}

.seal text {
	font: 600 9px var(--mono);
	letter-spacing: .1em;
	fill: var(--ink);
}

.seal__core {
	position: relative;
	display: grid;
	place-items: center;
	width: 46%;
	height: 46%;
	border-radius: 50%;
	background: var(--ink);
	font-size: 1.3rem;
	color: var(--lime);
}

/* Franja de logos (en gris; se colorean al pasar el mouse) */
.hero__trust {
	margin-top: clamp(56px, 8vw, 88px);
	padding: 1.5rem 0 1.75rem;
	border-top: 1px solid var(--line);
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.hero__trust-label {
	margin: 0 0 1.25rem;
	padding-inline: var(--gutter);
	text-align: center;
	font: 500 .72rem/1.4 var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--muted);
}

.hero__trust-label a {
	margin-left: .8rem;
	color: var(--leaf-700);
	text-decoration: none;
	white-space: nowrap;
	border-bottom: 1px solid currentColor;
}

.marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
	display: flex;
	align-items: center;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
	animation: marquee 45s linear infinite;
}

.marquee:hover .marquee__track {
	animation-play-state: paused;
}

.marquee__track li {
	flex: none;
	padding-inline: clamp(22px, 3vw, 38px);
}

.marquee__track img {
	width: auto;
	height: 34px;
	max-width: 150px;
	object-fit: contain;
	filter: grayscale(1);
	opacity: .55;
	transition: filter .3s, opacity .3s;
}

.marquee__track img.is-tall {
	height: 46px;
}

.marquee__track li:hover img {
	filter: none;
	opacity: 1;
}

/* ---------- 10. Secciones e "islas" oscuras ---------- */
.section {
	position: relative;
	padding-block: clamp(72px, 10vw, 128px);
	overflow-x: clip;
}

.section--tight {
	padding-block: clamp(24px, 4vw, 48px);
}

.section--mist {
	background: var(--plus) 0 0 / 28px 28px, var(--mist);
}

.head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem 2rem;
	margin-bottom: clamp(36px, 5vw, 56px);
}

/* Isla: bloque oscuro redondeado con ondas de pulso concéntricas */
.island {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--radius-xl);
	background:
		repeating-radial-gradient(circle at 92% 8%, transparent 0 28px, rgba(198, 240, 106, .07) 28px 29px),
		radial-gradient(60% 70% at 100% 0%, rgba(91, 211, 155, .22), transparent 60%),
		var(--ink-900);
	color: var(--on-dark-muted);
}

.island h2,
.island h3 {
	color: #fff;
}

/* ---------- 11. Inicio: lista editorial de servicios ---------- */
.rows {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--line);
}

.row {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: .6rem 1.25rem;
	align-items: center;
	padding: 1.5rem 1rem;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	transition: background-color .35s var(--ease), color .35s, border-radius .35s;
}

.row__num {
	grid-column: 1;
	grid-row: 1;
	font: 500 .8rem/1 var(--mono);
	color: var(--muted);
	transition: color .35s;
}

.row__title {
	grid-column: 2;
	grid-row: 1;
	font-size: clamp(1.35rem, 2.6vw, 2rem);
	font-weight: 800;
	letter-spacing: -.035em;
	line-height: 1.15;
}

.row__items {
	grid-column: 2;
	grid-row: 2;
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
}

.row__items span {
	padding: .3rem .7rem;
	border-radius: 999px;
	background: var(--mist);
	font-size: .82rem;
	color: var(--text);
	transition: background-color .35s, color .35s;
}

.row__go {
	grid-column: 3;
	grid-row: 1 / span 2;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: transform .35s var(--ease), background-color .35s, border-color .35s, color .35s;
}

.row:hover {
	border-radius: 24px;
	background: var(--ink);
	color: #fff;
}

.row:hover .row__num {
	color: var(--lime);
}

.row:hover .row__items span {
	background: rgba(255, 255, 255, .08);
	color: var(--on-dark);
}

.row:hover .row__go {
	border-color: var(--lime);
	background: var(--lime);
	color: var(--ink);
	transform: rotate(45deg);
}

@media (min-width: 900px) {
	.row {
		grid-template-columns: 64px minmax(0, .8fr) minmax(0, 1.5fr) auto;
		padding: 2rem 1.25rem;
	}

	.row__num,
	.row__title,
	.row__items,
	.row__go {
		grid-column: auto;
		grid-row: auto;
	}
}

/* ---------- 12. Bloque dividido (foto + texto) ---------- */
.split {
	display: grid;
	gap: clamp(32px, 5vw, 56px);
	align-items: center;
}

.split__media {
	position: relative;
	max-width: 460px;
	width: 100%;
	margin-inline: auto;
}

.split__text p {
	max-width: 34rem;
	margin: 1.1rem 0 1.5rem;
	font-size: 1.08rem;
}

.blob-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: var(--blob);
	animation: morph 16s ease-in-out infinite alternate;
}

.year-pill {
	position: absolute;
	right: 4%;
	bottom: 8%;
	display: grid;
	gap: .1rem;
	padding: .8rem 1.1rem;
	border-radius: 20px;
	background: var(--grad);
	color: var(--ink);
	box-shadow: var(--shadow);
	font: 500 .68rem/1.1 var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	animation: float 7s ease-in-out infinite;
}

.year-pill strong {
	font: 800 1.9rem/1 var(--font);
	letter-spacing: -.04em;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.chips li {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	padding: .5rem .9rem;
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	font-size: .88rem;
	font-weight: 500;
	color: var(--on-dark);
}

.chips i {
	color: var(--lime);
}

@media (min-width: 960px) {
	.split {
		grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	}
}

/* ---------- 14. Encabezado de páginas internas ---------- */
.phead {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: calc(96px + clamp(40px, 7vw, 80px)) 0 clamp(56px, 8vw, 96px);
	background:
		radial-gradient(50% 70% at 92% 0%, rgba(198, 240, 106, .5), transparent 62%),
		radial-gradient(40% 60% at 0% 30%, rgba(91, 211, 155, .25), transparent 60%),
		var(--white);
}

.phead__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

.phead__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--plus) 0 0 / 28px 28px;
	-webkit-mask-image: radial-gradient(60% 70% at 20% 40%, #000 20%, transparent 75%);
	mask-image: radial-gradient(60% 70% at 20% 40%, #000 20%, transparent 75%);
}

.phead__bg .ecg {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	height: 90px;
	opacity: .8;
}

.phead__inner {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.crumbs {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	margin-bottom: 1.25rem;
	padding: .45rem .9rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, .75);
	font: 500 .75rem/1 var(--mono);
	color: var(--muted);
}

.crumbs a {
	color: var(--leaf-700);
	text-decoration: none;
}

.crumbs a:hover {
	text-decoration: underline;
}

.crumbs i {
	font-size: .65rem;
}

.phead__title {
	margin: 0 0 1.2rem;
	font-size: clamp(2.6rem, 7vw, 5rem);
	line-height: 1;
	letter-spacing: -.05em;
	text-wrap: balance;
}

.phead__lead {
	max-width: 38rem;
	margin: 0;
	font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

.phead .chip {
	margin: 0 0 1.25rem;
}

.phead .search {
	margin-top: .25rem;
}

/* Orbe: ícono de la página con ondas tipo sonar */
.orb {
	position: relative;
	display: none;
	place-items: center;
	width: 240px;
	height: 240px;
	margin-left: auto;
}

.orb__core {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 116px;
	height: 116px;
	border-radius: 34px;
	background: var(--ink);
	font-size: 2.8rem;
	color: var(--lime);
	box-shadow: 0 24px 48px -20px rgba(10, 38, 32, .6);
	rotate: -8deg;
	animation: float 7s ease-in-out infinite;
}

.sonar {
	position: absolute;
	inset: 0;
	border: 1.5px solid rgba(31, 157, 90, .4);
	border-radius: 50%;
	animation: sonar 3.2s var(--ease) infinite;
}

.sonar--2 {
	animation-delay: 1.6s;
}

@media (min-width: 900px) {
	.phead__inner {
		grid-template-columns: minmax(0, 1fr) 260px;
	}

	.orb {
		display: grid;
	}
}

/* ---------- 15. Servicios: filas tipo bento ---------- */
.svc-row {
	display: grid;
	gap: 1rem;
}

.svc-row+.svc-row {
	margin-top: 1rem;
}

.svc-group {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.6rem;
	border-radius: var(--radius-lg);
	background:
		repeating-radial-gradient(circle at 100% 0%, transparent 0 22px, rgba(198, 240, 106, .08) 22px 23px),
		var(--ink-900);
	color: var(--on-dark-muted);
}

.svc-group__num {
	font: 500 .8rem/1 var(--mono);
	color: var(--lime);
}

.svc-group h2 {
	margin: 0;
	font-size: clamp(1.4rem, 2.4vw, 1.75rem);
	color: #fff;
}

.svc {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.1rem 1.25rem;
	border: 2px solid transparent;
	border-radius: var(--radius-lg);
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(var(--line), var(--line)) border-box;
	transition: background .35s, box-shadow .35s;
}

.svc__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--mint-100);
	font-size: 1.4rem;
	color: var(--leaf-700);
	transition: background .35s, color .35s, rotate .35s var(--ease);
}

.svc h3 {
	margin: 0;
	font-size: 1.08rem;
	line-height: 1.3;
	letter-spacing: -.02em;
	text-wrap: balance;
}

/* Borde degradado lima→menta al pasar el mouse */
.svc:hover {
	background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
	box-shadow: var(--shadow);
}

.svc:hover .svc__icon {
	background: var(--grad);
	color: var(--ink);
	rotate: -8deg;
}

@media (min-width: 640px) {
	.svc-row {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.svc-group {
		grid-column: 1 / -1;
	}

	.svc {
		flex-direction: column;
		align-items: flex-start;
		justify-content: space-between;
		gap: 2.5rem;
		min-height: 220px;
		padding: 1.5rem;
	}

	.svc h3 {
		font-size: 1.18rem;
	}
}

@media (min-width: 1024px) {
	.svc-row {
		grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(0, 1fr));
	}

	.svc-group {
		grid-column: auto;
		min-height: 230px;
	}
}

/* Lo que podemos desarrollar: flujo + capturas reales */
.showcase {
	display: grid;
	gap: clamp(36px, 5vw, 56px);
	align-items: center;
}

.showcase__text p {
	max-width: 34rem;
	margin: 1.1rem 0 1.75rem;
	font-size: 1.05rem;
}

.flow {
	display: grid;
	gap: .6rem;
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.flow li {
	position: relative;
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: .65rem .9rem .65rem .65rem;
	border: 1px solid var(--line-dark);
	border-radius: 16px;
	background: rgba(255, 255, 255, .04);
	font-weight: 600;
	color: #fff;
	transition: border-color .3s, background-color .3s;
}

.flow li:hover {
	border-color: var(--lime);
	background: rgba(198, 240, 106, .08);
}

.flow__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: rgba(198, 240, 106, .12);
	font-size: 1.05rem;
	color: var(--lime);
}

.flow small {
	margin-left: auto;
	font: 500 .7rem/1.2 var(--mono);
	color: var(--on-dark-muted);
	text-align: right;
}

.shot {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85);
	margin: 0;
	transition: transform .4s var(--ease), rotate .4s var(--ease), box-shadow .4s;
}

.shot+.shot {
	margin-top: 1rem;
}

.shot__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: .5rem .75rem;
	background: var(--ink-700);
	font: 500 .7rem/1 var(--mono);
	color: var(--on-dark-muted);
}

.shot__bar i {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25);
}

.shot__bar span {
	margin-left: .4rem;
}

.shot img {
	display: block;
	width: 100%;
	height: auto;
	user-select: none;
	pointer-events: none;
}

/* Al pasar el mouse la ventana se endereza y sobresale (sin ampliar la imagen) */
.shot:hover {
	z-index: 2;
	transform: translateY(-4px) scale(1.03);
	rotate: 0deg;
	box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9);
}

@media (min-width: 1024px) {
	.showcase {
		grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	}

	/* Collage: cuatro ventanas escalonadas que se superponen */
	.showcase__shots {
		position: relative;
		min-height: 640px;
	}

	.shot {
		position: absolute;
		width: 66%;
		margin: 0;
	}

	.shot+.shot {
		margin-top: 0;
	}

	.shot--0 {
		top: 0;
		left: 0;
		width: 64%;
		rotate: -2deg;
	}

	.shot--1 {
		top: 25%;
		right: 0;
		rotate: 2deg;
	}

	.shot--2 {
		top: 53%;
		left: 2%;
		rotate: -1deg;
	}

	.shot--3 {
		bottom: 0;
		right: 1%;
		rotate: 2deg;
	}
}

/* Servicios de apoyo: nube de píldoras en una isla */
.support2 {
	display: grid;
	gap: 2rem;
	align-items: center;
}

.cloud {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.cloud li {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .7rem 1.2rem .7rem .7rem;
	border: 1px solid var(--line-dark);
	border-radius: 999px;
	background: rgba(255, 255, 255, .04);
	font-size: 1rem;
	font-weight: 600;
	color: #fff;
	transition: border-color .3s, background-color .3s;
}

.cloud i {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(198, 240, 106, .12);
	font-size: 1.05rem;
	color: var(--lime);
	transition: background .3s, color .3s;
}

.cloud li:hover {
	border-color: var(--lime);
	background: rgba(198, 240, 106, .08);
}

.cloud li:hover i {
	background: var(--grad);
	color: var(--ink);
}

@media (min-width: 1024px) {
	.support2 {
		grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
	}
}

/* ---------- 16. Clientes: tarjetas de acceso ---------- */
.eps-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.eps[hidden] {
	display: none;
}

.eps-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 26px;
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	box-shadow: var(--shadow-sm);
	transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.eps-card:hover {
	transform: translateY(-6px);
	border-color: var(--leaf);
	box-shadow: var(--shadow);
}

.eps-card__logo {
	display: grid;
	place-items: center;
	height: 120px;
	padding: 1rem;
	background: var(--plus) 0 0 / 28px 28px, var(--mist);
}

.eps-card__logo img {
	max-width: 82%;
	max-height: 56px;
	object-fit: contain;
	transition: transform .4s var(--ease);
}

.eps-card__logo img.is-tall {
	max-height: 72px;
}

.eps-card:hover .eps-card__logo img {
	transform: scale(1.07);
}

.eps-card__body {
	display: flex;
	flex-direction: column;
	gap: .2rem;
	padding: 1rem 1.1rem 1.1rem;
}

.eps-card__name {
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -.015em;
	line-height: 1.3;
}

.eps-card__url {
	font: 500 .72rem/1.4 var(--mono);
	color: var(--muted);
	overflow-wrap: anywhere;
}

.eps-card__cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: .5rem;
	margin: auto 1.1rem 1.1rem;
	padding: .35rem .35rem .35rem .95rem;
	border-radius: 999px;
	background: var(--mist);
	font-size: .85rem;
	font-weight: 600;
	transition: background .35s;
}

.eps-card__cta i {
	display: grid;
	flex: none;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ink);
	color: var(--lime);
	transition: transform .3s var(--ease);
}

.eps-card:hover .eps-card__cta {
	background: var(--grad);
}

.eps-card:hover .eps-card__cta i {
	transform: rotate(45deg);
}

/* Tarjeta de soporte */
.eps--help .eps-card {
	border-color: transparent;
	background:
		repeating-radial-gradient(circle at 100% 0%, transparent 0 22px, rgba(198, 240, 106, .08) 22px 23px),
		var(--ink-900);
	color: #fff;
}

.eps--help .eps-card__logo {
	background: rgba(255, 255, 255, .05);
	font-size: 2.3rem;
	color: var(--lime);
}

.eps--help .eps-card__url {
	color: var(--on-dark-muted);
}

.eps--help .eps-card__cta {
	background: var(--whatsapp);
	color: #fff;
}

.eps--help .eps-card__cta i {
	background: #fff;
	color: var(--whatsapp);
}

.eps--help .eps-card:hover .eps-card__cta {
	background: var(--whatsapp);
}

.eps-empty {
	margin: 2rem 0 0;
	padding: 2rem;
	border: 1px dashed var(--line);
	border-radius: 22px;
	text-align: center;
	color: var(--muted);
}

.eps-empty[hidden] {
	display: none;
}

@media (min-width: 768px) {
	.eps-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (min-width: 1080px) {
	.eps-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.eps-card__logo {
		height: 92px;
	}

	.eps:not(.eps--help) .eps-card__url {
		display: none;
	}

	.eps-card__body {
		padding: .85rem .85rem .9rem;
	}

	.eps-card__cta {
		margin: auto .75rem .8rem;
		padding-left: .75rem;
		font-size: .74rem;
	}

	.eps-card__cta i {
		width: 26px;
		height: 26px;
		font-size: .75rem;
	}

	.search__count {
		display: none;
	}
}

/* ---------- 17. Nosotros ---------- */
.story {
	display: grid;
	gap: clamp(48px, 7vw, 88px);
	align-items: center;
}

.story__text p {
	margin: 1.1rem 0 0;
	font-size: 1.05rem;
}

.story__text .title {
	margin-bottom: .4rem;
}

.story__media {
	position: relative;
	max-width: 520px;
	width: 100%;
	margin-inline: auto;
	padding-bottom: 12%;
}

.story__small {
	position: absolute;
	right: -2%;
	bottom: 0;
	width: 42%;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: 30% 30%;
	border: 8px solid #fff;
	border-radius: 50%;
	box-shadow: var(--shadow);
}

.story__media .seal {
	position: absolute;
	top: 2%;
	left: -2%;
	width: 108px;
	height: 108px;
}

/* Cifras */
.stats2 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	margin: 2.25rem 0 0;
	padding: 1.4rem;
	border-radius: 24px;
	background: var(--plus) 0 0 / 28px 28px, var(--mist);
}

.stat2 {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: .4rem;
}

.stat2 dd {
	margin: 0;
	font-size: clamp(1.6rem, 3.4vw, 2.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.045em;
	color: var(--ink);
}

.stat2 dt {
	font-size: .8rem;
	line-height: 1.35;
	color: var(--muted);
}

@media (min-width: 960px) {
	.story {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	}
}

@media (max-width: 480px) {
	.stats2 {
		padding: 1.1rem;
	}

	.stat2 dt {
		font-size: .72rem;
	}

	.story__media .seal {
		width: 88px;
		height: 88px;
	}
}

/* Misión, visión, propuesta */
.mv2 {
	display: grid;
	gap: 1rem;
}

.mv2__card {
	position: relative;
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--line-dark);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, .03);
}

.mv2__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.mv2__icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: var(--grad);
	font-size: 1.5rem;
	color: var(--ink);
}

.mv2__card h2 {
	margin: 0 0 .75rem;
	font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.mv2__card p {
	margin: 0;
}

.mv2__card strong {
	color: var(--lime);
}

.mv2__wide {
	display: grid;
	gap: 1.5rem;
	align-items: center;
}

.mv2__wide h2 {
	margin-bottom: .5rem;
}

.mv2__wide .btn {
	justify-self: start;
}

/* Anillo de avance 2012 → 2028 */
.ring {
	position: relative;
	flex: none;
	width: 96px;
	height: 96px;
}

.ring svg {
	width: 100%;
	height: 100%;
	rotate: -90deg;
}

.ring circle {
	fill: none;
	stroke-width: 8;
}

.ring__track {
	stroke: rgba(198, 240, 106, .14);
}

.ring__bar {
	stroke: var(--lime);
	stroke-linecap: round;
	transition: stroke-dashoffset 1.6s var(--ease);
}

.ring__label {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	text-align: center;
	font-size: .95rem;
	font-weight: 700;
	color: #fff;
}

.ring__label small {
	display: block;
	margin-top: .2rem;
	font: 500 .62rem/1 var(--mono);
	color: var(--on-dark-muted);
}

@media (min-width: 900px) {
	.mv2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mv2__wide {
		grid-column: 1 / -1;
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 2rem;
	}
}

/* Valores: bento con foto */
.values2 {
	display: grid;
	gap: 1rem;
}

.values2__photo img {
	width: 100%;
	height: 100%;
	min-height: 300px;
	object-fit: cover;
	object-position: 50% 30%;
	border-radius: var(--radius-lg);
}

.val {
	position: relative;
	overflow: hidden;
	padding: 1.6rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	transition: background .35s, border-color .35s;
}

.val__num {
	position: absolute;
	top: .1rem;
	right: 1rem;
	font-size: 5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.06em;
	color: transparent;
	-webkit-text-stroke: 1.5px var(--line);
	transition: -webkit-text-stroke-color .35s;
}

.val>i {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 1.25rem;
	border-radius: 16px;
	background: var(--mint-100);
	font-size: 1.3rem;
	color: var(--leaf-700);
	transition: background .35s, color .35s;
}

.val h3 {
	position: relative;
	margin: 0 0 .5rem;
	font-size: 1.25rem;
}

.val p {
	position: relative;
	margin: 0;
	font-size: .95rem;
	transition: color .35s;
}

.val:hover {
	border-color: transparent;
	background: var(--grad);
}

.val:hover .val__num {
	-webkit-text-stroke-color: rgba(10, 38, 32, .25);
}

.val:hover>i {
	background: var(--ink);
	color: var(--lime);
}

.val:hover p {
	color: var(--ink);
}

@media (min-width: 768px) {
	.values2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.values2__photo {
		grid-column: 1 / -1;
	}

	.values2__photo img {
		aspect-ratio: 16 / 7;
		min-height: 0;
	}
}

@media (min-width: 1080px) {
	.values2 {
		grid-template-columns: minmax(0, .9fr) repeat(2, minmax(0, 1fr));
	}

	.values2__photo {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	.values2__photo img {
		aspect-ratio: auto;
	}
}

/* ---------- 18. Contacto ---------- */
.cbento {
	display: grid;
	gap: 1rem;
}

.ctile {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: .35rem;
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: #fff;
	color: var(--ink);
	text-decoration: none;
	transition: border-color .3s, box-shadow .3s;
}

a.ctile:hover,
.ctile:hover {
	border-color: var(--leaf);
	box-shadow: var(--shadow);
}

.ctile__icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: .8rem;
	border-radius: 15px;
	background: var(--ink);
	font-size: 1.3rem;
	color: var(--lime);
}

.ctile__label {
	font: 500 .72rem/1.3 var(--mono);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}

.ctile__value {
	display: flex;
	flex-direction: column;
	gap: .1rem;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.ctile__value a {
	text-decoration: none;
}

.ctile__value a:hover {
	color: var(--leaf-700);
	text-decoration: underline;
}

.ctile__go {
	position: absolute;
	top: 1.4rem;
	right: 1.4rem;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: transform .3s var(--ease), background .3s, border-color .3s;
}

a.ctile:hover .ctile__go {
	transform: rotate(45deg);
	border-color: var(--lime);
	background: var(--lime);
}

/* WhatsApp: el canal principal, en verde */
.c-wa {
	border-color: transparent;
	background: radial-gradient(80% 120% at 100% 0%, rgba(198, 240, 106, .35), transparent 60%), var(--whatsapp);
	color: #fff;
}

.c-wa .ctile__icon {
	background: #fff;
	color: var(--whatsapp);
}

.c-wa .ctile__label {
	color: rgba(255, 255, 255, .85);
}

.c-wa .ctile__value {
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.c-wa .ctile__go {
	border-color: rgba(255, 255, 255, .4);
}

a.c-wa:hover {
	border-color: transparent;
}

a.c-wa:hover .ctile__go {
	color: var(--ink);
}

/* Mapa en gris con un velo verde */
.map2 {
	position: relative;
	min-height: 340px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	background: var(--mist);
}

.map2 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
	filter: grayscale(1) contrast(1.05);
}

.map2::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(91, 211, 155, .18);
	mix-blend-mode: multiply;
	pointer-events: none;
}

.map2__link {
	position: absolute;
	right: 1rem;
	bottom: 1rem;
	z-index: 1;
}

.socials2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.scard {
	display: flex;
	align-items: center;
	gap: .8rem;
	padding: 1rem 1.15rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: #fff;
	font-size: 1rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
	transition: background .3s, color .3s, border-color .3s;
}

.scard>i:first-child {
	font-size: 1.25rem;
	color: var(--leaf-700);
	transition: color .3s;
}

.scard__go {
	margin-left: auto;
	color: var(--muted);
	transition: transform .3s var(--ease), color .3s;
}

.scard:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: #fff;
}

.scard:hover>i:first-child,
.scard:hover .scard__go {
	color: var(--lime);
}

.scard:hover .scard__go {
	transform: rotate(45deg);
}

@media (min-width: 768px) {
	.cbento {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.c-wa,
	.c-dir,
	.c-map {
		grid-column: 1 / -1;
	}

	.socials2 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 1080px) {
	.cbento {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.c-wa {
		grid-column: 1 / 3;
		grid-row: 1;
	}

	.c-tel {
		grid-column: 1;
		grid-row: 2;
	}

	.c-mail {
		grid-column: 2;
		grid-row: 2;
	}

	.c-dir {
		grid-column: 1 / 3;
		grid-row: 3;
	}

	.c-map {
		grid-column: 3 / 5;
		grid-row: 1 / 4;
	}
}

/* ---------- 19. Bloque de contacto (lima) ---------- */
.cta2 {
	padding: clamp(56px, 8vw, 96px) 0;
}

.cta2__box {
	position: relative;
	isolation: isolate;
	display: grid;
	gap: 1.75rem;
	align-items: center;
	padding: clamp(32px, 6vw, 64px);
	overflow: hidden;
	border-radius: var(--radius-xl);
	background:
		radial-gradient(60% 90% at 0% 0%, rgba(255, 255, 255, .55), transparent 60%),
		var(--grad);
	color: var(--ink);
}

/* La línea de pulso va pegada al borde inferior: solo asoman los picos */
.cta2__box .ecg {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -44px;
	z-index: -1;
	height: 100px;
	opacity: .7;
}

.cta2__title {
	margin: 0 0 .4rem;
	font-size: clamp(2.4rem, 6vw, 4.4rem);
	line-height: 1;
	letter-spacing: -.05em;
}

.cta2__text p {
	margin: 0;
	font: 500 .9rem/1.5 var(--mono);
}

.cta2__actions {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
}

@media (min-width: 1000px) {
	.cta2__box {
		grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
	}

	.cta2__actions {
		justify-content: flex-end;
	}
}

@media (max-width: 640px) {

	.cta2__actions .btn,
	.hero__ctas .btn {
		flex: 1 1 100%;
		justify-content: space-between;
	}

	.hero__ctas .btn--ghost,
	.cta2__actions .btn--ink-ghost {
		justify-content: center;
	}
}

/* ---------- 20. Pie de página ---------- */
.foot {
	position: relative;
	overflow: hidden;
	padding-top: clamp(56px, 8vw, 88px);
	border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	background:
		repeating-radial-gradient(circle at 50% 120%, transparent 0 34px, rgba(198, 240, 106, .05) 34px 35px),
		var(--ink-900);
	color: var(--on-dark-muted);
	font-size: .95rem;
}

.foot__grid {
	display: grid;
	gap: 2.5rem;
}

/* El logo va en una placa blanca para que se lea su texto original */
.foot__logo {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
	padding: .6rem 1.1rem .6rem .8rem;
	border-radius: 18px;
	background: #fff;
}

.foot__mark {
	width: 50px;
	height: auto;
}

.foot__name {
	width: 150px;
	height: auto;
}

.foot__brand p {
	max-width: 22rem;
	margin: 1.25rem 0 1.5rem;
}

.foot h3 {
	margin: 0 0 1rem;
	font: 500 .72rem/1 var(--mono);
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--lime);
}

.foot ul {
	display: grid;
	gap: .65rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.foot a {
	text-decoration: none;
	transition: color .2s;
}

.foot a:hover {
	color: #fff;
}

.foot__contact li {
	display: flex;
	gap: .65rem;
}

.foot__contact i {
	color: var(--lime);
}

.foot__social {
	display: flex !important;
	gap: .6rem !important;
}

.foot__social a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-dark);
	border-radius: 50%;
	color: var(--on-dark);
	transition: background .25s, border-color .25s, color .25s;
}

.foot__social a:hover {
	border-color: transparent;
	background: var(--grad);
	color: var(--ink);
}

.foot__bottom {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: .75rem 2rem;
	margin-top: clamp(48px, 7vw, 72px);
	padding-block: 1.5rem;
	border-top: 1px solid var(--line-dark);
	font-size: .85rem;
}

.foot__bottom p {
	margin: 0;
}

.foot__bottom a {
	color: var(--lime);
}

/* Marca gigante que se corta en el borde inferior */
.foot__word {
	margin: clamp(16px, 3vw, 32px) 0 -.14em;
	font-size: clamp(4.5rem, 21vw, 19rem);
	font-weight: 800;
	line-height: .8;
	letter-spacing: -.07em;
	text-align: center;
	background: linear-gradient(180deg, rgba(198, 240, 106, .26), rgba(198, 240, 106, 0) 85%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	user-select: none;
	pointer-events: none;
}

@media (min-width: 760px) {
	.foot__grid {
		grid-template-columns: 1.4fr 1fr 1.3fr;
	}
}

/* ---------- 21. Botón flotante de WhatsApp ---------- */
.fab {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 40;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--whatsapp);
	font-size: 1.6rem;
	color: #fff;
	text-decoration: none;
	box-shadow: 0 14px 30px -10px rgba(21, 128, 61, .7);
	transition: transform .25s var(--ease);
}

.fab::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 2px solid var(--whatsapp);
	border-radius: 50%;
	animation: sonar 2.6s var(--ease) infinite;
}

.fab:hover {
	transform: translateY(-4px) scale(1.04);
}

/* ---------- 22. Animaciones ---------- */
.rise {
	animation: rise .9s calc(.1s + var(--i, 0) * 110ms) var(--ease) both;
}

.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .8s var(--ease), transform .8s var(--ease);
	transition-delay: var(--d, 0s);
}

.js .reveal.is-visible {
	opacity: 1;
	transform: none;
}

@keyframes rise {
	from {
		opacity: 0;
		transform: translateY(22px);
	}
}

@keyframes morph {
	50% {
		border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
	}

	100% {
		border-radius: 55% 45% 60% 40% / 42% 55% 45% 58%;
	}
}

@keyframes float {

	0%,
	100% {
		translate: 0 0;
	}

	50% {
		translate: 0 -12px;
	}
}

@keyframes ecg {
	to {
		stroke-dashoffset: 0;
	}
}

@keyframes sonar {
	from {
		transform: scale(.45);
		opacity: 1;
	}

	to {
		transform: scale(1.12);
		opacity: 0;
	}
}

@keyframes spin {
	to {
		rotate: 360deg;
	}
}

@keyframes ping-coral {
	0% {
		box-shadow: 0 0 0 0 rgba(240, 97, 79, .55);
	}

	80%,
	100% {
		box-shadow: 0 0 0 10px rgba(240, 97, 79, 0);
	}
}

@keyframes ping-leaf {
	0% {
		box-shadow: 0 0 0 0 rgba(31, 157, 90, .55);
	}

	80%,
	100% {
		box-shadow: 0 0 0 10px rgba(31, 157, 90, 0);
	}
}

@keyframes marquee {
	to {
		transform: translateX(-50%);
	}
}

@keyframes drawer-in {
	from {
		transform: translateX(40px);
		opacity: 0;
	}
}

@keyframes shake {

	25%,
	75% {
		translate: -6px 0;
	}

	50% {
		translate: 6px 0;
	}
}

/* Respeta a quien pidió menos movimiento en su sistema */
@media (prefers-reduced-motion: reduce) {

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		animation-delay: 0s !important;
		transition-duration: .01ms !important;
	}

	html {
		scroll-behavior: auto;
	}

	.marquee__track {
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 1.25rem;
		width: auto;
		animation: none;
	}

	.marquee__track [aria-hidden="true"] {
		display: none;
	}
}
