/* ==========================================================
   SECCIÓN 6 — LABOR SOCIAL
   Referencia: wireframe_digital_web_pc_COMPLETA.pdf p.5-6
   ========================================================== */

.ilona-labor {
    position: relative;
    overflow: hidden;
}

/* ── Onda superior (transición desde Servicios menta) ── */
.ilona-labor__wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 4;
    pointer-events: none;
}

.ilona-labor__wave-top svg {
    display: block;
    width: 100%;
}

/* ── Contenedor que envuelve imagen + overlays ── */
.ilona-labor__wrap {
    position: relative;
    width: 100%;
}

/* Imagen real: width 100% height auto = imagen completa, sin recorte */
.ilona-labor__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Overlay oscuro para legibilidad del texto */
.ilona-labor__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 20, 55, 0.65) 0%,
        rgba(6, 20, 55, 0.35) 55%,
        rgba(6, 20, 55, 0.55) 100%
    );
    z-index: 1;
}

/* ── Texto y botón superpuestos (parte superior) ── */
.ilona-labor__content {
    position: absolute;
    z-index: 2;
    top: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.ilona-labor__title {
    font-family: var(--font-cuerpo);
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #ffffff;
    line-height: 1.2;
    margin: 0;
}

.ilona-labor__subtitle {
    font-family: var(--font-cuerpo);
    font-weight: 400;
    font-size: clamp(0.9rem, 1.4vw, 1.05rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    margin: 0;
    max-width: 1080px;
}

.ilona-labor__btn {
    display: inline-block;
    background-color: #FF7300;
    color: #ffffff;
    font-family: var(--font-cuerpo);
    font-weight: 700;
    font-size: 1rem;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 4px;
    transition: background-color 0.3s ease;
}

.ilona-labor__btn:hover {
    background-color: #e06500;
    color: #ffffff;
}

/* ── Contenedor inferior: botón + estadísticas ── */
.ilona-labor__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 48px 28px;
}

/* ── Estadísticas sobre la foto (parte inferior) ── */
.ilona-labor__stats {
    display: flex;
    justify-content: center;
    gap: 265px;
    width: 100%;
}

.ilona-labor__stat {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 16px;
    padding: 20px 28px;
    text-align: center;
    flex: 1;
    max-width: 240px;
}

.ilona-labor__stat-number {
    font-family: var(--font-cuerpo);
    font-weight: 800;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: #000000;
    line-height: 1.1;
    display: block;
}

.ilona-labor__stat-label {
    font-family: var(--font-cuerpo);
    font-weight: 400;
    font-size: clamp(0.78rem, 1.1vw, 0.88rem);
    color: #000000;
    margin-top: 4px;
    display: block;
    line-height: 1.4;
}

/* ==========================================================
   RESPONSIVE MOBILE
   ========================================================== */

@media (max-width: 768px) {
    .ilona-labor__wrap {
        min-height: 620px;
    }

    .ilona-labor__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .ilona-labor__content {
        top: 8%;
        left: 50%;
        transform: translateX(-50%);
        width: 88%;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .ilona-labor__subtitle {
        max-width: 100%;
    }

    .ilona-labor__bottom {
        gap: 14px;
        padding: 0 16px 20px;
    }

    .ilona-labor__stats {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ilona-labor__stat {
        padding: 14px 12px;
        border-radius: 12px;
        min-width: 80px;
    }

    .ilona-labor__stat-number {
        font-size: 1.3rem;
    }

    .ilona-labor__stat-label {
        font-size: 0.72rem;
    }
}
