/* ==================================================
   ME-NUTRE
   SECCIÓN: ¿QUÉ ESTÁS BUSCANDO?
   ================================================== */

.needs-section {
    padding: 90px 0 55px;
    background: #ffffff;
}

.needs-section .container {
    width: min(92%, 1180px);
    margin: 0 auto;
}


/* ENCABEZADO */

.needs-heading {
    max-width: 760px;
    margin-bottom: 46px;
}

.needs-heading .section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    color: #43ACAF;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.needs-heading .section-title {
    margin: 0 0 18px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.08;

    color: #333333;
}

.needs-heading .section-text {
    max-width: 700px;
    margin: 0;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.05rem;
    line-height: 1.8;

    color: #7E6E6F;
}


/* GRID DE CUATRO TARJETAS */

.needs-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px;

    width: 100%;
}


/* TARJETAS */

.need-card {
    position: relative;

    min-width: 0;
    min-height: 365px;

    padding: 32px 28px 28px;

    display: flex !important;
    flex-direction: column;

    background: #F7F8F6 !important;

    border: 1px solid #E8ECE8 !important;
    border-radius: 20px;

    box-shadow:
        0 6px 18px rgba(51, 51, 51, 0.025);

    text-decoration: none;
    color: #333333;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


/* Línea superior de acento */

.need-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #43ACAF,
        #9EC700
    );

    opacity: 0;

    transition: opacity 0.25s ease;
}


.need-card:hover {
    transform: translateY(-7px);

    background: #ffffff !important;

    border-color: rgba(67, 172, 175, 0.35) !important;

    box-shadow:
        0 18px 40px rgba(51, 51, 51, 0.09);
}


.need-card:hover::before {
    opacity: 1;
}


/* ICONOS */

.need-icon {
    width: 56px;
    height: 56px;

    margin-bottom: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 56px;

    border-radius: 16px;
}

.need-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.need-icon-green {
    background: rgba(158, 199, 0, 0.13);
    color: #9EC700;
}


.need-icon-mauve {
    background: rgba(163, 137, 140, 0.14);
    color: #A3898C;
}


.need-icon-teal {
    background: rgba(67, 172, 175, 0.13);
    color: #43ACAF;
}


.need-icon-brown {
    background: rgba(149, 96, 55, 0.12);
    color: #956037;
}


/* CONTENIDO DE TARJETAS */

.need-card h3 {
    min-height: 74px;
    margin: 0 0 14px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 1.34rem;
    font-weight: 600;
    line-height: 1.28;

    color: #333333;
}


.need-card p {
    margin: 0 0 24px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.65;

    color: #7E6E6F;
}


.need-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.86rem;
    font-weight: 600;

    color: #43ACAF;

    transition:
        gap 0.25s ease,
        color 0.25s ease;
}


.need-card:hover .need-link {
    gap: 11px;
    color: #378F92;
}


/* TABLET */

@media (max-width: 1050px) {

    .needs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .need-card {
        min-height: 280px;
    }

}


/* MÓVIL */

@media (max-width: 640px) {

    .needs-section {
        padding: 64px 0 72px;
    }

    .needs-heading {
        margin-bottom: 32px;
    }

    .needs-heading .section-title {
        font-size: 2.4rem;
    }

    .needs-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .need-card {
        min-height: auto;
        padding: 26px 22px;
    }
    .need-card h3 {
    min-height: auto;
    }

}