/* EG Contractors Home – Visual v2 (same filename by request) */
:root{
  --egch-bg:#f5f7fa;
  --egch-card:#ffffff;
  --egch-text:#0d1520;
  --egch-muted:#5f6b7a;
  --egch-line:#e6eaf0;
  --egch-green:#0f9d58;
  --egch-green2:#17b26a;
  --egch-dark:#0b0f16;
  --egch-dark2:#101828;
  --egch-radius:18px;
  --egch-shadow: 0 14px 40px rgba(16,24,40,.10);
  --egch-shadow-soft: 0 10px 26px rgba(16,24,40,.08);
}
.egch, .egch *{box-sizing:border-box}
.egch{
  font-family: Cairo, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--egch-bg);
  color: var(--egch-text);
  direction: rtl;
}
.egch a{color:inherit; text-decoration:none}
.egch-container{max-width: 1200px; margin:0 auto; padding:0 18px}
.egch-center{text-align:center; margin-top: 18px}

.egch-topstrip{background: #0a0d12; color:#c8d0da}
.egch-topstrip__inner{max-width:1200px;margin:0 auto;padding:10px 18px;display:flex;gap:14px;align-items:center;justify-content:space-between}
.egch-topstrip__msg{font-size:13px;opacity:.92;line-height:1.6}
.egch-topstrip__cta{display:flex;gap:10px;align-items:center;white-space:nowrap}
.egch-sep{opacity:.35}
.egch-link{font-size:13px;opacity:.95}
.egch-link--pill{background:#111827;border:1px solid rgba(255,255,255,.10);padding:7px 12px;border-radius:999px}

.egch-hero{padding: 26px 0 22px}
.egch-hero__grid{display:grid;grid-template-columns: 1.4fr .9fr;gap:18px;align-items:stretch}
@media (max-width: 980px){ .egch-hero__grid{grid-template-columns:1fr;gap:14px}}
.egch-hero__left{
  background: radial-gradient(1200px 420px at 15% 0%, rgba(15,157,88,.18), rgba(255,255,255,0) 55%),
              linear-gradient(135deg,#e9fff3 0%, #ffffff 55%);
  border:1px solid rgba(15,157,88,.16);
  border-radius: calc(var(--egch-radius) + 6px);
  padding: 26px 22px;
  box-shadow: var(--egch-shadow-soft);
}
.egch-hero__kicker{font-size:13px;color:var(--egch-muted);margin-bottom:10px}
.egch-hero__title{margin:0 0 10px;font-size:38px;line-height:1.1;letter-spacing:-.3px}
.egch-hero__title span{color: var(--egch-green)}
@media (max-width:680px){.egch-hero__title{font-size:30px}}
.egch-hero__desc{margin:0 0 16px;color:var(--egch-muted);line-height:1.9;font-size:14.5px}
.egch-hero__stats{display:flex;flex-wrap:wrap;gap:10px;margin: 10px 0 16px}
.egch-pill{
  background:#ffffff;border:1px solid var(--egch-line);
  border-radius: 999px;padding: 9px 12px;font-size: 13px;
  box-shadow: 0 8px 18px rgba(16,24,40,.06);
}
.egch-pill strong{color:var(--egch-green)}

.egch-filters{display:grid;grid-template-columns: 1fr 1fr auto; gap:10px; margin-top:12px}
@media (max-width:680px){.egch-filters{grid-template-columns:1fr;}}
.egch-select{
  width:100%;border:1px solid var(--egch-line);background:#fff;
  border-radius: 999px;padding: 11px 14px;font-size: 13px;color: var(--egch-text);outline:none;
}
.egch-select:focus{border-color: rgba(15,157,88,.55); box-shadow: 0 0 0 4px rgba(15,157,88,.12)}
.egch-hero__note{margin-top:10px;font-size:12.5px;color:var(--egch-muted)}

.egch-hero__right{display:flex}
.egch-feature{
  width:100%;
  background: linear-gradient(180deg, #0b0f16 0%, #111827 100%);
  border-radius: calc(var(--egch-radius) + 6px);
  color:#fff;box-shadow: var(--egch-shadow);overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.egch-feature__tag{
  display:inline-block;margin: 16px 16px 0;
  background: rgba(15,157,88,.18);
  border: 1px solid rgba(15,157,88,.30);
  color:#d6ffe7;padding: 7px 10px;border-radius: 999px;font-size: 12.5px;
}
.egch-feature__body{padding: 14px 18px 18px}
.egch-feature__title{font-size:18px;margin: 8px 0 10px}
.egch-feature__meta{display:flex;gap:10px;flex-wrap:wrap;color:#d2d6dd;font-size:12.5px}
.egch-feature__desc{margin-top:10px;color:#e6eaf0;font-size:13px;line-height:1.8;opacity:.95}
.egch-feature__actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}

.egch-section{padding: 22px 0 8px}
.egch-section__head{text-align:center;margin-bottom:14px}
.egch-section__head--row{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;text-align:right}
@media (max-width: 980px){.egch-section__head--row{flex-direction:column;align-items:stretch;text-align:center}}
.egch-h2{margin:0;font-size:22px}
.egch-sub{margin:6px 0 0;color:var(--egch-muted);font-size:13.5px;line-height:1.8}

.egch-grid{display:grid;gap:14px}
.egch-grid--types{grid-template-columns: repeat(4, 1fr)}
@media (max-width: 1100px){.egch-grid--types{grid-template-columns: repeat(2, 1fr)}}
@media (max-width: 640px){.egch-grid--types{grid-template-columns: 1fr}}

.egch-card{
  background: var(--egch-card);
  border:1px solid var(--egch-line);
  border-radius: var(--egch-radius);
  padding: 16px 16px 14px;
  box-shadow: 0 10px 28px rgba(16,24,40,.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.egch-card:hover{transform: translateY(-2px); box-shadow: 0 16px 44px rgba(16,24,40,.12); border-color: rgba(15,157,88,.18)}

.egch-card--type h3{margin:0 0 8px;font-size:16px}
.egch-card--type p{margin:0 0 10px;color:var(--egch-muted);font-size:13px;line-height:1.8}

.egch-chip{
  display:inline-flex;align-items:center;gap:6px;
  background: rgba(15,157,88,.10);
  border: 1px solid rgba(15,157,88,.18);
  color: var(--egch-green);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.egch-band{
  margin: 14px 0 8px;
  padding: 22px 0;
  background: radial-gradient(900px 320px at 85% -10%, rgba(15,157,88,.25), rgba(0,0,0,0) 60%),
              linear-gradient(180deg, #0b0f16 0%, #101828 100%);
  color:#fff;
}
.egch-band__grid{display:grid;grid-template-columns: 1.1fr .9fr;gap:16px;align-items:center}
@media (max-width: 980px){.egch-band__grid{grid-template-columns:1fr}}
.egch-h2--on-dark{color:#fff}
.egch-sub--on-dark{color:#d0d5dd}
.egch-steps{display:grid;gap:10px}
.egch-step{
  display:flex;gap:10px;align-items:flex-start;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px 12px;
}
.egch-step span{
  width:32px;height:32px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background: rgba(15,157,88,.20);
  border:1px solid rgba(15,157,88,.32);
  color:#d6ffe7;font-weight:700;
}
.egch-step strong{display:block;font-size:13.5px;margin-bottom:2px}
.egch-step small{display:block;color:#d0d5dd;font-size:12.5px;line-height:1.6}

.egch-tabs{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
@media (max-width: 980px){.egch-tabs{justify-content:center}}
.egch-tab{
  border:1px solid var(--egch-line);
  background:#fff;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 13px;
  cursor:pointer;
}
.egch-tab.active{background: rgba(15,157,88,.12); border-color: rgba(15,157,88,.20); color: var(--egch-green)}

.egch-grid--projects{grid-template-columns: repeat(3, 1fr)}
@media (max-width: 980px){.egch-grid--projects{grid-template-columns: repeat(2, 1fr)}}
@media (max-width: 640px){.egch-grid--projects{grid-template-columns: 1fr}}
.egch-card--project .egch-card__top{display:flex;gap:8px;align-items:center;justify-content:space-between;margin-bottom:10px}
.egch-badge{
  display:inline-flex;align-items:center;
  background:#111827;border:1px solid rgba(255,255,255,.10);
  color:#fff;padding:6px 10px;border-radius:999px;font-size:12px;
}
.egch-card__title{margin:0 0 10px;font-size:15px;line-height:1.5}
.egch-card__meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--egch-muted);font-size:12.5px;margin-bottom:12px}
.egch-card__actions{display:flex;justify-content:flex-start}

.egch-section--muted{background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,1)); padding: 26px 0 30px}

.egch-grid--contractors{grid-template-columns: repeat(3, 1fr)}
@media (max-width: 980px){.egch-grid--contractors{grid-template-columns:1fr}}
.egch-card--contractor{display:flex;gap:12px;align-items:center}
.egch-avatar{
  width:46px;height:46px;border-radius:16px;
  background: rgba(15,157,88,.12);
  border:1px solid rgba(15,157,88,.18);
  display:flex;align-items:center;justify-content:center;
  color: var(--egch-green);
  font-weight:800;font-size:18px;
}

.egch-stats{
  margin-top:16px;display:grid;gap:12px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 980px){.egch-stats{grid-template-columns:1fr}}
.egch-stat{
  background:#fff;border:1px solid var(--egch-line);
  border-radius: var(--egch-radius);
  padding: 14px 16px;
  box-shadow: 0 10px 26px rgba(16,24,40,.06);
  text-align:center;
}
.egch-stat strong{display:block;font-size:18px;color:var(--egch-green)}
.egch-stat span{display:block;color:var(--egch-muted);font-size:12.5px;margin-top:4px}

.egch-cta-slab{
  margin-top:16px;
  background: linear-gradient(135deg, rgba(15,157,88,.12), rgba(15,157,88,.06));
  border: 1px solid rgba(15,157,88,.18);
  border-radius: calc(var(--egch-radius) + 6px);
  padding: 16px;
  display:flex;gap:12px;align-items:center;justify-content:space-between;
}
@media (max-width: 980px){.egch-cta-slab{flex-direction:column;align-items:stretch;text-align:center}}
.egch-cta-slab strong{display:block;font-size:15px;margin-bottom:4px}
.egch-cta-slab span{display:block;color:var(--egch-muted);font-size:12.8px}
.egch-cta-slab__actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}

.egch-btn{
  display:inline-flex;align-items:center;justify-content:center;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  border: 1px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.egch-btn:hover{transform: translateY(-1px)}
.egch-btn--xl{padding: 12px 18px; font-size: 14px}
.egch-btn--primary{
  background: linear-gradient(180deg, var(--egch-green2), var(--egch-green));
  color:#fff;
  box-shadow: 0 14px 30px rgba(15,157,88,.20);
}
.egch-btn--soft{
  background:#fff;
  border-color: rgba(15,157,88,.24);
  color: var(--egch-green);
  box-shadow: 0 12px 26px rgba(16,24,40,.06);
}
.egch-btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color:#fff;
}
.egch-btn--dark{
  background:#111827;
  color:#fff;
  border-color: rgba(255,255,255,.10);
}
.egch-card--project .egch-btn--ghost{color: var(--egch-green); background:#fff; border-color: rgba(15,157,88,.20)}

.egch-empty{
  grid-column: 1 / -1;
  background:#fff;border:1px dashed rgba(15,157,88,.35);
  border-radius: var(--egch-radius);
  padding: 18px;text-align:center;
}
.egch-empty__icon{font-size:30px;margin-bottom:6px}
.egch-empty__title{font-weight:800;margin-bottom:4px}
.egch-empty__sub{color:var(--egch-muted);font-size:12.8px;margin-bottom:10px}
.egch-empty--inline{padding:14px}