/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Site navbar logo (all pages — img/sharma_hospital_logo.jpeg) */
.navbar-brand.sh-navbar-brand {
    line-height: 1;
}

.sh-navbar-logo {
    display: block;
    height: auto;
    max-height: 54px;
    width: auto;
    max-width: min(300px, 60vw);
    object-fit: contain;
}

@media (min-width: 992px) {
    .sh-navbar-logo {
        max-height: 58px;
        max-width: min(324px, 40vw);
    }
}

@media (max-width: 991.98px) {
    .sh-navbar-logo {
        max-height: 46px;
        max-width: min(246px, 68vw);
    }
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

/* --- Mobile-only: kill horizontal scroll (overflow bleed) --- */
@media (max-width: 991.98px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Brand + toggle on one row; long title cannot push viewport wider */
    .navbar > .container {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Pages that nest container-fluid directly under navbar (if any) */
    .navbar .container-fluid {
        overflow-x: hidden;
        max-width: 100%;
    }

    .navbar-expand-lg.navbar .navbar-brand {
        flex: 1 1 auto;
        min-width: 0;
        max-width: 72%;
    }

    .navbar-expand-lg.navbar .navbar-toggler {
        flex-shrink: 0;
    }

    /* Owl can leave fractional px outside stage — clip carousel root */
    .owl-carousel.owl-loaded {
        overflow-x: hidden;
        max-width: 100%;
    }

    .sh-pkg-section .price-carousel {
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box;
        max-width: 100%;
    }
}

.hero-header {
    position: relative;
    background: url(../img/8545455e-682c-426a-92fd-a6b948957787.jpeg) top right no-repeat;
    background-size: cover;
}

/******* Home hero — mobile & small tablet readability (index.html only) *******/
@media (max-width: 991.98px) {
    .hero-header {
        background-position: 78% center;
    }

    .hero-header::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background: linear-gradient(
            165deg,
            rgba(29, 42, 77, 0.82) 0%,
            rgba(29, 42, 77, 0.58) 38%,
            rgba(29, 42, 77, 0.44) 100%
        );
    }

    .hero-header .container {
        position: relative;
        z-index: 1;
    }

    /* Stack title lines without display-1 blow-up on narrow viewports */
    .hero-header .hero-header-heading.display-1,
    .hero-header h1.hero-header-heading {
        font-size: clamp(1.5rem, 5.85vw + 0.42rem, 2.375rem);
        line-height: 1.22;
        font-weight: 800;
        letter-spacing: -0.02em;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
        text-align: center;
        word-break: break-word;
        max-width: 22rem;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-header h5.border-bottom {
        font-size: 0.684rem;
        letter-spacing: 0.08em !important;
        margin-bottom: 0.625rem !important;
    }

    /* Outline CTA vanished on lab coat — use solid dark pill for contrast */
    .hero-header .hero-header-btn-book.btn-outline-light {
        background-color: var(--dark);
        border-width: 2px;
        border-color: rgba(255, 255, 255, 0.5);
        color: #ffffff !important;
        font-weight: 700;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
    }

    .hero-header .hero-header-btn-book.btn-outline-light:hover,
    .hero-header .hero-header-btn-book.btn-outline-light:focus {
        background-color: #152140;
        border-color: #ffffff;
        color: #ffffff !important;
    }

    .hero-header .hero-header-actions {
        max-width: 100%;
        width: 100%;
        gap: 0.5rem !important;
    }

    .hero-header .hero-header-actions .hero-header-cta {
        flex: 1 1 0%;
        min-width: 0;
        padding-left: 0.625rem !important;
        padding-right: 0.625rem !important;
        font-size: clamp(0.56rem, 2.2vw + 0.28rem, 0.6875rem);
        line-height: 1.22;
        font-weight: 700;
        white-space: normal;
    }
}

@media (min-width: 992px) {
    .hero-header::before {
        display: none;
    }

    .hero-header .hero-header-heading.display-1,
    .hero-header h1.hero-header-heading {
        max-width: none;
        text-shadow: none;
        text-align: inherit;
    }

    .hero-header .hero-header-actions {
        max-width: none;
        width: auto;
    }

    .hero-header .hero-header-actions .hero-header-cta {
        flex: 0 0 auto;
        min-width: 0;
        padding-left: 3rem !important;
        padding-right: 3rem !important;
        font-size: 1rem !important;
        line-height: 1.5 !important;
        white-space: nowrap;
    }
}

/******* Home hero — laptop / compact desktop (992px–1399px): one-row CTAs + balanced headline *******/
@media (min-width: 992px) and (max-width: 1399.98px) {
    .hero-header .hero-header-heading.display-1,
    .hero-header h1.hero-header-heading {
        font-size: clamp(2.125rem, 1.4vw + 1.72rem, 3.125rem);
        line-height: 1.17;
        font-weight: 800;
        letter-spacing: -0.02em;
        max-width: 38rem;
    }

    /* Keep both pills on one row; long labels stay single-line inside the pill */
    .hero-header .hero-header-actions .hero-header-cta.btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
}

@media (min-width: 1400px) {
    .hero-header .hero-header-heading.display-1,
    .hero-header h1.hero-header-heading {
        max-width: none;
    }
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

/* Treatment packages — homepage & pricing: no cyan “bowl”; neutral section skin */
.sh-pkg-section .price-carousel::after {
    display: none;
}

.sh-pkg-section {
    background: linear-gradient(180deg, #fafbfd 0%, #f1f4f9 55%, #eef2f8 100%);
    border-top: 1px solid #e8edf3;
    border-bottom: 1px solid #e8edf3;
}

.sh-pkg-section .price-carousel {
    padding: 0 2.75rem 2.5rem !important;
}

.sh-pkg-intro {
    font-size: 1.0625rem;
    line-height: 1.62;
    color: #596276;
}

.sh-pkg-card {
    height: 100%;
    background: #fff;
    border: 1px solid #dde4ee;
    border-radius: 0.5rem;
    box-shadow: 0 10px 32px rgba(29, 42, 77, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sh-pkg-card:hover {
    box-shadow: 0 18px 44px rgba(29, 42, 77, 0.12);
    transform: translateY(-3px);
}

.sh-pkg-section .owl-item {
    display: flex;
}

.sh-pkg-section .owl-item > .sh-pkg-card {
    width: 100%;
}

.sh-pkg-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #1d2a4d;
}

.sh-pkg-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sh-pkg-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(180deg, rgba(10, 16, 28, 0.12) 0%, rgba(17, 24, 42, 0.82) 55%, rgba(12, 18, 32, 0.94) 100%);
    text-align: left;
}

.sh-pkg-card__name {
    margin: 0 0 0.35rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.sh-pkg-card__teaser {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.48;
    color: rgba(255, 255, 255, 0.9);
}

.sh-pkg-card__body {
    padding: 1.35rem 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.sh-pkg-card__list {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    text-align: left;
}

.sh-pkg-card__list li {
    position: relative;
    padding-left: 1.65rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: #4a5568;
    line-height: 1.45;
}

.sh-pkg-card__list li:last-child {
    margin-bottom: 0;
}

.sh-pkg-card__list .fa-check {
    position: absolute;
    left: 0;
    top: 0.25em;
    font-size: 0.68rem;
    color: var(--secondary);
}

.sh-pkg-card__cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    padding: 0.65rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 0.25rem;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.sh-pkg-card__cta:hover {
    color: #fff;
    background: #152140;
    border-color: #152140;
}

.sh-pkg-card__cta:focus-visible {
    outline: 2px solid rgba(53, 79, 142, 0.45);
    outline-offset: 2px;
}

.sh-pkg-section .price-carousel .owl-nav {
    margin-top: 0.5rem;
}

.sh-pkg-section .price-carousel .owl-nav .owl-prev,
.sh-pkg-section .price-carousel .owl-nav .owl-next {
    color: var(--dark);
    background: #fff;
    border: 1px solid #c5cedc;
    box-shadow: 0 2px 10px rgba(29, 42, 77, 0.08);
}

.sh-pkg-section .price-carousel .owl-nav .owl-prev:hover,
.sh-pkg-section .price-carousel .owl-nav .owl-next:hover {
    color: #fff;
    background: var(--dark);
    border-color: var(--dark);
}

@media (max-width: 575.98px) {
    .sh-pkg-section .price-carousel {
        padding: 0 0.25rem 1.25rem !important;
    }
}

/******* Blog cards — grid & homepage (sh-blog-*) *******/
.sh-blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #dde4ee;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(29, 42, 77, 0.07);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.sh-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(29, 42, 77, 0.12);
}

.sh-blog-card__thumb {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #eef2f8;
}

.sh-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.sh-blog-card:hover .sh-blog-card__img {
    transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
    .sh-blog-card,
    .sh-blog-card:hover .sh-blog-card__img {
        transition: none;
    }

    .sh-blog-card:hover {
        transform: none;
    }

    .sh-blog-card:hover .sh-blog-card__img {
        transform: none;
    }

    .sh-blog-card__read:hover span {
        transform: none;
    }
}

.sh-blog-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 1.35rem 1.35rem 1.2rem;
}

.sh-blog-card__title {
    margin: 0 0 0.65rem;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.33;
}

.sh-blog-card__title a {
    color: var(--dark);
    text-decoration: none;
}

.sh-blog-card__title a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.sh-blog-card__excerpt {
    margin: 0 0 0.95rem;
    font-size: 0.9375rem;
    line-height: 1.63;
    color: #596276;
    flex-grow: 1;
}

.sh-blog-card__read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 1.15rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
}

.sh-blog-card__read:hover {
    color: var(--dark);
}

.sh-blog-card__read span {
    transition: transform 0.2s ease;
}

.sh-blog-card__read:hover span {
    transform: translateX(4px);
}

.sh-blog-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid #e8edf4;
}

.sh-blog-card__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.sh-blog-card__avatar {
    width: 34px;
    height: 34px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #eef2f8;
    flex-shrink: 0;
}

.sh-blog-card__by {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #394355;
}

.sh-blog-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.sh-blog-card__stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    color: #6d7a91;
}

.sh-blog-card__stat i {
    color: var(--secondary);
    font-size: 0.875rem;
}

.sh-blog-load {
    margin-top: 0.5rem;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--dark);
    background-color: #ffffff;
    border: 2px solid var(--dark);
    border-radius: 0.3125rem;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.sh-blog-load:hover {
    color: #ffffff;
    background-color: var(--dark);
}

.sh-blog-load:focus-visible {
    outline: 2px solid rgba(53, 79, 142, 0.45);
    outline-offset: 2px;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 310px;
    }
}

/* Homepage Our Doctors — h3/h6/p align consistently (no mt-auto on copy; flex-grow fills column) */
.page-home-team .team-item .row {
    align-items: stretch;
}

.page-home-team .team-home-card-copy {
    min-height: 0;
    padding-top: 2rem !important;
}

.page-home-team .team-home-card-copy h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.page-home-team .team-home-card-copy h6 {
    margin-bottom: 0.75rem !important;
}

.page-home-team .team-home-card-copy p {
    margin-bottom: 0;
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
}

/* Our Doctors carousel — uniform photo frame on every card */
.page-home-team .team-item > .row > .col-12.col-sm-5 {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
    align-self: stretch;
    min-height: 0;
}

.page-home-team .team-item > .row > .col-12.col-sm-5 img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center 0%;
}

@media (max-width: 575.98px) {
    .page-home-team .team-item > .row > .col-12.col-sm-5 {
        aspect-ratio: 4 / 3;
        width: 100%;
        max-height: min(78vw, 280px);
    }

    .page-home-team .team-item > .row > .col-12.col-sm-5 img {
        min-height: 0;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

/******* Home — About (clean split + stat cards; index.html) *******/
.about-mod {
    background: linear-gradient(180deg, #ffffff 0%, #f2f9fb 100%);
    border-bottom: 1px solid rgba(29, 42, 77, 0.05);
}

.about-mod-kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.about-mod-title {
    font-size: clamp(1.75rem, 4vw, 2.625rem);
    font-weight: 700;
    line-height: 1.22;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.about-mod-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    max-width: 540px;
}

.about-mod-chip {
    display: inline-block;
    font-size: 0.69rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.45rem 0.95rem;
    border-radius: 50rem;
    border: 1px solid rgba(19, 197, 221, 0.4);
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.75);
}

.about-mod-chip-dark {
    background: var(--dark);
    border-color: var(--dark);
    color: #fff !important;
}

.about-mod-frame {
    max-width: 520px;
    padding: 0.85rem;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, rgba(19, 197, 221, 0.12), rgba(53, 79, 142, 0.1));
}

.about-mod-frame-inner {
    border: 3px solid #fff;
    box-shadow:
        0 6px 0 rgba(19, 197, 221, 0.2),
        0 26px 50px rgba(29, 42, 77, 0.12);
}

.about-mod-photo {
    width: 100%;
    aspect-ratio: 5 / 4;
    display: block;
    object-fit: cover;
}

/* About page campus block — show full exterior photo without cropping edges */
.page-about-main .about-mod-campus .about-mod-campus__frame {
    overflow: hidden;
    background: linear-gradient(160deg, #f4fafc 0%, #e9f4f9 55%, #e2eef5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-about-main .about-mod-campus .about-mod-photo--full {
    aspect-ratio: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none;
    object-fit: contain;
    object-position: center;
}

@supports not (aspect-ratio: 5 / 4) {
    .about-mod-photo {
        min-height: 280px;
    }
}

.about-mod-points {
    border-top: 1px dashed rgba(19, 197, 221, 0.35);
    padding-top: 2rem;
}

.about-mod-point {
    padding: 1.35rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid rgba(29, 42, 77, 0.07);
    box-shadow: 0 10px 28px rgba(29, 42, 77, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.about-mod-point:hover {
    border-color: rgba(19, 197, 221, 0.35);
    box-shadow: 0 14px 32px rgba(29, 42, 77, 0.08);
    transform: translateY(-2px);
}

.about-mod-point-icon {
    width: 46px;
    height: 46px;
    border-radius: 0.85rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 16px rgba(19, 197, 221, 0.25);
}

/******* About page — Mission & Vision (neutral cards; about.html #mission) *******/
.sh-mission-section {
    background: linear-gradient(180deg, #f6f9fc 0%, #fdfefe 65%, #ffffff 100%);
    border-top: 1px solid #e4eaf2;
}

.sh-mission-header {
    max-width: 680px;
}

.sh-mission-panel {
    height: 100%;
    position: relative;
    background-color: #ffffff;
    border: 1px solid #dde4ee;
    border-radius: 0.5rem;
    padding: clamp(1.5rem, 3.75vw, 2.125rem);
    box-shadow: 0 10px 32px rgba(29, 42, 77, 0.07);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.sh-mission-panel:hover {
    border-color: #b8c6da;
    box-shadow: 0 18px 44px rgba(29, 42, 77, 0.11);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    .sh-mission-panel {
        transition: none;
    }

    .sh-mission-panel:hover {
        transform: none;
    }
}

.sh-mission-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--secondary) 0%, var(--dark) 100%);
}

.sh-mission-panel--vision::before {
    background: linear-gradient(90deg, var(--dark) 0%, var(--secondary) 100%);
}

.sh-mission-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
    color: #ffffff;
    background-color: var(--dark);
    border-radius: 0.375rem;
    box-shadow: 0 4px 14px rgba(29, 42, 77, 0.15);
}

.sh-mission-panel--vision .sh-mission-panel__icon {
    background-color: var(--secondary);
    box-shadow: 0 4px 14px rgba(53, 79, 142, 0.2);
}

.sh-mission-panel__title {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--dark);
}

.sh-mission-panel__text {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.7;
    color: #556273;
}

/******* Home — Why Choose Us (alt: centered icons; index.html) *******/
.why-v2 {
    position: relative;
    background-color: #f8fafb;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(29, 42, 77, 0.07) 1px, transparent 0),
        radial-gradient(120% 80% at 50% -10%, rgba(19, 197, 221, 0.12), transparent);
    background-size:
        24px 24px,
        auto;
    border-top: 1px solid rgba(29, 42, 77, 0.05);
}

.why-v2-header {
    max-width: 700px;
}

.why-v2-pill {
    display: inline-block;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark);
    background: rgba(19, 197, 221, 0.2);
}

.why-v2-title {
    margin: 1rem 0 1rem;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.why-v2-intro {
    margin: 0 auto;
    max-width: 640px;
    font-size: 1.1rem;
    line-height: 1.72;
    color: #627088;
}

.why-v2-card {
    padding: 1.75rem 1.375rem;
    border-radius: 1.125rem;
    text-align: center;
    border: 1px solid rgba(29, 42, 77, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #ffffff 50%);
    box-shadow:
        0 1px 3px rgba(29, 42, 77, 0.04),
        0 16px 40px rgba(29, 42, 77, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.why-v2-card:hover {
    transform: translateY(-6px);
    border-color: rgba(19, 197, 221, 0.45);
    box-shadow:
        0 12px 28px rgba(29, 42, 77, 0.08),
        0 28px 56px rgba(19, 197, 221, 0.12);
}

.why-v2-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 4.375rem;
    height: 4.375rem;
    margin-bottom: 1.125rem;
    border-radius: 50%;
    font-size: 1.75rem;
    color: #ffffff;
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    box-shadow: 0 10px 24px rgba(19, 197, 221, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.why-v2-card-title {
    margin: 0 0 0.625rem;
    font-size: 1.28rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
}

.why-v2-card-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #6f7d92;
}

/******* Home — Core Specialties Overview (modern cards; index.html) *******/
.core-spec {
    background: linear-gradient(180deg, #ffffff 0%, #f3f8fa 42%, #ffffff 100%);
    border-top: 1px solid rgba(29, 42, 77, 0.05);
    border-bottom: 1px solid rgba(29, 42, 77, 0.05);
}

.core-spec-intro-block {
    max-width: 760px;
}

.core-spec-pill {
    display: inline-block;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark);
    background: rgba(19, 197, 221, 0.18);
}

.core-spec-heading {
    margin: 1rem 0 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--dark);
}

.core-spec-lead {
    margin: 0 auto;
    max-width: 640px;
    font-size: 1.1rem;
    line-height: 1.72;
    color: #627088;
}

.core-spec-card {
    position: relative;
    height: 100%;
    padding: 1.75rem 1.625rem;
    border-radius: 1.125rem;
    background: #ffffff;
    border: 1px solid rgba(29, 42, 77, 0.08);
    box-shadow:
        0 1px 3px rgba(29, 42, 77, 0.04),
        0 20px 48px rgba(29, 42, 77, 0.07);
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.core-spec-card::before {
    content: "";
    position: absolute;
    left: 1.625rem;
    right: 1.625rem;
    top: 0;
    height: 3px;
    border-radius: 0 0 3px 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.85;
}

.core-spec-card--ortho:hover,
.core-spec-card--eye:hover,
.core-spec-card--browse:hover {
    transform: translateY(-6px);
    border-color: rgba(19, 197, 221, 0.35);
    box-shadow:
        0 12px 28px rgba(29, 42, 77, 0.08),
        0 32px 64px rgba(19, 197, 221, 0.1);
}

.core-spec-head {
    display: flex;
    gap: 1.125rem;
    align-items: flex-start;
    margin-top: 0.625rem;
    margin-bottom: 1.125rem;
    padding-bottom: 1.375rem;
    border-bottom: 1px solid rgba(29, 42, 77, 0.07);
}

.core-spec-icon-ring {
    flex-shrink: 0;
    width: 3.875rem;
    height: 3.875rem;
    border-radius: 1rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    color: #ffffff;
}

.core-spec-card--ortho .core-spec-icon-ring {
    background: linear-gradient(145deg, #0eb8cf, var(--primary));
    box-shadow: 0 10px 22px rgba(19, 197, 221, 0.4);
}

.core-spec-card--eye .core-spec-icon-ring {
    background: linear-gradient(145deg, #3d5a9e, var(--secondary));
    box-shadow: 0 10px 22px rgba(53, 79, 142, 0.35);
}

.core-spec-card--browse .core-spec-icon-ring {
    background: linear-gradient(145deg, #344770, var(--dark));
    box-shadow: 0 10px 22px rgba(29, 42, 77, 0.3);
}

.core-spec-card--browse::before {
    background: linear-gradient(90deg, var(--secondary), var(--dark));
    opacity: 0.95;
}

.core-spec-head-copy {
    flex: 1;
    min-width: 0;
}

.core-spec-card-title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dark);
}

.core-spec-hindi,
.core-spec-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: #6f7d92;
}

.core-spec-desc {
    margin: 0 0 1.25rem;
    font-size: 1.05rem;
    line-height: 1.72;
    color: #526077;
}

.core-spec-tags-label {
    margin: 0 0 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
}

.core-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.375rem;
}

.core-spec-tag {
    padding: 0.3625rem 0.775rem;
    border-radius: 999px;
    font-size: 0.8375rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--dark);
    background: rgba(19, 197, 221, 0.12);
    border: 1px solid rgba(19, 197, 221, 0.22);
}

.core-spec-card--eye .core-spec-tag {
    background: rgba(53, 79, 142, 0.09);
    border-color: rgba(53, 79, 142, 0.18);
}

.core-spec-card--browse .core-spec-tags-label {
    color: var(--secondary);
}

.core-spec-card--browse .core-spec-tag {
    background: rgba(53, 79, 142, 0.09);
    border-color: rgba(53, 79, 142, 0.18);
}

.core-spec-cta {
    margin-top: auto;
}

.core-spec-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    border: none;
    box-shadow: 0 8px 20px rgba(19, 197, 221, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.core-spec-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(19, 197, 221, 0.38);
    filter: brightness(1.06);
}

.core-spec-btn i {
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

/******* Specialties landing (specialties.html) — hero + card CTA layout *******/
.sh-spec-hero {
    background: linear-gradient(180deg, #fafbfd 0%, #eef2f8 48%, #ffffff 100%);
    border-bottom: 1px solid #e4eaf2;
}

.sh-spec-stack .core-spec-cta {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.sh-spec-stack .core-spec-cta .core-spec-btn {
    width: 100%;
}

.sh-spec-stack .core-spec-cta .sh-appt-btn {
    width: 100%;
    justify-content: center;
}

/******* Contact page — custom layout (contact.html) *******/
.sh-contact-page {
    background-color: #fafbfd;
}

.sh-contact-hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    padding:
        clamp(2.65rem, 6.5vw, 4rem) 0 clamp(3.25rem, 7vw, 4.5rem);
    background: linear-gradient(125deg, #131c32 0%, #1d2a4d 38%, #152140 100%);
}

.sh-contact-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 1;
    background:
        radial-gradient(ellipse 90% 70% at 100% -5%, rgba(19, 197, 221, 0.22), transparent 55%),
        radial-gradient(ellipse 55% 50% at -5% 100%, rgba(53, 79, 142, 0.55), transparent 52%),
        repeating-linear-gradient(
            -21deg,
            transparent,
            transparent 11px,
            rgba(255, 255, 255, 0.028) 11px,
            rgba(255, 255, 255, 0.028) 12px
        );
    pointer-events: none;
}

.sh-contact-hero__inner {
    position: relative;
    z-index: 1;
}

.sh-contact-pill {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0.45rem 1rem;
    font-size: 0.78125rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.sh-contact-hero #contact-heading {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.035em;
    color: #ffffff;
}

.sh-contact-hero__lead {
    margin: 0 0 1.75rem;
    max-width: 38rem;
    font-size: 1.0875rem;
    line-height: 1.7;
    color: rgba(229, 236, 248, 0.92);
}

@media (min-width: 992px) {
    .sh-contact-hotline {
        max-width: 380px;
    }
}

.sh-contact-hotline {
    padding: 1.25rem 1.35rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 16px 42px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.sh-contact-hotline__eyebrow {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(226, 234, 248, 0.65);
}

.sh-contact-hotline a {
    display: inline-block;
    font-size: clamp(1.45rem, 3.75vw, 1.875rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff !important;
    text-decoration: none;
    font-variant-numeric: tabular-nums;
}

.sh-contact-hotline a:hover {
    color: rgba(19, 197, 221, 0.95) !important;
}

.sh-contact-hotline__footnote {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.8375rem;
    line-height: 1.5;
    color: rgba(220, 230, 246, 0.78);
}

.sh-contact-route {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1rem;
    max-width: 820px;
    margin: 1.75rem auto 0;
    padding: 0.875rem 1.25rem;
    border-radius: 999px;
    background: rgba(253, 254, 255, 0.97);
    border: 1px solid rgba(29, 42, 77, 0.08);
    box-shadow:
        0 1px 2px rgba(29, 42, 77, 0.04),
        0 18px 44px rgba(29, 42, 77, 0.1);
}

@media (max-width: 767.98px) {
    .sh-contact-route {
        border-radius: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .sh-contact-route span[aria-hidden="true"] {
        display: none;
    }
}

.sh-contact-route__step {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #394355;
}

.sh-contact-route__step strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    font-size: 0.78125rem;
    font-weight: 800;
    color: var(--dark);
    background: linear-gradient(145deg, rgba(19, 197, 221, 0.32), rgba(53, 79, 142, 0.15));
}

.sh-contact-route span[aria-hidden="true"] {
    color: #b0bac9;
}

.sh-contact-split {
    position: relative;
    margin-top: -2.125rem;
    padding: 2.85rem 0 3rem;
}

.sh-contact-split__title {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.sh-contact-split__lead {
    max-width: 32rem;
    line-height: 1.62;
    color: #556273;
}

@media (min-width: 992px) {
    .sh-contact-split {
        padding: 3.25rem 0 3.5rem;
        margin-top: -2.5rem;
    }
}

.sh-contact-shard-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sh-contact-shard {
    position: relative;
    padding: 1.375rem 1.25rem 1.375rem 1.65rem;
    background-color: #ffffff;
    border: 1px solid #dce3ec;
    border-radius: 0.45rem 0.65rem 1.1rem 0.35rem;
    box-shadow:
        0 1px 3px rgba(29, 42, 77, 0.04),
        0 14px 34px rgba(29, 42, 77, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

@media (prefers-reduced-motion: reduce) {
    .sh-contact-shard {
        transition: none;
    }

    .sh-contact-shard:hover {
        transform: none;
    }
}

.sh-contact-shard:hover {
    border-color: #bfcadb;
    box-shadow:
        0 4px 10px rgba(29, 42, 77, 0.05),
        0 22px 44px rgba(29, 42, 77, 0.1);
    transform: translateY(-2px);
}

.sh-contact-shard::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    bottom: 1rem;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.sh-contact-shard--accent::before {
    background: linear-gradient(180deg, #354f8e, var(--dark));
}

.sh-contact-shard--critical::before {
    background: linear-gradient(180deg, #cf3c3f, #8b2325);
}

.sh-contact-shard__label {
    margin: 0 0 0.28rem;
    font-size: 0.73125rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #6f7d92;
}

.sh-contact-shard__body {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #3f4b5c;
}

.sh-contact-shard__body strong {
    color: var(--dark);
}

.sh-contact-shard__body a {
    color: var(--secondary);
}

.sh-contact-shard__body a:hover {
    color: var(--primary);
}

.sh-contact-aside-note {
    margin-top: 0.75rem;
    padding: 0.95rem 1.1rem;
    font-size: 0.87rem;
    line-height: 1.52;
    color: #596276;
    background: rgba(255, 255, 255, 0.8);
    border: 1px dashed #cdd6e3;
    border-radius: 0.45rem;
}

.sh-contact-aside-note strong {
    color: var(--dark);
}

.sh-contact-form-panel {
    position: relative;
    height: 100%;
    padding: clamp(1.85rem, 4.25vw, 2.6rem);
    border: 1px solid #dce3ec;
    border-radius: 0.4375rem;
    background-color: #ffffff;
    box-shadow:
        0 1px 2px rgba(29, 42, 77, 0.04),
        0 24px 54px rgba(29, 42, 77, 0.1);
}

.sh-contact-form-panel::before {
    content: "";
    position: absolute;
    top: 0;
    right: 13%;
    width: clamp(72px, 18vw, 104px);
    height: clamp(72px, 18vw, 104px);
    border-radius: 1.125rem;
    background: linear-gradient(145deg, rgba(19, 197, 221, 0.16), rgba(53, 79, 142, 0.12));
    transform: rotate(14deg);
    z-index: 0;
}

.sh-contact-form-panel > .sh-contact-form-head,
.sh-contact-form-panel > form {
    position: relative;
    z-index: 1;
}

.sh-contact-form-head {
    padding-bottom: 1.125rem;
    margin-bottom: 1.375rem;
    border-bottom: 1px solid #e9eef5;
}

.sh-contact-form__title {
    margin: 0 0 0.45rem;
    font-size: 1.3875rem;
    font-weight: 700;
    color: var(--dark);
}

.sh-contact-form__sub {
    margin: 0;
    font-size: 0.9575rem;
    line-height: 1.55;
    color: #5f6d82;
}

.sh-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.8rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.035em;
    color: #ffffff;
    border: none;
    border-radius: 0.3125rem;
    background-color: var(--dark);
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
    .sh-contact-submit:hover {
        transform: none;
    }
}

.sh-contact-submit:hover {
    background-color: #152140;
    transform: translateY(-1px);
}

.sh-contact-submit:focus-visible {
    outline: 2px solid rgba(53, 79, 142, 0.45);
    outline-offset: 2px;
}

.sh-contact-map-section {
    padding: 2rem 0 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f2f6fa 72%, #ffffff 100%);
    border-top: 1px solid #e9eef5;
}

.sh-contact-map-section .core-spec-intro-block {
    max-width: 640px;
    text-align: left;
}

.sh-contact-map-section .core-spec-lead {
    margin-left: 0;
    margin-right: 0;
}

@media (min-width: 992px) {
    .sh-contact-map-section .core-spec-intro-block {
        padding-right: 1rem;
    }
}

.sh-contact-map-frame {
    position: relative;
    height: clamp(340px, 52vh, 500px);
    border-radius: 0.5625rem;
    overflow: hidden;
    border: 1px solid #d4dde8;
    box-shadow:
        0 1px 4px rgba(29, 42, 77, 0.05),
        0 20px 48px rgba(29, 42, 77, 0.1);
}

.sh-contact-map-frame iframe {
    filter: saturate(1.06) contrast(1.03);
}

.sh-contact-map-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    justify-content: space-between;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    font-size: 0.8925rem;
    color: #556273;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e5ebf3;
    border-radius: 0.375rem;
}

.sh-contact-map-foot a {
    font-weight: 600;
}

.core-spec-btn:hover i {
    transform: translateX(4px);
}

@media (max-width: 575.98px) {
    .core-spec-head {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .core-spec-head-copy {
        text-align: center;
    }
}

/******* Home — Orthopaedic services (alternate layout; index.html) *******/
.ortho-svc-section {
    background: linear-gradient(
        160deg,
        #ffffff 0%,
        #f7fbfc 22%,
        #eef6f9 52%,
        #ffffff 100%
    );
    border-top: 1px solid rgba(29, 42, 77, 0.06);
    border-bottom: 1px solid rgba(29, 42, 77, 0.06);
}

.ortho-svc-header {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    max-width: 1080px;
}

@media (min-width: 992px) {
    .ortho-svc-header {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
        gap: 2rem;
        max-width: none;
    }
}

.ortho-svc-intro {
    flex: 1;
    min-width: 0;
    max-width: 640px;
}

@media (min-width: 992px) {
    .ortho-svc-intro {
        max-width: none;
        padding-right: 1rem;
    }
}

.ortho-svc-pill {
    display: inline-block;
    padding: 0.4rem 0.95rem;
    margin-bottom: 0.875rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--dark);
    background: rgba(53, 79, 142, 0.12);
}

.ortho-svc-title {
    margin: 0 0 1rem;
    font-size: clamp(1.9rem, 4.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: var(--dark);
}

.ortho-svc-lead {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.74;
    color: #46556b;
    max-width: 52rem;
}

.ortho-svc-stat-card {
    flex-shrink: 0;
    align-self: flex-start;
    width: 100%;
    max-width: 280px;
    padding: 1.375rem 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(145deg, var(--dark) 0%, #243358 96%);
    color: #e8eef6;
    box-shadow:
        0 16px 36px rgba(29, 42, 77, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 991.98px) {
    .ortho-svc-stat-card {
        max-width: none;
        width: 100%;
    }
}

.ortho-stat-num {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 1.0625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary);
}

.ortho-stat-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.ortho-stat-note {
    display: block;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.76);
}

.ortho-stat-note strong {
    color: #ffffff;
}

.ortho-svc-board {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
    .ortho-svc-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.125rem 1.375rem;
    }
}

.ortho-svc-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 1.125rem;
    background: #ffffff;
    border: 1px solid rgba(29, 42, 77, 0.08);
    box-shadow:
        0 1px 2px rgba(29, 42, 77, 0.04),
        0 12px 34px rgba(29, 42, 77, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

@media (min-width: 992px) {
    .ortho-svc-panel {
        flex-direction: row;
        align-items: stretch;
    }
}

.ortho-svc-panel:hover {
    transform: translateY(-5px);
    border-color: rgba(19, 197, 221, 0.28);
    box-shadow:
        0 14px 32px rgba(29, 42, 77, 0.1),
        0 26px 50px rgba(19, 197, 221, 0.1);
}

.ortho-svc-bar {
    flex-shrink: 0;
    width: 100%;
    height: 7px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
}

@media (min-width: 992px) {
    .ortho-svc-bar {
        width: 10px;
        height: auto;
        min-height: 100%;
        background: linear-gradient(180deg, var(--secondary), var(--primary));
    }
}

.ortho-svc-main {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem 1.25rem;
    padding: 1.375rem 1.375rem 1.5rem 1.375rem;
    align-items: start;
}

@media (min-width: 576px) {
    .ortho-svc-main {
        padding: 1.625rem 1.75rem 1.6875rem 1.75rem;
        gap: 1.1875rem 1.4375rem;
    }
}

.ortho-svc-icon {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.875rem;
    font-size: 1.3825rem;
    color: #ffffff;
    background: linear-gradient(145deg, #0fb6cc, var(--primary));
    box-shadow: 0 10px 18px rgba(19, 197, 221, 0.32);
}

.ortho-svc-copy-wrap {
    position: relative;
    min-width: 0;
}

.ortho-svc-num {
    display: none;
}

@media (min-width: 576px) {
    .ortho-svc-num {
        display: block;
        position: absolute;
        right: -0.25rem;
        top: -1.0625rem;
        font-size: 3rem;
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.06em;
        color: rgba(19, 197, 221, 0.1);
        user-select: none;
        pointer-events: none;
    }

    .ortho-svc-copy {
        padding-right: 4.25rem;
    }
}

@media (min-width: 992px) {
    .ortho-svc-num {
        font-size: 3.25rem;
    }
}

.ortho-svc-item-title {
    margin: 0 0 0.55rem;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.34;
    color: var(--dark);
}

@media (min-width: 992px) {
    .ortho-svc-item-title {
        font-size: 1.35rem;
    }
}

.ortho-svc-copy p {
    margin: 0;
    font-size: 0.9325rem;
    line-height: 1.62;
    color: #3d5066;
}

@media (min-width: 992px) {
    .ortho-svc-copy p {
        font-size: 0.9575rem;
    }
}

.ortho-svc-footer {
    padding-bottom: 0.125rem;
}

.ortho-svc-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9625rem 1.675rem;
    border-radius: 999px;
    font-size: 1.0425rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--dark);
    background: #ffffff;
    border: 2px solid rgba(53, 79, 142, 0.28);
    box-shadow: 0 6px 18px rgba(29, 42, 77, 0.07);
    transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.ortho-svc-outline-btn:hover {
    color: #ffffff;
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    border-color: transparent;
    box-shadow: 0 14px 32px rgba(19, 197, 221, 0.3);
    transform: translateY(-2px);
}

.ortho-svc-outline-btn:hover .ortho-svc-outline-icon {
    transform: translateX(6px);
}

.ortho-svc-outline-icon {
    transition: transform 0.2s ease;
    font-size: 0.9rem;
}

@media (max-width: 575.98px) {
    .ortho-svc-main {
        grid-template-columns: auto 1fr;
    }

    .ortho-svc-item-title {
        font-size: 1.2375rem;
    }

    .ortho-svc-copy p {
        font-size: 0.8825rem;
        line-height: 1.58;
    }
}

/******* Appointment — official neutral layout (sh-appt-*; multipage) *******/
.sh-appt-section {
    background-color: #f2f5f9;
    border-top: 1px solid #e4e9f0;
    border-bottom: 1px solid #e4e9f0;
}

.sh-appt-overline {
    display: inline-block;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4a5970;
    padding-bottom: 0.45rem;
    border-bottom: 2px solid #c9d6e8;
}

.sh-appt-quick,
.sh-appt-quick.small {
    font-size: 1rem !important;
    line-height: 1.5;
    color: #3d4a61 !important;
}

.sh-appt-quick dt.fw-semibold {
    min-width: 3.75rem;
    font-size: 1rem;
    color: var(--dark);
}

.sh-appt-quick dt {
    margin: 0;
}

.sh-appt-quick dd {
    margin: 0;
    font-size: inherit;
    color: var(--dark);
}

.sh-appt-quick .sh-appt-quick-hours-detail {
    font-size: 0.8125rem !important;
    line-height: 1.45;
    color: #4d5970 !important;
}

.sh-appt-quick dd a:hover {
    text-decoration: underline !important;
}

.sh-appt-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3.75vw, 2.4375rem);
    font-weight: 700;
    line-height: 1.28;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.sh-appt-lead {
    font-size: 1.0625rem;
    line-height: 1.68;
    color: #454f63;
}

.sh-appt-meta {
    margin: 0;
    font-size: 1rem;
    line-height: 1.62;
    color: #596276;
}

.sh-appt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
    background-color: #ffffff;
    border: 1px solid #b8c4d9;
    border-radius: 0.25rem;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.sh-appt-btn:focus-visible {
    outline: 2px solid rgba(53, 79, 142, 0.45);
    outline-offset: 2px;
}

.sh-appt-btn:hover {
    border-color: #8a99b3;
    background-color: #fafcff;
    color: var(--dark);
}

.sh-appt-btn--primary {
    color: #ffffff;
    background-color: var(--dark);
    border-color: var(--dark);
}

.sh-appt-btn--primary:hover {
    color: #ffffff;
    background-color: #152140;
    border-color: #152140;
}

.sh-appt-btn--outline {
    background-color: transparent;
}

.sh-appt-panel {
    background-color: #ffffff;
    border: 1px solid #dde4ee;
    border-radius: 0.375rem;
    box-shadow: 0 8px 24px rgba(29, 42, 77, 0.06);
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3.5vw, 2.25rem);
}

.sh-appt-panel__head {
    border-color: #e8edf4 !important;
}

.sh-appt-panel__title {
    margin: 0;
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--dark);
}

.sh-appt-panel__sub {
    font-size: 0.9375rem;
    color: #5c6980 !important;
    line-height: 1.52;
}

.sh-appt-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #394355;
}

.sh-appt-label span {
    color: #8794a9;
}

.sh-appt-control,
.sh-appt-control.form-select {
    min-height: 3rem;
    border-radius: 0.3125rem !important;
    border: 1px solid #cdd6e3 !important;
    background-color: #ffffff !important;
    padding: 0.55rem 0.8125rem !important;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #273043;
}

.sh-appt-control::placeholder {
    color: #8b97a9;
}

.sh-appt-control:focus,
.sh-appt-control.form-select:focus {
    border-color: #8494aa !important;
    box-shadow: 0 0 0 0.15rem rgba(53, 79, 142, 0.12) !important;
    outline: none;
}

.sh-appt-dt.position-relative {
    position: relative;
}

.sh-appt-submit {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: 0.025em;
    background-color: var(--dark);
    border: 1px solid var(--dark);
    border-radius: 0.3125rem;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.sh-appt-submit:hover {
    color: #ffffff;
    background-color: #152140;
    border-color: #152140;
}

.sh-appt-submit:focus-visible {
    outline: 2px solid rgba(53, 79, 142, 0.45);
    outline-offset: 2px;
}

.sh-appt-footnote {
    font-size: 0.8125rem;
    color: #6d7a91;
    line-height: 1.5;
}

/******* Homepage — mobile typography & alignment (index.html; ≤991px) *******/
@media (max-width: 991.98px) {
    .page-home-main .hero-header {
        margin-bottom: 2.25rem;
    }

    .page-home-main .hero-header .hero-header-actions {
        justify-content: center;
        width: 100%;
        max-width: 100%;
    }

    /* Tighter rhythm than global .py-5 */
    .page-home-main .about-mod.py-5,
    .page-home-main .why-v2.py-5,
    .page-home-main .core-spec.py-5,
    .page-home-main .ortho-svc-section.py-5,
    .page-home-main .sh-appt-section.py-5,
    .page-home-main .sh-pkg-section.py-5,
    .page-home-main .page-home-team,
    .page-home-main .page-home-testimonials,
    .page-home-main .sh-blog-section.py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* ---------- About ---------- */
    .page-home-main .about-mod .row.align-items-center {
        justify-content: center;
        --bs-gutter-y: 2rem;
    }

    .page-home-main .about-mod-kicker,
    .page-home-main .about-mod-title {
        text-align: center;
    }

    .page-home-main .about-mod .about-mod-title {
        font-size: clamp(1.32rem, 5vw, 1.82rem);
    }

    .page-home-main .about-mod .about-mod-lead {
        font-size: 1rem;
        line-height: 1.65;
        margin-left: auto;
        margin-right: auto;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-home-main .about-mod-chips {
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .page-home-main .about-mod-chips::-webkit-scrollbar {
        display: none;
    }

    .page-home-main .about-mod-chips .about-mod-chip {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.57125rem !important;
        padding: 0.38rem 0.42rem !important;
        letter-spacing: 0.03em !important;
        text-align: center;
        line-height: 1.22;
        white-space: normal;
    }

    .page-home-main .about-mod-actions {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        margin-top: 0.35rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 100%;
        width: 100%;
        padding-inline: 0;
    }

    .page-home-main .about-mod-actions .btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        max-width: none;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        padding: 0.7rem 0.48rem !important;
        font-size: clamp(0.68rem, 2.6vw, 0.8125rem) !important;
        line-height: 1.25 !important;
        white-space: normal;
    }

    .page-home-main .about-mod-frame {
        padding: 0.6rem;
    }

    .page-home-main .about-mod-points {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }

    .page-home-main .about-mod-point {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.1rem 0.95rem;
    }

    .page-home-main .about-mod-point .about-mod-point-icon {
        margin-bottom: 0.65rem;
    }

    /* Four feature tiles: 2 per row — tighten type & icon on narrow widths */
    .page-home-main .about-mod-points .about-mod-point {
        padding: 0.82rem 0.48rem !important;
    }

    .page-home-main .about-mod-points .about-mod-point h6 {
        font-size: 0.78rem !important;
        line-height: 1.22;
        margin-bottom: 0.35rem !important;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-home-main .about-mod-points .about-mod-point .small.text-secondary {
        font-size: 0.6825rem !important;
        line-height: 1.32;
    }

    .page-home-main .about-mod-points .about-mod-point-icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 0.45rem !important;
    }

    .page-home-main .about-mod-points .about-mod-point-icon i {
        font-size: 1rem !important;
    }

    /* ---------- Why choose us ---------- */
    .page-home-main .why-v2-header {
        margin-bottom: 2rem !important;
        padding-inline: 0.25rem;
    }

    .page-home-main .why-v2-title {
        font-size: clamp(1.42rem, 5.2vw, 2rem);
    }

    .page-home-main .why-v2-intro {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .page-home-main .why-v2-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.3rem 1.1rem;
    }

    .page-home-main .why-v2-icon {
        margin-bottom: 0.875rem;
        width: 3.75rem;
        height: 3.75rem;
        font-size: 1.45rem;
    }

    .page-home-main .why-v2-card-title {
        font-size: 1.06rem;
    }

    .page-home-main .why-v2-card-text {
        font-size: 0.9rem !important;
    }

    /* ---------- Core specialties ---------- */
    .page-home-main .core-spec-intro-block.mb-5 {
        margin-bottom: 2rem !important;
        padding-inline: 0.35rem;
    }

    .page-home-main .core-spec-heading {
        font-size: clamp(1.38rem, 5.1vw, 2rem) !important;
    }

    .page-home-main .core-spec-lead {
        font-size: 1rem !important;
        line-height: 1.64;
        padding-inline: 0.12rem;
    }

    .page-home-main .core-spec-card {
        padding: 1.35rem 1.2rem;
        border-radius: 1rem;
    }

    .page-home-main .core-spec-desc {
        font-size: 0.98rem !important;
        line-height: 1.64;
        text-align: center;
    }

    .page-home-main .core-spec-tags-label {
        text-align: center;
        width: 100%;
    }

    .page-home-main .core-spec-tags {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem 0.52rem;
        margin-bottom: 1.375rem;
    }

    .page-home-main .core-spec-tags .core-spec-tag {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-width: 0;
        padding: 0.38rem 0.42rem !important;
        font-size: 0.745rem !important;
        font-weight: 600;
        line-height: 1.28;
        white-space: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-home-main .core-spec-btn {
        font-size: 0.9rem !important;
        padding: 0.75rem 1.1rem;
    }

    /* ---------- Ortho services ---------- */
    .page-home-main .ortho-svc-section .ortho-svc-header {
        align-items: center;
        text-align: center;
        gap: 1.2rem;
    }

    .page-home-main .ortho-svc-intro {
        text-align: center;
        max-width: none;
        margin-inline: auto;
        padding-inline: 0.25rem;
        padding-right: 0 !important;
    }

    .page-home-main .ortho-svc-title {
        font-size: clamp(1.35rem, 5vw, 1.92rem);
    }

    .page-home-main .ortho-svc-lead {
        font-size: 1rem !important;
        line-height: 1.64;
    }

    .page-home-main .ortho-svc-stat-card {
        text-align: center;
        align-self: center !important;
        margin-inline: auto;
        max-width: min(26rem, 100%);
        padding: 1.35rem 1.35rem;
    }

    .page-home-main .ortho-stat-label {
        font-size: 0.95rem;
    }

    .page-home-main .ortho-svc-outline-btn {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-home-main .ortho-svc-footer {
        margin-top: 2rem !important;
        padding-top: 0.25rem !important;
    }

    /* ---------- Appointment (mobile) ---------- */
    .page-home-main .sh-appt-section > .container {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .page-home-main .sh-appt-aside {
        text-align: left;
        align-items: stretch !important;
    }

    .page-home-main .sh-appt-aside .sh-appt-overline {
        text-align: center;
    }

    .page-home-main .sh-appt-aside .sh-appt-title {
        text-align: center;
    }

    .page-home-main .sh-appt-section .sh-appt-title {
        font-size: clamp(1.3rem, 5.1vw, 1.95rem) !important;
        line-height: 1.28;
        margin-bottom: 0.75rem !important;
    }

    .page-home-main .sh-appt-lead,
    .page-home-main .sh-appt-meta {
        font-size: 0.9425rem !important;
        line-height: 1.62;
        max-width: none;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-home-main .sh-appt-lead.mb-4 {
        margin-bottom: 0.85rem !important;
    }

    .page-home-main .sh-appt-meta.mb-4 {
        margin-bottom: 1rem !important;
    }

    .page-home-main .sh-appt-quick {
        max-width: none;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 0.25rem !important;
        text-align: left;
        font-size: 0.875rem !important;
        padding: 0.875rem 1rem;
        background: #ffffff;
        border: 1px solid #dde4ee;
        border-radius: 0.4rem;
        box-shadow: 0 4px 14px rgba(29, 42, 77, 0.055);
    }

    .page-home-main .sh-appt-quick .d-flex {
        flex-direction: row !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 0.5rem !important;
        margin-bottom: 0.6rem !important;
        text-align: left;
    }

    .page-home-main .sh-appt-quick .d-flex:last-child {
        margin-bottom: 0 !important;
    }

    .page-home-main .sh-appt-quick dt {
        flex-shrink: 0;
        min-width: 3.1rem;
        margin-bottom: 0 !important;
    }

    .page-home-main .sh-appt-quick dd {
        text-align: left;
        flex: 1;
        min-width: 0;
    }

    .page-home-main .sh-appt-quick dt.me-2 {
        margin-right: 0 !important;
    }

    .page-home-main .sh-appt-aside-actions {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        padding-top: 0.7rem !important;
        margin-top: 0.15rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100%;
        width: 100%;
    }

    .page-home-main .sh-appt-aside-actions .sh-appt-btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        min-height: 2.65rem;
        padding: 0.58rem 0.42rem !important;
        font-size: clamp(0.68rem, 2.4vw, 0.7825rem) !important;
        line-height: 1.22 !important;
        white-space: normal;
        text-align: center;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .page-home-main .sh-appt-panel {
        padding: 1.2rem 1rem !important;
        margin-top: 1rem;
    }

    .page-home-main .sh-appt-panel__head {
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
        text-align: left;
    }

    .page-home-main .sh-appt-panel__title {
        font-size: 1.14rem !important;
        line-height: 1.28;
    }

    .page-home-main .sh-appt-panel__sub {
        font-size: 0.84rem !important;
        line-height: 1.5;
    }

    .page-home-main .sh-appt-panel .sh-appt-footnote {
        text-align: left !important;
        font-size: 0.775rem !important;
        line-height: 1.45 !important;
    }

    /* ---------- Treatment packages intro ---------- */
    .page-home-main .sh-pkg-section .sh-appt-title {
        font-size: clamp(1.35rem, 5vw, 1.95rem) !important;
    }

    .page-home-main .sh-pkg-section .text-center.mb-4 {
        margin-bottom: 1.75rem !important;
    }

    .page-home-main .sh-pkg-intro {
        font-size: 0.98rem !important;
        line-height: 1.62;
        padding-inline: 0.35rem;
    }

    /* ---------- Team ---------- */
    .page-home-main .page-home-team h1.display-4 {
        font-size: clamp(1.38rem, 5.3vw, 2rem) !important;
        line-height: 1.2;
        font-weight: 800 !important;
    }

    .page-home-main .page-home-team .text-center.mx-auto.mb-5 {
        margin-bottom: 2rem !important;
    }

    .page-home-main .team-item .team-home-card-copy {
        text-align: center;
        padding-top: 1.75rem !important;
    }

    .page-home-main .team-item .col-12.col-sm-7 h3 {
        font-size: 1.25rem;
    }

    .page-home-main .team-item .col-12.col-sm-7 p {
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: justify;
        text-align-last: center;
    }

    .page-home-main .team-item .d-flex.mt-auto.border-top.p-4 {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    /* ---------- Testimonials ---------- */
    .page-home-main .page-home-testimonials h2.display-4 {
        font-size: clamp(1.38rem, 5.3vw, 2rem) !important;
        line-height: 1.2;
        font-weight: 800 !important;
    }

    .page-home-main .page-home-testimonials .text-center.mx-auto.mb-5 {
        margin-bottom: 2rem !important;
    }

    .page-home-main .page-home-testimonials .testimonial-item .fs-4 {
        font-size: 1.05rem !important;
        line-height: 1.65;
        font-weight: 400 !important;
        padding-inline: 0.25rem;
    }

    .page-home-main .page-home-testimonials .testimonial-item h3 {
        font-size: 1.15rem;
    }

    /* ---------- Blog ---------- */
    .page-home-main .sh-blog-section .sh-appt-title {
        font-size: clamp(1.35rem, 5vw, 1.95rem) !important;
    }

    .page-home-main .sh-blog-card__title {
        font-size: 1.08rem !important;
        line-height: 1.35;
    }

    .page-home-main .sh-blog-card__excerpt {
        font-size: 0.9rem !important;
    }
}

/******* About page — Senior Leadership card bios (justify; all breakpoints) *******/
.page-about-main .page-about-leaders p.text-secondary {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
}

/******* About page — mobile polish (about.html; ≤991px) *******/
@media (max-width: 991.98px) {
    .page-about-main .about-mod.py-5,
    .page-about-main .sh-mission-section.py-5,
    .page-about-main .why-v2.py-5,
    .page-about-main .page-about-leaders {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }

    /* ----- Intro block ----- */
    .page-about-main .about-mod .row.align-items-center {
        justify-content: center;
        --bs-gutter-y: 2rem;
    }

    .page-about-main .about-mod-kicker,
    .page-about-main .about-mod-title {
        text-align: center;
    }

    .page-about-main .about-mod .about-mod-title {
        font-size: clamp(1.32rem, 5vw, 1.82rem);
    }

    .page-about-main .about-mod .about-mod-lead {
        font-size: 1rem;
        line-height: 1.65;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-about-main .about-mod-chips {
        flex-wrap: nowrap !important;
        gap: 0.35rem !important;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 2px;
    }

    .page-about-main .about-mod-chips::-webkit-scrollbar {
        display: none;
    }

    .page-about-main .about-mod-chips .about-mod-chip {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.57125rem !important;
        padding: 0.38rem 0.42rem !important;
        letter-spacing: 0.03em !important;
        text-align: center;
        line-height: 1.22;
        white-space: normal;
    }

    .page-about-main .about-mod-actions {
        flex-wrap: nowrap !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        width: 100%;
        justify-content: center !important;
    }

    .page-about-main .about-mod-actions .btn {
        flex: 1 1 0;
        min-width: 0;
        width: auto !important;
        padding: 0.7rem 0.48rem !important;
        font-size: clamp(0.68rem, 2.6vw, 0.8125rem) !important;
        line-height: 1.25 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        white-space: normal;
    }

    .page-about-main .about-mod-frame {
        padding: 0.6rem;
    }

    .page-about-main .about-mod-points {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }

    .page-about-main .about-mod-point {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-about-main .about-mod-points .about-mod-point {
        padding: 0.82rem 0.48rem !important;
    }

    .page-about-main .about-mod-points .about-mod-point h6 {
        font-size: 0.78rem !important;
        line-height: 1.22;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-about-main .about-mod-points .about-mod-point .small.text-secondary {
        font-size: 0.6825rem !important;
        line-height: 1.32;
    }

    .page-about-main .about-mod-points .about-mod-point-icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 0.45rem !important;
    }

    .page-about-main .about-mod-points .about-mod-point-icon i {
        font-size: 1rem !important;
    }

    /* ----- Mission & vision ----- */
    .page-about-main .sh-mission-header {
        padding-inline: 0.35rem;
        margin-bottom: 2rem !important;
    }

    .page-about-main .sh-mission-section .sh-appt-title {
        font-size: clamp(1.32rem, 5vw, 1.92rem) !important;
        line-height: 1.25 !important;
    }

    .page-about-main .sh-mission-section .sh-pkg-intro {
        font-size: 0.98rem !important;
        line-height: 1.62;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .page-about-main .sh-mission-panel {
        padding: 1.2rem 1.15rem !important;
    }

    .page-about-main .sh-mission-panel__title {
        font-size: 1.1rem !important;
    }

    .page-about-main .sh-mission-panel__text {
        font-size: 0.9425rem !important;
        line-height: 1.6;
        text-align: justify;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    /* ----- Why choose us ----- */
    .page-about-main .why-v2-header {
        margin-bottom: 2rem !important;
        padding-inline: 0.25rem;
    }

    .page-about-main .why-v2-title {
        font-size: clamp(1.42rem, 5.2vw, 2rem);
    }

    .page-about-main .why-v2-intro {
        font-size: 0.98rem;
        line-height: 1.65;
        padding-inline: 0.2rem;
    }

    .page-about-main .why-v2-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 1.3rem 1.1rem;
    }

    .page-about-main .why-v2-icon {
        margin-bottom: 0.875rem;
        width: 3.75rem;
        height: 3.75rem;
        font-size: 1.45rem;
    }

    .page-about-main .why-v2-card-title {
        font-size: 1.06rem;
        text-align: center;
    }

    .page-about-main .why-v2-card-text {
        font-size: 0.9rem !important;
        line-height: 1.58;
        text-align: center;
    }

    /* ----- Leadership ----- */
    .page-about-main .page-about-leaders h2.display-4 {
        font-size: clamp(1.35rem, 5.1vw, 1.95rem) !important;
        font-weight: 800 !important;
        line-height: 1.2;
    }

    .page-about-main .page-about-leaders .text-center.mx-auto.mb-5 {
        margin-bottom: 2rem !important;
        padding-inline: 0.25rem;
    }

    .page-about-main .page-about-leaders .row.g-5 {
        --bs-gutter-y: 1.75rem !important;
    }

    .page-about-main .page-about-leaders .col-md-7.p-4,
    .page-about-main .page-about-leaders .col-md-7.p-lg-5 {
        padding: 1.15rem !important;
    }

    .page-about-main .page-about-leaders h3.h4 {
        font-size: 1.12rem !important;
        line-height: 1.3;
    }

    .page-about-main .page-about-leaders p.text-secondary {
        font-size: 0.92rem !important;
        line-height: 1.6;
    }

    .page-about-main .page-about-leaders .btn.rounded-pill {
        width: 100%;
        font-size: 0.8875rem;
        padding-top: 0.6rem !important;
        padding-bottom: 0.6rem !important;
    }

    .page-about-main .page-about-leaders .col-md-5 img {
        min-height: 200px;
        max-height: 260px;
        object-fit: cover;
    }
}

/******* Footer legal strip (copyright / credits) — mobile *******/
@media (max-width: 767.98px) {
    .container-fluid.bg-dark.text-light.border-top.border-secondary.py-4 .row.g-5 {
        --bs-gutter-y: 0.5rem !important;
    }

    .container-fluid.bg-dark.text-light.border-top.border-secondary.py-4 {
        padding-top: 1rem !important;
        padding-bottom: max(1rem, env(safe-area-inset-bottom, 0px)) !important;
    }

    .container-fluid.bg-dark.text-light.border-top.border-secondary.py-4 .sh-footer-cr {
        font-size: 0.8125rem;
        line-height: 1.42;
    }

    .container-fluid.bg-dark.text-light.border-top.border-secondary.py-4 .col-md-6:first-child .sh-footer-cr {
        max-width: 15.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .container-fluid.bg-dark.text-light.border-top.border-secondary.py-4 .col-md-6:last-child .sh-footer-cr {
        max-width: 17.5rem;
        margin-left: auto;
        margin-right: auto;
    }

    .container-fluid.bg-dark.text-light.border-top.border-secondary.py-4 .col-md-6 {
        padding-inline: 0.875rem;
    }
}

/****** Page: gallery ***/
.page-gallery-main .sh-gallery-trigger {
    cursor: zoom-in;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

@media (pointer: fine) {
    .page-gallery-main .sh-gallery-trigger:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(29, 42, 77, 0.18) !important;
    }
}

.page-gallery-main .sh-gallery-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-modal-photo {
    max-height: 82vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.page-gallery-main .sh-gallery-callout {
    border-color: rgba(19, 197, 221, 0.25);
    min-height: 100%;
}

/* FAQ page */
.sh-faq-category {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}

.sh-faq-accordion .accordion-item {
    border: 1px solid rgba(29, 42, 77, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 8px rgba(29, 42, 77, 0.04);
}

.sh-faq-accordion .accordion-button {
    font-weight: 600;
    color: var(--dark);
    background-color: #fff;
    padding: 1rem 1.25rem;
    box-shadow: none;
}

.sh-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--secondary);
    background-color: var(--light);
}

.sh-faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(19, 197, 221, 0.35);
}

.sh-faq-accordion .accordion-body {
    color: #5a6478;
    line-height: 1.65;
    padding: 1rem 1.25rem 1.25rem;
}

.sh-faq-accordion .accordion-body a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.sh-faq-accordion .accordion-body a:hover {
    text-decoration: underline;
}

.sh-faq-cta .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.sh-faq-cta .btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
}

