/* Inicio: franja "No necesitás saber de webs para tener una" (entre "Sobre mí" y los planes) */
/* Va después de "Sobre mí", que ya deja su espacio abajo */
.why.section-shell {
    padding-top: 0;
}

/* Línea y aire para separarla de "Sobre mí", que tiene el mismo fondo */
.why-head {
    border-top: .08rem solid var(--rule);
    padding-top: clamp(3rem, 5vw, 4.5rem);
}

.why-head h2 {
    max-width: 16ch;
}

.why-head p:not(.eyebrow) {
    color: var(--muted);
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    margin: 1.25rem 0 0;
    max-width: 36rem;
}

.why-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 0;
}

.why-item {
    background: var(--surface);
    border: .08rem solid var(--line);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: .6rem;
    padding: 1.5rem;
}

.why-icon {
    color: var(--blue);
    height: 1.7rem;
    width: 1.7rem;
}

.why-item h3 {
    font-family: "Manrope", sans-serif;
    font-size: 1.15rem;
    margin: .2rem 0 0;
}

.why-item p {
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}

.why-item .text-link {
    align-self: flex-start;
    margin-top: auto;
    padding-top: .4rem;
}

@media (max-width: 52rem) {
    .why-grid {
        grid-template-columns: 1fr;
    }
}


/* Computadora: la franja también ocupa una pantalla completa, con el contenido centrado */
@media (min-width: 52.01rem) {
    .why.section-shell {
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100vh;
        min-height: 100svh;
    }
}

/* Inicio: "Qué te garantizo" (entre los planes y la disponibilidad): cuatro compromisos en tarjetas */
.guarantee-head h2 {
    max-width: 18ch;
}

.guarantee-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 64rem) {
    .guarantee-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 35rem) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }
}

/* Celulares: tarjetas más compactas, con el ícono al lado del título */
@media (max-width: 35rem) {
    .why-item {
        column-gap: .7rem;
        display: grid;
        grid-template-columns: auto 1fr;
        padding: 1.1rem 1.15rem;
        row-gap: .4rem;
    }

    .why-item h3 {
        align-self: center;
        margin: 0;
    }

    .why-item > :not(.why-icon):not(h3) {
        grid-column: 1 / -1;
    }

    .why-icon {
        height: 1.4rem;
        width: 1.4rem;
    }

    .why-grid {
        gap: .75rem;
        margin-top: 1.75rem;
    }
}
