/* طاقم — موقع تسويقي محلي · عربي RTL · رمل دافئ + أخضر سعودي */
:root {
  --sand-50: #faf6f0;
  --sand-100: #f3ebe0;
  --sand-200: #e6d5c0;
  --sand-300: #d4b896;
  --ink: #1a1612;
  --ink-soft: #3d342c;
  --muted: #6b5e52;
  --cream: #fffdf9;
  --green: #0d6b4c;
  --green-deep: #084c37;
  --green-soft: #e8f5ef;
  --gold: #c4a35a;
  --gold-soft: #f5edd8;
  --border: rgba(26, 22, 18, 0.1);
  --shadow: 0 18px 50px rgba(26, 22, 18, 0.1);
  --radius: 18px;
  --font: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 100% -10%, rgba(13, 107, 76, 0.08), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(196, 163, 90, 0.12), transparent 50%),
    linear-gradient(180deg, var(--sand-50), var(--cream) 40%, var(--sand-100));
  color: var(--ink);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-deep); }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(250, 246, 240, 0.86);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  box-shadow: 0 8px 20px rgba(13, 107, 76, 0.28);
}
.nav-links {
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a { color: var(--ink-soft); font-size: 0.95rem; }
.nav-links a:hover { color: var(--green); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(145deg, var(--green), var(--green-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(13, 107, 76, 0.28);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(13, 107, 76, 0.36); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--sand-100); color: var(--ink); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--green-soft);
  color: var(--green-deep);
  border: 1px solid rgba(13, 107, 76, 0.15);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.5rem; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-meta strong { color: var(--ink); }

.office-card {
  background: linear-gradient(165deg, #16352b 0%, #0c241c 55%, #1a1612 100%);
  color: #f4efe7;
  border-radius: 28px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 340px;
}
.office-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -30% 20%;
  height: 70%;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.25), transparent 60%);
  pointer-events: none;
}
.office-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.office-top span {
  font-size: 0.82rem;
  opacity: 0.8;
}
.pill-live {
  background: rgba(76, 217, 100, 0.15);
  color: #8dffb0;
  border: 1px solid rgba(76, 217, 100, 0.35);
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.78rem;
}
.desk-grid {
  display: grid;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}
.desk {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--gold-soft);
  color: var(--green-deep);
}
.desk h3 { margin: 0; font-size: 0.95rem; }
.desk p { margin: 0.15rem 0 0; font-size: 0.78rem; opacity: 0.75; }
.status {
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
  white-space: nowrap;
}
.status-work { background: rgba(76, 217, 100, 0.18); color: #9dffb8; }
.status-wait { background: rgba(196, 163, 90, 0.2); color: #f0d58a; }
.status-think { background: rgba(120, 180, 255, 0.18); color: #b7d4ff; }

/* Sections */
section { padding: 3.5rem 0; }
.section-head { margin-bottom: 1.75rem; max-width: 40rem; }
.section-head h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  line-height: 1.3;
}
.section-head p { margin: 0; color: var(--muted); }

.problem {
  background: rgba(255, 253, 249, 0.7);
  border-block: 1px solid var(--border);
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.problem-card, .step-card, .role-card, .price-card, .faq-item {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 8px 24px rgba(26, 22, 18, 0.04);
}
.problem-card h3, .step-card h3, .role-card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.problem-card p, .step-card p, .role-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.role-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}
.role-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 1.25rem;
}
.metrics {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--border);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.metrics strong { color: var(--green-deep); display: block; margin-bottom: 0.2rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.trust-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  background: linear-gradient(135deg, var(--green-deep), #0a3d2d 60%, #16352b);
  color: #f7f2ea;
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.trust-band h2 { margin: 0 0 0.6rem; color: #fff; }
.trust-band p { margin: 0 0 1rem; opacity: 0.88; }
.ladder {
  display: grid;
  gap: 0.55rem;
}
.ladder-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.7rem 0.9rem;
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.92rem;
}
.ladder-item span { opacity: 0.75; font-size: 0.8rem; }


/* Sectors */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.sector-card {
  grid-column: span 2;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  box-shadow: 0 8px 24px rgba(26, 22, 18, 0.04);
}
.sector-card-wide { grid-column: span 3; }
.sector-card:last-child:nth-child(odd) { grid-column: span 3; }
.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}
.sector-card h3 { margin: 0 0 0.45rem; font-size: 1.05rem; }
.sector-card p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.roles-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.price-card.featured {
  border-color: rgba(13, 107, 76, 0.35);
  background: linear-gradient(180deg, #fff, var(--green-soft));
  transform: translateY(-4px);
}
.price-card .tag {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.75rem;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.6rem;
}
.price {
  font-size: 2rem;
  font-weight: 700;
  margin: 0.35rem 0;
  color: var(--ink);
}
.price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.price-card ul {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}
.price-card li {
  padding: 0.35rem 0;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.price-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.chip {
  background: var(--sand-100);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* FAQ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item details { cursor: pointer; }
.faq-item summary {
  list-style: none;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--green);
  font-size: 1.3rem;
  line-height: 1;
}
.faq-item details[open] summary::after { content: "−"; }
.faq-item details p {
  margin: 0.75rem 0 0;
  color: var(--muted);
}

/* CTA / Form */
.cta {
  padding-bottom: 4rem;
}
.cta-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.form-grid {
  display: grid;
  gap: 0.85rem;
}
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
}
input, select, textarea {
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(13, 107, 76, 0.35);
  border-color: var(--green);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.form-msg {
  min-height: 1.4rem;
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
}
.form-msg.ok { color: var(--green-deep); }
.form-msg.err { color: #9b2c2c; }
.form-hint { color: var(--muted); font-size: 0.82rem; margin: 0; font-weight: 400; }

footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}


@media (max-width: 1100px) and (min-width: 901px) {
  .roles-grid-5 { grid-template-columns: repeat(3, 1fr); }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .sector-card, .sector-card-wide, .sector-card:last-child:nth-child(odd) { grid-column: span 1; }
}

@media (max-width: 900px) {
  .hero-grid, .trust-band, .cta-card { grid-template-columns: 1fr; }
  .roles-grid, .roles-grid-5, .steps, .pricing-grid, .problem-grid, .sectors-grid { grid-template-columns: 1fr; }
  .sector-card, .sector-card-wide, .sector-card:last-child:nth-child(odd) { grid-column: span 1; }
  .price-card.featured { transform: none; }
  .nav-links .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .hero { padding-top: 2rem; }
}
