/* ==================================================
   ME-NUTRE
   PROGRAMAS DESTACADOS
   ================================================== */

.programs-section {
    padding: 96px 0 110px;
    background: #F7F8F6;
}


/* ENCABEZADO */

.programs-heading {
    max-width: 780px;
    margin-bottom: 48px;
}

.programs-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;

    letter-spacing: 0.09em;

    color: #43ACAF;
}

.programs-title {
    margin: 0 0 18px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.7rem, 4vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;

    color: #333333;
}

.programs-intro {
    max-width: 720px;
    margin: 0;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 1.04rem;
    line-height: 1.8;

    color: #7E6E6F;
}


/* GRID */

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}


/* TARJETAS */

.program-card {
    position: relative;

    min-height: 430px;

    padding: 34px 34px 30px;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid rgba(0, 0, 0, 0.055);
    border-radius: 26px;

    box-shadow:
        0 8px 24px rgba(51, 51, 51, 0.035);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.program-card:hover {
    transform: translateY(-6px);

    border-color: rgba(67, 172, 175, 0.22);

    box-shadow:
        0 20px 42px rgba(51, 51, 51, 0.08);
}


/* CABECERA */

.program-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 30px;
}

.program-tag {
    padding: 7px 12px;

    border-radius: 999px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.program-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 1.3rem;
}


/* COLORES POR PROGRAMA */

.program-essential .program-tag,
.program-essential .program-icon {
    background: rgba(158, 199, 0, 0.12);
    color: #8EB500;
}

.program-preventive .program-tag,
.program-preventive .program-icon {
    background: rgba(149, 200, 155, 0.15);
    color: #629F6D;
}

.program-metabolic .program-tag,
.program-metabolic .program-icon {
    background: rgba(67, 172, 175, 0.13);
    color: #43ACAF;
}

.program-woman .program-tag,
.program-woman .program-icon {
    background: rgba(163, 137, 140, 0.14);
    color: #A3898C;
}


/* TEXTO */

.program-card h3 {
    margin: 0 0 8px;

    font-family: "Playfair Display", Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;

    color: #333333;
}

.program-subtitle {
    margin: 0 0 18px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;

    color: #43ACAF;
}

.program-description {
    margin: 0 0 24px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.92rem;
    line-height: 1.72;

    color: #7E6E6F;
}


/* DETALLES */

.program-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 10px 16px;

    margin-bottom: 28px;
}

.program-details span {
    position: relative;

    padding-left: 17px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.82rem;
    line-height: 1.55;

    color: #555555;
}

.program-details span::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0.55em;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #43ACAF;
}


/* CTA */

.program-link {
    margin-top: auto;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.88rem;
    font-weight: 600;

    color: #43ACAF;
}

.program-link:hover {
    color: #378F92;
}


/* BOTÓN FINAL */

.programs-footer {
    margin-top: 36px;

    display: flex;
    justify-content: center;
}

/* ==================================================
   ME-NUTRE 360°
   ================================================== */

.program-360 {
    grid-column: 1 / -1;

    min-height: auto;

    padding: 0;

    background:
        linear-gradient(
            115deg,
            rgba(67, 172, 175, 0.10) 0%,
            rgba(247, 248, 246, 0.98) 48%,
            rgba(163, 137, 140, 0.10) 100%
        );

    border-color: rgba(67, 172, 175, 0.16);

    overflow: hidden;
}

.program-360-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;

    gap: 56px;

    align-items: center;

    padding: 42px;
}


.program-360-copy {
    max-width: 680px;
}


.program-360 .program-card-top {
    margin-bottom: 24px;
}


.program-360 .program-tag,
.program-360 .program-icon {
    background: rgba(126, 110, 111, 0.11);
    color: #7E6E6F;
}


.program-360 h3 {
    max-width: 650px;

    font-size: 2.25rem;
}


.program-360 .program-description {
    max-width: 650px;
}


/* DISCIPLINAS */

.program-360-services {
    display: grid;
    grid-template-columns: 1fr;

    gap: 12px;
}


.program-360-services span {
    position: relative;

    padding: 14px 18px 14px 44px;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(67, 172, 175, 0.10);
    border-radius: 14px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 0.88rem;

    color: #555555;
}


.program-360-services span::before {
    content: "✓";

    position: absolute;

    left: 17px;
    top: 50%;

    transform: translateY(-50%);

    color: #43ACAF;

    font-weight: 700;
}

/* TABLET */

@media (max-width: 960px) {

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .program-card {
        min-height: auto;
    }

    .program-360 {
        grid-column: auto;
    }

    .program-360-content {
        grid-template-columns: 1fr;

        gap: 34px;

        padding: 34px;
    }

}


/* MÓVIL */

@media (max-width: 640px) {

    .programs-section {
        padding: 70px 0 80px;
    }

    .programs-heading {
        margin-bottom: 34px;
    }

    .programs-title {
        font-size: 2.5rem;
    }

    .program-card {
        padding: 28px 24px;
    }

    .program-details {
        grid-template-columns: 1fr;
    }

    .program-card h3 {
        font-size: 1.7rem;
    }

    .program-360 {
        padding: 0;
    }

    .program-360-content {
        padding: 28px 24px;

        gap: 28px;
    }

    .program-360 h3 {
        font-size: 1.85rem;
    }

}