/* ==========================================================================
   Página Cómo ayudar
   Solo lo específico de esta página; el hero (.page-hero), marcos de imagen,
   tarjetas, botones y encabezados de sección viven en components.css.
   ========================================================================== */

/* ---------- Hero ---------- */
.help-hero__statement {
    max-width: 34rem;
    margin: 0 0 1.25rem;
    color: var(--ink);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.02em;
    text-wrap: balance;
}

.help-hero__lead-next {
    margin-top: 1rem;
}

.help-hero__action {
    margin-top: 2rem;
}

/* ---------- Tu apoyo puede transformar una realidad ---------- */
.help-why__grid {
    --help-media: 22rem;
    display: grid;
    grid-template-columns: var(--help-media) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.help-why__media {
    width: 100%;
    max-width: var(--help-media);
}

.help-why__content {
    max-width: 40rem;
}

.help-why h2 {
    margin: 0 0 1.5rem;
    color: var(--purple-600);
}

.help-why__content p {
    margin: 0 0 1rem;
}

/* Frase de giro del bloque: misma barra lateral que .quote, a menor escala */
.help-why__content .help-why__highlight {
    margin-block: 1.75rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--sky-500);
    color: var(--purple-600);
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.02em;
}

/* ---------- Formas de ser parte ----------
   Cuatro tarjetas visualmente equivalentes: mismo tamaño, fondo, icono y botón.
   Ninguna se destaca sobre las demás. */
.help-ways__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--gap-grid);
}

.help-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.75rem, 3vw, 2.5rem);
}

.help-card__head {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* .card p fija tamaño y margen: se restablece el estilo del eyebrow */
.help-card .eyebrow {
    min-width: 0;
    margin: 0;
    font-size: var(--fs-eyebrow);
    line-height: 1.4;
}

.help-card h3 {
    margin: 0 0 1rem;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    line-height: 1.2;
}

.help-card > p + p {
    margin-top: .85rem;
}

/* Deja el botón anclado abajo, con aire sobre él, aunque el texto de otra tarjeta sea más largo */
.help-card > p:last-of-type {
    margin-bottom: 2rem;
}

.help-card__action {
    align-self: flex-start;
    margin-top: auto;
}

/* ---------- Lo que construimos juntos ----------
   Mosaicos con check: transmiten "red" mejor que una lista larga. */
.help-network .section-heading h2 {
    margin: 0;
}

.help-network__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-grid);
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-network__item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: clamp(1.25rem, 2.2vw, 1.75rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.45;
    transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}

/* Mismo check que .check-list */
.help-network__item::before {
    content: "";
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: var(--sky-500) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 55% no-repeat;
}

.help-network__item:hover {
    border-color: var(--purple-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

/* ---------- Cierre ---------- */
.help-close {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding-block: clamp(5rem, 11vw, 9rem);
}

.help-close__content {
    position: relative;
    z-index: 1;
    max-width: 52rem;
    text-align: center;
}

.help-close h2 {
    margin: 0 0 1.75rem;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
}

/* "Financia acceso a la vida." es el clímax de la página */
.help-close__accent {
    display: block;
    margin-top: .5rem;
    color: var(--sky-200);
    font-size: clamp(2.4rem, 5.8vw, 4.5rem);
}

.help-close p {
    max-width: 38rem;
    margin: 0 auto;
    color: rgb(255 255 255 / .9);
    font-size: var(--fs-lead);
}

.help-close .button {
    margin-top: 2.25rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .help-why__grid {
        grid-template-columns: 1fr;
    }

    /* En una columna, el texto va primero */
    .help-why__media {
        order: 1;
        max-width: 20rem;
    }
}

@media (max-width: 1024px) {
    .help-network__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .help-ways__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .help-network__grid {
        grid-template-columns: 1fr;
    }

    .help-hero__action,
    .help-card__action,
    .help-close .button {
        width: 100%;
    }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    .help-network__item {
        transition: none;
    }

    .help-network__item:hover {
        transform: none;
    }
}
