:root {
	--color-bg: #050505;
	--color-panel: #0d0d0d;
	--color-panel-soft: #151515;
	--color-text: #f4f4f0;
	--color-muted: rgba(244, 244, 240, 0.62);
	--color-soft: rgba(244, 244, 240, 0.34);
	--color-line: rgba(255, 255, 255, 0.09);
	--color-accent: #7df9a0;
	--color-warm: #ff7a45;
	--header-height: 76px;
}

* {
	box-sizing: border-box;
}

html {
	background: var(--color-bg);
	scroll-behavior: smooth;
}

body {
	margin: 0;
	min-width: 320px;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: "Barlow", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: inherit;
}

.site-shell {
	min-height: 100vh;
	background:
		linear-gradient(rgba(125, 249, 160, 0.028) 1px, transparent 1px),
		linear-gradient(90deg, rgba(125, 249, 160, 0.028) 1px, transparent 1px),
		var(--color-bg);
	background-size: 44px 44px, 44px 44px, auto;
	overflow: hidden;
}

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	padding: 16px 36px;
	border-bottom: 1px solid var(--color-line);
	background: rgba(5, 5, 5, 0.9);
	backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
	background: rgba(5, 5, 5, 0.96);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	text-decoration: none;
}

.brand-mark {
	width: 38px;
	height: 38px;
	border: 1px solid rgba(125, 249, 160, 0.22);
	border-radius: 6px;
	object-fit: contain;
	background: #000;
}

.brand-word,
.footer-brand {
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 31px;
	line-height: 1;
	letter-spacing: 0;
	white-space: nowrap;
}

.brand-word span,
.footer-brand span {
	color: var(--color-accent);
}

.site-nav ul {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.elemento {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 4px;
	color: rgba(244, 244, 240, 0.68);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0;
	transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.elemento:hover,
.elemento:focus-visible {
	color: #fff;
	background: rgba(255, 255, 255, 0.07);
	outline: none;
}

.elemento.acceso {
	border: 1px solid rgba(125, 249, 160, 0.62);
	background: var(--color-accent);
	color: #050505;
}

.elemento.acceso:hover,
.elemento.acceso:focus-visible {
	background: #9dffb7;
	color: #050505;
}

.menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--color-line);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.04);
	color: var(--color-text);
	cursor: pointer;
}

.menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	border-radius: 999px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span + span {
	margin-top: 6px;
}

.menu-toggle:focus-visible {
	outline: 2px solid var(--color-accent);
	outline-offset: 2px;
}

.menu-toggle.is-open span:first-child {
	transform: translateY(4px) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
	transform: translateY(-4px) rotate(-45deg);
}

.hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.72fr);
	align-items: center;
	min-height: 680px;
	padding: 132px 56px 74px;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.hero-media,
.hero-overlay,
.hero-grid {
	position: absolute;
	inset: 0;
}

.hero-media {
	z-index: 0;
	background: #050505;
}

.video-fondo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 35%;
	filter: grayscale(34%) brightness(0.5) contrast(1.14);
	opacity: 0.78;
}

.hero-overlay {
	background:
		linear-gradient(100deg, rgba(5, 5, 5, 0.96) 0%, rgba(5, 5, 5, 0.86) 42%, rgba(5, 5, 5, 0.34) 100%),
		linear-gradient(0deg, rgba(5, 5, 5, 0.86) 0%, rgba(5, 5, 5, 0) 42%);
}

.hero-grid {
	background-image:
		linear-gradient(rgba(125, 249, 160, 0.038) 1px, transparent 1px),
		linear-gradient(90deg, rgba(125, 249, 160, 0.038) 1px, transparent 1px);
	background-size: 44px 44px;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 680px;
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	margin: 0 0 22px;
	padding: 5px 12px;
	border: 1px solid rgba(125, 249, 160, 0.42);
	border-radius: 3px;
	color: var(--color-accent);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
	background: rgba(125, 249, 160, 0.06);
}

.hero h1 {
	max-width: 780px;
	margin: 0;
	color: #fff;
	font-family: "Bebas Neue", Impact, sans-serif;
	font-size: 92px;
	font-weight: 400;
	line-height: 0.92;
	letter-spacing: 0;
	text-wrap: balance;
}

.hero h1 span {
	color: var(--color-accent);
}

.slogan {
	max-width: 620px;
	margin: 24px 0 0;
	color: var(--color-muted);
	font-size: 17px;
	line-height: 1.72;
}

.slogan b {
	color: #fff;
	font-weight: 700;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 46px;
	padding: 0 28px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0;
	transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.fa-brands.fa-google {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	background: rgba(5, 5, 5, 0.13);
	color: currentColor;
	font-family: "Barlow", Arial, sans-serif;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
}

.fa-brands.fa-google::before {
	content: "G";
}

.btn:hover,
.btn:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.btn-primary {
	border: 1px solid var(--color-accent);
	background: var(--color-accent);
	color: #050505;
}

.btn-primary:hover,
.btn-primary:focus-visible {
	background: #a1ffba;
}

.btn-outline {
	border: 1px solid rgba(255, 255, 255, 0.34);
	background: rgba(255, 255, 255, 0.035);
	color: #fff;
}

.btn-outline:hover,
.btn-outline:focus-visible {
	border-color: rgba(125, 249, 160, 0.48);
	color: var(--color-accent);
}

.hero-visual {
	position: relative;
	z-index: 1;
	justify-self: end;
	width: min(520px, 100%);
	min-height: 440px;
	pointer-events: none;
}

.hero-visual img {
	position: absolute;
	right: -44px;
	bottom: -44px;
	width: min(560px, 116%);
	max-width: none;
	filter: saturate(0.88) contrast(1.04) drop-shadow(0 28px 60px rgba(0, 0, 0, 0.48));
	opacity: 0.92;
}

.signal-card {
	position: absolute;
	z-index: 2;
	min-width: 132px;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-left: 2px solid var(--color-accent);
	border-radius: 6px;
	background: rgba(13, 13, 13, 0.82);
	backdrop-filter: blur(14px);
	box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.signal-card span,
.signal-card strong {
	display: block;
	letter-spacing: 0;
	text-transform: uppercase;
}

.signal-card span {
	color: var(--color-soft);
	font-size: 11px;
	font-weight: 700;
}

.signal-card strong {
	margin-top: 2px;
	color: var(--color-accent);
	font-family: "Barlow Condensed", Arial, sans-serif;
	font-size: 25px;
	line-height: 1;
}

.signal-card-top {
	top: 68px;
	right: 10px;
}

.signal-card-bottom {
	right: 150px;
	bottom: 70px;
	border-left-color: var(--color-warm);
}

.signal-card-bottom strong {
	color: var(--color-warm);
}

.training-ticker {
	position: relative;
	z-index: 3;
	overflow: hidden;
	padding: 12px 0;
	background: var(--color-accent);
	color: #050505;
	white-space: nowrap;
}

.training-ticker-inner {
	display: flex;
	align-items: center;
	width: max-content;
	animation: ticker 28s linear infinite;
	will-change: transform;
}

.training-ticker-group {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	min-width: max-content;
}

.training-ticker span {
	display: inline-flex;
	align-items: center;
	padding: 0 26px;
	font-family: "Barlow Condensed", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.training-ticker span::after {
	content: "*";
	margin-left: 26px;
	color: rgba(0, 0, 0, 0.36);
}

.capabilities {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	background: var(--color-panel);
}

.capabilities article {
	min-height: 230px;
	padding: 34px;
	border-right: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(5, 5, 5, 0.42);
}

.capabilities article:last-child {
	border-right: 0;
}

.capability-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	margin-bottom: 18px;
	border: 1px solid rgba(125, 249, 160, 0.38);
	border-radius: 6px;
	color: var(--color-accent);
	background: rgba(125, 249, 160, 0.055);
}

.capability-icon i {
	position: relative;
	display: block;
	width: 20px;
	height: 20px;
	font-style: normal;
}

.capability-icon i::before,
.capability-icon i::after {
	content: "";
	position: absolute;
	display: block;
}

.capability-icon .fa-layer-group::before {
	inset: 3px 3px 7px;
	border: 2px solid currentColor;
	border-radius: 2px;
	transform: skewY(-10deg);
}

.capability-icon .fa-layer-group::after {
	inset: 8px 3px 2px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	border-radius: 0 0 2px 2px;
	opacity: 0.65;
}

.capability-icon .fa-bolt::before {
	inset: 1px 5px 1px 6px;
	background: currentColor;
	clip-path: polygon(58% 0, 14% 52%, 48% 52%, 35% 100%, 86% 40%, 55% 40%);
}

.capability-icon .fa-chart-line::before {
	left: 2px;
	bottom: 2px;
	width: 15px;
	height: 13px;
	border-left: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	border-radius: 0 0 0 2px;
	opacity: 0.72;
}

.capability-icon .fa-chart-line::after {
	left: 5px;
	top: 6px;
	width: 12px;
	height: 8px;
	border-top: 2px solid currentColor;
	border-right: 2px solid currentColor;
	transform: skew(-28deg) rotate(-8deg);
	transform-origin: center;
}

.capabilities h2 {
	margin: 0 0 10px;
	color: #fff;
	font-family: "Barlow Condensed", Arial, sans-serif;
	font-size: 22px;
	line-height: 1;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.capabilities p {
	max-width: 330px;
	margin: 0;
	color: rgba(244, 244, 240, 0.48);
	font-size: 14px;
	line-height: 1.7;
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 26px 36px;
	background: #050505;
	color: rgba(244, 244, 240, 0.36);
}

.footer-brand {
	color: rgba(244, 244, 240, 0.34);
	font-size: 26px;
}

.copyright {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	text-align: right;
	text-transform: uppercase;
	letter-spacing: 0;
}

@keyframes ticker {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translate3d(-50%, 0, 0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.training-ticker-inner {
		animation: none;
	}

	.btn,
	.elemento,
	.menu-toggle span {
		transition: none;
	}
}

@media screen and (max-width: 1040px) {
	.site-header {
		padding-inline: 24px;
	}

	.hero {
		grid-template-columns: 1fr;
		min-height: 680px;
		padding: 124px 28px 68px;
	}

	.hero h1 {
		font-size: 74px;
	}

	.hero-visual {
		position: absolute;
		right: -72px;
		bottom: 18px;
		width: 430px;
		min-height: 360px;
		opacity: 0.34;
	}

	.signal-card {
		display: none;
	}
}

@media screen and (max-width: 820px) {
	:root {
		--header-height: 66px;
	}

	.site-header {
		padding: 12px 18px;
	}

	.brand-mark {
		width: 34px;
		height: 34px;
	}

	.brand-word {
		font-size: 28px;
	}

	.menu-toggle {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}

	.site-nav {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		height: calc(100vh - var(--header-height));
		overflow-y: auto;
		border-bottom: 1px solid var(--color-line);
		background: rgba(5, 5, 5, 0.98);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 180ms ease, transform 180ms ease;
	}

	.site-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.site-nav ul {
		display: grid;
		grid-template-columns: 1fr;
		align-items: stretch;
		justify-content: stretch;
		gap: 0;
		width: 100%;
		padding: 18px 12px;
	}

	.site-nav li {
		width: 100%;
	}

	.elemento {
		justify-content: flex-start;
		width: 100%;
		min-height: 52px;
		padding: 0 16px;
		border-radius: 5px;
		font-size: 14px;
	}

	.hero {
		min-height: 620px;
		padding: 104px 18px 52px;
	}

	.hero-content {
		max-width: 100%;
	}

	.hero-tag {
		font-size: 11px;
	}

	.hero h1 {
		font-size: 56px;
		line-height: 0.94;
	}

	.slogan {
		font-size: 15px;
		line-height: 1.66;
	}

	.hero-actions {
		display: grid;
		grid-template-columns: 1fr;
	}

	.btn {
		width: 100%;
		min-height: 48px;
	}

	.hero-visual {
		right: -128px;
		bottom: -20px;
		width: 360px;
		opacity: 0.2;
	}

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

	.capabilities article {
		min-height: auto;
		padding: 28px 22px;
		border-right: 0;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}

	.capabilities article:last-child {
		border-bottom: 0;
	}

	.site-footer {
		display: grid;
		justify-items: start;
		padding: 24px 20px;
	}

	.copyright {
		text-align: left;
	}
}

@media screen and (max-width: 420px) {
	.brand {
		gap: 9px;
	}

	.brand-word {
		font-size: 25px;
	}

	.hero h1 {
		font-size: 48px;
	}

	.training-ticker span {
		padding: 0 18px;
	}

	.training-ticker span::after {
		margin-left: 18px;
	}
}
