/* ══════════════════════════════════════════════════════════
   ElManazel.com — MENA Real Estate Stylesheet
   Palette: Deep Navy + Emerald Green (EstateHub template)
══════════════════════════════════════════════════════════ */

:root {
  /* Blue/Green palette (EstateHub template) */
  --primary: #0f3460;
  --primary-dark: #1a1f36;
  --primary-mid: #16213e;
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-pale: #d1fae5;
  --indigo: #6366f1;
  --cream: #f8fafc;
  --sand: #f0fdf4;
  --text: #1a1a1a;
  --text-muted: #6b7280;

  /* Legacy variable aliases — keeps all inline var() references in app.js working */
  --gold: #10b981;
  --gold-light: #34d399;
  --gold-pale: #d1fae5;
  --navy: #0f3460;
  --navy-mid: #1a2e45;
  --navy-light: #16213e;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
}

.font-arabic { font-family: 'Noto Naskh Arabic', serif; }
.font-serif  { font-family: 'Playfair Display', serif; }

/* ─── Animations ─────────────────────────────────────────── */
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }
.slide-up { animation: slideUp 0.4s ease forwards; }
@keyframes slideUp { from { opacity:0; transform:translateY(30px); } to { opacity:1; transform:none; } }

/* ─── Hero ────────────────────────────────────────────────── */
.hero-bg {
  background: linear-gradient(135deg, #1a1f36 0%, #0f3460 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1512453979798-5ea266f8880c?w=1800') center/cover;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(26,31,54,0.92) 0%,
    rgba(15,52,96,0.75) 50%,
    rgba(16,185,129,0.08) 100%);
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(99,102,241,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(16,185,129,0.1) 0%, transparent 40%);
}

/* ─── Accent Gradient ────────────────────────────────────── */
.gold-gradient { background: linear-gradient(135deg, var(--accent), var(--accent-light)); }
.gold-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.navy-gradient { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); }

/* ─── Navbar ─────────────────────────────────────────────── */
.navbar {
  background: rgba(26,31,54,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99,102,241,0.15);
}
.nav-link {
  position: relative;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transition: transform 0.3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--accent-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* ─── Search ─────────────────────────────────────────────── */
.search-container {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.3);
  box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}
.search-tab { transition: all 0.2s ease; border-bottom: 2px solid transparent; }
.search-tab.active { color: var(--primary); border-bottom-color: var(--accent); }

/* ─── Property Cards ─────────────────────────────────────── */
.property-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  overflow: hidden;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.property-card img { transition: transform 0.4s ease; }
.property-card:hover img { transform: scale(1.04); }

/* ─── Badges ─────────────────────────────────────────────── */
.badge-sale    { background: var(--accent); color: white; }
.badge-rent    { background: var(--indigo); color: white; }
.badge-offplan { background: linear-gradient(135deg, #f59e0b, #ef4444); color: white; }
.badge-exclusive { background: linear-gradient(135deg, #8B0000, #c0392b); color: white; }
.badge-featured { background: linear-gradient(135deg, #f59e0b, #ef4444); color: white; }
.badge-developer { background: #1B4332; color: #6EE7B7; }
.badge-realtor   { background: #1E3A5F; color: #93C5FD; }

/* ─── Price ─────────────────────────────────────────────── */
.price-tag {
  font-weight: 800;
  background: linear-gradient(135deg, #1e3a5f, #0f3460);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.price-aed::after { content: ' AED'; font-size: 0.5em; color: var(--accent); font-family: 'Inter', sans-serif; font-weight: 600; -webkit-text-fill-color: var(--accent); }

/* ─── ROI Tag ────────────────────────────────────────────── */
.roi-badge {
  background: linear-gradient(135deg, #064E3B, #065F46);
  color: #6EE7B7;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

/* ─── Feature Tags ───────────────────────────────────────── */
.feat-tag {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 20px;
}

/* ─── Inputs ─────────────────────────────────────────────── */
.input-field {
  border: 1.5px solid #e5e7eb;
  background: white;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}
.input-field:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
  border: none;
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  box-shadow: 0 10px 30px rgba(16,185,129,0.4);
  transform: translateY(-1px);
}
.btn-navy {
  background: var(--primary);
  color: white;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-navy:hover { background: var(--primary-dark); }
.btn-outline-gold {
  border: 2px solid var(--accent);
  color: var(--accent);
  background: transparent;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-outline-gold:hover { background: var(--accent); color: white; }

/* ─── Divider ────────────────────────────────────────────── */
.gold-divider {
  display: flex; align-items: center; gap: 16px;
}
.gold-divider::before, .gold-divider::after {
  content: ''; flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ─── Section titles ─────────────────────────────────────── */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
}

/* ─── Gallery ────────────────────────────────────────────── */
.gallery-thumb { cursor: pointer; transition: all 0.2s ease; opacity: 0.65; }
.gallery-thumb:hover, .gallery-thumb.active { opacity: 1; border-color: var(--accent) !important; }

/* ─── Market Intelligence Card ───────────────────────────── */
.intel-card {
  background: white;
  border: 1px solid rgba(16,185,129,0.15);
  transition: all 0.3s ease;
}
.intel-card:hover { box-shadow: 0 10px 40px rgba(15,52,96,0.1); border-color: var(--accent); }

.zone-card {
  background: linear-gradient(135deg, #1a1f36, #0f3460);
  border: 1px solid rgba(16,185,129,0.2);
  transition: all 0.3s ease;
}
.zone-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 40px rgba(16,185,129,0.15);
}

/* ─── Trend bars ─────────────────────────────────────────── */
.trend-up   { color: #10b981; }
.trend-down { color: #ef4444; }
.demand-bar { height: 6px; border-radius: 3px; background: #e5e7eb; overflow: hidden; }
.demand-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); transition: width 0.8s ease; }

/* ─── Stats ──────────────────────────────────────────────── */
.stat-glass {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(16,185,129,0.2);
  backdrop-filter: blur(10px);
}
.stat-card {
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

/* ─── Filter button ──────────────────────────────────────── */
.filter-btn { transition: all 0.2s ease; }
.filter-btn.active {
  background: linear-gradient(135deg, #1e3a5f, #0f3460);
  color: white;
}

/* ─── Modal ──────────────────────────────────────────────── */
.modal-overlay { backdrop-filter: blur(4px); animation: fadeIn 0.2s ease; }
.modal-box { animation: slideUp 0.3s ease; }

/* ─── Toast ──────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px;
  padding: 14px 20px; border-radius: 12px;
  font-weight: 600; font-size: 0.9rem;
  z-index: 9999; animation: slideUp 0.3s ease;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.toast.success { background: var(--accent); color: white; }
.toast.error   { background: #ef4444; color: white; }

/* ─── Skeleton ───────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─── Scrollbar ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #94a3b8; border-radius: 3px; }

/* ─── Map placeholder ────────────────────────────────────── */
.map-placeholder {
  background: linear-gradient(135deg, #e0f2fe, #e0e7ff);
  border: 2px dashed #93c5fd;
}

/* ─── Footer ─────────────────────────────────────────────── */
.footer-bg {
  background: linear-gradient(135deg, #1a1f36 0%, #0f3460 100%);
  border-top: 1px solid rgba(16,185,129,0.15);
}

/* ─── Exclusive strip ────────────────────────────────────── */
.exclusive-strip {
  background: linear-gradient(90deg, #8B0000, #c0392b, #8B0000);
  background-size: 200% 100%;
  animation: shimmer 3s ease infinite;
}

/* ─── Off-plan progress ──────────────────────────────────── */
.construction-progress { height: 4px; background: rgba(0,0,0,0.08); border-radius: 2px; overflow: hidden; }
.construction-fill { height: 100%; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-light)); }

/* ─── Progress bar ───────────────────────────────────────── */
.progress-bar { height: 3px; background: linear-gradient(90deg, var(--accent), var(--indigo)); border-radius: 2px; }

/* ─── Currency ───────────────────────────────────────────── */
.currency-aed { color: #0f3460; }
.currency-sar { color: #1B4332; }
.currency-qar { color: #4A1942; }
.currency-bhd { color: #1E3A5F; }

/* ─── Access gate ────────────────────────────────────────── */
.access-gate {
  background: linear-gradient(135deg, #1a1f36, #0f3460);
  border: 1px solid rgba(16,185,129,0.2);
}

/* ─── Market tab ─────────────────────────────────────────── */
.mkt-tab { border-bottom: 2px solid transparent; transition: all 0.2s; }
.mkt-tab.active { border-bottom-color: var(--accent); color: var(--primary); font-weight: 700; }
.mkt-tab:not(.active) { color: #6b7280; }

/* ─── Risk pill ──────────────────────────────────────────── */
.risk-low    { background: #d1fae5; color: #065f46; }
.risk-medium { background: #fef3c7; color: #92400e; }
.risk-high   { background: #fee2e2; color: #991b1b; }

.opp-emerging      { background: #dbeafe; color: #1e40af; }
.opp-established   { background: #f3f4f6; color: #374151; }
.opp-rental-yield  { background: #d1fae5; color: #065f46; }
.opp-capital-growth{ background: #fce7f3; color: #9d174d; }
.opp-off-plan-hotspot { background: #fef3c7; color: #92400e; }

/* ─── Type icon colors ────────────────────────────────────── */
.type-villa       { color: #ec4899; }
.type-apartment   { color: #6366f1; }
.type-penthouse   { color: #f59e0b; }
.type-townhouse   { color: #10b981; }
.type-commercial  { color: #3b82f6; }
.type-land        { color: #84cc16; }

/* ─── Seller badge ───────────────────────────────────────── */
.seller-badge-agency    { background: #dbeafe; color: #1d4ed8; }
.seller-badge-developer { background: #fef3c7; color: #92400e; }
.seller-badge-realtor   { background: #d1fae5; color: #065f46; }

/* ─── Chart container ────────────────────────────────────── */
.chart-container { position: relative; }

/* ─── CTA ────────────────────────────────────────────────── */
.cta-gradient {
  background: linear-gradient(135deg, #0f3460 0%, #1a1f36 50%, #0d1b2a 100%);
}

/* ─── Admin Interface ─────────────────────────────────────── */
.admin-shell {
  display: flex; min-height: 100vh; background: #f1f5f9;
}
.admin-sidebar {
  width: 240px; flex-shrink: 0;
  background: linear-gradient(180deg, #0f3460 0%, #1a1f36 100%);
  color: #fff; display: flex; flex-direction: column;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-sidebar-logo {
  padding: 1.5rem 1.25rem 1rem;
  font-size: 1.1rem; font-weight: 800; letter-spacing: 0.03em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 0.5rem;
}
.admin-sidebar-logo span { color: #10b981; }
.admin-nav { padding: 1rem 0; flex: 1; }
.admin-nav-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.65rem 1.25rem; font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.7); cursor: pointer;
  border-left: 3px solid transparent; transition: all 0.2s;
}
.admin-nav-item:hover { color: #fff; background: rgba(255,255,255,0.06); }
.admin-nav-item.active {
  color: #10b981; border-left-color: #10b981;
  background: rgba(16,185,129,0.1);
}
.admin-nav-item .nav-icon { font-size: 1rem; width: 1.25rem; text-align: center; }
.admin-sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.75rem; color: rgba(255,255,255,0.4);
}
.admin-main { flex: 1; min-width: 0; padding: 2rem; overflow-x: auto; }
.admin-topbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.75rem;
}
.admin-page-title {
  font-size: 1.4rem; font-weight: 800; color: #0f3460;
}
.admin-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.2rem 0.65rem; border-radius: 999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
}
.admin-badge-green  { background: #d1fae5; color: #065f46; }
.admin-badge-blue   { background: #dbeafe; color: #1e40af; }
.admin-badge-yellow { background: #fef3c7; color: #92400e; }
.admin-badge-red    { background: #fee2e2; color: #991b1b; }
.admin-badge-gray   { background: #f1f5f9; color: #475569; }

/* KPI cards */
.admin-kpi-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem; margin-bottom: 2rem;
}
.admin-kpi-card {
  background: #fff; border-radius: 0.75rem; padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 0.4rem;
}
.admin-kpi-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }
.admin-kpi-value { font-size: 1.9rem; font-weight: 800; color: #0f3460; line-height: 1; }
.admin-kpi-sub   { font-size: 0.75rem; color: #64748b; }
.admin-kpi-icon  { font-size: 1.3rem; margin-bottom: 0.25rem; }

/* Table */
.admin-table-wrap { background: #fff; border-radius: 0.75rem; box-shadow: 0 1px 4px rgba(0,0,0,0.06); overflow: hidden; }
.admin-table-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem; border-bottom: 1px solid #f1f5f9;
  gap: 0.75rem; flex-wrap: wrap;
}
.admin-table-title { font-size: 0.95rem; font-weight: 700; color: #0f3460; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.825rem; }
.admin-table th {
  text-align: left; padding: 0.65rem 1rem;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.05em; color: #94a3b8;
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
}
.admin-table td {
  padding: 0.75rem 1rem; border-bottom: 1px solid #f1f5f9;
  color: #334155; vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #f8fafc; }
.admin-table .cell-bold { font-weight: 600; color: #0f3460; }
.admin-table .cell-muted { color: #94a3b8; font-size: 0.75rem; }
.admin-table .cell-actions { display: flex; gap: 0.35rem; align-items: center; }

/* Filters bar */
.admin-filters {
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
  padding: 0.75rem 1.25rem; border-bottom: 1px solid #f1f5f9; background: #fafafa;
}
.admin-filter-input {
  padding: 0.4rem 0.75rem; border: 1.5px solid #e2e8f0;
  border-radius: 0.5rem; font-size: 0.8rem; font-family: 'Inter', sans-serif;
  outline: none; transition: border-color 0.2s;
  background: #fff;
}
.admin-filter-input:focus { border-color: #10b981; }

/* Form label + input (used inside modals) */
.admin-label {
  display: block;
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: #6b7280; margin-bottom: 0.375rem;
}
.admin-input {
  width: 100%; padding: 0.5rem 0.75rem;
  border: 1.5px solid #e5e7eb; border-radius: 0.5rem;
  font-size: 0.875rem; font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff; color: #1e293b; box-sizing: border-box;
}
.admin-input:focus {
  outline: none; border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16,185,129,0.1);
}

/* Buttons */
.btn-admin-primary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem; border-radius: 0.5rem;
  background: #10b981; color: #fff; font-size: 0.8rem; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-admin-primary:hover { background: #059669; }
.btn-admin-secondary {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.45rem 1rem; border-radius: 0.5rem;
  background: #f1f5f9; color: #475569; font-size: 0.8rem; font-weight: 600;
  border: 1.5px solid #e2e8f0; cursor: pointer; transition: all 0.2s;
}
.btn-admin-secondary:hover { background: #e2e8f0; }
.btn-admin-danger {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: 0.4rem;
  background: #fee2e2; color: #991b1b; font-size: 0.78rem; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-admin-danger:hover { background: #fca5a5; }
.btn-admin-edit {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: 0.4rem;
  background: #dbeafe; color: #1e40af; font-size: 0.78rem; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-admin-edit:hover { background: #bfdbfe; }
.btn-admin-assign {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.75rem; border-radius: 0.4rem;
  background: #ede9fe; color: #5b21b6; font-size: 0.78rem; font-weight: 600;
  border: none; cursor: pointer; transition: background 0.2s;
}
.btn-admin-assign:hover { background: #ddd6fe; }

/* Admin Modal */
.admin-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; padding: 1rem;
}
.admin-modal {
  background: #fff; border-radius: 0.875rem; width: 100%;
  max-width: 580px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.admin-modal-lg { max-width: 780px; }
.admin-modal-header {
  padding: 1.25rem 1.5rem; border-bottom: 1px solid #f1f5f9;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-modal-title { font-size: 1rem; font-weight: 700; color: #0f3460; }
.admin-modal-close {
  background: none; border: none; font-size: 1.25rem;
  color: #94a3b8; cursor: pointer; line-height: 1;
}
.admin-modal-close:hover { color: #0f3460; }
.admin-modal-body { padding: 1.5rem; }
.admin-modal-footer {
  padding: 1rem 1.5rem; border-top: 1px solid #f1f5f9;
  display: flex; justify-content: flex-end; gap: 0.5rem;
}
.admin-form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.admin-form-grid .col-span-2 { grid-column: span 2; }

/* Login card */
.admin-login-wrap {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #0f3460 0%, #1a1f36 100%);
}
.admin-login-card {
  background: #fff; border-radius: 1rem; padding: 2.5rem;
  width: 100%; max-width: 400px; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.admin-login-logo {
  font-size: 1.5rem; font-weight: 800; color: #0f3460; text-align: center;
  margin-bottom: 0.25rem;
}
.admin-login-logo span { color: #10b981; }
.admin-login-sub {
  text-align: center; color: #64748b; font-size: 0.875rem; margin-bottom: 2rem;
}

/* Inquiry cards */
.admin-inq-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}
.admin-inq-card {
  background: #fff; border-radius: 0.75rem; padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 0.5rem;
}
.admin-inq-name  { font-weight: 700; color: #0f3460; font-size: 0.9rem; }
.admin-inq-prop  { font-size: 0.78rem; color: #64748b; }
.admin-inq-msg   { font-size: 0.82rem; color: #334155; background: #f8fafc; padding: 0.5rem 0.75rem; border-radius: 0.4rem; }
.admin-inq-footer { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

/* Zone cards */
.admin-zone-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.admin-zone-card {
  background: #fff; border-radius: 0.75rem; padding: 1.25rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.admin-zone-name  { font-weight: 700; color: #0f3460; margin-bottom: 0.25rem; }
.admin-zone-city  { font-size: 0.78rem; color: #64748b; margin-bottom: 0.75rem; }
.admin-zone-stats { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.admin-zone-stat  { background: #f1f5f9; border-radius: 0.4rem; padding: 0.25rem 0.5rem; font-size: 0.72rem; color: #475569; }

/* Quick action list */
.admin-quick-list { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-quick-item {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
  background: #f8fafc; border-radius: 0.5rem; cursor: pointer; transition: background 0.2s;
  font-size: 0.85rem; font-weight: 500; color: #334155;
}
.admin-quick-item:hover { background: #e2e8f0; }
.admin-quick-item .qi-icon { font-size: 1.1rem; }

/* ─── Agency Showcase Page ───────────────────────────────── */

/* Hero */
.sc-hero {
  min-height: 88vh;
  background: linear-gradient(135deg, #0f3460 0%, #1a1f36 55%, #0d1b2a 100%);
}
.sc-hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(16,185,129,0.12) 0%, transparent 70%);
}
.sc-hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(255,255,255,0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.6) 1px, transparent 1px);
  background-size: 60px 60px;
}
.sc-h1-accent { color: var(--accent-light); }

/* Badge pill */
.sc-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(16,185,129,0.15); color: var(--accent-light);
}
.sc-badge i { font-size: 0.6rem; }

/* Ghost button */
.sc-btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.2); color: rgba(255,255,255,0.8);
  background: transparent; transition: all 0.2s; cursor: pointer; text-decoration: none;
}
.sc-btn-ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.4); color: #fff; }

/* How it works steps */
.sc-step-card {
  background: #fff; border: 1.5px solid #f1f5f9; border-radius: 1rem;
  padding: 2rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sc-step-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.08); border-color: var(--accent-pale); }
.sc-step-num {
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--accent); text-transform: uppercase;
}
.sc-step-icon {
  width: 3rem; height: 3rem; border-radius: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-pale); color: var(--accent); font-size: 1.25rem;
}

/* Feature cards */
.sc-feat-card {
  background: #fff; border-radius: 0.875rem; padding: 1.5rem;
  border: 1.5px solid #f1f5f9; display: flex; flex-direction: column; gap: 0.6rem;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.sc-feat-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); border-color: #e2e8f0; }
.sc-feat-icon {
  width: 2.5rem; height: 2.5rem; border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  margin-bottom: 0.25rem;
}

/* Plan cards */
.sc-plan-card {
  border-radius: 1.25rem; padding: 2rem;
  display: flex; flex-direction: column; gap: 0;
  position: relative; transition: box-shadow 0.2s;
}
.sc-plan-pro {
  background: #fff; border: 2px solid #e2e8f0;
}
.sc-plan-pro:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.sc-plan-ult {
  background: linear-gradient(145deg, #0f3460 0%, #1a1f36 100%);
  border: 2px solid rgba(16,185,129,0.3);
  box-shadow: 0 16px 50px rgba(15,52,96,0.35);
}
.sc-plan-featured { transform: scale(1.02); }
.sc-plan-popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.65rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 0.3rem 0.9rem; border-radius: 999px; white-space: nowrap;
}
.sc-plan-header { margin-bottom: 1.25rem; }
.sc-plan-badge-pro {
  display: inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em;
  color: #1d4ed8; background: #dbeafe; padding: 0.2rem 0.6rem; border-radius: 999px;
  margin-bottom: 0.75rem;
}
.sc-plan-badge-ult {
  display: inline-block; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.1em;
  color: var(--accent-light); background: rgba(16,185,129,0.2); padding: 0.2rem 0.6rem;
  border-radius: 999px; margin-bottom: 0.75rem;
}
.sc-plan-name { font-size: 1.2rem; font-weight: 800; color: #0f3460; margin-bottom: 0.35rem; font-family: 'Playfair Display', serif; }
.sc-plan-sub  { font-size: 0.78rem; color: #64748b; line-height: 1.5; }
.sc-plan-price {
  display: flex; align-items: baseline; gap: 0.2rem;
  margin: 1.25rem 0 0.4rem; color: #0f3460;
}
.sc-plan-currency { font-size: 0.85rem; font-weight: 700; opacity: 0.6; }
.sc-plan-amount   { font-size: 2.75rem; font-weight: 900; line-height: 1; font-family: 'Playfair Display', serif; }
.sc-plan-period   { font-size: 0.75rem; color: #94a3b8; }
.sc-plan-note     { font-size: 0.72rem; font-weight: 700; color: var(--accent); margin-bottom: 1.25rem; }

/* Plan feature list */
.sc-plan-features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; flex: 1; }
.sc-feat-row      { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.8rem; }
.sc-feat-muted    { opacity: 0.35; }
.sc-feat-ico      { font-size: 0.8rem; flex-shrink: 0; margin-top: 0.1rem; }
.sc-ico-yes       { color: var(--accent); }
.sc-ico-no        { color: #d1d5db; }
.sc-ico-ult       { color: var(--accent-light); }

/* Plan CTA buttons */
.sc-plan-cta {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; padding: 0.85rem 1.5rem; border-radius: 0.75rem;
  font-size: 0.875rem; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all 0.2s; border: none;
}
.sc-cta-pro {
  background: #0f3460; color: #fff;
}
.sc-cta-pro:hover { background: #1a4a80; }
.sc-cta-ult {
  background: var(--accent); color: #fff;
}
.sc-cta-ult:hover { background: #059669; }

/* Add-ons strip */
.sc-addons {
  background: #f8fafc; border: 1.5px solid #e2e8f0;
  border-radius: 1rem; padding: 1.5rem 2rem;
}
.sc-addons-title {
  font-size: 0.8rem; font-weight: 700; color: #475569; text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 1rem;
}
.sc-addons-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.75rem;
}
.sc-addon-item {
  display: flex; align-items: center; gap: 0.75rem;
  background: #fff; border: 1px solid #e2e8f0; border-radius: 0.6rem;
  padding: 0.65rem 0.9rem;
}
.sc-addon-ico  { color: var(--accent); font-size: 0.9rem; width: 1.25rem; text-align: center; flex-shrink: 0; }
.sc-addon-name { font-size: 0.78rem; font-weight: 600; color: #334155; }
.sc-addon-price{ font-size: 0.68rem; color: #94a3b8; }

/* Testimonials */
.sc-testi-card {
  background: #fff; border: 1.5px solid #f1f5f9; border-radius: 1rem;
  padding: 1.5rem; display: flex; flex-direction: column;
  transition: box-shadow 0.2s;
}
.sc-testi-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.07); }

/* FAQ accordion */
.sc-faq-item {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 0.75rem;
  cursor: pointer; overflow: hidden; transition: border-color 0.2s;
}
.sc-faq-item:hover { border-color: var(--accent); }
.sc-faq-item.open { border-color: var(--accent); }
.sc-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 1.25rem; font-size: 0.875rem; font-weight: 600; color: #0f3460;
  user-select: none;
}
.sc-faq-arrow { transition: transform 0.25s; color: #94a3b8; font-size: 0.7rem; flex-shrink: 0; }
.sc-faq-item.open .sc-faq-arrow { transform: rotate(180deg); color: var(--accent); }
.sc-faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 0.82rem; color: #64748b; line-height: 1.65;
  padding: 0 1.25rem;
}
.sc-faq-item.open .sc-faq-a { max-height: 200px; padding: 0 1.25rem 1.1rem; }

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .hero-bg { min-height: 80vh; }
  .search-container { margin: 0 16px; }
  .price-tag { font-size: 1.5rem; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: relative; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-grid .col-span-2 { grid-column: span 1; }
  .sc-plan-featured { transform: none; }
  .sc-plan-amount { font-size: 2.25rem; }
}
