/* =========================================================
   Intenpro — estilos propios sobre Bootstrap 5
   (equivalente a tailwind.config.js + index.css del proyecto React)
   ========================================================= */

:root {
	--navy: #073349;
	--navy2: #0a425c;
	--blue: #047c9f;
	--green: #29b26b;
	--yellow: #fabf19;
	--red: #e7212a;
	--ink: #0f2733;
	--inksoft: #4c6270;
	--paper: #f5f7f8;
	--line: #e1e7ea;
	--deep: #052635;

	--px-page: 1.5rem;
	--sec-y: 4rem;

	--bs-body-font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
	--bs-body-color: var(--ink);
	--bs-link-color: var(--blue);
}

@media (min-width: 768px) {
	:root {
		--px-page: 90px;
		--sec-y: 6rem;
	}
}

html {scroll-behavior: smooth;}

body {
	background: #052635;
	font-family: var(--bs-body-font-family);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {text-wrap: balance;}
.mono {font-family: "IBM Plex Mono", ui-monospace, monospace;}
.object-top {object-position: top;}
.bg-paper {background: var(--paper);}

.text-brand-yellow {color: var(--yellow);}

/* Toda sección enlazable deja espacio para el nav sticky (scroll-mt-24) */
[id^="v-"], [id^="p-"] {
	scroll-margin-top: 6rem;
}

/* ---------- Animaciones ---------- */
@keyframes fade-up {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: none;
	}
}
@keyframes fade-in {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
@keyframes kenburns {
	0% {
		transform: scale(1) translate3d(0, 0, 0);
	}
	100% {
		transform: scale(1.09) translate3d(-1%, -1%, 0);
	}
}
@keyframes float-slow {
	0%,
	100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
}

.animate-fade-up {animation: fade-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;}
.animate-fade-in {animation: fade-in 0.4s ease-out both;}
.animate-kenburns {animation: kenburns 18s ease-in-out infinite alternate;}
.animate-float-slow {animation: float-slow 5s ease-in-out infinite;}

/* Aparición al hacer scroll (componente Reveal) */
.reveal {
	opacity: 0;
	transform: translateY(1.75rem);
	transition:
		opacity 0.7s ease-out,
		transform 0.7s ease-out;
	transition-delay: var(--d, 0ms);
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
}

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

/* ---------- Botones (pills) sobre .btn de Bootstrap ---------- */
.btn {
	font-family: inherit;
	border-radius: 50rem;
	font-weight: 700;
	transition:
		filter 0.2s,
		background-color 0.2s,
		color 0.2s;
}

.btn-brand-yellow {
	--bs-btn-color: var(--navy);
	--bs-btn-bg: var(--yellow);
	--bs-btn-border-color: var(--yellow);
	--bs-btn-hover-color: var(--navy);
	--bs-btn-hover-bg: var(--yellow);
	--bs-btn-hover-border-color: var(--yellow);
	--bs-btn-active-color: var(--navy);
	--bs-btn-active-bg: var(--yellow);
	--bs-btn-active-border-color: var(--yellow);
}
.btn-brand-yellow:hover {filter: brightness(1.05);}
.btn-brand-yellow:active {filter: brightness(0.95);}

.btn-brand-green {
	--bs-btn-color: #fff;
	--bs-btn-bg: var(--green);
	--bs-btn-border-color: var(--green);
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: var(--green);
	--bs-btn-hover-border-color: var(--green);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: var(--green);
	--bs-btn-active-border-color: var(--green);
}
.btn-brand-green:hover {filter: brightness(1.05);}

.btn-outline-navy {
	--bs-btn-color: var(--navy);
	--bs-btn-border-color: rgba(7, 51, 73, 0.15);
	--bs-btn-border-width: 1.5px;
	--bs-btn-hover-color: var(--navy);
	--bs-btn-hover-bg: var(--paper);
	--bs-btn-hover-border-color: rgba(7, 51, 73, 0.15);
	--bs-btn-active-color: var(--navy);
	--bs-btn-active-bg: var(--paper);
	--bs-btn-active-border-color: rgba(7, 51, 73, 0.15);
}

.btn-outline-light-pill {
	--bs-btn-color: #fff;
	--bs-btn-border-color: rgba(255, 255, 255, 0.35);
	--bs-btn-border-width: 1.5px;
	--bs-btn-hover-color: #fff;
	--bs-btn-hover-bg: rgba(255, 255, 255, 0.1);
	--bs-btn-hover-border-color: rgba(255, 255, 255, 0.35);
	--bs-btn-active-color: #fff;
	--bs-btn-active-bg: rgba(255, 255, 255, 0.15);
	--bs-btn-active-border-color: rgba(255, 255, 255, 0.35);
	font-weight: 600;
}

.btn-hero {
	padding: 15px 28px;
	font-size: 15px;
}
.btn-hero-ghost {
	padding: 14px 26px;
	font-size: 15px;
}
.btn-cta {
	padding: 17px 32px;
	font-size: 16px;
}

.link-yellow {
	background: none;
	border: 0;
	padding: 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--yellow);
	text-decoration: underline;
	text-decoration-color: rgba(250, 191, 25, 0.4);
	text-underline-offset: 4px;
	transition: color 0.2s;
}
.link-yellow:hover {color: #fff;}

/* =========================================================
   NAV
   ========================================================= */
.site-nav {
	position: sticky;
	top: 0;
	z-index: 1030;
	height: 72px;
	padding: 0 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: var(--navy);
	transition: box-shadow 0.2s;
}
.site-nav.d-none {display: none !important;}
.site-nav:not(.d-none) {display: flex !important;}
.site-nav.scrolled {box-shadow: 0 8px 24px -12px rgba(0, 0, 0, 0.5);}
@media (min-width: 768px) {
	.site-nav {
		height: 88px;
		padding: 0 90px;
	}
}

.nav-logo-btn {
	background: none;
	border: 0;
	padding: 0;
	flex-shrink: 0;
}
.nav-logo {
	height: 30px;
	width: auto;
	display: block;
}
@media (min-width: 768px) {
	.nav-logo {
		height: 40px;
	}
}

.nav-links {gap: 36px;}
.nav-links a {
	font-size: 14.5px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.75);
	text-decoration: none;
	transition: color 0.2s;
}
.nav-links a:hover {color: #fff;}

.mode-tabs {
	background: rgba(255, 255, 255, 0.08);
	border-radius: 50rem;
	padding: 4px;
}
.mode-tab {
	border: 0;
	background: transparent;
	border-radius: 50rem;
	padding: 7px 16px;
	font-size: 12.5px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.55);
	transition:
		color 0.2s,
		background-color 0.2s;
}
.mode-tab:hover {color: rgba(255, 255, 255, 0.8);}
.mode-tab[aria-selected="true"] {
	background: var(--yellow);
	color: var(--navy);
}

.login-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 14px;
	font-size: 12.5px;
}
.login-btn .bi {
	font-size: 15px;
	-webkit-text-stroke: 0.4px;
}
@media (min-width: 768px) {
	.login-btn {
		padding: 10px 20px;
		font-size: 13.5px;
	}
}

/* =========================================================
   ENTRADA
   ========================================================= */
.entrada {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100vh;
	height: 100dvh;
	overflow: hidden;
	background: radial-gradient(
		circle at 30% 0%,
		#0a4560 0%,
		#073349 55%,
		#062a3a 100%
	);
}
.entrada.d-none {display: none !important;}

.brand-stripe {
	display: flex;
	width: 100%;
	height: 6px;
	flex-shrink: 0;
}
.brand-stripe span {flex: 1;}

.entrada-logo-wrap {
	position: relative;
	display: flex;
	justify-content: center;
	flex-shrink: 0;
	padding-top: clamp(14px, 3.4vh, 44px);
}
.entrada-glow {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: clamp(200px, 30vh, 380px);
	height: clamp(200px, 30vh, 380px);
	border-radius: 50%;
	filter: blur(64px);
	pointer-events: none;
	background: radial-gradient(
		circle,
		rgba(95, 203, 239, 0.22) 0%,
		rgba(95, 203, 239, 0) 70%
	);
}
.entrada-logo {
	position: relative;
	width: auto;
	height: clamp(50px, 9.5vh, 84px);
	filter: drop-shadow(0 10px 32px rgba(0, 0, 0, 0.4));
}

.entrada-body {
	flex: 1;
	min-height: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(2px, 1.2vh, 40px) 1.5rem;
	text-align: center;
}
@media (min-width: 768px) {
	.entrada-body {
		padding-left: 90px;
		padding-right: 90px;
	}
}

.entrada-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: clamp(6px, 1.4vh, 20px);
	padding: 6px 14px;
	border-radius: 50rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(4px);
	font-size: 10.5px;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: rgba(255, 255, 255, 0.7);
}
.entrada-badge .dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--green);
}
@media (min-width: 768px) {
	.entrada-badge {
		font-size: 12px;
	}
}

.entrada-title {
	max-width: 15ch;
	margin: 0 0 clamp(3px, 0.8vh, 12px);
	font-size: clamp(21px, 4.4vh, 46px);
	font-weight: 800;
	line-height: 1.16;
	letter-spacing: -0.01em;
	color: #fff;
	text-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
.entrada-sub {
	max-width: 600px;
	margin: 0 0 clamp(6px, 1.8vh, 28px);
	font-size: clamp(12.5px, 1.9vh, 18px);
	color: rgba(255, 255, 255, 0.6);
}

.entrada-modes {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(10px, 2vh, 32px);
}
@media (min-width: 768px) {
	.entrada-modes {
		flex-direction: row;
		gap: 3.5rem;
	}
}

.mode-circle-btn {
	--size: clamp(196px, 25vh, 260px);
	background: none;
	border: 0;
	padding: 0;
	width: var(--size);
	display: flex;
	flex-direction: column;
	align-items: center;
	color: inherit;
}
@media (min-width: 768px) {
	.mode-circle-btn {
		--size: clamp(220px, 31vh, 320px);
	}
}

.mode-circle {
	width: var(--size);
	height: var(--size);
	border-radius: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: clamp(6px, 1.2vh, 12px);
	border: 1.5px solid;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(4px);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.03),
		0 30px 60px -20px rgba(0, 0, 0, 0.45);
	transition:
		background-color 0.3s,
		transform 0.3s;
}
.mode-circle.ring-blue {border-color: rgba(4, 124, 159, 0.55);}
.mode-circle.ring-green {border-color: rgba(41, 178, 107, 0.55);}
.mode-circle-btn:hover .mode-circle {
	background: rgba(255, 255, 255, 0.1);
	transform: scale(1.035);
}
.mode-circle-btn:active .mode-circle {transform: scale(0.99);}
.mode-circle-btn:focus-visible {
	outline: 2px solid var(--yellow);
	outline-offset: 6px;
	border-radius: 50%;
}

.mode-icon {
	font-size: 38px;
	line-height: 1;
	transition: transform 0.3s;
}
.mode-circle-btn:hover .mode-icon {transform: translateY(-4px);}

.mode-title {
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	color: #fff;
}
@media (min-width: 768px) {
	.mode-title {
		font-size: 1.5rem;
	}
}

.mode-desc {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 200px;
	font-size: 12.5px;
	line-height: 1.375;
	text-align: center;
	color: rgba(255, 255, 255, 0.55);
}
.mode-desc span:first-child {color: rgba(255, 255, 255, 0.7);}
@media (min-width: 768px) {
	.mode-desc {
		font-size: 13.5px;
	}
}

.mode-go {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 4px;
	transition: transform 0.3s;
}
.mode-go .bi {
	font-size: 20px;
	line-height: 1;
}
.mode-circle-btn:hover .mode-go {
	transform: translateX(4px);
}

.entrada-stats {
	flex-shrink: 0;
	padding: 0 1rem clamp(6px, 1.4vh, 26px);
	text-align: center;
	font-size: 11px;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.35);
}
@media (min-width: 768px) {
	.entrada-stats {
		font-size: 12px;
	}
}

/* =========================================================
   SECCIONES COMUNES (Virtual / Presencial)
   ========================================================= */
.view {background: var(--paper);}
/* .view.entrada {background: none;} */
.view.entrada {
	background: radial-gradient(
		circle at 30% 0%,
		#0a4560 0%,
		#073349 55%,
		#062a3a 100%
	);
}

.hero {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 2rem;
	padding: 1.75rem var(--px-page);
	background: linear-gradient(160deg, #0a4560 0%, #073349 60%, #062a3a 100%);
}
@media (min-width: 768px) {
	.hero {
		padding-top: 2.25rem;
		padding-bottom: 2.25rem;
	}
}
@media (min-width: 992px) {
	.hero {
		grid-template-columns: 1.05fr 0.95fr;
		gap: 4rem;
	}
}

.pill-label {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 7px 14px;
	border-radius: 50rem;
	font-size: 12px;
	letter-spacing: 0.12em;
}
.hero-title {
	margin-bottom: 1rem;
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.01em;
	color: #fff;
}
.hero-sub {
	max-width: 480px;
	margin-bottom: 1.25rem;
	font-size: 16px;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.68);
}
@media (min-width: 768px) {
	.hero-sub {
		font-size: 17px;
	}
}
.hero-stats {
	font-size: 12px;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.4);
}

.hero-media {
	position: relative;
}
.hero-photo {
	overflow: hidden;
	border-radius: 24px;
	box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.55);
}
.hero-photo img {
	display: block;
	width: 100%;
	height: 280px;
	object-fit: cover;
}
@media (min-width: 576px) {
	.hero-photo img {
		height: 340px;
	}
}
@media (min-width: 992px) {
	.hero-photo img {
		height: 400px;
	}
}

.hero-chip {
	position: absolute;
	left: 1rem;
	top: 1rem;
	padding: 8px 14px;
	border-radius: 50rem;
	background: rgba(7, 51, 73, 0.8);
	backdrop-filter: blur(4px);
	font-size: 11.5px;
	font-weight: 600;
	color: #fff;
}
.hero-float {
	position: absolute;
	bottom: -1rem;
	right: -2rem;
}

.float-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 1rem;
	padding: 1rem;
	box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.5);
}
.soft-badge {
	display: inline-block;
	flex-shrink: 0;
	padding: 4px 10px;
	border-radius: 50rem;
	font-size: 11px;
	font-weight: 700;
}
.progress-track {
	height: 6px;
	border-radius: 50rem;
	background: #eef1f2;
	overflow: hidden;
}
.progress-fill {
	height: 100%;
	width: 0;
	background: var(--blue);
	transition: width 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

.unit-box {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 10px 8px;
	text-align: center;
	border: 1px solid var(--line);
	border-top: 4px solid;
	border-radius: 10px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.2;
	color: var(--ink);
}
.unit-box .bi {
	font-size: 16px;
	line-height: 1;
	-webkit-text-stroke: 0.5px;
}
.unit-box.active {
	border-color: var(--blue);
	background: #f2f9fb;
}
.unit-box.locked {
	border-top-color: #d7dde1;
	opacity: 0.7;
}

.avatar-dot {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	font-size: 12.5px;
	font-weight: 700;
}
.info-row {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid var(--line);
	border-radius: 10px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ink);
}
.info-row .bi {
	font-size: 18px;
	line-height: 1;
}

.enroll-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	text-align: center;
	background: var(--green);
	font-size: 13.5px;
	font-weight: 700;
	color: #fff;
}
.enroll-bar .bi {
	font-size: 20px;
	line-height: 1;
	-webkit-text-stroke: 0.4px;
}
@media (min-width: 768px) {
	.enroll-bar {
		font-size: 14.5px;
	}
}

.section {padding: var(--sec-y) var(--px-page);}
.eyebrow {
	display: block;
	margin-bottom: 0.75rem;
	font-size: 12px;
	letter-spacing: 0.12em;
}
.section-title {
	margin: 0 0 0.875rem;
	font-size: clamp(1.5rem, 1.6vw + 1rem, 2.0625rem);
	font-weight: 800;
	letter-spacing: -0.005em;
	color: var(--ink);
}
.section-lead {
	max-width: 640px;
	margin-bottom: 2.5rem;
	font-size: 15px;
	color: var(--inksoft);
}
@media (min-width: 768px) {
	.section-lead {
		font-size: 16.5px;
	}
}

/* ---------- Planes ---------- */
.plan-card {
	height: 100%;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 1rem;
	transition: box-shadow 0.3s;
}
.plan-card:hover {
	box-shadow: 0 18px 40px -20px rgba(7, 51, 73, 0.3);
}
.plan-card.hl-green {
	border-color: rgba(41, 178, 107, 0.4);
	box-shadow: 0 18px 44px -20px rgba(41, 178, 107, 0.4);
}
.plan-card.hl-yellow {
	border-color: rgba(250, 191, 25, 0.5);
	box-shadow: 0 18px 44px -20px rgba(250, 191, 25, 0.4);
}
.plan-bar {height: 6px;}
.plan-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
}
.plan-badge {
	align-self: flex-start;
	margin-bottom: 1rem;
	padding: 4px 12px;
	border-radius: 50rem;
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
}
.plan-name {
	margin: 0 0 0.375rem;
	font-size: 21px;
	font-weight: 800;
	color: var(--ink);
}
.plan-tag {
	margin-bottom: 1.25rem;
	font-size: 13.5px;
	color: var(--inksoft);
}
.plan-list {
	flex: 1;
	margin: 0 0 1.75rem;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.check-li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13.5px;
	line-height: 1.375;
	color: var(--ink);
}
.check-li .bi {
	margin-top: 1px;
	flex-shrink: 0;
	font-size: 16px;
	line-height: 1.2;
	color: var(--green);
	-webkit-text-stroke: 0.6px;
}
#premiumModal .check-li {font-size: 14px;}
.plan-cta {
	padding: 0.75rem 1.5rem;
	font-size: 14px;
}

/* ---------- Método / Por qué presencial ---------- */
.method {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding: var(--sec-y) var(--px-page);
	background: var(--navy2);
}
@media (min-width: 992px) {
	.method {
		grid-template-columns: 0.8fr 1.2fr;
		gap: 60px;
	}
}
.method-title {
	margin: 0.75rem 0 1rem;
	font-size: clamp(1.5rem, 1.2vw + 1.1rem, 1.875rem);
	font-weight: 800;
	line-height: 1.25;
	color: #fff;
}
.method-lead {
	max-width: 380px;
	font-size: 15.5px;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.62);
}
.feature {
	display: flex;
	gap: 0.875rem;
}
.feature-icon {
	flex-shrink: 0;
	font-size: 22px;
	line-height: 1;
	color: var(--yellow);
	-webkit-text-stroke: 0.3px;
}
.feature h4 {
	margin: 0 0 0.375rem;
	font-size: 15.5px;
	font-weight: 700;
	color: #fff;
}
.feature p {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.58);
}

/* ---------- Sedes ---------- */
.sede-card {
	height: 100%;
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 1rem;
	transition: box-shadow 0.3s;
}
.sede-card:hover {
	box-shadow: 0 18px 40px -20px rgba(7, 51, 73, 0.3);
}
.sede-card .pin {
	flex-shrink: 0;
	font-size: 24px;
	line-height: 1;
	color: var(--green);
}
.sede-card h3 {
	margin: 0 0 0.25rem;
	font-size: 19px;
	font-weight: 700;
	color: var(--ink);
}
.sede-card p {
	margin: 0;
	font-size: 13.5px;
	color: var(--inksoft);
}
.sede-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--blue);
	text-decoration: none;
	transition: color 0.2s;
}
.sede-link:hover {color: var(--navy);}

/* ---------- Materiales (Presencial) ---------- */
.materials-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}
.mat {
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 18px 40px -20px rgba(7, 51, 73, 0.3);
}
.mat img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s ease-out;
}
.mat:hover img {transform: scale(1.06);}
.mat-1 {grid-column: span 2;}
.mat-1 img {aspect-ratio: 4/5;}
.mat-2 {grid-column: span 2;}
.mat-2 img {aspect-ratio: 16/10;}
.mat-3 img, .mat-4 img {aspect-ratio: 1;}
@media (min-width: 576px) {
	.materials-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(2, 1fr);
		height: 560px;
	}
	.mat-1 {
		grid-column: auto;
		grid-row: span 2;
	}
	.mat-2 {
		grid-column: span 2;
	}
	.mat img {
		aspect-ratio: auto !important;
	}
}

/* ---------- Carrusel (Embla Carousel, igual que el original) ---------- */
.embla {--b: var(--b-xs, 82%);}
.embla__viewport {
	overflow: hidden;
	cursor: grab;
}
.embla__viewport.is-dragging {
	cursor: grabbing;
}
.embla__container {
	display: flex;
	margin-left: -1rem;
	touch-action: pan-y pinch-zoom;
}
.embla__slide {
	flex: 0 0 var(--b);
	min-width: 0;
	padding-left: 1rem;
}
.embla__slide > * {
	height: 100%;
	user-select: none;
}
@media (min-width: 576px) {
	.embla {
		--b: var(--b-sm, 50%);
	}
}
@media (min-width: 992px) {
	.embla {
		--b: var(--b-lg, 33.3333%);
	}
}

.cx-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
}
.cx-arrow {
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: #fff;
	color: var(--ink);
	transition: background-color 0.2s;
}
.cx-arrow:hover {
	background: var(--paper);
}
.cx-arrow .bi {
	font-size: 14px;
	line-height: 1;
	-webkit-text-stroke: 0.5px;
}
.cx-dots {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.cx-dot {
	height: 8px;
	width: 8px;
	padding: 0;
	border: 0;
	border-radius: 50rem;
	background: var(--line);
	transition:
		width 0.2s,
		background-color 0.2s;
}
.cx-dot:hover {
	background: rgba(76, 98, 112, 0.4);
}
.cx-dot.active {
	width: 24px;
	background: var(--blue);
}

/* ---------- Horarios ---------- */
.day-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 1rem;
	transition: box-shadow 0.3s;
}
.day-card:hover {box-shadow: 0 18px 40px -20px rgba(7, 51, 73, 0.3);}
.day-head {
	padding: 0.875rem 1.25rem;
	background: var(--navy);
	font-size: 13.5px;
	font-weight: 700;
	letter-spacing: 0.025em;
	color: #fff;
}
.day-slot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 1.25rem;
}
.day-slot + .day-slot {border-top: 1px solid var(--line);}
.slot-time {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink);
}
.slot-tutor {
	font-size: 11.5px;
	color: var(--inksoft);
}
.slot-type {
	flex-shrink: 0;
	padding: 4px 10px;
	border-radius: 50rem;
	background: #eaf5ee;
	font-size: 11px;
	font-weight: 700;
	color: var(--green);
}

/* ---------- Testimonios ---------- */
.rating-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 8px 14px;
	border: 1px solid var(--line);
	border-radius: 50rem;
	background: #fff;
}
.rating-pill.dark {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
}
.rating-pill .score {
	font-size: 13.5px;
	font-weight: 700;
	color: var(--ink);
}
.rating-pill .lbl {
	font-size: 12.5px;
	color: var(--inksoft);
}
.rating-pill.dark .score {color: #fff;}
.rating-pill.dark .lbl {color: rgba(255, 255, 255, 0.55);}
.rating-pill .stars {
	display: flex;
	gap: 1px;
	font-size: 12px;
	color: var(--yellow);
}
.g-logo {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.t-card {
	display: flex;
	flex-direction: column;
	padding: 1.75rem;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 1rem;
	transition: box-shadow 0.3s;
}
.t-card:hover {box-shadow: 0 18px 40px -20px rgba(7, 51, 73, 0.3);}
.t-card .stars {
	display: flex;
	gap: 2px;
	font-size: 15px;
	color: var(--yellow);
}
.t-card .g-logo {
	width: 18px;
	height: 18px;
}
.t-quote {
	flex: 1;
	margin: 0.5rem 0 1.125rem;
	font-size: 15px;
	font-style: italic;
	line-height: 1.625;
	color: var(--ink);
}
.t-author {
	margin: 0;
	font-size: 12.5px;
	color: var(--inksoft);
}

.video-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 16/9;
	overflow: hidden;
	border-radius: 1rem;
	text-decoration: none;
	transition: transform 0.3s;
}
.video-card:hover {transform: scale(1.01);}
.video-card .glow {
	position: absolute;
	inset: 0;
	opacity: 0.2;
	background: radial-gradient(circle at 30% 20%, #fff, transparent 60%);
}
.video-card .play {
	position: relative;
	width: 64px;
	height: 64px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
	color: var(--navy);
	font-size: 30px;
	transition: transform 0.3s;
}
.video-card:hover .play {transform: scale(1.1);}
.video-card .play .bi {
	line-height: 1;
	margin-left: 2px;
}
.video-card .vlabel {
	position: absolute;
	left: 1rem;
	right: 1rem;
	bottom: 1rem;
	font-size: 13px;
	font-weight: 600;
	color: #fff;
}
.video-card .vtag {
	position: absolute;
	right: 1rem;
	top: 1rem;
	padding: 4px 10px;
	border-radius: 50rem;
	background: rgba(0, 0, 0, 0.3);
	font-size: 10.5px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.025em;
	color: rgba(255, 255, 255, 0.85);
}

/* ---------- CTA final ---------- */
.cta {
	padding: var(--sec-y) var(--px-page);
	text-align: center;
	background: linear-gradient(160deg, #0a4560 0%, #073349 70%);
}
.cta-title {
	margin-bottom: 1rem;
	font-size: clamp(1.5rem, 1.6vw + 1rem, 2.0625rem);
	font-weight: 800;
	color: #fff;
}
.cta-lead {
	margin-bottom: 2rem;
	font-size: 15px;
	color: rgba(255, 255, 255, 0.62);
}
@media (min-width: 768px) {
	.cta-lead {
		font-size: 16.5px;
	}
}
.cta-aside {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.5);
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--deep);
	padding: 3.5rem var(--px-page) 2.5rem;
	scroll-margin-top: 6rem;
}
@media (min-width: 768px) {
	.site-footer {
		padding-top: 56px;
	}
}
.footer-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
	.footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
		gap: 2.5rem;
	}
}
.footer-logo {
	height: 32px;
	width: auto;
	margin-bottom: 0.875rem;
}
.footer-about {
	max-width: 280px;
	font-size: 13.5px;
	line-height: 1.625;
	color: rgba(255, 255, 255, 0.5);
}
.footer-h {
	margin-bottom: 0.875rem;
	font-size: 11.5px;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.4);
}
.footer-li {
	margin-bottom: 0.625rem;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.7);
}
.footer-bottom {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 1.25rem;
}
@media (min-width: 768px) {
	.footer-bottom {
		flex-direction: row;
		align-items: center;
	}
}
.footer-copy {
	font-size: 11.5px;
	color: rgba(255, 255, 255, 0.35);
}
.footer-switch {
	background: none;
	border: 0;
	padding: 0;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--yellow);
	transition: color 0.2s;
}
.footer-switch:hover {color: #fff;}

/* ---------- Modal Premium (Bootstrap modal) ---------- */
.premium-modal {
	border: 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}
.premium-img {
	width: 100%;
	aspect-ratio: 16/9;
	object-fit: cover;
	display: block;
}
.premium-close {
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 2;
	width: 32px;
	height: 32px;
	padding: 0;
	border-radius: 50%;
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.9);
	background-size: 12px;
	background-position: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(4px);
}
.premium-close:hover {background-color: #fff;}

/* ---------- Toast ---------- */
.app-toast {
	min-width: 300px;
	border-radius: 0.75rem;
	border: 1px solid var(--line);
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.35);
}

/* Modal: overlay fade-in (.4s) y diálogo fade-up (.5s), como el original */
#premiumModal.modal.fade .modal-dialog {
	transform: translateY(10px);
	opacity: 0;
	transition:
		transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
#premiumModal.modal.show .modal-dialog {
	transform: none;
	opacity: 1;
}
.modal-backdrop {--bs-backdrop-opacity: 0.55;}
.modal-backdrop.fade {transition: opacity 0.4s ease-out;}

/* ========================================== */
/* PAGINA PRINCIPAL */
/* ========================================== */

/* Efectos Extras para los cambios nuevos */
.entrada-plan-card .arrow {transition: all 0.3s ease;}
.entrada-plan-card:hover .arrow {transform: translateX(5px);}

/* ========================================== */
/* Estadisticas */
/* ========================================== */
.estadistica-valor {
	color: var(--brand-yellow, #facc15);
	font-size: 34px;
	line-height: 1.2;
	font-weight: 800 !important;
}

.estadistica-descripcion {
	color: rgba(255, 255, 255, 0.7);
	font-size: 14px;
	line-height: 1.6;
}

@media (min-width: 768px) {
	.estadistica-valor {
		font-size: 40px;
	}
}


/* ========================================== */
/* Tarjeta FAQ */
/* ========================================== */
.faq {
	--faq-ink: #073349;
	--faq-ink-soft: #526875;
	--faq-line: #e0e8ed;
	--faq-blue: #047c9f;
	
	border-color: var(--faq-line) !important;
	color: var(--faq-ink);
	transition:
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

/* Eliminar el marcador nativo de details */
.faq > summary {list-style: none;}
.faq > summary::-webkit-details-marker {display: none;}

/* Pregunta */
.faq .faq-summary {
	cursor: pointer;
	color: var(--faq-ink);
	user-select: none;
}

.faq .faq-question {
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1.5;
}

/* Icono de Bootstrap Icons */
.faq .faq-icon {
	color: var(--faq-blue);
	font-size: 1.125rem;
	transition: transform 0.25s ease;
}

/* Girar el signo + cuando se abre la respuesta */
.faq[open] .faq-icon {transform: rotate(45deg);}

/* Sombra al abrir */
.faq[open] {box-shadow: 0 18px 40px -24px rgba(7, 51, 73, 0.3);}

/* Respuesta */
.faq .faq-answer {
	color: var(--faq-ink-soft);
	font-size: 14.5px;
	line-height: 1.75;
}

/* Enlaces */
.faq .faq-link {
	color: #047c9f;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.faq .faq-link:hover {color: #035b75;}

/* Accesibilidad con teclado */
.faq .faq-summary:focus-visible {
	outline: 2px solid #047c9f;
	outline-offset: 3px;
	border-radius: 4px;
}

/* Animaciones reducidas */
@media (prefers-reduced-motion: reduce) {
	.faq, .faq .faq-icon {
		transition: none;
	}
}

/* ========================================== */
/* Footer */
/* ========================================== */
.site-footer a {
	border: none;
	cursor: pointer;
	background: none;
	color: #ffffffb3;
	text-decoration: none;
}
.site-footer a:hover {color: #fff;}

/* ========================================== */


/* ========================================== */
/* Footer */
/* ========================================== */

.wa-float {
	right: 24px;
	bottom: 24px;
	z-index: 1040;
	
	width: 56px;
	height: 56px;
	
	background-color: #1FAF55;
	box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45) !important;
	
	text-decoration: none;
	transition: all 0.2s ease;
}

.wa-float:hover {
	transform: scale(1.05);
	background-color: #1FAF55;
}

.wa-float:focus-visible {
	outline: 3px solid #128c43;
	outline-offset: 4px;
}

.wa-float svg {flex-shrink: 0;}

@media (max-width: 575.98px) {
	.wa-float {
		right: 16px;
		bottom: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wa-float {
		transition: none;
	}
}
.wa-float.is-hidden{
	opacity: 0;
	transform: scale(.8);
	pointer-events: none
}

/* ========================================== */
/* Enlaces de estudiante */
/* ========================================== */
.enlace-estudiante {
	color: rgba(255, 255, 255, 0.6);
	font-size: 12.5px;
	text-decoration-color: rgba(255, 255, 255, 0.25) !important;
	text-underline-offset: 4px;
	transition: color 0.2s ease;
}

.enlace-estudiante:hover {color: #fff;}
/* ========================================== */

/* =========================================
   SECCIÓN APP INTENPRO
========================================= */

#v-app {
    --app-ink: #073349;
    --app-ink-soft: #526875;
    --app-blue: #047c9f;
    --app-green: #29b26b;
    --app-yellow: #facc15;
    --app-navy: #073349;
    --app-line: rgba(7, 51, 73, 0.15);

    scroll-margin-top: 6rem;
    color: var(--app-ink);
}

/* Etiqueta superior */
#v-app .app-eyebrow {
    color: var(--app-blue);
    font-size: 12px;
    letter-spacing: 0.12em;
}

/* Título */
#v-app .app-title {
    color: var(--app-ink);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    text-wrap: balance;
}

/* Descripción */
#v-app .app-description {
    max-width: 460px;
    color: var(--app-ink-soft);
    font-size: 15px;
    line-height: 1.75;
}

/* Características */
#v-app .app-features {
    color: var(--app-ink);
    font-size: 14.5px;
    line-height: 1.6;
}

#v-app .app-check {
    margin-top: 2px;
    color: var(--app-green);
    font-size: 16px;
    font-weight: 700;
}

/* Botón principal */
#v-app .app-btn-primary {
    padding: 0.875rem 1.5rem;
    border: 1px solid var(--app-yellow);
    background-color: var(--app-yellow);
    color: var(--app-navy);
    font-size: 14.5px;
    font-weight: 700;
    transition:
        filter 0.2s ease,
        transform 0.2s ease;
}

#v-app .app-btn-primary:hover {
    filter: brightness(1.05);
    color: var(--app-navy);
    transform: translateY(-1px);
}

/* Botones de las tiendas */
#v-app .app-btn-store {
    padding: 0.75rem 1.25rem;
    border: 1.5px solid var(--app-line);
    background-color: transparent;
    color: var(--app-navy);
    font-size: 14px;
    font-weight: 700;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

#v-app .app-btn-store:hover {
    border-color: var(--app-line);
    background-color: #fff;
    color: var(--app-navy);
}

/* Contenedor del video */
#v-app .app-video-wrapper {
    width: 100%;
}

#v-app .app-video {
    background-color: var(--app-navy);
    border-radius: 24px !important;
    box-shadow: 0 30px 70px -24px rgba(7, 51, 73, 0.55);
}

#v-app .app-video video {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Botón para activar/desactivar el sonido */
#v-app .app-sound {
    top: 1rem !important;
    right: 1rem !important;
    z-index: 2;
    padding: 0.5rem 1rem;
    background-color: rgba(7, 51, 73, 0.88);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background-color 0.2s ease;
}

#v-app .app-sound:hover {
    background-color: var(--app-navy);
    color: #fff;
}

#v-app .app-sound i {
    font-size: 16px;
}

/* Pantallas medianas y grandes */
@media (min-width: 768px) {
    #v-app .app-title {
        font-size: 33px;
    }

    #v-app .app-description {
        font-size: 16.5px;
    }
}

/* Móviles */
@media (max-width: 575.98px) {
    #v-app .app-title {
        font-size: 1.75rem;
    }

    #v-app .app-btn-primary,
    #v-app .app-btn-store {
        padding: 0.75rem 1rem;
    }

    #v-app .app-sound {
        top: 0.75rem !important;
        right: 0.75rem !important;
    }
}

/* Respeto por la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    #v-app .app-btn-primary,
    #v-app .app-btn-store,
    #v-app .app-sound {
        transition: none;
    }
}
/* ========================================== */


/* ==============================
   SECCIÓN DE TESTIMONIOS EN VIDEO
   ============================== */

/* Tarjetas */
#v-videos .video-card {
	aspect-ratio: 16 / 9;
	padding: 0;
	border: 0;
	border-radius: 1rem;
	background: var(--video-bg, linear-gradient(150deg, #0a4560 0%, #073349 70%));
	cursor: pointer;
	isolation: isolate;
	transform: scale(1);
	transition: transform 0.25s ease;
}

#v-videos .video-card:hover {transform: scale(1.01);}

#v-videos .video-card:focus-visible {
	outline: 3px solid var(--brand-bluetext, #0090ff);
	outline-offset: 4px;
}

/* Miniatura */

#v-videos .video-thumbnail {
	z-index: -2;
	object-fit: cover;
	opacity: 0.8;
	transition: opacity 0.25s ease;
}

#v-videos .video-card:hover .video-thumbnail {opacity: 0.95;}

/* Degradado sobre la miniatura */

#v-videos .video-overlay {
	z-index: -1;
	background: linear-gradient(
	    180deg,
	    rgba(7, 51, 73, 0) 40%,
	    rgba(7, 51, 73, 0.85) 100%
	);
	pointer-events: none;
}

/* Botón de reproducción */

#v-videos .video-play {
	width: 4rem;
	height: 4rem;
	flex-shrink: 0;
	background: rgba(255, 255, 255, 0.95);
	transition: transform 0.25s ease;
}

#v-videos .video-card:hover .video-play {transform: scale(1.1);}

/* Texto inferior */

#v-videos .video-caption {
	right: 1rem;
	bottom: 1rem;
	left: 1rem;
	font-size: 13px;
	line-height: 1.5;
	pointer-events: none;
}

/* Etiqueta YouTube */

#v-videos .video-platform {
	top: 1rem;
	right: 1rem;
	padding: 0.35rem 0.625rem;
	background: rgba(0, 0, 0, 0.5);
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Botón para cargar más */

#v-videos .video-more {
	padding: 0.75rem 1.5rem;
	border: 1.5px solid rgba(7, 51, 73, 0.15);
	background: transparent;
	color: var(--brand-navy, #073349);
	font-size: 14px;
	transition: background-color 0.2s ease;
}

#v-videos .video-more:hover {background-color: #fff;}

/* Responsive */

@media (min-width: 768px) {
	#v-videos {
		padding-left: 90px;
		padding-right: 90px;
		padding-bottom: 6rem !important;
	}
		
	#v-videos .videos-title {
		font-size: 30px;
	}
		
	#v-videos .videos-description {
		font-size: 16.5px;
	}
}

@media (max-width: 575.98px) {
	#v-videos .video-card {
		border-radius: 0.875rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	#v-videos .video-card,
	#v-videos .video-thumbnail,
	#v-videos .video-play,
	#v-videos .video-more {
		transition: none;
	}
}

/* ========================================== */


/* =========================================
   SHOW VIDEOS
========================================= */
/* Modal de videos */
#modal-video {
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
}

#modal-video .video-modal-dialog {
    width: 100%;
    max-width: 896px;
    margin: auto;
}

#modal-video .video-modal-content {
    position: relative;
    border: 0;
    border-radius: 1rem;
    background: transparent;
    box-shadow: none;
}

#modal-video .video-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    z-index: 5;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: rgba(255, 255, 255, 0.9);
    color: var(--brand-ink, #073349);
    transition: background-color 0.2s ease;
}

#modal-video .video-modal-close:hover {
    background: #fff;
}

#modal-video .video-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    animation: video-fade-up 0.3s ease both;
}

#modal-video .video-frame iframe,
#modal-video .video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@keyframes video-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 575.98px) {
    #modal-video {
        padding: 1rem;
    }

    #modal-video .video-modal-close {
        top: -2.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #modal-video .video-frame {
        animation: none;
    }
}
/* ========================================== */