:root {
	--blue-600: #1b4b9b;
	--blue-500: #2362cc;
	--blue-400: #3b7be0;
	--silver-100: #f4f6f8;
	--silver-200: #e9eef2;
	--silver-300: #d9e0e6;
	--gray-700: #30343a;
	--gray-800: #21252a;
	--black: #0d0f12;
	--white: #ffffff;
	--shadow-1: 0 10px 30px rgba(0,0,0,0.12);
	--radius: 14px;
}

* { box-sizing: border-box; }
html, body {
	margin: 0;
	padding: 0;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--gray-800);
	background: var(--white);
}
section, footer {
	box-sizing: border-box;
}

.container {
	width: 100%;
	max-width: 1152px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Navbar */
.navbar {
	position: sticky;
	top: 0;
	z-index: 100;
	backdrop-filter: saturate(140%) blur(8px);
	background: rgba(241, 243, 245, 0.822);
	border-bottom: 1px solid var(--silver-200);
}
.navbar .nav-inner {
	position: relative;
	z-index: 101;
}
.nav-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 100px;
}
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--gray-800);
	text-decoration: none;
	font-weight: 700;
	flex-shrink: 1;
	max-width: calc(100% - 60px);
}
.logo { height: 75px; width: auto; }
.logo-texto-nav { height: 300px; width: auto; max-width: 100%; }
#home,
#alianza,
#comunicalo,
#platinum,
#form {
  scroll-margin-top: 100px; /* ajusta según tu navbar */
}
.logodev {
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin: 0 4px;
	display: inline-block;
}
.logo-texto { height: 400px; width: auto; padding-top: 30px}
.nav-links {
	display: flex;
	gap: 20px;
}
.nav-links a {
	color: var(--gray-800);
	text-decoration: none;
	padding: 8px 10px;
	border-radius: 8px;
}
.nav-links a:hover {
	background: var(--silver-100);
}
.nav-toggle {
	display: none;
	background: transparent;
	border: 1px solid var(--silver-300);
	height: 36px;
	width: 36px;
	border-radius: 8px;
}

/* Hero */
.hero {
	position: relative;
	min-height: 68vh;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	background: #0b1220 url("assets/fondo 1.jpg") center center / cover no-repeat;
}
/* Video embebido desde YouTube/Vimeo */
.hero-video-wrapper {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: 1;
}
#youtube-player {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw; /* 16:9 aspect ratio */
	min-height: 100vh;
	min-width: 177.77vh; /* 16:9 aspect ratio */
	transform: translate(-50%, -50%);
	filter: contrast(1.05) brightness(0.7) saturate(1.05);
	pointer-events: none;
}
#youtube-player iframe {
	width: 100%;
	height: 100%;
	border: none;
	pointer-events: none;
}
/* Ocultar elementos de YouTube */
#youtube-player .ytp-watermark,
#youtube-player .ytp-chrome-top,
#youtube-player .ytp-show-cards-title {
	display: none !important;
	opacity: 0 !important;
	visibility: hidden !important;
}
.hero-video-embed {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 56.25vw; /* 16:9 aspect ratio */
	min-height: 100vh;
	min-width: 177.77vh; /* 16:9 aspect ratio */
	transform: translate(-50%, -50%);
	border: none;
	filter: contrast(1.05) brightness(0.7) saturate(1.05);
	pointer-events: none;
}
/* Estilos para embed de Instagram */
.hero-video-wrapper .instagram-media {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 100vw !important;
	height: 100vh !important;
	max-width: none !important;
	min-width: 100% !important;
	transform: translate(-50%, -50%);
	filter: contrast(1.05) brightness(0.7) saturate(1.05);
	pointer-events: none;
	overflow: hidden;
	border: none !important;
	box-shadow: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.hero-video-wrapper .instagram-media iframe {
	width: 100% !important;
	height: 100% !important;
	position: absolute;
	top: 0;
	left: 0;
	border: none !important;
}
.hero-video-fallback {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	z-index: 0;
	filter: contrast(1.05) brightness(0.7) saturate(1.05);
	display: none; /* Se mostrará si hay error con el video */
}
/* Mantener compatibilidad con video HTML5 si se usa */
.hero-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	background: transparent;
	filter: contrast(1.05) brightness(0.7) saturate(1.05);
}
.hero-overlay {
	position: relative;
	z-index: 10;
	width: 100%;
	max-width: 900px;
	text-align: center;
	color: var(--white);
	padding: 0 20px 60px;
}
.hero-overlay h1 {
	margin: 0 0 10px;
	font-size: clamp(24px, 4vw, 40px);
	line-height: 1.15;
	font-weight: 800;
	text-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.hero-overlay p {
	margin: 0 0 24px;
	font-size: clamp(14px, 2.2vw, 18px);
	color: rgba(255,255,255,0.9);
}

/* Sections */
.section {
	padding: 72px 0;
}
.section.alt {
	background: var(--silver-100);
}
.section_alt2 {
	background: linear-gradient(180deg, #313843, #0a45a9);
	color: var(--white);
	margin-bottom: 0 !important;
	margin-top: 0;
	padding-bottom: 16px;
	padding-top: 72px;
	border: none;
	outline: none;
	box-shadow: none;
}
.section_alt2 .brand-col {
	text-align: center;
	margin-top: 40px;
	margin-bottom: 0;
	padding: 0;
	width: 100%;
	line-height: normal;
	font-size: 16px;
	position: relative;
	z-index: 1;
}
.section_alt2 .brand-col .logo {
	height: auto;
	max-height: 350px;
	width: auto;
	max-width: 90%;
	margin: 0 auto 24px;
	display: inline-block;
	object-fit: contain;
}
.social-icons {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-top: 24px;
	position: relative;
	z-index: 1;
}
.social-icons a {
	color: var(--white);
	transition: transform 0.2s ease, opacity 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
.social-icons a:hover {
	transform: translateY(-2px);
	opacity: 0.8;
}
.social-icons svg {
	width: 32px;
	height: 32px;
}
.section_alt2 .container:last-child {
	margin-bottom: 0;
	padding-bottom: 20px;
}
.section_alt2:after,
.section_alt2:before {
	display: none;
	content: none;
}
.section_alt2 .container h2,
.section_alt2 .container p,
.section_alt2 .text h2,
.section_alt2 .text p,
.section_alt2 .text h1 {
	color: var(--white);
}
.form-header {
	text-align: center;
	margin-bottom: 32px;
}
.form-header h2 {
	margin-bottom: 12px;
}
.footer-inner {
	text-align: center;
	display: block;
}
.section_alt2 .text-center {
	color: var(--white);
}
.section_alt2 .form-card {
	background: var(--white);
}
.section_alt2 .form-card label,
.section_alt2 .form-card input,
.section_alt2 .form-card textarea {
	color: var(--gray-800);
}
.grid.two-col {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 36px;
	align-items: center;
}
.grid.two-col.reverse {
	grid-template-columns: 0.9fr 1.1fr;
}
.text h1 {
	font-size: clamp(24px, 4vw, 42px);
	margin: 0 0 24px;
	color: var(--gray-800);
	font-weight: 800;
}
.text h2 {
	font-size: clamp(22px, 3vw, 32px);
	margin: 0 0 12px;
	color: var(--gray-800);
}
.text p {
	margin: 0 0 12px;
	color: #3c4450;
}
.text-center {
	text-align: center;
	margin-bottom: 48px;
}
.button-container {
	margin-top: 24px;
	text-align: left;
}
.bullets {
	padding-left: 18px;
	margin: 8px 0 0;
}
.bullets li { margin: 8px 0; }

/* Sección con contenido centrado al 70% */
.section-content-centered {
	max-width: 70%;
	margin: 0 auto;
}
.section-header {
	text-align: center;
	margin-bottom: 48px;
}
.section-header h2 {
	font-size: clamp(28px, 4vw, 42px);
	margin: 0 0 32px;
	color: var(--gray-800);
	font-weight: 800;
}
.section-media {
	margin: 0 auto 32px;
	max-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.section-media img,
.section-media video {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	box-shadow: var(--shadow-1);
}
.section-media video {
	max-width: 50%;
}
.section-header p {
	font-size: 16px;
	line-height: 1.7;
	color: var(--gray-600);
	max-width: 800px;
	margin: 0 auto;
}

/* Features Grid Horizontal - Tarjetas alineadas horizontalmente */
.features-grid-horizontal {
	display: flex;
	flex-direction: row;
	gap: 16px;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 40px;
}
.feature-card {
	background: var(--white);
	border: 1px solid var(--silver-200);
	border-radius: 12px;
	padding: 20px;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	flex: 1 1 180px;
	min-width: 160px;
	max-width: 200px;
}
.feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.1);
	border-color: var(--blue-400);
}
.feature-card h3 {
	font-size: 16px;
	font-weight: 700;
	color: var(--gray-800);
	margin: 0 0 10px;
	line-height: 1.3;
}
.feature-card p {
	font-size: 13px;
	color: var(--gray-600);
	line-height: 1.5;
	margin: 0 0 12px;
	flex-grow: 1;
}
.feature-link {
	color: var(--blue-600);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s ease, gap 0.2s ease;
	margin-top: auto;
}
.feature-link:hover {
	color: var(--blue-700);
	gap: 8px;
}
.media img {
	width: 100%;
	height: 100%;
	border-radius: var(--radius);
	box-shadow: var(--shadow-1);
}
.media-video {
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: var(--shadow-1);
	display: block;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 10px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	font-weight: 600;
	transition: transform .04s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
	background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
	color: var(--white);
	box-shadow: 0 10px 20px rgba(35,98,204,0.28);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(35,98,204,0.36); }
.btn-ghost {
	background: var(--white);
	border-color: var(--silver-300);
	color: var(--gray-800);
}
.btn-ghost:hover { background: var(--silver-100); }

/* Form */
/* Formulario y Contacto en Grid */
.form-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	margin-top: 32px;
	align-items: stretch;
}
.form-card {
	background: var(--white);
	border: 1px solid var(--silver-200);
	border-radius: 16px;
	padding: 20px;
	box-shadow: var(--shadow-1);
	display: flex;
	flex-direction: column;
	height: 100%;
}
.contact-info {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	padding: 32px;
	color: var(--white);
	display: flex;
	flex-direction: column;
	height: 100%;
	position: relative;
	z-index: 2;
}
.contact-info h3 {
	color: var(--white);
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 24px;
}
.contact-info ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.contact-info li {
	margin-bottom: 16px;
}
.contact-info a {
	color: var(--white);
	text-decoration: none;
	font-size: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
	transition: opacity 0.2s ease;
}
.contact-info a:hover {
	opacity: 0.8;
	text-decoration: underline;
}
.form-card label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
}
.form-card input,
.form-card textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid var(--silver-300);
	background: #fff;
	font-size: 15px;
	outline: none;
}
.form-card input:focus,
.form-card textarea:focus {
	border-color: var(--blue-400);
	box-shadow: 0 0 0 4px rgba(35,98,204,0.12);
}
.steps .step { display: none; }
.steps .step.active { display: block; }
.actions {
	display: flex;
	gap: 12px;
	margin-top: 14px;
}
.progress {
	height: 8px;
	background: var(--silver-200);
	border-radius: 999px;
	margin-top: 16px;
	overflow: hidden;
}
.progress .bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, var(--blue-400), var(--black));
	transition: width .25s ease;
}
.form-note {
	color: #5c6675;
	font-size: 13px;
	margin-top: 10px;
}
.form-status {
	margin-top: 10px;
	font-weight: 600;
}
.form-status.success { color: #0a7a38; }
.form-status.error { color: #b32020; }
.review p { margin: 8px 0; }

/* Footer */
.footer {
	background:  #0c1d50;
	color: var(--white);
	padding: 20px 0;
	margin: 0;
	border: none;
	border-top: none;
	position: relative;
	box-shadow: none;
	outline: none;
}
body > footer {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}
.section_alt2 + footer,
section.section_alt2 + footer,
main + footer {
	margin-top: 0 !important;
	padding-top: 0;
}
main {
	margin-bottom: 0;
	padding-bottom: 0;
}
.footer-inner {
	text-align: center;
	display: block;
}

.footer .brand-col {
	margin-bottom: 0;
}
.footer .brand-col p {
	margin: 0;
	color: rgba(255,255,255,0.9);
	font-weight: 600;
}
.footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.footer h4 {
	color: var(--white);
	font-size: 16px;
	font-weight: 700;
}
.footer .brand-col + h4 {
	margin-top: 8px;
}
.footer ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.footer ul li {
	margin: 6px 0;
}
.muted { 
	color: rgba(255,255,255,0.7); 
	text-align: center;
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive */
@media (max-width: 992px) {
	.grid.two-col,
	.grid.two-col.reverse {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 768px) {
	.logo-texto-nav {
		display: none;
	}
	.logo {
		height: 60px !important;
		width: auto;
	}
	.brand {
		flex-wrap: nowrap;
		gap: 8px;
		max-width: calc(100% - 50px);
		overflow: hidden;
	}
	.nav-inner {
		padding: 12px 16px;
		height: auto;
		min-height: 70px;
	}
	.navbar {
		overflow-x: hidden;
	}
	.section_alt2 {
		padding-bottom: 40px !important;
		margin-bottom: 0 !important;
	}
	.section_alt2 .brand-col {
		margin-top: 40px !important;
	}
	.section_alt2 .brand-col .logo {
		max-height: 200px !important;
		height: auto !important;
	}
	.section_alt2 .social-icons {
		margin-top: 16px !important;
	}
	.footer {
		margin-top: 0 !important;
		padding-top: 20px !important;
	}
	.nav-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		z-index: 1001;
		position: relative;
	}
	.nav-links {
		display: none !important;
	}
	.form-contact-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.contact-info {
		padding: 24px;
	}
	.section-content-centered {
		max-width: 100%;
		padding: 0 20px;
	}
	.section-header {
		margin-bottom: 32px;
	}
	.section-header h2 {
		font-size: 24px;
		margin-bottom: 24px;
	}
	.section-header p {
		font-size: 14px;
	}
	.section-media video {
		max-width: 80%;
	}
	.features-grid-horizontal {
		flex-direction: column;
		gap: 16px;
		margin-top: 32px;
	}
	.feature-card {
		flex: 1 1 100%;
		max-width: 100%;
		min-width: 100%;
		padding: 20px;
	}
	.feature-card h3 {
		font-size: 16px;
	}
	.feature-card p {
		font-size: 13px;
	}
	/* Menú móvil - Oculto por defecto, solo visible en móvil */
	.mobile-menu-overlay,
	.mobile-menu-close,
	.mobile-nav-menu {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}
	
	@media (max-width: 768px) {
		/* Overlay: oculto por defecto, solo visible cuando tiene .active */
		.mobile-menu-overlay {
			display: none !important;
			visibility: hidden !important;
			opacity: 0 !important;
			pointer-events: none !important;
			position: fixed;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, 0.75);
			z-index: 9999;
			backdrop-filter: blur(8px);
			overflow-y: auto;
			-webkit-overflow-scrolling: touch;
		}
		.mobile-menu-overlay.active {
			display: block !important;
			visibility: visible !important;
			opacity: 1 !important;
			pointer-events: auto !important;
			animation: fadeIn 0.3s ease-out;
		}
		/* Botón de cerrar: solo visible cuando el overlay está activo */
		.mobile-menu-close {
			display: none !important;
			visibility: hidden !important;
			opacity: 0 !important;
			pointer-events: none !important;
			position: absolute;
			top: 20px;
			right: 20px;
			width: 50px;
			height: 50px;
			background: var(--white);
			border: 2px solid var(--silver-300);
			border-radius: 50%;
			font-size: 36px;
			line-height: 1;
			color: var(--gray-800);
			cursor: pointer;
			align-items: center;
			justify-content: center;
			z-index: 10000;
			transition: all 0.3s ease;
			box-shadow: 0 4px 12px rgba(0,0,0,0.2);
			font-weight: 300;
		}
		.mobile-menu-overlay.active .mobile-menu-close {
			display: flex !important;
			visibility: visible !important;
			opacity: 1 !important;
			pointer-events: auto !important;
		}
		.mobile-menu-close:hover {
			background: var(--blue-50);
			border-color: var(--blue-400);
			color: var(--blue-700);
			transform: rotate(90deg) scale(1.1);
			box-shadow: 0 6px 20px rgba(0,0,0,0.3);
		}
		.mobile-menu-close:active {
			transform: rotate(90deg) scale(0.95);
		}
		/* Menú de navegación: solo visible cuando el overlay está activo */
		.mobile-nav-menu {
			display: none !important;
			visibility: hidden !important;
			opacity: 0 !important;
			pointer-events: none !important;
			flex-direction: column;
			gap: 12px;
			padding: 40px 24px;
			max-width: 100%;
			margin: 0 auto;
			padding-top: 100px;
		}
		.mobile-menu-overlay.active .mobile-nav-menu {
			display: flex !important;
			visibility: visible !important;
			opacity: 1 !important;
			pointer-events: auto !important;
		}
		.mobile-nav-menu a {
			display: block;
			padding: 18px 24px;
			background: var(--white);
			border-radius: 12px;
			color: var(--gray-800);
			text-decoration: none;
			font-size: 18px;
			font-weight: 600;
			text-align: center;
			transition: all 0.3s ease;
			box-shadow: 0 4px 12px rgba(0,0,0,0.1);
			border: 2px solid transparent;
		}
		.mobile-nav-menu a:hover,
		.mobile-nav-menu a:active {
			background: var(--blue-50);
			border-color: var(--blue-400);
			color: var(--blue-700);
			transform: translateY(-2px);
			box-shadow: 0 6px 20px rgba(0,0,0,0.15);
		}
		.nav-links {
			display: none !important;
		}
	}
	@keyframes fadeIn {
		from {
			opacity: 0;
		}
		to {
			opacity: 1;
		}
	}
	.hero-overlay {
		padding: 0 20px 40px;
	}
}

/* Better display for vertical/social videos (e.g., 9:16) */
@media (max-aspect-ratio: 3/4) {
	.hero {
		min-height: 80vh;
		background: #0b1220 url("assets/fondo 1.jpg") center center / cover no-repeat;
	}
	.hero-video {
		object-fit: contain; /* show full video, add letterboxing */
	}
	.hero-overlay {
		padding: 0 20px 40px;
	}
}

/* Desktop tweaks: show more of vertical video */
@media (min-width: 1024px) and (min-aspect-ratio: 4/3) {
	.hero {
		min-height: 90vh;
		background: #0b1220 url("assets/fondo 1.jpg") center center / cover no-repeat;
	}
	.hero-video {
		object-fit: contain;
	}
	.hero-overlay {
		max-width: 720px;
		padding: 0 30px 80px;
	}
}

