/* ==========================================================================
   NINO SEPO — GLOBAL FOOTER
   ========================================================================== */

.ninosepo-footer {
    --footer-bg: #090909;
    --footer-text: rgba(255, 255, 255, 0.88);
    --footer-muted: rgba(255, 255, 255, 0.58);
    --footer-subtle: rgba(255, 255, 255, 0.42);
    --footer-border: rgba(255, 255, 255, 0.16);

    position: relative;

    display: flex !important;
    flex-direction: column;

    width: 100%;
    margin: 0;
    padding:
        clamp(64px, 6vw, 108px)
        clamp(30px, 5.2vw, 100px)
        30px;

    color: var(--footer-text);
    background: var(--footer-bg);
    border: 0;
    box-shadow: none;
}

.ninosepo-footer,
.ninosepo-footer * {
    box-sizing: border-box;
}

.ninosepo-footer .elementor-widget {
    margin: 0;
}

/* ==========================================================================
   MAIN GRID
   ========================================================================== */

.ninosepo-footer__main {
    display: grid !important;
    grid-template-columns:
        minmax(300px, 2.1fr)
        minmax(170px, 0.9fr)
        minmax(150px, 0.8fr)
        minmax(130px, 0.65fr);
    align-items: start;

    gap: clamp(44px, 5vw, 96px);

    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 0 0 clamp(76px, 9vw, 150px);
}

.ninosepo-footer__main > .e-con,
.ninosepo-footer__brand,
.ninosepo-footer__column {
    width: 100% !important;
    min-width: 0;
    max-width: none !important;
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   BRAND
   ========================================================================== */

.ninosepo-footer__brand {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
}

.ninosepo-footer__logo {
    width: auto;
    max-width: 100%;
}

.ninosepo-footer__logo .elementor-heading-title {
    margin: 0;

    color: #fff;

    font-family: inherit;
    font-size: clamp(36px, 3.2vw, 60px);
    font-weight: 300;
    line-height: 0.95;
    letter-spacing: 0.075em;
    text-transform: uppercase;
}

.ninosepo-footer__statement {
    width: 100%;
    max-width: 390px;
}

.ninosepo-footer__statement,
.ninosepo-footer__statement p {
    margin: 0;

    color: var(--footer-muted);

    font-family: inherit;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.015em;
}

.ninosepo-footer__statement p + p {
    margin-top: 12px;
}

/* ==========================================================================
   COLUMNS
   ========================================================================== */

.ninosepo-footer__column {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
}

.ninosepo-footer__heading,
.ninosepo-footer__heading .elementor-widget-container {
    width: 100%;
}

.ninosepo-footer__heading .elementor-heading-title {
    margin: 0;

    color: var(--footer-muted);

    font-family: inherit;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

/* ==========================================================================
   CUSTOMER CARE / EXPLORE MENUS
   ========================================================================== */

.ninosepo-footer__menu {
    width: 100%;
}

/*
 * The widgets use "dropdown none", but Elementor still renders an inaccessible
 * duplicate dropdown menu. Keep only the main menu visible.
 */
.ninosepo-footer__menu .elementor-nav-menu--dropdown,
.ninosepo-footer__menu .elementor-menu-toggle {
    display: none !important;
}

.ninosepo-footer__menu .elementor-nav-menu--main {
    display: block !important;

    width: 100%;
    overflow: visible;
}

.ninosepo-footer__menu .elementor-nav-menu--main > ul.elementor-nav-menu {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    gap: 10px;

    width: 100%;
    margin: 0;
    padding: 0;

    list-style: none;
}

.ninosepo-footer__menu .elementor-nav-menu--main .menu-item {
    display: block;

    width: auto;
    margin: 0;
    padding: 0;
}

.ninosepo-footer__menu .elementor-nav-menu--main .elementor-item {
    position: relative;

    display: inline-block;

    width: auto !important;
    min-height: 0;
    margin: 0;
    padding: 1px 0 3px !important;

    color: var(--footer-text) !important;
    background: transparent !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;

    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.015em;
    text-decoration: none;

    transition: color 180ms ease;
}

/*
 * Remove Elementor's own menu pointer.
 */
.ninosepo-footer__menu .elementor-item::before {
    content: none !important;
    display: none !important;
}

/*
 * Custom fine underline.
 */
.ninosepo-footer__menu .elementor-item::after {
    content: "";

    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    background: currentColor;

    opacity: 0;
    transform: scaleX(0);
    transform-origin: left center;

    transition:
        opacity 180ms ease,
        transform 180ms ease;
}

.ninosepo-footer__menu .elementor-item:hover,
.ninosepo-footer__menu .elementor-item:focus-visible {
    color: #fff !important;
    background: transparent !important;
}

.ninosepo-footer__menu .elementor-item:hover::after,
.ninosepo-footer__menu .elementor-item:focus-visible::after {
    opacity: 0.72;
    transform: scaleX(1);
}

.ninosepo-footer__menu .elementor-item:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 5px;
}

/* ==========================================================================
   SOCIAL ICONS
   ========================================================================== */

.ninosepo-footer__social {
    width: 100%;
}

.ninosepo-footer__social .elementor-widget-container {
    width: 100%;
}

.ninosepo-footer__social .elementor-social-icons-wrapper {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px;
}

.ninosepo-footer__social .elementor-grid-item {
    margin: 0;
}

.ninosepo-footer__social .elementor-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;
    margin: 0;
    padding: 0;

    color: var(--footer-text);
    background: transparent !important;
    border: 1px solid var(--footer-border);
    border-radius: 50%;

    transition:
        color 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease;
}

.ninosepo-footer__social .elementor-social-icon:hover,
.ninosepo-footer__social .elementor-social-icon:focus-visible {
    color: #111;
    background: #fff !important;
    border-color: #fff;

    transform: none;
}

.ninosepo-footer__social .elementor-social-icon svg {
    width: 14px;
    height: 14px;

    fill: currentColor;
}

.ninosepo-footer__social .elementor-social-icon:focus-visible {
    outline: 1px solid #fff;
    outline-offset: 4px;
}

/* ==========================================================================
   BOTTOM BAR
   ========================================================================== */

.ninosepo-footer__bottom {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    width: 100%;
    max-width: 1720px;
    margin: 0 auto;
    padding: 25px 0 0;

    border-top: 1px solid var(--footer-border);
}

.ninosepo-footer__copyright {
    flex: 0 1 auto;
    width: auto;
}

.ninosepo-footer__copyright,
.ninosepo-footer__copyright p {
    margin: 0;

    color: var(--footer-subtle);

    font-family: inherit;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ==========================================================================
   LEGAL MENU
   ========================================================================== */

.ninosepo-footer__legal {
    flex: 0 1 auto;
    width: auto;
}

/*
 * Hide the unused duplicate dropdown markup.
 */
.ninosepo-footer__legal .elementor-nav-menu--dropdown,
.ninosepo-footer__legal .elementor-menu-toggle {
    display: none !important;
}

.ninosepo-footer__legal .elementor-nav-menu--main {
    display: block !important;

    width: auto;
    overflow: visible;
}

.ninosepo-footer__legal .elementor-nav-menu--main > ul.elementor-nav-menu {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;

    width: auto;
    margin: 0;
    padding: 0;

    list-style: none;
}

.ninosepo-footer__legal .menu-item {
    width: auto;
    margin: 0;
    padding: 0;
}

.ninosepo-footer__legal .elementor-item {
    position: relative;

    display: inline-block;

    width: auto !important;
    min-height: 0;
    margin: 0;
    padding: 0 0 2px !important;

    color: var(--footer-subtle) !important;
    background: transparent !important;

    font-family: inherit;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 180ms ease;
}

.ninosepo-footer__legal .elementor-item::before,
.ninosepo-footer__legal .elementor-item::after {
    content: none !important;
    display: none !important;
}

.ninosepo-footer__legal .elementor-item:hover,
.ninosepo-footer__legal .elementor-item:focus-visible {
    color: #fff !important;
    background: transparent !important;
}

.ninosepo-footer__legal .elementor-item:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.55);
    outline-offset: 5px;
}

/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1024px) {
    .ninosepo-footer {
        padding:
            68px
            32px
            28px;
    }

    .ninosepo-footer__main {
        grid-template-columns:
            minmax(260px, 1.5fr)
            minmax(150px, 0.75fr)
            minmax(150px, 0.75fr);

        gap: 54px 40px;
        padding-bottom: 84px;
    }

    /*
     * Social column moves below the two navigation columns.
     */
    .ninosepo-footer__follow {
        grid-column: 2 / -1;
    }
}

/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 767px) {
    .ninosepo-footer {
        padding:
            54px
            20px
            24px;
    }

    .ninosepo-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px 30px;

        padding-bottom: 66px;
    }

    .ninosepo-footer__brand {
        grid-column: 1 / -1;

        gap: 20px;
        padding-bottom: 5px;
    }

    .ninosepo-footer__statement {
        max-width: 340px;
    }

    .ninosepo-footer__follow {
        grid-column: 1 / -1;
    }

    .ninosepo-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 18px;

        padding-top: 22px;
    }

    .ninosepo-footer__legal {
        width: 100%;
    }

    .ninosepo-footer__legal .elementor-nav-menu--main {
        width: 100%;
    }

    .ninosepo-footer__legal
    .elementor-nav-menu--main
    > ul.elementor-nav-menu {
        justify-content: flex-start;
        gap: 14px 20px;

        width: 100%;
    }
}

/* ==========================================================================
   SMALL MOBILE
   ========================================================================== */

@media (max-width: 480px) {
    .ninosepo-footer__main {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .ninosepo-footer__brand,
    .ninosepo-footer__follow {
        grid-column: auto;
    }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .ninosepo-footer a,
    .ninosepo-footer a::after,
    .ninosepo-footer .elementor-social-icon {
        transition: none;
    }
}