:root {
    --brand-plum: #74105a;
    --brand-plum-dark: #4a073b;
    --brand-plum-deep: #2f0327;
    --brand-magenta: #b51c7e;
    --brand-pink: #f7d7ec;
    --brand-gold: #f4b328;
    --brand-gold-dark: #dc8f0c;
    --brand-gold-soft: #fff2c9;
    --ink: #281823;
    --muted: #746875;
    --surface: #ffffff;
    --surface-soft: #fff9fc;
    --surface-warm: #fffaf1;
    --line: #ecdfeb;
    --success: #248a5a;
    --white: #ffffff;
    --shadow-sm: 0 10px 30px rgba(79, 12, 61, .08);
    --shadow-md: 0 20px 55px rgba(79, 12, 61, .13);
    --shadow-lg: 0 35px 90px rgba(52, 4, 40, .19);
    --radius-sm: 14px;
    --radius-md: 22px;
    --radius-lg: 32px;
    --header-height: 116px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 125px;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--surface);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

    body::selection {
        color: var(--white);
        background: var(--brand-magenta);
    }

main {
    min-height: 55vh;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

button,
input,
select,
textarea {
    font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--ink);
    font-family: "Manrope", "DM Sans", sans-serif;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.035em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.45rem);
}

p:last-child {
    margin-bottom: 0;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 10050;
    padding: 10px 16px;
    color: var(--white);
    background: var(--brand-plum);
    border-radius: 10px;
    transform: translateY(-150%);
}

    .skip-link:focus {
        transform: translateY(0);
    }

.text-gold {
    color: var(--brand-gold) !important;
}

.text-white {
    color: var(--white) !important;
}

.section {
    position: relative;
    padding: 96px 0;
}

.section-sm {
    position: relative;
    padding: 64px 0;
}

.section:nth-of-type(even):not(.dark-section):not(.stat-band):not(.gold-band):not(.ai-section):not(.hero):not(.page-hero) {
    background: linear-gradient(180deg, #fff 0%, var(--surface-soft) 100%);
}

.container,
.container-fluid {
    position: relative;
    z-index: 2;
}

/* Loader */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 50% 20%, #92116f 0%, var(--brand-plum-dark) 45%, var(--brand-plum-deep) 100%);
    transition: opacity .5s ease, visibility .5s ease;
}

    .preloader.hide {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

.preloader-card {
    width: min(290px, calc(100vw - 40px));
    padding: 28px 30px;
    text-align: center;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.65);
    border-radius: 26px;
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
}

    .preloader-card img {
        width: 170px;
        height: auto;
    }

    .preloader-card small {
        display: block;
        margin-top: 10px;
        color: var(--muted);
        font-weight: 700;
        letter-spacing: .03em;
    }

.preloader-line {
    display: block;
    width: 100%;
    height: 3px;
    margin: 18px 0 0;
    overflow: hidden;
    background: var(--brand-pink);
    border-radius: 99px;
}

    .preloader-line::after {
        content: "";
        display: block;
        width: 42%;
        height: 100%;
        background: linear-gradient(90deg, var(--brand-plum), var(--brand-gold));
        border-radius: inherit;
        animation: loadingLine 1.15s ease-in-out infinite alternate;
    }

@keyframes loadingLine {
    from {
        transform: translateX(-10%);
    }

    to {
        transform: translateX(155%);
    }
}

/* Header */
.site-header {
    z-index: 1035;
    transition: transform .3s ease;
}

.topbar {
    color: rgba(255,255,255,.9);
    background: linear-gradient(90deg, var(--brand-plum-deep), var(--brand-plum), var(--brand-magenta));
    font-size: 12.5px;
    font-weight: 600;
}

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

.topbar-contact,
.topbar-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar a:hover {
    color: var(--brand-gold-soft);
}

.topbar i {
    margin-right: 6px;
    color: var(--brand-gold);
}

.wisdom-nav {
    min-height: 82px;
    padding: 10px 0;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid rgba(116,16,90,.09);
    box-shadow: 0 10px 35px rgba(58, 8, 46, .08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: min-height .25s ease, box-shadow .25s ease, background .25s ease;
}

    .site-header.scrolled .wisdom-nav,
    .wisdom-nav.scrolled {
        min-height: 70px;
        background: rgba(255,255,255,.985);
        box-shadow: 0 14px 36px rgba(58, 8, 46, .13);
    }

.navbar-brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
}

    .navbar-brand img {
        width: 154px;
        height: auto;
        transition: width .25s ease;
    }

.site-header.scrolled .navbar-brand img,
.wisdom-nav.scrolled .navbar-brand img {
    width: 138px;
}

.navbar-nav {
    gap: 4px;
}

.navbar .nav-link {
    position: relative;
    padding: 11px 13px !important;
    color: #4f394b !important;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.01em;
}

    .navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 5px;
        width: 18px;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-plum), var(--brand-gold));
        border-radius: 99px;
        opacity: 0;
        transform: translateX(-50%) scaleX(.3);
        transition: opacity .25s ease, transform .25s ease;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        color: var(--brand-plum) !important;
        background: #fff5fb;
    }

        .navbar .nav-link:hover::after,
        .navbar .nav-link.active::after {
            opacity: 1;
            transform: translateX(-50%) scaleX(1);
        }

.nav-cta {
    margin-left: 12px;
}

.navbar-toggler {
    width: 46px;
    height: 42px;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface-soft);
    box-shadow: none !important;
}

    .navbar-toggler span {
        display: block;
        width: 22px;
        height: 2px;
        margin: 4px auto;
        background: var(--brand-plum);
        border-radius: 99px;
    }

/* Buttons */
.btn-gold,
.btn-outline-gold {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-gold {
    color: var(--brand-plum-deep) !important;
    background: linear-gradient(135deg, #ffd66e 0%, var(--brand-gold) 62%, #efa51d 100%);
    box-shadow: 0 13px 28px rgba(223, 145, 13, .25);
}

    .btn-gold:hover {
        color: var(--brand-plum-deep) !important;
        transform: translateY(-2px);
        box-shadow: 0 18px 36px rgba(223, 145, 13, .34);
    }

.btn-outline-gold {
    color: var(--brand-plum) !important;
    background: rgba(255,255,255,.86);
    border-color: rgba(116,16,90,.28);
}

    .btn-outline-gold:hover {
        color: var(--white) !important;
        background: var(--brand-plum);
        border-color: var(--brand-plum);
        transform: translateY(-2px);
    }

.dark-section .btn-outline-gold,
.ai-section .btn-outline-gold,
.cta-panel .btn-outline-gold,
.footer-dark .btn-outline-gold {
    color: var(--white) !important;
    background: transparent;
    border-color: rgba(255,255,255,.35);
}

    .dark-section .btn-outline-gold:hover,
    .ai-section .btn-outline-gold:hover,
    .cta-panel .btn-outline-gold:hover,
    .footer-dark .btn-outline-gold:hover {
        color: var(--brand-plum-deep) !important;
        background: var(--white);
        border-color: var(--white);
    }

/* Shared section typography */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--brand-magenta);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
    text-transform: uppercase;
}

    .eyebrow::before {
        content: "";
        width: 28px;
        height: 2px;
        background: linear-gradient(90deg, var(--brand-gold), var(--brand-magenta));
        border-radius: 99px;
    }

.dark-section .eyebrow,
.ai-section .eyebrow,
.footer-dark .eyebrow,
.hero .eyebrow {
    color: var(--brand-gold);
}

.section-title,
.section-titled {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

    .section-title h2,
    .section-titled h2 {
        margin-bottom: 14px;
    }

    .section-title p,
    .section-titled p {
        max-width: 700px;
        margin: 0 auto;
        color: var(--muted);
    }

/* Page hero */
.page-hero {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: flex-end;
    padding: 190px 0 72px;
    overflow: hidden;
    background: radial-gradient(circle at 82% 14%, rgba(244,179,40,.22), transparent 22%), radial-gradient(circle at 15% 100%, rgba(181,28,126,.3), transparent 30%), linear-gradient(135deg, var(--brand-plum-deep), var(--brand-plum) 56%, var(--brand-magenta));
}

    .page-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .18;
        background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
        background-size: 64px 64px;
        mask-image: linear-gradient(to right, black, transparent 80%);
    }

    .page-hero::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        right: -70px;
        bottom: -120px;
        border: 46px solid rgba(255,255,255,.09);
        border-radius: 50%;
    }

    .page-hero h1 {
        margin-bottom: 10px;
        color: var(--white);
        font-size: clamp(2.8rem, 6vw, 5.6rem);
    }

.breadcrumb-mini {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    color: rgba(255,255,255,.82);
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Dark sections */
.dark-section,
.ai-section {
    position: relative;
    overflow: hidden;
    color: rgba(255,255,255,.86);
    background: radial-gradient(circle at 8% 15%, rgba(181,28,126,.42), transparent 26%), radial-gradient(circle at 95% 90%, rgba(244,179,40,.16), transparent 23%), linear-gradient(135deg, #2d0325 0%, #4b073b 47%, #74105a 100%);
}

    .dark-section::before,
    .ai-section::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .14;
        background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px);
        background-size: 72px 72px;
        pointer-events: none;
    }

    .dark-section h2,
    .dark-section h3,
    .dark-section h4,
    .dark-section h5,
    .dark-section h6,
    .ai-section h2,
    .ai-section h3,
    .ai-section h4,
    .ai-section h5,
    .ai-section h6 {
        color: var(--white);
    }

    .dark-section .section-title p,
    .ai-section .section-title p,
    .dark-section p,
    .ai-section p {
        color: rgba(255,255,255,.75);
    }

/* Navident / clinic */
.clinic-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(40px, 7vw, 92px);
}

    .clinic-grid h2 {
        margin-bottom: 20px;
    }

    .clinic-grid .lead {
        color: rgba(255,255,255,.78);
        font-size: 17px;
    }

.clinic-collage {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: repeat(2, 190px);
    gap: 14px;
}

    .clinic-collage::before {
        content: "";
        position: absolute;
        inset: -18px;
        z-index: -1;
        background: rgba(255,255,255,.07);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 32px;
        transform: rotate(2deg);
    }

    .clinic-collage > div {
        overflow: hidden;
        background-position: center;
        background-size: cover;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 24px;
        box-shadow: 0 22px 45px rgba(0,0,0,.18);
    }

        .clinic-collage > div:nth-child(1) {
            grid-row: 1 / 3;
            background-image: url('/assets/img/Navident-3.jpeg');
        }

        .clinic-collage > div:nth-child(2) {
            background-image: url('/assets/img/Navident.jpeg');
        }

        .clinic-collage > div:nth-child(3) {
            background-image: url('/assets/img/Navident-2.jpeg');
        }

.feature-list {
    display: grid;
    gap: 12px;
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

    .feature-list li {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .feature-list i {
        width: 24px;
        height: 24px;
        display: grid;
        place-items: center;
        flex: 0 0 24px;
        color: var(--brand-plum-deep);
        background: var(--brand-gold);
        border-radius: 50%;
        font-size: 11px;
    }

/* Statistics */
.stat-band {
    position: relative;
    overflow: hidden;
    padding: 38px 0;
    color: var(--white);
    background: linear-gradient(90deg, var(--brand-plum-deep), var(--brand-plum), var(--brand-magenta));
}

    .stat-band::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .18;
        background: radial-gradient(circle at 50% -40%, rgba(255,255,255,.8), transparent 45%);
    }

.stat {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
}

    .stat i {
        width: 54px;
        height: 54px;
        flex: 0 0 54px;
        display: grid;
        place-items: center;
        color: var(--brand-plum-deep);
        background: linear-gradient(135deg, #ffe298, var(--brand-gold));
        border-radius: 17px;
        font-size: 23px;
    }

    .stat h3 {
        margin: 0 0 2px;
        color: var(--white);
        font-size: clamp(1.7rem, 3vw, 2.5rem);
        letter-spacing: -.05em;
    }

    .stat small {
        color: rgba(255,255,255,.72);
        font-size: 12px;
    }

.gold-band {
    padding: 27px 0;
    color: var(--brand-plum-deep);
    background: linear-gradient(90deg, #ffda7d, var(--brand-gold), #ffd777);
    border-bottom: 1px solid rgba(116,16,90,.08);
}

.gold-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
}

    .gold-feature i {
        color: var(--brand-plum);
        font-size: 15px;
    }

/* Cards and treatments */
.card-soft {
    height: 100%;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .card-soft:hover {
        border-color: rgba(181,28,126,.28);
        box-shadow: var(--shadow-md);
        transform: translateY(-7px);
    }

.treat-card {
    position: relative;
    padding: 14px 14px 24px;
}

    .treat-card::after {
        content: "";
        position: absolute;
        right: -35px;
        bottom: -35px;
        width: 95px;
        height: 95px;
        background: radial-gradient(circle, rgba(244,179,40,.22), transparent 68%);
    }

    .treat-card .img-box {
        position: relative;
        height: 230px;
        overflow: hidden;
        margin-bottom: 20px;
        background: var(--surface-soft);
        border-radius: 18px;
    }

        .treat-card .img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .55s ease;
        }

    .treat-card:hover .img-box img {
        transform: scale(1.055);
    }

    .treat-card .img-box i {
        position: absolute;
        inset: 0;
        display: grid;
        place-items: center;
        color: var(--brand-plum);
        font-size: 64px;
    }

    .treat-card h4,
    .treat-card p {
        position: relative;
        z-index: 2;
        margin-left: 8px;
        margin-right: 8px;
    }

    .treat-card h4 {
        margin-bottom: 9px;
        color: var(--brand-plum-dark);
        font-size: 19px;
        letter-spacing: -.025em;
    }

    .treat-card p {
        color: var(--muted);
        font-size: 14px;
        line-height: 1.65;
    }

/* AI smile section */
.ai-section {
    padding: 96px 0;
}

.phone-mock {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    padding: 14px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 34px;
    box-shadow: 0 35px 80px rgba(0,0,0,.28);
    backdrop-filter: blur(12px);
}

    .phone-mock::before {
        content: "Smile Preview";
        position: absolute;
        top: -18px;
        left: 50%;
        z-index: 2;
        padding: 7px 16px;
        color: var(--brand-plum-deep);
        background: var(--brand-gold);
        border-radius: 99px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .09em;
        text-transform: uppercase;
        transform: translateX(-50%);
    }

.phone-screen {
    padding: 16px;
    background: rgba(34, 2, 28, .75);
    border-radius: 24px;
}

.before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.face {
    height: 175px;
    overflow: hidden;
    background: #f4e6ee;
    border-radius: 17px;
}

    .face img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
    }

/* Why choose */
.choose-row {
    color: var(--ink);
    background: radial-gradient(circle at 12% 20%, rgba(181,28,126,.09), transparent 28%), linear-gradient(180deg, #fff9fc, #fff);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

    .choose-row.dark-section::before {
        display: none;
    }

    .choose-row.dark-section h2,
    .choose-row.dark-section h6,
    .choose-row.dark-section p,
    .choose-row.dark-section .section-title p {
        color: var(--ink) !important;
    }

    .choose-row.dark-section .eyebrow {
        color: var(--brand-magenta);
    }

.choose-icon {
    height: 100%;
    padding: 28px 18px;
    text-align: center;
    background: rgba(255,255,255,.78);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(79,12,61,.06);
}

    .choose-icon i {
        width: 52px;
        height: 52px;
        display: grid;
        place-items: center;
        margin: 0 auto 15px;
        color: var(--brand-plum);
        background: linear-gradient(135deg, var(--brand-gold-soft), #fff);
        border: 1px solid rgba(244,179,40,.3);
        border-radius: 17px;
        font-size: 22px;
    }

    .choose-icon h6 {
        margin-bottom: 8px;
        color: var(--brand-plum-dark) !important;
        font-size: 15px;
    }

    .choose-icon p {
        margin: 0;
        color: var(--muted) !important;
        font-size: 13px;
        line-height: 1.55;
    }

/* Doctors */
.doctor-card {
    padding: 14px 14px 24px;
    text-align: center;
}

.doctor-photo {
    height: 345px;
    display: grid;
    place-items: end center;
    overflow: hidden;
    margin-bottom: 20px;
    background: radial-gradient(circle at 50% 20%, #fff 0%, #f8e9f3 55%, #f4d7ea 100%);
    border-radius: 18px;
}

    .doctor-photo img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: bottom center;
        transition: transform .4s ease;
    }

.doctor-card:hover .doctor-photo img {
    transform: scale(1.035);
}

.doctor-card h4 {
    margin-bottom: 9px;
    color: var(--brand-plum-dark);
    font-size: 21px;
}

.doctor-card p {
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.7;
}

.doctor-feature {
    position: relative;
    overflow: hidden;
    padding: clamp(30px, 5vw, 58px);
    background: linear-gradient(145deg, #fff, #fff9fc);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

    .doctor-feature::after {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        right: -120px;
        bottom: -120px;
        background: radial-gradient(circle, rgba(244,179,40,.2), transparent 68%);
        border-radius: 50%;
    }

.doctor-feature-name {
    margin-bottom: 8px;
    color: var(--brand-plum) !important;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.doctor-feature h5 {
    margin-bottom: 24px;
    color: var(--brand-gold-dark);
    font-size: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.doctor-feature p {
    color: #685b66;
    font-size: 15px;
    line-height: 1.8;
}

.doctor-feature-photo {
    position: relative;
    max-width: 430px;
    height: 520px;
    display: grid;
    place-items: end center;
    margin: 0 auto;
    overflow: hidden;
    background: radial-gradient(circle at 50% 22%, #fff 0%, #f4dbe9 63%, #ecc8df 100%);
    border: 1px solid rgba(181,28,126,.15);
    border-radius: 30px;
}

    .doctor-feature-photo::before {
        content: "";
        position: absolute;
        top: 24px;
        right: 24px;
        width: 70px;
        height: 70px;
        border: 13px solid rgba(244,179,40,.4);
        border-radius: 50%;
    }

    .doctor-feature-photo img {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

/* Testimonials and reviews */
.testimonials-section {
    position: relative;
    overflow: hidden;
    color: var(--white);
    background: radial-gradient(circle at 8% 12%, rgba(244,179,40,.16), transparent 24%), radial-gradient(circle at 92% 88%, rgba(181,28,126,.34), transparent 30%), linear-gradient(135deg, #2d0325 0%, #51083f 50%, #74105a 100%);
}

    .testimonials-section::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .12;
        background-image: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
        background-size: 72px 72px;
        pointer-events: none;
    }

.testimonials-title h2 {
    color: var(--white);
}

.testimonials-title p {
    color: rgba(255,255,255,.72);
}

.testimonial-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
    gap: 28px;
    align-items: stretch;
}

.testimonial-video-card,
.rating-summary-card {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.58);
    border-radius: 30px;
    box-shadow: 0 30px 75px rgba(18, 0, 14, .28);
}

.testimonial-video-card {
    display: flex;
    flex-direction: column;
}

.testimonial-video-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #160111;
}

    .testimonial-video-frame::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 54px;
        background: linear-gradient(transparent, rgba(22,1,17,.24));
        pointer-events: none;
    }

    .testimonial-video-frame iframe {
        width: 100%;
        height: 100%;
        display: block;
        border: 0;
    }

.testimonial-video-body {
    flex: 1;
    padding: 30px 32px 34px;
}

.testimonial-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--brand-magenta);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.testimonial-video-body h3 {
    margin-bottom: 13px;
    color: var(--brand-plum-deep);
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    line-height: 1.28;
}

.testimonial-video-body p {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 15px;
}

.testimonial-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--brand-plum);
    font-size: 14px;
    font-weight: 800;
}

    .testimonial-link:hover {
        color: var(--brand-magenta);
        transform: translateX(3px);
    }

.rating-summary-card {
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 4vw, 44px);
}

.rating-brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.rating-google-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.rating-brand-row span,
.rating-brand-row strong {
    display: block;
}

.rating-brand-row span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rating-brand-row strong {
    color: var(--brand-plum-deep);
    font-size: 18px;
}

.rating-score-row {
    display: flex;
    align-items: center;
    gap: 23px;
    padding: 25px 0 23px;
}

.rating-number {
    color: var(--brand-plum);
    font-family: "Manrope", sans-serif;
    font-size: clamp(3.7rem, 7vw, 5.2rem);
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.07em;
}

.rating-stars {
    color: #f6aa16;
    font-size: 18px;
    letter-spacing: .09em;
    white-space: nowrap;
}

.rating-score-row p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.rating-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 24px;
}

.rating-stat {
    padding: 14px 10px;
    text-align: center;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 15px;
}

    .rating-stat strong,
    .rating-stat span {
        display: block;
    }

    .rating-stat strong {
        color: var(--brand-plum);
        font-family: "Manrope", sans-serif;
        font-size: 18px;
    }

    .rating-stat span {
        margin-top: 2px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
    }

.rating-trust-list {
    display: grid;
    gap: 10px;
    margin-bottom: 28px;
}

    .rating-trust-list span {
        display: flex;
        align-items: center;
        gap: 10px;
        color: #584651;
        font-size: 14px;
        font-weight: 600;
    }

    .rating-trust-list i {
        color: var(--success);
    }

.rating-review-button {
    width: 100%;
    margin-top: auto;
}

.review-carousel-shell {
    margin-top: 40px;
    padding: 28px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 28px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(10px);
}

.review-carousel-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.review-overline {
    display: block;
    margin-bottom: 4px;
    color: var(--brand-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.review-carousel-heading h3 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.review-carousel-actions {
    display: flex;
    gap: 10px;
    flex: none;
}

.review-carousel-button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--brand-plum-deep);
    background: var(--brand-gold);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 25px rgba(0,0,0,.2);
    cursor: pointer;
    transition: transform .25s ease, opacity .25s ease, background .25s ease;
}

    .review-carousel-button:hover:not(:disabled) {
        background: #ffd66f;
        transform: translateY(-2px);
    }

    .review-carousel-button:disabled {
        opacity: .4;
        cursor: not-allowed;
    }

.review-carousel-viewport {
    width: 100%;
    overflow: hidden;
}

.review-track {
    width: 100%;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 2px 0 8px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    outline: none;
}

    .review-track::-webkit-scrollbar {
        display: none;
    }

.review-slide {
    min-width: 0;
    flex: 0 0 calc((100% - 40px) / 3);
    display: flex;
    scroll-snap-align: start;
}

.patient-review-card {
    width: 100%;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    padding: 25px;
    color: var(--ink);
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 22px;
    box-shadow: 0 18px 38px rgba(20,0,15,.18);
}

.patient-review-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.patient-review-author {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-plum), var(--brand-magenta));
    border-radius: 50%;
    font-family: "Manrope", sans-serif;
    font-size: 17px;
    font-weight: 800;
    box-shadow: 0 9px 20px rgba(116,16,90,.22);
}

.patient-review-author h4 {
    margin: 0 0 3px;
    color: var(--brand-plum-deep);
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.patient-review-author p {
    margin: 0;
    overflow-wrap: anywhere;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

.review-google-mark {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    object-fit: contain;
}

.patient-review-rating {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
}

    .patient-review-rating .rating-stars {
        font-size: 14px;
    }

    .patient-review-rating > span:last-child {
        color: var(--muted);
        font-size: 12px;
        font-weight: 600;
    }

.patient-review-card blockquote {
    position: relative;
    flex: 1;
    margin: 0;
    padding-top: 17px;
    color: #41323c;
    border-top: 1px solid var(--line);
    font-size: 14px;
    line-height: 1.75;
}

/* Gallery */
.gallery-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-bottom: 38px;
}

    .gallery-filter button {
        min-height: 42px;
        padding: 9px 18px;
        color: #665361;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 99px;
        font-size: 13px;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 5px 16px rgba(79,12,61,.05);
        transition: .25s ease;
    }

        .gallery-filter button:hover,
        .gallery-filter button.active {
            color: var(--white);
            background: linear-gradient(135deg, var(--brand-plum), var(--brand-magenta));
            border-color: transparent;
            box-shadow: 0 10px 24px rgba(116,16,90,.2);
        }

.gallery-item {
    transition: opacity .25s ease, transform .25s ease;
}

.smile-img {
    position: relative;
    height: 330px;
    overflow: hidden;
    background: #f5eaf1;
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
}

    .smile-img img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .55s ease, filter .55s ease;
    }

    .smile-img:hover img {
        transform: scale(1.06);
        filter: saturate(1.05);
    }

.smile-overlay {
    position: absolute;
    inset: auto 14px 14px;
    padding: 12px 15px;
    color: var(--white);
    background: linear-gradient(135deg, rgba(74,7,59,.92), rgba(181,28,126,.86));
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(0,0,0,.2);
    backdrop-filter: blur(10px);
}

/* Blog */
.blog-listing-section {
    padding-top: 82px;
}

.blog-page-intro {
    margin-bottom: 42px;
}

.blog-card {
    height: 100%;
    overflow: hidden;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 26px;
    box-shadow: 0 22px 55px rgba(0,0,0,.19);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 70px rgba(0,0,0,.27);
    }

.blog-list-card {
    display: flex;
    flex-direction: column;
}

    .blog-list-card .p-4 {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

.blog-thumb {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #f4e6ef;
}

    .blog-thumb::after {
        content: "";
        position: absolute;
        inset: auto 0 0;
        height: 70px;
        background: linear-gradient(transparent, rgba(39,2,31,.18));
    }

    .blog-thumb img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .5s ease;
    }

.blog-card:hover .blog-thumb img {
    transform: scale(1.06);
}

.blog-card .p-4,
.blog-card .p {
    padding: 27px !important;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

    .blog-card-meta > span:last-child {
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

.blog-tag {
    display: inline-flex;
    margin: 0;
    padding: 6px 10px;
    color: var(--brand-plum);
    background: var(--brand-gold-soft);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.blog-card h3,
.blog-card h4 {
    margin-bottom: 14px;
    color: var(--brand-plum-deep);
    font-size: 23px;
    line-height: 1.3;
}

.blog-card p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.blog-read-more {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 0;
    color: var(--brand-magenta);
    background: transparent;
    border: 0;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: color .25s ease, gap .25s ease;
}

    .blog-read-more:hover {
        gap: 13px;
        color: var(--brand-gold-dark);
    }

    .blog-read-more:focus-visible {
        outline: 3px solid rgba(244,179,40,.4);
        outline-offset: 5px;
        border-radius: 4px;
    }

.blog-modal {
    --bs-modal-width: 1040px;
    --bs-modal-zindex: 1070;
    z-index: 1070;
}

    .blog-modal .modal-dialog {
        max-width: min(1040px, calc(100vw - 32px));
    }

    .blog-modal .modal-content {
        overflow: hidden;
        background: var(--white);
        border: 0;
        border-radius: 30px;
        box-shadow: 0 40px 110px rgba(34, 1, 26, .34);
    }

    .blog-modal .modal-body {
        background: var(--white);
    }

.blog-modal-toolbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 20px 14px 28px;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid var(--line);
}

    .blog-modal-toolbar > div {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
    }

.blog-modal-category {
    display: inline-flex;
    padding: 6px 10px;
    color: var(--brand-plum);
    background: var(--brand-gold-soft);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.blog-modal-reading {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.blog-modal-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    color: var(--brand-plum);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: transform .25s ease, color .25s ease, background .25s ease;
}

    .blog-modal-close:hover {
        color: var(--white);
        background: var(--brand-plum);
        transform: rotate(6deg);
    }

.blog-modal-cover {
    position: relative;
    height: clamp(220px, 34vw, 370px);
    overflow: hidden;
    background: #efe0ea;
}

    .blog-modal-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 55%, rgba(48,3,38,.22));
        pointer-events: none;
    }

    .blog-modal-cover img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.blog-modal-article {
    max-width: 850px;
    margin: 0 auto;
    padding: clamp(30px, 5vw, 58px);
}

    .blog-modal-article > h2 {
        margin-bottom: 26px;
        color: var(--brand-plum-deep);
        font-size: clamp(2rem, 4vw, 3.25rem);
        line-height: 1.15;
    }

.blog-article-content {
    color: #4d3c47;
    font-size: 16px;
    line-height: 1.85;
}

    .blog-article-content .article-lead {
        margin-bottom: 30px;
        color: #604a58;
        font-size: 18px;
        line-height: 1.8;
    }

    .blog-article-content h3 {
        margin: 34px 0 12px;
        color: var(--brand-plum-deep);
        font-size: clamp(1.3rem, 2vw, 1.65rem);
        letter-spacing: -.025em;
    }

    .blog-article-content p {
        margin-bottom: 18px;
    }

    .blog-article-content ul,
    .blog-article-content ol {
        display: grid;
        gap: 10px;
        margin: 0 0 24px;
        padding-left: 22px;
    }

    .blog-article-content li::marker {
        color: var(--brand-magenta);
        font-weight: 800;
    }

.article-highlight {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    margin: 30px 0;
    padding: 22px;
    background: linear-gradient(135deg, #fff8fc, #fff9ec);
    border: 1px solid #f0d8e7;
    border-left: 4px solid var(--brand-gold);
    border-radius: 18px;
}

    .article-highlight > i {
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        color: var(--brand-plum);
        background: var(--brand-gold-soft);
        border-radius: 16px;
        font-size: 22px;
    }

    .article-highlight strong {
        display: block;
        margin-bottom: 4px;
        color: var(--brand-plum-deep);
        font-size: 17px;
    }

    .article-highlight p {
        margin: 0;
        color: #62525d;
        font-size: 14px;
        line-height: 1.7;
    }

.article-table-wrap {
    margin: 26px 0 32px;
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: 18px;
}

.article-comparison-table {
    width: 100%;
    min-width: 720px;
    margin: 0;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.6;
}

    .article-comparison-table th,
    .article-comparison-table td {
        padding: 15px 17px;
        vertical-align: top;
        border-bottom: 1px solid var(--line);
        border-right: 1px solid var(--line);
    }

        .article-comparison-table th:last-child,
        .article-comparison-table td:last-child {
            border-right: 0;
        }

    .article-comparison-table tr:last-child td {
        border-bottom: 0;
    }

    .article-comparison-table thead th {
        color: var(--white);
        background: linear-gradient(135deg, var(--brand-plum-dark), var(--brand-plum));
        font-family: "Manrope", sans-serif;
        font-size: 13px;
    }

    .article-comparison-table tbody td:first-child {
        color: var(--brand-plum-deep);
        background: var(--surface-soft);
        font-weight: 800;
    }

.blog-medical-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 42px;
    padding: 18px 20px;
    color: #65535e;
    background: #f8f5f7;
    border-radius: 15px;
    font-size: 13px;
    line-height: 1.65;
}

    .blog-medical-note i {
        margin-top: 3px;
        color: var(--brand-magenta);
    }

    .blog-medical-note p {
        margin: 0;
    }

.blog-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 28px;
    color: var(--white);
    background: linear-gradient(135deg, var(--brand-plum-deep), var(--brand-plum));
}

    .blog-modal-footer span {
        font-weight: 700;
    }

/* CTA */
.cta-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(32px, 6vw, 62px);
    color: rgba(255,255,255,.82);
    background: radial-gradient(circle at 90% 10%, rgba(244,179,40,.25), transparent 28%), linear-gradient(135deg, var(--brand-plum-deep), var(--brand-plum) 55%, var(--brand-magenta));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

    .cta-panel::before {
        content: "";
        position: absolute;
        width: 200px;
        height: 200px;
        right: -80px;
        bottom: -100px;
        border: 35px solid rgba(255,255,255,.08);
        border-radius: 50%;
    }

    .cta-panel h2 {
        color: var(--white);
    }

    .cta-panel p {
        color: rgba(255,255,255,.78);
    }

/* Services */
.service-detail-section {
    padding: 46px 0;
    background: transparent !important;
}

    .service-detail-section:nth-of-type(even) {
        background: var(--surface-soft) !important;
    }

.service-detail-card {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 5vw, 54px);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

    .service-detail-card::before {
        content: "";
        position: absolute;
        width: 240px;
        height: 240px;
        right: -130px;
        top: -130px;
        background: radial-gradient(circle, rgba(181,28,126,.13), transparent 70%);
        border-radius: 50%;
    }

.service-image {
    position: sticky;
    top: 142px;
    height: 520px;
    overflow: hidden;
    background: #f5e9f1;
    border-radius: 26px;
    box-shadow: 0 20px 45px rgba(79,12,61,.13);
}

    .service-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.service-content h2 {
    margin-bottom: 18px;
    color: var(--brand-plum-dark);
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.service-content > p {
    color: var(--muted);
}

.service-list {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

    .service-list li {
        position: relative;
        padding-left: 30px;
        color: #655763;
        font-size: 14px;
    }

        .service-list li::before {
            content: "✓";
            position: absolute;
            left: 0;
            top: 1px;
            width: 21px;
            height: 21px;
            display: grid;
            place-items: center;
            color: var(--brand-plum-deep);
            background: var(--brand-gold);
            border-radius: 50%;
            font-size: 11px;
            font-weight: 900;
        }

.highlight-box {
    padding: 22px 24px;
    background: linear-gradient(135deg, var(--surface-warm), #fff8fd);
    border: 1px solid rgba(244,179,40,.28);
    border-left: 4px solid var(--brand-gold);
    border-radius: 18px;
}

    .highlight-box h5 {
        margin-bottom: 8px;
        color: var(--brand-plum);
        font-size: 16px;
    }

    .highlight-box p {
        color: var(--muted);
        font-size: 14px;
    }

/* Contact and forms */
.contact-list {
    display: grid;
    gap: 14px;
}

    .contact-list p {
        display: flex;
        align-items: center;
        gap: 15px;
        margin: 0;
        padding: 17px 18px;
        color: var(--muted);
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 17px;
        box-shadow: 0 8px 24px rgba(79,12,61,.055);
    }

    .contact-list i {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: grid;
        place-items: center;
        color: var(--brand-plum);
        background: linear-gradient(135deg, var(--brand-gold-soft), #fff);
        border-radius: 14px;
    }

    .contact-list b {
        color: var(--brand-plum-dark);
    }

.form-card {
    padding: clamp(24px, 5vw, 44px);
    background: linear-gradient(145deg, #fff, #fff9fc);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-control,
.form-select {
    min-height: 56px;
    padding: 13px 16px;
    color: var(--ink);
    background-color: var(--white);
    border: 1px solid #e5d7e3;
    border-radius: 14px;
    box-shadow: none !important;
}

textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.form-control::placeholder {
    color: #a3939f;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(181,28,126,.58);
    box-shadow: 0 0 0 4px rgba(181,28,126,.09) !important;
}

.alert-success {
    color: #17633e;
    background: #e9fff3;
    border: 1px solid #bdeacf;
    border-radius: 16px;
}

.branch-card {
    height: 100%;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 25px;
    box-shadow: 0 22px 52px rgba(0,0,0,.22);
    transition: transform .3s ease;
}

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

    .branch-card iframe {
        width: 100%;
        height: 320px;
        display: block;
        border: 0;
        filter: saturate(.84) contrast(.96);
    }

.branch-body {
    padding: 25px;
}

    .branch-body h4 {
        margin-bottom: 8px;
        color: var(--brand-plum-dark) !important;
        font-size: 22px;
    }

    .branch-body p {
        color: var(--muted) !important;
    }

.direction-btn {
    display: inline-flex;
    align-items: center;
    color: var(--brand-magenta);
    font-size: 14px;
    font-weight: 800;
}

    .direction-btn:hover {
        color: var(--brand-gold-dark);
    }

/* Footer */
.footer-dark {
    position: relative;
    overflow: hidden;
    padding: 0 0 26px;
    color: rgba(255,255,255,.68);
    background: linear-gradient(145deg, #22021c, #39042e 48%, #4e083e 100%);
}

.footer-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.footer-glow-one {
    width: 360px;
    height: 360px;
    left: -190px;
    bottom: -130px;
    background: rgba(181,28,126,.19);
}

.footer-glow-two {
    width: 300px;
    height: 300px;
    right: -170px;
    top: 100px;
    background: rgba(244,179,40,.1);
}

.footer-appointment-card {
    position: relative;
    top: -56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: clamp(28px, 5vw, 48px);
    color: rgba(255,255,255,.82);
    background: radial-gradient(circle at 90% 15%, rgba(244,179,40,.3), transparent 28%), linear-gradient(135deg, var(--brand-plum), var(--brand-magenta));
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 30px;
    box-shadow: 0 26px 70px rgba(22,0,17,.36);
}

    .footer-appointment-card h2 {
        max-width: 700px;
        margin-bottom: 9px;
        color: var(--white);
        font-size: clamp(1.7rem, 3vw, 2.7rem);
    }

    .footer-appointment-card p {
        color: rgba(255,255,255,.72);
    }

.footer-appointment-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-main {
    padding: 8px 0 48px;
}

.footer-logo {
    width: 176px;
    padding: 10px;
    background: rgba(255,255,255,.96);
    border-radius: 16px;
}

.footer-about {
    max-width: 390px;
    margin-top: 19px;
    color: rgba(255,255,255,.62);
    font-size: 14px;
}

.footer-dark h5 {
    margin-bottom: 18px;
    color: var(--white);
    font-size: 15px;
    letter-spacing: .02em;
}

.footer-dark .col-lg-2 > a,
.footer-dark .col-lg-3 > a,
.footer-dark .col-6 > a {
    display: block;
    width: fit-content;
    margin: 9px 0;
    color: rgba(255,255,255,.62);
    font-size: 13.5px;
}

    .footer-dark .col-lg-2 > a:hover,
    .footer-dark .col-lg-3 > a:hover,
    .footer-dark .col-6 > a:hover {
        color: var(--brand-gold);
        transform: translateX(3px);
    }

.socials {
    display: flex;
    gap: 9px;
    margin-top: 20px;
}

    .socials a {
        width: 39px;
        height: 39px;
        display: grid;
        place-items: center;
        color: var(--white);
        background: rgba(255,255,255,.08);
        border: 1px solid rgba(255,255,255,.12);
        border-radius: 12px;
    }

        .socials a:hover {
            color: var(--brand-plum-deep);
            background: var(--brand-gold);
            border-color: var(--brand-gold);
            transform: translateY(-3px);
        }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 14px;
    color: rgba(255,255,255,.62);
    font-size: 13.5px;
}

    .footer-contact-item i {
        margin-top: 5px;
        color: var(--brand-gold);
    }

    .footer-contact-item a:hover {
        color: var(--brand-gold);
    }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.46);
    font-size: 12px;
}

/* Floating actions */
.floating-actions {
    position: fixed;
    right: 22px;
    bottom: 24px;
    z-index: 1025;
    display: grid;
    gap: 10px;
}

.float-call,
.float-whatsapp {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 13px 30px rgba(0,0,0,.2);
    font-size: 20px;
}

.float-call {
    background: linear-gradient(135deg, var(--brand-plum), var(--brand-magenta));
}

.float-whatsapp {
    background: #1fbd63;
}

    .float-call:hover,
    .float-whatsapp:hover {
        color: var(--white);
        transform: translateY(-4px) scale(1.03);
    }

.mobile-quick-bar {
    display: none;
}

/* Responsive */
@media (max-width: 1199.98px) {
    :root {
        --header-height: 110px;
    }

    .navbar .nav-link {
        padding-left: 9px !important;
        padding-right: 9px !important;
        font-size: 13px;
    }

    .nav-cta {
        margin-left: 6px;
    }

        .nav-cta .btn-gold {
            padding-left: 15px;
            padding-right: 15px;
        }

    .hero {
        min-height: 770px;
    }

    .floating-card {
        right: 4%;
    }

    .service-image {
        height: 450px;
    }
}

@media (max-width: 991.98px) {
    :root {
        --header-height: 78px;
    }

    html {
        scroll-padding-top: 90px;
    }

    body {
        padding-bottom: 68px;
    }

    .section {
        padding: 76px 0;
    }

    .topbar {
        display: none;
    }

    .wisdom-nav {
        min-height: 78px;
        padding: 9px 0;
    }

        .navbar-brand img,
        .site-header.scrolled .navbar-brand img,
        .wisdom-nav.scrolled .navbar-brand img {
            width: 132px;
        }

    .navbar-toggler {
        display: block;
    }

    .navbar-collapse {
        max-height: calc(100vh - 92px);
        overflow-y: auto;
        margin-top: 10px;
        padding: 15px;
        background: rgba(255,255,255,.99);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow-md);
    }

    .navbar-nav {
        align-items: stretch !important;
        gap: 4px;
    }

    .navbar .nav-link {
        padding: 12px 14px !important;
        font-size: 14px;
    }

        .navbar .nav-link::after {
            display: none;
        }

    .nav-cta {
        margin: 8px 0 0;
    }

        .nav-cta .btn-gold {
            width: 100%;
        }

    .hero {
        min-height: auto;
        padding: 150px 0 70px;
        background: linear-gradient(90deg, rgba(255,255,255,.99) 0%, rgba(255,250,253,.93) 62%, rgba(255,255,255,.62) 100%), url('/assets/img/Reception.jpeg') center / cover no-repeat;
    }

        .hero .row {
            min-height: 400px;
        }

        .hero h1 {
            max-width: 700px;
            font-size: clamp(3rem, 10vw, 5.5rem);
        }

        .hero p {
            max-width: 570px;
        }

    .floating-card {
        display: none;
    }

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

    .trust-item:nth-child(2) {
        border-right: 0;
    }

    .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .clinic-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .doctor-feature .row {
        row-gap: 34px;
    }

    .doctor-feature-photo {
        height: 450px;
    }

    .service-image {
        position: relative;
        top: auto;
        height: 400px;
    }

    .footer-appointment-card {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-appointment-actions {
        width: 100%;
    }

    .floating-actions {
        display: none;
    }

    .mobile-quick-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1040;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        min-height: 66px;
        background: rgba(255,255,255,.98);
        border-top: 1px solid var(--line);
        box-shadow: 0 -12px 35px rgba(79,12,61,.12);
        backdrop-filter: blur(16px);
    }

        .mobile-quick-bar a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            color: var(--brand-plum);
            border-right: 1px solid var(--line);
            font-size: 11px;
            font-weight: 800;
        }

            .mobile-quick-bar a:last-child {
                color: var(--brand-plum-deep);
                background: linear-gradient(135deg, #ffd66e, var(--brand-gold));
                border-right: 0;
            }

        .mobile-quick-bar i {
            font-size: 18px;
        }
}

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

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

    .hero {
        padding-top: 132px;
        background: linear-gradient(90deg, rgba(255,255,255,.98), rgba(255,249,253,.9)), url('/assets/img/Reception.jpeg') center / cover no-repeat;
    }

        .hero .row {
            min-height: auto;
        }

        .hero h1 {
            font-size: clamp(2.85rem, 15vw, 4.5rem);
        }

        .hero p {
            font-size: 16px;
        }

    .hero-actions > a {
        flex: 1 1 210px;
    }

    .trust-strip {
        margin-top: 40px;
    }

    .trust-item {
        min-height: 90px;
        padding: 14px;
    }

        .trust-item i {
            width: 38px;
            height: 38px;
            flex-basis: 38px;
            font-size: 17px;
        }

    .page-hero {
        min-height: 300px;
        padding: 145px 0 55px;
    }

    .stat-band {
        padding: 28px 0;
    }

    .stat {
        flex-direction: column;
        align-items: flex-start;
        padding: 13px 8px;
    }

    .gold-band .col-6 {
        margin: 8px 0;
    }

    .gold-feature {
        align-items: flex-start;
        font-size: 12px;
    }

    .clinic-collage {
        grid-template-rows: repeat(2, 145px);
    }

    .treat-card .img-box {
        height: 220px;
    }

    .doctor-photo {
        height: 330px;
    }

    .doctor-feature {
        padding: 26px;
    }

    .doctor-feature-photo {
        height: 390px;
    }

    .review-slide {
        flex-basis: 280px;
    }

    .review-nav {
        display: none;
    }

    .smile-img {
        height: 300px;
    }

    .service-detail-section {
        padding: 28px 0;
    }

    .service-detail-card {
        padding: 22px;
        border-radius: 24px;
    }

    .service-image {
        height: 340px;
        border-radius: 20px;
    }

    .form-card {
        padding: 24px;
        border-radius: 24px;
    }

    .footer-appointment-card {
        top: -38px;
        border-radius: 24px;
    }

    .footer-appointment-actions a {
        flex: 1 1 190px;
    }

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

@media (max-width: 575.98px) {
    .container,
    .container-fluid {
        --bs-gutter-x: 1.35rem;
    }

    .hero h1 {
        font-size: 2.9rem;
    }

    .hero-actions {
        gap: 10px;
    }

    .btn-gold,
    .btn-outline-gold {
        min-height: 46px;
        padding: 11px 16px;
    }

    .trust-strip {
        grid-template-columns: 1fr;
        padding: 8px;
    }

    .trust-item,
    .trust-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

        .trust-item:last-child {
            border-bottom: 0;
        }

    .clinic-collage {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 135px;
    }

        .clinic-collage > div:nth-child(1) {
            grid-column: 1 / 3;
            grid-row: 1;
        }

        .clinic-collage > div:nth-child(2),
        .clinic-collage > div:nth-child(3) {
            grid-row: 2;
        }

    .before-after {
        gap: 7px;
    }

    .face {
        height: 135px;
    }

    .choose-icon {
        padding: 22px 12px;
    }

    .doctor-feature-photo {
        height: 340px;
    }

    .smile-img {
        height: 270px;
    }

    .blog-thumb {
        height: 215px;
    }

    .blog-card h4 {
        font-size: 21px;
    }

    .service-image {
        height: 290px;
    }

    .branch-card iframe {
        height: 250px;
    }

    .footer-logo {
        width: 160px;
    }
}

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

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Appointment page enhancements */
.appointment-section {
    background: radial-gradient(circle at 10% 10%, rgba(181,28,126,.08), transparent 25%), linear-gradient(180deg, #fff 0%, #fffafd 100%);
}

.appointment-intro {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 46px);
    color: rgba(255,255,255,.8);
    background: radial-gradient(circle at 90% 8%, rgba(244,179,40,.28), transparent 25%), linear-gradient(145deg, var(--brand-plum-deep), var(--brand-plum) 58%, var(--brand-magenta));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

    .appointment-intro::after {
        content: "";
        position: absolute;
        right: -85px;
        bottom: -105px;
        width: 220px;
        height: 220px;
        border: 38px solid rgba(255,255,255,.08);
        border-radius: 50%;
    }

    .appointment-intro h2 {
        color: var(--white);
    }

    .appointment-intro > p {
        color: rgba(255,255,255,.72);
    }

    .appointment-intro .contact-list p {
        color: rgba(255,255,255,.74);
        background: rgba(255,255,255,.08);
        border-color: rgba(255,255,255,.14);
        box-shadow: none;
        backdrop-filter: blur(10px);
    }

    .appointment-intro .contact-list b,
    .appointment-intro .contact-list a {
        color: var(--white);
    }

        .appointment-intro .contact-list a:hover {
            color: var(--brand-gold);
        }

    .appointment-intro .contact-list i {
        color: var(--brand-plum-deep);
        background: var(--brand-gold);
    }

.form-heading {
    margin-bottom: 28px;
}

    .form-heading > span {
        display: inline-flex;
        margin-bottom: 9px;
        padding: 6px 10px;
        color: var(--brand-plum);
        background: var(--brand-gold-soft);
        border-radius: 8px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

    .form-heading h3 {
        margin-bottom: 7px;
        color: var(--brand-plum-dark);
        font-size: clamp(1.6rem, 3vw, 2.3rem);
    }

    .form-heading p {
        color: var(--muted);
        font-size: 13px;
    }

.form-label {
    margin-bottom: 7px;
    color: #4f3d4a;
    font-size: 13px;
    font-weight: 700;
}

.field-validation-error,
.validation-summary-errors,
.text-danger {
    display: block;
    margin-top: 6px;
    color: #b42318 !important;
    font-size: 12px;
    font-weight: 600;
}

.input-validation-error {
    border-color: #e16666 !important;
}

.form-note {
    margin-top: 13px;
    color: var(--muted);
    text-align: center;
    font-size: 12px;
}

    .form-note i {
        margin-right: 5px;
        color: var(--success);
    }

/* Treatment quick navigation */
.service-index-section {
    position: sticky;
    top: 104px;
    z-index: 20;
    padding: 14px 0;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(79,12,61,.07);
    backdrop-filter: blur(16px);
}

.service-index {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding: 2px 1px 7px;
    scrollbar-width: thin;
    scrollbar-color: rgba(116,16,90,.25) transparent;
}

    .service-index a {
        flex: 0 0 auto;
        padding: 9px 14px;
        color: #65515f;
        background: var(--surface-soft);
        border: 1px solid var(--line);
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }

        .service-index a:hover {
            color: var(--white);
            background: linear-gradient(135deg, var(--brand-plum), var(--brand-magenta));
            border-color: transparent;
        }

@media (max-width: 991.98px) {
    .service-index-section {
        top: 77px;
    }
}

/* Responsive testimonials and blog modal */
@media (max-width: 991.98px) {
    .testimonial-feature-grid {
        grid-template-columns: 1fr;
    }

    .review-slide {
        flex-basis: calc((100% - 20px) / 2);
    }

    .blog-card h3,
    .blog-card h4 {
        font-size: 21px;
    }
}

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

    .testimonial-video-card,
    .rating-summary-card {
        border-radius: 24px;
    }

    .testimonial-video-body,
    .rating-summary-card {
        padding: 24px;
    }

    .review-carousel-shell {
        margin-top: 28px;
        padding: 20px;
        border-radius: 23px;
    }

    .review-carousel-heading {
        align-items: center;
    }

    .review-slide {
        flex-basis: 100%;
    }

    .patient-review-card {
        min-height: 270px;
        padding: 22px;
    }

    .blog-listing-section {
        padding-top: 68px;
    }

    .blog-modal .modal-dialog {
        max-width: calc(100vw - 20px);
        margin: 10px auto;
    }

    .blog-modal .modal-content {
        border-radius: 22px;
    }

    .blog-modal-toolbar {
        min-height: 62px;
        padding: 11px 14px 11px 18px;
    }

    .blog-modal-reading {
        display: none;
    }

    .blog-modal-cover {
        height: 230px;
    }

    .blog-modal-article {
        padding: 28px 22px 34px;
    }

    .blog-article-content,
    .blog-article-content .article-lead {
        font-size: 15px;
    }

    .article-highlight {
        grid-template-columns: 44px 1fr;
        padding: 18px;
    }

        .article-highlight > i {
            width: 44px;
            height: 44px;
            font-size: 18px;
        }

    .blog-modal-footer {
        align-items: stretch;
        flex-direction: column;
        padding: 18px 20px;
        text-align: center;
    }

        .blog-modal-footer .btn-gold {
            width: 100%;
        }
}

@media (max-width: 575.98px) {
    .testimonial-feature-grid {
        gap: 20px;
    }

    .testimonial-video-frame {
        aspect-ratio: 16 / 10;
    }

    .rating-score-row {
        gap: 16px;
    }

    .rating-number {
        font-size: 3.7rem;
    }

    .rating-stars {
        font-size: 15px;
    }

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

    .rating-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 11px 14px;
        text-align: left;
    }

        .rating-stat span {
            margin: 0;
            text-align: right;
        }

    .review-carousel-heading h3 {
        font-size: 1.45rem;
    }

    .review-carousel-button {
        width: 40px;
        height: 40px;
    }

    .review-carousel-actions {
        gap: 7px;
    }

    .blog-card-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .blog-modal-cover {
        height: 190px;
    }

    .blog-modal-article > h2 {
        font-size: 1.8rem;
    }

    .article-highlight {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Rotating Clinic Phone and Timings
========================================= */

.clinic-phone-rotator,
.clinic-timing-rotator {
    position: relative;
    overflow: hidden;
}

.clinic-phone-rotator {
    width: 285px;
    height: 24px;
    flex-shrink: 0;
}

.clinic-timing-rotator {
    width: 510px;
    height: 24px;
    flex-shrink: 0;
}

.clinic-phone,
.clinic-timing {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

    .clinic-phone.active,
    .clinic-timing.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .clinic-phone i,
    .clinic-timing i {
        flex-shrink: 0;
    }

    .clinic-phone strong,
    .clinic-timing strong {
        font-weight: 700;
    }

    .clinic-phone:hover {
        color: var(--brand-gold-soft);
    }

    /* Prevent phone number from breaking */
    .clinic-phone span {
        white-space: nowrap;
    }

/* =========================================
   Responsive Topbar
========================================= */

@media (max-width: 1199.98px) {
    .topbar-inner {
        gap: 12px;
    }

    .topbar-contact,
    .topbar-meta {
        gap: 12px;
    }

    .clinic-phone-rotator {
        width: 265px;
    }

    .clinic-timing-rotator {
        width: 455px;
    }

    .clinic-phone,
    .clinic-timing {
        font-size: 11.5px;
    }
}

/* =========================================
   Floating Social and Contact Actions
========================================= */

/* Left-side social media icons */

.floating-socials {
    position: fixed;
    top: 50%;
    left: 22px;
    z-index: 1025;
    display: grid;
    gap: 10px;
    transform: translateY(-50%);
}

.floating-social {
    position: relative;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--white);
    border: 3px solid var(--white);
    border-radius: 50%;
    box-shadow: 0 13px 30px rgba(0, 0, 0, .22), 0 0 0 1px rgba(116, 16, 90, .08);
    font-size: 20px;
    line-height: 1;
    transition: transform .25s ease, box-shadow .25s ease, color .25s ease;
}

    .floating-social:hover {
        color: var(--white);
        transform: translateY(-3px) scale(1.06);
        box-shadow: 0 17px 34px rgba(0, 0, 0, .28), 0 0 0 1px rgba(116, 16, 90, .08);
    }

/* Facebook */

.floating-facebook {
    background: #1877f2;
}

/* Instagram */

.floating-instagram {
    background: linear-gradient( 135deg, #833ab4 0%, #c13584 35%, #e1306c 58%, #fd1d1d 76%, #fcb045 100% );
}

/* YouTube */

.floating-youtube {
    background: #ff0000;
}


/* Tooltip text */

.floating-social span {
    position: absolute;
    top: 50%;
    left: calc(100% + 12px);
    min-width: 92px;
    padding: 7px 11px;
    color: var(--white);
    background: rgba(47, 3, 39, .96);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 9px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .20);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-7px, -50%);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease;
}

    .floating-social span::before {
        content: "";
        position: absolute;
        top: 50%;
        right: 100%;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-right: 7px solid rgba(47, 3, 39, .96);
        transform: translateY(-50%);
    }

.floating-social:hover span,
.floating-social:focus-visible span {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

/* Keyboard focus */

.floating-social:focus-visible,
.float-call:focus-visible,
.float-whatsapp:focus-visible {
    outline: 3px solid var(--brand-gold);
    outline-offset: 4px;
}


/* =========================================================
   ONLY AT WISDOM DENTAL CLINICS
========================================================= */

.wisdom-exclusive-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient( circle at 8% 12%, rgba(181, 28, 126, .10), transparent 27% ), radial-gradient( circle at 94% 88%, rgba(244, 179, 40, .12), transparent 24% ), linear-gradient( 180deg, #fff 0%, #fff8fc 55%, #fff 100% ) !important;
}

    .wisdom-exclusive-section::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .34;
        background-image: linear-gradient( rgba(116, 16, 90, .035) 1px, transparent 1px ), linear-gradient( 90deg, rgba(116, 16, 90, .035) 1px, transparent 1px );
        background-size: 70px 70px;
        pointer-events: none;
    }

.wisdom-exclusive-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(5px);
    pointer-events: none;
}

.wisdom-exclusive-glow-one {
    width: 340px;
    height: 340px;
    top: -180px;
    left: -180px;
    background: rgba(181, 28, 126, .10);
}

.wisdom-exclusive-glow-two {
    width: 310px;
    height: 310px;
    right: -150px;
    bottom: -160px;
    background: rgba(244, 179, 40, .13);
}

.wisdom-exclusive-heading {
    position: relative;
    z-index: 2;
}

    .wisdom-exclusive-heading h2 {
        color: var(--brand-plum-deep);
    }

    .wisdom-exclusive-heading p {
        max-width: 760px;
    }

.wisdom-exclusive-grid {
    position: relative;
    z-index: 2;
}

.wisdom-exclusive-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(116, 16, 90, .12);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(79, 12, 61, .09), 0 3px 8px rgba(79, 12, 61, .04);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}

    .wisdom-exclusive-card:hover {
        border-color: rgba(181, 28, 126, .30);
        box-shadow: 0 30px 65px rgba(79, 12, 61, .16), 0 8px 18px rgba(79, 12, 61, .07);
        transform: translateY(-9px);
    }

.wisdom-exclusive-image {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: #eee1e9;
}

    .wisdom-exclusive-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        transition: transform .65s ease;
    }

.wisdom-exclusive-card:hover .wisdom-exclusive-image img {
    transform: scale(1.065);
}

.wisdom-exclusive-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, transparent 38%, rgba(47, 3, 39, .25) 100% );
    pointer-events: none;
}

.wisdom-exclusive-number {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 3;
    min-width: 45px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0 10px;
    color: var(--brand-plum-deep);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .65);
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .15);
    font-family: "Manrope", sans-serif;
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.wisdom-exclusive-icon {
    position: absolute;
    left: 22px;
    bottom: -28px;
    z-index: 4;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: var(--brand-plum-deep);
    background: linear-gradient( 135deg, #ffe499, var(--brand-gold) );
    border: 4px solid var(--white);
    border-radius: 18px;
    box-shadow: 0 13px 28px rgba(79, 12, 61, .20);
    font-size: 22px;
}

.wisdom-exclusive-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 44px 24px 23px;
}

.wisdom-exclusive-subtitle {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-magenta);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.wisdom-exclusive-content h3 {
    margin-bottom: 12px;
    color: var(--brand-plum-deep);
    font-size: 21px;
    line-height: 1.28;
    letter-spacing: -.025em;
}

.wisdom-exclusive-content > p {
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
}

.wisdom-exclusive-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

    .wisdom-exclusive-footer span {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #55424f;
        font-size: 12px;
        font-weight: 700;
    }

    .wisdom-exclusive-footer i {
        color: var(--success);
    }


/* =========================================================
   CERTIFICATES AND RECOGNITIONS SLIDER
========================================================= */

.certificate-section {
    position: relative;
    overflow: hidden;
    color: rgba(255, 255, 255, .82);
    background: radial-gradient( circle at 9% 15%, rgba(181, 28, 126, .40), transparent 27% ), radial-gradient( circle at 92% 84%, rgba(244, 179, 40, .17), transparent 25% ), linear-gradient( 135deg, #25021e 0%, #450536 45%, #74105a 100% ) !important;
}

    .certificate-section::before {
        content: "";
        position: absolute;
        inset: 0;
        opacity: .12;
        background-image: linear-gradient( rgba(255, 255, 255, .12) 1px, transparent 1px ), linear-gradient( 90deg, rgba(255, 255, 255, .12) 1px, transparent 1px );
        background-size: 72px 72px;
        pointer-events: none;
    }

.certificate-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.certificate-decoration-one {
    width: 230px;
    height: 230px;
    top: -90px;
    right: 9%;
    border: 35px solid rgba(244, 179, 40, .09);
}

.certificate-decoration-two {
    width: 190px;
    height: 190px;
    left: -75px;
    bottom: -75px;
    border: 28px solid rgba(255, 255, 255, .05);
}

.certificate-heading-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.certificate-heading-content {
    max-width: 790px;
}

    .certificate-heading-content .eyebrow {
        color: var(--brand-gold);
    }

    .certificate-heading-content h2 {
        margin-bottom: 14px;
        color: var(--white);
    }

    .certificate-heading-content p {
        max-width: 690px;
        color: rgba(255, 255, 255, .69);
    }

.certificate-controls {
    flex: 0 0 auto;
    display: flex;
    gap: 10px;
}

.certificate-control {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: var(--brand-plum-deep);
    background: var(--brand-gold);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    cursor: pointer;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .certificate-control:hover {
        background: #ffd873;
        box-shadow: 0 16px 34px rgba(0, 0, 0, .30);
        transform: translateY(-3px);
    }

    .certificate-control:focus-visible {
        outline: 3px solid rgba(255, 255, 255, .85);
        outline-offset: 4px;
    }

.certificate-slider {
    position: relative;
    z-index: 2;
}

.certificate-viewport {
    width: 100%;
    overflow: hidden;
}

.certificate-track {
    width: 100%;
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 2px 15px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    outline: none;
}

    .certificate-track::-webkit-scrollbar {
        display: none;
    }

.certificate-slide {
    min-width: 0;
    flex: 0 0 calc((100% - 44px) / 3);
    display: flex;
    scroll-snap-align: start;
}

.certificate-card {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 14px;
    color: var(--ink);
    background: linear-gradient( 145deg, rgba(255, 255, 255, .99), #fff9fc );
    border: 1px solid rgba(255, 255, 255, .50);
    border-radius: 25px;
    box-shadow: 0 25px 58px rgba(17, 0, 13, .27), inset 0 1px 0 rgba(255, 255, 255, .75);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .certificate-card:hover {
        box-shadow: 0 35px 75px rgba(17, 0, 13, .36), inset 0 1px 0 rgba(255, 255, 255, .75);
        transform: translateY(-7px);
    }

.certificate-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 4px 5px 13px;
}

.certificate-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--brand-plum);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

    .certificate-badge i {
        color: var(--brand-gold-dark);
    }

.certificate-count {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.certificate-image-wrap {
    position: relative;
    height: 390px;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 11px;
    background: linear-gradient( 135deg, #f8edf4, #fffdf8 );
    border: 1px solid var(--line);
    border-radius: 18px;
}

    .certificate-image-wrap::before {
        content: "";
        position: absolute;
        inset: 8px;
        border: 1px solid rgba(244, 179, 40, .25);
        border-radius: 13px;
        pointer-events: none;
    }

    .certificate-image-wrap img {
        position: relative;
        z-index: 2;
        width: 100%;
        height: 100%;
        display: block;
        object-fit: contain;
        transition: transform .55s ease;
    }

.certificate-card:hover .certificate-image-wrap img {
    transform: scale(1.025);
}

.certificate-card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 6px 5px;
}

.certificate-seal {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    color: var(--brand-plum-deep);
    background: linear-gradient( 135deg, #ffe39a, var(--brand-gold) );
    border-radius: 13px;
    font-size: 18px;
}

.certificate-card-footer strong,
.certificate-card-footer span {
    display: block;
}

.certificate-card-footer strong {
    color: var(--brand-plum-deep);
    font-size: 13px;
}

.certificate-card-footer span {
    margin-top: 2px;
    color: var(--muted);
    font-size: 11px;
}

.certificate-progress {
    width: 100%;
    height: 4px;
    margin-top: 17px;
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
    border-radius: 99px;
}

    .certificate-progress span {
        display: block;
        width: 0;
        height: 100%;
        background: linear-gradient( 90deg, var(--brand-gold), #ffd973 );
        border-radius: inherit;
        transition: width .35s ease;
    }


/* =========================================================
   RESPONSIVE NEW SECTIONS
========================================================= */

@media (max-width: 1199.98px) {

    .wisdom-exclusive-image {
        height: 220px;
    }

    .certificate-image-wrap {
        height: 350px;
    }
}

@media (max-width: 991.98px) {

    .certificate-heading-row {
        align-items: flex-start;
    }

    .certificate-slide {
        flex-basis: calc((100% - 22px) / 2);
    }

    .certificate-image-wrap {
        height: 370px;
    }
}

@media (max-width: 767.98px) {

    .wisdom-exclusive-image {
        height: 235px;
    }

    .wisdom-exclusive-content {
        padding: 43px 21px 21px;
    }

    .certificate-heading-row {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 28px;
    }

    .certificate-controls {
        align-self: flex-end;
    }

    .certificate-slide {
        flex-basis: 100%;
    }

    .certificate-image-wrap {
        height: 410px;
    }
}

@media (max-width: 575.98px) {

    .wisdom-exclusive-card {
        border-radius: 22px;
    }

    .wisdom-exclusive-image {
        height: 215px;
    }

    .wisdom-exclusive-content h3 {
        font-size: 19px;
    }

    .certificate-control {
        width: 43px;
        height: 43px;
    }

    .certificate-card {
        padding: 11px;
        border-radius: 21px;
    }

    .certificate-image-wrap {
        height: 360px;
        padding: 8px;
    }

    .certificate-card-footer {
        padding-left: 4px;
        padding-right: 4px;
    }
}

/* ========================================================================
   FINAL HOME HERO SLIDER
   Soft white overlay for text readability
========================================================================= */

.hero.hero-slider-section {
    position: relative !important;
    width: 100%;
    min-height: 830px !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
}

    .hero.hero-slider-section::before,
    .hero.hero-slider-section::after {
        content: none !important;
        display: none !important;
    }

/* =========================================================
   SLIDER STRUCTURE
========================================================= */

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner,
.hero-slider-section .carousel-item,
.hero-slider-item {
    width: 100%;
    max-width: 100%;
}

.hero-slider-section .carousel,
.hero-slider-section .carousel-inner {
    position: relative;
}

.hero-slider-section .carousel-item {
    height: auto;
}

/* =========================================================
   INDIVIDUAL SLIDE
========================================================= */

.hero-slider-item {
    position: relative;
    width: 100%;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

    /*
   Soft white overlay:
   Left side = 72% white for heading readability
   Middle = gradually reduced
   Right side = only 5% white so doctors remain clear
*/

    .hero-slider-item::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        display: block !important;
        background: linear-gradient( 90deg, rgba(255, 255, 255, .72) 0%, rgba(255, 255, 255, .62) 25%, rgba(255, 255, 255, .38) 43%, rgba(255, 255, 255, .14) 58%, rgba(255, 255, 255, .05) 100% ) !important;
        pointer-events: none;
    }

/* =========================================================
   SLIDER IMAGES
========================================================= */

.hero-slide-one {
    background-image: url('/assets/img/banner.png');
}

.hero-slide-two {
    background-image: url('/assets/img/banner-2.png');
}

.hero-slide-three {
    background-image: url('/assets/img/banner-3.png');
}

.hero-slide-four {
    background-image: url('/assets/img/banner-4.png');
}

/* =========================================================
   CONTENT ROW
========================================================= */

.hero-slider-row,
.hero-slider-section .hero-slider-row {
    position: relative;
    z-index: 3;
    min-height: 610px !important;
    padding-top: 60px;
    padding-bottom: 70px;
}

.hero-slider-content {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: 760px;
}

    /* Eyebrow */

    .hero-slider-content .eyebrow {
        color: var(--brand-gold);
        text-shadow: 0 1px 2px rgba(255, 255, 255, .70);
    }

    /* Heading */

    .hero-slider-content h1,
    .hero.hero-slider-section h1 {
        max-width: 780px;
        margin: 12px 0 22px;
        color: var(--brand-plum-deep);
        font-size: clamp(3.25rem, 6.6vw, 6.55rem);
        font-weight: 800;
        line-height: .96;
        letter-spacing: -.065em;
        text-shadow: 0 2px 8px rgba(255, 255, 255, .42);
    }

    .hero-slider-content .text-gold,
    .hero.hero-slider-section .text-gold {
        color: var(--brand-magenta) !important;
    }

    /* Description */

    .hero-slider-content p,
    .hero.hero-slider-section p {
        max-width: 630px;
        margin: 0;
        color: #47343f;
        font-size: 18px;
        line-height: 1.75;
        text-shadow: 0 1px 5px rgba(255, 255, 255, .55);
    }

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

    .hero-slider-content .hero-actions,
    .hero.hero-slider-section .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin: 32px 0 0;
    }

    .hero-slider-content .btn-outline-gold {
        color: var(--brand-plum) !important;
        background: rgba(255, 255, 255, .90);
        border-color: rgba(116, 16, 90, .25);
        box-shadow: 0 10px 25px rgba(47, 3, 39, .08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

        .hero-slider-content .btn-outline-gold:hover {
            color: var(--white) !important;
            background: var(--brand-plum);
            border-color: var(--brand-plum);
        }

/* =========================================================
   FADE ANIMATION
========================================================= */

.hero-slider-section .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity .9s ease-in-out;
}

    .hero-slider-section .carousel-fade .carousel-item.active {
        opacity: 1;
    }

.hero-slider-section .carousel-item.active .hero-slider-content {
    animation: heroContentIn .8s ease forwards;
}

@keyframes heroContentIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

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

/* =========================================================
   SLIDER ARROWS
========================================================= */

.hero-slider-control {
    z-index: 9;
    width: 64px;
    opacity: 1;
}

    .hero-slider-control.carousel-control-prev {
        left: 5px;
    }

    .hero-slider-control.carousel-control-next {
        right: 5px;
    }

.hero-slider-arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--brand-plum);
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(116, 16, 90, .15);
    border-radius: 50%;
    box-shadow: 0 12px 28px rgba(47, 3, 39, .16);
    font-size: 15px;
    transition: color .25s ease, background .25s ease, transform .25s ease;
}

.hero-slider-control:hover .hero-slider-arrow {
    color: var(--brand-plum-deep);
    background: var(--brand-gold);
    transform: scale(1.06);
}

/* =========================================================
   SLIDER INDICATORS
========================================================= */

.hero-slider-indicators {
    position: absolute;
    right: 80px;
    bottom: 145px;
    left: auto;
    z-index: 9;
    width: auto;
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
}

    .hero-slider-indicators [data-bs-target] {
        width: 9px;
        height: 9px;
        margin: 0;
        padding: 0;
        background: rgba(255, 255, 255, .88);
        border: 2px solid rgba(116, 16, 90, .45);
        border-radius: 50%;
        opacity: 1;
        transition: width .25s ease, background .25s ease, border-radius .25s ease;
    }

    .hero-slider-indicators .active {
        width: 28px;
        background: var(--brand-gold);
        border-color: var(--brand-gold);
        border-radius: 999px;
    }

/* =========================================================
   40+ FLOATING CARD
========================================================= */

.hero-slider-section .floating-card {
    position: absolute;
    right: 6.5%;
    bottom: 170px;
    z-index: 8;
    min-width: 190px;
    padding: 20px 24px;
    color: var(--white);
    text-align: left;
    background: linear-gradient( 135deg, rgba(116, 16, 90, .96), rgba(181, 28, 126, .93) );
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 22px;
    box-shadow: 0 24px 55px rgba(75, 5, 56, .26);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

    .hero-slider-section .floating-card strong {
        display: inline-block;
        margin-bottom: 2px;
        color: var(--brand-gold);
        font-family: "Manrope", sans-serif;
        font-size: 38px;
        line-height: 1;
    }

/* =========================================================
   TRUST STRIP
========================================================= */

.hero-trust-container {
    position: absolute;
    right: 0;
    bottom: 28px;
    left: 0;
    z-index: 8;
}

.hero-slider-section .trust-strip {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 10px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(116, 16, 90, .11);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.hero-slider-section .trust-item {
    min-width: 0;
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px;
    color: var(--ink);
    border-right: 1px solid var(--line);
}

    .hero-slider-section .trust-item:last-child {
        border-right: 0;
    }

    .hero-slider-section .trust-item > i {
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
        display: grid;
        place-items: center;
        color: var(--brand-plum);
        background: linear-gradient( 135deg, var(--brand-gold-soft), #fff8df );
        border-radius: 14px;
        font-size: 20px;
    }

    .hero-slider-section .trust-item span {
        min-width: 0;
        color: var(--muted);
        font-size: 12px;
        line-height: 1.45;
    }

    .hero-slider-section .trust-item b {
        display: block;
        margin-bottom: 3px;
        color: var(--ink);
        font-size: 14px;
    }

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

@media (max-width: 991.98px) {

    .hero.hero-slider-section {
        min-height: 0 !important;
    }

    .hero-slider-item {
        min-height: 610px;
        background-position: 62% center;
    }

        /* Mobile/tablet पर text readability के लिए थोड़ा अधिक white */

        .hero-slider-item::before {
            background: linear-gradient( 90deg, rgba(255, 255, 255, .82) 0%, rgba(255, 255, 255, .68) 50%, rgba(255, 255, 255, .22) 100% ) !important;
        }

    .hero-slider-row,
    .hero-slider-section .hero-slider-row {
        min-height: 610px !important;
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .hero-slider-content {
        max-width: 680px;
    }

        .hero-slider-content h1,
        .hero.hero-slider-section h1 {
            font-size: clamp(3rem, 9vw, 5.25rem);
        }

    .hero-slider-section .floating-card,
    .hero-slider-control {
        display: none !important;
    }

    .hero-slider-indicators {
        right: 24px;
        bottom: 24px;
    }

    .hero-trust-container {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        padding: 16px 0;
        background: #ffffff;
    }

    .hero-slider-section .trust-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-slider-section .trust-item:nth-child(2) {
        border-right: 0;
    }

    .hero-slider-section .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }
}

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

@media (max-width: 767.98px) {

    .hero-slider-item {
        min-height: 550px;
        background-position: 66% center;
    }

        .hero-slider-item::before {
            background: linear-gradient( 90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .74) 65%, rgba(255, 255, 255, .35) 100% ) !important;
        }

    .hero-slider-row,
    .hero-slider-section .hero-slider-row {
        min-height: 550px !important;
        padding-top: 42px;
        padding-bottom: 62px;
    }

    .hero-slider-content h1,
    .hero.hero-slider-section h1 {
        max-width: 390px;
        margin-bottom: 17px;
        font-size: clamp(2.65rem, 12vw, 4rem);
        line-height: .96;
    }

    .hero-slider-content p,
    .hero.hero-slider-section p {
        max-width: 390px;
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-slider-content .hero-actions,
    .hero.hero-slider-section .hero-actions {
        max-width: 390px;
        gap: 10px;
        margin-top: 23px;
    }

        .hero-slider-content .hero-actions > a {
            flex: 1 1 180px;
        }

    .hero-slider-indicators {
        right: 16px;
        bottom: 14px;
    }

    .hero-slider-section .trust-item {
        min-height: 84px;
        padding: 13px;
    }

        .hero-slider-section .trust-item > i {
            width: 38px;
            height: 38px;
            flex-basis: 38px;
            font-size: 16px;
        }
}

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

@media (max-width: 575.98px) {

    .hero.hero-slider-section,
    .hero-slider-section .carousel,
    .hero-slider-section .carousel-inner,
    .hero-slider-section .carousel-item,
    .hero-slider-item {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-slider-item {
        min-height: 500px;
        background-position: 72% center;
    }

        .hero-slider-item::before {
            background: linear-gradient( 90deg, rgba(255, 255, 255, .91) 0%, rgba(255, 255, 255, .78) 72%, rgba(255, 255, 255, .42) 100% ) !important;
        }

    .hero-slider-row,
    .hero-slider-section .hero-slider-row {
        min-height: 500px !important;
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .hero-slider-content {
        width: 100%;
        max-width: 100%;
    }

        .hero-slider-content .eyebrow {
            margin-bottom: 8px;
            font-size: 9px;
            letter-spacing: .11em;
        }

        .hero-slider-content h1,
        .hero.hero-slider-section h1 {
            max-width: 310px;
            margin: 7px 0 14px;
            font-size: clamp(2.2rem, 10.8vw, 2.9rem);
            line-height: .98;
            letter-spacing: -.05em;
        }

        .hero-slider-content p,
        .hero.hero-slider-section p {
            max-width: 305px;
            font-size: 12.5px;
            line-height: 1.55;
        }

        .hero-slider-content .hero-actions,
        .hero.hero-slider-section .hero-actions {
            width: 100%;
            max-width: 305px;
            margin-top: 18px;
        }

            .hero-slider-content .hero-actions > a {
                width: 100%;
                min-height: 43px;
                flex: 1 1 100%;
                padding: 9px 13px;
                font-size: 12px;
            }

    .hero-slider-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
    }

    .hero-slider-indicators .active {
        width: 22px;
    }

    .hero-trust-container {
        padding: 12px 0;
    }

    .hero-slider-section .trust-strip {
        grid-template-columns: 1fr;
        padding: 7px;
        border-radius: 17px;
    }

    .hero-slider-section .trust-item,
    .hero-slider-section .trust-item:nth-child(2) {
        min-height: 68px;
        padding: 10px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

        .hero-slider-section .trust-item:last-child {
            border-bottom: 0;
        }

        .hero-slider-section .trust-item > i {
            width: 35px;
            height: 35px;
            flex: 0 0 35px;
            font-size: 15px;
        }

        .hero-slider-section .trust-item span {
            font-size: 10px;
        }

        .hero-slider-section .trust-item b {
            font-size: 12px;
        }
}
/* ========================================================================
   GLOBAL TOOTH DECORATIONS
   Explicit decorative rings are converted into tooth silhouettes.
========================================================================= */

:root {
    --wisdom-tooth-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M256 32c-33.1 0-55.3 15.6-72.8 28C166.1 72.1 154 80 128 80 75 80 32 123 32 176c0 43.7 16.6 78.5 34.2 115.3 16.9 35.3 34.4 71.8 39.8 121.7 4.3 39.4 24.5 67 49.1 67 24 0 37.6-23.1 49.6-43.5 13.8-23.5 28.1-47.9 51.3-47.9s37.5 24.4 51.3 47.9C319.3 456.9 332.9 480 357 480c24.6 0 44.8-27.6 49.1-67 5.4-49.9 22.9-86.4 39.8-121.7C463.4 254.5 480 219.7 480 176c0-53-43-96-96-96-26 0-38.1-7.9-55.2-20C311.3 47.6 289.1 32 256 32z'/%3E%3C/svg%3E");
}

.hero-tooth-decoration {
    position: absolute;
    top: 135px;
    right: 5%;
    z-index: 7;
    width: 96px;
    height: 110px;
    display: block;
    color: transparent;
    background: rgba(244,179,40,.38);
    border: 0;
    border-radius: 0;
    -webkit-mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    pointer-events: none;
    transform: rotate(12deg);
    filter: drop-shadow(0 16px 25px rgba(244,179,40,.12));
}

    .hero-tooth-decoration i {
        display: none;
    }

.page-hero::after,
.doctor-feature-photo::before,
.doctor-feature::after,
.cta-panel::before,
.appointment-intro::after,
.service-detail-card::before,
.treat-card::after {
    content: "" !important;
    position: absolute;
    display: block;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    pointer-events: none;
}

.page-hero::after {
    right: 4%;
    bottom: 24px;
    width: 145px;
    height: 170px;
    background: rgba(255,255,255,.11) !important;
    transform: rotate(12deg);
}

.doctor-feature-photo::before {
    top: 22px;
    right: 24px;
    z-index: 1;
    width: 72px;
    height: 84px;
    background: rgba(244,179,40,.38) !important;
    transform: rotate(10deg);
}

.doctor-feature::after {
    right: -50px;
    bottom: -58px;
    width: 210px;
    height: 235px;
    background: rgba(244,179,40,.12) !important;
    transform: rotate(-18deg);
}

.cta-panel::before {
    right: -35px;
    bottom: -55px;
    width: 170px;
    height: 195px;
    background: rgba(255,255,255,.075) !important;
    transform: rotate(-15deg);
}

.appointment-intro::after {
    right: -38px;
    bottom: -62px;
    width: 190px;
    height: 215px;
    background: rgba(255,255,255,.075) !important;
    transform: rotate(15deg);
}

.service-detail-card::before {
    right: -75px;
    top: -75px;
    width: 190px;
    height: 215px;
    background: rgba(181,28,126,.08) !important;
    transform: rotate(20deg);
}

.treat-card::after {
    right: -22px;
    bottom: -34px;
    width: 90px;
    height: 105px;
    background: rgba(244,179,40,.15) !important;
    transform: rotate(-16deg);
}

.certificate-decoration {
    position: absolute;
    display: block;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    -webkit-mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    pointer-events: none;
}

.certificate-decoration-one {
    top: -38px;
    right: 7%;
    width: 180px;
    height: 205px;
    background: rgba(244,179,40,.09) !important;
    transform: rotate(15deg);
}

.certificate-decoration-two {
    left: -45px;
    bottom: -55px;
    width: 150px;
    height: 175px;
    background: rgba(255,255,255,.055) !important;
    transform: rotate(-20deg);
}

.footer-glow {
    border-radius: 0 !important;
    filter: none !important;
    -webkit-mask: var(--wisdom-tooth-mask) center / contain no-repeat;
    mask: var(--wisdom-tooth-mask) center / contain no-repeat;
}

.footer-glow-one {
    width: 300px;
    height: 340px;
    left: -125px;
    bottom: -115px;
    background: rgba(181,28,126,.12);
    transform: rotate(-18deg);
}

.footer-glow-two {
    width: 235px;
    height: 270px;
    right: -90px;
    top: 100px;
    background: rgba(244,179,40,.07);
    transform: rotate(20deg);
}

/* ========================================================================
   FINAL RESPONSIVE HERO RULES
========================================================================= */

@media (max-width: 991.98px) {
    .hero.hero-slider-section {
        min-height: 0 !important;
        padding: 0 !important;
    }

    .hero-slider-item {
        min-height: 610px;
        background-position: 62% center;
    }

        .hero-slider-item::before {
            background: linear-gradient( 90deg, rgba(255,255,255,.98) 0%, rgba(255,250,253,.94) 58%, rgba(255,255,255,.63) 100% );
        }

    .hero-slider-row,
    .hero-slider-section .hero-slider-row {
        min-height: 610px !important;
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .hero-slider-content {
        max-width: 680px;
    }

        .hero-slider-content h1,
        .hero.hero-slider-section h1 {
            font-size: clamp(3rem,9vw,5.25rem);
        }

    .hero-slider-section .floating-card,
    .hero-slider-control {
        display: none !important;
    }

    .hero-slider-indicators {
        right: 24px;
        bottom: 24px;
    }

    .hero-trust-container {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        padding: 16px 0;
        background: #fff;
    }

    .hero-slider-section .trust-strip {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .hero-slider-section .trust-item:nth-child(2) {
        border-right: 0;
    }

    .hero-slider-section .trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .hero-tooth-decoration {
        top: 30px;
        right: 24px;
        width: 65px;
        height: 75px;
    }

    .page-hero::after {
        right: 3%;
        bottom: 10px;
        width: 110px;
        height: 128px;
    }
}

@media (max-width: 767.98px) {
    .hero-slider-item {
        min-height: 550px;
        background-position: 66% center;
    }

        .hero-slider-item::before {
            background: linear-gradient( 90deg, rgba(255,255,255,.98) 0%, rgba(255,249,253,.93) 72%, rgba(255,255,255,.76) 100% );
        }

    .hero-slider-row,
    .hero-slider-section .hero-slider-row {
        min-height: 550px !important;
        padding-top: 42px;
        padding-bottom: 62px;
    }

    .hero-slider-content h1,
    .hero.hero-slider-section h1 {
        max-width: 390px;
        margin-bottom: 17px;
        font-size: clamp(2.65rem,12vw,4rem);
        line-height: .96;
    }

    .hero-slider-content p,
    .hero.hero-slider-section p {
        max-width: 390px;
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-slider-content .hero-actions,
    .hero.hero-slider-section .hero-actions {
        max-width: 390px;
        gap: 10px;
        margin-top: 23px;
    }

        .hero-slider-content .hero-actions > a {
            flex: 1 1 180px;
        }

    .hero-slider-indicators {
        right: 16px;
        bottom: 14px;
    }

    .hero-tooth-decoration {
        top: 18px;
        right: 12px;
        opacity: .7;
    }

    .page-hero::after {
        width: 90px;
        height: 105px;
    }

    .hero-slider-section .trust-item {
        min-height: 84px;
        padding: 13px;
    }

        .hero-slider-section .trust-item > i {
            width: 38px;
            height: 38px;
            flex-basis: 38px;
            font-size: 16px;
        }
}

@media (max-width: 575.98px) {
    .hero.hero-slider-section,
    .hero-slider-section .carousel,
    .hero-slider-section .carousel-inner,
    .hero-slider-section .carousel-item,
    .hero-slider-item {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-slider-item {
        min-height: 500px;
        background-position: 72% center;
    }

        .hero-slider-item::before {
            background: linear-gradient( 90deg, rgba(255,255,255,.98) 0%, rgba(255,249,253,.94) 76%, rgba(255,255,255,.79) 100% );
        }

    .hero-slider-row,
    .hero-slider-section .hero-slider-row {
        min-height: 500px !important;
        padding-top: 30px;
        padding-bottom: 50px;
    }

    .hero-slider-content {
        width: 100%;
        max-width: 100%;
    }

        .hero-slider-content .eyebrow {
            margin-bottom: 8px;
            font-size: 9px;
            letter-spacing: .11em;
        }

        .hero-slider-content h1,
        .hero.hero-slider-section h1 {
            max-width: 310px;
            margin: 7px 0 14px;
            font-size: clamp(2.2rem,10.8vw,2.9rem);
            line-height: .98;
            letter-spacing: -.05em;
        }

        .hero-slider-content p,
        .hero.hero-slider-section p {
            max-width: 305px;
            font-size: 12.5px;
            line-height: 1.55;
        }

        .hero-slider-content .hero-actions,
        .hero.hero-slider-section .hero-actions {
            width: 100%;
            max-width: 305px;
            margin-top: 18px;
        }

            .hero-slider-content .hero-actions > a {
                width: 100%;
                min-height: 43px;
                flex: 1 1 100%;
                padding: 9px 13px;
                font-size: 12px;
            }

    .hero-slider-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
    }

    .hero-slider-indicators .active {
        width: 22px;
    }

    .hero-tooth-decoration {
        top: 15px;
        right: 8px;
        width: 46px;
        height: 54px;
    }

    .hero-trust-container {
        padding: 12px 0;
    }

    .hero-slider-section .trust-strip {
        grid-template-columns: 1fr;
        padding: 7px;
        border-radius: 17px;
    }

    .hero-slider-section .trust-item,
    .hero-slider-section .trust-item:nth-child(2) {
        min-height: 68px;
        padding: 10px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

        .hero-slider-section .trust-item:last-child {
            border-bottom: 0;
        }

        .hero-slider-section .trust-item > i {
            width: 35px;
            height: 35px;
            flex: 0 0 35px;
            font-size: 15px;
        }

        .hero-slider-section .trust-item span {
            font-size: 10px;
        }

        .hero-slider-section .trust-item b {
            font-size: 12px;
        }

    .page-hero::after {
        right: -8px;
        bottom: 6px;
        width: 75px;
        height: 88px;
    }

    .doctor-feature-photo::before {
        top: 16px;
        right: 16px;
        width: 53px;
        height: 62px;
    }

    .certificate-decoration-one {
        width: 105px;
        height: 122px;
        right: 2%;
    }

    .certificate-decoration-two {
        width: 85px;
        height: 100px;
    }
}

/* ========================================================================
   FINAL MOBILE SOCIAL ICONS
   Facebook, Instagram and YouTube remain visible on mobile.
   Call and WhatsApp floating buttons remain controlled by the existing
   mobile quick bar and are not changed here.
========================================================================= */

@media (max-width: 991.98px) {
    .floating-socials {
        position: fixed !important;
        top: 50% !important;
        left: 8px !important;
        right: auto !important;
        bottom: auto !important;
        z-index: 1032 !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: center !important;
        gap: 7px !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(-50%) !important;
    }

    .floating-social {
        position: relative !important;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        min-height: 40px !important;
        display: grid !important;
        place-items: center !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        border: 2px solid #ffffff !important;
        border-radius: 50% !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, .22), 0 0 0 1px rgba(116, 16, 90, .08) !important;
        font-size: 15px !important;
        line-height: 1 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
    }

        .floating-social i {
            display: block !important;
            margin: 0 !important;
            padding: 0 !important;
            color: #ffffff !important;
            font-size: 15px !important;
            line-height: 1 !important;
        }

    .floating-facebook {
        background: #1877f2 !important;
    }

    .floating-instagram {
        background: linear-gradient( 135deg, #833ab4 0%, #c13584 34%, #e1306c 57%, #fd1d1d 76%, #fcb045 100% ) !important;
    }

    .floating-youtube {
        background: #ff0000 !important;
    }

    .floating-social:hover,
    .floating-social:active,
    .floating-social:focus-visible {
        color: #ffffff !important;
        transform: scale(1.04) !important;
    }

    /* Tooltip text is unnecessary on touch devices. */
    .floating-social span {
        display: none !important;
    }
}

@media (max-width: 575.98px) {
    .floating-socials {
        left: 6px !important;
        gap: 6px !important;
    }

    .floating-social {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
    }

        .floating-social i {
            font-size: 14px !important;
        }
}

@media (max-width: 380px) {
    .floating-socials {
        left: 4px !important;
    }

    .floating-social {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        min-height: 35px !important;
    }

        .floating-social i {
            font-size: 13px !important;
        }
}
