/* Sara Al Hosani — site styles
   Brand tokens match brand-kit.html. RTL-first (html[dir=rtl]); logical properties throughout. */

:root {
  --date: #3B2A24;        /* تمر — primary ink */
  --date-soft: #5A443A;
  --taupe: #7A6258;       /* secondary text (AA on pearl) */
  --olive: #76845A;       /* زيتون — signature accent */
  --olive-deep: #5F6B45;  /* buttons / small text in olive */
  --sage: #B9C291;
  --pearl: #FBF7F2;       /* لؤلؤ — page background */
  --sand: #EFE4D6;        /* رمل — soft surfaces */
  --sand-deep: #E4D3BF;
  --rose: #C98F84;        /* ورد — warm accent */
  --rose-soft: #F3DFD7;
  --honey: #C9A15C;       /* عسل — light, highlights */
  --line: rgba(59, 42, 36, .12);
  --shadow: 0 1px 2px rgba(59, 42, 36, .04), 0 18px 40px -22px rgba(59, 42, 36, .28);
  --radius: 22px;
  --font-display: "Amiri", "Times New Roman", serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-latin: "Marcellus", Georgia, serif;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--pearl);
  color: var(--date);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.35; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0; }
section[id], footer { scroll-margin-top: 84px; }

.ico { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }
.ico-stroke { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--date); color: var(--pearl); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .82em 1.45em; border-radius: 999px; border: 1px solid transparent;
  font: 500 16px/1.3 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--olive-deep); color: var(--pearl); }
.btn-primary:hover { background: var(--date); }
.btn-ghost { border-color: rgba(59, 42, 36, .22); color: var(--date); background: transparent; }
.btn-ghost:hover { background: var(--sand); }
.btn-honey { background: var(--honey); color: var(--date); font-weight: 600; }
.btn-honey:hover { background: #D8B06A; }
.btn-sm { padding: .55em 1.05em; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .86);
  -webkit-backdrop-filter: saturate(1.2) blur(12px); backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .25s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .btn span { white-space: nowrap; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--date); cursor: pointer;
}
.menu-toggle .ico { width: 20px; height: 20px; }
.menu-toggle .ico-close, .menu-open .menu-toggle .ico-open { display: none; }
.menu-open .menu-toggle .ico-close { display: block; }

@media (max-width: 899px) {
  .menu-open .nav {
    display: flex; flex-direction: column; position: absolute; inset-inline: 0; top: 100%;
    background: var(--pearl); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px;
    box-shadow: 0 18px 30px -24px rgba(59, 42, 36, .4);
  }
  .menu-open .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
  .menu-open .nav a:last-child { border-bottom: 0; }
}
@media (max-width: 420px) {
  .header-actions .btn-sm span { display: none; }
  .header-actions .btn-sm { padding: 0; width: 42px; height: 42px; }
  .header-actions .btn-sm .ico { width: 20px; height: 20px; }
}
@media (min-width: 900px) {
  .brand img { height: 56px; }
  .nav { display: flex; gap: 28px; margin-inline-start: auto; }
  .nav a { text-decoration: none; font-size: 15.5px; font-weight: 500; color: var(--date-soft); position: relative; }
  .nav a::after { content: ""; position: absolute; inset-inline: 0; bottom: -4px; height: 1px; background: var(--olive); transform: scaleX(0); transition: transform .25s; }
  .nav a:hover { color: var(--olive-deep); }
  .nav a:hover::after { transform: scaleX(1); }
  .header-actions { margin-inline-start: 8px; }
  .menu-toggle { display: none; }
}

/* ---------- Shared section bits ---------- */
.section { padding-block: clamp(72px, 10vw, 120px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: 15px; font-weight: 500; color: var(--olive-deep); margin-bottom: 14px;
}
.eyebrow .ico { color: var(--olive); width: 1.25em; height: 1.25em; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 18px; }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 18% 58%, rgba(201, 161, 92, .16), transparent 70%),
    radial-gradient(50% 60% at 95% 10%, rgba(243, 223, 215, .7), transparent 70%);
}
.hero-grid { display: grid; gap: 36px; padding-top: clamp(36px, 7vw, 80px); }
.hero-text { max-width: 560px; }
.hero h1 { font-size: clamp(2.7rem, 7vw, 4.6rem); line-height: 1.25; letter-spacing: 0; margin-bottom: 18px; }
.swash { position: relative; z-index: 0; white-space: nowrap; }
.swash::after {
  content: ""; position: absolute; z-index: -1; inset-inline: -.08em; bottom: .5em; height: .3em;
  background: var(--rose-soft); border-radius: .12em;
}
.lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--date-soft); max-width: 30em; margin-bottom: 30px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-figure { position: relative; margin: 0 auto; width: min(400px, 82vw); aspect-ratio: 686 / 900; align-self: end; }
.hero-figure img { position: relative; z-index: 2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.arch {
  position: absolute; z-index: 1; inset: 17% 0 0 0; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, var(--rose-soft) 0%, var(--sand) 62%, var(--sand-deep) 100%);
}
.arch-line {
  position: absolute; z-index: 0; inset: calc(17% - 18px) -18px 0 -18px; border-radius: 999px 999px 0 0;
  border: 1px solid rgba(118, 132, 90, .45); border-bottom: 0;
}
.arch-glow {
  position: absolute; z-index: 0; inset: 8% -20% -10% -20%;
  background: radial-gradient(closest-side, rgba(201, 161, 92, .22), transparent);
  filter: blur(8px);
}
.float-leaf { position: absolute; z-index: 3; width: 46px; height: 46px; fill: currentColor; color: var(--olive); inset-inline-start: 2%; top: 9%; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero-text { padding-bottom: 72px; }
  .hero-figure { width: 100%; max-width: 430px; margin: 0; justify-self: end; }
}

/* ---------- About ---------- */
.about { padding-top: clamp(56px, 8vw, 96px); }
.about-grid { display: grid; gap: 40px; align-items: center; }
.about-text p:not(.eyebrow) { color: var(--date-soft); font-size: 18px; margin-bottom: 14px; max-width: 34em; }
.countries { margin-top: 26px; }
.countries p { font-size: 15px !important; color: var(--taupe) !important; margin-bottom: 10px !important; }
.countries ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.countries li { font-size: 14.5px; padding: 4px 14px; border-radius: 999px; background: var(--sand); color: var(--date-soft); }
.about-card {
  background: var(--sand); border-radius: var(--radius); padding: 40px 28px; text-align: center;
  display: grid; justify-items: center; gap: 14px;
  background-image: url("../brand/elements/pattern-leaves-olive-transparent.svg"); background-size: 180px;
}
.about-card img { width: 108px; height: 108px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(251, 247, 242, .7); }
.about-quote { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2rem); line-height: 1.6; }
.about-sign { font-size: 14px; color: var(--taupe); letter-spacing: .02em; }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.3fr .7fr; gap: 64px; }
}

/* ---------- Message ---------- */
.message { background: var(--sand); position: relative; overflow: hidden; }
.statement { font-family: var(--font-display); font-size: clamp(1.55rem, 3.4vw, 2.35rem); line-height: 1.75; text-wrap: balance; }
.pillars { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.pillar { background: var(--pearl); border-radius: var(--radius); padding: 28px 26px; }
.pillar-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(118, 132, 90, .12); color: var(--olive); margin-bottom: 14px; }
.pillar-ico .ico { width: 22px; height: 22px; }
.pillar h3 { font-size: 1.6rem; margin-bottom: 4px; }
.pillar p { color: var(--date-soft); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- Offers ---------- */
.cards { display: grid; gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { font-size: 1.65rem; }
.card p { color: var(--date-soft); }
.card-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--sand); color: var(--olive-deep); margin-bottom: 6px; }
.card-ico .ico { width: 24px; height: 24px; }
.card-meta { font-size: 14.5px; color: var(--taupe) !important; margin-top: auto; padding-top: 6px; }
.card-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; color: var(--olive-deep); text-decoration: none; }
.card-link:hover { color: var(--date); }
.card-link .ico { transition: transform .2s; }
.card-link:hover .ico { transform: translateX(-3px); }
.card-feature { background: var(--rose-soft); border-color: transparent; }
.card-feature .card-ico { background: var(--pearl); }
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Workshop ---------- */
.workshop {
  background-color: var(--date); color: var(--pearl);
  background-image: url("../brand/elements/pattern-leaves-date.svg"); background-size: 220px;
}
.workshop-grid { display: grid; gap: 44px; align-items: center; }
.workshop-cover { display: grid; place-items: center; }
.cover-arch {
  position: relative; overflow: hidden; width: min(360px, 78vw); aspect-ratio: 3 / 4;
  border-radius: 999px 999px 26px 26px;
  background: linear-gradient(180deg, #F6E8DF 0%, #F1D3BE 42%, #E5AE8F 68%, #D79A85 76%);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.cover-sun { position: absolute; left: 50%; bottom: 24%; width: 44%; aspect-ratio: 1; transform: translate(-50%, 50%); border-radius: 50%; background: radial-gradient(circle, #FFF7E6 0 50%, rgba(255, 238, 205, .55) 58%, rgba(255, 238, 205, 0) 72%); }
.cover-sea { position: absolute; inset-inline: 0; bottom: 0; height: 24%; background: linear-gradient(180deg, #C98F84 0%, #A9746B 100%); }
.cover-sea::before { content: ""; position: absolute; left: 50%; top: 0; width: 34%; height: 100%; transform: translateX(-50%); background: repeating-linear-gradient(180deg, rgba(255, 240, 215, .6) 0 2px, transparent 2px 10px); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); }
.cover-text { position: absolute; inset: 15% 10% auto; display: grid; justify-items: center; text-align: center; color: var(--date); }
.cover-kicker { font-size: 13px; font-weight: 500; letter-spacing: .02em; padding: 2px 12px; border: 1px solid rgba(59, 42, 36, .35); border-radius: 999px; margin-bottom: 10px; }
.cover-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 9vw, 4.1rem); line-height: 1.2; }
.cover-sub { font-family: var(--font-display); font-size: clamp(1.3rem, 3.5vw, 1.6rem); }
.cover-leaf { position: absolute; width: 40px; height: 40px; fill: currentColor; color: var(--olive-deep); top: 8%; inset-inline-start: 24%; }

.chip { display: inline-block; font-size: 14px; padding: 3px 14px; border-radius: 999px; border: 1px solid rgba(201, 161, 92, .6); color: var(--honey); margin-bottom: 16px; }
.workshop h2 { color: var(--pearl); }
.workshop-desc { color: rgba(251, 247, 242, .82); font-size: 18px; max-width: 34em; }
.facts { list-style: none; margin: 28px 0 8px; padding: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(251, 247, 242, .06); border: 1px solid rgba(251, 247, 242, .1); }
.facts .ico { width: 24px; height: 24px; color: var(--honey); }
.facts span { display: grid; line-height: 1.5; font-size: 14.5px; color: rgba(251, 247, 242, .7); }
.facts strong { font-size: 16.5px; font-weight: 600; color: var(--pearl); }
.steps-title { font-size: 1.45rem; margin: 26px 0 12px; color: var(--pearl); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 12px; color: rgba(251, 247, 242, .88); }
.steps li::before {
  content: counter(s); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(201, 161, 92, .7); color: var(--honey); font-size: 14px; font-weight: 600; line-height: 1;
}
@media (min-width: 760px) { .facts { grid-template-columns: repeat(3, 1fr); } .facts li { flex-direction: column; align-items: flex-start; gap: 8px; } }
@media (min-width: 900px) { .workshop-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .workshop-cover { justify-items: start; } }

/* ---------- Words ---------- */
.quotes { display: grid; gap: 18px; }
.quote {
  margin: 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 46px 28px 30px;
}
.quote::before {
  content: "”"; position: absolute; top: 4px; inset-inline-start: 22px;
  font-family: var(--font-display); font-size: 72px; line-height: 1; color: var(--rose);
}
.quote blockquote { margin: 0; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.8; text-wrap: balance; }
.more { margin-top: 30px; }
.more a { display: inline-flex; align-items: center; gap: .5em; color: var(--olive-deep); font-weight: 600; text-decoration: none; }
.more a:hover { color: var(--date); }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--pearl) 0%, var(--sand) 100%); }
.contact-grid { display: grid; gap: 40px; align-items: start; }
.contact-intro p:not(.eyebrow) { color: var(--date-soft); font-size: 18px; max-width: 28em; }
.direct { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.direct a { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; }
.direct a:hover { color: var(--olive-deep); }
.direct .ico { width: 22px; height: 22px; color: var(--olive); }
.contact-form { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 36px); box-shadow: var(--shadow); display: grid; gap: 20px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 500; font-size: 15.5px; margin-bottom: 8px; padding: 0; }
.opt { color: var(--taupe); font-weight: 400; }
.field input[type="text"], .field textarea {
  width: 100%; font: 400 16px/1.7 var(--font-body); color: var(--date);
  padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(59, 42, 36, .18); background: var(--pearl);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(118, 132, 90, .18); }
.field input[aria-invalid="true"] { border-color: #B4573F; }
.field-error { color: #9E4430; font-size: 14px; margin-top: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { margin: 0; font-weight: 400; cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(59, 42, 36, .18); font-size: 15px; transition: all .2s; }
.pills input:checked + span { background: var(--olive-deep); border-color: var(--olive-deep); color: var(--pearl); }
.pills input:focus-visible + span { outline: 2px solid var(--olive); outline-offset: 2px; }
.form-note { font-size: 14px; color: var(--taupe); text-align: center; margin-top: -6px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--date); color: rgba(251, 247, 242, .78); padding-top: 56px; }
.footer-grid { display: grid; gap: 28px; justify-items: center; text-align: center; }
.footer-brand img { height: 60px; width: auto; margin: 0 auto 10px; }
.footer-brand p { font-family: var(--font-display); font-size: 1.25rem; color: rgba(251, 247, 242, .9); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; }
.footer-nav a { text-decoration: none; font-size: 15px; }
.footer-nav a:hover { color: var(--pearl); }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(251, 247, 242, .2); color: var(--pearl); }
.footer-social a:hover { background: rgba(251, 247, 242, .08); }
.footer-social .ico { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(251, 247, 242, .12); margin-top: 40px; padding-block: 20px 26px; text-align: center; font-size: 14px; color: rgba(251, 247, 242, .6); }

/* ---------- Floating WhatsApp (mobile) ---------- */
.wa-float {
  position: fixed; z-index: 40; inset-inline-start: 16px; bottom: 16px; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: var(--olive-deep); color: var(--pearl); box-shadow: 0 12px 28px -10px rgba(59, 42, 36, .55);
}
.wa-float .ico { width: 26px; height: 26px; }
.js .wa-float { opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s; }
.js .wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
@media (min-width: 900px) { .wa-float { display: none; } }

/* ---------- Reveal on scroll (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
