:root {
	--bg: #f5f5f7;
	--bg-secondary: #fbfbfd;
	--surface: rgba(255, 255, 255, 0.68);
	--surface-strong: rgba(255, 255, 255, 0.82);
	--surface-soft: rgba(255, 255, 255, 0.54);
	--line: rgba(15, 23, 42, 0.08);
	--line-strong: rgba(15, 23, 42, 0.12);
	--text: #1d1d1f;
	--text-secondary: #424245;
	--text-tertiary: #6e6e73;
	--blue: #0071e3;
	--blue-deep: #0066cc;
	--radius-lg: 32px;
	--radius-md: 24px;
	--radius-sm: 18px;
	--shadow-soft: 0 24px 50px rgba(15, 23, 42, 0.06);
	--shadow-card: 0 28px 60px rgba(15, 23, 42, 0.1);
	--max-width: 1200px;
	--section-space: 112px;
	--ease-apple-soft: cubic-bezier(0.22, 1, 0.36, 1);
	--ease-apple-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family:
		Inter, "SF Pro Display", "SF Pro Text", "Segoe UI", system-ui,
		-apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--text);
	background:
		radial-gradient(
			circle at 18% 12%,
			rgba(79, 132, 255, 0.12),
			transparent 24%
		),
		radial-gradient(
			circle at 84% 14%,
			rgba(132, 167, 214, 0.12),
			transparent 22%
		),
		radial-gradient(
			circle at 12% 82%,
			rgba(255, 255, 255, 0.7),
			transparent 24%
		),
		linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 52%, #eef2f7 100%);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			115deg,
			rgba(255, 255, 255, 0.4) 0%,
			rgba(255, 255, 255, 0.08) 22%,
			rgba(255, 255, 255, 0) 44%
		),
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.24) 0%,
			rgba(255, 255, 255, 0) 14%
		);
	z-index: -2;
}

body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
	background-size: 46px 46px;
	opacity: 0.12;
	z-index: -3;
}

img {
	display: block;
	max-width: 100%;
}

ul {
	list-style: none;
}

a {
	color: inherit;
}

main {
	padding-top: 112px;
}

.container {
	width: min(calc(100% - 48px), var(--max-width));
	margin: 0 auto;
}

.page-shell {
	position: relative;
	overflow: clip;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	min-height: 88px;
	background: rgba(251, 251, 253, 0.62);
	backdrop-filter: blur(28px) saturate(180%);
	-webkit-backdrop-filter: blur(28px) saturate(180%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.6);
	box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 0.34) 0%,
		rgba(255, 255, 255, 0.08) 56%,
		rgba(255, 255, 255, 0.02) 100%
	);
}

.site-nav {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 88px;
	padding-bottom: 0;
}

.brand {
	flex: 0 0 auto;
}

.brand-logo {
	height: auto;
	max-height: 64px;
	object-fit: contain;
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 24px;
	flex-wrap: wrap;
	padding-top: 11px;
}

.nav-links a {
	position: relative;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: rgba(29, 29, 31, 0.78);
	transition: color 0.25s ease;
}

.nav-links a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -8px;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--blue) 0%, #49a2ff 100%);
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.25s ease;
}

.nav-links a:hover {
	color: var(--text);
}

.nav-links a:hover::after {
	transform: scaleX(1);
}

.hero {
	position: relative;
	padding: 88px 0 56px;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: 56px;
	align-items: center;
}

.hero-copy {
	position: relative;
	z-index: 2;
	animation: copyIn 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--blue);
}

.hero h1,
.section h2,
.contact h2,
.cta h2 {
	font-size: clamp(2.8rem, 5vw, 5.2rem);
	line-height: 0.95;
	letter-spacing: -0.055em;
	font-weight: 700;
	color: var(--text);
	text-wrap: balance;
}

.hero .hero-lead {
	margin: 20px 0 12px;
	font-size: clamp(1.35rem, 2vw, 1.85rem);
	line-height: 1.2;
	letter-spacing: -0.03em;
	font-weight: 600;
	color: var(--text-secondary);
}

.hero-copy p,
.section p,
.contact-copy p,
.cta p,
.faq-item p,
.info-card,
.clean-list li,
.destinatarios-lista li,
.form-group label,
.form-group input,
.form-group textarea {
	font-size: 1.08rem;
	line-height: 1.85;
	letter-spacing: -0.01em;
	color: var(--text-secondary);
}

.hero-copy p + p {
	margin-top: 14px;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.hero-visual {
	position: relative;
	min-height: 640px;
	animation: heroVisualIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-background-glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(48px);
	opacity: 0.55;
	pointer-events: none;
}

.hero-glow-1 {
	top: 7%;
	left: 2%;
	width: 300px;
	height: 300px;
	background: rgba(0, 113, 227, 0.18);
	animation: ambientFloat 16s ease-in-out infinite;
}

.hero-glow-2 {
	right: 4%;
	bottom: 10%;
	width: 260px;
	height: 260px;
	background: rgba(140, 178, 255, 0.24);
	animation: ambientFloat 20s ease-in-out infinite reverse;
}

.device-stage {
	position: relative;
	height: 100%;
	min-height: 640px;
}

.device-card,
.glass-soft,
.glass-strong,
.logos-institucionales,
.cta-shell,
.contact-form-wrap,
.contact-side-card,
.showcase-card,
.impact-metric,
.faq-item,
.info-card {
	backdrop-filter: blur(22px) saturate(165%);
	-webkit-backdrop-filter: blur(22px) saturate(165%);
	border: 1px solid rgba(255, 255, 255, 0.68);
	box-shadow:
		var(--shadow-card),
		inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.glass-soft,
.showcase-card,
.faq-item,
.info-card,
.contact-side-card {
	background: var(--surface);
}

.glass-strong,
.cta-shell,
.contact-form-wrap,
.impact-metric,
.device-card {
	background: var(--surface-strong);
}

.card-floating {
	position: absolute;
	border-radius: 32px;
	animation: floatingCard 16s ease-in-out infinite;
}

.card-hero-main {
	overflow: hidden;
	padding: 0;
}

.hero-training-img {
	width: 100%;
	height: 520px;
	object-fit: cover;
	display: block;
	border-radius: 26px;
}

.feature-image {
	width: 100%;
	height: 520px;
	object-fit: cover;
	display: block;
	border-radius: 26px;
}

.showcase-card.large {
	padding: 0;
	overflow: hidden;
}

.card-hero-mini {
	padding: 18px 20px;
	max-width: 220px;
}

.card-hero-mini strong {
	display: block;
	font-size: 1.55rem;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--text);
}

.card-hero-mini span {
	display: block;
	margin-top: 8px;
	font-size: 0.95rem;
	line-height: 1.45;
	color: var(--text-tertiary);
}

.card-hero-mini.top {
	top: 0;
	left: 0;
	animation-delay: -3s;
}

.card-hero-mini.bottom {
	right: 0;
	bottom: 38px;
	animation-delay: -7s;
}

.visual-placeholder {
	display: grid;
	place-items: center;
	min-height: 520px;
	padding: 28px;
	border-radius: 26px;
	text-align: center;
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.92);
	background:
		radial-gradient(
			circle at top left,
			rgba(255, 255, 255, 0.2),
			transparent 34%
		),
		linear-gradient(
			160deg,
			rgba(7, 37, 68, 0.95) 0%,
			rgba(20, 64, 112, 0.92) 48%,
			rgba(74, 135, 214, 0.9) 100%
		);
}

.visual-purpose,
.visual-audience,
.visual-learning,
.visual-inclusion,
.visual-training {
	position: relative;
	overflow: hidden;
}

.visual-purpose::before,
.visual-audience::before,
.visual-learning::before,
.visual-inclusion::before,
.visual-training::before {
	content: "";
	position: absolute;
	inset: 10% 12%;
	border-radius: 26px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.12),
		rgba(255, 255, 255, 0.02)
	);
	transform: rotate(-8deg);
}

.section {
	position: relative;
	padding: var(--section-space) 0;
}

.section-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.center-copy {
	text-align: center;
	align-items: center;
}

.narrow {
	max-width: 880px;
	margin: 0 auto;
}

.section-lead {
	max-width: 920px;
}

.logos-institucionales {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
	padding: 22px 26px;
	border-radius: 28px;
}

.logos-institucionales img {
	height: 48px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	opacity: 0.96;
	transition:
		transform 0.28s ease,
		opacity 0.28s ease,
		filter 0.28s ease;
}

.logos-institucionales img:hover {
	transform: translateY(-4px) scale(1.02);
	filter: saturate(1.02);
	opacity: 1;
}

.logos-texto {
	max-width: 760px;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--text-tertiary);
}

.marco {
	position: relative;
}

.marco::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(
		135deg,
		rgba(255, 255, 255, 0.85),
		rgba(0, 113, 227, 0.18),
		rgba(255, 255, 255, 0.55)
	);
	-webkit-mask:
		linear-gradient(#fff 0 0) content-box,
		linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.feature-grid,
.impact-grid,
.contact-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 44px;
	align-items: center;
}

.reverse-on-desktop .feature-copy {
	order: 2;
}

.reverse-on-desktop .feature-visual {
	order: 1;
}

.feature-copy,
.impact-copy,
.contact-copy {
	animation: sectionFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.feature-copy h2,
.impact-copy h2,
.contact-copy h2,
.section-heading h2 {
	font-size: clamp(2.5rem, 4vw, 4.4rem);
	margin-bottom: 18px;
}

.showcase-card {
	padding: 20px;
	border-radius: 32px;
	animation: sectionFadeUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.showcase-card.large .visual-placeholder {
	min-height: 520px;
}

.stacked-panels {
	position: relative;
	min-height: 620px;
}

.panel-main {
	width: min(100%, 470px);
}

.panel-stat {
	position: absolute;
	right: 0;
	bottom: 24px;
	max-width: 230px;
	padding: 20px;
	border-radius: 28px;
}

.panel-stat strong {
	display: block;
	font-size: 1.4rem;
	letter-spacing: -0.03em;
	color: var(--text);
}

.panel-stat span {
	display: block;
	margin-top: 8px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--text-tertiary);
}

.section-heading {
	margin-bottom: 34px;
}

.info-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.info-card {
	padding: 28px 24px;
	border-radius: 28px;
	color: var(--text-secondary);
	animation: sectionFadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.card-list li {
	position: relative;
}

.card-list li::before {
	content: "";
	position: absolute;
	top: 24px;
	left: 24px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue) 0%, #69b2ff 100%);
	box-shadow: 0 0 0 8px rgba(0, 113, 227, 0.09);
}

.card-list li {
	padding-left: 52px;
}

.five-up {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.clean-list {
	display: grid;
	gap: 14px;
	margin: 24px 0 20px;
}

.clean-list li,
.destinatarios-lista li {
	position: relative;
	padding-left: 34px;
}

.clean-list li::before,
.destinatarios-lista li::before {
	content: "";
	position: absolute;
	top: 0.78rem;
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--blue) 0%, #69b2ff 100%);
	box-shadow: 0 0 0 6px rgba(0, 113, 227, 0.08);
}

.destinatarios-lista {
	display: grid;
	gap: 18px;
	margin-top: 24px;
}

.destinatarios-lista li {
	padding-top: 18px;
	padding-right: 20px;
	padding-bottom: 18px;
	padding-left: 54px;
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.56);
	border: 1px solid rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(18px) saturate(145%);
	-webkit-backdrop-filter: blur(18px) saturate(145%);
	box-shadow:
		var(--shadow-soft),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
	transition:
		transform 0.24s ease,
		box-shadow 0.24s ease,
		border-color 0.24s ease;
}

.destinatarios-lista li:hover,
.info-card:hover,
.faq-item:hover,
.contact-side-card:hover {
	transform: translateY(-6px);
	box-shadow:
		0 34px 72px rgba(15, 23, 42, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.impact-metric {
	padding: 44px 38px;
	border-radius: 40px;
	text-align: left;
	animation: sectionFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.impact-number {
	display: block;
	font-size: clamp(4rem, 8vw, 7rem);
	line-height: 0.9;
	letter-spacing: -0.08em;
	font-weight: 700;
	color: var(--text);
}

.impact-label {
	display: block;
	margin-top: 14px;
	font-size: 1.3rem;
	line-height: 1.2;
	font-weight: 600;
	color: var(--text-secondary);
}

.impact-metric small {
	display: block;
	margin-top: 14px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-tertiary);
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.faq-item {
	padding: 24px 24px 22px;
	border-radius: 28px;
	animation: sectionFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.faq-item strong {
	display: block;
	margin-bottom: 10px;
	font-size: 1.15rem;
	line-height: 1.3;
	letter-spacing: -0.02em;
	color: var(--text);
}

.cta-shell {
	padding: 56px 42px;
	border-radius: 40px;
	text-align: center;
	animation: sectionFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cta-shell p {
	max-width: 760px;
	margin: 18px auto 28px;
}

.contact-layout {
	align-items: start;
}

.contact-side-card {
	margin-top: 30px;
	padding: 24px;
	border-radius: 28px;
}

.contact-side-card strong {
	display: block;
	margin-bottom: 8px;
	font-size: 1.08rem;
	color: var(--text);
}

.contact-side-card span {
	display: block;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--text-tertiary);
}

.contact-form-wrap {
	padding: 30px;
	border-radius: 34px;
	animation: sectionFadeUp 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px 20px;
}

.form-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group-full {
	grid-column: 1 / -1;
}

.form-group label {
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.5;
	color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.96rem 1rem;
	border-radius: 18px;
	border: 1px solid rgba(15, 23, 42, 0.1);
	background: rgba(255, 255, 255, 0.84);
	color: var(--text);
	outline: none;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.75),
		0 8px 18px rgba(15, 23, 42, 0.03);
	transition:
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		transform 0.22s ease,
		background 0.22s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	border-color: rgba(0, 113, 227, 0.34);
	background: rgba(255, 255, 255, 0.96);
	box-shadow:
		0 0 0 5px rgba(0, 113, 227, 0.1),
		0 18px 28px rgba(0, 113, 227, 0.08);
	transform: translateY(-1px);
}

.form-group textarea {
	min-height: 172px;
	resize: vertical;
}

.form-group.checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 12px;
	padding-top: 4px;
}

.form-group.checkbox input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	accent-color: var(--blue);
	box-shadow: none;
	transform: none;
	flex: 0 0 auto;
}

.form-group.checkbox label {
	font-weight: 500;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--text-tertiary);
}

.message {
	margin-bottom: 18px;
	padding: 18px 20px;
	border-radius: 20px;
	border: 1px solid transparent;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.message.success {
	background: rgba(233, 248, 239, 0.88);
	border-color: rgba(63, 145, 95, 0.18);
	color: #21633d;
}

.message.error {
	background: rgba(255, 238, 238, 0.9);
	border-color: rgba(193, 76, 76, 0.18);
	color: #8a2f2f;
}

.message ul {
	padding-left: 1.1rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0.95rem 1.5rem;
	border-radius: 999px;
	border: 0;
	text-decoration: none;
	font-size: 0.98rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	cursor: pointer;
	transition:
		transform 0.22s ease,
		box-shadow 0.22s ease,
		filter 0.22s ease,
		background 0.22s ease;
}

.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
	box-shadow:
		0 18px 32px rgba(0, 113, 227, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
	color: var(--text);
	background: rgba(255, 255, 255, 0.76);
	border: 1px solid rgba(255, 255, 255, 0.74);
	box-shadow:
		0 16px 28px rgba(15, 23, 42, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.78);
	backdrop-filter: blur(16px) saturate(150%);
	-webkit-backdrop-filter: blur(16px) saturate(150%);
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary:hover {
	box-shadow:
		0 22px 40px rgba(0, 113, 227, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
	filter: saturate(1.03);
}

.btn-secondary:hover {
	box-shadow:
		0 22px 40px rgba(15, 23, 42, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.site-footer {
	padding-bottom: calc(20px + var(--liquid-reveal-height));
}

.footer-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding-top: 26px;
	border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.footer-logos {
	background: rgba(19, 20, 23, 0.84);
	border-color: rgba(255, 255, 255, 0.12);
}

.footer-texto {
	max-width: 860px;
	text-align: center;
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--text-tertiary);
}

.tinted {
	position: relative;
}

.tinted::before,
.soft-tint::before {
	content: "";
	position: absolute;
	inset: 12% 10% auto;
	height: 240px;
	border-radius: 999px;
	filter: blur(48px);
	background: rgba(0, 113, 227, 0.08);
	pointer-events: none;
}

.compact-top {
	padding-top: 72px;
}

@keyframes ambientFloat {
	0% {
		transform: translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(0, -14px, 0) scale(1.04);
	}
	100% {
		transform: translate3d(0, 0, 0) scale(1);
	}
}

@keyframes floatingCard {
	0% {
		transform: translate3d(0, 0, 0);
	}
	50% {
		transform: translate3d(0, -10px, 0);
	}
	100% {
		transform: translate3d(0, 0, 0);
	}
}

@keyframes copyIn {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes heroVisualIn {
	from {
		opacity: 0;
		transform: translateY(52px) scale(0.968);
		filter: blur(14px);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

@keyframes sectionFadeUp {
	from {
		opacity: 0;
		transform: translateY(42px) scale(0.994);
		filter: blur(12px);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
		filter: blur(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
		transition-duration: 0.01ms;
		scroll-behavior: auto;
	}
}

@media (max-width: 1120px) {
	.hero-grid,
	.feature-grid,
	.impact-grid,
	.contact-layout {
		grid-template-columns: 1fr;
	}

	.hero-visual,
	.stacked-panels,
	.device-stage {
		min-height: auto;
	}

	.device-stage {
		display: grid;
		gap: 18px;
	}

	.card-floating,
	.panel-stat {
		position: relative;
		top: auto;
		right: auto;
		bottom: auto;
		left: auto;
		max-width: 100%;
		animation: sectionFadeUp 0.7s ease both;
	}

	.card-hero-main,
	.panel-main {
		width: 100%;
	}

	.five-up,
	.info-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.faq-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 860px) {
	:root {
		--section-space: 88px;
	}

	.site-nav {
		min-height: auto;
		padding: 16px 0;
		flex-direction: column;
		align-items: flex-start;
	}

	.nav-links {
		gap: 16px;
	}

	.hero {
		padding-top: 64px;
	}

	.hero h1,
	.section h2,
	.contact h2,
	.cta h2,
	.feature-copy h2,
	.impact-copy h2,
	.section-heading h2 {
		font-size: clamp(2.2rem, 8vw, 3.6rem);
	}

	.contact-form {
		grid-template-columns: 1fr;
	}

	.form-group-full {
		grid-column: auto;
	}

	.contact-form .btn {
		width: 100%;
	}
}

@media (max-width: 640px) {
	.container {
		width: min(calc(100% - 32px), var(--max-width));
	}

	main {
		padding-top: 156px;
	}

	.hero-actions {
		flex-direction: column;
	}

	.hero-actions .btn {
		width: 100%;
	}

	.visual-placeholder,
	.showcase-card.large .visual-placeholder {
		min-height: 380px;
	}

	.info-card-grid,
	.five-up {
		grid-template-columns: 1fr;
	}

	.logos-institucionales {
		padding: 18px;
		border-radius: 22px;
	}

	.logos-institucionales img {
		height: 38px;
		max-width: 136px;
	}

	.cta-shell,
	.contact-form-wrap,
	.impact-metric {
		padding: 28px 22px;
		border-radius: 28px;
	}

	.site-footer {
		padding-bottom: 40px;
	}
}

/* =========================================================
   AMBIENT SVG LAYERS
   Fix for inline decorative SVG ornaments injected by JS
   ========================================================= */

.hero,
.section,
.cta,
.site-footer,
#contacto {
	position: relative;
	isolation: isolate;
}

.hero,
.section,
.cta,
.site-footer {
	overflow: hidden;
}

.ambient-svg-layer {
	position: absolute;
	inset: 0;
	pointer-events: none;
	overflow: hidden;
	z-index: 0;
}

.ambient-svg-layer.is-visible .ambient-svg {
	animation: ambientSvgFloat var(--ambient-duration, 20000ms)
		var(--ease-apple-soft) infinite alternate;
	animation-delay: var(--ambient-delay, 0ms);
}

.ambient-svg {
	position: absolute;
	width: var(--ambient-size, 48px);
	height: var(--ambient-size, 48px);
	display: block;
	opacity: 0;
	transform: translate3d(-50%, -50%, 0) rotate(var(--ambient-rotate, 0deg))
		scale(0.92);
	filter: drop-shadow(0 12px 26px rgba(0, 113, 227, 0.08));
	will-change: transform, opacity;
	transition:
		opacity 900ms var(--ease-apple-out),
		transform 1200ms var(--ease-apple-out);
}

.ambient-svg-layer.is-visible .ambient-svg {
	opacity: var(--ambient-opacity, 0.12);
	transform: translate3d(-50%, -50%, 0) rotate(var(--ambient-rotate, 0deg))
		scale(1);
}

.ambient-svg svg {
	display: block;
	width: 100%;
	height: 100%;
	overflow: visible;
}

.ambient-svg--hero {
	z-index: 1;
}

.hero-copy,
.hero-visual,
.section > .container,
.cta > .container,
.site-footer > .container,
#contacto > .container {
	position: relative;
	z-index: 2;
}

@keyframes ambientSvgFloat {
	0% {
		transform: translate3d(-50%, -50%, 0) rotate(var(--ambient-rotate, 0deg))
			translate3d(0, 0, 0) scale(1);
	}
	50% {
		transform: translate3d(-50%, -50%, 0)
			rotate(calc(var(--ambient-rotate, 0deg) + 2deg))
			translate3d(
				var(--ambient-drift-x, 8px),
				calc(var(--ambient-drift-y, -8px) * 0.55),
				0
			)
			scale(1.03);
	}
	100% {
		transform: translate3d(-50%, -50%, 0)
			rotate(calc(var(--ambient-rotate, 0deg) + 4deg))
			translate3d(
				calc(var(--ambient-drift-x, 8px) * 1.05),
				var(--ambient-drift-y, -8px),
				0
			)
			scale(0.98);
	}
}

@media (max-width: 860px) {
	.ambient-svg {
		width: calc(var(--ambient-size, 48px) * 0.82);
		height: calc(var(--ambient-size, 48px) * 0.82);
	}
}

@media (max-width: 640px) {
	.ambient-svg {
		width: calc(var(--ambient-size, 48px) * 0.68);
		height: calc(var(--ambient-size, 48px) * 0.68);
	}
	.ambient-svg-layer.is-visible .ambient-svg {
		opacity: calc(var(--ambient-opacity, 0.12) * 0.82);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ambient-svg-layer,
	.ambient-svg {
		display: none;
	}
}

/* =========================================================
   APPLE-LIKE SCROLL REVEAL
   Page-building motion on scroll
   ========================================================= */

.scroll-reveal {
	opacity: 0;
	transform: translate3d(0, 38px, 0) scale(0.985);
	filter: blur(10px);
	will-change: transform, opacity, filter;
	transition:
		opacity 900ms var(--ease-apple-out),
		transform 1100ms var(--ease-apple-out),
		filter 900ms var(--ease-apple-out);
	transition-delay: var(--reveal-delay, 0ms);
	animation: none;
}

.scroll-reveal.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
	filter: blur(0);
}

.hero-copy.scroll-reveal,
.hero-visual.scroll-reveal {
	opacity: 1;
	filter: none;
	transition-duration: 1200ms;
}

@media (prefers-reduced-motion: reduce) {
	.scroll-reveal {
		opacity: 1;
		transform: none;
		filter: none;
		transition: none;
	}
}
/* =========================================================
   LOWER LIQUID GLASS REVEAL
   ========================================================= */

:root {
	--liquid-reveal-height: 130px;
	--liquid-reveal-blur: 26px;
}

.page-shell::after {
	content: "";
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	height: var(--liquid-reveal-height);
	pointer-events: none;
	z-index: 1200;

	backdrop-filter: blur(var(--liquid-reveal-blur)) saturate(170%);
	-webkit-backdrop-filter: blur(var(--liquid-reveal-blur)) saturate(170%);

	background: linear-gradient(
		180deg,
		rgba(251, 251, 253, 0) 0%,
		rgba(251, 251, 253, 0.18) 24%,
		rgba(251, 251, 253, 0.42) 58%,
		rgba(251, 251, 253, 0.62) 100%
	);

	border-top: 1px solid rgba(255, 255, 255, 0.42);
	box-shadow:
		0 -18px 44px rgba(15, 23, 42, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.28);

	mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0, 0, 0, 0.18) 14%,
		rgba(0, 0, 0, 0.5) 34%,
		rgba(0, 0, 0, 0.82) 60%,
		rgba(0, 0, 0, 1) 100%
	);
	-webkit-mask-image: linear-gradient(
		to bottom,
		transparent 0%,
		rgba(0, 0, 0, 0.18) 14%,
		rgba(0, 0, 0, 0.5) 34%,
		rgba(0, 0, 0, 0.82) 60%,
		rgba(0, 0, 0, 1) 100%
	);
}

.page-shell::before {
	content: "";
	position: fixed;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	width: min(72vw, 920px);
	height: 92px;
	pointer-events: none;
	z-index: 1199;
	border-radius: 999px;
	background: rgba(0, 113, 227, 0.09);
	filter: blur(42px);
	opacity: 0.65;
}

@media (max-width: 860px) {
	:root {
		--liquid-reveal-height: 132px;
		--liquid-reveal-blur: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page-shell::after,
	.page-shell::before {
		display: none;
	}
}

.footer-texto a,
.checkbox a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* =========================================================
   FIXED NAV INSTITUTIONAL LOGOS
   Compact institutional presence during the full scroll
   ========================================================= */

.nav-institutional-logos {
	position: absolute;
	left: 24px;
	bottom: -58px;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	max-width: min(520px, calc(100vw - 48px));
	padding: 7px 10px;
	border-radius: 999px;
	background: linear-gradient(
		180deg,
		rgba(255, 255, 255, 1) 0%,
		rgba(248, 250, 252, 1) 100%
	);
	backdrop-filter: blur(14px) saturate(110%);
	-webkit-backdrop-filter: blur(14px) saturate(110%);
	border: 1px solid rgba(255, 255, 255, 0.78);
	box-shadow:
		0 16px 34px rgba(15, 23, 42, 0.1),
		inset 0 1px 0 rgba(255, 255, 255, 0.82);
	opacity: 0.78;
	pointer-events: auto;
	transition:
		opacity 0.24s ease,
		transform 0.24s ease,
		background 0.24s ease,
		box-shadow 0.24s ease;
}

.nav-institutional-logos:hover {
	opacity: 1;
	background: rgba(255, 255, 255, 0.88);
	transform: translateY(-1px);
	box-shadow:
		0 20px 42px rgba(15, 23, 42, 0.13),
		inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.nav-institutional-logos img {
	display: block;
	width: auto;
	height: 40px;
	max-width: 160px;
	object-fit: contain;
	filter: saturate(0.95);
}

.nav-institutional-logos img:first-child {
	height: 20px;
	max-width: 170px;
}

@media (max-width: 860px) {
	.site-header {
		min-height: auto;
	}
	.site-nav {
		min-height: auto;
		padding: 16px 0;
		flex-direction: column;
		align-items: flex-start;
	}
	.nav-institutional-logos {
		left: 16px;
		right: 16px;
		bottom: -24px;
		max-width: none;
		overflow-x: auto;
		scrollbar-width: none;
		opacity: 0.86;
	}
	.nav-institutional-logos::-webkit-scrollbar {
		display: none;
	}
	main {
		padding-top: 148px;
	}
}

@media (max-width: 640px) {
	main {
		padding-top: 166px;
	}
	.nav-institutional-logos {
		bottom: -26px;
		padding: 6px 9px;
	}
	.nav-institutional-logos img {
		height: 16px;
		max-width: 82px;
	}
	.nav-institutional-logos img:first-child {
		height: 18px;
		max-width: 96px;
	}
}

@media (max-width: 640px) {
	.nav-institutional-logos {
		left: 0;
		right: auto;
		max-width: 100%;
		gap: 6px;
		padding: 6px 8px;
		opacity: 0.78;
	}

	.nav-institutional-logos img {
		height: 18px;
		max-width: 74px;
	}
}
