/*
==================================================
CAREERS — CTA / BANCO DE TALENTO (SIDV FRAMEWORK)
Company: Servindustriales del Valle SAS
==================================================
*/

:root {
    --sidv-brand-primary: #025672;
    --sidv-brand-primary-dark: #013f54;
    --sidv-brand-yellow: #f09700;
    --sidv-brand-yellow-hover: #d88700;
    --sidv-dark-navy: #0D2137;
    --sidv-whatsapp-green: #25D366;
    --sidv-whatsapp-hover: #20BA5A;
}

.sidv-careers-cta {
    position: relative;
    padding: 6rem 0 5rem;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    background: 
        radial-gradient(
            circle at 85% 15%,
            rgba(240, 151, 0, 0.15),
            transparent 40%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(2, 86, 114, 0.35),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #0D2137 0%,
            #0B1B2D 50%,
            #025672 100%
        );
    color: #FFFFFF;
}

/*
==================================================
ELIMINACIÓN DE FRANJA BLANCA CON EL FOOTER
==================================================
*/

/* 1. Anular márgenes y bordes en todos los tipos de Footer */
.sidv-careers-cta ~ footer,
.sidv-careers-cta ~ .site-footer,
.sidv-careers-cta ~ .sidv-footer,
.sidv-careers-cta ~ #colophon,
.sidv-careers-cta ~ #footer,
footer,
.site-footer,
.sidv-footer,
#colophon,
#footer {
    margin-top: 0 !important;
    border-top: none !important;
    box-shadow: none !important;
}

/* 2. Neutralizar espaciados inferiores de contenedores nativos de WordPress */
.site-main,
.entry-content,
#primary,
#content,
main {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Decoración ambiental de fondo */
.sidv-careers-cta__glow {
    position: absolute;
    top: -150px;
    right: -100px;
    width: 450px;
    height: 450px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    pointer-events: none;
}

.sidv-careers-cta::after {
    content: "";
    position: absolute;
    bottom: -200px;
    left: -120px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(240, 151, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

/*
==================================================
CONTAINER & INNER LAYOUT
==================================================
*/

.sidv-careers-cta__inner {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 0 auto;
}

/*
==================================================
HEADER & TYPOGRAPHY
==================================================
*/

.sidv-careers-cta__header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto 3.5rem;
}

.sidv-careers-cta__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.2rem;
    border: 1px solid rgba(240, 151, 0, 0.3);
    border-radius: 999px;
    background: rgba(240, 151, 0, 0.12);
    color: #FFC043;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

.sidv-careers-cta__eyebrow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--sidv-brand-yellow);
    box-shadow: 0 0 8px var(--sidv-brand-yellow);
}

.sidv-careers-cta__title {
    margin: 1.5rem 0 1.25rem;
    color: #FFFFFF;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.02em;
}

.sidv-careers-cta__title span {
    color: #F8FAFC;
    opacity: 0.92;
}

.sidv-careers-cta__description {
    max-width: 740px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
    line-height: 1.85;
    font-weight: 400;
}

.sidv-careers-cta__description strong {
    color: #FFFFFF;
    font-weight: 700;
}

/*
==================================================
FEATURES / BADGES DE CONFIANZA
==================================================
*/

.sidv-careers-cta__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3.5rem;
}

.sidv-careers-cta__feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.sidv-careers-cta__feature-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 151, 0, 0.4);
    transform: translateY(-3px);
}

.sidv-careers-cta__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(240, 151, 0, 0.15);
    color: var(--sidv-brand-yellow);
    border: 1px solid rgba(240, 151, 0, 0.25);
}

.sidv-careers-cta__feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.sidv-careers-cta__feature-text strong {
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
}

.sidv-careers-cta__feature-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    line-height: 1.45;
}

/*
==================================================
DUAL ACTIONS
==================================================
*/

.sidv-careers-cta__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

/* Botón Principal (Formulario) */
.sidv-careers-cta__btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 240px;
    padding: 1.1rem 1.8rem;
    border: none;
    border-radius: 14px;
    background: var(--sidv-brand-yellow);
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.sidv-careers-cta__btn-main:hover {
    background: var(--sidv-brand-yellow-hover);
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(240, 151, 0, 0.35);
}

.sidv-careers-cta__btn-main:active {
    transform: translateY(0);
}

.sidv-careers-cta__btn-main svg {
    transition: transform 0.3s ease;
}

.sidv-careers-cta__btn-main:hover svg {
    transform: translateX(4px);
}

/* Botón WhatsApp */
.sidv-careers-cta__btn-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-width: 240px;
    padding: 1.1rem 1.8rem;
    border: 1px solid rgba(37, 211, 102, 0.4);
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.12);
    color: #FFFFFF;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    backdrop-filter: blur(8px);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.sidv-careers-cta__btn-wa svg {
    color: var(--sidv-whatsapp-green);
    transition: transform 0.3s ease;
}

.sidv-careers-cta__btn-wa:hover {
    background: var(--sidv-whatsapp-green);
    border-color: var(--sidv-whatsapp-green);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.3);
}

.sidv-careers-cta__btn-wa:hover svg {
    color: #FFFFFF;
    transform: scale(1.1);
}

.sidv-careers-cta__btn-wa:active {
    transform: translateY(0);
}

/* Visibilidad Desktop */
@media (min-width: 993px) {
    .sidv-desktop-only {
        display: inline;
    }
}

/*
==================================================
RESPONSIVE DESIGN
==================================================
*/

@media (max-width: 992px) {
    .sidv-careers-cta__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .sidv-desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .sidv-careers-cta {
        padding: 4rem 0 4rem;
    }

    .sidv-careers-cta__header {
        margin-bottom: 2.5rem;
    }

    .sidv-careers-cta__features {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 2.5rem;
    }

    .sidv-careers-cta__feature-item {
        padding: 1rem;
    }

    .sidv-careers-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .sidv-careers-cta__btn-main,
    .sidv-careers-cta__btn-wa {
        width: 100%;
        min-width: 0;
    }
}

/* ACCESIBILIDAD — PREFERS REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .sidv-careers-cta *,
    .sidv-careers-cta *::before,
    .sidv-careers-cta *::after {
        animation: none !important;
        transition: none !important;
    }
}