@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

.sf-footer-wrapper {
    --sf-bg-dark: #070c18;
    --sf-bg-surface: #0f172a;
    --sf-bg-card: #1e293b;
    --sf-primary: #2563eb;
    --sf-primary-hover: #1d4ed8;
    --sf-accent: #38bdf8;
    --sf-text-main: #f8fafc;
    --sf-text-muted: #94a3b8;
    --sf-border: #1e293b;
    --sf-border-light: #334155;
    --sf-font-heading: 'Merriweather', Georgia, serif;
    --sf-font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

    background-color: var(--sf-bg-dark);
    color: var(--sf-text-main);
    font-family: var(--sf-font-body);
    line-height: 1.6;
    opacity: 1;
    visibility: visible;
    width: 100%;
    border-top: 1px solid var(--sf-border);
    box-sizing: border-box;
}

.sf-footer-wrapper *,
.sf-footer-wrapper *::before,
.sf-footer-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.sf-footer-wrapper .sf-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

.sf-footer-top {
    padding: 80px 0 60px 0;
}

.sf-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.25fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.sf-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 20px;
}

.sf-brand-logo {
    width: 28px;
    height: 28px;
    color: var(--sf-accent) !important;
    flex-shrink: 0;
}

.sf-brand-text {
    font-family: var(--sf-font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 0.02em;
}

.sf-brand-text span {
    color: var(--sf-accent) !important;
}

.sf-about-desc {
    color: var(--sf-text-muted) !important;
    font-size: 0.925rem;
    margin-bottom: 24px;
    max-width: 320px;
    line-height: 1.6;
}

.sf-social-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.sf-social-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--sf-bg-surface);
    border: 1px solid var(--sf-border-light);
    color: var(--sf-text-main) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.sf-social-btn:hover {
    background: var(--sf-primary);
    color: #ffffff !important;
    border-color: var(--sf-primary);
    transform: translateY(-3px);
}

.sf-social-btn svg {
    width: 20px;
    height: 20px;
}

.sf-col-title {
    font-family: var(--sf-font-heading);
    font-size: 1.1rem;
    color: #ffffff !important;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.sf-col-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--sf-accent);
    border-radius: 2px;
}

.sf-footer-links {
    list-style: none;
}

.sf-footer-links li {
    margin-bottom: 12px;
}

.sf-footer-links a {
    color: var(--sf-text-muted) !important;
    text-decoration: none;
    font-size: 0.925rem;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    min-height: 24px;
    line-height: 1.5;
}

.sf-footer-links a:hover {
    color: var(--sf-accent) !important;
    padding-left: 4px;
}

.sf-hours-list {
    list-style: none;
    margin-bottom: 20px;
}

.sf-hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--sf-border-light);
}

.sf-hours-list span {
    color: var(--sf-text-muted) !important;
}

.sf-hours-list strong {
    color: #ffffff !important;
    font-weight: 600;
    white-space: nowrap;
}

.sf-badge-closed {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171 !important;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.sf-appointment-note {
    display: flex;
    gap: 10px;
    background: rgba(56, 189, 248, 0.05);
    border: 1px solid rgba(56, 189, 248, 0.15);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.825rem;
    color: var(--sf-text-muted) !important;
    line-height: 1.4;
}

.sf-appointment-note svg {
    width: 20px;
    height: 20px;
    color: var(--sf-accent) !important;
    flex-shrink: 0;
}

.sf-contact-list {
    list-style: none;
}

.sf-contact-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 0.925rem;
    color: var(--sf-text-muted) !important; 
    word-break: break-word;
}

.sf-contact-list svg {
    width: 20px;
    height: 20px;
    color: var(--sf-accent) !important;
    flex-shrink: 0;
    margin-top: 2px;
}

.sf-contact-list a {
    color: var(--sf-text-muted) !important;
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
    min-height: 24px;
}

.sf-contact-list a:hover {
    color: #ffffff !important;
}

.sf-footer-bottom {
    background: var(--sf-bg-surface);
    padding: 24px 0;
    border-top: 1px solid var(--sf-border);
    font-size: 0.875rem;
}

.sf-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.sf-copyright {
    color: var(--sf-text-muted);
}

.sf-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sf-bottom-links a {
    color: var(--sf-text-muted) !important;
    text-decoration: none;
    transition: color 0.2s;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
}

.sf-bottom-links a:hover {
    color: var(--sf-accent) !important;
}

.sf-divider {
    color: var(--sf-border-light);
}

/* RESPONSIVE LAYOUT OPTIMIZATIONS */
@media (max-width: 1024px) {
    .sf-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }

    .sf-about-desc {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .sf-footer-wrapper .sf-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sf-footer-top {
        padding: 48px 0 36px 0;
    }

    .sf-footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sf-col-title {
        margin-bottom: 16px;
    }

    .sf-footer-bottom {
        padding: 20px 0;
    }

    .sf-bottom-flex {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        gap: 14px;
    }

    .sf-bottom-links {
        justify-content: center;
        gap: 8px 12px;
    }

    .sf-divider {
        display: inline-block;
    }
}

@media (max-width: 380px) {
    .sf-divider {
        display: none;
    }

    .sf-bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}