/* ------------------------------------------------------------------
   Shared stylesheet for the Nashr demo customer sites.
   These are SIMULATED third-party GCC small-business sites used to test
   the onboarding website-import scraper. They intentionally do NOT use
   Nashr's Sage Indigo design tokens — each is a generic small-business
   theme. Raw hex is fine here (these are not the Nashr app).
   Per-site accent is set with the --accent / --accent-ink CSS vars in
   each page's inline <style> block.
------------------------------------------------------------------- */

:root {
  --accent: #1f6f5c;
  --accent-ink: #0f3a30;
  --ink: #1b1b1f;
  --muted: #5f6168;
  --line: #e6e3dd;
  --bg: #ffffff;
  --bg-soft: #faf8f4;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Tahoma, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

[dir="rtl"] body, body[dir="rtl"] { font-family: "Tahoma", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }

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

a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand .name { font-weight: 700; font-size: 18px; color: var(--ink); }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--ink); font-size: 15px; }
.lang-link { font-size: 14px; color: var(--muted); }
.cta-wa {
  background: var(--accent);
  color: #fff;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.cta-wa:hover { text-decoration: none; opacity: .92; }

/* ---------- hero ---------- */
.hero {
  background: var(--bg-soft);
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: 38px; margin: 0 0 14px; line-height: 1.2; }
.hero .lede { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 0 12px; }
.hero .lede-ar { font-size: 18px; color: var(--ink); max-width: 640px; margin: 0 0 24px; }
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
}
.btn:hover { text-decoration: none; opacity: .92; }

/* ---------- sections ---------- */
section { padding: 56px 0; }
section h2 { font-size: 28px; margin: 0 0 8px; }
section .sub { color: var(--muted); margin: 0 0 28px; }

/* ---------- product / service grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}
.card .ph { aspect-ratio: 4 / 3; background: var(--bg-soft); }
.card .ph img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px; }
.card .body h3 { margin: 0 0 4px; font-size: 16px; }
.card .body .price { color: var(--accent-ink); font-weight: 700; font-size: 15px; }
.card .body .desc { color: var(--muted); font-size: 14px; margin: 6px 0 0; }
.card .body .soldout { color: #a23b3b; font-weight: 600; font-size: 13px; }

/* ---------- about prose ---------- */
.prose { max-width: 720px; }
.prose p { margin: 0 0 16px; }
.prose .ar { direction: rtl; text-align: right; }

/* ---------- iframe placeholder (booking widget simulation) ---------- */
.booking-embed {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 32px;
  text-align: center;
  color: var(--muted);
}

/* ---------- contact / footer ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-grid .map { background: var(--bg-soft); border-radius: var(--radius); min-height: 200px; display:flex; align-items:center; justify-content:center; color: var(--muted); }
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}
.site-footer .social { display: flex; gap: 16px; margin-top: 8px; }

@media (max-width: 700px) {
  .nav { display: none; }
  .hero h1 { font-size: 30px; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------
   Al Nukhba Clinic additions — clean medical white + teal/gold accent.
   (Site-local copy; the shared base above is unchanged.)
------------------------------------------------------------------- */
:root { --gold: #b98a2f; --gold-soft: #f7efdd; }

.eyebrow { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 10px; }

/* gallery strip */
.gallery-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.gallery-strip img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; border: 1px solid var(--line); }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 22px; }
.quote p { margin: 0 0 12px; font-size: 15px; }
.quote .who { color: var(--muted); font-size: 13px; }
.quote .stars { color: var(--gold); letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }

/* doctor bios */
.doctors { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.doctor { display: flex; gap: 16px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: var(--bg); }
.doctor img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold-soft); flex-shrink: 0; }
.doctor h3 { margin: 0 0 2px; font-size: 17px; }
.doctor .role { color: var(--gold); font-size: 13px; font-weight: 600; margin: 0 0 8px; }
.doctor p { margin: 0; color: var(--muted); font-size: 14px; }

/* opening hours */
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 24px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; max-width: 380px; }
.hours li span:last-child { color: var(--muted); }

/* fake instagram feed */
.ig-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.ig-handle { color: var(--accent-ink); font-weight: 700; }
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.ig-grid img { aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }

/* services page cards */
.card .body .book { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--accent); border: 1px solid var(--accent); border-radius: 999px; padding: 6px 14px; }
.card .body .book:hover { background: var(--accent); color: #fff; text-decoration: none; }
.card .body .name-ar { display: block; color: var(--accent-ink); font-size: 14px; margin-top: 2px; }

/* values */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.value { border-top: 3px solid var(--gold); background: var(--bg-soft); border-radius: 0 0 var(--radius) var(--radius); padding: 18px; }
.value h3 { margin: 0 0 6px; font-size: 16px; }
.value p { margin: 0; color: var(--muted); font-size: 14px; }

/* floating whatsapp button (no JS, pure anchor) */
.wa-float { position: fixed; inset-block-end: 22px; inset-inline-end: 22px; z-index: 50; background: #25d366; color: #fff; font-weight: 700; font-size: 15px; padding: 13px 20px; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.wa-float:hover { text-decoration: none; opacity: .93; }
