/* =========================================================
   SR AGENCIES — REUSABLE FOOTER
   Used on: index.html, contact.html
========================================================= */


/* =========================================================
   FOOTER BASE
========================================================= */

.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        linear-gradient(
            110deg,
            #041d43 0%,
            #062958 46%,
            #07386f 100%
        );

    color: #ffffff;
}


/* =========================================================
   FOOTER BACKGROUND IMAGE
========================================================= */

.footer-bg-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 47%;
    height: 100%;

    overflow: hidden;

    z-index: -2;

    pointer-events: none;
}

.footer-bg-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    opacity: 0.56;

    filter:
        saturate(0.72)
        brightness(0.72)
        contrast(1.05);
}


/* =========================================================
   FOOTER IMAGE FADE / OVERLAY
========================================================= */

.footer-bg-overlay {
    position: absolute;
    inset: 0;

    z-index: -1;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            #041d43 0%,
            #041f47 29%,
            rgba(4, 31, 71, 0.98) 42%,
            rgba(4, 31, 71, 0.86) 54%,
            rgba(4, 31, 71, 0.56) 73%,
            rgba(4, 31, 71, 0.34) 100%
        );
}


/* =========================================================
   SUBTLE BLUE RADIANCE
========================================================= */

.site-footer::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -250px;
    top: -260px;

    border-radius: 50%;

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(42, 111, 226, 0.22) 0%,
            rgba(42, 111, 226, 0.10) 34%,
            rgba(42, 111, 226, 0.03) 58%,
            transparent 75%
        );

    z-index: -1;
}


/* =========================================================
   MAIN FOOTER CONTAINER
========================================================= */

.site-footer > .container {
    position: relative;
    z-index: 2;
}


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

.footer-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.38fr)
        minmax(150px, 0.76fr)
        minmax(0, 1.24fr)
        minmax(170px, 0.90fr);

    column-gap: .5;

    padding: 70px 0 58px;
}


/* =========================================================
   COMMON FOOTER COLUMN
========================================================= */

.footer-column {
    min-width: 0;
}


/* =========================================================
   COLUMN DIVIDERS
========================================================= */

.footer-links-column,
.footer-office-column,
.footer-locations-column {
    position: relative;

    padding-left: 34px;
}

.footer-links-column::before,
.footer-office-column::before,
.footer-locations-column::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 0;

    width: 1px;

    background:
        rgba(255, 255, 255, 0.12);
}


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

.footer-brand-column {
    padding-right: 48px;
}


/* =========================================================
   FOOTER LOGO
========================================================= */

.footer-logo-link {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;

    text-decoration: none;
}

.footer-logo {
    display: block;

    width: auto;
    max-width: 100px;
    height: auto;
}


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

.footer-brand-heading {
    max-width: 390px;

    margin-bottom: 16px;

    color: #ffffff;

    font-size: 25px;
    line-height: 1.18;

    font-weight: 800;

    letter-spacing: -0.025em;
}

.footer-brand-heading span {
    display: block;

    color: #3da0ff;
}


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

.footer-brand-description {
    max-width: 395px;

    margin: 0;

    color: rgba(255, 255, 255, 0.69);

    font-size: 13px;
    line-height: 1.72;

    font-weight: 450;
}


/* =========================================================
   SOCIAL MEDIA
========================================================= */

.footer-social {
    margin-top: 27px;
}

.footer-social-label {
    display: block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.40);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.15em;

    text-transform: uppercase;
}

.footer-social-links {
    display: flex;
    align-items: center;

    gap: 11px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    border-radius: 50%;

    color: #ffffff;

    font-size: 17px;

    text-decoration: none;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease;
}

.footer-social-link:hover {
    transform: translateY(-3px);

    filter: brightness(1.08);

    box-shadow:
        0 10px 24px rgba(0, 0, 0, 0.22);
}


/* Individual social colors */
.footer-social-instagram {
    background:
        linear-gradient(
            135deg,
            #7c3aed,
            #ec4899,
            #f97316
        );
}

.footer-social-facebook {
    background: #1877f2;
}

.footer-social-linkedin {
    background: #0a66c2;
}

.footer-social-youtube {
    background: #ff0000;
}


/* =========================================================
   COLUMN HEADINGS
========================================================= */

.footer-column-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    margin-bottom: 23px;
}

.footer-column-heading > span:first-child {
    color: #ffffff;

    font-size: 13px;
    line-height: 1.2;

    font-weight: 750;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.footer-heading-line {
    width: 58px;
    height: 2px;

    margin-top: 10px;

    background: #38a0ff;
}


/* =========================================================
   QUICK LINKS NAVIGATION
========================================================= */

.footer-nav {
    display: flex;
    flex-direction: column;

    width: 100%;
}

.footer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    width: 100%;

    padding: 8px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.055);

    color: rgba(255, 255, 255, 0.76);

    font-size: 13px;
    line-height: 1.35;

    text-decoration: none;

    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

.footer-nav a:last-child {
    border-bottom: 0;
}

.footer-nav a i {
    color: #30a0ff;

    font-size: 14px;

    transition:
        transform 0.25s ease;
}

.footer-nav a:hover {
    padding-left: 4px;

    color: #ffffff;
}

.footer-nav a:hover i {
    transform: translateX(4px);
}


/* =========================================================
   HEAD OFFICE
========================================================= */

.footer-contact-item {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 16px;
}

.footer-office-location {
    margin-bottom: 23px;
}


/* =========================================================
   CONTACT ICON
========================================================= */

.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 9px;

    background:
        linear-gradient(
            145deg,
            #277de9,
            #1664cb
        );

    color: #ffffff;

    font-size: 15px;

    box-shadow:
        0 8px 18px rgba(16, 86, 190, 0.22);
}


/* =========================================================
   CONTACT CONTENT
========================================================= */

.footer-contact-content {
    min-width: 0;
}

.footer-contact-content h3 {
    margin: -1px 0 3px;

    color: #ffffff;

    font-size: 21px;
    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -0.02em;
}

.footer-contact-content p {
    margin: 0;

    color: rgba(255, 255, 255, 0.69);

    font-size: 12px;
    line-height: 1.55;

    font-weight: 450;
}

.footer-contact-label {
    display: block;

    margin: 1px 0 4px;

    color: rgba(255, 255, 255, 0.43);

    font-size: 8px;
    font-weight: 750;

    letter-spacing: 0.14em;

    text-transform: uppercase;
}


/* =========================================================
   PHONE / EMAIL
========================================================= */

.footer-phone,
.footer-email {
    display: inline-block;

    color: #ffffff;

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.footer-phone {
    font-size: 18px;
    line-height: 1.25;

    font-weight: 800;

    letter-spacing: -0.015em;
}

.footer-email {
    font-size: 13px;
    line-height: 1.35;

    font-weight: 650;
}

.footer-phone:hover,
.footer-email:hover {
    color: #49a8ff;
}


/* =========================================================
   CONTACT ACTION BUTTONS
========================================================= */

.footer-contact-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 9px;

    margin-top: 18px;
}

.footer-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 40px;

    padding: 0 15px;

    border-radius: 100px;

    font-size: 10px;
    font-weight: 750;

    text-decoration: none;

    white-space: nowrap;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.footer-contact-button i {
    font-size: 11px;
}

.footer-contact-call {
    background: #2688f4;

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(26, 113, 218, 0.22);
}

.footer-contact-call:hover {
    background: #3996fa;

    color: #ffffff;

    transform: translateY(-2px);
}

.footer-contact-whatsapp {
    background: #16bf63;

    color: #ffffff;

    box-shadow:
        0 8px 20px rgba(10, 164, 83, 0.18);
}

.footer-contact-whatsapp:hover {
    background: #20d46f;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================================================
   LOCATIONS
========================================================= */

.footer-location-list {
    display: flex;
    flex-direction: column;

    gap: 1px;
}

.footer-location-list a {
    display: flex;
    align-items: center;

    gap: 10px;

    padding: 7px 0;

    color: rgba(255, 255, 255, 0.82);

    font-size: 13px;
    line-height: 1.35;

    font-weight: 550;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.footer-location-list a i {
    flex-shrink: 0;

    color: #43a7ff;

    font-size: 15px;
}

.footer-location-list a small {
    margin-left: 4px;

    color: #37a1ff;

    font-size: 9px;
    font-weight: 650;
}

.footer-location-list a:hover {
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================================
   FOOTER BOTTOM
========================================================= */

.footer-bottom {
    position: relative;

    border-top: 1px solid rgba(255, 255, 255, 0.15);

    background:
        rgba(2, 19, 45, 0.52);
}


/* =========================================================
   BOTTOM INNER
========================================================= */

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 77px;

    gap: 25px;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.footer-copyright,
.footer-credit {
    margin: 0;

    color: rgba(255, 255, 255, 0.72);

    font-size: 12px;
    line-height: 1.5;

    font-weight: 450;
}

.footer-credit {
    text-align: right;
}

.footer-credit i {
    margin: 0 4px;

    color: #ff4c57;

    font-size: 12px;
}

.footer-credit a {
    color: #38a4ff;

    font-weight: 750;

    text-decoration: none;

    transition:
        color 0.25s ease;
}

.footer-credit a:hover {
    color: #72beff;
}


/* =========================================================
   LARGE DESKTOP — 1200px
========================================================= */

@media (max-width: 1200px) {

    .footer-main {
        grid-template-columns:
            minmax(0, 1.23fr)
            minmax(145px, 0.72fr)
            minmax(0, 1.20fr)
            minmax(160px, 0.85fr);
    }

    .footer-brand-column {
        padding-right: 34px;
    }

    .footer-links-column,
    .footer-office-column,
    .footer-locations-column {
        padding-left: 27px;
    }

    .footer-bg-image {
        width: 49%;
    }
}


/* =========================================================
   TABLET — 1024px
========================================================= */

@media (max-width: 1024px) {

    .footer-main {
        grid-template-columns:
            minmax(0, 1.25fr)
            minmax(150px, 0.75fr);

        row-gap: 46px;

        padding: 60px 0 48px;
    }


    /* Brand */
    .footer-brand-column {
        padding-right: 45px;
    }


    /* Links */
    .footer-links-column {
        padding-left: 32px;
    }


    /* Office */
    .footer-office-column {
        padding-left: 0;
    }

    .footer-office-column::before {
        display: none;
    }


    /* Locations */
    .footer-locations-column {
        padding-left: 32px;
    }


    /* Image */
    .footer-bg-image {
        width: 45%;

        opacity: 0.75;
    }

    .footer-bg-overlay {
        background:
            linear-gradient(
                90deg,
                #041d43 0%,
                #041f47 45%,
                rgba(4, 31, 71, 0.88) 66%,
                rgba(4, 31, 71, 0.45) 100%
            );
    }
}


/* =========================================================
   TABLET — 900px
========================================================= */

@media (max-width: 900px) {

    .footer-main {
        grid-template-columns:
            1fr 1fr;
    }

    .footer-brand-column {
        padding-right: 30px;
    }

    .footer-links-column {
        padding-left: 30px;
    }

    .footer-office-column {
        padding-left: 0;
    }

    .footer-locations-column {
        padding-left: 30px;
    }

    .footer-office-column::before {
        display: none;
    }

    .footer-bg-image {
        width: 50%;

        opacity: 0.48;
    }

    .footer-bottom-inner {
        min-height: 70px;
    }
}


/* =========================================================
   MOBILE — 600px
========================================================= */

@media (max-width: 600px) {

    .site-footer {
        background:
            linear-gradient(
                145deg,
                #041d43 0%,
                #062b5c 100%
            );
    }


    /* =====================================================
       BACKGROUND
    ===================================================== */

    .footer-bg-image {
        position: absolute;

        top: auto;
        bottom: 0;

        width: 100%;
        height: 290px;

        opacity: 0.30;
    }

    .footer-bg-image img {
        object-position: center;
    }

    .footer-bg-overlay {
        background:
            linear-gradient(
                180deg,
                #041d43 0%,
                rgba(4, 29, 67, 0.97) 52%,
                rgba(4, 29, 67, 0.72) 100%
            );
    }


    /* =====================================================
       MAIN FOOTER
    ===================================================== */

    .footer-main {
        grid-template-columns: 1fr;

        row-gap: 0;

        padding: 52px 0 38px;
    }


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

    .footer-brand-column {
        padding-right: 0;

        margin-bottom: 39px;
    }

    .footer-logo-link {
        margin-bottom: 19px;
    }

    .footer-logo {
        max-width: 105px;
    }

    .footer-brand-heading {
        max-width: 330px;

        margin-bottom: 14px;

        font-size: 22px;
    }

    .footer-brand-description {
        max-width: 340px;

        font-size: 12px;
        line-height: 1.65;
    }

    .footer-social {
        margin-top: 22px;
    }

    .footer-social-label {
        font-size: 7px;
    }

    .footer-social-links {
        gap: 9px;
    }

    .footer-social-link {
        width: 37px;
        height: 37px;

        font-size: 16px;
    }


    /* =====================================================
       COLUMN DIVIDERS
    ===================================================== */

    .footer-links-column,
    .footer-office-column,
    .footer-locations-column {
        padding-left: 0;
        padding-top: 29px;

        border-top: 1px solid rgba(255, 255, 255, 0.10);
    }

    .footer-links-column::before,
    .footer-office-column::before,
    .footer-locations-column::before {
        display: none;
    }


    /* =====================================================
       COLUMN HEADINGS
    ===================================================== */

    .footer-column-heading {
        margin-bottom: 18px;
    }

    .footer-column-heading > span:first-child {
        font-size: 11px;
    }

    .footer-heading-line {
        width: 45px;
        height: 2px;

        margin-top: 8px;
    }


    /* =====================================================
       QUICK LINKS
    ===================================================== */

    .footer-nav a {
        padding: 9px 0;

        font-size: 12px;
    }


    /* =====================================================
       HEAD OFFICE
    ===================================================== */

    .footer-office-column {
        margin-top: 4px;
    }

    .footer-office-location {
        margin-bottom: 20px;
    }

    .footer-contact-item {
        gap: 10px;

        margin-bottom: 14px;
    }

    .footer-contact-icon {
        width: 37px;
        height: 37px;

        border-radius: 8px;

        font-size: 14px;
    }

    .footer-contact-content h3 {
        font-size: 19px;
    }

    .footer-contact-content p {
        font-size: 11px;
        line-height: 1.52;
    }

    .footer-contact-label {
        font-size: 7px;
    }

    .footer-phone {
        font-size: 16px;
    }

    .footer-email {
        font-size: 12px;
    }

    .footer-contact-actions {
        gap: 7px;

        margin-top: 16px;
    }

    .footer-contact-button {
        min-height: 39px;

        padding: 0 13px;

        font-size: 9px;
    }


    /* =====================================================
       LOCATIONS
    ===================================================== */

    .footer-locations-column {
        margin-top: 4px;
    }

    .footer-location-list a {
        padding: 8px 0;

        font-size: 12px;
    }

    .footer-location-list a i {
        font-size: 14px;
    }

    .footer-location-list a small {
        font-size: 8px;
    }


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

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 7px;

        min-height: 105px;

        padding: 17px 0;
    }

    .footer-copyright,
    .footer-credit {
        font-size: 10px;

        text-align: center;
    }
}


/* =========================================================
   VERY SMALL MOBILE — 390px
========================================================= */

@media (max-width: 390px) {

    .footer-main {
        padding-top: 46px;
    }

    .footer-logo {
        max-width: 100px;
    }

    .footer-brand-heading {
        font-size: 20px;
    }

    .footer-brand-description {
        font-size: 11px;
    }

    .footer-social-link {
        width: 35px;
        height: 35px;

        font-size: 15px;
    }

    .footer-phone {
        font-size: 15px;
    }

    .footer-contact-button {
        padding: 0 11px;

        font-size: 8px;
    }
}


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

@media (prefers-reduced-motion: reduce) {

    .footer-social-link,
    .footer-nav a,
    .footer-nav a i,
    .footer-phone,
    .footer-email,
    .footer-contact-button,
    .footer-location-list a,
    .footer-credit a {
        transition: none;
    }

    .footer-social-link:hover,
    .footer-contact-button:hover {
        transform: none;
    }

    .footer-nav a:hover {
        padding-left: 0;
    }

    .footer-nav a:hover i {
        transform: none;
    }

    .footer-location-list a:hover {
        transform: none;
    }
}