/* ==========================================================================
   Enterprise Footer Styles
   ========================================================================== */
.global-footer {
    position: relative;
    font-family: var(--font-heading);
    color: #9DAABB;
    background:
        radial-gradient(ellipse 50% 60% at 0% 100%, rgba(234, 88, 12, 0.1), transparent 70%),
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 64px 64px,
        #08111E;
}

.global-footer .footer-container {
    width: min(92%, var(--container));
    margin: 0 auto;
}

.global-footer h5 {
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-white);
}

/* --------------------------------------------------------------------------
   Brand strip: light band so the full-colour logo sits naturally (no plate)
   -------------------------------------------------------------------------- */
.global-footer .footer-brand-strip {
    background: var(--clr-white);
    border-top: 3px solid var(--clr-accent);
    border-bottom: 1px solid var(--clr-line);
}

.global-footer .footer-brand-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2.5rem;
    padding-block: 1.75rem;
}

.global-footer .footer-logo {
    display: block;
    height: 52px;
    width: auto;
}

.global-footer .footer-tagline {
    flex: 1;
    max-width: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--clr-text-muted);
}

.global-footer .footer-tagline span { color: var(--clr-accent); margin-inline: 0.35rem; }

.global-footer .social-links {
    display: flex;
    gap: 0.6rem;
}

.global-footer .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--clr-primary);
    background-color: var(--clr-bg-light);
    border: 1px solid var(--clr-line);
    transition: background-color var(--transition-fast), color var(--transition-fast),
                border-color var(--transition-fast), transform var(--transition-fast);
}

.global-footer .social-icon:hover {
    color: var(--clr-white);
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Link columns
   -------------------------------------------------------------------------- */
.global-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 3rem;
    padding-block: clamp(3.5rem, 6vw, 4.5rem) 3rem;
}

.global-footer .footer-about {
    max-width: 38ch;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.75;
}

.global-footer .footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.3rem;
    font-weight: 600;
    color: var(--clr-white);
    border-bottom: 2px solid var(--clr-accent);
}

.global-footer .footer-cta svg { transition: transform var(--transition-fast); }
.global-footer .footer-cta:hover { color: var(--clr-accent-soft); }
.global-footer .footer-cta:hover svg { transform: translateX(4px); }

.global-footer .footer-links li + li { margin-top: 0.8rem; }

.global-footer .footer-links a {
    position: relative;
    display: inline-block;
    font-size: 0.95rem;
    color: #9DAABB;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.global-footer .footer-links a:hover {
    color: var(--clr-white);
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   Global offices row
   -------------------------------------------------------------------------- */
.global-footer .footer-offices {
    padding-block: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.global-footer .footer-office-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.global-footer .footer-office-list li {
    position: relative;
    padding: 1.1rem 1.25rem 1.1rem 2.9rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.global-footer .footer-office-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(253, 186, 116, 0.35);
}

/* Map pin */
.global-footer .footer-office-list li::before {
    content: "";
    position: absolute;
    left: 1.1rem;
    top: 1.2rem;
    width: 16px;
    height: 16px;
    background: var(--clr-accent-soft);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11a7 7 0 0 1 14 0c0 4.8-7 11-7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.global-footer .footer-office-region {
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--clr-accent-soft);
}

.global-footer .footer-office-list strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--clr-white);
}

.global-footer .footer-office-list address {
    margin-top: 0.2rem;
    font-family: var(--font-body);
    font-size: 0.86rem;
    color: #8595A9;
}

/* --------------------------------------------------------------------------
   Bottom bar
   -------------------------------------------------------------------------- */
.global-footer .footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    padding-block: 1.75rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.88rem;
}

.global-footer .footer-bottom p { margin: 0; max-width: none; }

.global-footer .footer-web {
    margin-left: auto;
    color: #9DAABB;
}

.global-footer .footer-web:hover { color: var(--clr-white); }

.global-footer .staff-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--clr-white);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--radius);
    transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

/* Padlock icon */
.global-footer .staff-login-btn::before {
    content: "";
    width: 13px;
    height: 13px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.global-footer .staff-login-btn:hover {
    background-color: var(--clr-accent);
    border-color: var(--clr-accent);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .global-footer .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
    .global-footer .footer-col-about { grid-column: 1 / -1; }
    .global-footer .footer-office-list { grid-template-columns: 1fr 1fr; }
    .global-footer .footer-tagline { display: none; }
}

@media (max-width: 600px) {
    .global-footer .footer-brand-inner { flex-direction: column; text-align: center; }
    .global-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
    .global-footer .footer-office-list { grid-template-columns: 1fr; }
    .global-footer .footer-bottom { flex-direction: column; text-align: center; }
    .global-footer .footer-web { margin-left: 0; }
    .global-footer .staff-login-btn { width: auto; }
}
