:root {
    /* Primary: Deep Forest Green */
    --primary: var(--theme-primary, #065f46);
    --primary-dark: var(--theme-primary-dark, #022c22);
    --primary-mid: var(--theme-primary-mid, #047857);
    --primary-light: var(--theme-primary-light, #a7f3d0);
    --primary-tint: var(--theme-primary-tint, #f0fdf4);
    --primary-tint-strong: var(--theme-primary-tint-strong, #dcfce7);
    --primary-border: var(--theme-primary-border, #6ee7b7);

    /* Backgrounds: Warm & Neutral */
    --bg: var(--theme-bg, #fafafa);
    --surface: var(--theme-surface, #ffffff);
    --surface-soft: var(--theme-surface-soft, #f5f5f5);

    /* Text: Deep Charcoal */
    --text: var(--theme-text, #171717);
    --text-soft: var(--theme-text-soft, #525252);
    --muted: var(--theme-muted, #737373);
    --muted-soft: var(--theme-muted-soft, #a3a3a3);
    --dark: var(--theme-dark, #0a0a0a);

    /* Borders & Inputs */
    --border: var(--theme-border, #e5e5e5);
    --input-bg: var(--theme-input-bg, #ffffff);
    --input-border: var(--theme-input-border, #d4d4d4);

    /* Semantic Colors */
    --success: var(--theme-success, #16a34a);
    --success-bg: var(--theme-success-bg, #f0fdf4);
    --success-border: var(--theme-success-border, #bbf7d0);
    --danger: var(--theme-danger, #b91c1c);
    --danger-bg: var(--theme-danger-bg, #fef2f2);
    --danger-border: var(--theme-danger-border, #fecaca);

    /* Footer */
    --footer-bg: var(--theme-footer-bg, #171717);
    --footer-bg-alt: var(--theme-footer-bg-alt, #0a0a0a);
    --footer-surface: var(--theme-footer-surface, #262626);
    --footer-text: var(--theme-footer-text, #f5f5f5);
    --footer-muted: var(--theme-footer-muted, #a3a3a3);

    /* Base */
    --white: var(--theme-white, #ffffff);
    --white-rgb: var(--theme-white-rgb, 255, 255, 255);
    --primary-rgb: var(--theme-primary-rgb, 6, 95, 70);
    --dark-rgb: var(--theme-dark-rgb, 10, 10, 10);
    --radius: 6px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, p { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ── HEADER ── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(var(--white-rgb), 0.95);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(10px);
}

.site-header.scrolled { border-color: var(--border); }

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon, .logo-accent { color: var(--primary); }
.logo-text { font-family: "DM Serif Display", serif; font-size: 22px; }

.main-nav { margin-left: auto; display: flex; gap: 6px; }

.nav-link {
    padding: 7px 12px;
    border-radius: 8px;
    color: black;
    font-size: 16px;
}

.nav-link:hover, .nav-link.active {
    background: var(--surface-soft);
    color: var(--text);
}

.header-cta { display: flex; gap: 8px; }

.btn-ghost { padding: 7px 12px; border-radius: 8px; color: var(--muted); }
.btn-ghost:hover { background: var(--surface-soft); color: var(--text); }

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
}

.btn-header-cta:hover { background: var(--primary-dark); }

.mobile-nav-actions { display: none; }

.mobile-toggle {
    display: none;
    margin-left: auto;
    background: none;
    border: 0;
    padding: 6px;
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    margin: 4px 0;
}

/* ── ROLE SWITCH ── */
.role-switch-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-soft);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.role-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.3s;
    text-transform: uppercase;
}

.role-label.active-role { color: var(--primary); }

.role-switch {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
}

.role-switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

input:checked+.slider { background-color: var(--primary); }
input:focus+.slider { box-shadow: 0 0 1px var(--primary); }
input:checked+.slider:before { transform: translateX(16px); }
.slider.round { border-radius: 20px; }
.slider.round:before { border-radius: 50%; }

/* ── ONBOARDING POPUP MODAL ── */
.role-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(var(--dark-rgb), 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modalFadeIn 0.4s ease-out forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; backdrop-filter: blur(0px); }
    to   { opacity: 1; backdrop-filter: blur(8px); }
}

.role-modal-content {
    background: var(--surface);
    border-radius: 24px;
    padding: 48px;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 32px 64px rgba(var(--dark-rgb), 0.4);
    transform: translateY(20px) scale(0.95);
    animation: modalScaleUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp { to { transform: translateY(0) scale(1); } }

.role-modal-header { text-align: center; margin-bottom: 40px; }
.role-modal-header h2 { font-family: "DM Serif Display", serif; font-size: 36px; color: var(--text); margin-bottom: 12px; }
.role-modal-header p { font-size: 16px; color: var(--muted); }

.role-cards-container { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

@media (max-width: 768px) {
    .role-cards-container { grid-template-columns: 1fr; }
    .role-modal-content { padding: 32px 24px; }
}

.role-card {
    background: var(--surface-soft);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text);
}

.role-card:hover {
    background: var(--primary-tint);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(var(--primary-rgb), 0.1);
}

.role-card-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 8px 16px rgba(var(--dark-rgb), 0.05);
    transition: transform 0.3s ease;
}

.role-card:hover .role-card-icon { transform: scale(1.1); background: var(--primary); color: var(--white); }
.role-card h3 { font-size: 20px; font-weight: 700; color: var(--text); }
.role-card p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ── HERO ── */
.hero-fullwidth {
    position: relative;
    min-height: 540px;
    background:
        linear-gradient(rgba(var(--dark-rgb), 0.7), rgba(var(--dark-rgb), 0.7)),
        url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?w=1600&q=80") center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-rgb), 0.06);
    z-index: 0;
    pointer-events: none;
}

.hero-shape { position: absolute; bottom: 0; width: 100%; height: 60px; }

.hero-fw-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.hero-fw-content { max-width: 640px; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(var(--white-rgb), 0.3);
    color: var(--white);
    font-size: 13px;
}

.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }

.hero-fw-title {
    margin-top: 14px;
    font-family: "DM Serif Display", serif;
    font-size: 56px;
    line-height: 1.08;
    color: var(--white);
}

.hero-hl { color: var(--primary-light); }

.hero-fw-sub {
    margin-top: 16px;
    color: rgba(var(--white-rgb), 0.8);
    max-width: 580px;
    font-size: 15px;
    line-height: 1.6;
}

.hero-fw-actions { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    padding: 11px 18px;
    font-weight: 600;
    border: 1px solid transparent;
    font-size: 14px;
}

.btn-white { background: var(--white); color: var(--text); }
.btn-white:hover { background: var(--primary-tint); }
.btn-outline-white { border-color: rgba(var(--white-rgb), 0.5); color: var(--white); }
.btn-outline-white:hover { background: rgba(var(--white-rgb), 0.1); }

.hero-stats-row {
    display: flex;
    gap: 20px;
    width: fit-content;
    border: 1px solid rgba(var(--white-rgb), 0.2);
    border-radius: 12px;
    padding: 14px 18px;
    background: rgba(var(--dark-rgb), 0.4);
    backdrop-filter: blur(8px);
}

.hero-stat strong { display: block; color: var(--white); font-size: 24px; line-height: 1; }
.hero-stat span { color: rgba(var(--white-rgb), 0.7); font-size: 12px; }
.hero-stat-sep { width: 1px; background: rgba(var(--white-rgb), 0.2); }

/* ── ENQUIRY FORM ── */
.hero-video-wrap {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(var(--white-rgb), 0.15);
    background: var(--white);
    box-shadow: 0 24px 60px rgba(var(--dark-rgb), 0.3);
    z-index: 10;
    margin-right: 90px;
}

.hero-enquiry-form {
    padding: 24px 22px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-enquiry-form .form-header { margin-bottom: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.hero-enquiry-form .form-header h3 { color: var(--text); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.hero-enquiry-form .form-header p { color: var(--muted); font-size: 12px; margin-top: 2px; }

.form-field { display: flex; flex-direction: column; gap: 4px; }

.form-field label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-soft);
}

.hero-enquiry-form input,
.hero-enquiry-form textarea {
    width: 100%;
    border: 1px solid var(--input-border);
    background: var(--input-bg);
    border-radius: 8px;
    padding: 9px 11px;
    font-size: 13.5px;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    -webkit-appearance: none;
}

.hero-enquiry-form input::placeholder,
.hero-enquiry-form textarea::placeholder { color: var(--muted-soft); }

.hero-enquiry-form input:focus,
.hero-enquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.hero-enquiry-form textarea { resize: none; min-height: 68px; }
.hero-enquiry-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.hero-enquiry-form button {
    margin-top: 2px;
    border: none;
    background: var(--primary);
    color: var(--white);
    border-radius: 9px;
    padding: 11px 10px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    letter-spacing: 0.01em;
    font-family: inherit;
    transition: background 0.18s, transform 0.12s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.hero-enquiry-form button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.hero-enquiry-form button svg { flex-shrink: 0; }

.enquiry-success {
    font-size: 12px;
    color: var(--success);
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    border-radius: 8px;
    padding: 8px 10px;
}

.enquiry-error {
    font-size: 12px;
    color: var(--danger);
    background: var(--danger-bg);
    border: 1px solid var(--danger-border);
    border-radius: 8px;
    padding: 8px 10px;
}

/* ── VALUE STRIP ── */
.value-strip { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.value-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 58px;
    padding: 8px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.value-item { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }

.vi-icon {
    width: 30px; height: 30px;
    border-radius: 8px;
    background: var(--primary-tint);
    display: flex; align-items: center; justify-content: center;
}

.vs-sep { color: var(--muted-soft); font-size: 20px; }

/* ── PAGE ── */
.page { max-width: 1200px; margin: 0 auto; width: 100%; padding: 36px 20px 60px; }
.admin-section { background: transparent; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 26px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 18px;
}

.section-eyebrow { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.section-title { margin-top: 6px; font-family: "DM Serif Display", serif; font-size: 34px; color: var(--text); }
.section-desc { margin-top: 10px; color: var(--muted); max-width: 560px; line-height: 1.6; }

/* ── EXPERT NETWORK LAYOUT ── */
.expert-network-page { position: relative; padding-bottom: 60px; }

.expert-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
    margin-top: 32px;
}

@media (max-width: 991px) { .expert-layout { grid-template-columns: 1fr; } }

/* ── SIDEBAR FILTER ── */
.expert-sidebar {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px 20px;
    position: sticky;
    top: 100px;
    box-shadow: 0 4px 12px rgba(var(--dark-rgb), 0.02);
}

.filter-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--text); padding-bottom: 12px; border-bottom: 1px solid var(--border); }

.filter-checkboxes { display: flex; flex-direction: column; gap: 14px; }

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-soft);
    position: relative;
    user-select: none;
    transition: color 0.2s;
}

.filter-checkbox:hover { color: var(--text); }
.filter-checkbox input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }

.checkmark {
    height: 18px; width: 18px;
    background-color: var(--surface-soft);
    border: 1px solid var(--input-border);
    border-radius: 4px;
    margin-right: 12px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    flex-shrink: 0;
}

.filter-checkbox:hover input~.checkmark { border-color: var(--primary-light); }
.filter-checkbox input:checked~.checkmark { background-color: var(--primary); border-color: var(--primary); }

.checkmark:after {
    content: "";
    display: none;
    width: 4px; height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.filter-checkbox input:checked~.checkmark:after { display: block; }

/* ── CITY SEARCH ── */
.city-search-input {
    width: 100%;
    border: 1.5px solid var(--input-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text);
    background-color: var(--input-bg);
    transition: all 0.2s ease;
    outline: none;
}

.city-search-input::placeholder { color: var(--muted-soft); font-weight: 400; }
.city-search-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1); }
.city-search-input::-webkit-calendar-picker-indicator { display: none !important; }

.city-search-wrapper { position: relative; width: 100%; margin-bottom: 20px; }
.city-search-wrapper .city-search-input { margin-bottom: 0 !important; }

.city-suggestions-box {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(var(--dark-rgb), 0.15);
    margin-top: 6px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.city-suggestion-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.15s;
}

.city-suggestion-item:hover { background: var(--surface-soft); }
.city-suggestion-item svg { color: var(--muted-soft); flex-shrink: 0; }
.suggestion-match { font-weight: 700; color: var(--primary); }

.city-search-btn {
    border: 1.5px solid var(--primary);
    background: var(--primary);
    color: var(--white);
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.city-search-btn:hover { background: var(--primary-tint-strong); box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.15); }

.view-all-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
}

.view-all-btn:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(var(--primary-rgb), 0.2); }

/* ── ADMIN CARDS ── */
.expert-main .admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }

.admin-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.top-listed-card {
    border: 2px solid var(--primary-border);
    background: linear-gradient(to bottom right, var(--white), var(--primary-tint-strong));
    position: relative;
}

.top-listed-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
    z-index: 2;
}

.card-hero .top-listed-badge { position: absolute; top: 12px; right: 12px; }

.admin-card {
    background: var(--white);
    color: var(--text);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.admin-card:hover { box-shadow: 0 8px 28px rgba(var(--dark-rgb), 0.08); transform: translateY(-2px); }

.card-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--surface-soft);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.card-hero-photo-fallback {
    display: flex; align-items: center; justify-content: center;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-tint-strong) 0%, var(--primary-tint) 100%);
}

.card-hero-photo-fallback svg { color: var(--primary-light); }

.card-hero-badge {
    position: absolute;
    top: 12px; left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(var(--primary-rgb), 0.9);
    color: var(--white);
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    padding: 4px 10px;
    backdrop-filter: blur(4px);
    letter-spacing: 0.03em;
}

.card-hero-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-light); }

.card-body {
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.admin-meta h3 { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.3; }
.admin-role { font-size: 12px; color: var(--muted); margin-top: 2px; }

.admin-email {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12.5px;
    display: flex; align-items: center; gap: 6px;
    word-break: break-all;
    transition: color 0.15s;
}

.admin-email:hover { color: var(--primary); }
.admin-email svg { color: var(--primary); flex-shrink: 0; }

.admin-divider { height: 1px; background: var(--border); margin: 12px 0; }

.services-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.services-tags { display: flex; flex-wrap: wrap; gap: 5px; }

.service-tag {
    padding: 4px 9px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface-soft);
    color: var(--text-soft);
    font-size: 11.5px;
    font-weight: 500;
}

.price-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: var(--success);
    border-radius: 6px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    width: fit-content;
}

.admin-cta {
    margin-top: auto;
    padding: 12px 18px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    transition: background 0.15s;
}

.admin-cta:hover { background: var(--primary-tint); }
.admin-cta svg { transition: transform 0.15s; }
.admin-cta:hover svg { transform: translateX(3px); }

.empty-state {
    grid-column: 1 / -1;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    background: var(--white);
    color: var(--muted);
    text-align: center;
    padding: 48px 20px;
}

/* ── FOOTER ── */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 0; border-top: 1px solid var(--footer-surface); }
.logo-footer .logo-text { color: var(--white); }
.logo-footer .logo-icon { color: var(--primary-light); }
.footer-tagline { color: var(--footer-muted); }
.footer-col h4 { color: var(--white); }
.footer-col a { color: var(--footer-muted); }
.footer-col a:hover { color: var(--primary-border); }
.footer-bottom { border-top: 1px solid var(--footer-surface); }
.footer-bottom p { color: var(--footer-muted); }

/* ── RESPONSIVE (original) ── */
@media (max-width: 1024px) {
    .hero-fw-title { font-size: 44px; }
    .hero-video-wrap { width: 300px; right: 20px; }
    .admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
    .header-cta { display: none; }

    .role-switch-wrapper {
        position: static; margin-left: auto; z-index: auto;
        box-shadow: none; border-width: 1px; padding: 4px 8px; gap: 6px;
    }

    .role-label { font-size: 10px; }

    .mobile-toggle { display: block; margin-left: 8px; position: relative; z-index: 10002; }

    .main-nav {
        display: none; flex-direction: column;
        position: fixed; top: 0; right: -330px;
        width: min(82vw, 320px); height: 100vh;
        background: var(--white); border-left: 1px solid var(--border);
        padding: 78px 16px 18px; z-index: 10001; margin-left: 0; gap: 8px;
        transition: right .25s ease, visibility .25s ease;
        overflow-y: auto;
        box-shadow: -10px 0 28px rgba(var(--dark-rgb), 0.18);
        visibility: hidden; pointer-events: none;
    }

    .main-nav::before {
        content: ''; position: fixed; inset: 0;
        background: rgba(var(--dark-rgb), 0.35);
        opacity: 0; pointer-events: none; transition: opacity .2s ease; z-index: -1;
    }

    .main-nav.open { display: flex; right: 0; visibility: visible; pointer-events: auto; }
    .main-nav.open::before { opacity: 1; pointer-events: auto; }
    .main-nav .nav-link { width: 100%; font-size: 15px; padding: 10px 12px; border-radius: 10px; }
    .mobile-nav-actions { display: flex; flex-direction: column; }

    .hero-fullwidth { min-height: auto; }
    .hero-fw-inner { padding: 52px 16px 320px; }
    .hero-fw-title { font-size: 34px; }

    .hero-video-wrap {
        position: relative; right: auto; top: auto; transform: none;
        width: calc(100% - 32px); margin: -280px auto 0;
    }

    .hero-stats-row { gap: 14px; padding: 12px 14px; flex-wrap: wrap; }
    .hero-stat strong { font-size: 20px; }
    .hero-stat-sep { display: none; }
    .hero-enquiry-form .form-row { grid-template-columns: 1fr; }

    .page { padding: 28px 14px 48px; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .section-title { font-size: 28px; }
    .city-search-input { width: 100%; min-width: 0; }
}

@media (max-width: 480px) {
    .admin-grid { grid-template-columns: 1fr; }
    .hero-fw-title { font-size: 28px; }
}


/* ══════════════════════════════════════════════════════
   CRM SECTION V2 — NEW REDESIGNED STYLES
   Uses .crm-v2- prefix — no conflicts with anything above
══════════════════════════════════════════════════════ */

.crm-section-v2 {
    position: relative;
    overflow: hidden;
    background: #020f09;
    padding: 0;
}

.crm-v2-bg-mesh {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.crm-v2-bg-mesh::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6,95,70,0.35) 0%, transparent 70%);
}

.crm-v2-bg-mesh::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(4,120,87,0.2) 0%, transparent 70%);
}

.crm-v2-grid-lines {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image:
        linear-gradient(rgba(6,95,70,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6,95,70,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* HERO */
.crm-v2-hero {
    position: relative;
    z-index: 2;
    padding: 80px 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.crm-v2-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(167,243,208,0.1);
    border: 1px solid rgba(110,231,183,0.3);
    border-radius: 999px;
    padding: 6px 14px 6px 8px;
    margin-bottom: 24px;
}

.crm-v2-eyebrow-dot {
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #065f46;
    display: flex; align-items: center; justify-content: center;
    color: #a7f3d0;
}

.crm-v2-eyebrow span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #a7f3d0;
}

.crm-v2-hero h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 54px;
    line-height: 1.08;
    color: #ffffff;
    max-width: 720px;
    margin: 0;
}

.crm-v2-hero h2 em {
    font-style: italic;
    color: #6ee7b7;
}

.crm-v2-hero-sub {
    margin-top: 18px;
    font-size: 16px;
    color: #94a3b8;
    max-width: 600px;
    line-height: 1.75;
    margin-bottom: 0;
}

/* TICKER */
.crm-v2-ticker {
    position: relative;
    z-index: 2;
    margin: 48px auto 0;
    max-width: 1200px;
    padding: 0 40px;
    display: flex;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
}

.crm-v2-ticker-item {
    flex: 1;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.06);
    transition: background 0.3s;
}

.crm-v2-ticker-item:last-child { border-right: none; }
.crm-v2-ticker-item:hover { background: rgba(6,95,70,0.15); }

.crm-v2-ticker-value {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: 'DM Serif Display', serif;
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.crm-v2-ticker-value sup {
    font-size: 16px;
    font-weight: 700;
    color: #6ee7b7;
    font-family: 'DM Sans', sans-serif;
}

.crm-v2-ticker-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.crm-v2-ticker-desc {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.5;
    margin-top: 2px;
}

.crm-v2-ticker-accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #047857, #6ee7b7);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.crm-v2-ticker-item:hover .crm-v2-ticker-accent { transform: scaleX(1); }

/* BODY GRID */
.crm-v2-body {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 40px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* SHARED CARD */
.crm-v2-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, background 0.3s;
}

.crm-v2-card:hover {
    border-color: rgba(110,231,183,0.2);
    background: rgba(6,95,70,0.08);
}

.crm-v2-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.crm-v2-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(6,95,70,0.4);
    border: 1px solid rgba(110,231,183,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #6ee7b7;
    flex-shrink: 0;
}

.crm-v2-card-header h3 { font-size: 18px; font-weight: 700; color: #ffffff; margin: 0; }
.crm-v2-card-header p { font-size: 12px; color: #64748b; margin: 2px 0 0; }

/* WORKFLOW */
.crm-v2-workflow-steps { display: flex; flex-direction: column; }

.crm-v2-wf-step {
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 28px;
}

.crm-v2-wf-step:last-child { padding-bottom: 0; }

.crm-v2-wf-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.crm-v2-wf-num {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #065f46;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 4px rgba(6,95,70,0.3), 0 0 20px rgba(6,95,70,0.4);
}

.crm-v2-wf-line {
    width: 1px;
    flex: 1;
    background: linear-gradient(to bottom, rgba(110,231,183,0.3), transparent);
    margin-top: 6px;
}

.crm-v2-wf-content { padding-top: 5px; }
.crm-v2-wf-content h4 { font-size: 14.5px; font-weight: 700; color: #e2e8f0; margin: 0 0 5px; }
.crm-v2-wf-content p { font-size: 13px; color: #64748b; line-height: 1.65; margin: 0; }

/* TRACTION */
.crm-v2-traction-nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    flex: 1;
}

.crm-v2-tnum-box {
    background: rgba(6,95,70,0.15);
    border: 1px solid rgba(110,231,183,0.2);
    border-radius: 14px;
    padding: 20px;
}

.crm-v2-tnum-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #6ee7b7; margin-bottom: 8px; }
.crm-v2-tnum-val { font-size: 42px; font-weight: 800; color: #fff; font-family: 'DM Serif Display', serif; line-height: 1; }
.crm-v2-tnum-desc { font-size: 13px; color: #94a3b8; margin-top: 6px; line-height: 1.5; }

/* CHECKLIST */
.crm-v2-checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }

.crm-v2-check-item { display: flex; align-items: center; gap: 10px; }

.crm-v2-check-icon {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: rgba(6,95,70,0.4);
    border: 1px solid rgba(110,231,183,0.3);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.crm-v2-check-item span { font-size: 13px; color: #94a3b8; }

/* FEATURES CARD */
.crm-v2-features-card { grid-column: 1 / -1; }

.crm-v2-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.crm-v2-feat-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 18px;
    transition: all 0.3s;
}

.crm-v2-feat-item:hover {
    background: rgba(6,95,70,0.12);
    border-color: rgba(110,231,183,0.25);
    transform: translateY(-3px);
}

.crm-v2-feat-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.crm-v2-feat-title { font-size: 13.5px; font-weight: 700; color: #e2e8f0; }
.crm-v2-feat-pct { font-size: 22px; font-weight: 800; color: #6ee7b7; font-family: 'DM Serif Display', serif; line-height: 1; }

.crm-v2-feat-track {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 10px;
}

.crm-v2-feat-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #047857, #6ee7b7);
    transition: width 1.2s cubic-bezier(0.16,1,0.3,1);
}

.crm-v2-feat-desc { font-size: 12px; color: #64748b; line-height: 1.55; margin: 0; }

/* BOTTOM ROW */
.crm-v2-bottom-row {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 20px;
}

.crm-v2-trust-stack { display: flex; flex-direction: column; gap: 14px; }

.crm-v2-trust-card {
    flex: 1;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s;
}

.crm-v2-trust-card:hover {
    background: rgba(6,95,70,0.1);
    border-color: rgba(110,231,183,0.2);
}

.crm-v2-trust-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: rgba(6,95,70,0.4);
    border: 1px solid rgba(110,231,183,0.2);
    display: flex; align-items: center; justify-content: center;
    color: #6ee7b7;
    flex-shrink: 0;
}

.crm-v2-trust-val { font-size: 34px; font-weight: 800; color: #ffffff; font-family: 'DM Serif Display', serif; line-height: 1; }
.crm-v2-trust-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: #6ee7b7; margin-bottom: 3px; }
.crm-v2-trust-desc { font-size: 13px; color: #94a3b8; line-height: 1.55; margin: 0; }

/* PLANS */
.crm-v2-plans-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px;
}

.crm-v2-plans-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.crm-v2-plan-item {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 18px 16px;
    background: rgba(255,255,255,0.02);
    position: relative;
    transition: all 0.3s;
}

.crm-v2-plan-item:hover {
    background: rgba(6,95,70,0.2);
    border-color: rgba(110,231,183,0.3);
    transform: translateY(-4px);
}

.crm-v2-plan-featured {
    border-color: rgba(110,231,183,0.4) !important;
    background: rgba(6,95,70,0.2) !important;
}

.crm-v2-plan-badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: #065f46;
    border: 1px solid rgba(110,231,183,0.4);
    color: #a7f3d0;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.crm-v2-plan-name { font-size: 14px; font-weight: 700; color: #e2e8f0; margin-bottom: 8px; }

.crm-v2-plan-price {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'DM Serif Display', serif;
    line-height: 1;
    margin: 0;
}

.crm-v2-plan-price span { font-size: 12px; color: #64748b; font-family: 'DM Sans', sans-serif; font-weight: 500; }

.crm-v2-plan-cta {
    display: block;
    margin-top: 14px;
    padding: 8px 0;
    text-align: center;
    border-radius: 8px;
    font-size: 12.5px;
    font-weight: 700;
    border: 1px solid rgba(110,231,183,0.25);
    color: #6ee7b7;
    text-decoration: none;
    transition: all 0.2s;
}

.crm-v2-plan-cta:hover { background: #065f46; border-color: #065f46; color: white; }

/* CTA BAND */
.crm-v2-cta-band {
    position: relative;
    z-index: 2;
    margin: 20px 40px 80px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #022c22 0%, #065f46 50%, #047857 100%);
    border: 1px solid rgba(110,231,183,0.2);
    padding: 44px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.crm-v2-cta-band::before {
    content: '';
    position: absolute;
    top: -60px; right: 80px;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: rgba(110,231,183,0.07);
    pointer-events: none;
}

.crm-v2-cta-text { position: relative; z-index: 1; }
.crm-v2-cta-text h3 { font-family: 'DM Serif Display', serif; font-size: 30px; color: #ffffff; line-height: 1.2; margin: 0; }
.crm-v2-cta-text p { margin-top: 8px; font-size: 14.5px; color: rgba(255,255,255,0.65); max-width: 460px; line-height: 1.65; }

.crm-v2-cta-actions { display: flex; gap: 12px; flex-shrink: 0; position: relative; z-index: 1; }

.crm-v2-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: #ffffff;
    color: #022c22;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.crm-v2-cta-primary:hover { background: #f0fdf4; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.25); color: #022c22; }

.crm-v2-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    background: transparent;
    color: #a7f3d0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid rgba(167,243,208,0.3);
}

.crm-v2-cta-outline:hover { background: rgba(167,243,208,0.1); border-color: rgba(167,243,208,0.5); color: #a7f3d0; }

/* ANIMATIONS */
@keyframes crm-v2-fadeup {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.crm-v2-hero       { animation: crm-v2-fadeup 0.7s ease both; }
.crm-v2-ticker     { animation: crm-v2-fadeup 0.7s 0.1s ease both; }
.crm-v2-body       { animation: crm-v2-fadeup 0.7s 0.2s ease both; }
.crm-v2-bottom-row { animation: crm-v2-fadeup 0.7s 0.3s ease both; }
.crm-v2-cta-band   { animation: crm-v2-fadeup 0.7s 0.4s ease both; }

/* CRM V2 RESPONSIVE */
@media (max-width: 1024px) {
    .crm-v2-hero h2 { font-size: 40px; }
    .crm-v2-feature-grid { grid-template-columns: repeat(2, 1fr); }
    .crm-v2-bottom-row { grid-template-columns: 1fr; }
    .crm-v2-plans-list { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .crm-v2-hero { padding: 50px 20px 0; }
    .crm-v2-hero h2 { font-size: 30px; }
    .crm-v2-ticker { flex-wrap: wrap; padding: 0 20px; }
    .crm-v2-ticker-item { flex: 1 1 45%; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .crm-v2-body { grid-template-columns: 1fr; padding: 24px 20px 0; }
    .crm-v2-features-card { grid-column: auto; }
    .crm-v2-feature-grid { grid-template-columns: 1fr; }
    .crm-v2-bottom-row { padding: 0 20px; }
    .crm-v2-plans-list { grid-template-columns: 1fr; }
    .crm-v2-cta-band { flex-direction: column; margin: 20px; padding: 28px 24px; }
    .crm-v2-traction-nums { grid-template-columns: 1fr; }
}

.experts-show-more-wrap {
    text-align: center;
    margin-top: 36px;
}

.experts-show-more-btn {
    min-width: 190px;
    display: inline-flex;
    justify-content: center;
}

.home-blogs-section {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.home-blogs-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 20px 70px;
}

.home-blogs-head {
    max-width: 760px;
    margin-bottom: 24px;
}

.home-blogs-eyebrow {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--primary-border);
    background: var(--primary-tint);
    color: var(--primary-mid);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.home-blogs-head h2 {
    margin: 0;
    font-family: "DM Serif Display", serif;
    color: #0f172a;
    font-size: 36px;
    line-height: 1.18;
}

.home-blogs-head p {
    margin-top: 10px;
    color: #475569;
    line-height: 1.7;
    font-size: 15px;
}

.home-blogs-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.home-blog-card {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.home-blog-card-link:hover .home-blog-card {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

.home-blog-cover-wrap {
    aspect-ratio: 16 / 9;
    background: #e2e8f0;
    overflow: hidden;
}

.home-blog-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-blog-body {
    padding: 14px 15px 16px;
}

.home-blog-date {
    margin: 0 0 7px;
    color: var(--primary-mid);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.home-blog-body h3 {
    margin: 0;
    color: #0f172a;
    font-size: 18px;
    line-height: 1.35;
}

.home-blog-desc {
    margin-top: 8px;
    color: #475569;
    font-size: 13.5px;
    line-height: 1.65;
}

@media (max-width: 1024px) {
    .home-blogs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .home-blogs-inner {
        padding: 42px 16px 52px;
    }

    .home-blogs-head h2 {
        font-size: 29px;
    }

    .home-blogs-grid {
        grid-template-columns: 1fr;
    }
}
