/* ==========================================================================
   SHREE DENTAL CLINIC (श्री डेंटल क्लिनिक - लांजा)
   100% RESPONSIVE & MOBILE-PERFECT 3D STYLESHEET
   ========================================================================== */

:root {
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --accent-gold: #f59e0b;
    --accent-mint: #10b981;
    --whatsapp: #25D366;
    
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --bg-dark: #0f172a;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-light: #94a3b8;
    
    --border-subtle: #e2e8f0;
    --card-shadow: 0 10px 25px -8px rgba(15, 23, 42, 0.08);
    --hover-shadow: 0 18px 36px -10px rgba(2, 132, 199, 0.2);
    
    --font-primary: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 1. Global Reset & Overflow Prevention */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    min-width: 0;
}

html {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    scroll-behavior: smooth;
    font-size: 16px;
    color: var(--text-main);
    background-color: var(--bg-main);
    -webkit-text-size-adjust: 100%;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative;
    font-family: var(--font-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

section, header, footer, main {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip;
    box-sizing: border-box;
}

img, svg, canvas, video, iframe {
    max-width: 100% !important;
    height: auto;
    display: block;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

.container {
    width: 100% !important;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(12px, 3vw, 24px);
    box-sizing: border-box;
}

.text-center { text-align: center; }

/* Section Header */
.section-header {
    margin-bottom: clamp(28px, 4vw, 40px);
}
.section-subtitle {
    display: inline-block;
    font-size: clamp(0.72rem, 2vw, 0.8rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary);
    background: rgba(2, 132, 199, 0.08);
    padding: 5px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 3.8vw, 2.3rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.25;
    margin-bottom: 10px;
}
.section-desc {
    font-size: clamp(0.9rem, 2vw, 1rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 50%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8 0%, #0284c7 50%, #f59e0b 100%);
    box-shadow: 0 0 8px rgba(14, 165, 233, 0.8);
    z-index: 9999;
}

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    transition: all var(--transition-smooth);
    white-space: nowrap;
    box-sizing: border-box;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.45);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -3px rgba(2, 132, 199, 0.6);
}
.btn-glass {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid rgba(2, 132, 199, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.btn-glass:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-outline-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #15803d;
    border: 1px solid rgba(37, 211, 102, 0.5);
    font-weight: 700;
}
.btn-outline-phone {
    background: rgba(2, 132, 199, 0.08);
    color: var(--primary);
    border: 1px solid rgba(2, 132, 199, 0.3);
    font-weight: 700;
}
.btn-lg {
    padding: 12px 24px;
    font-size: clamp(0.92rem, 2.2vw, 1rem);
}
.btn-sm {
    padding: 6px 12px;
    font-size: 0.8rem;
}
.btn-block {
    width: 100%;
}

/* ==========================================================================
   2. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-announcement-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.78rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    width: 100%;
}
.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.announcement-left, .announcement-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.live-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulseGlow 1.8s infinite;
    flex-shrink: 0;
}
@keyframes pulseGlow {
    0%, 100% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 12px #22c55e; }
}
.status-badge {
    font-weight: 700;
    color: #4ade80;
    font-size: 0.78rem;
    white-space: nowrap;
}
.divider-dot { color: #475569; }
.phone-link {
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.lang-toggle {
    display: flex;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2px;
    cursor: pointer;
    flex-shrink: 0;
}
.lang-toggle span {
    padding: 2px 7px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    transition: var(--transition-fast);
}
.lang-toggle span.active {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================================
   3. NAVIGATION BAR
   ========================================================================== */
.navbar-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar-wrapper.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 25px -10px rgba(2, 132, 199, 0.12);
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 12px;
}
.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-3d-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
}
.brand-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    white-space: nowrap;
}
.brand-subtitle {
    font-size: 0.72rem;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}
.nav-link {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width var(--transition-fast);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.rating-pill {
    background: #fef3c7;
    color: #d97706;
    font-size: 0.7rem;
    padding: 2px 5px;
    border-radius: 6px;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    background: rgba(2, 132, 199, 0.08);
    border-radius: 8px;
    padding: 6px;
    cursor: pointer;
}
.mobile-toggle span {
    width: 18px;
    height: 2px;
    background: var(--text-main);
    border-radius: 4px;
}

/* ==========================================================================
   4. MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: min(85vw, 300px);
    height: 100vh;
    background: #ffffff;
    z-index: 2000;
    box-shadow: 10px 0 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    box-sizing: border-box;
}
.mobile-drawer.active {
    left: 0;
}
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
}
.drawer-close-btn {
    background: transparent;
    font-size: 1.8rem;
    color: var(--text-main);
    line-height: 1;
    cursor: pointer;
}
.drawer-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 16px 0;
}
.drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    padding: 9px 12px;
    border-radius: var(--radius-sm);
}
.drawer-link i {
    width: 18px;
    color: var(--primary);
}
.drawer-link.active, .drawer-link:hover {
    background: rgba(2, 132, 199, 0.08);
    color: var(--primary);
}
.drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1900;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   5. HERO SECTION & 3D CANVAS
   ========================================================================== */
.hero-section {
    position: relative;
    padding: clamp(30px, 4vw, 56px) 0 clamp(40px, 5vw, 68px);
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.08), transparent 60%),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.05), transparent 50%);
    overflow: hidden;
}
.hero-bg-blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.45;
}
.blob-1 {
    width: 320px;
    height: 320px;
    background: rgba(14, 165, 233, 0.18);
    top: -40px;
    right: -40px;
}
.blob-2 {
    width: 260px;
    height: 260px;
    background: rgba(6, 182, 212, 0.12);
    bottom: -20px;
    left: 5%;
}
.grid-overlay {
    position: absolute;
    inset: 0;
    background-size: 32px 32px;
    background-image: linear-gradient(to right, rgba(226, 232, 240, 0.35) 1px, transparent 1px),
                      linear-gradient(to bottom, rgba(226, 232, 240, 0.35) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 30%, transparent 75%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(20px, 3.5vw, 36px);
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px 8px;
    background: #ffffff;
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
    margin-bottom: 14px;
    max-width: 100%;
    box-sizing: border-box;
}
.g-star-badge {
    background: linear-gradient(135deg, #ea4335, #fbbc05, #34a853, #4285f4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.badge-text {
    font-size: clamp(0.72rem, 1.8vw, 0.8rem);
    font-weight: 600;
    color: var(--text-main);
    white-space: normal;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 3.1rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: var(--text-main);
    margin-bottom: 12px;
}
.hero-description {
    font-size: clamp(0.9rem, 1.8vw, 1.02rem);
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.55;
    margin-bottom: 20px;
}
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.highlight-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 6px;
    min-width: 0;
    box-sizing: border-box;
}
.highlight-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.highlight-item strong {
    display: block;
    font-size: 0.72rem;
    color: var(--text-main);
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.highlight-item span {
    display: block;
    font-size: 0.62rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 3D Canvas Card */
.hero-3d-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.canvas-3d-card {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: clamp(340px, 45vh, 440px);
    background: radial-gradient(circle at center, #ffffff 0%, #f0f9ff 100%);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 30px -10px rgba(2, 132, 199, 0.15);
    overflow: hidden;
    box-sizing: border-box;
}
.three-container {
    width: 100%;
    height: 100%;
    cursor: grab;
    touch-action: pan-y;
    position: relative;
}
#threeToothContainer canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    display: block;
}
.canvas-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8fafc;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 10;
}
.loader-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(2, 132, 199, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.canvas-top-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
    pointer-events: none;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #38bdf8;
    box-shadow: 0 0 6px #38bdf8;
}

.canvas-bottom-bar {
    position: absolute;
    bottom: 12px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    z-index: 5;
}
.tooth-view-controls {
    display: flex;
    gap: 3px;
    background: rgba(255, 255, 255, 0.92);
    padding: 3px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 132, 199, 0.2);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.view-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 9px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
}
.view-btn.active, .view-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.canvas-right-tools {
    display: flex;
    align-items: center;
    gap: 4px;
}
.scan-laser-btn {
    padding: 4px 8px;
    border-radius: var(--radius-full);
    background: rgba(6, 182, 212, 0.15);
    color: #0284c7;
    border: 1px solid rgba(6, 182, 212, 0.5);
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.tool-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
}
.tool-btn.active {
    background: var(--primary);
    color: #fff;
}
.tooth-shade-picker {
    display: flex;
    align-items: center;
    gap: 3px;
    background: rgba(255, 255, 255, 0.92);
    padding: 3px 5px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(226, 232, 240, 0.9);
}
.shade-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    cursor: pointer;
}
.shade-dot.active {
    transform: scale(1.15);
    border-color: var(--primary);
}
.shade-dot.natural { background: #fdfbf7; border: 1px solid #e2e8f0; }
.shade-dot.pearl { background: #e0f2fe; border: 1px solid #bae6fd; }
.shade-dot.bleach { background: #ffffff; border: 1px solid #cbd5e1; }

.floating-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 6px 12px;
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
}
.stat-bottom-left {
    top: 50px;
    right: 12px;
}
.stat-icon-wrap {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #fef3c7;
    color: #d97706;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
}
.stat-num {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.1;
}
.stat-lbl {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* Stats Counter Grid */
.hero-counter-container {
    margin-top: clamp(24px, 4vw, 36px);
}
.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}
.counter-box {
    text-align: center;
    border-right: 1px solid var(--border-subtle);
    padding: 4px;
}
.counter-box:last-child {
    border-right: none;
}
.counter-num-wrap {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}
.counter-sym {
    color: var(--accent-gold);
    font-size: 1.2rem;
}
.counter-lbl {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ==========================================================================
   6. INFO STRIP SECTION
   ========================================================================== */
.info-strip-section {
    margin-top: -16px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}
.info-strip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 14px;
}
.strip-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--card-shadow);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.strip-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.strip-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}
.strip-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.plus-code {
    display: inline-block;
    margin-top: 3px;
    font-size: 0.72rem;
    color: var(--primary);
    background: rgba(2, 132, 199, 0.08);
    padding: 2px 6px;
    border-radius: 6px;
}
.phone-link-bold {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}
.sub-text {
    font-size: 0.72rem;
    color: var(--text-light);
}

/* ==========================================================================
   7. 3D ANATOMY EXPLAINER SECTION
   ========================================================================== */
.anatomy-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: #ffffff;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.anatomy-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(20px, 4vw, 36px);
    align-items: center;
}
.anatomy-cards-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.anatomy-info-card {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-smooth);
}
.anatomy-info-card.active, .anatomy-info-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 6px 16px -4px rgba(2, 132, 199, 0.15);
}
.card-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-light);
}
.anatomy-info-card.active .card-num {
    color: var(--primary);
}
.card-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-main);
}
.card-body p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 4px;
    line-height: 1.4;
}
.treatment-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(14, 165, 233, 0.12);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.anatomy-visual-col {
    display: flex;
    justify-content: center;
    width: 100%;
}
.anatomy-interactive-viewer {
    width: 100%;
    max-width: 380px;
    background: radial-gradient(circle at center, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-lg);
    padding: clamp(16px, 3vw, 24px);
    text-align: center;
    box-sizing: border-box;
}
.tooth-anatomy-svg {
    width: 100%;
    max-height: 280px;
}
.anatomy-part {
    transition: all 0.3s ease;
    cursor: pointer;
}
.anatomy-part:hover, .anatomy-part.active-part {
    filter: brightness(1.15) drop-shadow(0 0 8px rgba(14, 165, 233, 0.6));
}
.anatomy-marker {
    fill: var(--primary);
    stroke: #ffffff;
    stroke-width: 3px;
    cursor: pointer;
}
.anatomy-detail-callout {
    margin-top: 12px;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(2, 132, 199, 0.15);
}
.anatomy-detail-callout h4 {
    color: var(--primary-dark);
    font-size: 0.88rem;
    margin-bottom: 2px;
}
.anatomy-detail-callout p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ==========================================================================
   8. SERVICES & TREATMENTS GRID
   ========================================================================== */
.services-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: var(--bg-main);
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 18px;
}
.service-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 24px);
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-smooth);
    box-sizing: border-box;
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
    border-color: rgba(2, 132, 199, 0.4);
}
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.service-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}
.icon-sparkle { color: #f59e0b; background: rgba(245, 158, 11, 0.15); }
.icon-implant { color: #0d9488; background: rgba(13, 148, 136, 0.15); }
.icon-braces { color: #8b5cf6; background: rgba(139, 92, 246, 0.15); }
.icon-kids { color: #ec4899; background: rgba(236, 72, 153, 0.15); }
.icon-clean { color: #10b981; background: rgba(16, 185, 129, 0.15); }

.service-badge-pill {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 7px;
    border-radius: var(--radius-full);
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
}
.service-badge-pill.cosmetic { background: #fef3c7; color: #d97706; }
.service-badge-pill.permanent { background: #ccfbf1; color: #0f766e; }
.service-badge-pill.gentle { background: #fce7f3; color: #be185d; }
.service-badge-pill.preventative { background: #d1fae5; color: #047857; }

.service-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}
.service-marathi-name {
    font-size: 0.8rem;
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 6px;
}
.service-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 12px;
}
.service-perks {
    list-style: none;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.service-perks li {
    font-size: 0.78rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-perks li i {
    color: var(--accent-mint);
    font-size: 0.78rem;
    flex-shrink: 0;
}
.btn-card-action {
    margin-top: auto;
    width: 100%;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: rgba(2, 132, 199, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-card-action:hover {
    background: var(--primary);
    color: #fff;
}

/* ==========================================================================
   9. REALISTIC SMILE SIMULATOR (100% FLUID, NO OVERFLOW)
   ========================================================================== */
.smile-simulator-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: #ffffff;
}
.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 4vw, 36px);
    align-items: center;
}
.sim-feature-list {
    margin: 16px 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sim-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.sim-feature-item i {
    color: var(--primary);
    font-size: 0.95rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.sim-feature-item strong {
    display: block;
    font-size: 0.88rem;
    color: var(--text-main);
}
.sim-feature-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.simulator-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.before-after-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: clamp(210px, 38vw, 270px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--hover-shadow);
    border: 2px solid rgba(2, 132, 199, 0.25);
    user-select: none;
    cursor: ew-resize;
    touch-action: none;
    box-sizing: border-box;
    background: #0f172a;
}
.image-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.sim-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sim-before { background: radial-gradient(circle at center, #fef9c3 0%, #fef08a 100%); }
.sim-after { background: radial-gradient(circle at center, #f0f9ff 0%, #e0f2fe 100%); }
.after-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    -webkit-clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    pointer-events: none;
}
.after-image .sim-preview {
    width: 100%;
    height: 100%;
}
.realistic-arch-svg {
    width: 90%;
    max-height: 220px;
}

.sim-tag {
    position: absolute;
    top: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.before-tag { background: rgba(254, 240, 138, 0.9); color: #854d0e; left: 10px; border: 1px solid rgba(202, 138, 4, 0.4); }
.after-tag { background: rgba(224, 242, 254, 0.9); color: #0369a1; right: 10px; border: 1px solid rgba(2, 132, 199, 0.4); }

.slider-handle {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 2px;
    background: #ffffff;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
}
.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 2px solid var(--primary);
}
.slider-instruction {
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   10. SYMPTOM CHECKER SECTION
   ========================================================================== */
.symptom-checker-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: #0f172a;
    color: #ffffff;
}
.checker-card {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 32px);
    box-sizing: border-box;
}
.checker-header { margin-bottom: 18px; }
.checker-header .section-subtitle { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.checker-header h2 { font-family: var(--font-heading); font-size: clamp(1.4rem, 3vw, 1.8rem); margin-bottom: 6px; }
.checker-header p { color: #94a3b8; font-size: 0.85rem; }

.symptom-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 18px;
}
.symptom-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 7px 12px;
    border-radius: var(--radius-full);
}
.symptom-btn.active, .symptom-btn:hover {
    background: var(--primary);
    border-color: var(--primary-light);
    color: #ffffff;
}

.symptom-result-box {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
}
.result-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}
.result-details h4 {
    font-size: 0.98rem;
    color: #ffffff;
    margin-bottom: 2px;
}
.result-details p {
    font-size: 0.82rem;
    color: #94a3b8;
    line-height: 1.4;
    margin-bottom: 6px;
}
.result-recommendation { font-size: 0.78rem; }
.rec-label { color: #38bdf8; font-weight: 700; margin-right: 4px; }
.rec-val { color: #f8fafc; font-weight: 600; }
.result-action { flex-shrink: 0; }

/* ==========================================================================
   11. CLINIC TOUR & WHY US SECTION
   ========================================================================== */
.clinic-tour-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: #ffffff;
}
.tour-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 30px;
}
.tour-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: clamp(220px, 30vw, 280px);
    box-shadow: var(--card-shadow);
}
.tour-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-caption-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, transparent 100%);
    color: #ffffff;
}
.image-caption-overlay h4 {
    font-size: 0.98rem;
    font-weight: 700;
}
.image-caption-overlay p {
    font-size: 0.75rem;
    color: #cbd5e1;
}

.features-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}
.feature-box {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
}
.feature-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    margin-bottom: 10px;
}
.feature-box h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}
.feature-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   12. REVIEWS SECTION
   ========================================================================== */
.reviews-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: var(--bg-main);
}
.reviews-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 14px;
}
.google-rating-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    box-shadow: var(--card-shadow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}
.g-logo { font-size: 1.3rem; color: #4285f4; }
.g-score {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
}
.g-stars { color: #f59e0b; font-size: 0.85rem; }
.g-count { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 3px; }
.btn-outline-google {
    border: 1px solid rgba(2, 132, 199, 0.3);
    color: var(--primary);
    background: transparent;
    font-weight: 600;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 14px;
}
.review-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--card-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.reviewer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.reviewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0284c7, #38bdf8);
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.avatar-purple { background: linear-gradient(135deg, #8b5cf6, #c084fc); }
.avatar-teal { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.avatar-amber { background: linear-gradient(135deg, #d97706, #fbbf24); }

.reviewer-info h4 { font-size: 0.88rem; font-weight: 700; }
.review-meta .stars { color: #f59e0b; font-size: 0.72rem; }
.review-date { font-size: 0.65rem; color: var(--text-light); }
.review-quote {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.45;
    margin-bottom: 10px;
}
.verified-tag {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--accent-mint);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   13. FAQS SECTION
   ========================================================================== */
.faq-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: #ffffff;
}
.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    background: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.faq-item.active {
    border-color: var(--primary);
    background: #ffffff;
}
.faq-question {
    width: 100%;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
    gap: 8px;
    cursor: pointer;
}
.faq-chevron {
    color: var(--primary);
    transition: transform var(--transition-smooth);
    flex-shrink: 0;
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    padding: 0 16px;
}
.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 12px;
}
.faq-answer p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* ==========================================================================
   14. LOCATION & MAP SECTION
   ========================================================================== */
.contact-location-section {
    padding: clamp(50px, 6vw, 70px) 0;
    background: var(--bg-main);
}
.location-card-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(20px, 3.5vw, 30px);
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: clamp(18px, 3vw, 32px);
    box-shadow: var(--card-shadow);
    box-sizing: border-box;
}
.contact-detail-list {
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.c-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(2, 132, 199, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.contact-item strong {
    font-size: 0.9rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 2px;
}
.contact-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.plus-code-badge {
    display: inline-block;
    margin-top: 3px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(14, 165, 233, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
}
.timings-table {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 5px;
    font-size: 0.8rem;
}
.t-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dashed var(--border-subtle);
    flex-wrap: wrap;
    gap: 4px;
}
.break-tag { color: var(--accent-gold); font-weight: 600; font-size: 0.72rem; }
.location-btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.map-embed-col {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    min-height: 280px;
    width: 100%;
}
.map-frame-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.map-overlay-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(2, 132, 199, 0.2);
    padding: 6px 10px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.m-title { font-weight: 800; font-size: 0.82rem; color: var(--text-main); }
.m-addr { font-size: 0.68rem; color: var(--text-muted); }
.m-rating { font-size: 0.68rem; font-weight: 700; color: #d97706; }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
    background: #090e17;
    color: #94a3b8;
    padding: 50px 0 20px;
    width: 100%;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 24px;
    margin-bottom: 30px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #ffffff;
}
.footer-logo i { font-size: 1.6rem; color: #38bdf8; }
.footer-logo h3 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; line-height: 1.1; }
.footer-logo span { font-size: 0.72rem; color: #38bdf8; }
.footer-about { font-size: 0.8rem; line-height: 1.45; margin-bottom: 12px; }
.footer-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    color: #f1f5f9;
}
.footer-rating-pill i { color: #fbbc05; }

.footer-links-col h4, .footer-contact-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.footer-links-col a { font-size: 0.8rem; color: #94a3b8; }
.footer-links-col a:hover { color: #38bdf8; }
.footer-contact-col p {
    font-size: 0.8rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.footer-contact-col p i { color: #38bdf8; width: 12px; flex-shrink: 0; }
.footer-socials {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}
.footer-socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}
.footer-socials a:hover { background: var(--primary); }

.footer-bottom {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 6px;
}

/* ==========================================================================
   16. FLOATING QUICK ACTIONS & MOBILE ACTION DOCK
   ========================================================================== */
.floating-quick-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 999;
}
.float-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
    position: relative;
    cursor: pointer;
    transition: transform var(--transition-fast);
}
.float-btn:hover {
    transform: scale(1.1);
}
.float-whatsapp { background: var(--whatsapp); }
.float-call { background: #0284c7; }
.float-book { background: #0f172a; }
.float-top {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    display: none;
}
.float-top.visible { display: flex; }
.float-tooltip {
    position: absolute;
    right: 52px;
    background: #0f172a;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* ==========================================================================
   17. MODAL & TOAST
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 12px;
    box-sizing: border-box;
}
.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}
.modal-dialog {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    box-sizing: border-box;
}
.modal-header {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}
.modal-icon { font-size: 1.4rem; color: #bae6fd; }
.modal-header h3 { font-size: 1.05rem; font-weight: 800; }
.modal-header span { font-size: 0.7rem; color: #bae6fd; }
.modal-close-btn {
    background: transparent;
    color: #ffffff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.modal-form {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 80vh;
    overflow-y: auto;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 4px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    background: #f8fafc;
    box-sizing: border-box;
}
.time-slot-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}
.slot-radio { cursor: pointer; }
.slot-radio input { display: none; }
.slot-box {
    display: flex;
    flex-direction: column;
    padding: 6px 8px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    background: #f8fafc;
}
.slot-box strong { font-size: 0.78rem; color: var(--text-main); }
.slot-box small { font-size: 0.68rem; color: var(--text-muted); }
.slot-radio input:checked + .slot-box {
    border-color: var(--primary);
    background: rgba(2, 132, 199, 0.08);
}
.modal-form-actions {
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.modal-note {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-align: center;
}

/* Toast */
.toast-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3000;
    opacity: 0;
    transition: all 0.35s ease;
    max-width: 90vw;
}
.toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.toast-icon { font-size: 1.2rem; color: #22c55e; }
.toast-text strong { font-size: 0.82rem; display: block; }
.toast-text span { font-size: 0.72rem; color: #94a3b8; }

/* Scroll Reveal Classes (No X-Translate to prevent horizontal overflow!) */
[data-reveal] {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* ==========================================================================
   18. ULTRA-CLEAN MODERN RESPONSIVE ENGINE (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 960px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-toggle {
        display: flex;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-group, .hero-highlights {
        justify-content: center;
    }
    .canvas-3d-card {
        height: 380px;
        max-width: 480px;
        margin: 0 auto;
    }
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .counter-box:nth-child(2) {
        border-right: none;
    }
    .counter-box:nth-child(1), .counter-box:nth-child(2) {
        border-bottom: 1px solid var(--border-subtle);
        padding-bottom: 8px;
    }
    .anatomy-grid, .simulator-wrapper, .location-card-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .tour-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .d-desk {
        display: none !important;
    }
    
    /* 1. Header & Top Announcement */
    .top-announcement-bar {
        padding: 5px 0;
        font-size: 0.74rem;
    }
    .announcement-content {
        padding: 0 10px;
        gap: 6px;
    }
    .status-badge {
        font-size: 0.72rem;
        font-weight: 700;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 190px;
    }
    .phone-link {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        background: rgba(56, 189, 248, 0.15);
        color: #38bdf8;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
    }
    .lang-toggle span {
        padding: 2px 6px;
        font-size: 0.68rem;
    }
    
    .navbar {
        height: 60px;
    }
    .logo-3d-icon {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }
    .brand-title {
        font-size: 1.02rem;
    }
    .brand-subtitle {
        font-size: 0.65rem;
    }
    .nav-actions .nav-book-btn span {
        display: none;
    }
    .nav-actions .nav-book-btn {
        padding: 7px 10px;
        font-size: 0.9rem;
    }

    /* 2. Hero Section Mobile Refinement */
    .hero-section {
        padding: 18px 0 28px;
    }
    .hero-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 6px;
        background: #ffffff;
        border: 1px solid rgba(2, 132, 199, 0.25);
        padding: 5px 12px;
        border-radius: var(--radius-full);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        margin: 0 auto 14px;
        max-width: 100%;
        box-sizing: border-box;
    }
    .g-star-badge {
        font-size: 0.8rem;
    }
    .badge-text {
        font-size: 0.72rem;
        white-space: normal;
        text-align: center;
    }
    .hero-title {
        font-size: 1.65rem;
        line-height: 1.2;
        letter-spacing: -0.5px;
        margin-bottom: 10px;
    }
    .hero-description {
        font-size: 0.86rem;
        line-height: 1.5;
        margin-bottom: 16px;
        color: var(--text-muted);
    }
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        gap: 8px;
        margin-bottom: 16px;
    }
    .hero-cta-group .btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.92rem;
    }
    
    /* Clean Pill-Style Trust Highlights on Mobile */
    .hero-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
        padding-top: 12px;
        border-top: 1px solid var(--border-subtle);
        width: 100%;
    }
    .highlight-item {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: #ffffff;
        border: 1px solid rgba(2, 132, 199, 0.2);
        border-radius: var(--radius-full);
        padding: 5px 10px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    }
    .highlight-icon {
        width: 22px;
        height: 22px;
        border-radius: 50%;
        font-size: 0.7rem;
    }
    .highlight-item strong {
        font-size: 0.74rem;
        color: var(--text-main);
    }
    .highlight-item span {
        display: none;
    }

    /* 3. 3D Canvas Card on Mobile */
    .canvas-3d-card {
        height: 320px;
        border-radius: var(--radius-md);
    }
    .canvas-top-tag {
        top: 8px;
        left: 8px;
        font-size: 0.65rem;
        padding: 3px 8px;
    }
    .canvas-bottom-bar {
        bottom: 8px;
        left: 8px;
        right: 8px;
        flex-direction: column;
        gap: 5px;
        align-items: stretch;
    }
    .tooth-view-controls {
        justify-content: center;
        gap: 2px;
        padding: 2px;
    }
    .view-btn {
        padding: 3px 7px;
        font-size: 0.7rem;
    }
    .canvas-right-tools {
        justify-content: center;
        gap: 4px;
    }
    .scan-laser-btn {
        padding: 3px 7px;
        font-size: 0.68rem;
    }
    .floating-stat {
        display: none !important;
    }

    /* 4. Stats Counter Grid */
    .counter-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 12px;
        border-radius: var(--radius-md);
    }
    .counter-box {
        border-right: none !important;
        border-bottom: none !important;
        padding: 4px;
    }
    .counter-num-wrap {
        font-size: 1.35rem;
    }
    .counter-lbl {
        font-size: 0.68rem;
    }

    /* 5. Info Strip */
    .info-strip-section {
        margin-top: -8px;
        margin-bottom: 28px;
    }
    .info-strip-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .strip-card {
        padding: 12px;
    }

    /* 6. Anatomy Section */
    .anatomy-section {
        padding: 36px 0;
    }
    .anatomy-info-card {
        padding: 10px 12px;
    }
    .anatomy-interactive-viewer {
        max-width: 100%;
        padding: 14px;
    }

    /* 7. Services & Treatments */
    .services-section {
        padding: 36px 0;
    }
    .services-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .service-card {
        padding: 16px;
    }

    /* 8. Smile Simulator */
    .smile-simulator-section {
        padding: 36px 0;
    }
    .before-after-container {
        height: 190px;
        border-radius: var(--radius-md);
    }
    .realistic-arch-svg {
        width: 92%;
        max-height: 170px;
    }
    .sim-tag {
        font-size: 0.62rem;
        padding: 2px 7px;
    }
    .handle-circle {
        width: 28px;
        height: 28px;
        font-size: 0.68rem;
    }

    /* 9. Symptom Checker */
    .symptom-checker-section {
        padding: 36px 0;
    }
    .checker-card {
        padding: 16px;
    }
    .symptom-buttons {
        gap: 6px;
    }
    .symptom-btn {
        width: 100%;
        justify-content: center;
        padding: 8px 12px;
    }
    .symptom-result-box {
        flex-direction: column;
        text-align: center;
        padding: 14px;
    }

    /* 10. Reviews, Map & Footer */
    .reviews-section, .location-section, .clinic-tour-section, .faq-section {
        padding: 36px 0;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* 11. Modal Forms */
    .form-row, .time-slot-selector {
        grid-template-columns: 1fr;
    }

    /* 12. Floating Quick Actions Dock (Compact App Style) */
    .float-tooltip {
        display: none !important;
    }
    .floating-quick-actions {
        bottom: 12px;
        right: 12px;
        gap: 6px;
    }
    .float-btn {
        width: 36px;
        height: 36px;
        font-size: 0.92rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    }
}
