/* ===== Footer ===== */
.footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 0.92rem;
}
.footer-grid {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}
.footer-brand h2 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    color: #fff;
}
.footer-brand p {
    color: #94a3b8;
    line-height: 1.65;
    margin-bottom: 1.25rem;
    max-width: 340px;
}
.footer-title {
    font-weight: 600;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    color: #fff;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.7rem;
}
.footer-links a,
.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s;
}
.footer-links a:hover,
.footer-contact a:hover {
    color: #4ade80;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: #94a3b8;
    margin-bottom: 0.9rem;
    line-height: 1.5;
}
.footer-contact .fc-icon {
    flex-shrink: 0;
    width: 1.25rem;
    text-align: center;
}
.footer-social {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.2s;
    text-decoration: none;
    color: #e2e8f0;
}
.footer-social a:hover {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    max-width: 1240px;
    margin: 3rem auto 0;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.83rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Footer responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1rem 1.5rem;
        margin-top: 3rem;
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.25rem;
    }
    .footer-brand,
    .footer-grid > div:last-child {
        grid-column: 1 / -1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.4rem;
    }
}

/* ===== Contact Us modal ===== */
.contact-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}
.contact-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.contact-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -46%) scale(0.98);
    background: #fff;
    color: #1e293b;
    border-radius: 16px;
    width: min(92vw, 420px);
    padding: 1.75rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1000;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.contact-modal.open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}
.contact-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.contact-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin: 0;
}
.contact-modal-sub {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.2rem;
}
.contact-modal-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
    color: #64748b;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.contact-modal-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.contact-modal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.contact-modal-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    color: #475569;
    font-size: 0.92rem;
    transition: border-color 0.15s, background 0.15s;
}
.contact-modal-list li:hover {
    border-color: #bbf7d0;
    background: #f0fdf4;
}
.contact-modal-list .cm-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-modal-list a {
    color: #0f172a;
    font-weight: 500;
    text-decoration: none;
    word-break: break-word;
}
.contact-modal-list a:hover {
    color: #15803d;
}
@media (max-width: 480px) {
    .contact-modal {
        padding: 1.4rem;
    }
}
