/* Ruqyah Pro — main stylesheet */
:root {
  --emerald-950: #0b2e23;
  --emerald-900: #0e3b2e;
  --emerald-800: #14503d;
  --emerald-700: #1b654e;
  --gold-600: #b9862f;
  --gold-500: #c9a227;
  --gold-100: #f3e9cf;
  --cream-50: #faf6ec;
  --cream-100: #f5eedd;
  --ink-900: #1e2a25;
  --ink-600: #4a5a53;
  --ink-400: #7a8a83;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 46, 35, 0.10);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-arabic: "Amiri", serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--emerald-800); }
::selection { background: var(--gold-100); }

.container { width: min(1120px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(11, 46, 35, 0.08);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--emerald-900);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.site-footer .brand-mark { border-color: var(--gold-500); }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--emerald-950); letter-spacing: 0.02em; }
.brand-name small { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-400); }

.nav-links { display: flex; gap: 26px; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--ink-900); font-weight: 500; font-size: 15.5px; }
.nav-links a:hover { color: var(--emerald-700); }
.nav-links a.active { color: var(--emerald-800); border-bottom: 2px solid var(--gold-500); padding-bottom: 2px; }

.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 600; font-size: 16px; border-radius: 999px;
  padding: 13px 30px; border: 2px solid transparent;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn-primary { background: var(--emerald-900); color: var(--white); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--emerald-800); transform: translateY(-1px); }
.btn-outline { border-color: var(--emerald-900); color: var(--emerald-900); background: transparent; }
.btn-outline:hover { background: var(--emerald-900); color: var(--white); }
.btn-gold { background: var(--gold-500); color: var(--emerald-950); }
.btn-gold:hover { background: var(--gold-600); color: var(--white); transform: translateY(-1px); }
.btn-sm { padding: 9px 22px; font-size: 14.5px; }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--emerald-950); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 85% -60px, rgba(201, 162, 39, 0.20), transparent 60%),
    linear-gradient(180deg, var(--cream-100), var(--cream-50));
  padding: 84px 0 72px;
  text-align: center;
}
.hero .arabic {
  font-family: var(--font-arabic); font-size: 30px; color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--emerald-700);
  border: 1px solid rgba(27, 101, 78, 0.35); border-radius: 999px;
  padding: 7px 18px; margin-bottom: 22px; background: rgba(255,255,255,0.55);
}
.hero h1 {
  font-family: var(--font-serif); font-weight: 700;
  font-size: clamp(38px, 5.4vw, 62px); line-height: 1.12;
  color: var(--emerald-950); max-width: 760px; margin: 0 auto 20px;
}
.hero h1 em { font-style: italic; color: var(--emerald-700); }
.hero p.lead {
  font-size: clamp(17px, 2.2vw, 20px); color: var(--ink-600);
  max-width: 640px; margin: 0 auto 34px;
}
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 26px; font-size: 14.5px; color: var(--ink-400); font-style: italic; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--emerald-950); color: var(--cream-50); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.trust-item { padding: 6px 10px; }
.trust-item .icon { font-size: 24px; margin-bottom: 8px; }
.trust-item strong { display: block; font-size: 15px; }
.trust-item span { font-size: 13.5px; color: rgba(250, 246, 236, 0.72); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-alt { background: var(--white); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head h2 {
  font-family: var(--font-serif); font-size: clamp(30px, 4vw, 42px);
  color: var(--emerald-950); margin-bottom: 12px; line-height: 1.2;
}
.section-head p { color: var(--ink-600); font-size: 17.5px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 26px; border-top: 4px solid var(--gold-500);
  display: flex; flex-direction: column;
}
.section-alt .card { background: var(--cream-50); }
.card .duration { font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 8px; }
.card h3 { font-family: var(--font-serif); font-size: 24px; color: var(--emerald-950); margin-bottom: 10px; line-height: 1.25; }
.card p { color: var(--ink-600); font-size: 15.5px; flex-grow: 1; margin-bottom: 18px; }
.card .price { font-family: var(--font-serif); font-size: 30px; font-weight: 700; color: var(--emerald-900); margin-bottom: 18px; }
.card .price small { font-family: var(--font-sans); font-size: 13px; color: var(--ink-400); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--white); border-radius: var(--radius); padding: 32px 26px;
  box-shadow: var(--shadow); position: relative; text-align: center;
}
.step::before {
  counter-increment: step; content: counter(step);
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--emerald-900); color: var(--gold-100);
  font-family: var(--font-serif); font-size: 22px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.step h3 { font-family: var(--font-serif); font-size: 21px; color: var(--emerald-950); margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--ink-600); }

/* ---------- Split / about teaser ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split h2 { font-family: var(--font-serif); font-size: clamp(28px, 3.6vw, 38px); color: var(--emerald-950); margin-bottom: 16px; line-height: 1.25; }
.split p { color: var(--ink-600); margin-bottom: 14px; }
.quote-box {
  background: var(--emerald-950); color: var(--cream-50);
  border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow);
}
.quote-box .arabic { font-family: var(--font-arabic); font-size: 26px; color: var(--gold-500); margin-bottom: 14px; }
.quote-box p { font-family: var(--font-serif); font-size: 21px; font-style: italic; line-height: 1.55; color: var(--cream-50); }
.quote-box cite { display: block; margin-top: 14px; font-size: 13.5px; font-style: normal; color: rgba(250,246,236,0.65); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: 12px; margin-bottom: 14px; box-shadow: var(--shadow); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  font-family: var(--font-sans); font-size: 17px; font-weight: 600; color: var(--emerald-950);
  padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .plus { font-size: 22px; color: var(--gold-600); flex-shrink: 0; transition: transform 0.2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.28s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-600); font-size: 15.5px; }
.faq-a ul { padding: 0 24px 22px 46px; color: var(--ink-600); font-size: 15.5px; }
.faq-a li { margin-bottom: 8px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--emerald-900), var(--emerald-700));
  color: var(--white); text-align: center; padding: 70px 0; border-radius: 0;
}
.cta-band h2 { font-family: var(--font-serif); font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 30px; font-size: 17.5px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--emerald-950); color: rgba(250,246,236,0.78); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-grid h4 { color: var(--gold-500); font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; font-size: 15px; }
.footer-grid a { color: rgba(250,246,236,0.78); text-decoration: none; }
.footer-grid a:hover { color: var(--gold-100); }
.footer-brand p { font-size: 14.5px; max-width: 300px; margin-top: 10px; }
.footer-bottom { border-top: 1px solid rgba(250,246,236,0.14); padding-top: 22px; font-size: 13px; color: rgba(250,246,236,0.5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.disclaimer { font-size: 13px; color: rgba(250,246,236,0.55); max-width: 720px; margin: 0 auto 26px; text-align: center; font-style: italic; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); padding: 64px 0 48px; text-align: center; }
.page-hero h1 { font-family: var(--font-serif); font-size: clamp(34px, 4.6vw, 52px); color: var(--emerald-950); margin-bottom: 14px; }
.page-hero p { color: var(--ink-600); max-width: 640px; margin: 0 auto; font-size: 18px; }

/* ---------- Service detail ---------- */
.service-detail { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px 32px; margin-bottom: 24px; border-left: 5px solid var(--gold-500); }
.service-detail h2 { font-family: var(--font-serif); font-size: 28px; color: var(--emerald-950); margin-bottom: 6px; }
.service-meta { font-size: 13.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 14px; }
.service-detail p, .service-detail li { color: var(--ink-600); font-size: 15.5px; }
.service-detail ul { margin: 12px 0 0 20px; }
.service-detail li { margin-bottom: 7px; }
.service-side { background: var(--cream-50); border-radius: 12px; padding: 26px 24px; text-align: center; align-self: start; }
.service-side .price { font-family: var(--font-serif); font-size: 38px; font-weight: 700; color: var(--emerald-900); }
.service-side .per { font-size: 13.5px; color: var(--ink-400); margin-bottom: 18px; }

/* ---------- Booking options ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.book-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px 28px; text-align: center; border-top: 4px solid var(--emerald-800); display: flex; flex-direction: column; }
.book-card.featured { border-top-color: var(--gold-500); }
.book-card h3 { font-family: var(--font-serif); font-size: 23px; color: var(--emerald-950); margin-bottom: 6px; }
.book-card .meta { font-size: 13px; color: var(--ink-400); margin-bottom: 14px; }
.book-card p { font-size: 15px; color: var(--ink-600); flex-grow: 1; margin-bottom: 20px; }
.book-card .price { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--emerald-900); margin-bottom: 20px; }

.notice { background: var(--gold-100); border: 1px solid rgba(185,134,47,0.4); border-radius: 12px; padding: 20px 24px; font-size: 15px; color: var(--ink-900); max-width: 780px; margin: 36px auto 0; }
.notice strong { color: var(--emerald-900); }

/* ---------- Contact rows ---------- */
.contact-row { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 22px 24px; margin-bottom: 16px; max-width: 640px; }
.contact-row .icon { font-size: 26px; }
.contact-row strong { display: block; color: var(--emerald-950); }
.contact-row a { color: var(--emerald-800); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream-50); flex-direction: column; align-items: stretch;
    padding: 10px 4%; border-bottom: 1px solid rgba(11,46,35,0.1); gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid rgba(11,46,35,0.07); }
  .nav-links a { display: block; padding: 13px 6px; }
  .nav-links .btn { margin: 10px 0; text-align: center; }
  .nav-toggle { display: block; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .service-detail { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
