:root {
    /* STRICT BALAGAM LOGO PALETTE */
    --primary-blue: #0067B6;
    --primary-blue-dark: #004D8A;
    --cyan: #00C7F4;
    --cyan-glow: rgba(0, 199, 244, 0.25);
    --dark-navy: #09223A;
    --dark-text: #09223A;
    --secondary-text: #5A7184;
    --light-bg: #F3FAFE;
    --light-blue-tint: #EBF5FC;
    --border: #DCEAF4;
    --white: #FFFFFF;
    --medical-red: #EF2B2D;

    /* Semantic Compatibility Aliases */
    --text-primary: var(--dark-text);
    --text-secondary: var(--secondary-text);
    --light-blue: var(--light-bg);
    --bg-page: var(--white);
    --bg-soft: var(--light-bg);
    --bg-card: var(--white);
    --border-color: var(--border);
    --accent-teal: var(--cyan);
    --btn-dark: var(--dark-navy);
    --btn-blue: var(--primary-blue);
    --star-gold: var(--primary-blue);

    /* Legacy Semantic Aliases */
    --bg: var(--white);
    --ink: var(--dark-text);
    --muted: var(--secondary-text);
    --line: var(--border);
    --mint: var(--light-bg);
    --dark: var(--dark-navy);

    /* CONSISTENT RADIUS SYSTEM */
    --radius-sm: 10px;
    --radius-card: 18px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    /* CLEAN MEDICAL SHADOW SYSTEM (Subtle, non-excessive) */
    --shadow-card: 0 4px 20px rgba(15, 31, 45, 0.05);
    --shadow-lg: 0 10px 30px rgba(15, 31, 45, 0.07);

    /* TWO-FONT SYSTEM
       --font-family : DM Sans — nav, body, labels, buttons, stats, all UI
       --font-serif  : Cormorant Garamond — h1/h2 display headings & italic accents */
    --font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --container-max: min(91vw, 1440px);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

body {
    background: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE & Edge */
}

/* Hide unwanted vertical scrollbar / height-control bar on the right side across all browsers */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
}

/* Display headings — Cormorant Garamond */
h1, h2 {
    font-family: var(--font-serif);
    color:white;
}

/* UI headings — DM Sans (card titles, labels, subheadings) */
h3, h4, h5, h6 {
    font-family: var(--font-family);
    color: var(--dark-navy);
}

/* Italic accent inside display headings — Cormorant Garamond Italic */
h1 em, h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: inherit;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
    position: fixed;
    z-index: 100;
    left: 0;
    right: 0;
    top: 0;
    padding: 16px 4vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark-navy);
}

.nav-brand-logo {
    height: 56px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, height 0.25s ease;
}

.logo {
    flex-shrink: 0;
}

.logo:hover .nav-brand-logo {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 1;
    margin: 0 10px;
}

.nav-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 7px 16px;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    border: none;
    transition: color 0.35s ease;
    z-index: 1;
}

@media (min-width: 1440px) {
    .nav-brand-logo {
        height: 60px;
        max-width: 280px;
    }
    .nav-links {
        gap: 12px;
        margin: 0 14px;
    }
    .nav-link {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* Intermediate Laptops & Split-Screens (1081px - 1366px): compact desktop header */
@media (max-width: 1366px) and (min-width: 1081px) {
    .nav {
        padding: 10px 2vw;
    }
    .nav-brand-logo {
        height: 44px;
        max-width: 200px;
    }
    .nav-links {
        gap: 4px;
        margin: 0 4px;
    }
    .nav-link {
        font-size: 11.5px;
        padding: 6px 11px;
        letter-spacing: .02em;
    }
    .nav-actions .book-btn {
        padding: 8px 14px;
        font-size: 10px;
        min-height: 36px;
        letter-spacing: .08em;
    }
}

/* ==========================================================================
   ABOUT US DROPDOWN (ONLY ABOUT & OUR TEAM)
   ========================================================================== */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-chevron {
    transition: transform 0.25s ease;
    margin-top: 1px;
    flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown:focus-within .dropdown-chevron {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    min-width: 165px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(9, 34, 58, 0.08);
    box-shadow: 0 14px 35px rgba(9, 34, 58, 0.12), 0 2px 8px rgba(9, 34, 58, 0.04);
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.24s ease;
    z-index: 120;
}

/* Invisible bridge so mouse hover doesn't break */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--dark-navy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-blue);
    transform: translateX(3px);
}

.dropdown-item.active {
    background: var(--light-blue-tint);
    color: var(--primary-blue);
}

/* Ensure chevron on active/is-active pill matches white text */
.nav-link.active .dropdown-chevron,
.nav-link.is-active .dropdown-chevron {
    stroke: #FFFFFF !important;
}

/* ==========================================================================
   TREATMENTS MEGA-MENU DROPDOWN (DESKTOP)
   ========================================================================== */
.nav-item-treatments {
    position: relative;
}

.nav-treatments-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #ffffff;
    width: 630px;
    max-width: min(640px, 92vw);
    padding: 16px 18px 14px;
    border-radius: 16px;
    border: 1px solid rgba(0, 103, 182, 0.12);
    box-shadow: 0 20px 48px rgba(9, 34, 58, 0.14), 0 4px 14px rgba(9, 34, 58, 0.04);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.24s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.24s ease;
    z-index: 130;
}

/* Invisible hover bridge */
.nav-treatments-dropdown::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

.nav-item-dropdown:hover .nav-treatments-dropdown,
.nav-item-dropdown:focus-within .nav-treatments-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.treatments-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 11px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 103, 182, 0.1);
}

.dropdown-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-header-badge {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-blue);
    background: var(--light-bg);
    border: 1px solid rgba(0, 103, 182, 0.16);
    padding: 3px 9px;
    border-radius: 999px;
}

.dropdown-header-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: 0.02em;
}

.dropdown-view-all-link {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.18s ease, transform 0.18s ease;
}

.dropdown-view-all-link:hover {
    color: var(--primary-blue-dark);
    transform: translateX(3px);
}

.dropdown-arrow {
    transition: transform 0.18s ease;
    display: inline-block;
}

.dropdown-view-all-link:hover .dropdown-arrow {
    transform: translateX(2px);
}

/* Two-column balanced treatment grid */
.treatments-dropdown-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 10px;
}

.treatments-dropdown-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.treatment-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 9px;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
    cursor: pointer;
}

.treatment-dropdown-item .item-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--light-bg);
    border: 1px solid rgba(0, 103, 182, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.treatment-dropdown-item .item-text-box {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.treatment-dropdown-item .item-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark-navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.18s ease;
}

.treatment-dropdown-item .item-desc {
    font-size: 10.5px;
    color: var(--secondary-text);
    font-weight: 400;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hover effect on treatment items */
.treatment-dropdown-item:hover {
    background: #F3FAFE;
    border-color: rgba(0, 103, 182, 0.16);
    transform: translateX(3px);
}

.treatment-dropdown-item:hover .item-icon-box {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.treatment-dropdown-item:hover .item-title {
    color: var(--primary-blue);
}

.treatments-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 8px;
    border-top: 1px solid rgba(0, 103, 182, 0.08);
}

.dropdown-footer-note {
    font-size: 10.5px;
    color: var(--secondary-text);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-footer-note::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10B981;
}

.dropdown-footer-cta {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
}

.dropdown-footer-cta:hover {
    color: var(--primary-blue-dark);
    transform: translateX(3px);
}

@media (max-width: 1366px) and (min-width: 1081px) {
    .nav-treatments-dropdown {
        width: 580px;
        padding: 12px 14px 10px;
    }
    .treatment-dropdown-item {
        padding: 5px 8px;
        gap: 8px;
    }
    .treatment-dropdown-item .item-title {
        font-size: 12px;
    }
    .treatment-dropdown-item .item-desc {
        font-size: 10px;
    }
}


/* ==========================================================================
   BLOB-BTN EFFECT FOR NAVIGATION (SCSS ARCHITECTURE & COMPILED CSS)
   --------------------------------------------------------------------------
   SCSS Definition:
   $cyan: #0067B6;
   $cyan-glow: #00C7F4;
   $dark: #FFFFFF;
   $borderW: 2px;
   $numOfBlobs: 4;

   .blob-btn, .nav-link {
     &:before { border: $borderW solid transparent; border-radius: 30px; }
     &:hover, &.active, &.is-active {
       color: $dark;
       border-radius: 30px;
       &:before { border-color: $cyan; }
     }
     &__inner { overflow: hidden; border-radius: 30px; }
     &__blobs { filter: url('#goo'); }
     &__blob {
       width: 34%;
       background: linear-gradient(135deg, $cyan 0%, $cyan-glow 100%);
       transform: translate3d(0, 150%, 0) scale(1.7);
       @for $i from 1 through $numOfBlobs {
         &:nth-child(#{$i}) {
           left: ($i - 1) * (120% / $numOfBlobs);
           transition-delay: ($i - 1) * 0.08s;
         }
       }
       .nav-link:hover &,
       .nav-link.active &,
       .nav-link.is-active &,
       .blob-btn:hover &,
       .blob-btn.active &,
       .blob-btn.is-active & {
         transform: translateZ(0) scale(1.7);
       }
     }
   }
   ========================================================================== */

/* Outer container styling for nav links */
.nav-link {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    color: var(--text-secondary, #5A7184);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 7px 18px;
    border-radius: 30px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
    background-color: transparent;
    outline: none;
    border: none;
    transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
    z-index: 1;
}

/* Inactive nav-link hover: subtle, preserves layout */
.nav-link:not(.active):not(.is-active):hover {
    color: var(--primary-blue, #0067B6);
    background-color: rgba(0, 103, 182, 0.08);
}

.nav-link:not(.active):not(.is-active):hover .dropdown-chevron {
    color: var(--primary-blue, #0067B6);
    stroke: var(--primary-blue, #0067B6);
}

/* Ensure text and SVG chevron stay on top of any animation */
.nav-link > span,
.nav-link > svg,
.nav-link-text {
    position: relative;
    z-index: 4;
    transition: color 0.25s ease, stroke 0.25s ease;
}

/* ==========================================================================
   SOLID BALAGAM BLUE #0067B6 ACTIVE BUTTON WITH SMOOTH BLOB EFFECT
   ========================================================================== */
.nav-link.active,
.nav-link.is-active,
.blob-btn.active,
.blob-btn.is-active {
    background-color: #0067B6 !important;
    background: #0067B6 !important;
    color: #FFFFFF !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 16px rgba(0, 103, 182, 0.32) !important;
    font-weight: 600;
}

.nav-link.active > span,
.nav-link.is-active > span,
.nav-link.active > svg,
.nav-link.is-active > svg,
.nav-link.active .dropdown-chevron,
.nav-link.is-active .dropdown-chevron {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* Inner overflow container for blob animation */
.blob-btn__inner {
    z-index: 1;
    overflow: hidden;
    position: absolute;
    inset: 0;
    border-radius: 30px;
    background: transparent;
    pointer-events: none;
}

/* Blobs container with gooey filter */
.blob-btn__blobs {
    position: relative;
    display: block;
    height: 100%;
    width: 100%;
    filter: url('#goo');
}

/* 4 Staggered Organic Blobs */
.blob-btn__blob {
    position: absolute;
    top: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(135deg, #004D8A 0%, #0077C8 45%, #00C7F4 100%);
    border-radius: 100%;
    transform: translate3d(0, 150%, 0) scale(1.6);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    opacity: 0.95;
}

@supports (filter: url('#goo')) {
    .blob-btn__blob {
        transform: translate3d(0, 150%, 0) scale(1.35);
    }
}

/* Staggered 0.08s delays */
.blob-btn__blob:nth-child(1) { left: 0%; transition-delay: 0s; }
.blob-btn__blob:nth-child(2) { left: 30%; transition-delay: 0.08s; }
.blob-btn__blob:nth-child(3) { left: 60%; transition-delay: 0.16s; }
.blob-btn__blob:nth-child(4) { left: 90%; transition-delay: 0.24s; }

/* Active and Hover States fill smoothly */
.blob-btn.active .blob-btn__blob,
.blob-btn.is-active .blob-btn__blob,
.nav-link.active .blob-btn__blob,
.nav-link.is-active .blob-btn__blob,
.nav-link:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.6);
    opacity: 1;
}

@supports (filter: url('#goo')) {
    .blob-btn.active .blob-btn__blob,
    .blob-btn.is-active .blob-btn__blob,
    .nav-link.active .blob-btn__blob,
    .nav-link.is-active .blob-btn__blob,
    .nav-link:hover .blob-btn__blob {
        transform: translateZ(0) scale(1.35);
        opacity: 1;
    }
}

.nav-dot {
    display: none !important;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

.book-btn {
    background: var(--btn-dark);
    color: #FFFFFF;
    padding: 12px 22px;
    min-height: 44px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 31, 45, 0.08);
    transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    will-change: transform;
    white-space: nowrap !important;
    flex-shrink: 0;
}

.book-btn:hover {
    background: var(--btn-blue);
    color: #FFFFFF;
    transform: perspective(400px) translateY(-3px) rotate(-1.8deg) scale(1.04);
    box-shadow: 0 10px 24px rgba(0, 103, 182, 0.32);
}

.book-btn:active {
    transform: translateY(0) rotate(0deg) scale(0.97);
}

.btn-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.book-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   MOBILE HAMBURGER MENU & ANIMATION
   ========================================================================== */

/* Hamburger Button */
.hamburger-btn {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-pill);
    background: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(15, 31, 45, 0.06);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    z-index: 105;
}

.hamburger-btn:hover {
    background: var(--light-blue);
    border-color: rgba(0, 103, 182, 0.3);
    box-shadow: 0 4px 16px rgba(0, 103, 182, 0.16);
    transform: scale(1.04);
}

.hamburger-btn:active {
    transform: scale(0.95);
}

.hamburger-box {
    width: 20px;
    height: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.hamburger-line {
    display: block;
    width: 20px;
    height: 2.2px;
    border-radius: 4px;
    background: var(--dark-navy);
    transition: transform 0.38s cubic-bezier(0.68, -0.6, 0.32, 1.6),
                opacity 0.28s ease,
                background 0.25s ease;
    transform-origin: center;
    will-change: transform, opacity;
}

/* Morphing hamburger lines into 'X' */
.hamburger-btn.is-active {
    background: var(--light-blue);
    border-color: rgba(0, 103, 182, 0.4);
    box-shadow: 0 4px 18px rgba(0, 103, 182, 0.22);
}

.hamburger-btn.is-active .line-1 {
    transform: translateY(6.9px) rotate(45deg);
    background: var(--primary-blue);
}

.hamburger-btn.is-active .line-2 {
    opacity: 0;
    transform: translateX(8px) scaleX(0);
}

.hamburger-btn.is-active .line-3 {
    transform: translateY(-6.9px) rotate(-45deg);
    background: var(--primary-blue);
}

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(11, 31, 58, 0.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-menu-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 103, 182, 0.14);
    box-shadow: 0 24px 50px rgba(15, 31, 45, 0.16);
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.38s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.mobile-menu-drawer.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.mobile-menu-inner {
    padding: 20px 5vw 28px;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Links List */
.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--dark-navy);
    font-size: 14.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    background: transparent;
    border: 1px solid transparent;
    text-decoration: none;
    gap: 12px;
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.22s ease,
                color 0.22s ease,
                border-color 0.22s ease;
    will-change: opacity, transform;
    -webkit-tap-highlight-color: transparent;
}

/* Staggered entrance when drawer opens */
.mobile-menu-drawer.is-open .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu-drawer.is-open .mobile-nav-link[data-index="0"] { transition-delay: 0.06s; }
.mobile-menu-drawer.is-open .mobile-nav-link[data-index="1"] { transition-delay: 0.10s; }
.mobile-menu-drawer.is-open .mobile-nav-link[data-index="2"] { transition-delay: 0.14s; }
.mobile-menu-drawer.is-open .mobile-nav-link[data-index="3"] { transition-delay: 0.18s; }
.mobile-menu-drawer.is-open .mobile-nav-link[data-index="4"] { transition-delay: 0.22s; }
.mobile-menu-drawer.is-open .mobile-nav-link[data-index="5"] { transition-delay: 0.26s; }
.mobile-menu-drawer.is-open .mobile-nav-link[data-index="6"] { transition-delay: 0.30s; }

.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-color: rgba(0, 103, 182, 0.15);
}

.mobile-nav-link.active {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-color: rgba(0, 103, 182, 0.22);
}

.mobile-nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease;
}

.mobile-nav-link:hover .mobile-nav-icon,
.mobile-nav-link.active .mobile-nav-icon {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.08);
}

.mobile-nav-text {
    flex: 1;
}

.mobile-nav-arrow {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    transition: transform 0.25s ease, color 0.25s ease;
}

.mobile-nav-link:hover .mobile-nav-arrow,
.mobile-nav-link.active .mobile-nav-arrow {
    color: var(--primary-blue);
    transform: translateX(4px);
}

/* Mobile Dropdown (Accordion for About Us) */
.mobile-nav-item-dropdown {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.mobile-dropdown-toggle {
    width: 100%;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.mobile-nav-chevron {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
    margin-right: 2px;
}

.mobile-nav-item-dropdown.is-open .mobile-nav-chevron {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.mobile-dropdown-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 6px 0 6px 42px;
    position: relative;
}

.mobile-dropdown-menu::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: rgba(0, 103, 182, 0.16);
    border-radius: 2px;
}

.mobile-nav-item-dropdown.is-open .mobile-dropdown-menu {
    display: flex;
    animation: mobileSubmenuFade 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes mobileSubmenuFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-sub-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--dark-navy);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-sub-link:hover,
.mobile-sub-link:active,
.mobile-sub-link.active {
    background: var(--light-blue);
    color: var(--primary-blue);
    border-color: rgba(0, 103, 182, 0.18);
}

.mobile-sub-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-sub-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-sub-link:hover .mobile-sub-icon,
.mobile-sub-link.active .mobile-sub-icon {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.06);
}

.mobile-sub-text {
    flex: 1;
    font-size: 13px;
    letter-spacing: .02em;
}

.mobile-sub-arrow {
    font-size: 13px;
    color: var(--text-secondary);
    transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-sub-link:hover .mobile-sub-arrow,
.mobile-sub-link.active .mobile-sub-arrow {
    color: var(--primary-blue);
    transform: translateX(3px);
}

/* Mobile Treatments Submenu Adjustments */
.mobile-treatments-submenu {
    padding: 6px 0 6px 36px;
    gap: 2px;
}

.mobile-treatments-submenu .mobile-sub-link {
    padding: 7px 10px;
    font-size: 13px;
}

.mobile-treatments-submenu .mobile-sub-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.mobile-treatments-submenu .mobile-sub-overview {
    background: rgba(0, 103, 182, 0.05);
    border-color: rgba(0, 103, 182, 0.12);
    margin-bottom: 3px;
}

.mobile-treatments-submenu .mobile-sub-overview .mobile-sub-text {
    font-weight: 700;
    color: var(--primary-blue);
}


/* Mobile Menu Footer */
.mobile-menu-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.34s,
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.34s;
}

.mobile-menu-drawer.is-open .mobile-menu-footer {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 22px;
    background: var(--dark-navy);
    color: #ffffff;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(15, 31, 45, 0.14);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.mobile-menu-cta:hover,
.mobile-menu-cta:active {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 103, 182, 0.28);
}

.mobile-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mobile-action-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--dark-navy);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mobile-action-pill:hover,
.mobile-action-pill:active {
    background: #ffffff;
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-1.5px);
}

.mobile-action-wa {
    color: #128C7E;
}

.mobile-action-wa:hover,
.mobile-action-wa:active {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

/* Breakpoints - Responsive Navigation for All Devices */
@media (min-width: 1081px) {
    .hamburger-btn {
        display: none !important;
    }
    .mobile-menu-drawer,
    .mobile-menu-backdrop {
        display: none !important;
    }
    .nav-actions .book-btn {
        display: inline-flex !important;
    }
    .nav-links {
        display: flex !important;
    }
}

@media (max-width: 1080px) {
    .nav {
        padding: 11px 4vw;
    }
    .nav-brand-logo {
        height: 48px;
        max-width: 220px;
    }
    .nav-links {
        display: none !important;
    }
    .hamburger-btn {
        display: flex !important;
    }
    /* Strictly hide desktop header book button when mobile/hamburger menu is active - only single mobile drawer CTA shown */
    .nav-actions .book-btn {
        display: none !important;
    }
    .mobile-menu-drawer {
        top: 70px;
        max-height: calc(100vh - 70px);
        max-height: calc(100dvh - 70px);
    }
}

@media (max-width: 640px) {
    .nav {
        padding: 10px 4vw;
    }
    .nav-brand-logo {
        height: 42px;
        max-width: 190px;
    }
    .hamburger-btn {
        width: 40px;
        height: 40px;
    }
    .mobile-menu-drawer {
        top: 62px;
        max-height: calc(100vh - 62px);
        max-height: calc(100dvh - 62px);
    }
    .mobile-menu-inner {
        padding: 16px 4.5vw 24px;
        gap: 16px;
    }
}

@media (max-width: 380px) {
    .nav {
        padding: 8px 3.5vw;
    }
    .nav-brand-logo {
        height: 36px;
        max-width: 160px;
    }
    .hamburger-btn {
        width: 38px;
        height: 38px;
    }
    .mobile-menu-drawer {
        top: 54px;
        max-height: calc(100vh - 54px);
        max-height: calc(100dvh - 54px);
    }
    .mobile-nav-link {
        padding: 9px 12px;
        font-size: 13px;
    }
    .mobile-quick-actions {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   HERO SECTION - CLIENT VIDEO ONLY (Full-Width & Full-Height)
   ========================================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background-color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    border: none;
    outline: none;
    opacity: 0;
    animation: heroVideoFadeIn 0.8s ease forwards;
    transition: opacity 0.6s ease;
}

.hero-video.is-playing,
.hero-video.is-loaded {
    opacity: 1;
}

/* Ensure no native video controls or visible playback UI appear across browsers */
.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-enclosure,
.hero-video::-webkit-media-controls-panel,
.hero-video::-webkit-media-controls-play-button,
.hero-video::-webkit-media-controls-start-playback-button,
.hero-video::-webkit-media-controls-current-time-display,
.hero-video::-webkit-media-controls-time-remaining-display,
.hero-video::-webkit-media-controls-timeline,
.hero-video::-webkit-media-controls-volume-slider {
    display: none !important;
    -webkit-appearance: none;
}

@keyframes heroVideoFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


/* ==========================================================================
   01 / APPROACH & DOCTOR SECTION
   ========================================================================== */
.intro {
    padding: 140px 4.5vw 100px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 6vw;
    align-items: center;
    position: relative;
    background: var(--bg);
}

.intro-left {
    display: flex;
    flex-direction: column;
}

.intro-tag {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.intro-tag-accent {
    width: 24px;
    height: 1.5px;
    background: var(--primary-blue);
    display: inline-block;
}

.intro-heading {
    font-family: var(--font-serif);
    font-size: clamp(3.8rem, 7.5vw, 7.2rem);
    line-height: .86;
    letter-spacing: -.04em;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 20px;
}

.doctor-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.doctor-badge {
    background: var(--ink);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 6px 14px;
    border-radius: 999px;
}

.doctor-badge-sub {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
}

.intro-bio {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 28px;
}

.doctor-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 26px;
    max-width: 540px;
}

.spec-val {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 900;
    color: var(--ink);
    letter-spacing: -.03em;
    display: block;
}

.spec-lbl {
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--muted);
    font-weight: 700;
    display: block;
    margin-top: 5px;
    line-height: 1.35;
}

.intro-cue-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
}

.intro-cue {
    font-size: 12px;
    line-height: 1.4;
    color: var(--muted);
}

.intro-arrow {
    font-size: 13px;
    color: var(--ink);
    font-weight: 700;
}

/* Doctor Visual Frame on Right */
.intro-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.doctor-card-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.doctor-image-frame {
    border-radius: 28px;
    overflow: hidden;
    background: var(--light-bg);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    aspect-ratio: 3/4;
    position: relative;
}

.doctor-portrait-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.95);
    transition: transform 0.6s ease;
}

.doctor-card-wrap:hover .doctor-portrait-img {
    transform: scale(1.03);
}

.doctor-floating-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
}

.doctor-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 103, 182, 0.15);
    flex-shrink: 0;
}

.doctor-floating-meta strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.doctor-floating-meta span {
    display: block;
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--muted);
    font-weight: 600;
    margin-top: 2px;
}

.stack-section {
    padding: 90px 4.5vw 100px;
    background: var(--bg-soft);
    position: relative;
}

.stack-container,
.stack-pin {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: static;
    height: auto;
    min-height: unset;
    overflow: visible;
}

.stack-card {
    position: relative;
    width: 100%;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    display: block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.stack-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.card-inner {
    height: 100%;
    min-height: 560px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.card-copy {
    padding: 48px 52px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}

.card-number {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-blue);
    font-weight: 600;
}

.stack-card h2,
.card-copy h2,
.card h2 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 4.8vw, 4.8rem);
    line-height: .88;
    letter-spacing: -.03em;
    font-weight: 700;
    margin: 10px 0 14px;
    text-transform: uppercase;
    color: var(--dark-navy);
}

.stack-card h2 em,
.card-copy h2 em,
.card h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--text-secondary);
}

.doctor-spec-subtitle {
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--primary-blue);
    margin: 0 0 12px;
}

.stack-card p,
.card-copy p,
.card p {
    max-width: 460px;
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 400;
}

.card-doc-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-color);
}

.card-spec-val {
    font-size: clamp(1.3rem, 1.8vw, 1.8rem);
    font-weight: 700;
    color: var(--dark-navy);
    letter-spacing: -.02em;
    display: block;
    line-height: 1.1;
}

.card-spec-lbl {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-secondary);
    font-weight: 600;
    display: block;
    margin-top: 4px;
    line-height: 1.35;
}

.card-link {
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary-blue);
    font-weight: 600;
}

.card-image {
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 15%;
}

.c1,
.c2 {
    background: var(--bg-card);
    color: var(--dark-navy);
}

.cue {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 30;
    font-size: 9px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--secondary-text);
    white-space: nowrap
}

/* ==========================================================================
   INSIDE BALAGAM – CLINIC VIDEO SECTION
   ========================================================================== */
.clinic-video-section {
    background: #ffffff;
    padding: 96px 4.5vw 100px;
    position: relative;
    overflow: hidden;
}

/* Subtle background dot-pattern decoration */
.clinic-video-section::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 103, 182, 0.055) 0%, transparent 70%);
    pointer-events: none;
}

.clinic-video-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 64px;
    align-items: center;
}

/* ── LEFT: Text Block ── */
.clinic-video-text {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.clinic-video-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.clinic-video-eyebrow-line {
    display: block;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--primary-blue);
    flex-shrink: 0;
}

.clinic-video-heading {
    font-family: var(--font-serif);
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 600;
    line-height: 1.08;
    color: var(--dark-navy);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.clinic-video-heading-accent {
    font-style: italic;
    color: var(--primary-blue);
}

.clinic-video-desc {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 600;
    color: var(--dark-navy);
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    line-height: 1.4;
}

.clinic-video-body {
    font-size: 14.5px;
    line-height: 1.72;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 400px;
}

.clinic-video-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius-pill);
    border: 2px solid var(--primary-blue);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    align-self: flex-start;
}

.clinic-video-cta:hover {
    background: transparent;
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 103, 182, 0.18);
}

.clinic-video-cta-arrow {
    font-size: 15px;
    transition: transform 0.25s ease;
}

.clinic-video-cta:hover .clinic-video-cta-arrow {
    transform: translateX(4px);
}

/* ── RIGHT: Video Frame ── */
.clinic-video-frame-wrap {
    position: relative;
}

/* Outer decorative ring */
.clinic-video-ring {
    position: absolute;
    top: -24px;
    right: -24px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 103, 182, 0.22);
    pointer-events: none;
    animation: cvRingRotate 28s linear infinite;
    transform-origin: center center;
}

.clinic-video-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 8px rgba(0, 103, 182, 0.55);
    transform: translateX(-50%);
}

@keyframes cvRingRotate {
    0%   { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Blue accent bar left edge */
.clinic-video-accent-bar {
    position: absolute;
    left: -14px;
    top: 10%;
    bottom: 10%;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--cyan));
    opacity: 0.6;
}

/* The actual video container */
.clinic-video-frame {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(0, 103, 182, 0.13),
        0 8px 24px rgba(15, 31, 45, 0.08),
        0 0 0 1px rgba(0, 103, 182, 0.08);
    aspect-ratio: 16 / 10;
    background: var(--dark-navy);
    will-change: transform;
}

.clinic-video-el {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    background: #000;
}

/* Subtle inner vignette for a premium cinematic look */
.clinic-video-vignette {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(15, 31, 45, 0.22) 100%);
    pointer-events: none;
}

/* Floating "Live Tour" badge */
.clinic-video-badge {
    position: absolute;
    bottom: 24px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 10px 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark-navy);
    box-shadow: 0 8px 24px rgba(15, 31, 45, 0.10);
    pointer-events: none;
    animation: cvBadgeFloat 5s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes cvBadgeFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-7px); }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .clinic-video-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .clinic-video-text {
        max-width: 560px;
        margin: 0 auto;
        text-align: center;
        align-items: center;
    }
    .clinic-video-eyebrow {
        justify-content: center;
    }
    .clinic-video-body {
        max-width: 480px;
    }
    .clinic-video-badge {
        left: 12px;
    }
}

@media (max-width: 680px) {
    .clinic-video-section {
        padding: 64px 5vw 72px;
    }
    .clinic-video-heading {
        font-size: clamp(2.2rem, 9vw, 3rem);
    }
    .clinic-video-frame {
        border-radius: 18px;
        aspect-ratio: 16 / 10;
    }
    .clinic-video-ring {
        width: 90px;
        height: 90px;
        top: -14px;
        right: -14px;
    }
    .clinic-video-badge {
        bottom: 14px;
        left: 10px;
        padding: 8px 14px;
        font-size: 11.5px;
    }
}

/* ==========================================================================
   PREMIUM DOCTOR PROFILE SECTION
   ========================================================================== */
.dr-profile-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 50%, var(--light-blue-tint) 100%);
    padding: 90px 4.5vw 0;
    position: relative;
    overflow: hidden;
}

.dr-profile-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 199, 244, 0.09) 0%, rgba(0, 103, 182, 0.05) 50%, transparent 70%);
    pointer-events: none;
}

.dr-profile-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 520px;
}

/* ── Left Column — Slide Motion ── */
.dr-profile-left {
    display: flex;
    flex-direction: column;
    padding-bottom: 60px;
}

.dr-slide-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1), transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.dr-slide-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.18s, transform 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.18s;
    will-change: opacity, transform;
}

@media (max-width: 768px) {
    .dr-slide-left,
    .dr-slide-right {
        transform: translateY(45px);
    }
}

.dr-slide-left.is-revealed,
.dr-slide-right.is-revealed {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

/* Staggered slide for stats inside dr-profile-left */
.dr-profile-left .dr-stat-card {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 1.05s cubic-bezier(0.16, 1, 0.3, 1), transform 1.05s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    will-change: opacity, transform;
}

.dr-profile-left.is-revealed .dr-stat-card:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.dr-profile-left.is-revealed .dr-stat-card:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.48s;
}

.dr-profile-left.is-revealed .dr-stat-card:nth-child(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.66s;
}

.dr-profile-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.dr-eyebrow-line {
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--primary-blue);
}

.dr-profile-heading {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 5.5vw, 5.2rem);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -.02em;
    color: var(--dark-navy);
    margin: 0 0 14px;
    text-transform: uppercase;
}

.dr-name-accent {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-blue);
}

.dr-profile-subtitle {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin: 0 0 18px;
}

.dr-profile-desc {
    font-size: 14.5px;
    line-height: 1.68;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 0 32px;
}

/* Stat Cards Row */
.dr-stats-row {
    display: flex;
    gap: 12px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.dr-stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 16px 20px;
    box-shadow: var(--shadow-card);
    flex: 1;
    min-width: 110px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.dr-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.dr-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    margin-bottom: 2px;
}

.dr-stat-val {
    font-family: var(--font-family);
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    font-weight: 800;
    color: var(--dark-navy);
    letter-spacing: -.03em;
    line-height: 1;
}

.dr-stat-lbl {
    font-size: 9.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* CTAs */
.dr-profile-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dr-consult-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--dark-navy);
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 14px 26px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(15,31,45,0.12);
}

.dr-consult-btn:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,103,182,0.22);
}

.dr-btn-arrow {
    transition: transform 0.25s ease;
}

.dr-consult-btn:hover .dr-btn-arrow {
    transform: translateX(3px);
}

.dr-video-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.dr-play-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--border-color);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    box-shadow: var(--shadow-card);
    transition: background 0.25s ease, transform 0.25s ease;
    flex-shrink: 0;
}

.dr-video-btn:hover .dr-play-icon {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.08);
}

.dr-video-label {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dr-video-top {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--dark-navy);
    line-height: 1.2;
}

.dr-video-sub {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: .08em;
    line-height: 1.2;
}

/* ── Right Column ── */
.dr-profile-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 540px;
}

/* 1. Large circular background gently float / pulse */
.dr-bg-blob {
    position: absolute;
    inset: -14px -10px;
    border-radius: 56% 44% 58% 42% / 46% 54% 46% 54%;
    background: linear-gradient(145deg, rgba(0, 103, 182, 0.12) 0%, rgba(0, 199, 244, 0.08) 60%, rgba(237, 245, 251, 0.65) 100%);
    z-index: 0;
    pointer-events: none;
    animation: drBgFloatPulse 8s ease-in-out infinite;
}

@keyframes drBgFloatPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.025);
    }
}

/* 2. Slow 360° rotating outer blue ring (22s loop) */
.dr-outer-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(94%, 430px);
    height: 480px;
    margin-top: -240px;
    margin-left: min(-47%, -215px);
    border-radius: 50%;
    border: 1.5px dashed rgba(0, 103, 182, 0.28);
    z-index: 1;
    pointer-events: none;
    animation: drRingRotate 22s linear infinite;
    transform-origin: center center;
}

.dr-outer-ring::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 10px rgba(0, 119, 200, 0.6);
    transform: translateX(-50%);
}

.dr-outer-ring::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-teal);
    box-shadow: 0 0 8px rgba(0, 199, 244, 0.6);
    transform: translateX(-50%);
}

.dr-ring-teal {
    border-color: rgba(0, 199, 244, 0.35);
}

.dr-ring-teal::before {
    background: var(--accent-teal);
    box-shadow: 0 0 10px rgba(0, 199, 244, 0.7);
}

@keyframes drRingRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 3. Soft breathing glow around doctor image */
.dr-photo-frame {
    position: relative;
    z-index: 2;
    width: min(88%, 400px);
    height: 520px;
    border-radius: 55% 45% 52% 48% / 48% 52% 48% 52%;
    overflow: hidden;
    animation: drBreathingGlow 5.5s ease-in-out infinite;
}

.dr-right-teal .dr-photo-frame {
    animation-name: drBreathingGlowTeal;
}

@keyframes drBreathingGlow {
    0%, 100% {
        box-shadow: 
            0 16px 45px rgba(0, 103, 182, 0.12),
            0 4px 16px rgba(15, 31, 45, 0.06),
            0 0 0 1px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(0, 103, 182, 0.12);
    }
    50% {
        box-shadow: 
            0 24px 60px rgba(0, 103, 182, 0.20),
            0 8px 24px rgba(15, 31, 45, 0.08),
            0 0 0 2px rgba(0, 199, 244, 0.35),
            0 0 45px rgba(0, 199, 244, 0.28);
    }
}

@keyframes drBreathingGlowTeal {
    0%, 100% {
        box-shadow: 
            0 16px 45px rgba(0, 199, 244, 0.12),
            0 4px 16px rgba(15, 31, 45, 0.06),
            0 0 0 1px rgba(255, 255, 255, 0.8),
            0 0 20px rgba(0, 199, 244, 0.14);
    }
    50% {
        box-shadow: 
            0 24px 60px rgba(0, 199, 244, 0.22),
            0 8px 24px rgba(15, 31, 45, 0.08),
            0 0 0 2px rgba(0, 103, 182, 0.32),
            0 0 45px rgba(0, 199, 244, 0.32);
    }
}

/* Stable and sharp doctor portrait */
.dr-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: none !important;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

/* Script text overlay */
.dr-script-overlay {
    position: absolute;
    top: 30px;
    right: 0;
    z-index: 3;
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark-navy);
    text-align: right;
    opacity: 0.65;
    pointer-events: none;
}

.dr-script-overlay em {
    font-style: italic;
    color: var(--primary-blue);
    opacity: 0.9;
}

/* 4. Small tooth icon gentle floating motion */
.dr-tooth-badge {
    position: absolute;
    top: 50%;
    left: 8%;
    transform: translateY(-50%);
    z-index: 4;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid rgba(0, 103, 182, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 103, 182, 0.14);
    animation: toothGentleFloat 4.8s ease-in-out infinite;
}

.dr-profile-reverse .dr-tooth-badge {
    left: auto;
    right: 8%;
    animation: toothGentleFloatReverse 4.8s ease-in-out infinite;
}

@keyframes toothGentleFloat {
    0%, 100% {
        transform: translateY(-50%) translate3d(0, 0, 0) rotate(0deg);
        box-shadow: 0 8px 22px rgba(0, 103, 182, 0.14);
    }
    50% {
        transform: translateY(calc(-50% - 10px)) translate3d(0, 0, 0) rotate(3deg);
        box-shadow: 0 16px 32px rgba(0, 103, 182, 0.22);
    }
}

@keyframes toothGentleFloatReverse {
    0%, 100% {
        transform: translateY(-50%) translate3d(0, 0, 0) rotate(0deg);
        box-shadow: 0 8px 22px rgba(0, 103, 182, 0.14);
    }
    50% {
        transform: translateY(calc(-50% - 10px)) translate3d(0, 0, 0) rotate(-3deg);
        box-shadow: 0 16px 32px rgba(0, 103, 182, 0.22);
    }
}

/* ── Associate Strip ── */
.dr-associate-strip {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 28px 0 40px;
    border-top: 1px solid var(--border-color);
    margin-top: 48px;
}

.dr-associate-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.dr-associate-photo-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}

.dr-associate-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.dr-associate-info {
    flex: 1;
    min-width: 180px;
}

.dr-associate-tag {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 3px;
}

.dr-associate-name {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 0 0 2px;
}

.dr-associate-name em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--primary-blue);
}

.dr-associate-role {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
}

.dr-associate-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.dr-assoc-stat {
    display: flex;
    flex-direction: column;
}

.dr-assoc-val {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark-navy);
    letter-spacing: -.02em;
    line-height: 1;
}

.dr-assoc-lbl {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-secondary);
    margin-top: 3px;
}

.dr-assoc-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary-blue);
    text-decoration: none;
    border: 1.5px solid var(--primary-blue);
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    transition: background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.dr-assoc-cta:hover {
    background: var(--primary-blue);
    color: #ffffff;
}

/* Responsive */
@media(max-width: 1024px) {
    .dr-profile-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .dr-profile-right {
        height: 420px;
        order: -1;
    }
    .dr-outer-ring {
        width: min(92%, 350px);
        height: 380px;
        margin-top: -190px;
        margin-left: min(-46%, -175px);
    }
    .dr-photo-frame {
        height: 400px;
    }
    .dr-profile-left {
        padding-bottom: 0;
    }
}

@media(max-width: 680px) {
    .dr-profile-section {
        padding: 60px 6vw 0;
    }
    .dr-profile-heading {
        font-size: clamp(2.4rem, 10vw, 3.2rem);
    }
    .dr-stats-row {
        gap: 8px;
    }
    .dr-stat-card {
        padding: 12px 14px;
    }
    .dr-profile-right {
        height: 340px;
    }
    .dr-outer-ring {
        width: min(90%, 280px);
        height: 300px;
        margin-top: -150px;
        margin-left: min(-45%, -140px);
    }
    .dr-photo-frame {
        height: 320px;
    }
    .dr-tooth-badge {
        width: 48px;
        height: 48px;
    }
    .dr-tooth-badge svg {
        width: 22px;
        height: 22px;
    }
}

/* ── Second Doctor: Reversed layout ── */
.dr-profile-divider {
    border-top: 1px solid var(--border-color);
    padding-top: 72px;
}

.dr-blob-teal {
    background: linear-gradient(145deg,
        rgba(0,199,244,0.10) 0%,
        rgba(0,103,182,0.07) 55%,
        rgba(237,245,251,0.5) 100%) !important;
}

.dr-profile-reverse .dr-script-overlay {
    right: auto;
    left: 0;
    text-align: left;
}

.dr-profile-reverse .dr-tooth-badge {
    left: auto;
    right: 8%;
}

@media(max-width: 1024px) {
    .dr-profile-reverse .dr-profile-right {
        order: -1;
    }
}

@media(max-width: 680px) {
    .dr-profile-divider {
        padding-top: 48px;
    }
}



.after {
    padding: 140px 4.5vw;
    display: grid;
    grid-template-columns: .3fr 1fr;
    gap: 8vw
}

.after h2 {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 9vw, 9rem);
    font-weight: 700;
    line-height: .82;
    letter-spacing: -.04em
}

.after h2 em {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--secondary-text)
}

.after p {
    max-width: 560px;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.4;
}

/* ==========================================================================
   DENTAL TREATMENTS GRID (9 CARDS) — MAGNETIC MOTION SUITE
   ========================================================================== */
.treatments-section {
    padding: 90px 4.5vw;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

/* Ambient Magnetic Spotlight Glow that smoothly tracks cursor in section */
.treatments-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        750px circle at var(--sec-mouse-x, 50%) var(--sec-mouse-y, 30%),
        rgba(0, 199, 244, 0.08),
        rgba(0, 103, 182, 0.02) 45%,
        transparent 75%
    );
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.treatments-container {
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.treatments-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.treatments-heading {
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    letter-spacing: -.03em;
    line-height: 1.1;
    color: var(--dark-text);
    margin: 12px 0 14px;
}

.treatments-subhead {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 620px;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--container-max);
    margin: 0 auto;
    perspective: 1200px;
}

.treatment-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(9, 34, 58, 0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.3s ease;
    will-change: transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.treatment-card.is-magnetic {
    transition: transform 0.08s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.treatment-card.is-releasing {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.treatment-card:hover {
    box-shadow: 0 20px 42px -6px rgba(0, 103, 182, 0.18), 0 8px 20px rgba(9, 34, 58, 0.08);
    border-color: rgba(0, 103, 182, 0.35);
}

/* Specular Light/Magnetic Glare Overlay */
.treatment-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle 220px at var(--magnetic-glare-x, 50%) var(--magnetic-glare-y, 50%),
        rgba(0, 199, 244, 0.16),
        rgba(0, 103, 182, 0.04) 40%,
        transparent 80%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 5;
}

.treatment-card:hover::after {
    opacity: 1;
}

.treatment-card-media {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: var(--light-bg);
    position: relative;
    transform-style: preserve-3d;
}

.treatment-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.2, 0, 0.2, 1);
    will-change: transform;
}

.treatment-card:hover .treatment-card-img {
    transform: scale(1.05);
}

.treatment-card-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(0, 199, 244, 0.12);
    border: 3.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 103, 182, 0.14);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    margin-left: 20px;
    margin-bottom: 12px;
    position: relative;
    z-index: 3;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease, color 0.25s ease;
    will-change: transform;
}

.treatment-card:hover .treatment-card-badge {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.06);
}

.treatment-card-badge svg {
    display: block;
}

.treatment-card-body {
    padding: 0 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
    transform-style: preserve-3d;
}

.treatment-title {
    font-family: var(--font-serif), 'Cormorant Garamond', Georgia, serif;
    font-size: 1.32rem;
    font-weight: 700;
    color: var(--dark-text);
    line-height: 1.25;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.treatment-card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 6px;
    transform-style: preserve-3d;
}

.treatment-desc {
    font-family: var(--font-family);
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

.treatment-arrow-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: rgba(0, 199, 244, 0.12);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transform-style: preserve-3d;
    transition: background 0.25s ease, color 0.25s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.treatment-card:hover .treatment-arrow-btn {
    background: var(--primary-blue);
    color: #ffffff;
    transform: translateX(3px);
}

.treatment-arrow-btn svg {
    display: block;
}

/* ==========================================================================
   TREATMENTS GRID RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media(max-width: 1240px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media(max-width: 900px) {
    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media(max-width: 580px) {
    .treatments-section {
        padding: 60px 5vw 40px;
    }
    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 400px;
        margin: 0 auto;
    }
    .treatment-card-media {
        height: 180px;
    }
}

/* ==========================================================================
   GLOBAL SECTION TAG UTILITIES
   ========================================================================== */
.section-tag {
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.tag-accent {
    width: 24px;
    height: 1.5px;
    background: var(--primary-blue);
    display: inline-block;
}

/* ==========================================================================
   OUR TEAM / DOCTORS SECTION — VERTICAL PROFILE CARDS
   ========================================================================== */

.team-section {
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-blue-tint) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 56px 4.5vw 60px;
}

.team-container {
    max-width: 960px;
    margin: 0 auto;
}

/* Centered intro */
.team-intro {
    text-align: center;
    margin-bottom: 36px;
}

.team-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--primary-blue);
    opacity: 0.9;
    margin-bottom: 10px;
}

.team-heading {
    font-family: var(--font-serif, 'Cormorant Garamond'), Georgia, serif;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    color: var(--dark-text);
    margin: 0;
}

/* 2-card flex row, centered */
.team-cards {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

/* Profile card: 420px wide, fixed */
.team-card {
    width: 420px;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 28px rgba(15, 40, 80, 0.09), 0 1px 4px rgba(15, 40, 80, 0.05);
    border: 1px solid rgba(0, 103, 182, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    flex-shrink: 0;
}

/* Doctor Team Card Slide Motion */
.team-card.team-slide-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1), transform 1.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
    will-change: opacity, transform;
}

.team-card.team-slide-right {
    opacity: 0;
    transform: translateX(70px);
    transition: opacity 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, transform 1.35s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, box-shadow 0.35s ease;
    will-change: opacity, transform;
}

@media (max-width: 768px) {
    .team-card.team-slide-left,
    .team-card.team-slide-right {
        transform: translateY(45px);
    }
}

.team-card.team-slide-left.is-revealed,
.team-card.team-slide-right.is-revealed {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

.team-card:hover,
.team-card.team-slide-left.is-revealed:hover,
.team-card.team-slide-right.is-revealed:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 16px 42px rgba(0, 103, 182, 0.15);
}

/* Portrait area: 420px wide × 400px tall */
.team-card-photo {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #d9edf8;
}

.team-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

/* Dr. Gayathri Balaji: zoomed-out balanced framing showing full head, shoulders & upper body */
.team-card-img-gayathri {
    object-position: center 9.5%;
    transform-origin: center 25%;
    filter: contrast(1.025) brightness(1.015) saturate(1.02);
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.team-card:hover .team-card-img {
    transform: scale(1.03);
}

/* White name panel */
.team-card-info {
    padding: 18px 22px 20px;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid rgba(0, 103, 182, 0.07);
}

.team-card-name {
    font-family: var(--font-family, 'DM Sans'), sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 920px) {
    .team-cards {
        gap: 24px;
    }

    .team-card {
        width: 360px;
    }

    .team-card-photo {
        height: 340px;
    }
}

@media (max-width: 780px) {
    .team-section {
        padding: 44px 5vw 48px;
    }

    .team-cards {
        gap: 20px;
    }

    .team-card {
        width: 300px;
    }

    .team-card-photo {
        height: 280px;
    }
}

@media (max-width: 660px) {
    .team-section {
        padding: 40px 5vw 44px;
    }

    .team-intro {
        margin-bottom: 28px;
    }

    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .team-card {
        width: min(420px, 90vw);
    }

    .team-card-photo {
        height: 360px;
    }
}

/* ==========================================================================
   OUR CLINIC — A GLIMPSE INSIDE BALAGAM (BEFORE & AFTER CAROUSEL)
   ========================================================================== */

.clinic-carousel-section {
    background: linear-gradient(145deg, #072238 0%, #003F73 45%, #0067B6 100%);
    padding: 72px 4vw 80px;
    border-top: 1px solid rgba(0, 199, 244, 0.22);
    border-bottom: 1px solid rgba(0, 199, 244, 0.22);
    position: relative;
    overflow: hidden;
}

.clinic-carousel-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 199, 244, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

.clinic-carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Centered Intro Header */
.clinic-intro {
    text-align: center;
    margin-bottom: 38px;
}

.clinic-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 10px;
}

.clinic-eyebrow::before,
.clinic-eyebrow::after {
    content: '';
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--cyan);
    opacity: 0.7;
}

.clinic-heading {
    font-family: var(--font-serif, 'Cormorant Garamond'), Georgia, serif;
    font-size: clamp(2rem, 3.4vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #FFFFFF;
    margin: 0 0 12px;
}

.clinic-subtext {
    font-size: 1rem;
    color: rgba(235, 245, 255, 0.88);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* Showcase Outer Wrapper — Desktop: layout with side arrow buttons */
.clinic-showcase-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Circular Arrow Buttons beside the grid */
.clinic-arrow-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    border: 1px solid rgba(0, 199, 244, 0.35);
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    font-family: inherit;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.clinic-arrow-btn:hover {
    background: var(--cyan);
    color: #072238;
    border-color: var(--cyan);
    box-shadow: 0 6px 22px rgba(0, 199, 244, 0.5);
    transform: scale(1.08);
}

.clinic-arrow-btn:active {
    transform: scale(0.96);
}

/* Mobile Case Navigation (Hidden on desktop) */
.clinic-mobile-nav {
    display: none;
}

/* Slide Layout: 1 Featured Left + 2x2 Grid Right */
.clinic-stage {
    flex: 1;
    min-width: 0;
}

.clinic-slide-layout {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 18px;
    align-items: stretch;
    min-height: 490px;
    flex: 1;
    min-width: 0;
}

/* Common Case Media Wrapper */
.clinic-case-media {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e6f1f9;
    -webkit-tap-highlight-color: transparent;
}

.clinic-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

/* Featured Case (Left) — Large spotlight */
.clinic-featured-case {
    position: relative;
    height: 490px;
    border-radius: 18px;
    overflow: hidden;
    background: #072238;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    border: 1.5px solid rgba(0, 199, 244, 0.3);
    cursor: default;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.clinic-featured-case:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
    border-color: var(--cyan);
}

.clinic-featured-case:hover .clinic-case-img {
    transform: scale(1.03);
}

/* Top Pill Badge — hidden */
.clinic-badge-top {
    display: none;
}

.clinic-featured-tag {
    display: none;
}

/* Bottom Glassmorphic Overlay for Featured Case */
.clinic-case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0) 0%, rgba(11, 31, 58, 0.72) 40%, rgba(11, 31, 58, 0.94) 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    z-index: 2;
    transition: background 0.3s ease;
}

.clinic-featured-case:hover .clinic-case-overlay {
    background: linear-gradient(180deg, rgba(11, 31, 58, 0) 0%, rgba(11, 31, 58, 0.8) 35%, rgba(11, 31, 58, 0.98) 100%);
}

.clinic-case-meta {
    flex: 1;
    min-width: 0;
}

.clinic-case-title {
    font-size: 1.12rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 3px;
    line-height: 1.25;
}

.clinic-case-desc {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.35;
}

/* Before / After Pill Badge — hidden */
.clinic-ba-badge {
    display: none;
}

/* Right Column: Grid of 4 outcome cards */
.clinic-grid-column {
    display: flex;
    flex-direction: column;
    height: 490px;
    gap: 12px;
    flex: 1;
}

/* 2x2 Grid (Right) */
.clinic-cases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
    flex: 1;
    min-height: 0;
}

/* Compact Grid Case Card */
.clinic-grid-case {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #072238;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.clinic-grid-case:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
}

.clinic-grid-case:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(0, 199, 244, 0.5);
}

.clinic-grid-case:hover .clinic-case-img {
    transform: scale(1.04);
}

/* Active / Featured indicator on small cards */
.clinic-grid-case.is-active {
    border-color: var(--cyan);
    box-shadow: 0 0 0 2px var(--cyan), 0 8px 24px rgba(0, 199, 244, 0.35);
}

/* Mini Overlay for Grid Cases */
.clinic-case-overlay.mini {
    padding: 8px 12px;
    background: linear-gradient(180deg, rgba(11, 31, 58, 0) 0%, rgba(11, 31, 58, 0.65) 45%, rgba(11, 31, 58, 0.92) 100%);
}

.clinic-case-overlay.mini .clinic-case-title {
    font-size: 0.84rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clinic-ba-badge.mini {
    display: none;
}

/* Batch Navigation Control — hidden */
.clinic-batch-control {
    display: none;
}

.clinic-batch-switch {
    display: none;
}

.clinic-batch-tab {
    display: none;
}

.clinic-next4-btn {
    display: none;
}

/* Pagination Dots — hidden */
.clinic-carousel-dots {
    display: none;
}

.clinic-dot {
    display: none;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .clinic-showcase-wrapper {
        padding: 0;
        gap: 12px;
    }

    .clinic-arrow-btn {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }

    .clinic-slide-layout {
        grid-template-columns: 1.15fr 1fr;
        min-height: 440px;
        gap: 14px;
    }

    .clinic-featured-case,
    .clinic-grid-column {
        height: 440px;
    }
}

@media (max-width: 768px) {
    .clinic-carousel-section {
        padding: 56px 4vw 64px;
    }

    .clinic-showcase-wrapper {
        padding: 0;
        flex-direction: column;
        gap: 0;
    }

    .clinic-arrow-btn {
        display: none;
    }

    .clinic-stage {
        flex: none;
        width: 100%;
    }

    .clinic-slide-layout {
        display: flex;
        flex-direction: column;
        min-height: auto;
        gap: 12px;
    }

    .clinic-featured-case {
        width: 100%;
        height: 380px;
        min-height: 340px;
        max-height: 480px;
        border-radius: 18px;
    }

    /* Mobile Navigation: Show 1 featured outcome at a time with simple Previous / Next controls */
    .clinic-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 8px 14px;
        background: #ffffff;
        border: 1px solid rgba(0, 103, 182, 0.14);
        border-radius: 100px;
        box-shadow: 0 4px 14px rgba(11, 31, 58, 0.05);
        margin: 4px 0 6px;
    }

    .clinic-mobile-nav-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        border-radius: 100px;
        background: #eef6fc;
        color: var(--primary-blue, #0067b6);
        font-size: 13px;
        font-weight: 600;
        border: 1px solid rgba(0, 103, 182, 0.16);
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .clinic-mobile-nav-btn:hover,
    .clinic-mobile-nav-btn:active {
        background: var(--primary-blue, #0067b6);
        color: #ffffff;
        border-color: var(--primary-blue, #0067b6);
    }

    .clinic-mobile-counter {
        display: none !important;
    }

    /* On mobile, show 1 featured outcome at a time per user specification */
    .clinic-grid-column {
        display: none;
    }
}

@media (max-width: 480px) {
    .clinic-intro {
        margin-bottom: 28px;
    }

    .clinic-featured-case {
        height: 360px;
        min-height: 320px;
    }

    .clinic-case-title {
        font-size: 0.98rem;
    }

    .clinic-cases-grid {
        gap: 8px;
    }

    .clinic-grid-case {
        height: 140px;
    }

    .clinic-case-overlay.mini {
        padding: 8px 10px;
    }

    .clinic-case-overlay.mini .clinic-case-title {
        font-size: 0.78rem;
    }
}

/* ==========================================================================
   GALLERY LIGHTBOX
   ========================================================================== */

/* Make gallery items look clickable */
.gallery-item[data-lightbox],
.clinic-featured-case[data-lightbox],
.clinic-grid-case[data-lightbox] {
    cursor: zoom-in;
}

.gallery-item[data-lightbox]:focus-visible {
    outline: 3px solid var(--primary-blue, #0067b6);
    outline-offset: 2px;
}

/* Lightbox overlay (hidden by default) */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.lightbox:not([hidden]) {
    opacity: 1;
    pointer-events: all;
}

/* Blurred dark backdrop */
.lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 15, 35, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: zoom-out;
}

/* Content wrapper — sits above backdrop */
.lightbox-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 48px 24px 24px;
}

/* Image wrapper */
.lightbox-img-wrap {
    max-width: min(90vw, 1100px);
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.lightbox:not([hidden]) .lightbox-img-wrap {
    transform: scale(1);
}

/* Full image */
.lightbox-img {
    max-width: 100%;
    max-height: 88vh;
    width: auto;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
    object-fit: contain;
}

/* Close button */
.lightbox-close {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lightbox-close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ==========================================================================
   PATIENT REVIEWS & TESTIMONIALS SECTION
   ========================================================================== */
.reviews-section {
    padding: 100px 4.5vw;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.reviews-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

/* Section Intro */
.reviews-intro-wrap {
    margin-bottom: 40px;
    max-width: 700px;
}

.reviews-intro-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.reviews-compact-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--primary-blue);
    display: inline-block;
    margin-bottom: 12px;
}

.reviews-heading {
    font-family: var(--font-serif), 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.3rem, 3.8vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--dark-text);
    margin: 0 0 14px 0;
    text-transform: none;
}

.reviews-subhead {
    font-family: var(--font-family);
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 620px;
    margin: 0;
}

/* ============================================================
   CINEMATIC CAROUSEL WRAPPER
   ============================================================ */
.reviews-carousel-wrap {
    position: relative;
    margin-bottom: 48px;
    padding: 14px 0 20px;
}

/* Viewport — Clean and open, NO text-cutting mask over the active center card */
.reviews-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 18px 0 24px;
}

/* Subtle, soft edge fades on the far outer edges only — never touches the active card */
.reviews-carousel-wrap::before,
.reviews-carousel-wrap::after {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 24px;
    width: clamp(28px, 4vw, 56px);
    z-index: 10;
    pointer-events: none;
}

.reviews-carousel-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-soft) 20%, rgba(243, 250, 254, 0) 100%);
}

.reviews-carousel-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-soft) 20%, rgba(243, 250, 254, 0) 100%);
}

/* Prev / Next Arrow Buttons — positioned outside active card */
.carousel-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-pill);
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    color: var(--dark-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(15, 31, 45, 0.1);
    transition: background 0.25s ease, border-color 0.25s ease,
                box-shadow 0.25s ease, transform 0.25s ease, color 0.25s ease;
    font-family: inherit;
}

.carousel-nav-btn:hover {
    background: var(--btn-blue);
    border-color: var(--btn-blue);
    color: #FFFFFF;
    box-shadow: 0 8px 22px rgba(0, 103, 182, 0.28);
    transform: translateY(-50%) scale(1.08);
}

.carousel-prev { left: clamp(8px, 2vw, 24px); }
.carousel-next { right: clamp(8px, 2vw, 24px); }

/* Carousel Track — horizontal flex strip */
.reviews-carousel-track {
    display: flex;
    gap: 24px;
    transform: translateX(var(--carousel-offset, 0px));
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
    align-items: center;
}

/* Individual Review Card — carousel mode */
.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card);
    padding: 34px 38px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    flex: 0 0 clamp(360px, 52vw, 660px);
    min-height: 280px;
    position: relative;
    transform: scale(0.92);
    opacity: 0.45;
    transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1),
                opacity  0.55s ease,
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

/* CENTER / ACTIVE card — fully visible with proper width, padding, and readable text */
.review-card.carousel-active {
    transform: scale(1);
    opacity: 1 !important;
    box-shadow: 0 16px 42px rgba(0, 103, 182, 0.12), 0 4px 14px rgba(15, 31, 45, 0.05);
    border-color: rgba(0, 103, 182, 0.3);
    z-index: 5;
    cursor: default;
}

/* Card one step away from center — partially visible with subtle fade */
.review-card.carousel-adjacent {
    transform: scale(0.94);
    opacity: 0.52;
    z-index: 2;
}



/* Card Header */
.review-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.review-user-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: .02em;
    flex-shrink: 0;
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 1px solid var(--border-color);
}

.avatar-c1,
.avatar-c2,
.avatar-c3,
.avatar-c4,
.avatar-c5,
.avatar-c6 {
    background: var(--light-blue);
    color: var(--primary-blue);
}

.review-patient-name {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dark-navy);
    margin: 0;
    line-height: 1.25;
}

.review-patient-loc {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    display: block;
    margin-top: 2px;
}

.review-google-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Rating Row */
.review-rating-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.review-stars {
    color: gold;
    font-size: 14px;
    letter-spacing: 2px;
}

.review-treatment-badge {
    background: var(--light-blue);
    border: 1px solid var(--border-color);
    color: var(--primary-blue);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 5px 11px;
    border-radius: var(--radius-pill);
}

/* Review Title & Body */
.review-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--dark-navy);
    letter-spacing: -.01em;
    margin: 0 0 12px 0;
}

.review-text {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0;
    flex: 1;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Compact & Elegant Dark CTA Bar */
.reviews-footer-cta {
    background: var(--dark-navy);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 34px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: var(--shadow-lg);
}

.reviews-cta-left {
    max-width: 640px;
}

.reviews-cta-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent-teal);
    display: block;
    margin-bottom: 8px;
}

.reviews-cta-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.reviews-cta-desc {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--border-color);
    font-weight: 400;
}

.reviews-cta-btn {
    background: #FFFFFF;
    color: var(--dark-navy);
    padding: 13px 26px;
    min-height: 46px;
    border-radius: var(--radius-pill);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(15, 31, 45, 0.10);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.reviews-cta-btn:hover {
    background: var(--btn-blue);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 103, 182, 0.22);
}

/* Reviews / Carousel Responsive Breakpoints */
@media(max-width: 1080px) {
    .reviews-carousel-wrap {
        padding: 16px 0 24px;
    }
    .review-card {
        flex: 0 0 clamp(340px, 58vw, 560px);
        padding: 30px 32px;
    }
}

@media(max-width: 820px) {
    .reviews-footer-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }
    .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }
    .carousel-prev { left: 8px; }
    .carousel-next { right: 8px; }
}

@media(max-width: 680px) {
    .reviews-section {
        padding: 70px 6vw 60px;
    }
    .reviews-heading {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
    }
    .reviews-carousel-wrap {
        padding-bottom: 66px;
    }
    .reviews-carousel-wrap::before,
    .reviews-carousel-wrap::after {
        display: none;
    }
    .reviews-carousel-viewport {
        padding: 12px 0 18px;
    }
    .review-card {
        flex: 0 0 min(86vw, 380px);
        padding: 24px 22px;
        min-height: 250px;
        opacity: 0.35;
        transform: scale(0.94);
    }
    .review-card.carousel-active {
        opacity: 1 !important;
        transform: scale(1);
    }
    .carousel-nav-btn {
        top: auto;
        bottom: 8px;
        transform: none;
        width: 42px;
        height: 42px;
    }
    .carousel-nav-btn:hover {
        transform: scale(1.06);
    }
    .carousel-prev {
        left: calc(50% - 48px);
    }
    .carousel-next {
        right: calc(50% - 48px);
    }
}

/* ==========================================================================
   SECTION 1 — HIGHLIGHTS FROM THE BUSINESS
   ========================================================================== */

.highlights-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.highlights-heading {
    font-size: clamp(2.6rem, 5.5vw, 5.2rem);
    font-weight: 900;
    letter-spacing: -.08em;
    line-height: .95;
    color: var(--ink);
    margin: 16px 0 45px;
    text-transform: uppercase;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

.highlight-item {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.highlight-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    background: var(--light-bg);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: transform 0.3s ease;
}

.highlight-item:hover .highlight-icon {
    transform: scale(1.08);
}

.highlight-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 8px;
    display: block;
}

.highlight-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--ink);
    letter-spacing: -.01em;
}

/* 3-Column Information Area */
.info-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-column-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
}

.info-column-header {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.column-tag {
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
}

.column-title {
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .06em;
    color: var(--ink);
    text-transform: uppercase;
}

.info-column-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-column-list li {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: inline-block;
    flex-shrink: 0;
}

.info-column-list .more-item {
    color: var(--primary-blue);
    font-weight: 700;
}

/* ==========================================================================
   SECTION 2 — ABOUT THE CLINIC
   ========================================================================== */
.clinic-about {
    padding: 130px 4.5vw 120px;
    background: #ffffff;
    border-top: 1px solid var(--line);
}

.about-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.about-hero-block {
    max-width: 950px;
    margin-bottom: 55px;
}

.about-main-heading {
    font-size: clamp(2.4rem, 4.8vw, 4.2rem);
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: 1.05;
    color: var(--ink);
    margin: 16px 0 24px;
    text-transform: uppercase;
}

.about-lead-content p {
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--muted);
}

.about-subsections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.about-sub-card {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.about-sub-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-blue);
}

.sub-card-header {
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.sub-heading {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--ink);
    text-transform: uppercase;
}

.sub-body {
    font-size: 13.5px;
    line-height: 1.68;
    color: var(--muted);
}

footer {
    padding: 30px 5vw;
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: .14em
}

@media(max-width:820px) {
    .nav-links {
        display: none;
    }
}

@media(max-width:960px) {
    .highlights-grid,
    .info-columns-grid,
    .about-subsections-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media(max-width:760px) {
    .business-highlights,
    .clinic-about {
        padding: 85px 6vw 55px;
    }

    .highlights-heading,
    .about-main-heading {
        font-size: clamp(2.2rem, 10vw, 3.4rem);
    }
    .nav {
        padding: 14px 5vw;
    }

    .nav-brand-logo {
        height: 48px;
        max-width: 210px;
    }

    .book-btn {
        padding: 9px 15px;
        font-size: 9px;
    }

    .intro {
        padding: 90px 6vw 60px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-heading {
        font-size: clamp(3rem, 14vw, 5.5rem);
    }

    .doctor-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .doctor-card-wrap {
        max-width: 360px;
    }

    .stack-section {
        padding: 55px 4vw 60px;
        height: auto;
    }

    .stack-container,
    .stack-pin {
        gap: 32px;
        height: auto;
    }

    .stack-card {
        width: 100%;
        max-width: 100%;
        border-radius: 24px;
        min-height: auto;
        left: auto;
        top: auto;
        height: auto;
    }

    .card-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        height: auto;
    }

    .card-image {
        height: 320px;
        min-height: 280px;
        order: -1;
    }

    .card-copy {
        height: auto;
        padding: 32px 24px;
        gap: 22px;
    }

    .stack-card h2,
    .card-copy h2,
    .card h2 {
        font-size: clamp(2.4rem, 9.5vw, 3.8rem);
        line-height: .9;
    }

    .stack-card p,
    .card-copy p,
    .card p {
        font-size: 13px;
        line-height: 1.55;
    }

    .card-doc-specs {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 14px 0;
    }

    .after {
        grid-template-columns: 1fr;
        padding: 100px 7vw;
        gap: 35px
    }

    .after h2 {
        font-size: 19vw
    }
}

/* ==========================================================================
   CONTACT & CLINIC INFORMATION SECTION
   ========================================================================== */
/* ==========================================================================
   CONTACT & CLINIC INFORMATION SECTION (Hero Showcase Card)
   ========================================================================== */
.contact-section {
    padding: 0;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    position: relative;
    width: 100%;
    overflow: hidden;
}

.contact-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ── Full Width Split Banner ── */
.contact-banner-card {
    background: #ffffff;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
    position: relative;
    min-height: 560px;
    width: 100%;
    margin: 0;
}

/* ── Left Content Area ── */
.contact-banner-content {
    padding: 80px 32px 80px max(4.5vw, calc((100vw - var(--container-max)) / 2 + 16px));
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3;
    background: #ffffff;
}

.contact-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-eyebrow-text {
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--primary-blue);
}

.contact-eyebrow-line {
    display: inline-block;
    width: 36px;
    height: 1.5px;
    background: var(--cyan);
    border-radius: 2px;
}

.contact-banner-title {
    font-family: var(--font-family);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dark-text);
    margin: 0 0 16px;
    text-transform: none;
}

.contact-title-blue {
    color: var(--primary-blue);
    display: inline-block;
}

.contact-banner-desc {
    font-family: var(--font-family);
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--secondary-text);
    max-width: 500px;
    margin: 0 0 32px;
}

/* ── 3 Info / Feature Pills ── */
.contact-info-pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 34px;
}

.contact-pill-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(9, 34, 58, 0.03);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    border-style: solid;
    will-change: transform;
}

.contact-pill-card:hover {
    transform: perspective(400px) translateY(-3px) rotate(-1deg) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(0, 103, 182, 0.14);
}

.pill-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pill-icon-blue {
    background: rgba(0, 103, 182, 0.1);
    color: var(--primary-blue);
}

.pill-icon-green {
    background: rgba(0, 199, 244, 0.14);
    color: #0087B3;
}

.pill-icon-coral {
    background: rgba(9, 34, 58, 0.08);
    color: var(--primary-blue);
}

.pill-text-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pill-label {
    font-size: 11px;
    color: var(--secondary-text);
    font-weight: 500;
    margin-bottom: 2px;
    white-space: nowrap;
}

.pill-val {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--dark-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── 2 Action Buttons ── */
.contact-banner-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-btn-dark {
    background: var(--primary-blue);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    box-shadow: 0 4px 14px rgba(0, 103, 182, 0.25);
    will-change: transform;
}

.contact-btn-dark:hover {
    background: var(--primary-blue-dark);
    transform: perspective(400px) translateY(-3px) rotate(-1.8deg) scale(1.04);
    box-shadow: 0 10px 26px rgba(0, 103, 182, 0.4);
}

.contact-btn-dark:active {
    transform: translateY(0) rotate(0deg) scale(0.97);
}

.contact-btn-dark .btn-arrow {
    transition: transform 0.2s ease;
}

.contact-btn-dark:hover .btn-arrow {
    transform: translateX(4px);
}

.contact-btn-outline {
    background: #ffffff;
    color: var(--primary-blue);
    border: 1.5px solid rgba(0, 103, 182, 0.35);
    border-radius: 999px;
    padding: 13px 26px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-btn-outline:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(0, 103, 182, 0.06);
    transform: perspective(400px) translateY(-2px) rotate(1.2deg) scale(1.02);
}

/* ── Contact Section Social Row ── */
.contact-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.contact-social-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary-text);
}

.contact-social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    will-change: transform;
}

.contact-social-pill:hover {
    color: #ffffff;
}

.contact-social-insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    transform: perspective(400px) translateY(-4px) rotate(-10deg) scale(1.14);
    box-shadow: 0 6px 18px rgba(220, 39, 67, 0.4);
}

.contact-social-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: perspective(400px) translateY(-4px) rotate(10deg) scale(1.14);
    box-shadow: 0 6px 18px rgba(24, 119, 242, 0.4);
}

.contact-social-pill:active {
    transform: translateY(0) rotate(0deg) scale(0.95);
}

.contact-social-pill svg {
    color: var(--primary-blue);
    transition: color 0.25s ease;
}

.contact-social-pill:hover svg {
    color: #ffffff;
}

/* ── Right Visual Area (Clinic Image & Soft Feather Fade like Reference) ── */
.contact-banner-visual {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    height: 100%;
    background: #ffffff;
}

.contact-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    opacity: 0;
    transform: scale(1.03);
    -webkit-mask-image: none;
    mask-image: none;
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 6s cubic-bezier(0.1, 0.9, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

.contact-banner-img.img-pos-right {
    object-position: 85% center;
}

.contact-banner-img.img-pos-center {
    object-position: center center;
}

.contact-banner-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.contact-gradient-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 320px;
    max-width: 48%;
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #ffffff 4%,
        rgba(255, 255, 255, 0.96) 12%,
        rgba(255, 255, 255, 0.86) 24%,
        rgba(255, 255, 255, 0.70) 38%,
        rgba(255, 255, 255, 0.50) 52%,
        rgba(255, 255, 255, 0.30) 66%,
        rgba(255, 255, 255, 0.14) 80%,
        rgba(255, 255, 255, 0.04) 92%,
        rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Subtle clean dots in bottom-right corner */
.clinic-switch-dots {
    position: absolute;
    bottom: 24px;
    right: 28px;
    z-index: 3;
    display: flex;
    gap: 6px;
    background: rgba(15, 31, 45, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.clinic-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background 0.3s ease, width 0.3s ease;
    cursor: pointer;
}

.clinic-dot.active {
    background: #ffffff;
    width: 18px;
    border-radius: 999px;
}

/* ── Appointment Booking Modal ── */
body.modal-open,
html.modal-open {
    overflow: hidden !important;
}

.appointment-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease;
    -webkit-overflow-scrolling: touch;
}

.appointment-modal.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 34, 58, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 24px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 103, 182, 0.12);
    transform: scale(0.94) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 34px 32px;
}

.appointment-modal.open .modal-dialog {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

.modal-eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 4px;
}

.modal-title {
    font-size: 21px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--dark-navy);
    margin: 0 0 4px;
}

.modal-subtitle {
    font-size: 12.5px;
    color: var(--text-secondary);
    margin: 0;
}

.modal-close-btn {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    color: var(--dark-navy);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.modal-close-btn:hover {
    background: #0f1f2d;
    color: #ffffff;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--dark-navy);
    letter-spacing: .02em;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--primary-blue);
    background: #FFFFFF;
    box-shadow: 0 0 0 3px rgba(0, 103, 182, 0.15);
}

.form-select {
    cursor: pointer;
}

.form-textarea {
    resize: vertical;
    min-height: 75px;
}

.form-submit-btn {
    width: 100%;
    padding: 14px 24px;
    min-height: 46px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: var(--btn-dark);
    color: #FFFFFF;
    border: none;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(15, 31, 45, 0.08);
    transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
    margin-top: 6px;
    will-change: transform;
}

.form-submit-btn:hover {
    background: var(--primary-blue);
    transform: perspective(400px) translateY(-3px) rotate(-1.5deg) scale(1.03);
    box-shadow: 0 10px 24px rgba(0, 103, 182, 0.35);
}

.form-submit-btn:active {
    transform: translateY(0) rotate(0deg) scale(0.98);
}

.form-success-msg {
    padding: 16px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: var(--radius-sm);
    color: var(--dark-navy);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: quickFadeIn 0.3s ease;
    margin-top: 8px;
}

.form-success-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #166534;
    font-weight: 700;
    font-size: 13.5px;
}

.form-success-header svg {
    color: #16a34a;
    flex-shrink: 0;
}

.form-success-note {
    font-size: 12.5px;
    color: #374151;
    margin: 0;
    line-height: 1.45;
}

.form-wa-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}

@media (max-width: 520px) {
    .form-wa-actions {
        grid-template-columns: 1fr;
    }
}

.form-wa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.form-wa-app-btn {
    background: #25D366;
    color: #ffffff;
    border: 1px solid #22c55e;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.form-wa-app-btn:hover {
    background: #1eb956;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.form-wa-web-btn {
    background: #ffffff;
    color: #0f1f2d;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 31, 45, 0.06);
}

.form-wa-web-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
    color: var(--primary-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 103, 182, 0.15);
}

.modal-footer-call {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
}

.modal-call-link {
    color: var(--primary-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.modal-call-link:hover {
    text-decoration: underline;
}

/* ── Responsive Breakpoints ── */
@media(max-width: 1100px) {
    .contact-banner-card {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    }
    .contact-banner-content {
        padding: 60px 36px 60px max(4.5vw, calc((100vw - var(--container-max)) / 2));
    }
    .contact-info-pills {
        gap: 10px;
    }
    .contact-pill-card {
        padding: 10px 12px;
    }
}

@media(max-width: 960px) {
    .contact-banner-card {
        grid-template-columns: 1fr;
    }
    .contact-banner-content {
        padding: 55px 6vw 45px;
    }
    .contact-banner-visual {
        min-height: 380px;
        height: 380px;
        order: 2;
    }
    .contact-banner-img {
        object-position: center center;
        -webkit-mask-image: none;
        mask-image: none;
    }
    .contact-gradient-fade {
        width: 100%;
        max-width: 100%;
        height: 60px;
        top: 0; left: 0; right: 0; bottom: auto;
        background: linear-gradient(
            to bottom,
            #ffffff 0%,
            #ffffff 5%,
            rgba(255, 255, 255, 0.95) 15%,
            rgba(255, 255, 255, 0.80) 30%,
            rgba(255, 255, 255, 0.55) 50%,
            rgba(255, 255, 255, 0.30) 70%,
            rgba(255, 255, 255, 0.10) 86%,
            rgba(255, 255, 255, 0) 100%
        );
    }
}

@media(max-width: 680px) {
    .contact-section {
        padding: 0;
    }
    .contact-banner-card {
        border-radius: 0;
    }
    .contact-banner-content {
        padding: 40px 5vw 32px;
    }
    .contact-banner-title {
        font-size: clamp(2rem, 7.5vw, 2.5rem);
    }
    .contact-info-pills {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .contact-banner-actions {
        flex-direction: column;
        width: 100%;
    }
    .contact-btn-dark,
    .contact-btn-outline {
        width: 100%;
        justify-content: center;
    }
    .contact-banner-visual {
        min-height: 290px;
        height: 290px;
    }
    .form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .modal-dialog {
        padding: 24px 20px;
    }
    .modal-footer-call {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}

/* ==========================================================================
   CLINIC FOOTER
   ========================================================================== */
.site-footer {
    background: var(--dark-navy);
    color: var(--text-secondary);
    padding: 85px 4.5vw 38px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.15fr 1.25fr;
    gap: 48px;
    align-items: flex-start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 22px;
    text-decoration: none;
}

.footer-logo-badge {
    background: #FFFFFF;
    padding: 10px 18px;
    border-radius: var(--radius-card);
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 14px rgba(15, 31, 45, 0.15);
    transition: transform 0.25s ease;
}

.footer-logo-badge:hover {
    transform: scale(1.02);
}

.footer-brand-logo {
    height: 38px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.footer-brand-desc {
    font-size: 13.5px;
    line-height: 1.65;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 24px;
    max-width: 360px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(226, 237, 245, 0.20);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
}

.footer-badge svg {
    color: var(--accent-teal);
}

/* Titles & Lists */
.footer-col-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list li a {
    font-size: 13.5px;
    color: var(--border-color);
    font-weight: 400;
    text-decoration: none;
    transition: color 0.25s ease, transform 0.25s ease;
    display: inline-block;
}

.footer-links-list li a:hover {
    color: var(--primary-blue);
    transform: translateX(3px);
}

.footer-links-list li a.footer-highlight-link {
    color: var(--accent-teal);
    font-weight: 600;
}

.footer-links-list li a.footer-highlight-link:hover {
    color: var(--light-blue);
}

/* Info Column */
.footer-info-block {
    margin-bottom: 16px;
}

.footer-info-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 4px;
}

.footer-info-text {
    font-size: 13px;
    line-height: 1.55;
    color: var(--border-color);
    font-weight: 400;
    margin: 0;
}

.footer-info-text strong {
    color: #FFFFFF;
    font-weight: 600;
}

.footer-subtext {
    font-size: 12px;
    color: var(--text-secondary);
}

.footer-emergency-pill {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    background: rgba(239, 43, 45, 0.12);
    border: 1px solid rgba(239, 43, 45, 0.28);
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    max-width: fit-content;
}

.emergency-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--medical-red);
    box-shadow: 0 0 8px rgba(239, 43, 45, 0.6);
    display: inline-block;
    flex-shrink: 0;
}

/* Footer Social & Directions Links */
.footer-social-wrap {
    margin-top: 24px;
}

.footer-social-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 12px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0;
    text-decoration: none;
    transition: all 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform;
}

.footer-social-btn:hover {
    color: #ffffff;
}

.footer-social-insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
    transform: perspective(400px) translateY(-4px) rotate(-10deg) scale(1.14);
    box-shadow: 0 8px 22px rgba(220, 39, 67, 0.5);
}

.footer-social-fb:hover {
    background: #1877F2;
    border-color: #1877F2;
    transform: perspective(400px) translateY(-4px) rotate(10deg) scale(1.14);
    box-shadow: 0 8px 22px rgba(24, 119, 242, 0.5);
}

.footer-social-btn:active {
    transform: translateY(0) rotate(0deg) scale(0.95);
}

.footer-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent-teal);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-map-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

/* Bottom Bar */
.footer-bottom-bar {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-secondary);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--border-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.back-to-top:hover {
    color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Responsive Footer */
@media(max-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media(max-width: 680px) {
    .site-footer {
        padding: 60px 6vw 30px;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .footer-bottom-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-top: 40px;
    }
    .footer-bottom-links {
        width: 100%;
        justify-content: space-between;
    }
}

/* ==========================================================================
   FLOATING QUICK HELP UTILITY
   ========================================================================== */
.quick-help-wrapper {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

/* Floating Trigger Button */
.quick-help-btn {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-pill);
    background: #25D366;
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.25s ease;
    outline: none;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    padding: 0;
}

.quick-help-btn:hover {
    transform: scale(1.08);
    background: #20ba59;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.48);
}

.quick-help-btn:active {
    transform: scale(0.94);
}

/* Active state morphs logo to close */
.trigger-icon-wrap {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trigger-logo-badge {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s ease;
}

.trigger-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.trigger-icon-close {
    position: absolute;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.22s ease;
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
    color: #FFFFFF;
}

.quick-help-btn.is-active .trigger-logo-badge {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
}

.quick-help-btn.is-active .trigger-icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* Unread / Online Notification Dot */
.trigger-unread-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #EF2B2D;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    animation: unreadPulse 2s infinite;
}

.quick-help-btn.is-active .trigger-unread-dot {
    display: none;
}

@keyframes unreadPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 43, 45, 0.6);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 4px rgba(239, 43, 45, 0);
    }
}

.quick-help-tooltip {
    position: absolute;
    right: 68px;
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: #09223A;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    box-shadow: 0 4px 14px rgba(9, 34, 58, 0.18);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.quick-help-btn:hover .quick-help-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Floating WhatsApp-Style Chat Panel */
.quick-help-panel {
    position: absolute;
    bottom: 72px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 520px;
    max-height: min(82vh, 560px);
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    box-shadow: 0 16px 44px -10px rgba(9, 34, 58, 0.26);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.92) translateY(14px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    transform-origin: bottom right;
    z-index: 10;
}

.quick-help-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* Chat Header */
.quick-chat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #09223A 0%, #0067B6 100%);
    color: #FFFFFF;
    flex-shrink: 0;
    border-top-left-radius: 19px;
    border-top-right-radius: 19px;
}

.chat-header-avatar {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    padding: 2px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.chat-online-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background: #25D366;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.chat-header-info {
    flex: 1;
    min-width: 0;
}

.chat-header-name {
    font-size: 14px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    display: block;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chat-header-status {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25D366;
    flex-shrink: 0;
}

.chat-header-close {
    background: rgba(255, 255, 255, 0.14);
    border: none;
    color: #FFFFFF;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.chat-header-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

/* Chat Scrollable Body */
.quick-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 14px 14px 16px;
    background: #F8FAFD;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.quick-chat-body::-webkit-scrollbar {
    width: 5px;
}
.quick-chat-body::-webkit-scrollbar-track {
    background: transparent;
}
.quick-chat-body::-webkit-scrollbar-thumb {
    background: rgba(15, 31, 45, 0.15);
    border-radius: 4px;
}

.chat-date-badge {
    text-align: center;
    margin: 2px 0 6px;
}

.chat-date-badge span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(15, 31, 45, 0.06);
    color: var(--text-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-pill);
}

/* Message Rows & Bubbles */
.chat-msg-row {
    display: flex;
    width: 100%;
}

.chat-msg-bot {
    justify-content: flex-start;
}

.chat-msg-user {
    justify-content: flex-end;
}

.chat-bubble {
    max-width: 86%;
    padding: 11px 14px;
    font-size: 13px;
    line-height: 1.5;
    position: relative;
    word-break: break-word;
    animation: bubbleSlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bubbleSlideIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-msg-bot .chat-bubble {
    background: #FFFFFF;
    color: var(--dark-navy);
    border: 1px solid var(--border-color);
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 2px 8px rgba(15, 31, 45, 0.04);
}

.chat-msg-user .chat-bubble {
    background: var(--primary-blue);
    color: #FFFFFF;
    border-radius: 16px 16px 4px 16px;
    box-shadow: 0 3px 10px rgba(0, 103, 182, 0.22);
}

.chat-msg-time {
    display: block;
    font-size: 10px;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 4px;
}

.chat-msg-user .chat-msg-time {
    color: rgba(255, 255, 255, 0.8);
}

.greeting-text {
    margin: 0;
    font-size: 13px;
    line-height: 1.52;
}

/* Quick Actions Cards Block */
.chat-actions-wrapper {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(15, 31, 45, 0.04);
}

.chat-actions-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
    padding-left: 4px;
}

.chat-actions-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.chat-action-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 9px 12px;
    background: var(--bg-soft);
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    font-family: inherit;
    gap: 10px;
}

.chat-action-btn:hover {
    background: var(--light-blue);
    border-color: rgba(0, 103, 182, 0.3);
    transform: translateX(2px);
}

.chat-action-icon {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    flex-shrink: 0;
}

.chat-action-text {
    flex: 1;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--dark-navy);
}

.chat-action-arrow {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease;
}

.chat-action-btn:hover .chat-action-arrow {
    transform: translateX(2px);
    color: var(--primary-blue);
}

/* Specific Action Highlights */
.chat-action-highlight {
    background: #F0F7FD;
    border-color: rgba(0, 103, 182, 0.25);
}

.chat-action-highlight .chat-action-text {
    color: var(--primary-blue);
}

.chat-action-whatsapp {
    background: #F0FDF4;
    border-color: rgba(37, 211, 102, 0.25);
}

.chat-action-whatsapp .chat-action-icon svg {
    color: #25D366;
}

.chat-action-whatsapp .chat-action-text {
    color: #15803d;
}

/* Chat Messages Stream */
.chat-messages-stream {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Info Cards embedded in chat stream */
.chat-info-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(15, 31, 45, 0.04);
}

.chat-info-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chat-info-desc {
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-primary);
    margin: 0 0 10px 0;
}

.chat-info-sub {
    font-size: 11.5px;
    color: var(--text-secondary);
}

.chat-map-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-blue);
    color: #FFFFFF;
    padding: 8px 14px;
    border-radius: var(--radius-pill);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chat-map-action-btn:hover {
    background: var(--btn-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
}

.chat-timing-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #15803d;
    background: #dcfce7;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    margin-top: 4px;
}

/* Chat Footer Input */
.quick-chat-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.quick-chat-input {
    flex: 1;
    min-width: 0;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text-primary);
    background: #F1F5F9;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.quick-chat-input:focus {
    background: #FFFFFF;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 103, 182, 0.12);
}

.quick-chat-send-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.quick-chat-send-btn:hover {
    background: #25D366;
    transform: scale(1.05);
}

.quick-chat-send-btn:active {
    transform: scale(0.95);
}

@media(max-width: 680px) {
    .quick-help-wrapper {
        bottom: 16px;
        right: 16px;
    }
    .quick-help-btn {
        width: 52px;
        height: 52px;
    }
    .trigger-icon-wrap,
    .trigger-logo-badge {
        width: 38px;
        height: 38px;
    }
    .trigger-logo-img {
        width: 27px;
        height: 27px;
    }
    .quick-help-panel {
        bottom: 64px;
        right: 0;
        width: calc(100vw - 32px);
        max-width: 340px;
        height: min(78vh, 480px);
        border-radius: 18px;
    }
    .quick-help-tooltip {
        display: none;
    }
}

/* ==========================================================================
   GLOBAL INTERACTIVE ANIMATION & TRACTION SUITE
   ========================================================================== */

/* 1. SCROLL REVEAL SYSTEM */
.reveal-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.reveal-left {
    opacity: 0;
    transform: translateX(-36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-right {
    opacity: 0;
    transform: translateX(36px);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.is-revealed {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* 2. AMBIENT FLOATING & PULSE ANIMATIONS */
@keyframes ambientFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulseRingGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 103, 182, 0.45);
    }
    70% {
        box-shadow: 0 0 0 14px rgba(0, 103, 182, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 103, 182, 0);
    }
}

@keyframes cardShimmer {
    0% {
        transform: translateX(-100%) rotate(25deg);
        opacity: 0;
    }
    35% {
        opacity: 0.28;
    }
    100% {
        transform: translateX(250%) rotate(25deg);
        opacity: 0;
    }
}

@keyframes bounceDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* 3. HERO SECTION TRACTION */
.hero-feature-pill {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero-feature-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 103, 182, 0.12);
    border-color: rgba(0, 103, 182, 0.3);
}

.hero-composite-img {
    animation: ambientFloat 6s ease-in-out infinite;
    transition: transform 0.5s ease;
}

.scroll-explore-arrow {
    display: inline-block;
    animation: bounceDown 1.8s ease-in-out infinite;
}

/* 4. DOCTOR SECTION TRACTION */
.dr-stat-card {
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}
.dr-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 103, 182, 0.12);
    border-color: rgba(0, 103, 182, 0.35);
}
.dr-stat-card:hover .dr-stat-icon {
    transform: scale(1.12) rotate(6deg);
    background: var(--primary-blue);
    color: #ffffff;
}
.dr-stat-icon {
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

/* Doctor Section - Portrait kept rock-solid and stable */
.dr-photo-frame:hover .dr-photo-img {
    transform: none !important;
}

/* 5. TREATMENT CARDS ENHANCED TRACTION */
.treatment-card {
    position: relative;
}
.treatment-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        60deg,
        transparent 35%,
        rgba(255, 255, 255, 0.35) 50%,
        transparent 65%
    );
    transform: translateX(-100%) rotate(25deg);
    pointer-events: none;
    z-index: 10;
}
.treatment-card:hover::after {
    animation: cardShimmer 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.treatment-card:active {
    transform: translateY(-2px) scale(0.985);
}
.treatment-card:hover .treatment-card-badge {
    transform: scale(1.1) rotate(6deg);
    box-shadow: 0 6px 18px rgba(0, 103, 182, 0.25);
}

/* 6. CONTACT SECTION TRACTION */
.contact-pill-card {
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.contact-pill-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 103, 182, 0.12);
    border-color: rgba(0, 103, 182, 0.3);
}
.contact-pill-card:hover .pill-icon-wrap {
    transform: scale(1.12);
}
.pill-icon-wrap {
    transition: transform 0.3s ease;
}

.contact-banner-actions button:hover .btn-arrow,
.contact-banner-actions a:hover .btn-arrow {
    transform: translateX(4px);
}
.btn-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

/* 7. QUICK HELP FLOATING BUTTON TRACTION */
.quick-help-btn {
    animation: pulseRingGlow 3s infinite;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
}
.quick-help-btn:hover {
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 24px rgba(0, 103, 182, 0.35);
}

/* 8. NAVBAR SCROLLED STATE TRACTION */
header.site-header {
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}
header.site-header.scrolled {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15, 31, 45, 0.08);
}

/* 9. SMOOTH BUTTON & LINK PRESS TRACTION */
button:active,
.button:active,
.contact-btn-dark:active {
    transform: scale(0.97);
}

/* Accessibility: Reduced Motion */
@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-up,
    .reveal-fade,
    .reveal-left,
    .reveal-right,
    .reveal-scale {
        opacity: 1 !important;
        transform: none !important;
    }
}
/* -------------------------------------------------------
   TEAM SECTION � 5-CARD GRID LAYOUT + CARD DETAILS
   ------------------------------------------------------- */

/* Wider container for 5 cards */
.team-container-wide {
    max-width: 1200px;
}

/* Override flex to use CSS Grid for 5 cards */
.team-container-wide .team-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    justify-items: center;
}

/* Reset card width to fill grid cell */
.team-container-wide .team-card {
    width: 100%;
    max-width: 380px;
}

/* Slide-up animation for all cards */
.team-card.team-slide-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s ease;
    will-change: opacity, transform;
}
.team-card.team-slide-up:nth-child(1) { transition-delay: 0s; }
.team-card.team-slide-up:nth-child(2) { transition-delay: 0.1s; }
.team-card.team-slide-up:nth-child(3) { transition-delay: 0.2s; }
.team-card.team-slide-up:nth-child(4) { transition-delay: 0.3s; }
.team-card.team-slide-up:nth-child(5) { transition-delay: 0.4s; }

.team-card.team-slide-up.is-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Card title (specialization) */
.team-card-title {
    font-family: var(--font-family, 'DM Sans'), sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--primary-blue, #0067b6);
    margin: 4px 0 0;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

/* Card description */
.team-card-desc {
    font-family: var(--font-family, 'DM Sans'), sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    color: #5a6a7a;
    margin: 8px 0 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive: 5 cards */
@media (max-width: 1100px) {
    .team-container-wide .team-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .team-container-wide .team-card {
        max-width: 340px;
    }
}

@media (max-width: 860px) {
    .team-container-wide .team-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .team-container-wide .team-card {
        max-width: 380px;
    }
    .team-container-wide .team-card-photo {
        height: 320px;
    }
}

@media (max-width: 560px) {
    .team-container-wide .team-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .team-container-wide .team-card {
        max-width: min(420px, 92vw);
    }
    .team-container-wide .team-card-photo {
        height: 360px;
    }
}
