/* ========== CSS VARIABLES ========== */
:root {
    --primary: #0e6ea8;
    --primary-dark: #0a5580;
    --primary-light: #e8f4fa;
    --secondary: #14b8a6;
    --secondary-dark: #0f8f80;
    --accent: #f59e0b;
    --dark: #1a1a2e;
    --text: #4a4a68;
    --text-light: #7a7a94;
    --white: #ffffff;
    --off-white: #f8fafc;
    --light-bg: #f0f7fb;
    --border: #e2e8f0;
    --shadow: 0 4px 20px rgba(14, 110, 168, 0.08);
    --shadow-lg: 0 10px 40px rgba(14, 110, 168, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

/* ========== RESET & BASE ========== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: clip;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 110, 168, 0.3);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--white);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
    will-change: transform;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header.scrolled .header-top {
    display: none;
}

.header-top {
    background: var(--primary);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    transition: var(--transition);
}

.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-info a,
.header-info span {
    color: var(--white);
    font-size: 13px;
}

.header-info a:hover {
    opacity: 0.8;
}

.header-info .separator {
    opacity: 0.5;
}

.header-info i {
    margin-right: 5px;
    font-size: 12px;
}

.header-social {
    display: flex;
    gap: 12px;
}

.header-social a {
    color: var(--white);
    font-size: 14px;
    opacity: 0.8;
}

.header-social a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.header-main {
    padding: 12px 0;
    background: var(--white);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

.logo-tagline {
    font-size: 11px;
    color: var(--primary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Navigation */
.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Phone CTA */
.phone-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.phone-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(14, 110, 168, 0.3);
}

.phone-cta i {
    font-size: 14px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 150px 0 60px;
    background: linear-gradient(135deg, #f0f7fb 0%, #ffffff 45%, #e8f4fa 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(14, 110, 168, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 110, 168, 0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 20%, transparent 75%);
    opacity: 0.9;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-blob-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(14, 110, 168, 0.35) 0%, transparent 70%);
    top: -180px;
    right: -120px;
    animation: heroBlob1 14s ease-in-out infinite;
}

.hero-blob-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.30) 0%, transparent 70%);
    bottom: -160px;
    left: -100px;
    animation: heroBlob2 18s ease-in-out infinite;
}

.hero-blob-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.22) 0%, transparent 70%);
    top: 45%;
    left: 42%;
    animation: heroBlob3 16s ease-in-out infinite;
}

@keyframes heroBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes heroBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.1); }
}
@keyframes heroBlob3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-40%, -60%) scale(1.15); }
}

.hero .container { position: relative; z-index: 1; }

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
    min-height: 560px;
}

/* ----- Hero Content (left) ----- */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 12px;
    background: var(--white);
    border: 1px solid rgba(14, 110, 168, 0.15);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(14, 110, 168, 0.08);
    margin-bottom: 22px;
}

.hero-badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--secondary);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.hero-badge-pulse::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.4;
    animation: heroBadgePulse 2s ease-out infinite;
}

@keyframes heroBadgePulse {
    0% { transform: scale(0.8); opacity: 0.6; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.hero-stars {
    display: inline-flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 15px;
}

.hero-rating-text {
    font-size: 14px;
    color: var(--text);
}

.hero-rating-text strong {
    color: var(--dark);
    font-weight: 700;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.1;
    letter-spacing: -0.5px;
    margin-bottom: 22px;
}

.hero-highlight {
    position: relative;
    background: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 10px;
    background: linear-gradient(90deg, rgba(20, 184, 166, 0.25), rgba(14, 110, 168, 0.25));
    border-radius: 4px;
    z-index: -1;
    transform: skewX(-8deg);
}

.hero-content p {
    font-size: 17px;
    color: var(--text);
    line-height: 1.75;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-content p strong {
    color: var(--dark);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-btn-book {
    padding: 16px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(14, 110, 168, 0.3);
    transition: all 0.3s ease;
}

.hero-btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(14, 110, 168, 0.4);
}

.hero-btn-call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 10px;
    background: transparent;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-btn-call:hover { transform: translateY(-2px); }

.hero-btn-call-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14, 110, 168, 0.1);
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s ease;
}

.hero-btn-call:hover .hero-btn-call-icon {
    background: var(--primary);
    color: var(--white);
}

.hero-btn-call-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-btn-call-text small {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-btn-call-text strong {
    font-size: 15px;
    color: var(--dark);
    font-weight: 700;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 28px;
    border-top: 1px solid rgba(14, 110, 168, 0.1);
}

.hero-stat { flex: 1; }

.hero-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 6px;
}

.hero-stat-num span {
    font-size: 24px;
    color: var(--secondary);
}

.hero-stat-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-stat-divider {
    width: 1px;
    height: 42px;
    background: rgba(14, 110, 168, 0.15);
}

/* ----- Hero Visual (right) ----- */
.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-width: 440px;
    margin-left: auto;
    min-width: 0;
}

.hero-visual-backdrop {
    position: absolute;
    inset: 20px -20px -20px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50% 40% 50% 40% / 40% 50% 40% 50%;
    opacity: 0.9;
    z-index: 0;
    animation: heroBackdropMorph 12s ease-in-out infinite;
}

@keyframes heroBackdropMorph {
    0%, 100% { border-radius: 50% 40% 50% 40% / 40% 50% 40% 50%; }
    50% { border-radius: 40% 50% 40% 50% / 50% 40% 50% 40%; }
}

.hero-visual-frame {
    position: absolute;
    inset: 0;
    border-radius: 40% 40% 48% 48% / 12% 12% 24% 24%;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(14, 110, 168, 0.2);
    border: 6px solid var(--white);
}

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

/* Floating badge cards */
.hero-float {
    position: absolute;
    background: var(--white);
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 12px 32px rgba(14, 110, 168, 0.18);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    border: 1px solid rgba(14, 110, 168, 0.08);
}

.hero-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.hero-float-text strong {
    font-size: 14px;
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
}

.hero-float-text small {
    font-size: 11px;
    color: var(--text-light);
    margin-top: 2px;
}

.hero-float-experience {
    top: 40px;
    left: -10px;
    animation: heroFloatA 6s ease-in-out infinite;
}

.hero-float-experience .hero-float-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.hero-float-patients {
    bottom: 90px;
    right: -10px;
    animation: heroFloatB 7s ease-in-out infinite;
}

.hero-float-avatars {
    display: flex;
    flex-shrink: 0;
}

.hero-float-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    margin-left: -10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.hero-float-avatars img:first-child { margin-left: 0; }

.hero-float-google {
    bottom: -20px;
    left: 30px;
    animation: heroFloatA 8s ease-in-out infinite;
}

.hero-float-google-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    background-image: conic-gradient(from 0deg, #4285F4, #EA4335, #FBBC05, #34A853, #4285F4);
    position: relative;
}

.hero-float-google-icon::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--white);
    border-radius: 10px;
}

.hero-float-google-icon i {
    position: relative;
    z-index: 1;
    color: #4285F4;
    font-size: 18px;
}

@keyframes heroFloatA {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes heroFloatB {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(12px); }
}

/* Decorative elements */
.hero-deco {
    position: absolute;
    z-index: 3;
    pointer-events: none;
}

.hero-deco-tooth {
    top: -10px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 10px 24px rgba(14, 110, 168, 0.15);
    transform: rotate(-12deg);
    animation: heroFloatA 5s ease-in-out infinite;
}

.hero-deco-plus {
    top: 50%;
    right: -14px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--secondary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 6px 16px rgba(20, 184, 166, 0.35);
    animation: heroFloatB 4.5s ease-in-out infinite;
}

.hero-deco-ring {
    bottom: 60px;
    left: -20px;
    width: 70px;
    height: 70px;
    border: 8px solid rgba(245, 158, 11, 0.3);
    border-radius: 50%;
    animation: heroFloatA 7s ease-in-out infinite;
}

/* ----- Quick Booking Bar ----- */
.hero-form {
    margin-top: 60px;
    background: var(--white);
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 20px 50px rgba(14, 110, 168, 0.12);
    border: 1px solid rgba(14, 110, 168, 0.08);
    position: relative;
    overflow: hidden;
}

.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--secondary));
}

.hero-form-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.hero-form-head-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(14, 110, 168, 0.25);
}

.hero-form-head h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    line-height: 1.2;
}

.hero-form-head p {
    font-size: 13px;
    color: var(--text-light);
    margin: 2px 0 0 0;
}

.hero-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: stretch;
}

.hero-form-field {
    position: relative;
    margin-bottom: 0 !important;
}

.hero-form-field-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-size: 14px;
    pointer-events: none;
    z-index: 1;
}

.hero-form-field input,
.hero-form-field select {
    width: 100%;
    height: 54px;
    padding: 0 18px 0 46px !important;
    background: #f7fafc !important;
    border: 1px solid transparent !important;
    border-radius: 14px !important;
    font-size: 14.5px;
    color: var(--dark);
    transition: all 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}

.hero-form-field select {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath fill='%234a4a68' d='M6 7L0 0h12z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 10px !important;
    padding-right: 40px !important;
}

.hero-form-field input:focus,
.hero-form-field select:focus {
    background: var(--white) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(14, 110, 168, 0.1) !important;
    outline: none;
}

.hero-form-submit {
    height: 54px;
    padding: 0 28px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(14, 110, 168, 0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.hero-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(14, 110, 168, 0.35);
}

.hero-form-submit i {
    transition: transform 0.3s ease;
}

.hero-form-submit:hover i {
    transform: translateX(4px);
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px; /* prevents iOS zoom on focus */
    color: var(--dark);
    transition: var(--transition);
    background: var(--off-white);
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(14, 110, 168, 0.1);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a4a68' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* ========== SECTIONS ========== */
.section {
    padding: 90px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 50px;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-subtitle i {
    font-size: 12px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== TREATMENTS ========== */
.treatments {
    background: var(--off-white);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.treatment-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: var(--transition);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.treatment-card:hover::before {
    transform: scaleX(1);
}

.treatment-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.treatment-card:hover .treatment-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.treatment-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.treatment-card p {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

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

.card-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

.card-link i {
    font-size: 12px;
    transition: var(--transition);
}

/* ========== ABOUT ========== */
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-image {
    position: relative;
}

.about-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px 25px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

.about-content .section-subtitle {
    display: inline-flex;
}

.about-content .section-title {
    text-align: left;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0 30px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
}

.about-feature i {
    color: var(--secondary);
    font-size: 18px;
}

/* ========== CLINIC GALLERY ========== */
.clinic-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.clinic-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.clinic-gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 50px rgba(14, 110, 168, 0.18);
}

.clinic-gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.clinic-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.clinic-gallery-caption i {
    font-size: 18px;
    opacity: 0.9;
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
    background: var(--off-white);
}

.wcu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.wcu-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 28px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.wcu-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.wcu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.wcu-card:hover::after {
    width: 100%;
}

.wcu-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--white);
    transition: var(--transition);
}

.wcu-card:hover .wcu-icon {
    transform: scale(1.1) rotate(5deg);
}

.wcu-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
}

.wcu-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========== PATIENT STORIES ========== */
.patient-stories {
    background: var(--off-white);
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.story-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.story-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--light-bg);
}

.story-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: var(--light-bg);
    transition: transform 0.5s ease;
}

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

.story-content {
    padding: 22px 24px 26px;
}

.story-treatment {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 10px;
}

.story-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
}

.story-content p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========== STATS ========== */
.stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
    font-size: 32px;
}

.stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* ========== TESTIMONIALS ========== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 35px 30px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    margin-bottom: 16px;
    color: var(--accent);
    font-size: 16px;
    display: flex;
    gap: 3px;
}

.testimonial-card p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

.testimonial-author h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--text-light);
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary-dark) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.cta-inner {
    position: relative;
    z-index: 1;
}

.cta-inner h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-inner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 30px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 70px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
}

.footer-logo .logo-name {
    color: var(--white);
    font-size: 15px;
}

.footer-logo .logo-tagline {
    color: var(--secondary);
    font-size: 10px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h3 {
    color: var(--white);
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--primary);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px !important;
}

.contact-info li i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-info li span,
.contact-info li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.contact-info li a:hover {
    color: var(--primary);
    padding-left: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ========== WHATSAPP FLOAT ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    color: var(--white);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========== PRELOADER ========== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

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

.preloader-tooth {
    font-size: 48px;
    color: var(--primary);
    animation: preloaderBounce 1s ease infinite;
    margin-bottom: 12px;
}

.preloader-inner span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes preloaderBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* ========== SCROLL PROGRESS BAR ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 10001;
    width: 0;
    transition: width 0.1s linear;
}

/* ========== CURSOR GLOW ========== */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 110, 168, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ========== SCROLL REVEAL ANIMATIONS ========== */
.scroll-reveal {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.scroll-reveal.reveal-up {
    transform: translateY(50px);
}

.scroll-reveal.reveal-left {
    transform: translateX(-50px);
}

.scroll-reveal.reveal-right {
    transform: translateX(50px);
}

.scroll-reveal.reveal-scale {
    transform: scale(0.9);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* ========== HERO ENTRANCE ANIMATIONS ========== */
.hero-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-animate.hero-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-form-animate {
    opacity: 0;
    transform: translateX(60px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s,
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-form-animate.hero-form-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

/* ========== TEXT SHIMMER ========== */
.hero-content h1.shimmer-active {
    animation: shimmer 1.5s ease forwards;
    background-image: linear-gradient(90deg, var(--dark) 0%, var(--dark) 40%, var(--primary) 50%, var(--dark) 60%, var(--dark) 100%);
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

/* ========== FLOATING SHAPES ENHANCED ========== */
.hero-shape-1 {
    animation: float1 8s ease-in-out infinite;
}

.hero-shape-2 {
    animation: float2 10s ease-in-out infinite;
}

.hero-shape-3 {
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(5deg); }
    66% { transform: translate(-15px, 15px) rotate(-3deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-25px, 20px) rotate(-5deg); }
    66% { transform: translate(15px, -25px) rotate(3deg); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.15); }
}

/* ========== GRADIENT ANIMATION ON CTA ========== */
.cta-section {
    background-size: 200% 200%;
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========== CARD HOVER GLOW ========== */
.treatment-card,
.wcu-card,
.story-card,
.testimonial-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
}

.treatment-card::after,
.wcu-card::before {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========== ICON BOUNCE ON CARD HOVER ========== */
.treatment-card:hover .treatment-icon,
.wcu-card:hover .wcu-icon {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1.1); }
}

/* ========== ABOUT BADGE PULSE ========== */
.about-badge {
    animation: badgePulse 3s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 10px 40px rgba(14, 110, 168, 0.3); }
    50% { box-shadow: 0 10px 60px rgba(14, 110, 168, 0.5); }
}

/* ========== WHATSAPP FLOAT ENHANCED ========== */
.whatsapp-float {
    animation: whatsappPulse 2s infinite, whatsappBounce 3s ease-in-out infinite;
}

@keyframes whatsappBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ========== STATS SECTION GLOW ========== */
.stat-item {
    position: relative;
}

.stats .stat-number {
    color: var(--white);
    background: none;
    -webkit-text-fill-color: var(--white);
}

/* ========== LINK UNDERLINE ANIMATION ========== */
.card-link {
    position: relative;
    overflow: hidden;
}

.card-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.treatment-card:hover .card-link::after {
    width: 100%;
}

/* ========== STORY TREATMENT TAG SHINE ========== */
.story-treatment {
    position: relative;
    overflow: hidden;
}

.story-treatment::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: tagShine 3s ease-in-out infinite;
}

@keyframes tagShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

/* ========== BODY MENU OPEN STATE ========== */
body.menu-open {
    overflow: hidden;
}

/* ========== DROPDOWN MENU ========== */
.has-dropdown {
    position: relative;
}

.has-dropdown > a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 10px;
    transition: var(--transition);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 250px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid var(--border);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown li {
    margin: 0;
}

.dropdown li a {
    display: block;
    padding: 9px 24px;
    font-size: 14px;
    color: var(--text);
    font-weight: 400;
    transition: var(--transition);
    white-space: nowrap;
}

.dropdown li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 28px;
}

/* ========== PAGE HERO (Service Pages) ========== */
.page-hero {
    padding: 140px 0 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 60%, #083d5e 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 500;
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
}

/* ========== SERVICE DETAIL PAGE ========== */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

.service-main h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin: 40px 0 16px;
}

.service-main h2:first-of-type {
    margin-top: 0;
}

.service-main > p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 15px;
}

.service-hero-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

/* Service Features */
.service-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 20px 0 30px;
}

.service-feature-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-feature-item:hover {
    box-shadow: var(--shadow);
    border-color: transparent;
}

.service-feature-item .feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.service-feature-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 6px;
}

.service-feature-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Service Benefits */
.service-benefits {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0 30px;
}

.service-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark);
    padding: 10px 14px;
    background: var(--off-white);
    border-radius: 8px;
}

.service-benefits li i {
    color: var(--secondary);
    font-size: 16px;
    flex-shrink: 0;
}

/* Service FAQ */
.service-faq {
    margin-top: 20px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 2px 12px rgba(14, 110, 168, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    background: var(--white);
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--off-white);
}

.faq-item.active .faq-question {
    background: var(--primary-light);
}

.faq-question h3 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    padding-right: 16px;
}

.faq-question i {
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text);
    line-height: 1.7;
}

/* ========== SIDEBAR ========== */
.service-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}

/* Sidebar Services List */
.sidebar-services ul {
    list-style: none;
}

.sidebar-services ul li {
    margin-bottom: 0;
}

.sidebar-services ul li a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    color: var(--text);
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-services ul li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 18px;
}

.sidebar-services ul li.active a {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-left-color: var(--primary-dark);
}

/* Sidebar CTA */
.sidebar-cta p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.sidebar-cta .btn {
    margin-bottom: 10px;
    font-size: 14px;
    padding: 12px 20px;
}

.sidebar-cta .btn:last-child {
    margin-bottom: 0;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sidebar Hours */
.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:last-child {
    font-weight: 600;
    color: var(--dark);
}

/* ========== TREATMENT CARD AS LINK ========== */
a.treatment-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

a.treatment-card:hover {
    color: inherit;
}

/* ========== RESPONSIVE ========== */

/* Header hide on scroll down (mobile) */
.header.header-hidden {
    transform: translateY(-100%);
}

@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 380px;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

    .hero-visual {
        max-width: 360px;
    }

    .hero-float-experience { left: 0; }
    .hero-float-patients { right: 0; }
    .hero-deco-plus { right: -6px; }
    .hero-deco-ring { left: -10px; width: 60px; height: 60px; }

    .hero-form-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-form-submit { grid-column: 1 / -1; }

    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr 300px;
        gap: 30px;
    }

    .stories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Disable cursor glow on tablet */
    .cursor-glow { display: none; }
}

@media (max-width: 768px) {

    /* Kill desktop-only effects */
    .cursor-glow { display: none; }

    .header-top {
        display: none;
    }

    .header {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .mobile-toggle {
        display: flex;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
    }

    /* Full-screen mobile nav overlay */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background: var(--white);
        box-shadow: none;
        padding: 90px 24px 40px;
        transform: translateX(100%);
        opacity: 1;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 998;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list > li {
        width: 100%;
    }

    .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 18px 0;
        font-size: 17px;
        font-weight: 600;
        text-align: center;
        border-bottom: 1px solid var(--border);
        -webkit-tap-highlight-color: transparent;
    }

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

    /* Mobile dropdown */
    .has-dropdown {
        position: relative;
    }

    .has-dropdown > a .dropdown-arrow {
        transition: transform 0.3s ease;
    }

    .has-dropdown.mobile-open > a .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        background: var(--off-white);
        border-radius: var(--radius);
        margin-top: 0;
    }

    .dropdown::before {
        display: none;
    }

    .has-dropdown.mobile-open .dropdown {
        max-height: 700px;
        padding: 8px 0;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .dropdown li a {
        padding: 12px 20px;
        font-size: 14px;
        font-weight: 500;
        border-radius: 8px;
        margin: 0 4px;
    }

    .dropdown li a:hover,
    .dropdown li a:active {
        background: var(--primary-light);
        color: var(--primary);
        padding-left: 20px;
    }

    .header-cta {
        display: none;
    }

    /* ---- Service page ---- */
    .page-hero {
        padding: 100px 0 35px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .service-sidebar {
        position: static;
    }

    .service-benefits {
        grid-template-columns: 1fr;
    }

    /* ---- Hero (mobile) ---- */
    .hero {
        padding: 100px 0 40px;
    }

    /* Reorder: promote hero-content children to hero-inner so we can
       intersperse the visual between them */
    .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        min-height: auto;
    }

    .hero-content {
        display: contents;
    }

    /* Mobile entrance animation would fight display:contents — disable */
    .hero-animate,
    .hero-animate.hero-visible,
    .hero-form-animate,
    .hero-form-animate.hero-form-visible {
        opacity: 1;
        transform: none;
    }

    /* Explicit mobile order */
    .hero-badge        { order: 1; align-self: center; margin-bottom: 0; }
    .hero-rating       { order: 2; justify-content: center; margin-bottom: 0; }
    .hero-content h1   { order: 3; text-align: center; margin-bottom: 0; }
    .hero-visual       { order: 4; }
    .hero-content p    { order: 5; text-align: center; margin-bottom: 0; }
    .hero-cta          { order: 6; justify-content: center; margin-bottom: 0; }
    .hero-stats        { order: 7; justify-content: center; }

    .hero-content h1 {
        font-size: 34px;
        line-height: 1.18;
    }

    .hero-content p {
        font-size: 15px;
        max-width: 520px;
        margin-inline: auto;
    }

    /* Redundant on mobile — form is right below */
    .hero-btn-book { display: none; }

    .hero-btn-call {
        background: var(--white);
        border: 1px solid var(--border);
        padding: 10px 22px 10px 10px;
        box-shadow: 0 4px 14px rgba(14, 110, 168, 0.08);
    }

    .hero-stats {
        gap: 18px;
        padding-top: 20px;
    }

    .hero-stat { flex: 0 1 auto; text-align: center; }
    .hero-stat-num { justify-content: center; font-size: 28px; }

    .hero-visual {
        max-width: 340px;
        margin: 8px auto 0;
    }

    .hero-grid { background-size: 36px 36px; }

    .hero-blob-1 { width: 340px; height: 340px; right: -80px; top: -120px; }
    .hero-blob-2 { width: 300px; height: 300px; left: -80px; bottom: -120px; }
    .hero-blob-3 { display: none; }

    .hero-form {
        margin-top: 32px;
        padding: 22px 20px 22px 26px;
    }

    .hero-form-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .hero-form-head { margin-bottom: 16px; }
    .hero-form-head h3 { font-size: 18px; }
    .hero-form-head p { font-size: 12.5px; }

    .hero-form-field input,
    .hero-form-field select {
        font-size: 16px;
    }

    /* ---- Sections ---- */
    .section {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-desc {
        font-size: 15px;
    }

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .treatment-card {
        padding: 22px 16px;
    }

    .treatment-icon {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

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

    .treatment-card p {
        font-size: 12.5px;
        margin-bottom: 12px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .about-img-wrapper img {
        height: 320px;
    }

    .about-content .section-title {
        font-size: 26px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .about-content > .btn {
        display: flex;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
    }

    .about-badge {
        bottom: -15px;
        right: 15px;
        padding: 16px 20px;
    }

    .badge-number {
        font-size: 28px;
    }

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

    .clinic-gallery-item img {
        height: 240px;
    }

    .wcu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .wcu-card {
        padding: 24px 18px;
    }

    .wcu-icon {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

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

    .wcu-card p {
        font-size: 13px;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 20px;
    }

    .story-card {
        display: flex;
        flex-direction: row;
        overflow: hidden;
    }

    .story-img {
        width: 140px;
        min-width: 140px;
        height: auto;
    }

    .story-content {
        padding: 16px 18px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .story-content h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .story-content p {
        font-size: 12.5px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .stats {
        padding: 50px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .stat-number {
        font-size: 34px;
    }

    .stat-label {
        font-size: 13px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .testimonial-card {
        padding: 24px 20px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-inner h2 {
        font-size: 26px;
    }

    .cta-inner p {
        font-size: 15px;
    }

    .footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h3 {
        font-size: 16px;
    }

    /* Better touch targets globally */
    .btn {
        padding: 14px 28px;
        font-size: 14px;
        min-height: 48px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 54px;
        height: 54px;
        font-size: 26px;
    }

    /* Disable animations that eat performance on mobile */
    .scroll-reveal {
        transition-duration: 0.5s;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-content h1 {
        font-size: 30px;
        letter-spacing: -0.3px;
    }

    .hero-badge {
        font-size: 11.5px;
        padding: 7px 14px 7px 10px;
    }

    .hero-rating-text { font-size: 13px; }
    .hero-stars { font-size: 13px; }

    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-btn-book { justify-content: center; }

    .hero-btn-call {
        justify-content: center;
        padding: 8px 16px 8px 8px;
        background: var(--white);
        border: 1px solid var(--border);
    }

    .hero-stats {
        gap: 10px;
        padding-top: 22px;
    }

    .hero-stat-num { font-size: 24px; }
    .hero-stat-num span { font-size: 18px; }
    .hero-stat-label { font-size: 10.5px; }
    .hero-stat-divider { height: 32px; }

    .hero-visual {
        max-width: 320px;
    }

    .hero-float { padding: 10px 12px; border-radius: 14px; }
    .hero-float-text strong { font-size: 12.5px; }
    .hero-float-text small { font-size: 10px; }

    .hero-float-experience .hero-float-icon,
    .hero-float-google-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .hero-float-avatars img {
        width: 26px;
        height: 26px;
    }

    .hero-float-experience { left: -4px; top: 20px; }
    .hero-float-patients { right: -8px; bottom: 70px; }
    .hero-float-google { left: 10px; bottom: -14px; }

    .hero-deco-tooth { width: 44px; height: 44px; font-size: 20px; top: -6px; right: 16px; }
    .hero-deco-plus { width: 26px; height: 26px; font-size: 11px; right: -8px; }
    .hero-deco-ring { display: none; }

    .hero-form {
        padding: 20px 18px 20px 24px;
        border-radius: 20px;
    }

    .hero-form::before { width: 4px; }

    .hero-form-head-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        border-radius: 12px;
    }

    .hero-form-field input,
    .hero-form-field select {
        height: 52px;
        font-size: 16px;
    }

    .hero-form-submit { height: 52px; }

    .section {
        padding: 55px 0;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .treatments-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .treatment-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        row-gap: 6px;
        text-align: left;
        padding: 18px;
        align-items: start;
    }

    .treatment-card > .treatment-icon {
        grid-column: 1;
        grid-row: 1 / span 3;
        align-self: center;
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 20px;
        margin: 0;
    }

    .treatment-card > h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 15px;
        margin: 0;
    }

    .treatment-card > p {
        grid-column: 2;
        grid-row: 2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        font-size: 12.5px;
        line-height: 1.5;
        margin: 0;
    }

    .treatment-card > .card-link {
        grid-column: 2;
        grid-row: 3;
        font-size: 13px;
        margin-top: 2px;
    }

    .wcu-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .wcu-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 16px;
        row-gap: 4px;
        text-align: left;
        padding: 18px;
        align-items: start;
    }

    .wcu-card > .wcu-icon {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 18px;
        margin: 0;
    }

    .wcu-card > h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 14.5px;
        margin: 0;
    }

    .wcu-card > p {
        grid-column: 2;
        grid-row: 2;
        font-size: 12.5px;
        line-height: 1.55;
        margin: 0;
    }

    .story-card {
        flex-direction: column;
    }

    .story-img {
        width: 100%;
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .story-content p {
        -webkit-line-clamp: 3;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .stat-number {
        font-size: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .about-img-wrapper img {
        height: 260px;
    }

    .page-hero {
        padding: 90px 0 30px;
    }

    .page-hero h1 {
        font-size: 24px;
    }

    .page-hero p {
        font-size: 14px;
    }

    .service-main h2 {
        font-size: 20px;
        margin-top: 30px;
    }

    .breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .logo-name {
        font-size: 14px;
    }

    .logo-tagline {
        font-size: 10px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* ========== TOUCH DEVICE OPTIMISATIONS ========== */
@media (hover: none) {
    .treatment-card:hover,
    .wcu-card:hover,
    .story-card:hover,
    .testimonial-card:hover,
    .clinic-gallery-item:hover {
        transform: none;
    }

    .treatment-card:hover .treatment-icon {
        background: var(--primary-light);
        color: var(--primary);
        transform: none;
    }

    .clinic-gallery-item:hover img {
        transform: none;
    }

    .story-card:hover .story-img img {
        transform: none;
    }

    .wcu-card:hover .wcu-icon {
        transform: none;
    }
}

/* Safe area padding for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .footer-bottom {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
    .whatsapp-float {
        bottom: calc(20px + env(safe-area-inset-bottom));
    }
}
