/* =========================================================
   HOME PAGE (Hero, Stats, Trade Icons, Features)
   ========================================================= */

/* Hero Section */
.matrouh-hero { padding: 12px 0 8px !important; }
.matrouh-hero-container { display: grid; gap: 14px; }
.matrouh-hero-card {
  background: #061A3D !important; border: 1px solid rgba(148, 163, 184, 0.18); border-radius: 26px !important;
  overflow: hidden !important; box-shadow: 0 18px 44px rgba(6, 26, 61, 0.16) !important; position: relative; isolation: isolate;
}
.matrouh-hero-image-wrap {
  position: relative !important; height: auto !important; min-height: 0 !important; aspect-ratio: auto !important;
  background: #061A3D !important; overflow: hidden !important; line-height: 0 !important;
}
.matrouh-hero-image {
  width: 100% !important; height: auto !important; min-height: 0 !important; max-height: none !important;
  display: block !important; object-fit: contain !important; object-position: center center !important; transform: none !important; background: transparent !important;
}
.matrouh-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 61, 0.02) 0%, rgba(6, 26, 61, 0.05) 54%, rgba(6, 26, 61, 0.18) 100%) !important; pointer-events: none; }
.matrouh-location-badge {
  position: absolute; top: 12px !important; right: 14px !important; min-height: 34px !important; padding: 6px 12px !important;
  border-radius: 999px; background: rgba(255, 255, 255, 0.88); color: #0f2a5f; border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 14px 30px rgba(6, 26, 61, 0.18); backdrop-filter: blur(14px); font-size: 11.5px !important; font-weight: 900; display: inline-flex; align-items: center; gap: 8px;
}
.matrouh-location-badge i { color: #2563EB; }
.matrouh-hero-strip {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px !important;
  background: radial-gradient(circle at 95% 0%, rgba(59, 130, 246, 0.36), transparent 32%), linear-gradient(135deg, #061A3D 0%, #082052 52%, #0B2A66 100%); color: #fff;
}
.matrouh-hero-title-block { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.matrouh-hero-icon {
  width: 48px !important; height: 48px !important; border-radius: 17px !important; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; font-size: 20px !important; box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 16px 32px rgba(0,0,0,.16); flex: 0 0 auto;
}
.matrouh-hero-title-block h2 { margin: 0; color: #fff; font-size: clamp(20px, 2.2vw, 28px) !important; line-height: 1.25; font-weight: 900; letter-spacing: -.4px; }
.matrouh-hero-title-block p { margin: 3px 0 0 !important; color: rgba(255, 255, 255, 0.78); font-size: 11.5px !important; line-height: 1.45 !important; font-weight: 800; }
.matrouh-hero-actions { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.matrouh-main-action, .matrouh-secondary-action {
  min-height: 42px !important; border-radius: 999px; padding: 9px 15px !important; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px !important; font-weight: 900; transition: transform .22s ease; white-space: nowrap;
}
.matrouh-main-action { background: #fff; color: #061A3D; box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18); }
.matrouh-secondary-action { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #061A3D; border: 1px solid transparent; font-weight: 900; box-shadow: 0 14px 28px rgba(245,158,11,.32); }
.matrouh-main-action:hover, .matrouh-secondary-action:hover { transform: translateY(-2px); }
.matrouh-trust-row { display: flex; align-items: stretch; margin-top: 14px; background: rgba(255,255,255,.88); border: 1px solid rgba(226,232,240,.95); border-radius: 15px; overflow: hidden; }
.matrouh-trust-row div { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 6px; border-inline-end: 1px solid rgba(226,232,240,.9); color: #334155; font-size: 12px; font-weight: 900; text-align: center; line-height: 1.35; }
.matrouh-trust-row div:last-child { border-inline-end: 0; }
.matrouh-trust-row i { color: #16A34A; flex-shrink: 0; }

/* Sections Common */
.workers-section { padding: 10px 0 20px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 8px; }
.section-label { display: inline-block; color: var(--blue); font-weight: 900; font-size: 12px; margin-bottom: 4px; }
.section-head h2 { margin: 0; font-size: 23px; font-weight: 900; color: var(--primary); }
.section-head p { margin: 4px 0 0; color: var(--muted); font-weight: 700; font-size: 13px; line-height: 1.6; }

/* Stats */
.stats-section { padding: 10px 0 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-box { border-radius: 22px; padding: 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow-sm); color: #fff; }
.stat-box:nth-child(1) { background: linear-gradient(135deg, #061A3D, #2563EB); }
.stat-box:nth-child(2) { background: linear-gradient(135deg, #0B3B24, #16A34A); }
.stat-icon { width: 48px; height: 48px; border-radius: 15px; background: rgba(255,255,255,.16); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; flex-shrink: 0; }
.stat-box h3 { margin: 0; font-size: 25px; font-weight: 900; color: #fff; }
.stat-box p { margin: 2px 0 0; color: rgba(255,255,255,.82); font-weight: 800; font-size: 12.5px; }

/* Area Chips (horizontal scroll row) */
.area-icons-section { padding: 10px 0; }
.area-chip-row { display: flex; align-items: center; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.area-chip-row::-webkit-scrollbar { height: 6px; }
.area-chip-row::-webkit-scrollbar-thumb { background: rgba(148,163,184,.45); border-radius: 999px; }
.area-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; border: 1px solid rgba(226,232,240,0.95); background: rgba(255,255,255,0.94); color: var(--primary); border-radius: 999px; padding: 11px 16px; cursor: pointer; font-family: inherit; font-size: 13.5px; font-weight: 900; transition: 0.25s ease; box-shadow: var(--shadow-sm); }
.area-chip:hover { transform: translateY(-2px); border-color: rgba(22,163,74,0.30); box-shadow: 0 10px 20px rgba(22,163,74,0.15); }
.area-chip i { color: var(--green); font-size: 14px; }
.area-chip small { color: var(--muted); font-size: 12px; font-weight: 850; }

@media (max-width: 900px) {
  .matrouh-hero { padding: 14px 0 10px !important; }
  .matrouh-hero-image-wrap, .matrouh-hero-image { height: auto !important; min-height: 0 !important; }
  .matrouh-hero-strip { flex-direction: column; align-items: stretch; padding: 13px 15px !important; }
  .matrouh-hero-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .matrouh-hero { padding: 10px 0 8px !important; }
  .matrouh-hero-card { border-radius: 18px !important; }
  .matrouh-hero-image-wrap, .matrouh-hero-image { height: auto !important; min-height: 0 !important; object-fit: contain !important; }
  .matrouh-location-badge { top: 8px !important; right: 8px !important; min-height: 28px !important; padding: 5px 8px !important; font-size: 9.5px !important; }
  .matrouh-hero-strip { padding: 12px !important; gap: 10px !important; }
  .matrouh-hero-icon { width: 40px !important; height: 40px !important; border-radius: 14px !important; font-size: 17px !important; }
  .matrouh-hero-title-block h2 { font-size: 18px !important; }
  .matrouh-main-action, .matrouh-secondary-action { min-height: 40px !important; font-size: 11.5px !important; padding: 8px 10px !important; }
  .matrouh-trust-row div { padding: 8px 4px; font-size: 10px; gap: 4px; }
  .matrouh-hero-actions { grid-template-columns: 1fr; }
  .area-chip { padding: 9px 13px; font-size: 12.5px; }
  .stats-grid { gap: 10px; }
  .stat-box { padding: 13px; gap: 9px; border-radius: 17px; }
  .stat-icon { width: 38px; height: 38px; font-size: 15px; border-radius: 12px; }
  .stat-box h3 { font-size: 18px; }
  .stat-box p { font-size: 10.5px; }
  .section-head { display: block; }
}