/* ================================
   VSX Footer Widget
   Full Width Footer
   Top row aligned with info row
================================ */

/* Force Elementor footer widget to full browser width */
.elementor-widget-vsx_footer,
.elementor-widget-vsx_footer .elementor-widget-container {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Main footer wrapper */
.vsx-footer-wrap {
    --vsx-footer-bg: #09090D;
    --vsx-footer-container-width: 90%;
    --vsx-footer-row-gap: 48px;

    --vsx-footer-gradient-height: 2px;
    --vsx-footer-gradient-color: #FF6E1F;
    --vsx-footer-gradient-spacing: 48px;

    --vsx-footer-logo-height: 40px;

    --vsx-footer-menu-color: #ffffff;
    --vsx-footer-hover-color: #FF6E1F;
    --vsx-footer-menu-gap: 48px;

    --vsx-footer-title-color: #666666;
    --vsx-footer-info-color: #CAC9C4;
    --vsx-footer-divider-color: #ffffff; 

    --vsx-footer-copyright-color: #9CA3AF;
    --vsx-footer-copyright-border-color: #374151;

    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    position: relative;
}

/* Footer background full width */
.vsx-footer {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background: var(--vsx-footer-bg);
    z-index: 20;
    padding: 0 0 48px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Decorative image */
.vsx-footer__decor {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-100%);
    z-index: 10;
    pointer-events: none;
}

.vsx-footer__decor img {
    min-width: 48rem;
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.5;
}

/* Orange gradient line */
.vsx-footer__gradient-bar {
    width: 100%;
    height: var(--vsx-footer-gradient-height);
    margin-bottom: var(--vsx-footer-gradient-spacing);
    background: linear-gradient(
        90deg,
        transparent 0%,
        transparent 30%,
        var(--vsx-footer-gradient-color) 50%,
        transparent 70%,
        transparent 100%
    );
}

/* Inner content container */
.vsx-footer__container {
    width: var(--vsx-footer-container-width);
    max-width: 1680px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 32px;
}

/* ================================
   Top row
   Logo + nav moved slightly inside
================================ */

.vsx-footer__top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;

    /* this is the important alignment fix */
    width: calc(100% - 72px);
    margin-left: auto;
    margin-right: auto;

    margin-bottom: var(--vsx-footer-row-gap);
}

/* Logo */
.vsx-footer__logo-area {
    display: flex;
    justify-content: flex-start;
    flex-shrink: 0;
}

.vsx-footer__logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.vsx-footer__logo {
    height: var(--vsx-footer-logo-height);
    width: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.vsx-footer__logo:hover {
    opacity: 0.8;
}

.vsx-footer__logo-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

/* Footer menu */
.vsx-footer__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--vsx-footer-menu-gap);
    flex-wrap: wrap;
}

.vsx-footer__menu-link {
    color: var(--vsx-footer-menu-color);
    text-decoration: none;
    font-family: Gilroy !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vsx-footer__menu-link:hover {
    color: var(--vsx-footer-hover-color);
}

/* Info row */
.vsx-footer__info-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: left;
}

/* Info blocks */
.vsx-footer__info-block {
    padding: 0 48px;
}

.vsx-footer__info-block:first-child {
    padding-left: 0;
}

.vsx-footer__info-block--location {
    min-width: 0;
    flex-shrink: 1;
}

/* Info titles */
.vsx-footer__info-title {
    margin: 0 0 16px;
    color: var(--vsx-footer-title-color);
    font-family: Gilroy !important;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Info links */
.vsx-footer__info-links {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.vsx-footer__info-link {
    color: var(--vsx-footer-info-color);
    text-decoration: none;
    font-family: Gilroy !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    transition: color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}

.vsx-footer__info-link:hover {
    color: var(--vsx-footer-hover-color);
}

/* Location text */
.vsx-footer__location-text {
    color: var(--vsx-footer-info-color);
    font-family: Gilroy !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* Dividers */
.vsx-footer__divider {
    width: 1px;
    height: 64px;
    background: var(--vsx-footer-divider-color);
    flex-shrink: 0;
}

/* Copyright */
.vsx-footer__copyright {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--vsx-footer-copyright-border-color);
    text-align: center;
}

.vsx-footer__copyright-text {
    margin: 0;
    color: var(--vsx-footer-copyright-color);
    font-family: Gilroy !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

/* ================================
   Tablet
================================ */
@media (max-width: 1024px) {
    .vsx-footer__top-row {
        width: 100%;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .vsx-footer__logo-area {
        justify-content: center;
    }

    .vsx-footer__menu {
        justify-content: center;
        gap: 24px;
    }

    .vsx-footer__info-row {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .vsx-footer__info-block {
        padding: 0;
    }

    .vsx-footer__info-links {
        justify-content: center;
    }

    .vsx-footer__divider {
        width: 100%;
        height: 1px;
    }
}

/* ================================
   Mobile
================================ */
@media (max-width: 767px) {
    .vsx-footer {
        padding-bottom: 32px;
    }

    .vsx-footer__container {
        width: 98%;
        padding: 0 16px;
    }

    .vsx-footer__top-row {
        width: 100%;
        margin-bottom: 32px;
    }

    .vsx-footer__menu {
        flex-direction: column;
        gap: 12px;
    }

    .vsx-footer__info-links {
        flex-direction: column;
        gap: 8px;
    }

    .vsx-footer__info-link {
        padding: 8px 4px;
    }

    .vsx-footer__copyright {
        margin-top: 28px;
    }
}