/* =========================================
   APPOINTMENT CTA
========================================= */

.appointment-cta {
    position: relative;

    min-height: 305px;

    display: flex;
    align-items: center;

    background-size: cover;
    background-position: center;

    overflow: hidden;
}


/* Dark blue overlay */

.appointment-cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(7, 28, 104, 0.90);

    z-index: 1;
}


/* Content */

.appointment-cta-content {
    position: relative;
    z-index: 2;

    text-align: center;

    color: #ffffff;
}

.appointment-eyebrow {
    margin: 0 0 12px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
}

.appointment-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: 32px;
    font-weight: 500;

    line-height: 1.2;
}


/* White divider */

.appointment-divider {
    width: 48px;
    height: 1px;

    margin: 22px auto 24px;

    background: #ffffff;
}


/* Appointment button */

.appointment-btn {
    min-width: 275px;
    min-height: 50px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 12px 25px;

    color: #ffffff;

    background: transparent;

    border: 1px solid #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease;
}

.appointment-btn:hover {
    color: #071c68;

    background: #ffffff;
}


/* =========================================
   FAQ SECTION
========================================= */

.faq-section {
    padding: 75px 0 100px;

    background: #f1f1f1;

    color: #071c68;
}


/* =========================================
   FAQ HEADING
========================================= */

.faq-heading {
    margin-bottom: 28px;

    text-align: center;
}

.faq-heading h2 {
    margin: 0;

    color: #071c68;

    font-size: 32px;
    font-weight: 500;

    line-height: 1.2;
}

.faq-heading-divider {
    width: 48px;
    height: 1px;

    margin: 20px auto 0;

    background: #071c68;
}


/* =========================================
   FAQ GRID
========================================= */

.faq-grid {
    max-width: 950px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 13px 16px;

    align-items: start;
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
    width: 100%;

    background: #ffffff;
}


/* =========================================
   QUESTION
========================================= */

.faq-question {
    width: 100%;
    min-height: 70px;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 15px 12px;

    color: #071c68;
    background: #ffffff;

    border: 0;

    font-family: inherit;
    font-size: 15px;
    font-weight: 500;

    line-height: 1.45;

    text-align: left;

    cursor: pointer;
}

.faq-question:hover {
    background: #fafafa;
}


/* =========================================
   PLUS ICON
========================================= */

.faq-icon {
    flex: 0 0 auto;

    color: #071c68;

    font-size: 24px;
    font-weight: 400;

    line-height: 1;

    transition: transform 0.25s ease;
}


/* =========================================
   ANSWER
========================================= */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    overflow: hidden;

    transition: grid-template-rows 0.3s ease;
}

.faq-answer-inner {
    min-height: 0;

    overflow: hidden;
}

.faq-answer p {
    margin: 0;

    padding: 0 18px 20px;

    color: #333333;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================
   OPEN FAQ
========================================= */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {

    .appointment-cta {
        min-height: 280px;
    }

    .appointment-cta h2 {
        font-size: 29px;
    }

    .faq-section {
        padding: 65px 0 80px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .appointment-cta {
        min-height: 280px;

        padding: 45px 0;
    }

    .appointment-eyebrow {
        font-size: 13px;
    }

    .appointment-cta h2 {
        font-size: 27px;
    }

    .appointment-btn {
        min-width: 0;

        width: 100%;
        max-width: 280px;
    }


    /* FAQ */

    .faq-section {
        padding: 55px 0 65px;
    }

    .faq-heading h2 {
        font-size: 28px;
    }

    .faq-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .faq-question {
        min-height: 65px;

        padding: 14px 15px;

        font-size: 14px;
    }

}

/* =========================================
   LOCATION MAPS
========================================= */

.locations-map-section {
    width: 100%;
    background: #f1f1f1;
}

.locations-map-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

/* If only one location is displayed */

.locations-map-grid.single-location {
    grid-template-columns: 1fr;
}

.location-map {
    width: 90%;
    height: 320px;
    overflow: hidden;
    margin-left: 40px;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}


/* Mobile */

@media (max-width: 700px) {
    .locations-map-grid {
        grid-template-columns: 1fr;
    }
    .location-map {
        height: 350px;
    }

}

/* =========================================
   FOOTER
========================================= */

.site-footer {
    position: relative;

    width: 100%;

    color: #ffffff;
    background: #071c68;

    overflow: hidden;
}


/* =========================================
   DECORATIVE BACKGROUND
========================================= */

.footer-bg-decoration {
    position: absolute;

    right: -20px;
    top: 0;

    width: 520px;
    height: auto;

    opacity: 0.12;

    pointer-events: none;
    user-select: none;

    z-index: 0;
}


/* =========================================
   MAIN FOOTER
========================================= */

.footer-main {
    position: relative;
    z-index: 1;

    min-height: 500px;

    display: grid;

    grid-template-columns: 480px 1fr;

    gap: 60px;

    padding-top: 80px;
    padding-bottom: 55px;
}


/* =========================================
   LEFT SIDE
========================================= */

.footer-clinic-info {
    padding-right: 70px;

    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-clinic-info h2 {
    margin: 0 0 25px;

    color: #ffffff;

    font-size: 24px;
    font-weight: 700;
}


/* =========================================
   LOCATIONS
========================================= */

.footer-location p {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin: 0 0 10px;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.4;
}

.footer-location a {
    color: #ffffff;

    text-decoration: none;
}

.footer-location a:hover {
    text-decoration: underline;
}

.footer-icon {
    flex: 0 0 12px;

    color: #ffffff;

    font-size: 12px;
}


/* Line between locations */

.footer-location-divider {
    width: 100%;
    height: 1px;

    margin: 15px 0;

    background: rgba(255, 255, 255, 0.35);
}


/* =========================================
   DESCRIPTION
========================================= */

.footer-description {
    max-width: 390px;

    margin: 28px 0 25px;

    color: #ffffff;

    font-size: 13px;
    line-height: 1.45;
}


/* =========================================
   SOCIAL ICONS
========================================= */

.footer-social {
    display: flex;

    gap: 8px;
}

.footer-social a {
    width: 28px;
    height: 28px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #071c68;
    background: #ffffff;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.footer-social a:hover {
    color: #ffffff;

    background: #ed1111;
}


/* =========================================
   RIGHT SIDE
========================================= */

.footer-right {
    padding: 80px 0 0 0;
}


/* =========================================
   ACTION BUTTONS
========================================= */

.footer-actions {
    display: flex;

    gap: 28px;

    margin-bottom: 35px;
}

.footer-action-btn {
    min-width: 100px;
    height: 40px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 8px 18px;

    color: #ffffff;
    background: #ed1111;

    font-size: 17px;
    font-weight: 700;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.footer-action-btn:hover {
    color: #ffffff;

    background: #c90d0d;

    transform: translateY(-2px);
}


/* =========================================
   HOURS BOX
========================================= */

.footer-hours {
    width: 390px;
    max-width: 100%;

    padding: 28px 28px 20px;

    background: rgba(25, 74, 145, 0.72);

    border: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-hours h3 {
    margin: 0 0 18px;

    color: #ffffff;

    font-size: 16px;
    font-weight: 700;

    letter-spacing: 1.5px;
}


/* Hours row */

.hours-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 10px 0;

    color: #ffffff;

    font-size: 13px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.hours-row:last-child {
    border-bottom: 0;
}

.hours-row > div {
    display: flex;

    align-items: center;

    gap: 10px;
}

.clock-icon {
    opacity: 0.75;
}


/* =========================================
   BOTTOM COPYRIGHT
========================================= */

.footer-bottom {
    position: relative;
    z-index: 2;

    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom-inner {
    min-height: 85px;

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;
}

.footer-bottom p {
    margin: 0;

    color: #ffffff;

    font-size: 12px;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .footer-main {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .footer-clinic-info {
        padding-right: 40px;
    }

    .footer-right {
        padding-top: 60px;
    }

    .footer-actions {
        gap: 12px;

        flex-wrap: wrap;
    }

    .footer-bg-decoration {
        width: 450px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {

    .footer-main {
        display: block;

        min-height: auto;

        padding-top: 55px;
        padding-bottom: 50px;
    }


    /* Left */

    .footer-clinic-info {
        padding: 0 0 45px;

        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .footer-clinic-info h2 {
        font-size: 22px;
    }


    /* Right */

    .footer-right {
        padding-top: 40px;
    }


    /* Buttons */

    .footer-actions {
        display: grid;

        grid-template-columns: repeat(3, 1fr);

        gap: 10px;
    }

    .footer-action-btn {
        min-width: 0;

        padding: 10px;

        font-size: 15px;
    }


    /* Hours */

    .footer-hours {
        width: 100%;
    }


    /* Decoration */

    .footer-bg-decoration {
        width: 400px;

        right: -190px;

        opacity: 0.07;
    }


    /* Copyright */

    .footer-bottom-inner {
        min-height: 75px;

        padding: 15px 0;
    }

    .footer-bottom p {
        line-height: 1.6;
    }

}