/*
Theme Name: Kalptaru Ayurveda Custom
Theme URI: https://kalptaruayurveda.com/
Author: Bhavsar Neev
Description: A premium, high-fidelity custom WordPress theme developed for Kalptaru Ayurveda. Features dynamic appointment scheduling, institutional-grade clinical monitoring, and a luxury wellness aesthetic.
Version: 1.2
Text Domain: kalptaru-ayurveda
*/

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --ivory:       oklch(0.97 0.015 80);
  --green-deep:  oklch(0.25 0.08 155);
  --green-mid:   oklch(0.38 0.09 155);
  --green-light: oklch(0.88 0.04 155);
  --gold:        oklch(0.72 0.10 78);
  --gold-light:  oklch(0.90 0.05 78);
  --text-dark:   oklch(0.18 0.04 155);
  --text-mid:    oklch(0.45 0.04 155);
  --text-light:  oklch(0.65 0.03 155);
  --surface:     oklch(0.93 0.025 140);
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--ivory); color: var(--text-dark); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }
button, input, select, textarea { font-family: var(--font-body); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--green-mid); border-radius: 3px; }

/* ── ANIMATIONS ────────────────────────────────────────────── */
@keyframes fadeUp   { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes marquee  { from { transform:translateX(0); } to { transform:translateX(-50%); } }
@keyframes float    { 0%,100% { transform:translateY(0) rotate(0deg); } 50% { transform:translateY(-12px) rotate(3deg); } }
@keyframes slideDown{ from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.anim-up  { animation: fadeUp  0.7s ease both; }
.anim-in  { animation: fadeIn  0.8s ease both; }
.delay-1  { animation-delay: 0.15s; }
.delay-2  { animation-delay: 0.30s; }
.delay-3  { animation-delay: 0.45s; }
.float    { animation: float 7s ease-in-out infinite; }

/* ── TYPOGRAPHY ────────────────────────────────────────────── */
.serif { font-family: var(--font-display); }
.eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 14px; display: block; }
.gold-line { height: 2px; background: var(--gold); margin-bottom: 28px; }
.gold-line.center { margin-left: auto; margin-right: auto; }

/* ── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: 95%; margin: 0 auto; padding: 0 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }

/* ── NAVBAR ────────────────────────────────────────────────── */
#navbar { 
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    z-index: 2000; 
    padding: 0 48px; 
    transition: all 0.4s ease; 
    background: rgba(250,247,240,0.98); 
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(26,60,35,0.08);
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.admin-bar #navbar { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar #navbar { top: 46px; }
}
#navbar .nav-inner { width: 100% !important; max-width: none !important; margin: 0; display: flex; align-items: center; justify-content: space-between; height: 72px; padding: 0 40px; }

#navbar.scrolled { 
    background: rgba(250,247,240,0.96) !important; 
    backdrop-filter: blur(14px) !important;
    border-bottom: 1px solid rgba(26,60,35,0.08) !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1) !important;
    height: 72px !important;
}

#navbar.scrolled .nav-inner { 
    height: 72px !important; 
}

#navbar.scrolled .nav-logo { color: #1a3c23 !important; }
#navbar.scrolled .nav-logo em { color: #d4af37 !important; }

#navbar.scrolled .nav-link { color: #1a3c23 !important; }
#navbar.scrolled .nav-link:hover, #navbar.scrolled .nav-link.active { color: #d4af37 !important; }
#navbar.scrolled .mobile-toggle span { background: #1a3c23 !important; }

.nav-logo { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: #1a3c23; letter-spacing: 0.02em; background: none; border: none; cursor: pointer; text-decoration: none; }
.nav-logo em { color: var(--gold); font-style: italic; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-link { background: none; border: none; cursor: pointer; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #1a3c23; transition: color 0.2s; padding: 4px 0; position: relative; font-family: var(--font-body); text-decoration: none; }
.nav-link:hover, .nav-link.active { color: var(--gold); }
.nav-cta { background: var(--gold); color: white !important; padding: 10px 24px; border-radius: 2px; font-size: 12px; font-weight: 600; letter-spacing: 0.1em; border: none; cursor: pointer; transition: background 0.2s; text-decoration: none; }
.nav-cta:hover { background: var(--green-deep) !important; }

/* Dropdown */
.nav-item { position: relative; }
.dropdown { 
    opacity: 0;
    visibility: hidden;
    position: absolute; 
    top: calc(100% + 20px); 
    left: 50%; 
    transform: translateX(-50%) translateY(10px); 
    background: white; 
    border-radius: 4px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.14); 
    border: 1px solid rgba(26,60,35,0.08); 
    min-width: 280px; 
    overflow: hidden; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 300; 
}

.nav-item:hover .dropdown, .nav-item.open .dropdown { 
    opacity: 1;
    visibility: visible;
    top: calc(100% + 12px);
    transform: translateX(-50%) translateY(0);
}
.dropdown a { display: block; padding: 12px 24px; font-size: 13px; color: var(--text-dark); border-bottom: 1px solid rgba(26,60,35,0.06); transition: all 0.15s; }
#footer { background: oklch(0.14 0.05 155); color: rgba(255,255,255,0.6); padding: 64px 40px 32px; }
.footer-grid { width: 100% !important; max-width: none !important; margin: 0; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 24px; padding-bottom: 24px; }
.footer-logo { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: white; display: block; margin-bottom: 16px; letter-spacing: 0.02em; text-decoration: none; }
.footer-logo em { color: var(--gold); font-style: italic; }
.footer-desc { font-size: 14px; line-height: 1.8; margin-bottom: 24px; max-width: 350px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.5); transition: all 0.2s; text-decoration: none; }
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-heading { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color 0.2s; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-bottom { width: 100% !important; max-width: none !important; margin: 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,0.3); }

/* ── FLOATING WA ────────────────────────────────────────────── */
#float-wa { position: fixed; bottom: 32px; right: 32px; z-index: 300; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: white; display: flex; align-items: center; justify-content: center; font-size: 24px; text-decoration: none; box-shadow: 0 8px 32px rgba(37,211,102,0.4); transition: transform 0.2s; }
.placeholder-img {
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-light); font-size: 14px; letter-spacing: 0.1em;
  border-radius: 4px; position: relative; overflow: hidden;
  flex-direction: column; gap: 8px;
}
.placeholder-img img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
#float-wa:hover { transform: scale(1.1); }

/* ── HERO-SPECIFIC ── */
.hero-section {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  background: linear-gradient(135deg, oklch(0.22 0.09 155) 0%, oklch(0.32 0.08 160) 55%, oklch(0.26 0.07 145) 100%);
  overflow: hidden;
}

/* ── PAGE HERO ── */
.page-hero { 
    background: var(--green-deep); 
    padding: 120px 0 80px; 
    position: relative; 
    overflow: hidden; 
    color: white;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.05) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(255,255,255,0.05) 0%, transparent 40%);
    opacity: 0.6;
}
.page-hero h1 { font-family: var(--font-display); font-size: 64px; font-weight: 300; margin-top: 12px; }
.page-hero .breadcrumb { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 24px; display: flex; align-items: center; gap: 8px; }
.page-hero .breadcrumb a { color: inherit; }
.page-hero-line { width: 60px; height: 2px; background: var(--gold); margin-top: 24px; }
.breadcrumb-sep { opacity: 0.5; }

.section-dark { background: var(--green-deep); padding: 60px 0; border-top: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); }
.section-sm { padding: 40px 0; }
.hero-gold-stripe { position:absolute; left:0; top:0; bottom:0; width:4px; background:var(--gold); }
.hero-grid { max-width:1320px; margin:0 auto; padding:140px 80px 100px; width:100%; display:grid; grid-template-columns:1fr 400px; gap:80px; align-items:center; }
.hero-eyebrow { font-size:11px; letter-spacing:0.25em; text-transform:uppercase; color:var(--gold); margin-bottom:16px; font-weight:600; display: block; }
.hero-h1 { font-family:var(--font-display); font-size:82px; font-weight:300; color:white; line-height:1.05; margin-bottom:28px; white-space:pre-line; }
.hero-divider { width:60px; height:2px; background:var(--gold); margin-bottom:28px; }
.hero-copy { color:rgba(255,255,255,0.72); font-size:18px; line-height:1.7; max-width:520px; margin-bottom:48px; font-weight:300; }
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; margin-bottom:48px; }
.hero-dots { display:flex; gap:8px; }
.hero-dot { width:8px; height:8px; border-radius:4px; background:rgba(255,255,255,0.3); border:none; cursor:pointer; transition:all 0.3s; padding:0; }
.hero-dot.active { width:32px; background:var(--gold); }
.hero-consult { background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12); border-radius:4px; padding:40px 36px; backdrop-filter:blur(12px); }
.hero-consult-label { font-size:11px; letter-spacing:0.2em; text-transform:uppercase; color:var(--gold); margin-bottom:20px; font-weight:600; display: block; }
.hero-consult h3 { font-family:var(--font-display); font-size:28px; color:white; font-weight:400; margin-bottom:24px; }
.hero-consult input { width:100%; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); border-radius:2px; padding:12px 16px; color:white; font-size:14px; outline:none; margin-bottom:14px; }
.hero-trust { font-size:12px; text-align:center; color:rgba(255,255,255,0.4); margin-top:16px; }
.hero-bottom { position:absolute; bottom:0; left:0; right:0; background:rgba(0,0,0,0.25); backdrop-filter:blur(8px); border-top:1px solid rgba(255,255,255,0.08); }

/* Stats Bar */
.stat-bar { display: flex; justify-content: center; gap: 64px; padding: 20px 40px; }
.stat-item { text-align: center; }
.stat-num  { font-family: var(--font-display); font-size: 28px; color: var(--gold); font-weight: 600; line-height: 1.2; }
.stat-label{ font-size: 11px; color: rgba(255,255,255,0.6); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 4px; }

/* Marquee */
.marquee-bar { background: var(--green-deep); padding: 14px 0; overflow: hidden; }
.marquee-track { display: flex; animation: marquee 28s linear infinite; width: max-content; }
.marquee-item { white-space: nowrap; padding: 0 40px; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.marquee-dot  { color: var(--gold); margin-right: 16px; }

/* About strip */
.about-strip .img-wrap { position:relative; }
.about-strip .img-wrap .float-card { position:absolute; bottom:-30px; left:-40px; background:var(--green-deep); color:white; padding:28px 32px; border-radius:4px; min-width:220px; box-shadow:0 20px 60px rgba(26,60,35,0.25); }
.about-strip .img-wrap .float-card .big-num { font-family:var(--font-display); font-size:42px; font-weight:600; color:var(--gold); }

/* Buttons & Utils */
.btn { display: inline-block; padding: 14px 36px; border-radius: 2px; font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.25s; text-decoration: none; }
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: oklch(0.62 0.10 78); }
.btn-primary { background: var(--green-deep); color: white; }
.btn-primary:hover { background: var(--green-mid); }
.btn-white-outline { background: transparent; color: white; border: 1px solid rgba(255,255,255,0.35); }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); }
.btn-full { width: 100%; text-align: center; }

.section { padding: 100px 0; }
.section-surface { background: var(--surface); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-family: var(--font-display); font-size: 56px; font-weight: 300; color: var(--green-deep); line-height: 1.1; margin-bottom: 16px; }

.card { background: white; border: 1px solid oklch(0.90 0.02 155); border-radius: 4px; padding: 40px 32px; transition: all 0.35s ease; }
.card:hover { background: var(--green-deep); transform: translateY(-6px); box-shadow: 0 24px 60px rgba(26,60,35,0.18); }
.card:hover h3 { color: white !important; }
.card:hover p { color: rgba(255,255,255,0.7) !important; }

/* Treatment Card Specific Hover - Keep White Background */
.treatment-archive-card:hover { 
    background: white !important; 
    border-color: var(--gold) !important;
}
.treatment-archive-card:hover h3 { color: var(--green-deep) !important; }
.treatment-archive-card:hover p { color: var(--text-mid) !important; }


/* Footer */
#footer { background: oklch(0.12 0.04 155); color: white; padding: 100px 0 40px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { max-width: 1320px; margin: 0 auto; padding: 0 48px; display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 80px; }
.footer-logo { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: white; margin-bottom: 24px; display: block; }
.footer-logo em { color: var(--gold); font-style: italic; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.8; margin-bottom: 32px; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.8); transition: all 0.3s; }
.footer-social:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.footer-heading { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 32px; }
.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a, .footer-links span { font-size: 14px; color: rgba(255,255,255,0.6); transition: all 0.25s; text-decoration: none; }
.footer-links a:hover { color: white; padding-left: 8px; }
.footer-bottom { max-width: 1320px; margin: 80px auto 0; padding: 40px 48px 0; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; align-items: center; color: rgba(255,255,255,0.3); font-size: 12px; letter-spacing: 0.02em; }

/* --- Mobile Navigation --- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--green-deep);
    transition: 0.3s;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff !important;
    z-index: 2500 !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, visibility 0.4s !important;
    box-shadow: 25px 0 60px rgba(26,60,35,0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    visibility: hidden;
    opacity: 0;
    transform: translateX(-100%);
}

.mobile-sidebar.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Ensure inner links and buttons follow the same timing */
.sidebar-link, .sidebar-cta {
    transition: all 0.3s ease !important;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    z-index: 2400 !important;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.sidebar-header {
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--green-deep);
    cursor: pointer;
}

.sidebar-content {
    padding: 20px 0;
    overflow-y: auto;
    flex: 1;
}

.sidebar-link {
    display: block;
    padding: 15px 30px;
    font-size: 18px;
    color: var(--green-deep);
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.sidebar-link:hover {
    background: var(--ivory);
    color: var(--gold);
}

.sidebar-submenu {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
    background: var(--ivory);
}

.sidebar-item.open .sidebar-submenu {
    max-height: 1000px;
    padding: 10px 0;
}

.sidebar-submenu a {
    display: block;
    padding: 10px 50px;
    font-size: 15px;
    color: var(--text-mid);
    text-decoration: none;
}

.sidebar-cta {
    margin: 30px;
    padding: 18px !important;
    background: var(--gold);
    color: white !important;
    text-align: center;
    border-radius: 4px;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26,60,35,0.4);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- Responsive Media Queries --- */

@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero h1 { font-size: 56px; }
    .section { padding: 80px 0; }
}

@media (max-width: 768px) {
    /* Global Typography */
    h1 { font-size: 42px !important; }
    h2 { font-size: 32px !important; }
    h3 { font-size: 28px !important; }
    .hero h1 { font-size: 48px !important; }
    .page-hero h1 { font-size: 36px !important; }
    
    /* Layout */
    .container { padding: 0 20px !important; }
    .grid-3 { grid-template-columns: 1fr; }
    
    /* Hero */
    .hero { padding: 120px 0 80px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    
    /* Features/Stats */
    .features-grid { grid-template-columns: 1fr; }
    .stat-item h2 { font-size: 42px; }
    
    /* Treatment Page Wrap */
    [style*="float: right"] { 
        float: none !important; 
        width: 100% !important; 
        margin-left: 0 !important; 
        margin-bottom: 30px !important; 
    }
    
    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-links { align-items: center; }
    .social-links { justify-content: center; }
    
/* Blog & Single Post Mobile Typography Fix */
@media (max-width: 768px) {
    .page-hero h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    .treatment-content {
        font-size: 16px !important;
        line-height: 1.7 !important;
    }
    .post-meta {
        font-size: 12px !important;
        gap: 15px !important;
    }
}
.footer-bottom { flex-direction: column; gap: 15px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 38px !important; }
    .nav-logo span { font-size: 18px; }
}

@media (max-width: 768px) {
    .treatment-content { font-size: 16px !important; line-height: 1.7 !important; }
    .treatment-content p { margin-bottom: 20px !important; }
}

/* --- Front Page Mobile Refinements --- */
@media (max-width: 768px) {
    .nav-inner { padding: 0 20px; }
    
    .hero { text-align: center; padding: 140px 20px 80px; }
    .hero .eyebrow { margin-bottom: 20px; }
    .hero h1 { font-size: 42px !important; margin-bottom: 30px; }
    .hero .gold-line { margin: 0 auto 30px; }
    .hero p { margin: 0 auto 40px; font-size: 16px; }
    
    /* Quick Consult Fix */
    .quick-consult { position: static; margin-top: 50px; width: 100%; max-width: 100%; transform: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    
    /* Treatment List */
    .treatment-strip { padding: 15px 0; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
    .treatment-item { display: inline-flex; margin-right: 25px; font-size: 13px; }
    
    /* About Section */
    .about-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .about-image { max-width: 320px; margin: 0 auto; order: -1; }
    .about-content .eyebrow { margin: 0 auto 15px; }
    .about-content h2 { margin-bottom: 25px; }
    
    /* Team Section */
    .team-card { flex-direction: column; text-align: center; padding: 30px; }
    .team-image { width: 150px; height: 150px; margin: 0 auto 30px; }
    .team-content { padding-left: 0; }
    
    /* CTA Banner */
    .cta-banner { padding: 60px 30px; }
    .cta-banner h2 { font-size: 32px !important; }
}

@media (max-width: 768px) {
    .hero-consult { position: static; margin-top: 50px; width: 100%; max-width: 100%; transform: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .hero-btns { justify-content: center; margin-top: 30px; }
    .hero-btns .btn { margin: 10px 0 !important; width: 100%; }
}

/* --- Comprehensive Mobile Overrides --- */
@media (max-width: 768px) {
    /* Navbar Alignment */
    #navbar .nav-inner { justify-content: space-between !important; padding: 0 24px !important; }
    
    /* Global Typography */
    .section-header h2 { font-size: 36px !important; }
    
    /* Hero Section */
    .hero-h1 { font-size: 42px !important; }
    
    /* Testimonials Section */
    .testimonial-card { padding: 30px !important; min-height: auto !important; margin-bottom: 20px; }
    .testimonial-text { font-size: 16px !important; line-height: 1.6 !important; }
    
    /* YouTube Section */
    .youtube-grid { grid-template-columns: 1fr !important; }
    
    /* Gallery Section */
    .gallery-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
}

.team-card {
    background: white;
    border: 1px solid oklch(0.90 0.02 155);
    border-radius: 4px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    text-align: center;
}

@media (max-width: 768px) {
    .hero-btns .btn { margin-left: 0 !important; }
}

/* --- Mobile Header Full Width & Visibility --- */
@media (max-width: 768px) {
    #navbar { padding: 0 !important; width: 100% !important; left: 0 !important; right: 0 !important; }
    #navbar .nav-inner { width: 100% !important; padding: 0 20px !important; }
    
    /* Make hamburger white on dark background for better visibility */
    .mobile-toggle span { background: white !important; }
    #navbar.scrolled .mobile-toggle span { background: var(--green-deep) !important; }
}

/* --- Hero Mobile Spacing Refinement --- */
@media (max-width: 768px) {
    .hero .container { padding: 0 30px !important; }
    .hero-inner { display: block !important; padding: 140px 0 60px !important; }
    #hero-text-wrap { width: 100% !important; text-align: center !important; }
    .hero-divider { margin-left: auto !important; margin-right: auto !important; }
    
    .hero-consult { 
        position: relative !important; 
        right: auto !important; 
        top: auto !important; 
        width: 100% !important; 
        margin: 60px 0 0 !important; 
        transform: none !important; 
        padding: 40px 30px !important; 
        box-shadow: 0 20px 50px rgba(0,0,0,0.2) !important;
    }
}

/* --- Hero Section Mobile Logic --- */
@media (max-width: 768px) {
    .hero-grid { 
        display: block !important; 
        padding: 140px 30px 80px !important; 
        text-align: center !important; 
    }
    .hero-h1 { font-size: 48px !important; }
    .hero-divider { margin: 0 auto 30px !important; }
    .hero-btns { flex-direction: column; gap: 15px; margin-top: 40px; }
    .hero-btns .btn { width: 100% !important; margin: 0 !important; }
    
    .hero-consult { 
        width: 100% !important; 
        max-width: 100% !important; 
        margin-top: 60px !important; 
        position: relative !important; 
        right: auto !important; 
        top: auto !important; 
        transform: none !important; 
    }
}

/* --- Stats Bar Mobile 2x2 Grid --- */
@media (max-width: 768px) {
    .hero-bottom { width: 100% !important; max-width: 100% !important; margin: 0 !important; }
    .stat-bar { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr !important; 
        gap: 20px !important; 
        padding: 30px !important; 
        background: rgba(0,0,0,0.2) !important;
        backdrop-filter: blur(10px);
    }
    .stat-item { border-right: none !important; padding: 0 !important; text-align: center !important; }
}

@media (max-width: 768px) {
    .stat-num { font-size: 28px !important; margin-bottom: 5px !important; }
    .stat-label { font-size: 11px !important; opacity: 0.7 !important; }
}

@media (max-width: 768px) {
    .hero-section { display: block !important; min-height: auto !important; height: auto !important; }
    .hero-bottom { position: relative !important; bottom: auto !important; transform: none !important; margin-top: 40px !important; }
}

/* --- About Strip Mobile Order --- */
@media (max-width: 768px) {
    .about-strip .grid-2 { 
        display: flex !important; 
        flex-direction: column !important; 
        text-align: center !important; 
    }
    .about-strip .img-wrap { 
        order: 2 !important; 
        margin-top: 40px !important; 
        max-width: 100% !important; 
    }
    .about-strip .anim-up { 
        order: 1 !important; 
    }
    .about-strip h2 { font-size: 38px !important; }
}

/* --- About Float Card Mobile Fix --- */
@media (max-width: 768px) {
    .about-strip .img-wrap .float-card { 
        position: relative !important; 
        left: 0 !important; 
        bottom: 0 !important; 
        margin: -30px auto 0 !important; 
        width: 180px !important; 
        min-width: auto !important; 
        padding: 20px !important; 
        text-align: center !important; 
        z-index: 10 !important;
    }
    .about-strip .img-wrap .float-card .big-num { font-size: 32px !important; }
    .about-strip .img-wrap .float-card p { font-size: 11px !important; }
}

.float-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--gold);
    color: white;
    padding: 24px 28px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
}
.float-card .big-num {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
}

/* --- Float Card Mobile Shrink --- */
@media (max-width: 768px) {
    .about-strip .img-wrap .float-card { 
        padding: 15px 20px !important; 
        min-width: 140px !important; 
        left: 10px !important; 
        bottom: 10px !important; 
    }
    .about-strip .img-wrap .float-card .big-num { font-size: 24px !important; }
    .about-strip .img-wrap .float-card span { font-size: 10px !important; }
}

/* --- Treatment Card Mobile Title Fix --- */
@media (max-width: 768px) {
    .card h3 { 
        font-size: 20px !important; 
        line-height: 1.3 !important; 
        margin-bottom: 15px !important; 
    }
    .card p { font-size: 13px !important; line-height: 1.6 !important; }
}

/* --- Reviews Slider Styles --- */
.reviews-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 40px;
}

.reviews-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: 0.3s;
}

.slider-dot.active {
    background: var(--gold);
    transform: scale(1.4);
}

@media (max-width: 768px) {
    .testimonial-slide { padding: 0; }
    .testimonial-card { min-height: auto !important; }
}

/* --- Team Section Mobile Stack --- */
@media (max-width: 768px) {
    .grid-2 { 
        display: flex !important; 
        flex-direction: column !important; 
        gap: 30px !important; 
    }
    .team-card { 
        flex-direction: column !important; 
        text-align: center !important; 
        padding: 30px 20px !important; 
    }
    .team-card .placeholder-img { margin: 0 auto 20px !important; }
}

    .team-card { 
        text-align: center !important; 
        align-items: center !important; 
        padding: 30px !important; 
    }
    .team-card .placeholder-img { 
        margin: 0 auto 20px !important; 
        width: 170px !important; 
        height: 170px !important; 
    }
    .team-card h3 { font-size: 20px !important; margin-bottom: 8px !important; }
    .team-card .eyebrow { font-size: 10px !important; margin-bottom: 12px !important; letter-spacing: 0.1em !important; }
    .team-card p { font-size: 13px !important; line-height: 1.6 !important; }
}

/* --- Team Card Mobile Re-Center & Image Top Focus --- */
@media (max-width: 768px) {
    .team-card .placeholder-img img { 
        object-position: top !important; 
    }
}

/* --- CTA Section Mobile Typography --- */
@media (max-width: 768px) {
    .cta-section { padding: 60px 20px !important; }
    .cta-section h2 { font-size: 36px !important; line-height: 1.2 !important; margin-bottom: 20px !important; }
    .cta-section p { font-size: 15px !important; line-height: 1.6 !important; margin-bottom: 30px !important; }
    .cta-section div[style*="display:flex"] { flex-direction: column !important; gap: 12px !important; }
    .cta-section .btn { width: 100% !important; margin: 0 !important; }
}

/* --- Footer Mobile Refinement --- */
@media (max-width: 768px) {
    .footer-grid { text-align: left !important; gap: 40px !important; }
    .footer-links { align-items: flex-start !important; }
    .footer-socials { justify-content: flex-start !important; }
    .footer-bottom { text-align: center !important; justify-content: center !important; flex-direction: column !important; gap: 10px !important; }
}

/* --- About Page Stats 2x2 --- */
@media (max-width: 768px) {
    .grid-4 { 
        display: grid !important; 
        grid-template-columns: 1fr 1fr !important; 
        gap: 30px !important; 
        text-align: center !important; 
    }
    .grid-4 div > div:first-child { font-size: 32px !important; }
    .grid-4 div > div:last-child { font-size: 11px !important; margin-top: 5px !important; }
}

@media (max-width: 768px) {
    .float-card { right: 10px !important; left: auto !important; }
}

/* --- Split Treatment Title Styling --- */
.treatment-split-title { 
    display: flex; 
    flex-direction: column; 
    gap: 10px; 
}
.treatment-split-title .title-main { display: block; }
.treatment-split-title .title-sub { 
    display: block; 
    font-size: 0.6em; 
    color: var(--gold); 
    opacity: 0.9;
    font-weight: 300;
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 32px !important; }
    .treatment-split-title .title-sub { font-size: 16px !important; margin-top: 5px !important; }
    .page-hero .breadcrumb { font-size: 10px !important; display: none; }
}

/* --- Single Treatment Mobile Overrides --- */
@media (max-width: 768px) {
    .section[style*="padding: 100px 0"] { padding: 40px 0 !important; }
    .container[style*="max-width: 1400px"] { padding: 0 20px !important; }
    div[style*="float: right; width: 600px"] { 
        float: none !important; 
        width: 100% !important; 
        margin: 0 0 30px 0 !important; 
    }
}

/* --- Treatment Content Mobile Fix --- */
@media (max-width: 768px) {
    .treatment-content { font-size: 15px !important; line-height: 1.7 !important; }
    .treatment-content p { margin-bottom: 20px !important; }
    .treatment-cta { 
        padding: 40px 24px !important; 
        margin-top: 60px !important; 
        border-radius: 8px !important; 
    }
    .treatment-cta h3 { font-size: 28px !important; margin-bottom: 15px !important; }
    .treatment-cta p { font-size: 14px !important; margin-bottom: 25px !important; }
    .treatment-cta .btn { width: 100% !important; padding: 16px !important; font-size: 16px !important; }
}

@media (max-width: 768px) {
    .anim-up > h2[style*="font-size:48px"] { font-size: 28px !important; margin-bottom: 20px !important; }
}

/* --- Compact Mobile CTA Button --- */
@media (max-width: 768px) {
    .treatment-cta .btn { 
        width: auto !important; 
        padding: 12px 24px !important; 
        font-size: 13px !important; 
        display: inline-block !important; 
    }
}

/* --- Guide Page Mobile Overrides --- */
@media (max-width: 768px) {
    .anim-up > h2[style*="font-size:42px"] { font-size: 26px !important; margin-bottom: 20px !important; }
    .guide-content { font-size: 15px !important; line-height: 1.7 !important; }
    .guide-content h3 { font-size: 22px !important; font-family: var(--font-display) !important; margin-top: 40px !important; }
    .guide-cta { padding: 40px 20px !important; margin-top: 50px !important; }
    .guide-cta h3 { font-size: 24px !important; font-family: var(--font-display) !important; }
    .guide-cta p { font-size: 14px !important; }
    .guide-cta .btn { width: 100% !important; padding: 15px !important; font-size: 15px !important; }
}

/* --- FAQ Page Mobile Overrides --- */
@media (max-width: 768px) {
    .faq-layout { grid-template-columns: 1fr !important; gap: 40px !important; }
    .faq-tabs-list { display: flex !important; overflow-x: auto !important; padding-bottom: 10px !important; gap: 10px !important; scrollbar-width: none; }
    .faq-tabs-list::-webkit-scrollbar { display: none; }
    .faq-tab { flex: 0 0 auto !important; width: auto !important; padding: 10px 20px !important; font-size: 13px !important; white-space: nowrap !important; }
    
    .faq-panel h2 { font-size: 32px !important; margin-bottom: 15px !important; }
    .faq-trigger h3 { font-size: 18px !important; line-height: 1.4 !important; }
    .faq-body { font-size: 14px !important; line-height: 1.6 !important; }
    .faq-sidebar-cta { margin-top: 40px !important; padding: 30px 20px !important; }
    .faq-sidebar-cta h3 { font-size: 20px !important; }
    .faq-sidebar-cta p { font-size: 13px !important; }
}

/* --- FAQ Mobile Edge Spacing Fix --- */
@media (max-width: 768px) {
    .section .container[style*="max-width: 95%"] { 
        max-width: 100% !important; 
        padding: 0 24px !important; 
    }
    .faq-tabs-list { margin: 0 -24px 30px !important; padding: 0 24px 10px !important; }
}

/* --- FAQ Layout Reset --- */
.faq-layout { 
    display: grid; 
    grid-template-columns: 280px 1fr; 
    gap: 60px; 
}

@media (max-width: 1024px) {
    .faq-layout { 
        grid-template-columns: 1fr !important; 
        gap: 40px !important; 
    }
}

/* --- FAQ Categories Vertical Stack --- */
@media (max-width: 768px) {
    .faq-tabs-list { 
        display: block !important; 
        overflow-x: visible !important; 
        margin: 0 0 30px 0 !important; 
        padding: 0 !important; 
    }
    .faq-tab { 
        display: block !important; 
        width: 100% !important; 
        text-align: left !important; 
        margin-bottom: 10px !important; 
        padding: 16px !important; 
    }
}

/* --- Contact Page Mobile Fix --- */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-card { grid-column: auto !important; }
    .contact-card a { font-size: 14px !important; word-break: break-all !important; }
}

/* --- Mobile Sidebar Refinement --- */
.mobile-sidebar { 
    background: #ffffff !important; 
    box-shadow: -10px 0 30px rgba(0,0,0,0.1) !important;
}
.sidebar-header { border-bottom: 1px solid rgba(0,0,0,0.05) !important; }
.sidebar-close { color: var(--green-deep) !important; }

/* --- Sidebar Submenu Refinement --- */
.sidebar-submenu { 
    display: block !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin 0.3s ease !important;
    background: var(--surface) !important;
    border-radius: 8px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.sidebar-item.open .sidebar-submenu { 
    max-height: 500px !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 10px 24px !important;
    padding: 10px !important;
}

.sidebar-submenu a { 
    font-size: 13px !important; 
    padding: 12px 15px !important; 
    color: var(--text-mid) !important;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
    display: block !important;
}
.sidebar-submenu a:last-child { border-bottom: none !important; }

/* --- Treatment Archive Mobile Stacking --- */
@media (max-width: 768px) {
    .grid-3 { 
        grid-template-columns: 1fr !important; 
        gap: 20px !important; 
    }
    .treatment-archive-card {
        padding: 30px 20px !important;
        text-align: center !important;
    }
    .treatment-archive-card h3 { font-size: 20px !important; }
    .treatment-archive-card p { font-size: 13px !important; }
}

/* --- Full-Card Clickable Logic --- */
.card, .treatment-archive-card { 
    position: relative !important; 
    cursor: pointer !important; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.card:hover, .treatment-archive-card:hover { 
    transform: translateY(-8px) !important; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: var(--gold) !important;
}
.card-link::after { 
    content: "" !important;
    position: absolute !important;
    top: 0 !important; 
    right: 0 !important; 
    bottom: 0 !important; 
    left: 0 !important;
    z-index: 5 !important;
}
.card-link { position: static !important; }

/* --- Admin Bar Compatibility & Sidebar Fix --- */
.admin-bar .mobile-sidebar { top: 32px !important; height: calc(100vh - 32px) !important; }
@media screen and (max-width: 782px) {
    .admin-bar .mobile-sidebar { top: 46px !important; height: calc(100vh - 46px) !important; }
}

.mobile-sidebar { 
    /* Already defined above, cleaning up redundant important tags */
}

.sidebar-header { 
    padding: 20px 24px !important; 
    min-height: 70px !important;
    display: flex !important;
    align-items: center !important;
}

/* --- About Excerpt Formatting --- */
.about-excerpt-content {
    max-height: 400px;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}
.about-excerpt-content p { margin-bottom: 20px; }
.about-excerpt-content ul { 
    padding-left: 20px; 
    margin-bottom: 25px; 
    list-style-type: none;
}
.about-excerpt-content li { 
    margin-bottom: 12px; 
    position: relative;
    padding-left: 25px;
}
.about-excerpt-content li::before {
    content: "✦";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}
.about-excerpt-content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,252,243,0), var(--ivory));
    pointer-events: none;
}

/* --- Shared Premium Content Styling --- */
.treatment-content, .about-content-area {
    font-size: 18px !important;
    line-height: 1.85 !important;
    color: var(--text-mid) !important;
}
.treatment-content p, .about-content-area p { margin-bottom: 25px !important; }
.treatment-content h2, .about-content-area h2,
.treatment-content h3, .about-content-area h3 {
    font-family: var(--font-display) !important;
    color: var(--green-deep) !important;
    margin: 50px 0 25px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}
.treatment-content ul, .about-content-area ul {
    list-style: none !important;
    padding: 0 !important;
    margin-bottom: 35px !important;
}
.treatment-content li, .about-content-area li {
    position: relative !important;
    padding-left: 30px !important;
    margin-bottom: 18px !important;
    color: var(--text-mid) !important;
    list-style: none !important;
}

.treatment-content li::before, .about-content-area li::before {
    content: "✦" !important;
    position: absolute !important;
    left: 0 !important;
    color: var(--gold) !important;
    font-size: 14px !important;
    top: 2px !important;
}
.treatment-content strong, .about-content-area strong { color: var(--green-deep); font-weight: 600; }

/* --- Testimonial Slider Multi-Card Logic --- */
.reviews-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}
.reviews-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 30px;
}
.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    width: calc(33.333% - 20px);
}
.testimonial-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 12px;
    height: 100%;
    text-align: left !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.testimonial-stars { 
    color: var(--gold); 
    font-size: 16px; 
    margin-bottom: 20px; 
    text-align: left !important; 
}
.testimonial-text { 
    font-size: 16px; 
    line-height: 1.7; 
    font-style: italic; 
    margin-bottom: 30px; 
    opacity: 0.9;
    text-align: left !important;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left !important;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .testimonial-slide { flex: 0 0 calc(50% - 15px); width: calc(50% - 15px); }
}

@media (max-width: 768px) {
    .testimonial-slide { flex: 0 0 100%; width: 100%; }
    .testimonial-card { padding: 30px; }
}

/* --- Booking Page Mobile Overrides --- */
@media (max-width: 768px) {
    .booking-wrap { padding: 0 10px !important; }
    
    .booking-progress { 
        gap: 5px !important; 
        margin-bottom: 40px !important; 
    }
    .booking-step-num { 
        width: 32px !important; 
        height: 32px !important; 
        font-size: 14px !important; 
    }
    .booking-step-label { 
        font-size: 8px !important; 
        letter-spacing: 0.05em !important; 
    }
    
    .booking-step-panel h2 { 
        font-size: 28px !important; 
        margin-bottom: 15px !important; 
    }
    
    #treat-options { 
        grid-template-columns: 1fr !important; 
        gap: 10px !important; 
    }
    .treat-option { 
        padding: 16px 20px !important; 
    }
    .treat-option span:first-child { 
        font-size: 13px !important; 
    }
    
    .time-grid { 
        grid-template-columns: 1fr 1fr !important; 
        gap: 8px !important; 
    }
    .time-btn { 
        padding: 12px !important; 
        font-size: 13px !important; 
    }
    
    .summary-row { 
        flex-direction: column !important; 
        gap: 5px !important; 
        padding: 12px 0 !important; 
    }
    .summary-val { font-size: 14px !important; }
    
    .booking-step-panel .btn-row { 
        flex-direction: column !important; 
    }
    .booking-step-panel .btn { 
        width: 100% !important; 
        margin: 0 !important; 
    }
}

@media (max-width: 480px) {
    .booking-step-label { display: none !important; }
    .booking-progress { margin-bottom: 30px !important; }
}

/* --- Booking Hero Styling --- */
.booking-hero-title { 
    font-size: 56px; 
    margin-bottom: 10px;
    color: white;
}
@media (max-width: 768px) {
    .booking-hero-title { font-size: 32px !important; line-height: 1.2 !important; }
}

/* --- Professional Sidebar Transformation --- */
.mobile-sidebar {
    background: #ffffff !important;
    border-left: 1px solid rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.sidebar-header {
    background: var(--surface) !important;
    padding: 24px !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.sidebar-content {
    padding: 20px 0 !important;
    flex: 1 !important;
    overflow-y: auto !important;
}

.sidebar-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 16px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--green-deep) !important;
    transition: all 0.2s !important;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
}

.sidebar-link:hover {
    background: var(--surface) !important;
    color: var(--gold) !important;
}

.sidebar-link i {
    width: 20px !important;
    font-size: 14px !important;
    opacity: 0.7 !important;
}

/* --- Animated Submenu Logic --- */
.sidebar-submenu {
    background: #fdfdfd !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s !important;
    padding: 0 !important;
}

.sidebar-item.open .sidebar-submenu {
    max-height: 500px !important; /* Large enough to fit content */
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}

.sidebar-submenu a {
    padding: 12px 24px 12px 54px !important;
    font-size: 14px !important;
    color: var(--text-mid) !important;
    display: block !important;
    border-bottom: none !important;
}

.sidebar-submenu a:hover {
    color: var(--gold) !important;
    background: rgba(0,0,0,0.01) !important;
}

.sidebar-expand .nav-arrow {
    transition: transform 0.3s !important;
}

.sidebar-item.open .sidebar-expand .nav-arrow {
    transform: rotate(180deg) !important;
}

.sidebar-cta {
    background: var(--gold) !important;
    color: white !important;
    margin: 30px 24px !important;
    border-radius: 8px !important;
    justify-content: center !important;
    padding: 18px !important;
    font-weight: 600 !important;
    border: none !important;
}

.sidebar-footer {
    padding: 24px !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    background: var(--surface) !important;
}

.sidebar-contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 12px !important;
    font-size: 13px !important;
    color: var(--text-light) !important;
}

.sidebar-contact-item i { color: var(--gold) !important; font-size: 12px !important; }

/* --- Floating WhatsApp Button --- */
#float-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37,211,102,0.3);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#float-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37,211,102,0.4);
    color: white;
}

@media (max-width: 768px) {
    #float-wa {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}

/* --- Mobile Header Visibility Fix --- */
@media (max-width: 992px) {
    #navbar {
        background: transparent;
        transition: background 0.3s ease;
    }
    #navbar.scrolled {
        background: rgba(250,247,240,0.98) !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    }
    #navbar .nav-inner {
        height: 64px !important;
    }
}

/* --- Experience Box Base Styles --- */
.experience-box {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--gold);
    color: white;
    padding: 24px 28px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    z-index: 10;
}
.experience-box div:first-child {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 600;
}
.experience-box div:last-child {
    font-size: 12px;
    opacity: 0.85;
}

/* --- FORCE MICRO SCALE FOR MOBILE --- */
@media (max-width: 992px) {
    .img-wrap .experience-box {
        padding: 4px 8px !important;
        min-width: 40px !important;
        width: auto !important;
        height: auto !important;
        top: -10px !important;
        bottom: auto !important;
        right: -5px !important;
        border-radius: 2px !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1) !important;
    }
    .img-wrap .experience-box div:first-child {
        font-size: 12px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }
    .img-wrap .experience-box div:last-child {
        font-size: 5px !important;
        line-height: 1 !important;
        letter-spacing: 0.05em !important;
        text-transform: uppercase !important;
        margin: 0 !important;
    }
}

/* --- Preloader Animation --- */
@keyframes preloaderPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}
.anim-pulse {
    animation: preloaderPulse 2s infinite ease-in-out;
}

/* --- Admin Switch Toggle Styling --- */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}
.switch input { opacity: 0; width: 0; height: 0; }
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 24px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked + .slider { background-color: var(--gold); }
input:checked + .slider:before { transform: translateX(26px); }

/* Blog Card Mobile Fix */
@media (max-width: 768px) {
    .treatment-archive-card {
        text-align: left !important;
    }
    .treatment-archive-card h3, 
    .treatment-archive-card p, 
    .treatment-archive-card div,
    .treatment-archive-card a {
        text-align: left !important;
    }
    .section-header {
        text-align: left !important;
    }
    .section-header .gold-line.center {
        margin-left: 0 !important;
    }
}
