/* ═══════════════════════════════════════════════════════════════════════════
   CARO & ASOCIADOS — Consultoría en gestión humana (/consultoria)

   Diseño «Caro & Asociados — Consultoría» (Claude Design, noviembre de 2026).
   El prototipo traía todo en estilos en línea dentro de un paquete React;
   aquí son clases .cs-* con los mismos valores. Solo lo carga
   layouts/consultoria.php: ni el sitio de abogados ni el panel lo ven.

   Fuentes: las del propio servidor (Manrope e Inter variables), no Google
   Fonts — la CSP solo admite font-src 'self'.

   Contrastes medidos (WCAG AA pide 4,5:1 en texto normal):
     texto  #333B49 / #FFFFFF       11,3:1
     kicker #8C6526 / #F3F5F8        4,8:1
     dorado #D6AA63 / #0B1424        8,6:1   (dorado como texto: solo sobre oscuro)
     #C8D1E0 / #0B1424              12,0:1
     #5A6474 / #FFFFFF               6,0:1
     enlace hover #4263EB / #FFFFFF  5,0:1
   ═══════════════════════════════════════════════════════════════════════════ */

@font-face {
    font-family: 'Manrope';
    src: url('/assets/fonts/manrope-var.woff2') format('woff2');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/inter-var.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --cs-ink: #0B1424;
    --cs-navy: #102A50;
    --cs-text: #333B49;
    --cs-muted: #5A6474;
    --cs-blue: #4263EB;
    --cs-blue-soft: #7C95FF;
    --cs-gold: #D6AA63;
    --cs-gold-hover: #E3BD7D;
    --cs-gold-text: #8C6526;
    --cs-mist: #F3F5F8;
    --cs-line: #E1E6EE;
    --cs-error: #B42318;
    --cs-pad: clamp(20px, 4vw, 40px);
    --cs-head: 76px;
    --cs-ease: cubic-bezier(.2, .7, .2, 1);
    --cs-display: Manrope, system-ui, sans-serif;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; scroll-padding-top: var(--cs-head); }
*, *::before, *::after { box-sizing: border-box; }
body.cs {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--cs-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}
.cs a { color: var(--cs-navy); text-decoration: none; }
.cs a:hover { color: var(--cs-blue); }
.cs :focus-visible { outline: 2px solid var(--cs-blue); outline-offset: 3px; border-radius: 6px; }
.cs ::selection { background: var(--cs-gold); color: var(--cs-ink); }
.cs img { max-width: 100%; display: block; }
.cs svg { flex: none; }
.cs h1, .cs h2, .cs h3 { margin: 0; }

.cs-wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--cs-pad); }
.cs-mt { margin-top: 32px; }

.cs-skip {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--cs-ink); color: #fff !important; padding: 10px 16px; border-radius: 8px;
}
.cs-skip:focus { left: 8px; }

/* Honeypot: fuera de la vista y del árbol de accesibilidad. */
.cs-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Botones y enlaces ──────────────────────────────────────────────────── */
.cs-btn {
    display: inline-flex; align-items: center; gap: 12px;
    min-height: 52px; padding: 0 28px; border-radius: 999px; border: 0;
    font: inherit; font-weight: 600; font-size: 15px; cursor: pointer;
    transition: background .25s, transform .25s, color .25s;
}
.cs-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs .cs-btn--gold { background: var(--cs-gold); color: var(--cs-ink); box-shadow: 0 10px 30px -10px rgba(214, 170, 99, .6); }
.cs .cs-btn--gold:hover { background: var(--cs-gold-hover); color: var(--cs-ink); transform: translateY(-2px); }
.cs .cs-btn--dark { background: var(--cs-ink); color: #fff; }
.cs .cs-btn--dark svg { stroke: var(--cs-gold); }
.cs .cs-btn--dark:hover { background: var(--cs-navy); color: #fff; transform: translateY(-1px); }
.cs-btn[disabled] { opacity: .7; cursor: progress; }

.cs .cs-link-light {
    display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 2px;
    color: #fff; font-weight: 500; font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    transition: border-color .25s, gap .25s;
}
.cs .cs-link-light svg { width: 16px; height: 16px; fill: none; stroke: var(--cs-gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs .cs-link-light:hover { color: #fff; border-color: var(--cs-gold); gap: 14px; }

/* ── Tipografía de sección ──────────────────────────────────────────────── */
.cs-kicker {
    display: inline-flex; align-items: center; gap: 12px; margin: 0;
    font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
    color: var(--cs-gold-text);
}
.cs-kicker > span { width: 28px; height: 1px; background: var(--cs-gold); }
.cs-kicker--center { gap: 14px; }
.cs-kicker--center > span { width: 36px; }
.cs-kicker--gold { color: var(--cs-gold); gap: 10px; margin-bottom: 22px; }

.cs-h2 {
    font-family: var(--cs-display); font-weight: 700;
    font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.03em;
    color: var(--cs-ink); margin-top: 16px !important; text-wrap: balance;
}
.cs-h2--lg { font-size: clamp(32px, 3.8vw, 48px); line-height: 1.1; }
.cs-lead { margin: 20px 0 0; font-size: 17px; line-height: 1.65; color: var(--cs-text); max-width: 560px; text-wrap: pretty; }

.cs-section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.cs-section--mist { background: var(--cs-mist); }
.cs-section--rule { background: #fff; border-top: 1px solid #EEF1F5; }
.cs-head { text-align: center; max-width: 720px; margin: 0 auto; }

/* ── Cabecera ───────────────────────────────────────────────────────────── */
.cs-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
            backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(16, 42, 80, .08);
    transition: box-shadow .3s ease;
}
.cs-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(11, 20, 36, .35); }
.cs-header__bar {
    max-width: 1240px; margin: 0 auto; padding: 0 var(--cs-pad); height: var(--cs-head);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.cs .cs-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
/* Logotipo oficial. El archivo tiene fondo blanco: en la cabecera (blanca
   translúcida) multiply hace transparente ese blanco y el logotipo no se ve
   como un recuadro cuando pasa contenido por debajo. */
.cs-brand__logo { display: block; height: 40px; width: auto; max-width: min(52vw, 200px); object-fit: contain; mix-blend-mode: multiply; }
/* En el pie (fondo oscuro) va sobre placa blanca, como en abogados: el
   archivo no se recolorea. */
.cs-brand--light { background: #fff; padding: 8px 12px; border-radius: 2px; box-shadow: inset 0 -1px 0 var(--cs-gold); align-self: flex-start; }
.cs-brand--light .cs-brand__logo { height: 44px; mix-blend-mode: normal; }

.cs-nav { display: none; }
.cs-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.cs .cs-nav a {
    display: block; padding: 10px 12px; font-size: 14px; font-weight: 500; color: var(--cs-text);
    border-bottom: 2px solid transparent; transition: color .2s;
}
.cs .cs-nav a:hover { color: var(--cs-blue); }
.cs .cs-nav a[aria-current="true"], .cs .cs-nav a[aria-current="page"] { color: var(--cs-ink); border-bottom-color: var(--cs-gold); }

.cs-header__actions { display: flex; align-items: center; gap: 10px; }
.cs-header__cta { display: none !important; min-height: 0 !important; padding: 12px 20px !important; font-size: 14px !important; gap: 10px !important; }
.cs-header__cta svg { width: 16px; height: 16px; }
@media (min-width: 600px) { .cs-header__cta { display: inline-flex !important; } }

.cs-burger {
    width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(16, 42, 80, .15);
    background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--cs-ink);
}
.cs-burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cs-burger__close { display: none; }
.cs-burger[aria-expanded="true"] .cs-burger__open { display: none; }
.cs-burger[aria-expanded="true"] .cs-burger__close { display: block; }

.cs-mobile {
    border-top: 1px solid rgba(16, 42, 80, .08); background: #fff;
    padding: 12px var(--cs-pad) 24px; box-shadow: 0 20px 40px -20px rgba(11, 20, 36, .25);
}
.cs-mobile ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cs .cs-mobile li a {
    display: flex; align-items: center; min-height: 52px;
    font-family: var(--cs-display); font-size: 18px; font-weight: 600; color: var(--cs-ink);
    border-bottom: 1px solid var(--cs-mist);
}
.cs .cs-mobile__cta {
    margin-top: 18px; display: flex; justify-content: center; align-items: center; gap: 10px;
    background: var(--cs-gold); color: var(--cs-ink); min-height: 52px; border-radius: 999px; font-weight: 600;
}

@media (min-width: 1080px) {
    .cs-nav { display: block; }
    .cs-burger, .cs-mobile { display: none !important; }
}

/* ── 01 Hero ────────────────────────────────────────────────────────────── */
.cs-hero { position: relative; overflow: hidden; background: var(--cs-ink); color: #fff; }
.cs-hero__glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(900px 520px at 12% 0%, rgba(66, 99, 235, .22), transparent 60%),
        radial-gradient(700px 500px at 40% 110%, rgba(16, 42, 80, .9), transparent 70%);
}
.cs-hero__media { display: none; }
.cs-hero__inner { position: relative; padding-top: clamp(56px, 9vw, 112px); padding-bottom: clamp(56px, 7vw, 96px); }
.cs-hero__copy { max-width: 600px; }
.cs-hero__title {
    font-family: var(--cs-display); font-weight: 700;
    font-size: clamp(38px, 5.2vw, 62px); line-height: 1.06; letter-spacing: -.035em; text-wrap: balance;
}
.cs-hero__title span { color: var(--cs-gold); }
.cs-hero__lead { margin: 26px 0 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.65; color: #C8D1E0; max-width: 540px; text-wrap: pretty; }
.cs-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 36px; }
.cs-hero__pillars {
    list-style: none; margin: 52px 0 0; padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px;
}
.cs-hero__pillars li { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; color: #E3E8F0; }
.cs-hero__pillars svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

@media (min-width: 980px) {
    .cs-hero__media { display: block; position: absolute; top: 0; right: 0; bottom: 0; width: 54%; }
    .cs-hero__photo { position: absolute; inset: 0; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%, 9% 50%); }
    .cs-hero__photo img { width: 100%; height: 100%; object-fit: cover; }
    /* Sin foto todavía: el panel conserva la forma con un azul en degradado. */
    .cs-hero__photo--empty { background: linear-gradient(160deg, #1A3A6B 0%, var(--cs-navy) 45%, #0D1F3C 100%); }
    .cs-hero__veil {
        position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(90deg, rgba(11, 20, 36, .55) 0%, rgba(11, 20, 36, 0) 35%),
                    linear-gradient(0deg, rgba(11, 20, 36, .35), transparent 40%);
    }
    .cs-hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; fill: none; }
    .cs-hero__mobile-photo { display: none; }
}
.cs-hero__mobile-photo { position: relative; height: clamp(260px, 60vw, 420px); }
.cs-hero__mobile-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); }
.cs-hero__mobile-line {
    position: absolute; left: 0; right: 0; top: 0; height: 3px; margin-top: 6%;
    background: linear-gradient(90deg, transparent, var(--cs-blue), transparent);
    transform: skewY(-2.8deg); transform-origin: left;
}

/* ── 02 ¿Quiénes somos? ─────────────────────────────────────────────────── */
.cs-about { background: #fff; }
.cs-about__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: center; }
.cs-about__art { position: relative; min-height: clamp(260px, 30vw, 360px); border-radius: 22px; background: var(--cs-mist); border: 1px solid var(--cs-line); overflow: hidden; }
.cs-about__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; }
.cs-about__tile {
    position: absolute; width: 88px; height: 88px; border-radius: 22px; background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 24px 44px -24px rgba(16, 42, 80, .35); border: 1px solid var(--cs-line);
}
.cs-about__tile svg { width: 40px; height: 40px; fill: none; stroke: var(--cs-blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cs-about__tile--a { left: 12%; top: 16%; }
.cs-about__tile--b { left: 38%; top: 46%; width: 104px; height: 104px; background: var(--cs-ink); border-color: var(--cs-ink); }
.cs-about__tile--b svg { stroke: var(--cs-gold); width: 46px; height: 46px; }
.cs-about__tile--c { right: 10%; top: 12%; }

/* ── 03 Nuestros servicios ─────────────────────────────────────────────── */
.cs-feature {
    margin: clamp(40px, 5vw, 64px) auto 0; max-width: 980px;
    display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
    background: #fff; border: 1px solid var(--cs-line); border-radius: 18px; padding: clamp(24px, 3.5vw, 40px);
    box-shadow: 0 1px 2px rgba(11, 20, 36, .04);
}
@media (max-width: 760px) { .cs-feature { grid-template-columns: 1fr; } }
.cs-service__icon { width: 56px; height: 56px; border-radius: 14px; background: #EEF1FD; display: flex; align-items: center; justify-content: center; }
.cs-service__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cs-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-feature__cat { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cs-gold-text); }
.cs-feature h3 { font-family: var(--cs-display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; color: var(--cs-ink); }
.cs-feature p:last-child { margin: 10px 0 0; font-size: 15.5px; line-height: 1.65; color: var(--cs-text); max-width: 560px; }

/* ── 04 Por qué elegirnos (tres columnas) ──────────────────────────────── */
.cs-reasons {
    list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 0;
    border-top: 1px solid var(--cs-line);
}
.cs-reasons li { padding: 36px 32px 36px 0; border-bottom: 1px solid var(--cs-line); }
@media (min-width: 900px) {
    .cs-reasons li { border-bottom: 0; padding: 40px 36px; }
    .cs-reasons li + li { border-left: 1px solid var(--cs-line); }
    .cs-reasons li:first-child { padding-left: 0; }
}
.cs-reasons__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--cs-navy); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cs-reasons h3 { font-family: var(--cs-display); font-weight: 700; font-size: 20px; color: var(--cs-ink); margin: 18px 0 8px; }
.cs-reasons p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--cs-text); }

/* ── 04 Metodología ─────────────────────────────────────────────────────── */
.cs-steps { position: relative; margin-top: clamp(44px, 5vw, 68px); }
.cs-steps__line { display: none; position: absolute; left: 12%; right: 12%; top: 27px; height: 1px; background: linear-gradient(90deg, var(--cs-navy), var(--cs-blue) 50%, var(--cs-gold)); }
@media (min-width: 1060px) { .cs-steps__line { display: block; } }
.cs-steps ol { position: relative; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; }
.cs-steps li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cs-steps__num {
    width: 54px; height: 54px; border-radius: 50%; background: var(--cs-ink); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--cs-display); font-weight: 700; font-size: 16px; box-shadow: 0 0 0 8px #fff;
}
.cs-steps__num--gold { background: var(--cs-gold); color: var(--cs-ink); }
.cs-steps__card {
    margin-top: 22px; flex: 1; width: 100%;
    background: var(--cs-mist); border: 1px solid #E6EAF0; border-radius: 18px; padding: 28px 24px;
    transition: transform .35s, box-shadow .35s, background .35s;
}
.cs-steps__card:hover { transform: translateY(-5px); background: #fff; box-shadow: 0 22px 40px -22px rgba(16, 42, 80, .3); }
.cs-steps__card svg { width: 30px; height: 30px; fill: none; stroke: var(--cs-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-steps__card h3 { font-family: var(--cs-display); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--cs-ink); margin: 16px 0 8px; }
.cs-steps__card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--cs-text); }

/* ── 05 Propuesta de valor ──────────────────────────────────────────────── */
.cs-value { position: relative; overflow: hidden; background: var(--cs-ink); color: #fff; padding: clamp(56px, 6vw, 80px) 0; }
.cs-value__grid-bg {
    position: absolute; inset: 0; opacity: .5; pointer-events: none;
    background-image:
        linear-gradient(rgba(66, 99, 235, .14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 99, 235, .14) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(60% 100% at 85% 50%, #000, transparent);
            mask-image: radial-gradient(60% 100% at 85% 50%, #000, transparent);
}
.cs-value__diag { position: absolute; right: -10%; top: -60%; width: 60%; height: 220%; border-left: 1px solid rgba(66, 99, 235, .35); transform: rotate(18deg); opacity: .5; pointer-events: none; }
.cs-value__inner { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 28px 0; align-items: center; }
.cs-value h2 {
    font-family: var(--cs-display); font-weight: 700; font-size: clamp(26px, 2.6vw, 32px);
    line-height: 1.18; letter-spacing: -.025em; padding-right: 24px; min-width: min(100%, 260px); text-wrap: balance;
}
.cs-value h2 span { color: var(--cs-gold); }
.cs-value ul { display: contents; list-style: none; }
.cs-value li {
    display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center;
    padding: 8px 20px; border-left: 1px solid rgba(255, 255, 255, .14);
    font-size: 15px; line-height: 1.4; color: #E3E8F0;
}
.cs-value li svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ── Cabecera de subpágina ─────────────────────────────────────────────── */
.cs-pagehero { position: relative; overflow: hidden; background: var(--cs-ink); color: #fff; }
.cs-pagehero__lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; pointer-events: none; }
.cs-pagehero__inner { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); max-width: 1240px; }
.cs-pagehero__title { font-family: var(--cs-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.03em; max-width: 760px; text-wrap: balance; }
.cs-pagehero .cs-hero__lead { max-width: 640px; }
.cs-crumbs { font-size: 13px; color: #AEB9CC; margin-bottom: 28px; }
.cs .cs-crumbs a { color: #C8D1E0; }
.cs .cs-crumbs a:hover { color: var(--cs-gold); }

/* ── Dos puertas: empresas / profesionales ─────────────────────────────── */
.cs-doors__grid { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.cs-door {
    display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
    background: #fff; border: 1px solid var(--cs-line); border-radius: 22px; padding: clamp(28px, 3.5vw, 44px);
    box-shadow: 0 30px 60px -44px rgba(16, 42, 80, .35);
}
.cs-door--alt { background: var(--cs-ink); border-color: var(--cs-ink); color: #C8D1E0; }
.cs-door__icon { width: 56px; height: 56px; border-radius: 14px; background: #EEF1FD; display: flex; align-items: center; justify-content: center; }
.cs-door__icon svg { width: 28px; height: 28px; fill: none; stroke: var(--cs-blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-door--alt .cs-door__icon { background: rgba(214, 170, 99, .14); }
.cs-door--alt .cs-door__icon svg { stroke: var(--cs-gold); }
.cs-door__cat { margin: 10px 0 0; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cs-gold-text); }
.cs-door--alt .cs-door__cat { color: var(--cs-gold); }
.cs-door h3 { font-family: var(--cs-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.02em; color: var(--cs-ink); }
.cs-door--alt h3 { color: #fff; }
.cs-door p:not(.cs-door__cat) { margin: 0 0 16px; font-size: 15.5px; line-height: 1.65; flex: 1; }
.cs-door .cs-btn { margin-top: auto; }

/* ── El Equipo ─────────────────────────────────────────────────────────── */
.cs-team { max-width: 820px; text-align: center; }
.cs-team__icon { display: inline-flex; width: 72px; height: 72px; border-radius: 18px; background: #EEF1FD; align-items: center; justify-content: center; }
.cs-team__icon svg { width: 36px; height: 36px; fill: none; stroke: var(--cs-blue); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.cs-team__text { margin: 28px 0 0; font-family: var(--cs-display); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -.02em; color: var(--cs-ink); text-wrap: balance; }

/* ── Columna informativa de los formularios ────────────────────────────── */
.cs-checks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-direction: column; gap: 18px; max-width: 460px; }
.cs-checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.6; color: var(--cs-text); }
.cs-checks svg { width: 26px; height: 26px; margin-top: 1px; fill: none; stroke: var(--cs-navy); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-checks strong { color: var(--cs-ink); }
.cs-notice {
    margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; max-width: 480px;
    padding: 20px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--cs-line); border-left: 3px solid var(--cs-gold);
}
.cs-notice svg { width: 28px; height: 28px; fill: none; stroke: var(--cs-gold-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cs-notice p { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--cs-ink); }

/* ── Formularios (empresas y candidatos) ────────────────────────────────────────────────────────── */
.cs-contact { overflow: hidden; padding: clamp(72px, 9vw, 112px) 0; }
.cs-contact__grid { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(40px, 6vw, 88px); align-items: start; }
.cs-contact .cs-lead { max-width: 440px; }

.cs-form {
    background: #fff; border: 1px solid var(--cs-line); border-radius: 22px;
    padding: clamp(24px, 3.5vw, 40px); box-shadow: 0 30px 60px -40px rgba(16, 42, 80, .35);
    display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px;
}
.cs-field { display: flex; flex-direction: column; gap: 7px; }
.cs-field--full { grid-column: 1 / -1; }
.cs-field label { font-size: 13.5px; font-weight: 600; color: var(--cs-ink); }
.cs-field label > span { color: var(--cs-error); }
.cs-field input, .cs-field select, .cs-field textarea {
    width: 100%; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid #D5DBE5;
    background: #FBFCFD; font: inherit; font-size: 15px; color: var(--cs-ink); outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.cs-field select {
    padding-right: 40px; cursor: pointer; -webkit-appearance: none; appearance: none;
    background: #FBFCFD url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102A50' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
}
.cs-field textarea { height: auto; min-height: 130px; padding: 14px; line-height: 1.55; resize: vertical; }
.cs-field input:focus, .cs-field select:focus, .cs-field textarea:focus {
    border-color: var(--cs-blue); box-shadow: 0 0 0 4px rgba(66, 99, 235, .14); background-color: #fff;
}
.cs-field [aria-invalid="true"] { border-color: var(--cs-error); }
.cs-field__error { font-size: 13px; color: var(--cs-error); }
.cs-field__error:empty { display: none; }

.cs-consent { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; }
.cs-consent input { width: 20px; height: 20px; margin: 1px 0 0; padding: 0; accent-color: var(--cs-navy); }
.cs-consent label { font-weight: 500; line-height: 1.5; color: var(--cs-text); }
.cs .cs-consent a { text-decoration: underline; text-underline-offset: 2px; }
.cs-consent .cs-field__error { grid-column: 2; }

.cs-alert { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; }
.cs-alert svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cs-alert p { margin: 0; font-size: 14px; line-height: 1.55; }
.cs-alert--ok { background: #ECF7F0; border: 1px solid #B5DEC4; color: #14532D; }
.cs-alert--ok svg { stroke: #15803D; }
.cs-alert--error { background: #FEF1F0; border: 1px solid #F5C2BD; color: #7A1A12; }
.cs-alert--error svg { stroke: var(--cs-error); }

.cs-form__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.cs-form__foot p { margin: 0; font-size: 12.5px; color: var(--cs-muted); }

.cs-field__hint { font-size: 12.5px; color: var(--cs-muted); }
.cs-field input[type="file"] { height: auto; padding: 12px 14px; cursor: pointer; }
.cs-field input[type="file"]::file-selector-button {
    margin-right: 14px; padding: 8px 16px; border: 0; border-radius: 999px;
    background: var(--cs-ink); color: #fff; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
}

/* ── WhatsApp con menú (Empresas / Candidatos) ─────────────────────────── */
.cs-wa { position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 60; }
.cs-wa summary {
    list-style: none; width: 58px; height: 58px; border-radius: 50%; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    background: #128C4A; box-shadow: 0 14px 30px -12px rgba(11, 20, 36, .5);
    transition: transform .25s;
}
.cs-wa summary::-webkit-details-marker { display: none; }
.cs-wa summary:hover { transform: translateY(-2px); }
.cs-wa summary svg { width: 30px; height: 30px; fill: #fff; }
.cs-wa__menu {
    position: absolute; right: 0; bottom: 72px; width: min(280px, calc(100vw - 40px));
    background: #fff; border: 1px solid var(--cs-line); border-radius: 16px; padding: 14px;
    box-shadow: 0 24px 50px -20px rgba(11, 20, 36, .45);
}
.cs-wa__menu p { margin: 4px 6px 10px; font-size: 13px; font-weight: 600; color: var(--cs-muted); }
.cs .cs-wa__menu a {
    display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 10px;
    font-weight: 600; font-size: 15px; color: var(--cs-ink);
}
.cs .cs-wa__menu a + a { margin-top: 4px; }
.cs .cs-wa__menu a:hover { background: var(--cs-mist); color: var(--cs-ink); }

.cs-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ── Pie ────────────────────────────────────────────────────────────────── */
.cs-footer { background: var(--cs-ink); color: #C8D1E0; padding: clamp(56px, 7vw, 80px) 0 28px; }
.cs-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 40px; }
.cs-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.cs-footer__brand p { margin: 0; font-size: 14px; line-height: 1.65; max-width: 280px; }
.cs-footer h3 { font-family: var(--cs-display); font-size: 14px; font-weight: 700; color: #fff; margin: 0 0 16px; letter-spacing: .02em; }
.cs-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.cs .cs-footer a { color: #C8D1E0; }
.cs .cs-footer a:hover { color: var(--cs-gold); }
.cs-footer__contact { gap: 14px !important; }
.cs-footer__contact li { display: flex; gap: 12px; align-items: center; }
.cs-footer__contact svg { width: 18px; height: 18px; fill: none; stroke: var(--cs-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cs-footer__bottom {
    margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .1);
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 13px;
}
.cs-footer__bottom p { margin: 0; color: #AEB9CC; }
.cs-footer__bottom ul { flex-direction: row; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; }

/* ── Revelado al hacer scroll (lo activa consultoria.js) ────────────────── */
.cs-js [data-cs-reveal].is-pending { opacity: 0; transform: translateY(28px); }
.cs-js [data-cs-reveal] { transition: opacity .8s var(--cs-ease), transform .8s var(--cs-ease); }

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