/* ===== DRAIN WILLIAM — FOOTER ===== */
.footer-section {
    background: var(--blue-950);
    color: rgba(255,255,255,0.75);
    position: relative;
}
.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 4rem 28px 2.5rem;
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 3rem;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.footer-logo img {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}
.footer-brand-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.footer-brand-sub {
    display: block;
    font-size: 0.68rem;
    color: rgba(255,255,255,0.38);
    margin-top: 4px;
    letter-spacing: 0.04em;
}
.footer-social {
    display: flex;
    gap: 0.6rem;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icon:hover { background: var(--red); color: #fff; border-color: var(--red); }

.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 2.5rem;
}
@media (max-width: 900px) { .footer-content { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-content { grid-template-columns: 1fr; } }

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.25rem;
}
.footer-list { list-style: none; }
.footer-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    font-size: 0.86rem;
    line-height: 1.5;
}
.footer-list i { margin-top: 2px; color: var(--red); font-size: 0.75rem; flex-shrink: 0; }
.footer-list a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 0.2s; }
.footer-list a:hover { color: #fff; }
.muted-inline { color: rgba(255,255,255,0.38); font-size: 0.78rem; }
.footer-address {
    margin-top: 0.85rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.65;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.55rem; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.footer-links a::before {
    content: '—';
    color: var(--red);
    font-size: 0.7rem;
    flex-shrink: 0;
}
.footer-links a:hover { color: #fff; }

.newsletter-description {
    font-size: 0.84rem;
    line-height: 1.68;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.25rem;
}
.footer-cta { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-cta .btn { justify-content: center; text-align: center; font-size: 0.86rem; border-radius: var(--r-sm); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.25rem 28px;
    text-align: center;
}
.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.01em;
}

/* ── Emergency float button ── */
.emergency-float {
    position: fixed;
    bottom: 5.5rem;
    left: 1.5rem;
    z-index: 1000;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    padding: 0.72rem 1.15rem 0.72rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(200,24,31,0.55);
    animation: ef-pulse 2.4s ease-in-out infinite;
}
.emergency-float i { font-size: 0.9rem; }
.emergency-float-text { white-space: nowrap; }

.emergency-float-ring {
    position: absolute;
    inset: 0;
    border-radius: 50px;
    border: 2px solid rgba(200,24,31,0.65);
    animation: ef-ring 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes ef-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(200,24,31,0.55); }
    50%       { box-shadow: 0 6px 30px rgba(200,24,31,0.80); }
}
@keyframes ef-ring {
    0%   { transform: scale(1);    opacity: 0.8; }
    70%  { transform: scale(1.24); opacity: 0;   }
    100% { transform: scale(1.24); opacity: 0;   }
}

.scroll-top-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    background: var(--blue-900);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    z-index: 999;
    transition: background 0.2s, transform 0.2s;
}
.scroll-top-btn:hover { background: var(--blue-800); transform: translateY(-2px); }
.scroll-top-btn.visible { display: flex; }
