﻿/* =========================================================
   PYA - SECCIÓN 4: ¿POR QUÉ ELEGIRNOS?
   El espacio visual está preparado para una futura imagen.
   ========================================================= */

.pya-elegirnos,
.pya-elegirnos * {
    box-sizing: border-box;
}

.pya-elegirnos {
    width: 100%;
    padding: 64px 24px;
    background: #ffffff;
    color: #153d70;
}

.pya-elegirnos__contenedor {
    width: min(1170px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
    gap: 48px;
    align-items: center;
}

.pya-elegirnos__contenido {
    min-width: 0;
}

.pya-elegirnos__etiqueta {
    margin: 0 0 10px;
    color: #159bd0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pya-elegirnos__titulo {
    margin: 0 0 28px;
    color: #153d70;
    font-size: clamp(27px, 3vw, 34px);
    line-height: 1.15;
    font-weight: 700;
}

.pya-elegirnos__valores {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.pya-elegirnos__valor {
    text-align: center;
    min-width: 0;
}

.pya-elegirnos__icono {
    min-height: 48px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #153d70;
    font-size: 32px;
}

.pya-elegirnos__nombre {
    margin: 0 0 8px;
    color: #153d70;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.pya-elegirnos__descripcion {
    margin: 0;
    color: #777777;
    font-size: 11px;
    line-height: 1.55;
}

.pya-elegirnos__imagen {
    width: 100%;
    min-height: 280px;
    aspect-ratio: 1 / 1;
    background-color: #19a8dc;
    background-image: var(--pya-elegirnos-imagen, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive */
@media (max-width: 900px) {
    .pya-elegirnos__contenedor {
        grid-template-columns: 1fr 0.8fr;
        gap: 28px;
    }

    .pya-elegirnos__valores {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 24px;
    }
}

@media (max-width: 640px) {
    .pya-elegirnos {
        padding: 44px 20px;
    }

    .pya-elegirnos__contenedor {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pya-elegirnos__imagen {
        min-height: 240px;
        aspect-ratio: 4 / 3;
    }
}
