/* ============================================================
   SokoMboa — CSS v2.3 
   Design inspiré GoAfrica / PagesJaunes / 118712
   Mobile-first · Cameroon Green & Gold
   ============================================================ */

/* ── Variables ── */
:root {
    --green: #1a6b3c;
    --green-dark: #114d2a;
    --green-light: #e8f5ed;
    --green-50: #f0f9f3;
    --gold: #d4a843;
    --gold-light: #fdf5e6;
    --red: #d9534f;
    --orange: #e8851e;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #868e96;
    --gray-600: #495057;
    --gray-700: #343a40;
    --gray-800: #212529;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);
    --transition: 0.2s ease;
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --container: 1100px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); color: var(--gray-800); background: var(--gray-50); line-height: 1.6; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.3; color: var(--gray-800); }
ul { list-style: none; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.hidden { display: none !important; }

/* ── Header ── */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.header__logo {
    font-size: 1.4rem; font-weight: 700; color: var(--gray-800); display: flex; align-items: center; gap: 2px;
}
.header__logo strong { color: var(--green); }
.header__logo span { color: var(--gold); }
.header__nav { display: flex; align-items: center; gap: 4px; }
.header__nav a {
    padding: 8px 14px; border-radius: var(--radius); font-size: 0.875rem;
    color: var(--gray-600); font-weight: 500; transition: all var(--transition);
}
.header__nav a:hover { background: var(--green-50); color: var(--green); }
.header__menu-toggle {
    display: none; background: none; border: 1px solid var(--gray-300);
    font-size: 1.3rem; padding: 6px 10px; border-radius: var(--radius); cursor: pointer; color: var(--gray-600);
}

/* ── Hero section (accueil) ── */
.hero {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: var(--white); padding: 60px 16px 80px; text-align: center; position: relative;
}
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(212,168,67,0.15) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; position: relative; z-index: 1; }
.hero h1 span { color: var(--gold); }
.hero p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 28px; max-width: 600px; margin-left: auto; margin-right: auto; position: relative; z-index: 1; }

/* ── Search box (accueil) ── */
.search-box {
    background: var(--white); border-radius: var(--radius-lg); padding: 8px;
    max-width: 750px; margin: 0 auto; box-shadow: var(--shadow-xl); position: relative; z-index: 10;
}
.search-box__tabs {
    display: flex; gap: 0; margin-bottom: 8px; border-bottom: 2px solid var(--gray-200); padding: 0 8px;
}
.search-box__tab {
    padding: 10px 20px; border: none; background: none; cursor: pointer;
    font-size: 0.9rem; font-weight: 600; color: var(--gray-500);
    border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition);
}
.search-box__tab.active { color: var(--green); border-bottom-color: var(--green); }
.search-box__tab:hover { color: var(--green-dark); }
.search-box__form { display: flex; gap: 8px; padding: 8px; flex-wrap: wrap; }
.search-box__field {
    flex: 1; min-width: 180px; position: relative;
}
.search-box__field input {
    width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-300); border-radius: var(--radius);
    font-size: 0.95rem; background: var(--gray-50); transition: border var(--transition);
}
.search-box__field input:focus { border-color: var(--green); outline: none; background: var(--white); }
.search-box__field input::placeholder { color: var(--gray-400); }
.search-box__btn {
    padding: 14px 28px; border: none; border-radius: var(--radius); cursor: pointer;
    font-size: 0.95rem; font-weight: 600; color: var(--white); background: var(--green);
    transition: all var(--transition); white-space: nowrap;
}
.search-box__btn:hover { background: var(--green-dark); transform: translateY(-1px); }

/* ── Sections accueil ── */
.section { padding: 48px 16px; }
.section--alt { background: var(--white); }
.section__title {
    font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 8px;
}
.section__title span { color: var(--green); }
.section__subtitle {
    text-align: center; color: var(--gray-500); margin-bottom: 32px; font-size: 0.95rem;
}

/* Categories grid */
.categories-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; max-width: 900px; margin: 0 auto;
}
.category-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 20px 16px; text-align: center; transition: all var(--transition);
    cursor: pointer; text-decoration: none; color: var(--gray-700);
}
.category-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--green); }
.category-card__icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.category-card__name { font-size: 0.85rem; font-weight: 600; }
.category-card__count { font-size: 0.75rem; color: var(--gray-500); margin-top: 4px; }

/* Stats bar */
.stats-bar {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; padding: 24px 0;
}
.stat { text-align: center; }
.stat strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--green); }
.stat span { font-size: 0.85rem; color: var(--gray-500); }

/* Recommendations grid */
.reco-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; max-width: 900px; margin: 0 auto;
}

/* ── Search results ── */
.search-form { margin-bottom: 24px; }
.search-form__fields { display: flex; gap: 8px; flex-wrap: wrap; }
.search-form__field { flex: 1; min-width: 200px; position: relative; }
.results-count { color: var(--gray-500); margin-bottom: 16px; font-size: 0.9rem; }
.results-list { display: flex; flex-direction: column; gap: 12px; }

.result-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 20px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px;
    transition: all var(--transition); flex-wrap: wrap;
}
.result-card:hover { border-color: var(--green-light); box-shadow: var(--shadow); }
.result-card__body { flex: 1; min-width: 200px; }
.result-card__body h3 { font-size: 1.05rem; margin-bottom: 4px; }
.result-card__body h3 a { color: var(--gray-800); }
.result-card__body h3 a:hover { color: var(--green); }
.result-card__category { font-size: 0.8rem; color: var(--green); font-weight: 500; }
.result-card__location { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.result-card__rating { color: var(--gold); font-size: 0.9rem; margin-top: 4px; }
.result-card__rating small { color: var(--gray-500); font-size: 0.8rem; }
.result-card__actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }

/* ── Profile page ── */
.profile-page { max-width: 800px; margin: 0 auto; padding: 24px 16px; }
.profile-page h1 { font-size: 1.6rem; margin-bottom: 4px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; font-size: 0.9rem; }
.profile-meta__category { color: var(--green); font-weight: 500; }
.profile-meta__location { color: var(--gray-500); }
.profile-actions { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.profile-section { margin-bottom: 28px; }
.profile-section h2 { font-size: 1.15rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-light); }

/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 20px; border-radius: var(--radius); font-size: 0.9rem;
    font-weight: 600; cursor: pointer; border: 1.5px solid transparent;
    transition: all var(--transition); text-decoration: none; gap: 6px;
}
.btn--primary { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--primary:hover { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--green); border-color: var(--gray-300); }
.btn--outline:hover { border-color: var(--green); background: var(--green-50); }
.btn--call { background: var(--green); color: var(--white); border-color: var(--green); }
.btn--call:hover { background: var(--green-dark); color: var(--white); }
.btn--whatsapp { background: #25D366; color: var(--white); border-color: #25D366; }
.btn--whatsapp:hover { background: #1fb855; color: var(--white); }
.btn--sm { padding: 6px 14px; font-size: 0.8rem; }
.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ── Forms ── */
.form-control {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-300);
    border-radius: var(--radius); font-size: 0.9rem; background: var(--white);
    transition: border var(--transition); font-family: var(--font);
}
.form-control:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(26,107,60,0.1); }
.form-control::placeholder { color: var(--gray-400); }
textarea.form-control { resize: vertical; min-height: 80px; }
select.form-control { cursor: pointer; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--gray-700); margin-bottom: 6px; }
.form-hint { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }
.form-row { display: flex; gap: 16px; }
.form-row .form-group { flex: 1; }
.form-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 28px;
    box-shadow: var(--shadow); border: 1px solid var(--gray-200);
}
.form-note { text-align: center; font-size: 0.85rem; color: var(--gray-500); margin-top: 12px; }

/* ── Auth pages ── */
.auth-page {
    display: flex; align-items: stretch; min-height: calc(100vh - 80px);
}
.auth-page__banner {
    flex: 1; background: linear-gradient(135deg, #0d3318 0%, #1a6b3c 50%, #2d8a4e 100%);
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    padding: 48px; color: #fff; position: relative; overflow: hidden;
}
.auth-page__banner::before {
    content: ''; position: absolute; top: -50%; right: -30%; width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,.06) 0%, transparent 70%); border-radius: 50%;
}
.auth-page__banner::after {
    content: ''; position: absolute; bottom: -30%; left: -20%; width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.04) 0%, transparent 70%); border-radius: 50%;
}
.auth-page__banner h2 { font-size: 2rem; margin-bottom: 12px; position: relative; z-index: 1; }
.auth-page__banner p { font-size: 1rem; opacity: .8; max-width: 360px; line-height: 1.7; position: relative; z-index: 1; }
.auth-page__banner-features { list-style: none; padding: 0; margin-top: 28px; position: relative; z-index: 1; }
.auth-page__banner-features li { padding: 8px 0; font-size: .92rem; opacity: .85; display: flex; align-items: center; gap: 10px; }
.auth-page__form {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 48px 32px; background: #f8fafc;
}
.auth-card {
    background: var(--white); border-radius: 16px; padding: 40px;
    width: 100%; max-width: 440px; box-shadow: 0 4px 24px rgba(0,0,0,.06); border: 1px solid var(--gray-100);
}
.auth-card__header { text-align: center; margin-bottom: 28px; }
.auth-card__header .auth-logo { font-size: 1.6rem; font-weight: 800; margin-bottom: 12px; }
.auth-card__header .auth-logo span { color: var(--green); }
.auth-card__header h1 { font-size: 1.3rem; margin-bottom: 6px; color: var(--gray-800); }
.auth-card__header p { color: var(--gray-500); font-size: 0.88rem; }
.auth-tabs { display: flex; background: var(--gray-50); border-radius: 10px; padding: 4px; margin-bottom: 24px; }
.auth-tabs__btn {
    flex: 1; padding: 10px; border: none; background: none; cursor: pointer;
    font-size: 0.85rem; font-weight: 600; color: var(--gray-500);
    border-radius: 8px; transition: all var(--transition);
}
.auth-tabs__btn.active { background: var(--white); color: var(--green); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.auth-card__footer { margin-top: 24px; text-align: center; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.auth-card__footer p { font-size: 0.88rem; color: var(--gray-500); margin-bottom: 12px; }
.auth-card__hint { font-size: 0.78rem; color: var(--gray-400); margin-top: 12px; line-height: 1.5; }
.auth-card__link { text-align: center; margin-top: 12px; font-size: 0.85rem; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: .82rem; color: var(--gray-400); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--gray-200); }

/* ── Badges ── */
.badge {
    display: inline-block; padding: 3px 10px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 600; background: var(--gray-100); color: var(--gray-600);
}
.badge--verified { background: var(--green-light); color: var(--green); }
.badge--red { background: #fde8e8; color: var(--red); }
.badge--gold { background: var(--gold-light); color: #9a7a1e; }

/* ── Alerts ── */
.alert {
    padding: 14px 20px; border-radius: var(--radius); margin: 0 auto 16px;
    max-width: var(--container); font-size: 0.9rem; font-weight: 500;
}
.alert--success { background: var(--green-light); color: var(--green-dark); border-left: 4px solid var(--green); }
.alert--error { background: #fde8e8; color: #8b1a1a; border-left: 4px solid var(--red); }
.alert--info { background: #dbeafe; color: #1e3a5f; border-left: 4px solid #3b82f6; }

/* ── Reviews ── */
.review-card {
    border: 1px solid var(--gray-200); border-radius: var(--radius); padding: 16px;
    margin-bottom: 12px; background: var(--white);
}
.review-card__header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.9rem; }
.review-card__stars { color: var(--gold); letter-spacing: 2px; }
.review-card__date { color: var(--gray-500); font-size: 0.8rem; }
.review-card__response {
    background: var(--green-50); border-left: 3px solid var(--green);
    padding: 10px 14px; margin-top: 10px; border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 0.9rem;
}
.review-form { margin-top: 16px; }

/* ── Autocomplete ── */
.autocomplete-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 999;
    background: #fff; border: 1px solid var(--gray-200); border-radius: 0 0 12px 12px;
    max-height: 320px; overflow-y: auto; display: none;
    box-shadow: 0 12px 40px rgba(0,0,0,.15);
}
.autocomplete-dropdown.show { display: block; }
.autocomplete-item {
    padding: 12px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 2px;
    border-bottom: 1px solid var(--gray-100); transition: background var(--transition);
}
.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.active { background: var(--green-light); }
.autocomplete-item strong { font-size: 0.9rem; color: var(--gray-800); font-weight: 600; }
.autocomplete-item small { color: var(--green); font-size: 0.78rem; font-weight: 500; }
.autocomplete-item .type-badge { background: var(--green-light); color: var(--green); padding: 2px 8px; border-radius: 50px; font-size: 0.7rem; font-weight: 600; }

/* ── Dashboard ── */
.dashboard-card {
    background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
    padding: 20px; margin-bottom: 12px; transition: box-shadow var(--transition);
}
.dashboard-card:hover { box-shadow: var(--shadow); }
.dashboard-card__status { font-size: 0.75rem; padding: 3px 10px; border-radius: 50px; font-weight: 600; }
.status--active { background: var(--green-light); color: var(--green); }
.status--pending { background: var(--gold-light); color: #9a7a1e; }
.status--suspended { background: #fde8e8; color: var(--red); }
.dashboard-card__actions { display: flex; gap: 6px; margin-top: 12px; flex-wrap: wrap; }

/* ── Admin ── */
.admin-body { background: var(--gray-50); }

/* ── Pagination ── */
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 24px; }
.pagination a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: var(--radius); font-size: 0.85rem;
    color: var(--gray-600); border: 1px solid var(--gray-300); transition: all var(--transition);
}
.pagination a.active, .pagination a:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* ── Empty state ── */
.empty-state {
    text-align: center; padding: 48px 24px; color: var(--gray-500);
    background: var(--white); border-radius: var(--radius-lg); border: 1px dashed var(--gray-300);
}

/* ── Footer ── */
.footer {
    background: var(--gray-800); color: rgba(255,255,255,0.6); padding: 32px 0;
    text-align: center; font-size: 0.85rem; margin-top: 48px;
}
.footer a { color: rgba(255,255,255,0.8); }
.footer a:hover { color: var(--white); }
.footer p + p { margin-top: 8px; }

/* ── Responsive ── */
@media (max-width: 768px) {
    .header__nav { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px; border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-lg); z-index: 99; }
    .header__nav.open { display: flex; }
    .header__menu-toggle { display: block; }

    .hero { padding: 40px 16px; }
    .hero h1 { font-size: 1.6rem; }
    .hero p { font-size: 0.95rem; }
    .search-box__form { flex-direction: column; }
    .search-box__field { min-width: 100%; }

    .form-row { flex-direction: column; gap: 0; }
    .result-card { flex-direction: column; }
    .result-card__actions { width: 100%; }

    .stats-bar { gap: 24px; }
    .stat strong { font-size: 1.4rem; }

    .auth-page { flex-direction: column; }
    .auth-page__banner { display: none; }
    .auth-page__form { padding: 24px 16px; }
    .auth-card { padding: 24px; }
    .profile-actions { flex-direction: column; }
    .profile-actions .btn { width: 100%; }
}

@media (max-width: 480px) {
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .category-card { padding: 14px 10px; }
    .reco-grid { grid-template-columns: 1fr; }
    .dashboard-card__actions { flex-direction: column; }
    .dashboard-card__actions .btn { width: 100%; }
}

/* ── Profile page 2-column responsive ── */
@media (max-width: 768px) {
    .container > div[style*="grid-template-columns: 1fr 320px"] {
        display: flex !important;
        flex-direction: column !important;
    }
}

/* Stars interactive */
.star-label { transition: color .15s; cursor: pointer; }
.star-label:hover { color: var(--gold) !important; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { background: var(--green-light); color: var(--green-dark); padding: 5px 12px; border-radius: 50px; font-size: .85rem; }

/* Hours row */
.hours-row { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--gray-100); font-size: .85rem; }

/* Phone masked block */
.phone-masked-block { padding: 16px; background: var(--gray-50); border-radius: var(--radius); border: 1px solid var(--gray-200); }

/* ── Profile page enhanced ── */
.profile-banner { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); height: 130px; position: relative; }
.profile-card-overlay { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 28px; margin-top: -60px; position: relative; z-index: 2; box-shadow: var(--shadow); }
.profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; flex-shrink: 0; border: 3px solid var(--white); box-shadow: var(--shadow); }
.profile-contact-btn { display: flex; align-items: center; gap: 6px; padding: 12px 20px; border-radius: var(--radius); font-weight: 600; font-size: .9rem; transition: all var(--transition); text-decoration: none; }
.profile-contact-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.profile-sidebar-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 14px; }
.profile-sidebar-card h3 { font-size: .95rem; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--green-light); color: var(--gray-700); }
.profile-info-row { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-100); font-size: .9rem; }
.profile-info-row:last-child { border-bottom: none; }
.profile-info-row .icon { width: 20px; text-align: center; color: var(--green); flex-shrink: 0; }
.profile-tab { padding: 12px 20px; font-size: .9rem; font-weight: 600; color: var(--gray-500); text-decoration: none; white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: all var(--transition); }
.profile-tab:hover { color: var(--green); }
.profile-tab.active { color: var(--green); border-bottom-color: var(--green); }

/* ── Dashboard enhanced ── */
.dash-welcome { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 28px 32px; margin-bottom: 24px; }
.dash-welcome h1 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.dash-welcome p { opacity: .85; font-size: .95rem; }
.dash-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 14px; transition: all var(--transition); position: relative; overflow: hidden; }
.dash-card:hover { box-shadow: var(--shadow); }
.dash-card__bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.dash-card__bar--active { background: var(--green); }
.dash-card__bar--pending { background: var(--gold); }
.dash-card__bar--suspended { background: var(--red); }
.dash-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 14px 0; }
.dash-stat-item { text-align: center; padding: 10px 8px; background: var(--gray-50); border-radius: var(--radius); }
.dash-stat-item strong { display: block; font-size: 1.2rem; font-weight: 700; }
.dash-stat-item span { font-size: .65rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .5px; }

/* ── Admin enhanced ── */
.admin-alert-bar { background: var(--gold-light); border: 1px solid #e6d5a0; border-radius: var(--radius-lg); padding: 20px; margin-bottom: 24px; }
.admin-alert-bar h3 { font-size: 1rem; margin-bottom: 12px; color: #8a6914; }
.admin-quick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-bottom: 28px; }
.admin-quick-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; text-align: center; text-decoration: none; color: var(--gray-700); transition: all var(--transition); }
.admin-quick-card:hover { border-color: var(--green); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--green); }
.admin-quick-card .emoji { font-size: 1.5rem; margin-bottom: 8px; display: block; }
.admin-quick-card .label { font-size: .85rem; font-weight: 600; }

/* ── Sidebar dropdown menus ── */
.sidebar-dropdown { position: relative; }
.sidebar-dropdown__toggle { width: 100%; text-align: left; cursor: pointer; background: none; border: none; font-family: var(--font); display: flex; align-items: center; }
.sidebar-dropdown__arrow { margin-left: auto; font-size: .75rem; transition: transform .2s; color: rgba(255,255,255,.4); }
.sidebar-dropdown.open .sidebar-dropdown__arrow { transform: rotate(90deg); }
.sidebar-dropdown__menu { display: none; padding-left: 28px; }
.sidebar-dropdown.open .sidebar-dropdown__menu { display: block; }
.sidebar-sublink { display: block; padding: 6px 20px; color: rgba(255,255,255,.5); font-size: .8rem; text-decoration: none; transition: all .15s; border-left: 2px solid rgba(255,255,255,.1); margin-left: 8px; }
.sidebar-sublink:hover { color: rgba(255,255,255,.85); border-left-color: rgba(255,255,255,.3); }
.sidebar-sublink.active { color: var(--gold); border-left-color: var(--gold); font-weight: 600; }

/* ── Enhanced Profile page ── */
.pro-hero{background:linear-gradient(135deg,#0d3320 0%,#1a6b3c 60%,#2a8a4e 100%);min-height:160px;position:relative}
.pro-hero::after{content:'';position:absolute;bottom:0;left:0;right:0;height:60px;background:linear-gradient(transparent,rgba(0,0,0,.15))}
.pro-card{background:#fff;border-radius:16px;padding:32px;margin-top:-80px;position:relative;z-index:2;box-shadow:0 8px 32px rgba(0,0,0,.08);border:1px solid rgba(0,0,0,.04)}
.pro-logo{width:72px;height:72px;border-radius:12px;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.1);object-fit:contain;background:#fff;flex-shrink:0}
.pro-initials{width:72px;height:72px;border-radius:12px;background:linear-gradient(135deg,var(--green),var(--green-dark));color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.6rem;font-weight:700;flex-shrink:0;box-shadow:0 4px 12px rgba(0,0,0,.1)}
.pro-meta{display:flex;flex-direction:column;gap:4px}
.pro-meta h1{font-size:1.5rem;line-height:1.3;margin:0}
.pro-meta .cat{color:var(--green);font-weight:500;font-size:.9rem}
.pro-meta .legal{color:var(--gray-500);font-size:.8rem}
.pro-stats{display:flex;gap:10px;flex-wrap:wrap}
.pro-stat{text-align:center;padding:12px 16px;border-radius:10px;min-width:70px}
.pro-stat strong{display:block;font-size:1.3rem;font-weight:700}
.pro-stat span{font-size:.65rem;text-transform:uppercase;letter-spacing:.5px;color:var(--gray-500)}
.pro-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.pro-actions .btn-action{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:10px;font-weight:600;font-size:.88rem;text-decoration:none;transition:all .15s;border:none;cursor:pointer}
.pro-actions .btn-action:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.pro-actions .btn-call{background:var(--green);color:#fff}
.pro-actions .btn-wa{background:#25D366;color:#fff}
.pro-actions .btn-email{background:var(--gray-100);color:var(--gray-700)}
.pro-actions .btn-share{background:var(--gray-100);color:var(--gray-700)}
.pro-actions .btn-fav{background:var(--gray-100);color:var(--gray-700)}
.pro-actions .btn-fav.active{background:#ffe0e0;color:var(--red)}

.pro-tabs{display:flex;gap:0;border-bottom:2px solid var(--gray-200);margin:24px 0 20px;overflow-x:auto}
.pro-tabs a{padding:12px 20px;font-size:.88rem;font-weight:600;color:var(--gray-400);text-decoration:none;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-2px;transition:all .15s}
.pro-tabs a:hover{color:var(--green)}
.pro-tabs a.active{color:var(--green);border-bottom-color:var(--green)}

.pro-section{margin-bottom:28px}
.pro-section h2{font-size:1.1rem;font-weight:700;color:var(--gray-800);margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid var(--gray-100)}
.pro-sidebar-card{background:#fff;border:1px solid var(--gray-200);border-radius:12px;padding:20px;margin-bottom:14px}
.pro-sidebar-card h3{font-size:.92rem;font-weight:700;margin-bottom:14px;padding-bottom:10px;border-bottom:2px solid var(--green-light);color:var(--gray-700);display:flex;align-items:center;gap:8px}

/* ── Enhanced Person page ── */
.part-hero{background:linear-gradient(135deg,#1a2a4a 0%,#2c5282 60%,#3b82a0 100%);height:120px}
.part-card{background:#fff;border-radius:16px;padding:32px;margin-top:-60px;position:relative;z-index:2;box-shadow:0 8px 32px rgba(0,0,0,.08);border:1px solid rgba(0,0,0,.04)}
.part-avatar{width:90px;height:90px;border-radius:50%;border:4px solid #fff;box-shadow:0 4px 16px rgba(0,0,0,.12);object-fit:cover;flex-shrink:0}
.part-initials{width:90px;height:90px;border-radius:50%;background:linear-gradient(135deg,#1a2a4a,#2c5282);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.8rem;font-weight:700;border:4px solid #fff;box-shadow:0 4px 16px rgba(0,0,0,.12);flex-shrink:0}
.part-info-block{padding:14px 18px;background:var(--gray-50);border-radius:10px;margin-bottom:14px;font-size:.9rem;line-height:1.7;border-left:3px solid var(--green)}

/* ── Enhanced Dashboard ── */
.dash-hero{background:linear-gradient(135deg,#0d3320 0%,#1a6b3c 60%,#2a8a4e 100%);color:#fff;border-radius:16px;padding:32px;margin-bottom:28px}
.dash-hero h1{color:#fff;font-size:1.5rem;margin-bottom:6px}
.dash-hero p{opacity:.8;font-size:.92rem}
.dash-pro-card{background:#fff;border:1px solid var(--gray-200);border-radius:14px;padding:24px;margin-bottom:16px;position:relative;overflow:hidden;transition:box-shadow .2s}
.dash-pro-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.06)}
.dash-pro-card__top{height:4px;position:absolute;top:0;left:0;right:0}
.dash-pro-card__top--active{background:linear-gradient(90deg,var(--green),#2ecc71)}
.dash-pro-card__top--pending{background:linear-gradient(90deg,var(--gold),#f4c542)}
.dash-pro-card__top--suspended{background:linear-gradient(90deg,var(--red),#e74c3c)}
.dash-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
.dash-stat-item{text-align:center;padding:12px 8px;background:var(--gray-50);border-radius:8px}
.dash-stat-item strong{display:block;font-size:1.2rem;font-weight:700}
.dash-stat-item span{font-size:.62rem;color:var(--gray-500);text-transform:uppercase;letter-spacing:.5px}
.dash-plan-bar{padding:10px 16px;background:linear-gradient(90deg,#fef9e7,#fdf2d5);border-radius:8px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px}

/* ── Responsive: profile 2-column grid ── */
@media (max-width: 768px) {
    .pro-card{padding:20px}
    .pro-stats{width:100%;justify-content:center}
    .pro-actions{justify-content:center}
    .pro-tabs a{padding:10px 14px;font-size:.82rem}
    /* Force single column on mobile for profile show */
    div[style*="grid-template-columns:1fr 320px"]{display:block !important}
    div[style*="grid-template-columns:1fr 320px"] > div:last-child{margin-top:24px}
    .dash-stat-grid{grid-template-columns:repeat(2,1fr)}
    .part-card{padding:20px}
    .part-initials,.part-avatar{width:70px;height:70px}
}

/* ── Fix autocomplete overflow on search-box ── */
.search-box{overflow:visible !important}
.search-box__form{overflow:visible}
.search-box__field{overflow:visible}
.autocomplete-dropdown{border-radius:var(--radius-lg);margin-top:4px;box-shadow:0 8px 32px rgba(0,0,0,.15)}
.autocomplete-item{padding:12px 16px;font-size:.88rem;gap:8px}
.autocomplete-item .ac-label{font-weight:500}
.autocomplete-item .ac-meta{font-size:.78rem;color:var(--gray-400)}

/* ── Enhanced search page results ── */
.result-card{background:#fff;border:1px solid var(--gray-200);border-radius:12px;padding:20px;margin-bottom:12px;transition:box-shadow .15s}
.result-card:hover{box-shadow:0 4px 16px rgba(0,0,0,.06)}
.result-card__category{display:inline-block;color:var(--green);font-weight:500;font-size:.85rem;margin-bottom:4px}
.result-card__location{font-size:.85rem;color:var(--gray-500);margin-top:2px}
.result-card__rating{color:var(--gold);font-size:.88rem}

/* ── Enhanced search header ── */
.search-hero{padding:32px 16px}
.search-hero h1{font-size:1.3rem;margin-bottom:18px;text-align:center}
.search-filters{display:flex;gap:12px;margin-top:12px;max-width:800px;margin-left:auto;margin-right:auto;flex-wrap:wrap;justify-content:center}

/* ── Empty state ── */
.empty-state{text-align:center;padding:48px 20px}
.empty-state .emoji{font-size:3rem;margin-bottom:12px;display:block}

/* ── Pagination ── */
.pagination{display:flex;justify-content:center;gap:4px;margin-top:24px}
.pagination a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid var(--gray-300);border-radius:8px;color:var(--gray-600);text-decoration:none;font-size:.88rem;transition:all .12s}
.pagination a:hover{border-color:var(--green);color:var(--green)}
.pagination a.active{background:var(--green);color:#fff;border-color:var(--green)}

/* ── Category grid on home ── */
.categories-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;margin-top:20px}
.category-card{background:#fff;border:1px solid var(--gray-200);border-radius:12px;padding:20px 16px;text-decoration:none;color:var(--gray-700);text-align:center;transition:all .15s}
.category-card:hover{border-color:var(--green);box-shadow:0 4px 16px rgba(0,0,0,.06);transform:translateY(-2px)}
.category-card__icon{font-size:2rem;display:block;margin-bottom:8px}
.category-card__name{font-size:.85rem;font-weight:600;line-height:1.4}
.category-card__count{font-size:.75rem;color:var(--gray-400);margin-top:4px}

/* ── Stats bar home ── */
.stats-bar{display:flex;justify-content:center;gap:32px;flex-wrap:wrap}
.stat{text-align:center}
.stat strong{display:block;font-size:1.6rem;font-weight:800;color:var(--green)}
.stat span{font-size:.78rem;color:var(--gray-500);text-transform:uppercase;letter-spacing:.5px}

/* ── Reco grid ── */
.reco-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px;margin-top:20px}

/* ── Section ── */
.section{padding:48px 0}
.section--alt{background:var(--gray-50)}
.section__title{font-size:1.4rem;font-weight:700;text-align:center;margin-bottom:6px}
.section__title span{color:var(--green)}
.section__subtitle{text-align:center;color:var(--gray-500);font-size:.92rem;margin-bottom:24px}

/* ── Tag ── */
.tag{display:inline-block;padding:6px 14px;background:var(--green-50);color:var(--green);border-radius:50px;font-size:.82rem;font-weight:500}

/* ── Review card ── */
.review-card{padding:16px;border:1px solid var(--gray-200);border-radius:10px;margin-bottom:10px}
.review-card__header{display:flex;justify-content:space-between;margin-bottom:8px}
.review-card__stars{color:var(--gold);letter-spacing:1px}
.review-card__date{font-size:.8rem;color:var(--gray-400)}
.review-card__response{margin-top:10px;padding:10px;background:var(--gray-50);border-radius:8px;font-size:.88rem;border-left:3px solid var(--green)}

/* ── Profile info row (sidebar) ── */
.profile-info-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--gray-100);font-size:.88rem}
.profile-info-row .icon{width:20px;text-align:center;flex-shrink:0}
.profile-info-row a{color:var(--green);text-decoration:none}
.profile-info-row a:hover{text-decoration:underline}

/* ── Profile contact btn ── */
.profile-contact-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:10px;font-weight:600;font-size:.88rem;text-decoration:none;transition:all .15s}
.profile-contact-btn:hover{transform:translateY(-1px);box-shadow:0 4px 12px rgba(0,0,0,.12)}

/* ── Profile avatar (person) ── */
.profile-avatar{width:64px;height:64px;border-radius:50%;background:linear-gradient(135deg,#1a2a4a,#2c5282);color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.4rem;font-weight:700;flex-shrink:0}

/* ── Form row ── */
.form-row{display:flex;gap:12px;flex-wrap:wrap}
.form-row .form-group{flex:1;min-width:140px}

@media(max-width:768px){
    .stats-bar{gap:16px}
    .stat strong{font-size:1.3rem}
    .categories-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:8px}
    .reco-grid{grid-template-columns:1fr}
    .search-filters{flex-direction:column;align-items:stretch}
}

/* ═══════════════════════════════════════════ */
/* SPRINT UX — Toast, Breadcrumb, Forms, etc. */
/* ═══════════════════════════════════════════ */

/* ── 1. Toast notifications ── */
.toast-container{position:fixed;top:20px;right:20px;z-index:9999;display:flex;flex-direction:column;gap:8px;pointer-events:none}
.toast{pointer-events:auto;padding:14px 20px 14px 16px;border-radius:10px;font-size:.88rem;line-height:1.4;box-shadow:0 8px 32px rgba(0,0,0,.15);display:flex;align-items:center;gap:10px;animation:toastIn .3s ease;max-width:400px;position:relative}
.toast--success{background:#d4edda;color:#155724;border-left:4px solid #28a745}
.toast--error{background:#f8d7da;color:#721c24;border-left:4px solid #dc3545}
.toast--info{background:#d1ecf1;color:#0c5460;border-left:4px solid #17a2b8}
.toast--warning{background:#fff3cd;color:#856404;border-left:4px solid #ffc107}
.toast__close{position:absolute;top:8px;right:10px;background:none;border:none;font-size:1rem;cursor:pointer;opacity:.5;color:inherit}
.toast__close:hover{opacity:1}
@keyframes toastIn{from{transform:translateX(100%);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes toastOut{from{transform:translateX(0);opacity:1}to{transform:translateX(100%);opacity:0}}

/* ── 2. Breadcrumb ── */
.breadcrumb{padding:12px 0;font-size:.82rem;color:var(--gray-500)}
.breadcrumb a{color:var(--green);text-decoration:none}
.breadcrumb a:hover{text-decoration:underline}
.breadcrumb .sep{margin:0 6px;color:var(--gray-300)}

/* ── 3. Form validation ── */
.form-control.is-invalid{border-color:#dc3545;box-shadow:0 0 0 2px rgba(220,53,69,.15)}
.form-error{color:#dc3545;font-size:.78rem;margin-top:4px;display:block}
.form-control:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(26,107,60,.12);outline:none}
.form-group label{display:block;font-size:.85rem;font-weight:600;margin-bottom:4px;color:var(--gray-700)}
.form-hint{font-size:.78rem;color:var(--gray-400);margin-top:2px;display:block}
.form-control{width:100%;padding:10px 14px;border:1px solid var(--gray-300);border-radius:var(--radius);font-size:.9rem;transition:border-color .15s,box-shadow .15s}
.form-group{margin-bottom:16px}
.form-required::after{content:" *";color:#dc3545}

/* ── 4. Profile completeness ── */
.completeness-bar{background:var(--gray-200);border-radius:50px;height:8px;overflow:hidden;margin:8px 0}
.completeness-bar__fill{height:100%;border-radius:50px;transition:width .5s ease}
.completeness-card{background:linear-gradient(135deg,#f0fdf4 0%,#ecfdf5 100%);border:1px solid #bbf7d0;border-radius:12px;padding:16px 20px;margin-bottom:20px}
.completeness-card--low{background:linear-gradient(135deg,#fefce8 0%,#fef9c3 100%);border-color:#fde047}

/* ── 5. Confirm dialog ── */
.confirm-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);z-index:9998;display:flex;align-items:center;justify-content:center}
.confirm-dialog{background:#fff;border-radius:16px;padding:28px;max-width:400px;width:90%;box-shadow:0 20px 60px rgba(0,0,0,.2);text-align:center}
.confirm-dialog h3{font-size:1.1rem;margin-bottom:8px}
.confirm-dialog p{font-size:.88rem;color:var(--gray-500);margin-bottom:20px}
.confirm-dialog__actions{display:flex;gap:10px;justify-content:center}

/* ── 6. Back button ── */
.back-link{display:inline-flex;align-items:center;gap:4px;color:var(--gray-500);font-size:.85rem;text-decoration:none;margin-bottom:16px;transition:color .15s}
.back-link:hover{color:var(--green)}

/* ── 7. Scroll to top ── */
.scroll-top{position:fixed;bottom:24px;right:24px;width:44px;height:44px;border-radius:50%;background:var(--green);color:#fff;border:none;font-size:1.2rem;cursor:pointer;box-shadow:0 4px 16px rgba(0,0,0,.2);display:none;align-items:center;justify-content:center;z-index:100;transition:transform .15s}
.scroll-top:hover{transform:scale(1.1)}
.scroll-top.visible{display:flex}

/* ── 8. Admin badges ── */

/* ── 9. Social links footer ── */
.social-links{display:flex;gap:8px}
.social-links a{width:32px;height:32px;border-radius:50%;background:rgba(255,255,255,.1);display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.6);text-decoration:none;font-size:.85rem;transition:all .15s}
.social-links a:hover{background:rgba(255,255,255,.2);color:#fff}

@media(max-width:768px){
    .toast-container{left:12px;right:12px;top:auto;bottom:12px}
    .toast{max-width:100%}
    .breadcrumb{font-size:.75rem}
    .scroll-top{bottom:16px;right:16px;width:38px;height:38px}
}

/* ═══ Front page improvements ═══ */
.category-card { transition: transform .15s, box-shadow .15s; }
.category-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.result-card { transition: box-shadow .15s; }
.result-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.btn-action { transition: transform .1s; }
.btn-action:hover { transform: scale(1.03); }
.pro-hero { min-height: 120px; background: linear-gradient(135deg, #1a5f2a 0%, #0d3318 100%); position: relative; }
.part-hero { min-height: 80px; background: linear-gradient(135deg, #1e3a5c 0%, #2c5f8a 100%); }
.profile-avatar { background: linear-gradient(135deg, #1e3a5c, #2c5f8a); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; }

/* ═══ Admin Back-Office ═══ */
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; margin-bottom: 24px; }
.admin-stat-card { position: relative; background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 20px; text-align: center; }
.admin-stat-card strong { display: block; font-size: 1.5rem; margin-bottom: 2px; }
.admin-stat-card span { display: block; font-size: .82rem; color: var(--gray-500); }
.admin-stat-card small { display: block; font-size: .72rem; color: var(--gray-400); margin-top: 4px; }

.admin-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 20px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; background: var(--white); }
.admin-table th { background: var(--gray-50); padding: 10px 14px; text-align: left; font-weight: 600; color: var(--gray-600); font-size: .78rem; text-transform: uppercase; letter-spacing: .3px; border-bottom: 2px solid var(--gray-200); white-space: nowrap; }
.admin-table td { padding: 10px 14px; border-bottom: 1px solid var(--gray-100); vertical-align: middle; }
.admin-table tr:hover { background: var(--gray-50); }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table__actions { display: flex; gap: 4px; flex-wrap: nowrap; }

.admin-page-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.admin-page-header h1 { font-size: 1.3rem; margin: 0; }
.admin-page-header p { color: var(--gray-500); font-size: .85rem; margin: 0; }
.admin-empty { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 48px; text-align: center; }
.admin-empty .emoji { font-size: 2.5rem; margin-bottom: 8px; }
.admin-empty p { color: var(--gray-600); }

@media (max-width: 768px) {
    .admin-stats { grid-template-columns: repeat(2, 1fr); }
    .admin-stat-card strong { font-size: 1.2rem; }
    .admin-table { font-size: .78rem; }
    .admin-table th, .admin-table td { padding: 8px 10px; }
}
