/* ==========================================================================
   Media Global Group — estilos del sitio (versión HTML estática)
   ========================================================================== */
:root {
	--red: #C3342E;
	--red-dark: #9E2722;
	--black: #000;
	--text: #1A1A1A;
	--gray: #E4E4E6;
	--container: 1140px;
	--gutter: 20px;
	--font-head: 'Poppins', system-ui, sans-serif;
	--font-body: 'Roboto', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Los anclajes (#contact, #team…) no quedan tapados arriba */
[id] { scroll-margin-top: 20px; }
body {
	margin: 0;
	background: #fff;
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--gutter);
}
.visually-hidden {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

/* --- Header ------------------------------------------------------------- */
.site-header {
	position: absolute; top: 0; left: 0; right: 0; z-index: 10;
	padding: 18px 0;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header__logo img { width: 150px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a, .nav button {
	font-family: var(--font-head); font-weight: 800; font-size: 15px;
	letter-spacing: .3px; text-transform: uppercase; color: #fff;
	background: none; border: 0; padding: 6px 0; cursor: pointer;
	transition: color .2s;
}
.nav a:hover, .nav button:hover { color: var(--red); }
.nav__item--has-sub { position: relative; }
.nav__item--has-sub > button::after {
	content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.nav__sub {
	position: absolute; top: 100%; left: -18px; min-width: 230px;
	background: #fff; padding: 10px 0; border-radius: 4px;
	box-shadow: 0 10px 30px rgba(0,0,0,.18);
	opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__sub a { display: block; padding: 5px 18px; line-height: 1.4; color: var(--text); text-transform: none; font-weight: 600; font-size: 14px; } /* 20% menos de espacio entre ítems */
.nav__sub a:hover, .nav__sub a[aria-current="page"] { color: var(--red); }
.nav__item--has-sub:hover .nav__sub,
.nav__item--has-sub:focus-within .nav__sub { opacity: 1; visibility: visible; transform: none; }
/* Selector de idioma: globo pequeño con desplegable */
.nav__lang > button { display: flex; align-items: center; }
.nav__lang > button::after { display: none; }
.nav__lang .fa-icon { width: 17px; height: 17px; fill: currentColor; }
.nav__lang-label { display: none; }
.nav__lang .nav__sub { left: auto; right: -14px; min-width: 150px; }
.nav__lang .nav__sub a[aria-current] { color: var(--red); pointer-events: none; }
.nav__toggle { display: none; }

/* --- Hero de servicio --------------------------------------------------- */
.hero {
	position: relative; min-height: 640px;
	background: #000 var(--hero) center bottom / cover no-repeat;
	display: flex; align-items: center;
}
.hero__claim { display: flex; flex-direction: column; gap: 18px; max-width: 300px; padding-top: 40px; }
.hero__claim img { width: 150px; }
.hero__claim p { font-family: var(--font-head); font-weight: 500; font-size: 27px; line-height: 1; color: #fff; }

/* --- Introducción de la sección ---------------------------------------- */
.intro { text-align: center; padding-block: 30px 40px; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--black); }
.intro h1 { font-family: var(--font-head); font-weight: 900; font-size: 40px; line-height: 1.4; color: var(--red); }
.intro p { font-family: var(--font-head); font-weight: 300; font-size: 27px; line-height: 1.2; max-width: 1100px; margin: 4px auto 0; }

/* --- Grilla de formatos ------------------------------------------------- */
.formats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 50px 30px; padding-block: 0 60px; }
.format { text-align: center; }
.format img.format__photo { width: 100%; aspect-ratio: 265 / 200; object-fit: cover; }
.format h2 {
	font-family: var(--font-head); font-weight: 900; font-size: 22px; line-height: 1.4;
	color: var(--red); text-transform: uppercase; margin-top: 12px;
}
.format img.format__shadow { width: 100%; margin-top: -2px; opacity: .9; }

/* --- "In every place" ---------------------------------------------------- */
.presence { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; padding-block: 20px 50px; }
.presence__text { display: flex; flex-direction: column; gap: 4px; }
.presence__icon { width: 28px; height: 28px; color: var(--red); margin-bottom: 6px; }
.presence h2 { font-family: var(--font-head); font-weight: 900; font-size: 28px; line-height: 1.1; color: var(--black); }
.presence .lead { font-family: var(--font-head); font-weight: 500; font-size: 25px; line-height: 1.2; margin-bottom: 16px; }
.presence p.body { font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.3; }
.presence__visual p { font-family: var(--font-head); font-weight: 300; font-size: 25px; line-height: 1.35; color: var(--red); margin-top: 20px; }

/* --- Reconocimiento ----------------------------------------------------- */
.recognition { text-align: center; padding-block: 40px 70px; }
.stars { display: flex; justify-content: center; gap: 6px; margin-bottom: 10px; }
.stars svg { width: 14px; height: 14px; }
.recognition h2 { font-family: var(--font-head); font-weight: 500; font-size: 40px; line-height: 1.2; }
.recognition p { font-family: var(--font-head); font-weight: 300; font-size: 27px; line-height: 1.3; margin: 6px 0 24px; }
.recognition img { width: 170px; margin: 0 auto; }

/* --- Certificaciones ---------------------------------------------------- */
.certs { background: #000; color: #fff; padding: 10px 0; min-height: 124px; display: flex; align-items: center; }
.certs .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.certs__title { display: flex; align-items: center; gap: 22px; font-family: var(--font-head); line-height: 1; }
.certs__title svg { width: 62px; height: 66px; flex: none; }
.certs__title strong { display: block; font-weight: 500; font-size: 33px; }
.certs__title span { display: block; font-weight: 700; font-size: 33px; }
.certs__logos { display: flex; align-items: center; gap: 20px; }
.certs__logos img { width: 366px; height: auto; }
.certs__logos .sep { width: 1px; height: 104px; background: rgba(255,255,255,.7); }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--red); color: #fff; }
.site-footer .container { display: grid; grid-template-columns: 210px 208px 185px 1fr 228px; column-gap: 20px; align-items: start; min-height: 293px; }
.footer__brand { padding-top: 35px; display: flex; flex-direction: column; }
.footer__brand > img { width: 150px; }
.social { display: flex; gap: 9px; margin-top: 29px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: #000; display: grid; place-items: center; transition: translate .25s ease, background .2s; }
.social a:hover { translate: 0 -3px; }
.social svg { width: 17px; height: 17px; fill: #fff; }
.footer__mail { display: flex; align-items: center; gap: 12px; margin-top: 20px; font-family: var(--font-body); font-size: 15px; color: #000; }
.footer__mail svg { width: 40px; height: 40px; flex: none; }
.footer__mail:hover { text-decoration: underline; }
.footer__col { padding-top: 35px; font-family: var(--font-body); font-size: 15px; line-height: 22px; color: #000; }
.footer__col .pin { width: 32px; height: 32px; margin-bottom: 10px; }
.footer__col h3 { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 22px; color: #000; margin-bottom: 15px; }
.footer__col h3.light { font-weight: 600; color: #fff; margin-bottom: 20px; }
.footer__col address { font-style: normal; }
.footer__col .rule { display: block; width: 80px; border-top: 1px solid #000; margin: 10px 0 8px; }
.footer__col .phone-label { font-weight: 700; }
.footer__col .phone { font-size: 20px; color: #000; }
.footer__col .reps li { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 22px; color: #000; }
.footer__globe { align-self: end; padding-top: 88px; }
.footer__globe img { width: 231px; max-width: 100%; margin: 0 auto; }
.footer__nav { background: #000; padding: 27px 30px; align-self: stretch; }
.footer__nav a { display: block; font-family: var(--font-head); font-weight: 600; font-size: 17px; line-height: 18px; padding: 1px 0; transition: color .2s; }
.footer__nav a.sub { font-weight: 200; font-style: italic; font-size: 14px; line-height: 18px; }
.footer__nav a.sub:first-of-type { margin-top: 4px; }
.footer__nav a.footer__contact { font-size: 18px; margin-top: 4px; }
.footer__nav a:hover { color: var(--red); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
	.nav { gap: 20px; }
	.formats { grid-template-columns: repeat(2, 1fr); }
	.presence { grid-template-columns: 1fr; }
	.certs .container { flex-direction: column; }
	.site-footer .container { grid-template-columns: 1fr 1fr; min-height: 0; row-gap: 10px; }
	.footer__globe { display: none; }
	.footer__nav { grid-column: 1 / -1; padding: 25px 20px; margin-top: 25px; }
}
@media (max-width: 767px) {
	.nav__toggle {
		display: block; background: none; border: 0; padding: 8px; cursor: pointer;
	}
	.nav__toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }
	.nav {
		position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw); z-index: 20;
		flex-direction: column; align-items: flex-start; gap: 6px;
		background: #fff; padding: 80px 28px 30px;
		transform: translateX(100%); transition: transform .25s, visibility .25s;
		visibility: hidden;
	}
	.nav a, .nav button { color: var(--text); font-size: 17px; }
	.nav__sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 6px 12px; min-width: 0; }
	.nav__item--has-sub > button::after { display: none; }
	.nav__lang > button { gap: 8px; }
	.nav__lang-label { display: inline; }
	body.menu-open .nav { transform: none; visibility: visible; box-shadow: -10px 0 30px rgba(0,0,0,.2); }
	body.menu-open .nav__toggle { position: fixed; right: 16px; top: 18px; z-index: 30; }
	body.menu-open .nav__toggle span { background: var(--text); }
	body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
	body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

	.hero { min-height: 560px; background-image: var(--hero-m, var(--hero)); background-position: center bottom; align-items: flex-end; padding-bottom: 120px; }
	.hero__claim p { font-size: 22px; }
	.intro h1 { font-size: 32px; }
	.intro p { font-size: 20px; }
	.formats { gap: 30px 16px; }
	.format h2 { font-size: 16px; }
	.presence h2 { font-size: 24px; }
	.presence .lead, .presence__visual p { font-size: 20px; }
	.presence p.body { font-size: 17px; }
	.recognition h2 { font-size: 30px; }
	.recognition p { font-size: 20px; }
	.certs__title strong, .certs__title span { font-size: 26px; }
	.certs__logos { flex-wrap: wrap; justify-content: center; gap: 18px; }
	.certs__logos img { width: min(320px, 90vw); }
	.certs__logos .sep { display: none; }
	.site-footer .container { grid-template-columns: 1fr; gap: 0; }
	.footer__brand, .footer__col { padding-top: 26px; }
	.footer__nav { margin: 26px calc(var(--gutter) * -1) 0; }
	/* Footer en celular: todo centrado, sin "Representantes en otros países" ni el menú repetido */
	.site-footer .container { justify-items: center; text-align: center; padding-bottom: 34px; }
	.footer__brand { align-items: center; }
	.social { justify-content: center; }
	.footer__col .pin { margin-inline: auto; }
	.footer__col .rule { margin-inline: auto; }
	.footer__col--reps, .footer__nav { display: none; }
}

/* ==========================================================================
   Animaciones de entrada (equivalentes a las de Elementor / Animate.css)
   Uso: <div data-anim="fadeInUp" data-delay="100" data-speed="fast">
   Solo se ocultan si hay JS (clase .js en <html>); sin JS todo se ve normal.
   ========================================================================== */
.js [data-anim] { visibility: hidden; }
.js [data-anim].is-visible {
	visibility: visible;
	animation-duration: 1.25s;
	animation-fill-mode: both;
	animation-delay: var(--delay, 0ms);
}
.js [data-anim][data-speed="fast"].is-visible { animation-duration: .75s; }
.js [data-anim][data-speed="slow"].is-visible { animation-duration: 2s; }

.js [data-anim="fadeIn"].is-visible       { animation-name: fadeIn; }
.js [data-anim="fadeInUp"].is-visible     { animation-name: fadeInUp; }
.js [data-anim="fadeInLeft"].is-visible   { animation-name: fadeInLeft; }
.js [data-anim="slideInDown"].is-visible  { animation-name: slideInDown; }
.js [data-anim="slideInRight"].is-visible { animation-name: slideInRight; }
.js [data-anim="zoomIn"].is-visible       { animation-name: zoomIn; }
.js [data-anim="rollIn"].is-visible       { animation-name: rollIn; }
.js [data-anim="headShake"].is-visible    { animation-name: headShake; animation-timing-function: ease-in-out; }

@keyframes fadeIn       { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp     { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes fadeInLeft   { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes slideInDown  { from { transform: translate3d(0, -100%, 0); visibility: visible; } to { transform: none; } }
@keyframes slideInRight { from { transform: translate3d(100%, 0, 0); visibility: visible; } to { transform: none; } }
@keyframes zoomIn       { from { opacity: 0; transform: scale3d(.3, .3, .3); } 50% { opacity: 1; } }
@keyframes rollIn       { from { opacity: 0; transform: translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg); } to { opacity: 1; transform: none; } }
@keyframes headShake {
	0%    { transform: translateX(0); }
	6.5%  { transform: translateX(-6px) rotateY(-9deg); }
	18.5% { transform: translateX(5px) rotateY(7deg); }
	31.5% { transform: translateX(-3px) rotateY(-5deg); }
	43.5% { transform: translateX(2px) rotateY(3deg); }
	50%   { transform: translateX(0); }
}

/* Que nada se salga de la pantalla mientras entra desde un costado */
body { overflow-x: hidden; }

/* Quien tiene activado "reducir movimiento" en su sistema ve todo sin animación */
@media (prefers-reduced-motion: reduce) {
	.js [data-anim] { visibility: visible; }
	.js [data-anim].is-visible { animation: none; }
}

/* ==========================================================================
   Componentes de páginas de servicio
   ========================================================================== */
.section-title { font-family: var(--font-head); font-weight: 500; font-size: 33px; line-height: 1.2; text-align: center; color: var(--black); }
.section-title--spaced { margin: 30px 0 40px; padding: 0 var(--gutter); }
.dot-icon, .presence__icon { width: 28px; height: 28px; color: var(--red); flex: none; }

.format__text { font-family: var(--font-head); font-size: 15px; line-height: 1.2; margin-top: 10px; }
.formats--text { align-items: start; }
.formats--text .format h2 { font-size: 25px; }

.coverage { background: #DDDDDF; padding: 40px 0 50px; }
.coverage__grid { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: center; margin-top: 30px; }
.coverage__text { display: flex; flex-direction: column; gap: 6px; }
.coverage__text h3 { font-family: var(--font-head); font-weight: 900; font-size: 28px; line-height: 1; }
.coverage__text .lead { font-family: var(--font-head); font-weight: 500; font-size: 25px; line-height: 1; margin-bottom: 14px; }
.coverage__text .body { font-family: var(--font-body); font-weight: 500; font-size: 20px; line-height: 1.25; margin-bottom: 14px; }
.coverage__shadow { width: 100%; max-width: 1200px; margin: 0 auto; }
.text-link { font-family: var(--font-head); font-weight: 700; font-size: 15px; line-height: 1.2; color: var(--red); }
.text-link:hover { text-decoration: underline; }

.split3 { display: grid; grid-template-columns: 1.1fr .9fr 1.2fr; gap: 40px; align-items: start; padding-block: 10px 60px; }
.split3__col { display: flex; flex-direction: column; gap: 6px; }
.split3__title { font-family: var(--font-head); font-weight: 900; font-size: 28px; line-height: 1; }
.split3 .lead { font-family: var(--font-head); font-weight: 500; font-size: 25px; line-height: 1; margin-bottom: 14px; }
.split3 .body, .split2 .body { font-family: var(--font-body); font-size: 20px; line-height: 1.25; }
.split3__col--rule { border-top: 4px solid var(--red); padding-top: 22px; }
.red-list { font-family: var(--font-head); font-weight: 900; font-size: 25px; line-height: 1.12; color: var(--red); }
.red-list--sm { font-size: 22px; line-height: 1.27; margin-top: 14px; }
.red-light { font-family: var(--font-head); font-weight: 300; font-size: 25px; line-height: 1.36; color: var(--red); }
.red-light-list { font-family: var(--font-head); font-weight: 300; font-size: 25px; line-height: 1.32; color: #C60000; padding-left: 1.1em; list-style: disc; }
.split2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; padding-block: 10px 70px; }

/* ==========================================================================
   Home
   ========================================================================== */
.section-h { font-family: var(--font-head); font-weight: 900; font-size: 40px; line-height: 1.4; text-align: center; color: var(--black); }
.about, .experience { text-align: center; padding-block: 60px 30px; }
.h-black { font-family: var(--font-head); font-weight: 900; font-size: 28px; line-height: 1; color: var(--black); }
.cta-red { font-family: var(--font-head); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--red); }
.cta-red a { font-style: italic; text-decoration: underline; }
.cta-red a:hover { color: var(--red-dark); }

/* Slider */
.slider { position: relative; height: clamp(560px, 58vw, 760px); background: transparent; overflow: hidden; }
/* Las imágenes tienen la curva inferior transparente: se ve lo que esté detrás del slider */
.slider__slide {
	position: absolute; inset: 0; display: flex; align-items: center;
	background: var(--bg) center bottom / cover no-repeat;
	/* En espera: arriba, fuera de cuadro (vuelve ahí sin animación) */
	transform: translateY(-100%); z-index: 1; pointer-events: none;
}
/* La que entra baja desde arriba y tapa a la anterior */
.slider__slide.is-active {
	transform: none; z-index: 3; pointer-events: auto;
	transition: transform 1s cubic-bezier(.65, 0, .35, 1);
}
/* La que sale se queda quieta debajo hasta quedar tapada */
.slider__slide.is-leaving { transform: none; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
	.slider__slide.is-active { transition: none; }
}
.slider__text { color: #fff; padding-top: 60px; max-width: 420px; }
.slider__title { font-family: var(--font-head); font-weight: 300; font-size: 64px; line-height: 1.05; margin-bottom: 20px; }
.slider__line { display: block; width: 110px; height: 2px; background: #fff; opacity: .8; }
.slider__claim { font-family: var(--font-head); font-weight: 600; font-size: 25px; line-height: 1; margin-top: 22px; }
.slider__slide.is-active .slider__title { animation: fadeInUp .9s both; }
.slider__slide.is-active .slider__claim { animation: fadeInUp .9s .25s both; }
.slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	background: none; border: 0; padding: 10px; cursor: pointer; color: var(--red);
}
.slider__arrow svg { width: 30px; height: 30px; }
.slider__arrow--prev { left: 6px; }
.slider__arrow--next { right: 6px; }

/* About */
.about__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; text-align: left; margin-top: 30px; }
.about__lead { font-family: var(--font-head); font-weight: 300; font-size: 27px; line-height: 1.2; color: var(--red); margin-bottom: 30px; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 18px; font-size: 20px; line-height: 1.15; }

.journey { display: grid; grid-template-columns: 1fr 1.6fr; gap: 50px; align-items: center; padding-block: 30px 60px; }
.journey__text { display: flex; flex-direction: column; gap: 18px; font-size: 20px; line-height: 1.15; }
.journey__sub { font-family: var(--font-head); font-weight: 500; font-size: 25px; line-height: 1; color: var(--red); margin-top: -10px; }

/* Team */
.team { padding-top: 40px; }
.team .container { text-align: center; margin-bottom: 30px; }
.team__band { display: grid; grid-template-columns: 30% 70%; background: #E3E3E4; }
.team__panel {
	background: #000 url("../img/team-panel.webp") right center / cover no-repeat;
	color: #F9F9F9; padding: 60px 60px 60px max(var(--gutter), calc((100vw - var(--container)) / 2));
	display: flex; flex-direction: column; justify-content: center; gap: 30px;
	font-family: var(--font-head); font-weight: 500; font-size: 20px; line-height: 1.2;
}
.btn-outline {
	align-self: flex-start; border: 1px solid #fff; border-radius: 3px; padding: 12px 24px;
	font-family: var(--font-body); font-weight: 900; font-size: 14px; line-height: 1; color: #fff;
	transition: background .2s, color .2s;
}
.btn-outline:hover { background: #fff; color: var(--black); }
.team__carousel--mobile { display: none; }

/* Carrusel genérico */
.carousel { position: relative; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc(100% / var(--per-view, 1));
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; width: 100%; height: auto; }
.carousel__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	background: none; border: 0; padding: 8px; cursor: pointer; color: var(--black);
}
.carousel__arrow svg { width: 24px; height: 24px; }
.carousel__arrow--prev { left: 0; }
.carousel__arrow--next { right: 0; }
.team__carousel .carousel__track img { aspect-ratio: 2 / 1; object-fit: cover; }

/* Experience */
.clients { margin: 30px auto 40px; padding: 0 40px; }
.clients .carousel__track > img { padding: 0 20px; aspect-ratio: 1; object-fit: contain; scale: .9; } /* logos 10% más chicos */
.trusted { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; text-align: left; padding-bottom: 30px; }
.trusted__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; font-size: 28px; line-height: 1; }
.trusted__title .presence__icon { width: 22px; height: 22px; }
.trusted__lead { font-family: var(--font-head); font-weight: 300; font-size: 25px; line-height: 1.2; color: var(--red); margin-top: 6px; }
.trusted__rule { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; border-top: 2px solid var(--red); padding-top: 18px; font-size: 20px; line-height: 1.15; }

/* Services */
.services { background: #000 url("../img/services-bg.webp") center / cover no-repeat; color: #fff; padding: 70px 0 80px; text-align: center; }
.services .eyebrow, .services .section-h { color: #fff; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 40px; margin-top: 40px; align-items: center; }
.service { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; transition: translate .35s ease; }
.service img { width: 150px; }
.service h3 { font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 1.3; }
.service p { font-family: var(--font-head); font-size: 18px; line-height: 1.1; }
.service__more { font-size: 20px; font-weight: 600; text-decoration: underline; }
/* Hover: el texto sigue blanco y el bloque sube un poco.
   Se usa "translate" (no "transform") para no chocar con la animación de entrada, que usa transform. */
.service:hover, .service:focus-visible { color: #fff; translate: 0 -8px; }
.service--custom img { width: 100%; max-width: 330px; }

/* Contact */
.contact { background: #CBCCD0; padding: 50px 0 60px; text-align: center; }
.contact__grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; margin-top: 30px; text-align: left; }
.contact-form { display: grid; grid-template-columns: 1fr 1.4fr; gap: 0 20px; }
.contact-form__fields { display: flex; flex-direction: column; }
.contact-form input, .contact-form textarea, .contact-form select {
	width: 100%; font: 14px/1.4 var(--font-body); color: var(--text); background: transparent;
	border: 0; border-bottom: 1px solid #555; padding: 14px 6px; outline: none;
}
.contact-form textarea { height: 100%; min-height: 150px; border: 1px solid #555; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form__message { display: block; }
.contact-form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.btn-black {
	background: #000; color: #fff; border: 0; padding: 12px 34px; cursor: pointer;
	font-family: var(--font-head); font-weight: 700; font-size: 13px; transition: background .2s;
}
.btn-black:hover { background: var(--red); }
.btn-black[disabled] { opacity: .6; cursor: wait; }
.contact-form__status { font-family: var(--font-head); font-size: 15px; }
.contact-form__status.is-ok { color: #1a7f37; }
.contact-form__status.is-error { color: var(--red); }
.contact__img { max-width: 210px; margin: 0 auto; } /* 30% más chico que el original (300px) */

/* Animaciones extra que usa la home */
.js [data-anim="bounceIn"].is-visible   { animation-name: bounceIn; animation-duration: .75s; }
.js [data-anim="bounceIn"][data-speed="slow"].is-visible { animation-duration: 2s; }
.js [data-anim="bounceInUp"].is-visible { animation-name: bounceInUp; }
.js [data-anim="slideInUp"].is-visible  { animation-name: slideInUp; }
.js [data-anim="flash"].is-visible      { animation-name: flash; }
@keyframes bounceIn {
	from, 20%, 40%, 60%, 80%, to { animation-timing-function: cubic-bezier(.215,.61,.355,1); }
	0% { opacity: 0; transform: scale3d(.3,.3,.3); }
	20% { transform: scale3d(1.1,1.1,1.1); }
	40% { transform: scale3d(.9,.9,.9); }
	60% { opacity: 1; transform: scale3d(1.03,1.03,1.03); }
	80% { transform: scale3d(.97,.97,.97); }
	to { opacity: 1; transform: scale3d(1,1,1); }
}
@keyframes bounceInUp {
	from, 60%, 75%, 90%, to { animation-timing-function: cubic-bezier(.215,.61,.355,1); }
	from { opacity: 0; transform: translate3d(0,3000px,0); }
	60% { opacity: 1; transform: translate3d(0,-20px,0); }
	75% { transform: translate3d(0,10px,0); }
	90% { transform: translate3d(0,-5px,0); }
	to { transform: translate3d(0,0,0); }
}
@keyframes slideInUp { from { transform: translate3d(0,100%,0); visibility: visible; } to { transform: none; } }
@keyframes flash { from, 50%, to { opacity: 1; } 25%, 75% { opacity: 0; } }

/* --- Responsive de los componentes nuevos ------------------------------- */
@media (max-width: 1024px) {
	.coverage__grid, .split3, .split2, .about__grid, .journey, .trusted { grid-template-columns: 1fr; }
	.split3__col--rule { max-width: 600px; }
	.team__band { grid-template-columns: 1fr; }
	.team__panel { padding: 40px var(--gutter); }
	.services__grid { grid-template-columns: repeat(2, 1fr); }
	.contact__grid { grid-template-columns: 1fr; }
	.contact__img { max-width: 154px; }
}
@media (max-width: 767px) {
	.section-h { font-size: 28px; }
	.section-title { font-size: 26px; }
	.slider { height: auto; aspect-ratio: 900 / 1447; max-height: 92vh; }
	.slider__slide { background-image: var(--bg-m, var(--bg)); align-items: flex-start; padding-top: 120px; }
	.slider__title { font-size: 40px; }
	.slider__text { text-align: center; margin: 0 auto; }
	.slider__line { margin: 0 auto; }
	.slider__claim { font-size: 20px; }
	.about__lead, .trusted__lead { font-size: 21px; }
	.about__cols, .trusted__rule { grid-template-columns: 1fr; font-size: 17px; }
	.journey__text { font-size: 17px; }
	.journey__sub { font-size: 21px; }
	.h-black, .coverage__text h3, .split3__title { font-size: 24px; }
	.red-list, .red-light, .red-light-list { font-size: 20px; }
	.split3 .body, .split2 .body, .coverage__text .body { font-size: 17px; }
	.team__panel { background-image: url("../img/team-panel-m.webp"); font-size: 17px; }
	.team__carousel--desktop { display: none; }
	.team__carousel--mobile { display: block; }
	.team__carousel .carousel__track img { aspect-ratio: 1; }
	.clients { padding: 0 30px; }
	.services__grid { grid-template-columns: 1fr; gap: 40px; }
	.contact-form { grid-template-columns: 1fr; gap: 14px; }
	.contact-form textarea { min-height: 140px; }
}

/* Recognition sin texto intermedio (ej. Representations) */
.recognition h2 + img { margin-top: 16px; }

/* Botón "volver arriba" */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 15;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: #000; color: #fff; display: grid; place-items: center;
	box-shadow: 0 4px 14px rgba(0,0,0,.25);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .25s, visibility .25s, transform .25s, background .2s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); }
.to-top svg { width: 18px; height: 18px; }

/* Quien prefiere menos movimiento: sin scroll animado */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* Página de gracias (/thank-you/, /es/gracias/) */
.thanks { background: #000 url("../img/cases/embratur-hero-rio-de-janeiro.webp") center / cover no-repeat; position: relative; color: #fff; }
.thanks::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.72); }
.thanks__inner { position: relative; min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; text-align: center; padding-block: 150px 80px; }
.thanks__icon { display: inline-flex; align-items: center; justify-content: center; width: 78px; height: 78px; border-radius: 50%; background: var(--red); font-size: 34px; }
.thanks .fa-icon { width: 1em; height: 1em; fill: currentColor; }
.thanks h1 { font-family: var(--font-head); font-weight: 800; font-size: 32px; line-height: 1.3; max-width: 760px; }
.thanks__btn { display: inline-flex; align-items: center; gap: 10px; border: 2px solid #fff; padding: 13px 28px; font-family: var(--font-head); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.thanks__btn:hover { background: #fff; color: #000; }
@media (max-width: 767px) { .thanks h1 { font-size: 23px; } }
.contact-form select { color: #757575; cursor: pointer; }
.contact-form select:focus { border-color: var(--red); }
.contact-form select:has(option:checked:not([value=""])) { color: var(--text); }

/* Portada: H1 del paquete del cliente (SEO), primer párrafo y botón, arriba de "About us" */
.about__h1 { font-size: 34px; line-height: 1.2; text-transform: uppercase; max-width: 940px; margin: 8px auto 0; }
.about__intro { font-family: var(--font-body); font-size: 18px; line-height: 1.6; color: #333; max-width: 860px; margin: 22px auto 0; }
.about__ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 14px; margin: 26px 0 60px; } /* 60px debajo (se superpone con el margen del about__grid) */
.about__btn { display: inline-block; }
.about__link { display: inline-block; background: var(--red); color: #fff; padding: 12px 34px; font-family: var(--font-head); font-weight: 700; font-size: 13px; transition: background .2s; }
.about__link:hover { background: #000; }
@media (max-width: 767px) {
	.about__h1 { font-size: 24px; }
	.about__intro { font-size: 16px; }
}

/* Banner de cookies */
.cookie-banner {
	position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 720px; margin-inline: auto;
	display: flex; align-items: center; gap: 24px; padding: 18px 22px;
	background: #000; color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); border-top: 3px solid var(--red);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { font-family: var(--font-body); font-size: 14.5px; line-height: 1.5; }
.cookie-banner__actions { display: flex; gap: 10px; flex: none; }
.cookie-banner__btn {
	padding: 10px 22px; border: 2px solid #fff; background: transparent; color: #fff; cursor: pointer;
	font-family: var(--font-head); font-weight: 700; font-size: 13px; transition: background .2s, color .2s, border-color .2s;
}
.cookie-banner__btn:hover { background: #fff; color: #000; }
.cookie-banner__btn--accept { background: var(--red); border-color: var(--red); }
.cookie-banner__btn--accept:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
@media (max-width: 767px) {
	.cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 12px; right: 12px; bottom: 12px; }
	.cookie-banner__btn { flex: 1; }
}

/* Página 404 (usa el mismo fondo que la de gracias) */
.thanks__code { font-family: var(--font-head); font-weight: 900; font-size: 96px; line-height: 1; color: var(--red); }
.thanks__sub { font-family: var(--font-head); font-weight: 300; font-size: 22px; margin-top: -14px; }
.thanks__text { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: #E4E4E6; }
.thanks__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
