/* ==========================================================================
   Secciones interiores (Nosotros, Soluciones) — sistema visual de la home.
   Solo se animan transform/opacity (§7.5). Hereda tokens de style.css.
   ========================================================================== */

:root {
	--fluid-1: clamp(2.4rem, 6.5vw, 5.5rem);
	--fluid-2: clamp(1.8rem, 4vw, 3.2rem);
	--pad: clamp(1.25rem, 4vw, 4rem);
}

.vsec { overflow-x: clip; }
.vpad { padding: clamp(3.5rem, 10vh, 8rem) var(--pad); }
/* Contenido centrado en una columna ancha en vez de pegado a la izquierda
   (esto elimina el "margen muerto" a la derecha que sentía todo el interior).
   Los paneles de Soluciones conservan su alineación propia. */
.vpad > * { max-width: var(--wrap, 82rem); margin-inline: auto; }
.vpanel__inner > * { max-width: none; margin-inline: 0; }

/* Estado inicial de reveals; sin JS quedan visibles (progressive enhancement). */
.vale-js .reveal { opacity: 0; transform: translateY(28px); }

/* ==========================================================================
   Header transparente sobre el hero (eco exacto de body.home en la portada).
   Sin esto, los interiores abrían con una barra sólida y rompían la
   continuidad con la home. Carga después de style.css → anula la barra sólida.
   ========================================================================== */
body.vale-dark .site-header {
	background: transparent;
	position: absolute;
	inset: 0 0 auto 0;
	z-index: 50;
	border-bottom: 0;
}
body.vale-dark .site-header .inside-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	background: transparent;
	padding: 1.5rem var(--pad);
	max-width: none;
}
body.vale-dark .main-title {
	margin: 0;
	font-weight: 850;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}
body.vale-dark #site-navigation,
body.vale-dark .main-navigation {
	background: transparent;
	float: none;
}
body.vale-dark .main-navigation .main-nav ul li a,
body.vale-dark .main-navigation a,
body.vale-dark .main-title a,
body.vale-dark .menu-toggle {
	color: var(--paper, #fff);
	font-weight: 600;
}
body.vale-dark .site-content { padding: 0; }

/* ==========================================================================
   Hero de sección — misma apertura de alto impacto que el .vshow del home.
   Lienzo oscuro + gradiente por acento (placeholder hasta recibir imágenes),
   claim animado palabra por palabra, kicker y lead. Solo transform/opacity.
   ========================================================================== */
.vhero {
	position: relative;
	display: grid;
	align-items: end;
	min-height: clamp(76vh, 88vh, 94vh);
	overflow: hidden;
	isolation: isolate;
}
.vhero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: var(--ink, #0a0a0a);
	/* Doble acento de marca para que el color llene el lienzo (no una caja). */
	background-image:
		radial-gradient(80% 70% at 82% 8%, color-mix(in srgb, var(--acento) 70%, transparent) 0%, transparent 60%),
		radial-gradient(70% 80% at 8% 100%, color-mix(in srgb, var(--acento) 32%, transparent) 0%, transparent 55%),
		linear-gradient(135deg, var(--ink, #0a0a0a) 0%, var(--ink-2, #15151c) 100%);
	transform: scale(1.04);
}
/* "V" gigante de marca de agua: firma compartida con el CTA del home; llena el
   lado derecho que antes quedaba vacío y ata los interiores a la identidad. */
.vhero__ghost {
	position: absolute;
	z-index: -1;
	right: clamp(-4rem, -2vw, -1rem);
	bottom: clamp(-6rem, -8vh, -3rem);
	font-weight: 900;
	font-size: clamp(22rem, 46vw, 52rem);
	line-height: 0.7;
	color: rgb(255 255 255 / 0.05);
	transform: scaleY(1.15);
	pointer-events: none;
	user-select: none;
}
.vhero__velo {
	position: absolute;
	inset: 0;
	z-index: -1;
	/* Vela hacia abajo-izquierda para que el texto domine sin tapar el acento. */
	background:
		linear-gradient(to top, rgb(10 10 10 / 0.88) 0%, rgb(10 10 10 / 0.15) 55%, rgb(10 10 10 / 0.35) 100%),
		linear-gradient(to right, rgb(10 10 10 / 0.6) 0%, transparent 60%);
}
.vhero__inner {
	width: 100%;
	max-width: 72rem;
	margin-inline: auto;
	padding-top: clamp(7rem, 16vh, 11rem); /* despeja el header transparente */
	padding-bottom: clamp(3rem, 9vh, 6rem);
}
.vhero__kicker {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	font-size: 0.9rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--acento);
	font-weight: 700;
	margin: 0 0 1.25rem;
}
.vhero__kicker::before {
	content: "";
	width: clamp(2rem, 4vw, 3.5rem);
	height: 2px;
	background: var(--acento);
}
.vhero__titulo {
	font-size: var(--fluid-1);
	font-weight: 850;
	line-height: 0.98;
	letter-spacing: -0.03em;
	margin: 0;
	text-wrap: balance;
}
.vhero__titulo .palabra { display: inline-block; }
.vhero__lead {
	max-width: 44rem;
	font-size: clamp(1.05rem, 1.8vw, 1.4rem);
	line-height: 1.5;
	color: rgb(255 255 255 / 0.85);
	margin: 1.75rem 0 0;
}
/* Indicador de scroll idéntico al del home (.vshow__scroll). */
.vhero__scroll {
	position: absolute;
	z-index: 4;
	left: 50%;
	transform: translateX(-50%);
	bottom: var(--pad);
	width: 2.75rem;
	height: 4rem;
	border: 1px solid rgb(255 255 255 / 0.35);
	border-radius: 999px;
	display: grid;
	place-items: center;
}
.vhero__scroll span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--paper, #fff);
	animation: vale-gota 1.8s ease-in-out infinite;
}
@keyframes vale-gota {
	0%, 100% { transform: translateY(-8px); opacity: 0.4; }
	50% { transform: translateY(8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.vhero__bg { transform: none; }
	.vhero__scroll span { animation: none; }
}
@media (max-width: 600px) {
	.vhero__scroll { display: none; }
}

.vsec__h2 {
	font-size: var(--fluid-2);
	font-weight: 850;
	letter-spacing: -0.02em;
	margin: 0 0 2.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid rgb(255 255 255 / 0.12);
	text-wrap: balance;
	position: relative;
}
/* Tick de acento sobre la regla: firma editorial compartida por todas las secciones. */
.vsec__h2::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: clamp(3rem, 6vw, 5rem);
	height: 3px;
	background: var(--acento, var(--rojo));
}

/* ---- about ---- */
.vabout__statement {
	font-size: clamp(1.6rem, 3.5vw, 2.8rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	max-width: 60rem;
	margin: 0 0 1.5rem;
}
.vabout__statement em { font-style: normal; color: var(--rojo); }
.vabout__texto {
	max-width: 48rem;
	font-size: 1.15rem;
	line-height: 1.6;
	color: rgb(255 255 255 / 0.78);
	margin: 0;
}

/* ---- banda de cifras (eco del home: ancla la escala de la agencia con vida) ---- */
.vstats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
	gap: clamp(1.5rem, 4vw, 3rem);
}
.vstats__item {
	--c: var(--rojo);
	border-top: 3px solid var(--c);
	padding-top: 1.25rem;
}
.vstats__item:nth-child(2) { --c: var(--acento-1); }
.vstats__item:nth-child(3) { --c: var(--acento-2); }
.vstats__item:nth-child(4) { --c: var(--acento-3); }
.vstats__num {
	margin: 0;
	font-size: clamp(3rem, 7vw, 5.5rem);
	font-weight: 850;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--paper, #fff);
}
.vstats__label {
	margin: 0.75rem 0 0;
	font-size: 0.95rem;
	letter-spacing: 0.03em;
	color: rgb(255 255 255 / 0.65);
}

/* ---- timeline ---- */
.vtl__lista {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0 clamp(2.5rem, 5vw, 5rem);
}
@media (min-width: 880px) {
	.vtl__lista { grid-template-columns: 1fr 1fr; }
}
.vtl__item {
	position: relative;
	padding: 0 0 2.5rem 2rem;
	border-left: 2px solid rgb(255 255 255 / 0.14);
}
.vtl__item::before {
	content: "";
	position: absolute;
	left: -7px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--rojo);
}
.vtl__anio {
	display: block;
	font-size: 1.4rem;
	font-weight: 850;
	color: var(--paper, #fff);
	letter-spacing: -0.01em;
}
.vtl__texto {
	margin: 0.35rem 0 0;
	color: rgb(255 255 255 / 0.75);
	max-width: 40rem;
	line-height: 1.55;
}

/* ---- misión/visión/propósito ---- */
.vmv {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 1.25rem;
}
.vmv__col {
	--c: var(--rojo);
	background: var(--ink-2, #15151c);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 3px solid var(--c);
	transition: transform 0.25s ease, background 0.25s ease;
}
.vmv__col:nth-child(2) { --c: var(--acento-1); }
.vmv__col:nth-child(3) { --c: var(--acento-2); }
.vmv__col:hover { transform: translateY(-4px); background: #1b1b22; }
.vmv__col h3 { font-size: 1.35rem; margin: 0 0 0.75rem; color: var(--c); }
.vmv__col p { margin: 0; line-height: 1.6; color: rgb(255 255 255 / 0.8); }

/* ---- valores ---- */
.vval__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: 1.25rem;
}
.vval__item {
	background: var(--ink-2, #15151c);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 3px solid var(--acento, var(--rojo));
	transition: transform 0.25s ease, background 0.25s ease;
}
.vval__item:hover { transform: translateY(-4px); background: #1b1b22; }
.vval__item h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.vval__item p { margin: 0; color: rgb(255 255 255 / 0.78); }
.vval__cultura {
	margin: 2.5rem 0 0;
	font-size: clamp(1.2rem, 2.5vw, 1.8rem);
	font-weight: 600;
	max-width: 50rem;
	line-height: 1.3;
}

/* ---- parallax panels (Soluciones) ---- */
.vpanel {
	position: relative;
	min-height: clamp(60vh, 80vh, 90vh);
	display: grid;
	align-items: center;
	overflow: hidden;
	border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.vpanel__bg {
	position: absolute;
	inset: -15% 0;
	background-color: var(--ink, #0a0a0a);
	background-image:
		radial-gradient(110% 90% at 80% 20%, color-mix(in srgb, var(--acento) 50%, transparent) 0%, transparent 60%),
		linear-gradient(135deg, var(--ink, #0a0a0a), var(--ink-2, #15151c));
	will-change: transform;
}
.vpanel__inner { position: relative; z-index: 2; max-width: 52rem; }
.vpanel__num {
	display: block;
	font-size: 1rem;
	font-weight: 800;
	color: var(--acento);
	letter-spacing: 0.1em;
	margin-bottom: 1rem;
}
.vpanel__titulo {
	font-size: clamp(2rem, 5vw, 3.6rem);
	font-weight: 850;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
	line-height: 1;
}
.vpanel__texto { font-size: 1.15rem; line-height: 1.6; color: rgb(255 255 255 / 0.82); margin: 0; }

/* ---- galería de referencias creativas (Nosotros) ---- */
.vgaleria__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	margin-top: 2.5rem;
}
.vgaleria__item {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 6px;
	background: var(--ink-2, #15151c);
}
.vgaleria__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vgaleria__item:hover img { transform: scale(1.05); }
.vgaleria__nota { margin: 1.75rem 0 0; color: var(--gris, #8c8c96); font-size: 0.8rem; }
@media (prefers-reduced-motion: reduce) {
	.vgaleria__item img { transition: none; }
	.vgaleria__item:hover img { transform: none; }
}

/* ---- prosa legal / contenido (page.php: aviso, cookies) ---- */
.vprosa {
	max-width: 52rem;
	font-size: 1.05rem;
	line-height: 1.75;
	color: rgb(255 255 255 / 0.82);
}
.vprosa :is(h2, h3, h4) { color: var(--paper, #fff); letter-spacing: -0.01em; margin: 2.5rem 0 0.75rem; line-height: 1.2; }
.vprosa h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.vprosa h3 { font-size: 1.3rem; }
.vprosa p, .vprosa ul, .vprosa ol { margin: 0 0 1.25rem; }
.vprosa :is(ul, ol) { padding-left: 1.25rem; }
.vprosa li { margin-bottom: 0.5rem; }
.vprosa a { color: var(--acento-1); text-decoration: underline; text-underline-offset: 2px; }
.vprosa strong { color: var(--paper, #fff); }

/* ---- bloques de texto (CBI, Data) ---- */
.vbloque__texto { max-width: 50rem; font-size: 1.15rem; line-height: 1.6; color: rgb(255 255 255 / 0.82); margin: 0; }
.vbloque__texto strong { color: var(--acento-1); }
.vbloque--alt { background: var(--ink-2, #15151c); }

/* ---- partners ---- */
.vpartners__lista {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0;
	margin: 2rem 0 1rem;
}
.vpartners__item {
	border: 1px solid rgb(255 255 255 / 0.25);
	border-radius: 999px;
	padding: 0.75rem 1.5rem;
	font-weight: 700;
}
.vpartners__nota { color: var(--gris, #8c8c96); font-size: 0.9rem; margin: 0; }

/* ---- cierre / CTA ---- */
.vcierre { text-align: center; }
.vcierre h2 { font-size: var(--fluid-2); font-weight: 850; letter-spacing: -0.02em; margin: 0 0 1.5rem; }
.vbtn {
	display: inline-block;
	background: var(--rojo);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	padding: 1rem 2.25rem;
	border-radius: 999px;
	transition: transform 0.25s ease, background 0.25s ease;
}
.vbtn:hover, .vbtn:focus-visible { transform: translateY(-2px); background: #ff2d36; }
.vbtn[aria-disabled="true"], .vbtn[disabled] { opacity: 0.5; cursor: not-allowed; }
.vbtn--ghost { background: transparent; border: 1px solid rgb(255 255 255 / 0.28); color: var(--paper); }
.vbtn--ghost:hover, .vbtn--ghost:focus-visible { background: rgb(255 255 255 / 0.08); border-color: var(--paper); }

/* ---- 404 ---- */
.v404 { text-align: center; }
.v404__acciones { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ---- contacto ---- */
.vcontacto {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: clamp(2rem, 5vw, 4rem);
}
.vcontacto__lista { list-style: none; padding: 0; margin: 0 0 2rem; }
.vcontacto__lista li { padding: 0.9rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.12); }
.vcontacto__lista span { display: block; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rojo); margin-bottom: 0.25rem; }
.vcontacto__lista a { color: #fff; text-decoration: none; }
.vcontacto__lista a:hover { text-decoration: underline; }
.vbtn--wa { background: #25d366; color: #07271a; }
.vbtn--wa:hover, .vbtn--wa:focus-visible { background: #1fbe5a; }

.vcontacto__form { display: grid; gap: 1rem; align-content: start; }
.vform__nota { margin: 0; color: var(--gris, #8c8c96); font-size: 0.85rem; }
.vform__hp { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }
.vform__ok { font-size: 1.2rem; color: var(--acento-1, #00c2d4); font-weight: 700; }

/* Formulario de postulación (2 columnas en desktop). */
.vform--rh { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 60rem; }
.vform--rh select {
	background: var(--ink-2, #15151c);
	border: 1px solid rgb(255 255 255 / 0.18);
	color: #fff; padding: 0.75rem; border-radius: 3px; font: inherit;
}
.vform--rh input[type="file"] { color: rgb(255 255 255 / 0.8); }
/* Campos que ocupan el ancho completo. */
.vform--rh > label:has(input[type="file"]),
.vform--rh > .vform__check,
.vform--rh > button,
.vform--rh > .vrh__legal { grid-column: 1 / -1; }
@media (max-width: 640px) { .vform--rh { grid-template-columns: 1fr; } }
.vcontacto__form label { display: grid; gap: 0.4rem; font-size: 0.9rem; color: rgb(255 255 255 / 0.85); }
.vcontacto__form :is(input[type="text"], input[type="email"], textarea) {
	background: var(--ink-2, #15151c);
	border: 1px solid rgb(255 255 255 / 0.18);
	color: #fff;
	padding: 0.75rem;
	border-radius: 3px;
	font: inherit;
}
.vcontacto__form :is(input, textarea):focus-visible { outline: 2px solid var(--acento-1); outline-offset: 1px; }
.vform__check { flex-direction: row; grid-auto-flow: column; justify-content: start; align-items: center; gap: 0.5rem; }
.vmapa { line-height: 0; }
.vmapa iframe { display: block; filter: grayscale(0.3) contrast(1.05); }

/* ---- RH / Our people ---- */
.vrh__bloques {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
	gap: 1.25rem;
}
.vrh__bloque {
	--c: var(--rojo);
	background: var(--ink-2, #15151c);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border-top: 3px solid var(--c);
	transition: transform 0.25s ease, background 0.25s ease;
}
.vrh__bloque:nth-child(2) { --c: var(--acento-1); }
.vrh__bloque:nth-child(3) { --c: var(--acento-2); }
.vrh__bloque:nth-child(4) { --c: var(--acento-3); }
.vrh__bloque:hover { transform: translateY(-4px); background: #1b1b22; }
.vrh__bloque h3 { margin: 0 0 0.75rem; font-size: 1.3rem; color: var(--c); }
.vrh__bloque p, .vrh__bloque ul { margin: 0; color: rgb(255 255 255 / 0.8); line-height: 1.6; }
.vrh__bloque ul { padding-left: 1.1rem; }
.vrh__vacantes { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.vrh__vac {
	display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-items: baseline;
	padding: 1.25rem 0; border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.vrh__vac a { color: #fff; text-decoration: none; font-size: 1.3rem; font-weight: 800; }
.vrh__vac a:hover { color: var(--rojo); }
.vrh__vac small { color: var(--gris, #8c8c96); }
.vrh__legal { color: var(--gris, #8c8c96); font-size: 0.85rem; max-width: 50rem; margin-top: 1.5rem; }
