:root{
  /* نفس روح الموقع المرجعي: أبيض + كحلي + ذهبي */
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --panel: #ffffff;
  --text: #0b1f3a;
  --muted: rgba(11,31,58,.72);
  --muted2: rgba(11,31,58,.55);

  --navy: #0b1f3a;
  --navy-2: #102a4c;

  --gold1: #c9a13b;
  --gold2: #e5c76b;

  --border: rgba(11,31,58,.12);
  --shadow: 0 14px 40px rgba(16,42,76,.12);
  --shadow2: 0 10px 26px rgba(16,42,76,.10);

  --radius: 16px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:"Cairo", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* Helpers */
.container{ width:min(1200px, 92%); margin:0 auto; }
.muted{ color: var(--muted); }
.tiny{ font-size: 12px; color: var(--muted2); }
.divider{ height:1px; background: var(--border); margin: 18px 0; }

/* Header */
.header{
  position: sticky;
  top:0;
  z-index:50;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  gap:16px;
  padding: 14px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--navy);
  min-width: 240px;
}
.brand__logo{ width:48px; height:48px; object-fit: contain; }
.brand__name{ font-weight: 800; letter-spacing:.2px; }
.brand__tag{ font-size: 12px; color: var(--muted2); margin-top: -4px; }

.nav{
  display:flex;
  align-items:center;
  gap:20px;
  margin-inline-start: auto;
}
.nav__link{
  text-decoration:none;
  color: rgba(11,31,58,.92);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 10px;
}
.nav__link:hover{ color: var(--gold1); }

.header__actions{
  display:flex;
  gap:10px;
  margin-inline-start: 10px;
}
.pill{
  text-decoration:none;
  color: var(--navy);
  font-weight: 900;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(201,161,59,.35);
  background: linear-gradient(90deg, rgba(201,161,59,.18), rgba(229,199,107,.22));
}
.pill--ghost{
  background: #ffffff;
  color: var(--navy);
  border: 1px solid var(--border);
}

/* Mobile toggle */
.nav__toggle{
  display:none;
  margin-inline-start: auto;
  border:1px solid var(--border);
  background: #ffffff;
  color: var(--navy);
  padding: 10px 12px;
  border-radius: 12px;
  cursor:pointer;
}

/* Hero */
.hero{ position: relative; min-height: 82vh; display:flex; align-items:center; }
.hero__bg{
  position:absolute; inset:0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.02);
}
.hero__overlay{
  position:absolute; inset:0;
  /* نفس فكرة المرجع: صورة + طبقة كحلي خفيفة + لمعة ذهبية */
  background:
    radial-gradient(900px 520px at 70% 18%, rgba(229,199,107,.25), transparent 60%),
    linear-gradient(90deg, rgba(11,31,58,.78), rgba(11,31,58,.35));
}
.hero__inner{ position: relative; padding: 64px 0; }
.hero__content{ width:min(740px, 100%); }
.hero__title{ font-size: clamp(28px, 4.2vw, 52px); margin:0 0 14px; color:#fff; }
.hero__subtitle{
  font-size: 16px; line-height: 1.9; margin: 0 0 22px;
  color: rgba(255,255,255,.86);
}

.hero__actions{ display:flex; gap:12px; flex-wrap: wrap; margin-bottom: 18px; }
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 12px;
  text-decoration:none;
  font-weight: 900;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn--gold{
  color: var(--navy);
  background: linear-gradient(90deg, var(--gold1), var(--gold2));
  box-shadow: 0 14px 34px rgba(201,161,59,.22);
}
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.95);
}
.btn--ghost:hover{ border-color: rgba(229,199,107,.55); color: var(--gold2); }

.hero__badges{ display:flex; flex-wrap: wrap; gap:10px; }
.badge{
  font-size: 12px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(11,31,58,.25);
  color: rgba(255,255,255,.92);
}

/* Sections */
.section{ padding: 64px 0; }
.section--alt{ background: var(--bg-alt); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.section__head{ margin-bottom: 18px; }
.section__title{ margin: 0 0 8px; font-size: 28px; }
.section__desc{ margin: 0; }

.grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

/* Cards */
.card{
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card--padded{ padding: 18px; }

.list{ display:grid; gap:10px; margin-top: 14px; }
.li{
  border: 1px solid var(--border);
  background: #fff;
  padding: 12px 12px;
  border-radius: 14px;
  line-height: 1.75;
  color: var(--muted);
  box-shadow: var(--shadow2);
}

.signature{ margin-top: 16px; }
.signature__name{ font-weight: 900; }
.signature__role{ color: var(--muted2); font-size: 13px; }

.chips{ display:flex; gap:8px; flex-wrap: wrap; margin-top: 10px; }
.chip{
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(201,161,59,.35);
  color: var(--navy);
  background: rgba(229,199,107,.18);
}

/* Media */
.media{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
  min-height: 360px;
  box-shadow: var(--shadow);
}
.media__img{ width:100%; height:100%; object-fit: cover; display:block; }
.media__placeholder{
  position:absolute; inset:0;
  display:flex; align-items:center; justify-content:center;
  color: var(--muted2);
}

/* Services */
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.svc{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
  transition: transform .15s ease, border-color .15s ease;
}
.svc:hover{
  transform: translateY(-3px);
  border-color: rgba(201,161,59,.55);
}
.svc__icon{ font-size: 22px; margin-bottom: 10px; }
.svc__title{ margin:0 0 6px; font-size: 16px; }
.svc__text{ margin:0; color: var(--muted); line-height: 1.75; }

/* Team */
.team-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.member{
  display:grid;
  grid-template-columns: 160px 1fr;
  gap: 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow2);
}
.member__img{ width: 100%; height: 100%; min-height: 180px; object-fit: cover; display:block; }
.member__body{ padding: 14px; }
.member__name{ margin: 0 0 6px; }
.member__meta{ font-size: 13px; color: var(--gold1); margin-bottom: 10px; font-weight: 800; }
.member__bio{ margin: 0; line-height: 1.85; }

/* Contact */
.contact-grid{
  display:grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  gap: 14px;
}
.contact-card, .contact-form{
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.contact-title{ margin: 0 0 8px; }

form{ display:grid; gap: 10px; margin-top: 10px; }
label{ font-size: 13px; color: var(--muted2); font-weight: 700; }
input, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--navy);
  outline: none;
}
input:focus, textarea:focus{ border-color: rgba(201,161,59,.65); }

/* Footer */
.footer{
  padding: 44px 0 22px;
  border-top: 1px solid var(--border);
  background: var(--navy);
  color: #fff;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}
.footer-brand{ font-weight: 900; font-size: 18px; margin-bottom: 10px; }
.footer-title{ font-weight: 900; margin-bottom: 10px; color: rgba(255,255,255,.92); }
.footer-link{
  display:block;
  text-decoration:none;
  color: rgba(255,255,255,.78);
  margin-bottom: 8px;
}
.footer-link:hover{ color: var(--gold2); }
.footer-item{ margin-bottom: 8px; }
.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}

/* Responsive */
@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
  .contact-grid{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
  .member{ grid-template-columns: 1fr; }
}

@media (max-width: 820px){
  .nav__toggle{ display:block; }
  .nav{
    position: absolute;
    top: 70px;
    left: 4%;
    right: 4%;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 10px;
    box-shadow: var(--shadow);
  }
  .nav.is-open{ display:flex; }
  .header__actions{ display:none; }
}
