:root {
  --bg: #F5EFE6;          /* white beach */
  --surface: #ECE4D6;     /* warm card */
  --ink: #20201E;         /* umbra */
  --muted: #4B4946;       /* dampened black */
  --sand: #B8B0A4;        /* muted sand */
  --terracotta: #A9805C;  /* arrived accent */
  --moss: #6D7F5A;       /* in-progress */
  --line: #E0D6C8;        /* divider */
  --radius: 16px;
  --maxw: 1120px;
  --shadow: 0 10px 30px rgba(32, 32, 30, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 239, 230, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; }
.brand img { height: 36px; width: auto; border-radius: 8px; }
.nav-links { display: flex; gap: 22px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); font-weight: 500; padding: 6px 2px; transition: color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.btn {
  display: inline-block;
  background: var(--ink);
  color: var(--bg);
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s, opacity .2s;
}
.btn:hover { transform: translateY(-1px); opacity: .92; }
.btn.ghost { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn.accent { background: var(--terracotta); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 70px 0 50px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.1; font-weight: 700; letter-spacing: -0.5px; }
.hero p { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 640px; margin: 18px auto 28px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--surface); }
.section h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; text-align: center; margin-bottom: 10px; }
.section .lead { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 36px; }

.grid { display: grid; gap: 22px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card img.icon { width: 96px; height: 48px; object-fit: contain; margin-bottom: 14px; }
.card h3 { font-size: 20px; margin-bottom: 8px; }
.card p { color: var(--muted); }

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--terracotta); margin-top: 8px; flex: none; }
.feature h4 { font-size: 17px; margin-bottom: 2px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--bg); border-radius: 24px; padding: 48px; text-align: center; }
.cta-band h2 { color: var(--bg); }
.cta-band p { color: var(--sand); margin: 10px auto 24px; max-width: 540px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 20px; }
.footer-row { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--ink); }

/* ---------- Forms ---------- */
form.contact { max-width: 560px; margin: 0 auto; display: grid; gap: 14px; }
form.contact input, form.contact textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit;
}
form.contact textarea { min-height: 130px; resize: vertical; }

.store-badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.store-badges a {
  border: 2px solid var(--ink); border-radius: 12px; padding: 12px 20px;
  font-weight: 600; display: inline-flex; align-items: center; gap: 10px;
}

/* ---------- Author / Our Story ---------- */
.author-hero { padding: 64px 0 40px; }
.author-hero .grid { align-items: center; }
.monogram-wrap { display: flex; justify-content: center; }
.monogram {
  width: 184px; height: 184px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 64px; font-weight: 700; letter-spacing: 3px;
  color: var(--bg); background: var(--ink);
  border: 3px solid var(--terracotta);
  box-shadow: 0 0 0 10px rgba(169, 128, 92, 0.18), var(--shadow);
}
.author-photo {
  width: 184px; height: 184px; border-radius: 50%;
  object-fit: cover; border: 3px solid var(--terracotta);
  box-shadow: 0 0 0 10px rgba(169, 128, 92, 0.18), var(--shadow);
  background: var(--ink);
}
.author-eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--terracotta); font-weight: 600; margin: 0; }
.author-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 700; margin: 6px 0 2px; }
.author-creds { color: var(--muted); font-weight: 500; margin: 0 0 14px; }
.author-tagline { font-size: clamp(16px, 2.2vw, 19px); color: var(--muted); max-width: 560px; margin: 0; }
.author-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.author-tags .chip { background: var(--surface); border: 1px solid var(--line); color: var(--ink); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.stat .num { font-size: clamp(24px, 3vw, 34px); font-weight: 700; color: var(--terracotta); }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 4px; }

.timeline { display: grid; gap: 0; margin-top: 30px; }
.tl-item { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 18px 0; border-top: 1px solid var(--line); }
.tl-item:first-child { border-top: none; }
.tl-when { color: var(--muted); font-weight: 600; font-size: 15px; }
.tl-role { font-weight: 700; font-size: 18px; }
.tl-org { color: var(--terracotta); font-weight: 600; font-size: 15px; margin: 2px 0 6px; }
.tl-desc { color: var(--muted); margin: 0; }

.cred-list { list-style: none; margin: 12px 0 0; color: var(--muted); }
.cred-list li { padding: 9px 0; border-top: 1px solid var(--line); }
.cred-list li:first-child { border-top: none; }
.cred-list strong { color: var(--ink); }

.pullquote { max-width: 760px; margin: 0 auto; text-align: center; font-size: clamp(20px, 3vw, 28px); font-weight: 600; line-height: 1.4; }
.pullquote .by { display: block; margin-top: 18px; color: var(--terracotta); font-size: 15px; font-weight: 600; }

/* ---------- Language switcher ---------- */
.lang-switch { display: inline-flex; gap: 6px; align-items: center; }
.lang-switch a { font-weight: 600; font-size: 14px; color: var(--muted); padding: 4px 8px; border-radius: 999px; }
.lang-switch a.active { color: var(--bg); background: var(--ink); }
.lang-switch a:hover { color: var(--ink); }

/* ---------- How it works (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step .num { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { color: var(--muted); }

/* ---------- Founder trust block ---------- */
.founder-band { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.founder-band .fb-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid var(--terracotta); flex: none; }
.founder-band .fb-text { flex: 1; min-width: 240px; }
.founder-band .fb-text p { color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote p { color: var(--ink); font-size: 17px; line-height: 1.5; }
.quote .who { margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; }
.quote .stars { color: var(--terracotta); letter-spacing: 2px; margin-bottom: 8px; }

/* ---------- Coverage note ---------- */
.coverage { text-align: center; color: var(--muted); margin-top: 18px; }
.coverage strong { color: var(--ink); }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin-bottom: 14px; background: var(--bg); box-shadow: var(--shadow); }
.faq-item h3 { font-size: 18px; margin-bottom: 6px; }
.faq-item p { color: var(--muted); margin: 0; }

/* ---------- Contact form status ---------- */
.form-note { text-align: center; color: var(--terracotta); font-weight: 600; min-height: 22px; margin-top: 12px; }
.store-note { text-align: center; color: var(--muted); margin-top: 18px; font-size: 15px; }

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .grid.cols-2, .grid.cols-3 { grid-template-columns: 1fr; }
  .steps, .quotes { grid-template-columns: 1fr; }
  .nav { justify-content: center; }
  .nav-links { justify-content: center; width: 100%; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .tl-item { grid-template-columns: 1fr; gap: 4px; }
  .monogram, .author-photo { width: 140px; height: 140px; }
}

/* ---------- RTL (Arabic) ---------- */
html[dir="rtl"] body { direction: rtl; }
html[dir="rtl"] .feature { flex-direction: row-reverse; }
html[dir="rtl"] .founder-band { flex-direction: row-reverse; }
html[dir="rtl"] .nav-links, html[dir="rtl"] .footer-row { direction: rtl; }
