.footer { background: var(--text-dark); color: white; }

/* FIX: was grid-template-columns: 2fr 1fr 1fr 1.5fr hardcoded — on mobile this creates
   4 tiny columns that overflow. Responsive.css overrides per breakpoint.
   The old responsive.css targeted .footer-grid (wrong class — no such class in HTML).
   HTML uses .footer-top, so none of those responsive rules ever applied.
   Now aligned: CSS class matches HTML class (.footer-top). */
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; max-width: 1200px; margin: 0 auto; padding: 64px 24px; }

.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-logo span { font-size: 36px; }
.footer-logo .logo-main { color: var(--orange); font-size: 22px; }
.footer-logo .logo-sub { color: rgba(255,255,255,0.5); font-size: 12px; }
.footer-tagline { color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 24px; font-size: 15px; }
.footer-social { display: flex; gap: 12px; flex-wrap: wrap; }
.footer-social a { font-size: 22px; transition: transform 0.2s; display: block; }
.footer-social a:hover { transform: scale(1.2); }
.footer-links-group h4 { font-size: 15px; font-weight: 600; letter-spacing: 0.5px; margin-bottom: 20px; color: white; }
.footer-links-group ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links-group li, .footer-links-group a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links-group a:hover { color: var(--orange); }

/* FIX: footer-bottom was display:flex with no flex-wrap — on narrow screens the two sides
   could overflow. Added flex-wrap:wrap and gap so they stack on small screens. */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,0.5); }
.footer-bottom-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ========== PREMIUM FOOTER ENHANCEMENTS ========== */

/* Premium footer background */
.footer {
    background: linear-gradient(160deg, #1A1A1A 0%, #222222 50%, #1A1A1A 100%) !important;
    position: relative; overflow: hidden;
}
.footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #E8471A, #FF6B35, transparent);
}
.footer::after {
    content: ''; position: absolute; top: -80px; right: -80px;
    width: 300px; height: 300px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232,71,26,0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Footer links premium hover */
.footer-links-group a {
    position: relative; padding-left: 0;
    transition: all 0.25s ease !important;
}
.footer-links-group a::before {
    content: '→'; position: absolute; left: -16px;
    opacity: 0; transition: all 0.25s ease;
    color: #E8471A;
}
.footer-links-group a:hover {
    color: #E8471A !important;
    padding-left: 18px !important;
}
.footer-links-group a:hover::before { opacity: 1; left: 0; }

/* Footer brand tagline */
.footer-tagline {
    color: rgba(255,255,255,0.55) !important;
    line-height: 1.8 !important;
}

/* Footer bottom premium */
.footer-bottom {
    background: rgba(0,0,0,0.2);
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

/* Footer social premium icons */
.footer-social a {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex !important; align-items: center; justify-content: center;
    font-size: 18px !important;
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1) !important;
}
.footer-social a:hover {
    background: #E8471A !important;
    border-color: #E8471A !important;
    transform: scale(1.15) translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(232,71,26,0.35) !important;
}

/* Section heading in footer */
.footer-links-group h4 {
    color: white !important;
    position: relative; padding-bottom: 12px; margin-bottom: 20px !important;
}
.footer-links-group h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 28px; height: 2px;
    background: linear-gradient(90deg, #E8471A, #FF6B35);
    border-radius: 2px;
}
