/* ==========================================================================
   Footer (partials/footer-full + footer-minimal)
   Contact strip, brand + 4 link columns, slim bottom bar. Single centred column below 576px.
   ========================================================================== */

.footer-modern {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.72);
    font-family: "Roboto", sans-serif;
    background-color: #09212b;
    background-image:
        radial-gradient(60% 70% at 100% 0%, rgba(51, 189, 255, 0.10) 0%, rgba(51, 189, 255, 0) 70%),
        radial-gradient(40% 60% at 0% 100%, rgba(0, 156, 227, 0.08) 0%, rgba(0, 156, 227, 0) 70%);
}

/* Subtle top gradient hairline */
.footer-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(51, 189, 255, 0) 0%, #33BDFF 25%, #009ce3 75%, rgba(0, 156, 227, 0) 100%);
}

.footer-section {
    padding: clamp(48px, 6vw, 80px) 0 clamp(36px, 4vw, 56px);
}

/* --- Contact strip -------------------------------------------------------- */
.footer-contact-strip {
    list-style: none;
    margin: 0 0 clamp(40px, 5vw, 64px);
    padding: clamp(18px, 2.2vw, 26px) clamp(18px, 2.6vw, 32px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.footer-contact-strip__item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.footer-contact-strip__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(51, 189, 255, 0.14);
    color: #33BDFF;
    font-size: 1.3rem;
}

.footer-contact-strip__label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2px;
}

.footer-contact-strip__value {
    display: block;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    overflow-wrap: anywhere;
}

a.footer-contact-strip__value:hover,
a.footer-contact-strip__value:focus-visible {
    color: #33BDFF;
}

/* --- Columns -------------------------------------------------------------- */
.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) repeat(4, minmax(0, 1fr));
    gap: 40px clamp(24px, 3vw, 48px);
}

.footer-logo-box {
    display: inline-block;
    margin: 0;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
}

.footer-tagline {
    margin: 18px 0 22px;
    max-width: 300px;
    font-family: "DM Serif Display", serif;
    font-size: 1.15rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.86);
    text-wrap: balance;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 10px;
}

.social-link-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 1.15rem;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.social-link-item a:hover,
.social-link-item a:focus-visible {
    background: #33BDFF;
    border-color: #33BDFF;
    color: #09212b;
    transform: translateY(-2px);
}

.footer-heading {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 12px;
    font-family: "DM Serif Display", serif;
    font-size: 1.15rem;
    font-weight: 400;
    color: #ffffff;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: #33BDFF;
}

.footer-subheading {
    margin: 22px 0 10px;
    font-family: "Roboto", sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    margin-bottom: 4px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover,
.footer-link:focus-visible {
    color: #ffffff;
    transform: translateX(3px);
}

.footer-link--external i {
    margin-left: 6px;
    font-size: 0.8rem;
    opacity: 0.55;
}

/* --- Bottom bar ----------------------------------------------------------- */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
}

.footer-bottom__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.copyright-text {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.footer-bottom__inner .copyright-text {
    text-align: left;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-legal a:hover,
.footer-legal a:focus-visible {
    color: #33BDFF;
}

/* --- Minimal footer (landing pages, thank-you) ---------------------------- */
.footer-minimal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
}

.footer-minimal__links {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-modern--minimal .footer-section {
    padding: clamp(36px, 4vw, 52px) 0;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .footer-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .footer-brand {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px 32px;
    }

    .footer-tagline {
        margin: 0;
        flex: 1 1 260px;
    }
}

@media (max-width: 991.98px) {
    .footer-contact-strip {
        grid-template-columns: 1fr 1fr;
    }

    .footer-contact-strip__item:first-child {
        grid-column: 1 / -1;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .footer-contact-strip {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        flex-direction: column;
        gap: 16px;
    }

    .footer-tagline {
        flex: none;
        margin: 0 auto;
    }

    .social-links {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-link {
        justify-content: center;
    }

    .footer-link:hover,
    .footer-link:focus-visible {
        transform: none;
    }

    .footer-bottom__inner,
    .footer-minimal {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .footer-bottom__inner .copyright-text {
        text-align: center;
    }

    .footer-minimal__links {
        justify-content: center;
    }
}
