:root {
	--navy: #0b2442;
	--blue: #135f9f;
	--azure: #3da6d8;
	--sky: #cfeefb;
	--powder: #eef8fc;
	--cream: #fffaf0;
	--gold: #d2ad67;
	--gold-soft: #f0dfb8;
	--ink: #17283a;
	--muted: #647486;
	--white: #fff;
	--line: rgba(11, 36, 66, 0.11);
	--shadow: 0 24px 70px rgba(11, 36, 66, 0.12);
	--shadow-sm: 0 12px 38px rgba(11, 36, 66, 0.08);
	--radius: 30px;
	--container: min(1180px, calc(100% - 40px));
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: "DM Sans", sans-serif;
	color: var(--ink);
	background: var(--cream);
	line-height: 1.65;
	overflow-x: hidden;
}
body.no-scroll {
	overflow: hidden;
}
img {
	max-width: 100%;
	display: block;
}
a {
	text-decoration: none;
	color: inherit;
}
button {
	font: inherit;
	cursor: pointer;
}
.container {
	width: var(--container);
	margin-inline: auto;
}

.announcement {
	background: var(--navy);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.78rem;
}
.announcement .container {
	min-height: 38px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}
.announcement-left,
.announcement-right {
	display: flex;
	align-items: center;
	gap: 16px;
}
.announcement i {
	color: var(--gold-soft);
}
.announcement a:hover {
	color: #fff;
}

.header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 250, 240, 0.92);
	backdrop-filter: blur(18px);
	border-bottom: 1px solid transparent;
	transition: 0.25s ease;
}
.header.scrolled {
	border-color: var(--line);
	box-shadow: 0 9px 30px rgba(11, 36, 66, 0.07);
}
.navbar {
	width: var(--container);
	min-height: 82px;
	margin: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 25px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 13px;
	min-width: 0;
}
.brand-mark {
	position: relative;
	width: 56px;
	height: 56px;
	flex: 0 0 auto;
}
.brand-mark::after {
	content: "";
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 1px solid rgba(210, 173, 103, 0.55);
}
.brand img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 6px 18px rgba(11, 36, 66, 0.15);
}
.brand-copy strong {
	display: block;
	color: var(--navy);
	font-size: 0.94rem;
	line-height: 1.08;
}
.brand-copy span {
	display: block;
	color: var(--muted);
	font-size: 0.7rem;
	margin-top: 4px;
}
.navlinks {
	display: flex;
	align-items: center;
	gap: 3px;
}
.navlinks > a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 13px;
	border-radius: 999px;
	color: var(--navy);
	font-size: 0.83rem;
	font-weight: 700;
	transition: 0.2s;
}
.navlinks > a:hover,
.navlinks > a.active {
	background: var(--powder);
	color: var(--blue);
}
.navlinks .portal {
	margin-left: 8px;
	background: var(--navy);
	color: #fff;
	padding-inline: 17px;
	box-shadow: 0 9px 24px rgba(11, 36, 66, 0.18);
}
.navlinks .portal:hover {
	background: var(--blue);
	color: #fff;
	transform: translateY(-1px);
}
.menu-btn {
	display: none;
	width: 46px;
	height: 46px;
	border: 0;
	border-radius: 15px;
	background: var(--navy);
	color: #fff;
}

.hero {
	position: relative;
	min-height: 745px;
	display: grid;
	align-items: center;
	overflow: hidden;
	isolation: isolate;
	background: var(--navy);
}
.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;
	background: url("/images/hero-desktop.jpg") center 35% / cover no-repeat;
	filter: saturate(0.8) contrast(1.03);
}
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(
		90deg,
		rgba(7, 27, 51, 0.97) 0%,
		rgba(9, 40, 73, 0.91) 48%,
		rgba(11, 36, 66, 0.43) 78%,
		rgba(11, 36, 66, 0.28) 100%
	);
}
.hero-ring {
    position: absolute;
    right: -130px;
    top: -210px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(240, 223, 184, 0.22);
    border-radius: 50%;
    box-shadow:
        0 0 0 72px rgba(240, 223, 184, 0.035),
        0 0 0 145px rgba(240, 223, 184, 0.018);
    z-index: -1;
}
.hero-inner {
	width: var(--container);
	margin: auto;
	padding: 95px 0 100px;
	display: grid;
	grid-template-columns: 1fr 0.65fr;
	gap: 70px;
	align-items: end;
}
.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gold-soft);
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	font-weight: 800;
	margin-bottom: 22px;
}
.hero-kicker i {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.13);
}
.hero h1 {
	font-family: "Playfair Display", serif;
	font-size: clamp(3.5rem, 7vw, 6.5rem);
	line-height: 0.93;
	letter-spacing: -0.05em;
	font-weight: 600;
	color: #fff;
	margin: 0;
	max-width: 820px;
}
.hero h1 span {
	color: #aee2f7;
	font-style: italic;
}
.hero p {
	max-width: 660px;
	color: rgba(255, 255, 255, 0.76);
	font-size: 1.04rem;
	margin: 25px 0 0;
}
.hero-card {
	padding: 28px;
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.14);
	backdrop-filter: blur(14px);
	color: #fff;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.14);
}
.hero-card-icon {
	width: 58px;
	height: 58px;
	border-radius: 18px;
	background: linear-gradient(
		145deg,
		rgba(174, 226, 247, 0.22),
		rgba(255, 255, 255, 0.07)
	);
	display: grid;
	place-items: center;
	color: var(--gold-soft);
	font-size: 1.2rem;
	margin-bottom: 18px;
}
.hero-card strong {
	display: block;
	font-family: "Playfair Display", serif;
	font-size: 1.75rem;
	line-height: 1.15;
}
.hero-card p {
	font-size: 0.9rem;
	margin: 10px 0 20px;
}
.hero-card ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}
.hero-card li {
	display: flex;
	gap: 10px;
	align-items: center;
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.86rem;
}
.hero-card li i {
	color: #aee2f7;
	width: 18px;
	text-align: center;
}

.section {
	padding: 100px 0;
	position: relative;
}
.section-head {
	max-width: 760px;
	margin-bottom: 48px;
}
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	font-weight: 800;
	color: var(--blue);
}
.eyebrow i {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--sky);
	color: var(--navy);
}
.title {
	font-family: "Playfair Display", serif;
	font-size: clamp(2.5rem, 5vw, 4.8rem);
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: var(--navy);
	margin: 18px 0 0;
}
.lead {
	color: var(--muted);
	font-size: 1.02rem;
	margin: 18px 0 0;
	max-width: 720px;
}

.career-list {
	display: grid;
	gap: 34px;
}
.career-card {
	display: grid;
	grid-template-columns: minmax(0, 1.07fr) minmax(360px, 0.93fr);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 34px;
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}
.career-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
}
.career-card:nth-child(even) {
	grid-template-columns: minmax(360px, 0.93fr) minmax(0, 1.07fr);
}
.career-card:nth-child(even) .career-copy {
	order: 2;
}
.career-card:nth-child(even) .plan-preview {
	order: 1;
}

.career-copy {
	padding: 46px 46px 44px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.career-number {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--blue);
	font-weight: 800;
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.13em;
}
.career-number span {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--powder);
	color: var(--blue);
}
.career-copy h2 {
	font-family: "Playfair Display", serif;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.03;
	letter-spacing: -0.03em;
	margin: 18px 0 16px;
}
.career-copy > p {
	color: var(--muted);
	margin: 0 0 25px;
	max-width: 620px;
}
.career-meta {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 5px 0 28px;
}
.meta {
	padding: 15px 16px;
	border-radius: 18px;
	background: var(--powder);
	border: 1px solid rgba(19, 95, 159, 0.06);
}
.meta i {
	color: var(--blue);
	margin-right: 7px;
}
.meta strong {
	color: var(--navy);
	font-size: 0.82rem;
}
.meta span {
	display: block;
	color: var(--muted);
	font-size: 0.73rem;
	margin-top: 3px;
}
.career-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 11px;
}
.btn {
	min-height: 50px;
	padding: 0 18px;
	border-radius: 15px;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-weight: 800;
	transition: 0.22s ease;
}
.btn-primary {
	background: var(--navy);
	color: #fff;
	box-shadow: 0 12px 30px rgba(11, 36, 66, 0.16);
}
.btn-primary:hover {
	background: var(--blue);
	transform: translateY(-2px);
}
.btn-soft {
	background: var(--powder);
	border-color: rgba(19, 95, 159, 0.08);
	color: var(--blue);
}
.btn-soft:hover {
	background: var(--sky);
	transform: translateY(-2px);
}

.plan-preview {
	position: relative;
	min-height: 560px;
	background: #dceef7;
	overflow: hidden;
}
.plan-preview::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 44%;
	background: linear-gradient(to top, rgba(7, 26, 49, 0.77), transparent);
	pointer-events: none;
}
.plan-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.5s ease;
	filter: saturate(0.95) contrast(0.99);
}
.career-card:hover .plan-preview img {
	transform: scale(1.025);
}
.plan-badge {
	position: absolute;
	left: 22px;
	top: 22px;
	z-index: 2;
	padding: 8px 11px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(8px);
	font-size: 0.72rem;
	font-weight: 800;
	color: var(--navy);
	box-shadow: 0 8px 24px rgba(11, 36, 66, 0.12);
}
.plan-hint {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 22px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	color: #fff;
}
.plan-hint strong {
	font-size: 0.95rem;
}
.plan-hint span {
	font-size: 0.76rem;
	color: rgba(255, 255, 255, 0.78);
	display: block;
	margin-top: 3px;
}
.zoom-button {
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.11);
	backdrop-filter: blur(8px);
	color: #fff;
	display: grid;
	place-items: center;
	flex: 0 0 auto;
}

.video-section {
	padding: 0 0 105px;
}
.video-card {
	position: relative;
	overflow: hidden;
	border-radius: 34px;
	padding: 50px 52px;
	background: linear-gradient(135deg, var(--navy), #123c66 62%, #165f96);
	color: #fff;
	box-shadow: var(--shadow);
}
.video-card::after {
	content: "";
	position: absolute;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	right: -120px;
	top: -170px;
	border: 1px solid rgba(240, 223, 184, 0.2);
	box-shadow:
		0 0 0 45px rgba(240, 223, 184, 0.035),
		0 0 0 90px rgba(240, 223, 184, 0.018);
}
.video-card-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 40px;
	align-items: center;
}
.video-icon {
	width: 66px;
	height: 66px;
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.09);
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	place-items: center;
	color: #ff6961;
	font-size: 1.45rem;
	margin-bottom: 18px;
}
.video-card h2 {
	font-family: "Playfair Display", serif;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.05;
	margin: 0;
}
.video-card p {
	color: rgba(255, 255, 255, 0.72);
	margin: 14px 0 0;
	max-width: 720px;
}
.btn-video {
	background: #fff;
	color: var(--navy);
	white-space: nowrap;
}
.btn-video:hover {
	background: var(--gold-soft);
	transform: translateY(-2px);
}

.footer {
	background: #071a31;
	color: rgba(255, 255, 255, 0.68);
	padding: 72px 0 26px;
}
.footer-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.7fr 0.9fr;
	gap: 50px;
}
.footer-brand {
	display: flex;
	align-items: center;
	gap: 13px;
	margin-bottom: 18px;
}
.footer-brand img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
}
.footer-brand strong {
	color: #fff;
	line-height: 1.15;
}
.footer h4 {
	font-size: 0.73rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: var(--gold-soft);
	margin: 0 0 14px;
}
.footer-links {
	display: grid;
	gap: 8px;
	font-size: 0.87rem;
}
.footer a:hover {
	color: #fff;
}
.socials {
	display: flex;
	gap: 10px;
	margin-top: 20px;
}
.socials a {
	width: 43px;
	height: 43px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	display: grid;
	place-items: center;
	color: #fff;
}
.footer-bottom {
	margin-top: 48px;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	font-size: 0.78rem;
}

.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 1600;
	background: rgba(7, 26, 49, 0.98);
	backdrop-filter: blur(18px);
	opacity: 0;
	visibility: hidden;
	transition: 0.22s;
	display: grid;
	place-items: center;
}
.mobile-menu.open {
	opacity: 1;
	visibility: visible;
}
.mobile-nav {
	width: min(360px, calc(100% - 36px));
	display: grid;
	gap: 8px;
	text-align: center;
}
.mobile-nav a {
	padding: 14px;
	border-radius: 14px;
	color: #fff;
	font-weight: 800;
}
.mobile-nav a:hover {
	background: rgba(255, 255, 255, 0.07);
}
.mobile-close {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.13);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.viewer {
	position: fixed;
	inset: 0;
	z-index: 2500;
	background: rgba(2, 12, 24, 0.95);
	backdrop-filter: blur(12px);
	opacity: 0;
	visibility: hidden;
	transition: 0.22s;
	display: grid;
	grid-template-rows: auto 1fr;
}
.viewer.open {
	opacity: 1;
	visibility: visible;
}
.viewer-bar {
	min-height: 70px;
	padding: 12px 18px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	color: #fff;
}
.viewer-bar strong {
	font-size: 0.9rem;
}
.viewer-actions {
	display: flex;
	gap: 8px;
}
.viewer-actions a,
.viewer-actions button {
	height: 42px;
	padding: 0 14px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.viewer-scroll {
	overflow: auto;
	padding: 24px;
	display: flex;
	justify-content: center;
	align-items: flex-start;
}
.viewer-scroll img {
	width: min(960px, 100%);
	height: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

.reveal {
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.7s ease,
		transform 0.7s ease;
}
.reveal.visible {
	opacity: 1;
	transform: none;
}

/* ========================================
   HERO - DESKTOP
   ======================================== */

@media (min-width: 1200px) {
	.hero::before {
		background-size: auto 110%;
		background-position: calc(100% + 300px) 52%;
		background-repeat: no-repeat;
	}
}


/* ========================================
   AJUSTES PARA DESKTOP / NOTEBOOK MEDIANO
   1001px - 1450px
   ======================================== */

@media (min-width: 1001px) and (max-width: 1450px) {

	.hero-inner {
		grid-template-columns: 1.12fr 0.62fr;
		gap: 45px;
		padding: 72px 0 82px;
	}

	.hero h1 {
		font-size: clamp(4.5rem, 6vw, 5.35rem);
		line-height: 0.91;
		max-width: 720px;
	}

	.hero-inner > div > p {
		max-width: 650px;
		font-size: 0.98rem;
		margin: 24px 0 0;
	}

	/* Card académica más compacta */
	.hero-card {
		width: 100%;
		max-width: 350px;

		justify-self: end;

		padding: 22px;
		border-radius: 24px;

		margin-right: clamp(20px, 7vw, 100px);
	}

	.hero-card-icon {
		width: 48px;
		height: 48px;

		border-radius: 15px;

		font-size: 1rem;
		margin-bottom: 16px;
	}

	.hero-card strong {
		font-size: 1.55rem;
		line-height: 1.13;
	}

	.hero-card > p {
		font-size: 0.82rem;
		margin: 8px 0 17px;
	}

	.hero-card ul {
		gap: 8px;
	}

	.hero-card li {
		gap: 8px;
		font-size: 0.77rem;
	}
}

@media (max-width: 1000px) {
	.announcement {
		display: none;
	}
	.navlinks {
		display: none;
	}
	.menu-btn {
		display: grid;
		place-items: center;
	}
	.hero-inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.hero-card {
		max-width: 600px;
	}
	.career-card,
	.career-card:nth-child(even) {
		grid-template-columns: 1fr;
	}
	.career-card:nth-child(even) .career-copy,
	.career-card:nth-child(even) .plan-preview {
		order: initial;
	}
	.plan-preview {
		min-height: 520px;
	}
	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
	.footer-grid > div:first-child {
		grid-column: 1/-1;
	}
}

@media (max-width: 680px) {
	:root {
		--container: min(100% - 28px, 1180px);
	}
	.navbar {
		min-height: 72px;
	}
	.brand-mark,
	.brand img {
		width: 46px;
		height: 46px;
	}
	.brand-copy strong {
		font-size: 0.8rem;
		max-width: 205px;
	}
	.brand-copy span {
		display: none;
	}
/* ========================================
   HERO MOBILE - CARRERAS
   ======================================== */

.hero {
	position: relative;
	min-height: 850px;
	display: block;
	overflow: hidden;
	background: var(--navy);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -3;

	background-image: url("/images/hero-mobile.jpg?v=7");
	background-size: cover;

	background-position: 66% center;
	background-repeat: no-repeat;

	filter:
		saturate(.94)
		contrast(1.04);
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;

	background:
		linear-gradient(
			90deg,
			rgba(5, 27, 52, .91) 0%,
			rgba(5, 27, 52, .72) 52%,
			rgba(5, 27, 52, .22) 100%
		),
		linear-gradient(
			180deg,
			rgba(5, 27, 52, .36) 0%,
			rgba(5, 27, 52, .12) 65%,
			rgba(5, 27, 52, .03) 100%
		);
}

.hero-ring {
	display: none;
}

.hero-inner {
	position: relative;
	z-index: 2;

	width: var(--container);
	min-height: 850px;

	margin: 0 auto;

	display: block;

	padding: 58px 0 300px;
}

.hero-kicker {
	margin-bottom: 19px;
	font-size: .68rem;
	letter-spacing: .12em;
}

.hero-kicker i {
	width: 32px;
	height: 32px;
}

.hero h1 {
	max-width: 330px;
	margin: 0;

	font-size: clamp(3rem, 14vw, 4.25rem);
	line-height: .91;
	letter-spacing: -.045em;
}

.hero-inner > div > p {
	width: 68%;
	max-width: 245px;

	margin-top: 50px;

	font-size: 1.1rem;
	line-height: 1.68;

	color: rgba(255, 255, 255, .92);

	text-wrap: pretty;
}

.hero-card {
	display: none !important;
}
	.section {
		padding: 76px 0;
	}
	.section-head {
		margin-bottom: 34px;
	}
	.career-copy {
		padding: 31px 24px 30px;
	}
	.career-meta {
		grid-template-columns: 1fr;
	}
	.career-actions .btn {
		width: 100%;
	}
	.plan-preview {
		min-height: 440px;
	}
	.video-section {
		padding-bottom: 78px;
	}
	.video-card {
		padding: 34px 25px;
	}
	.video-card-inner {
		grid-template-columns: 1fr;
	}
	.btn-video {
		width: 100%;
	}
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.footer-grid > div:first-child {
		grid-column: auto;
	}
	.footer-bottom {
		flex-direction: column;
	}
	.viewer-scroll {
		padding: 10px;
	}
	.viewer-actions .label {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition: none !important;
		animation: none !important;
	}
	.reveal {
		opacity: 1;
		transform: none;
	}
}
