/* ==========================================================================
   Optimist Dental Clinic — Design Tokens & Accessibility Overrides
   Guided by Optimist Dental Logo (#374557 Deep Slate, #0092df/#35c7fc Cyan)
   Typography: Bree Serif (Headings) + Merriweather (Body)
   Layout & Structure: Smilora Design System
   ========================================================================== */

:root {
    --primary--color: #006da8;         /* Accessible brand blue from logo (5.4:1 on #fff) */
    --secondary--color: #ffffff;
    --accent--color: #35c7fc;          /* Logo cyan accent */
    --text--color: #4a5568;            /* Accessible body text */
    --border--color: #d6e6f2;          /* Soft sky border */
    --bg--color: #f0f7fc;              /* Soft sky surface */
    --black--color: #0f172a;
    --black--family--color: #1e293b;   /* Heading dark slate */
    --black--family--color2: #243447;  /* Footer / dark banner slate */
    --lavender--color: #35c7fc;        /* Accent highlight */
    --lavender--color2: #e3f2fd;       /* Light sky tint */
    --lavender--color3: #94a3b8;       /* Muted slate */
}

body {
    font-family: "Inter", sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.urbanist-font,
.special-heading4 {
    font-family: "Urbanist", sans-serif !important;
}

/* Smilora Split Hero: Left panel = light sky, Right panel = crisp clinic photo */
.banner-con {
    background-image: none !important;
    background-color: transparent !important;
}

.banner-con::before {
    background-image: url('/assets/images/clinic/hero-clinic.webp') !important;
    background-position: center top !important;
    background-size: cover !important;
}

@media (min-width: 1200px) {
    .banner-con .banner-left-con,
    .banner-con::before,
    .banner-con::after {
        height: 700px !important;
    }

    .banner-left-con .inner-con1 {
        padding-top: 48px !important;
    }
}

.banner-con .banner-left-con span.service-available-text {
    width: auto !important;
    max-width: 100%;
    padding: 8px 22px 8px 36px !important;
    display: inline-block !important;
    white-space: normal !important;
    line-height: 1.4;
}

/* Ensure Smilora dark-blue sections use Optimist Deep Slate Navy */
.bg-blue,
.topbar-con,
.footer-con {
    background-color: var(--black--family--color2) !important;
}

.book-appointment-con {
    background-color: var(--black--family--color2) !important;
}

.header-con {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
}

.header-con .navbar-brand img {
    max-height: 54px;
    width: auto;
}

/* Skip to content link (WCAG 2.4.1) */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    background: var(--primary--color);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
    font-family: "Urbanist", sans-serif;
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
    color: #ffffff;
    outline: 3px solid var(--accent--color);
    outline-offset: 2px;
}

/* Restore visible keyboard focus indicator (Fixes Audit F20) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary--color) !important;
    outline-offset: 2px !important;
}

.bg-blue a:focus-visible,
.footer-con a:focus-visible,
.topbar-con a:focus-visible,
.book-appointment-con input:focus-visible,
.book-appointment-con select:focus-visible {
    outline: 3px solid var(--accent--color) !important;
    outline-offset: 2px !important;
}

/* Sub-banner: quiet solid deep slate (Unslop: no multi-hue gradients) */
.sub-banner-con.clinic-sub-banner {
    background: #243447 !important;
    color: #ffffff;
    padding: 64px 30px;
}

.sub-banner-con.clinic-sub-banner::before,
.sub-banner-con.clinic-sub-banner::after {
    display: none !important;
}

.sub-banner-con.clinic-sub-banner h1,
.sub-banner-con.clinic-sub-banner p {
    color: #ffffff !important;
}

.sub-banner-con.clinic-sub-banner .breadcrumb {
    background: rgba(255, 255, 255, 0.10) !important;
    border: 1px solid rgba(255, 255, 255, 0.20) !important;
    border-radius: 50px !important;
    padding: 8px 20px !important;
    display: inline-flex !important;
}

.sub-banner-con.clinic-sub-banner .breadcrumb-item,
.sub-banner-con.clinic-sub-banner .breadcrumb-item a,
.sub-banner-con.clinic-sub-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #ffffff !important;
}

/* Unslop: quiet chrome, tabular numbers, clean testimonial alignment, no glowing blobs */
.blue-elipse {
    display: none !important;
}

.statistics-box .digit,
.years-experience-con .digit,
.header-contact .number {
    font-variant-numeric: tabular-nums;
}

.testimonials-con .testimonial-box .customer-detail {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

/* Keep social proof prominent without letting it dominate the page. */
.home-page .testimonials-con {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
    border-radius: 26px !important;
    background: #f2f7fb !important;
}

.home-page .patient-trust-con {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
}

.home-page .patient-trust-con .patient-box {
    min-height: 0;
    padding: 34px !important;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background: #eaf4fb;
    border: 1px solid #d7e8f3;
    border-radius: 22px;
}

.home-page .patient-trust-con .patient-box .heading-title-con {
    width: 100%;
    margin: 0 !important;
}

.home-page .patient-trust-con .patient-box .text-size-46 {
    margin: 6px 0 18px;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.1;
}

.home-page .patient-trust-con .patient-box ul {
    margin-bottom: 0;
}

.home-page .patient-trust-con .patient-box ul li {
    margin-bottom: 12px;
    font-size: 15px;
}

.home-page .patient-trust-con .patient-box ul li:last-child {
    margin-bottom: 0;
}

.home-page .patient-trust-con .statistics-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #d5e4ee;
}

.home-page .patient-trust-con .statistics-box {
    min-width: 0;
    padding: 0 10px;
    text-align: center;
    border-right: 1px solid #d5e4ee;
}

.home-page .patient-trust-con .statistics-box:first-child {
    padding-left: 0;
}

.home-page .patient-trust-con .statistics-box:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-page .patient-trust-con .statistics-box .digit,
.home-page .patient-trust-con .statistics-box sup {
    font-size: clamp(24px, 2.2vw, 30px);
    line-height: 1;
}

.home-page .patient-trust-con .statistics-box .span-text {
    margin-top: 6px;
    color: #52667a;
    font-size: 12px;
    line-height: 1.3;
}

.home-page .patient-trust-con .patient-box .blue-elipse {
    display: none !important;
}

.home-page .patient-trust-con .patient-right-con,
.home-page .patient-trust-con .patient-right-con figure,
.home-page .patient-trust-con .patient-right-con img {
    height: auto;
}

.home-page .patient-trust-con .patient-img-con,
.home-page .patient-trust-con .patient-img-con figure {
    height: 100%;
    margin: 0;
}

.home-page .patient-trust-con .patient-img-con > figure:first-child img {
    width: 100%;
    height: 448px !important;
    min-height: 0;
    object-fit: cover;
    object-position: center 48%;
    border-radius: 22px;
}

.home-page .patient-trust-con .patient-img-con .vector2 {
    width: 84px;
    height: 84px;
    right: 16px;
    bottom: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.home-page .patient-trust-con .patient-img-con .vector2 img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

@media (max-width: 767.98px) {
    .home-page .patient-trust-con {
        padding-top: 34px !important;
        padding-bottom: 34px !important;
    }

    .home-page .patient-trust-con .patient-box {
        min-height: 0 !important;
        padding: 24px 20px !important;
        border-radius: 18px;
    }

    .home-page .patient-trust-con .patient-img-con > figure:first-child img {
        height: 360px !important;
        min-height: 0;
        max-height: 360px;
        border-radius: 18px;
    }
}

@media (max-width: 575.98px) {
    .home-page .patient-trust-con .patient-box {
        padding: 24px 20px !important;
        text-align: left;
    }

    .home-page .patient-trust-con .patient-box .heading-title-con {
        text-align: left !important;
    }

    .home-page .patient-trust-con .patient-box .special-text {
        display: inline-block;
        margin-bottom: 8px;
    }

    .home-page .patient-trust-con .patient-box .text-size-46 {
        max-width: 440px;
        margin: 0 0 14px;
        font-size: clamp(29px, 8vw, 36px);
        line-height: 1.08;
    }

    .home-page .patient-trust-con .patient-box ul {
        margin-top: 18px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .home-page .patient-trust-con .patient-box ul li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .home-page .patient-trust-con .patient-box ul li i {
        margin-top: 2px;
    }

    .home-page .patient-trust-con .statistics-wrapper {
        margin-top: 18px;
        padding-top: 12px;
    }

    .home-page .patient-trust-con .statistics-box {
        padding: 0 6px !important;
        border-right: 1px solid #d5e4ee !important;
    }

    .home-page .patient-trust-con .statistics-box:last-child {
        border-right: 0 !important;
    }

    .home-page .patient-trust-con .statistics-box .digit,
    .home-page .patient-trust-con .statistics-box sup {
        font-size: 24px;
    }

    .home-page .patient-trust-con .statistics-box .span-text {
        font-size: 11px;
    }

    .home-page .patient-trust-con .patient-right-con {
        padding-top: 16px;
    }
}

.home-page .testimonials-con > .container {
    max-width: 1080px;
}

.home-page .testimonials-con .heading-title-con {
    margin-bottom: 18px;
}

.home-page .testimonials-con .heading-title-con .special-text {
    display: inline-flex !important;
    margin-bottom: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e3f2fd;
    font-size: 13px;
}

.home-page .testimonials-con .heading-title-con h2 {
    margin-bottom: 10px !important;
    font-size: clamp(30px, 3vw, 38px);
    line-height: 1.12;
}

.home-page .testimonials-con .owl-carousel {
    max-width: 940px;
    margin: 0 auto;
}

.home-page .testimonials-con .testimonial-box {
    min-height: 0;
    padding: 24px 34px 24px;
    border: 1px solid #e0eaf1;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 8px 26px rgba(29, 66, 94, 0.06);
}

.home-page .testimonials-con .testimonial-box > figure {
    display: none !important;
}

.home-page .testimonials-con .testimonial-box > figure img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

.home-page .testimonials-con .testimonial-box > p {
    max-width: 780px;
    margin: 0 auto 18px;
    color: #43536a;
    font-size: 17px;
    line-height: 1.55;
}

.home-page .testimonials-con .testimonial-box .customer-detail {
    margin-top: 12px;
}

.home-page .testimonials-con .testimonial-box .customer-detail > img {
    width: 52px;
    height: 52px;
    object-fit: cover;
}

.home-page .testimonials-con .owl-nav button.owl-prev,
.home-page .testimonials-con .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    border: 1px solid #d7e5ef;
    border-radius: 50%;
    background: #f4f8fb;
}

.home-page .testimonials-con .owl-theme .owl-nav {
    position: static !important;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 16px 0 0 !important;
}

.home-page .testimonials-con .owl-carousel .owl-nav button.owl-prev,
.home-page .testimonials-con .owl-carousel .owl-nav button.owl-next {
    position: static !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    color: var(--primary--color);
}

.home-page .testimonials-con .owl-carousel .owl-nav button.owl-prev,
.home-page .testimonials-con .owl-carousel .owl-nav button.owl-next {
    top: auto !important;
    right: auto !important;
    left: auto !important;
}

.home-page .testimonials-con .owl-carousel .owl-nav {
    position: static !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    transform: none !important;
}

.home-page .testimonials-con .owl-carousel .owl-nav button:hover {
    color: #ffffff;
    background: var(--primary--color) !important;
}

@media (max-width: 767.98px) {
    .home-page .testimonials-con {
        padding-top: 38px !important;
        padding-bottom: 38px !important;
        border-radius: 20px !important;
    }

    .home-page .testimonials-con .heading-title-con {
        margin-bottom: 18px;
    }

    .home-page .testimonials-con .testimonial-box {
        padding: 20px 18px 20px;
        border-radius: 18px;
    }

    .home-page .testimonials-con .testimonial-box > p {
        font-size: 14px;
    }

    .home-page .testimonials-con .owl-theme .owl-nav {
        margin-top: 12px !important;
    }
}

@media (max-width: 575.98px) {
    .home-page .testimonials-con > .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .home-page .testimonials-con .heading-title-con h2 br {
        display: none;
    }

    .home-page .testimonials-con .testimonial-box {
        padding: 18px 14px 20px;
    }
}

.header-contact .call-us-today {
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-size: 13px;
}

.about-us-con .smilora-text {
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* Bootstrap 4 spacing & form compatibility helpers */
.gap-2 { gap: 0.5rem !important; }
.gap-3 { gap: 1rem !important; }
.gap-4 { gap: 1.5rem !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.fw-bold { font-weight: 700 !important; }
.text-white-50 { color: rgba(255, 255, 255, 0.78) !important; }
.form-label { display: block; margin-bottom: 0.4rem; }
.header-contact .contact-btn {
    background-color: var(--primary--color) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 48px !important;
    line-height: 1 !important;
    padding: 0 22px !important;
    white-space: nowrap !important;
}

.header-contact .contact-btn:hover {
    background-color: #005482 !important;
    color: #ffffff !important;
}

.banner-white-box1 {
    background-image: url('/assets/images/clinic/dr-ajani.webp') !important;
    background-position: top center !important;
}

.banner-white-box2 {
    background-image: url('/assets/images/clinic/clinic-equipment.webp') !important;
    background-position: center !important;
}

.form-select {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    appearance: auto !important;
    -webkit-appearance: menulist !important;
    white-space: nowrap;
}

.form-select.custom-input {
    height: 70px !important;
    line-height: 70px !important;
    border-radius: 50px !important;
    padding: 0 36px 0 28px !important;
    display: flex;
    align-items: center;
}

a.primary_btn,
button.primary_btn.custom-btn {
    padding: 0 64px 0 28px !important;
    height: 60px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

/* Revamped Services Cards (works on both Home & /services/) */
.services-grid-row > [class*="col-"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.service-card-v2 {
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card-v2:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: var(--primary--color);
}

.service-card-v2 .service-img-wrap {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg--color);
}

.service-card-v2 .service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card-v2:hover .service-img-wrap img {
    transform: scale(1.03);
}

.service-card-v2 .service-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-v2 h3 {
    color: var(--black--family--color);
    font-size: 20px;
    margin-bottom: 8px;
}

.service-card-v2 p {
    color: var(--text--color);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
    margin-bottom: 14px;
}

.service-card-v2 .service-link {
    color: var(--primary--color);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-card-v2 .service-link:hover {
    text-decoration: underline;
}

.banner-con .secondary_btn {
    color: var(--primary--color) !important;
    border: 1px solid var(--border--color) !important;
}

.mobile-hero-photo {
    display: none;
}

.banner-right-con .user-text .urbanist-font {
    white-space: nowrap !important;
}

/* Fix mobile/tablet header crowding: hide .header-contact <=991px (mobile-sticky-bar handles Call/WhatsApp/Book) */
@media (max-width: 991px) {
    .header-con .header-contact {
        display: none !important;
    }

    .header-con .navbar {
        justify-content: space-between !important;
    }

    .banner-con {
        height: auto !important;
        min-height: 0 !important;
        flex-direction: column !important;
    }

    .banner-con::before,
    .banner-con::after {
        display: none !important;
    }

    .banner-con .main-container {
        flex-direction: column !important;
        gap: 16px;
    }

    .banner-con .banner-left-con {
        width: 100% !important;
        height: auto !important;
        background: var(--bg--color) !important;
        border: 1px solid var(--border--color);
        border-radius: 20px;
        padding: 28px 20px !important;
    }

    .banner-con .banner-right-con {
        width: 100% !important;
        position: static !important;
        margin-top: 0 !important;
    }

    .mobile-hero-photo {
        display: block;
        width: 100%;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        object-position: center top;
        border-radius: 16px;
        margin-bottom: 12px;
    }

    /* Fix About Us section alignment on mobile/tablet */
    .about-us-con {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .about-us-con .about-left-con {
        gap: 12px;
        margin-bottom: 28px;
    }

    .about-us-con .about-right-con,
    .about-us-con .about-right-con .heading-title-con {
        text-align: left !important;
    }

    .about-us-con .about-right-con ul {
        margin: 0 0 24px 0 !important;
        padding: 0 !important;
    }

    .about-us-con .about-right-con ul li {
        display: flex !important;
        align-items: center !important;
        gap: 10px;
        padding-left: 0 !important;
        margin-bottom: 10px !important;
        text-align: left !important;
    }

    .about-us-con .about-right-con ul li i {
        position: static !important;
        width: 20px;
        text-align: center;
        flex-shrink: 0;
    }

    .about-us-con .statistics-wrapper {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        text-align: center !important;
        margin-top: 20px !important;
    }

    .about-us-con .statistics-box {
        padding: 12px 6px !important;
        margin: 0 !important;
        border-right: 1px solid var(--border--color);
    }

    .about-us-con .statistics-box.last-stats-box {
        border-right: none !important;
    }

    .about-us-con .statistics-box .digit {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }

    .about-us-con .statistics-box .span-text {
        font-size: 12px !important;
        line-height: 1.3 !important;
        margin-top: 4px;
    }

    .banner-white-box1::before,
    .banner-white-box2::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.45) 100%);
        border-radius: inherit;
        z-index: 0;
    }

    .banner-white-box1 > *,
    .banner-white-box2 > * {
        position: relative;
        z-index: 1;
    }
}

/* Desktop card readability on .banner-white-box1/2 */
.banner-white-box1,
.banner-white-box2 {
    position: relative;
    overflow: hidden;
}

.banner-white-box1::before,
.banner-white-box2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.40) 100%);
    z-index: 0;
}

.banner-white-box1 > *,
.banner-white-box2 > * {
    position: relative;
    z-index: 1;
}
.ratio-4x3 { position: relative; width: 100%; min-height: 360px; }
.ratio-4x3 iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Fix stretched avatars & team photos */
.avatar-cover {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid var(--border--color);
}

.team-photo-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
}

.service-thumb-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 14px;
}

/* Form Validation & Error States */
.form-control.is-invalid,
.form-select.is-invalid {
    border-color: #e53e3e !important;
}

.field-error {
    color: #c53030;
    font-size: 13px;
    margin-top: 4px;
    display: block;
}

.book-appointment-con .field-error {
    color: #fed7d7;
}

/* Mobile Nav Toggle Fix */
.navbar-toggler {
    border: 1px solid #d9e7f1 !important;
    width: 48px;
    height: 48px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px !important;
    color: var(--primary--color) !important;
    background: #f3f9fd !important;
    box-shadow: 0 4px 12px rgba(22, 53, 77, 0.08);
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.navbar-toggler:hover {
    color: #ffffff !important;
    background: var(--primary--color) !important;
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(0, 109, 168, 0.2);
}

.navbar-toggler i {
    font-size: 19px;
    transition: transform 220ms ease;
}

.navbar-toggler[aria-expanded="true"] i {
    transform: rotate(90deg);
}

@media (max-width: 991px) {
    .header-con .navbar-collapse.show {
        display: block !important;
        background: #ffffff;
        padding: 16px 0 8px;
        border-top: 1px solid var(--border--color);
        margin-top: 10px;
    }
    .header-con .navbar-nav {
        margin-bottom: 12px !important;
    }
    .header-con .navbar-nav .nav-link {
        padding: 10px 4px !important;
        display: block;
    }
}

/* Modern responsive navigation */
.home-page .header-con .main-container {
    overflow: visible;
}

.home-page .header-con .navbar {
    position: relative;
}

.home-page .header-con .navbar-toggler {
    flex: 0 0 48px;
}

.home-page .header-con .navbar-toggler:focus {
    outline: 3px solid rgba(0, 109, 168, 0.2) !important;
    outline-offset: 3px;
}

.home-page .header-con .navbar-collapse {
    transform-origin: top right;
}

@media (min-width: 1200px) {
    .home-page .header-con .navbar-nav {
        gap: 0;
    }

    .home-page .header-con .navbar-light .navbar-nav .nav-link {
        position: relative;
        padding: 10px 10px !important;
        font-size: 13px;
    }

    .home-page .header-con .navbar-light .navbar-nav .nav-link::after {
        position: absolute;
        right: 11px;
        bottom: 5px;
        left: 11px;
        height: 2px;
        content: "";
        background: var(--accent--color);
        border-radius: 2px;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 180ms ease;
    }

    .home-page .header-con .navbar-light .navbar-nav .nav-link:hover::after,
    .home-page .header-con .navbar-light .navbar-nav .nav-link.active::after {
        transform: scaleX(1);
    }
}

@media (min-width: 1200px) {
    .home-page .header-con .navbar-light .navbar-nav .nav-link {
        padding-right: 12px !important;
        padding-left: 12px !important;
        font-size: 14px;
    }
}

@media (max-width: 991px) {
    .home-page .header-con .navbar-collapse,
    .home-page .header-con .navbar-collapse.show {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        z-index: 1050;
        display: block !important;
        max-height: 0;
        padding: 0 16px;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        background: #ffffff;
        border: 1px solid transparent;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 16px 30px rgba(22, 53, 77, 0.12);
        transform: translateY(-8px) scale(0.985);
        transition: max-height 280ms ease, padding 220ms ease, opacity 180ms ease, transform 220ms ease, visibility 220ms;
    }

    .home-page .header-con .navbar-collapse.show {
        max-height: 460px;
        padding: 14px 16px 18px;
        visibility: visible;
        opacity: 1;
        border-color: #e3edf4;
        transform: translateY(0) scale(1);
    }

    .home-page .header-con .navbar-nav .nav-item {
        opacity: 0;
        transform: translateY(-5px);
        transition: opacity 160ms ease, transform 200ms ease;
    }

    .home-page .header-con .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    .home-page .header-con .navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 25ms; }
    .home-page .header-con .navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 50ms; }
    .home-page .header-con .navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 75ms; }
    .home-page .header-con .navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 100ms; }
    .home-page .header-con .navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 125ms; }

    .home-page .header-con .navbar-light .navbar-nav .nav-link {
        border-radius: 11px;
    }

    .home-page .header-con .navbar-light .navbar-nav .nav-link:hover,
    .home-page .header-con .navbar-light .navbar-nav .nav-link.active {
        padding-left: 17px !important;
    }

    .home-page .header-con .header-contact {
        display: flex;
        justify-content: flex-start;
        padding-top: 12px;
        border-top: 1px solid #e8eff5;
    }
}

/* Sticky Mobile Action Bar (Fixes Audit F7) */
.mobile-sticky-bar {
    display: none;
}

@media (max-width: 991px) {
    .mobile-sticky-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        background: #243447;
        border-top: 2px solid var(--accent--color);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.18);
    }

    .mobile-sticky-bar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 13px 8px;
        color: #ffffff;
        font-family: "Urbanist", sans-serif;
        font-size: 14px;
        text-decoration: none;
        border-right: 1px solid rgba(255, 255, 255, 0.15);
    }

    .mobile-sticky-bar a:last-child {
        border-right: none;
        background: var(--primary--color);
    }

    body {
        padding-bottom: 54px;
    }
}

/* Floating WhatsApp button (No auto-popup! Fixes Audit F18) */
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 24px;
    z-index: 1035;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #128c7e;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #075e54;
}

@media (max-width: 991px) {
    .whatsapp-float {
        display: none;
    }
}

.sr-only-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Revamped Booking Page (.booking-card & .service-chip) */
.booking-card {
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

@media (max-width: 575px) {
    .booking-card {
        padding: 24px 18px;
    }
}

.booking-card .booking-input,
.booking-card .booking-select {
    width: 100%;
    height: 50px;
    padding: 0 16px;
    font-size: 15px;
    line-height: 1.4;
    color: var(--black--family--color);
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.booking-card .booking-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--black--family--color);
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.booking-card .booking-input:focus,
.booking-card .booking-select:focus,
.booking-card .booking-textarea:focus {
    background-color: #ffffff;
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(0, 109, 168, 0.14);
}

.booking-card .booking-input.is-invalid,
.booking-card .booking-select.is-invalid {
    border-color: #c53030 !important;
    background-color: #fff5f5;
}

.service-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.service-chip {
    border: 1px solid var(--border--color);
    background: var(--bg--color);
    color: var(--black--family--color);
    font-size: 13px;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-chip:hover,
.service-chip.active {
    background: var(--primary--color);
    border-color: var(--primary--color);
    color: #ffffff;
}

.booking-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.booking-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--lavender--color2);
    color: var(--primary--color);
    font-family: "Urbanist", sans-serif;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Appointment page: quiet, precise form styling inspired by modern event dialogs. */
.booking-page main#main-content {
    background: #f3f6f9;
}

.booking-page main#main-content > .padding-rl.mt-3 {
    margin-top: 18px !important;
}

.booking-page .clinic-sub-banner {
    padding: 34px 24px !important;
    overflow: hidden;
    text-align: left !important;
    background: #e8f3fb !important;
    border: 1px solid #d9e8f3;
    border-radius: 18px !important;
}

.booking-page .clinic-sub-banner .container {
    max-width: 1080px;
}

.booking-page .clinic-sub-banner h1 {
    margin-bottom: 8px !important;
    color: #1d2b3d !important;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.08;
}

.booking-page .clinic-sub-banner p {
    max-width: 620px !important;
    margin: 0 0 14px !important;
    color: #536579 !important;
    font-size: 16px;
    line-height: 1.55;
}

.booking-page .clinic-sub-banner .breadcrumb,
.booking-page .clinic-sub-banner .breadcrumb-item,
.booking-page .clinic-sub-banner .breadcrumb-item a,
.booking-page .clinic-sub-banner .breadcrumb-item.active,
.booking-page .clinic-sub-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #526579 !important;
}

.booking-page .clinic-sub-banner .breadcrumb {
    width: fit-content;
    padding: 7px 11px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid #d6e7f2 !important;
    border-radius: 8px !important;
}

.booking-page .booking-layout {
    padding: 34px 0 58px;
    background: #f3f6f9;
}

.booking-page .booking-layout > .container {
    max-width: 1120px;
}

.booking-page .booking-card {
    padding: 30px !important;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(23, 43, 62, 0.055);
}

.booking-page .booking-card > .d-flex:first-child {
    padding-bottom: 20px;
    margin-bottom: 20px !important;
    border-bottom: 1px solid #e8edf2;
}

.booking-page .booking-card h2 {
    color: #202e40;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.booking-page .booking-card .text-muted {
    color: #67778a !important;
    font-size: 13px;
    line-height: 1.55;
}

.booking-page .booking-card > .d-flex:first-child .badge {
    padding: 8px 12px !important;
    color: #38617e !important;
    background: #eef6fb !important;
    border: 1px solid #d9e8f2;
    font-size: 12px;
    font-weight: 600;
}

.booking-page .service-chips {
    gap: 8px;
    margin-bottom: 24px;
}

.booking-page .service-chip {
    min-height: 36px;
    padding: 7px 12px;
    color: #47576a;
    background: #f7f9fb;
    border: 1px solid #dce4eb;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.booking-page .service-chip:hover {
    transform: translateY(-1px);
    border-color: #8bb9d4;
    background: #eef7fc;
    color: #005e93;
}

.booking-page .service-chip.active {
    color: #ffffff;
    background: #0875ad;
    border-color: #0875ad;
}

.booking-page .booking-card .form-label {
    margin-bottom: 7px;
    color: #344457;
    font-size: 12px !important;
    font-weight: 650 !important;
}

.booking-page .booking-input,
.booking-page .booking-select {
    height: 46px;
    padding: 0 13px;
    color: #28384b;
    background: #f7f9fb;
    border: 1px solid #dce4eb;
    border-radius: 9px;
    box-shadow: none;
    font-size: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.booking-page .booking-textarea {
    min-height: 92px;
    padding: 12px 13px;
    color: #28384b;
    background: #f7f9fb;
    border: 1px solid #dce4eb;
    border-radius: 9px;
    box-shadow: none;
    font-size: 14px;
    resize: vertical;
}

.booking-page .booking-input::placeholder,
.booking-page .booking-textarea::placeholder {
    color: #9aa6b2;
}

.booking-page .booking-input:focus,
.booking-page .booking-select:focus,
.booking-page .booking-textarea:focus {
    background: #ffffff;
    border-color: #1686bf;
    box-shadow: 0 0 0 3px rgba(22, 134, 191, 0.12);
}

.booking-page .booking-card .form-check {
    padding: 14px 14px 14px 38px;
    background: #f7f9fb;
    border: 1px solid #e3eaf0;
    border-radius: 10px;
}

.booking-page .booking-card .form-check-input {
    margin-left: -24px;
    margin-top: 3px;
}

.booking-page .booking-card .form-check-label {
    color: #647386 !important;
    font-size: 12px;
    line-height: 1.55;
}

.booking-page .booking-card .form-check-label a {
    color: #006da8;
    font-weight: 600;
}

.booking-page .booking-card .primary_btn.custom-btn {
    min-height: 48px;
    padding: 0 56px 0 20px !important;
    border: 0;
    border-radius: 10px;
    background: #0875ad !important;
    box-shadow: 0 5px 12px rgba(8, 117, 173, 0.16);
    font-size: 14px;
    font-weight: 650;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.booking-page .booking-card .primary_btn.custom-btn:hover {
    transform: translateY(-1px);
    background: #056494 !important;
    box-shadow: 0 8px 16px rgba(8, 117, 173, 0.2);
}

.booking-page .booking-card .primary_btn.custom-btn span {
    right: 5px;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.18);
}

.booking-page .booking-layout .col-lg-4 > .bg-white {
    padding: 22px !important;
    border: 1px solid #e2e8ee !important;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(23, 43, 62, 0.045) !important;
}

.booking-page .booking-layout .col-lg-4 > .bg-white hr {
    margin: 18px 0;
    border-color: #e7edf2;
}

.booking-page .booking-step-num {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    color: #086b9f;
    background: #eaf5fb;
    border: 1px solid #d6eaf5;
    font-size: 12px;
    font-weight: 700;
}

.booking-page .booking-layout .bg-blue {
    padding: 24px !important;
    border-radius: 16px;
    background: #22364b !important;
}

@media (max-width: 767.98px) {
    .booking-page .clinic-sub-banner {
        padding: 28px 20px !important;
    }

    .booking-page .booking-layout {
        padding: 22px 0 42px;
    }

    .booking-page .booking-card {
        padding: 24px 20px !important;
    }
}

@media (max-width: 575.98px) {
    .booking-page .booking-card {
        padding: 20px 16px !important;
        border-radius: 15px;
    }

    .booking-page .booking-card > .d-flex:first-child {
        align-items: flex-start !important;
    }

    .booking-page .booking-card h2 {
        font-size: 22px;
    }

    .booking-page .service-chip {
        flex: 0 0 auto;
        max-width: 100%;
        padding-right: 10px;
        padding-left: 10px;
        font-size: 11px;
    }

    .booking-page .booking-card .primary_btn.custom-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Shared Polished Cards for Services, Dentists, Contact & Blog */
.surface-card {
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.surface-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: var(--primary--color);
}

.icon-circle-48 {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--lavender--color2);
    color: var(--primary--color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--black--family--color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-nav-link:hover,
.sidebar-nav-link.active {
    background: #ffffff;
    color: var(--primary--color);
    font-weight: 600;
    text-decoration: none;
}

.blog-search-input {
    max-width: 460px;
    height: 48px;
    border-radius: 50px;
    padding: 0 20px;
    border: 1.5px solid #cbd5e1;
    background: #f8fafc;
}

.blog-search-input:focus {
    background: #ffffff;
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(0, 109, 168, 0.14);
}

/* Homepage clinical team */
.home-team-section {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
    background: #f6f9fc !important;
}

.home-team-section > .container {
    max-width: 1180px;
}

.home-team-section .heading-title-con {
    max-width: 700px;
    margin: 0 auto 32px;
}

.home-team-section .heading-title-con h2 {
    margin-top: 8px;
    color: var(--black--family--color);
}

.team-intro {
    max-width: 540px;
    margin: 12px auto 0;
    color: var(--text--color);
    font-size: 16px;
    line-height: 1.65;
}

.team-roster-grid,
.team-staff-row {
    margin-right: -12px;
    margin-left: -12px;
}

.team-roster-grid > [class*="col-"],
.team-staff-row > [class*="col-"] {
    padding-right: 12px;
    padding-left: 12px;
}

.team-roster-grid article {
    min-height: 100%;
    padding: 20px !important;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e2eaf0;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(29, 66, 94, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-roster-grid article:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(29, 66, 94, 0.09);
    border-color: #c7ddeb;
}

.team-roster-grid article > img {
    width: 136px !important;
    height: 158px !important;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px !important;
    background: var(--bg--color);
}

.team-roster-grid article > div {
    min-width: 0;
    text-align: left !important;
}

.team-roster-grid article h3 {
    color: var(--black--family--color);
    line-height: 1.2;
    font-size: 21px;
}

.team-roster-grid article p {
    line-height: 1.6;
}

.team-roster-grid article p.small:not(.fw-bold) {
    color: var(--text--color);
    font-size: 13px;
    line-height: 1.55;
}

.team-roster-grid article .badge {
    font-size: 11px;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.team-roster-grid article .btn {
    min-height: 42px;
    padding: 0 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 13px;
    letter-spacing: 0.005em;
    box-shadow: 0 4px 10px rgba(0, 109, 168, 0.12);
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.team-roster-grid article .btn-primary {
    color: #ffffff !important;
    background: var(--primary--color) !important;
    border-color: var(--primary--color) !important;
}

.team-roster-grid article .btn-outline-primary {
    color: var(--primary--color) !important;
    background: #ffffff !important;
    border-color: #b8d4e6 !important;
    box-shadow: none;
}

.team-roster-grid article .btn-outline-primary:hover {
    color: #ffffff !important;
    background: var(--primary--color) !important;
    border-color: var(--primary--color) !important;
}

.team-roster-grid article .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 15px rgba(0, 109, 168, 0.18);
}

.team-staff-heading {
    margin: 12px 0 18px;
    padding-top: 20px;
    border-top: 1px solid #dfe8ef;
}

.team-staff-heading span {
    display: block;
    margin-bottom: 5px;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: 19px;
    font-weight: 700;
}

.team-staff-heading p {
    margin: 0;
    color: var(--text--color);
    font-size: 14px;
}

.team-staff-card {
    height: 100%;
    padding: 12px !important;
    text-align: left;
    background: #ffffff;
    border: 1px solid #e2eaf0;
    border-radius: 14px;
    box-shadow: 0 3px 14px rgba(29, 66, 94, 0.035);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.team-staff-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(29, 66, 94, 0.10);
    border-color: #c7ddeb;
}

.team-staff-card .team-photo-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    object-position: center 24%;
    border-radius: 10px;
    background: var(--bg--color);
}

.home-page .team-roster-grid article,
.home-page .team-staff-card {
    overflow: hidden;
}

.home-page .team-roster-grid article > div {
    padding: 2px 0;
}

.home-page .team-roster-grid article .btn {
    min-width: 118px;
    box-shadow: none;
}

.home-page .team-staff-card .team-photo-cover {
    aspect-ratio: 4 / 3;
    object-position: center 22%;
}

.home-page .team-staff-row .team-staff-card p:last-child {
    max-width: 260px;
    margin-right: auto;
    margin-left: auto;
}

.team-staff-card h3 {
    margin: 0 0 4px;
    color: var(--black--family--color);
    font-size: 16px;
    line-height: 1.25;
}

.team-staff-role {
    margin: 0 0 8px;
    color: var(--primary--color);
    font-size: 11px;
    font-weight: 700;
}

.team-staff-bio {
    margin: 0;
    color: var(--text--color);
    font-size: 12px;
    line-height: 1.55;
}

.home-team-section .team-roster-grid > [class*="col-"],
.home-team-section .team-staff-row > [class*="col-"] {
    margin-bottom: 18px;
}

.team-all-link {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 22px;
    color: #ffffff;
    background: var(--primary--color);
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.team-all-link:hover {
    color: #ffffff;
    background: #005482;
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .home-team-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .home-team-section .heading-title-con {
        margin-bottom: 26px;
    }

    .team-intro {
        font-size: 14px;
    }

    .team-roster-grid article {
        padding: 18px !important;
        align-items: flex-start;
    }

    .team-roster-grid article > img {
        width: 120px !important;
        height: 148px !important;
    }

    .team-roster-grid article h3 {
        font-size: 19px;
    }

    .team-staff-heading {
        margin-top: 8px;
    }

    .team-staff-card {
        padding: 10px !important;
    }

    .team-staff-card h3 {
        font-size: 15px;
    }

    .team-staff-bio {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .team-roster-grid article {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
    }

    .team-roster-grid article > img {
        width: 100% !important;
        height: 210px !important;
        object-position: center 22%;
    }

    .team-roster-grid article > div {
        width: 100%;
    }

    .team-roster-grid article .btn {
        padding: 8px 11px !important;
        font-size: 12px;
    }

    .team-staff-card .team-photo-cover {
        margin-bottom: 10px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .team-roster-grid article,
    .team-staff-card,
    .team-all-link {
        transition: none;
    }
}

.home-page .footer-con {
    margin: 0;
    padding-top: 48px;
    padding-bottom: 28px;
    border-radius: 24px 24px 0 0 !important;
    background: #20364b !important;
}

.home-page .footer-con .container {
    max-width: 1160px;
}

.home-page .footer-con .middle_portion > .row {
    row-gap: 30px;
}

.home-page .footer-con .logo-content > p {
    max-width: 340px;
    margin: 6px 0 20px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.home-page .footer-con .copyright {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.home-page .footer-con .copyright p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

.home-page .footer-con .links,
.home-page .footer-con .contact,
.home-page .footer-con .icon {
    padding-top: 10px;
}

.home-page .footer-con h2.heading {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.home-page .footer-con .links li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 9px;
}

.home-page .footer-con .links li > i {
    color: #58c1e8;
    font-size: 6px;
}

.home-page .footer-con .links li a,
.home-page .footer-con .contact li a,
.home-page .footer-con .contact li p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
    transition: color 160ms ease;
}

.home-page .footer-con .links li a:hover,
.home-page .footer-con .contact li a:hover {
    color: #ffffff;
}

.home-page .footer-con .contact li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    margin-bottom: 11px;
}

.home-page .footer-con .contact li > i {
    margin-top: 3px;
    color: #58c1e8;
    font-size: 13px;
}

.home-page .footer-con .social-icons {
    display: flex;
    gap: 9px;
}

.home-page .footer-con .social-icons li a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 11px;
    transition: background-color 160ms ease, transform 160ms ease;
}

.home-page .footer-con .social-icons li a:hover {
    transform: translateY(-2px);
    background: #0875ad;
}

@media (max-width: 767.98px) {
    .home-page .footer-con {
        padding-top: 34px;
        padding-bottom: 24px;
        border-radius: 20px 20px 0 0 !important;
    }

    .home-page .footer-con .logo-content > p {
        max-width: 520px;
    }
}

@media (min-width: 992px) {
    .home-team-section .team-roster-grid > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .home-team-section .team-staff-row > [class*="col-"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .home-team-section .team-staff-row > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* Homepage services: clearer hierarchy and a direct booking path */
.home-page .home-services-section {
    padding: 78px 0 66px !important;
    overflow: hidden;
    background: #f4f8fc !important;
    border-radius: 28px !important;
}

.home-services-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 34px;
}

.home-services-heading .heading-title-con {
    max-width: 680px;
}

.home-services-heading h2 {
    margin-top: 8px;
    color: var(--black--family--color);
}

.home-services-heading p {
    max-width: 560px;
    margin: 12px 0 0;
    color: var(--text--color);
    font-size: 16px;
    line-height: 1.65;
}

.home-services-cta {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50px;
    padding: 0 20px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--primary--color);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease;
}

.home-services-cta:hover {
    color: #ffffff;
    background: #005482;
    transform: translateY(-2px);
    text-decoration: none;
}

.home-page .home-services-section .services-grid-row {
    row-gap: 2px;
}

.home-page .home-services-section .service-card-v2 {
    background: #ffffff;
    border-color: #dce7f0;
    border-radius: 18px;
    box-shadow: 0 5px 18px rgba(29, 66, 94, 0.045);
}

.home-page .home-services-section .service-img-wrap {
    aspect-ratio: 16 / 10;
    background: #e7f1f8;
}

.home-page .home-services-section .service-card-body {
    padding: 18px 18px 20px;
}

.home-page .home-services-section .service-card-v2 h3 {
    font-size: 19px;
    line-height: 1.25;
}

.home-page .home-services-section .service-card-v2 p {
    font-size: 14px;
    line-height: 1.6;
}

.home-page .home-services-section .service-link {
    width: fit-content;
    padding-bottom: 2px;
    border-bottom: 1px solid rgba(0, 109, 168, 0.3);
}

.home-services-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    color: var(--text--color);
    font-size: 14px;
}

.home-services-all {
    color: var(--primary--color);
    font-weight: 700;
    text-decoration: none;
}

.home-services-all:hover {
    color: #005482;
    text-decoration: underline;
}

/* Homepage navigation: crisp fixed-height bar, clear active state and CTA */
.home-page .topbar-con {
    min-height: 40px;
    border-radius: 0 0 12px 12px !important;
}

.home-page .top-bar-inner-content {
    min-height: 40px;
    gap: 8px 20px;
}

.home-page .top-bar-inner-content p {
    font-size: 12px;
    line-height: 1.4;
}

.home-page .top-bar-con {
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

.home-page .top-bar-con .main-container,
.home-page .top-bar-con .top-bar-inner-content {
    min-height: 0 !important;
    height: auto !important;
}

.home-page .header-con {
    border-bottom: 1px solid #e7eef4;
    box-shadow: 0 5px 18px rgba(22, 53, 77, 0.055);
}

.home-page .header-con .navbar {
    min-height: 82px;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) auto;
    gap: 22px;
    padding-right: 18px;
    padding-left: 18px;
}

.home-page .header-con .navbar-brand {
    margin-right: 0;
    justify-self: start;
}

.home-page .header-con .navbar-collapse {
    min-width: 0;
    justify-self: stretch;
}

.home-page .header-con .navbar-nav {
    align-items: center;
    justify-content: space-between;
    gap: 2px;
}

.home-page .header-con .navbar-light .navbar-nav .nav-link {
    padding: 10px 13px !important;
    border-radius: 999px;
    color: #34445a;
    font-size: 15px;
    font-weight: 600;
    transition: color 160ms ease, background-color 160ms ease;
}

.home-page .header-con .navbar-light .navbar-nav .nav-link:hover,
.home-page .header-con .navbar-light .navbar-nav .nav-link.active {
    color: var(--primary--color);
    background: #eaf5fc;
}

.home-page .header-contact .contact-btn {
    min-height: 46px;
    padding: 0 18px !important;
    border-radius: 999px;
    box-shadow: 0 5px 12px rgba(0, 109, 168, 0.15);
}

.home-page .header-contact .header-phone {
    width: 42px;
    height: 42px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf5fc;
}

.home-page .header-contact .header-phone img {
    width: 18px;
    height: 18px;
}

.home-page .header-contact .header-phone i {
    color: #006da8;
    font-size: 15px;
}

.home-page .header-contact .call-us-today {
    color: #617184;
    font-size: 11px;
}

.home-page .header-contact .number {
    color: var(--black--family--color);
    font-size: 17px;
    white-space: nowrap;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .home-page .header-con .navbar {
        grid-template-columns: 165px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .home-page .header-con .navbar-brand {
        margin-right: 0;
    }

    .home-page .header-contact .contact-btn {
        min-height: 42px;
        padding-right: 12px !important;
        padding-left: 12px !important;
        font-size: 13px;
    }

    .home-page .header-contact .header-phone,
    .home-page .header-contact .call-us-today {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .home-page .top-bar-inner-content {
        justify-content: center !important;
    }

    .home-page .top-bar-inner-content ul {
        display: none !important;
    }

    .home-page .top-bar-inner-content p {
        width: 100%;
        font-size: 11px;
        text-align: center;
    }

    .home-page .header-con .navbar {
        display: flex;
        gap: 12px;
        min-height: 68px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .home-page .header-con .navbar-brand {
        margin-right: auto;
    }

    .home-page .header-con .navbar-collapse.show {
        padding: 14px 16px 16px;
        background: #ffffff;
        border: 1px solid #e3edf4;
        border-radius: 16px;
        box-shadow: 0 14px 28px rgba(22, 53, 77, 0.10);
    }

    .home-page .header-con .navbar-nav {
        align-items: stretch;
    }

    .home-page .header-con .navbar-light .navbar-nav .nav-link {
        padding: 11px 14px !important;
    }

    .home-page .home-services-section {
        padding-top: 54px !important;
        padding-bottom: 50px !important;
        border-radius: 22px !important;
    }

    .home-services-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .home-services-heading p {
        margin-top: 8px;
        font-size: 15px;
    }

    /* Bring the clinic team photo into the hero on tablet and mobile. */
    .home-page .banner-con {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 12px 22px;
        background: transparent !important;
    }

    .home-page .banner-con .main-container {
        position: relative;
        display: block !important;
        width: 100%;
        min-height: 590px;
        overflow: hidden;
        border-radius: 24px;
        background: #dcecf6;
    }

    .home-page .banner-con .banner-right-con {
        position: absolute !important;
        inset: 0;
        z-index: 0;
        width: 100% !important;
        height: 100%;
        margin: 0 !important;
    }

    .home-page .banner-con .mobile-hero-photo {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 590px;
        margin: 0;
        object-fit: cover;
        object-position: center 20%;
        border-radius: 0;
    }

    .home-page .banner-con .inner-con2 {
        position: absolute;
        top: 16px;
        right: 16px;
        left: auto;
        width: auto;
        height: auto;
        padding: 10px 14px;
        border: 1px solid rgba(255, 255, 255, 0.75);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 6px 20px rgba(20, 44, 64, 0.14);
    }

    .home-page .banner-con .user-box {
        width: auto;
        margin: 0;
    }

    .home-page .banner-con .user-box .imgz-wrap {
        display: none !important;
    }

    .home-page .banner-con .user-box .user-text {
        gap: 5px;
    }

    .home-page .banner-con .user-box .user-text .urbanist-font {
        font-size: 18px;
        line-height: 1;
    }

    .home-page .banner-con .user-box .user-text .span-text {
        max-width: 145px;
        font-size: 11px;
        line-height: 1.25;
    }

    .home-page .banner-con .banner-left-con {
        position: absolute !important;
        right: auto;
        bottom: 18px;
        left: 18px;
        z-index: 2;
        width: min(590px, calc(100% - 36px)) !important;
        height: auto !important;
        padding: 24px !important;
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.96) !important;
        box-shadow: 0 12px 32px rgba(20, 44, 64, 0.16);
        backdrop-filter: blur(10px);
    }

    .home-page .banner-left-con .inner-con1 {
        margin: 0 !important;
        padding: 0 !important;
    }

    .home-page .banner-con .banner-left-con .inner-con1 h1 {
        margin: 8px 0 10px;
        color: var(--black--family--color);
        font-size: clamp(34px, 5vw, 48px);
        line-height: 1.04;
    }

    .home-page .banner-con .banner-left-con .inner-con1 p {
        max-width: 500px;
        margin: 0 0 16px;
        padding: 0;
        color: #475569;
        font-size: 15px;
        line-height: 1.55;
        font-weight: 400;
    }

    .home-page .banner-con .banner-left-con .inner-con1 p::before {
        display: none;
    }

    .home-page .banner-con .primary_btn,
    .home-page .banner-con .secondary_btn {
        min-width: 0;
        height: 48px !important;
        margin: 0 8px 0 0;
        padding: 0 50px 0 18px !important;
        font-size: 14px;
    }

    .home-page .banner-con .secondary_btn {
        padding: 0 46px 0 16px !important;
        background: #ffffff;
    }

    .home-page .banner-con .banner-bottom-con {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .home-page .header-contact > ul {
        gap: 14px;
    }

    .home-page .header-contact > ul > li:last-child {
        min-width: 0;
    }

    .home-page .header-contact .contact-btn {
        min-height: 44px;
        padding-right: 16px !important;
        padding-left: 16px !important;
        font-size: 14px;
    }

    .home-page .header-contact .header-phone {
        flex: 0 0 42px;
    }

    .home-page .header-contact .number {
        font-size: 16px;
    }
}

@media (max-width: 575.98px) {
    .home-page .top-bar-con {
        padding: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        border-radius: 0 0 13px 13px;
    }

    .home-page .top-bar-con .main-container,
    .home-page .top-bar-con .top-bar-inner-content {
        min-height: 0 !important;
        height: auto !important;
    }

    .home-page .top-bar-inner-content {
        padding: 7px 12px !important;
    }

    .home-page .top-bar-inner-content p {
        margin: 0 !important;
        font-size: 10px;
        line-height: 1.35;
    }

    .home-page .header-con .navbar {
        min-height: 62px;
    }

    .home-page .header-con .navbar-brand img {
        max-height: 46px;
    }
}

@media (max-width: 575.98px) {
    .home-page .banner-con {
        padding-right: 10px;
        padding-left: 10px;
    }

    .home-page .banner-con .main-container,
    .home-page .banner-con .mobile-hero-photo {
        min-height: 640px;
    }

    .home-page .banner-con .mobile-hero-photo {
        object-position: 53% 15%;
    }

    .home-page .banner-con .inner-con2 {
        top: 12px;
        right: 12px;
        padding: 8px 10px;
    }

    .home-page .banner-con .banner-left-con {
        bottom: 12px;
        left: 12px;
        width: calc(100% - 24px) !important;
        padding: 20px 17px !important;
    }

    .home-page .banner-con .banner-left-con .inner-con1 h1 {
        font-size: clamp(33px, 10vw, 42px);
    }

    .home-page .banner-con .banner-left-con .inner-con1 p {
        font-size: 14px;
    }

    .home-page .banner-con .primary_btn,
    .home-page .banner-con .secondary_btn {
        margin: 0 6px 0 0;
        padding-right: 43px !important;
        padding-left: 13px !important;
        font-size: 12px;
    }

    .home-page .banner-con .primary_btn span,
    .home-page .banner-con .secondary_btn span {
        right: 4px;
        width: 38px;
        height: 38px;
    }

    .home-page .home-services-heading {
        margin-bottom: 24px;
    }

    .home-page .home-services-section .service-card-body {
        padding: 14px 13px 16px;
    }

    .home-page .home-services-section .service-card-v2 h3 {
        font-size: 16px;
    }

    .home-page .home-services-section .service-card-v2 p {
        font-size: 13px;
    }

    .home-services-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding: 0 12px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .home-page .home-services-section .services-grid-row > [class*="col-"] {
        margin-bottom: 24px !important;
    }
}

/* Shared page system for the dentists and services pages. */
.dentists-page,
.services-page {
    background: #f4f8fb;
}

.dentists-page .topbar-con,
.services-page .topbar-con {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    border-radius: 0 0 12px 12px !important;
}

.dentists-page .top-bar-inner-content,
.services-page .top-bar-inner-content {
    min-height: 0 !important;
    height: auto !important;
}

.dentists-page .header-con,
.services-page .header-con {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid #e7eef4;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 18px rgba(22, 53, 77, 0.055);
    backdrop-filter: blur(8px);
}

.dentists-page .header-con .navbar,
.services-page .header-con .navbar {
    min-height: 78px;
    gap: 14px;
    padding-right: 16px;
    padding-left: 16px;
}

.dentists-page .header-con .navbar-brand,
.services-page .header-con .navbar-brand {
    margin-right: clamp(18px, 3vw, 42px);
}

.dentists-page .header-con .navbar-nav,
.services-page .header-con .navbar-nav {
    align-items: center;
    gap: 3px;
}

.dentists-page .header-con .navbar-light .navbar-nav .nav-link,
.services-page .header-con .navbar-light .navbar-nav .nav-link {
    padding: 10px 12px !important;
    color: #34445a;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: color 160ms ease, background-color 160ms ease;
}

.dentists-page .header-con .navbar-light .navbar-nav .nav-link:hover,
.services-page .header-con .navbar-light .navbar-nav .nav-link:hover,
.dentists-page .header-con .navbar-light .navbar-nav .nav-link.active,
.services-page .header-con .navbar-light .navbar-nav .nav-link.active {
    color: #006da8;
    background: #eaf5fc;
}

.dentists-page .header-contact .contact-btn,
.services-page .header-contact .contact-btn {
    min-height: 44px;
    padding: 0 17px !important;
    border-radius: 999px;
}

.dentists-page .clinic-sub-banner,
.services-page .clinic-sub-banner {
    padding: 42px 26px !important;
    text-align: left !important;
    background: #eaf4fb !important;
    border: 1px solid #d8e8f3;
    border-radius: 20px !important;
}

.dentists-page .clinic-sub-banner .container,
.services-page .clinic-sub-banner .container {
    max-width: 1120px;
}

.dentists-page .clinic-sub-banner h1,
.services-page .clinic-sub-banner h1 {
    margin-bottom: 8px !important;
    color: #1d2b3d !important;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.08;
}

.dentists-page .clinic-sub-banner p,
.services-page .clinic-sub-banner p {
    max-width: 660px !important;
    margin: 0 0 15px !important;
    color: #536579 !important;
    font-size: 16px;
    line-height: 1.55;
}

.dentists-page .clinic-sub-banner .breadcrumb,
.services-page .clinic-sub-banner .breadcrumb {
    width: fit-content;
    padding: 7px 11px !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid #d6e7f2 !important;
    border-radius: 8px !important;
}

.dentists-page .clinic-sub-banner .breadcrumb-item,
.dentists-page .clinic-sub-banner .breadcrumb-item a,
.dentists-page .clinic-sub-banner .breadcrumb-item + .breadcrumb-item::before,
.services-page .clinic-sub-banner .breadcrumb-item,
.services-page .clinic-sub-banner .breadcrumb-item a,
.services-page .clinic-sub-banner .breadcrumb-item + .breadcrumb-item::before {
    color: #526579 !important;
}

.dentists-page .dentists-team-section,
.services-page .services-catalog-section,
.services-page .services-process-section {
    padding-top: 42px !important;
    padding-bottom: 46px !important;
    background: #f4f8fb !important;
}

.dentists-page .dentists-team-section > .container,
.services-page .services-catalog-section > .container,
.services-page .services-process-section > .container {
    max-width: 1160px;
}

.dentists-page .dentists-section-heading {
    margin: 0 0 20px;
}

.dentists-page .dentists-section-heading > span {
    display: block;
    margin-bottom: 5px;
    color: #0074ad;
    font-family: "Urbanist", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dentists-page .dentists-section-heading h2 {
    margin: 0 0 5px !important;
    color: #1e293b;
    font-size: clamp(25px, 3vw, 32px);
    font-weight: 700;
}

.dentists-page .dentists-section-heading p {
    color: #637487 !important;
    font-size: 14px !important;
}

.dentists-page .support-heading {
    margin-top: 12px;
    padding-top: 24px;
    border-top: 1px solid #dce7ef;
}

.dentists-page .dentist-profile-card {
    padding: 20px !important;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e0e8ef;
    border-radius: 16px;
    box-shadow: 0 6px 18px rgba(29, 66, 94, 0.045);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.dentists-page .dentist-profile-card:hover,
.dentists-page .dentist-support-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(29, 66, 94, 0.09);
}

.dentists-page .dentist-profile-card > img {
    width: 136px !important;
    height: 160px !important;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 12px !important;
    background: #edf4f8;
}

.dentists-page .dentist-profile-card h3 {
    color: #1e293b;
    font-size: 21px;
    font-weight: 700;
}

.dentists-page .dentist-profile-card p.small:not(.fw-bold) {
    color: #5c6c7e;
    font-size: 13px;
    line-height: 1.55;
}

.dentists-page .dentist-profile-card .badge {
    background: #eaf5fc !important;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.dentists-page .dentist-profile-card .btn {
    min-height: 40px;
    padding: 0 13px !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9px !important;
    font-size: 12px;
    font-weight: 650 !important;
}

.dentists-page .dentist-profile-card .btn-primary {
    color: #ffffff !important;
    background: #0875ad !important;
    border-color: #0875ad !important;
}

.dentists-page .dentist-profile-card .btn-outline-primary {
    color: #0875ad !important;
    background: #ffffff !important;
    border-color: #c8dce9 !important;
}

.dentists-page .dentist-support-card {
    padding: 12px !important;
    text-align: left !important;
    background: #ffffff;
    border: 1px solid #e0e8ef;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(29, 66, 94, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.dentists-page .dentist-support-card .team-photo-cover {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 22%;
    border-radius: 10px;
}

.dentists-page .dentist-support-card h3 {
    color: #1e293b;
    font-size: 16px;
    font-weight: 700;
}

.dentists-page .dentist-support-card p.small {
    color: #607184;
    font-size: 12px;
    line-height: 1.55;
}

.services-page .services-catalog-section .container {
    padding-top: 0 !important;
}

.services-page .services-grid-row {
    row-gap: 10px;
}

.services-page .service-card-v2 {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e0e8ef;
    border-radius: 16px;
    box-shadow: 0 5px 18px rgba(29, 66, 94, 0.045);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.services-page .service-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 28px rgba(29, 66, 94, 0.10);
}

.services-page .service-card-v2 .service-img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #e7f1f8;
}

.services-page .service-card-v2 .service-img-wrap img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 300ms ease;
}

.services-page .service-card-v2:hover .service-img-wrap img {
    transform: scale(1.025);
}

.services-page .service-card-body {
    min-height: 248px;
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services-page .service-card-body > span {
    min-height: 18px;
    color: #617387 !important;
    font-size: 10px !important;
    line-height: 1.35;
}

.services-page .service-card-body h3 {
    margin: 4px 0 8px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.services-page .service-card-body p {
    color: #5c6c7e;
    font-size: 13px;
    line-height: 1.55;
}

.services-page .service-card-body .service-link {
    margin-top: auto;
    padding-top: 9px;
    color: #006da8;
    font-size: 13px;
    font-weight: 700;
}

.services-page .services-process-section .surface-card {
    padding: 24px !important;
    background: #ffffff;
    border: 1px solid #e0e8ef;
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(29, 66, 94, 0.04);
}

.services-page .services-process-section .surface-card h3 {
    margin: 12px 0 8px;
    color: #1e293b;
    font-weight: 700;
}

.services-page .services-process-section .surface-card p {
    color: #5c6c7e;
    font-size: 14px;
    line-height: 1.6;
}

.dentists-page .footer-con,
.services-page .footer-con {
    margin: 0;
    padding-top: 44px;
    padding-bottom: 26px;
    background: #20364b !important;
    border-radius: 24px 24px 0 0 !important;
}

.dentists-page .footer-con .container,
.services-page .footer-con .container {
    max-width: 1160px;
}

.dentists-page .footer-con .middle_portion > .row,
.services-page .footer-con .middle_portion > .row {
    row-gap: 26px;
}

.dentists-page .footer-con .logo-content > p,
.services-page .footer-con .logo-content > p {
    max-width: 360px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.65;
}

.dentists-page .footer-con h2.heading,
.services-page .footer-con h2.heading {
    margin-bottom: 15px;
    color: #ffffff;
    font-size: 16px;
}

.dentists-page .footer-con .links li,
.services-page .footer-con .links li {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 8px;
}

.dentists-page .footer-con .links li > i,
.services-page .footer-con .links li > i,
.dentists-page .footer-con .contact li > i,
.services-page .footer-con .contact li > i {
    color: #58c1e8;
}

.dentists-page .footer-con .links li a,
.services-page .footer-con .links li a,
.dentists-page .footer-con .contact li a,
.services-page .footer-con .contact li a,
.dentists-page .footer-con .contact li p,
.services-page .footer-con .contact li p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.5;
}

.dentists-page .footer-con .contact li,
.services-page .footer-con .contact li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 9px;
    margin-bottom: 10px;
}

.dentists-page .footer-con .social-icons,
.services-page .footer-con .social-icons {
    display: flex;
    gap: 9px;
}

.dentists-page .footer-con .social-icons li a,
.services-page .footer-con .social-icons li a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 11px;
}

.contact-map-heading {
    margin-bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
}

.contact-map-heading > div > span {
    color: #0875ad;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.contact-map-heading h2 {
    margin: 3px 0 0;
    color: #1e293b;
    font-size: 22px;
    font-weight: 700;
}

.contact-map-review-link {
    color: #006da8;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.contact-map-review-link span {
    color: #e0a21a;
}

.contact-map-review-link b {
    font-weight: 700;
}

.contact-map-review-link i {
    margin-left: 4px;
    font-size: 11px;
}

@media (max-width: 991.98px) {
    .dentists-page .header-con .navbar,
    .services-page .header-con .navbar {
        min-height: 68px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .dentists-page .header-con .navbar-brand,
    .services-page .header-con .navbar-brand {
        margin-right: auto;
    }

    .dentists-page .header-con .navbar-collapse.show,
    .services-page .header-con .navbar-collapse.show {
        padding: 14px 16px 16px;
        background: #ffffff;
        border: 1px solid #e3edf4;
        border-radius: 16px;
        box-shadow: 0 14px 28px rgba(22, 53, 77, 0.10);
    }

    .dentists-page .header-con .navbar-nav,
    .services-page .header-con .navbar-nav {
        align-items: stretch;
    }

    .dentists-page .dentist-profile-card,
    .services-page .dentist-profile-card {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .dentists-page .clinic-sub-banner,
    .services-page .clinic-sub-banner {
        padding: 30px 20px !important;
    }

    .dentists-page .dentists-team-section,
    .services-page .services-catalog-section,
    .services-page .services-process-section {
        padding-top: 28px !important;
        padding-bottom: 32px !important;
    }

    .dentists-page .dentist-profile-card > img {
        width: 120px !important;
        height: 140px !important;
    }

    .services-page .service-card-body {
        min-height: 230px;
        padding: 14px 13px 15px;
    }

    .services-page .service-card-body h3 {
        font-size: 16px;
    }

    .services-page .service-card-body p {
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .dentists-page .dentist-profile-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px !important;
    }

    .dentists-page .dentist-profile-card > img {
        width: 100% !important;
        height: 220px !important;
        object-position: center 18%;
    }

    .dentists-page .dentists-support-grid > [class*="col-"] {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .dentists-page .dentist-support-card {
        padding: 9px !important;
    }

    .dentists-page .dentist-support-card h3 {
        font-size: 14px;
    }

    .dentists-page .dentist-support-card p.small {
        font-size: 11px;
    }

    .contact-map-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .contact-map-review-link {
        white-space: normal;
    }
}

/* Final shared button tokens win over legacy page and breakpoint rules. */
a.primary_btn,
a.secondary_btn,
button.primary_btn.custom-btn,
.header-contact .contact-btn,
.dentist-profile-card .btn,
.team-roster-grid article .btn,
[data-book-cta].btn {
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-page .banner-con a.primary_btn,
.home-page .banner-con a.secondary_btn,
.home-page .header-contact .contact-btn,
.home-page .team-roster-grid article .btn,
.dentists-page .dentist-profile-card .btn,
.booking-page .booking-card button.primary_btn.custom-btn {
    min-width: 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 60px 0 24px !important;
    border-radius: 999px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
}

.home-page .banner-con a.primary_btn > span,
.home-page .banner-con a.secondary_btn > span,
.home-page .patient-trust-con a.primary_btn > span,
.home-page .team-roster-grid article .btn > span,
.booking-page .booking-card button.primary_btn.custom-btn > span {
    top: 6px !important;
    right: 6px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

a.primary_btn > span,
button.primary_btn.custom-btn > span {
    background: #ffffff !important;
}

a.secondary_btn > span {
    background: #28b9e7 !important;
}

.home-page .header-contact .contact-btn::after,
.home-page a.primary_btn:not(:has(> span))::after,
.home-page a.secondary_btn:not(:has(> span))::after,
.booking-page [data-book-cta].btn::after,
.dentists-page .dentist-profile-card .btn:not(:has(> span))::after,
[data-book-cta].btn::after {
    content: "↗";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1e293b;
    background: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1;
}

a.primary_btn,
a.secondary_btn,
button.primary_btn.custom-btn,
.header-contact .contact-btn,
.dentist-profile-card .btn,
.team-roster-grid article .btn,
[data-book-cta].btn {
    min-width: 0 !important;
    min-height: 52px !important;
    height: 52px !important;
    padding: 0 60px 0 24px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    font-family: "Inter", sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

a.primary_btn,
button.primary_btn.custom-btn,
.header-contact .contact-btn,
.dentist-profile-card .btn-primary,
.team-roster-grid article .btn-primary,
[data-book-cta].btn:not(.btn-outline-primary) {
    color: #ffffff !important;
    background: #0875ad !important;
    box-shadow: 0 5px 14px rgba(8, 117, 173, 0.16) !important;
}

a.secondary_btn,
.dentist-profile-card .btn-outline-primary,
.team-roster-grid article .btn-outline-primary,
[data-book-cta].btn.btn-outline-primary {
    color: #0875ad !important;
    background: #ffffff !important;
    border-color: #d5e5ef !important;
}

a.primary_btn:hover,
button.primary_btn.custom-btn:hover,
.header-contact .contact-btn:hover,
.dentist-profile-card .btn-primary:hover,
.team-roster-grid article .btn-primary:hover,
[data-book-cta].btn:not(.btn-outline-primary):hover {
    color: #ffffff !important;
    background: #056494 !important;
    box-shadow: 0 8px 18px rgba(8, 117, 173, 0.22) !important;
    transform: translateY(-1px);
}

a.secondary_btn:hover,
.dentist-profile-card .btn-outline-primary:hover,
.team-roster-grid article .btn-outline-primary:hover,
[data-book-cta].btn.btn-outline-primary:hover {
    color: #056494 !important;
    background: #f3f9fd !important;
    border-color: #a9cfe4 !important;
    transform: translateY(-1px);
}

a.primary_btn > span,
a.secondary_btn > span,
button.primary_btn.custom-btn > span {
    top: 6px !important;
    right: 6px !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
}

a.primary_btn > span img,
a.secondary_btn > span img,
button.primary_btn.custom-btn > span img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

a.secondary_btn > span {
    background: #28b9e7 !important;
}

a.secondary_btn > span img {
    filter: brightness(0) invert(1) !important;
}

.header-contact .contact-btn::after,
a.primary_btn:not(:has(> span))::after,
a.secondary_btn:not(:has(> span))::after,
[data-book-cta].btn::after {
    content: "↗";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #1e293b;
    background: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1;
}

.home-page .patient-trust-con .heading-title-con > a.primary_btn {
    margin-top: 18px;
}

@media (max-width: 575.98px) {
    .home-page .banner-con a.primary_btn,
    .home-page .banner-con a.secondary_btn,
    .home-page .header-contact .contact-btn,
    .home-page .team-roster-grid article .btn,
    .dentists-page .dentist-profile-card .btn,
    .booking-page .booking-card button.primary_btn.custom-btn,
    a.primary_btn,
    a.secondary_btn,
    button.primary_btn.custom-btn,
    .header-contact .contact-btn,
    .dentist-profile-card .btn,
    .team-roster-grid article .btn,
    [data-book-cta].btn {
        min-height: 48px !important;
        height: 48px !important;
        padding: 0 54px 0 18px !important;
        font-size: 14px !important;
    }

    .home-page .banner-con a.primary_btn > span,
    .home-page .banner-con a.secondary_btn > span,
    .home-page .patient-trust-con a.primary_btn > span,
    .home-page .team-roster-grid article .btn > span,
    .booking-page .booking-card button.primary_btn.custom-btn > span,
    a.primary_btn > span,
    a.secondary_btn > span,
    button.primary_btn.custom-btn > span,
    .header-contact .contact-btn::after,
    a.primary_btn:not(:has(> span))::after,
    a.secondary_btn:not(:has(> span))::after,
    [data-book-cta].btn::after {
        top: 4px;
        right: 4px;
        width: 38px;
        height: 38px;
    }
}

/* ==========================================================================
   About page (.about-page): photo-led hero, facts, lead surgeon, compact team
   ========================================================================== */
.about-page main h2 {
    margin: 0 0 10px;
    color: var(--black--family--color);
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.about-page .about-section-intro {
    max-width: 56ch;
    margin: 0 0 28px;
    color: var(--text--color);
    font-size: 16px;
    line-height: 1.6;
}

.about-page .about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
}

.about-page .about-text-link {
    color: var(--primary--color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.about-page .about-text-link:hover {
    color: #005482;
}

/* Hero */
.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 48px;
    padding: 48px;
    background: var(--bg--color);
    border-radius: 24px;
}

.about-hero .about-crumbs {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    color: #52667a;
    font-size: 14px;
}

.about-hero .about-crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: #94a3b8;
}

.about-hero .about-crumbs a {
    color: var(--primary--color);
}

.about-hero h1 {
    margin: 0 0 18px;
    color: var(--black--family--color);
    font-size: clamp(34px, 4.4vw, 54px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.025em;
}

.about-hero .about-lead {
    max-width: 46ch;
    margin: 0 0 16px;
    color: #43536a;
    font-size: 18px;
    line-height: 1.6;
}

.about-hero .about-rating {
    margin: 0 0 26px;
    color: var(--black--family--color);
    font-size: 14px;
    font-weight: 600;
}

.about-hero .about-rating i {
    margin-right: 4px;
    color: #e0a100;
}

.about-hero-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 18px;
}

/* Key facts */
.about-facts {
    padding: 34px 0 0;
}

.about-facts-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    border-bottom: 1px solid var(--border--color);
}

.about-facts-list > div {
    padding: 4px 24px 30px;
    border-left: 1px solid var(--border--color);
}

.about-facts-list > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.about-facts-list dt {
    margin-bottom: 6px;
    color: #52667a;
    font-size: 13px;
    font-weight: 500;
}

.about-facts-list dd {
    margin: 0;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
}

.about-facts-list dd a {
    color: var(--primary--color);
}

/* What to expect */
.about-care {
    padding: 72px 0;
}

.about-care-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.about-care-photo img {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    object-position: center 60%;
    border-radius: 20px;
}

.about-care-list {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
}

.about-care-list li {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
}

.about-care-list li > i {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--primary--color);
    background: var(--lavender--color2);
    border-radius: 12px;
    font-size: 18px;
}

.about-care-list h3 {
    margin: 0 0 4px;
    color: var(--black--family--color);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.about-care-list p {
    max-width: 52ch;
    margin: 0;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.6;
}

/* Lead surgeon */
.about-lead-surgeon {
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    align-items: center;
    gap: 52px;
    padding: 40px;
    color: #ffffff;
    background: var(--black--family--color2);
    border-radius: 24px;
}

.about-lead-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top center;
    border-radius: 18px;
}

.about-lead-surgeon .about-lead-role {
    margin: 0 0 6px;
    color: var(--accent--color);
    font-size: 15px;
    font-weight: 600;
}

.about-page main .about-lead-surgeon h2 {
    margin-bottom: 22px;
    color: #ffffff;
    font-size: clamp(30px, 3.6vw, 44px);
}

.about-credentials {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
}

.about-credentials li {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.5;
}

.about-credentials li i {
    margin-top: 4px;
    color: var(--accent--color);
    font-size: 14px;
}

.about-page .about-lead-surgeon .about-text-link {
    color: #ffffff;
}

.about-page .about-lead-surgeon .about-text-link:hover {
    color: var(--accent--color);
}

.about-lead-surgeon a:focus-visible {
    outline-color: var(--accent--color) !important;
}

/* Team */
.about-team {
    padding: 72px 0;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
}

.about-team-grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: top center;
    margin-bottom: 12px;
    background: var(--bg--color);
    border-radius: 14px;
}

.about-team-grid h3 {
    margin: 0 0 2px;
    color: var(--black--family--color);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
}

.about-team-grid p {
    margin: 0;
    color: var(--primary--color);
    font-size: 13px;
    font-weight: 600;
}

/* Reviews + location */
.about-proof {
    padding: 72px 0;
    background: var(--bg--color);
}

.about-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px;
}

.about-page main .about-proof h2 {
    margin-bottom: 24px;
}

.about-quote {
    margin: 0 0 26px;
    padding-left: 20px;
    border-left: 3px solid var(--accent--color);
}

.about-quote blockquote {
    margin: 0;
}

.about-quote blockquote p {
    margin: 0 0 8px;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.45;
}

.about-quote figcaption {
    color: #52667a;
    font-size: 14px;
}

.about-map {
    position: relative;
    height: 280px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--border--color);
    border-radius: 18px;
}

.about-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.about-address {
    margin: 0 0 8px;
    color: var(--black--family--color);
    font-size: 15px;
    line-height: 1.55;
}

/* Closing call to action */
.about-close {
    padding: 56px 0 24px;
}

.about-close-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.about-close-inner p {
    color: var(--text--color);
    font-size: 16px;
}

@media (max-width: 991.98px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 32px;
    }

    .about-facts-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-facts-list > div {
        padding: 18px 20px;
        border-top: 1px solid var(--border--color);
    }

    .about-facts-list > div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

    .about-facts-list > div:nth-child(-n+2) {
        padding-top: 0;
        border-top: 0;
    }

    .about-care,
    .about-team,
    .about-proof {
        padding: 52px 0;
    }

    .about-care-grid,
    .about-proof-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-care-photo img {
        height: 300px;
    }

    .about-lead-surgeon {
        grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
        gap: 28px;
        padding: 28px;
        align-items: start;
    }

    .about-team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .about-hero {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .about-hero .about-lead {
        font-size: 16px;
    }

    .about-page .about-actions .primary_btn,
    .about-page .about-actions .secondary_btn {
        width: 100%;
    }

    .about-facts-list dd {
        font-size: 15px;
    }

    .about-lead-surgeon {
        grid-template-columns: 1fr;
        padding: 20px;
        border-radius: 18px;
    }

    .about-lead-photo {
        aspect-ratio: 4 / 3;
    }

    .about-team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
    }

    .about-team-grid h3 {
        font-size: 15px;
    }

    .about-quote blockquote p {
        font-size: 18px;
    }

    .about-close {
        padding-top: 40px;
    }
}

/* ==========================================================================
   Homepage conversion sections (.hp-*): quick booking, services, why,
   steps, dentists, visit, closing band. Hero and reviews keep their styles.
   ========================================================================== */
.home-page main [class^="hp-"] h2 {
    margin: 0 0 10px;
    color: var(--black--family--color);
    font-size: clamp(27px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.hp-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 32px;
    margin-bottom: 32px;
}

.hp-section-head p {
    max-width: 56ch;
    margin: 0;
    color: var(--text--color);
    font-size: 16px;
    line-height: 1.6;
}

.hp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 20px;
}

.home-page .hp-text-link {
    color: var(--primary--color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.home-page .hp-text-link:hover {
    color: #005482;
}

/* Quick booking */
.hp-book {
    padding: 28px 0 0;
    scroll-margin-top: 96px;
}

.hp-book-card {
    padding: 32px 36px 26px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(22, 53, 77, 0.10);
}

.hp-book-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 24px;
    margin-bottom: 22px;
}

.home-page main .hp-book-head h2 {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 30px);
}

.hp-book-head p {
    flex: 1 1 320px;
    margin: 0;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.55;
}

.hp-book-fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    align-items: start;
    gap: 14px;
}

.hp-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--black--family--color);
    font-size: 13px;
    font-weight: 600;
}

.hp-field input,
.hp-field select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 14px;
    color: var(--black--family--color);
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.hp-field input::placeholder {
    color: #8a97a6;
}

.hp-field input:focus,
.hp-field select:focus {
    background: #ffffff;
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(0, 109, 168, 0.14);
}

.hp-field .is-invalid {
    border-color: #c53030;
    background: #fff5f5;
}

.hp-submit {
    height: 52px;
    margin-top: 25px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #ffffff;
    background: #0875ad;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(8, 117, 173, 0.22);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 160ms ease, transform 160ms ease;
}

.hp-submit i {
    font-size: 19px;
}

.hp-submit:hover {
    background: #056494;
    transform: translateY(-1px);
}

.hp-consent {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    margin-top: 16px;
}

.hp-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--primary--color);
}

.hp-consent label {
    margin: 0;
    color: #52667a;
    font-size: 13px;
    line-height: 1.55;
}

.hp-consent a,
.hp-book-alt a,
.hp-services-note a {
    color: var(--primary--color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp-consent .field-error {
    grid-column: 2;
}

.hp-book-alt {
    margin: 18px 0 0;
    padding-top: 16px;
    color: var(--text--color);
    border-top: 1px solid #e6eef4;
    font-size: 14px;
}

/* Trust facts */
.hp-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 36px 0 0;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--border--color);
}

.hp-facts > div {
    padding: 2px 24px;
    border-left: 1px solid var(--border--color);
}

.hp-facts > div:first-child {
    padding-left: 0;
    border-left: 0;
}

.hp-facts dt {
    margin-bottom: 4px;
    color: #52667a;
    font-size: 13px;
    font-weight: 500;
}

.hp-facts dd {
    margin: 0;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

/* Services */
.hp-services {
    padding: 72px 0;
}

.hp-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px 22px;
    margin: 0;
    padding: 0;
}

.hp-service {
    display: block;
    color: inherit;
    text-decoration: none;
}

.hp-service:hover {
    color: inherit;
    text-decoration: none;
}

.hp-service img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    margin-bottom: 14px;
    background: var(--bg--color);
    border-radius: 16px;
    transition: transform 220ms ease;
}

.hp-service:hover img {
    transform: translateY(-3px);
}

.hp-service h3 {
    margin: 0 0 4px;
    color: var(--black--family--color);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.hp-service:hover h3 {
    color: var(--primary--color);
}

.hp-service p {
    margin: 0;
    color: var(--text--color);
    font-size: 14px;
    line-height: 1.55;
}

.hp-services-note {
    margin: 36px 0 0;
    color: var(--text--color);
    font-size: 15px;
}

/* Why Optimist */
.hp-why {
    padding: 8px 0 72px;
}

.hp-why-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
    align-items: center;
    gap: 60px;
}

.hp-why-photo img {
    display: block;
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center 55%;
    border-radius: 22px;
}

.hp-why-lead {
    max-width: 54ch;
    margin: 0 0 22px;
    color: var(--text--color);
    font-size: 17px;
    line-height: 1.65;
}

.hp-why-list {
    display: grid;
    gap: 12px;
    margin: 0 0 30px;
    padding: 0;
}

.hp-why-list li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    color: var(--black--family--color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.45;
}

.hp-why-list i {
    margin-top: 3px;
    color: var(--primary--color);
    font-size: 17px;
}

/* How booking works */
.hp-steps {
    padding: 56px 0;
    background: var(--bg--color);
    border-radius: 26px;
}

.home-page main .hp-steps h2 {
    margin-bottom: 30px;
}

.hp-steps-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin: 0;
    padding: 0;
}

.hp-step-num {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    color: #ffffff;
    background: var(--primary--color);
    border-radius: 50%;
    font-family: "Urbanist", sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.hp-steps-list h3 {
    margin: 0 0 6px;
    color: var(--black--family--color);
    font-size: 20px;
    font-weight: 700;
}

.hp-steps-list p {
    max-width: 36ch;
    margin: 0;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.6;
}

/* Dentists */
.hp-dentists {
    padding: 72px 0 24px;
}

.hp-dentist-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.hp-dentist {
    display: grid;
    grid-template-columns: 168px 1fr;
    gap: 24px;
    align-items: start;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 20px;
}

.hp-dentist img {
    display: block;
    width: 168px;
    height: 210px;
    object-fit: cover;
    object-position: top center;
    border-radius: 14px;
}

.hp-dentist h3 {
    margin: 4px 0 2px;
    color: var(--black--family--color);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
}

.hp-dentist .hp-dentist-role {
    margin: 0 0 10px;
    color: var(--primary--color);
    font-size: 14px;
    font-weight: 600;
}

.hp-dentist p {
    margin: 0 0 18px;
    color: var(--text--color);
    font-size: 14px;
    line-height: 1.6;
}

.home-page .hp-btn-solid {
    min-height: 44px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background: #0875ad;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease;
}

.home-page .hp-btn-solid:hover {
    color: #ffffff;
    background: #056494;
}

/* Visit */
.hp-visit {
    padding: 72px 0;
}

.hp-visit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: 56px;
}

.hp-map {
    position: relative;
    height: 400px;
    overflow: hidden;
    border: 1px solid var(--border--color);
    border-radius: 22px;
}

.hp-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hp-visit-list {
    margin: 18px 0 28px;
}

.hp-visit-list > div {
    padding: 14px 0;
    border-top: 1px solid var(--border--color);
}

.hp-visit-list > div:first-child {
    border-top: 0;
    padding-top: 0;
}

.hp-visit-list dt {
    margin-bottom: 3px;
    color: #52667a;
    font-size: 13px;
    font-weight: 500;
}

.hp-visit-list dd {
    margin: 0;
    color: var(--black--family--color);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.hp-visit-list dd a {
    color: var(--primary--color);
    font-weight: 600;
}

/* Closing band */
.hp-close {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
    padding: 48px 56px;
    background: var(--black--family--color2);
    border-radius: 26px;
}

.home-page main .hp-close h2 {
    margin-bottom: 6px;
    color: #ffffff;
}

.hp-close p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
}

.hp-close a:focus-visible {
    outline-color: var(--accent--color) !important;
}

@media (max-width: 1199.98px) {
    .hp-book-fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hp-submit {
        grid-column: 1 / -1;
        margin-top: 4px;
    }
}

@media (max-width: 991.98px) {
    .hp-services,
    .hp-visit {
        padding: 52px 0;
    }

    .hp-why {
        padding: 0 0 52px;
    }

    .hp-dentists {
        padding: 52px 0 12px;
    }

    .hp-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 22px;
    }

    .hp-facts > div:nth-child(odd) {
        padding-left: 0;
        border-left: 0;
    }

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

    .hp-why-grid,
    .hp-visit-grid,
    .hp-dentist-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hp-dentist-grid {
        gap: 18px;
    }

    .hp-why-photo img {
        height: 300px;
    }

    .hp-steps {
        padding: 44px 8px;
    }

    .hp-steps-list {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .hp-steps-list li {
        display: grid;
        grid-template-columns: 44px 1fr;
        column-gap: 16px;
    }

    .hp-step-num {
        grid-row: 1 / span 2;
        margin-bottom: 0;
    }

    .hp-steps-list p {
        max-width: none;
    }

    .hp-map {
        height: 300px;
    }

    .hp-close {
        padding: 36px 28px;
    }
}

@media (max-width: 575.98px) {
    .hp-book {
        padding-top: 18px;
    }

    .hp-book-card {
        padding: 22px 18px 20px;
        border-radius: 18px;
    }

    .hp-book-fields {
        grid-template-columns: 1fr;
    }

    .hp-facts dd {
        font-size: 18px;
    }

    .hp-facts > div {
        padding: 0 14px;
    }

    .hp-service-grid {
        gap: 22px 14px;
    }

    .hp-service h3 {
        font-size: 16px;
    }

    .hp-service p {
        font-size: 13px;
    }

    .hp-dentist {
        grid-template-columns: 96px 1fr;
        gap: 16px;
        padding: 16px;
    }

    .hp-dentist img {
        width: 96px;
        height: 120px;
    }

    .hp-dentist h3 {
        margin-top: 0;
        font-size: 19px;
    }

    .hp-actions .primary_btn,
    .hp-actions .secondary_btn {
        width: 100%;
    }

    .hp-close {
        padding: 30px 20px;
        border-radius: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-service img,
    .hp-submit {
        transition: none;
    }
}

/* Homepage: booking form now sits after the value sections */
.hp-facts-wrap {
    padding: 34px 0 0;
}

.hp-facts-wrap .hp-facts {
    margin-top: 0;
}

.hp-dentists {
    padding-bottom: 40px;
}

.hp-booking {
    scroll-margin-top: 96px;
}

.hp-booking .hp-book-card {
    margin-top: 40px;
}

.hp-book-head h3 {
    margin: 0;
    color: var(--black--family--color);
    font-size: clamp(22px, 2.2vw, 27px);
    font-weight: 700;
    line-height: 1.15;
}

@media (max-width: 991.98px) {
    .hp-booking .hp-book-card {
        margin-top: 30px;
    }
}

@media (max-width: 575.98px) {
    .hp-booking.hp-steps {
        padding: 36px 0;
    }
}

/* ==========================================================================
   Site header (.site-topbar, .site-header): one menu for every page.
   Uses its own class names so no page-specific rule can restyle it.
   ========================================================================== */
.site-topbar {
    clear: both;
    width: 100%;
    color: #ffffff;
    background: var(--black--family--color2);
    font-size: 13px;
    line-height: 1.4;
}

.site-topbar-inner,
.site-header-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-topbar-inner {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
}

.site-topbar ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.site-topbar-info {
    gap: 6px 26px;
    min-width: 0;
}

.site-topbar-info li {
    white-space: nowrap;
}

.site-topbar-info i {
    margin-right: 6px;
    color: var(--accent--color);
}

.site-topbar a {
    color: #ffffff;
    text-decoration: none;
}

.site-topbar-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-topbar-social {
    gap: 4px;
    flex-shrink: 0;
}

.site-topbar-social a {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 14px;
    transition: background-color 160ms ease;
}

.site-topbar-social a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.16);
}

.site-topbar a:focus-visible {
    outline: 3px solid var(--accent--color) !important;
    outline-offset: 2px !important;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    clear: both;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e3ecf3;
    box-shadow: 0 4px 16px rgba(22, 53, 77, 0.05);
}

.site-header-inner {
    position: relative;
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.site-logo img {
    display: block;
    width: auto;
    height: 50px;
}

.site-menu {
    flex: 1 1 auto;
    min-width: 0;
}

.site-menu-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin: 0;
    padding: 0;
}

.site-menu-list a {
    display: block;
    padding: 10px 15px;
    color: #34445a;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease, background-color 160ms ease;
}

.site-menu-list a:hover {
    color: var(--primary--color);
    background: #f1f8fd;
}

.site-menu-list a[aria-current="page"] {
    color: var(--primary--color);
    background: #e3f1fa;
}

.site-menu-actions {
    display: none;
}

.site-header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.site-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--black--family--color);
    text-decoration: none;
}

.site-header-phone:hover {
    color: var(--primary--color);
    text-decoration: none;
}

.site-header-phone-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--primary--color);
    background: #e3f1fa;
    border-radius: 50%;
    font-size: 15px;
}

.site-header-phone-text small {
    display: block;
    color: #617184;
    font-size: 12px;
    line-height: 1.3;
}

.site-header-phone-text strong {
    display: block;
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.site-header-book {
    min-height: 46px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    background: #0875ad;
    border-radius: 999px;
    box-shadow: 0 5px 14px rgba(8, 117, 173, 0.18);
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, transform 160ms ease;
}

.site-header-book:hover {
    color: #ffffff;
    background: #056494;
    text-decoration: none;
    transform: translateY(-1px);
}

.site-nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    margin-left: auto;
    padding: 0;
    color: var(--primary--color);
    background: #f1f8fd;
    border: 1px solid #d9e7f1;
    border-radius: 14px;
    font-size: 19px;
    cursor: pointer;
}

.site-nav-toggle .fa-xmark,
.site-nav-toggle[aria-expanded="true"] .fa-bars {
    display: none;
}

.site-nav-toggle[aria-expanded="true"] .fa-xmark {
    display: inline-block;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .site-header-inner {
        gap: 12px;
    }

    .site-logo img {
        height: 44px;
    }

    .site-menu-list {
        gap: 0;
    }

    .site-menu-list a {
        padding: 9px 11px;
        font-size: 14px;
    }

    .site-header-actions {
        gap: 10px;
    }

    .site-header-phone-text {
        display: none;
    }

    .site-topbar-info {
        gap: 6px 18px;
    }
}

@media (max-width: 991.98px) {
    .site-topbar {
        font-size: 12px;
    }

    .site-topbar-inner {
        min-height: 34px;
        padding: 0 16px;
        justify-content: center;
    }

    .site-topbar-address,
    .site-topbar-social {
        display: none !important;
    }

    .site-header-inner {
        min-height: 66px;
        padding: 0 16px;
    }

    .site-logo img {
        height: 44px;
    }

    .site-nav-toggle {
        display: inline-grid;
        place-items: center;
    }

    .site-header-actions {
        display: none;
    }

    .site-menu {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        max-height: calc(100vh - 120px);
        padding: 8px 16px 18px;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        background: #ffffff;
        border-top: 1px solid #e3ecf3;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 18px 32px rgba(22, 53, 77, 0.14);
        transform: translateY(-6px);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
    }

    .site-menu.show {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .site-menu-list {
        display: block;
    }

    .site-menu-list li + li {
        border-top: 1px solid #edf2f6;
    }

    .site-menu-list a {
        padding: 15px 12px;
        border-radius: 10px;
        font-size: 16px;
    }

    .site-menu-actions {
        display: grid;
        gap: 10px;
        margin-top: 14px;
    }

    .site-menu-actions .site-header-book {
        min-height: 50px;
    }

    .site-menu-call {
        min-height: 50px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: var(--primary--color);
        background: #ffffff;
        border: 1px solid #c9dfec;
        border-radius: 999px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
    }

    .site-menu-call:hover {
        color: #005482;
        background: #f1f8fd;
        text-decoration: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-menu,
    .site-header-book,
    .site-menu-list a {
        transition: none;
    }
}

/* ==========================================================================
   Contact page (.ct-*): same hero, form and map language as Home and About
   ========================================================================== */
.contact-page main h2 {
    margin: 0 0 8px;
    color: var(--black--family--color);
    font-size: clamp(25px, 2.6vw, 32px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.015em;
}

.ct-hero {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.ct-hero .about-lead {
    margin-bottom: 26px;
}

.ct-details {
    padding: 28px 30px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 20px;
}

.ct-details .hp-visit-list {
    margin: 0;
}

.ct-details .hp-visit-list > div:last-child {
    padding-bottom: 0;
}

.ct-hours {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-variant-numeric: tabular-nums;
}

.ct-main {
    padding: 64px 0 40px;
}

.ct-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 48px;
}

.ct-intro {
    margin: 0 0 22px;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.6;
}

.ct-map-actions {
    margin-top: 20px;
}

.ct-link,
.ct-faq a {
    color: var(--primary--color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.ct-link:hover,
.ct-faq a:hover {
    color: #005482;
}

.ct-link span {
    color: #e0a100;
}

.ct-form-card {
    padding: 32px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 22px;
    box-shadow: 0 18px 44px rgba(22, 53, 77, 0.08);
}

.ct-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
}

.ct-field-wide {
    grid-column: 1 / -1;
}

.hp-field textarea {
    display: block;
    width: 100%;
    padding: 12px 14px;
    color: var(--black--family--color);
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.hp-field textarea::placeholder {
    color: #8a97a6;
}

.hp-field textarea:focus {
    background: #ffffff;
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(0, 109, 168, 0.14);
}

.ct-submit {
    width: 100%;
    margin-top: 20px;
}

.ct-faq {
    margin: 40px 0 0;
    padding-top: 24px;
    color: var(--text--color);
    border-top: 1px solid var(--border--color);
    font-size: 15px;
}

@media (max-width: 991.98px) {
    .ct-hero {
        grid-template-columns: 1fr;
    }

    .ct-main {
        padding: 44px 0 24px;
    }

    .ct-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 575.98px) {
    .ct-details {
        padding: 20px 18px;
    }

    .ct-form-card {
        padding: 22px 18px;
        border-radius: 18px;
    }

    .ct-fields {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Site footer (.site-footer): one footer for every page
   ========================================================================== */
.site-footer {
    clear: both;
    float: left;
    width: 100%;
    margin-top: 72px;
    color: rgba(255, 255, 255, 0.82);
    background: var(--black--family--color2);
    border-radius: 28px 28px 0 0;
    font-size: 15px;
    line-height: 1.6;
}

.site-footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 0;
}

.site-footer-top {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1.05fr);
    gap: 40px 48px;
    padding-bottom: 44px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: color 160ms ease;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-footer a:focus-visible {
    outline: 3px solid var(--accent--color) !important;
    outline-offset: 2px !important;
}

.site-footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 14px;
    background: #ffffff;
    border-radius: 14px;
}

.site-footer-logo img {
    display: block;
    width: auto;
    height: 44px;
}

.site-footer-brand p {
    max-width: 34ch;
    margin: 0 0 20px;
}

.site-footer ul {
    margin: 0;
    padding: 0;
}

.site-footer-social {
    display: flex;
    gap: 10px;
}

.site-footer-social a {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    font-size: 16px;
    transition: background-color 160ms ease;
}

.site-footer-social a:hover {
    background: var(--primary--color);
    text-decoration: none;
}

.site-footer h2 {
    margin: 4px 0 18px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.site-footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 20px;
}

.site-footer-contact {
    display: grid;
    gap: 13px;
}

.site-footer-contact li {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: start;
}

.site-footer-contact i {
    margin-top: 5px;
    color: var(--accent--color);
    font-size: 14px;
    text-align: center;
}

.site-footer-cta p {
    margin: 0 0 16px;
}

.site-footer .site-footer-book,
.site-footer .site-footer-wa {
    width: 100%;
    max-width: 260px;
    min-height: 48px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.site-footer .site-footer-book {
    margin-bottom: 10px;
    color: #10283b;
    background: var(--accent--color);
}

.site-footer .site-footer-book:hover {
    color: #10283b;
    background: #6bd6fd;
}

.site-footer .site-footer-wa {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.34);
}

.site-footer .site-footer-wa:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.6);
}

.site-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
    padding: 20px 0 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 14px;
}

.site-footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.site-footer-bottom ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 24px;
}

@media (max-width: 1099.98px) {
    .site-footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .site-footer {
        margin-top: 52px;
        border-radius: 22px 22px 0 0;
    }

    .site-footer-inner {
        padding: 40px 20px 0;
    }
}

@media (max-width: 575.98px) {
    .site-footer-top {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-bottom: 32px;
    }

    .site-footer .site-footer-book,
    .site-footer .site-footer-wa {
        max-width: none;
    }

    .site-footer-bottom {
        padding-bottom: 20px;
    }
}

/* ==========================================================================
   Blog (.bl-*): index and article pages
   ========================================================================== */
.bl-hero {
    grid-template-columns: 1fr;
    gap: 0;
}

.bl-hero h1 {
    max-width: 24ch;
}

.bl-hero-article h1 {
    max-width: 28ch;
    font-size: clamp(30px, 3.8vw, 46px);
    line-height: 1.1;
}

.bl-hero .about-lead {
    margin-bottom: 26px;
}

.bl-topic {
    margin: 0 0 10px;
    color: var(--primary--color);
    font-size: 14px;
    font-weight: 600;
}

.bl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 22px;
    margin: 0;
    color: #52667a;
    font-size: 14px;
}

.bl-meta i {
    margin-right: 6px;
    color: var(--primary--color);
}

.bl-search {
    position: relative;
    max-width: 520px;
}

.bl-search i {
    position: absolute;
    top: 50%;
    left: 18px;
    color: #6b7c8f;
    transform: translateY(-50%);
}

.bl-search input {
    display: block;
    width: 100%;
    height: 54px;
    padding: 0 18px 0 46px;
    color: var(--black--family--color);
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

.bl-search input:focus {
    border-color: var(--primary--color);
    box-shadow: 0 0 0 3px rgba(0, 109, 168, 0.14);
}

.bl-index {
    padding: 44px 0 0;
}

.bl-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px 24px;
    margin-bottom: 28px;
}

.bl-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bl-chip {
    min-height: 40px;
    padding: 0 16px;
    color: #34445a;
    background: #ffffff;
    border: 1px solid #cfdde8;
    border-radius: 999px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.bl-chip:hover {
    color: var(--primary--color);
    border-color: #8bb9d4;
}

.bl-chip[aria-pressed="true"] {
    color: #ffffff;
    background: var(--primary--color);
    border-color: var(--primary--color);
}

.bl-count {
    margin: 0;
    color: #52667a;
    font-size: 14px;
}

.bl-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
}

.bl-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 18px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bl-card:hover {
    border-color: #9cc6de;
    box-shadow: 0 12px 28px rgba(22, 53, 77, 0.08);
}

.bl-card h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: 0;
}

.bl-card h2 a {
    color: var(--black--family--color);
    text-decoration: none;
}

.bl-card h2 a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
}

.bl-card:hover h2 a {
    color: var(--primary--color);
}

.bl-card p {
    margin: 0 0 18px;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.6;
}

.bl-card .bl-read {
    margin: auto 0 0;
    color: #52667a;
    font-size: 13px;
}

.bl-empty {
    margin: 12px 0 0;
    padding: 28px;
    color: var(--text--color);
    background: var(--bg--color);
    border-radius: 16px;
    font-size: 16px;
}

/* Article */
.bl-article-wrap {
    padding: 52px 0 0;
}

.bl-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 64px;
}

.bl-body {
    max-width: 70ch;
    color: #334155;
    font-size: 17px;
    line-height: 1.75;
}

.bl-body > :first-child {
    margin-top: 0;
}

.bl-body p {
    margin: 0 0 20px;
}

.bl-body h2 {
    margin: 40px 0 14px;
    color: var(--black--family--color);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.bl-body h3 {
    margin: 30px 0 10px;
    color: var(--black--family--color);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.bl-body ul {
    margin: 0 0 22px;
    padding-left: 22px;
}

.bl-body li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.bl-body li::marker {
    color: var(--primary--color);
}

.bl-body a {
    color: var(--primary--color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bl-aside {
    position: sticky;
    top: 104px;
    padding: 26px;
    background: var(--bg--color);
    border: 1px solid var(--border--color);
    border-radius: 20px;
}

.bl-aside h2 {
    margin: 0 0 8px;
    color: var(--black--family--color);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}

.bl-aside p {
    margin: 0 0 18px;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.6;
}

.bl-aside .site-header-book {
    width: 100%;
    min-height: 50px;
    margin-bottom: 10px;
}

.bl-aside .site-menu-call {
    width: 100%;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary--color);
    background: #ffffff;
    border: 1px solid #c9dfec;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.bl-aside .site-menu-call:hover {
    color: #005482;
    background: #f7fbfe;
}

.bl-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 44px;
    padding: 18px 0;
    color: var(--black--family--color);
    border-top: 1px solid var(--border--color);
    border-bottom: 1px solid var(--border--color);
    font-size: 15px;
    font-weight: 600;
}

.bl-share a {
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary--color);
    border: 1px solid #c9dfec;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.bl-share a:hover {
    color: #005482;
    background: #f1f8fd;
}

.bl-pager {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.bl-pager a {
    display: block;
    padding: 20px 22px;
    color: var(--black--family--color);
    border: 1px solid var(--border--color);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.bl-pager a:hover {
    background: #f7fbfe;
    border-color: #9cc6de;
}

.bl-pager span {
    display: block;
    margin-bottom: 6px;
    color: #52667a;
    font-size: 13px;
    font-weight: 500;
}

.bl-pager strong {
    display: block;
    font-family: "Urbanist", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.bl-pager .bl-next {
    grid-column: 2;
    text-align: right;
}

.bl-back {
    margin: 26px 0 0;
}

.bl-back a {
    color: var(--primary--color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

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

    .bl-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bl-aside {
        position: static;
    }

    .bl-article-wrap {
        padding-top: 36px;
    }
}

@media (max-width: 575.98px) {
    .bl-index {
        padding-top: 30px;
    }

    .bl-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bl-card {
        padding: 20px;
    }

    .bl-chips {
        flex-wrap: nowrap;
        margin: 0 -16px;
        padding: 0 16px 4px;
        overflow-x: auto;
    }

    .bl-chip {
        flex: 0 0 auto;
    }

    .bl-body {
        font-size: 16px;
    }

    .bl-body h2 {
        margin-top: 32px;
        font-size: 23px;
    }

    .bl-pager {
        grid-template-columns: 1fr;
    }

    .bl-pager .bl-next {
        grid-column: auto;
        text-align: left;
    }
}

/* Dentist cards shared by Home and Dentists pages */
.hp-dentist .hp-btn-solid {
    min-height: 44px;
    padding: 0 20px;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background: #0875ad;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease;
}

.hp-dentist .hp-btn-solid:hover {
    color: #ffffff;
    background: #056494;
}

.hp-dentist .hp-text-link {
    color: var(--primary--color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.hp-dentist .hp-dentist-role {
    margin-bottom: 6px;
}

.hp-dentist .hp-dentist-reg {
    margin: 0 0 12px;
    color: #2f6f4f;
    font-size: 13px;
    font-weight: 600;
}

.hp-dentist .hp-dentist-reg i {
    margin-right: 4px;
}

.dn-surgeons {
    margin-bottom: 44px;
}

/* Footer text: page-level paragraph colours must not dim it */
.site-footer p,
.site-footer span {
    color: rgba(255, 255, 255, 0.82);
}

.site-footer-bottom p {
    color: rgba(255, 255, 255, 0.78);
}

/* ==========================================================================
   Dentists page (.dn-*): centred hero and a staggered row of team portraits
   ========================================================================== */
.dn-hero {
    padding: 56px 0 44px;
    text-align: center;
}

.dn-hero .dn-crumbs {
    justify-content: center;
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    color: #52667a;
    font-size: 14px;
}

.dn-hero .dn-crumbs li + li::before {
    content: "/";
    margin-right: 8px;
    color: #94a3b8;
}

.dn-hero .dn-crumbs a {
    color: var(--primary--color);
}

.dn-hero h1 {
    max-width: 18ch;
    margin: 0 auto 18px;
    color: var(--black--family--color);
    font-size: clamp(34px, 4.8vw, 58px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

.dn-hero .dn-lead {
    max-width: 58ch;
    margin: 0 auto 28px;
    color: #43536a;
    font-size: 18px;
    line-height: 1.6;
}

.dn-hero .dn-actions {
    justify-content: center;
}

.dn-team {
    padding: 0 20px 72px;
    overflow: hidden;
}

.dn-arc {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: start;
    gap: 18px;
}

.dn-person {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg--color);
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(22, 53, 77, 0.10);
    transition: transform 220ms ease, box-shadow 220ms ease;
}

/* The row rises towards the two dental surgeons in the middle */
.dn-person:nth-child(1),
.dn-person:nth-child(6) {
    margin-top: 56px;
}

.dn-person:nth-child(2),
.dn-person:nth-child(5) {
    margin-top: 28px;
}

.dn-person-lead {
    box-shadow: 0 22px 44px rgba(22, 53, 77, 0.20);
}

.dn-person:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(22, 53, 77, 0.22);
}

.dn-person > a {
    display: block;
    height: 100%;
    color: inherit;
}

.dn-person img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.dn-caption {
    position: absolute;
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 10px 12px;
    color: #ffffff;
    background: rgba(20, 36, 52, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.dn-caption strong {
    display: block;
    font-family: "Urbanist", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.dn-caption span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.90);
    font-size: 13px;
    line-height: 1.3;
}

.dn-surgeons-wrap {
    padding: 64px 0 20px;
    background: var(--bg--color);
}

.dn-surgeons-wrap h2,
.dn-talk h2 {
    margin: 0 0 10px;
    color: var(--black--family--color);
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.dn-talk {
    padding: 64px 0 0;
}

.dn-talk-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 56px;
}

.dn-talk p {
    max-width: 48ch;
    margin: 0;
    color: var(--text--color);
    font-size: 17px;
    line-height: 1.65;
}

.dn-talk-list {
    margin: 0;
}

.dn-talk-list > div {
    padding: 16px 0;
    border-top: 1px solid var(--border--color);
}

.dn-talk-list > div:first-child {
    padding-top: 0;
    border-top: 0;
}

.dn-talk-list dt {
    margin-bottom: 3px;
    color: #52667a;
    font-size: 13px;
    font-weight: 500;
}

.dn-talk-list dd {
    margin: 0;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.dn-talk-list dd a {
    color: var(--primary--color);
}

@media (max-width: 1199.98px) {
    .dn-arc {
        gap: 12px;
    }

    .dn-caption {
        right: 8px;
        bottom: 8px;
        left: 8px;
        padding: 8px 10px;
    }

    .dn-caption strong {
        font-size: 14px;
    }

    .dn-caption span {
        font-size: 12px;
    }
}

@media (max-width: 991.98px) {
    .dn-hero {
        padding: 40px 0 34px;
    }

    .dn-team {
        padding: 0 16px 52px;
    }

    .dn-arc {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    /* Dental surgeons first once the row wraps */
    .dn-person-lead {
        order: -1;
    }

    .dn-person:nth-child(n) {
        margin-top: 0;
    }

    .dn-surgeons-wrap {
        padding: 48px 0 8px;
    }

    .dn-talk {
        padding-top: 48px;
    }

    .dn-talk-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 575.98px) {
    .dn-arc {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .dn-hero .dn-lead {
        font-size: 16px;
    }

    .dn-talk-list dd {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dn-person {
        transition: none;
    }

    .dn-person:hover {
        transform: none;
    }
}

/* ==========================================================================
   Services page (.sv-*): hero, treatment list with direct booking, care steps
   ========================================================================== */
.sv-hero-actions {
    margin-top: 10px;
}

.services-page .about-hero-photo img {
    aspect-ratio: 4 / 3;
    object-position: center 55%;
}

.sv-catalog {
    padding: 64px 0;
}

.sv-heading {
    margin: 0 0 10px;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.015em;
}

.hp-section-head .sv-heading {
    max-width: none;
}

.sv-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
}

.sv-card {
    height: 100%;
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 22px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 20px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.sv-card:hover {
    border-color: #9cc6de;
    box-shadow: 0 12px 28px rgba(22, 53, 77, 0.08);
}

.sv-thumb {
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg--color);
}

.sv-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
}

.sv-body {
    display: flex;
    flex-direction: column;
    padding: 4px 4px 4px 0;
}

.sv-body h3 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.sv-body h3 a {
    color: var(--black--family--color);
    text-decoration: none;
}

.sv-card:hover h3 a {
    color: var(--primary--color);
}

.sv-body .sv-time {
    margin: 0 0 10px;
    color: var(--primary--color);
    font-size: 13px;
    font-weight: 600;
}

.sv-time i {
    margin-right: 4px;
}

.sv-body p {
    margin: 0 0 16px;
    color: var(--text--color);
    font-size: 15px;
    line-height: 1.6;
}

.sv-body .hp-actions {
    margin-top: auto;
}

.sv-book {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    background: #0875ad;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease;
}

.sv-book:hover {
    color: #ffffff;
    background: #056494;
    text-decoration: none;
}

.sv-link,
.sv-note a {
    color: var(--primary--color);
    font-size: 15px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    white-space: nowrap;
}

.sv-link:hover,
.sv-note a:hover {
    color: #005482;
}

.sv-note {
    margin: 34px 0 0;
    color: var(--text--color);
    font-size: 15px;
}

.sv-steps .sv-heading {
    margin-bottom: 30px;
}

.sv-steps-actions {
    margin-top: 36px;
}

@media (max-width: 1199.98px) {
    .sv-card {
        grid-template-columns: 150px 1fr;
        gap: 18px;
    }
}

@media (max-width: 991.98px) {
    .sv-catalog {
        padding: 44px 0;
    }

    .sv-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sv-card {
        grid-template-columns: 180px 1fr;
    }
}

@media (max-width: 575.98px) {
    .sv-card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .sv-thumb img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .sv-body {
        padding: 0 4px 4px;
    }

    .sv-body h3 {
        font-size: 20px;
    }
}

/* ==========================================================================
   Inner pages (.pg-*, .fq-*, .ts-*): treatment pages, FAQ, testimonials, legal
   ========================================================================== */
.pg-hero .pg-meta {
    margin: 0 0 24px;
}

.pg-hero.bl-hero .about-lead {
    margin-bottom: 0;
}

.pg-hero.bl-hero .about-lead + .ts-rating {
    margin-top: 16px;
}

.pg-aside-gap {
    margin-bottom: 10px;
}

.pg-checks {
    display: grid;
    gap: 12px;
    margin: 0 0 8px;
    padding: 0 !important;
}

.bl-body .pg-checks li {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 12px;
    margin: 0;
    padding: 0;
    color: var(--black--family--color);
    font-weight: 500;
}

.pg-checks i {
    margin-top: 6px;
    color: var(--primary--color);
    font-size: 16px;
}

.pg-others {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border--color);
}

.pg-others h2 {
    margin: 0 0 16px;
    color: var(--black--family--color);
    font-size: 22px;
    font-weight: 700;
}

.pg-others ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.pg-others a {
    min-height: 42px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    color: #34445a;
    background: #ffffff;
    border: 1px solid #cfdde8;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.pg-others a:hover {
    color: var(--primary--color);
    background: #f1f8fd;
    border-color: #8bb9d4;
}

.pg-legal {
    max-width: 760px;
    padding-top: 44px !important;
}

/* FAQ */
.fq-list {
    display: grid;
    gap: 12px;
}

.fq-item {
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 16px;
    transition: border-color 160ms ease;
}

.fq-item[open] {
    border-color: #9cc6de;
}

.fq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
}

.fq-item summary::-webkit-details-marker {
    display: none;
}

.fq-item summary h2 {
    margin: 0;
    color: var(--black--family--color);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
}

.fq-item summary i {
    flex-shrink: 0;
    color: var(--primary--color);
    font-size: 14px;
    transition: transform 180ms ease;
}

.fq-item[open] summary i {
    transform: rotate(180deg);
}

.fq-item summary:focus-visible {
    outline: 3px solid var(--primary--color);
    outline-offset: 2px;
    border-radius: 16px;
}

.fq-answer {
    padding: 0 22px 20px;
}

.fq-answer p {
    max-width: 66ch;
    margin: 0;
    color: #334155;
    font-size: 16px;
    line-height: 1.7;
}

/* Testimonials */
.ts-rating {
    margin: 0 0 24px;
    color: var(--black--family--color);
    font-size: 15px;
    font-weight: 600;
}

.ts-rating span,
.ts-stars {
    color: #e0a100;
}

.ts-wrap {
    padding: 52px 0 0;
}

.ts-grid {
    columns: 3;
    column-gap: 22px;
    margin: 0;
    padding: 0;
}

.ts-grid li {
    break-inside: avoid;
    margin-bottom: 22px;
}

.ts-card {
    margin: 0;
    padding: 26px;
    background: #ffffff;
    border: 1px solid var(--border--color);
    border-radius: 18px;
}

.ts-card .ts-stars {
    margin: 0 0 12px;
    font-size: 16px;
    letter-spacing: 2px;
}

.ts-card blockquote {
    margin: 0 0 18px;
}

.ts-card blockquote p {
    margin: 0;
    color: var(--black--family--color);
    font-size: 16px;
    line-height: 1.65;
}

.ts-card figcaption strong {
    display: block;
    color: var(--black--family--color);
    font-family: "Urbanist", sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.ts-card figcaption span {
    display: block;
    color: #52667a;
    font-size: 13px;
}

@media (max-width: 991.98px) {
    .ts-grid {
        columns: 2;
    }

    .ts-wrap {
        padding-top: 36px;
    }
}

@media (max-width: 575.98px) {
    .ts-grid {
        columns: 1;
    }

    .ts-grid li {
        margin-bottom: 14px;
    }

    .fq-item summary {
        padding: 16px 18px;
    }

    .fq-item summary h2 {
        font-size: 17px;
    }

    .fq-answer {
        padding: 0 18px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fq-item summary i {
        transition: none;
    }
}

/* Mobile bottom bar: WhatsApp in its own green so it reads as a distinct action */
@media (max-width: 991px) {
    .mobile-sticky-bar a[href*="wa.me"] {
        color: #06301c;
        background: #25d366;
        border-right-color: transparent;
        font-weight: 700;
    }

    .mobile-sticky-bar a[href*="wa.me"] i {
        font-size: 20px;
    }

    .mobile-sticky-bar a[href*="wa.me"]:hover,
    .mobile-sticky-bar a[href*="wa.me"]:active {
        color: #06301c;
        background: #1fbd5a;
    }

    .mobile-sticky-bar a[href*="wa.me"]:focus-visible {
        outline: 3px solid #ffffff !important;
        outline-offset: -4px !important;
    }
}
