.et-l--footer #footer-container-elaborado.eec-footer-main {
    padding: 0;
    background: #a0966b;
    color: var(--eec-azul-marino);
}

.eec-footer-main::before {
    content: '';
    display: block;
    height: clamp(110px, 16.4vw, 315px);
    background: #ececec url('footer/arena.webp') center bottom / cover no-repeat;
}

.et-l--footer :is(.eec-footer-main, .eec-footer-legal) > .et_pb_row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 28px;
    width: min(80%, 1536px);
    max-width: none;
    padding: 0;
}

.et-l--footer .eec-footer-main > .et_pb_row {
    align-items: end;
    padding: 14px 0 19px;
}

.et-l--footer :is(.eec-footer-main, .eec-footer-legal) > .et_pb_row > .et_pb_column {
    width: 100%;
    margin: 0;
}

.et-l--footer :is(.eec-footer-main, .eec-footer-legal) :is(.et_pb_row, .et_pb_column)::after {
    display: none;
}

.et-l--footer .eec-footer-main .et_pb_module {
    margin-bottom: 0;
}

#footer-container-elaborado #footer-newsletter.et_pb_subscribe {
    padding: 0;
    color: var(--eec-azul-marino);
    text-align: start;
}

#footer-newsletter .et_pb_newsletter_description {
    margin: 0 0 12px;
    padding: 0;
    color: inherit;
    line-height: 1.3;
}

#footer-newsletter .et_pb_newsletter_description p {
    color: var(--eec-azul-marino);
    font-size: 14px;
    line-height: inherit;
}

#footer-newsletter .et_pb_newsletter_form {
    padding: 0;
}

#footer-newsletter .et_pb_newsletter_fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
    max-width: 345px;
}

#footer-newsletter .et_pb_newsletter_fields > p {
    min-width: 0;
    margin: 0;
    padding: 0;
}

#footer-newsletter :is(.et_pb_newsletter_field input, .et_pb_newsletter_button) {
    height: 42px;
}

#footer-newsletter .et_pb_newsletter_field input {
    box-sizing: border-box;
    width: 100%;
    padding: 7px 10px !important;
    border: 1px solid #ececec;
    border-radius: 5px;
    background: #ececec;
    color: var(--eec-azul-marino);
    font: inherit;
    font-size: 15px;
}

#footer-newsletter .et_pb_newsletter_button {
    box-sizing: border-box;
    display: grid;
    place-items: center;
    padding: 7px 24px !important;
    border: 0;
    border-radius: 5px;
    background: var(--eec-azul-marino);
    color: #ececec;
    font-size: 15px;
}

#footer-newsletter .et_pb_newsletter_button::after {
    display: none;
}

#footer-newsletter .et_pb_newsletter_button:is(:hover, :focus-visible) {
    background: var(--eec-azul-oscuro);
}

.et-l--footer .eec-footer-sponsor {
    text-align: center;
}

.eec-footer-sponsor-mark .et_pb_text_inner > p {
    padding: 0;
    text-align: center;
}

.eec-footer-sponsor-mark img {
    display: block;
    width: min(100%, 242px);
    height: auto;
    margin-inline: auto;
}

.eec-footer-social ul {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eec-footer-social .et_pb_social_icon {
    margin: 0;
}

.eec-footer-social .et_pb_social_icon > a.icon {
    display: grid;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    place-items: center;
    margin: 0;
    background: transparent;
    color: var(--eec-azul-marino);
}

.eec-footer-social .et_pb_social_icon > a.icon::before,
.eec-footer-social .et_pb_social_icon > a.icon:hover::before {
    grid-area: 1 / 1;
    width: auto;
    height: auto;
    color: inherit;
    line-height: 1;
}

.eec-footer-social .et_pb_social_icon > a.icon:has(svg)::before {
    display: none;
}

.eec-footer-social svg {
    display: block;
    grid-area: 1 / 1;
    width: 24px;
    height: 24px;
    margin: 0;
}

.eec-footer-menu .et_pb_menu__wrap,
.eec-footer-menu .et_pb_menu__menu,
.eec-footer-menu .et-menu {
    display: flex !important;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.eec-footer-menu .et_mobile_nav_menu {
    display: none !important;
}

.eec-footer-menu .et-menu > li {
    padding: 0;
}

.et-l--footer .eec-footer-menu .et-menu > li > a {
    display: block;
    padding: 8px 10px;
    color: var(--eec-azul-marino);
    font-size: 15px;
    white-space: nowrap;
}

.et-l--footer .eec-footer-menu .et-menu > .button > a {
    border-radius: 5px;
    background: #ececec;
}

.eec-footer-menu .et_pb_menu__wrap .et_pb_menu__menu .et-menu-nav #menu-menu-pie-de-pagina > li.button > a {
    color: var(--eec-azul-marino) !important;
}

.et-l--footer .eec-footer-legal {
    padding: 0;
    background: var(--eec-azul-marino);
    color: #ececec;
}

.et-l--footer .eec-footer-legal > .et_pb_row {
    align-items: center;
    padding: 16px 0;
}

.et-l--footer .eec-footer-legal :is(p, a) {
    color: #ececec;
    font-size: 13px;
}

.eec-footer-legal .et_pb_column:nth-child(2) .et_pb_text {
    text-align: center;
}

.eec-footer-legal .et_pb_column:last-child .et_pb_text {
    text-align: end;
}

.eec-footer-legal a:focus-visible {
    outline-color: var(--eec-amarillo);
}

.eec-footer-legal a:hover,
.eec-footer-menu .et-menu a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .et-l--footer :is(.eec-footer-main, .eec-footer-legal) > .et_pb_row {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        width: min(90%, 580px);
    }

    .et-l--footer .eec-footer-main > .et_pb_row {
        gap: 22px;
        padding: 24px 0;
    }

    .et-l--footer .eec-footer-legal > .et_pb_row {
        gap: 8px;
    }

    .et-l--footer .eec-footer-legal .et_pb_column .et_pb_text,
    #footer-container-elaborado #footer-newsletter.et_pb_subscribe {
        text-align: center;
    }

    #footer-newsletter .et_pb_newsletter_fields {
        margin-inline: auto;
    }

    .eec-footer-menu .et_pb_menu__wrap,
    .eec-footer-menu .et_pb_menu__menu,
    .eec-footer-menu .et-menu {
        justify-content: center;
    }
}
