/* ============ شركة تنقيح — ورقة الأنماط ============ */
/* الألوان الرسمية من دليل الهوية (ص7) */
:root {
  --green-900: #13211B;   /* الأخضر الأغمق */
  --green-800: #1E3F2B;   /* الأخضر الأساسي */
  --green-700: #155235;
  --green-600: #2B673F;
  --gold: #AD965F;
  --gold-light: #C9B98E;
  --gold-pale: #F3EEE2;
  --bg: #FAFAF7;
  --surface: #FFFFFF;
  --text: #1C2420;
  --text-soft: #55605A;
  --line: #E6E4DC;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(19, 33, 27, 0.08);
  --shadow-lg: 0 14px 44px rgba(19, 33, 27, 0.14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Alexandria", "Segoe UI", Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container-narrow { width: min(820px, 92%); }

/* ============ الأزرار ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 26px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 2px solid transparent; cursor: pointer; transition: all .25s ease;
  font-family: inherit;
}
.btn-lg { padding: 15px 34px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #997F45; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(173, 150, 95, .35); }
.btn-outline { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

/* ============ الترويسة ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; gap: 28px; padding: 14px 0; }
.brand-logo { height: 46px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 8px; font-size: 15px; font-weight: 500;
  color: var(--text-soft); transition: all .2s;
}
.nav-link:hover { color: var(--green-800); background: var(--gold-pale); }
.nav-link.active { color: var(--green-800); font-weight: 700; }
.header-cta { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--green-800); margin: 5px 0; border-radius: 2px; transition: all .3s; }

/* ============ الواجهة (Hero) ============ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: #fff; text-align: center;
  padding: clamp(70px, 12vh, 130px) 0 90px;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cpath d='M0 0h60v60z' fill='%23ffffff' fill-opacity='0.022'/%3E%3Cpath d='M120 120H60V60z' fill='%23000000' fill-opacity='0.05'/%3E%3C/svg%3E");
}
.hero-mark {
  position: absolute; left: -60px; bottom: -80px; height: 480px; width: auto;
  opacity: .06; pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18);
  padding: 8px 18px; border-radius: 100px; font-size: 13.5px; margin-bottom: 28px;
  color: var(--gold-light);
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(173, 150, 95, .25); }
.hero h1 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.4; margin-bottom: 22px; }
.hero .gold { color: var(--gold-light); }
.hero-lede { max-width: 720px; margin: 0 auto 36px; font-size: clamp(15px, 2vw, 18px); font-weight: 300; color: rgba(255, 255, 255, .85); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 44px; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.hero-chips li {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  padding: 7px 18px; border-radius: 100px; font-size: 13.5px; color: rgba(255, 255, 255, .9);
}
.hero-chips li::before { content: "✓"; color: var(--gold-light); margin-inline-end: 7px; font-weight: 700; }

/* ============ الأقسام ============ */
.section { padding: clamp(60px, 9vh, 100px) 0; }
.section-alt { background: linear-gradient(180deg, #F4F3EC 0%, var(--bg) 100%); }
.section-head { text-align: center; margin-bottom: 52px; }
.section-kicker {
  color: var(--gold); font-weight: 700; font-size: 14px; letter-spacing: .5px; margin-bottom: 10px;
}
.gold-kicker { color: var(--gold-light); }
.section-head h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; color: var(--green-800); }
.section-sub { color: var(--text-soft); margin-top: 12px; font-size: 15.5px; }

/* ============ عن الشركة ============ */
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: start; }
.about-text p { color: var(--text-soft); margin-bottom: 18px; font-size: 16px; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--green-800); }
.check {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-pale); position: relative;
}
.check::after {
  content: ""; position: absolute; top: 7px; right: 9px; width: 6px; height: 11px;
  border: solid var(--gold); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg);
}
.about-cards { display: grid; gap: 18px; }
.vision-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 6px;
  transition: transform .25s, box-shadow .25s;
}
.vision-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.vc-icon {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-800), var(--green-600)); color: var(--gold-light);
  margin-bottom: 8px;
}
.vc-icon svg { width: 24px; height: 24px; }
.vision-card h3 { font-size: 18px; color: var(--green-800); font-weight: 700; }
.vision-card p { color: var(--text-soft); font-size: 14.5px; }

/* ============ الخدمات ============ */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 20px;
}
.service-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: all .28s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 0;
  background: linear-gradient(180deg, var(--gold), var(--green-600)); transition: width .28s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { width: 4px; }
.sc-icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--gold-pale); color: var(--green-700); margin-bottom: 18px;
}
.sc-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: var(--green-800); margin-bottom: 8px; }
.service-card p { font-size: 13.5px; color: var(--text-soft); line-height: 1.75; }

/* ============ آلية العمل ============ */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step;
}
.step {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; position: relative; box-shadow: var(--shadow);
}
.step-num {
  width: 52px; height: 52px; margin: 0 auto 16px; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: var(--gold-light); font-size: 22px; font-weight: 800;
  box-shadow: 0 0 0 6px var(--gold-pale);
}
.step h3 { font-size: 17px; color: var(--green-800); margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--text-soft); }

/* ============ الأسئلة الشائعة ============ */
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-item summary {
  padding: 18px 22px; cursor: pointer; font-weight: 700; color: var(--green-800);
  list-style: none; position: relative; padding-inline-end: 52px; transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; inset-inline-end: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold); font-size: 19px; font-weight: 700;
  transition: all .25s;
}
.faq-item[open] summary::after { content: "−"; background: var(--green-800); color: #fff; }
.faq-item summary:hover { background: #FCFBF7; }
.faq-item p { padding: 0 22px 20px; color: var(--text-soft); font-size: 14.5px; }

/* ============ قسم الاستشارة ============ */
.consult {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--green-900), var(--green-800) 60%, var(--green-700));
  padding: clamp(60px, 9vh, 100px) 0;
}
.consult-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.consult-text h2 { font-size: clamp(24px, 3.6vw, 36px); font-weight: 800; margin-bottom: 16px; }
.consult-text > p { color: rgba(255, 255, 255, .82); font-weight: 300; margin-bottom: 24px; }
.consult-points { display: grid; gap: 12px; }
.consult-points li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .9); }
.consult-points li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; display: grid; place-items: center;
  background: rgba(173, 150, 95, .25); color: var(--gold-light); border-radius: 50%; font-size: 13px; font-weight: 700;
}
.consult-form {
  background: var(--surface); color: var(--text); border-radius: 18px;
  padding: 34px 30px; box-shadow: var(--shadow-lg); display: grid; gap: 18px;
}
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 14px; color: var(--green-800); }
.req { color: #C0392B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: #FBFBF9; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(173, 150, 95, .18); background: #fff;
}
.field input.invalid { border-color: #C0392B; }
.wa-ic { width: 20px; height: 20px; }
.form-note { font-size: 12.5px; color: var(--text-soft); text-align: center; }

/* ============ التواصل ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); transition: all .25s; display: block;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.contact-card-wide { grid-column: 1 / -1; }
.cc-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--gold-pale); color: var(--green-700); margin-bottom: 12px;
}
.cc-icon svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 15px; color: var(--green-800); margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--text-soft); }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); min-height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }

/* ============ التذييل ============ */
.site-footer {
  background: var(--green-900); color: rgba(255, 255, 255, .8);
  border-top: 4px solid var(--gold);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px;
  padding: 60px 0 40px;
}
.footer-logo { max-height: 170px; width: auto; }
.footer-col h4 { color: var(--gold-light); font-size: 16px; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; margin-bottom: 10px; font-size: 14px; color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; text-align: center; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ============ زر واتساب العائم ============ */
.wa-fab {
  position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  transition: transform .25s;
  animation: fab-pulse 2.6s infinite;
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab svg { width: 30px; height: 30px; }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .35); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============ حركة الظهور ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .wa-fab { animation: none; }
}

/* ============ الجوال ============ */
@media (max-width: 1024px) {
  .about-grid, .consult-inner, .contact-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; inset: 73px 0 auto 0; background: #fff; flex-direction: column;
    padding: 18px; gap: 6px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-130%); transition: transform .35s ease; z-index: 99;
  }
  .main-nav.open { transform: none; }
  .nav-toggle { display: block; margin-inline-start: auto; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .header-cta { display: none; }
  .main-nav { margin-inline-start: 0; }
  .steps { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { margin-inline: auto; }
  .brand-logo { height: 40px; }
  .wa-fab { width: 52px; height: 52px; bottom: 18px; inset-inline-start: 18px; }
}
