/* ==========================================================================
   Expanding Perspectives Psychotherapy — site styles
   Palette drawn from the logo's eucalyptus green, warm linen and clay accents.
   Logical properties (inline/block) are used throughout so the Arabic (RTL)
   page mirrors correctly.
   ========================================================================== */

:root {
  --bg: #f7f3ec;
  --bg-alt: #edf1ea;
  --surface: #fffdf9;
  --ink: #2f3c34;
  --ink-strong: #1f2b24;
  --muted: #5b6960;
  --line: #e3ddd1;

  --sage-100: #e2eadf;
  --sage-200: #cad8c6;
  --sage-400: #8ea891;
  --sage-600: #587562;
  --sage-700: #45604f;
  --sage-800: #33493b;
  --forest-900: #1f2d25;

  --clay: #b76e4f;
  --clay-700: #9a5539;
  --clay-100: #f4e5da;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 1px 2px rgba(31, 43, 36, .05), 0 4px 14px -6px rgba(31, 43, 36, .08);
  --shadow: 0 18px 40px -22px rgba(31, 43, 36, .35);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar-display: "Readex Pro", "Segoe UI", Tahoma, sans-serif;
  --font-ar-body: "Readex Pro", "Segoe UI", Tahoma, sans-serif;

  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.7 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--sage-700); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--sage-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  color: var(--ink-strong);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -.012em;
  margin: 0 0 .55em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.22rem, 1.7vw, 1.42rem); font-weight: 500; letter-spacing: -.005em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink-strong); }

.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--muted); line-height: 1.65; }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -100px; z-index: 100;
  background: var(--sage-800); color: #fff; padding: .75rem 1.25rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }
@media (max-width: 600px) {
  .container, .container--narrow { width: min(100% - 2rem, var(--container)); }
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font: 600 .8rem/1.3 var(--font-body);
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--clay-700);
  margin: 0 0 1rem;
}
.eyebrow .icon { width: 1.05rem; height: 1.05rem; }

.text-muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.serif-quote {
  font-family: var(--font-display); font-weight: 380; font-style: italic;
  font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.25; color: var(--ink-strong);
  margin: 0;
}

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 50px; padding: .85rem 1.55rem;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 1.1rem; height: 1.1rem; }
.btn--primary { background: var(--sage-700); color: #fff; }
.btn--primary:hover { background: var(--sage-800); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--sage-800); border-color: var(--sage-600); }
.btn--outline:hover { background: var(--sage-800); border-color: var(--sage-800); color: #fff; }
.btn--light { background: var(--surface); color: var(--sage-800); }
.btn--light:hover { background: #fff; color: var(--forest-900); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .93rem; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 600; text-decoration: none; color: var(--sage-700);
}
.link-arrow .icon { width: 1.05rem; height: 1.05rem; transition: transform .2s; }
.link-arrow:hover { color: var(--sage-800); text-decoration: underline; }
.link-arrow:hover .icon { transform: translateX(3px); }
[dir="rtl"] .link-arrow .icon, [dir="rtl"] .icon--dir { transform: scaleX(-1); }
[dir="rtl"] .link-arrow:hover .icon { transform: scaleX(-1) translateX(3px); }

/* ---------- Top bar ---------- */
/* Temporary notice above the top bar (maternity leave until January 2027) */
.leave-notice { background: var(--clay-100); color: var(--ink-strong); font-size: .92rem; line-height: 1.5; border-bottom: 1px solid #ead3c2; }
.leave-notice__inner { display: flex; align-items: flex-start; justify-content: center; gap: .6rem; padding-block: .7rem; }
.leave-notice .icon { flex: none; width: 1.05rem; height: 1.05rem; margin-top: .2rem; color: var(--clay-700); }
.leave-notice p { margin: 0; }
.leave-notice a { color: var(--clay-700); font-weight: 600; }
.topbar { background: var(--sage-800); color: #e5ece5; font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar__note { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.topbar__note .icon { width: 1rem; height: 1rem; color: var(--sage-200); }
.topbar__list { display: flex; flex-wrap: wrap; gap: .35rem 1.35rem; list-style: none; margin: 0; padding: 0; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .icon { width: .95rem; height: .95rem; }
@media (max-width: 820px) {
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
}
@media (max-width: 480px) {
  .topbar__email { display: none !important; }
}

/* ---------- Header / navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, .9);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(31, 43, 36, .5); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink-strong); margin-inline-end: auto; }
.brand img { width: 58px; height: auto; }
.brand__name { display: block; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; font-weight: 450; }
.brand__tag { display: block; margin-top: .25rem; font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.brand:hover { color: var(--ink-strong); }

.nav { display: flex; align-items: center; gap: .15rem; }
.nav a {
  padding: .5rem .8rem; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: .97rem;
  transition: background-color .2s, color .2s;
}
.nav a:hover { background: var(--sage-100); color: var(--ink-strong); }
.nav a[aria-current="page"] { background: var(--sage-100); color: var(--sage-800); font-weight: 600; }
.nav__lang { font-family: var(--font-ar-body); }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink-strong); cursor: pointer;
}
.nav-toggle .icon { width: 1.4rem; height: 1.4rem; }

.mobile-nav {
  position: absolute; inset-inline: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 40px -30px rgba(31, 43, 36, .35);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding-block: .75rem 1.75rem;
}
.mobile-nav nav { display: grid; margin-bottom: 1.25rem; }
.mobile-nav nav a {
  padding: .95rem .25rem; border-bottom: 1px solid var(--line);
  color: var(--ink-strong); text-decoration: none; font-family: var(--font-display); font-size: 1.3rem;
}
.mobile-nav nav a[aria-current="page"] { color: var(--sage-700); }
.mobile-nav .btn { width: 100%; }
.mobile-nav__contact { margin-top: 1rem; font-size: .95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }

@media (max-width: 1120px) {
  .nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  :root { --header-h: 72px; }
  .brand img { width: 48px; }
  .brand__name { font-size: 1.05rem; }
}

/* ---------- Home hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: center;
  min-height: min(84vh, 780px);
  padding-block: clamp(4rem, 9vw, 7rem);
  background: #b8c6b2 url("../img/hero-palm.jpg") left center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(247, 243, 236, 0) 30%, rgba(247, 243, 236, .42) 58%, rgba(247, 243, 236, .6) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1fr 1fr; }
.hero__content { grid-column: 2; max-width: 590px; }
.hero__title { margin-bottom: .35em; }
.hero__title span {
  display: block; margin-top: .3em;
  font-size: .46em; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--sage-800);
}
.hero__place { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--sage-800); margin-bottom: 1.25rem; }
.hero__place .icon { width: 1.1rem; height: 1.1rem; }
.hero__lead { font-size: clamp(1.08rem, 1.45vw, 1.22rem); color: var(--ink); max-width: 34em; margin-bottom: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 2rem 0 0; padding: 0; }
.hero__facts li {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem .95rem; border-radius: 999px;
  background: rgba(255, 253, 249, .78); border: 1px solid rgba(255, 255, 255, .9);
  font-size: .9rem; font-weight: 500; color: var(--ink-strong);
}
.hero__facts .icon { width: 1rem; height: 1rem; color: var(--sage-700); }

/* Specialty line and meta row: who Aya works with, languages and locations */
.specialty {
  font-size: clamp(1rem, 1.3vw, 1.1rem); font-weight: 600; letter-spacing: .01em;
  color: var(--sage-800); margin-bottom: 1.25rem;
}
.meta-row {
  display: flex; flex-wrap: wrap; align-items: center; row-gap: .35rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .95rem; font-weight: 500; color: var(--ink-strong);
}
.meta-row li + li::before {
  content: ""; display: inline-block; width: 1px; height: 1em; margin-inline: .75rem;
  background: var(--sage-400); vertical-align: -.15em;
}
.hero .meta-row {
  display: inline-flex; margin-top: 2rem; padding: .6rem 1.15rem; border-radius: 14px;
  background: rgba(255, 253, 249, .78); border: 1px solid rgba(255, 255, 255, .9);
}
.section-head .specialty { margin: .25rem 0 .6rem; }
/* Narrow screens: the row wraps, so a dot before every item replaces the dividers */
@media (max-width: 640px) {
  .meta-row { column-gap: 1rem; }
  .meta-row li { display: inline-flex; align-items: center; gap: .45rem; }
  .meta-row li::before, .meta-row li + li::before {
    content: ""; display: block; flex: none; width: 5px; height: 5px; margin: 0;
    border-radius: 50%; background: var(--sage-400);
  }
}

@media (max-width: 960px) {
  /* Phones and small tablets: text spans the full width, so a soft sage-to-cream wash replaces the photo */
  .hero { min-height: 0; background: linear-gradient(165deg, var(--sage-100) 0%, var(--bg-alt) 45%, var(--bg) 100%); }
  .hero::before { background: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__content { grid-column: 1; }
}

/* ---------- Trust strip ---------- */
.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
/* Content-sized columns, centered as a group. margin-inline stays auto so .container keeps its gutter */
.trust__list {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: center; gap: 1.25rem 2rem;
  list-style: none; margin-block: 0; padding: 1.6rem 0;
}
.trust__item { display: flex; align-items: center; gap: .85rem; font-size: .93rem; color: var(--muted); line-height: 1.4; }
.trust__item strong { display: block; color: var(--ink-strong); font-size: .98rem; }
.trust__item a { color: inherit; text-decoration: none; }
.trust__item a:hover strong { text-decoration: underline; }
.trust__icon {
  display: grid; place-items: center; flex: none;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700);
}
.trust__icon .icon { width: 1.2rem; height: 1.2rem; }
@media (max-width: 1100px) { .trust__list { grid-template-columns: repeat(2, auto); } }
@media (max-width: 560px) { .trust__list { grid-template-columns: auto; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(4rem, 8vw, 6.75rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--alt { background: var(--bg-alt); }
.section--surface { background: var(--surface); }
.section-head { max-width: 720px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-foot { margin-top: clamp(2rem, 4vw, 3rem); }
.section-foot--center { text-align: center; }

.split {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center;
}
.split--media-narrow { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.split--text-wide { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.split--top { align-items: start; }
@media (max-width: 900px) {
  .split, .split--media-narrow, .split--text-wide { grid-template-columns: 1fr; }
  .split__media--after { order: 2; }
}
@media (min-width: 901px) {
  .split--reverse > :first-child { order: 2; }
}

/* ---------- Image frames ---------- */
.frame { position: relative; isolation: isolate; margin: 0; }
.frame img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow); object-fit: cover; }
.frame::before, .frame::after { content: ""; position: absolute; z-index: -1; border-radius: var(--radius-lg); }
.frame::before { inset-block-start: -18px; inset-inline-start: -18px; width: 58%; height: 66%; background: var(--sage-200); }
.frame::after { inset-block-end: -18px; inset-inline-end: -18px; width: 44%; height: 48%; background: var(--clay-100); }
.frame--arch { max-width: 390px; margin-inline: auto; }
.frame--arch img { aspect-ratio: 501 / 890; border-radius: 50% 50% 24px 24px / 28.15% 28.15% 24px 24px; }
.frame--arch::before { border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.frame figcaption { margin-top: 1rem; font-size: .9rem; color: var(--muted); text-align: center; }
@media (max-width: 600px) {
  .frame::before { inset-block-start: -10px; inset-inline-start: -10px; }
  .frame::after { inset-block-end: -10px; inset-inline-end: -10px; }
}

.blend { mix-blend-mode: multiply; }

/* ---------- Chips, tags & lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .65rem; list-style: none; margin: 0; padding: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.05rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: .98rem; color: var(--ink-strong);
  box-shadow: 0 1px 0 rgba(31, 43, 36, .03);
}
.chip .icon { width: 1rem; height: 1rem; color: var(--sage-600); }
.chips--center { justify-content: center; }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.25rem; padding: 0; }
.tags li { padding: .45rem .95rem; border-radius: 999px; background: var(--sage-100); color: var(--sage-800); font-weight: 600; font-size: .92rem; }

.icon-list { list-style: none; margin: 0 0 1.75rem; padding: 0; display: grid; gap: 1rem; }
.icon-list li { display: flex; gap: 1rem; align-items: flex-start; }
.icon-list__icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--sage-100); color: var(--sage-700);
}
.icon-list__icon .icon { width: 1.2rem; height: 1.2rem; }
.icon-list p { margin: .45rem 0 0; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) { .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cards--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.card--flat { box-shadow: none; }
.card--wide { grid-column: 1 / -1; }
.card h3 { margin-bottom: .5rem; }
.card__icon {
  display: grid; place-items: center;
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1.2rem;
  background: var(--sage-100); color: var(--sage-700);
}
.card__icon .icon { width: 1.5rem; height: 1.5rem; }
.card__abbr { font-size: .78rem; font-weight: 700; letter-spacing: .12em; color: var(--clay-700); text-transform: uppercase; margin-bottom: .35rem; display: block; }

/* Areas of experience grid */
.areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.areas li {
  display: flex; align-items: center; gap: .85rem;
  padding: 1.05rem 1.2rem; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line);
  font-weight: 500; color: var(--ink-strong); line-height: 1.35;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.areas li:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--sage-200); }
.areas .icon { width: 1.15rem; height: 1.15rem; color: var(--sage-600); }

/* Areas of focus: concerns grouped into categories */
.focus-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .focus-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .focus-grid { grid-template-columns: 1fr; gap: .75rem; } }
.focus-card {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6rem .85rem;
  padding: 1.2rem 1.35rem;
}
.focus-card .card__icon { width: 40px; height: 40px; border-radius: 12px; margin: 0; }
.focus-card .card__icon .icon { width: 1.15rem; height: 1.15rem; }
.focus-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.focus-card p { grid-column: 1 / -1; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--muted); }
/* A full-width card at the top of the grid for a theme that comes up often */
.focus-card--featured { grid-column: 1 / -1; }
.focus-card--featured p { max-width: 68em; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.step { position: relative; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; margin-bottom: 1rem;
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--sage-400);
}
.step h3 { margin-bottom: .45rem; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1060px) { .steps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .steps--4 { grid-template-columns: 1fr; } }
/* One-line note under the steps, e.g. how couples work begins */
.steps-note {
  display: flex; align-items: flex-start; gap: .75rem;
  margin: 1.5rem 0 0; padding: 1rem 1.35rem; border-radius: var(--radius);
  background: var(--bg-alt); color: var(--ink);
}
.steps-note .icon { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .2rem; color: var(--sage-700); }
.steps-note strong { color: var(--sage-800); }

/* Fees */
.price { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; }
.price__amount { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 3.6rem); line-height: 1; color: var(--ink-strong); }
.price__unit { color: var(--muted); font-weight: 500; }
.insurers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; list-style: none; margin: 1.25rem 0; padding: 0; }
.insurers li { padding: .9rem 1rem; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-weight: 600; color: var(--ink-strong); line-height: 1.35; }
.insurers li span { display: block; margin-top: .2rem; font-weight: 400; font-size: .88rem; color: var(--muted); }
@media (max-width: 480px) { .insurers { grid-template-columns: 1fr; } }

.note-inline { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.note-inline .icon { width: 1.1rem; height: 1.1rem; color: var(--sage-600); margin-top: .25rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem);
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.page-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.page-hero__inner--solo { grid-template-columns: minmax(0, 1fr); max-width: 780px; }
.page-hero h1 { margin-bottom: .4em; }
.page-hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.page-hero__media--plain img { box-shadow: none; border-radius: 0; }
@media (max-width: 900px) { .page-hero__inner { grid-template-columns: 1fr; } }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-inline-end: .4rem; color: var(--sage-400); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--sage-800); text-decoration: underline; }

.jump { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; margin: 1.75rem 0 0; padding: 0; }
.jump a {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1rem; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--ink-strong); text-decoration: none; font-weight: 500; font-size: .93rem;
  transition: border-color .2s, background-color .2s;
}
.jump a:hover { border-color: var(--sage-400); background: #fff; }
.jump .icon { width: .95rem; height: .95rem; color: var(--sage-600); }

/* ---------- Timeline & training ---------- */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; inset-block: .6rem 1.4rem; inset-inline-start: 11px; width: 2px; background: var(--sage-200); }
.timeline li { position: relative; padding-inline-start: 2.75rem; padding-bottom: 1.8rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; inset-inline-start: 3px; top: .35rem;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--sage-600);
}
.section--alt .timeline li::before { background: var(--bg-alt); }
.timeline__date { display: block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; color: var(--clay-700); }
.timeline__title { display: block; margin: .2rem 0 .1rem; font-family: var(--font-display); font-size: 1.22rem; font-weight: 500; line-height: 1.3; color: var(--ink-strong); }
.timeline__meta { color: var(--muted); }

.training { display: grid; gap: 1.25rem; }
.training__group {
  display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 1.5rem;
  padding: 1.6rem clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
.training__year { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--sage-600); }
.training__year--label { font-size: 1.35rem; line-height: 1.3; }
.training__group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.training__group li { display: flex; gap: .75rem; align-items: flex-start; }
.training__group li .icon { width: 1.05rem; height: 1.05rem; color: var(--sage-600); margin-top: .3rem; }
.training__group li span { display: block; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) { .training__group { grid-template-columns: 1fr; gap: 1rem; } .training__year { font-size: 1.6rem; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .85rem; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding-inline: clamp(1.1rem, 3vw, 1.6rem);
  transition: box-shadow .25s, border-color .25s;
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--sage-200); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: 1.2rem; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.25rem); font-weight: 500; line-height: 1.35;
  color: var(--ink-strong);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 2rem; height: 2rem; padding: .45rem; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700); transition: transform .25s;
}
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__body { padding-bottom: 1.4rem; }
.faq__body ul { margin: 0 0 1em; padding-inline-start: 1.2rem; }
.faq__body li + li { margin-top: .35rem; }

.sticky-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }

/* ---------- Gallery & lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.gallery__item {
  position: relative; display: block; width: 100%; padding: 0; margin: 0; border: 0;
  border-radius: var(--radius); overflow: hidden; background: var(--sage-100);
  cursor: zoom-in; box-shadow: var(--shadow-sm);
}
.gallery__item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__label {
  position: absolute; inset-inline-start: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .9rem; border-radius: 999px;
  background: rgba(255, 253, 249, .94); color: var(--ink-strong); font: 600 .88rem/1.2 var(--font-body);
}
.gallery__label .icon { width: 1rem; height: 1rem; color: var(--sage-700); }

.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: transparent; color: #fff;
}
.lightbox::backdrop { background: rgba(18, 26, 21, .88); }
.lightbox__inner { position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 4.5rem 1rem 3rem; }
.lightbox figure { margin: 0; display: grid; gap: .9rem; justify-items: center; max-width: min(1200px, 100%); }
.lightbox img { max-height: calc(100vh - 11rem); width: auto; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.lightbox figcaption { font-size: .98rem; color: #e8efe9; text-align: center; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer; transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .22); }
.lightbox__btn .icon { width: 1.4rem; height: 1.4rem; }
.lightbox__close { top: 1rem; inset-inline-end: 1rem; }
.lightbox__prev { inset-inline-start: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { inset-inline-end: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; } }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden; color: #fff;
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  background: #6d8c7c url("../img/green-wall.jpg") center / cover no-repeat;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(31, 52, 42, .82) 0%, rgba(31, 52, 42, .55) 50%, rgba(31, 52, 42, .12) 100%);
}
[dir="rtl"] .cta-band::before { background: linear-gradient(270deg, rgba(31, 52, 42, .82) 0%, rgba(31, 52, 42, .55) 50%, rgba(31, 52, 42, .12) 100%); }
.cta-band__content { max-width: 620px; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); font-size: 1.12rem; margin-bottom: 2rem; }
.cta-band .eyebrow { color: #f1d8c8; }
@media (max-width: 700px) { .cta-band::before { background: rgba(31, 52, 42, .72); } }

/* ---------- Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.15rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list__icon {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sage-100); color: var(--sage-700);
}
.contact-list__icon .icon { width: 1.2rem; height: 1.2rem; }
.contact-list small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-list a, .contact-list span.value { color: var(--ink-strong); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--sage-700); text-decoration: underline; }

.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.info-card__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.75rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.info-card__head img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.info-card__head p { margin: 0; line-height: 1.45; }
.info-card__head strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; display: block; }

.pt-badge { display: inline-block; border-radius: 12px; transition: transform .2s, box-shadow .2s; }
.pt-badge img { width: 190px; height: auto; }
.pt-badge:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--sage-100); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.deco-plant { position: relative; }
.deco-plant img { width: min(100%, 360px); margin-inline: auto; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow); }
.form-card h2, .form-card h3 { margin-bottom: .35rem; }
.form-card__intro { color: var(--muted); margin-bottom: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .95rem; color: var(--ink-strong); }
.field .optional { font-weight: 400; font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink-strong);
  background: #fff; border: 1.5px solid #d6cfc1; border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.field select {
  appearance: none; -webkit-appearance: none; padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23587562' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
[dir="rtl"] .field select { background-position: left 1rem center; }
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b958e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage-600); box-shadow: 0 0 0 4px rgba(88, 117, 98, .18); }
.field__error { display: none; font-size: .87rem; color: #a3281f; }
.is-invalid input, .is-invalid select, .is-invalid textarea { border-color: #b3362b; }
.is-invalid .field__error { display: block; }

.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .93rem; color: var(--muted); line-height: 1.5; }
.check input { flex: none; width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--sage-700); }
.check.is-invalid { color: #a3281f; }

.form__note { display: flex; gap: .6rem; align-items: flex-start; font-size: .87rem; color: var(--muted); line-height: 1.5; margin: 0; }
.form__note .icon { width: 1rem; height: 1rem; margin-top: .15rem; color: var(--sage-600); }
.form__submit { justify-self: start; }
@media (max-width: 600px) { .form__submit { justify-self: stretch; } }

/* Honeypot field: hidden by clipping (an off-screen offset would create sideways scroll in RTL). */
.hp { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

.form-status { display: none; padding: 1rem 1.2rem; border-radius: 14px; font-size: .95rem; line-height: 1.5; }
.form-status.is-success { display: block; background: #e5efe4; border: 1px solid #bcd3bb; color: #22442e; }
.form-status.is-error { display: block; background: #f9e7e3; border: 1px solid #ecc4bb; color: #7a2419; }

/* ---------- Notices ---------- */
.notice {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.25rem 1.4rem; border-radius: 18px;
  background: var(--clay-100); border: 1px solid #e8cdbb; color: #5a3322; font-size: .96rem;
}
.notice .icon { width: 1.35rem; height: 1.35rem; margin-top: .1rem; color: var(--clay-700); }
.notice strong { color: #4a2717; }
.notice a { color: inherit; font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-900); color: #c9d5cc; font-size: .97rem; padding-top: clamp(3.5rem, 7vw, 5rem); }
.site-footer a { color: #eef3ef; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.45fr 1fr 1.25fr 1fr; gap: 2.5rem; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  font: 600 .8rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: #fff; margin-bottom: 1.1rem;
}
.footer__brand .brand { margin-bottom: 1.25rem; color: #fff; }
.footer__brand .brand img { background: #fff; border-radius: 50%; padding: 3px; width: 64px; }
.footer__brand .brand__tag { color: #a9b9ae; }
.footer__brand p { max-width: 34ch; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer__links li { display: flex; gap: .6rem; align-items: flex-start; }
.footer__links .icon { width: 1.05rem; height: 1.05rem; margin-top: .3rem; color: var(--sage-400); }
.social { display: flex; gap: .6rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); transition: background-color .2s, border-color .2s;
}
.social a:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.social .icon { width: 1.15rem; height: 1.15rem; }
/* Social icons on light cards (the footer version is styled for the dark footer) */
.social--light { margin-top: .6rem; }
.social--light a { border-color: var(--line); background: var(--sage-100); color: var(--sage-700); }
.social--light a:hover { background: var(--sage-200); border-color: var(--sage-400); color: var(--sage-800); }
.info-card__follow { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.info-card__follow small { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer__verify { display: grid; gap: 1rem; justify-items: start; }
.footer__verify .pt-badge img { width: 180px; }
.footer__crisis {
  display: flex; gap: .9rem; align-items: flex-start;
  margin-top: 3rem; padding: 1.25rem 1.4rem; border-radius: 16px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  font-size: .92rem; color: #c9d5cc;
}
.footer__crisis .icon { width: 1.3rem; height: 1.3rem; color: #e7b9a1; margin-top: .1rem; }
.footer__crisis strong { color: #fff; }
.footer__crisis a { font-weight: 700; text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem;
  margin-top: 2rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .87rem; color: #a3b3a8;
}
.footer__bottom p { margin: 0; }

/* ---------- Floating UI ---------- */
.to-top {
  position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 40;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--sage-700); color: #fff; cursor: pointer; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s, visibility .3s, transform .3s, background-color .2s;
}
.to-top:hover { background: var(--sage-800); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top .icon { width: 1.3rem; height: 1.3rem; }

.mobile-actions { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 78px; }
  .mobile-actions {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 45;
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: .6rem;
    padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(247, 243, 236, .96);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mobile-actions .btn { min-height: 48px; padding: .65rem .9rem; font-size: .95rem; }
  .to-top { bottom: 92px; width: 44px; height: 44px; }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 404 ---------- */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding-block: 5rem; }
.not-found img { width: min(320px, 70%); margin: 0 auto 2rem; }

/* ==========================================================================
   Arabic (RTL) adjustments — letter-spacing and uppercase break Arabic
   letter joining, so they are reset here.
   ========================================================================== */
*:lang(ar) { letter-spacing: 0 !important; text-transform: none !important; }
[lang="ar"] body { font-family: var(--font-ar-body); line-height: 1.95; }
[lang="ar"] .brand__tag { font-size: .82rem; margin-top: .15rem; }
[lang="ar"] .timeline__date, [lang="ar"] .card__abbr { font-family: var(--font-ar-body); }
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] .serif-quote,
[lang="ar"] .faq summary, [lang="ar"] .timeline__title, [lang="ar"] .mobile-nav nav a {
  font-family: var(--font-ar-display); letter-spacing: 0; line-height: 1.45; font-style: normal;
}
[lang="ar"] h1 { font-weight: 600; }
[lang="ar"] h2 { font-weight: 600; }
[lang="ar"] h3 { font-weight: 600; }
[lang="ar"] .eyebrow, [lang="ar"] .contact-list small, [lang="ar"] .site-footer h2 {
  letter-spacing: 0; text-transform: none; font-family: var(--font-ar-body); font-size: .92rem;
}
[lang="ar"] .hero__title span { font-style: normal; font-size: .5em; }
[lang="ar"] .btn, [lang="ar"] .nav a, [lang="ar"] .form, [lang="ar"] .field input, [lang="ar"] .field textarea { font-family: var(--font-ar-body); }
[lang="ar"] .step::before { font-family: var(--font-body); }
/* The palm sits on the left of the photo in both languages; in RTL grid column 1 is the right-hand side, which keeps text off the plant. */
[dir="rtl"] .hero__content { grid-column: 1; }
.ltr { direction: ltr; unicode-bidi: isolate; }
[dir="rtl"] .gallery__label { inset-inline-start: 1rem; }
