
/* ==========================================
   AS PROJECT STUDIO
   PREMIUM FOOTER — REFINED TYPOGRAPHY
========================================== */

.as-site-footer {
    --footer-bg: #0b182a;
    --footer-text: #d2dce7;
    --footer-teal: #58c6cd;

    width: 100%;
    background: var(--footer-bg);
    color: #ffffff;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.as-site-footer *,
.as-site-footer *::before,
.as-site-footer *::after {
    box-sizing: border-box;
}

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

.as-footer-container {
    width: min(1440px, calc(100% - 64px));
    margin-inline: auto;
}

/* ==========================================
   FOUR-COLUMN LAYOUT
========================================== */

.as-footer-main {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, .7fr)
        minmax(0, 1.1fr)
        minmax(0, 1fr);

    column-gap: clamp(30px, 3.5vw, 65px);
    row-gap: 48px;

    padding: 80px 0 70px;
}

/* ==========================================
   COMPANY LOGO
========================================== */

.as-footer-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 25px;
}

.as-footer-logo img {
    display: block;

    width: auto;
    max-width: 235px;
    height: 70px;

    object-fit: contain;
    object-position: left center;
}

/* ==========================================
   COMPANY DESCRIPTION
========================================== */

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

    color: var(--footer-text);

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;

    margin: 0 0 26px;
}

/* EMAIL ADDRESS */

.as-footer-email {
    display: inline-block;

    color: #ffffff;

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;

    text-decoration: none;
    overflow-wrap: anywhere;

    transition: color .2s ease;
}

.as-footer-email:hover {
    color: var(--footer-teal);
}

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

.as-footer-column h2 {
    color: #ffffff;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;

    margin: 0 0 28px;
}

/* ==========================================
   FOOTER NAVIGATION
========================================== */

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

    gap: 16px;
}

.as-footer-column nav a {
    color: var(--footer-text);

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0;

    text-decoration: none;

    transition: color .2s ease;
}

.as-footer-column nav a:hover {
    color: var(--footer-teal);
}

/* ==========================================
   CONTACT COLUMN
========================================== */

.as-footer-contact > p {
    max-width: 300px;

    color: var(--footer-text);

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;

    margin: 0 0 24px;
}

/* DISCOVERY CALL BUTTON */

.as-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 13px 18px;

    background: #087f8c;
    color: #ffffff;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;

    text-align: center;
    text-decoration: none;

    border-radius: 7px;

    transition:
        background .2s ease,
        transform .2s ease;
}

.as-footer-cta:hover {
    background: #0b9eaa;
    color: #ffffff;
    transform: translateY(-2px);
}

/* RESOURCES LINK */

.as-footer-resources {
    display: block;
    width: fit-content;

    margin-top: 26px;

    color: var(--footer-text);

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;

    text-decoration: none;

    transition: color .2s ease;
}

.as-footer-resources:hover {
    color: var(--footer-teal);
}

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

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

    flex-wrap: wrap;
    gap: 25px;

    padding: 27px 0 32px;

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

.as-footer-copyright {
    color: var(--footer-text);

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;

    margin: 0;
}

.as-footer-copyright strong {
    color: #ffffff;
    font-weight: 600;
}

/* LEGAL NAVIGATION */

.as-footer-legal {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 25px;
}

.as-footer-legal a {
    color: var(--footer-text);

    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;

    text-decoration: none;

    transition: color .2s ease;
}

.as-footer-legal a:hover {
    color: var(--footer-teal);
}

/* ==========================================
   ACCESSIBILITY
========================================== */

.as-site-footer a:focus-visible {
    outline: 3px solid var(--footer-teal);
    outline-offset: 4px;
}

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

@media (max-width: 1050px) {

    .as-footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 50px;

        padding: 70px 0 60px;
    }
}

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

@media (max-width: 600px) {

    .as-footer-container {
        width: calc(100% - 32px);
    }

    .as-footer-main {
        grid-template-columns: 1fr;
        gap: 38px;

        padding: 55px 0 48px;
    }

    .as-footer-logo img {
        max-width: 205px;
        height: 62px;
    }

    .as-footer-description,
    .as-footer-contact > p {
        max-width: 100%;
    }

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

    .as-footer-column nav {
        gap: 14px;
    }

    .as-footer-bottom {
        flex-direction: column;
        align-items: flex-start;

        gap: 17px;
        padding: 25px 0 30px;
    }

    .as-footer-legal {
        gap: 18px;
    }
}

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

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

    .as-site-footer *,
    .as-site-footer *::before,
    .as-site-footer *::after {
        transition: none !important;
    }
}
