/* ===========================================================
   حجامة — Landing page styles
   Palette (from content brief):
     --green-dark  #123D32   primary
     --green-soft  #6F8065   secondary
     --beige       #F4EFE7   light background
     --gold        #B8A47A   detail accent
     --white-warm  #FFFDF8   warm white
     --ink         #1F2A24   dark text
   =========================================================== */

:root {
  --green-dark: #123D32;
  --green-soft: #6F8065;
  --beige: #F4EFE7;
  --gold: #B8A47A;
  --white-warm: #FFFDF8;
  --ink: #1F2A24;

  --green-dark-90: rgba(18, 61, 50, 0.92);
  --shadow-sm: 0 4px 14px rgba(18, 61, 50, 0.08);
  --shadow-md: 0 10px 30px rgba(18, 61, 50, 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1160px;

  --font-ar: "IBM Plex Sans Arabic", "Tajawal", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--white-warm);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}

h1, h2, h3, h4 { line-height: 1.3; color: var(--green-dark); font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary {
  background: var(--green-dark);
  color: var(--white-warm);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: #0d2e26; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--green-dark);
  border-color: var(--green-dark);
}
.btn-ghost:hover { background: var(--green-dark); color: var(--white-warm); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 248, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(184, 164, 122, 0.25);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 74px;
}
.brand-logo { height: 50px; width: auto; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-weight: 500;
  color: var(--ink);
  padding: 6px 2px;
  position: relative;
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--green-dark); }
.main-nav a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--beige) 0%, var(--white-warm) 60%);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(620px 420px at 88% -10%, rgba(111, 128, 101, 0.18), transparent 60%),
    radial-gradient(520px 360px at -5% 110%, rgba(184, 164, 122, 0.18), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
  padding-block: 72px 84px;
}
.eyebrow {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  color: var(--green-soft);
  background: rgba(111, 128, 101, 0.12);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.3rem); margin-bottom: 18px; }
.lead { font-size: 1.18rem; color: #3a463f; max-width: 56ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.trust-note {
  display: flex; align-items: center; gap: 10px;
  color: var(--green-soft); font-weight: 500;
}
.dot-check {
  display: inline-grid; place-items: center;
  width: 24px; height: 24px;
  background: var(--green-dark); color: #fff;
  border-radius: 50%; font-size: .8rem; flex: none;
}
.hero-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
  object-fit: cover;
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--green-dark); color: var(--white-warm); }
.trust-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding-block: 26px;
  text-align: center;
}
.ts-item { display: flex; flex-direction: column; gap: 2px; }
.ts-item strong { color: var(--white-warm); font-size: 1.05rem; }
.ts-item span { color: rgba(255, 253, 248, 0.7); font-size: .9rem; }

/* ---------- Sections ---------- */
.section { padding-block: 84px; }
.section:nth-of-type(even) { background: var(--beige); }
.services { background: var(--beige); }

.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-tag {
  display: inline-block;
  font-weight: 600; color: var(--gold);
  letter-spacing: .04em; font-size: .92rem;
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 14px; }
.section-head p { color: #4a564f; font-size: 1.08rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.col-text h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 16px; }
.col-text > p { color: #4a564f; margin-bottom: 22px; font-size: 1.06rem; }

/* ---------- Check list ---------- */
.check-list { list-style: none; display: grid; gap: 12px; margin-bottom: 26px; }
.check-list li {
  position: relative;
  padding-inline-start: 30px;
  color: #3a463f;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0; top: 2px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: rgba(18, 61, 50, 0.1);
  color: var(--green-dark);
  border-radius: 50%;
  font-size: .72rem; font-weight: 700;
}

/* ---------- Art cards ---------- */
.art-card img, .map-card iframe {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  width: 100%;
}
.map-card iframe { height: 360px; border: 0; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step {
  background: var(--white-warm);
  border: 1px solid rgba(184, 164, 122, 0.3);
  border-radius: var(--radius);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: var(--green-dark); color: var(--white-warm);
  border-radius: 14px; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: #4a564f; font-size: .98rem; }

/* ---------- Cards (services) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--white-warm);
  border: 1px solid rgba(184, 164, 122, 0.3);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 58px; height: 58px;
  display: grid; place-items: center;
  background: var(--beige);
  border-radius: 16px;
  font-size: 1.6rem;
  margin-bottom: 18px;
}
.services .card { background: var(--white-warm); }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: #4a564f; }

/* ---------- App / assistant ---------- */
.feature-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-bottom: 24px; }
.feature-cols h4 { font-size: 1.1rem; margin-bottom: 14px; color: var(--green-dark); }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  border: 1.5px solid var(--green-dark);
  color: var(--green-dark);
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .92rem;
}
.assistant-card {
  background: linear-gradient(160deg, var(--green-dark), #0c2b23);
  color: var(--white-warm);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.assistant-card h3 { color: var(--white-warm); font-size: 1.3rem; margin-bottom: 14px; }
.assistant-card p { color: rgba(255, 253, 248, 0.85); margin-bottom: 18px; }
.assistant-card .check-list li { color: rgba(255, 253, 248, 0.92); }
.assistant-card .check-list li::before { background: rgba(255, 253, 248, 0.18); color: var(--white-warm); }
.mini-note { font-size: .86rem; color: rgba(255, 253, 248, 0.6) !important; margin-bottom: 0 !important; }

/* ---------- Trust grid ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}
.trust-item {
  background: var(--white-warm);
  border: 1px solid rgba(184, 164, 122, 0.3);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-weight: 600;
  color: var(--green-dark);
  box-shadow: var(--shadow-sm);
  position: relative;
  padding-inline-start: 52px;
}
.trust-item::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 22px; top: 50%;
  transform: translateY(-50%);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--green-dark); color: #fff;
  border-radius: 50%; font-size: .75rem;
}
.disclaimer {
  background: rgba(184, 164, 122, 0.14);
  border-inline-start: 4px solid var(--gold);
  border-radius: 12px;
  padding: 20px 24px;
  color: #4a564f;
}
.disclaimer strong { color: var(--green-dark); }

/* ---------- Contact ---------- */
.contact-info { list-style: none; display: grid; gap: 16px; }
.contact-info li { display: flex; align-items: center; gap: 12px; font-size: 1.05rem; }
.contact-info span { font-size: 1.2rem; }
.contact-form {
  background: var(--white-warm);
  border: 1px solid rgba(184, 164, 122, 0.3);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 8px; color: var(--green-dark); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(184, 164, 122, 0.45);
  border-radius: 12px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(18, 61, 50, 0.1);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-weight: 600; min-height: 1.2em; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #b8432f; }
.form-hint { margin-top: 10px; font-size: .9rem; color: var(--green-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-dark); color: var(--white-warm); padding-top: 56px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
}
.footer-logo {
  height: 56px;
  background: var(--white-warm);
  border-radius: 14px;
  padding: 8px 12px;
  margin-bottom: 16px;
}
.footer-brand p { color: rgba(255, 253, 248, 0.72); max-width: 42ch; }
.footer-links h4, .footer-status h4 { color: var(--white-warm); margin-bottom: 16px; }
.footer-links a { display: block; color: rgba(255, 253, 248, 0.78); padding: 4px 0; }
.footer-links a:hover { color: var(--gold); }
.server-status { display: flex; align-items: center; gap: 10px; color: rgba(255, 253, 248, 0.8); }
.status-dot {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold);
  flex: none;
  box-shadow: 0 0 0 4px rgba(184, 164, 122, 0.25);
}
.server-status.online .status-dot { background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
.server-status.offline .status-dot { background: #f87171; box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.25); }
.footer-bottom {
  border-top: 1px solid rgba(255, 253, 248, 0.12);
  padding-block: 20px;
}
.footer-bottom .container {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  color: rgba(255, 253, 248, 0.6); font-size: .9rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column;
    position: absolute; top: 74px; inset-inline: 0;
    background: var(--white-warm);
    padding: 18px 22px;
    box-shadow: var(--shadow-md);
    gap: 6px;
  }
  .nav-toggle { display: flex; }
  .hero-inner, .two-col { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .steps, .cards, .trust-grid, .feature-cols, .trust-strip-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .section { padding-block: 56px; }
  .steps, .cards, .trust-grid, .feature-cols, .trust-strip-inner, .footer-inner { grid-template-columns: 1fr; }
  .hero-inner { padding-block: 48px 56px; }
}
