﻿.apertura-main {
    background-color: #fff;
}

.containerx {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

    .banner-text.bg-white {
        background-color: var(--wwhite);
        min-height: 72px;
        border-radius: 10px;
    }

        .banner-text.bg-white > h2 {
            margin: 0;
            line-height: 72px;
            letter-spacing: -0.02em;
            color: var(--bblack);
            font-size: 30px;
        }

.x-card-img-container
h2 {
    font-size: 30px;
    font-family: "SF Pro Text"; font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--bblack);
}

.grid-bento {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 20px;
}


.grid-bentox .bento .flx {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    width: 100%;
}

.grid-bentox .bento h2 {
    font-family: "SF Pro Text"; font-weight: 600;
    font-size: 35px;
    margin-bottom: 0px;
}

.grid-bentox .bento h3 {
    font-family: "SF Pro Text"; font-weight: 400;
    font-size: 20px;
}

.grid-bentox .bento p {
    font-size: 14px;
}

.grid-bentox .bento .fl {
    margin-left: -10px;
}

.grid-bentox .bento .flximg {
    margin-left: -25px;
}

.apertura-main img {
    margin: auto;
}

.c-bento {
    padding-left: 0;
    padding-right: 0;
}

    .c-bento h3 {
        margin: 0;
    }

.grid-bentox .row {
    margin: 0;
}

.gris {
    background-color: #f1f1f1;
    color: #000;
    padding: 15px;
    border-radius: 10px
}

.negro {
    background-color: black;
    color: white;
    padding: 15px;
    border-radius: 10px;
}

    .negro h2 {
        margin: 0;
        font-size: 30px;
    }

.gris
h2 {
    margin: 0;
    font-size: 30px;
}

.complementa h3 {
    font-size: 25px;
}

.apertura-main.bg-gray-4 {
    background-color: var(--gray4);
}

.apertura-main .banner-hero {
    background-color: var(--wwhite);
    border-radius: 10px;
    padding-top: 32px;
    margin-top: 24px;
}

    .apertura-main .banner-hero > p {
        text-align: center;
        font-family: "SF Pro Text"; font-weight: 700;
        font-size: 58px;
        color: var(--bblack);
        line-height: normal;
        letter-spacing: -0.02em;
    }

    .apertura-main .banner-hero > img {
        display: block;
        height: 100%;
        max-width: 945px;
        max-height: 390px;
        width: 100%;
        margin: 0 auto;
    }

.apertura-main .banner-hero-text {
    background-color: var(--wwhite);
    text-align: center;
    padding: 64px;
    margin-block: 24px;
}

    .apertura-main .banner-hero-text > p {
        color: var(--bblack);
        letter-spacing: -0.02em;
        line-height: normal;
        margin: 0;
    }

    .apertura-main .banner-hero-text > p:nth-child(1) {
        font-size: 58px;
        font-family: "SF Pro Text"; font-weight: 500;
    }

    .apertura-main .banner-hero-text > p:nth-child(2) {
        font-size: 36px;
        font-family: "SF Pro Text"; font-weight: 400;
        margin-top: 16px;
    }

    .apertura-main .banner-hero-text > p:nth-child(3) {
        font-size: 28px;
        font-family: "SF Pro Text"; font-weight: 600;
        margin-top: 32px;
    }

.x-grid-3 {
    margin-block: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
    grid-column-gap: 24px;
    grid-row-gap: 16px;
}

.x-grid-mini-card {
    background-color: var(--wwhite);
    border-radius: 10px;
    padding: 16px 48px;
    min-height: 154px;
}

    .x-grid-mini-card > p {
        text-align: center;
        margin: 0;
        font-size: 18px;
        font-family: "SF Pro Text"; font-weight: 500;
        margin-bottom: 16px;
        max-width: 250px;
        margin-inline: auto;
    }

    .x-grid-mini-card > img {
        display: block;
        max-width: 64px;
        max-height: 64px;
        width: 100%;
        height: 100%;
    }

.x-grid-2 {
    margin-block: 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    column-gap: 24px;
    row-gap: 16px;
    padding-inline: 0;
}

.x-grid-card {
    background-color: var(--wwhite);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    width: 100%;
}

    .x-grid-card > img {
        height: auto;
        max-width: 437px;
        width: 100%;
        margin: 0 auto;
    }

    .x-grid-card > p {
        font-size: 24px;
        margin: 0;
    }

        .x-grid-card > p.title {
            font-family: "SF Pro Text"; font-weight: 500;
            color: var(--bblack);
            margin-top: 8px;
        }

        .x-grid-card > p.subtitle {
            font-family: "SF Pro Text"; font-weight: 400;
        }

    .x-grid-card > a {
        margin-top: 16px;
    }

.x-card {
    width: 100%;
    background-color: var(--wwhite);
    border-radius: 10px;
    padding: 16px 48px;
    margin: 24px 0;
}

.x-card-body {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
}

.x-card-img-container, .x-card-details-container {
    width: 100%;
}

.x-card-details-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    .x-card-img-container > img {
        height: auto;
        max-width: 100%;
        width: 100%;
    }

.x-card-title {
    text-align: center;
    font-size: 36px;
    font-family: "SF Pro Text"; font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    margin-bottom: 16px;
    color: var(--bblack);
}

.x-card-2-columns {
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    justify-content: center;
}

.x-card-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-inline: 24px;
    height: 100%;
}

.x-title-fl {
    font-size: 24px;
    align-self: first baseline;
    font-family: "SF Pro Text"; font-weight: 500;
    color: var(--bblack);
    letter-spacing: -0.02em;
}

.x-text-icon-fl {
    font-size: 16px;
    color: var(--bblack);
    letter-spacing: -0.02em;
    font-family: "SF Pro Text"; font-weight: 500;
    text-wrap: nowrap;
    margin: 0;
}

    .x-text-icon-fl > img {
        display: inline-block;
        width: auto;
        height: 32px;
        margin: 0;
    }

.border-vertical {
    border-right: 2px solid var(--bblack);
}

.x-card-column a {
    margin-top: 24px;
}

.x-card-footer {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--gray2);
}

.x-card-column .x-price {
    margin-top: 24px;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.legacy {
    background-color: var(--wwhite);
}

    .legacy p {
        text-align: justify;
    }

.legacy-icons img {
    display: inline-block;
    margin: 0;
}

.legacy-icons {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

@media (max-width: 834px) {
    .grid-bentox .bento .flx {
        display: block;
    }

    .grid-bentox .bento h2 {
        font-size: 25px;
    }

    .grid-bentox .bento h3 {
        font-size: 15px;
        line-height: normal;
    }
    .grid-bentox .bento p {
        font-size: 9px;
    }
    .container.legacy li {
        font-size: 10px;
    }
}

@media (max-width: 767px) {

    .grid-bento {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .apertura-main .banner-hero > p {
        font-size: 38px;
    }

    .apertura-main .banner-hero-text > p:nth-child(1) {
        font-size: 38px;
    }

    .apertura-main .banner-hero-text > p:nth-child(2) {
        font-size: 26px;
    }

    .apertura-main .banner-hero-text > p:nth-child(3) {
        font-size: 18px;
    }

    .apertura-main .banner-hero-text {
        margin-inline: -15px;
    }

    .apertura-main .banner-hero {
        padding-inline: 16px;
    }

    .banner-text.bg-white > h2 {
        font-size: 24px;
        min-height: unset;
        line-height: normal;
        padding: 16px;
    }

    .banner-text.bg-white {
        min-height: unset;
    }   
}

@media screen and (max-width: 578px) {
    .x-card-2-columns {
        flex-direction: column;
        row-gap: 24px;
    }

    .border-vertical {
        border-right: unset;
        border-bottom: 2px solid var(--bblack);
    }

    .x-card-column {
        padding-bottom: 24px;
    }

    .x-card {
        padding: 16px;
    }

    .x-grid-2 {
        grid-template-columns: 1fr;
    }

    .legacy-icons > img {
        width: 150px;
    }

    .legacy-icons > svg {
        width: 100px;
    }
}

@media screen and (max-width: 1024px) {
    .x-card-body {
        flex-direction: column;
    }

    .x-card-img-container > img {
        display: block;
        max-height: 300px;
        width: auto;
        height: 100%;
    }
}

@media screen and (max-width: 450px) {
    .legacy-icons {
        justify-content: center;
        gap: 16px;
    }
}