/**
 * J&A Global Compliance - Master Corporate Stylesheet
 * Inspiración: McKinsey & Company / PwC
 * Arquitectura: CSS3 Moderno con Variables y Grid Nativo
 */

:root {
    /* Paleta Corporativa de Alta Autoridad */
    --color-primary: #051c2c;
    --color-primary-dark: #020e17;
    --color-primary-light: #0c2d46;
    
    --color-accent: #0066cc;
    --color-accent-hover: #004c99;
    --color-accent-soft: rgba(0, 102, 204, 0.08);

    --color-text-main: #18222d;
    --color-text-muted: #536475;
    --color-text-light: #8292a2;
    
    --color-bg-white: #ffffff;
    --color-bg-subtle: #f8fafc;
    --color-bg-light: #f1f5f9;
    --color-bg-dark: #030f18;
    
    --color-border: #e2e8f0;
    --color-border-dark: #1b2e3e;

    --color-success: #0d8249;
    --color-success-bg: #e6f4ea;
    --color-danger: #c5221f;
    --color-danger-bg: #fce8e6;

    /* Tipografía */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Dimensiones y Espaciados */
    --max-width: 1240px;
    --header-height: 80px;
    --top-bar-height: 38px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transiciones & Sombras */
    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(5, 28, 44, 0.12);
}

/* Reset y Bases Globales */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-bg-white);
    line-height: 1.65;
    overflow-x: hidden;
}

body.preload-active {
    overflow: hidden !important;
}

/* ==========================================================
   PRELOADER EJECUTIVO (3 SEGUNDOS DE ALTA AUTORIDAD)
   ========================================================== */
.corp-preloader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    background: radial-gradient(circle at center, #071e34 0%, #020c15 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.75s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.75s ease;
}

.corp-preloader.is-loaded {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.05);
    pointer-events: none;
}

.corp-preloader__backdrop {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 102, 204, 0.16) 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    opacity: 0.6;
    pointer-events: none;
}

.corp-preloader__inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 540px;
    width: 90%;
    padding: 24px;
}

.corp-preloader__logo {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 35px;
    animation: preloaderPulse 2.6s infinite ease-in-out;
}

@keyframes preloaderPulse {
    0%, 100% {
        transform: translateY(0);
        filter: drop-shadow(0 0 16px rgba(0, 102, 204, 0.3));
    }
    50% {
        transform: translateY(-4px);
        filter: drop-shadow(0 0 28px rgba(0, 162, 255, 0.65));
    }
}

.corp-preloader__mark {
    background: linear-gradient(135deg, #0066cc 0%, #00b4d8 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.7rem;
    padding: 10px 18px;
    border-radius: 4px;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.corp-preloader__text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.corp-preloader__text strong {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    line-height: 1.1;
}

.corp-preloader__text small {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: #38bdf8;
    margin-top: 4px;
    font-weight: 600;
}

.corp-preloader__progress-box {
    margin-bottom: 28px;
}

.corp-preloader__track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.5);
}

.corp-preloader__bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #0066cc 0%, #38bdf8 50%, #00e5ff 100%);
    border-radius: 10px;
    box-shadow: 0 0 14px rgba(0, 229, 255, 0.85);
    transition: width 0.05s linear;
}

.corp-preloader__info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    font-size: 0.82rem;
}

.corp-preloader__status {
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.02em;
    min-height: 20px;
}

.corp-preloader__counter {
    color: #38bdf8;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    min-width: 45px;
    text-align: right;
}

.corp-preloader__pills {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.corp-preloader__pills .pre-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 3px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ==========================================================
   TIPOGRAFÍA Y ENCABEZADOS EDITORIALES
   ========================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 600;
    line-height: 1.25;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.eyebrow--light {
    color: #8ac0ff;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.text-body {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.75;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
    transition: var(--transition);
}

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

.link-arrow:hover {
    color: var(--color-accent-hover);
}

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

/* ==========================================================
   BOTONES CORPORATIVOS
   ========================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    text-align: center;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

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

.btn--primary {
    background-color: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.25);
}

.btn--secondary {
    background-color: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background-color: var(--color-primary-light);
}

.btn--outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline-dark:hover {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn--outline-light {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-light:hover {
    background-color: #ffffff;
    color: var(--color-primary);
}

.btn--white {
    background-color: #ffffff;
    color: var(--color-primary);
    border-color: #ffffff;
}

.btn--white:hover {
    background-color: var(--color-bg-subtle);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   BARRA SUPERIOR (TOP BAR)
   ========================================================== */
.top-bar {
    background-color: var(--color-primary-dark);
    color: #b0c0d0;
    font-size: 0.8rem;
    height: var(--top-bar-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.top-bar__contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar__contact span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar__contact a {
    color: #b0c0d0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-bar__contact a:hover {
    color: #38bdf8;
}

.top-bar__social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-social-link {
    width: 26px;
    height: 26px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.top-social-link svg {
    display: block;
    width: 13px;
    height: 13px;
}

.top-social-link:hover {
    background: #0066cc;
    color: #ffffff;
    border-color: #0066cc;
    transform: translateY(-1px);
}

.top-social-link--wa:hover {
    background: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.top-bar__tagline {
    font-weight: 500;
    color: #8ba2b8;
    font-size: 0.76rem;
    letter-spacing: 0.04em;
}

.top-bar__lang {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.top-lang-link {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #94a3b8;
    text-decoration: none;
    padding: 2px 5px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.top-lang-link:hover {
    color: #ffffff;
}

.top-lang-link.is-active {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    font-weight: 800;
}

.top-lang-sep {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

/* Selector en el Header Principal (Píldora Ejecutiva) */
.header-lang-switch {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    padding: 2px 4px;
    gap: 2px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lang-pill {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b;
    padding: 4px 9px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.2s ease;
    line-height: 1;
}

.lang-pill:hover {
    color: var(--color-primary);
}

.lang-pill.is-active {
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(10, 37, 64, 0.25);
}

.lang-pill-sep {
    display: none;
}

/* ==========================================================
   CABECERA PRINCIPAL (HEADER)
   ========================================================== */
.main-header {
    background-color: var(--color-bg-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.main-header.is-scrolled {
    box-shadow: var(--shadow-md);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo__mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: var(--color-primary);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.05em;
    border-radius: var(--radius-sm);
}

.brand-logo__text {
    display: flex;
    flex-direction: column;
}

.brand-logo__text strong {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    line-height: 1.1;
}

.brand-logo__text small {
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    font-weight: 600;
    color: var(--color-text-muted);
}

.brand-logo--light .brand-logo__mark {
    background-color: #ffffff;
    color: var(--color-primary);
}

.brand-logo--light .brand-logo__text strong {
    color: #ffffff;
}

.brand-logo--light .brand-logo__text small {
    color: #8ba2b8;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.2s ease;
}

.nav-link:hover, .nav-link.is-active {
    color: var(--color-accent);
}

.nav-link.is-active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

/* ==========================================================
   1. HERO CORPORATIVO CON IMAGEN Y ANIMACIÓN (ESTILO MCKINSEY)
   ========================================================== */
.corporate-hero {
    position: relative;
    color: #ffffff;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 95px 0 100px;
    border-bottom: 3px solid var(--color-accent);
}

.corporate-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    animation: kenburns 35s ease-in-out infinite alternate;
    z-index: 1;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08);
    }
}

.corporate-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 16, 28, 0.95) 0%, rgba(4, 25, 45, 0.88) 55%, rgba(2, 16, 28, 0.94) 100%);
    z-index: 2;
}

.corporate-hero__container {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.25fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.corporate-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #7dd3fc;
    margin-bottom: 22px;
    backdrop-filter: blur(8px);
}

.badge-dot-green {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #00e676;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.25);
}

.corporate-hero__title {
    font-size: 3.2rem;
    color: #ffffff;
    margin-bottom: 22px;
    line-height: 1.16;
    letter-spacing: -0.02em;
}

.corporate-hero__lead {
    font-size: 1.18rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 34px;
    max-width: 640px;
}

.corporate-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.btn--hover-glow:hover {
    box-shadow: 0 6px 24px rgba(0, 102, 204, 0.5);
    transform: translateY(-2px);
}

.corporate-hero__assurance {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #94a3b8;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.corporate-hero__assurance span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.exec-feature-card {
    background: rgba(10, 29, 48, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 34px 28px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.exec-feature-card__tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #38bdf8;
    margin-bottom: 12px;
}

.exec-feature-card__title {
    font-size: 1.45rem;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 12px;
}

.exec-feature-card__text {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 20px;
}

.standards-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.std-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #e2e8f0;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
}

.link-arrow-light {
    color: #38bdf8;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.link-arrow-light:hover {
    color: #ffffff;
    padding-left: 4px;
}

/* ==========================================================
   2. BARRA DE INDICADORES Y PRESTIGIO
   ========================================================== */
.metrics-strip {
    background: #ffffff;
    border-bottom: 1px solid var(--color-border);
    padding: 40px 0;
}

.metrics-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.metric-card {
    border-left: 3px solid var(--color-accent);
    padding-left: 20px;
}

.metric-card__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.6rem;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 6px;
    font-weight: 700;
}

.metric-card__title {
    display: block;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.metric-card__desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.45;
    margin: 0;
}

/* ==========================================================
   3. CUADRÍCULA CORPORATIVA DE CAPACIDADES (HIGH-CONTRAST CARDS)
   ========================================================== */
.section--capabilities-showcase {
    background: linear-gradient(180deg, #f1f5fa 0%, #e2eaf4 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid #dbe5f0;
    border-bottom: 1px solid #dbe5f0;
}

.section--capabilities-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 102, 204, 0.1) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.8;
}

.section-title-wrap {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 55px auto;
    position: relative;
    z-index: 2;
}

.corporate-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Tarjeta Ejecutiva de Práctica (Alta Jerarquía & Color) */
.corp-card {
    position: relative;
    background: linear-gradient(165deg, #092038 0%, #051424 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 36px rgba(5, 28, 44, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.45s ease;
    z-index: 1;
}

/* Efecto de destello / barrido de luz al hacer hover */
.corp-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.05) 45%, 
        rgba(255, 255, 255, 0.16) 50%, 
        transparent 55%
    );
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.85s ease-in-out;
    pointer-events: none;
    z-index: 3;
}

.corp-card:hover::after {
    transform: rotate(25deg) translateY(100%);
}

.corp-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 26px 55px rgba(5, 28, 44, 0.38), 0 0 30px var(--card-glow, rgba(0, 102, 204, 0.3));
    border-color: var(--card-border-glow, rgba(56, 189, 248, 0.5));
}

/* Barra superior de acento con gradiente de color */
.corp-card__top-bar {
    height: 4px;
    width: 100%;
    background: var(--card-accent-grad, linear-gradient(90deg, #0066cc, #38bdf8));
    transition: height 0.3s ease, filter 0.3s ease;
}

.corp-card:hover .corp-card__top-bar {
    height: 5px;
    filter: brightness(1.25) drop-shadow(0 2px 8px var(--card-glow, rgba(0, 102, 204, 0.5)));
}

/* Contenedor de Fotografía */
.corp-card__image-wrap {
    position: relative;
    width: 100%;
    height: 215px;
    overflow: hidden;
}

.corp-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.corp-card:hover .corp-card__img {
    transform: scale(1.12);
    filter: brightness(1.05);
}

.corp-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 32, 56, 0.98) 0%, rgba(9, 32, 56, 0.3) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Fila de Etiquetas sobre la Imagen */
.corp-card__badge-row {
    position: absolute;
    bottom: 14px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.corp-card__category-tag {
    background: var(--card-badge-bg, rgba(0, 102, 204, 0.9));
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.corp-card__number-tag {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(4, 18, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2px 9px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
}

/* Contenido Interno */
.corp-card__content {
    padding: 26px 26px 28px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.corp-card__title {
    font-size: 1.35rem;
    margin-bottom: 14px;
    line-height: 1.35;
    word-break: normal;
    hyphens: none;
    font-family: var(--font-heading);
}

.corp-card__title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.corp-card:hover .corp-card__title a {
    color: var(--card-accent-color, #38bdf8);
}

.corp-card__text {
    font-size: 0.93rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.corp-card__footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    margin-top: auto;
}

.corp-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--card-accent-color, #38bdf8);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.corp-card__arrow {
    stroke: var(--card-accent-color, #38bdf8);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.corp-card:hover .corp-card__link {
    color: #ffffff;
}

.corp-card:hover .corp-card__arrow {
    transform: translateX(7px);
    stroke: #ffffff;
}

/* ==========================================================
   PALETAS TEMÁTICAS POR PRÁCTICA CORPORATIVA
   ========================================================== */
/* 1. Cumplimiento Legal (Cobalt Blue) */
.corp-card--compliance {
    --card-accent-grad: linear-gradient(90deg, #0066cc, #38bdf8);
    --card-accent-color: #38bdf8;
    --card-badge-bg: linear-gradient(135deg, #0284c7, #0066cc);
    --card-glow: rgba(0, 102, 204, 0.35);
    --card-border-glow: rgba(56, 189, 248, 0.5);
}

/* 2. Prevención de Lavado de Activos / FT (Emerald Mint) */
.corp-card--aml {
    --card-accent-grad: linear-gradient(90deg, #059669, #34d399);
    --card-accent-color: #34d399;
    --card-badge-bg: linear-gradient(135deg, #059669, #10b981);
    --card-glow: rgba(5, 150, 105, 0.35);
    --card-border-glow: rgba(52, 211, 153, 0.5);
}

/* 3. Gobierno Corporativo & GRC (Royal Indigo) */
.corp-card--governance {
    --card-accent-grad: linear-gradient(90deg, #4f46e5, #818cf8);
    --card-accent-color: #818cf8;
    --card-badge-bg: linear-gradient(135deg, #4f46e5, #6366f1);
    --card-glow: rgba(79, 70, 229, 0.35);
    --card-border-glow: rgba(129, 140, 248, 0.5);
}

/* 4. Auditoría Forense (Amber Gold) */
.corp-card--forensic {
    --card-accent-grad: linear-gradient(90deg, #d97706, #fbbf24);
    --card-accent-color: #fbbf24;
    --card-badge-bg: linear-gradient(135deg, #d97706, #f59e0b);
    --card-glow: rgba(217, 119, 6, 0.35);
    --card-border-glow: rgba(251, 191, 36, 0.5);
}

/* 5. Ciberseguridad & Datos (Cyan Electric) */
.corp-card--cyber {
    --card-accent-grad: linear-gradient(90deg, #0284c7, #38bdf8);
    --card-accent-color: #38bdf8;
    --card-badge-bg: linear-gradient(135deg, #0369a1, #0284c7);
    --card-glow: rgba(2, 132, 199, 0.35);
    --card-border-glow: rgba(56, 189, 248, 0.5);
}

/* 6. Criterios ESG (Forest Jade) */
.corp-card--esg {
    --card-accent-grad: linear-gradient(90deg, #16a34a, #4ade80);
    --card-accent-color: #4ade80;
    --card-badge-bg: linear-gradient(135deg, #15803d, #16a34a);
    --card-glow: rgba(22, 163, 74, 0.35);
    --card-border-glow: rgba(74, 222, 128, 0.5);
}

/* Animación de Entrada Escalada al Scroll */
.reveal-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.45s ease;
}

.reveal-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   4. SECCIÓN SPLIT CON IMAGEN EJECUTIVA
   ========================================================== */
.section--split {
    background: #ffffff;
    padding: 90px 0;
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-frame__img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.image-frame__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 16, 28, 0.92) 100%);
    padding: 30px 24px 20px 24px;
    color: #ffffff;
}

.image-frame__caption strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.image-frame__caption p {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.45;
}

/* ==========================================================
   REPRODUCTOR DE VIDEO INSTITUCIONAL EJECUTIVO (MCKINSEY STYLE)
   ========================================================== */
.video-showcase-frame {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(5, 28, 44, 0.22);
    cursor: pointer;
    border: 1px solid rgba(0, 102, 204, 0.25);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
    background: #020f18;
}

.video-showcase-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 65px rgba(5, 28, 44, 0.38), 0 0 30px rgba(0, 102, 204, 0.25);
    border-color: rgba(56, 189, 248, 0.55);
}

.video-showcase-frame__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    filter: brightness(0.85);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.video-showcase-frame:hover .video-showcase-frame__img {
    transform: scale(1.08);
    filter: brightness(0.95);
}

.video-showcase-frame__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(7, 30, 52, 0.3) 0%, rgba(2, 14, 25, 0.85) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Badges Superiores del Video */
.video-showcase-frame__badge {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.video-badge-tag {
    background: rgba(4, 18, 32, 0.85);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 14px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.video-badge-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 8px #ef4444;
    animation: blinkVideoDot 1.4s infinite ease-in-out;
}

@keyframes blinkVideoDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.video-badge-duration {
    background: rgba(0, 102, 204, 0.9);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Botón Central de Play con Ondas Expansivas */
.video-play-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 3;
    pointer-events: none;
}

.video-play-pulse-ring {
    position: absolute;
    top: 0;
    left: 50%;
    width: 76px;
    height: 76px;
    margin-left: -38px;
    border-radius: 50%;
    border: 2px solid rgba(56, 189, 248, 0.6);
    animation: pulseRingPlay 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
}

.video-play-pulse-ring--2 {
    animation-delay: 1.2s;
}

@keyframes pulseRingPlay {
    0% {
        transform: scale(0.9);
        opacity: 0.9;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.video-play-btn {
    position: relative;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0066cc 0%, #00d2ff 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.65);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.video-play-btn svg {
    margin-left: 3px;
}

.video-showcase-frame:hover .video-play-btn {
    transform: scale(1.14);
    filter: brightness(1.2) drop-shadow(0 0 22px rgba(0, 210, 255, 0.85));
}

.video-play-caption {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
    background: rgba(3, 15, 26, 0.7);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    transition: var(--transition);
}

.video-showcase-frame:hover .video-play-caption {
    color: #38bdf8;
    background: rgba(3, 15, 26, 0.9);
}

/* Pie Informativo de la Tarjeta de Video */
.video-showcase-frame__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(2, 14, 25, 0.95) 100%);
    padding: 34px 24px 22px 24px;
    color: #ffffff;
    z-index: 2;
}

.video-showcase-frame__caption strong {
    display: block;
    font-size: 1.15rem;
    margin-bottom: 4px;
    color: #ffffff;
}

.video-showcase-frame__caption p {
    font-size: 0.86rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================
   MODAL DE VIDEO CINEMÁTICO (LIGHTBOX PLAYER)
   ========================================================== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.video-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.video-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 10, 18, 0.88);
    backdrop-filter: blur(12px);
}

.video-modal__container {
    position: relative;
    z-index: 2;
    background: #071e34;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-md);
    max-width: 980px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.is-open .video-modal__container {
    transform: translateY(0) scale(1);
}

.video-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 26px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: #05182a;
}

.video-modal__title {
    color: #ffffff;
    font-size: 1.15rem;
    margin: 4px 0 0;
}

.video-modal__close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.video-modal__close:hover {
    color: #ffffff;
}

.video-modal__player-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000000;
}

.video-modal__player-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.value-pillars {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 28px 0 34px 0;
}

.value-pillar-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 16px;
    background: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.value-pillar-item:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.value-pillar-item__icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(0, 102, 204, 0.1);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-pillar-item__text strong {
    display: block;
    font-size: 1.05rem;
    color: var(--color-primary);
    margin-bottom: 3px;
}

.value-pillar-item__text p {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================
   5. SIMULADOR EJECUTIVO DE RIESGO REGULATORIO
   ========================================================== */
.section--dark {
    background: linear-gradient(145deg, #021220 0%, #06223a 100%);
    color: #ffffff;
    padding: 90px 0;
}

.sim-container {
    max-width: 1080px;
    margin: 0 auto;
}

.sim-intro {
    text-align: center;
    margin-bottom: 40px;
}

.sim-heading {
    font-size: 2.3rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.sim-sub {
    font-size: 1.05rem;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
}

.sim-box {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 36px;
    align-items: stretch;
}

.sim-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    backdrop-filter: blur(8px);
}

.sim-group {
    margin-bottom: 22px;
}

.sim-group:last-child {
    margin-bottom: 0;
}

.sim-group__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #7dd3fc;
    margin-bottom: 10px;
}

.sim-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sim-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.sim-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.sim-btn.is-active {
    background: #0070e0;
    border-color: #0070e0;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 112, 224, 0.4);
}

.sim-display {
    background: #ffffff;
    border-radius: var(--radius-md);
    padding: 34px 28px;
    color: var(--color-text-main);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-gauge {
    text-align: center;
    margin-bottom: 16px;
}

.sim-gauge__num {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: #c5221f;
    line-height: 1;
}

.sim-gauge__tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin: 4px 0 10px 0;
}

.sim-gauge__bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.sim-gauge__fill {
    height: 100%;
    background: #c5221f;
    border-radius: 4px;
    transition: width 0.35s ease;
}

.sim-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
}

.sim-badge--red {
    background: #fee2e2;
    color: #b91c1c;
}

.sim-badge--yellow {
    background: #fef3c7;
    color: #b45309;
}

.sim-badge--green {
    background: #dcfce7;
    color: #15803d;
}

.sim-feedback__title {
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.35;
}

.sim-feedback__text {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

/* ==========================================================
   6. EDITORIAL INSIGHTS CON FOTOS REALES
/* ==========================================================
   6. EDITORIAL INSIGHTS (HIGH-CONTRAST THOUGHT LEADERSHIP CARDS)
   ========================================================== */
.section--insights-showcase {
    background: linear-gradient(180deg, #f1f5fa 0%, #e2eaf4 100%);
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    border-top: 1px solid #dbe5f0;
    border-bottom: 1px solid #dbe5f0;
}

.section--insights-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 102, 204, 0.1) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    pointer-events: none;
    opacity: 0.8;
}

.editorial-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Tarjeta Editorial Ejecutiva (Alta Jerarquía & Color) */
.ins-card {
    position: relative;
    background: linear-gradient(165deg, #092038 0%, #051424 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 36px rgba(5, 28, 44, 0.16), 0 2px 6px rgba(0, 0, 0, 0.08);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.45s ease;
    z-index: 1;
}

/* Efecto de barrido de destello luminoso al hacer hover */
.ins-card::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        115deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.05) 45%, 
        rgba(255, 255, 255, 0.16) 50%, 
        transparent 55%
    );
    transform: rotate(25deg) translateY(-100%);
    transition: transform 0.85s ease-in-out;
    pointer-events: none;
    z-index: 3;
}

.ins-card:hover::after {
    transform: rotate(25deg) translateY(100%);
}

.ins-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 26px 55px rgba(5, 28, 44, 0.38), 0 0 30px var(--ins-glow, rgba(0, 102, 204, 0.3));
    border-color: var(--ins-border-glow, rgba(56, 189, 248, 0.5));
}

/* Barra superior de acento temático */
.ins-card__top-bar {
    height: 4px;
    width: 100%;
    background: var(--ins-accent-grad, linear-gradient(90deg, #0066cc, #38bdf8));
    transition: height 0.3s ease, filter 0.3s ease;
}

.ins-card:hover .ins-card__top-bar {
    height: 5px;
    filter: brightness(1.25) drop-shadow(0 2px 8px var(--ins-glow, rgba(0, 102, 204, 0.5)));
}

/* Contenedor de Fotografía */
.ins-card__image-box {
    position: relative;
    width: 100%;
    height: 215px;
    overflow: hidden;
}

.ins-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.ins-card:hover .ins-card__img {
    transform: scale(1.12);
    filter: brightness(1.05);
}

.ins-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 32, 56, 0.98) 0%, rgba(9, 32, 56, 0.3) 60%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Etiquetas flotantes sobre la imagen */
.ins-card__badge-row {
    position: absolute;
    bottom: 14px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
}

.ins-card__cat-badge {
    background: var(--ins-badge-bg, rgba(0, 102, 204, 0.9));
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 12px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}

.ins-card__edition-tag {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(4, 18, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2px 9px;
    border-radius: 4px;
    backdrop-filter: blur(6px);
}

/* Contenido Interno */
.ins-card__body {
    padding: 26px 26px 28px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.ins-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.ins-card__date-pill, .ins-card__read-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
}

.ins-card__title {
    font-size: 1.35rem;
    margin-bottom: 14px;
    line-height: 1.35;
    word-break: normal;
    hyphens: none;
    font-family: var(--font-heading);
}

.ins-card__title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ins-card:hover .ins-card__title a {
    color: var(--ins-accent-color, #38bdf8);
}

.ins-card__summary {
    font-size: 0.93rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.ins-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 18px;
    margin-top: auto;
    font-size: 0.85rem;
    gap: 16px;
}

.ins-card__author {
    color: #94a3b8;
    font-size: 0.82rem;
}

.ins-card__author strong {
    color: #e2e8f0;
}

.ins-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ins-accent-color, #38bdf8);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.ins-card__arrow {
    stroke: var(--ins-accent-color, #38bdf8);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease;
}

.ins-card:hover .ins-card__link {
    color: #ffffff;
}

.ins-card:hover .ins-card__arrow {
    transform: translateX(7px);
    stroke: #ffffff;
}

/* ==========================================================
   TEMÁTICAS DE COLOR PARA INFORMES (INSIGHTS)
   ========================================================== */
/* 1. Perspectivas Estratégicas (Cobalt / Cyan) */
.ins-card--strategy {
    --ins-accent-grad: linear-gradient(90deg, #0066cc, #38bdf8);
    --ins-accent-color: #38bdf8;
    --ins-badge-bg: linear-gradient(135deg, #0284c7, #0066cc);
    --ins-glow: rgba(0, 102, 204, 0.35);
    --ins-border-glow: rgba(56, 189, 248, 0.5);
}

/* 2. Gestión de Riesgos (Amber / Gold) */
.ins-card--risk {
    --ins-accent-grad: linear-gradient(90deg, #d97706, #fbbf24);
    --ins-accent-color: #fbbf24;
    --ins-badge-bg: linear-gradient(135deg, #d97706, #f59e0b);
    --ins-glow: rgba(217, 119, 6, 0.35);
    --ins-border-glow: rgba(251, 191, 36, 0.5);
}

/* 3. Gobierno Corporativo (Royal Indigo / Violet) */
.ins-card--governance {
    --ins-accent-grad: linear-gradient(90deg, #4f46e5, #818cf8);
    --ins-accent-color: #818cf8;
    --ins-badge-bg: linear-gradient(135deg, #4f46e5, #6366f1);
    --ins-glow: rgba(79, 70, 229, 0.35);
    --ins-border-glow: rgba(129, 140, 248, 0.5);
}

/* ==========================================================
   7. FAQ ACORDEÓN INSTITUCIONAL
   ========================================================== */
.faq-corporate-layout {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 50px;
    align-items: start;
}

.faq-corporate-sidebar {
    position: sticky;
    top: 100px;
}

.faq-contact-card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--radius-sm);
    margin-top: 24px;
}

.faq-contact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.faq-contact-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 14px;
}

.faq-corporate-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.corp-accordion-item {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: var(--transition);
}

.corp-accordion-item.is-open {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.corp-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary);
}

.corp-accordion-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-accent);
    line-height: 1;
    margin-left: 12px;
}

.corp-accordion-panel {
    display: none;
    padding: 0 24px 20px 24px;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
}

.corp-accordion-item.is-open .corp-accordion-panel {
    display: block;
}

/* ==========================================================
   SECCIONES GENERALES
   ========================================================== */
.section {
    padding: 85px 0;
}

.section--light {
    background-color: var(--color-bg-subtle);
}

.section--editorial {
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.section-header--center {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

/* ==========================================================
   CUADRÍCULA DE CAPACIDADES (CAPABILITIES)
   ========================================================== */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.capabilities-grid--3col {
    grid-template-columns: repeat(3, 1fr);
}

.capability-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-top: 3px solid transparent;
    padding: 36px 30px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.capability-card:hover {
    border-top-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.capability-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.capability-card__icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.capability-card__number {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.capability-card__title {
    font-size: 1.4rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

.capability-card__title a:hover {
    color: var(--color-accent);
}

.capability-card__text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: 24px;
    flex-grow: 1;
}

.capability-card__checklist {
    margin-bottom: 24px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
}

.capability-card__checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.capability-card__checklist svg {
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 3px;
}

/* ==========================================================
   SECCIÓN DE INSIGHTS (EDITORIAL MCKINSEY / PWC)
   ========================================================== */
.insights-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
}

.insight-featured {
    background-color: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    padding: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
}

.insight-featured__tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.insight-featured__title {
    font-size: 2.1rem;
    margin-bottom: 18px;
    line-height: 1.25;
}

.insight-featured__title a:hover {
    color: var(--color-accent);
}

.insight-featured__summary {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    flex-grow: 1;
}

.insight-featured__meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 20px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.insights-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.insight-mini {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.insight-mini:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-sm);
}

.insight-mini__category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
    display: block;
    margin-bottom: 8px;
}

.insight-mini__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    line-height: 1.35;
}

.insight-mini__title a:hover {
    color: var(--color-accent);
}

.insight-mini__summary {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    line-height: 1.55;
}

.insight-mini__date {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Grilla general de Insights */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.insight-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.insight-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.insight-card__meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 0.8rem;
}

.insight-card__category {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-accent);
}

.insight-card__date {
    color: var(--color-text-light);
}

.insight-card__title {
    font-size: 1.4rem;
    margin-bottom: 14px;
    line-height: 1.3;
}

.insight-card__excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.insight-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    padding-top: 16px;
    font-size: 0.85rem;
}

/* ==========================================================
   PILARES METODOLÓGICOS (4 PHASES)
   ========================================================== */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.pillar-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 32px 24px;
    border-radius: var(--radius-sm);
    position: relative;
}

.pillar-card__step {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.pillar-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.pillar-card__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================
   CTA BANNER
   ========================================================== */
.cta-banner {
    background: linear-gradient(135deg, #051c2c 0%, #031019 100%);
    color: #ffffff;
    padding: 70px 0;
    border-top: 3px solid var(--color-accent);
}

.cta-banner__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-banner__content {
    max-width: 650px;
}

.cta-banner__eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8ac0ff;
    display: block;
    margin-bottom: 12px;
}

.cta-banner__title {
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 14px;
}

.cta-banner__desc {
    font-size: 1.05rem;
    color: #bcd2e5;
    line-height: 1.6;
}

.cta-banner__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 300px;
}

/* ==========================================================
   PÁGINAS INTERIORES & DETALLES
   ========================================================== */
.detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 50px;
    align-items: start;
}

.prose h2 {
    font-size: 1.9rem;
    margin: 35px 0 16px;
}

.prose h3 {
    font-size: 1.4rem;
    margin: 28px 0 14px;
}

.prose p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin-bottom: 20px;
}

.prose blockquote {
    border-left: 4px solid var(--color-accent);
    padding: 20px 24px;
    background-color: var(--color-bg-subtle);
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-style: italic;
    color: var(--color-primary);
    margin: 30px 0;
    line-height: 1.5;
}

.detail-checklist {
    margin: 24px 0 32px;
}

.detail-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.detail-checklist__icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-checklist__text {
    font-size: 1.05rem;
    color: var(--color-text-main);
    line-height: 1.5;
    padding-top: 3px;
}

.callout-box {
    background-color: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    padding: 24px 28px;
    margin: 35px 0;
    border-radius: var(--radius-sm);
}

.callout-box h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.sidebar-box {
    background-color: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    padding: 30px;
    border-radius: var(--radius-sm);
    margin-bottom: 28px;
}

.sidebar-box--contact {
    background: linear-gradient(135deg, #051c2c 0%, #0d2c42 100%);
    color: #ffffff;
    border-color: #051c2c;
}

.sidebar-box--contact .sidebar-box__title {
    color: #ffffff;
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.sidebar-box--contact .sidebar-box__text {
    color: #c9dcee;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sidebar-box__heading {
    font-size: 1.15rem;
    margin-bottom: 18px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 8px;
}

.sidebar-links li {
    margin-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
}

.sidebar-links a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.sidebar-links a:hover {
    color: var(--color-accent);
}

/* ==========================================================
   PÁGINA DE CONTACTO & FORMULARIO
   ========================================================== */
.contact-layout {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
}

.contact-card {
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    padding: 44px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.contact-card__title {
    font-size: 2rem;
    margin-bottom: 8px;
}

.contact-card__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group--full {
    grid-column: span 2;
}

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-main);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    color: var(--color-text-main);
    background-color: #ffffff;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

textarea.form-control {
    resize: vertical;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.form-disclaimer svg {
    color: var(--color-accent);
    flex-shrink: 0;
}

.alert-box {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
}

.alert-box--success {
    background-color: var(--color-success-bg);
    color: var(--color-success);
    border: 1px solid #b7e1cd;
}

.alert-box--error {
    background-color: var(--color-danger-bg);
    color: var(--color-danger);
    border: 1px solid #f5c2c7;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: var(--color-bg-subtle);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.info-card__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--color-accent-soft);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-card__title {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.info-card__text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.canal-etico-box {
    background-color: var(--color-primary-dark);
    color: #ffffff;
    padding: 26px;
    border-radius: var(--radius-sm);
}

.canal-etico-box__title {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.canal-etico-box__text {
    font-size: 0.85rem;
    color: #a4bccc;
    line-height: 1.6;
}

/* ==========================================================
   PIE DE PÁGINA CORPORATIVO (FOOTER DE ALTA AUTORIDAD)
   ========================================================== */
.main-footer {
    background: radial-gradient(circle at 85% 0%, #08263d 0%, #020d15 50%, #01080d 100%);
    color: #94a3b8;
    padding: 85px 0 35px;
    border-top: 1px solid rgba(56, 189, 248, 0.15);
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.35), rgba(212, 160, 23, 0.4), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1.05fr 1.05fr 1.4fr;
    gap: 48px;
    margin-bottom: 50px;
}

.footer-col--brand .brand-logo {
    margin-bottom: 18px;
    display: inline-flex;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 16px 0 22px;
    color: #94a3b8;
    max-width: 340px;
}

.footer-cert {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.badge-cert {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 5px 11px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #38bdf8;
    letter-spacing: 0.04em;
    backdrop-filter: blur(4px);
}

.footer-title {
    color: #ffffff;
    font-size: 1.05rem;
    font-family: var(--font-heading);
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, var(--color-gold));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.22s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
    color: #38bdf8;
}

/* Tarjeta Ejecutiva de Briefing (Columna 4) */
.footer-briefing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 24px;
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.footer-briefing-header {
    margin-bottom: 10px;
}

.footer-briefing-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #d4a017;
    margin-bottom: 6px;
}

.footer-briefing-desc {
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Input y Botón del Newsletter en Footer */
.footer-newsletter-wrap {
    margin-bottom: 18px;
}

.footer-newsletter-input-group {
    display: flex;
    gap: 8px;
    background: rgba(2, 14, 23, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-input-group:focus-within {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

.footer-newsletter-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.84rem;
    padding: 8px 12px;
    min-width: 0;
}

.footer-newsletter-input::placeholder {
    color: #64748b;
}

.footer-newsletter-btn {
    background: linear-gradient(135deg, #0066cc, #0284c7);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

.footer-newsletter-btn:hover {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    transform: translateY(-1px);
}

.footer-newsletter-disclaimer {
    font-size: 0.74rem;
    color: #94a3b8;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.35;
}

.footer-newsletter-msg {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.footer-newsletter-msg--success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
}
.footer-newsletter-msg--error {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Contacto Directo en Footer */
.footer-direct-contact {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 14px;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-direct-contact__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #94a3b8;
}

.footer-direct-contact__item svg {
    color: #38bdf8;
    flex-shrink: 0;
}

.footer-direct-contact__item a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-direct-contact__item a:hover {
    color: #38bdf8;
}

/* Sub-navegación Institucional Horizontal */
.footer-subnav {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 16px 0;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
    font-size: 0.82rem;
}

.footer-subnav__title {
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.footer-subnav a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-subnav a:hover {
    color: #ffffff;
}

.footer-subnav__dot {
    color: #334155;
    font-size: 0.8rem;
}

/* Barra de Créditos & Legal (Diseño Ejecutivo Limpio) */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 26px;
    margin-top: 20px;
    font-size: 0.84rem;
    color: #64748b;
    gap: 30px;
}

.footer-bottom__copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-bottom__copy p {
    color: #94a3b8;
    margin: 0;
    line-height: 1.4;
}

.footer-bottom__dev {
    color: #64748b;
    font-size: 0.78rem;
}

.footer-bottom__dev strong {
    color: #38bdf8;
    font-weight: 600;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-legal-links a,
.btn-cookie-trigger {
    color: #94a3b8;
    font-size: 0.82rem;
    background: transparent;
    border: none;
    padding: 2px 4px;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.footer-legal-links a:hover,
.btn-cookie-trigger:hover {
    color: #38bdf8;
    text-decoration: underline;
}

.footer-legal-sep {
    color: #334155;
    font-size: 0.75rem;
    user-select: none;
}

/* ==========================================================
   CABECERA EJECUTIVA DE PÁGINAS INTERIORES (.page-header & .page-hero)
   (Estilo McKinsey & Company / PwC Thought Leadership)
   ========================================================== */
.page-header,
.page-hero {
    background: radial-gradient(circle at 80% 20%, #0d3656 0%, #051c2c 60%, #020e17 100%);
    color: #ffffff;
    padding: 70px 0 65px;
    border-bottom: 3px solid var(--color-accent);
    position: relative;
    overflow: hidden;
}

.page-header::before,
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;utf8,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.02" fill-rule="evenodd"><path d="M0 40L40 0H20L0 20M40 40V20L20 40"/></g></svg>');
    pointer-events: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #38bdf8;
}

.breadcrumbs span {
    color: #38bdf8;
    font-weight: 600;
}

.page-header .eyebrow,
.page-hero .eyebrow {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin-bottom: 16px;
    display: inline-block;
}

.page-title,
.page-hero__title {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    color: #ffffff;
    line-height: 1.22;
    margin-bottom: 16px;
    max-width: 900px;
    letter-spacing: -0.015em;
    position: relative;
    z-index: 2;
}

.page-subtitle,
.page-hero__lead {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.68;
    max-width: 780px;
    font-family: var(--font-sans);
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.back-link:hover {
    color: #ffffff;
    transform: translateX(-4px);
}

@media (max-width: 768px) {
    .page-header,
    .page-hero {
        padding: 50px 0 45px;
    }
    .page-title,
    .page-hero__title {
        font-size: 1.85rem;
    }
    .page-subtitle,
    .page-hero__lead {
        font-size: 0.98rem;
    }
}

/* ==========================================================
   PÁGINAS LEGALES & CUMPLIMIENTO NORMATIVO (GDPR / ISO)
   ========================================================== */
.page-hero--legal {
    background: radial-gradient(circle at 80% 20%, #0d3656 0%, #020f18 60%, #01080d 100%);
    padding: 75px 0 55px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-hero-meta {
    margin-top: 18px;
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section--legal {
    background-color: #ffffff;
    padding: 70px 0 100px;
}

.legal-layout {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* Menú Lateral Legal */
.legal-sidebar {
    position: sticky;
    top: 100px;
}

.legal-nav-box {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
}

.legal-nav-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border);
}

.legal-nav-list li {
    margin-bottom: 6px;
}

.legal-nav-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--color-text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition);
}

.legal-nav-list a:hover {
    background: #ffffff;
    color: var(--color-accent);
}

.legal-nav-list a.is-active {
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 600;
}

.legal-sidebar-cta {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.legal-sidebar-cta h4 {
    font-size: 0.92rem;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.legal-sidebar-cta p {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Contenido Principal de Páginas Legales */
.legal-content {
    max-width: 860px;
}

.legal-highlight-box {
    background: #f0f7ff;
    border-left: 4px solid var(--color-accent);
    padding: 20px 24px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin-bottom: 35px;
}

.legal-highlight-box strong {
    display: block;
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.legal-highlight-box p {
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.legal-content h2 {
    font-size: 1.45rem;
    color: var(--color-primary);
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border);
}

.legal-content h3 {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-content p {
    font-size: 0.96rem;
    color: #334155;
    line-height: 1.75;
    margin-bottom: 18px;
}

.legal-content ul {
    margin-bottom: 22px;
    padding-left: 20px;
}

.legal-content li {
    font-size: 0.94rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 8px;
}

.legal-data-list {
    list-style: none;
    padding-left: 0 !important;
}

.legal-data-list li {
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.legal-table-wrap {
    overflow-x: auto;
    margin: 24px 0 30px;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: #ffffff;
    border: 1px solid var(--color-border);
}

.legal-table th {
    background: #071e34;
    color: #ffffff;
    font-weight: 600;
    text-align: left;
    padding: 12px 16px;
    border: 1px solid #112d48;
}

.legal-table td {
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    color: #334155;
    line-height: 1.55;
    vertical-align: top;
}

.legal-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

/* Tarjetas de Categorías de Cookies */
.cookie-category-card {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin: 22px 0 26px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-category-header h3 {
    margin: 0;
    font-size: 1.15rem;
}

.cookie-badge {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 4px;
}

.cookie-badge--required {
    background: #0d8249;
    color: #ffffff;
}

.cookie-badge--optional {
    background: #0284c7;
    color: #ffffff;
}

/* ==========================================================
   BANNER FLOTANTE DE CONSENTIMIENTO DE COOKIES
   ========================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 1180px;
    margin: 0 auto;
    z-index: 999990;
    background: rgba(7, 27, 46, 0.96);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 22px 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.45s ease;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-banner__content {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    flex: 1;
}

.cookie-banner__icon {
    color: #38bdf8;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-banner__title {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.cookie-banner__desc {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.55;
    margin: 0;
}

.cookie-banner__desc a {
    color: #38bdf8;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.cookie-banner__config-link {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    padding: 6px 10px;
    transition: var(--transition);
}

.cookie-banner__config-link:hover {
    color: #ffffff;
}

/* ==========================================================
   MODAL DE PREFERENCIAS DE COOKIES
   ========================================================== */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cookie-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 24, 0.8);
    backdrop-filter: blur(8px);
}

.cookie-modal__dialog {
    position: relative;
    z-index: 2;
    background: #092038;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    max-width: 650px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px) scale(0.98);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-modal.is-open .cookie-modal__dialog {
    transform: translateY(0) scale(1);
}

.cookie-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-modal__title {
    color: #ffffff;
    font-size: 1.25rem;
    margin: 4px 0 0;
}

.cookie-modal__close {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
    transition: var(--transition);
}

.cookie-modal__close:hover {
    color: #ffffff;
}

.cookie-modal__body {
    padding: 24px 28px;
    overflow-y: auto;
}

.cookie-modal__lead {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cookie-preference-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 14px;
}

.cookie-preference-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-preference-info strong {
    color: #ffffff;
    font-size: 0.95rem;
    display: block;
    margin-bottom: 2px;
}

.cookie-status-always {
    color: #34d399;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cookie-status-optional {
    color: #38bdf8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.cookie-preference-desc {
    color: #cbd5e1;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

/* Switches para Toggle de Cookies */
.cookie-switch-wrap input[type="checkbox"] {
    display: none;
}

.cookie-switch {
    display: inline-block;
    width: 46px;
    height: 24px;
    background: #334155;
    border-radius: 20px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-switch::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: #ffffff;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cookie-switch-wrap input:checked + .cookie-switch {
    background: #0066cc;
}

.cookie-switch-wrap input:checked + .cookie-switch::after {
    transform: translateX(22px);
}

.cookie-switch.is-locked {
    background: #059669 !important;
    cursor: not-allowed;
    opacity: 0.85;
}

.cookie-switch.is-locked::after {
    transform: translateX(22px);
}

.cookie-modal__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 16px;
}

.cookie-modal__more-link {
    color: #38bdf8;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
}

.cookie-modal__buttons {
    display: flex;
    gap: 12px;
}

/* ==========================================================
   RESPONSIVIDAD (MOBILE & TABLET)
   ========================================================== */
@media (max-width: 992px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero__title {
        font-size: 2.6rem;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capabilities-grid, .capabilities-grid--3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .corporate-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .editorial-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .insights-layout {
        grid-template-columns: 1fr;
    }

    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-layout, .contact-layout {
        grid-template-columns: 1fr;
    }

    .legal-layout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-start;
    }

    .cta-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-banner__actions {
        width: 100%;
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: #ffffff;
        padding: 30px 24px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero__title {
        font-size: 2.2rem;
    }

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

    .capabilities-grid, .capabilities-grid--3col {
        grid-template-columns: 1fr;
    }

    .corporate-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .editorial-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

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

    .form-group--full {
        grid-column: span 1;
    }

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

    .faq-layout {
        grid-template-columns: 1fr;
    }

    .faq-intro {
        position: static;
        margin-bottom: 25px;
    }

    .assessment-card {
        padding: 30px 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 1.85rem;
    }

    .assessment-options {
        flex-direction: column;
    }

    .assessment-btn {
        width: 100%;
        text-align: center;
    }
}

/* ==========================================================================
   WIDGET FLOTANTE DE WHATSAPP CON PANEL EJECUTIVO
   ========================================================================== */
.wa-widget {
    position: fixed;
    bottom: 26px;
    right: 26px;
    z-index: 9999;
    font-family: var(--font-sans);
}

/* Disparador Flotante Circular */
.wa-trigger-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.wa-trigger-btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.2s ease;
    outline: none;
}

.wa-trigger-btn:hover {
    background: #20ba5a;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55), 0 4px 10px rgba(0, 0, 0, 0.2);
}

.wa-trigger-btn__pulse {
    display: none;
}

.wa-trigger-btn__badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.wa-trigger-btn .wa-icon-chat {
    display: block;
    transition: transform 0.25s ease;
}

.wa-trigger-btn .wa-icon-close {
    display: none;
    transition: transform 0.25s ease;
}

.wa-widget.is-open .wa-trigger-btn .wa-icon-chat {
    display: none;
}

.wa-widget.is-open .wa-trigger-btn .wa-icon-close {
    display: block;
    transform: rotate(90deg);
}

.wa-widget.is-open .wa-trigger-btn__pulse,
.wa-widget.is-open .wa-trigger-btn__badge,
.wa-widget.is-open .wa-tooltip {
    display: none !important;
}

/* Tooltip Descriptivo */
.wa-tooltip {
    position: absolute;
    right: 76px;
    background: #051c2c;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.12);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-tooltip strong {
    display: block;
    font-size: 0.84rem;
    color: #38bdf8;
    margin-bottom: 2px;
}

.wa-tooltip span {
    display: block;
    font-size: 0.74rem;
    color: #cbd5e1;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent transparent #051c2c;
}

.wa-trigger-wrap:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Panel / Modal Flotante de Chat */
.wa-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    max-width: calc(100vw - 32px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(5, 28, 44, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                visibility 0.3s ease;
}

.wa-widget.is-open .wa-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Cabecera del Panel */
.wa-panel__header {
    background: linear-gradient(135deg, #051c2c 0%, #0c3350 100%);
    color: #ffffff;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #25d366;
}

.wa-panel__avatar-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-panel__avatar {
    width: 44px;
    height: 44px;
    background: #113f63;
    border-radius: 50%;
    border: 2px solid #38bdf8;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    letter-spacing: 0.05em;
}

.wa-panel__status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #25d366;
    border: 2px solid #051c2c;
}

.wa-panel__agent {
    display: flex;
    flex-direction: column;
}

.wa-panel__name {
    font-size: 0.95rem;
    color: #ffffff;
    font-family: var(--font-heading);
}

.wa-panel__role {
    font-size: 0.74rem;
    color: #94a3b8;
}

.wa-online-text {
    color: #34d399;
    font-weight: 600;
}

.wa-panel__close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: #cbd5e1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.wa-panel__close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Cuerpo del Panel */
.wa-panel__body {
    padding: 20px;
    background-color: #f8fafc;
    background-image: radial-gradient(#e2e8f0 0.8px, transparent 0.8px);
    background-size: 14px 14px;
    max-height: 380px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.wa-panel__time {
    align-self: center;
    font-size: 0.7rem;
    color: #94a3b8;
    background: rgba(0, 0, 0, 0.05);
    padding: 3px 10px;
    border-radius: 12px;
}

/* Burbuja de Mensaje */
.wa-bubble {
    background: #ffffff;
    border-radius: 14px 14px 14px 4px;
    padding: 14px 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    max-width: 90%;
    position: relative;
}

.wa-bubble__sender {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0066cc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}

.wa-bubble__text {
    font-size: 0.86rem;
    color: #334155;
    line-height: 1.5;
    margin: 0;
}

.wa-bubble__time {
    display: block;
    text-align: right;
    font-size: 0.68rem;
    color: #94a3b8;
    margin-top: 6px;
}

/* Opciones Rápidas (Chips) */
.wa-quick-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.wa-quick-label {
    font-size: 0.74rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.wa-chip {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wa-chip::after {
    content: '→';
    color: #25d366;
    font-weight: bold;
    font-size: 0.95rem;
}

.wa-chip:hover {
    background: #ecfdf5;
    border-color: #25d366;
    color: #065f46;
    transform: translateX(4px);
}

/* Pie del Panel (Input & Envío) */
.wa-panel__footer {
    padding: 16px 18px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

.wa-panel__input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.wa-panel__input {
    flex-grow: 1;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.86rem;
    outline: none;
    color: #1e293b;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.wa-panel__input:focus {
    border-color: #25d366;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.wa-panel__send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #25d366;
    border: none;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.wa-panel__send-btn:hover {
    background: #128c7e;
    transform: scale(1.06);
}

.wa-panel__security-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

.wa-panel__security-note svg {
    color: #059669;
    flex-shrink: 0;
}

/* Redes Sociales en Footer */
.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}
.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-social-icon:hover {
    background: #0066cc;
    color: #ffffff;
    transform: translateY(-2px);
    border-color: #0066cc;
}

/* Footer Grid Adaptativo con 4 Columnas Refinadas */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-col--brand {
        grid-column: span 1;
    }
    .footer-col--newsletter {
        grid-column: span 2;
    }
}
@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-col--brand,
    .footer-col--newsletter {
        grid-column: span 1;
    }
    .footer-subnav {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .footer-subnav__dot {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ==========================================================================
   SLIDER CORPORATIVO DE MULTIMEDIA Y SOLUCIONES (HOME)
   ========================================================================== */
.corp-slider-section {
    background: linear-gradient(180deg, #020e17 0%, #051c2c 100%);
    padding: 90px 0;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}
.corp-slider-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.18), transparent 60%);
    pointer-events: none;
}
.corp-slider-wrapper {
    position: relative;
    margin-top: 40px;
}
.corp-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.corp-slide-card {
    flex: 0 0 calc(33.333% - 16px);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.corp-slide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.corp-slide-card__media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0a192f;
}
.corp-slide-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.corp-slide-card:hover .corp-slide-card__img {
    transform: scale(1.06);
}
.corp-slide-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(5, 28, 44, 0.85);
    color: #38bdf8;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(56, 189, 248, 0.3);
}
.corp-slide-card__body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.corp-slide-card__title {
    font-size: 1.15rem;
    color: #ffffff;
    font-family: var(--font-heading);
    margin-bottom: 12px;
    line-height: 1.35;
}
.corp-slide-card__desc {
    color: #94a3b8;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 20px;
    flex-grow: 1;
}
.corp-slide-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.corp-slide-card__link {
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}
.corp-slide-card__link:hover {
    gap: 10px;
    color: #7dd3fc;
}

/* Controles del Slider */
.corp-slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 30px;
}
.corp-slider-dots {
    display: flex;
    gap: 8px;
}
.corp-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}
.corp-slider-dot.is-active {
    width: 28px;
    border-radius: 10px;
    background: #38bdf8;
}
.corp-slider-arrows {
    display: flex;
    gap: 12px;
}
.corp-slider-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.corp-slider-arrow:hover {
    background: #0066cc;
    border-color: #0066cc;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .corp-slide-card {
        flex: 0 0 calc(50% - 12px);
    }
}
@media (max-width: 640px) {
    .corp-slide-card {
        flex: 0 0 100%;
    }
}

/* ==========================================================================
   SECCIÓN DE TESTIMONIOS EJECUTIVOS
   ========================================================================== */
.section--testimonials {
    background: #f8fafc;
    padding: 95px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 45px;
}
.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 34px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(5, 28, 44, 0.08);
    border-color: #cbd5e1;
}
.testimonial-card__quote-mark {
    font-size: 3rem;
    line-height: 1;
    color: #0066cc;
    font-family: Georgia, serif;
    opacity: 0.35;
    margin-bottom: 10px;
}
.testimonial-card__text {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    font-style: italic;
    margin-bottom: 24px;
    flex-grow: 1;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}
.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #051c2c;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}
.testimonial-card__info strong {
    display: block;
    font-size: 0.92rem;
    color: #051c2c;
}
.testimonial-card__info small {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

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

