﻿/* ==========================
   Página de Servicio: Coaching y Apoyo Emocional
   ========================== */

/* Hero */
.hero-coaching {
    background-image: url('/images/Servicios/Para_Profesionales/coaching-transicion-laboral-upskilling-busqueda-empleo.jpg');
    background-size: cover;
    background-position: center 40%;
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

    .hero-coaching .hero-mask {
        position: absolute;
        inset: 0;
        background: rgba(255, 255, 255, 0.1);
    }

    .hero-coaching .hero-content {
        position: relative;
        z-index: 1;
        width: 100%;
        display: flex;
        justify-content: flex-end; /* cajas a la derecha */
    }

    .hero-coaching .hero-textbox {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        align-items: flex-end; /* alinea todo a la derecha */
    }

    .hero-coaching .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; /* ancho según contenido */
        max-width: 90%; /* seguridad en responsive */
    }

    .hero-coaching .hero-block-title h1 {
        font-size: 2.2rem;
        font-weight: 900;
        margin: 0;
        color: var(--azul-principal);
    }

    .hero-coaching .hero-block-subtitle h2 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        color: var(--azul-principal);
    }

    .hero-coaching .hero-block-desc p {
        font-size: 1rem;
        margin: 0;
        color: var(--gris-oscuro);
        line-height: 1.4;
    }



/* Intro */
.intro {
    text-align: center;
    padding: 2rem 1rem;
}

    .intro p {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.1rem;
        color: var(--gris-oscuro);
    }

        /* Resaltado en azul dentro de la intro */
        .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;
    width: auto !important;
    max-width: max-content;
}

/* Steps (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%;
    height: auto; /* altura controlada por contenido */
    display: flex;
}

    .steps-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        max-height: 100%; /* 🔑 asegura que no se extienda más allá */
        aspect-ratio: 4 / 3; /* 🔑 mantiene proporción más cuadrada (puedes ajustar: 16/9, 3/2, etc.) */
    }


.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);
}

@media (max-width: 992px) {
    .steps-container {
        grid-template-columns: 1fr;
    }

    .steps h2 {
        text-align: left;
    }

    .steps-image {
        order: 2;
    }

    .steps-timeline {
        order: 3;
        padding-left: 1.5rem;
        height: auto;
    }
}


/* 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;
}

    /* Divisores azules entre items en desktop */
    .value-item:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 15%; /* aire arriba */
        bottom: 15%; /* aire abajo */
        right: 0;
        width: 1px;
        background-color: var(--azul-principal);
        opacity: 0.3;
    }

/* En móviles: divisor horizontal */
@media (max-width: 768px) {
    .value-item:not(:last-child)::after {
        top: auto;
        bottom: 0;
        left: 15%;
        right: 15%;
        height: 1px;
        width: auto;
    }
}

.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 */
.cta {
    background: url('/images/Servicios/Para_Profesionales/banner-coaching-emocional-coaching-laboral.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;
    }
}

@media (max-width: 768px) {
    .cta {
        padding: 3rem 1.5rem;
    }

        .cta h2 {
            font-size: 1.5rem;
        }
}


/ /* ==========================
                   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);
    }

@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;
    }
}