:root {
    --primary-navy: #001133;
    --light-navy: #001F5B;
    --dark-text: #001133;
    --light-text: #001F5B;
    --off-white: #FFFFFF;
}

html {
    scroll-behavior: smooth;
}

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

* {
    box-sizing: border-box;
}

body {
    background-color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    color: #001133;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
}

.site-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 17, 51, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12rem;
    min-width: 210px;
    transform: translateY(-3px);
}

.nav-logo-text {
    display: flex;
    align-items: baseline;
    justify-content: center;
    line-height: 1;
}

.nav-logo-brighta {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #001133;
    font-size: 1.5rem;
}

.nav-logo-dental {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: #001F5B;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    margin-left: 4px;
}

.nav-logo-mark {
    width: 86px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #001133;
    text-decoration: none;
    font-size: 1.125rem;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.nav-button {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: #001133;
    text-decoration: none;
    padding: 0.6rem 1.75rem;
    font-size: 1.125rem;
    border: 1px solid #001133;
    border-radius: 999px;
    background-color: transparent;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: rgba(0, 17, 51, 0.05);
}

.nav-secondary-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    margin-left: 15px;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #001133;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-drawer {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 17, 51, 0.06);
    z-index: 999;
    padding: 1.5rem 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    transform: translateY(-110%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    pointer-events: none;
}

.mobile-drawer.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-drawer a {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.15rem;
    color: #001133;
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 17, 51, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.mobile-drawer a:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mobile-drawer a:hover {
    color: #001F5B;
}

.mobile-drawer .drawer-call-btn {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #001133;
    color: #fff;
    border-radius: 999px;
    padding: 1rem 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: none;
    transition: background-color 0.3s ease;
}

.mobile-drawer .drawer-call-btn:hover {
    background-color: #001F5B;
}

.hamburger {
    display: flex;
}

.nav-links,
.nav-button {
    display: none;
}

.hero-section {
    position: relative;
    min-height: 100svh;
    overflow-x: clip;
    overflow-y: visible;
    padding: 84px 20px 30px;
    background:
        radial-gradient(circle at 10% 14%, rgba(255, 244, 225, 0.94), rgba(255,255,255,1) 26%),
        radial-gradient(circle at 76% 10%, rgba(208, 226, 255, 0.96), rgba(255,255,255,1) 34%),
        radial-gradient(circle at 4% 68%, rgba(255, 236, 205, 0.72), rgba(255,255,255,1) 32%),
        linear-gradient(145deg, #fffdf9 0%, #edf5ff 43%, #fbfdff 72%, #fff7ec 100%);
    background-color: #ffffff;
}

.hero-section::before,
.hero-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.hero-section::before {
    inset: 0;
    background:
        radial-gradient(circle at 24% 20%, rgba(255, 244, 204, 0.7) 0 2px, transparent 3px),
        radial-gradient(circle at 36% 30%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
        radial-gradient(circle at 64% 33%, rgba(255, 237, 191, 0.74) 0 1px, transparent 2px),
        radial-gradient(circle at 47% 45%, rgba(255, 255, 255, 0.64), transparent 37%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(242, 248, 255, 0.28) 48%, rgba(255, 255, 255, 0.8) 100%);
}

.hero-section::after {
    left: -42%;
    top: 48%;
    width: 120%;
    height: 54%;
    border-radius: 999px;
    background:
        radial-gradient(ellipse at 38% 30%, rgba(255, 244, 218, 0.82), transparent 54%),
        radial-gradient(ellipse at 70% 38%, rgba(215, 231, 252, 0.64), transparent 58%);
    filter: blur(36px);
    opacity: 0.86;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.hero-visual {
    position: sticky;
    top: 78px;
    height: clamp(560px, 68svh, 660px);
    margin: 0 -20px;
    isolation: isolate;
}

.hero-visual::before,
.hero-visual::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-visual::before {
    left: -120px;
    top: 18px;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 55% 40%, rgba(255, 255, 255, 0.84) 0%, rgba(222, 236, 255, 0.64) 44%, rgba(209, 226, 252, 0) 74%);
    filter: blur(8px);
    z-index: 0;
}

.hero-visual::after {
    left: -4%;
    right: -20%;
    bottom: -78px;
    height: 58%;
    background:
        radial-gradient(ellipse at 68% 20%, rgba(224, 236, 250, 0.72), rgba(255, 255, 255, 0.68) 52%, rgba(255, 255, 255, 1) 76%),
        linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 252, 255, 0.9) 42%, #ffffff 74%, #ffffff 100%);
    filter: blur(20px);
    z-index: 6;
}

.hero-doctor-wrap {
    position: absolute;
    top: -134px;
    right: -98px;
    width: min(126vw, 520px);
    z-index: 5;
}

.hero-doctor-wrap::after {
    content: none;
}

.hero-doctor {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 32px 50px rgba(0, 17, 51, 0.18)) saturate(1.01) contrast(1.03);
}

.hero-tooth-stage {
    position: absolute;
    top: -36px;
    left: -58px;
    width: 330px;
    height: 430px;
    z-index: 3;
}

.hero-tooth-stage::before,
.hero-tooth-stage::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-tooth-stage::before {
    left: 42px;
    top: 36px;
    width: 236px;
    height: 236px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 42% 34%, rgba(255, 255, 255, 0.82), transparent 18%),
        radial-gradient(circle, rgba(255, 244, 214, 0.42), transparent 62%);
    filter: blur(18px);
    opacity: 0.62;
    animation: glowBreath 5.4s ease-in-out infinite;
    z-index: 3;
}

.hero-tooth-stage::after {
    left: 92px;
    top: 44px;
    width: 74px;
    height: 260px;
    border-radius: 999px;
    background: linear-gradient(105deg, transparent 0 24%, rgba(255, 255, 255, 0.34) 42%, transparent 62% 100%);
    filter: blur(6px);
    transform: rotate(12deg);
    animation: toothShine 4.8s ease-in-out infinite;
    opacity: 0.58;
    z-index: 5;
}

.hero-tooth-glow {
    position: absolute;
    left: 12px;
    top: 32px;
    width: 304px;
    height: 304px;
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 246, 218, 0.54) 0%, rgba(199, 218, 245, 0.48) 48%, rgba(199, 218, 245, 0) 76%);
    filter: blur(18px);
    z-index: 1;
    animation: glowBreath 4.8s ease-in-out infinite;
}

.hero-tooth-ring {
    position: absolute;
    left: 4px;
    top: 22px;
    width: 312px;
    height: 312px;
    border: 1.5px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    opacity: 0.76;
    z-index: 2;
    box-shadow: 0 0 36px rgba(255, 235, 188, 0.6), inset 0 0 38px rgba(255, 255, 255, 0.22);
}

.hero-tooth-ring::before,
.hero-tooth-ring::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #fff2c6;
    box-shadow: 0 0 18px rgba(255, 230, 172, 0.96);
}

.hero-tooth-ring::before { right: 31px; top: 62px; }
.hero-tooth-ring::after { right: 82px; bottom: 18px; }

.hero-tooth {
    position: absolute;
    left: 22px;
    top: 32px;
    width: 280px;
    height: 280px;
    object-fit: contain;
    object-position: center;
    z-index: 4;
    opacity: 0.98;
    mix-blend-mode: normal;
    -webkit-mask-image: none;
    mask-image: none;
    filter: drop-shadow(0 26px 30px rgba(0, 17, 51, 0.16)) saturate(1.04) contrast(1.04) brightness(1.04);
    animation: toothPulse 5.2s ease-in-out infinite;
}

.hero-photo-marquee {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin: -92px auto 34px;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.18s linear;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 8%, #000 28%, #000 72%, rgba(0,0,0,0.15) 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.15) 8%, #000 28%, #000 72%, rgba(0,0,0,0.15) 92%, transparent 100%);
}

.hero-photo-track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    animation: heroImageScroll 20s linear infinite;
    will-change: transform;
}

.hero-photo-marquee:hover .hero-photo-track {
    animation-play-state: paused;
}

.hero-photo-item {
    flex: 0 0 auto;
    width: 110px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    box-shadow: 0 8px 24px rgba(0, 17, 51, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.hero-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-copy {
    position: relative;
    z-index: 8;
    margin-top: -214px;
    padding: 168px 0 0;
    text-align: center;
}

.hero-copy::before,
.hero-copy::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-copy::before {
    z-index: -2;
    top: 38px;
    left: 50%;
    width: min(170vw, 760px);
    height: 1200px;
    border-radius: 50% 50% 0 0 / 36% 36% 0 0;
    background:
        radial-gradient(ellipse at 50% 12%, rgba(255, 255, 255, 0.62) 0%, rgba(255, 255, 255, 0.9) 44%, #ffffff 72%, #ffffff 100%),
        radial-gradient(circle at 18% 26%, rgba(255, 236, 196, 0.34), rgba(255, 255, 255, 0.72) 45%, #ffffff 78%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.74) 0%, #ffffff 56%, #ffffff 100%);
    box-shadow: 0 -28px 72px rgba(31, 69, 112, 0.08);
    filter: blur(16px);
    transform: translateX(-50%) scale(1.06);
}

.hero-copy::after {
    z-index: -1;
    top: 148px;
    left: 50%;
    width: min(118vw, 560px);
    height: 330px;
    border-bottom: 2px solid rgba(255, 239, 204, 0.86);
    border-radius: 0 0 50% 50%;
    background: transparent;
    filter: drop-shadow(0 0 14px rgba(255, 231, 178, 0.92));
    transform: translateX(-50%);
}

.hero-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.36em;
    color: #29457c;
    text-transform: uppercase;
    margin-bottom: 22px;
    text-shadow: 0 8px 28px rgba(255, 255, 255, 0.9);
}

.hero-headline-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 246px;
}

.hero-smile-arc {
    position: absolute;
    width: min(112vw, 430px);
    height: auto;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    overflow: visible;
    pointer-events: none;
    opacity: 0.72;
    filter: drop-shadow(0 0 13px rgba(255, 235, 190, 0.88));
}

.hero-title {
    position: relative;
    z-index: 2;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 0.89;
    letter-spacing: 0;
    color: #001133;
    text-align: center;
    margin: 0;
    text-shadow: 0 16px 38px rgba(255, 255, 255, 0.95);
}

.hero-title span {
    display: block;
}

.hero-title .accent { color: #385f9b; }

.hero-description {
    margin: 30px auto 0;
    color: rgba(0, 31, 91, 0.72);
    font-size: 1.02rem;
    line-height: 1.72;
    font-weight: 300;
    max-width: 348px;
}

.hero-smile-photo {
    position: relative;
    width: min(92%, 360px);
    aspect-ratio: 4 / 5;
    margin: 22px auto 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 44px rgba(0, 17, 51, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.86);
    background: #eef3fb;
    transform: translate3d(0, var(--hero-smile-shift, 0px), 0);
    will-change: transform;
}

.hero-smile-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 54%, rgba(0, 17, 51, 0.16) 100%);
    pointer-events: none;
}

.hero-smile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 30%;
    display: block;
    transform: translate3d(0, calc(var(--hero-smile-shift, 0px) * -0.55), 0) scale(1.04);
    will-change: transform;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: min(100%, 304px);
    min-height: 66px;
    margin: 30px auto 0;
    border-radius: 18px;
    background: linear-gradient(180deg, #06245a 0%, #001133 100%);
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    box-shadow: 0 20px 42px rgba(0, 17, 51, 0.25), 0 0 36px rgba(255, 239, 204, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.hero-cta:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #0b3275 0%, #001746 100%);
    box-shadow: 0 22px 44px rgba(0, 17, 51, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-stats-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 40px auto 0;
    padding: 18px 9px;
    width: 100%;
    border-radius: 18px;
    color: inherit;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.74);
    box-shadow: 0 18px 44px rgba(0, 17, 51, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.hero-stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 54px rgba(0, 17, 51, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.hero-stat {
    min-width: 0;
    padding: 0 6px;
    text-align: center;
    color: #001133;
}

.hero-stat + .hero-stat { border-left: 1px solid rgba(0, 31, 91, 0.12); }

.hero-stat-icon {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-bottom: 9px;
    border-radius: 50%;
    background: rgba(228, 234, 246, 0.82);
    color: #001f5b;
}

.hero-stat-icon svg { width: 18px; height: 18px; stroke-width: 2; }

.hero-stat-value {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.86rem;
    line-height: 1;
}

.hero-stat-label {
    display: block;
    margin-top: 5px;
    color: rgba(0, 31, 91, 0.78);
    font-size: 0.78rem;
    line-height: 1.25;
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    color: rgba(41, 69, 124, 0.76);
    font-size: 0.95rem;
    font-weight: 400;
}

.hero-scroll-indicator svg {
    width: 18px;
    height: 18px;
    animation: scrollNudge 2.6s ease-in-out infinite;
}

.hero-stat .hero-stat-icon {
    animation: ratingGlow 2.4s ease-in-out infinite;
}

.hero-stat .hero-stat-value {
    animation: ratingPulse 2.4s ease-in-out infinite;
}

.hero-stat:nth-child(2) .hero-stat-icon,
.hero-stat:nth-child(2) .hero-stat-value {
    animation-delay: 0.16s;
}

.hero-stat:nth-child(3) .hero-stat-icon,
.hero-stat:nth-child(3) .hero-stat-value {
    animation-delay: 0.32s;
}

.hero-stat-rating .hero-stat-label {
    font-weight: 500;
}

@keyframes toothPulse { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-7px) scale(1.025); } }
@keyframes toothShine { 0%, 100% { transform: translateX(-36px) rotate(12deg); opacity: 0; } 42% { opacity: 0.58; } 58% { opacity: 0.28; } 72% { transform: translateX(132px) rotate(12deg); opacity: 0; } }
@keyframes glowBreath { 0%, 100% { opacity: 0.72; transform: scale(0.96); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes scrollNudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@keyframes ratingPulse { 0%, 100% { transform: translateY(0) scale(1); } 45% { transform: translateY(-2px) scale(1.06); } }
@keyframes ratingGlow { 0%, 100% { box-shadow: 0 0 0 rgba(255, 214, 102, 0); } 50% { box-shadow: 0 0 28px rgba(255, 214, 102, 0.64); } }
@keyframes heroImageScroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 6px)); } }
@keyframes beforeAfterLoop { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.premium-divider-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0 2.5rem 0;
    position: relative;
    z-index: 50;
    background: linear-gradient(to bottom, #FFFFFF, #fcfcfc);
    margin-top: -2px;
}

.premium-divider-line {
    width: 85%;
    max-width: 1200px;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 31, 91, 0.15), rgba(0, 17, 51, 0.5), rgba(0, 31, 91, 0.15), rgba(0, 0, 0, 0));
}

.premium-divider-diamond {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-navy);
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(0, 17, 51, 0.4);
    border: 1px solid #ffffff;
    outline: 1px solid rgba(0, 17, 51, 0.2);
}

.scroll-track {
    height: 400vh;
    position: relative;
    contain: layout style;
}

.sticky-viewport {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    width: 100%;
    overflow: hidden;
    background: #fcfcfc;
    contain: paint style;
    isolation: isolate;
    transform: translateZ(0);
}

.tooth-comparison-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(82vh, 82vw);
    height: min(82vh, 82vw);
    z-index: 18;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooth-comparison-container::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 7%;
    width: 58%;
    height: 12%;
    border-radius: 50%;
    background: rgba(0, 17, 51, 0.16);
    filter: blur(12px);
    transform: translateX(-50%);
    z-index: 0;
}

.tooth-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    transform: translateZ(0);
}

.tooth-base {
    z-index: 19;
}

.tooth-overlay {
    z-index: 21;
    animation: toothFadeInOut 4.5s ease-in-out infinite;
}

.tooth-glow {
    position: absolute;
    width: 70%;
    height: 70%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.82) 0%, rgba(255, 241, 196, 0.38) 40%, rgba(255, 255, 255, 0) 70%);
    z-index: 20;
    filter: blur(10px);
    animation: glowPulse 4.5s ease-in-out infinite;
    mix-blend-mode: screen;
    will-change: opacity, transform;
}

@keyframes toothFadeInOut {
    0%, 15% {
        opacity: 0;
    }
    45%, 75% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 15% {
        opacity: 0.15;
        transform: scale(0.92);
    }
    45%, 75% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 0.15;
        transform: scale(0.92);
    }
}

.phase-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-columns: 1fr 40vw 1fr;
    padding: 4vh 8% 3% 8%;
    pointer-events: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    z-index: 20;
    contain: layout paint style;
}

.phase-overlay.active {
    opacity: 1;
    transform: translateY(0);
}

.phase-overlay.is-dormant {
    content-visibility: hidden;
    visibility: hidden;
}

.phase-overlay.active,
.phase-overlay:not(.is-dormant) {
    visibility: visible;
}

.phase-overlay.is-dormant .ba-image-track,
.phase-overlay.is-dormant .award-glow,
.phase-overlay.is-dormant .expert-award-img {
    animation-play-state: paused;
}

.phase-title {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: start;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 7rem;
    letter-spacing: -0.02em;
    color: #001133;
    margin: 0;
    margin-top: -3vh;
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.8);
}

.phase-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 8px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-self: start;
    height: 440px;
    margin-top: 8vh;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    contain: layout paint style;
}

.phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 17, 51, 0.03), rgba(0, 31, 91, 0.06));
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.card-image-placeholder::after {
    content: 'Image Space';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(0, 17, 51, 0.3);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.card-text {
    padding: 1.5rem 2rem;
    font-family: 'Inter', sans-serif;
    color: #001F5B;
    line-height: 1.6;
    font-size: 1.1rem;
}

.card-heading {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: #001133;
    margin: 0 0 0.75rem 0;
}

.card-text p {
    margin: 0;
}

.card-image-wrapper {
    width: 100%;
    height: 200px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
    position: relative;
}

.card-image-wrapper .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.phase-card:hover .card-img {
    transform: scale(1.05);
}

.before-after-marquee {
    display: none;
}

.ba-image-scroll-wrap {
    display: none;
    contain: layout paint style;
}

.ba-image-scroll-wrap .ba-image-scroll {
    position: relative;
    width: 100vw;
    overflow: hidden;
    touch-action: pan-y;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 3%, #000 14%, #000 86%, rgba(0,0,0,0.06) 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.06) 3%, #000 14%, #000 86%, rgba(0,0,0,0.06) 97%, transparent 100%);
}

.ba-image-scroll-wrap .ba-image-scroll + .ba-image-scroll {
    margin-top: 12px;
}

.ba-image-scroll-wrap .ba-image-scroll::before {
    content: '';
    display: block;
    width: 48%;
    max-width: 280px;
    height: 2px;
    margin: 0 auto 16px;
    background: linear-gradient(90deg, transparent, rgba(255, 200, 80, 0.5), rgba(255, 220, 130, 0.92), rgba(255, 200, 80, 0.5), transparent);
    border-radius: 2px;
    animation: baGlowPulse 3s ease-in-out infinite;
}

.ba-image-scroll-wrap .ba-image-scroll-reverse::before {
    display: none;
}

@keyframes baGlowPulse {
    0%, 100% { opacity: 0.45; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1.05); }
}

.ba-image-scroll-wrap .ba-image-track {
    display: flex;
    align-items: center;
    gap: 16px;
    width: max-content;
    will-change: transform;
    touch-action: pan-y;
    animation: baMarquee 35s linear infinite;
    padding: 8px 0;
}

.ba-image-scroll-wrap .ba-image-scroll-reverse .ba-image-track {
    animation: baMarqueeReverse 38s linear infinite;
}

.ba-image-scroll-wrap:hover .ba-image-track {
    animation-play-state: paused;
}

.ba-image-scroll-wrap .ba-image-item {
    flex: 0 0 auto;
    width: 185px;
    height: 185px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    box-shadow:
        0 8px 28px rgba(0, 17, 51, 0.12),
        0 0 0 1px rgba(255, 220, 130, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    border: 2.5px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.5s ease,
                border-color 0.5s ease;
    background: rgba(248, 249, 252, 0.5);
}

.ba-image-scroll-wrap .ba-image-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 17, 51, 0.25) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ba-image-scroll-wrap .ba-image-item:hover::after {
    opacity: 1;
}

.ba-image-scroll-wrap .ba-image-item:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow:
        0 22px 52px rgba(0, 17, 51, 0.22),
        0 0 22px rgba(255, 210, 100, 0.14),
        0 0 0 1px rgba(255, 220, 130, 0.35);
    border-color: rgba(255, 220, 130, 0.55);
    z-index: 2;
}

.ba-image-scroll-wrap .ba-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), filter 0.5s ease;
    filter: saturate(0.95) contrast(1.02);
}

.ba-image-scroll-wrap .ba-image-item:hover img {
    transform: scale(1.06);
    filter: saturate(1.1) contrast(1.04) brightness(1.02);
}

@keyframes baMarquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes baMarqueeReverse {
    0%   { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

.doctors-section {
    position: relative;
    z-index: 12;
    overflow: hidden;
    padding: 5.8rem 0 7rem;
    background:
        radial-gradient(circle at 12% 26%, rgba(255, 239, 207, 0.62), transparent 34%),
        radial-gradient(circle at 86% 18%, rgba(214, 230, 255, 0.72), transparent 36%),
        linear-gradient(180deg, #f7fbff 0%, #fbfdff 14%, #fffaf0 34%, #f7fbff 68%, #ffffff 100%);
}

.doctors-section::before,
.doctors-section::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.doctors-section::before {
    inset: 5rem auto auto 50%;
    width: min(92vw, 780px);
    height: min(92vw, 780px);
    border: 1px solid rgba(0, 31, 91, 0.06);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 110px rgba(0, 31, 91, 0.035);
}

.doctors-section::after {
    left: 50%;
    bottom: 4rem;
    width: min(78vw, 620px);
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 218, 148, 0.72), transparent);
    filter: drop-shadow(0 0 14px rgba(255, 225, 165, 0.72));
}

.doctors-container {
    position: relative;
    z-index: 2;
    width: min(90%, 1180px);
    margin: 0 auto;
}

.doctors-kicker {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.34em;
    text-align: center;
    color: #29457c;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.doctors-title {
    max-width: 760px;
    margin: 0 auto 1.25rem;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.7rem, 6vw, 4.35rem);
    line-height: 0.94;
    letter-spacing: 0;
    color: #001133;
}

.doctors-intro {
    max-width: 620px;
    margin: 0 auto 3.25rem;
    text-align: center;
    color: rgba(0, 31, 91, 0.72);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.8;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.doctor-profile-card {
    position: relative;
    min-height: 590px;
    border-radius: 28px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.92)),
        radial-gradient(circle at 32% 16%, rgba(255, 236, 197, 0.72), transparent 32%),
        radial-gradient(circle at 82% 12%, rgba(211, 226, 250, 0.86), transparent 38%);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 30px 80px rgba(0, 17, 51, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    isolation: isolate;
    opacity: 0;
    transform: translateY(34px) scale(0.985);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.doctor-profile-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.doctor-profile-card:nth-child(2),
.doctor-profile-link:nth-child(2) .doctor-profile-card {
    transition-delay: 0.12s;
}

.doctor-profile-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 42px 100px rgba(0, 17, 51, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.doctor-profile-card::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 50%;
    width: min(82%, 360px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 231, 179, 0.78);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 30px rgba(255, 232, 178, 0.48), inset 0 0 50px rgba(255, 255, 255, 0.42);
    z-index: -1;
}

.doctor-profile-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #ffffff 42%, #ffffff 100%);
    z-index: 2;
}

.doctor-portrait-zone {
    position: relative;
    height: 290px;
    display: grid;
    place-items: end center;
    padding-top: 1.25rem;
}

.doctor-portrait-zone img {
    position: relative;
    z-index: 1;
    max-width: 78%;
    max-height: 325px;
    object-fit: contain;
    filter: drop-shadow(0 30px 42px rgba(0, 17, 51, 0.18));
    transform: translateY(10px);
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), filter 0.55s ease;
}

.doctor-profile-card:hover .doctor-portrait-zone img {
    transform: translateY(-2px) scale(1.025);
    filter: drop-shadow(0 38px 52px rgba(0, 17, 51, 0.22));
}

.doctor-floating-badge {
    position: absolute;
    right: 1.35rem;
    top: 1.35rem;
    z-index: 3;
    width: 92px;
    height: 92px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 42px rgba(0, 17, 51, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: #001133;
    text-align: center;
}

.doctor-floating-badge strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.1rem;
    line-height: 0.9;
}

.doctor-floating-badge span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(0, 31, 91, 0.72);
}

.doctor-card-body {
    position: relative;
    z-index: 4;
    padding: 0 2rem 2rem;
}

.doctor-role {
    margin: 0 0 0.55rem;
    color: #385f9b;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.doctor-name {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    line-height: 1;
    color: #001133;
}

.doctor-summary {
    margin: 1rem 0 1.4rem;
    color: rgba(0, 31, 91, 0.74);
    font-size: 0.98rem;
    font-weight: 300;
    line-height: 1.7;
}

.doctor-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.55rem;
}

.doctor-specialties span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 0.8rem;
    border-radius: 999px;
    background: rgba(232, 240, 252, 0.76);
    color: #001f5b;
    font-size: 0.76rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.doctor-credentials {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctor-credentials li {
    position: relative;
    padding-left: 1.45rem;
    color: rgba(0, 31, 91, 0.78);
    font-size: 0.92rem;
    line-height: 1.45;
}

.doctor-credentials li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff0c4;
    box-shadow: 0 0 0 4px rgba(255, 235, 190, 0.38), 0 0 18px rgba(255, 223, 155, 0.86);
}

.doctor-section-note {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    width: min(100%, 720px);
    margin: 2.5rem auto 0;
    padding: 1rem 1.2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.64);
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow: 0 18px 44px rgba(0, 17, 51, 0.06);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    color: rgba(0, 31, 91, 0.78);
    font-size: 0.94rem;
}

.doctor-note-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff1c5;
    box-shadow: 0 0 18px rgba(255, 223, 153, 0.9);
}

.doctor-note-link {
    color: #001133;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.doctor-profile-link {
    display: flow-root;
    color: inherit;
    text-decoration: none;
}

.doctor-profile-link:focus-visible,
.treatment-card:focus-visible,
.clinic-hero-image:focus-visible,
.clinic-mosaic-item:focus-visible,
.clinic-info-card:focus-visible,
.clinic-directions-btn:focus-visible,
.clinic-call-btn:focus-visible {
    outline: 3px solid rgba(0, 31, 91, 0.35);
    outline-offset: 4px;
}

@supports (content-visibility: auto) {
    .doctors-section,
    .treatments-section,
    .infinite-reviews,
    .location-section,
    .site-footer {
        content-visibility: auto;
        contain: layout paint style;
    }

    .doctors-section { contain-intrinsic-size: auto 1180px; }
    .treatments-section { contain-intrinsic-size: auto 980px; }
    .infinite-reviews { contain-intrinsic-size: auto 560px; }
    .location-section { contain-intrinsic-size: auto 980px; }
    .site-footer { contain-intrinsic-size: auto 360px; }
}

.treatments-section {
    padding: 8rem 0;
    background-color: #fcfcfc;
    position: relative;
    z-index: 10;
}

.treatments-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

.treatments-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 3.5rem;
    color: #001133;
    margin-bottom: 4rem;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: #ffffff;
    border: 1px solid rgba(0, 17, 51, 0.06);
    border-radius: 16px;
    padding: 20px 20px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    opacity: 0;
    transform: translateY(28px);
}

.treatment-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.treatment-card:nth-child(2n) {
    transition-delay: 0.06s;
}

.treatment-card:nth-child(3n) {
    transition-delay: 0.12s;
}

.treatment-image-wrapper {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.treatment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.treatment-card:hover .treatment-img {
    transform: scale(1.05);
}

.treatment-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.treatment-card.is-visible:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 17, 51, 0.08);
    border-color: rgba(0, 31, 91, 0.12);
}

.treatment-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #001133;
    margin-bottom: 1rem;
}

.treatment-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(0, 31, 91, 0.8);
    margin: 0;
}

.floating-call-button {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 1100;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 58px;
    padding: 0 1.2rem;
    border-radius: 999px;
    color: #001133;
    text-decoration: none;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 18px 48px rgba(0, 17, 51, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.floating-call-button svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

.floating-call-button:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 60px rgba(0, 17, 51, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.infinite-reviews {
    padding: 100px 0;
    background-color: #fcfcfc;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.infinite-reviews .section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 3rem;
    color: #001133;
    margin-bottom: 60px;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    width: max-content;
    will-change: transform;
}

.review-card {
    width: 450px;
    flex-shrink: 0;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 20px;
    padding: 30px;
    margin-right: 30px;
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    align-items: center;
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eee;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.reviewer-info h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #001133;
    margin: 0;
    margin-bottom: 4px;
}

.reviewer-info .stars {
    color: #FBC02D;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
    margin-top: 15px;
    margin-bottom: 0;
}

.phase-content-left {
    grid-column: 1;
    grid-row: 2;
    text-align: right;
}

.phase-content-right {
    grid-column: 3;
    grid-row: 2;
    text-align: left;
}

.experience-counter-float {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    text-align: center;
    z-index: 40;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.experience-counter-float.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.expert-award-float {
    display: none;
}

.phase-expert-qualification .phase-content-left .card-img {
    object-position: 48% 45%;
}

.phase-expert-qualification .phase-content-right .card-img {
    object-position: 48% 42%;
}

#phase-3 .phase-content-left .card-img {
    object-position: 42% 50%;
}

#phase-3 .phase-content-right .card-img {
    object-position: 54% 50%;
}

.counter-value {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 6rem;
    color: #001133;
    line-height: 1;
}

.counter-suffix {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 4rem;
    color: #001133;
}

.counter-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1.3rem;
    color: #001F5B;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.5rem;
}

.location-section {
    padding: 80px 0 60px;
    background: linear-gradient(180deg, #f8f9fc 0%, #ffffff 40%, #f0f2f8 100%);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.location-section::before {
    content: '';
    position: absolute;
    top: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 31, 91, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.location-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -50px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 31, 91, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.location-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    position: relative;
}

.location-section .section-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 3rem;
    color: #001133;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.location-section .section-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.location-subtitle {
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: rgba(0, 17, 51, 0.55);
    margin-bottom: 44px;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}

.location-subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.clinic-gallery {
    margin-bottom: 40px;
}

.clinic-hero-image {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 18px 50px rgba(0, 17, 51, 0.10);
    color: inherit;
    text-decoration: none;
    opacity: 0;
    transform: translateY(40px) scale(0.97);
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.clinic-hero-image.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.clinic-hero-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.clinic-hero-image:hover img {
    transform: scale(1.03);
}

.clinic-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 22px 22px;
    background: linear-gradient(to top, rgba(0, 11, 36, 0.82) 0%, rgba(0, 11, 36, 0.35) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.clinic-hero-overlay .clinic-hero-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.clinic-hero-overlay .clinic-hero-name {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.35rem;
    color: #fff;
    margin-top: 4px;
    line-height: 1.25;
}

.clinic-hero-badge {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    padding: 10px 16px;
    text-align: center;
}

.clinic-hero-badge strong {
    display: block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: #fff;
}

.clinic-hero-badge span {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.clinic-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px;
    gap: 12px;
}

.clinic-mosaic-item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: block;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 17, 51, 0.07);
    opacity: 0;
    transform: translateY(30px) scale(0.96);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease;
}

.clinic-mosaic-item.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.clinic-mosaic-item:nth-child(1) {
    transition-delay: 0.1s;
}

.clinic-mosaic-item:nth-child(2) {
    transition-delay: 0.2s;
}

.clinic-mosaic-item:nth-child(3) {
    grid-column: 1 / -1;
    transition-delay: 0.3s;
}

.clinic-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.clinic-mosaic-item:hover img {
    transform: scale(1.05);
}

.clinic-mosaic-item:hover {
    box-shadow: 0 14px 40px rgba(0, 17, 51, 0.13);
}

.mosaic-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0, 11, 36, 0.72) 0%, transparent 100%);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.78rem;
    color: #fff;
    letter-spacing: 0.04em;
}

.clinic-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 32px 0 36px;
}

.clinic-info-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 17, 51, 0.06);
    border-radius: 18px;
    padding: 22px 18px;
    text-align: center;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(0, 17, 51, 0.05);
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease;
}

.clinic-info-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.clinic-info-card:nth-child(1) { transition-delay: 0.05s; }
.clinic-info-card:nth-child(2) { transition-delay: 0.15s; }
.clinic-info-card:nth-child(3) { transition-delay: 0.25s; }
.clinic-info-card:nth-child(4) { transition-delay: 0.35s; }

.clinic-info-card:hover {
    box-shadow: 0 10px 36px rgba(0, 17, 51, 0.09);
}

.clinic-info-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #001F5B 0%, #0a3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 31, 91, 0.18);
}

.clinic-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-info-card h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: #001133;
    margin: 0 0 6px;
}

.clinic-info-card p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.75rem;
    color: rgba(0, 17, 51, 0.55);
    margin: 0;
    line-height: 1.5;
}

.clinic-directions-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.clinic-directions-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.clinic-directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #001F5B 0%, #0a3a8a 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.88rem;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 24px rgba(0, 31, 91, 0.22);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-directions-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(0, 31, 91, 0.32);
}

.clinic-directions-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.clinic-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 31, 91, 0.06);
    border: 1px solid rgba(0, 31, 91, 0.1);
    text-decoration: none;
    transition: background 0.3s ease, transform 0.3s ease;
}

.clinic-call-btn:hover {
    background: rgba(0, 31, 91, 0.12);
    transform: scale(1.08);
}

.clinic-call-btn svg {
    width: 20px;
    height: 20px;
    stroke: #001F5B;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 17, 51, 0.08);
    border: 1px solid rgba(0, 17, 51, 0.05);
    background: #fff;
    padding: 8px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease 0.1s, transform 0.7s ease 0.1s;
}

.map-wrapper.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.map-wrapper iframe {
    border-radius: 14px;
    width: 100%;
    display: block;
}

.site-footer {
    background-color: var(--primary-navy);
    color: #fff;
    position: relative;
    z-index: 30;
}

.footer-main {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    padding: 80px 0 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0 0 0.75rem;
}

.footer-brand .footer-doctor {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.footer-brand .footer-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    opacity: 0.6;
}

.footer-column h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 1.25rem;
}

.footer-column p,
.footer-column a {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 2;
    margin: 0;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    padding: 1.5rem 0;
}

.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

@media (min-width: 1200px) {

    .treatments-title {
        font-size: 4rem;
    }

    .phase-title {
        font-size: 8rem;
    }

    .infinite-reviews .section-title {
        font-size: 3.5rem;
    }

    .location-section .section-title {
        font-size: 3.5rem;
    }

    .nav-logo-brighta {
        font-size: 1.65rem;
    }

    .nav-links a,
    .nav-button {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

    .nav-container {
        width: 95%;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .nav-button {
        font-size: 1rem;
        padding: 0.55rem 1.25rem;
    }

    .phase-title {
        font-size: 4.5rem;
        margin-top: -2vh;
    }

    .phase-overlay {
        grid-template-columns: 1fr 35vw 1fr;
        padding: 4vh 5% 3% 5%;
    }

    .phase-card {
        height: 380px;
        margin-top: 6vh;
    }

    .treatments-title {
        font-size: 2.75rem;
    }

    .treatments-section {
        padding: 6rem 0;
    }

    .treatments-grid {
        gap: 2rem;
    }

    .infinite-reviews .section-title {
        font-size: 2.5rem;
    }

    .review-card {
        width: 370px;
    }

    .location-section .section-title {
        font-size: 2.5rem;
    }

    .clinic-hero-image img {
        height: 380px;
    }

    .clinic-mosaic {
        grid-template-rows: 180px 180px;
    }

    .footer-main {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 2rem;
        padding: 60px 0 50px;
    }
}

@media (max-width: 767px) {

    .site-nav {
        height: 66px;
    }

    .mobile-drawer {
        top: 66px;
    }

    .nav-container {
        width: 88%;
    }

    .nav-logo {
        min-width: 190px;
        align-items: center;
        transform: translateY(-1px);
        gap: 0;
    }

    .nav-logo-brighta {
        font-size: 1.2rem;
    }

    .nav-logo-dental {
        font-size: 0.75rem;
        margin-left: 3px;
        letter-spacing: 0.08em;
    }

    .nav-logo-mark {
        width: 100%;
        height: 30px;
        margin-top: 6px;
    }

    .hamburger {
        width: 40px;
        height: 40px;
    }

    .hamburger { display: flex; }
    .nav-links { display: none; }
    .nav-button { display: none; }
    .nav-secondary-logo { margin-left: auto; margin-right: 5px; height: 32px; }

    .hero-section {
        min-height: 152svh;
        padding-top: 66px;
        padding-bottom: 0;
        overflow-x: clip;
        overflow-y: visible;
    }

    .hero-container {
        min-height: calc(152svh - 66px);
    }

    .hero-visual {
        top: 66px;
        height: calc(100svh - 66px);
    }

    .hero-visual::before {
        left: -128px;
        top: 22px;
    }

    .hero-visual::after {
        bottom: -24px;
        height: 48%;
        filter: blur(18px);
    }

    .hero-doctor-wrap {
        right: -88px;
        top: -44px;
    }

    .hero-tooth-stage {
        left: -58px;
        top: 30px;
    }

    .hero-photo-marquee {
        width: 100vw;
        margin-top: -96px;
        margin-bottom: 34px;
    }

    .hero-photo-item {
        width: 100px;
        height: 100px;
        border-radius: 14px;
    }

    .hero-copy {
        margin-top: -178px;
        padding: 144px 0 34px;
    }

    .hero-copy::before {
        top: 0;
        width: min(178vw, 780px);
        height: 1200px;
        border-radius: 50% 50% 0 0 / 28% 28% 0 0;
        background:
            radial-gradient(ellipse at 50% 4%, rgba(255, 255, 255, 0.58) 0%, rgba(255, 255, 255, 0.94) 34%, #ffffff 64%, #ffffff 100%),
            linear-gradient(180deg, rgba(255, 255, 255, 0.82) 0%, #ffffff 54%, #ffffff 100%);
        box-shadow: 0 -34px 80px rgba(31, 69, 112, 0.1);
        filter: blur(12px);
    }

    .hero-copy::after {
        top: 122px;
        width: min(112vw, 520px);
        height: 310px;
    }

    .hero-headline-wrap {
        min-height: 188px;
    }

    .hero-smile-arc {
        top: 4px;
        width: min(106vw, 390px);
    }

    .hero-title {
        font-size: clamp(2.85rem, 13.2vw, 3.65rem);
        line-height: 0.92;
    }

    .hero-title span:nth-child(3) {
        white-space: nowrap;
        font-size: 0.82em;
    }

    .hero-description {
        display: none;
    }

    .hero-smile-photo {
        width: min(88%, 344px);
        margin-top: -4px;
        border-radius: 16px;
    }

    .hero-cta {
        margin-top: 18px;
    }

    .premium-divider-container {
        padding: 0 0 1.25rem;
        background: linear-gradient(to bottom, #fff, #f8fbff);
    }

    .scroll-track {
        display: block;
        height: 430vh;
        position: relative;
        background:
            linear-gradient(180deg, #f8fbff 0%, #ffffff 24%, #f4f8ff 62%, #ffffff 100%);
    }

    .mobile-phases {
        display: none !important;
    }

    .doctors-section {
        padding: 5rem 0 3.5rem;
        overflow: visible;
    }

    .doctors-container {
        width: min(92%, 430px);
    }

    .doctors-kicker {
        font-size: 0.72rem;
        letter-spacing: 0.28em;
    }

    .doctors-title {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .doctors-intro {
        margin-bottom: 2.35rem;
        font-size: 0.98rem;
    }

    .doctors-grid {
        display: block;
        min-height: calc((100dvh - 104px) * 2 + 36vh);
    }

    .doctor-profile-link {
        position: sticky;
        top: 92px;
        height: calc(100dvh - 112px);
        min-height: 620px;
        max-height: 760px;
        display: block;
        z-index: 1;
    }

    .doctor-profile-link:nth-child(2) {
        z-index: 2;
        margin-top: 36vh;
    }

    .doctor-profile-card {
        position: relative;
        top: auto;
        height: 100%;
        min-height: 0;
        max-height: none;
        border-radius: 24px;
        display: flex;
        flex-direction: column;
        transform-origin: center top;
        opacity: 1;
        transform: none;
        transition: box-shadow 0.35s ease;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.94), #ffffff 72%),
            radial-gradient(circle at 32% 16%, rgba(255, 236, 197, 0.62), transparent 34%),
            radial-gradient(circle at 82% 12%, rgba(211, 226, 250, 0.72), transparent 40%);
        box-shadow: 0 26px 70px rgba(0, 17, 51, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.92);
    }

    .doctor-profile-card:nth-child(2),
    .doctor-profile-link:nth-child(2) .doctor-profile-card {
        box-shadow: 0 36px 90px rgba(0, 17, 51, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    }

    .doctor-profile-card:hover {
        transform: none;
    }

    .doctor-profile-card::after {
        height: 64%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.94) 24%, #ffffff 52%, #ffffff 100%);
    }

    .doctor-portrait-zone {
        height: 38%;
        min-height: 224px;
        flex: 0 0 auto;
        padding-top: 0.75rem;
    }

    .doctor-portrait-zone img {
        max-width: 72%;
        max-height: 100%;
        transform: translateY(8px);
    }

    .doctor-floating-badge {
        width: 82px;
        height: 82px;
        right: 1rem;
        top: 1rem;
    }

    .doctor-floating-badge strong {
        font-size: 1.85rem;
    }

    .doctor-card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 1rem 1.6rem 1.35rem;
        margin: 0 0.85rem 0.85rem;
        border-radius: 24px;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.98));
        border: 1px solid rgba(255, 255, 255, 0.78);
        box-shadow: 0 -18px 44px rgba(255, 255, 255, 0.65), 0 18px 42px rgba(0, 17, 51, 0.055);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .doctor-role {
        margin-bottom: 0.7rem;
        font-size: 0.82rem;
        line-height: 1.45;
        letter-spacing: 0.22em;
        color: #315b99;
    }

    .doctor-name {
        font-size: clamp(2.3rem, 10vw, 3rem);
        line-height: 0.95;
        letter-spacing: 0;
    }

    .doctor-name-line {
        display: block;
        white-space: nowrap;
    }

    .doctor-summary {
        margin: 0.9rem 0 1rem;
        font-size: 1.02rem;
        line-height: 1.58;
        color: rgba(0, 31, 91, 0.76);
    }

    .doctor-specialties {
        gap: 0.5rem;
        margin-bottom: 0.95rem;
    }

    .doctor-specialties span {
        min-height: 34px;
        padding: 0 0.82rem;
        font-size: 0.8rem;
        background: rgba(228, 238, 253, 0.86);
    }

    .doctor-credentials {
        gap: 0.5rem;
    }

    .doctor-credentials li {
        padding-left: 1.1rem;
        font-size: 0.78rem;
        line-height: 1.35;
    }

    .doctor-credentials li:nth-child(n+3) {
        display: none;
    }

    .doctor-credentials li::before {
        top: 0.38rem;
        width: 6px;
        height: 6px;
    }

    .doctor-section-note {
        grid-template-columns: auto 1fr;
        border-radius: 22px;
        align-items: start;
    }

    .doctor-note-link {
        grid-column: 2;
    }

    .sticky-viewport {
        top: 66px;
        height: calc(100dvh - 66px);
        min-height: 0;
        background:
            radial-gradient(circle at 50% 38%, rgba(215, 230, 255, 0.78) 0%, rgba(246, 250, 255, 0.7) 34%, rgba(255, 255, 255, 0) 66%),
            linear-gradient(180deg, #fbfdff 0%, #ffffff 58%, #f3f7ff 100%);
    }

    .sticky-viewport::before,
    .sticky-viewport::after {
        content: "";
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        pointer-events: none;
        z-index: 5;
    }

    .sticky-viewport::before {
        top: 1.1rem;
        width: min(76vw, 320px);
        height: min(76vw, 320px);
        border: 1px solid rgba(0, 31, 91, 0.08);
        border-radius: 50%;
        box-shadow: inset 0 0 65px rgba(0, 31, 91, 0.05);
    }

    .sticky-viewport::after {
        bottom: 3.25rem;
        width: 58vw;
        max-width: 260px;
        height: 28px;
        border-radius: 50%;
        background: rgba(0, 17, 51, 0.1);
        filter: blur(10px);
    }

    .tooth-comparison-container {
        position: absolute;
        top: 48%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 110vw;
        height: 110vw;
        max-width: 500px;
        max-height: 500px;
        z-index: 18;
        pointer-events: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .phase-overlay {
        display: block;
        padding: 0;
        z-index: auto;
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .phase-overlay .phase-title {
        opacity: 0;
        transform: translateX(-50%) translateY(16px) scale(0.98);
        transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .phase-overlay .phase-card {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
        transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .phase-overlay.active .phase-title {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .phase-overlay.active .phase-card {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .phase-title {
        position: absolute;
        top: -0.5rem;
        left: 50%;
        width: min(94vw, 390px);
        max-width: calc(100vw - 28px);
        font-size: clamp(2.65rem, 11vw, 3.45rem);
        line-height: 0.96;
        letter-spacing: 0;
        margin: 0;
        text-align: center;
        overflow-wrap: normal;
        color: #001133;
        text-shadow: 0 8px 26px rgba(255, 255, 255, 0.92);
        z-index: 15;
    }

    .phase-card {
        position: absolute;
        bottom: 90px;
        width: calc(50vw - 2.0rem);
        max-width: 154px;
        min-height: 208px;
        height: 240px;
        margin: 0;
        border-radius: 16px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(246, 250, 255, 0.42)),
            rgba(255, 255, 255, 0.18);
        border: 1px solid rgba(255, 255, 255, 0.82);
        box-shadow: 0 22px 55px rgba(0, 17, 51, 0.2), 0 1px 0 rgba(255, 255, 255, 0.9) inset;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 70;
    }

    .phase-card:hover {
        transform: none;
    }

    .phase-content-left {
        left: 1rem;
        right: auto;
        text-align: left;
        padding: 0;
    }

    .phase-content-right {
        right: 1rem;
        left: auto;
        text-align: left;
        padding: 0;
    }

    .card-image-wrapper {
        height: 92px;
        border-bottom-color: rgba(0, 17, 51, 0.05);
    }

    .card-text {
        padding: 0.85rem 0.85rem 0.95rem;
        font-size: 0.78rem;
        line-height: 1.45;
        color: rgba(0, 31, 91, 0.78);
        flex: 1;
        overflow: hidden;
    }

    .card-heading {
        font-size: 1.02rem;
        line-height: 1.15;
        margin-bottom: 0.45rem;
    }

    .experience-counter-float {
        bottom: 32%;
        width: auto;
        min-width: 142px;
        padding: 0;
        border-radius: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        z-index: 75;
    }

    .experience-counter-float span {
        font-size: 2.65rem !important;
        color: #ffffff !important;
        text-shadow: 0 3px 12px rgba(0, 17, 51, 0.42);
    }

    #experience-counter-overlay .counter-value,
    #experience-counter-overlay .counter-suffix {
        display: inline-block;
        vertical-align: middle;
        background: rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(7px);
        -webkit-backdrop-filter: blur(7px);
    }

    #experience-counter-overlay .counter-value {
        padding: 0.06rem 0 0.1rem 0.58rem;
        border-radius: 999px 0 0 999px;
    }

    #customers-counter-overlay {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 6px;
        position: absolute;
        left: 50%;
        bottom: 315px;
        width: fit-content;
        min-width: 200px;
        padding: 14px 28px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(255, 255, 255, 0.82);
        box-shadow: 0 18px 48px rgba(0, 17, 51, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(10px) saturate(130%);
        -webkit-backdrop-filter: blur(10px) saturate(130%);
        z-index: 65;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(24px);
        transition: opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1), transform 0.82s cubic-bezier(0.16, 1, 0.3, 1);
        animation: prCounterPulse 2s infinite alternate ease-in-out;
    }

    @keyframes prCounterPulse {
        0% {
            box-shadow: 0 12px 40px rgba(0, 17, 51, 0.15), 0 0 15px rgba(255,255,255,0.5);
            transform: translateX(-50%) scale(1);
        }
        100% {
            box-shadow: 0 12px 40px rgba(0, 17, 51, 0.25), 0 0 30px rgba(255,255,255,0.9);
            transform: translateX(-50%) scale(1.06);
        }
    }

    #customers-counter-overlay.active {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    #customers-counter-overlay span {
        font-size: 2.15rem !important;
        color: #001133 !important;
        text-shadow: none !important;
        font-family: 'Playfair Display', serif;
        font-weight: 700;
        display: inline-block;
        vertical-align: middle;
    }

    #customers-counter-overlay .counter-label {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        color: #001133 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase;
        margin: 0 0 0 4px !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: inline-block;
        vertical-align: middle;
    }

    #phase-2 .expert-award-float {
        display: block;
        position: absolute;
        left: 50%;
        bottom: 120px;
        width: clamp(118px, 32vw, 148px);
        height: auto;
        z-index: 75;
        opacity: 0;
        pointer-events: none;
        transform: translateX(-50%) translateY(40px) scale(0.6) rotate(-10deg);
        transform-origin: center bottom;
        transition: opacity 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    }

    #phase-2.active .expert-award-float {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1) rotate(0deg);
    }

    .award-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 140%;
        height: 140%;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 215, 0, 0.52) 0%, rgba(255, 170, 0, 0.18) 42%, rgba(255, 255, 255, 0) 70%);
        filter: blur(8px);
        z-index: -1;
        pointer-events: none;
        mix-blend-mode: screen;
        animation: awardGlowPulse 4.5s ease-in-out infinite;
    }

    .expert-award-img {
        width: 100%;
        height: auto;
        display: block;
        filter: drop-shadow(0 12px 28px rgba(83, 50, 0, 0.22));
        animation: awardPulseLoop 4.5s ease-in-out infinite;
    }

    @keyframes awardGlowPulse {
        0%, 100% {
            opacity: 0.5;
            transform: translate(-50%, -50%) scale(0.9);
        }
        50% {
            opacity: 0.95;
            transform: translate(-50%, -50%) scale(1.1);
        }
    }

    @keyframes awardPulseLoop {
        0%, 100% {
            transform: scale(1);
        }
        50% {
            transform: scale(1.06);
        }
    }

    #phase-1 .phase-service-card {
        display: none;
    }

    #phase-1 .before-after-marquee {
        display: none;
    }

    #phase-1 .phase-title {
        top: 1.05rem;
        width: calc(100vw - 18px);
        max-width: calc(100vw - 18px);
        font-size: clamp(3.05rem, 13vw, 4rem);
        line-height: 0.95;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    #phase-3 .phase-title {
        top: 1.8rem;
        width: calc(100vw - 18px);
        max-width: calc(100vw - 18px);
        font-size: clamp(3.05rem, 13vw, 4rem);
        line-height: 0.95;
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    #phase-1 {
        overflow: hidden;
    }

    .ba-image-scroll-wrap {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: clamp(4.75rem, 9.5vh, 5.9rem);
        z-index: 76;
        pointer-events: auto;
        touch-action: pan-y;
        opacity: 0;
        transition: opacity 0.65s ease;
    }

    #phase-1.active .ba-image-scroll-wrap {
        opacity: 1;
    }

    .ba-image-scroll-wrap .ba-image-scroll + .ba-image-scroll {
        margin-top: 8px;
    }

    .ba-image-scroll-wrap .ba-image-track {
        gap: 10px;
        padding: 4px 0;
        animation-duration: 30s;
    }

    .ba-image-scroll-wrap .ba-image-scroll-reverse .ba-image-track {
        animation-duration: 34s;
    }

    .ba-image-scroll-wrap .ba-image-item {
        width: 108px;
        height: 108px;
        border-radius: 14px;
        border-width: 2px;
    }

    #phase-3 .card-heading {
        font-size: 0.98rem;
    }

    #phase-3 .card-text p {
        font-size: 0.68rem;
        line-height: 1.28;
    }

    #phase-2 .phase-card {
        height: 240px;
    }

    #phase-3 .phase-card {
        height: 240px;
        bottom: 85px;
    }

    #phase-2 .card-text p {
        font-size: 0.73rem;
        line-height: 1.34;
    }



    .treatments-section {
        padding: 4rem 0;
    }

    .treatments-title {
        font-size: 2rem;
        margin-bottom: 2rem;
        padding: 0 1.25rem;
    }

    .treatments-container {
        width: 100%;
        padding: 0 0.85rem;
    }

    .treatments-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .treatment-card {
        border-radius: 14px;
        padding: 8px 8px 12px;
        min-width: 0;
        transform: translateY(18px) scale(0.96);
        transition-duration: 0.62s;
        transition-delay: calc((var(--treatment-index, 0) % 2) * 0.08s);
    }

    .treatment-card:nth-child(even) {
        transform: translateY(18px) scale(0.96);
    }

    .treatment-card.is-visible {
        transform: translateY(0) scale(1);
    }

    .treatment-image-wrapper {
        height: 104px;
        margin-bottom: 11px;
        border-radius: 10px;
    }

    .treatment-card h3 {
        font-size: 1rem;
        line-height: 1.12;
        margin-bottom: 0.45rem;
    }

    .treatment-card p {
        font-size: 0.74rem;
        line-height: 1.35;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .floating-call-button {
        right: 1rem;
        bottom: 1rem;
        min-height: 54px;
        padding: 0 1rem;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.58);
        border: 1px solid rgba(255, 255, 255, 0.82);
        box-shadow: 0 18px 48px rgba(0, 17, 51, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(18px) saturate(145%);
        -webkit-backdrop-filter: blur(18px) saturate(145%);
    }

    .infinite-reviews {
        padding: 60px 0;
    }

    .infinite-reviews .section-title {
        font-size: 2rem;
        margin-bottom: 36px;
        padding: 0 1.25rem;
    }

    .review-card {
        width: 290px;
        padding: 22px;
    }

    .location-section {
        padding: 52px 0 44px;
    }

    .location-section .section-title {
        font-size: 1.85rem;
        margin-bottom: 8px;
    }

    .location-subtitle {
        font-size: 0.88rem;
        margin-bottom: 32px;
    }

    .location-container {
        width: 100%;
        padding: 0 1.1rem;
    }

    .clinic-hero-image img {
        height: 320px;
    }

    .clinic-hero-overlay {
        padding: 22px 16px 16px;
    }

    .clinic-hero-overlay .clinic-hero-name {
        font-size: 1.15rem;
    }

    .clinic-hero-overlay .clinic-hero-label {
        font-size: 0.7rem;
    }

    .clinic-hero-badge {
        padding: 8px 12px;
        border-radius: 12px;
    }

    .clinic-hero-badge strong {
        font-size: 1rem;
    }

    .clinic-mosaic {
        grid-template-rows: 130px 180px;
        gap: 10px;
    }

    .clinic-mosaic-item {
        border-radius: 14px;
    }

    .clinic-info-row {
        gap: 10px;
        margin: 24px 0 28px;
    }

    .clinic-info-card {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .clinic-info-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .clinic-info-icon svg {
        width: 18px;
        height: 18px;
    }

    .clinic-info-card h4 {
        font-size: 0.76rem;
    }

    .clinic-info-card p {
        font-size: 0.7rem;
    }

    .clinic-directions-btn {
        padding: 12px 22px;
        font-size: 0.82rem;
    }

    .clinic-call-btn {
        width: 44px;
        height: 44px;
    }

    .map-wrapper {
        padding: 6px;
    }

    .map-wrapper iframe {
        height: 280px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        padding: 50px 1.5rem 40px;
        gap: 2.5rem;
    }

    .footer-brand h3 {
        font-size: 1.5rem;
    }
}

#preloader {
    position: fixed;
    inset: 0;
    --loader-deg: 0deg;
    background:
        radial-gradient(circle at 50% 34%, rgba(255, 244, 214, 0.78), transparent 24%),
        radial-gradient(circle at 78% 22%, rgba(215, 230, 255, 0.78), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 58%, #fff8eb 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 2rem;
    transition: opacity 0.32s ease, visibility 0.32s ease;
}

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

.loader-shell {
    width: min(84vw, 360px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.loader-ring {
    position: relative;
    width: 96px;
    height: 96px;
    margin-bottom: 1.45rem;
    border-radius: 50%;
    background:
        conic-gradient(from -90deg, #001133 var(--loader-deg), rgba(0, 31, 91, 0.12) 0),
        radial-gradient(circle, #ffffff 0 58%, transparent 60%);
    box-shadow: 0 22px 54px rgba(0, 17, 51, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.loader-ring::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.95), #f7fbff 68%),
        linear-gradient(180deg, #ffffff, #eef6ff);
    box-shadow: inset 0 0 22px rgba(0, 31, 91, 0.08);
}

.loader-ring::after {
    content: "";
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    background: #001133;
    box-shadow: 0 0 0 8px rgba(0, 31, 91, 0.08);
    animation: loaderPulse 0.72s ease-in-out infinite;
}

.loader-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 9vw, 2.85rem);
    line-height: 0.95;
    color: var(--primary-navy);
    margin-bottom: 0.55rem;
    font-weight: 700;
}

.loader-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    line-height: 1.5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 31, 91, 0.64);
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(0.92); opacity: 0.82; }
    50% { transform: scale(1.08); opacity: 1; }
}

.mobile-phases {
    display: none;
    background: #fcfcfc;
    padding: 3rem 0;
}

.mobile-phases-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 1.25rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.mobile-phase-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-phase-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: clamp(1.75rem, 7vw, 2.5rem);
    color: #001133;
    margin: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 17, 51, 0.08);
    margin-bottom: 0.5rem;
}

.mobile-stat-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 0.25rem;
    background: #001133;
    color: #fff;
    border-radius: 999px;
    padding: 0.5rem 1.25rem;
    width: fit-content;
    margin-bottom: 1rem;
}

.mobile-stat-pill .stat-num {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1;
}

.mobile-stat-pill .stat-label {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

.mobile-phase-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mobile-phase-card {
    background: #ffffff;
    border: 1px solid rgba(0, 17, 51, 0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.mobile-phase-card:active {
    transform: scale(0.97);
}

.mobile-phase-card .mpc-img-wrap {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.mobile-phase-card .mpc-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mobile-phase-card:hover .mpc-img-wrap img {
    transform: scale(1.05);
}

.mobile-phase-card .mpc-body {
    padding: 0.875rem 1rem 1.125rem;
}

.mobile-phase-card .mpc-body h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #001133;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.mobile-phase-card .mpc-body p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 0.8rem;
    color: rgba(0, 31, 91, 0.75);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 380px) {
    .mobile-phase-cards {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .site-nav {
        padding: 0 10px;
    }

    .nav-links {
        display: none;
    }

    .phase-overlay {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 10% 5%;
        align-content: start;
    }

    .phase-title {
        font-size: 3.5rem;
        margin-top: -1vh;
        margin-bottom: 1rem;
    }

    .phase-card {
        height: auto;
    }

    .phase-content-left,
    .phase-content-right {
        grid-column: 1;
        text-align: center;
        padding: 1.25rem;
        margin-bottom: 1rem;
    }

    .treatments-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .treatments-section {
        padding: 4rem 0;
    }
}
