* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    background: #ffffff;

    color: #08151d;

    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


/* =========================
   NAVIGATION
========================= */

.navbar {
    min-height: 80px;

    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-brand {
    color: #08151d;

    font-size: 1.25rem;
}

.nav-link {
    margin: 0 8px;

    color: #343434;

    font-weight: 500;
}

.nav-link:hover,
.nav-link.active {
    color: #ff412d;
}

.appointment-button {
    padding: 12px 24px;

    background: #ff412d;

    border: 1px solid #ff412d;
    border-radius: 999px;

    color: #ffffff;

    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.appointment-button:hover {
    background: #e73523;
    border-color: #e73523;

    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================
   WELCOME SECTION
========================= */

.welcome-section {
    padding: 70px 0;
}

.welcome-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #ff412d;

    font-size: 1rem;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.welcome-title {
    max-width: 760px;

    margin: 0;

    color: #08151d;

    font-size: clamp(2.8rem, 4vw, 4.5rem);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -1.5px;
}

.welcome-description {
    max-width: 720px;

    margin-top: 25px;
    margin-bottom: 0;

    color: #526067;

    font-size: 1.15rem;

    line-height: 1.8;
}


/* =========================
   BUTTONS
========================= */

.clinic-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    border-radius: 999px;

    font-size: 1rem;
    font-weight: 600;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.btn-primary {
    background: #ff412d;

    border-color: #ff412d;
}

.btn-primary:hover {
    background: #e73523;

    border-color: #e73523;

    transform: translateY(-2px);
}

.btn-outline-dark {
    border-width: 2px;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}


/* =========================
   DOCTOR IMAGE
========================= */

.doctor-image-wrapper {
    width: 100%;
    max-width: 420px;

    margin-left: auto;

    padding: 8px;

    background: #ffffff;

    border: 1px solid #e2e6e8;
    border-radius: 18px;

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.doctor-image {
    display: block;

    width: 100%;
    height: auto;

    border-radius: 12px;

    object-fit: cover;
}


/* =========================
   SERVICES
========================= */

.services-section {
    padding: 20px 0 80px;
}

.service-card {
    position: relative;

    overflow: hidden;

    height: 100%;
    min-height: 470px;

    padding: 45px 32px;

    background: #ffffff;

    border: 1px solid #e8ebed;
    border-radius: 20px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color: #dddddd;

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.08);
}


/* SERVICE NUMBER */

.service-number {
    position: absolute;

    top: 5px;
    right: -10px;

    z-index: 0;

    color: transparent;

    font-size: 15rem;
    font-weight: 300;
    line-height: 1;

    -webkit-text-stroke: 1px #eef0f1;

    pointer-events: none;
    user-select: none;
}


/* SERVICE ICON */

.service-icon {
    position: relative;

    z-index: 2;

    margin-bottom: 58px;

    color: #ff412d;

    font-size: 3rem;
    line-height: 1;
}


/* SERVICE TITLE */

.service-title {
    position: relative;

    z-index: 2;

    min-height: 70px;

    margin-bottom: 18px;

    color: #08151d;

    font-size: 1.6rem;
    font-weight: 700;

    line-height: 1.3;
}


/* SERVICE DESCRIPTION */

.service-description {
    position: relative;

    z-index: 2;

    min-height: 135px;

    margin-bottom: 24px;

    color: #6d7474;

    font-size: 1.05rem;

    line-height: 1.75;
}


/* SERVICE LINK */

.service-link {
    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    gap: 12px;

    color: #686f6f;

    font-size: 1rem;
    font-weight: 700;

    text-decoration: none;

    transition: color 0.2s ease;
}

.service-link:hover {
    color: #ff412d;
}

.service-link span {
    transition: transform 0.2s ease;
}

.service-link:hover span {
    transform: translate(3px, -3px);
}


/* =========================
   TABLET
========================= */

@media (max-width: 1199px) {

    .welcome-section {
        padding: 60px 0;
    }

    .welcome-title {
        font-size: 3.8rem;
    }

    .service-card {
        min-height: 430px;
    }

    .service-description {
        min-height: 110px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {

    .welcome-section {
        padding: 50px 0;
    }

    .welcome-title {
        font-size: 3rem;
    }

    .welcome-description {
        font-size: 1.1rem;
    }

    .doctor-image-wrapper {
        max-width: 380px;

        margin-left: 0;
        margin-right: auto;
    }

    .services-section {
        padding-top: 10px;
        padding-bottom: 60px;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 576px) {

    .welcome-section {
        padding: 35px 0;
    }

    .welcome-label {
        margin-bottom: 14px;

        font-size: 0.9rem;
    }

    .welcome-title {
        font-size: 2.4rem;

        letter-spacing: -1px;
    }

    .welcome-description {
        font-size: 1rem;

        line-height: 1.65;
    }

    .clinic-button {
        width: 100%;
    }

    .doctor-image-wrapper {
        max-width: 100%;
    }

    .services-section {
        padding: 10px 0 45px;
    }

    .service-card {
        min-height: auto;

        padding: 35px 28px;
    }

    .service-number {
        font-size: 12rem;
    }

    .service-icon {
        margin-bottom: 40px;
    }

    .service-title {
        min-height: auto;
    }

    .service-description {
        min-height: auto;
    }

}

/* =========================
   ABOUT FINI
========================= */

.about-section {
    position: relative;
    overflow: hidden;

    padding: 80px 0 90px;

    background: #ffffff;
}


/* SECTION LABEL */

.about-label {
    display: inline-block;

    margin-bottom: 18px;

    color: #ff412d;

    font-size: 1.1rem;
    font-weight: 700;
}


/* LARGE HEADING */

.about-title {
    max-width: 1100px;

    margin: 0;

    color: #08151d;

    font-size: clamp(2.8rem, 4.5vw, 4.8rem);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -2px;
}


/* IMAGE + CONTENT ROW */

.about-content-row {
    margin-top: 70px;
}


/* IMAGE */

.about-image-wrapper {
    width: 100%;

    overflow: hidden;

    border-radius: 18px;
}

.about-image {
    display: block;

    width: 100%;
    height: 520px;

    object-fit: cover;
}


/* ABOUT TEXT */

.about-content {
    padding-left: 25px;
}

.about-description {
    margin: 0;

    color: #6a7272;

    font-size: 1.15rem;

    line-height: 1.8;
}


/* POINTS */

.about-points {
    margin-top: 45px;
}

.about-point-number {
    display: flex;

    width: 66px;
    height: 66px;

    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border: 1.5px solid #08151d;
    border-radius: 50%;

    color: #08151d;

    font-size: 1.35rem;
    font-weight: 700;
}

.about-point h3 {
    margin: 0;

    color: #08151d;

    font-size: 1.25rem;
    font-weight: 700;

    line-height: 1.45;
}


/* ABOUT BUTTON */

.about-button {
    margin-top: 45px;

    min-width: 200px;
}


/* =========================
   ABOUT TABLET
========================= */

@media (max-width: 1199px) {

    .about-section {
        padding: 70px 0;
    }

    .about-title {
        font-size: 3.6rem;
    }

    .about-image {
        height: 460px;
    }

    .about-content {
        padding-left: 10px;
    }

}


/* =========================
   ABOUT MOBILE
========================= */

@media (max-width: 991px) {

    .about-section {
        padding: 60px 0;
    }

    .about-title {
        font-size: 3rem;
    }

    .about-content-row {
        margin-top: 45px;
    }

    .about-image {
        height: auto;
    }

    .about-content {
        padding-left: 0;
    }

}


/* =========================
   ABOUT SMALL MOBILE
========================= */

@media (max-width: 576px) {

    .about-section {
        padding: 45px 0;
    }

    .about-title {
        font-size: 2.35rem;

        letter-spacing: -1px;
    }

    .about-description {
        font-size: 1rem;

        line-height: 1.7;
    }

    .about-points {
        margin-top: 30px;
    }

    .about-point-number {
        width: 56px;
        height: 56px;

        margin-bottom: 16px;
    }

    .about-point h3 {
        font-size: 1.1rem;
    }

}

/* =========================
   COMMITMENT / STATS
========================= */

.commitment-section {
    padding: 95px 0 105px;

    background: #ffffff;
}


/* =========================
   LEFT CONTENT
========================= */

.commitment-content {
    max-width: 650px;
}

.commitment-title {
    margin: 0;

    color: #08151d;

    font-size: clamp(3rem, 4vw, 4.7rem);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -2px;
}

.commitment-description {
    max-width: 620px;

    margin-top: 45px;
    margin-bottom: 0;

    color: #707777;

    font-size: 1.15rem;

    line-height: 1.75;
}


/* =========================
   STATS CARD
========================= */

.stats-card {
    height: 100%;
    min-height: 400px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e5e8e9;
    border-radius: 18px;
}


/* =========================
   INDIVIDUAL STAT
========================= */

.stat-item {
    display: flex;
    flex-direction: column;

    height: 100%;

    justify-content: flex-start;

    padding: 55px 55px;
}

.stat-item-border {
    border-left: 1px solid #e5e8e9;
}


/* =========================
   STAT NUMBER
========================= */

.stat-number {
    margin-bottom: 18px;

    color: #08151d;

    font-size: clamp(4rem, 6vw, 6rem);
    font-weight: 700;

    line-height: 1;
    letter-spacing: -3px;
}


/* =========================
   STAT LABEL
========================= */

.stat-label {
    color: #6d7473;

    font-size: 1.2rem;

    line-height: 1.6;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1199px) {

    .commitment-section {
        padding: 80px 0 90px;
    }

    .commitment-title {
        font-size: 3.8rem;
    }

    .stat-item {
        padding: 45px 35px;
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {

    .commitment-section {
        padding: 65px 0 75px;
    }

    .commitment-description {
        margin-top: 30px;
    }

    .stats-card {
        min-height: auto;
    }

}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 767px) {

    .commitment-title {
        font-size: 2.8rem;

        letter-spacing: -1px;
    }

    .commitment-description {
        font-size: 1rem;

        line-height: 1.7;
    }

    .stat-item {
        padding: 40px 30px;
    }

    .stat-item-border {
        border-left: 0;
        border-top: 1px solid #e5e8e9;
    }

    .stat-number {
        font-size: 4rem;
    }

    .stat-label {
        font-size: 1.05rem;
    }

}

/* =========================
   APPOINTMENT SECTION
========================= */

.appointment-section {
    padding: 40px 0 100px;

    background: #ffffff;
}

.appointment-background {
    position: relative;

    min-height: 620px;

    overflow: visible;

    margin: 0 24px;

    border-radius: 18px;
}

.appointment-background-image {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;
    object-position: center 20%;

    border-radius: 18px;
}


/* =========================
   APPOINTMENT FORM CARD
========================= */

.appointment-form-card {
    position: absolute;

    left: 50%;
    bottom: -70px;

    width: min(760px, calc(100% - 40px));

    padding: 32px 40px 28px;

    transform: translateX(-50%);

    background: #ffffff;

    border-radius: 16px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.12);
}


/* =========================
   FORM HEADER
========================= */

.appointment-title {
    margin: 0;

    color: #08151d;

    font-size: 1.6rem;
    font-weight: 700;
}

.appointment-subtitle {
    margin-top: 8px;
    margin-bottom: 22px;

    color: #7a8080;

    font-size: 0.95rem;
}


/* =========================
   FORM INPUTS
========================= */

.appointment-input {
    padding: 14px 20px;

    background: #f1f2f3;

    border: 0;
    border-radius: 999px;

    color: #08151d;

    font-size: 0.95rem;
}

.appointment-input:focus {
    background: #ffffff;

    border: 1px solid #ff412d;

    box-shadow: 0 0 0 3px rgba(255, 65, 45, 0.08);
}

.appointment-message {
    min-height: 72px;

    resize: vertical;

    border-radius: 26px;
}


/* =========================
   SUBMIT BUTTON
========================= */

.appointment-submit-button {
    width: 100%;

    padding: 14px 24px;

    background: #ff412d;

    border: 1px solid #ff412d;
    border-radius: 999px;

    color: #ffffff;

    font-size: 0.95rem;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.appointment-submit-button:hover {
    background: #e73523;

    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================
   APPOINTMENT TABLET
========================= */

@media (max-width: 991px) {

    .appointment-section {
        padding-bottom: 80px;
    }

    .appointment-background {
        min-height: auto;

        margin: 0 15px;
    }

    .appointment-background-image {
        height: 420px;
    }

    .appointment-form-card {
        position: relative;

        left: auto;
        bottom: auto;

        width: calc(100% - 30px);

        margin: -70px auto 0;

        transform: none;
    }

}


/* =========================
   APPOINTMENT MOBILE
========================= */

@media (max-width: 576px) {

    .appointment-section {
        padding: 25px 0 60px;
    }

    .appointment-background {
        margin: 0 10px;
    }

    .appointment-background-image {
        height: 320px;
    }

    .appointment-form-card {
        width: calc(100% - 20px);

        padding: 28px 20px 24px;
    }

    .appointment-title {
        font-size: 1.4rem;
    }

    .appointment-subtitle {
        font-size: 0.9rem;
    }

}
/* =========================
   TESTIMONIALS
========================= */
.testimonials-section { padding: 95px 0; background: #fff; }
.testimonials-header { margin-bottom: 55px; }
.testimonials-label { color: #ff412d; font-weight: 700; }
.testimonials-title { margin-top: 14px; font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1.08; font-weight: 700; letter-spacing: -1.5px; }
.testimonial-card { display: flex; flex-direction: column; padding: 42px; background: #f5f5f3; border-radius: 12px; }
.testimonial-stars { color: #ff412d; font-size: 1.3rem; letter-spacing: 4px; }
.testimonial-card blockquote { margin: 36px 0; font-size: 1.15rem; line-height: 1.65; font-weight: 600; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; padding: 18px 20px; background: #fff; border-radius: 12px; }
.testimonial-author img, .testimonial-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-avatar { display: grid; place-items: center; background: #e8ecee; font-weight: 700; }
.testimonial-author strong, .testimonial-author small { display: block; }
.testimonial-author small { margin-top: 2px; color: #7a8080; }
.testimonial-author .bi { color: #f0a000; font-size: 1.8rem; }

/* =========================
   MAP
========================= */
.map-section { padding: 35px 0 80px; background: #fff; }
.map-frame { overflow: hidden; border-radius: 14px; border: 1px solid #e2e6e8; box-shadow: 0 10px 30px rgba(0,0,0,.06); }
.map-frame iframe { display: block; width: 100%; height: 430px; border: 0; }

/* =========================
   FOOTER
========================= */
.site-footer {
    padding: 48px 0 20px;
    background: #07171b;
    color: #9ba7aa;
}

.footer-top {
    padding-bottom: 30px;
}

.footer-brand {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.footer-brand span {
    color: #ff412d;
}

.footer-tagline {
    max-width: 390px;
    margin: 18px 0 0;
    color: #9eaaad;
    font-size: 0.98rem;
    line-height: 1.65;
}

.footer-heading {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links a {
    width: fit-content;
    color: #aab3b5;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

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


/* =========================
   FOOTER INFO ROW
========================= */

.footer-info-row {
    padding-top: 30px;
    border-top: 1px solid #294046;
}

.footer-info-card {
    padding: 20px 22px;
    background: #102429;
    border: 1px solid #2b464c;
    border-radius: 12px;
}

.footer-info-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #335057;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 700;
}

.footer-info-card h3 i {
    font-size: 1.15rem;
}

.footer-info-card p {
    margin: 0 0 5px;
    color: #a9b5b8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-info-card p:last-of-type {
    margin-bottom: 0;
}

.footer-info-card a {
    color: #a9b5b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-info-card a:hover {
    color: #ffffff;
}

.footer-info-card .footer-map-link {
    display: inline-block;
    margin-top: 9px;
    color: #ff5a49;
    font-weight: 600;
}


/* =========================
   HOURS
========================= */

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: #a9b5b8;
    font-size: 0.9rem;
}

.footer-hours-row span:last-child {
    text-align: right;
}


/* =========================
   COPYRIGHT
========================= */

.footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #294046;
    color: #8f9a9d;
    font-size: 0.84rem;
}

.footer-copyright-brand {
    color: #ff412d;
}


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

@media (max-width: 991px) {
    .testimonials-section {
        padding: 70px 0;
    }

    .site-footer {
        padding-top: 42px;
    }

    .footer-top {
        padding-bottom: 24px;
    }

    .footer-info-row {
        padding-top: 24px;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 28px 22px;
    }

    .map-frame iframe {
        height: 330px;
    }

    .site-footer {
        padding: 36px 0 18px;
    }

    .footer-brand {
        font-size: 1.22rem;
    }

    .footer-tagline {
        margin-top: 14px;
    }

    .footer-info-card {
        padding: 18px;
    }

    .footer-hours-row {
        flex-direction: column;
        gap: 2px;
    }

    .footer-hours-row span:last-child {
        text-align: left;
    }

    .footer-bottom {
        margin-top: 22px;
    }
}
/* =========================================================
   2026 MODERN CLINIC REDESIGN
   Inspired by the selected rounded blue medical UI direction
========================================================= */
:root {
    --clinic-blue: #4d9df7;
    --clinic-blue-dark: #173a67;
    --clinic-blue-soft: #eaf3ff;
    --clinic-blue-page: #cfe3fb;
    --clinic-ink: #102747;
    --clinic-muted: #6d7f95;
    --clinic-white: #ffffff;
    --clinic-coral: #ff4d3a;
    --clinic-shadow: 0 22px 55px rgba(42, 91, 145, .14);
}

body {
    background: #f7fbff;
    color: var(--clinic-ink);
}

/* NAV */
.navbar {
    min-height: 74px;
    margin: 22px auto 0;
    max-width: 1180px;
    padding: 10px 18px;
    border: 0 !important;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(43, 91, 142, .08);
    position: relative;
    z-index: 20;
}
.navbar-brand { color: var(--clinic-ink); font-size: 1.08rem; }
.nav-link { color: #527092; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--clinic-blue); }
.appointment-button {
    background: var(--clinic-blue);
    border-color: var(--clinic-blue);
    box-shadow: 0 8px 20px rgba(77,157,247,.22);
}
.appointment-button:hover { background: #318cec; border-color: #318cec; }

/* HERO */
.welcome-section {
    max-width: 1280px;
    margin: -96px auto 0;
    padding: 150px 34px 48px;
    background: var(--clinic-blue-page);
    border-radius: 0 0 38px 38px;
}
.welcome-section > .container {
    max-width: 1120px;
    padding: 64px 54px;
    background: rgba(255,255,255,.76);
    border: 1px solid rgba(255,255,255,.85);
    border-radius: 30px;
    box-shadow: var(--clinic-shadow);
}
.welcome-label {
    color: var(--clinic-blue);
    letter-spacing: .12em;
    font-size: .82rem;
}
.welcome-title {
    color: var(--clinic-ink);
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 500;
    letter-spacing: -2.5px;
}
.welcome-title::first-line { color: var(--clinic-ink); }
.welcome-description {
    color: var(--clinic-muted);
    font-size: 1.04rem;
    line-height: 1.75;
}
.clinic-button { border-radius: 14px; padding: 13px 23px; }
.btn-primary { background: var(--clinic-blue); border-color: var(--clinic-blue); }
.btn-primary:hover { background: #318cec; border-color: #318cec; }
.btn-outline-dark { border-color: #9eb3c9; color: var(--clinic-ink); }
.doctor-image-wrapper {
    position: relative;
    max-width: 390px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 28px;
    box-shadow: none;
}
.doctor-image-wrapper::before,
.doctor-image-wrapper::after { content: none; }
.hero-stat-card { position:absolute; z-index:3; display:flex; flex-direction:column; padding:14px 18px; border-radius:20px; text-align:left; box-shadow:0 14px 30px rgba(39,77,121,.16); }
.hero-stat-label { margin-bottom:5px; font-size:.78rem; font-weight:500; line-height:1.2; }
.hero-stat-card strong { font-size:2rem; font-weight:500; line-height:1; }
.hero-stat-patients { top:17%; right:-28px; min-width:165px; background:linear-gradient(145deg,#63b0ff,#4396ef); color:#fff; }
.hero-stat-reviews { left:-24px; bottom:28px; min-width:145px; background:#fff; border:1px solid #e4edf7; color:var(--clinic-ink); }
.hero-stat-reviews strong { font-size:1.6rem; }
.doctor-image {
    min-height: 440px;
    max-height: 500px;
    border-radius: 28px;
    object-fit: cover;
}

/* Hide the older duplicate service-card strip above About. */
.welcome-section + .services-section { display: none; }

/* ABOUT */
.about-section { padding: 90px 0; background: #f7fbff; }
.about-label, .services-label, .testimonials-label { color: var(--clinic-blue); }
.about-title {
    max-width: 980px;
    color: var(--clinic-ink);
    font-size: clamp(2.2rem, 4vw, 4rem);
    font-weight: 600;
    letter-spacing: -1.8px;
}
.about-content-row {
    margin-top: 44px;
    padding: 28px;
    background: #fff;
    border-radius: 30px;
    box-shadow: 0 18px 48px rgba(50,91,135,.08);
}
.about-image-wrapper { border-radius: 24px; overflow: hidden; }
.about-image { border-radius: 24px; }
.about-description { color: var(--clinic-muted); }
.about-point-number {
    background: var(--clinic-blue-soft);
    border-color: #b8d7fb;
    color: var(--clinic-blue-dark);
}

/* SERVICES */
.about-section + .services-section {
    margin: 0 auto;
    max-width: 1280px;
    padding: 88px 38px;
    background: var(--clinic-blue-dark);
    border-radius: 38px;
}
.services-header { margin-bottom: 48px; }
.services-label { color: #9ac9ff; }
.services-title { color: #fff !important; font-weight: 600; letter-spacing: -1.5px; }
.services-row .service-card {
    min-height: 390px;
    padding: 34px 28px;
    border: 0;
    border-radius: 22px;
    box-shadow: none;
}
.services-row .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 32px;
    background: var(--clinic-blue-soft);
    color: var(--clinic-blue);
    border-radius: 16px;
    font-size: 1.7rem;
}
.service-card-title { color: var(--clinic-ink); }
.services-row .service-description { min-height: 155px; color: var(--clinic-muted); }
.services-row .service-link:hover { color: var(--clinic-blue); }

/* STATS */
.commitment-section { padding: 100px 0; background: #f7fbff; }
.commitment-title { color: var(--clinic-ink); font-weight: 600; letter-spacing: -1.5px; }
.commitment-description { color: var(--clinic-muted); }
.stats-card {
    overflow: hidden;
    background: #fff;
    border: 0;
    border-radius: 28px;
    box-shadow: var(--clinic-shadow);
}
.stat-item { background: transparent; }
.stat-number { color: var(--clinic-blue) !important; }
.stat-label { color: var(--clinic-muted); }

/* APPOINTMENT */
.appointment-section { padding: 0 24px 100px; background: #f7fbff; }
.appointment-background {
    max-width: 1280px;
    margin: auto;
    min-height: 590px;
    border-radius: 34px;
    overflow: hidden;
}
.appointment-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(16,39,71,.18), rgba(16,39,71,.02));
    pointer-events: none;
}
.appointment-form-card {
    z-index: 2;
    border-radius: 26px;
    box-shadow: 0 25px 60px rgba(16,39,71,.2);
}
.appointment-input { border-radius: 13px; background: #f2f7fc; }
.appointment-submit-button { background: var(--clinic-blue); border-radius: 13px; }
.appointment-submit-button:hover { background: #318cec; }

/* REVIEWS */
.testimonials-section { padding: 95px 0; background: #fff; }
.testimonials-title { color: var(--clinic-ink); font-weight: 600; letter-spacing: -1.5px; }
.testimonial-card {
    border: 1px solid #e4eef9;
    border-radius: 24px;
    background: #f8fbff;
    box-shadow: 0 12px 32px rgba(42,83,129,.06);
}
.testimonial-stars { color: #f5b82e; }

/* MAP */
.map-section { padding: 0 0 85px; background: #fff; }
.map-frame { border-radius: 28px; overflow: hidden; box-shadow: var(--clinic-shadow); }

/* FOOTER */
.site-footer {
    margin: 0 24px 24px;
    padding-top: 46px;
    background: #0d2741;
    border-radius: 32px;
}
.footer-info-card { background: #14324d; border-color: #294963; }
.footer-info-card h3, .footer-info-row, .footer-bottom { border-color: #31516b; }
.footer-brand span, .footer-copyright-brand, .footer-info-card .footer-map-link { color: #73b7ff; }

@media (max-width: 991px) {
    .navbar { margin: 12px 12px 0; }
    .welcome-section { margin-top: -86px; padding: 130px 18px 28px; border-radius: 0 0 28px 28px; }
    .welcome-section > .container { padding: 42px 30px; }
    .doctor-image-wrapper { margin: 10px auto 0; }
    .hero-stat-patients { right: -15px; }
    .hero-stat-reviews { left: -15px; }
    .about-section + .services-section { border-radius: 28px; padding: 65px 24px; }
    .site-footer { margin: 0 12px 12px; }
}

@media (max-width: 576px) {
    .navbar-brand { max-width: 220px; font-size: .92rem; }
    .welcome-section { padding-left: 10px; padding-right: 10px; }
    .welcome-section > .container { padding: 30px 20px; border-radius: 22px; }
    .welcome-title { font-size: 2.55rem; letter-spacing: -1.5px; }
    .doctor-image { min-height: 380px; }
    .hero-stat-patients { right: 8px; top: 14px; }
    .hero-stat-reviews { left: 8px; bottom: 14px; }
    .about-content-row { margin-left: 0; margin-right: 0; padding: 16px; }
    .about-section + .services-section { margin-left: 10px; margin-right: 10px; padding: 50px 16px; }
    .appointment-section { padding-left: 10px; padding-right: 10px; }
    .site-footer { border-radius: 24px; }
}
.appointment-background { position: relative; }

/* =========================
   SEND MESSAGE CARD - TOP OVERLAY
========================= */
@media (min-width: 992px) {
    .appointment-form-card {
        top: 42px;
        bottom: auto;
    }
}


/* =========================================================
   MODERN CONTACT / MESSAGE SECTION
   Image above, form below — no absolute positioning
========================================================= */

.appointment-section {
    padding: 90px 24px 100px !important;
    background: #f7fbff !important;
}

.appointment-section .container {
    max-width: 1180px;
}

.message-panel {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5eef8;
    border-radius: 32px;
    box-shadow: 0 24px 60px rgba(34, 76, 123, 0.12);
}

.message-image-wrap {
    position: relative;
    height: 410px;
    overflow: hidden;
    background: #dceafb;
}

.message-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.message-image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(12, 39, 70, 0.72) 0%,
            rgba(12, 39, 70, 0.30) 48%,
            rgba(12, 39, 70, 0.05) 100%
        );
}

.message-image-overlay {
    position: absolute;
    z-index: 2;
    left: 54px;
    bottom: 46px;
    max-width: 530px;
    color: #ffffff;
}

.message-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #b9dcff;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.message-image-overlay h2 {
    max-width: 520px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -1.7px;
}

.message-image-overlay p {
    max-width: 500px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.65;
}

/* Reset all earlier overlay positioning */
.message-panel .appointment-form-card {
    position: relative !important;
    inset: auto !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 3;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 46px 54px 52px !important;
    transform: none !important;
    background: #ffffff;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.appointment-header {
    max-width: 720px;
    margin-bottom: 30px;
    text-align: left !important;
}

.appointment-label {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--clinic-blue, #4d9df7);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.appointment-title {
    margin: 0;
    color: var(--clinic-ink, #102747);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -1px;
}

.appointment-subtitle {
    max-width: 680px;
    margin: 11px 0 0;
    color: var(--clinic-muted, #6d7f95);
    font-size: 1rem;
    line-height: 1.7;
}

.message-form-label {
    margin: 0 0 7px 2px;
    color: #37516e;
    font-size: 0.86rem;
    font-weight: 700;
}

.message-panel .appointment-input {
    min-height: 54px;
    padding: 13px 16px;
    background: #f4f8fc;
    border: 1px solid #dce8f4;
    border-radius: 14px;
    color: var(--clinic-ink, #102747);
    font-size: 0.98rem;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.message-panel .appointment-input::placeholder {
    color: #93a3b5;
}

.message-panel .appointment-input:focus {
    background: #ffffff;
    border-color: var(--clinic-blue, #4d9df7);
    box-shadow: 0 0 0 4px rgba(77, 157, 247, 0.12);
}

.message-panel .appointment-message {
    min-height: 130px;
    border-radius: 14px;
    resize: vertical;
}

.message-panel .appointment-submit-button {
    width: auto;
    min-width: 190px;
    margin-top: 5px;
    padding: 14px 25px;
    background: var(--clinic-blue, #4d9df7);
    border: 1px solid var(--clinic-blue, #4d9df7);
    border-radius: 14px;
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 750;
    box-shadow: 0 10px 24px rgba(77, 157, 247, 0.22);
}

.message-panel .appointment-submit-button:hover {
    background: #318cec;
    border-color: #318cec;
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .appointment-section {
        padding: 65px 16px 75px !important;
    }

    .message-image-wrap {
        height: 340px;
    }

    .message-image-overlay {
        left: 34px;
        right: 34px;
        bottom: 32px;
    }

    .message-panel .appointment-form-card {
        padding: 38px 34px 42px !important;
    }
}

@media (max-width: 576px) {
    .appointment-section {
        padding: 50px 10px 60px !important;
    }

    .message-panel {
        border-radius: 24px;
    }

    .message-image-wrap {
        height: 290px;
    }

    .message-image {
        object-position: center top;
    }

    .message-image-overlay {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .message-image-overlay h2 {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .message-image-overlay p {
        font-size: 0.92rem;
    }

    .message-panel .appointment-form-card {
        padding: 30px 22px 32px !important;
    }

    .message-panel .appointment-submit-button {
        width: 100%;
    }
}


/* =========================================================
   MODERN PAGE MOTION + VISUAL POLISH
========================================================= */

html {
    scroll-behavior: smooth;
}

/* Scroll-in reveal */
.scroll-reveal {
    --reveal-delay: 0ms;
    opacity: 0;
    transform: translate3d(0, 34px, 0);
    transition:
        opacity 0.72s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay),
        transform 0.72s cubic-bezier(.22, 1, .36, 1) var(--reveal-delay);
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Keep nested animation movement lighter */
.scroll-reveal .scroll-reveal {
    transform: translate3d(0, 22px, 0);
}

.scroll-reveal .scroll-reveal.is-visible {
    transform: translate3d(0, 0, 0);
}

/* More visual separation between page sections */
main > section,
body > section {
    position: relative;
    isolation: isolate;
}

main > section:nth-of-type(even) {
    background-image:
        radial-gradient(circle at 8% 12%, rgba(77,157,247,.08), transparent 24%),
        radial-gradient(circle at 92% 82%, rgba(145,198,255,.08), transparent 22%);
}

/* Modern section headings */
section h2 {
    letter-spacing: -0.035em;
}

/* Cards now feel interactive without being flashy */
.service-card,
.testimonial-card,
.stat-card,
.message-panel {
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.service-card:hover,
.testimonial-card:hover,
.stat-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 42px rgba(31, 72, 120, .13);
    border-color: rgba(77, 157, 247, .28);
}

/* Images get a subtle premium interaction */
.about-image img,
.message-image,
section img {
    transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.about-image,
.message-image-wrap {
    overflow: hidden;
}

.about-image:hover img,
.message-image-wrap:hover .message-image {
    transform: scale(1.025);
}

/* Buttons */
.btn,
button,
a[class*="button"],
a[class*="btn"] {
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background-color .22s ease,
        border-color .22s ease;
}

.btn:hover,
button:hover,
a[class*="button"]:hover,
a[class*="btn"]:hover {
    transform: translateY(-2px);
}

/* Sticky/header glass effect when scrolling */
header,
.header-area,
.site-header {
    transition:
        background-color .25s ease,
        box-shadow .25s ease,
        backdrop-filter .25s ease;
}

header.page-scrolled,
.header-area.page-scrolled,
.site-header.page-scrolled,
nav.page-scrolled {
    background-color: rgba(255, 255, 255, .92) !important;
    box-shadow: 0 10px 32px rgba(31, 72, 120, .10);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Soft accent glow around major visual panels */
.message-panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    top: -90px;
    right: -70px;
    border-radius: 50%;
    background: rgba(77, 157, 247, .12);
    filter: blur(35px);
    pointer-events: none;
}

.message-panel {
    position: relative;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .scroll-reveal,
    .scroll-reveal .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .service-card,
    .testimonial-card,
    .stat-card,
    .about-image img,
    .message-image,
    .btn,
    button,
    a {
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .scroll-reveal {
        transform: translate3d(0, 22px, 0);
    }

    .service-card:hover,
    .testimonial-card:hover,
    .stat-card:hover {
        transform: none;
    }
}


/* =========================================================
   GOOGLE REVIEWS BADGE - LEFT OF DOCTOR IMAGE
========================================================= */
.google-review-badge,
.google-reviews-badge,
.review-rating-badge,
.hero-review-badge {
    left: 0 !important;
    right: auto !important;
    bottom: 56px !important;
    transform: translateX(-38%) !important;
    z-index: 5;
}

/* Keep the badge readable and prevent clipping. */
.hero-image-wrap,
.doctor-image-wrapper,
.about-image,
.hero-visual,
.welcome-image-wrapper {
    overflow: visible !important;
}

@media (max-width: 991px) {
    .google-review-badge,
    .google-reviews-badge,
    .review-rating-badge,
    .hero-review-badge {
        left: 14px !important;
        bottom: 18px !important;
        transform: none !important;
    }
}

@media (max-width: 576px) {
    .google-review-badge,
    .google-reviews-badge,
    .review-rating-badge,
    .hero-review-badge {
        left: 12px !important;
        bottom: 12px !important;
        transform: none !important;
    }
}


/* =========================================================
   FANCY GOOGLE REVIEW BADGE SCROLL EFFECT
========================================================= */

.doctor-image-wrapper {
    overflow: visible !important;
    position: relative;
}

.hero-stat-reviews {
    display: flex !important;
    flex-direction: column;
    position: absolute !important;
    z-index: 8 !important;

    left: -74px !important;
    right: auto !important;
    bottom: 38px !important;

    min-width: 168px;
    padding: 15px 19px;

    background:
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(245,250,255,.96));
    color: var(--clinic-ink, #102747);

    border: 1px solid rgba(77,157,247,.18);
    border-radius: 22px;

    box-shadow:
        0 18px 42px rgba(27, 73, 126, .16),
        0 2px 8px rgba(27, 73, 126, .06);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    opacity: 0;
    transform:
        translate3d(-46px, 22px, 0)
        rotate(-3deg)
        scale(.92);

    transition:
        opacity .8s cubic-bezier(.16,1,.3,1),
        transform .9s cubic-bezier(.16,1,.3,1),
        box-shadow .3s ease;

    will-change: transform, opacity;
}

.hero-stat-reviews.review-badge-visible {
    opacity: 1;
    transform:
        translate3d(0, 0, 0)
        rotate(-1deg)
        scale(1);
}

.hero-stat-reviews.review-badge-visible:hover {
    transform:
        translate3d(0, -6px, 0)
        rotate(0deg)
        scale(1.025);

    box-shadow:
        0 24px 52px rgba(27, 73, 126, .20),
        0 4px 12px rgba(27, 73, 126, .08);
}

.hero-stat-reviews .hero-stat-label {
    margin-bottom: 5px;
    color: #4f6884;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.hero-stat-reviews strong {
    color: var(--clinic-ink, #102747);
    font-size: 1.95rem;
    font-weight: 650;
    line-height: 1;
    letter-spacing: -.04em;
}

.hero-stat-reviews strong span {
    display: inline-block;
    color: #f5b82e;
    transform-origin: 50% 55%;
}

.hero-stat-reviews.review-badge-visible strong span {
    animation: reviewStarPop .72s cubic-bezier(.16,1,.3,1) .35s both;
}

@keyframes reviewStarPop {
    0% {
        transform: scale(.35) rotate(-18deg);
        opacity: 0;
    }
    65% {
        transform: scale(1.2) rotate(7deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@media (max-width: 1199px) {
    .hero-stat-reviews {
        left: -38px !important;
    }
}

@media (max-width: 991px) {
    .hero-stat-reviews {
        left: 14px !important;
        bottom: 18px !important;
    }
}

@media (max-width: 576px) {
    .hero-stat-reviews {
        left: 12px !important;
        bottom: 12px !important;
        min-width: 148px;
        padding: 13px 16px;
    }

    .hero-stat-reviews strong {
        font-size: 1.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-stat-reviews {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .hero-stat-reviews strong span {
        animation: none !important;
    }
}


/* =========================================================
   FANCY SECTION SCROLL MOTION V2
========================================================= */

.reveal-from-left,
.reveal-from-right,
.reveal-up,
.review-reveal-item {
    opacity: 0;
    will-change: opacity, transform, filter;
}

.reveal-from-left {
    transform: translate3d(-70px, 0, 0) scale(.98);
    filter: blur(4px);
}

.reveal-from-right {
    transform: translate3d(70px, 0, 0) scale(.98);
    filter: blur(4px);
}

.reveal-up {
    transform: translate3d(0, 42px, 0);
}

.review-reveal-item {
    transform: translate3d(0, 46px, 0) scale(.97);
}

.reveal-from-left.fancy-visible,
.reveal-from-right.fancy-visible,
.reveal-up.fancy-visible,
.review-reveal-item.fancy-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    transition:
        opacity .85s cubic-bezier(.16,1,.3,1),
        transform .9s cubic-bezier(.16,1,.3,1),
        filter .7s ease;
}

/* Contact image arrives first, form follows */
.message-image-wrap.fancy-visible {
    transition-delay: 40ms;
}

.message-image-overlay.fancy-visible {
    transition-delay: 180ms;
}

.appointment-form-card.fancy-visible {
    transition-delay: 220ms;
}

/* Google review cards alternate left / right */
.review-reveal-item:nth-child(odd) {
    transform: translate3d(-78px, 28px, 0) rotate(-1.2deg) scale(.97);
}

.review-reveal-item:nth-child(even) {
    transform: translate3d(78px, 28px, 0) rotate(1.2deg) scale(.97);
}

.review-reveal-item.fancy-visible {
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
}

.review-reveal-item:nth-child(1).fancy-visible { transition-delay: 80ms; }
.review-reveal-item:nth-child(2).fancy-visible { transition-delay: 160ms; }
.review-reveal-item:nth-child(3).fancy-visible { transition-delay: 240ms; }
.review-reveal-item:nth-child(4).fancy-visible { transition-delay: 320ms; }

/* Extra polish to the message block while scrolling */
.message-panel {
    perspective: 1200px;
}

.message-image-wrap.fancy-visible .message-image {
    animation: contactImageSettle 1.15s cubic-bezier(.16,1,.3,1) both;
}

@keyframes contactImageSettle {
    0% {
        transform: scale(1.06);
        filter: saturate(.9);
    }
    100% {
        transform: scale(1);
        filter: saturate(1);
    }
}

/* Review cards get a subtle premium hover after reveal */
.review-reveal-item.fancy-visible .testimonial-card {
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.review-reveal-item.fancy-visible .testimonial-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 22px 52px rgba(31, 72, 120, .14);
    border-color: rgba(77,157,247,.3);
}

/* Make the Google review badge feel tied into the same motion language */
.hero-stat-reviews.review-badge-visible {
    animation: badgeFloatIn 1s cubic-bezier(.16,1,.3,1) both;
}

@keyframes badgeFloatIn {
    0% {
        opacity: 0;
        transform: translate3d(-70px, 28px, 0) rotate(-4deg) scale(.88);
    }
    65% {
        opacity: 1;
        transform: translate3d(6px, -2px, 0) rotate(1deg) scale(1.03);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotate(-1deg) scale(1);
    }
}

/* Mobile: shorter travel distance */
@media (max-width: 767px) {
    .reveal-from-left,
    .review-reveal-item:nth-child(odd) {
        transform: translate3d(-28px, 24px, 0) scale(.98);
    }

    .reveal-from-right,
    .review-reveal-item:nth-child(even) {
        transform: translate3d(28px, 24px, 0) scale(.98);
    }

    .review-reveal-item:nth-child(3).fancy-visible,
    .review-reveal-item:nth-child(4).fancy-visible {
        transition-delay: 120ms;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-from-left,
    .reveal-from-right,
    .reveal-up,
    .review-reveal-item,
    .hero-stat-reviews {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        animation: none !important;
        transition: none !important;
    }

    .message-image {
        animation: none !important;
    }
}


/* =========================================================
   PERFORMANCE-SAFE SCROLL ANIMATIONS
   Only opacity + transform. No blur/backdrop/filter animations.
========================================================= */

/* Remove expensive effects that can cause scroll jank */
.scroll-reveal,
.reveal-from-left,
.reveal-from-right,
.reveal-up,
.review-reveal-item,
.hero-stat-reviews {
    filter: none !important;
    will-change: auto !important;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Use short GPU-friendly reveal transitions */
.scroll-reveal,
.reveal-from-left,
.reveal-from-right,
.reveal-up,
.review-reveal-item {
    opacity: 0;
    transition:
        opacity .42s ease-out,
        transform .42s ease-out !important;
}

/* Smaller travel distances */
.scroll-reveal,
.reveal-up {
    transform: translate3d(0, 18px, 0) !important;
}

.reveal-from-left,
.review-reveal-item:nth-child(odd) {
    transform: translate3d(-24px, 0, 0) !important;
}

.reveal-from-right,
.review-reveal-item:nth-child(even) {
    transform: translate3d(24px, 0, 0) !important;
}

/* Final state */
.scroll-reveal.is-visible,
.reveal-from-left.fancy-visible,
.reveal-from-right.fancy-visible,
.reveal-up.fancy-visible,
.review-reveal-item.fancy-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
}

/* Remove stagger delays so the browser isn't animating many things at once */
.review-reveal-item.fancy-visible,
.scroll-reveal.is-visible {
    transition-delay: 0ms !important;
}

/* Remove expensive image animation/filter */
.message-image-wrap.fancy-visible .message-image,
.about-image img,
.message-image,
section img {
    animation: none !important;
    filter: none !important;
}

/* Keep hover movement light */
.service-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.review-reveal-item.fancy-visible .testimonial-card:hover {
    transform: translateY(-3px) !important;
}

/* Keep review badge simple */
.hero-stat-reviews {
    opacity: 0;
    transform: translate3d(-20px, 0, 0) !important;
    transition:
        opacity .4s ease-out,
        transform .4s ease-out !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.hero-stat-reviews.review-badge-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    animation: none !important;
}

.hero-stat-reviews.review-badge-visible strong span {
    animation: none !important;
}

/* Disable glass blur on scrolling header for smoother scrolling */
header.page-scrolled,
.header-area.page-scrolled,
.site-header.page-scrolled,
nav.page-scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Avoid repaint-heavy decorative gradients while scrolling */
main > section:nth-of-type(even) {
    background-image: none !important;
}

/* Mobile gets even lighter motion */
@media (max-width: 767px) {
    .scroll-reveal,
    .reveal-from-left,
    .reveal-from-right,
    .reveal-up,
    .review-reveal-item,
    .hero-stat-reviews {
        transform: translate3d(0, 12px, 0) !important;
    }

    .scroll-reveal.is-visible,
    .reveal-from-left.fancy-visible,
    .reveal-from-right.fancy-visible,
    .reveal-up.fancy-visible,
    .review-reveal-item.fancy-visible,
    .hero-stat-reviews.review-badge-visible {
        transform: translate3d(0, 0, 0) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .reveal-from-left,
    .reveal-from-right,
    .reveal-up,
    .review-reveal-item,
    .hero-stat-reviews {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        animation: none !important;
    }
}


/* =========================================================
   FANCY VISUAL POLISH V3
   Performance-friendly enhancements
========================================================= */

:root {
    --glow-blue: rgba(77, 157, 247, 0.18);
    --soft-line: rgba(77, 157, 247, 0.22);
}

/* =========================
   SCROLL PROGRESS BAR
========================= */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;

    width: 0%;
    height: 4px;

    background:
        linear-gradient(
            90deg,
            #4d9df7,
            #73b7ff,
            #ff5a49
        );

    box-shadow:
        0 1px 10px rgba(77, 157, 247, 0.28);

    transform-origin: left center;
    pointer-events: none;
}


/* =========================
   HERO GLOW ACCENT
========================= */

.doctor-image-wrapper {
    position: relative;
    isolation: isolate;
}

.doctor-image-wrapper::after {
    content: "";
    position: absolute;
    z-index: -1;

    width: 82%;
    height: 82%;

    top: 12%;
    left: 10%;

    border-radius: 42% 58% 52% 48% / 46% 42% 58% 54%;

    background:
        radial-gradient(
            circle at center,
            rgba(77, 157, 247, 0.24),
            rgba(77, 157, 247, 0.06) 58%,
            transparent 72%
        );

    transform: scale(1.18);
    pointer-events: none;
}


/* =========================
   SECTION ACCENT CHIPS
========================= */

.about-label,
.services-label,
.testimonials-label,
.appointment-label,
.message-eyebrow {
    position: relative;
}

.about-label::before,
.services-label::before,
.testimonials-label::before,
.appointment-label::before,
.message-eyebrow::before {
    content: "";
    display: inline-block;

    width: 8px;
    height: 8px;

    margin-right: 8px;

    border-radius: 50%;

    background: currentColor;

    vertical-align: middle;
}


/* =========================
   MODERN LINK MOTION
========================= */

.service-link,
.footer-links a,
.footer-map-link {
    position: relative;
}

.service-link::after,
.footer-links a::after,
.footer-map-link::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: -3px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width 0.22s ease;
}

.service-link:hover::after,
.footer-links a:hover::after,
.footer-map-link:hover::after {
    width: 100%;
}


/* =========================
   CARD HOVER GLOW
========================= */

.service-card,
.testimonial-card,
.stats-card,
.about-content-row,
.message-panel {
    position: relative;
}

.service-card::before,
.testimonial-card::before {
    content: "";
    position: absolute;
    inset: 0;

    border-radius: inherit;

    pointer-events: none;

    box-shadow:
        inset 0 0 0 1px transparent;

    transition:
        box-shadow 0.24s ease;
}

.service-card:hover::before,
.testimonial-card:hover::before {
    box-shadow:
        inset 0 0 0 1px rgba(77, 157, 247, 0.22);
}


/* =========================
   FLOATING PATIENT ACTIONS
========================= */

.floating-actions {
    position: fixed;

    right: 24px;
    bottom: 24px;

    z-index: 1200;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 8px;

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid #dfeaf6;
    border-radius: 999px;

    box-shadow:
        0 14px 36px rgba(23, 58, 103, 0.16);
}

.floating-action-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 11px 15px;

    border-radius: 999px;

    color: var(--clinic-ink, #102747);

    font-size: 0.88rem;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.floating-action-link:hover {
    background: #eef6ff;
    color: var(--clinic-blue, #4d9df7);
    transform: translateY(-1px);
}

.floating-action-primary {
    background: var(--clinic-blue, #4d9df7);
    color: #ffffff;
}

.floating-action-primary:hover {
    background: #318cec;
    color: #ffffff;
}

.floating-action-icon {
    font-size: 0.9rem;
}


/* =========================
   BACK TO TOP
========================= */

.back-to-top {
    position: fixed;

    right: 28px;
    bottom: 92px;

    z-index: 1201;

    display: grid;
    place-items: center;

    width: 46px;
    height: 46px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #0d2741;
    color: #ffffff;

    font-size: 1.25rem;
    font-weight: 700;

    box-shadow:
        0 12px 28px rgba(13, 39, 65, 0.22);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(12px);

    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        visibility 0.22s ease,
        background 0.22s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--clinic-blue, #4d9df7);
    transform: translateY(-2px);
}


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

@media (max-width: 767px) {

    .floating-actions {
        left: 12px;
        right: 12px;
        bottom: 12px;

        justify-content: space-between;
    }

    .floating-action-link {
        flex: 1;
        justify-content: center;
    }

    .back-to-top {
        right: 18px;
        bottom: 82px;

        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .back-to-top,
    .floating-action-link,
    .service-link::after,
    .footer-links a::after,
    .footer-map-link::after {
        transition: none !important;
    }
}

/* Scroll progress bar removed */
.scroll-progress {
    display: none !important;
}


/* =========================================================
   DATABASE-DRIVEN GOOGLE REVIEW BADGE
========================================================= */
.hero-stat-review-count {
    display: block;
    margin-top: 6px;
    color: #6f8298;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
}


/* =========================================================
   BACK TO TOP — INTEGRATED INTO FLOATING ACTION PILL
========================================================= */

.floating-actions .floating-action-top {
    display: none;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 44px;
    height: 44px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #0d2741;
    color: #ffffff;

    font: inherit;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;
    transform: translateY(4px) scale(.96);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease,
        background .2s ease;
}

.floating-actions .floating-action-top.is-visible {
    display: inline-flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.floating-actions .floating-action-top:hover {
    background: var(--clinic-blue, #4d9df7);
    color: #ffffff;
    transform: translateY(-1px);
}

@media (max-width: 767px) {
    .floating-actions .floating-action-top {
        flex: 0 0 42px;
        width: 42px;
        height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floating-actions .floating-action-top {
        transition: none !important;
    }
}


/* =========================================================
   LARGER SECTION LABELS
========================================================= */
.about-label,
.services-label,
.testimonials-label,
.appointment-label,
.message-eyebrow {
    font-size: 1.75rem;
    font-weight: 700;
}


/* =========================================================
   MEDICAL CENTER LABEL + TESTIMONIAL POLISH
========================================================= */

/* Match Medical Center to the larger section labels */
.hero-eyebrow,
.medical-center-label,
.hero-label {
    font-size: 1.75rem;
    font-weight: 700;
}

/* Premium testimonial cards without continuous scroll animation */
.testimonial-card {
    overflow: hidden;
    transform: translateY(0);
    transition:
        transform .24s ease,
        box-shadow .24s ease,
        border-color .24s ease;
}

.testimonial-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: linear-gradient(
        135deg,
        rgba(77, 157, 247, .08),
        transparent 42%,
        rgba(77, 157, 247, .04)
    );
    opacity: 0;
    transition: opacity .24s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(16, 39, 71, .13);
}

.testimonial-card:hover::after {
    opacity: 1;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
}

.testimonial-stars span {
    display: inline-block;
    opacity: 0;
    transform: translateY(5px) scale(.75);
}

.testimonial-card.fancy-visible .testimonial-stars span {
    animation: testimonialStarPop .34s ease forwards;
}

.testimonial-card.fancy-visible .testimonial-stars span:nth-child(2) { animation-delay: .06s; }
.testimonial-card.fancy-visible .testimonial-stars span:nth-child(3) { animation-delay: .12s; }
.testimonial-card.fancy-visible .testimonial-stars span:nth-child(4) { animation-delay: .18s; }
.testimonial-card.fancy-visible .testimonial-stars span:nth-child(5) { animation-delay: .24s; }

@keyframes testimonialStarPop {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.google-review-source {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 14px;
    padding: 7px 11px;
    border: 1px solid #dce9f8;
    border-radius: 999px;
    background: #f7fbff;
    color: #48627e;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.google-review-source::before {
    content: "G";
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    color: #4285f4;
    box-shadow: 0 2px 8px rgba(16, 39, 71, .10);
    font-size: .72rem;
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .testimonial-card,
    .testimonial-card::after {
        transition: none !important;
    }

    .testimonial-stars span {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}


/* =========================================================
   PERFORMANCE OPTIMIZATION PASS
   Keep visual polish, remove scroll-jank sources
========================================================= */

/* Avoid expensive repaint-heavy effects */
*,
*::before,
*::after {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

/* Keep reveal effects to opacity + transform only */
.scroll-reveal,
.reveal-from-left,
.reveal-from-right,
.reveal-up,
.review-reveal-item,
.hero-stat-reviews {
    filter: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    will-change: auto !important;
    backface-visibility: hidden;
    transform-style: flat;
}

/* No blur/glass effects during scrolling */
header.page-scrolled,
.header-area.page-scrolled,
.site-header.page-scrolled,
nav.page-scrolled,
.floating-actions {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Short, GPU-friendly transitions */
.scroll-reveal,
.reveal-from-left,
.reveal-from-right,
.reveal-up,
.review-reveal-item {
    transition:
        opacity .38s ease-out,
        transform .38s ease-out !important;
}

/* Reduce motion distance */
.scroll-reveal,
.reveal-up {
    transform: translate3d(0, 14px, 0) !important;
}

.reveal-from-left,
.review-reveal-item:nth-child(odd) {
    transform: translate3d(-18px, 0, 0) !important;
}

.reveal-from-right,
.review-reveal-item:nth-child(even) {
    transform: translate3d(18px, 0, 0) !important;
}

.scroll-reveal.is-visible,
.reveal-from-left.fancy-visible,
.reveal-from-right.fancy-visible,
.reveal-up.fancy-visible,
.review-reveal-item.fancy-visible {
    opacity: 1 !important;
    transform: translate3d(0, 0, 0) !important;
    transition-delay: 0ms !important;
}

/* Remove continuous/large image motion */
.message-image,
.doctor-image,
.about-image,
.about-image img,
section img {
    animation: none !important;
    filter: none !important;
}

.message-image-wrap:hover .message-image,
.about-image:hover img,
section img:hover {
    transform: none !important;
}

/* Remove large glow repaint effects */
.message-panel::before,
.doctor-image-wrapper::after {
    animation: none !important;
}

/* Keep card hover lightweight */
.service-card,
.testimonial-card,
.stat-card,
.stats-card,
.about-content-row,
.message-panel {
    will-change: auto !important;
}

.service-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.review-reveal-item.fancy-visible .testimonial-card:hover {
    transform: translate3d(0, -3px, 0) !important;
    box-shadow: 0 12px 28px rgba(31, 72, 120, .10) !important;
}

/* Make testimonial star entrance cheap */
.testimonial-stars span {
    will-change: auto !important;
}

.testimonial-card.fancy-visible .testimonial-stars span {
    animation-duration: .22s !important;
}

/* Hero review badge: simple entrance only */
.hero-stat-reviews {
    transition:
        opacity .32s ease-out,
        transform .32s ease-out !important;
    animation: none !important;
}

.hero-stat-reviews.review-badge-visible {
    animation: none !important;
    transform: translate3d(0, 0, 0) !important;
}

.hero-stat-reviews.review-badge-visible strong span {
    animation: none !important;
}

/* Avoid browser work for off-screen sections when supported */
@supports (content-visibility: auto) {
    .about-section,
    .services-section,
    .commitment-section,
    .appointment-section,
    .testimonials-section,
    .map-section {
        content-visibility: auto;
        contain-intrinsic-size: 800px;
    }
}

/* Mobile: minimize motion further */
@media (max-width: 767px) {
    .scroll-reveal,
    .reveal-from-left,
    .reveal-from-right,
    .reveal-up,
    .review-reveal-item,
    .hero-stat-reviews {
        transform: translate3d(0, 8px, 0) !important;
    }

    .scroll-reveal.is-visible,
    .reveal-from-left.fancy-visible,
    .reveal-from-right.fancy-visible,
    .reveal-up.fancy-visible,
    .review-reveal-item.fancy-visible,
    .hero-stat-reviews.review-badge-visible {
        transform: translate3d(0, 0, 0) !important;
    }

    .service-card:hover,
    .testimonial-card:hover,
    .stat-card:hover {
        transform: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .scroll-reveal,
    .reveal-from-left,
    .reveal-from-right,
    .reveal-up,
    .review-reveal-item,
    .hero-stat-reviews {
        opacity: 1 !important;
        transform: none !important;
    }
}


/* =========================================================
   ULTRA-SMOOTH SCROLL MODE
   Prioritizes frame rate over decorative motion
========================================================= */

/* Disable all scroll-entry animation classes */
.scroll-reveal,
.reveal-from-left,
.reveal-from-right,
.reveal-up,
.review-reveal-item,
.hero-stat-reviews {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
}

/* Disable nested reveal effects */
.scroll-reveal *,
.reveal-from-left *,
.reveal-from-right *,
.reveal-up *,
.review-reveal-item * {
    animation: none !important;
}

/* Remove expensive blur / glass effects */
*,
*::before,
*::after {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Fixed controls get their own compositor layer */
.floating-actions,
.back-to-top,
.navbar {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
}

/* Simplify fixed floating control shadows */
.floating-actions {
    box-shadow: 0 6px 16px rgba(23, 58, 103, .10) !important;
}

.back-to-top,
.floating-actions .floating-action-top {
    box-shadow: 0 5px 14px rgba(13, 39, 65, .12) !important;
}

/* Reduce expensive large-area shadows */
.welcome-section > .container,
.about-content-row,
.stats-card,
.message-panel,
.map-frame,
.site-footer,
.service-card,
.testimonial-card {
    box-shadow: 0 6px 20px rgba(31, 72, 120, .07) !important;
}

/* No image scaling while scrolling/hovering */
img,
.message-image,
.doctor-image,
.about-image,
.about-image img {
    transform: none !important;
    animation: none !important;
    transition: none !important;
    filter: none !important;
}

/* No decorative glow layers */
.message-panel::before,
.doctor-image-wrapper::after,
.service-card::before,
.testimonial-card::before {
    display: none !important;
}

/* Keep hover effects minimal */
.service-card,
.testimonial-card,
.stat-card,
.btn,
button,
a {
    transition:
        color .15s ease,
        background-color .15s ease,
        border-color .15s ease !important;
}

.service-card:hover,
.testimonial-card:hover,
.stat-card:hover,
.btn:hover,
button:hover {
    transform: none !important;
}

/* Remove any section background effects that repaint during scroll */
main > section,
main > section:nth-of-type(even),
body > section {
    background-image: none !important;
}

/* Avoid content-visibility quirks/jumps on some browsers */
.about-section,
.services-section,
.commitment-section,
.appointment-section,
.testimonials-section,
.map-section {
    content-visibility: visible !important;
    contain: none !important;
}

/* Let browser prioritize smooth scrolling */
body {
    overflow-x: hidden;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: auto !important;
    }
}



/* =========================================================
   MATCH ALL SECTION LABEL SIZES
========================================================= */
.welcome-label,
.about-label,
.services-label,
.testimonials-label,
.appointment-label,
.message-eyebrow {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
}


/* =========================================================
   OFFICIAL FINI HEALTH / UMC LOGO
========================================================= */

.site-brand-logo {
    display: block;
    width: auto;
    height: 58px;
    max-width: 300px;
    object-fit: contain;
}

.footer-brand-logo-wrap {
    margin-bottom: 18px;
}

.footer-brand-logo {
    display: block;
    width: min(300px, 100%);
    height: auto;
    object-fit: contain;
}

@media (max-width: 767px) {
    .site-brand-logo {
        height: 46px;
        max-width: 240px;
    }

    .footer-brand-logo {
        width: min(250px, 100%);
    }
}


/* =========================================================
   HEADER OFFICIAL LOGO
========================================================= */

.header-official-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    min-height: 96px;
}

.header-official-logo {
    display: block;
    width: auto;
    height: 76px;
    max-width: min(360px, 100%);
    object-fit: contain;
    object-position: left center;
}

@media (max-width: 767px) {
    .header-official-logo-wrap {
        min-height: 76px;
    }

    .header-official-logo {
        height: 58px;
        max-width: min(285px, 100%);
    }
}


/* =========================================================
   NAVBAR OFFICIAL LOGO
========================================================= */

.navbar-logo-link {
    display: inline-flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-right: 24px;
}

.navbar-logo {
    display: block;
    width: auto;
    height: 54px;
    max-width: 310px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .navbar-logo {
        height: 48px;
        max-width: 265px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 42px;
        max-width: 225px;
    }
}


/* =========================================================
   ABOUT PAGE
========================================================= */

.about-page {
    background:
        linear-gradient(
            180deg,
            #f4f9ff 0,
            #ffffff 360px
        );
}

.about-page-hero {
    padding: 90px 0 85px;
}

.about-page-kicker,
.about-page-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--clinic-blue, #4d9df7);

    font-size: 1.25rem;
    font-weight: 750;
}

.about-page-kicker::before,
.about-page-label::before {
    content: "";

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: currentColor;
}

.about-page-title {
    max-width: 1120px;

    margin: 20px 0 0;

    color: var(--clinic-ink, #102747);

    font-size: clamp(3rem, 5.8vw, 6rem);
    font-weight: 650;

    line-height: .98;
    letter-spacing: -.055em;
}

.about-page-lead {
    max-width: 980px;

    margin: 32px 0 0;

    color: #65778b;

    font-size: 1.15rem;
    line-height: 1.8;
}

.about-page-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr);

    gap: 20px;

    margin-top: 55px;
}

.about-page-image-card,
.about-page-values-card {
    overflow: hidden;

    border-radius: 28px;
}

.about-page-image-card {
    min-height: 500px;

    background: #dce9f7;
}

.about-page-image-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.about-page-values-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 45px;

    background:
        linear-gradient(
            145deg,
            #1a4c83,
            #123a67
        );

    color: #ffffff;
}

.about-value-item {
    display: grid;
    grid-template-columns: 56px 1fr;

    gap: 20px;

    padding: 28px 0;
}

.about-value-item + .about-value-item {
    border-top: 1px solid rgba(255,255,255,.18);
}

.about-value-number {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255,255,255,.62);
    border-radius: 50%;

    font-weight: 750;
}

.about-value-item h2 {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 1.45rem;
    font-weight: 700;
}

.about-value-item p {
    margin: 0;

    color: rgba(255,255,255,.78);

    line-height: 1.7;
}


/* =========================
   DOCTOR
========================= */

.about-doctor-section {
    padding: 90px 0;

    background: #ffffff;
}

.about-doctor-title {
    margin: 14px 0 28px;

    color: var(--clinic-ink, #102747);

    font-size: clamp(2.8rem, 4.8vw, 4.9rem);
    font-weight: 650;

    letter-spacing: -.045em;
}

.about-doctor-section p {
    color: #68798c;

    font-size: 1.02rem;
    line-height: 1.75;
}

.about-doctor-photo-card {
    position: relative;

    overflow: hidden;

    min-height: 650px;

    border-radius: 30px;

    background: #e6f0fa;
}

.about-doctor-photo-card img {
    width: 100%;
    height: 100%;

    min-height: 650px;

    object-fit: cover;
    object-position: center top;
}

.doctor-specialty-chip {
    position: absolute;

    left: 26px;
    bottom: 26px;

    display: inline-flex;
    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    background: #ffffff;

    border: 1px solid #dce8f5;
    border-radius: 999px;

    color: #18385f;

    font-weight: 750;
}

.doctor-specialty-chip i {
    color: var(--clinic-blue, #4d9df7);
}


/* =========================
   WHY CHOOSE US
========================= */

.about-why-section {
    padding: 90px 0;

    background: #f5f9fe;
}

.about-why-heading {
    max-width: 930px;

    margin: 0 auto 50px;

    text-align: center;
}

.about-why-heading h2 {
    margin: 14px 0 0;

    color: var(--clinic-ink, #102747);

    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 650;

    line-height: 1.04;
    letter-spacing: -.045em;
}

.why-feature-list {
    display: flex;
    flex-direction: column;

    gap: 16px;
}

.why-feature-card {
    display: grid;
    grid-template-columns: 68px 1fr;

    gap: 22px;

    padding: 28px;

    background: #ffffff;

    border: 1px solid #e2eaf4;
    border-radius: 20px;
}

.why-feature-icon {
    display: grid;
    place-items: center;

    width: 58px;
    height: 58px;

    background: #edf5ff;

    border-radius: 16px;

    color: var(--clinic-blue, #4d9df7);

    font-size: 1.5rem;
}

.why-feature-card h3 {
    margin: 0 0 8px;

    color: #153458;

    font-size: 1.25rem;
    font-weight: 750;
}

.why-feature-card p {
    margin: 0;

    color: #738397;

    line-height: 1.65;
}

.why-visual-card {
    position: relative;

    overflow: hidden;

    min-height: 100%;

    border-radius: 26px;

    background: #dce8f5;
}

.why-visual-card img {
    width: 100%;
    height: 100%;

    min-height: 520px;

    object-fit: cover;
}

.why-visual-overlay {
    position: absolute;

    left: 22px;
    right: 22px;
    bottom: 22px;

    display: flex;
    flex-direction: column;

    gap: 4px;

    padding: 20px 22px;

    background: rgba(255,255,255,.96);

    border-radius: 18px;

    color: #173657;
}

.why-visual-overlay span {
    color: #6f8296;

    font-size: .86rem;
    font-weight: 650;
}

.why-visual-overlay strong {
    font-size: 1.55rem;
    font-weight: 750;
}


/* =========================
   ABOUT CTA
========================= */

.about-cta-section {
    padding: 90px 0;
}

.about-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 48px;

    background:
        linear-gradient(
            135deg,
            #eaf4ff,
            #f8fbff
        );

    border: 1px solid #dce9f7;
    border-radius: 28px;
}

.about-cta-card h2 {
    max-width: 700px;

    margin: 12px 0 10px;

    color: var(--clinic-ink, #102747);

    font-size: clamp(2.2rem, 4vw, 3.7rem);
    font-weight: 650;

    line-height: 1.05;
    letter-spacing: -.04em;
}

.about-cta-card p {
    max-width: 700px;

    margin: 0;

    color: #6b7c8f;
}

.about-cta-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;
}


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

@media (max-width: 991px) {

    .about-page-hero,
    .about-doctor-section,
    .about-why-section,
    .about-cta-section {
        padding: 65px 0;
    }

    .about-page-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-page-image-card {
        min-height: 420px;
    }

    .about-doctor-photo-card,
    .about-doctor-photo-card img {
        min-height: 520px;
    }

    .about-cta-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 576px) {

    .about-page-hero {
        padding-top: 50px;
    }

    .about-page-kicker,
    .about-page-label {
        font-size: 1.05rem;
    }

    .about-page-title {
        font-size: 3rem;
    }

    .about-page-lead {
        font-size: 1rem;
    }

    .about-page-values-card {
        padding: 26px;
    }

    .about-value-item {
        grid-template-columns: 46px 1fr;

        gap: 14px;
    }

    .about-value-number {
        width: 42px;
        height: 42px;
    }

    .about-doctor-photo-card,
    .about-doctor-photo-card img {
        min-height: 430px;
    }

    .why-feature-card {
        grid-template-columns: 1fr;
    }

    .about-cta-card {
        padding: 30px 24px;
    }

    .about-cta-actions,
    .about-cta-actions .btn {
        width: 100%;
    }
}


/* =========================================================
   ABOUT PAGE — ORIGINAL FINI/UMC IMAGE TREATMENT
========================================================= */

.about-doctor-photo-card {
    background:
        linear-gradient(145deg, #eef6ff, #dceaf8);
}

.about-doctor-photo-card img {
    object-fit: contain !important;
    object-position: center bottom !important;
    background: #eef6ff;
}

.why-visual-card img {
    object-fit: cover;
    object-position: center 28%;
}

.about-page-image-card img {
    object-position: center 35%;
}



/* =========================================================
   ABOUT PAGE — USER-SUPPLIED FINAL IMAGES
========================================================= */

.about-doctor-photo-card {
    min-height: 0 !important;
    background: #ffffff !important;
}

.about-doctor-photo-card img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}

.why-visual-card {
    min-height: 0 !important;
    background: #ffffff !important;
}

.why-visual-card img {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
}



/* =========================================================
   INTERIOR PAGES — MODERN FINI HEALTH SYSTEM
========================================================= */

.site-main-nav {
    position: relative;
    z-index: 1100;
}

.site-main-nav .dropdown-menu {
    border: 1px solid #e2ebf5;
    border-radius: 14px;
    box-shadow: 0 16px 32px rgba(16,39,71,.10);
    padding: 8px;
}

.site-main-nav .dropdown-item {
    border-radius: 9px;
    padding: 9px 12px;
}

.interior-page {
    color: #102747;
    background: #fff;
}

.interior-hero {
    padding: 76px 0;
    background: linear-gradient(135deg,#eef6ff,#f9fcff);
    border-bottom: 1px solid #e2edf8;
}

.interior-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #4d9df7;
    font-size: 1.35rem;
    font-weight: 750;
}

.interior-eyebrow::before {
    content:"";
    width: 9px;
    height: 9px;
    border-radius:50%;
    background: currentColor;
}

.interior-hero h1 {
    max-width: 950px;
    margin: 18px 0 0;
    font-size: clamp(3rem,5vw,5.6rem);
    line-height: 1;
    letter-spacing: -.055em;
    font-weight: 650;
}

.interior-hero p {
    max-width: 820px;
    margin: 24px 0 0;
    color: #687c91;
    font-size: 1.1rem;
    line-height: 1.75;
}

.interior-hero-image {
    overflow:hidden;
    border-radius: 28px;
    min-height: 320px;
    background:#dceafb;
}

.interior-hero-image img {
    width:100%;
    height:100%;
    min-height:320px;
    max-height:420px;
    object-fit:cover;
}

.interior-section {
    padding: 82px 0;
}

.bg-soft {
    background:#f6faff;
}

.interior-title,
.section-heading h2 {
    margin: 14px 0 24px;
    font-size: clamp(2.4rem,4vw,4.2rem);
    line-height:1.05;
    letter-spacing:-.045em;
    font-weight:650;
}

.interior-section p {
    color:#68798c;
    line-height:1.75;
}

.split-feature-grid {
    display:grid;
    grid-template-columns:1.25fr .85fr;
    gap:20px;
}

.feature-image-card,
.feature-panel,
.doctor-source-photo,
.happy-patients-visual {
    overflow:hidden;
    border-radius:26px;
}

.feature-image-card img {
    width:100%;
    height:100%;
    min-height:500px;
    object-fit:cover;
}

.feature-panel-blue {
    padding:38px;
    background:linear-gradient(145deg,#1f538b,#143d6b);
    color:#fff;
}

.numbered-feature {
    display:grid;
    grid-template-columns:50px 1fr;
    gap:18px;
    padding:28px 0;
}

.numbered-feature + .numbered-feature {
    border-top:1px solid rgba(255,255,255,.18);
}

.numbered-feature > span {
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    border:1px solid rgba(255,255,255,.65);
    border-radius:50%;
}

.numbered-feature h2 {
    font-size:1.35rem;
    font-weight:700;
}

.numbered-feature p {
    color:rgba(255,255,255,.78);
    margin:0;
}

.doctor-source-photo img {
    display:block;
    width:100%;
    max-height:650px;
    object-fit:contain;
    background:#eef6ff;
}

.stacked-feature-list {
    display:flex;
    flex-direction:column;
    gap:14px;
}

.modern-info-card {
    display:grid;
    grid-template-columns:62px 1fr;
    gap:18px;
    padding:24px;
    border:1px solid #e1eaf4;
    border-radius:18px;
    background:#fff;
}

.modern-info-card i {
    display:grid;
    place-items:center;
    width:54px;height:54px;
    border-radius:14px;
    background:#edf5ff;
    color:#4d9df7;
    font-size:1.4rem;
}

.modern-info-card h3,
.content-card h3 {
    font-size:1.25rem;
    font-weight:750;
}

.happy-patients-visual {
    position:relative;
    min-height:520px;
    background:#eef6ff;
}

.happy-patients-visual > img {
    width:100%;
    height:100%;
    min-height:520px;
    object-fit:cover;
}

.happy-patients-card {
    position:absolute;
    right:20px;
    bottom:20px;
    width:min(330px,calc(100% - 40px));
    padding:26px;
    border-radius:22px;
    background:linear-gradient(145deg,#fff1ef,#fff);
    color:#102747;
    box-shadow:0 15px 30px rgba(16,39,71,.12);
}

.happy-patients-card .stars {
    letter-spacing:5px;
    margin-bottom:8px;
}

.count-line {
    display:flex;
    align-items:baseline;
    gap:2px;
    font-size:3.5rem;
    line-height:1;
    font-weight:700;
    letter-spacing:-.05em;
}

.happy-patients-card strong {
    display:block;
    margin-top:8px;
    font-size:1.15rem;
}

.content-card {
    padding:28px;
    border:1px solid #e2ebf5;
    border-radius:20px;
    background:#fff;
}

.content-card > span {
    display:block;
    margin-bottom:15px;
    color:#4d9df7;
    font-weight:750;
    font-size:.78rem;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.lead-copy {
    max-width:850px;
    text-align:center;
    color:#68798c;
    font-size:1.1rem;
    line-height:1.8;
}

.highlight-panel,
.notice-card,
.portal-card,
.contact-details-card,
.modern-form-card,
.intake-form-shell {
    padding:30px;
    border:1px solid #dfebf6;
    border-radius:22px;
    background:#f7fbff;
}

.check-list {
    margin:18px 0 0;
    padding-left:1.2rem;
    color:#5f7388;
}

.check-list li {
    margin:10px 0;
}

.notice-card {
    display:flex;
    gap:16px;
    align-items:flex-start;
}

.notice-card i {
    color:#4d9df7;
    font-size:1.5rem;
}

.download-card {
    display:flex;
    align-items:center;
    gap:13px;
    padding:18px 20px;
    border:1px solid #e1ebf5;
    border-radius:16px;
    color:#173657;
    text-decoration:none;
    font-weight:700;
    background:#fff;
}

.download-card:hover {
    border-color:#9dcaf8;
    color:#2d82dd;
}

.portal-card {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:32px;
}

.team-list {
    display:flex;
    flex-direction:column;
    gap:10px;
}

.team-list > div {
    display:flex;
    justify-content:space-between;
    gap:20px;
    padding:15px 0;
    border-bottom:1px solid #e2ebf5;
}

.team-list span {
    color:#6a7b8e;
}

.modern-form-card label,
.legacy-intake-form label {
    display:block;
    margin-bottom:6px;
    color:#294866;
    font-weight:700;
}

.modern-form-card .form-control {
    min-height:52px;
    border-radius:13px;
    border-color:#dce8f5;
    background:#fff;
}

.contact-details-card {
    display:flex;
    flex-direction:column;
    gap:24px;
}

.contact-details-card > div {
    display:grid;
    grid-template-columns:38px 1fr;
    gap:12px;
}

.contact-details-card i {
    color:#4d9df7;
    font-size:1.25rem;
}

.contact-details-card strong {
    display:block;
    margin-bottom:3px;
}

.contact-details-card a {
    color:inherit;
}

.intake-form-shell {
    background:#fff;
}

.legacy-intake-form input[type="text"],
.legacy-intake-form input[type="email"],
.legacy-intake-form input[type="tel"],
.legacy-intake-form input[type="date"],
.legacy-intake-form input[type="number"],
.legacy-intake-form select,
.legacy-intake-form textarea {
    width:100%;
    min-height:46px;
    padding:10px 12px;
    border:1px solid #dce7f3;
    border-radius:10px;
    background:#f8fbff;
}

.legacy-intake-form textarea {
    min-height:100px;
}

.legacy-intake-form input[type="checkbox"],
.legacy-intake-form input[type="radio"] {
    margin-right:6px;
}

.legacy-intake-form fieldset,
.legacy-intake-form .wpcf7-form-control-wrap {
    margin-bottom:12px;
}

@media (max-width:991px) {
    .interior-hero,.interior-section { padding:58px 0; }
    .split-feature-grid { grid-template-columns:1fr; }
    .feature-image-card img { min-height:380px; }
    .portal-card { flex-direction:column; align-items:flex-start; }
}

@media (max-width:576px) {
    .interior-eyebrow { font-size:1.05rem; }
    .interior-hero h1 { font-size:3rem; }
    .feature-panel-blue { padding:24px; }
    .numbered-feature { grid-template-columns:42px 1fr; }
    .happy-patients-visual,.happy-patients-visual > img { min-height:420px; }
    .modern-info-card { grid-template-columns:1fr; }
    .team-list > div { flex-direction:column; gap:4px; }
}


/* =========================================================
   ABOUT US HERO — GENERATED PATIENT-CENTERED CARE IMAGE
========================================================= */

.interior-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* =========================================================
   FINI KIDS — SPORTS VIDEO / WHERE FUN MEETS FITNESS
========================================================= */

.fini-kids-sports-section {
    padding: clamp(72px, 8vw, 130px) 0;
    background: #fff;
}

.fini-kids-sports-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(40px, 5vw, 76px);
    align-items: center;
}

.fini-kids-video-card {
    overflow: hidden;
    border-radius: 28px;
    background: #0b1724;
    box-shadow: 0 22px 60px rgba(9, 32, 62, .12);
}

.fini-kids-video-card video {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 4.1;
    object-fit: cover;
    background: #0b1724;
}

.fini-kids-sports-copy {
    max-width: 760px;
}

.fini-kids-sports-copy .fini-kids-orange {
    display: inline-block;
    margin-bottom: 18px;
    color: #ff432f;
    font-size: clamp(1.25rem, 1.6vw, 1.7rem);
    font-weight: 800;
}

.fini-kids-sports-copy h2 {
    margin: 0 0 34px;
    color: #08171d;
    font-size: clamp(2.6rem, 4vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -.04em;
    font-weight: 800;
}

.fini-kids-sports-copy p {
    color: #68706f;
    font-size: clamp(1.05rem, 1.35vw, 1.35rem);
    line-height: 1.75;
    margin: 0 0 28px;
}

@media (max-width: 991px) {
    .fini-kids-sports-grid {
        grid-template-columns: 1fr;
    }

    .fini-kids-video-card video {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 575px) {
    .fini-kids-sports-section {
        padding: 58px 0;
    }

    .fini-kids-video-card {
        border-radius: 20px;
    }

    .fini-kids-video-card video {
        aspect-ratio: 4 / 5;
    }
}


/* =========================================================
   FINI KIDS — CHILDREN'S GROWTH SECTION
========================================================= */

.fini-kids-growth-section {
    padding: clamp(80px, 8vw, 130px) 0;
    background: #ffffff;
}

.fini-kids-growth-heading {
    max-width: 920px;
    margin: 0 auto clamp(54px, 6vw, 86px);
}

.fini-kids-growth-heading h2 {
    margin: 0;
    color: #08171d;
    font-size: clamp(3rem, 5vw, 5.3rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.fini-kids-growth-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    height: 100%;
}

.fini-kids-growth-card {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 28px;
    align-items: start;

    padding: 34px 38px;

    background: #ffffff;
    border: 1px solid #e4e8eb;
    border-radius: 18px;
}

.fini-kids-growth-icon {
    display: grid;
    place-items: center;

    width: 64px;
    height: 64px;

    color: #ff432f;
    font-size: 2.1rem;
}

.fini-kids-growth-card h3 {
    margin: 2px 0 16px;
    color: #071a3b;
    font-size: clamp(1.35rem, 1.7vw, 1.75rem);
    font-weight: 800;
}

.fini-kids-growth-card p {
    margin: 0;
    color: #69706f;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.6;
}

.fini-kids-growth-image {
    overflow: hidden;
    height: 100%;
    min-height: 620px;

    border-radius: 18px;
    background: #edf2f5;
}

.fini-kids-growth-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 620px;

    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
    .fini-kids-growth-heading br {
        display: none;
    }

    .fini-kids-growth-image,
    .fini-kids-growth-image img {
        min-height: 470px;
    }
}

@media (max-width: 575px) {
    .fini-kids-growth-section {
        padding: 60px 0;
    }

    .fini-kids-growth-heading {
        margin-bottom: 38px;
    }

    .fini-kids-growth-heading h2 {
        font-size: 2.7rem;
    }

    .fini-kids-growth-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 26px 24px;
    }

    .fini-kids-growth-image,
    .fini-kids-growth-image img {
        min-height: 360px;
    }
}


/* FINI KIDS — ACEs VIDEO */
.fini-kids-aces-video {
    padding: clamp(70px, 8vw, 120px) 0;
    background: #f3f8fe;
}

.fini-kids-aces-player {
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 24px;
    background: #071a3b;
    box-shadow: 0 22px 60px rgba(7, 26, 59, .10);
}

.fini-kids-aces-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.fini-kids-aces-copy {
    max-width: 520px;
}

.fini-kids-aces-label {
    display: inline-block;
    margin-bottom: 16px;
    color: #4c9bf5;
    font-size: 1.15rem;
    font-weight: 800;
}

.fini-kids-aces-copy h2 {
    margin: 0 0 22px;
    color: #0a2449;
    font-size: clamp(2.4rem, 4vw, 4.5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.035em;
}

.fini-kids-aces-copy p {
    margin: 0;
    color: #64768d;
    font-size: clamp(1rem, 1.25vw, 1.2rem);
    line-height: 1.75;
}

@media (max-width: 991px) {
    .fini-kids-aces-copy {
        max-width: none;
    }
}


/* =========================================================
   FINI KIDS — NEW HERO IMAGE
========================================================= */

.fini-kids-hero .interior-hero-image {
    overflow: hidden;
    border-radius: 30px;
    background: #eef5fc;
}

.fini-kids-hero .interior-hero-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    object-position: center center;
}

@media (max-width: 991px) {
    .fini-kids-hero .interior-hero-image img {
        min-height: 360px;
    }
}

@media (max-width: 575px) {
    .fini-kids-hero .interior-hero-image {
        border-radius: 22px;
    }

    .fini-kids-hero .interior-hero-image img {
        min-height: 300px;
    }
}


/* =========================================================
   FINI KIDS HERO — FIXED PHOTO-ONLY IMAGE
========================================================= */

.fini-kids-hero .row {
    align-items: center;
}

.fini-kids-hero .interior-hero-image {
    width: 100%;
    overflow: hidden;
    border-radius: 30px;
    background: #eef5fc;
}

.fini-kids-hero .interior-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.15 / 1;
    height: auto !important;
    min-height: 0 !important;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 991px) {
    .fini-kids-hero .interior-hero-image img {
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 575px) {
    .fini-kids-hero .interior-hero-image {
        border-radius: 22px;
    }

    .fini-kids-hero .interior-hero-image img {
        aspect-ratio: 4 / 3;
    }
}


/* =========================================================
   OUR SERVICES — MODERN GROUPED LAYOUT
========================================================= */

.services-page {
    background: #ffffff;
}

.services-page-hero {
    padding: 72px 0 56px;
    background:
        linear-gradient(
            180deg,
            #f5f9fe 0%,
            #ffffff 100%
        );
}

.services-page-eyebrow,
.service-category-heading span {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: #ff432f;

    font-size: 1.25rem;
    font-weight: 800;
}

.services-page-eyebrow::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #4d9df7;
}

.services-page-hero h1 {
    max-width: 980px;
    margin: 16px auto 0;

    color: #08171d;

    font-size: clamp(3rem, 5vw, 5.4rem);
    font-weight: 800;

    line-height: 1.01;
    letter-spacing: -.045em;
}

.services-page-hero p {
    max-width: 840px;
    margin: 26px auto 0;

    color: #6b7c90;

    font-size: 1.15rem;
    line-height: 1.75;
}

.service-category-section {
    padding: clamp(76px, 8vw, 120px) 0;
}

.service-category-white {
    background: #ffffff;
}

.service-category-blue {
    background: #dff1f5;
}

.service-category-heading {
    max-width: 940px;
    margin: 0 auto 55px;
}

.service-category-heading h2 {
    margin: 14px auto 0;

    color: #08171d;

    font-size: clamp(2.7rem, 4.4vw, 4.7rem);
    font-weight: 800;

    line-height: 1.03;
    letter-spacing: -.04em;
}

.service-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.medical-service-card {
    min-height: 320px;

    padding: 40px 42px;

    background: #ffffff;

    border: 1px solid #e4e9ee;
    border-radius: 22px;

    transition:
        transform .18s ease,
        border-color .18s ease,
        box-shadow .18s ease;
}

.service-category-blue .medical-service-card {
    border-color: rgba(255,255,255,.72);
}

.medical-service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,67,47,.22);
    box-shadow: 0 16px 34px rgba(17,45,75,.08);
}

.medical-service-icon {
    display: grid;
    place-items: center;

    width: 62px;
    height: 62px;

    margin-bottom: 28px;

    color: #ff432f;

    font-size: 2rem;
}

.medical-service-card h3 {
    margin: 0 0 18px;

    color: #071a24;

    font-size: clamp(1.3rem, 1.65vw, 1.65rem);
    font-weight: 800;

    line-height: 1.2;
}

.medical-service-card p {
    margin: 0;

    color: #697170;

    font-size: 1.04rem;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .service-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .services-page-hero {
        padding: 52px 0 40px;
    }

    .service-card-grid {
        grid-template-columns: 1fr;
    }

    .medical-service-card {
        min-height: 0;
        padding: 30px 26px;
    }

    .service-category-heading {
        margin-bottom: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .medical-service-card {
        transition: none !important;
    }
}


/* =========================================================
   SERVICE LINKS + OUR SERVICES NAVIGATION
========================================================= */

.medical-service-link {
    position: relative;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    border-radius: 22px;
}

.medical-service-link .medical-service-card {
    flex: 1 1 auto;
    width: 100%;
}

.medical-service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin: -58px 0 30px 42px;
    position: relative;
    z-index: 2;
    color: #ff432f;
    font-size: .92rem;
    font-weight: 800;
}

.medical-service-link:hover .medical-service-card {
    transform: translateY(-4px);
    border-color: rgba(255, 67, 47, .28);
    box-shadow: 0 16px 34px rgba(17, 45, 75, .08);
}

.medical-service-link:hover .medical-service-learn-more {
    text-decoration: underline;
}

.services-nav-item {
    position: static;
}

.services-mega-menu {
    left: 50% !important;
    right: auto !important;
    width: min(980px, calc(100vw - 40px));
    max-height: min(72vh, 720px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid #e2eaf1;
    border-radius: 22px;
    box-shadow: 0 20px 55px rgba(13, 39, 65, .13);
    transform: translateX(-50%);
}

.services-menu-top {
    padding: 0 4px;
}

.services-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    color: #0c2746;
    font-weight: 800;
    border-radius: 12px;
}

.services-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding: 8px 6px 4px;
}

.services-menu-heading {
    margin: 0 0 7px;
    padding: 7px 12px;
    color: #4d9df7;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.services-menu-group .dropdown-item {
    white-space: normal;
    padding: 8px 12px;
    border-radius: 10px;
    color: #40546a;
    font-size: .9rem;
}

.services-menu-group .dropdown-item:hover,
.services-menu-group .dropdown-item:focus,
.services-all-link:hover,
.services-all-link:focus {
    color: #0d2c50;
    background: #eef6ff;
}

@media (max-width: 1199px) {
    .services-nav-item {
        position: relative;
    }

    .services-mega-menu {
        left: 0 !important;
        width: min(720px, calc(100vw - 30px));
        transform: none;
        max-height: 62vh;
    }

    .services-menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .services-mega-menu {
        width: calc(100vw - 30px);
        padding: 12px;
    }

    .services-menu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .medical-service-learn-more {
        margin-left: 26px;
    }
}


/* =========================================================
   OUR SERVICES NAV — FIVE DETAIL PAGES
========================================================= */
.services-simple-menu {
    min-width: 290px;
    padding: 10px;
    border: 1px solid #e2eaf1;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(13, 39, 65, .12);
}

.services-simple-menu .dropdown-item {
    padding: 10px 12px;
    border-radius: 10px;
    color: #40546a;
    font-size: .92rem;
}

.services-simple-menu .dropdown-item:hover,
.services-simple-menu .dropdown-item:focus {
    color: #0d2c50;
    background: #eef6ff;
}

/* Updated Our Services navigation */
.services-simple-menu {
    min-width: 310px;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #e5e9ed;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(8, 30, 50, .12);
}
.services-simple-menu .dropdown-item {
    padding: 10px 13px;
    border-radius: 9px;
    color: #0b1820;
    line-height: 1.3;
}
.services-simple-menu .dropdown-item:hover,
.services-simple-menu .dropdown-item:focus {
    background: #f2f7fb;
    color: #ff432f;
}


/* =========================================================
   OUR SERVICES — REFERENCE SCREENSHOT MATCH
========================================================= */

.services-reference-page {
    background: #fff;
    color: #08171d;
}

.services-ref-section {
    padding: 78px 0 92px;
}

.services-ref-container {
    width: min(100%, 1750px);
    padding-left: 36px;
    padding-right: 36px;
}

.services-ref-heading {
    max-width: 1100px;
    margin: 0 auto 72px;
}

.services-ref-heading span {
    display: block;
    margin-bottom: 12px;
    color: #ff432f;
    font-size: clamp(1.2rem, 1.55vw, 1.65rem);
    font-weight: 750;
    line-height: 1.2;
}

.services-ref-heading h1,
.services-ref-heading h2 {
    margin: 0;
    color: #08171d;
    font-size: clamp(3rem, 4.8vw, 5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.services-ref-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px 26px;
}

.services-ref-card {
    display: block;
    min-width: 0;
    min-height: 430px;
    padding: 52px 62px 50px;
    background: #fff;
    border: 1px solid #e3e6e8;
    border-radius: 20px;
    color: inherit;
    text-decoration: none;
    box-shadow: none;
}

.services-ref-link {
    cursor: pointer;
}

.services-ref-link:hover,
.services-ref-link:focus {
    color: inherit;
    text-decoration: none;
    border-color: #ffd0ca;
}

.services-ref-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    color: #ff432f;
    font-size: 3.2rem;
    line-height: 1;
}

.services-ref-icon i {
    font-size: 3.2rem;
    line-height: 1;
}

.services-ref-icon svg {
    width: 66px;
    height: 66px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-ref-card h2 {
    margin: 0 0 24px;
    color: #08171d;
    font-size: clamp(1.55rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.services-ref-card p {
    margin: 0;
    color: #686f6d;
    font-size: clamp(1.1rem, 1.45vw, 1.34rem);
    line-height: 1.62;
    font-weight: 400;
}

.services-ref-womens {
    background: #dff1f4;
    padding-top: 36px;
}

.services-ref-heading-womens {
    margin-bottom: 86px;
}

.services-ref-heading-womens span {
    color: #08171d;
}

.services-ref-heading-womens h2 {
    font-size: clamp(3.2rem, 5vw, 5.1rem);
}

.services-ref-womens .services-ref-card {
    min-height: 520px;
    border-color: rgba(255, 255, 255, .75);
}

.services-ref-common {
    padding-top: 58px;
}

.services-ref-common .services-ref-card {
    min-height: 480px;
}

@media (max-width: 1100px) {
    .services-ref-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services-ref-card {
        padding: 42px 42px;
    }
}

@media (max-width: 700px) {
    .services-ref-section {
        padding: 54px 0 64px;
    }

    .services-ref-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .services-ref-heading {
        margin-bottom: 42px;
    }

    .services-ref-heading-womens h2 br {
        display: none;
    }

    .services-ref-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .services-ref-card,
    .services-ref-womens .services-ref-card,
    .services-ref-common .services-ref-card {
        min-height: 0;
        padding: 32px 28px 34px;
    }

    .services-ref-icon {
        margin-bottom: 20px;
    }
}


/* =========================================================
   X-RAY PAGE — REFERENCE SCREENSHOT MATCH
========================================================= */

.xray-reference-page {
    background: #ffffff;
    color: #08171d;
}

.xray-page-container {
    width: min(100%, 1760px);
    padding-left: 44px;
    padding-right: 44px;
}

.xray-intro-section {
    padding: 36px 0 74px;
}

.xray-eyebrow {
    display: block;
    margin-bottom: 18px;
    color: #ff432f;
    font-size: clamp(1.25rem, 1.55vw, 1.65rem);
    font-weight: 700;
}

.xray-intro-section h1 {
    max-width: 760px;
    margin: 0 0 34px;
    color: #08171d;
    font-size: clamp(3rem, 4.35vw, 4.75rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.xray-copy {
    color: #686f6d;
    font-size: clamp(1.05rem, 1.26vw, 1.28rem);
    line-height: 1.72;
}

.xray-copy p {
    margin: 0 0 26px;
}

.xray-photo-card {
    overflow: hidden;
    width: 100%;
    border-radius: 14px;
    background: #eef2f3;
}

.xray-photo-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.04 / 1;
    object-fit: cover;
    object-position: center;
}

.xray-consider-section {
    padding: 34px 0 88px;
}

.xray-consider-section h2 {
    margin: 0 0 34px;
    color: #08171d;
    font-size: clamp(2.8rem, 4.1vw, 4.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.xray-copy-wide {
    max-width: none;
}

.xray-needed-block {
    margin-top: 40px;
}

.xray-needed-block h3 {
    margin: 0 0 18px;
    color: #08171d;
    font-size: clamp(1.65rem, 2.2vw, 2.25rem);
    font-weight: 800;
}

.xray-needed-item {
    margin-bottom: 25px;
}

.xray-needed-item h4 {
    margin: 0 0 6px;
    color: #5f6766;
    font-size: clamp(1.02rem, 1.2vw, 1.2rem);
    font-weight: 800;
}

.xray-needed-item p,
.xray-closing-copy {
    margin: 0;
    color: #686f6d;
    font-size: clamp(1rem, 1.18vw, 1.18rem);
    line-height: 1.65;
}

.xray-closing-copy {
    margin-top: 30px;
}

.xray-contact-button {
    margin-top: 18px;
    padding: 11px 27px;
    border: 0;
    border-radius: 999px;
    background: #ff432f;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.xray-contact-button:hover,
.xray-contact-button:focus {
    background: #e93624;
    color: #fff;
}

@media (max-width: 991px) {
    .xray-page-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .xray-photo-card img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 575px) {
    .xray-page-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .xray-intro-section {
        padding-top: 28px;
    }

    .xray-intro-section h1 {
        font-size: 2.7rem;
    }

    .xray-consider-section h2 {
        font-size: 2.45rem;
    }
}


/* =========================================================
   PATIENT INTAKE FORM — REFERENCE SCREENSHOT MATCH
========================================================= */

.patient-intake-reference-page {
    background: #f7f9fc;
    padding: 38px 0 70px;
}

.patient-intake-form-section {
    padding: 0;
}

.patient-intake-container {
    width: min(100% - 48px, 1230px);
    margin: 0 auto;
}

.patient-intake-reference-page .intake-form-shell {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

/* Form shell */
.patient-intake-form {
    width: 100%;
    margin: 0 !important;
    padding: 0 0 32px !important;
    color: #0e203c !important;
    background: transparent !important;
    font-family: inherit !important;
}

/* Header card */
.patient-intake-form .fini-form-header {
    margin: 0 0 22px !important;
    padding: 30px 32px 24px !important;
    background: #fff !important;
    border: 1px solid #d8e1ec !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 28px rgba(23, 58, 103, .04);
    text-align: center !important;
}

.patient-intake-form .fini-form-header img {
    display: block !important;
    width: min(100%, 850px) !important;
    height: auto !important;
    max-width: 850px !important;
    max-height: none !important;
    margin: 0 auto 18px !important;
    object-fit: contain;
}

.patient-intake-form .fini-form-header h1 {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #10213d !important;
    background: transparent !important;
    font-family: inherit !important;
    font-size: clamp(2rem, 3vw, 2.45rem) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
}

/* Blue notice */
.patient-intake-form .cf7-notice {
    margin: 0 0 28px !important;
    padding: 16px 20px !important;
    background: #edf9fe !important;
    border: 1px solid #a7d8eb !important;
    border-left: 6px solid #22a8cf !important;
    border-radius: 11px !important;
    color: #294961 !important;
    font-size: 1rem !important;
    line-height: 1.65 !important;
}

.patient-intake-form .cf7-notice strong {
    color: #1d4058;
    font-weight: 800;
}

/* White section cards */
.patient-intake-form .cf7-section,
.patient-intake-form .cf7-policy {
    margin: 0 0 28px !important;
    padding: 18px 24px 24px !important;
    background: #fff !important;
    border: 1px solid #d8e1ec !important;
    border-radius: 15px !important;
    box-shadow: 0 7px 24px rgba(23, 58, 103, .035);
}

/* Orange section bars */
.patient-intake-form .cf7-section > h2,
.patient-intake-form .cf7-policy > h3 {
    margin: 0 0 22px !important;
    padding: 12px 17px !important;
    background: linear-gradient(90deg, #ff4a27, #ff6436) !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

/* No visual "page break" bars on the web version */
.patient-intake-form .cf7-page-break {
    display: none !important;
}

/* Modern grids */
.patient-intake-form .cf7-grid-2,
.patient-intake-form .cf7-grid-3,
.patient-intake-form .cf7-grid-4 {
    display: grid !important;
    gap: 18px 20px !important;
}

.patient-intake-form .cf7-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.patient-intake-form .cf7-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.patient-intake-form .cf7-grid-4 {
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(100px, .8fr)) minmax(150px, 1.4fr) !important;
}

.patient-intake-form .cf7-full {
    grid-column: 1 / -1 !important;
}

/* Labels */
.patient-intake-form label {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #13233d !important;
    font-family: inherit !important;
    font-size: .94rem !important;
    font-weight: 750 !important;
    line-height: 1.35 !important;
}

/* Inputs */
.patient-intake-form input[type="text"],
.patient-intake-form input[type="email"],
.patient-intake-form input[type="date"],
.patient-intake-form input[type="tel"],
.patient-intake-form input[type="number"],
.patient-intake-form select,
.patient-intake-form textarea {
    display: block !important;
    width: 100% !important;
    min-height: 49px !important;
    margin: 8px 0 0 !important;
    padding: 11px 14px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #c9d6e5 !important;
    border-radius: 8px !important;
    color: #14233a !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    line-height: 1.35 !important;
    outline: none !important;
    box-shadow: none !important;
}

.patient-intake-form input:focus,
.patient-intake-form select:focus,
.patient-intake-form textarea:focus {
    border-color: #58a7ea !important;
    box-shadow: 0 0 0 3px rgba(77, 157, 247, .12) !important;
}

.patient-intake-form textarea {
    min-height: 118px !important;
    resize: vertical;
}

.patient-intake-form ::placeholder {
    color: #8a9ab0 !important;
    opacity: 1 !important;
}

/* Checkbox/radio sections */
.patient-intake-form input[type="checkbox"],
.patient-intake-form input[type="radio"] {
    width: 17px !important;
    height: 17px !important;
    margin: 0 7px 0 0 !important;
    accent-color: #ff4a27;
}

.patient-intake-form .wpcf7-list-item {
    display: inline-flex;
    align-items: center;
    margin: 5px 16px 5px 0 !important;
    color: #31445a;
    font-size: .94rem;
}

/* Table-like medical history areas */
.patient-intake-form .cf7-head {
    margin: 0 !important;
    padding: 10px 9px !important;
    background: #f3f6fa !important;
    border: 1px solid #d7e0ea !important;
    color: #24374e !important;
    font-size: .84rem !important;
    font-weight: 800 !important;
    text-align: center !important;
}

.patient-intake-form .cf7-grid-4 > .wpcf7-form-control-wrap {
    min-height: 42px !important;
    margin: 0 !important;
    padding: 8px !important;
    background: #fff;
    border: 1px solid #d7e0ea !important;
    text-align: center;
}

/* Supporting policy / consent blocks */
.patient-intake-form .cf7-policy {
    color: #4f6174 !important;
    font-size: .94rem !important;
    line-height: 1.65 !important;
}

.patient-intake-form .cf7-subtitle {
    margin: 22px 0 11px !important;
    color: #10213d !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
}

/* Submit */
.patient-intake-form input[type="submit"],
.patient-intake-form button[type="submit"] {
    display: block !important;
    width: 100% !important;
    margin: 18px 0 0 !important;
    padding: 14px 20px !important;
    background: linear-gradient(90deg, #ff4a27, #ff6436) !important;
    border: 0 !important;
    border-radius: 8px !important;
    color: #fff !important;
    font-family: inherit !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    text-align: center !important;
    cursor: pointer;
}

.patient-intake-form input[type="submit"]:hover,
.patient-intake-form button[type="submit"]:hover {
    background: #ed3e1d !important;
}

/* Keep floating back-to-top clear of fields */
.patient-intake-reference-page + .back-to-top,
.patient-intake-reference-page .back-to-top {
    z-index: 50;
}

@media (max-width: 900px) {
    .patient-intake-container {
        width: min(100% - 30px, 1230px);
    }

    .patient-intake-form .cf7-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .patient-intake-form .cf7-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .patient-intake-reference-page {
        padding-top: 18px;
    }

    .patient-intake-container {
        width: min(100% - 20px, 1230px);
    }

    .patient-intake-form .fini-form-header {
        padding: 22px 16px 20px !important;
    }

    .patient-intake-form .cf7-section,
    .patient-intake-form .cf7-policy {
        padding: 14px 14px 18px !important;
    }

    .patient-intake-form .cf7-grid-2,
    .patient-intake-form .cf7-grid-3,
    .patient-intake-form .cf7-grid-4 {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .patient-intake-form .cf7-section > h2,
    .patient-intake-form .cf7-policy > h3 {
        margin-bottom: 18px !important;
    }
}


/* =========================================================
   CAREERS PAGE — REFERENCE SCREENSHOT MATCH
========================================================= */

.careers-reference-page {
    background: #ffffff;
    color: #071632;
}

.careers-page-container {
    width: min(100% - 72px, 1420px);
    margin: 0 auto;
}

/* INFO CARDS */
.careers-info-section {
    padding: 108px 0 72px;
}

.careers-info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.careers-info-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 24px;
    min-height: 272px;
    padding: 42px 44px;
    background: #fff;
    border: 1px solid #e4e7e9;
    border-radius: 12px;
}

.careers-info-icon {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    background: #dceff3;
    border-radius: 8px;
    color: #071a24;
    font-size: 2.6rem;
}

.careers-info-card h2 {
    margin: 0 0 18px;
    color: #071632;
    font-size: 1.32rem;
    font-weight: 800;
}

.careers-info-card p,
.careers-team-list {
    margin: 0;
    color: #707472;
    font-size: 1.02rem;
    line-height: 1.7;
}

.careers-contact-lines {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.careers-contact-lines a {
    color: #08171d;
    font-weight: 800;
    text-decoration: none;
}

.careers-contact-lines strong,
.careers-team-list strong {
    color: #666b69;
    font-weight: 800;
}

/* RESUME AREA */
.careers-resume-section {
    padding: 34px 0 86px;
    overflow: hidden;
}

.careers-resume-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr) 245px;
    gap: 0;
    align-items: center;
}

.careers-form-card {
    position: relative;
    z-index: 3;
    padding: 54px 54px 28px;
    background: #fff;
    border: 1px solid #e3e6e8;
    border-radius: 10px;
}

.careers-form-card h1 {
    margin: 0 0 44px;
    color: #08171d;
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
}

.careers-resume-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.careers-field input,
.careers-file-control {
    width: 100%;
    min-height: 68px;
    padding: 0 30px;
    background: #f0f1f2;
    border: 0;
    border-radius: 999px;
    color: #27323a;
    font-size: 1rem;
}

.careers-field input {
    outline: none;
}

.careers-field input:focus {
    box-shadow: 0 0 0 3px rgba(255, 67, 47, .09);
}

.careers-field input::placeholder {
    color: #747b80;
    opacity: 1;
}

.careers-file-field > label {
    display: block;
    margin: 0 0 8px;
    color: #ff432f;
    font-size: .98rem;
    font-weight: 500;
}

.careers-file-control {
    display: flex;
    align-items: center;
    padding: 15px 22px;
    border-radius: 22px;
}

.careers-file-control input[type="file"] {
    width: 100%;
    color: #222b31;
    font-size: .98rem;
}

.careers-file-control input[type="file"]::file-selector-button {
    margin-right: 8px;
    padding: 5px 10px;
    border: 1px solid #555;
    background: #f9f9f9;
    color: #222;
    cursor: pointer;
}

/* Production anti-spam note styled to occupy same visual slot as reference */
.careers-captcha-note {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    width: fit-content;
    max-width: 100%;
    padding: 14px 16px;
    background: #fafafa;
    border: 1px solid #d7d7d7;
    color: #57616a;
    font-size: .84rem;
}

.careers-captcha-checkbox {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    background: #fff;
    border: 2px solid #555;
}

.careers-submit-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 62px;
    margin-top: 3px;
    background: #ff432f;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.careers-submit-button:hover {
    background: #e93825;
}

/* SIDE PORTRAITS */
.careers-side-portrait,
.careers-side-sign {
    position: relative;
    z-index: 2;
    overflow: hidden;
    height: 430px;
    background: #d9eff4;
}

.careers-side-portrait {
    margin-right: -30px;
    border-radius: 150px 0 0 150px;
}

.careers-side-sign {
    margin-left: -30px;
    border-radius: 0 150px 150px 0;
}

.careers-side-portrait img,
.careers-side-sign img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.careers-side-portrait img {
    object-position: center top;
}

.careers-side-sign img {
    object-position: center;
}

/* MAP */
.careers-map-section {
    padding: 50px 0 120px;
}

.careers-map-frame {
    overflow: hidden;
    height: 470px;
    border-radius: 10px;
    background: #e6ecef;
}

.careers-map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1100px) {
    .careers-page-container {
        width: min(100% - 42px, 1420px);
    }

    .careers-info-grid {
        grid-template-columns: 1fr;
    }

    .careers-info-card {
        min-height: 0;
    }

    .careers-resume-layout {
        grid-template-columns: 170px minmax(0, 1fr) 170px;
    }
}

@media (max-width: 820px) {
    .careers-info-section {
        padding-top: 62px;
    }

    .careers-resume-layout {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .careers-side-portrait,
    .careers-side-sign {
        width: min(320px, 88vw);
        height: 390px;
        margin: 0 auto;
        border-radius: 160px;
    }

    .careers-form-card {
        order: 2;
        padding: 38px 26px 26px;
    }

    .careers-side-portrait {
        order: 1;
    }

    .careers-side-sign {
        order: 3;
    }
}

@media (max-width: 600px) {
    .careers-page-container {
        width: min(100% - 24px, 1420px);
    }

    .careers-info-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .careers-info-icon {
        width: 64px;
        height: 64px;
    }

    .careers-map-frame {
        height: 360px;
    }
}


/* =========================================================
   FLU SHOTS — FULL DETAIL PAGE
========================================================= */

.flu-detail-page {
    background: #ffffff;
    color: #0d2748;
}

.flu-detail-hero {
    padding: 46px 0 76px;
    background:
        linear-gradient(
            180deg,
            #f4f9ff 0%,
            #ffffff 100%
        );
}

.flu-detail-icon {
    display: grid;
    place-items: center;

    width: 68px;
    height: 68px;

    margin-bottom: 24px;

    border-radius: 18px;

    background: #edf5ff;
    color: #2f89ee;

    font-size: 2rem;
}

.flu-detail-hero h1 {
    margin: 0 0 20px;

    color: #0d2748;

    font-size: clamp(3.2rem, 5.8vw, 6rem);
    font-weight: 750;

    line-height: .98;
    letter-spacing: -.05em;
}

.flu-detail-lead {
    max-width: 680px;

    margin: 0 0 22px;

    color: #263d59;

    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    line-height: 1.6;
}

.flu-detail-copy {
    max-width: 700px;

    margin: 0;

    color: #65788e;

    font-size: 1.04rem;
    line-height: 1.75;
}

.flu-detail-photo {
    overflow: hidden;

    border-radius: 26px;

    background: #edf3f8;

    box-shadow: 0 18px 40px rgba(13, 39, 72, .08);
}

.flu-detail-photo img {
    display: block;

    width: 100%;
    height: 100%;
    min-height: 430px;

    object-fit: cover;
    object-position: center;
}

.flu-expect-section {
    padding: 82px 0;
}

.flu-section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #2f89ee;

    font-size: 1.05rem;
    font-weight: 800;
}

.flu-expect-section h2,
.flu-season-banner h2 {
    margin: 0;

    color: #0d2748;

    font-size: clamp(2.5rem, 4.3vw, 4.4rem);
    font-weight: 750;

    line-height: 1.04;
    letter-spacing: -.04em;
}

.flu-check-list {
    display: grid;

    gap: 13px;

    margin-top: 30px;
}

.flu-check-list > div {
    display: flex;
    align-items: center;

    gap: 11px;

    color: #2d4662;

    font-size: 1.06rem;
    font-weight: 650;
}

.flu-check-list i {
    color: #4d9df7;
}

.flu-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}

.flu-benefit-copy {
    max-width: 780px;

    margin-bottom: 30px;

    color: #53677e;

    font-size: 1.08rem;
    line-height: 1.75;
}

.flu-benefit-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.flu-benefit-item {
    padding: 25px;

    background: #f7faff;

    border: 1px solid #e4edf6;
    border-radius: 18px;
}

.flu-benefit-icon {
    display: grid;
    place-items: center;

    width: 52px;
    height: 52px;

    margin-bottom: 17px;

    border-radius: 50%;

    background: #eaf4ff;
    color: #2f89ee;

    font-size: 1.45rem;
}

.flu-benefit-item h3 {
    margin: 0 0 8px;

    color: #163554;

    font-size: 1.1rem;
    font-weight: 800;
}

.flu-benefit-item p {
    margin: 0;

    color: #6d8094;

    font-size: .95rem;
    line-height: 1.55;
}

.flu-season-banner-section {
    padding: 0 0 90px;
}

.flu-season-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 36px;

    padding: 38px 42px;

    background:
        linear-gradient(
            135deg,
            #eaf4ff,
            #f7fbff
        );

    border: 1px solid #dce9f7;
    border-radius: 24px;
}

.flu-season-banner h2 {
    font-size: clamp(2rem, 3.3vw, 3.2rem);
}

.flu-season-banner p {
    max-width: 760px;

    margin: 13px 0 0;

    color: #63778d;

    line-height: 1.65;
}

@media (max-width: 991px) {
    .flu-detail-photo img {
        min-height: 360px;
    }

    .flu-season-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .flu-detail-hero,
    .flu-expect-section {
        padding: 54px 0;
    }

    .flu-benefit-grid {
        grid-template-columns: 1fr;
    }

    .flu-detail-photo img {
        min-height: 300px;
    }

    .flu-season-banner {
        padding: 28px 24px;
    }

    .flu-actions,
    .flu-actions .btn,
    .flu-season-banner .btn {
        width: 100%;
    }
}


/* Additional Flu Shots content */
.flu-info-section {
    padding: 88px 0;
    background: #f6faff;
}

.flu-info-heading {
    max-width: 850px;
    margin: 0 auto 44px;
    text-align: center;
}

.flu-info-heading h2,
.flu-aftercare-section h2 {
    margin: 0 0 18px;
    color: #0d2748;
    font-size: clamp(2.4rem, 4vw, 4rem);
    font-weight: 750;
    line-height: 1.05;
    letter-spacing: -.04em;
}

.flu-info-heading p,
.flu-aftercare-section p {
    margin: 0;
    color: #65788e;
    font-size: 1.08rem;
    line-height: 1.75;
}

.flu-info-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.flu-info-card {
    padding: 34px;
    background: #fff;
    border: 1px solid #e1ebf5;
    border-radius: 22px;
}

.flu-info-card > i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    border-radius: 16px;
    background: #eaf4ff;
    color: #2f89ee;
    font-size: 1.6rem;
}

.flu-info-card h3,
.flu-faq-grid h3 {
    margin: 0 0 12px;
    color: #163554;
    font-size: 1.25rem;
    font-weight: 800;
}

.flu-info-card p,
.flu-faq-grid p {
    margin: 0;
    color: #6a7e92;
    line-height: 1.7;
}

.flu-aftercare-section {
    padding: 92px 0;
}

.flu-aftercare-list {
    display: grid;
    gap: 16px;
}

.flu-aftercare-list > div {
    display: flex;
    gap: 18px;
    padding: 24px;
    border: 1px solid #e2ebf4;
    border-radius: 18px;
    background: #fff;
}

.flu-aftercare-list i {
    color: #2f89ee;
    font-size: 1.55rem;
}

.flu-aftercare-list span {
    color: #667b90;
    line-height: 1.55;
}

.flu-aftercare-list strong {
    display: block;
    margin-bottom: 4px;
    color: #173653;
}

.flu-faq-section {
    padding: 88px 0;
    background: #f8fbfe;
}

.flu-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1080px;
    margin: 0 auto;
}

.flu-faq-grid article {
    padding: 30px;
    background: #fff;
    border: 1px solid #e2ebf4;
    border-radius: 20px;
}

@media (max-width: 991px) {
    .flu-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .flu-faq-grid {
        grid-template-columns: 1fr;
    }

    .flu-info-section,
    .flu-aftercare-section,
    .flu-faq-section {
        padding: 60px 0;
    }
}


/* CDC resource link */
.flu-cdc-section {
    padding: 18px 0 76px;
    background: #f8fbfe;
}

.flu-cdc-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 26px;

    padding: 32px 36px;

    background: #ffffff;
    border: 1px solid #dfeaf5;
    border-radius: 22px;
    box-shadow: 0 12px 30px rgba(13, 39, 72, .05);
}

.flu-cdc-icon {
    display: grid;
    place-items: center;

    width: 64px;
    height: 64px;

    border-radius: 18px;
    background: #eaf4ff;
    color: #2f89ee;

    font-size: 1.55rem;
}

.flu-cdc-content h2 {
    margin: 0 0 8px;
    color: #0d2748;
    font-size: clamp(1.8rem, 2.6vw, 2.6rem);
    font-weight: 750;
    letter-spacing: -.03em;
}

.flu-cdc-content p {
    max-width: 760px;
    margin: 0;
    color: #667b90;
    line-height: 1.65;
}

.flu-cdc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 14px 20px;

    color: #ffffff;
    background: #2f89ee;
    border: 1px solid #2f89ee;
    border-radius: 12px;

    font-weight: 750;
    white-space: nowrap;
}

.flu-cdc-button:hover {
    color: #ffffff;
    background: #1874d7;
    border-color: #1874d7;
}

@media (max-width: 991px) {
    .flu-cdc-card {
        grid-template-columns: auto 1fr;
    }

    .flu-cdc-button {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 560px) {
    .flu-cdc-card {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    .flu-cdc-button {
        grid-column: auto;
    }
}


.xray-more{padding:80px 0 95px;background:#fff;color:#0d2748}
.xray-more-intro{max-width:950px;margin:0 auto 85px;text-align:center}
.xray-more span{display:block;color:#4b9bf3;font-weight:800;margin-bottom:12px}
.xray-more h2{font-size:clamp(2.3rem,4vw,3.8rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
.xray-more p{color:#657b90;line-height:1.75;font-size:1.05rem}
.xray-more-heading{text-align:center;max-width:850px;margin:0 auto 42px}
.xray-more-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:90px}
.xray-more-cards article{padding:32px 27px;border:1px solid #e0e8ef;border-radius:22px}
.xray-more-cards i{font-size:2rem;color:#ff4b35}.xray-more-cards h3{margin:20px 0 10px;font-size:1.22rem}
.xray-process{display:grid;grid-template-columns:1.3fr .7fr;gap:50px;padding:60px;background:#f5f9fd;border-radius:30px;margin-bottom:80px}
.xray-step{display:grid;grid-template-columns:46px 1fr;gap:17px;margin-top:26px}
.xray-step b{width:43px;height:43px;display:grid;place-items:center;background:#4b9bf3;color:white;border-radius:50%}
.xray-step h3{margin:0 0 5px}.xray-step p{margin:0}
.xray-process aside{background:white;border:1px solid #dfe9f2;border-radius:22px;padding:34px}
.xray-process aside>i{font-size:2rem;color:#4b9bf3}.xray-process aside h3{margin:18px 0}
.xray-process li{color:#657b90;line-height:1.65;margin:10px 0}
.xray-more-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:45px 50px;background:#edf6ff;border:1px solid #d8e9fa;border-radius:26px}
.xray-more-cta h2{font-size:clamp(2rem,3vw,2.8rem);margin-bottom:8px}.xray-more-cta p{margin:0}
.xray-more-cta a{background:#4b9bf3;color:white;text-decoration:none;padding:15px 26px;border-radius:12px;font-weight:800;white-space:nowrap}
@media(max-width:991px){.xray-more-cards{grid-template-columns:repeat(2,1fr)}.xray-process{grid-template-columns:1fr;padding:38px}.xray-more-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.xray-more-cards{grid-template-columns:1fr}.xray-process{padding:26px 20px}.xray-more-cta{padding:32px 24px}}


/* Expanded Immunizations page */
.immunizations-more{padding:80px 0 95px;background:#fff;color:#0d2748}
.imm-kicker{display:block;color:#4b9bf3;font-weight:800;margin-bottom:12px}
.imm-intro{max-width:950px;margin:0 auto 85px;text-align:center}
.immunizations-more h2{font-size:clamp(2.3rem,4vw,3.8rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
.immunizations-more p{color:#657b90;line-height:1.75;font-size:1.05rem}
.imm-heading{text-align:center;max-width:850px;margin:0 auto 42px}
.imm-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:90px}
.imm-card{padding:32px 27px;border:1px solid #e0e8ef;border-radius:22px;background:#fff}
.imm-card i{font-size:2rem;color:#ff4b35}
.imm-card h3{margin:20px 0 10px;font-size:1.22rem}
.imm-process{display:grid;grid-template-columns:1.3fr .7fr;gap:50px;padding:60px;background:#f5f9fd;border-radius:30px;margin-bottom:80px}
.imm-step{display:grid;grid-template-columns:46px 1fr;gap:17px;margin-top:26px}
.imm-step b{width:43px;height:43px;display:grid;place-items:center;background:#4b9bf3;color:#fff;border-radius:50%}
.imm-step h3{margin:0 0 5px}.imm-step p{margin:0}
.imm-prepare{background:#fff;border:1px solid #dfe9f2;border-radius:22px;padding:34px}
.imm-prepare>i{font-size:2rem;color:#4b9bf3}.imm-prepare h3{margin:18px 0}
.imm-prepare li{color:#657b90;line-height:1.65;margin:10px 0}
.imm-benefits{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;margin-bottom:80px}
.imm-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.imm-mini-grid>div{padding:30px;border:1px solid #e0e8ef;border-radius:22px}
.imm-mini-grid i{font-size:1.9rem;color:#ff4b35}.imm-mini-grid h3{margin:16px 0 8px}
.imm-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:45px 50px;background:#edf6ff;border:1px solid #d8e9fa;border-radius:26px}
.imm-cta h2{font-size:clamp(2rem,3vw,2.8rem);margin-bottom:8px}.imm-cta p{margin:0}
.imm-cta a{background:#4b9bf3;color:#fff;text-decoration:none;padding:15px 26px;border-radius:12px;font-weight:800;white-space:nowrap}
@media(max-width:991px){
 .imm-card-grid{grid-template-columns:repeat(2,1fr)}
 .imm-process,.imm-benefits{grid-template-columns:1fr}
 .imm-process{padding:38px}
 .imm-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
 .imm-card-grid,.imm-mini-grid{grid-template-columns:1fr}
 .imm-process{padding:26px 20px}
 .imm-cta{padding:32px 24px}
}

/* Expanded Sports Physical Exams page */
.sports-physical-more{padding:75px 0 95px;background:#fff;color:#0d2748}
.sp-kicker{display:block;color:#4b9bf3;font-weight:800;margin-bottom:12px}
.sp-intro{max-width:980px;margin:0 auto 85px;text-align:center}
.sp-intro h1,.sports-physical-more h2{font-size:clamp(2.3rem,4vw,3.8rem);line-height:1.08;letter-spacing:-.04em;margin:0 0 20px}
.sports-physical-more p{color:#657b90;line-height:1.75;font-size:1.05rem}
.sp-heading{text-align:center;max-width:850px;margin:0 auto 42px}
.sp-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-bottom:90px}
.sp-card{padding:32px 27px;border:1px solid #e0e8ef;border-radius:22px;background:#fff}
.sp-card i{font-size:2rem;color:#ff4b35}.sp-card h3{margin:20px 0 10px;font-size:1.22rem}
.sp-process{display:grid;grid-template-columns:1.3fr .7fr;gap:50px;padding:60px;background:#f5f9fd;border-radius:30px;margin-bottom:80px}
.sp-step{display:grid;grid-template-columns:46px 1fr;gap:17px;margin-top:26px}
.sp-step b{width:43px;height:43px;display:grid;place-items:center;background:#4b9bf3;color:#fff;border-radius:50%}
.sp-step h3{margin:0 0 5px}.sp-step p{margin:0}
.sp-prepare{background:#fff;border:1px solid #dfe9f2;border-radius:22px;padding:34px}
.sp-prepare>i{font-size:2rem;color:#4b9bf3}.sp-prepare h3{margin:18px 0}
.sp-prepare li{color:#657b90;line-height:1.65;margin:10px 0}
.sp-benefits{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center;margin-bottom:80px}
.sp-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.sp-mini-grid>div{padding:30px;border:1px solid #e0e8ef;border-radius:22px}
.sp-mini-grid i{font-size:1.9rem;color:#ff4b35}.sp-mini-grid h3{margin:16px 0 8px}
.sp-cta{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:45px 50px;background:#edf6ff;border:1px solid #d8e9fa;border-radius:26px}
.sp-cta h2{font-size:clamp(2rem,3vw,2.8rem);margin-bottom:8px}.sp-cta p{margin:0}
.sp-cta a{background:#4b9bf3;color:#fff;text-decoration:none;padding:15px 26px;border-radius:12px;font-weight:800;white-space:nowrap}
@media(max-width:991px){.sp-card-grid{grid-template-columns:repeat(2,1fr)}.sp-process,.sp-benefits{grid-template-columns:1fr}.sp-process{padding:38px}.sp-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.sp-card-grid,.sp-mini-grid{grid-template-columns:1fr}.sp-process{padding:26px 20px}.sp-cta{padding:32px 24px}}


/* Expanded School Physical Exams page */
.school-physical-more{
    padding:75px 0 95px;
    background:#fff;
    color:#0d2748;
}
.scp-kicker{
    display:block;
    color:#4b9bf3;
    font-weight:800;
    margin-bottom:12px;
}
.scp-intro{
    max-width:980px;
    margin:0 auto 85px;
    text-align:center;
}
.scp-intro h1,
.school-physical-more h2{
    font-size:clamp(2.3rem,4vw,3.8rem);
    line-height:1.08;
    letter-spacing:-.04em;
    margin:0 0 20px;
}
.school-physical-more p{
    color:#657b90;
    line-height:1.75;
    font-size:1.05rem;
}
.scp-heading{
    text-align:center;
    max-width:850px;
    margin:0 auto 42px;
}
.scp-card-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:90px;
}
.scp-card{
    padding:32px 27px;
    border:1px solid #e0e8ef;
    border-radius:22px;
    background:#fff;
}
.scp-card i{
    font-size:2rem;
    color:#ff4b35;
}
.scp-card h3{
    margin:20px 0 10px;
    font-size:1.22rem;
}
.scp-process{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:50px;
    padding:60px;
    background:#f5f9fd;
    border-radius:30px;
    margin-bottom:80px;
}
.scp-step{
    display:grid;
    grid-template-columns:46px 1fr;
    gap:17px;
    margin-top:26px;
}
.scp-step b{
    width:43px;
    height:43px;
    display:grid;
    place-items:center;
    background:#4b9bf3;
    color:#fff;
    border-radius:50%;
}
.scp-step h3{
    margin:0 0 5px;
}
.scp-step p{
    margin:0;
}
.scp-prepare{
    background:#fff;
    border:1px solid #dfe9f2;
    border-radius:22px;
    padding:34px;
}
.scp-prepare>i{
    font-size:2rem;
    color:#4b9bf3;
}
.scp-prepare h3{
    margin:18px 0;
}
.scp-prepare li{
    color:#657b90;
    line-height:1.65;
    margin:10px 0;
}
.scp-benefits{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
    align-items:center;
    margin-bottom:85px;
}
.scp-mini-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.scp-mini-grid>div{
    padding:30px;
    border:1px solid #e0e8ef;
    border-radius:22px;
}
.scp-mini-grid i{
    font-size:1.9rem;
    color:#ff4b35;
}
.scp-mini-grid h3{
    margin:16px 0 8px;
}
.scp-faq{
    padding:70px 0;
    margin-bottom:80px;
    background:#f8fbfe;
    border-radius:30px;
}
.scp-faq-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    max-width:1050px;
    margin:0 auto;
    padding:0 35px;
}
.scp-faq-grid article{
    padding:28px;
    background:#fff;
    border:1px solid #e0e8ef;
    border-radius:20px;
}
.scp-faq-grid h3{
    margin:0 0 10px;
    font-size:1.18rem;
}
.scp-cta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    padding:45px 50px;
    background:#edf6ff;
    border:1px solid #d8e9fa;
    border-radius:26px;
}
.scp-cta h2{
    font-size:clamp(2rem,3vw,2.8rem);
    margin-bottom:8px;
}
.scp-cta p{
    margin:0;
}
.scp-cta a{
    background:#4b9bf3;
    color:#fff;
    text-decoration:none;
    padding:15px 26px;
    border-radius:12px;
    font-weight:800;
    white-space:nowrap;
}

@media(max-width:991px){
    .scp-card-grid{
        grid-template-columns:repeat(2,1fr);
    }
    .scp-process,
    .scp-benefits{
        grid-template-columns:1fr;
    }
    .scp-process{
        padding:38px;
    }
    .scp-cta{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media(max-width:600px){
    .scp-card-grid,
    .scp-mini-grid,
    .scp-faq-grid{
        grid-template-columns:1fr;
    }
    .scp-process{
        padding:26px 20px;
    }
    .scp-faq-grid{
        padding:0 18px;
    }
    .scp-cta{
        padding:32px 24px;
    }
}


/* Expanded Routine Wellness Exams page */
.routine-wellness-more{
    padding:75px 0 95px;
    background:#fff;
    color:#0d2748;
}
.rwe-kicker{
    display:block;
    color:#4b9bf3;
    font-weight:800;
    margin-bottom:12px;
}
.rwe-intro{
    max-width:980px;
    margin:0 auto 85px;
    text-align:center;
}
.rwe-intro h1,
.routine-wellness-more h2{
    font-size:clamp(2.3rem,4vw,3.8rem);
    line-height:1.08;
    letter-spacing:-.04em;
    margin:0 0 20px;
}
.routine-wellness-more p{
    color:#657b90;
    line-height:1.75;
    font-size:1.05rem;
}
.rwe-heading{
    text-align:center;
    max-width:850px;
    margin:0 auto 42px;
}
.rwe-card-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:90px;
}
.rwe-card{
    padding:32px 27px;
    border:1px solid #e0e8ef;
    border-radius:22px;
    background:#fff;
}
.rwe-card i,
.rwe-mini-grid i{
    font-size:2rem;
    color:#ff4b35;
}
.rwe-card h3{
    margin:20px 0 10px;
    font-size:1.22rem;
}
.rwe-process{
    display:grid;
    grid-template-columns:1.3fr .7fr;
    gap:50px;
    padding:60px;
    background:#f5f9fd;
    border-radius:30px;
    margin-bottom:80px;
}
.rwe-step{
    display:grid;
    grid-template-columns:46px 1fr;
    gap:17px;
    margin-top:26px;
}
.rwe-step b{
    width:43px;
    height:43px;
    display:grid;
    place-items:center;
    background:#4b9bf3;
    color:#fff;
    border-radius:50%;
}
.rwe-step h3{margin:0 0 5px}
.rwe-step p{margin:0}
.rwe-prepare{
    background:#fff;
    border:1px solid #dfe9f2;
    border-radius:22px;
    padding:34px;
}
.rwe-prepare>i{
    font-size:2rem;
    color:#4b9bf3;
}
.rwe-prepare h3{margin:18px 0}
.rwe-prepare li{
    color:#657b90;
    line-height:1.65;
    margin:10px 0;
}
.rwe-benefits{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:45px;
    align-items:center;
    margin-bottom:85px;
}
.rwe-mini-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.rwe-mini-grid>div{
    padding:28px;
    border:1px solid #e0e8ef;
    border-radius:22px;
}
.rwe-mini-grid h3{margin:16px 0 8px}
.rwe-faq{
    padding:70px 0;
    margin-bottom:80px;
    background:#f8fbfe;
    border-radius:30px;
}
.rwe-faq-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    max-width:1050px;
    margin:0 auto;
    padding:0 35px;
}
.rwe-faq-grid article{
    padding:28px;
    background:#fff;
    border:1px solid #e0e8ef;
    border-radius:20px;
}
.rwe-faq-grid h3{
    margin:0 0 10px;
    font-size:1.18rem;
}
.rwe-cta{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    padding:45px 50px;
    background:#edf6ff;
    border:1px solid #d8e9fa;
    border-radius:26px;
}
.rwe-cta h2{
    font-size:clamp(2rem,3vw,2.8rem);
    margin-bottom:8px;
}
.rwe-cta p{margin:0}
.rwe-cta a{
    background:#4b9bf3;
    color:#fff;
    text-decoration:none;
    padding:15px 26px;
    border-radius:12px;
    font-weight:800;
    white-space:nowrap;
}
@media(max-width:991px){
    .rwe-card-grid{grid-template-columns:repeat(2,1fr)}
    .rwe-process,.rwe-benefits{grid-template-columns:1fr}
    .rwe-process{padding:38px}
    .rwe-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:600px){
    .rwe-card-grid,.rwe-mini-grid,.rwe-faq-grid{grid-template-columns:1fr}
    .rwe-process{padding:26px 20px}
    .rwe-faq-grid{padding:0 18px}
    .rwe-cta{padding:32px 24px}
}


/* Service dropdown image icons */
.services-simple-menu {
    min-width: 350px;
    padding: 10px;
    border-radius: 18px;
}
.services-simple-menu .service-menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    padding: 9px 14px;
    border-radius: 13px;
    font-size: 1rem;
}
.services-simple-menu .service-menu-link:hover,
.services-simple-menu .service-menu-link:focus {
    background: #f1f7fd;
    color: #ff4937;
}
.service-menu-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    background: #edf6ff;
    color: #ff4937;
    font-size: 1.35rem;
}
.services-simple-menu .service-menu-link:hover .service-menu-icon,
.services-simple-menu .service-menu-link:focus .service-menu-icon {
    background: #fff;
}
@media (max-width: 1199.98px) {
    .services-simple-menu { min-width: 100%; }
}


/* Reliable inline SVG service menu icons */
.service-menu-icon svg {
    width: 25px;
    height: 25px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SERVICES DROPDOWN — REPAIRED
========================================================= */
.site-main-nav {
    overflow: visible !important;
}

.site-main-nav .container,
.site-main-nav .navbar-collapse,
.services-nav-item {
    overflow: visible !important;
}

.services-nav-item {
    position: relative !important;
}

.services-simple-menu {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    right: auto !important;
    transform: none !important;

    width: 390px !important;
    min-width: 390px !important;
    max-width: calc(100vw - 30px) !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;

    padding: 12px !important;
    margin: 0 !important;

    background: #fff !important;
    border: 1px solid #dce5ee !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 45px rgba(10, 35, 60, .14) !important;

    z-index: 2000 !important;
}

.services-simple-menu > li {
    width: 100% !important;
}

.services-simple-menu .dropdown-divider {
    margin: 8px 4px 10px !important;
}

.services-simple-menu .dropdown-item {
    white-space: normal !important;
}

.services-simple-menu .service-menu-link {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;

    width: 100% !important;
    min-height: 58px !important;

    padding: 8px 10px !important;
    margin: 2px 0 !important;

    border-radius: 12px !important;

    color: #111d26 !important;
    font-size: 1rem !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
}

.services-simple-menu .service-menu-link:hover,
.services-simple-menu .service-menu-link:focus {
    color: #ff4937 !important;
    background: #f1f7fd !important;
}

.service-menu-icon {
    flex: 0 0 42px !important;

    width: 42px !important;
    height: 42px !important;

    display: inline-grid !important;
    place-items: center !important;

    border-radius: 11px !important;

    background: #edf6ff !important;
    color: #ff4937 !important;
}

.service-menu-icon svg {
    display: block !important;

    width: 24px !important;
    height: 24px !important;

    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

@media (max-width: 1199.98px) {
    .services-simple-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        margin-top: 8px !important;
        box-shadow: none !important;
    }
}


/* Service detail image heroes */
.service-image-hero{padding:72px 0 62px;background:#f3f8fc;border-bottom:1px solid #e4eef6;}
.service-image-kicker{display:inline-block;color:#4698ef;font-weight:700;font-size:1.05rem;margin-bottom:14px;}
.service-title-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#eaf4ff;color:#ff4633;font-size:1.55rem;margin-bottom:18px;}
.service-image-hero h1{font-size:clamp(2.5rem,5vw,4.8rem);line-height:1.02;color:#0d2b50;font-weight:700;letter-spacing:-.04em;margin-bottom:24px;}
.service-image-lead{font-size:1.2rem;line-height:1.8;color:#5e748b;max-width:680px;}
.service-detail-image-card{border-radius:28px;overflow:hidden;background:#fff;box-shadow:0 18px 55px rgba(20,54,85,.12);min-height:380px;}
.service-detail-image-card img{width:100%;height:100%;min-height:380px;max-height:520px;object-fit:cover;display:block;}
@media(max-width:991.98px){.service-image-hero{padding:48px 0}.service-detail-image-card,.service-detail-image-card img{min-height:300px}.service-image-hero h1{font-size:clamp(2.35rem,9vw,3.8rem)}}


/* Global Contact Us + Back To Top pill */
.global-floating-actions{
  position:fixed;
  right:30px;
  bottom:28px;
  z-index:2500;
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  background:rgba(255,255,255,.96);
  border:1px solid #d8e5f2;
  border-radius:999px;
  box-shadow:0 18px 45px rgba(16,45,75,.14);
  backdrop-filter:blur(10px);
}
.global-contact-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:60px;
  padding:0 30px;
  border-radius:999px;
  background:#4d9df7;
  color:#fff!important;
  text-decoration:none!important;
  font-size:1.05rem;
  font-weight:800;
}
.global-contact-action:hover{background:#338ae9;color:#fff!important}
.global-top-action{
  width:60px;
  height:60px;
  flex:0 0 60px;
  display:grid;
  place-items:center;
  border:0;
  border-radius:50%;
  background:#0b2946;
  color:#fff;
  font-size:2rem;
  cursor:pointer;
}
.global-top-action:hover{background:#123b63}
@media(max-width:700px){
  .global-floating-actions{right:14px;bottom:14px;padding:8px;gap:8px}
  .global-contact-action{min-height:52px;padding:0 22px;font-size:.95rem}
  .global-top-action{width:52px;height:52px;flex-basis:52px;font-size:1.65rem}
}

/* Native Patient Intake submission feedback */
.fini-validation-summary {
    display: none;
    margin: 0 0 20px;
    padding: 13px 16px;
    border: 1px solid #f3aaa5;
    border-left: 5px solid #d92d20;
    border-radius: 10px;
    background: #fff1f0;
    color: #7a271a;
    font-weight: 700;
}
.fini-validation-summary.is-visible { display: block; }
.patient-intake-form .fini-invalid {
    border-color: #d92d20 !important;
    box-shadow: 0 0 0 3px rgba(217,45,32,.11) !important;
}
.patient-intake-form .fini-field-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}
.fini-submit-status {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 9px;
    font-weight: 700;
}
.fini-submit-status:empty { display: none; }
.fini-submit-status.is-working { background: #eef8fb; color: #244650; }
.fini-submit-status.is-success { background: #ecfdf3; color: #166534; border: 1px solid #bbf7d0; }
.fini-submit-status.is-error { background: #fff1f0; color: #7a271a; border: 1px solid #f3aaa5; }
.patient-intake-form [type="submit"]:disabled { opacity: .65; cursor: wait; }


/* reCAPTCHA form protection */
.fini-recaptcha-wrap {
    margin: 8px 0 18px;
    min-height: 78px;
}

.fini-recaptcha {
    display: inline-block;
    max-width: 100%;
}

@media (max-width: 360px) {
    .fini-recaptcha {
        transform: scale(.88);
        transform-origin: left top;
        margin-bottom: -8px;
    }
}

/* ==========================================================
   2026 MODERN RESPONSIVE VISUAL REFRESH
   Shared presentation overrides for desktop, tablet and mobile
========================================================== */
:root {
    --fini-navy: #0b2742;
    --fini-navy-2: #123d63;
    --fini-blue: #3d91ee;
    --fini-blue-deep: #247bd6;
    --fini-blue-soft: #edf7ff;
    --fini-sky: #f6fbff;
    --fini-red: #f34a39;
    --fini-red-dark: #dc3828;
    --fini-text: #142433;
    --fini-muted: #64778a;
    --fini-line: #dce8f2;
    --fini-card: #ffffff;
    --fini-radius-sm: 14px;
    --fini-radius: 22px;
    --fini-radius-lg: 30px;
    --fini-shadow-sm: 0 10px 30px rgba(16, 55, 88, .08);
    --fini-shadow: 0 22px 60px rgba(16, 55, 88, .12);
}

html { scroll-padding-top: 104px; }
body {
    color: var(--fini-text);
    background: #fff;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection { background: rgba(61,145,238,.22); color: var(--fini-navy); }
a { text-underline-offset: 3px; }
img { max-width: 100%; }

/* Navigation */
.site-main-nav {
    position: sticky;
    top: 0;
    z-index: 2400;
    min-height: 86px;
    padding: 10px 0;
    background: rgba(255,255,255,.94) !important;
    border-color: rgba(203,220,234,.8) !important;
    box-shadow: 0 8px 30px rgba(15,47,75,.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
.navbar-logo { max-height: 58px; width: auto; }
.navbar-logo-link { display: inline-flex; align-items: center; padding: 0; }
.site-main-nav .nav-link {
    position: relative;
    margin: 0 5px;
    padding: 11px 10px !important;
    border-radius: 11px;
    color: #31475a;
    font-size: .96rem;
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}
.site-main-nav .nav-link:hover,
.site-main-nav .nav-link.active {
    color: var(--fini-blue-deep);
    background: var(--fini-blue-soft);
}
.site-main-nav .navbar-toggler {
    width: 48px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--fini-line);
    border-radius: 13px;
    box-shadow: none !important;
}
.appointment-button,
.global-contact-action {
    background: linear-gradient(135deg, var(--fini-red), #ff6758);
    border-color: transparent;
    box-shadow: 0 10px 24px rgba(243,74,57,.22);
}
.appointment-button:hover,
.global-contact-action:hover {
    background: linear-gradient(135deg, var(--fini-red-dark), var(--fini-red));
    transform: translateY(-2px);
}
.dropdown-menu {
    padding: 10px;
    border: 1px solid var(--fini-line);
    border-radius: 16px;
    box-shadow: var(--fini-shadow-sm);
}
.dropdown-item { border-radius: 10px; padding: 10px 12px; }
.dropdown-item:hover, .dropdown-item:focus { background: var(--fini-blue-soft); color: var(--fini-blue-deep); }

/* Hero */
.welcome-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 88px 0 82px;
    background:
        radial-gradient(circle at 88% 12%, rgba(61,145,238,.16), transparent 31%),
        radial-gradient(circle at 8% 84%, rgba(243,74,57,.07), transparent 24%),
        linear-gradient(180deg, #fbfdff 0%, #f6fbff 100%);
}
.welcome-section::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -180px;
    z-index: -1;
    border: 56px solid rgba(61,145,238,.06);
    border-radius: 50%;
}
.welcome-label,
.about-label,
.services-label,
.testimonials-label,
.message-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid rgba(61,145,238,.16);
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    color: var(--fini-blue-deep);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 6px 20px rgba(29,84,128,.05);
}
.welcome-title,
.about-title,
.commitment-title,
.services-title,
.testimonials-title,
.interior-hero h1,
.service-image-hero h1 {
    color: var(--fini-navy);
    letter-spacing: -.045em;
    text-wrap: balance;
}
.welcome-title { max-width: 780px; font-size: clamp(3rem, 5.4vw, 5.2rem); line-height: .99; font-weight: 780; }
.welcome-description { max-width: 700px; color: var(--fini-muted); font-size: clamp(1.05rem,1.4vw,1.2rem); line-height: 1.75; }
.clinic-button {
    min-height: 52px;
    padding: 13px 24px;
    border-radius: 13px;
    font-weight: 800;
    box-shadow: none;
}
.btn-primary { background: var(--fini-blue); border-color: var(--fini-blue); }
.btn-primary:hover, .btn-primary:focus { background: var(--fini-blue-deep); border-color: var(--fini-blue-deep); }
.btn-outline-dark { color: var(--fini-navy); border-color: #bfd0df; background: rgba(255,255,255,.8); }
.btn-outline-dark:hover, .btn-outline-dark:focus { background: var(--fini-navy); border-color: var(--fini-navy); color: #fff; }
.doctor-image-wrapper {
    position: relative;
    max-width: 480px;
    padding: 10px;
    border: 1px solid rgba(190,211,228,.9);
    border-radius: 30px;
    background: rgba(255,255,255,.8);
    box-shadow: var(--fini-shadow);
}
.doctor-image { aspect-ratio: 4 / 5; border-radius: 22px; object-fit: cover; }
.hero-stat-card {
    border: 1px solid rgba(219,230,239,.95);
    border-radius: 18px !important;
    background: rgba(255,255,255,.94) !important;
    box-shadow: 0 16px 40px rgba(16,55,88,.16) !important;
    backdrop-filter: blur(12px);
}

/* Shared section rhythm */
.about-section,
.commitment-section,
.testimonials-section,
.map-section { padding-top: 96px; padding-bottom: 96px; }
.about-section, .testimonials-section { background: #fff; }
.commitment-section { background: var(--fini-sky); }
.services-section { padding: 90px 0; background: #fff; }
.about-content-row { margin-top: 54px; }
.about-image-wrapper,
.message-image-wrap,
.interior-hero-image,
.service-detail-image-card {
    border-radius: var(--fini-radius-lg);
    box-shadow: var(--fini-shadow-sm);
}
.about-image { height: 540px; border-radius: var(--fini-radius-lg); }
.about-description,
.commitment-description { color: var(--fini-muted); }
.about-point-number {
    width: 54px;
    height: 54px;
    border: 0;
    background: var(--fini-blue-soft);
    color: var(--fini-blue-deep);
    font-size: 1rem;
}
.about-point h3 { color: var(--fini-navy); }

/* Cards */
.service-card,
.testimonial-card,
.stats-card,
.appointment-form-card,
.footer-info-card,
.message-panel {
    border: 1px solid var(--fini-line) !important;
    border-radius: var(--fini-radius) !important;
    background: var(--fini-card);
    box-shadow: var(--fini-shadow-sm);
}
.service-card {
    min-height: 410px;
    padding: 34px 28px;
    overflow: hidden;
}
.service-card:hover { transform: translateY(-7px); border-color: #bdd8ed !important; box-shadow: var(--fini-shadow); }
.service-number { color: rgba(61,145,238,.035); -webkit-text-stroke: 1px rgba(61,145,238,.11); }
.service-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin-bottom: 34px;
    border-radius: 17px;
    background: var(--fini-blue-soft);
    color: var(--fini-blue-deep);
    font-size: 1.8rem;
}
.service-title, .service-card-title { min-height: 0; color: var(--fini-navy); font-size: 1.35rem; letter-spacing: -.02em; }
.service-description { min-height: 0; color: var(--fini-muted); font-size: 1rem; line-height: 1.7; }
.service-link { color: var(--fini-blue-deep); }
.service-link:hover { color: var(--fini-red); }

.stats-card { overflow: hidden; }
.stat-item { min-height: 220px; padding: 36px; }
.stat-number { color: var(--fini-blue-deep); letter-spacing: -.04em; }
.stat-label { color: var(--fini-muted); }

/* Forms */
.form-control,
.form-select,
.appointment-input,
.patient-intake-form input[type="text"],
.patient-intake-form input[type="email"],
.patient-intake-form input[type="date"],
.patient-intake-form input[type="tel"],
.patient-intake-form input[type="number"],
.patient-intake-form select,
.patient-intake-form textarea {
    min-height: 52px;
    padding: 12px 14px;
    border: 1px solid #cdddea !important;
    border-radius: 12px !important;
    background: #fbfdff;
    color: var(--fini-text);
    box-shadow: none;
}
.form-control:focus,
.form-select:focus,
.appointment-input:focus,
.patient-intake-form input:focus,
.patient-intake-form select:focus,
.patient-intake-form textarea:focus {
    border-color: var(--fini-blue) !important;
    box-shadow: 0 0 0 4px rgba(61,145,238,.12) !important;
    background: #fff;
}
.appointment-form-card, .message-panel { padding: clamp(24px,4vw,44px); }
.appointment-submit-button,
.patient-intake-form input[type="submit"],
.patient-intake-form button[type="submit"] {
    min-height: 52px;
    border-radius: 12px !important;
    background: var(--fini-blue) !important;
    border-color: var(--fini-blue) !important;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.appointment-submit-button:hover,
.patient-intake-form input[type="submit"]:hover,
.patient-intake-form button[type="submit"]:hover {
    background: var(--fini-blue-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(61,145,238,.2);
}
.patient-intake-reference-page { background: var(--fini-sky); }
.patient-intake-reference-page .intake-form-shell { border-radius: 24px; box-shadow: var(--fini-shadow); }
.patient-intake-form .cf7-section, .patient-intake-form .cf7-policy { border-radius: 18px; }

/* Interior pages */
.interior-hero,
.service-image-hero {
    padding: 78px 0;
    background:
        radial-gradient(circle at 86% 12%, rgba(61,145,238,.14), transparent 30%),
        linear-gradient(180deg,#fafdff 0%,#eff8ff 100%);
    border-bottom: 1px solid #dfebf4;
}
.interior-hero h1, .service-image-hero h1 { font-weight: 780; }
.interior-hero p, .service-image-lead { color: var(--fini-muted); }
.service-image-kicker { color: var(--fini-blue-deep); }
.service-title-icon { background: #fff; color: var(--fini-blue-deep); border: 1px solid var(--fini-line); box-shadow: var(--fini-shadow-sm); }

/* Testimonials / map / footer */
.testimonial-stars { color: #f5aa22; }
.testimonial-card blockquote { color: #32475a; }
.map-frame { overflow: hidden; border-radius: var(--fini-radius); border: 1px solid var(--fini-line); box-shadow: var(--fini-shadow-sm); }
.site-footer {
    background: linear-gradient(160deg, #09243c 0%, #0d3151 100%) !important;
    color: rgba(255,255,255,.84);
}
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: #fff; }
.footer-info-card { background: rgba(255,255,255,.08) !important; border-color: rgba(255,255,255,.14) !important; box-shadow: none; }
.footer-bottom { border-color: rgba(255,255,255,.12) !important; }

/* Floating actions */
.global-floating-actions {
    right: 22px;
    bottom: 22px;
    padding: 7px;
    border-color: rgba(200,218,232,.92);
    box-shadow: 0 16px 44px rgba(16,55,88,.18);
}
.global-contact-action { min-height: 52px; padding: 0 22px; font-size: .95rem; }
.global-top-action { width: 52px; height: 52px; flex-basis: 52px; background: var(--fini-navy); font-size: 1.45rem; }

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(61,145,238,.42);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Tablet / collapsed navigation */
@media (max-width: 1199.98px) {
    .site-main-nav { min-height: 76px; }
    .navbar-logo { max-height: 50px; }
    .site-main-nav .navbar-collapse {
        margin-top: 12px;
        padding: 12px;
        border: 1px solid var(--fini-line);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--fini-shadow-sm);
        max-height: calc(100vh - 104px);
        overflow-y: auto;
    }
    .site-main-nav .nav-link { margin: 2px 0; padding: 12px !important; }
    .appointment-button { display: flex; justify-content: center; margin-top: 8px; width: 100%; }
    .services-simple-menu { border-radius: 14px !important; background: var(--fini-sky) !important; }
    .welcome-section { padding: 70px 0; }
    .welcome-title { font-size: clamp(3rem,7vw,4.35rem); }
    .about-section, .commitment-section, .services-section, .testimonials-section { padding-top: 76px; padding-bottom: 76px; }
}

/* Mobile */
@media (max-width: 767.98px) {
    html { scroll-padding-top: 82px; }
    .container { padding-left: 20px; padding-right: 20px; }
    .welcome-section { padding: 52px 0 58px; }
    .welcome-section .row { --bs-gutter-y: 2.4rem; }
    .welcome-title { font-size: clamp(2.45rem,12vw,3.6rem); line-height: 1.02; letter-spacing: -.04em; }
    .welcome-description { margin-top: 20px; font-size: 1.02rem; line-height: 1.68; }
    .welcome-label, .about-label, .services-label, .testimonials-label, .message-eyebrow { font-size: .72rem; padding: 6px 10px; }
    .welcome-section .d-flex { width: 100%; }
    .clinic-button { width: 100%; min-height: 54px; }
    .doctor-image-wrapper { max-width: 100%; margin: 0 auto; border-radius: 24px; }
    .doctor-image { aspect-ratio: 5 / 4; border-radius: 17px; object-position: center 22%; }
    .hero-stat-card { transform: scale(.92); transform-origin: right bottom; }
    .about-section, .commitment-section, .services-section, .testimonials-section, .map-section { padding-top: 58px; padding-bottom: 58px; }
    .about-content-row { margin-top: 34px; }
    .about-title, .commitment-title, .services-title, .testimonials-title { font-size: clamp(2.15rem,10vw,3.15rem); line-height: 1.06; }
    .about-image { height: auto; max-height: 430px; object-fit: cover; }
    .service-card { min-height: auto; padding: 26px 24px; border-radius: 20px !important; }
    .service-icon { width: 52px; height: 52px; margin-bottom: 24px; border-radius: 15px; font-size: 1.6rem; }
    .service-description { margin-bottom: 20px; }
    .stat-item { min-height: 160px; padding: 28px 24px; }
    .interior-hero, .service-image-hero { padding: 52px 0; }
    .appointment-form-card, .message-panel { padding: 22px; border-radius: 20px !important; }
    .global-floating-actions { right: 12px; bottom: 12px; }
    .global-contact-action { min-height: 48px; padding: 0 16px; font-size: .86rem; }
    .global-top-action { width: 48px; height: 48px; flex-basis: 48px; }
}

@media (max-width: 420px) {
    .container { padding-left: 16px; padding-right: 16px; }
    .navbar-logo { max-width: 220px; max-height: 46px; }
    .welcome-title { font-size: clamp(2.2rem,12vw,3rem); }
    .hero-stat-card { position: static !important; transform: none; margin-top: 10px; width: 100%; }
    .global-contact-action { display: none; }
}

/* =========================================================
   X-RAY PAGE — MODERN RESPONSIVE REFRESH
========================================================= */
.xray-reference-page {
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 6%, rgba(61,145,238,.13), transparent 28rem),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 34%);
    color: var(--fini-text);
}

.xray-page-container {
    width: min(100%, 1320px);
    margin-inline: auto;
    padding-inline: 28px;
}

.xray-intro-section {
    position: relative;
    padding: clamp(62px, 7vw, 104px) 0 clamp(70px, 8vw, 118px);
}

.xray-intro-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fini-line), transparent);
}

.xray-eyebrow,
.xray-more span,
.xray-process > div > span,
.xray-more-cta span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 12px;
    border: 1px solid #cfe3f5;
    border-radius: 999px;
    background: var(--fini-blue-soft);
    color: var(--fini-blue-deep);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
}

.xray-intro-section h1 {
    max-width: 720px;
    margin: 0 0 28px;
    color: var(--fini-navy);
    font-size: clamp(3rem, 5vw, 5.15rem);
    font-weight: 800;
    line-height: .99;
    letter-spacing: -.055em;
}

.xray-copy {
    max-width: 700px;
    color: var(--fini-muted);
    font-size: clamp(1rem, 1.15vw, 1.12rem);
    line-height: 1.78;
}

.xray-copy p { margin-bottom: 22px; }

.xray-photo-card {
    position: sticky;
    top: 112px;
    overflow: hidden;
    border: 1px solid var(--fini-line);
    border-radius: 28px;
    background: #eaf3fa;
    box-shadow: 0 28px 70px rgba(11, 54, 91, .15);
}

.xray-photo-card::after {
    content: "On-site diagnostic imaging";
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    padding: 14px 18px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 16px;
    background: rgba(5, 34, 59, .76);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .01em;
}

.xray-photo-card img {
    width: 100%;
    min-height: 560px;
    aspect-ratio: 1 / 1.04;
    object-fit: cover;
}

.xray-consider-section {
    padding: clamp(72px, 8vw, 112px) 0;
    background: var(--fini-sky);
}

.xray-consider-section h2 {
    max-width: 860px;
    margin: 0 0 30px;
    color: var(--fini-navy);
    font-size: clamp(2.45rem, 4vw, 4.1rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.045em;
}

.xray-copy-wide {
    max-width: 1020px;
}

.xray-needed-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 46px;
}

.xray-needed-block h3 {
    grid-column: 1 / -1;
    margin: 0 0 6px;
    color: var(--fini-navy);
    font-size: clamp(1.7rem, 2.2vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -.03em;
}

.xray-needed-item {
    position: relative;
    margin: 0;
    padding: 26px 26px 26px 70px;
    border: 1px solid var(--fini-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--fini-shadow-sm);
}

.xray-needed-item::before {
    content: "✓";
    position: absolute;
    top: 25px;
    left: 24px;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--fini-blue-soft);
    color: var(--fini-blue-deep);
    font-size: .95rem;
    font-weight: 900;
}

.xray-needed-item h4 {
    margin: 0 0 8px;
    color: var(--fini-navy);
    font-size: 1.06rem;
    font-weight: 800;
    line-height: 1.35;
}

.xray-needed-item p,
.xray-closing-copy {
    color: var(--fini-muted);
    font-size: .99rem;
    line-height: 1.7;
}

.xray-closing-copy {
    grid-column: 1 / -1;
    max-width: 980px;
    margin: 18px 0 0;
    padding: 24px 26px;
    border-left: 4px solid var(--fini-blue);
    border-radius: 0 16px 16px 0;
    background: rgba(255,255,255,.74);
}

.xray-more {
    padding: clamp(72px, 8vw, 108px) 0;
    background: #fff;
}

.xray-more-intro { max-width: 900px; margin-bottom: 72px; }
.xray-more-heading { max-width: 760px; margin-bottom: 36px; }
.xray-more h2 { color: var(--fini-navy); }
.xray-more p { color: var(--fini-muted); }

.xray-more-cards {
    gap: 18px;
    margin-bottom: 76px;
}

.xray-more-cards article {
    min-height: 235px;
    padding: 28px;
    border: 1px solid var(--fini-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--fini-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.xray-more-cards article:hover {
    transform: translateY(-5px);
    border-color: #c5dff2;
    box-shadow: var(--fini-shadow);
}

.xray-more-cards i {
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: var(--fini-blue-soft);
    color: var(--fini-blue-deep);
    font-size: 1.55rem;
}

.xray-more-cards h3 { color: var(--fini-navy); }

.xray-process {
    gap: 42px;
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid var(--fini-line);
    border-radius: 28px;
    background: linear-gradient(145deg, #f7fbff, #eef7ff);
    box-shadow: var(--fini-shadow-sm);
}

.xray-step b {
    background: var(--fini-blue);
    box-shadow: 0 8px 20px rgba(61,145,238,.22);
}

.xray-process aside {
    border: 1px solid var(--fini-line);
    border-radius: 20px;
    box-shadow: var(--fini-shadow-sm);
}

.xray-process aside > i { color: var(--fini-blue-deep); }

.xray-more-cta {
    padding: 38px 42px;
    border: 1px solid #d1e5f6;
    border-radius: 24px;
    background:
        radial-gradient(circle at 90% 20%, rgba(61,145,238,.15), transparent 30%),
        linear-gradient(135deg, #f4faff, #edf7ff);
}

@media (max-width: 991.98px) {
    .xray-page-container { padding-inline: 22px; }
    .xray-intro-section .row { --bs-gutter-y: 2.5rem; }
    .xray-photo-card { position: relative; top: auto; }
    .xray-photo-card img { min-height: 0; aspect-ratio: 16 / 10; }
    .xray-needed-block { grid-template-columns: 1fr; }
    .xray-more-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767.98px) {
    .xray-page-container { padding-inline: 20px; }
    .xray-intro-section { padding-top: 50px; }
    .xray-intro-section h1 { font-size: clamp(2.65rem, 12vw, 3.75rem); }
    .xray-photo-card { border-radius: 22px; }
    .xray-photo-card img { aspect-ratio: 5 / 4; }
    .xray-photo-card::after { right: 14px; bottom: 14px; left: 14px; padding: 12px 14px; }
    .xray-consider-section h2 { font-size: clamp(2.2rem, 10vw, 3.05rem); }
    .xray-needed-item { padding: 23px 21px 23px 62px; border-radius: 18px; }
    .xray-needed-item::before { top: 22px; left: 20px; }
    .xray-closing-copy { padding: 20px; }
    .xray-more-cards { grid-template-columns: 1fr; margin-bottom: 58px; }
    .xray-more-cards article { min-height: 0; }
    .xray-process { padding: 26px 20px; border-radius: 22px; }
    .xray-process aside { padding: 26px 22px; }
    .xray-more-cta { padding: 28px 24px; }
}

@media (max-width: 420px) {
    .xray-page-container { padding-inline: 16px; }
    .xray-eyebrow { font-size: .7rem; }
    .xray-photo-card::after { font-size: .82rem; }
}


/* Careers form secondary action */
.careers-clear-button {
    min-height: 52px;
    padding: 0 30px;
    border: 1.5px solid #cbd8e6;
    border-radius: 999px;
    background: #ffffff;
    color: var(--fini-navy, #17324d);
    font: inherit;
    font-weight: 700;
    letter-spacing: .01em;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease,
                background-color .18s ease, border-color .18s ease;
}
.careers-clear-button:hover {
    transform: translateY(-1px);
    border-color: var(--fini-blue, #3d91ee);
    background: var(--fini-blue-soft, #eef7ff);
    box-shadow: 0 8px 20px rgba(28, 74, 117, .10);
}
.careers-clear-button:focus-visible {
    outline: 3px solid rgba(61, 145, 238, .25);
    outline-offset: 3px;
}
.careers-clear-button:active {
    transform: translateY(0);
    box-shadow: none;
}
@media (max-width: 575.98px) {
    #careerForm .d-flex:has(.careers-submit-button) {
        flex-direction: column;
    }
    .careers-submit-button,
    .careers-clear-button {
        width: 100%;
    }
}


/* Careers submit/clear action row */
.careers-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.careers-form-actions .careers-submit-button {
    flex: 1 1 auto;
    width: auto;
    margin: 0;
}

.careers-form-actions .careers-clear-button {
    flex: 0 0 auto;
    width: 150px;
    min-width: 150px;
    margin: 0;
    align-self: stretch;
}

@media (max-width: 575.98px) {
    .careers-form-actions {
        gap: 10px;
    }

    .careers-form-actions .careers-submit-button {
        flex: 1 1 auto;
        width: auto;
    }

    .careers-form-actions .careers-clear-button {
        flex: 0 0 110px;
        width: 110px;
        min-width: 110px;
    }
}


/* FINAL careers form action layout */
#careerForm .careers-form-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
    align-items: stretch;
    width: 100%;
    margin-top: 0;
}

#careerForm .careers-form-actions .careers-submit-button,
#careerForm .careers-form-actions .careers-clear-button {
    width: 100%;
    min-height: 58px;
    margin: 0;
}

#careerForm .careers-form-actions .careers-clear-button {
    min-width: 0;
    padding: 0 22px;
}

@media (max-width: 575.98px) {
    #careerForm .careers-form-actions {
        grid-template-columns: minmax(0, 1fr) 105px;
        gap: 10px;
    }

    #careerForm .careers-form-actions .careers-submit-button,
    #careerForm .careers-form-actions .careers-clear-button {
        width: 100%;
    }

    #careerForm .careers-form-actions .careers-clear-button {
        padding: 0 12px;
    }
}
