/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --gold: #2d5a3f;
    --gold-light: #3d7a55;
    --gold-dark: #1e3a2a;
    --brown: #c4aa78;
    --brown-light: #d9c49a;
    --brown-dark: #a08a5c;
    --cream: #e2d5be;
    --bg-black: #0b0d0a;
    --bg-dark: #10140f;
    --bg-charcoal: #161c14;
    --bg-card: #1a2117;
    --bg-card-hover: #212a1e;
    --border: rgba(45, 90, 63, 0.25);
    --border-subtle: rgba(226, 213, 190, 0.08);
    --text-primary: #e8e0d0;
    --text-secondary: #a09882;
    --text-muted: #5e584a;
    --glass: rgba(22, 28, 20, 0.8);
    --shadow: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-gold: 0 4px 20px rgba(45,90,63,0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-black);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brown); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

/* ============================================
   PRESENTATION HEADER
   ============================================ */
.presentation-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-charcoal) 100%);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem;
    text-align: center;
}
.presentation-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.presentation-header h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0.75rem auto 0;
}
.presentation-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-top: 0.5rem;
    font-weight: 300;
}

/* ============================================
   NAV TABS
   ============================================ */
.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem 2rem;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-subtle);
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}
.nav-tab {
    padding: 0.65rem 1.75rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.nav-tab:hover {
    border-color: var(--gold);
    color: var(--brown);
    background: rgba(45,90,63,0.08);
}
.nav-tab.active {
    background: var(--gold);
    color: var(--cream);
    border-color: var(--gold);
    font-weight: 600;
}

/* ============================================
   PAGE VIEW TRANSITIONS
   ============================================ */
.page-view { display: none; }
.page-view.active { display: block; animation: pageIn 0.6s ease forwards; }

@keyframes pageIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-container { max-width: 1400px; margin: 0 auto; padding: 2rem; }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
[data-animate="fade-right"] {
    transform: translateX(-40px);
}
[data-animate].visible {
    opacity: 1;
    transform: translate(0);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.7) 60%, var(--bg-black) 100%),
        url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?w=1600&h=900&fit=crop') center/cover no-repeat;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(45,90,63,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}
.hero-tag {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    border: 1px solid var(--brown-dark);
    border-radius: 50px;
    color: var(--brown);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.hero h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    font-weight: 700;
}
.text-gold { color: var(--brown); }

.hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.15rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Search Bar */
.search-bar {
    position: relative;
    max-width: 560px;
    margin: 0 auto 2.5rem;
}
.search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--text-muted);
}
.search-bar input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.25rem;
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    backdrop-filter: blur(20px);
    transition: all var(--transition);
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}
.hero-stat { text-align: center; }
.hero-stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--brown);
}
.hero-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}
.hero-scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 6rem 0; }
.section-dark { background: var(--bg-dark); }
.section-charcoal { background: var(--bg-charcoal); }
.section-inner { padding: 2rem 0; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border: 1px solid var(--brown-dark);
    border-radius: 50px;
    color: var(--brown);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}
.section-title.text-left { text-align: left; }
.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
    font-size: 1.05rem;
}
.subsection-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

/* ============================================
   SERVICE CARDS
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--border);
    box-shadow: var(--shadow);
}
.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover .service-card-image img { transform: scale(1.1); }
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.6) 0%, transparent 60%);
}
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    padding: 1.25rem 1.25rem 0.25rem;
    color: var(--text-primary);
}
.service-card p {
    padding: 0 1.25rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
}

/* ============================================
   PROVIDER CARDS
   ============================================ */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.provider-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.provider-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.provider-card-line {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.provider-card:hover .provider-card-line { transform: scaleX(1); }

.provider-card-badge {
    position: absolute;
    top: 1rem; right: 1rem;
    background: linear-gradient(135deg, var(--brown-dark), var(--brown));
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Filter transitions */
.provider-card.hidden {
    display: none;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}
.provider-card-image {
    width: 90px; height: 90px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: border-color var(--transition);
}
.provider-card:hover .provider-card-image { border-color: var(--gold); }
.provider-card-image img { width:100%; height:100%; object-fit:cover; }

.provider-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}
.provider-card-type { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 0.25rem; }
.provider-card-location { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
.provider-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.stars { color: var(--brown); letter-spacing: 2px; }

/* ============================================
   SPLIT SECTION (What Makes Us Different)
   ============================================ */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.split-content .section-tag { margin-bottom: 1rem; }
.check-list { list-style: none; margin-top: 2rem; }
.check-list li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
.check-list li:last-child { border-bottom: none; }
.check-icon {
    color: var(--brown);
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.1em;
}
.split-images { position: relative; }
.split-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.split-image-main img { width:100%; height:500px; object-fit:cover; }
.split-image-accent {
    position: absolute;
    bottom: -2rem;
    left: -2rem;
    width: 180px;
    height: 180px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 4px solid var(--bg-dark);
    box-shadow: var(--shadow);
}
.split-image-accent img { width:100%; height:100%; object-fit:cover; }

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    padding: 6rem 0;
    background:
        linear-gradient(135deg, rgba(45,90,63,0.08) 0%, transparent 50%),
        var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.cta-content { text-align: center; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(45,90,63,0.35);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--brown);
    background: rgba(45,90,63,0.08);
}
.btn-full { width: 100%; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all var(--transition);
}
.testimonial-card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
}
.testimonial-stars {
    color: var(--brown);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}
.testimonial-card p {
    color: var(--text-secondary);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-author img {
    width: 48px; height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.9rem;
}
.testimonial-author span {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--bg-black);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; max-width: 300px; }
.footer-links h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--brown); }
.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    padding-top: 2rem;
    text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ============================================
   SEARCH / DIRECTORY PAGE
   ============================================ */
.search-page-header { text-align: center; margin-bottom: 3rem; }
.search-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}
.filters-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    position: sticky;
    top: 6rem;
    height: fit-content;
}
.filters-sidebar h3 {
    font-family: var(--font-heading);
    color: var(--brown);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
.filter-group { margin-bottom: 1.25rem; }
.filter-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.7rem 0.75rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}
.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--gold);
}
.filter-group select option { background: var(--bg-charcoal); }

.results-area { min-width: 0; }
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.view-toggle { display: flex; gap: 0.4rem; }
.view-btn {
    padding: 0.4rem 0.9rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: all var(--transition);
}
.view-btn.active, .view-btn:hover {
    border-color: var(--gold);
    color: var(--brown);
    background: rgba(45,90,63,0.08);
}
.load-more { text-align: center; margin-top: 2.5rem; }

/* ============================================
   PROVIDER PROFILE PAGE
   ============================================ */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    transition: all var(--transition);
}
.back-btn:hover { border-color: var(--gold); color: var(--brown); }

.profile-hero {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
    align-items: start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    margin-bottom: 2rem;
}
.profile-hero-image {
    width: 160px; height: 160px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-gold);
}
.profile-hero-image img { width:100%; height:100%; object-fit:cover; }

.profile-hero-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}
.profile-credentials { color: var(--text-secondary); margin-bottom: 0.25rem; }
.profile-location { color: var(--text-muted); font-size: 0.9rem; }
.profile-actions { display: flex; gap: 0.75rem; margin-top: 1.25rem; flex-wrap: wrap; }

.profile-body {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}
.profile-main { display: flex; flex-direction: column; gap: 2rem; }
.profile-sidebar { display: flex; flex-direction: column; gap: 2rem; }

.profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
}
.profile-card h3 {
    font-family: var(--font-heading);
    color: var(--brown);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
.profile-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
}

.services-list { list-style: none; }
.services-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.services-list li:last-child { border-bottom: none; }
.price { color: var(--brown); font-weight: 600; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
.gallery-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition);
}
.gallery-item:hover { transform: scale(1.05); }
.gallery-item img { width:100%; height:100%; object-fit:cover; }

.hours-list { list-style: none; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.hours-list li:last-child { border-bottom: none; }

.cert-list { list-style: none; }
.cert-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.cert-list li::before { content: ''; }

.profile-address {
    color: var(--text-secondary) !important;
    font-size: 0.9rem !important;
    margin-bottom: 1rem !important;
}
.map-placeholder { border-radius: 10px; overflow: hidden; }

/* ============================================
   DASHBOARD
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition);
    position: relative;
}
.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--border);
}
.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--brown);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.stat-trend {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.stat-trend.up { color: #4ade80; }
.stat-trend.neutral { color: var(--text-muted); }

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}
.action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}
.action-card:hover {
    border-color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-gold);
}
.action-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.action-card h4 { color: var(--text-primary); font-size: 0.95rem; margin-bottom: 0.25rem; }
.action-card p { color: var(--text-muted); font-size: 0.85rem; }

.activity-list { list-style: none; }
.activity-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.activity-list li:last-child { border-bottom: none; }
.activity-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 0.4rem;
    flex-shrink: 0;
}
.activity-list strong { display: block; color: var(--text-primary); font-size: 0.95rem; }
.activity-list span { color: var(--text-muted); font-size: 0.8rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   ADMIN PANEL LAYOUT
   ============================================ */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 80vh;
    gap: 0;
}

/* Sidebar */
.admin-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border-subtle);
    padding: 0;
    position: sticky;
    top: 0;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    border-radius: var(--radius) 0 0 var(--radius);
}
.admin-sidebar-header {
    padding: 2rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}
.admin-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 0.75rem;
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-gold);
}
.admin-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-sidebar-header h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}
.admin-plan-badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--cream);
}

.admin-nav { padding: 1rem 0; }
.admin-nav-section { margin-bottom: 0.5rem; }
.admin-nav-label {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
    transition: all var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
}
.admin-nav-item:hover {
    color: var(--text-primary);
    background: rgba(45,90,63,0.08);
}
.admin-nav-item.active {
    color: var(--brown);
    background: rgba(45,90,63,0.12);
    border-left-color: var(--gold);
    font-weight: 600;
}
.admin-nav-icon { font-size: 1rem; flex-shrink: 0; }

/* Main Content */
.admin-main {
    padding: 2rem;
    min-width: 0;
}
.admin-page { display: none; }
.admin-page.active { display: block; animation: pageIn 0.4s ease forwards; }

.admin-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.admin-page-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-primary);
}
.admin-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Stat Cards */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.admin-stat-card {
    background: var(--bg-charcoal);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all var(--transition);
}
.admin-stat-card:hover {
    transform: translateY(-3px);
    border-color: var(--border);
    box-shadow: var(--shadow);
}
.admin-stat-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.admin-stat-number {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.admin-stat-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Admin Cards */
.admin-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.admin-card-header h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-size: 1.2rem;
}
.admin-card-title {
    font-family: var(--font-heading);
    color: var(--brown);
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
.admin-link {
    color: var(--brown);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: color var(--transition);
}
.admin-link:hover { color: var(--brown-light); }

/* Admin Tables */
.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
    white-space: nowrap;
}
.admin-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}
.admin-table td {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}
.admin-table tbody tr:hover {
    background: rgba(45,90,63,0.04);
}
.admin-table tbody tr:last-child td { border-bottom: none; }

.client-cell {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-primary);
    font-weight: 500;
}
.client-cell img {
    width: 32px; height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.7rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}
.status-badge.confirmed {
    background: rgba(45,90,63,0.15);
    color: #6bbb7e;
}
.status-badge.pending {
    background: rgba(196,170,120,0.15);
    color: var(--brown);
}
.status-badge.completed {
    background: rgba(100,100,100,0.15);
    color: var(--text-secondary);
}
.status-badge.cancelled {
    background: rgba(239,68,68,0.12);
    color: #f87171;
}

.table-action-btn {
    padding: 0.3rem 0.8rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition);
}
.table-action-btn:hover {
    border-color: var(--gold);
    color: var(--brown);
}
.table-action-btn.danger {
    border-color: rgba(239,68,68,0.3);
    color: #f87171;
}
.table-action-btn.danger:hover {
    background: rgba(239,68,68,0.1);
    border-color: #ef4444;
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
    background: var(--bg-charcoal);
    padding: 0.3rem;
    border-radius: 10px;
    width: fit-content;
}
.admin-tab {
    padding: 0.55rem 1.25rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all var(--transition);
}
.admin-tab:hover { color: var(--text-secondary); }
.admin-tab.active {
    background: var(--gold);
    color: var(--cream);
    font-weight: 600;
}

/* ============================================
   CALENDAR
   ============================================ */
.calendar-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
}
.calendar-grid-wrap {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 0.5rem;
}
.calendar-weekdays div {
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    gap: 3px;
}
.calendar-day:hover {
    background: rgba(45,90,63,0.1);
    color: var(--text-primary);
}
.calendar-day.today {
    background: var(--gold);
    color: var(--cream);
    font-weight: 700;
}
.calendar-day.has-event::after {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--brown);
    position: absolute;
    bottom: 6px;
}
.calendar-day.today.has-event::after {
    background: var(--cream);
}
.calendar-day.selected {
    background: var(--gold-dark);
    color: var(--cream);
    font-weight: 600;
}
.calendar-day.other-month {
    color: var(--text-muted);
    opacity: 0.4;
}
.cal-nav-btn {
    width: 36px; height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition);
}
.cal-nav-btn:hover {
    border-color: var(--gold);
    color: var(--brown);
}
.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.calendar-nav span {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    min-width: 140px;
    text-align: center;
}

/* Calendar Detail Panel */
.calendar-detail {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 2rem;
}
.calendar-detail h3 {
    font-family: var(--font-heading);
    color: var(--brown);
    font-size: 1.15rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}
#cal-detail-empty {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-style: italic;
}
.cal-appointment {
    padding: 1rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.cal-appointment:last-child { margin-bottom: 0; }
.cal-appt-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}
.cal-appt-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}
.cal-appt-service {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ============================================
   ADMIN FORMS
   ============================================ */
.admin-form { display: flex; flex-direction: column; gap: 0.5rem; }
.form-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; }
.form-section h3 {
    font-family: var(--font-heading);
    color: var(--brown);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.admin-form input,
.admin-form select,
.admin-form textarea {
    padding: 0.7rem 0.85rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: border-color var(--transition);
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.admin-form input[readonly] {
    background: rgba(22,28,20,0.5);
    color: var(--text-muted);
}
.admin-form textarea { resize: vertical; line-height: 1.6; }
.admin-form select option { background: var(--bg-charcoal); }
.form-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ============================================
   HOURS EDITOR
   ============================================ */
.hours-editor { display: flex; flex-direction: column; gap: 0.5rem; }
.hours-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.hours-row:last-child { border-bottom: none; }
.hours-day {
    width: 100px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.hours-to {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.hours-row input[type="time"] {
    padding: 0.45rem 0.6rem;
    background: var(--bg-charcoal);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
}
.hours-row input[type="time"]:focus {
    outline: none;
    border-color: var(--gold);
}

/* Toggle Switches */
.toggle-label {
    position: relative;
    display: inline-block;
    width: 44px; height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}
.toggle-label input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-charcoal);
    border-radius: 50px;
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--text-muted);
    left: 2px; top: 2px;
    transition: all 0.3s ease;
}
.toggle-label input:checked + .toggle-slider {
    background: var(--gold);
    border-color: var(--gold);
}
.toggle-label input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: var(--cream);
}

/* ============================================
   GALLERY UPLOAD
   ============================================ */
.gallery-upload-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
}
.gallery-thumb {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-remove {
    position: absolute;
    top: 6px; right: 6px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.gallery-thumb:hover .gallery-remove { opacity: 1; }

.gallery-dropzone {
    aspect-ratio: 1;
    border: 2px dashed var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.gallery-dropzone:hover {
    border-color: var(--gold);
    background: rgba(45,90,63,0.05);
}
.dropzone-content {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.82rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.dropzone-icon { font-size: 1.8rem; }
.dropzone-content strong { color: var(--brown); }

/* ============================================
   CERTIFICATIONS EDITOR
   ============================================ */
.cert-editor { margin-top: 1rem; }
.cert-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.cert-row:last-child { border-bottom: none; }

/* ============================================
   SETTINGS
   ============================================ */
.settings-toggles { display: flex; flex-direction: column; }
.setting-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}
.setting-row:last-child { border-bottom: none; }
.setting-row strong {
    color: var(--text-primary);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.15rem;
}
.setting-row p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 0;
}

.subscription-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}
.sub-plan {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.sub-plan-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
}
.sub-plan-price {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--cream);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}
.sub-actions {
    display: flex;
    gap: 0.75rem;
}

.danger-zone {
    border-color: rgba(239,68,68,0.2);
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
.toast {
    position: fixed;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--cream);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}
.toast.show {
    bottom: 2rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1200px) {
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .calendar-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hero { min-height: 80vh; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .hero-stat-divider { width: 40px; height: 1px; }
    .services-grid { grid-template-columns: 1fr; }
    .split-section { grid-template-columns: 1fr; gap: 2rem; }
    .split-image-accent { display: none; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .search-layout { grid-template-columns: 1fr; }
    .filters-sidebar { position: static; }
    .profile-hero { grid-template-columns: 1fr; text-align: center; }
    .profile-hero-image { margin: 0 auto; }
    .profile-actions { justify-content: center; }
    .profile-body { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .nav-tabs { gap: 0.5rem; }
    .nav-tab { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: static;
        max-height: none;
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
        border-radius: var(--radius) var(--radius) 0 0;
    }
    .admin-sidebar-header { padding: 1.25rem; }
    .admin-nav { display: flex; overflow-x: auto; padding: 0.5rem; gap: 0; }
    .admin-nav-section { display: flex; gap: 0; margin: 0; }
    .admin-nav-label { display: none; }
    .admin-nav-item {
        white-space: nowrap;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
    .admin-nav-item.active {
        border-left: none;
        border-bottom-color: var(--gold);
    }
    .admin-main { padding: 1.25rem; }
    .form-row { grid-template-columns: 1fr; }
    .admin-stats-grid { grid-template-columns: 1fr 1fr; }
}
