/* =========================================================
   Lowry Dental — Global Styles
   ========================================================= */

:root {
    --blue: #1a56a0;
    --blue-dark: #134080;
    --blue-soft: #e8f0fb;
    --blue-band: #d9e7f9;
    --text: #1a1a1a;
    --text-soft: #4a4a4a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f6faff;
    --red: #d94848;
    --green: #22c55e;
    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, .07);
    --shadow-md: 0 8px 28px rgba(23, 75, 144, .09);
    --container: 1720px;
    --ff-sans: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --ff-serif: 'Playfair Display', Georgia, serif;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--ff-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ─────────────────────────────────────────── */
.h1 {
    font-family: var(--ff-serif);
    font-size: 46px;
    line-height: 1.15;
    font-weight: 600;
    margin: 0 0 14px;
    color: #fff;
}

.h2 {
    font-family: var(--ff-serif);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text);
}

.h3 {
    font-family: var(--ff-serif);
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--text);
}

.h4 {
    font-family: var(--ff-serif);
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.p {
    font-size: 16px;
    color: var(--text-soft);
    margin: 0 0 14px;
    line-height: 1.65;
}

.p-lead {
    font-size: 16px;
    color: #dce8f8;
    margin: 0 0 24px;
}

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

.subtle {
    color: var(--muted);
    margin-bottom: 30px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s var(--ease-out), color .2s, transform .15s var(--ease-out), box-shadow .2s;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover {
    /* transform: translateY(-1px); */
    text-decoration: none;
}

.btn:active {
    /* transform: translateY(0); */
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: #fff;
    /* box-shadow: 0 4px 14px rgba(26, 86, 160, .35); */
}

.btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border-color: rgba(255, 255, 255, .6);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .22);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--blue);
}

.btn-light:hover {
    background: #eef3fb;
}

@media only screen and (max-width: 575px) {
    a.btn {
        width: 100%;
        justify-content: center;
    }
}


/* ── Header / Topbar ─────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--line);
    background: #fff;
}

.same_container_1720 {
    max-width: 1720px;
    width: 100%;
    margin: auto;
}

/* Top bar row: phone | logo | schedule */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 0 24px;
}

.topbar-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 100%;
    gap: 16px;
    padding-top: 34px;
    padding-bottom: 34px;
}

.topbar-phone {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-soft);
    font-size: 13.5px;
    font-weight: 500;
    justify-self: start;
}

.topbar-phone:hover {
    color: var(--blue);
    text-decoration: none;
}

.icon-phone-svg {
    flex-shrink: 0;
    color: var(--blue);
}

.brand {
    font-family: var(--ff-serif);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: .5px;
    text-decoration: none;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    white-space: nowrap;
    justify-self: center;
}

.brand:hover {
    text-decoration: none;
}

.brand-lowry {
    color: var(--blue);
    font-weight: 800;
}

.brand-dental {
    color: var(--text);
    font-weight: 500;
}

.brand.small {
    font-size: 17px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-self: end;
}

.topbar-right a.btn.btn-primary.btn-schedule {
    padding: 10px 24px;
}

/* Nav bar row */
.navbar {
    background: #E2F1FD;
    padding: 0 24px;
}

.navbar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 42px;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: space-between;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .45px;
    text-transform: uppercase;
    border-bottom: 2px solid transparent;
    transition: color .15s, border-color .15s;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
    text-decoration: none;
}

.nav-caret {
    font-size: 8px;
    line-height: 1;
    opacity: .65;
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
}

@media only screen and (max-width: 991px) {
    .topbar-inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/* ── Sections ────────────────────────────────────────────── */
.section {
    padding: 72px 0;
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 700px;
    color: #fff;
    overflow: hidden;
    background: #0a2540;
    display: flex;
}

.same_container_1630 {
    max-width: 1630px;
    width: 100%;
    margin: auto;
}

.hero-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            rgba(10, 37, 64, .88) 0%,
            rgba(10, 37, 64, .60) 46%,
            rgba(10, 37, 64, .05) 72%);
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    padding: 60px 24px;
}

.hero-copy {
    max-width: 540px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

@media only screen and (max-width: 575px) {
    img.mobile_banner_img {
        width: 100%;
        height: 60vw;
        object-fit: cover;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    img.mobile_banner_img {
        width: 100%;
        height: 55vw;
        object-fit: cover;
    }
}

@media only screen and (max-width: 767px) {
    .hero {
        min-height: 100%;
        flex-wrap: wrap;
    }

    .hero-media {
        background-image: unset !important;
        position: unset;
    }

    .hero-inner {
        padding: 40px 24px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .hero {
        min-height: 500px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .hero {
        min-height: 550px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1140px) {
    .hero {
        min-height: 590px;
    }
}

@media only screen and (min-width: 1141px) and (max-width: 1280px) {
    .hero {
        min-height: 600px;
    }
}

@media only screen and (min-width: 1281px) and (max-width: 1440px) {
    .hero {
        min-height: 630px;
    }
}

@media only screen and (min-width: 1441px) and (max-width: 1680px) {
    .hero {
        min-height: 630px;
    }
}

@media only screen and (min-width: 768px) {
    .hero-inner {
        padding-left: 50px;
    }

    .mobile_banner_img {
        display: none;
    }
}

/* ── Feature cards (Why Choose) ──────────────────────────── */

.mar_bottom_48 {
    margin-bottom: 48px;
}

.padd_left_right_24 {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.cards-carousel {
    position: relative;
    margin-top: 20px;
    padding: 0 8px;
}

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

.cards-track .owl-wrapper-outer .owl-wrapper {
    display: flex !important;
    height: auto;
}

.cards-track .owl-wrapper-outer .owl-wrapper .owl-item {
    height: 100%;
    padding: 0 6px !important;
}

.cards-track .owl-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    height: fit-content;
    z-index: 30;
}

.cards-track .owl-controls .owl-buttons {
    display: flex;
    justify-content: space-between;
}

.cards-track .owl-controls .owl-pagination {
    display: none;
}

.cards-track .owl-controls .owl-buttons .owl-prev,
.cards-track .owl-controls .owl-buttons .owl-next {
    background: transparent;
    opacity: 1;
    box-shadow: none;
    outline: none;
    zoom: unset;
    padding: 0;
    margin: 0;
}

.cards-track .owl-controls .owl-buttons .owl-prev button.arrow_nav_btn,
.cards-track .owl-controls .owl-buttons .owl-next button.arrow_nav_btn {
    background-color: #1a56a0;
    box-shadow: none !important;
    outline: none;
    opacity: 1 !important;
    border-style: unset;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card {
    background: #fff;
    /* border-radius: var(--radius-lg); */
    overflow: hidden;
    /* box-shadow: var(--shadow-md); */
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--ease-out), box-shadow .3s;
    height: 100%;
}

/* .feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(23, 75, 144, .14);
} */

.feature-card-img {
    height: auto;
    width: 100%;
    background-size: cover;
    background-position: center;
    /* background-color: var(--blue-soft); */
}

.feature-card-img img {
    width: 100%;
    border-radius: var(--radius-lg);
}

.feature-card-body {
    padding: 22px 22px 0 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: var(--blue);
    margin-top: auto;
    padding-top: 10px;
    transition: gap .2s;
}

.link-more:hover {
    gap: 10px;
    text-decoration: none;
}

/* Carousel arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--blue);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 2;
    transition: background .15s, transform .15s var(--ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow:hover {
    background: var(--blue-soft);
    transform: translateY(calc(-50% - 1px));
}

.carousel-prev {
    left: -18px;
}

.carousel-next {
    right: -18px;
}

@media only screen and (max-width: 400px) {
    .cards-track .owl-controls {
        top: 40%;
    }
}

/* ── Quiz band ───────────────────────────────────────────── */

/* .quiz-band {} */

.quiz-inner {
    background: var(--blue-band);
    padding: 32px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    border-radius: 12px;
}

.quiz-copy .h3 {
    margin-bottom: 14px;
    font-size: 36px;
    line-height: normal;
}

.quiz-copy .p {
    margin: 0;
}

@media only screen and (max-width: 767px) {
    .quiz-inner {
        padding: 32px 20px;
    }

    .quiz-copy .h3 {
        font-size: 25px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .quiz-copy .h3 {
        font-size: 28px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1140px) {
    .quiz-inner {
        padding: 32px 50px;
    }
}

/* ── Welcome ─────────────────────────────────────────────── */
.welcome-section {
    padding: 100px 0;
}

.welcome-grid {
    display: flex;
    /* grid-template-columns: 1.45fr 1fr; */
    gap: 48px;
    align-items: center;
    justify-content: space-between;
}

.welcome-copy {
    max-width: 954px;
    width: 100%;
}

.welcome-image {
    max-width: 643px;
    width: 100%;
}

.welcome-copy .h2 {
    margin-bottom: 18px;
}

.welcome-image img {
    border-radius: var(--radius-lg);
    width: 100%;
    object-fit: cover;
}

@media only screen and (max-width: 991px) {
    .welcome-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .welcome-grid {
        flex-direction: column-reverse;
    }
}


/* ── Testimonials ────────────────────────────────────────── */
.testimonials-band {
    background: var(--blue-soft);
    padding: 72px 0;
}

.testimonials-band .cards-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 30px 26px 26px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform .3s var(--ease-out), box-shadow .3s;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.quote-mark {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--blue-band);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ff-serif);
    font-size: 44px;
    line-height: 0;
    padding-top: 8px;
}

.testimonial-card .p {
    text-align: center;
    font-size: 14px;
}

.cite {
    font-weight: 600;
    color: var(--text);
    margin-top: 12px;
    font-size: 14px;
}

.testimonials-band .cards-carousel .cards-track .owl-controls .owl-prev button {
    left: -23px;
    position: absolute;
}

.testimonials-band .cards-carousel .cards-track .owl-controls .owl-next {
    right: -23px;
    position: relative;
    justify-items: right;
}

.testimonials-band .cards-carousel .cards-track .owl-controls .owl-prev,
.testimonials-band .cards-carousel .cards-track .owl-controls .owl-next {
    width: 100%;
}

/* ── Comparison table ────────────────────────────────────── */
.compare-table {
    border: 1px solid rgba(16, 87, 145, 0.2);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #fff;
    margin-top: 16px;
}

.compare-row {
    display: flex;
    /* grid-template-columns: 1.1fr 1.4fr 1.4fr; */
    border-bottom: 1px solid rgba(16, 87, 145, 0.2);
}

.compare-head div {
    height: 163px;
}

.compare-logo span.brand.small {
    justify-content: center;
    width: 100%;
}

.compare-logo span.brand.small img {
    width: 100%;
    margin: auto;
    max-width: 250px;
}

.compare-row:last-child {
    border-bottom: none;
}

.compare-row .compare-cell:nth-child(1) {
    max-width: 640px;
    width: 100%;
}

.compare-row .compare-cell:nth-child(2),
.compare-row .compare-cell:nth-child(3) {
    max-width: 540px;
    width: 100%;
}

.compare-cell {
    padding: 32px 22px;
    font-size: 14px;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-head .compare-cell {
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    padding: 20px;
}

.compare-head .compare-logo {
    background: #fff;
    color: var(--text);
    justify-content: flex-start;
    padding-left: 24px;
}

.compare-head .compare-us {
    background: var(--blue);
}

.compare-head .compare-them {
    background: var(--blue);
    border-left: 1px solid rgba(255, 255, 255, .25);
}

.compare-label {
    font-weight: 600;
    color: var(--text);
    background: #E2F1FD;
    justify-content: center;
    text-align: center;
}

.compare-us {
    background: #fff;
    justify-content: center;
    text-align: center;
    flex-direction: column-reverse;
}

.compare-them {
    background: #fff;
    justify-content: center;
    text-align: center;
    border-left: 1px solid rgba(16, 87, 145, 0.2);
    flex-direction: column-reverse;
}

.compare-row:not(.compare-head) .compare-cell {
    justify-content: center;
    text-align: center;
}

.check,
.cross {
    display: inline-flex;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    color: #fff;
    order: 1;
}

.check {
    background: var(--green);
}

.cross {
    background: var(--red);
}

.compare-us p {
    max-width: 328px;
    width: 100%;
    margin: auto;
}

@media only screen and (max-width: 480px) {

    body .compare-cell.compare-us,
    body .compare-cell.compare-them {
        max-width: 100% !important;
    }

    .compare-cell {
        padding: 20px 10px !important;
    }

    .compare-cell.compare-them p {
        margin: 0 !important;
    }
}

@media only screen and (max-width: 767px) {
    .compare-row.compare-head {
        flex-wrap: wrap;
        width: 100%;
    }

    .compare-head div {
        height: auto;
        max-width: 100% !important;
    }

    .compare-row {
        flex-wrap: wrap;
    }

    .compare-cell.compare-label {
        max-width: 100% !important;
    }

    .compare-cell.compare-us,
    .compare-cell.compare-them {
        max-width: 50% !important;
    }

    .compare-logo span.brand.small img {
        max-width: 200px !important;
    }
}

/* ── Stats ───────────────────────────────────────────────── */

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    padding: 60px 20px 0px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1 1 300px;
    min-width: 280px;
    height: 448px;
    padding: 40px 60px;
    text-align: center;
    border-radius: 12px;
    background: #EDF6FE;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform .3s var(--ease-out);
}

.stat-card:hover {
    transform: translateY(-3px);
}

.stat-num {
    font-family: var(--ff-serif);
    font-size: 42px;
    font-weight: 600;
    color: var(--blue);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-card .p {
    margin: 0;
    font-size: 18px;
    max-width: 325px;
    width: 100%;
    margin: 0 auto;
}

.stat-card .stat-num,
.stat-card .stat-num span {
    font-size: 100px;
    font-weight: 500;
    font-family: var(--ff-serif);
    color: #282623;
    margin-bottom: 25px;
}

@media only screen and (min-width: 1441px) and (max-width: 1680px) {
    .stat-card .stat-num {
        font-size: 80px;
    }

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

@media only screen and (min-width: 1281px) and (max-width: 1440px) {
    .stat-card .stat-num {
        font-size: 72px;
    }

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

@media only screen and (min-width: 1141px) and (max-width: 1280px) {
    .stat-card {
        padding: 40px 20px;
    }

    .stat-card .stat-num {
        font-size: 70px;
    }
}

@media only screen and (min-width: 1025px) and (max-width: 1140px) {
    .stat-card .stat-num {
        font-size: 68px;
    }

    .stat-card {
        padding: 40px 20px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .stat-card .stat-num {
        font-size: 68px;
    }

    .stat-card {
        padding: 40px 20px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .stat-card {
        height: 380px;
    }

    .stat-card .stat-num {
        font-size: 62px;
    }

    .stat-card {
        padding: 40px 20px;
    }
}

@media only screen and (max-width: 767px) {
    .stat-card {
        height: auto;
    }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
    .stat-card {
        padding: 40px 20px;
    }

    .stat-card .stat-num {
        font-size: 60px;
    }
}

@media only screen and (max-width: 575px) {
    .stat-card .stat-num {
        font-size: 42px;
    }

    .stat-card .p {
        font-size: 16px;
    }

    .stat-card .stat-num span {
        font-size: 70px;
    }

    .stat-card {
        padding: 40px 20px;
    }
}

/* ── CTA band ────────────────────────────────────────────── */
.cta-band {
    color: #fff;
}

.cta-grid {
    background: var(--blue);
    padding: 40px 80px;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: center;
}

.cta-copy {
    max-width: 643px;
    width: 100%;
}

.cta-image {
    max-width: 797px;
    width: 100%;
    height: 100%;
}

.cta-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.cta-copy .h2 {
    color: #fff;
}

.cta-copy .p {
    color: #dce8f8;
}

.cta-copy p.p {
    margin-bottom: 32px;
}

.cta-image {
    height: 100%;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
}

/* ── Articles ────────────────────────────────────────────── */
.articles-section {
    padding: 64px 0 48px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 26px;
    margin-top: 48px;
}

.article-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 14px 12px 18px;
    color: var(--text);
    font-size: 18px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: border-color .2s, color .2s, transform .2s var(--ease-out);
}

.article-chip:hover {
    text-decoration: none;
    border-color: var(--blue);
    color: var(--blue);
    /* transform: translateY(-2px); */
}

.article-title {
    flex: 1;
}

.article-arrow {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

@media only screen and (max-width: 575px) {
    .cta-grid {
        padding: 40px 20px;
    }
}

@media only screen and (max-width: 991px) {
    .cta-grid {
        flex-direction: column-reverse;
    }

    .cta-grid {
        padding: 40px 30px;
    }

    .cta-copy,
    .cta-image {
        max-width: 100% !important;
    }
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: var(--blue-soft);
    padding: 60px 0 0;
    color: var(--text-soft);
    font-size: 14px;
    padding-left: 24px;
    padding-right: 24px;
}

.footer-inner {
    display: flex;
    gap: 48px;
    padding-bottom: 42px;
    align-items: start;
    justify-content: space-between;
}

/* Footer logo */
.footer-logo {
    display: inline-block;
    text-decoration: none;
    line-height: 1;
}

.footer_inner_container {
    max-width: 1320px;
    width: 100%;
    margin: auto;
}

.footer-logo:hover {
    text-decoration: none;
    opacity: .88;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Quick links */
.footer-heading {
    font-family: var(--ff-sans);
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 14px;
    color: var(--text);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 10px;
}

.footer-list a {
    color: var(--text-soft);
    font-size: 14px;
    transition: color .15s;
}

.footer-list a:hover {
    color: var(--blue);
    text-decoration: none;
}

/* Contact column */
.footer-contact-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.5;
}

.footer-contact-row a {
    color: var(--text-soft);
    transition: color .15s;
}

.footer-contact-row a:hover {
    color: var(--blue);
    text-decoration: none;
}

.footer-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--blue);
    margin-top: 1px;
}

.footer-hours-heading {
    margin-top: 6px;
}

.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours-list li {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 5px;
    line-height: 1.5;
}

/* Bottom bar */
.footer-bottom {
    border-top: 1px solid #c8d8ee;
    padding: 18px 0;
    font-size: 13px;
}

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

.footer-bottom-inner p {
    margin: 0;
    color: var(--muted);
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.footer-legal a {
    color: var(--muted);
    transition: color .15s;
}

.footer-legal a:hover {
    color: var(--blue);
    text-decoration: none;
}

@media only screen and (max-width: 610px) {
    .footer-bottom-inner {
        justify-content: center;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-inner ul.footer-legal {
        justify-content: center;
        width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    
    .footer-inner {
        flex-wrap: wrap;
    }
    .footer-inner .footer-col {
        width: 100%;
    }
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   — All animation base states are gated behind html.js-anim
     so elements are always visible if JS hasn't run yet.
   ═══════════════════════════════════════════════════════════ */

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Hero: animate children only (no wrapper animation) ──── */
html.js-anim .hero-anim-1 {
    animation: heroFadeUp .7s var(--ease-out) .05s both;
}

html.js-anim .hero-anim-2 {
    animation: heroFadeUp .7s var(--ease-out) .22s both;
}

html.js-anim .hero-anim-3 {
    animation: heroFadeUp .7s var(--ease-out) .38s both;
}

/* ── Scroll-reveal base states (:not(.revealed) prevents specificity conflict) ── */
html.js-anim .reveal:not(.revealed) {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

html.js-anim .reveal-left:not(.revealed) {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

html.js-anim .reveal-right:not(.revealed) {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .65s var(--ease-out), transform .65s var(--ease-out);
}

/* Revealed state */
.reveal.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* ── Stagger children ───────────────────────────────────── */
html.js-anim .stagger-children:not(.revealed)>* {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.stagger-children.revealed>* {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.revealed>*:nth-child(1) {
    transition-delay: .00s;
}

.stagger-children.revealed>*:nth-child(2) {
    transition-delay: .08s;
}

.stagger-children.revealed>*:nth-child(3) {
    transition-delay: .16s;
}

.stagger-children.revealed>*:nth-child(4) {
    transition-delay: .24s;
}

.stagger-children.revealed>*:nth-child(5) {
    transition-delay: .32s;
}

.stagger-children.revealed>*:nth-child(6) {
    transition-delay: .40s;
}

.stagger-children.revealed>*:nth-child(7) {
    transition-delay: .48s;
}

.stagger-children.revealed>*:nth-child(8) {
    transition-delay: .56s;
}

.stagger-children.revealed>*:nth-child(9) {
    transition-delay: .64s;
}

.stagger-children.revealed>*:nth-child(10) {
    transition-delay: .72s;
}

/* ── Stat cards ─────────────────────────────────────────── */
html.js-anim .stat-card:not(.revealed) {
    opacity: 0;
    transform: scale(.94) translateY(14px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}

.stat-card.revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.stat-card:nth-child(1).revealed {
    transition-delay: .00s;
}

.stat-card:nth-child(2).revealed {
    transition-delay: .12s;
}

.stat-card:nth-child(3).revealed {
    transition-delay: .24s;
}

/* ── Reduced-motion: skip all transitions instantly ──────── */
@media (prefers-reduced-motion: reduce) {

    html.js-anim .hero-anim-1,
    html.js-anim .hero-anim-2,
    html.js-anim .hero-anim-3 {
        animation: none;
    }

    html.js-anim .reveal:not(.revealed),
    html.js-anim .reveal-left:not(.revealed),
    html.js-anim .reveal-right:not(.revealed),
    html.js-anim .stagger-children:not(.revealed)>*,
    html.js-anim .stat-card:not(.revealed) {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE MENU PANEL (right → left slide)
   ═══════════════════════════════════════════════════════════ */
.mmenu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 40, 0.45);
    backdrop-filter: blur(3px);
    z-index: 199;
    opacity: 0;
    transition: opacity .35s var(--ease-out);
}

.mmenu-backdrop.active {
    display: block;
}

.mmenu-backdrop.visible {
    opacity: 1;
}

.mmenu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 96vw);
    background: #faf9f6;
    z-index: 200;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .38s var(--ease-out);
    box-shadow: -8px 0 40px rgba(10, 20, 40, .18);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mmenu.open {
    transform: translateX(0);
}

/* Header row: logo + close */
.mmenu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 18px;
    border-bottom: 1px solid #ece9e3;
}

.mmenu-brand {
    font-size: 22px;
    line-height: 1;
}

.mmenu-brand img {
    height: 100%;
    width: 100%;
    max-width: 210px;
    object-fit: cover;
    display: block;
}

.mmenu-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    transition: background .15s, transform .15s;
    flex-shrink: 0;
}

.mmenu-close:hover {
    background: #f0ede8;
    transform: rotate(90deg);
}

/* Nav list */
.mmenu-nav {
    flex: 1;
    padding: 10px 0;
}

.mmenu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mmenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 28px;
    font-family: var(--ff-serif);
    font-size: 19px;
    font-weight: 500;
    color: var(--text);
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color .15s;
    text-decoration: none;
    letter-spacing: .2px;
}

.mmenu-link:hover,
.mmenu-link.active {
    color: var(--blue);
    text-decoration: none;
}

.mmenu-link.active {
    font-weight: 600;
}

.mmenu-chevron {
    flex-shrink: 0;
    transition: transform .25s var(--ease-out);
    color: var(--muted);
}

.mmenu-toggle-sub[aria-expanded="true"] .mmenu-chevron {
    transform: rotate(180deg);
}

/* Sub-menu */
.mmenu-sub {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f2efe9;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease-out);
}

.mmenu-sub.open {
    max-height: 300px;
}

.mmenu-sub-link {
    display: block;
    padding: 10px 28px 10px 40px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-soft);
    transition: color .15s;
}

.mmenu-sub-link:hover {
    color: var(--blue);
    text-decoration: none;
}

/* Footer: CTA + phone */
.mmenu-footer {
    padding: 20px 24px 32px;
    border-top: 1px solid #ece9e3;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.mmenu-cta {
    width: 100%;
    justify-content: center;
    font-size: 15px;
    padding: 14px 24px;
}

.mmenu-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-soft);
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    justify-content: center;
}

.mmenu-phone:hover {
    color: var(--blue);
    text-decoration: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1300px) {

    /* show hamburger, hide schedule btn + desktop nav */
    .btn-schedule {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .navbar {
        display: none;
    }
}

@media (max-width: 980px) {
    .h1 {
        font-size: 34px;
    }

    .h2 {
        font-size: 26px;
    }

    .welcome-grid {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    /* .cta-image {
        min-height: 220px;
        margin: 0 20px 24px;
    } */

    /* .cta-copy {
        padding: 36px 20px 0;
    } */

    .cards-track,
    .testimonials-band .cards-track {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* .compare-row {
        grid-template-columns: 1fr;
    } */

    .compare-cell {
        border-bottom: 1px solid rgba(16, 87, 145, 0.2);
    }

    /* .compare-head {
        display: none;
    } */

    .compare-label {
        background: var(--blue-soft);
    }

    .carousel-prev {
        left: 4px;
    }

    .carousel-next {
        right: 4px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .topbar-phone {
        display: none;
    }

    .topbar-inner {
        grid-template-columns: 1fr auto;
    }

    .brand {
        justify-self: start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 560px) {
    .section {
        padding: 48px 0;
    }

    /* .hero-inner,
    .hero {
        min-height: 380px;
    } */

    /* .hero-media::after {
        background: linear-gradient(180deg, rgba(10, 37, 64, .88) 0%, rgba(10, 37, 64, .55) 100%);
    } */

    .brand {
        font-size: 20px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/*-----------*/

@media only screen and (min-width: 992px) and (max-width: 1400px) {
.articles-grid {
    grid-template-columns: repeat(3, minmax(0px, 1fr));
}
}