/*
	Xfeel — capa de identidad sobre la plantilla Landed (HTML5 UP)
	Paleta tomada del logotipo y del arte "sincroniza tu mente":
	--x-cyan     #29b6f6   (X del logo, acentos y CTAs)
	--x-blue     #1565c0   (azul profundo del logo)
	--x-indigo   #232946   (fondos de contenido)
	--x-night    #141a2e   (fondo base nocturno)
	--x-lilac    #b9c6ff   (bruma lila del cielo del cover)
*/

:root {
	--x-cyan: #29b6f6;
	--x-cyan-deep: #0f9ae0;
	--x-blue: #1565c0;
	--x-indigo: #232946;
	--x-night: #141a2e;
	--x-lilac: #b9c6ff;
}

/* ---------- Escala global: todo 15% más compacto ---------- */

body, input, select, textarea {
	font-size: 11.5pt;
}

/* nada debe provocar scroll horizontal */
html, body {
	max-width: 100%;
	overflow-x: hidden;
}

*, *:before, *:after { box-sizing: border-box; }

/* contenedor más angosto: líneas de texto legibles, sin barrido lateral */
.container {
	max-width: 62em !important;
	width: 90% !important;
}

/* ritmo vertical más apretado: menos aire muerto entre secciones */
.wrapper {
	padding: 4em 0 3em 0;
}

header.major {
	margin: 0 0 2.5em 0;
}

.wrapper.special footer.major {
	margin-top: 2.5em;
}

/* ---------- Logo ---------- */

#logo a {
	font-weight: 400;
	letter-spacing: 0.05em;
	font-size: 1.5em;
}

#logo .x-mark {
	color: var(--x-cyan);
	font-weight: 700;
}

/* navegación: 6 ítems necesitan un poco más de aire lateral */
#nav > ul > li {
	padding-left: 1.25em;
}

	#nav > ul > li > a:not(.button) {
		font-size: 0.85em;
		letter-spacing: 0.15em;
	}

/* ---------- Acentos globales (sustituyen el rojo #e44c65) ---------- */

strong, b { color: inherit; }

a {
	color: var(--x-cyan);
}

	a:hover {
		color: #6fd0fb !important;
	}

/* línea decorativa bajo los títulos de sección */
header.major:after {
	background: var(--x-cyan);
}

/* íconos de la sección "sesión": glifo cian visible sobre fondo oscuro */
.icon.major {
	background: rgba(41, 182, 246, 0.10);
	box-shadow: inset 0 0 0 1px rgba(41, 182, 246, 0.35);
}

	.icon.major.alt:before {
		color: var(--x-cyan) !important;
		text-shadow: none !important;
	}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
.button.primary {
	background-color: var(--x-cyan) !important;
	box-shadow: none !important;
	color: #ffffff !important;
}

	input[type="submit"].primary:hover,
	.button.primary:hover {
		background-color: #45c4fa !important;
	}

	input[type="submit"].primary:active,
	.button.primary:active {
		background-color: var(--x-cyan-deep) !important;
	}

/* botones secundarios (borde) al pasar el cursor: cian, no rojo */
input[type="submit"]:hover, input[type="submit"]:active,
input[type="reset"]:hover, input[type="reset"]:active,
input[type="button"]:hover, input[type="button"]:active,
.button:hover, .button:active {
	box-shadow: inset 0 0 0 1px var(--x-cyan);
	color: var(--x-cyan) !important;
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
.button:active {
	background-color: rgba(41, 182, 246, 0.15);
}

/* foco de campos de formulario */
input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
	border-color: var(--x-cyan);
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
	border-color: var(--x-cyan);
}

/* los primarios conservan texto blanco sobre cian, también en hover/active */
input[type="submit"].primary:hover, input[type="submit"].primary:active,
.button.primary:hover, .button.primary:active {
	box-shadow: none !important;
	color: #ffffff !important;
}

/* ---------- Banner: pulso hipnagógico ---------- */

#banner {
	background-color: var(--x-night);
	background-image:
		radial-gradient(ellipse 70% 55% at 50% 38%, rgba(41, 182, 246, 0.28), rgba(41, 182, 246, 0) 65%),
		radial-gradient(ellipse 90% 70% at 50% 110%, rgba(185, 198, 255, 0.20), rgba(185, 198, 255, 0) 60%),
		linear-gradient(160deg, #10162b 0%, #1a2242 45%, #232946 100%);
	background-attachment: scroll;
	overflow: hidden;
}

/* ===== HERO: video full-bleed, contenido centrado ===== */

#banner {
	position: relative !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	min-height: 100svh; /* evita el salto por la barra de URL en móvil */
	padding: 6em 1.5em 5em 1.5em !important;
	overflow: hidden;
	background-image: none !important; /* fuera la foto de la plantilla */
	background-color: #0a0e1a !important;
	text-align: center;
}

/* video de fondo, cubriendo toda la sección */
#banner .x-video {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	z-index: 0;
	pointer-events: none;
	/* el fuente es 848×480: en 1080p se escala 2.3×.
	   Un desenfoque mínimo disimula los artefactos sin leerse como "difuminado". */
	filter: brightness(0.72) saturate(1.05) blur(1.5px);
	transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
	#banner .x-video { display: none; }
}

/* velo de contraste: viñeta que hunde los bordes y limpia el centro */
#banner .x-scrim {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1;
	pointer-events: none;
	background:
		radial-gradient(ellipse 70% 65% at 50% 50%, rgba(8, 12, 24, 0.10) 0%, rgba(8, 12, 24, 0.72) 100%),
		linear-gradient(180deg, rgba(8, 12, 24, 0.60) 0%, rgba(8, 12, 24, 0.05) 38%, rgba(8, 12, 24, 0.70) 100%);
}

#banner:after { display: none !important; }

/* contenido: una sola columna centrada */
#banner .content {
	position: relative;
	z-index: 2;
	display: block !important;
	text-align: center !important;
	margin: 0 auto !important;
	max-width: 30em !important;
	width: 100%;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	text-shadow: 0 0.12em 0.7em rgba(0, 0, 0, 0.65);
}

	#banner .content h2 {
		font-size: 3.6em;
		line-height: 1;
		letter-spacing: 0.04em;
		margin: 0;
	}

	#banner .content .x-tagline {
		font-size: 1.15em;
		letter-spacing: 0.3em;
		text-transform: uppercase;
		font-weight: 300;
		margin: 0.9em 0 0.6em 0 !important;
		color: #ffffff;
	}

	#banner .content .x-sub {
		font-size: 0.95em;
		line-height: 1.65;
		color: rgba(255, 255, 255, 0.85);
		margin: 0 auto 1.75em auto !important;
		max-width: 24em;
	}

	#banner .content .actions {
		margin: 0;
		justify-content: center;
		flex-wrap: wrap;
	}

/* línea-acento que "escanea" bajo el logo */
#banner .content h2:after {
	content: "";
	display: block;
	width: 3.5em;
	height: 2px;
	margin: 0.45em auto 0 auto;
	background: linear-gradient(90deg, rgba(41,182,246,0), var(--x-cyan), rgba(41,182,246,0));
	background-size: 200% 100%;
	animation: x-scan 3.5s ease-in-out infinite;
}

@keyframes x-scan {
	0%, 100% { background-position: 200% 0; opacity: 0.6; }
	50% { background-position: 0 0; opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	#banner .content h2:after { animation: none; }
}

@media screen and (max-width: 736px) {
	#banner { padding: 7em 1.25em 5em 1.25em !important; }
	#banner .content h2 { font-size: 2.6em; }
	#banner .content .x-tagline { font-size: 0.85em; letter-spacing: 0.2em; }
	#banner .content .actions li { padding: 0.5em 0 0 0; width: 100%; }
	#banner .content .actions .button { width: 100%; }
}

/* botón fantasma sobre el video */
.button.x-ghost {
	box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.8) !important;
	color: #ffffff !important;
	background: rgba(255, 255, 255, 0.05) !important;
}

	.button.x-ghost:hover {
		box-shadow: inset 0 0 0 2px #ffffff !important;
		background: rgba(255, 255, 255, 0.15) !important;
		color: #ffffff !important;
	}

/* ===== EYEBROW / ETIQUETAS TÉCNICAS ===== */
.x-eyebrow {
	display: inline-block;
	font-size: 0.7em;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--x-cyan);
	margin: 0 0 0.75em 0 !important;
	font-weight: 600;
}

/* ===== SECCIÓN OSCURA REUTILIZABLE ===== */
.wrapper.style-dark {
	background:
		radial-gradient(ellipse 70% 60% at 50% -10%, rgba(41, 182, 246, 0.12), rgba(41, 182, 246, 0) 60%),
		linear-gradient(180deg, #0d1224 0%, #141a2e 100%);
	color: rgba(255, 255, 255, 0.85);
}

	.wrapper.style-dark h2,
	.wrapper.style-dark h3 { color: #ffffff; }

/* imágenes de campaña: proporción 1:1 fija y recorte centrado
   (evita que se descuadren cuando la columna cambia de ancho) */
.x-camp {
	display: block;
	margin: 0;
	border-radius: 0.75em;
	overflow: hidden;
	box-shadow: 0 0.75em 2em rgba(0, 0, 0, 0.45);
	line-height: 0;
}

	.x-camp img {
		display: block;
		width: 100%;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		object-position: center;
		border-radius: 0.75em;
		transition: transform 0.5s ease;
	}

	.x-camp:hover img { transform: scale(1.04); }

/* fallback para navegadores sin aspect-ratio */
@supports not (aspect-ratio: 1 / 1) {
	.x-camp { position: relative; padding-top: 100%; }
	.x-camp img { position: absolute; inset: 0; height: 100%; }
}

/* tarjetas de ciencia */
.x-card {
	height: 100%;
	padding: 1.6em 1.5em;
	border-radius: 0.75em;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-left: 3px solid var(--x-cyan);
	text-align: left;
	transition: background 0.3s ease, transform 0.3s ease;
}

	.x-card:hover {
		background: rgba(41, 182, 246, 0.07);
		transform: translateY(-0.25em);
	}

	.x-card h3 { margin-bottom: 0.4em; font-size: 1.05em; }
	.x-card p { margin: 0; opacity: 0.8; font-size: 0.95em; }

/* ===== BANDA EXECUTIVE ARCHITECTURE ===== */
.x-band {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48vh;
	padding: 4.5em 2em;
	text-align: center;
	background: #0a0e1a url("../../images/xfeel/exec-cover.jpg") center/cover no-repeat;
	background-attachment: fixed;
	overflow: hidden;
	max-width: 100%;
}

body.is-touch .x-band { background-attachment: scroll; }

.x-band .x-band-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(8, 12, 24, 0.55), rgba(8, 12, 24, 0.80));
}

.x-band .inner {
	position: relative;
	z-index: 1;
	max-width: 32em;
	color: #fff;
	text-shadow: 0 0.12em 0.6em rgba(0, 0, 0, 0.6);
}

	.x-band .inner h2 {
		color: #fff;
		font-size: 2.1em;
		line-height: 1.2;
		margin-bottom: 0.5em;
	}

	.x-band .inner p { color: rgba(255, 255, 255, 0.85); }

	.x-band .inner .actions {
		justify-content: center;
		margin-top: 1.25em;
	}

@media screen and (max-width: 736px) {
	.x-band { min-height: 42vh; padding: 3.5em 1.5em; }
	.x-band .inner h2 { font-size: 1.55em; }
}

/* portada de la app en la sección de lista de espera */
#lista .x-app-cover {
	display: block;
	max-width: 28em;
	width: 88%;
	margin: 0 auto 2em auto;
	border-radius: 0.6em;
	overflow: hidden;
	box-shadow: 0 1em 2.5em rgba(0, 0, 0, 0.45);
	line-height: 0;
}

	#lista .x-app-cover img {
		display: block;
		width: 100%;
		border-radius: 0.6em;
	}

/* ---------- Spotlights: familia azul Xfeel ---------- */

/* secciones compactas: la foto se aprecia completa de un vistazo */
@media screen and (min-width: 737px) {
	.spotlight {
		height: 66vh;
		min-height: 28em;
	}

	.spotlight.left .content,
	.spotlight.right .content {
		padding: 2.75em 2.5em;
	}

	.spotlight.bottom .content {
		padding: 2.5em 0;
	}
}

/* el panel de texto siempre por encima de la foto y algo más ligero,
   para que la imagen respire detrás */
.spotlight .content {
	z-index: 1;
}

.spotlight.style1 .content {
	border-color: var(--x-cyan);
	background: rgba(20, 26, 46, 0.88);
}

.spotlight.style2 .content {
	border-color: var(--x-blue);
	background: rgba(26, 34, 66, 0.88);
}

.spotlight.style3 .content {
	border-color: var(--x-lilac);
	background: rgba(35, 41, 70, 0.88);
}

/* ---------- Secciones envolventes ---------- */

.wrapper.style1 {
	background: linear-gradient(160deg, #1a2242 0%, var(--x-indigo) 100%);
}

.wrapper.style2 {
	background:
		radial-gradient(ellipse 80% 60% at 50% 0%, rgba(41, 182, 246, 0.16), rgba(41, 182, 246, 0) 60%),
		linear-gradient(180deg, #10162b 0%, #1a2242 100%);
}

.wrapper .icon.major {
	color: var(--x-cyan);
}

p.ciencia {
	max-width: 46em;
	margin: 0 auto;
	font-size: 0.9em;
	opacity: 0.75;
	font-style: italic;
}

/* ---------- Footer ---------- */

#footer {
	background: #0d1224;
}

#footer .tagline {
	max-width: 40em;
	margin: 0 auto 2em auto;
	font-size: 1.1em;
	color: rgba(255, 255, 255, 0.75);
}

#footer .copyright li {
	display: block;
	border: 0;
	margin: 0.35em 0;
	padding: 0;
}


/* ---------- Contención de anchos: nada fuerza scroll lateral ---------- */

.row { max-width: 100%; }

img { max-width: 100%; height: auto; }

/* la retícula de campaña, centrada y con un tope de ancho cómodo */
#manifiesto .row {
	max-width: 58em;
	margin-left: auto;
	margin-right: auto;
}

/* formulario de la lista: centrado y angosto */
#lista .cta {
	max-width: 32em;
	margin: 0 auto;
}
