﻿/* ==========================
   Página de Servicio: Búsqueda y Selección a la Medida
   ========================== */

/* HERO */
.hero-reclutamiento {
    background-image: url('/images/Servicios/Para_Empresas/reclutamiento-seleccion-personal-mexico-upskilling.jpg');
    background-size: cover;
    background-position: center 40%;
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

    .hero-reclutamiento .hero-mask {
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-reclutamiento .hero-content {
        position: relative;
        z-index: 1;
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }

    .hero-reclutamiento .hero-textbox {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        align-items: flex-end;
    }

    .hero-reclutamiento .hero-block {
        background: rgba(255, 255, 255, 0.85);
        padding: 0.8rem 1.2rem;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        width: fit-content;
        max-width: 90%;
    }

    .hero-reclutamiento .hero-block-title h1 {
        font-size: 2.2rem;
        font-weight: 900;
        margin: 0;
        color: var(--azul-principal);
    }

    .hero-reclutamiento .hero-block-subtitle h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--azul-principal);
    }

    .hero-reclutamiento .hero-block-desc p {
        font-size: 1rem;
        margin: 0;
        color: var(--gris-oscuro);
        line-height: 1.4;
    }

/* INTRO */
.intro {
    text-align: center;
    padding: 2.5rem 1rem;
}

    .intro p {
        max-width: 850px;
        margin: 0 auto;
        font-size: 1.1rem;
        color: var(--gris-oscuro);
        line-height: 1.6;
    }

        .intro p strong {
            color: var(--azul-principal);
            font-weight: 700;
        }

/* HEADLINE estilo pleca */
.steps-headline {
    display: inline-block;
    background-color: var(--azul-principal);
    color: var(--blanco) !important;
    font-size: 2rem;
    font-weight: 900;
    padding: 0.6rem 1rem;
    margin-bottom: 2rem;
    text-align: left !important;
    max-width: max-content;
}

/* CÓMO FUNCIONA */
.steps {
    padding: 0rem 2rem 3rem;
    background-color: var(--blanco);
}

.steps-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 0.5rem;
    align-items: stretch;
}

.steps h2 {
    grid-column: 1 / -1;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.01rem;
    color: var(--azul-principal);
    text-align: center;
}

.steps-image {
    width: 100%;
    display: flex;
}

    .steps-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
        aspect-ratio: 4 / 3;
    }

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--azul-principal);
    height: 100%;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--azul-principal);
    font-weight: 700;
}

.step-number {
    color: var(--azul-principal);
    font-weight: 900;
    margin-right: .25rem;
}

.step p {
    margin: 0;
    color: var(--gris-oscuro);
    line-height: 1.5;
}

/* SEGMENTOS */
.segments {
    background-color: #f9f9f9;
    padding: 4rem 2rem 5rem;
    position: relative;
}

.segments-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 3rem;
}

.steps-headline {
    background-color: var(--azul-principal);
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    padding: 0.7rem 1.2rem;
    margin: 0;
}

/* grilla 3x2 */
.segments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* tarjetas limpias */
.segment-item {
    background-color: #fff;
    border-top: 4px solid var(--azul-principal);
    padding: 2.5rem 2rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.25s ease;
    font-size: 1.05rem;
}

    .segment-item:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.12);
    }

    /* texto */
    .segment-item h3 {
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--azul-principal);
        margin-bottom: 0.7rem;
    }

    .segment-item p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: var(--gris-oscuro);
    }

/* responsive */
@media (max-width: 992px) {
    .segments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .segments-grid {
        grid-template-columns: 1fr;
    }

    .steps-headline {
        text-align: center;
        font-size: 1.6rem;
    }
}



/* VALOR AGREGADO */
.value {
    background-color: var(--gris-claro);
    padding: 3rem 2rem;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
}

.value-item {
    position: relative;
    padding: 0 1.5rem;
}

    .value-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 15%;
        bottom: 15%;
        right: 0;
        width: 1px;
        background-color: var(--azul-principal);
        opacity: 0.3;
    }

    .value-item h3 {
        font-size: 1.2rem;
        font-weight: 700;
        color: var(--azul-principal);
        margin-bottom: 0.8rem;
    }

    .value-item p {
        font-size: 0.95rem;
        color: var(--gris-oscuro);
        line-height: 1.5;
    }

/* CTA FINAL */
.cta {
    background: url('/images/Servicios/Para_Empresas/banner-reclutamiento-upskilling.jpg') center/cover no-repeat;
    position: relative;
    text-align: center;
    padding: 5rem 2rem;
    color: #fff;
}

    .cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: rgba(0, 77, 167, 0.7);
    }

    .cta .container {
        position: relative;
        z-index: 1;
        max-width: 800px;
        margin: 0 auto;
    }

    .cta h2 {
        margin-bottom: 1rem;
        font-size: 2rem;
        font-weight: 700;
        color: #fff;
    }

    .cta p {
        margin-bottom: 2rem;
        font-size: 1.1rem;
        color: #fff;
    }

.btn-primary {
    display: inline-block;
    background-color: #fff;
    color: var(--azul-principal);
    font-weight: 600;
    padding: 1rem 2.2rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

    .btn-primary:hover {
        background-color: var(--gris-claro);
        color: var(--azul-principal);
    }

/* RESPONSIVE */
@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .segments-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .cta {
        padding: 3rem 1.5rem;
    }

        .cta h2 {
            font-size: 1.5rem;
        }

    .hero-reclutamiento .hero-block-title h1 {
        font-size: 1.8rem;
    }
}


/* ==========================
   Botones CTA (Dual Action)
   ========================== */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Botón WhatsApp Sólido */
.btn-wa-white {
    background-color: #ffffff;
    color: #25D366; /* Verde WhatsApp */
    font-weight: 600;
    padding: 1rem 2.2rem;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

    .btn-wa-white:hover {
        background-color: #25D366;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }

/* Ajuste Mobile */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-wa-white,
    .cta .btn-primary {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.5rem;
    }
}