/* =========================================
   1. VARIABLES Y CONFIGURACIÓN BASE
   ========================================= */
html {
    scroll-behavior: smooth;
}

.recruitment-body {
    background-color: var(--brand-navy, #0c2340);
    color: var(--text-main, #ffffff);
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
}

/* =========================================
   2. HEADER Y PROGRESO DE SCROLL
   ========================================= */
.recruitment-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: none;
    padding-top: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.recruitment-header.scrolled {
    padding-top: 0;
    background: rgba(12, 35, 64, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem 1.5rem;
}

.brand-logo {
    height: 45px;
    width: auto;
    opacity: 0;
    /* Oculto mientras el Hero está visible */
    transform: translateY(-10px);
    transition: all 0.4s ease;
    pointer-events: none;
}

.recruitment-header.scrolled .brand-logo {
    opacity: 1;
    /* Aparece al hacer scroll */
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-progress-bar {
    height: 3px;
    background: var(--primary, #fdc400);
    width: 0%;
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width 0.1s ease-out;
}

/* =========================================
   3. TIPOGRAFÍA Y UTILIDADES
   ========================================= */
.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--text-main, #ffffff);
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.text-center {
    text-align: center;
}

/* =========================================
   4. SECCIÓN HERO (CENTRAL MASIVO)
   ========================================= */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    /* Centrado Vertical Absoluto */
    justify-content: center;
    /* Centrado Horizontal Absoluto */
    position: relative;
    padding: 6rem 1.5rem 2rem 1.5rem;
    background-color: var(--brand-navy, #0c2340);
    overflow: hidden;
}

/* Glow de fondo */
.hero-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(253, 196, 0, 0.12) 0%, rgba(12, 35, 64, 0) 70%);
    filter: blur(100px);
    pointer-events: none;
    z-index: 1;
}

/* Contenedor Maestro Centrado */
.hero-centered-layout {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    /* ANULACIÓN DE GAP: Quitamos la separación base para poder superponer */
}

/* Titular Masivo en Imagen */
.hero-title-giant {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-title-img {
    width: clamp(320px, 80vw, 1100px);
    /* TAMAÑO GIGANTE adaptativo */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.4));
}

/* Texto Complementario Inferior (Forzado hacia arriba) */
.hero-subtitle-wrapper {
    max-width: 750px;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* MÁRGEN NEGATIVO EXTREMO: Absorbe la transparencia del WebP y sube el texto */
    margin-top: clamp(-8rem, -8vw, -4rem);
    position: relative;
    z-index: 4;
    /* Garantiza que el texto quede por encima de la caja invisible de la imagen */
}

.hero-subtitle-centered {
    font-family: 'Gotham', 'Inter', sans-serif;
    /* Transición a tipografía premium */
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 300;
    /* Peso ligero y estilizado (Light/Book) */
    line-height: 1.8;
    /* Mayor respiración editorial */
    letter-spacing: 0.01em;
    /* Tracking sutil para elegancia */

    /* MEJORA INYECTADA: Baño de luz tipo degradado metálico */
    background-image: linear-gradient(to bottom, #ffffff 20%, rgba(255, 255, 255, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    margin: 0 0 2.5rem 0;
    text-align: center;
    text-wrap: balance;
    /* Mantiene la simetría perfecta tipo pirámide */
}

.hero-editorial-actions {
    display: flex;
    justify-content: center;
}

/* =========================================
   5. SECCIONES INTERMEDIAS (ALTA GAMA UX/UI)
   ========================================= */

/* --- 5.1 TRUST SIGNALS (AWWWARDS OUTLINE) --- */
.trust-outline-section {
    padding: 10rem 1.5rem;
    background-color: var(--brand-navy, #0c2340);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-header-minimal {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 4rem;
    max-width: 1250px;
    margin: 0 auto 6rem auto;
}

.trust-main-title {
    font-family: 'Gotham', 'Inter', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    color: #ffffff;
    letter-spacing: -0.03em;
    margin: 0;
}

.text-primary-accent {
    color: var(--primary, #fdc400);
}

.trust-subtitle {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 450px;
    margin: 0;
    text-wrap: balance;
}

/* Grid Editorial Minimalista */
.trust-outline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1250px;
    margin: 0 auto;
}

.trust-stat-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;

    /* ESCUDO ANTI-SUPERPOSICIÓN MATEMÁTICO */
    gap: 1.5rem;

    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: border-color 0.4s ease;
}

.trust-stat-item:hover {
    border-top-color: var(--primary, #fdc400);
}

/* Tipografía de Número (Outline / Hueca) */
.trust-stat-number {
    font-family: 'Gotham', 'Inter', sans-serif;
    font-size: clamp(4.5rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    /* Previene colapso de la caja fuente */
    letter-spacing: -0.02em;

    /* Estilo Outline Awwwards */
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);

    margin: 0;
    transition: color 0.4s ease, -webkit-text-stroke 0.4s ease, transform 0.4s cubic-bezier(0.25, 1, 0.25, 1);
    will-change: transform;
}

/* Efecto Fill al pasar el ratón */
.trust-stat-item:hover .trust-stat-number {
    color: var(--primary, #fdc400);
    -webkit-text-stroke: 1.5px var(--primary, #fdc400);
    transform: scale(1.05) translateY(-5px);
}

/* Micro-Tipografía (Alto Contraste Editorial) */
.trust-stat-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    /* Tamaño muy pequeño */
    font-weight: 500;
    text-transform: uppercase;
    /* Mayúsculas obligatorias */
    letter-spacing: 0.15em;
    /* Espaciado extremo entre letras */
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin: 0;
}

/* Adaptación Móvil */
@media (max-width: 992px) {
    .trust-header-minimal {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .trust-outline-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .trust-stat-item {
        padding-top: 2rem;
    }

    /* En móvil lo dejamos sólido para mejor legibilidad rápida */
    .trust-stat-number {
        color: var(--primary, #fdc400);
        -webkit-text-stroke: 0;
    }
}

/* --- 5.2 DIRECTOR SECTION (Layout Asimétrico) --- */
.director-section {
    padding: 8rem 1.5rem;
    background-color: var(--brand-navy, #0c2340);
    position: relative;
}

.director-grid-aesthetic {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
}

.director-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.director-quote {
    font-family: 'Gotham', 'Inter', sans-serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0 0 1.5rem 0;
}

.director-quote span {
    color: var(--primary, #fdc400);
}

.director-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 300;
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    padding-left: 1.5rem;
}

/* --- 5.3 PERFILES ESTRATÉGICOS (Glassmorphism) --- */
.profiles-section {
    padding: 6rem 1.5rem 10rem 1.5rem;
    background-color: var(--brand-navy, #0c2340);
}

.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 1250px;
    margin: 0 auto;
}

.profile-card {
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.profile-card--dark {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(10px);
}

.profile-card--dark:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.profile-card--light {
    background: linear-gradient(145deg, rgba(253, 196, 0, 0.08) 0%, rgba(253, 196, 0, 0.01) 100%);
    border-color: rgba(253, 196, 0, 0.2);
}

.profile-card--light:hover {
    border-color: rgba(253, 196, 0, 0.4);
}

.profile-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary, #fdc400);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
}

.profile-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}

.profile-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-features li {
    font-size: 0.95rem;
    color: var(--text-main, #ffffff);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* --- 5.4 MODAL Y COMPONENTES DE VIDEO --- */
.video-facade {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #050f1a;
    background-image: linear-gradient(to bottom, rgba(12, 35, 64, 0.1), rgba(0, 0, 0, 0.6));
    border-radius: 1.25rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.video-facade:hover {
    border-color: var(--primary, #fdc400);
    box-shadow: 0 20px 50px rgba(253, 196, 0, 0.15);
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary, #fdc400);
    border: none;
    border-radius: 50%;
    color: var(--brand-navy, #0c2340);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 6px;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 0 rgba(253, 196, 0, 0.7);
    animation: pulsePlay 2s infinite;
}

.video-facade:hover .play-btn {
    transform: scale(1.15);
    animation: none;
}

.video-facade--small {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.play-btn--small {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
}

@keyframes pulsePlay {
    0% {
        box-shadow: 0 0 0 0 rgba(253, 196, 0, 0.5);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(253, 196, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(253, 196, 0, 0);
    }
}

/* Modificación de Modal Global */
.video-modal-premium {
    border: none;
    background: transparent;
    padding: 0;
    max-width: 1000px;
    width: 90%;
    overflow: visible;
}

.video-modal-premium::backdrop {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
}

.video-modal-content {
    position: relative;
    width: 100%;
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    background: #000;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.close-modal-btn {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal-btn:hover {
    color: var(--primary, #fdc400);
}

/* Adaptación Móvil */
@media (max-width: 992px) {
    .director-grid-aesthetic {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .director-info {
        align-items: center;
        text-align: center;
    }

    .director-text {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 0;
        padding-top: 1.5rem;
    }
}

/* =========================================
   6. SECCIÓN FAQ PREMIUM (RECUADROS ALTA GAMA)
   ========================================= */
.faq-premium-section {
    padding: 10rem 1.5rem;
    background-color: var(--brand-navy, #0c2340);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-grid-aesthetic {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.faq-tag {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.faq-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.faq-desc {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.15rem;
    line-height: 1.7;
}

.faq-desc a {
    color: var(--primary, #fdc400);
    text-decoration: none;
    border-bottom: 1px solid rgba(253, 196, 0, 0.3);
    padding-bottom: 2px;
    transition: border-color 0.3s ease;
}

.faq-desc a:hover {
    border-color: var(--primary, #fdc400);
}

/* Contenedor de los Recuadros */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Diseño del Recuadro (Tarjeta) */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--primary, #fdc400);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Pregunta (Área Clicable) */
.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary, #fdc400);
    padding-bottom: 1rem;
}

/* Icono "Plus" Refinado */
.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 2rem;
    pointer-events: none;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: rgba(255, 255, 255, 0.7);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.25, 1), background-color 0.3s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
}

.faq-item:hover .faq-icon::before,
.faq-item:hover .faq-icon::after {
    background-color: #ffffff;
}

/* Animación a "Minus" al activar */
.faq-item.active .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-icon::before {
    background-color: var(--primary, #fdc400);
}

/* Contenedor de la Respuesta */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 1, 0.25, 1);
}

.faq-answer p {
    padding: 0 2.5rem 2.5rem 2.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
    font-weight: 300;
}

/* =========================================
   7. SECCIÓN CONTACTO Y FORMULARIO (ALTA GAMA)
   ========================================= */
.contact-premium-section {
    padding: 10rem 1.5rem;
    background-color: var(--brand-navy, #0c2340);
    position: relative;
    overflow: hidden;
}

.contact-premium-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
}

.contact-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.contact-huge-title {
    font-size: clamp(4rem, 7.5vw, 7.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    line-height: 0.9;
    text-transform: uppercase;
    will-change: transform;
}

/* Dock Redes Glassmorphism */
.social-glass-dock {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    width: max-content;
}

.dock-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.25, 1);
    opacity: 0.7;
}

.dock-icon:hover {
    transform: translateY(-6px) scale(1.1);
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.dock-icon.fb-icon:hover {
    background: #1877F2;
}

.dock-icon.ig-icon:hover {
    background: #E1306C;
}

.dock-icon.tk-icon:hover {
    background: #000000;
}

/* Tarjeta de Formulario Glass */
.contact-form-col {
    z-index: 2;
}

.contact-form-glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 3.5rem 3rem;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.aesthetic-form {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    width: 100%;
}

.floating-group {
    position: relative;
    width: 100%;
}

/* Micro-interacción: Línea Expansiva */
.floating-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary, #fdc400);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.25, 1);
    pointer-events: none;
}

.floating-group:focus-within::after {
    transform: scaleX(1);
}

.floating-group input,
.floating-group select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.15rem;
    padding: 1rem 0;
    outline: none;
    caret-color: var(--primary, #fdc400);
    cursor: text;
}

.floating-group select {
    cursor: pointer;
    appearance: none;
    padding-right: 20px;
}

.floating-group select option {
    background: var(--brand-navy, #0c2340);
    color: #ffffff;
}

.floating-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-group input:focus~label,
.floating-group input:not(:placeholder-shown)~label,
.floating-group select:focus~label,
.floating-group select:valid~label {
    top: -1.2rem;
    font-size: 0.8rem;
    color: var(--primary, #fdc400);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.floating-group input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 50px rgba(12, 35, 64, 0.5) inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Botones Cápsula */
.form-actions-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
    margin-top: 1rem;
}

.btn-primary-capsule,
.btn-wa-capsule {
    padding: 16px 36px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary-capsule {
    background: #ffffff;
    color: var(--brand-navy, #0c2340);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary-capsule:hover {
    background: var(--primary, #fdc400);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(253, 196, 0, 0.3);
}

.btn-wa-capsule {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-wa-capsule:hover {
    background: #25D366;
    border-color: #25D366;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3);
}

/* =========================================
   8. CURSOR PERSONALIZADO (GSAP)
   ========================================= */
@media (hover: hover) and (pointer: fine) {

    body,
    a,
    button,
    input,
    select,
    .video-facade,
    .dock-icon {
        cursor: none !important;
    }
}

.custom-cursor-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999999;
    pointer-events: none;
    display: flex;
    align-items: center;
    will-change: transform;
}

.cursor-arrow {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.25));
    transform-origin: top left;
}

.cursor-arrow svg {
    width: 100%;
    height: 100%;
}

.cursor-pill {
    background: rgba(12, 35, 64, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0;
    border-radius: 50px;
    margin-left: 12px;
    opacity: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (hover: none) {
    .custom-cursor-wrapper {
        display: none !important;
    }
}

/* =========================================
   9. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .director-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .faq-grid-aesthetic {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-sidebar {
        position: static;
        top: auto;
    }

    .contact-premium-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .contact-form-glass-card {
        padding: 2.5rem 1.5rem;
    }

    .social-glass-dock {
        margin: 0 auto;
    }

    .form-actions-row {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .btn-primary-capsule,
    .btn-wa-capsule {
        width: 100%;
    }

    .contact-huge-title {
        font-size: 3.5rem;
        margin-bottom: 2rem;
    }
}

/* =========================================
   FORMULARIO - CURSOR NATIVO PARA USABILIDAD
========================================= */
@media (hover: hover) and (pointer: fine) {

    #recruitment-form input[type="text"],
    #recruitment-form input[type="tel"] {
        cursor: text !important;
    }

    #recruitment-form input[type="checkbox"],
    #recruitment-form .data-consent,
    #recruitment-form .data-consent label,
    #recruitment-form .data-consent span,
    #recruitment-form .data-consent a,
    #recruitment-form button,
    #recruitment-form .btn-wa-capsule {
        cursor: pointer !important;
    }
}

/* Controles y pie exclusivos del contexto corporativo compartido. */
.form-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.form-status {
    padding: .9rem 1rem;
    border: 1px solid currentColor;
    border-radius: .75rem;
    font-size: .9rem;
    line-height: 1.5;
}

.form-status span { display: block; }
.form-status.is-success { color: #7ee2a8; }
.form-status.is-error { color: #ffb4ab; }

.floating-group--select {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.floating-group--select label {
    position: static !important;
    color: rgba(255, 255, 255, .72) !important;
    font-size: .78rem !important;
    pointer-events: auto !important;
}

.floating-group--select select {
    width: 100%;
    padding: .9rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
    background: #101d37;
    color: #fff;
    font: inherit;
}

.corporate-recruitment-footer {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    background: #071326;
    color: rgba(255, 255, 255, .72);
}

.corporate-recruitment-footer__inner,
.corporate-recruitment-footer nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.corporate-recruitment-footer a { color: inherit; }

@media (max-width: 768px) {
    .corporate-recruitment-footer__inner,
    .corporate-recruitment-footer nav {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-section {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .hero-centered-layout,
    .hero-title-giant,
    .hero-subtitle-wrapper {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .hero-title-img {
        width: 100%;
        max-width: 100%;
    }

    .hero-subtitle-centered {
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}
