/* ==========================================================================
   MAP — estilos del theme
   Diseño de referencia: Figma "MAP — Wireframe One Page" · hoja UX · frame sitiodev (1440 px)
   Orden: tokens · base · header · componentes · secciones · internas · footer · responsive
   ========================================================================== */

/* ---------- Fuentes (locales, variables, solo subset latin) ---------- */
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url("../fonts/inter-latin-wght.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
	--orange: #ff6b00;
	--red: #ff0000;
	--wine: #b7131a;
	--wine-2: #db322f;
	--peach: #ffb693;
	--ink: #1a1a1a;
	--bg: #f8f9fa;
	--muted: #6c757d;
	--line: #e9ecef;
	--pink: #ffecec;
	--cream: #fff4ec;
	--orange-dk: #ea580c;
	--mist: #eef0fa;
	--slate: #2d3138;
	--gray: #9ca3af;
	--f-head: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--max: 1440px;
	--gutter: 80px;
	--grad: linear-gradient(124.38deg, #ff6b00 15.367%, #ea380c 48.463%, #f00 81.56%);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.skip-link {
	position: absolute; left: 16px; top: -60px; z-index: 100;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.icon { width: 1em; height: 1em; }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation: none !important; transition: none !important; }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; }

/* ---------- Encabezados de sección ---------- */
.section-head { display: flex; flex-direction: column; gap: 20px; margin-bottom: 60px; }
.kicker {
	font: 700 11px/16.5px var(--f-body); letter-spacing: 1.1px; text-transform: uppercase; color: var(--wine);
}
.section-title {
	margin-top: -16px; /* 4px entre sobretítulo y título (gap 20 - 16) */
	font: 900 44px/48px var(--f-head); letter-spacing: -1.2px; color: var(--ink);
}
.section-lead { font: 300 24px/36px var(--f-body); color: var(--ink); max-width: 1000px; }
.section-lead strong { font-weight: 700; }
.section-head--light .section-title { color: #fff; }
.section-head--light .section-lead { color: var(--mist); }
.kicker--light { color: var(--peach); }

/* ==========================================================================
   Header (navbar flotante)
   ========================================================================== */
.site-header { position: fixed; top: 24px; left: 0; right: 0; z-index: 60; pointer-events: none; }
.site-header__inner {
	pointer-events: auto; display: flex; align-items: center; justify-content: center;
	gap: 64px; height: 46px; width: max-content; max-width: 100%; margin: 0 auto;
}
.brand { position: relative; display: block; flex: none; width: 96px; height: 46px; }
.brand__img { position: absolute; left: -12px; top: -6px; width: 120px; height: 70px; max-width: none; object-fit: contain; }
.site-header__panel { display: flex; align-items: center; gap: 64px; }
.nav__list {
	display: flex; align-items: center; gap: 6px; height: 46px; padding: 6px;
	background: rgba(0, 0, 0, 0.3); border-radius: 32px;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.nav__list a {
	display: flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 9999px;
	font: 600 12px/16px var(--f-body); color: #fff; white-space: nowrap; transition: background-color .2s, color .2s;
}
.nav__list a:hover { background: rgba(255, 255, 255, 0.15); }
.nav__list a.is-active,
.nav__list .current-menu-item > a { background: var(--cream); color: var(--orange-dk); }
.nav-toggle { display: none; }

.cta-duo { --h: 38px; display: flex; align-items: center; height: 46px; padding: 4px 0; }
.cta-duo__main,
.cta-duo__icon {
	display: flex; align-items: center; height: var(--h); background: var(--red); border: 0; color: #fff;
	border-radius: 12px; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	transition: filter .2s;
}
.cta-duo__main { padding: 0 16px; font: 700 12px/16px var(--f-body); margin-right: -1px; white-space: nowrap; }
.cta-duo__icon { padding: 0 12px 0 11px; }
.cta-duo__icon img { width: 11.25px; height: 11.25px; }
.cta-duo__main:hover,
.cta-duo__icon:hover { filter: brightness(1.08); }
.cta-duo--form { --h: 46px; height: 46px; padding: 0; }
.cta-duo--form .cta-duo__main {
	padding: 0 16px; font-size: 14px; color: var(--mist); text-transform: uppercase;
	box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.1), 0 4px 6px -4px rgba(255, 107, 0, 0.1);
}
.cta-duo--form .cta-duo__icon { padding: 0 15px 0 14px; box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.1), 0 4px 6px -4px rgba(255, 107, 0, 0.1); }

/* ==========================================================================
   01 · Hero + cintillo
   ========================================================================== */
.hero {
	position: relative; height: 880px; margin-bottom: -100px; overflow: hidden;
	background: var(--grad); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__inner {
	position: relative; display: flex; flex-direction: column; justify-content: space-between;
	max-width: var(--max); height: 700px; margin: 0 auto; padding: 140px 60px 0 80px;
}
.hero__logo img { width: 319px; height: 120px; max-width: none; }
.hero__copy { max-width: 560px; }
.hero__title { font: 900 64px/64px var(--f-head); letter-spacing: 0.64px; color: #fff; }
.hero__title > span { display: block; }
.hero__accent { color: var(--peach); line-height: 62px; }
.hero__text { margin-top: 28px; font: 300 20px/28px var(--f-body); color: #fff; }
.hero__text strong { font-weight: 800; }
.hero__ctas { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.btn-duo { display: flex; align-items: stretch; }
.btn-duo__main,
.btn-duo__icon { display: flex; align-items: center; background: #fff; border-radius: 12px; transition: filter .2s; }
.btn-duo__main {
	padding: 14px 24px; margin-right: -1px; font: 700 14px/20px var(--f-body);
	letter-spacing: 0.7px; text-transform: uppercase; color: var(--red);
}
.btn-duo__icon { padding: 14px; }
.btn-duo__icon img { width: 16px; height: 16px; }
.btn-duo__main:hover,
.btn-duo__icon:hover { filter: brightness(0.96); }
.btn-ghost {
	display: inline-flex; align-items: center; padding: 15px 21px; border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
	font: 700 14px/20px var(--f-body); color: #fff; transition: background-color .2s;
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.2); }

.stats { position: relative; background: var(--bg); border-radius: 100px 100px 0 0; padding: 80px 50px 0; }
.stats__list { display: flex; align-items: center; justify-content: center; gap: 42px; max-width: var(--max); margin: 0 auto; }
.stat { display: flex; align-items: center; gap: 12px; }
.stat__value { font: 900 60px/60px var(--f-head); letter-spacing: -1px; color: var(--red); white-space: nowrap; }
.stat__value { font-variant-numeric: tabular-nums; }
.stats__list.is-anim .stat { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
.stats__list.is-anim .stat.is-in { opacity: 1; transform: none; }
.stat__body { display: flex; flex-direction: column; gap: 6px; }
.stat__label { font: 900 24px/28px var(--f-head); text-transform: uppercase; color: var(--wine); white-space: nowrap; }
.stat__text { font: 300 16px/16.5px var(--f-body); color: var(--wine-2); white-space: nowrap; }

/* ==========================================================================
   02 · Pilares
   ========================================================================== */
.pilares { padding: 80px 0 100px; }
.pilares__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pilar { display: flex; flex-direction: column; }
.pilar__media { height: 200px; border-radius: 16px; overflow: hidden; }
.pilar__img { width: 100%; height: 100%; object-fit: cover; }
.pilar__body {
	flex: 1; display: flex; flex-direction: column; gap: 4px; padding: 25px; background: #fff;
	border: 1px solid var(--line); border-radius: 16px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}
.pilar__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.pilar__title { font: 900 18px/28px var(--f-head); text-transform: uppercase; color: var(--ink); }
.pilar__icon { display: flex; align-items: center; justify-content: center; flex: none; width: 48px; height: 48px; background: var(--pink); border-radius: 12px; }
.pilar__icon img { max-width: none; }
.pilar__tagline { font: 700 12px/16px var(--f-body); color: var(--red); }
.pilar__text { padding-top: 4px; font: 400 12px/18px var(--f-body); color: var(--muted); }

/* ==========================================================================
   03 · Modelo
   ========================================================================== */
.modelo { padding: 40px var(--gutter); filter: drop-shadow(0 10px 7.5px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)); }
.modelo__panel {
	display: flex; flex-direction: column; gap: 40px; max-width: var(--max); margin: 0 auto;
	padding: 60px; background: var(--ink); border-radius: 80px;
}
.modelo .section-head { margin-bottom: 0; }
.modelo .section-title { font-size: 48px; }
.modelo .section-lead { font-size: 24px; line-height: 32px; }
.modelo__body { display: flex; align-items: center; justify-content: center; gap: 40px; min-height: 420px; }
.modelo__steps { flex: none; width: 460px; display: flex; flex-direction: column; gap: 12px; justify-content: center; padding: 12px 0; }
.steps { display: flex; flex-direction: column; gap: 12px; min-height: 340px; padding-left: 20px; border-left: 2px solid #fff; }
.step {
	display: flex; align-items: center; gap: 16px; width: 100%; padding: 12px; border: 0; border-radius: 16px;
	background: transparent; color: #fff; text-align: left; transition: background-color .25s;
}
.step__num {
	display: flex; align-items: center; justify-content: center; align-self: stretch; flex: none; width: 32px; min-height: 16px;
	background: rgba(156, 163, 175, 0.1); border-radius: 12px; font: 700 12px/16px var(--f-body); color: var(--gray);
	transition: background-color .25s, color .25s;
}
.step__main { display: flex; flex-direction: column; min-width: 0; }
.step__head { display: flex; align-items: center; }
.step__arrow { flex: none; width: 0; height: 16px; opacity: 0; transition: width .25s, margin .25s, opacity .25s; }
.step__name { font: 700 22px/16px var(--f-body); color: #fff; transition: color .25s; }
.step__desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s; }
.step__desc > span { overflow: hidden; font: 400 12px/15px var(--f-body); color: var(--mist); }
/* Estado activo (hover / foco / toque) — componente Paso_ejecución de Figma:
   fondo #FF3C3C 10 %, radio 16, número en caja #FFECEC con texto rojo, flecha 16 px, título 22/16 rojo, texto 12/15 */
.step:hover,
.step:focus-visible,
.step.is-active { background: rgba(255, 60, 60, 0.1); }
.step:hover .step__num,
.step:focus-visible .step__num,
.step.is-active .step__num { background: #ffecec; color: var(--red); }
.step:hover .step__arrow,
.step:focus-visible .step__arrow,
.step.is-active .step__arrow { width: 16px; margin-right: 10px; opacity: 1; }
.step:hover .step__name,
.step:focus-visible .step__name,
.step.is-active .step__name { color: var(--red); }
.step:hover .step__desc,
.step:focus-visible .step__desc,
.step.is-active .step__desc { grid-template-rows: 1fr; }
.step:hover .step__desc > span,
.step:focus-visible .step__desc > span,
.step.is-active .step__desc > span { padding-top: 10px; }
.modelo__note {
	display: flex; align-items: center; justify-content: center; gap: 8px; padding-top: 17px;
	border-top: 1px solid rgba(255, 255, 255, 0.1); font: 400 12px/16px var(--f-body); color: var(--gray);
}
.modelo__note img { width: 12px; height: 15px; max-width: none; flex: none; }
.modelo__media { position: relative; flex: none; width: 600px; height: 380px; border-radius: 16px; overflow: hidden; }
.modelo__img { width: 100%; height: 100%; object-fit: cover; }
.modelo__step-img { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; pointer-events: none; }
.modelo__step-img.is-on { opacity: 1; }

.modelo__banner {
	display: flex; flex-direction: column; gap: 24px; padding: 32px; background: var(--cream); border-radius: 32px;
	filter: drop-shadow(0 10px 7.5px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}
.modelo__banner-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.modelo__banner-head { display: flex; align-items: center; gap: 16px; }
.modelo__banner-icon { width: 48px; height: 48px; flex: none; }
/* Escritorio: título en una sola línea que escala con el ancho (22 px a 1440) y texto en 2 líneas (las que marca el <br>). */
.modelo__banner-title { font: 800 clamp(15px, 1.53vw, 22px) / 1.45 var(--f-head); white-space: nowrap; color: var(--ink); }
.modelo__banner-text { text-align: right; white-space: nowrap; font: 400 clamp(11px, 0.97vw, 14px) / 1.43 var(--f-body); color: var(--ink); }
.modelo__banner-text strong { font-weight: 700; }
.modelo__items { display: flex; justify-content: space-around; gap: 24px; padding: 26px 20px 0; border-top: 1px solid var(--orange); }
.modelo__item { display: flex; align-items: flex-start; gap: 12px; }
.modelo__item-icon { flex: none; display: flex; }
.modelo__item-icon img { max-width: none; }
.modelo__item-title { font: 700 20px/16px var(--f-head); color: var(--ink); }
.modelo__item-text { margin-top: 6.5px; font: 400 12px/15px var(--f-body); color: var(--muted); white-space: nowrap; }

/* ==========================================================================
   04 · Tecnología
   ========================================================================== */
.tec { padding: 100px 0; }
.tec__layout { display: flex; align-items: stretch; gap: 20px; }
.tec__tiles { flex: 0 0 66.146%; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 20px; }
.tile {
	display: flex; flex-direction: column; justify-content: space-between; padding: 25px; background: #fff;
	border: 1px solid var(--line); border-radius: 24px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}
.tile__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tile__tag {
	padding: 4px 10px; background: var(--pink); border-radius: 9999px;
	font: 700 10px/15px var(--f-body); text-transform: uppercase; color: var(--red);
}
.tile__icon img { max-width: none; }
.tile__main { display: flex; align-items: center; gap: 4px; padding: 16px 0; }
.tile__logo { flex: none; padding-right: 16px; line-height: 0; }
.tile__logo img { width: 159px; height: 70px; max-width: none; object-fit: contain; object-position: left center; }
.tile__text { flex: 1; font: 400 12px/18px var(--f-body); color: var(--muted); }
.tile__link {
	display: flex; align-items: center; justify-content: space-between; padding-top: 17px;
	border-top: 1px solid var(--line); font: 700 12px/16px var(--f-body); color: var(--wine);
}
.tile__link img { width: 13.3px; height: 9.3px; transition: transform .2s; }
.tile__link:hover img,
.tec__hl-link:hover img { transform: translateX(4px); }

.tec__hl {
	position: relative; flex: 1; min-height: 451px; display: flex; flex-direction: column; justify-content: space-between;
	padding: 32px; overflow: hidden; border-radius: 24px; color: #fff; isolation: isolate;
	background: linear-gradient(132.47deg, #f00 0%, #d51c1c 50%, #930000 100%);
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.tec__hl::after {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: linear-gradient(191.96deg, rgba(0, 0, 0, 0) 47.4%, rgba(0, 0, 0, 0.75) 96.16%);
}
.tec__hl-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.tec__hl-badge {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 9999px;
	background: rgba(255, 255, 255, 0.2); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
	font: 700 11px/16.5px var(--f-body); letter-spacing: 1.1px; text-transform: uppercase;
}
.tec__hl-badge img { width: 11.67px; height: 11.67px; max-width: none; }
.tec__hl-copy { padding-bottom: 16px; }
.tec__hl-title { padding-top: 8px; font: 900 32px/40px var(--f-head); letter-spacing: -0.9px; }
.tec__hl-text { padding-top: 10px; font: 400 14px/20px var(--f-body); color: rgba(255, 255, 255, 0.9); }
.tec__hl-link {
	display: flex; align-items: center; justify-content: space-between; padding-top: 17px;
	border-top: 1px solid var(--line); font: 700 12px/16px var(--f-body);
}
.tec__hl-link img { width: 13.3px; height: 9.3px; transition: transform .2s; }

/* ==========================================================================
   05 · Casos (carrusel)
   ========================================================================== */
.casos {
	padding: 101px 0; overflow: hidden; background: linear-gradient(123.35deg, #ff6b00 15.367%, #ea380c 48.463%, #f00 81.56%);
	border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 120px 0 0 120px;
}
.casos__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.casos .section-title { color: #fff; }
.carousel {
	/* Solo se mueve en horizontal; el padding vertical deja espacio a la sombra de las tarjetas sin generar scroll vertical. */
	margin: -30px 0 -20px; padding: 30px 0 80px;
	overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none;
	scroll-snap-type: x mandatory; cursor: grab;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.carousel__track {
	position: relative; display: flex; gap: 40px; width: max-content; min-width: 100%;
	padding: 0 100px 0 calc(max(0px, (100vw - var(--max)) / 2) + 130px);
}
.caso-card { display: flex; align-items: center; flex: none; scroll-snap-align: start; scroll-margin-left: 130px; }
.caso-card__body, .caso-card__media {
	height: 380px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.caso-card__body {
	display: flex; flex-direction: column; justify-content: space-between; width: 520px; margin-right: -1px; padding: 29px;
	background: #fff;
}
.caso-card__media { position: relative; width: 380px; overflow: hidden; }
.caso-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.caso-card__meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pill-tag {
	padding: 5px 11px; background: rgba(211, 47, 47, 0.2); border: 1px solid rgba(211, 47, 47, 0.3); border-radius: 9999px;
	font: 700 10px/15px var(--f-body); letter-spacing: 0.5px; text-transform: uppercase; color: var(--wine); white-space: nowrap;
}
.caso-card__metric { font: 500 11px/16.5px var(--f-body); color: #666; }
.caso-card__title { max-width: 450px; font: 700 36px/44px var(--f-head); color: var(--red); }
.caso-card__text { max-width: 400px; margin-top: 12px; font: 400 16px/24px var(--f-body); color: var(--ink); }
.btn-pill {
	display: inline-flex; align-self: flex-start; padding: 15px 21px; border-radius: 9999px;
	background: rgba(255, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.15);
	font: 700 14px/20px var(--f-body); color: var(--red); transition: background-color .2s;
}
.btn-pill:hover { background: rgba(255, 0, 0, 0.18); }
.casos__more { display: flex; justify-content: center; }
.btn-glass-duo { display: flex; }
.btn-glass-duo__main,
.btn-glass-duo__icon {
	display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 12px;
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); transition: background-color .2s;
}
.btn-glass-duo__main { padding: 16px 24px; font: 700 16px/20px var(--f-body); letter-spacing: 0.7px; text-transform: uppercase; color: var(--mist); }
.btn-glass-duo__icon { padding: 16px 14px; }
.btn-glass-duo__icon img { width: 16px; height: 16px; }
.btn-glass-duo__main:hover,
.btn-glass-duo__icon:hover { background: rgba(255, 255, 255, 0.2); }

/* ==========================================================================
   06 · SOMOSUNO
   ========================================================================== */
.somosuno {
	padding: 81px var(--gutter) 1px; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 0 0 80px 80px;
}
.somosuno__panel {
	display: flex; align-items: stretch; gap: 24px; max-width: var(--max); margin: 0 auto; padding: 52px;
	background: var(--ink); border-radius: 60px;
	filter: drop-shadow(0 10px 7.5px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}
.somosuno__left { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 169px; }
.somosuno__logo img { width: 196.56px; height: 74.39px; max-width: none; }
.somosuno__title { font: 900 36px/52px var(--f-head); letter-spacing: -1.2px; color: #fff; }
.somosuno__text { font: 400 16px/24px var(--f-body); color: var(--orange); }
.somosuno__text strong { font-weight: 700; }
.somosuno__right { flex: none; width: 459px; max-width: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 32px; }
.somosuno__brand-link { display: block; max-width: 100%; }
.somosuno__brand { width: 459px; height: 80px; max-width: 100%; object-fit: cover; }
.somosuno__link {
	display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 25px 0 8px;
	border-top: 1px solid var(--gray); font: 700 14px/20px var(--f-body); color: #fff;
}
.somosuno__link img { width: 17px; height: 12px; transition: transform .2s; }
.somosuno__link:hover img { transform: translateX(4px); }

/* ==========================================================================
   07 · Contacto
   ========================================================================== */
.contacto { padding: 100px 0; }
.contacto .section-head { margin-bottom: 40px; }
.contacto .section-lead { max-width: 1000px; }
.contacto__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; padding: 0 80px; }
.contacto__info { display: flex; flex-direction: column; gap: 32px; }
.contacto__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 2px; }
.contacto__badge {
	padding: 4px 12px; background: var(--cream); border-radius: 9999px;
	font: 700 11px/16.5px var(--f-body); letter-spacing: 0.55px; text-transform: uppercase; color: var(--orange-dk);
}
.contacto__subtitle { font: 900 36px/40px var(--f-head); color: var(--ink); }
.contacto__subtext { font: 400 14px/20px var(--f-body); color: var(--muted); }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; }
.contact-item__icon img { width: 40px; height: 40px; max-width: none; }
.contact-item__body { display: flex; flex-direction: column; gap: 2.5px; padding-bottom: 1.5px; }
.contact-item__label { font: 700 10px/15px var(--f-body); text-transform: uppercase; color: var(--muted); }
.contact-item__value { font: 700 14px/20px var(--f-body); color: var(--ink); }
a.contact-item__value:hover { color: var(--red); }

.form {
	display: flex; flex-direction: column; gap: 16px; padding: 33px; background: var(--cream);
	border: 1px solid var(--peach); border-radius: 24px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field__label { font: 700 12px/16px var(--f-body); color: var(--orange); }
.field__control {
	width: 100%; padding: 11px 15px 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px;
	font: 400 12px/16px var(--f-body); color: var(--ink); appearance: none; -webkit-appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.field__control::placeholder { color: #6b7280; opacity: 1; }
.field__control:focus { outline: 0; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15); }
.field__control.is-invalid { border-color: var(--red); }
.field__control--select {
	padding-right: 38px; color: #6b7280;
	background: #fff url("../img/icon-chevron-down.svg") no-repeat right 9px center / 18px 18px;
}
.field__control--select:valid { color: var(--ink); }
.field__control--area { height: 74px; min-height: 74px; resize: vertical; }
.form__status { padding: 12px 16px; border-radius: 12px; background: #ecfdf5; color: #047857; font: 600 13px/18px var(--f-body); }
.form__status.is-error { background: var(--pink); color: var(--wine); }
.form__submit { display: flex; justify-content: flex-end; }
.form.is-loading .cta-duo { opacity: 0.6; pointer-events: none; }

/* ==========================================================================
   08 · Mucha Chamba
   ========================================================================== */
.chamba { display: flex; justify-content: center; padding: 0 var(--gutter) 60px; }
.chamba__wrap {
	position: relative; overflow: hidden; max-width: var(--max); padding: 40px; border-radius: 80px;
	background: rgba(113, 113, 122, 0.1);
}
.chamba__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.chamba__cards { position: relative; display: flex; align-items: stretch; justify-content: center; }
.chamba__white {
	display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 181px; width: 592px;
	padding: 22px 24px 22px 34px; margin-right: -1px; background: #fff; border: 2px solid var(--slate); border-radius: 32px;
}
.chamba__title { padding-top: 9px; font: 900 40px/52px var(--f-head); letter-spacing: -1.2px; color: var(--slate); }
.chamba__text { margin-top: 12px; font: 400 16px/24px var(--f-body); color: var(--muted); }
.chamba__badge {
	display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; padding: 4px 12px; border-radius: 8px;
	background: #ecfdf5; font: 700 12px/16px var(--f-body); color: #047857;
}
.chamba__badge img { width: 10.67px; height: 13.33px; max-width: none; }
.chamba__red {
	display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 34px; background: #ff2938;
	border: 2px solid #000; border-radius: 32px;
}
.chamba__logo { width: 164px; height: 72px; margin: 0 auto; max-width: none; }
.chamba__link {
	display: flex; align-items: center; gap: 20px; padding-top: 17px; border-top: 1px solid var(--peach);
	font: 700 18px/16px var(--f-body); color: #fff; white-space: nowrap;
}
.chamba__link img { width: 13.3px; height: 9.3px; transition: transform .2s; }
.chamba__link:hover img { transform: translateX(4px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--red); color: #fff; padding: 48px 0; }
.site-footer__wrap { max-width: var(--max); margin: 0 auto; padding: 0 50px; }
.site-footer__top { display: flex; align-items: flex-start; padding-bottom: 33px; border-bottom: 1px solid var(--mist); }
.site-footer__brand { flex: 1; display: flex; flex-direction: column; gap: 12px; }
.site-footer__home { align-self: flex-start; display: block; line-height: 0; }
.site-footer__logo { width: 327px; height: 129px; max-width: none; }
.site-footer__tagline { padding-top: 4px; max-width: 660px; font: 400 16px/24px var(--f-body); }
.site-footer__cols { flex: 1; display: grid; grid-template-columns: 1fr 1fr; align-content: center; row-gap: 0; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; padding-bottom: 28px; }
.site-footer__col + .site-footer__col { padding-bottom: 6px; }
.site-footer__title { padding-bottom: 4px; font: 700 12px/16px var(--f-body); letter-spacing: 0.6px; text-transform: uppercase; }
.site-footer__links { display: flex; flex-direction: column; gap: 8px; }
.site-footer__links a, .site-footer__legal { font: 400 12px/16px var(--f-body); }
.site-footer__links a:hover { text-decoration: underline; }
.site-footer__legal strong { font-weight: 900; }
.site-footer__iso { padding-top: 8px; font: 700 10px/15px var(--f-body); text-transform: uppercase; color: var(--peach); }
.site-footer__repse { grid-column: 1 / -1; display: flex; align-items: center; gap: 30px; min-height: 60px; }
.site-footer__repse-logo { width: 95px; height: 40px; max-width: none; object-fit: cover; opacity: 0.6; }
.site-footer__repse-title { font: 800 12px/20px var(--f-head); color: #ffacac; }
.site-footer__repse-text { font: 400 10px/18px var(--f-body); color: #ffacac; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 24px; }
.site-footer__left { display: flex; flex-direction: column; gap: 16px; }
.site-footer__copy { font: 400 12px/16px var(--f-body); color: var(--mist); }
.site-footer__tools { display: flex; align-items: center; gap: 28px; }
.site-footer__tools img { width: auto; height: 28px; max-width: none; }
.site-footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.site-footer__brand-logo { width: 147px; height: auto; }
.site-footer__brand-text { font: 400 10px/15px var(--f-body); letter-spacing: 0.5px; text-transform: uppercase; text-align: right; color: var(--peach); }
.site-footer__brand-text strong { font-weight: 700; }

/* ==========================================================================
   Páginas internas (casos, notas, páginas)
   ========================================================================== */
.page-hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 150px var(--gutter) 150px; }
.page-hero__inner { max-width: 1280px; margin: 0 auto; }
.page-hero .kicker { color: var(--peach); }
.page-hero__title { margin-top: 4px; max-width: 900px; font: 900 56px/60px var(--f-head); letter-spacing: -1.2px; }
.page-hero__lead { margin-top: 20px; max-width: 720px; font: 300 20px/28px var(--f-body); color: var(--mist); }
.page-hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; }
.page-hero__meta .pill-tag { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.page-hero__metric { font: 500 13px/18px var(--f-body); color: var(--mist); }

.page-sheet { position: relative; margin-top: -80px; padding: 80px 0 100px; background: var(--bg); border-radius: 100px 100px 0 0; }
.page-sheet__inner { max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
	display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line);
	border-radius: 24px; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05)); transition: transform .25s, box-shadow .25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.18); }
.post-card__media { position: relative; aspect-ratio: 16 / 10; background: var(--pink); overflow: hidden; }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.post-card__date, .post-card__metric { font: 500 11px/16px var(--f-body); color: #666; }
.post-card__title { font: 800 22px/28px var(--f-head); color: var(--ink); }
.post-card__title a:hover { color: var(--red); }
.post-card__text { font: 400 14px/21px var(--f-body); color: var(--muted); }
.post-card__more { margin-top: auto; padding-top: 6px; font: 700 12px/16px var(--f-body); color: var(--wine); }
.post-card__more::after { content: " →"; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px;
	background: #fff; border: 1px solid var(--line); border-radius: 12px; font: 700 14px/1 var(--f-body);
}
.pagination .page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
.pagination a.page-numbers:hover { border-color: var(--orange); }
.empty-state { padding: 60px 0; text-align: center; font: 300 20px/28px var(--f-body); color: var(--muted); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-bar a { padding: 9px 16px; background: #fff; border: 1px solid var(--line); border-radius: 9999px; font: 700 12px/16px var(--f-body); }
.filter-bar a:hover { border-color: var(--orange); }
.filter-bar a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.article { max-width: 820px; margin: 0 auto; }
.article__figure { margin: 0 0 40px; overflow: hidden; border-radius: 24px; }
.article__figure img { width: 100%; height: auto; max-height: 520px; object-fit: cover; }
.entry-content { font: 400 18px/30px var(--f-body); color: #2b2f33; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.8em; font-family: var(--f-head); font-weight: 900; line-height: 1.15; color: var(--ink); letter-spacing: -0.5px; }
.entry-content h2 { font-size: 34px; }
.entry-content h3 { font-size: 26px; }
.entry-content h4 { font-size: 20px; }
.entry-content a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content ul ul { margin-top: 0.4em; list-style: circle; }
.entry-content ol.aviso-letras { list-style: upper-alpha; }
.entry-content ol.aviso-letras > li::marker { font-weight: 700; color: var(--red); }
.entry-content ul.aviso-check { padding-left: 0; list-style: none; }
.entry-content ul.aviso-check > li { position: relative; padding-left: 1.7em; }
.entry-content ul.aviso-check > li::before { content: "¹3"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--red); }
.entry-content ul.aviso-check ul { list-style: disc; padding-left: 1.4em; }
.entry-content blockquote { padding: 4px 0 4px 24px; border-left: 4px solid var(--orange); font-style: italic; color: var(--ink); }
.entry-content img { height: auto; border-radius: 16px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.entry-content .alignwide, .entry-content .alignfull { max-width: none; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.entry-content .wp-block-image img { width: auto; max-width: 100%; }

.article-cta {
	display: flex; align-items: center; justify-content: space-between; gap: 32px; margin: 64px auto 0; max-width: 820px; padding: 32px 36px;
	background: var(--cream); border: 1px solid var(--peach); border-radius: 28px;
}
.article-cta__title { font: 900 28px/32px var(--f-head); letter-spacing: -0.6px; color: var(--ink); }
.article-cta__text { margin-top: 6px; font: 400 14px/20px var(--f-body); color: var(--muted); }

.related { margin-top: 96px; }
.related__title { margin-bottom: 28px; font: 900 32px/36px var(--f-head); letter-spacing: -0.8px; }

.post-nav { display: flex; justify-content: space-between; gap: 16px; max-width: 820px; margin: 48px auto 0; font: 700 13px/18px var(--f-body); color: var(--wine); }
.post-nav a:hover { text-decoration: underline; }

.error-404 {
	display: flex; align-items: center; min-height: 100vh; padding: 150px var(--gutter) 110px;
	background: var(--grad); color: #fff; overflow: hidden;
}
.error-404__inner { width: 100%; max-width: 1280px; margin: 0 auto; }
.error-404__code { font: 900 clamp(120px, 20vw, 260px) / 0.9 var(--f-head); letter-spacing: -0.04em; color: var(--peach); }
.error-404__title { margin-top: 12px; max-width: 760px; font: 900 56px/60px var(--f-head); letter-spacing: -1.2px; }
.error-404__text { margin: 20px 0 36px; max-width: 560px; font: 300 20px/28px var(--f-body); color: var(--mist); }

/* ==========================================================================
   Responsive — tablet
   ========================================================================== */
@media (max-width: 1199px) {
	.site-header { top: 12px; }
	.site-header__inner { width: calc(100% - 32px); justify-content: space-between; gap: 16px; padding: 0 0 0 12px; }
	.nav-toggle {
		display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0;
		background: rgba(0, 0, 0, 0.35); border: 0; border-radius: 16px; color: #fff; font-size: 24px;
		-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	}
	.nav-toggle__close { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }
	.site-header__panel {
		position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 16px;
		background: var(--ink); border-radius: 24px; box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
		opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
	}
	.site-header.is-open .site-header__panel { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; align-items: stretch; height: auto; padding: 0; background: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.nav__list a { height: 44px; padding: 0 16px; font-size: 14px; }
	.cta-duo { justify-content: stretch; }
	.cta-duo__main { flex: 1; justify-content: center; }

	:root { --gutter: 40px; }
	.hero__inner { padding-left: 40px; padding-right: 40px; }
	.stats { padding-left: 24px; padding-right: 24px; border-radius: 64px 64px 0 0; }
	.stats__list { gap: 28px; }
	.stat__value { font-size: 44px; line-height: 44px; }
	.stat__label { font-size: 18px; line-height: 22px; }
	.stat__text { font-size: 13px; }
	.pilares__grid { grid-template-columns: repeat(2, 1fr); }
	.modelo { padding-left: 24px; padding-right: 24px; }
	.modelo__panel { padding: 40px 32px; border-radius: 56px; }
	.modelo__body { flex-direction: column; align-items: stretch; }
	.modelo__steps { width: auto; }
	.modelo__media { width: 100%; height: auto; aspect-ratio: 600 / 380; }
	.modelo__banner-top { flex-direction: column; align-items: flex-start; gap: 16px; }
	.modelo__banner-title { font-size: 20px; white-space: normal; }
	.modelo__banner-text { text-align: left; white-space: normal; font-size: 14px; }
	.modelo__items { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 32px; }
	.modelo__item-text { white-space: normal; }
	.tec__layout { flex-direction: column; }
	.tec__tiles { flex: none; }
	.tec__hl { min-height: 420px; }
	.somosuno { padding-left: 24px; padding-right: 24px; }
	.somosuno__panel { padding: 32px; }
	.somosuno__right { width: 360px; }
	.somosuno__brand { width: 100%; height: auto; aspect-ratio: 459 / 80; }
	.contacto__grid { padding: 0; gap: 40px; }
	.chamba { padding-left: 24px; padding-right: 24px; }
	.chamba__white { width: 480px; }
	.site-footer__top { flex-direction: column; gap: 32px; }
	.site-footer__cols { width: 100%; }
	.cards-grid { grid-template-columns: repeat(2, 1fr); }
	.page-hero { padding-left: 24px; padding-right: 24px; }
}

/* ==========================================================================
   Responsive — mobile
   ========================================================================== */
@media (max-width: 767px) {
	:root { --gutter: 20px; }
	body { font-size: 15px; }
	.section-head { gap: 14px; margin-bottom: 36px; }
	.section-title { margin-top: -10px; font-size: 30px; line-height: 34px; letter-spacing: -0.8px; }
	.section-lead { font-size: 18px; line-height: 27px; }

	.hero { height: auto; margin-bottom: -48px; }
	.hero__bg { top: auto; bottom: 0; height: 400px; object-position: 76% 30%; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%); }
	.hero__inner { height: auto; gap: 28px; padding: 112px 20px 340px; }
	.hero__logo img { width: 190px; height: auto; aspect-ratio: 319 / 120; }
	.hero__title { font-size: 40px; line-height: 42px; }
	.hero__accent { line-height: 42px; }
	.hero__text { margin-top: 16px; font-size: 16px; line-height: 24px; }
	.btn-duo__main { padding: 14px 18px; font-size: 13px; }
	.stats { padding: 40px 20px 0; border-radius: 40px 40px 0 0; }
	.stats__list { flex-direction: column; align-items: flex-start; gap: 24px; }
	.stat { gap: 14px; }
	.stat__value { min-width: 120px; font-size: 40px; line-height: 40px; }
	.stat__label, .stat__text { white-space: normal; }

	.pilares { padding: 48px 0 56px; }
	.pilares__grid { grid-template-columns: 1fr; gap: 20px; }

	.modelo { padding: 24px 12px; }
	.modelo__panel { gap: 28px; padding: 32px 20px; border-radius: 36px; }
	.modelo .section-title { font-size: 30px; line-height: 34px; }
	.modelo .section-lead { font-size: 17px; line-height: 25px; }
	.modelo__body { min-height: 0; gap: 28px; }
	.steps { min-height: 0; }
	.step { padding: 8px; }
	.step__name { font-size: 20px; }
	.modelo__banner { padding: 24px 20px; border-radius: 24px; }
	.modelo__banner-title { font-size: 19px; line-height: 26px; }
	.modelo__items { grid-template-columns: 1fr; padding: 22px 0 0; }

	.tec { padding: 56px 0; }
	.tec__tiles { grid-template-columns: 1fr; }
	.tile__main { flex-direction: column; align-items: flex-start; gap: 8px; }
	.tile__logo { padding-right: 0; }
	.tec__hl { min-height: 400px; padding: 24px; }
	.tec__hl-title { font-size: 28px; line-height: 34px; }

	.casos { padding: 56px 0; border-radius: 48px 0 0 48px; }
	.carousel { margin-bottom: 0; }
	.carousel__track { gap: 16px; padding: 0 20px 0 20px; }
	.caso-card { flex-direction: column; align-items: stretch; width: min(84vw, 380px); scroll-margin-left: 20px; }
	.caso-card__body { width: 100%; height: auto; min-height: 340px; gap: 24px; margin: 0 0 -1px; padding: 22px; border-radius: 24px 24px 0 0; }
	.caso-card__media { width: 100%; height: 220px; border-radius: 0 0 24px 24px; order: 2; }
	.caso-card__title { font-size: 26px; line-height: 32px; }
	.caso-card__text { font-size: 15px; line-height: 22px; }
	.btn-glass-duo__main { padding: 14px 16px; font-size: 13px; }

	.somosuno { padding: 48px 12px 1px; border-radius: 0 0 40px 40px; }
	.somosuno__panel { flex-direction: column; padding: 24px 22px; border-radius: 36px; }
	.somosuno__title { font-size: 28px; line-height: 36px; }
	.somosuno__right { width: 100%; align-items: stretch; }

	.contacto { padding: 56px 0; }
	.contacto__grid { grid-template-columns: 1fr; gap: 32px; padding: 0 20px; }
	.contacto__subtitle { font-size: 28px; line-height: 32px; }
	.form { padding: 22px 18px; }
	.form__row { grid-template-columns: 1fr; }
	.form__submit .cta-duo { width: 100%; }
	.form__submit .cta-duo__main { flex: 1; justify-content: center; font-size: 13px; }

	.chamba { padding: 0 12px 40px; }
	.chamba__wrap { padding: 16px; border-radius: 36px; }
	.chamba__cards { flex-direction: column; }
	.chamba__white { width: 100%; margin: 0 0 -1px; padding: 22px 20px; }
	.chamba__title { font-size: 30px; line-height: 38px; }
	.chamba__red { padding: 24px; }

	.site-footer { padding: 36px 0; }
	.site-footer__wrap { padding: 0 20px; }
	.site-footer__logo { width: 220px; height: auto; aspect-ratio: 327 / 129; }
	.site-footer__cols { grid-template-columns: 1fr; }
	.site-footer__col { padding-bottom: 20px; }
	.site-footer__col + .site-footer__col { padding-bottom: 20px; }
	.site-footer__repse { flex-direction: column; align-items: flex-start; gap: 12px; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
	.site-footer__tools { flex-wrap: wrap; gap: 20px; }
	.site-footer__right { align-items: flex-start; }
	.site-footer__brand-text { text-align: left; }

	.page-hero { padding: 120px 20px 110px; }
	.page-hero__title { font-size: 36px; line-height: 40px; }
	.page-hero__lead { font-size: 17px; line-height: 25px; }
	.page-sheet { margin-top: -56px; padding: 48px 0 64px; border-radius: 40px 40px 0 0; }
	.cards-grid { grid-template-columns: 1fr; }
	.entry-content { font-size: 17px; line-height: 28px; }
	.entry-content h2 { font-size: 28px; }
	.entry-content h3 { font-size: 22px; }
	.article-cta { flex-direction: column; align-items: flex-start; padding: 24px; }
	.error-404 { min-height: 0; padding: 120px 20px 72px; }
	.error-404__title { font-size: 36px; line-height: 40px; }
	.error-404__text { font-size: 17px; line-height: 25px; }
}

/* ==========================================================================
   Plugin «Contact Forms CRM» con el diseño del sitio
   (se carga después del CSS del plugin y se acota a .form--plugin para ganar especificidad)
   ========================================================================== */
.form--plugin .cfcrm-form-container,
.form--plugin .cfcrm-form-container.cfcrm-form-themed {
	max-width: none; width: 100%; margin: 0; padding: 0; background: transparent; border-radius: 0; overflow: visible;
}
.form--plugin .cfcrm-form,
.form--plugin .cfcrm-field { animation: none; font-family: var(--f-body); }
.form--plugin .cfcrm-form-body,
.form--plugin .cfcrm-form-themed:not(:has(.cfcrm-form-header)) .cfcrm-form-body {
	padding: 0; border: 0; border-radius: 0; background: transparent; text-align: left;
}
.form--plugin .cfcrm-form-fields,
.form--plugin .cfcrm-conditional-group { gap: 16px; }
.form--plugin .cfcrm-form-fields { margin-bottom: 16px; }

/* Etiquetas: naranja, 12/16 bold, sin subrayado */
.form--plugin .cfcrm-field-label { margin: 0 0 4px; font: 700 12px/16px var(--f-body); color: var(--orange); }
.form--plugin .cfcrm-label-inner { display: inline; padding: 0; border: 0; }
.form--plugin .cfcrm-required-mark { color: var(--orange); margin-left: 2px; }

/* Campos */
.form--plugin input.cfcrm-field-input,
.form--plugin textarea.cfcrm-field-textarea,
.form--plugin select.cfcrm-field-select {
	width: 100%; padding: 11px 15px 12px !important; background: #fff !important; border: 1px solid var(--line) !important;
	border-radius: 12px !important; font: 400 12px/16px var(--f-body); color: var(--ink); box-shadow: none;
}
.form--plugin input.cfcrm-field-input::placeholder,
.form--plugin textarea.cfcrm-field-textarea::placeholder { color: #6b7280; opacity: 1; }
.form--plugin input.cfcrm-field-input:focus,
.form--plugin textarea.cfcrm-field-textarea:focus {
	outline: 0; border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}
.form--plugin textarea.cfcrm-field-textarea { min-height: 74px !important; resize: vertical; }
.form--plugin .cfcrm-textarea-wrapper::after { display: none; }
.form--plugin .cfcrm-placeholder-overlay { left: 15px; max-width: calc(100% - 30px); font-size: 12px; }
.form--plugin .cfcrm-ph-text { color: #6b7280; }
.form--plugin .cfcrm-ph-accent { color: #6b7280; }

/* Select personalizado del plugin */
.form--plugin .cfcrm-select-ui {
	width: 100% !important; padding: 11px 38px 12px 15px !important; border: 1px solid var(--line) !important; border-radius: 12px !important;
	background: #fff url("../img/icon-chevron-down.svg") no-repeat right 9px center / 18px 18px !important;
	color: #6b7280 !important; font: 400 12px/16px var(--f-body) !important; min-height: 41px;
}
.form--plugin .cfcrm-select-ui::after { display: none !important; content: none !important; }
.form--plugin select.cfcrm-select-hidden:valid + .cfcrm-select-ui { color: var(--ink) !important; }
.form--plugin .cfcrm-select-ui:focus { outline: 0 !important; border-color: var(--orange) !important; box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15) !important; }
body .cfcrm-select-menu {
	background: #fff !important; border: 1px solid var(--line); border-radius: 12px !important;
	box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.25) !important; padding: 4px 0; z-index: 80 !important;
}
body .cfcrm-select-option { padding: 9px 15px !important; background: #fff !important; color: var(--ink) !important; font: 400 12px/16px var(--f-body) !important; }
body .cfcrm-select-option:hover,
body .cfcrm-select-option.is-active { background: var(--cream) !important; color: var(--orange-dk) !important; }

/* Radios, checkboxes y campo legal */
.form--plugin .cfcrm-radio-label,
.form--plugin .cfcrm-checkbox-label { font: 400 12px/16px var(--f-body); color: var(--ink); }
.form--plugin .cfcrm-radio-option:hover,
.form--plugin .cfcrm-checkbox-option:hover { background: transparent; }
.form--plugin input[type="radio"],
.form--plugin input[type="checkbox"]:not(.cfcrm-legal-input) { accent-color: var(--orange); }
.form--plugin .cfcrm-legal-text,
.form--plugin .cfcrm-legal-label,
.form--plugin #cfcrm-legal-label { font: 400 12px/16px var(--f-body) !important; color: var(--muted) !important; }
.form--plugin .cfcrm-legal-label a,
.form--plugin #cfcrm-legal-label a { color: var(--orange-dk) !important; text-decoration: underline !important; }
.form--plugin .cfcrm-legal-required-mark { color: var(--orange); }
.form--plugin .cfcrm-legal-input { border-color: var(--orange); border-radius: 6px; }
.form--plugin .cfcrm-legal-input:checked { background-color: var(--orange); border-color: var(--orange); }
.form--plugin .cfcrm-otros-label { font: 700 12px/16px var(--f-body); color: var(--orange); }

/* Errores y mensajes */
.form--plugin .cfcrm-field-error { margin-top: 4px; font: 500 11px/14px var(--f-body); color: var(--red); }
.form--plugin .cfcrm-field.error input.cfcrm-field-input,
.form--plugin .cfcrm-field.error textarea.cfcrm-field-textarea,
.form--plugin .cfcrm-field.cfcrm-field-has-error input.cfcrm-field-input,
.form--plugin .cfcrm-field.cfcrm-field-has-error textarea.cfcrm-field-textarea { border-color: var(--red) !important; }
.form--plugin .cfcrm-form-messages { margin-top: 16px; }
.form--plugin .cfcrm-success-message { padding: 12px 16px; border: 0; border-radius: 12px; background: #ecfdf5; color: #047857; font: 600 13px/18px var(--f-body); }
.form--plugin .cfcrm-error-message { padding: 12px 16px; border: 0; border-radius: 12px; background: var(--pink); color: var(--wine); font: 600 13px/18px var(--f-body); }

/* Botón: mismo componente CTA_Hablemos (rojo + flecha ↗) */
.form--plugin .cfcrm-form-actions { display: flex; justify-content: flex-end; }
.form--plugin .cfcrm-form-themed .cfcrm-submit-button,
.form--plugin .cfcrm-submit-button {
	position: relative; display: inline-flex; align-items: center; justify-content: center; height: 46px; margin-right: 41px;
	padding: 0 16px !important; background: var(--red); color: var(--mist); border: 0; border-radius: 12px;
	font: 700 14px/16px var(--f-body); letter-spacing: 0; text-transform: uppercase;
	box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.1), 0 4px 6px -4px rgba(255, 107, 0, 0.1); transition: filter .2s;
}
.form--plugin .cfcrm-submit-button::after {
	content: ""; position: absolute; left: 100%; top: 0; width: 42px; height: 100%; margin-left: -1px;
	background: var(--red) url("../img/icon-arrow-ur-form.svg") no-repeat center / 11.25px 11.25px; border-radius: 12px;
	box-shadow: 0 10px 15px -3px rgba(255, 107, 0, 0.1), 0 4px 6px -4px rgba(255, 107, 0, 0.1);
}
.form--plugin .cfcrm-submit-button:hover { background: var(--red); filter: brightness(1.08); }
.form--plugin .cfcrm-submit-button:disabled { background: #bdc3c7; filter: none; }
.form--plugin .cfcrm-submit-button:disabled::after { background-color: #bdc3c7; }
.form--plugin .cfcrm-form.loading { opacity: 0.7; }
.form--plugin .cfcrm-form.loading::after { display: none; }
.form--plugin .cfcrm-submit-button:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

@media (max-width: 767px) {
	.form--plugin .cfcrm-form-actions { justify-content: stretch; }
	.form--plugin .cfcrm-submit-button { flex: 1; margin-right: 41px; font-size: 13px; }
}

/* ==========================================================================
   Efectos: entrada al scroll · parallax · barra de progreso · botones · header compacto
   (la regla de «reducir movimiento» de arriba anula las transiciones; el JS también lo respeta)
   ========================================================================== */

/* 6 · Entrada al hacer scroll (las clases las agrega main.js; sin JS todo se ve normal) */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--rv-d, 0s); }
.rv.rv-in { opacity: 1; transform: none; }

/* Hero: entrada al cargar */
@keyframes map-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.hero__logo, .hero__title, .hero__text, .hero__ctas { animation: map-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero__title { animation-delay: .1s; }
.hero__text { animation-delay: .22s; }
.hero__ctas { animation-delay: .34s; }

/* 7 · Parallax ligero (desktop; el JS solo escribe --py) */
@media (min-width: 768px) {
	.hero__bg,
	.modelo__media > .modelo__img,
	.modelo__media > .modelo__step-img { transform: translate3d(0, var(--py, 0px), 0) scale(1.08); will-change: transform; }
}

/* 8 · Barra de progreso de lectura */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 3px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), var(--red)); transform: scaleX(0); transform-origin: left; }

/* 9 · Botones con flecha: el ícono ↗ se desliza y las dos mitades reaccionan juntas */
.cta-duo__icon img,
.btn-duo__icon img,
.btn-glass-duo__icon img { transition: transform .25s cubic-bezier(.2, .7, .2, 1); }
.cta-duo:hover .cta-duo__main,
.cta-duo:hover .cta-duo__icon { filter: brightness(1.08); }
.btn-duo:hover .btn-duo__main,
.btn-duo:hover .btn-duo__icon { filter: brightness(0.96); }
.btn-glass-duo:hover .btn-glass-duo__main,
.btn-glass-duo:hover .btn-glass-duo__icon { background: rgba(255, 255, 255, 0.2); }
.cta-duo:hover .cta-duo__icon img,
.btn-duo:hover .btn-duo__icon img,
.btn-glass-duo:hover .btn-glass-duo__icon img { transform: translate(3px, -3px); }
.btn-ghost { transition: background-color .2s, transform .2s; }
.btn-ghost:hover { transform: translateY(-2px); }

/* 10 · Header que se compacta al hacer scroll */
.site-header { transition: top .3s ease; }
.nav__list, .brand__img, .nav__list a, .cta-duo__main, .cta-duo__icon { transition: height .3s ease, background-color .3s, color .2s, box-shadow .3s, transform .3s, filter .2s; }
.site-header.is-scrolled { top: 10px; }
.site-header.is-scrolled .nav__list { background: rgba(0, 0, 0, 0.55); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22); }
@media (min-width: 1200px) {
	.site-header.is-scrolled .site-header__inner { height: 40px; }
	.site-header.is-scrolled .nav__list { height: 40px; padding: 5px; }
	.site-header.is-scrolled .nav__list a { height: 30px; }
	.site-header.is-scrolled .cta-duo { --h: 32px; height: 40px; }
	.site-header.is-scrolled .brand__img { transform: scale(.86); transform-origin: left center; }
}
