/* لقمة بيت — موقع المشروع. لوحة «طين وميرمية»: هادئة ودافئة، والطين الحي للأزرار فقط.
   Layout: عمود واحد بعرض قراءة مريح، أقسام تتناوب بين الكريمي والميرمية الفاتحة. */
:root {
  --cream: #FAF6F0;
  --sand: #F1E8DC;
  --sage-l: #E6ECDF;
  --sage: #8FA588;
  --olive: #4A5A42;
  --clay: #C9825F;
  --accent: #D06A43;
  --ink: #33302B;
  --muted: #6F665E;
  --line: #E4DACD;
  --font: "IBM Plex Sans Arabic", "Noto Sans Arabic", Tahoma, system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: var(--font); background: var(--cream); color: var(--ink); font-size: 17px; line-height: 1.85; }
a { color: var(--olive); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 8px; }
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.35; text-wrap: balance; color: var(--olive); }
h1 { font-size: clamp(32px, 6vw, 48px); font-weight: 700; }
h2 { font-size: clamp(24px, 4vw, 30px); font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 19px; font-weight: 700; margin-bottom: 4px; }
p + p { margin-top: 10px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.top { border-bottom: 1px solid var(--line); background: var(--cream); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--olive); font-weight: 700; font-size: 22px; }
.brand svg { width: 42px; height: 42px; flex: none; }
.top nav { display: flex; gap: 18px; flex-wrap: wrap; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--olive); }

/* hero */
.hero { padding: 56px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero p.lead { font-size: 19px; color: var(--muted); margin-top: 14px; max-width: 34ch; }
.where { display: inline-flex; gap: 8px; align-items: center; margin-top: 18px; background: var(--sage-l); color: var(--olive); padding: 6px 14px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 12px 22px; border-radius: 14px; border: 2px solid transparent; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #B4552F; }
.btn.ghost { border-color: var(--sage); color: var(--olive); background: transparent; }
.plate { background: var(--sand); border-radius: 32px; padding: 26px; display: grid; gap: 12px; }
.order { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.order b { color: var(--ink); }
.order small { color: var(--muted); display: block; font-size: 13px; }
.pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill.sage { background: var(--sage-l); color: var(--olive); }
.pill.clay { background: #F3DFD2; color: #8A4A2E; }

/* sections */
section.band { padding: 52px 0; }
section.alt { background: var(--sage-l); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 10px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.step .n { font-weight: 700; color: var(--clay); font-size: 15px; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; margin-top: 10px; }
.fact { border-right: 3px solid var(--sage); padding-right: 14px; }
.fact b { display: block; font-size: 22px; color: var(--olive); font-variant-numeric: tabular-nums; }
.fact span { color: var(--muted); font-size: 15px; }
.note { font-size: 14px; color: var(--muted); margin-top: 14px; }
.qa { border-top: 1px solid var(--line); padding: 14px 0; }
.qa:last-child { border-bottom: 1px solid var(--line); }
.contact { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 8px; }

/* legal pages */
.doc { padding: 44px 0 56px; }
.doc .meta { color: var(--muted); font-size: 15px; margin: 6px 0 22px; }
.doc h2 { font-size: 21px; margin: 26px 0 8px; }
.doc ul { padding-right: 22px; }
.doc li + li { margin-top: 6px; }
.draft { background: #F3DFD2; color: #6E3A22; border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-bottom: 20px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
footer nav { display: flex; gap: 16px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .steps, .facts { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
}

/* support page */
.contact-card { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line, #ECE3D8); border-radius: 16px; padding: 16px 20px; margin: 8px 0 14px; }
.contact-card strong { display: block; color: var(--olive); }
.contact-card span { color: var(--muted); font-size: 18px; }
details { background: #fff; border: 1px solid var(--line, #ECE3D8); border-radius: 14px; padding: 12px 16px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 700; color: #33302B; }
details[open] summary { margin-bottom: 6px; }
details p { margin: 0; }
