/* ============================================
   Seccion Servicios y Gestiones
   ============================================ */

.ssg-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 16px 0;
}

.ssg-section__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.ssg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 0 32px;
    box-sizing: border-box;
}

/* --- Tarjeta --- */
.ssg-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    border: 1px solid var(--Gray-20, #d9d9d9);
    border-radius: 12px;
    background-color: #F7F7F7;
}

/* --- Fila superior: icono + título --- */
.ssg-card__header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ssg-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background-color: #E7EBED
}

.ssg-card__title {
    margin: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 125%;
}

/* --- Descripción --- */
.ssg-card__description {
    flex: 1;
    margin: 0;
    font-weight: 400;
    font-size: 14px;
    line-height: 125%;
}

/* --- CTA link --- */
.ssg-card__cta {
    display: flex;
    justify-content: flex-end;
    vertical-align: middle;
    align-items: center;
    margin-top: 8px;
    text-decoration: none;
    line-height: 125%;
    font-size: 15px;
    text-decoration: none !important;
}

.ssg-card__cta:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .ssg-grid {
        grid-template-columns: 1fr;
    }
}

/* placeholder to keep replace unique */
.ssg-placeholder-remove {
    width: 100%;
    max-width: 1280px;
    min-height: auto;
    padding: 0 16px;
    gap: 32px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding-top: 5%;
}

.hero-promo-prev__text {
    align-self: center;
}

.hero-promo-prev__description {
    color: var(--Gray-85, #1B1D1F);
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "Open Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 125%;
}

.cont-icons {
    margin-top: 8px;
    margin-bottom: 16px;
}

.hero-promo-prev {
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .hero-promo-prev__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 15% !important;
        padding-bottom: 0;
        overflow: hidden;
    }

    .hero-promo-prev__text {
        width: 100%;
        align-self: auto;
    }

    .hero-promo-prev__media {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }

    .hero-promo-prev__image-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-promo-prev__image {
        width: 100%;
        height: auto;
        display: block;
    }
}

@media (max-width: 830px) {
    .hero-promo-prev__inner {
        align-items: stretch;
        gap: 0;
        padding-top: 8%;
        padding-bottom: 0;
        overflow: hidden;
    }

    .hero-promo-prev__text {
        width: 100%;
        align-self: auto;
    }

    .hero-promo-prev__media {
        display: flex;
        justify-content: center;
        width: 100%;
        overflow: hidden;
    }

    .hero-promo-prev__image-wrap {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .hero-promo-prev__image {
        width: 100%;
        height: auto;
        display: block;
    }
}
