/* Site footer — responsive: mobile / tablet / laptop */

.site-footer,
.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer {
    --footer-navy: #07376e;
    --footer-teal: #095288;
    --footer-orange: #f39200;
    --footer-orange-dark: #d97d00;
    --footer-text: rgba(255, 255, 255, 0.92);
    --footer-text-muted: rgba(255, 255, 255, 0.72);
    --footer-heading: #ffffff;
    --footer-divider: rgba(255, 255, 255, 0.12);
    position: relative;
    width: 100%;
    max-width: 100%;
    margin-top: auto;
    overflow: hidden;
    isolation: isolate;
    background-color: #07376e;
    background-image: linear-gradient(
        180deg,
        #095288 0%,
        #07376e 48%,
        #052850 100%
    );
    font-family: "Montserrat", "Segoe UI", system-ui, sans-serif;
    color: var(--footer-text);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 2;
    background: linear-gradient(
        90deg,
        #095288 0%,
        #07376e 35%,
        var(--footer-orange) 50%,
        #07376e 65%,
        #052850 100%
    );
    pointer-events: none;
}

.site-footer::after {
    content: "";
    position: absolute;
    top: 8%;
    right: -5%;
    width: min(42rem, 55vw);
    height: 75%;
    opacity: 0.25;
    background-image: radial-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(135deg, black 20%, transparent 75%);
    pointer-events: none;
}

.site-footer__inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(2rem, 5vw, 3.75rem) clamp(1rem, 4vw, 2rem) clamp(1.25rem, 3vw, 2rem);
}

.site-footer__wrap,
.site-footer__card,
.site-footer__body,
.site-footer__content,
.site-footer__bg {
    display: none;
}

/* ── Grid: mobile first (1 column) ── */
.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2rem);
    align-items: start;
}

.site-footer__brand {
    text-align: center;
}

.site-footer__logo {
    width: clamp(7rem, 28vw, 11rem);
    height: auto;
    margin: 0 auto 1rem;
    display: block;
    object-fit: contain;
    background: transparent;
}

.site-footer__tagline {
    margin: 0 auto 1.25rem;
    max-width: min(100%, 22rem);
    font-size: clamp(0.84rem, 2.5vw, 0.9rem);
    line-height: 1.65;
    color: var(--footer-text);
    font-weight: 500;
}

.site-footer__social-label {
    margin: 0 0 0.75rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--footer-heading);
}

.site-footer__social {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    max-width: 100%;
}

.site-footer__social-link {
    display: grid;
    place-items: center;
    width: clamp(2.5rem, 8vw, 2.75rem);
    height: clamp(2.5rem, 8vw, 2.75rem);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.site-footer__social-link svg {
    width: 1.05rem;
    height: 1.05rem;
}

.site-footer__social-link:hover {
    border-color: var(--footer-orange);
    color: var(--footer-orange);
    background: rgba(255, 255, 255, 0.15);
}

.site-footer__col {
    text-align: center;
    padding-top: clamp(1.25rem, 3vw, 1.5rem);
    border-top: 1px solid var(--footer-divider);
}

.site-footer__brand {
    padding-top: 0;
    border-top: none;
}

.site-footer__heading-wrap {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto 1rem;
}

.site-footer__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    font-size: clamp(0.7rem, 2vw, 0.74rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--footer-heading);
}

.site-footer__heading-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--footer-orange);
    flex-shrink: 0;
}

.site-footer__heading-line {
    display: block;
    width: 2.5rem;
    height: 3px;
    margin-top: 0.45rem;
    margin-left: 1rem;
    border-radius: 2px;
    background: var(--footer-orange);
}

.site-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
}

.site-footer__links a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: clamp(0.84rem, 2.2vw, 0.9rem);
    font-weight: 500;
    color: var(--footer-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    word-break: break-word;
}

.site-footer__links a::before {
    content: ">";
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--footer-orange);
    line-height: 1;
    flex-shrink: 0;
}

.site-footer__links a:hover {
    color: #ffffff;
}

.site-footer__contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.site-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 20rem;
    font-size: clamp(0.82rem, 2.2vw, 0.88rem);
    line-height: 1.55;
    color: var(--footer-text-muted);
    text-align: left;
}

.site-footer__contact-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: clamp(2.4rem, 7vw, 2.75rem);
    height: clamp(2.4rem, 7vw, 2.75rem);
    border-radius: 50%;
    background: linear-gradient(145deg, var(--footer-orange) 0%, var(--footer-orange-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 18px rgba(243, 146, 0, 0.35);
}

.site-footer__contact-icon .material-symbols-outlined {
    font-size: 1.2rem;
}

.site-footer__contact-text {
    min-width: 0;
    flex: 1;
}

.site-footer__contact a {
    color: var(--footer-text-muted);
    text-decoration: none;
    font-weight: 500;
    word-break: break-word;
    transition: color 0.2s ease;
}

.site-footer__contact a:hover {
    color: #ffbe2e;
}

.site-footer__contact-line {
    display: block;
}

.site-footer__legal {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: clamp(1rem, 3vw, 2rem) 0 0;
    padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 4vw, 2rem) clamp(1.25rem, 3vw, 2.25rem);
    text-align: center;
    background: linear-gradient(
        90deg,
        #000d1a 0%,
        #001428 42%,
        #001428 58%,
        #000d1a 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.site-footer__legal p {
    margin: 0;
    font-size: clamp(0.68rem, 2.2vw, 0.78rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.65;
    max-width: min(100%, 36rem);
    word-break: break-word;
}

.site-footer__legal a {
    font-weight: 700;
    color: #ffbe2e;
    text-decoration: none;
}

.site-footer__legal a:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── Tablet (640px+) ── */
@media (min-width: 640px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: clamp(1.75rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__col--contact {
        grid-column: 1 / -1;
    }

    .site-footer__col {
        padding-top: 0;
        border-top: none;
    }

    .site-footer__contact {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem 2rem;
    }

    .site-footer__contact li {
        width: auto;
        max-width: min(100%, 18rem);
        flex: 1 1 16rem;
    }
}

/* ── Tablet landscape (768px+) ── */
@media (min-width: 768px) and (max-width: 1023px) {
    .site-footer__inner {
        padding-left: clamp(1.5rem, 4vw, 2.5rem);
        padding-right: clamp(1.5rem, 4vw, 2.5rem);
    }

    .site-footer__tagline {
        max-width: min(100%, 28rem);
    }

    .site-footer__contact li {
        flex: 1 1 14rem;
        max-width: none;
    }
}

/* ── Laptop (1024px+) ── */
@media (min-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: minmax(12rem, 1.35fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.2fr);
        gap: 0 clamp(1.5rem, 2.5vw, 2.5rem);
    }

    .site-footer__brand {
        grid-column: auto;
        text-align: left;
    }

    .site-footer__logo {
        margin-left: 0;
        margin-right: 0;
    }

    .site-footer__tagline {
        margin-left: 0;
        margin-right: 0;
        max-width: 17rem;
    }

    .site-footer__social {
        justify-content: flex-start;
    }

    .site-footer__col {
        text-align: left;
        border-left: 1px solid var(--footer-divider);
        padding-left: clamp(1.25rem, 2vw, 2.5rem);
    }

    .site-footer__col--contact {
        grid-column: auto;
    }

    .site-footer__heading-wrap {
        align-items: flex-start;
        margin-left: 0;
        margin-right: 0;
    }

    .site-footer__links {
        align-items: flex-start;
    }

    .site-footer__contact {
        align-items: flex-start;
        flex-direction: column;
        gap: 1.15rem;
    }

    .site-footer__contact li {
        max-width: none;
        flex: none;
        width: 100%;
    }
}

@media (min-width: 1280px) {
    .site-footer__grid {
        grid-template-columns: minmax(14rem, 1.4fr) 1fr 0.9fr 1.25fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer__social-link:hover,
    .site-footer__links a:hover {
        transition: none;
    }
}
