/* ==========================================
   FOOTER STYLES
   ========================================== */

.footer {
    background: #1e306e;
    color: white;
    padding: 70px 0 50px;
}

/* 4-column CSS Grid layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.5fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

/* ---- Brand Column ---- */
.footer-site-name {
    color: #3FA5A5 !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
}

.footer-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 0;
}

/* ---- Social Icons ---- */
.social {
    display: flex;
    gap: 10px;
    margin-top: 1.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3FA5A5;
    border-color: #3FA5A5;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(63, 165, 165, 0.4);
    color: white;
}

/* ---- Section Titles ---- */
.footer-title {
    color: white;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(63, 165, 165, 0.4);
}

/* ---- Quick Links ---- */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links .list-item {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: "›";
    color: #3FA5A5;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 4px;
}

.footer-links a:hover::before {
    transform: translateX(3px);
}

/* WordPress menu list items */
.footer-links li {
    margin-bottom: 0.6rem;
}

/* ---- Contact Info ---- */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact .list-item {
    margin-bottom: 1.1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(63, 165, 165, 0.15);
    border-radius: 8px;
    color: #3FA5A5;
    flex-shrink: 0;
    margin-top: 1px;
}

.footer-contact-item span:not(.footer-icon),
.footer-contact-item a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9375rem;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.25s ease;
    padding-top: 6px;
}

.footer-contact-item a:hover {
    color: white;
}

/* ---- Clinic Hours ---- */
.clinic-hours {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.clinic-hours .list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9375rem;
}

.clinic-hours .list-item:last-child {
    border-bottom: none;
}

.hours-day {
    color: white;
    font-weight: 500;
    min-width: 85px;
}

.hours-time {
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
}

.hours-time.closed {
    color: #F5A962;
    font-weight: 500;
}

/* ---- Book Appointment Button ---- */
.btn-book-appointment {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #E8954A, #F5A962);
    color: white !important;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(232, 149, 74, 0.3);
    margin-top: 1.5rem;
}

.btn-book-appointment:hover {
    background: linear-gradient(135deg, #d17f35, #E8954A);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(232, 149, 74, 0.45);
    color: white !important;
}

.btn-book-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: none !important;
    margin-top: 0.625rem !important;
}

.btn-book-secondary:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    box-shadow: none !important;
}

/* ---- Footer Bottom Bar ---- */
.footer-bottom {
    background: #121f4b;
    padding: 1.25rem 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.rights {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: white;
}

.footer-separator {
    color: rgba(255, 255, 255, 0.25);
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* Tablet (max 991px) — 2x2 grid */
@media (max-width: 991px) {
    .footer {
        padding: 50px 0 35px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem 2rem;
    }

    .footer-col-brand {
        grid-column: 1 / -1;
    }

    .footer-brand {
        max-width: 540px;
    }
}

/* Mobile (max 767px) — single column */
@media (max-width: 767px) {
    .footer {
        padding: 40px 0 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-col-brand {
        grid-column: auto;
    }

    .footer-site-name {
        font-size: 1.375rem !important;
    }

    .footer-title {
        text-align: center;
    }

    .clinic-hours {
        max-width: 280px;
        margin: 0 auto;
    }

    .footer-contact {
        max-width: 280px;
        margin: 0 auto;
    }

    .social {
        justify-content: flex-start;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    .btn-book-appointment {
        max-width: 240px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Small mobile (max 480px) */
@media (max-width: 480px) {
    .footer {
        padding: 30px 0 20px;
    }

    .footer-grid {
        gap: 1.75rem;
    }

    .clinic-hours .list-item {
        display: grid;
        grid-template-columns: 90px 1fr;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0;
        flex-direction: unset;
    }

    .hours-day {
        min-width: unset;
        font-size: 0.875rem;
    }

    .hours-time {
        text-align: right;
        font-size: 0.875rem;
    }
}