/* ===== others/reset.css ===== */
html {
    font-size: 1px;
}
body {
    margin: 0;
    font-size: 16rem;
}

* {
    position: relative;
    box-sizing: border-box;
    interpolate-size: allow-keywords;
    font-family: var(--mainFontFamily);
    color: inherit;
}

figure {
    margin: 0;
}

:where(:root) {
    --h1Clamp: clamp(32px, 4vw, 48px);
    --h2Clamp: clamp(28px, 3.5vw, 40px);
    --h3Clamp: clamp(24px, 3vw, 34px);
    --h4Clamp: clamp(20px, 2.5vw, 28px);
    --h5Clamp: clamp(18px, 2vw, 22px);
    --h6Clamp: clamp(16px, 1.5vw, 18px);

    --pClamp: clamp(16px, 1.2vw, 18px);
}

:where(picture) {
    height: 100%;
    width: 100%;
    display: flex;
}
:where(p) {
    margin: 0;
    margin-bottom: 16px;
}

:where(a) {
    text-decoration: none;
}
:where(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}
:where(.row) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
:where(.col-50) {
    flex: 1 1 300px;
    
}

.js-clone,
.-hidden {
    display: none;
}


/* ESTABLECEMOS UNAS FUENTES CON SENTIDO PARA QUE NO HAYAN COSAS RARAS EN LOS BLOGS */

.-ckEditorContent :where(h1, h2, h3, h4, h5, h6) {
    line-height: 1.2;
    margin-top: 24px;
    margin-bottom: 8px;
}
.-ckEditorContent :where(h1, h2, h3, h4, h5, h6,p) {
    width: 100%;
    max-width: 100%;
}

.-ckEditorContent :where(h1) {
    font-size: var(--h1Clamp);
}
.-ckEditorContent :where(h2) {
    font-size: var(--h2Clamp);
}
.-ckEditorContent :where(h3) {
    font-size: var(--h3Clamp);
}
.-ckEditorContent :where(h4) {
    font-size: var(--h4Clamp);
}
.-ckEditorContent :where(h5) {
    font-size: var(--h5Clamp);
}
.-ckEditorContent :where(h6) {
    font-size: var(--h6Clamp);
}
.-ckEditorContent :where(p) {
    font-size: var(--pClamp);
}
.-ckEditorContent :where(img) {
    width: 100%;
}


/* ===== actions/buttons.css ===== */
button.-disabled {
    cursor: not-allowed;
    opacity: 0.5;
} 

/* ===== template/page.css ===== */
:where(main) {
    display: flex;
    flex-direction: column;
    align-items: center;
}

:where(.m-pageHeader) {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-bottom: 8px solid #0a432c;
}
:where(.m-pageHeader__wrap) {
    display: flex;
    flex-direction: row;
    min-height: 30dvw;
    width: 100%;
    flex: 1;
    align-items: flex-end;
    align-self: center;
    max-width: var(--maxWidthWrap, 1745px) ;
}

:where(.m-pageHeader__imgContainer) {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    height: 100%;
    width: 100%;
    max-width: 60dvw;
    justify-content: flex-end;
    z-index: -1;
}
:where(.m-pageHeader__picture) {
    display: flex;
    height: 100%;
    width: 100%;
}
:where(.m-pageHeader__img) {
    display: flex;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
:where(.m-pageHeader__overlay) {
    position: absolute;
    display: flex;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #d8ded3 0%, rgba(216, 222, 211, 0) 100%);
}

/* ===== template/contact.css ===== */
:where(.p-contact){
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
    padding: 64px 16px 148px 16px;
}

:where(.m-contactData, .m-contactHeader, .m-contactMap) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px;
}
:where(.m-contactHeader__wrap) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 124px;
    max-width: var(--maxWidthWrap);
    width: 100%;
    align-items: stretch;
}

:where(.m-contactHeader__textContainer) {
    display: flex;
    flex-direction: column;
    flex: 1.5 0 300px;
    gap: 32px;
}


:where(.m-contactHeader__imgContainer) {
    flex: 1 0 300px;
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 100px;
}

:where(.m-contactHeader__img) {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

:where(.m-contactData__wrap) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 48px 80px;
    max-width: var(--maxWidthWrap);
    width: 100%;
}

:where(.m-contactData__item) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    flex: 1;
}
:where(.m-contactData__header) {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
:where(.m-contactData__title) {
    display: flex;
    font-size: 20px;
    letter-spacing: -1px;
}
:where(.m-contactData__subtitle) {
    display: flex;
    font-size: 14px;
    opacity: 0.7;
}
:where(.m-contactData__text) {
    display: flex;
    font-size: 14px;
    text-decoration: underline;
    font-weight: 500;
}
:where(.m-contactData__contentIcons){
    display: flex;
    flex-direction: row;
    gap: 16px;
}
:where(.m-contactData__rrssItem){
    display: flex;
    aspect-ratio: 1;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    padding: 8px;
    background-color: #121212;
    color: white;
    transition: all ease-in-out 0.3s;
}
:where(.m-contactData__rrssItem:hover){
    transform: translateY(-2px);
}
:where(.m-contactData__rrssItem svg){
    --size: 16px;
    width: var(--size);
    height: var(--size);
}
:where(.m-contactMap__wrap) {
    display: flex;
    flex-direction: row;
    gap: 32px;
    max-width: var(--maxWidthWrap);
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
}
:where(.m-contactMap__wrap iframe) {
    width: 100% !important;
    height: 100% !important;
    min-height: 400px;
}


/* ===== template/blog.css ===== */
/* #region ----------------------------- Blog Categoría -- */

:where(.p-blogItem),
:where(.p-blogCategory){
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    width: 100%;
    padding: 64px 16px 148px 16px;
}

:where(.m-blogHeader),
:where(.m-blogList) {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

:where(.m-blogHeader__wrap){
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--maxWidthWrap);
}
:where(.m-blogHeader__content){
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
:where(.m-blogHeader__title){
    font-size: 42px;
    text-align: center;
    text-wrap-style: balance;
    letter-spacing: -0.5px;
}
:where(.m-blogHeader__subtitle){
    max-width: 700rem;
    text-align: center;
    text-wrap-style: balance;
}

/* #region ----------------------------- listado -- */

:where(.m-blogList__wrap){
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: var(--maxWidthWrap);
    gap: 48px 80px ;
}

:where(.m-blogItem) {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all ease-in-out 0.3s;
}
:where(.m-blogItem:hover) {
    transform: translateY(-3px);
}

:where(.m-blogItem__img) {
    aspect-ratio: 2 / 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
:where(.m-blogItem__textContainer) {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 4px;
}
:where(.m-blogItem__header) {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
:where(.m-blogItem__extraData) {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 48px;
}
:where(.m-blogItem__title) {
    font-size: 20px;
    line-height: 24px;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
:where(.m-blogItem__resume) {
    font-size: 16px;
    line-height: 20px;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 400;
}
:where(.m-blogItem__date) {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #6B6B6B;
}
:where(.m-blogItem__ico) {
    --size: 24px;
    width: var(--size);
    height: var(--size);
    color: #6B6B6B;
}
:where(.m-blogItem__tag) {
    display: flex;
    flex-direction: row;
    padding: 2px 4px;
    font-size: 12px;
    background-color: #121212;
    color: white;
}

    @media (max-width: 720px) {
    :where(.m-blogList__wrap){
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: var(--maxWidthWrap);
        gap: 16px ;
    }
    }
/* #endregion listado */


/* #endregion Blog Categoría */


/* #region ----------------------------- Blog Item -- */

:where(.m-blogItem__wrap){
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    max-width: var(--maxWidthWrap);
    padding: 0 16px;
    gap: 32px;
}

:where(.m-blogItemHeader){
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    text-wrap-style: balance;
    padding-bottom: 24px ;
    border-bottom: 1px solid #12121225;
}

:where(.p-blogItem .o-slider){
    display: flex;
    align-items: center;
    justify-content: center;
}
:where(.p-blogItem .o-slider__wrap){
    display: flex;
    width: 100%;
    max-width: 700rem;
    aspect-ratio: 16/9;
}
:where(.p-blogItem .o-slider .o-slider__img){
    width: 100%;
    height: 100%;
    object-fit: cover;
}
:where(.o-blogItem__contentGroup){
    width: 100%;
    height: 100%;
    max-width: 750px;
    gap: 64px;
}


/* #endregion Blog Item */

/* ===== template/error.css ===== */
.m-genericErrorPage {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 32px var(--pagePadding) var(--gapGeneric);
}

.m-genericErrorPage__wrap {
    width: 100%;
    max-width: var(--maxWidthWrap);
}

.m-genericErrorPage__panel {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    min-height: min(72dvh, 720px);
    padding: clamp(24px, 3vw, 40px);
    border: 1px solid rgba(18, 18, 18, 0.08);
    border-radius: 32px;
    background:
        radial-gradient(
            circle at top left,
            rgba(84, 143, 15, 0.16) 0%,
            rgba(84, 143, 15, 0) 32%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(10, 67, 44, 0.14) 0%,
            rgba(10, 67, 44, 0) 34%
        ),
        linear-gradient(
            145deg,
            rgba(250, 251, 247, 0.97) 0%,
            rgba(234, 238, 228, 0.92) 100%
        );
    box-shadow: 0 24px 80px rgba(18, 18, 18, 0.08);
    backdrop-filter: blur(12px);
    isolation: isolate;
}

.m-genericErrorPage__panel::before,
.m-genericErrorPage__panel::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    z-index: -1;
}

.m-genericErrorPage__panel::before {
    top: -120px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(255, 255, 255, 0.52);
    filter: blur(8px);
}

.m-genericErrorPage__panel::after {
    bottom: -100px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: rgba(84, 143, 15, 0.12);
    filter: blur(12px);
}

.m-genericErrorPage__content,
.m-genericErrorPage__status {
    display: flex;
    flex-direction: column;
}

.m-genericErrorPage__content {
    justify-content: space-between;
    gap: 40px;
}

.m-genericErrorPage__header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 640px;
}

.m-genericErrorPage__eyebrow,
.m-genericErrorPage__site {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 36px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(18, 18, 18, 0.08);
    background: rgba(255, 255, 255, 0.58);
    color: #31451f;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.m-genericErrorPage__title {
    margin: 0;
    color: #121212;
    font-size: clamp(36px, 5vw, 72px);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.04em;
    text-wrap-style: balance;
    max-width: 10ch;
}

.m-genericErrorPage__description,
.m-genericErrorPage__hint {
    max-width: 620px;
    color: rgba(18, 18, 18, 0.68);
    font-size: clamp(16px, 1.4vw, 18px);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: -0.02em;
}

.m-genericErrorPage__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.m-genericErrorPage__actions .a-button {
    min-height: 48px;
    padding-inline: 20px;
}

.m-genericErrorPage__status {
    justify-content: space-between;
    align-items: flex-end;
    min-width: 180px;
    gap: 20px;
    text-align: right;
}

.m-genericErrorPage__code {
    margin: 0;
    color: rgba(18, 18, 18, 0.16);
    font-size: clamp(92px, 18vw, 180px);
    font-weight: 700;
    line-height: 0.82;
    letter-spacing: -0.08em;
}

.m-genericErrorPage__line {
    width: min(180px, 100%);
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(18, 18, 18, 0) 0%,
        rgba(18, 18, 18, 0.22) 100%
    );
}

@media (max-width: 900px) {
    .m-genericErrorPage__panel {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .m-genericErrorPage__status {
        align-items: flex-start;
        text-align: left;
    }

    .m-genericErrorPage__line {
        background: linear-gradient(
            90deg,
            rgba(18, 18, 18, 0.22) 0%,
            rgba(18, 18, 18, 0) 100%
        );
    }
}

@media (max-width: 720px) {
    .m-genericErrorPage {
        padding-top: 8px;
    }

    .m-genericErrorPage__panel {
        border-radius: 24px;
        padding: 22px 20px;
    }

    .m-genericErrorPage__content {
        gap: 28px;
    }

    .m-genericErrorPage__title {
        max-width: none;
    }

    .m-genericErrorPage__actions,
    .m-genericErrorPage__actions .a-button {
        width: 100%;
    }
}


/* ===== layout/nav.css ===== */
.o-mainHeader {
    /* Mega Menú */
    --titleCategoryIcon: 24px;

    position: fixed;
    width: 100%;
    padding: 16px;
    z-index: 2;
}

@scope (.o-mainHeader) {
    /* region [ lvl 1 ] ----------------------------- NAV -- */

    :where(.-center) {
        align-items: center;
        justify-content: center;
    }

    :where(*) {
        transition: all ease-in-out 0.2s;
    }

    :where(button) {
        border: unset;
        background-color: unset;
        font-size: unset;
        padding: unset;
    }

    :where(.m-navItem) {
        display: flex;
        flex-direction: column;
    }

    :where(.m-navItem__container) {
        display: flex;
        flex-direction: row;
        cursor: pointer;
        align-items: center;
        gap: 8px;
    }

    :where(.a-navItem__toggle) {
        display: flex;
        flex-direction: row;
        cursor: pointer;
        align-items: center;
        justify-content: center;
    }

    :where(.m-mainNav__logo) {
        flex: 1;
        flex-shrink: 0;
        display: flex;
        flex-direction: row;
        user-select: none;
    }
    :where(.m-mainNavLogo__image) {
        max-height: 40px;
        width: 100%;
        height: 100%;
    }
    :where(.m-mainNav__actions__common) {
        display: flex;
        flex-direction: row;
        gap: 8px;
    }

    .a-menuToggle {
        display: none;
    }

    /* region [ lvl 2 ] ----------------------------- Mega menú -- */

    @scope (.m-navList.-megaMenu) {
        :where(.m-navItem__submenu) {
            flex-direction: row;
            justify-content: flex-start;
            align-items: stretch;
        }
        :where(.m-navList__column) {
            display: flex;
            flex: 1 1 0;
            min-width: 0;
            flex-direction: column;
            gap: 8px;
        }
        :where(.m-megaMenuImg) {
            display: flex;
            height: 100%;
            width: auto;
        }
        :where(.m-megaMenuImg img) {
            display: block;
            width: 100%;
            height: auto;
        }
        :where(.m-megaMenuTitle) {
            display: flex;
            flex-direction: row;
            gap: 8px;
            width: 100%;
            align-items: center;
            cursor: default;
            min-height: calc(var(--titleCategoryIcon));
        }
        :where(.m-megaMenuTitle__ico) {
            display: flex;
            width: var(--titleCategoryIcon);
            height: var(--titleCategoryIcon);
        }
        :where(.m-megaMenuTitle__text) {
            font-size: 14px;
        }
    }

    /* endregion Mega menú */

    /* region [ lvl 2 ] ----------------------------- Escritorio -- */
    :where(.o-desktopNavContainer) {
        --maxWidth: 1400px;
        margin: auto;
        max-width: var(--maxWidth);
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        width: 100%;
        padding: 16px 24px;
        background-color: rgb(231, 231, 231);
        box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
    }
    :where(.o-desktopNavContainer > div) {
        display: flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        flex: 2;
    }
    :where(.o-desktopNavContainer > .m-mainNav__logo) {
        flex: 1;
    }

    @scope (.o-desktopNavContainer  ) {
        :where(.m-desktopNav__wrap) {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            flex: 2;
        }

        :where(.m-navList) {
            display: flex;
            flex-direction: row;
            gap: 8px;
            flex-wrap: wrap;
            padding: 0;
        }
        :where(.m-navItem__submenu .m-navList) {
            flex-direction: column;
        }
        :where(.m-navItem__submenu) {
            background-color: #fff;
            width: 100%;
            min-width: fit-content;
            box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
            z-index: 1;
        }
        :where(.m-navItem__submenu .m-navItem__submenu) {
            left: 100%;
        }
        :where(.m-navItem) {
            min-width: fit-content;
        }
        :where(.m-navItem):hover {
            background-color: #1212120c;
        }
        :where(.m-navItem__container) {
            padding: 4px 10px;
        }

        :where(.m-navItem:has(.-selected) > .m-navItem__container) {
            border-bottom: 1px solid #121212;
        }
        /* MEGA MENÚ */
        @scope (.m-navList.-megaMenu) {
            :where(.m-megaMenuTitle.-link):hover {
                cursor: pointer;
                text-decoration: underline;
            }
            :where(a.m-megaMenuImg):hover {
                opacity: 0.9;
            }
            :where(.m-navItem__submenu) {
                flex-direction: row;
                gap: 24px;
                background-color: white;
                box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.25);
                z-index: 2;
                padding: 16px;
                position: absolute;
                top: 100%;
            }
            :where(.m-navList) {
                display: flex;
                flex-direction: column;
                width: 100%;
            }
            :where(.m-navList__column .m-navList) {
                margin-left: calc((var(--titleCategoryIcon) / 2) - 2px);
                padding-left: calc(4px);
                border-left: 1px solid #00000010;
            }
            :where(.m-navList__column:has(.m-megaMenuImg)) {
                width: auto;
                align-self: stretch;
                max-width: 300px;
            }
        }
    }

    /* endregion Escritorio */

    /* region [ lvl 2 ] ----------------------------- Movil -- */

    :where(.o-mobileNavContainer) {
        pointer-events: none;
        display: flex;
        flex-direction: column;
        position: fixed;
        right: 0;
        top: 0;
        background-color: #ededee;
        width: 50dvw;
        min-width: 0;
        height: 100dvh;
        transition:
            transform 225ms cubic-bezier(0, 0, 0.2, 1),
            box-shadow 225ms cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        transform: translate(110%);
    }
    :where(.m-mobileNav__header) {
        display: flex;
        flex-direction: row;
        gap: 8px;
        padding: 16px 24px;
        align-items: center;
    }
    :where(.m-mobileNav__nav) {
        min-width: 0px;
        min-height: 0px;
        -webkit-box-flex: 1;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        overflow: auto;
    }
    :where(.m-navItem__submenu) {
        display: none;
        flex-direction: column;
    }
    :where(.m-navItem__submenu.-visible) {
        position: absolute;
        top: 100%;
        display: flex;
    }

    :where(.o-mobileNavContainer .m-mobileNav__nav),
    :where(.o-mobileNavContainer .m-navList) {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0 !important;
        margin: 0;
    }
    :where(.o-mobileNavContainer .m-navItem) {
        display: flex;
        flex-direction: column;
    }

    :where(
        .o-mobileNavContainer .m-navItem__container,
        .o-mobileNavContainer .m-megaMenuItem__container
    ):hover {
        background-color: #919eab14;
    }
    :where(.a-navItem__text) {
        display: flex;
        flex-grow: 1;
    }

    :where(.m-navItem.-selected > .m-navItem__container) {
        background-color: color-mix(
            in srgb,
            #ffffffcc 80%,
            var(--mainColor) 15%
        );
        color: var(--headerSelectedText);
    }

    @scope (.o-mobileNavContainer ) {
        :where(.m-navItem__submenu) {
            flex-direction: column;
        }

        :where(.m-navItem__submenu.-visible) {
            position: relative;
        }
        :where(.m-navItem__container, ) {
            min-height: 48px;
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            align-items: center;
            width: 100%;
            padding: 0 12px 0 20px;
            text-decoration: none;
            font-size: 14px;
            cursor: pointer;
            user-select: none;
        }

        /* MEGA MENÚ */
        @scope (.m-navList.-megaMenu) {
            :where(.m-megaMenuItem__container, .m-megaMenuTitle) {
                min-height: 48px;
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: center;
                width: 100%;
                padding: 0 12px 0 20px;
                text-decoration: none;
                font-size: 14px;
                cursor: pointer;
                user-select: none;
            }
            :where(.m-megaMenuTitle:not(.-link)) {
                opacity: 0.6;
            }
            :where(.m-navItem__submenu) {
                flex-direction: column;
            }
            :where(.m-navList__column, .m-navList) {
                display: flex;
                flex-direction: column;
                width: 100%;
                gap: 0;
            }

            :where(.m-megaMenuImg) {
                display: flex;
                height: 100%;
                width: auto;
                padding: 8px 16px;
            }
        }
    }

    /* endregion Movil */

    @media (max-width: 720px) {
        .a-menuToggle {
            display: flex;
        }

        .o-mobileNavContainer.-visible {
            pointer-events: auto;
            transform: translate(0);
            min-width: 288px;
            box-shadow: -20px 0px 99px 999px #1c252e7a;
        }

        .menu {
            display: flex;
            flex-direction: column;
        }

        .o-desktopNavContainer {
            justify-content: space-between;
        }
        .o-desktopNavContainer .m-mainNav__nav {
            display: none;
        }
        .o-desktopNavContainer .m-desktopNav__wrap {
            justify-content: right;
        }
        .o-desktopNavContainer .m-mainNav__logo {
            justify-content: left;
        }
    }

    /* endregion NAV */
}


/* ===== layout/footer.css ===== */
/* region [ lvl 1 ] ----------------------------- Footer -- */
:where(.o-mainFooter) {
    display: flex;
    flex-direction: column;
    margin: auto;
}

@scope (.o-mainFooter) {
    :where(.a-mainFooterCorporative__msg) {
        margin-top: 0;
        font-size: 14px;
        line-height: 150%;
        opacity: 0.7;
    }
    :where(.m-mainFooter__image) {
        width: 100%;
        max-width: 300px;
    }
    :where(.o-mainFooter__copyright) {
        font-size: 14px;
        opacity: 0.5;
    }
    :where(.wrap) {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 120px;
        row-gap: 40px;
        width: 100%;
    }

    :where(.m-mainFooter__corporative) {
        flex: 2;
        flex-shrink: 0;
    }
    :where(.m-mainFooter__container) {
        display: flex;
        flex-direction: column;
        max-width: 1400px;
        padding: 80px 24px 24px 40px;
        margin: auto;
        gap: 24px;
        width: 100%;
    }
    :where(.m-mainFooter__navsGroup) {
        flex: 4;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        grid-template-areas:
            "sitemap sitemap sitemap"
            "legal rrss a";
        gap: 24px;
    }
    :where(.m-mainFooter__group.-siteMap) {
        grid-area: sitemap;
    }
    :where(.m-mainFooter__group.-rrss) {
        grid-area: rrss;
    }
    :where(.m-mainFooter__group.-legal) {
        grid-area: legal;
    }

    /* region [ lvl 2 ] ----------------------------- Navs footer -- */
    :where(.a-mainFooter__title) {
        font-weight: 700;
        font-size: 12px;
        text-transform: uppercase;
        margin-bottom: 16px;
    }
    :where(.m-navItem, .m-navList) {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 0;
    }
    :where(.m-navItem) {
        width: fit-content;
    }
    :where(.m-navItem__container) {
        transition: all ease-in-out 0.3s;
        font-size: 14px;
    }
    :where(.m-navItem__container):hover {
        text-decoration: underline;
        color: var(--mainColor);
    }

    @scope (.m-footerNavList) {
        :where(.m-navItem) {
            flex: 1;
        }
        :where(.m-navItem__container) {
            font-size: 13px;
        }
        :where(& > .m-navItem > .m-navItem__container) {
            font-weight: 700;
            font-size: 12px;
            text-transform: uppercase;
            margin-bottom: 8px;
        }
    }

    :where(.m-navList.m-footerNavList) {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 16rem;
    }

    /* endregion Navs footer */

    .a-kdBanner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 32px;
    }
    .a-kdBanner img {
        width: 100%;
        max-width: 800px;
        margin: auto;
    }

    @media (max-width: 720px) {
        :where(.m-mainFooter__navsGroup) {
            grid-template-areas:
                "sitemap "
                "legal "
                "rrss "
                "a";
        }
        :where(.m-navList.m-footerNavList) {
            flex-direction: column;
        }
        :where(.m-mainFooter__container) {
            padding: 24px 24px;
        }
    }
}

/* endregion Footer */


