/* =========================================================
   Falcon Security — estilos
   Paleta: negro carbón + rojo de marca (#e60000) + blancos
   ========================================================= */

:root {
	--red: #e60000;
	--red-dark: #b80000;
	--red-glow: rgba(230, 0, 0, .35);

	--ink: #0b0d10;          /* fondo oscuro principal */
	--ink-2: #14171c;        /* tarjetas sobre oscuro */
	--ink-3: #1d2128;        /* bordes sobre oscuro */
	--paper: #f5f6f8;        /* fondo claro */
	--white: #ffffff;
	--text: #1a1d23;
	--muted: #5d6470;
	--muted-light: #a3a9b4;
	--line: #e3e6eb;

	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 20px 50px -20px rgba(11, 13, 16, .25);
	--header-h: 76px;

	--font-head: 'Montserrat', system-ui, sans-serif;
	--font-body: 'Inter', system-ui, sans-serif;
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: var(--header-h);
}

body {
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img {
	display: block;
	max-width: 100%;
}

a {
	color: inherit;
	text-decoration: none;
}

ul {
	list-style: none;
}

h1, h2, h3 {
	font-family: var(--font-head);
	line-height: 1.15;
	letter-spacing: -.01em;
}

.container {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
}

.text-red {
	color: var(--red);
}

/* ---------- Botones ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: .02em;
	padding: 12px 22px;
	border-radius: 999px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform .25s, background .25s, box-shadow .25s, color .25s, border-color .25s;
	white-space: nowrap;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn--lg {
	padding: 16px 30px;
	font-size: 16px;
}

.btn--block {
	width: 100%;
}

.btn--primary {
	background: var(--red);
	color: var(--white);
	box-shadow: 0 10px 30px -10px var(--red-glow);
}

.btn--primary:hover {
	background: var(--red-dark);
	box-shadow: 0 14px 34px -10px var(--red-glow);
}

.btn--ghost {
	color: var(--white);
	border-color: rgba(255, 255, 255, .35);
	background: rgba(255, 255, 255, .06);
	backdrop-filter: blur(6px);
}

.btn--ghost:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, .12);
}

.btn--light {
	background: var(--white);
	color: var(--red);
}

.btn--light:hover {
	background: var(--ink);
	color: var(--white);
}

.icon {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* ---------- Logo ---------- */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.logo__aguila {
	width: 54px;
	height: 24px;
	fill: var(--red);
	flex-shrink: 0;
}

.logo__texto {
	display: flex;
	flex-direction: column;
	line-height: 1;
	color: var(--white);
}

.logo__texto strong {
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 22px;
	letter-spacing: .18em;
}

.logo__texto small {
	font-family: var(--font-head);
	font-size: 9.5px;
	font-weight: 500;
	letter-spacing: .58em;
	margin-top: 4px;
	color: var(--muted-light);
}

/* ---------- Header ---------- */
.header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 50;
	height: var(--header-h);
	transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

/* Sin fondo (arriba de todo, sobre la foto): degradé oscuro detrás y un
   trazo fino en las letras para que se lean sobre zonas claras */
.header:not(.header--scrolled) {
	background: linear-gradient(180deg, rgba(11, 13, 16, .55), rgba(11, 13, 16, 0));
}

.header:not(.header--scrolled) .nav a:not(.btn),
.header:not(.header--scrolled) .logo__texto {
	color: var(--white);
	text-shadow:
		-1px -1px 0 rgba(11, 13, 16, .7),
		1px -1px 0 rgba(11, 13, 16, .7),
		-1px 1px 0 rgba(11, 13, 16, .7),
		1px 1px 0 rgba(11, 13, 16, .7),
		0 2px 8px rgba(0, 0, 0, .55);
}

.header--scrolled {
	background: rgba(11, 13, 16, .88);
	backdrop-filter: blur(14px);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .06);
}

.header__inner {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.nav ul {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav a:not(.btn) {
	position: relative;
	display: block;
	padding: 8px 14px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 14.5px;
	color: rgba(255, 255, 255, .82);
	white-space: nowrap;
	transition: color .2s;
}

.nav a:not(.btn)::after {
	content: '';
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 2px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s;
}

.nav a:not(.btn):hover {
	color: var(--white);
}

.nav a:not(.btn):hover::after {
	transform: scaleX(1);
}

.nav__cta-mobile {
	display: none;
}

.burger {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: relative;
	z-index: 60;
}

.burger span {
	position: absolute;
	left: 10px;
	right: 10px;
	height: 2px;
	background: var(--white);
	border-radius: 2px;
	transition: transform .3s, opacity .3s, top .3s;
}

.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--white);
	background: var(--ink);
	overflow: hidden;
	padding-top: calc(var(--header-h) + 40px);
}

.hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 62% 30%;
	transform: scale(1.04);
	animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
	to { transform: scale(1); }
}

/* En pantallas anchas la foto ocupa solo la derecha, para que el texto
   no tape al guardia (y el logo de la campera quede a la vista) */
@media (min-width: 961px) {
	.hero__bg {
		left: auto;
		width: 64%;
		object-position: 40% 30%;
	}

	.hero .hero__overlay {
		background:
			linear-gradient(90deg, var(--ink) 0%, var(--ink) 36%, rgba(11, 13, 16, .55) 48%, rgba(11, 13, 16, 0) 62%),
			linear-gradient(0deg, rgba(11, 13, 16, 1) 0%, rgba(11, 13, 16, 0) 38%);
	}
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 13, 16, .95) 0%, rgba(11, 13, 16, .78) 38%, rgba(11, 13, 16, .15) 75%),
		linear-gradient(0deg, rgba(11, 13, 16, 1) 0%, rgba(11, 13, 16, 0) 40%);
}

.hero__content {
	position: relative;
	padding-bottom: 56px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .06);
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	backdrop-filter: blur(6px);
}

.dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--red);
	box-shadow: 0 0 0 0 var(--red-glow);
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(230, 0, 0, .6); }
	70%  { box-shadow: 0 0 0 10px rgba(230, 0, 0, 0); }
	100% { box-shadow: 0 0 0 0 rgba(230, 0, 0, 0); }
}

.hero__title {
	margin-top: 22px;
	font-size: clamp(44px, 7.5vw, 92px);
	font-weight: 800;
	text-transform: uppercase;
	line-height: .98;
	letter-spacing: -.02em;
}

.hero__lead {
	margin-top: 24px;
	max-width: 540px;
	font-size: 18px;
	color: rgba(255, 255, 255, .78);
}

.hero__actions {
	margin-top: 36px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* Franja de confianza */
.trust {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid rgba(255, 255, 255, .12);
	margin-bottom: 8px;
}

.trust__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 26px 24px 30px 0;
}

.trust__item + .trust__item {
	padding-left: 24px;
	border-left: 1px solid rgba(255, 255, 255, .12);
}

.trust__icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	flex-shrink: 0;
	border-radius: 12px;
	background: rgba(230, 0, 0, .14);
	fill: none;
	stroke: var(--red);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.trust__item strong {
	display: block;
	font-family: var(--font-head);
	font-size: 16px;
	letter-spacing: .02em;
}

.trust__item span {
	font-size: 14px;
	color: var(--muted-light);
}

/* ---------- Secciones genéricas ---------- */
.section {
	padding: 110px 0;
}

.section--dark {
	background: var(--ink);
	color: var(--white);
}

.section__head {
	max-width: 640px;
	margin-bottom: 56px;
}

.section__tag {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--red);
}

.section__tag::before {
	content: '';
	width: 28px;
	height: 2px;
	background: currentColor;
}

.section__tag--light {
	color: var(--white);
}

.section__title {
	margin-top: 14px;
	font-size: clamp(30px, 4vw, 46px);
	font-weight: 800;
}

/* ---------- Empresa (split) ---------- */
.split {
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 80px;
	align-items: center;
}

.split__media {
	position: relative;
}

.split__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 62%;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.split__media::before {
	content: '';
	position: absolute;
	inset: 24px -24px -24px 24px;
	border: 2px solid var(--red);
	border-radius: var(--radius);
	z-index: -1;
}

.split__badge {
	position: absolute;
	left: -28px;
	bottom: 40px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 22px;
	background: var(--ink);
	color: var(--white);
	border-radius: 14px;
	box-shadow: var(--shadow);
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 22px;
	line-height: 1.05;
}

.split__badge svg {
	width: 52px;
	height: 23px;
	fill: var(--red);
}

.split__badge small {
	font-size: 13px;
	font-weight: 600;
	color: var(--muted-light);
}

.split__text p {
	margin-top: 22px;
	font-size: 18px;
	color: var(--muted);
}

.stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-top: 34px;
}

.stats div {
	padding: 20px 22px;
	border: 1px solid var(--line);
	border-left: 3px solid var(--red);
	border-radius: var(--radius-sm);
	background: var(--paper);
}

.stats strong {
	display: block;
	font-family: var(--font-head);
	font-size: 24px;
	font-weight: 800;
}

.stats span {
	font-size: 14px;
	color: var(--muted);
}

.split__text p + p {
	margin-top: 16px;
}

/* Texto institucional extendido (debajo del split) */
.empresa-mas {
	margin-top: 100px;
}

.pilares {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px 48px;
}

.pilares p {
	position: relative;
	padding-top: 22px;
	font-size: 17px;
	color: var(--muted);
}

.pilares p::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 3px;
	border-radius: 2px;
	background: var(--red);
}

.lema {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 26px;
	margin-top: 72px;
	padding: 40px 30px;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.lema__aguila {
	width: 90px;
	height: 40px;
	fill: var(--red);
	flex-shrink: 0;
}

.lema p {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-family: var(--font-head);
}

.lema strong {
	font-size: 14px;
	letter-spacing: .3em;
	color: var(--red);
}

.lema span {
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--text);
}

.lema em {
	font-style: normal;
	color: var(--red);
}

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 34px;
	font-family: var(--font-head);
	font-weight: 700;
	color: var(--red);
}

.link-arrow span {
	transition: transform .25s;
}

.link-arrow:hover span {
	transform: translateX(5px);
}

/* ---------- Servicios ---------- */
.services {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 18px;
}

/* 10 servicios: 5+5 en desktop, 2 por fila desde tablet para que no quede ninguna suelta */
@media (max-width: 1080px) {
	.services { grid-template-columns: repeat(2, 1fr); }
}

.service {
	position: relative;
	padding: 30px 26px 32px;
	border-radius: var(--radius);
	background: var(--ink-2);
	border: 1px solid var(--ink-3);
	overflow: hidden;
	transition: transform .3s, border-color .3s, background .3s;
}

.service::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s;
}

.service:hover {
	transform: translateY(-6px);
	border-color: rgba(230, 0, 0, .45);
	background: #181b21;
}

.service:hover::after {
	transform: scaleX(1);
}

.service__icon {
	width: 54px;
	height: 54px;
	padding: 13px;
	border-radius: 14px;
	background: rgba(230, 0, 0, .12);
	fill: none;
	stroke: var(--red);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: background .3s, stroke .3s;
}

.service:hover .service__icon {
	background: var(--red);
	stroke: var(--white);
}

.service h3 {
	margin-top: 22px;
	font-size: 17.5px;
	font-weight: 700;
	line-height: 1.3;
}

/* Tarjeta destacada (supermercados): primera y en rojo */
.service--featured {
	display: flex;
	flex-direction: column;
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .18), transparent 55%),
		linear-gradient(140deg, var(--red), var(--red-dark));
	border-color: var(--red);
	box-shadow: 0 20px 40px -20px var(--red-glow);
}

.service--featured:hover {
	background:
		radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .24), transparent 55%),
		linear-gradient(140deg, var(--red), var(--red-dark));
	border-color: var(--white);
}

.service--featured::after {
	background: var(--white);
}

.service--featured .service__icon,
.service--featured:hover .service__icon {
	background: rgba(255, 255, 255, .18);
	stroke: var(--white);
}

.service__more {
	margin-top: auto;
	padding-top: 14px;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 700;
	color: rgba(255, 255, 255, .9);
}

.service__more span {
	display: inline-block;
	transition: transform .25s;
}

.service--featured:hover .service__more span {
	transform: translateX(5px);
}

/* ---------- Supermercados ---------- */
.super__grid {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 80px;
	align-items: center;
}

.super__text > p {
	margin: 24px 0 34px;
	font-size: 18px;
	color: var(--muted);
}

.super__claims {
	margin-top: 26px;
	display: grid;
	gap: 10px;
}

.super__claims li {
	position: relative;
	padding-left: 36px;
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 700;
}

.super__claims li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 3px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Bloques numerados 01–04 debajo del encabezado de supermercados */
.super__more {
	margin-top: 110px;
	display: grid;
	gap: 90px;
}

.super__block {
	display: grid;
	grid-template-columns: 1fr 1.35fr;
	gap: 60px;
	padding-top: 44px;
	border-top: 1px solid var(--line);
}

.super__num {
	display: block;
	font-family: var(--font-head);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--red);
}

.super__block-head h3 {
	font-size: clamp(26px, 3vw, 36px);
	font-weight: 800;
}

.super__block-body p {
	font-size: 17.5px;
	color: var(--muted);
}

.super__block-body p + p,
.super__block-body .tags + p {
	margin-top: 16px;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 24px;
}

.super__block-body p + .tags {
	margin-bottom: 4px;
}

.tags li {
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(230, 0, 0, .07);
	border: 1px solid rgba(230, 0, 0, .2);
	color: var(--red-dark);
	font-family: var(--font-head);
	font-size: 13.5px;
	font-weight: 700;
}

.super__aportes .super__block-head {
	max-width: 620px;
}

.aportes {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
	margin-top: 36px;
}

.aporte {
	padding: 30px 26px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	transition: transform .3s, box-shadow .3s, border-color .3s;
}

.aporte:hover {
	transform: translateY(-6px);
	border-color: rgba(230, 0, 0, .35);
	box-shadow: var(--shadow);
}

.aporte svg {
	width: 52px;
	height: 52px;
	padding: 12px;
	border-radius: 14px;
	background: var(--red);
	fill: none;
	stroke: var(--white);
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
	box-shadow: 0 10px 24px -10px var(--red-glow);
}

.aporte h4 {
	margin-top: 20px;
	font-family: var(--font-head);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.25;
}

.aporte p {
	margin-top: 10px;
	font-size: 15.5px;
	color: var(--muted);
}

.compromiso {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	align-items: center;
	padding: 60px 56px;
	border-radius: var(--radius);
	color: var(--white);
	background:
		radial-gradient(circle at 0% 100%, rgba(230, 0, 0, .3), transparent 50%),
		var(--ink);
}

.compromiso__head h3 {
	margin-top: 14px;
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
}

.compromiso__body p {
	font-size: 17.5px;
	color: rgba(255, 255, 255, .8);
}

.compromiso__body p + p {
	margin-top: 16px;
}

.compromiso__body .btn {
	margin-top: 30px;
}

.super__media {
	position: relative;
}

.super__frame {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.super__frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% center;
}

.super__media::before {
	content: '';
	position: absolute;
	inset: -24px 24px 24px -24px;
	border-radius: var(--radius);
	background: var(--red);
	opacity: .1;
	z-index: -1;
}

.super__chip {
	position: absolute;
	left: -24px;
	bottom: 36px;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 16px 20px;
	border-radius: 14px;
	background: var(--ink);
	color: var(--white);
	box-shadow: var(--shadow);
	font-family: var(--font-head);
	font-size: 14.5px;
	font-weight: 700;
	line-height: 1.3;
}

.super__chip svg {
	width: 40px;
	height: 40px;
	padding: 9px;
	flex-shrink: 0;
	border-radius: 10px;
	background: var(--red);
	fill: none;
	stroke: var(--white);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Banda capacitación ---------- */
.band {
	position: relative;
	padding: 130px 0;
	color: var(--white);
	text-align: center;
	overflow: hidden;
	background: var(--ink);
}

.band__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	/* banner.jpg trae texto impreso en la mitad de abajo: se estira el
	   alto y se ancla arriba para que solo se vea la sala */
	height: 190%;
	object-position: center top;
	filter: grayscale(1);
}

.band__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(150, 0, 0, .92), rgba(11, 13, 16, .9));
}

.band__content {
	position: relative;
}

.band__title {
	margin-top: 18px;
	font-size: clamp(36px, 6vw, 72px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -.01em;
}

.band__content p {
	margin: 16px auto 0;
	max-width: 620px;
	font-size: 19px;
	color: rgba(255, 255, 255, .85);
}

/* ---------- Misión / Visión ---------- */
.mv {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
}

.mv__card {
	padding: 46px 42px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 20px);
}

.mv__card--dark {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.mv__head {
	display: flex;
	align-items: baseline;
	gap: 16px;
}

.mv__num {
	font-family: var(--font-head);
	font-size: 15px;
	font-weight: 800;
	color: var(--red);
}

.mv__head h2 {
	font-size: clamp(30px, 3.4vw, 40px);
	font-weight: 800;
}

.mv__lead {
	margin-top: 18px;
	font-size: 18px;
	color: var(--muted);
}

.mv__card--dark .mv__lead {
	color: var(--muted-light);
}

.checks {
	margin-top: 26px;
	display: grid;
	gap: 14px;
}

.checks li {
	position: relative;
	padding-left: 36px;
	font-size: 16px;
}

.checks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* ---------- Trabaja con nosotros ---------- */
.join {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	padding: 48px 56px;
	border-radius: var(--radius);
	color: var(--white);
	background:
		radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .16), transparent 45%),
		linear-gradient(120deg, var(--red), var(--red-dark));
	box-shadow: 0 30px 60px -30px var(--red-glow);
}

.join h2 {
	font-size: clamp(26px, 3.4vw, 38px);
	font-weight: 800;
}

/* ---------- Contacto ---------- */
.contact {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	gap: 70px;
	align-items: start;
}

.contact__info > p {
	margin-top: 20px;
	font-size: 18px;
	color: var(--muted);
}

.contact__list {
	margin-top: 34px;
	display: grid;
	gap: 14px;
}

.contact__list a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color .25s, transform .25s, box-shadow .25s;
	word-break: break-word;
}

.contact__list a:hover {
	border-color: var(--red);
	transform: translateX(4px);
	box-shadow: var(--shadow);
}

.contact__icon {
	width: 46px;
	height: 46px;
	flex-shrink: 0;
	display: grid;
	place-items: center;
	border-radius: 12px;
	background: var(--ink);
}

.contact__icon img {
	width: 22px;
	height: 22px;
}

.contact__list small {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
}

.contact__list span:last-child {
	font-weight: 600;
}

.form {
	padding: 40px;
	border-radius: var(--radius);
	background: var(--paper);
	border: 1px solid var(--line);
	display: grid;
	gap: 18px;
}

.form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.field span {
	display: block;
	margin-bottom: 7px;
	font-size: 14px;
	font-weight: 600;
}

.field input,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	font: inherit;
	font-size: 16px;
	color: var(--text);
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	outline: none;
	transition: border-color .2s, box-shadow .2s;
	resize: vertical;
}

/* Campo trampa para bots: fuera de pantalla (no display:none, que algunos bots detectan) */
.form__trampa {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.btn:disabled {
	opacity: .65;
	cursor: wait;
	transform: none;
}

.form__estado {
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
}

.form__estado--ok {
	background: #e9f8ef;
	border: 1px solid #a9e2bf;
	color: #146c3a;
}

.form__estado--error {
	background: #fdecec;
	border: 1px solid #f3b4b4;
	color: #a40000;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--red);
	box-shadow: 0 0 0 4px rgba(230, 0, 0, .12);
}

/* ---------- Footer ---------- */
.footer {
	background: var(--ink);
	color: var(--muted-light);
	padding: 64px 0 28px;
}

.footer__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 30px;
	padding-bottom: 36px;
	border-bottom: 1px solid var(--ink-3);
}

.footer__brand p {
	margin-top: 16px;
	font-size: 15px;
}

.footer__legal {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 4px;
	font-size: 14px;
}

.footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 24px;
	padding-right: 80px; /* lugar para el botón flotante de WhatsApp */
	font-size: 14px;
}

.footer__bottom a:hover {
	color: var(--white);
}

/* ---------- WhatsApp flotante ---------- */
.wa-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	width: 60px;
	height: 60px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #25d366;
	box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
	transition: transform .25s;
}

.wa-float:hover {
	transform: scale(1.08);
}

.wa-float svg {
	width: 30px;
	height: 30px;
	fill: var(--white);
}

/* ---------- Animación de aparición ---------- */
.reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .8s ease, transform .8s ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

.services .reveal:nth-child(5n+2) { transition-delay: .06s; }
.services .reveal:nth-child(5n+3) { transition-delay: .12s; }
.services .reveal:nth-child(5n+4) { transition-delay: .18s; }
.services .reveal:nth-child(5n+5) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation: none !important;
		transition: none !important;
	}
	.reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
/* Con 6 enlaces el menú no entra junto al botón Contacto aparte: hasta
   1240px el botón pasa a ser parte del menú */
@media (max-width: 1240px) {
	.header__cta { display: none; }
	.nav__cta-mobile { display: block; }
}

@media (max-width: 1080px) {
	.split { gap: 60px; }
}

/* Menú hamburguesa: desde 1080px el menú de 6 enlaces ya no entra en una línea */
@media (max-width: 1080px) {
	:root { --header-h: 68px; }

	.burger { display: block; }

	/* backdrop-filter en el header convierte al header en el contenedor del
	   menú fijo y lo recorta: en mobile se usa fondo sólido sin blur */
	.header--scrolled {
		backdrop-filter: none;
		background: rgba(11, 13, 16, .97);
	}

	.nav {
		position: fixed;
		inset: 0;
		background: rgba(11, 13, 16, .97);
		backdrop-filter: blur(12px);
		display: flex;
		align-items: center;
		justify-content: center;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s, visibility .3s;
	}

	.menu-open .nav {
		opacity: 1;
		visibility: visible;
	}

	.menu-open {
		overflow: hidden;
	}

	.nav ul {
		flex-direction: column;
		gap: 10px;
	}

	.nav a:not(.btn) {
		font-size: 24px;
		padding: 10px 14px;
	}

	.nav__cta-mobile {
		margin-top: 20px;
	}
}

@media (max-width: 960px) {
	.split,
	.contact,
	.mv,
	.super__grid {
		grid-template-columns: 1fr;
	}

	.super__grid { gap: 60px; }

	.super__block,
	.compromiso {
		grid-template-columns: 1fr;
		gap: 24px;
	}

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

	.super__media {
		max-width: 520px;
		margin-inline: auto;
		width: 100%;
	}

	.super__chip { left: 12px; }

	.split {
		gap: 64px;
	}

	.split__media {
		max-width: 520px;
		margin-inline: auto;
		width: 100%;
	}

	.split__media img {
		aspect-ratio: 4 / 4.4;
	}

	.join {
		flex-direction: column;
		align-items: flex-start;
		padding: 40px 34px;
	}
}

@media (max-width: 720px) {
	body { font-size: 16px; }

	.section { padding: 80px 0; }
	.band { padding: 96px 0; }

	.hero__overlay {
		background: linear-gradient(0deg, rgba(11, 13, 16, 1) 8%, rgba(11, 13, 16, .72) 55%, rgba(11, 13, 16, .45) 100%);
	}

	.hero__lead { font-size: 16.5px; }

	.hero__actions .btn { flex: 1 1 100%; }

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

	.trust__item,
	.trust__item + .trust__item {
		padding: 16px 0;
		border-left: 0;
	}

	.trust__item + .trust__item {
		border-top: 1px solid rgba(255, 255, 255, .1);
	}

	.split__media::before { inset: 16px -12px -16px 12px; }
	.split__badge { left: -8px; bottom: 24px; font-size: 19px; padding: 14px 18px; }

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

	.empresa-mas { margin-top: 70px; }
	.pilares { grid-template-columns: 1fr; }

	.super__more { margin-top: 80px; gap: 64px; }
	.super__block { padding-top: 32px; }
	.aportes { grid-template-columns: 1fr; }
	.compromiso { padding: 40px 24px; }
	.compromiso__body .btn { width: 100%; }
	.super__media::before { inset: -12px 12px 12px -12px; }
	.super__chip { left: 12px; bottom: 16px; padding: 12px 16px; font-size: 13.5px; }
	.super__text .btn { width: 100%; }
	.lema { flex-direction: column; text-align: center; gap: 16px; margin-top: 52px; padding: 32px 10px; }
	.lema p { align-items: center; }

	.services { grid-template-columns: 1fr 1fr; gap: 12px; }
	.service { padding: 22px 18px 24px; }
	.service h3 { font-size: 15.5px; margin-top: 16px; }
	.service__icon { width: 46px; height: 46px; padding: 11px; }

	.mv__card { padding: 34px 26px; }

	.form { padding: 26px 20px; }
	.form__row { grid-template-columns: 1fr; }

	.footer__legal { align-items: flex-start; }
	.footer__bottom { flex-direction: column; gap: 8px; }

	.wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (max-width: 340px) {
	.services { grid-template-columns: 1fr; }
}
