/* =========================================================
   Farishta Jalal — EMDR & Trauma Specialist
   Design tokens + site-wide styles
   ========================================================= */

:root{
  /* Brand palette, matched to the Farishta Jalal EMDR logo (deep teal + gold) */
  --teal-900:#063C38;   /* dark teal / headings */
  --teal-800:#064E46;   /* primary deep teal — buttons, strong panels */
  --teal-700:#0B6B61;   /* secondary/accent teal — links, icons, hover */
  --teal-600:#14847A;   /* lighter teal — hover lightening */
  --teal-100:#E3EEEC;   /* pale teal tint — badges, tinted cards */
  --teal-50:#EFF5F3;    /* faint teal tint */

  --gold-700:#8C6B2E;   /* darkened gold — small text/icons on white, needs real contrast */
  --gold-600:#A9843F;   /* muted gold — borders, rules on white */
  --gold-500:#C5A15A;   /* muted sophisticated gold — the brand gold */
  --gold-300:#D8BF88;   /* soft gold — highlights, mostly on teal backgrounds */
  --gold-100:#F5EEDD;   /* pale gold tint — subtle badge backgrounds */

  --ink:#172421;        /* primary body text */
  --ink-soft:#3C4B47;   /* secondary text — still substantially dark */
  --ink-faint:#5C6B67;  /* captions, meta — smallest permitted contrast */
  --bg:#FFFFFF;         /* principal background */
  --bg-soft:#F7F8F6;    /* alternative soft section background */
  --surface:#FFFFFF;    /* card surface — same as bg; cards read via border/shadow */
  --line:#E4E8E5;       /* subtle borders */

  /* Text/line tokens for use inside deep-teal sections */
  --on-teal-ink:#F5F3EC;         /* ivory-white heading/body on teal */
  --on-teal-soft:#CFE0DB;        /* muted ivory-teal secondary text on teal */
  --on-teal-line:rgba(245,243,236,0.22);

  --whatsapp-ink:#F5F3EC;

  --warn-bg:#FBF0DE;
  --warn-line:#E9CE9C;
  --warn-ink:#7A4E12;

  --focus:#064E46;

  --font-serif: 'Lora', Georgia, 'Iowan Old Style', serif;
  --font-sans: 'Inter', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --radius:10px;
  --radius-lg:16px;
  --shadow-sm: 0 1px 3px rgba(6,60,56,0.07);
  --shadow-md: 0 10px 30px rgba(6,60,56,0.12);
  --container: 1120px;
}

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

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

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

img{ max-width:100%; height:auto; display:block; }
a{ color:var(--teal-700); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline:2px solid var(--focus);
  outline-offset:3px;
}

h1,h2,h3,h4{
  font-family:var(--font-serif);
  font-weight:600;
  line-height:1.25;
  color:var(--teal-900);
  text-wrap:balance;
  margin:0 0 0.5em;
}
h1{ font-size:clamp(30px,4.4vw,44px); font-weight:600; }
h2{ font-size:clamp(24px,3vw,32px); }
h3{ font-size:19px; }
p{ margin:0 0 1em; max-width:68ch; }
.lede{ font-size:18px; color:var(--ink-soft); max-width:56ch; }

.container{ max-width:var(--container); margin:0 auto; padding:0 24px; }
.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--teal-900); color:#fff; padding:12px 18px; z-index:200;
  border-radius:0 0 8px 0;
}
.skip-link:focus{ left:0; }

/* ---------- Header ---------- */
.site-header{
  background:var(--surface);
  border-bottom:1px solid var(--line);
  position:sticky; top:0; z-index:100;
}
.site-header__bar{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px; padding:10px 20px;
  /* Wider than the page's shared --container deliberately — the header
     needs more room than body content to fit a legible logo, six nav
     items and both header CTAs on one line without wrapping (see
     .primary-nav a below). This only affects the header bar; every other
     .container on the site still uses --container unchanged. */
  max-width:1350px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; flex:none;
}
/* Responsive logo sizing — a single fixed height doesn't work across a
   navigation bar this size range, so it steps down at each breakpoint
   rather than scaling fluidly (which read as blurry at in-between sizes). */
.brand img{ height:126px; width:auto; }
.brand__mark-slot{ width:0; overflow:hidden; }
.brand__mark-slot img{ height:34px; width:auto; }

.primary-nav{ display:flex; align-items:center; gap:4px; }
.primary-nav ul{ list-style:none; display:flex; gap:2px; margin:0; padding:0; }
.primary-nav a{
  display:block; padding:12px 9px; border-radius:8px;
  color:var(--ink); text-decoration:none; font-size:15.5px; font-weight:600;
  letter-spacing:.01em; white-space:nowrap;
}
.primary-nav a:hover{ background:var(--teal-50); color:var(--teal-800); }
.primary-nav a[aria-current="page"]{ color:var(--teal-800); }
.has-submenu{ position:relative; }
.submenu{
  list-style:none; margin:0; padding:8px; position:absolute; top:100%; left:0;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-md); min-width:230px; display:none; flex-direction:column; gap:2px;
}
/* Display is controlled ENTIRELY by the .is-open class, toggled by the
   dropdown controller in main.js — not by :hover or :focus-within. A user
   can tab into one menu (giving it real :focus-within) and then move the
   mouse onto a different trigger without ever moving focus: at that point
   :focus-within is genuinely still true on the first menu AND :hover is
   genuinely true on the second, on two different elements, with no CSS
   rule able to arbitrate between them — both would render open at once.
   A single JS-tracked "which one is open" state is the only reliable way
   to guarantee exactly one is ever open; see main.js for the controller. */
.has-submenu.is-open > .submenu{ display:flex; }
/* A submenu (min-width 230px) is routinely wider than its own trigger
   text, so left:0 makes it overflow rightwards into the NEXT nav item's
   own box. Harmless for a plain link; kept so an open dropdown doesn't
   visually sit on top of the following item's clickable area. */
.has-submenu:has(+ .has-submenu) .submenu{ left:auto; right:0; }
.submenu a{ white-space:nowrap; }

.header-ctas{ display:flex; align-items:center; gap:10px; }
.nav-toggle{
  display:none; background:none; border:1px solid var(--line); border-radius:8px;
  padding:8px 10px; cursor:pointer;
}
.nav-toggle svg{ width:22px; height:22px; display:block; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:13px 24px; border-radius:9999px; font-weight:600; font-size:15px;
  text-decoration:none; border:1px solid transparent; cursor:pointer;
  line-height:1.2; transition:background-color .15s ease, border-color .15s ease, transform .05s ease;
}
.btn:active{ transform:translateY(1px); }
.btn-primary{ background:var(--teal-800); color:#fff; }
.btn-primary:hover{ background:var(--teal-900); }
.btn-secondary{ background:transparent; color:var(--teal-800); border-color:var(--teal-800); }
.btn-secondary:hover{ background:var(--teal-50); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn-ghost:hover{ background:var(--surface); border-color:var(--ink-faint); }
.btn-sm{ padding:9px 16px; font-size:13.5px; }

/* WhatsApp — integrated into the deep-teal system rather than the generic
   bright green, while the icon + label keep it clearly identifiable. */
.btn-whatsapp{ background:var(--teal-700); color:var(--whatsapp-ink); }
.btn-whatsapp:hover{ background:var(--teal-800); }
.btn-whatsapp svg{ width:18px; height:18px; fill:var(--whatsapp-ink); flex:none; }
.btn-whatsapp[aria-disabled="true"]{
  background:var(--ink-faint); color:#fff; cursor:not-allowed; pointer-events:none;
}
/* Hidden by default until js/config.js enables WhatsApp and js/main.js reveals
   these — prevents a dead button flashing before the script runs. */
[data-whatsapp-cta]{ display:none; }

.fab-whatsapp{
  position:fixed; right:20px; bottom:20px; z-index:150;
  width:58px; height:58px; border-radius:50%;
  background:var(--teal-700); display:flex; align-items:center; justify-content:center;
  box-shadow:var(--shadow-md); text-decoration:none;
}
.fab-whatsapp svg{ width:28px; height:28px; fill:var(--whatsapp-ink); }
.fab-whatsapp:hover{ background:var(--teal-800); }

/* ---------- Hero ---------- */
.hero{ padding:64px 0 56px; }
.hero__grid{ display:grid; grid-template-columns:1.1fr 0.9fr; gap:48px; align-items:center; }
.hero__eyebrow{
  font-size:12.5px; letter-spacing:.09em; text-transform:uppercase; font-weight:700;
  color:var(--gold-700); margin-bottom:10px; display:block;
}
.hero__actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:26px; }
.hero__figure{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); }
.hero__figure img{ width:100%; height:100%; object-fit:cover; }

/* ---------- Sections ---------- */
section{ padding:56px 0; }
.section-tight{ padding:36px 0; }
.section-alt{ background:var(--bg-soft); }
.section-head{ max-width:64ch; margin-bottom:34px; }
.section-head .lede{ margin-top:8px; }

/* Full deep-teal feature/conversion sections — the visual-rhythm panels that
   break up the white page as the visitor scrolls. Ivory type, gold used only
   for small accents (eyebrow labels, dividers, icon fills), never as a fill. */
.section-teal{
  background:var(--teal-800);
  color:var(--on-teal-ink);
}
.section-teal h1, .section-teal h2, .section-teal h3, .section-teal h4{ color:var(--on-teal-ink); }
.section-teal p, .section-teal .lede{ color:var(--on-teal-soft); }
.section-teal a:not(.btn){ color:var(--gold-300); }
.section-teal .hero__eyebrow{ color:var(--gold-300); }
.section-teal .section-head{ border-bottom:none; }
.section-teal hr, .section-teal .divider{ border-color:var(--on-teal-line); }
.section-teal .btn-primary{ background:#fff; color:var(--teal-800); border:1.5px solid var(--gold-500); }
.section-teal .btn-primary:hover{ background:var(--gold-100); border-color:var(--gold-600); }
.section-teal .btn-secondary{ color:var(--on-teal-ink); border-color:var(--on-teal-line); }
.section-teal .btn-secondary:hover{ background:rgba(245,243,236,0.08); }
.section-teal .card{
  background:rgba(245,243,236,0.06); border-color:var(--on-teal-line); color:var(--on-teal-ink);
}
.section-teal .card p{ color:var(--on-teal-soft); }
.section-teal .icon-list strong{ color:var(--on-teal-ink); }
.section-teal .icon-list span{ color:var(--on-teal-soft); }
.section-teal .icon-list .dot{ background:var(--gold-300); }
.section-teal .tag{ background:rgba(216,191,136,0.16); color:var(--gold-300); }

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

.card{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:26px; box-shadow:var(--shadow-sm);
}
.card h3{ margin-bottom:8px; }
.card p:last-child{ margin-bottom:0; }
.card .price{ font-family:var(--font-serif); font-size:26px; color:var(--teal-800); margin:10px 0; }
.card .price small{ font-family:var(--font-sans); font-size:14px; color:var(--ink-soft); font-weight:500; }

.plain-list{ list-style:none; margin:0 0 16px; padding:0; display:flex; flex-direction:column; gap:8px; font-size:14px; color:var(--ink-soft); }
.plain-list li{ padding-left:18px; position:relative; }
.plain-list li::before{ content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%; background:var(--teal-700); }

.icon-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.icon-list li{ display:flex; gap:12px; align-items:flex-start; }
.icon-list .dot{
  flex:none; width:8px; height:8px; border-radius:50%; background:var(--teal-700);
  margin-top:9px;
}
.icon-list strong{ display:block; color:var(--ink); }
.icon-list span{ color:var(--ink-soft); font-size:15px; }

.trust-strip{ display:flex; flex-wrap:wrap; gap:28px; padding:22px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.trust-strip__item{ font-size:14.5px; color:var(--ink-soft); display:flex; align-items:center; gap:8px; }
.trust-strip__item svg{ width:18px; height:18px; fill:var(--teal-700); flex:none; }

/* Informational callouts (e.g. "booking process") — pale neutral with a teal
   accent border, not the amber/beige treatment used for pending-approval
   placeholders (.note-placeholder, below, stays visually distinct on purpose). */
.callout{
  background:var(--bg-soft); border:1px solid var(--line); border-left:4px solid var(--teal-700);
  border-radius:0 var(--radius) var(--radius) 0; padding:18px 22px; font-size:14.5px; margin:24px 0;
  color:var(--ink);
}
.callout strong{
  display:flex; align-items:center; gap:7px; margin-bottom:5px;
  color:var(--teal-900); font-family:var(--font-serif); font-size:16px; font-weight:600;
}
.callout strong::before{ content:"◆"; color:var(--gold-500); font-size:10px; }

.note-placeholder{
  border:1px dashed var(--ink-faint); border-radius:var(--radius); padding:14px 16px;
  font-size:13.5px; color:var(--ink-soft); background:var(--surface);
}

/* FAQ accordion */
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{
  cursor:pointer; list-style:none; display:flex; align-items:center; justify-content:space-between;
  padding:18px 4px; font-weight:600; font-family:var(--font-serif); font-size:17px; gap:16px;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .chevron{ flex:none; transition:transform .15s ease; color:var(--teal-700); }
.faq-item[open] summary .chevron{ transform:rotate(180deg); }
.faq-item p{ padding:0 4px 20px; color:var(--ink-soft); }

/* Editorial typography for Knowledge Centre articles */
article h1{ margin-bottom:.3em; }
article .lede{ font-size:19px; }
article h2{ margin-top:2.1em; margin-bottom:.55em; font-size:23px; }
article h3{ margin-top:1.6em; }
article p{ line-height:1.75; margin-bottom:1.25em; color:var(--ink); }
article ul, article ol{ line-height:1.75; margin:0 0 1.25em; padding-left:1.3em; }
article li{ margin-bottom:.4em; }
article img{ border-radius:var(--radius-lg); margin:8px 0 32px; }
article .callout{ margin:32px 0; }

/* Breadcrumbs */
.breadcrumbs{ font-size:13px; color:var(--ink-faint); margin-bottom:18px; }
.breadcrumbs a{ color:var(--ink-faint); text-decoration:none; }
.breadcrumbs a:hover{ color:var(--teal-700); text-decoration:underline; }
.breadcrumbs .sep{ margin:0 6px; }

/* Sticky mobile bar */
.mobile-cta-bar{
  display:none; position:fixed; left:0; right:0; bottom:0; z-index:140;
  background:var(--surface); border-top:1px solid var(--line);
  padding:10px 14px; gap:10px;
  box-shadow:0 -4px 14px rgba(18,59,57,0.08);
}
.mobile-cta-bar .btn{ flex:1; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--teal-900); color:#EAF2F0; padding:64px 0 32px; margin-top:40px; }
.site-footer a{ color:#D3E6E2; }
.site-footer a:hover{ color:#fff; }
.footer-grid{ display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:40px; }
.footer-grid h4{ color:#fff; font-size:13.5px; letter-spacing:.06em; text-transform:uppercase; font-family:var(--font-sans); font-weight:700; margin-bottom:16px; }
.footer-grid ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; font-size:15px; line-height:1.5; }
/* Logo rendered white for legibility against deep teal (the mark's dark
   green would otherwise sit too close to the background colour); sized up
   substantially so it reads as a brand mark, not a watermark. The
   professional title is set as real text underneath rather than relying on
   the logo's own baked-in descriptor, which is illegible at this size. */
.footer-brand img{ height:72px; width:auto; filter:brightness(0) invert(1); opacity:.96; margin-bottom:14px; }
.footer-brand__title{
  font-family:var(--font-serif); font-size:15px; color:var(--gold-300);
  margin:0 0 14px; letter-spacing:.01em;
}
.footer-brand p{ color:#BFD6D1; font-size:14.5px; line-height:1.6; max-width:38ch; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.14); margin-top:44px; padding-top:22px;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
  font-size:13px; color:#A9C7C1;
}
@media (max-width: 600px){
  .footer-brand img{ height:58px; }
}

/* ---------- Utilities ---------- */
.text-center{ text-align:center; }
.mt-0{ margin-top:0; }
.stack{ display:flex; flex-direction:column; gap:16px; }
.tag{
  display:inline-block; font-size:11.5px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  padding:3px 10px; border-radius:99px; background:var(--gold-100); color:var(--gold-700);
}
.visually-hidden{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(0,0,0,0); white-space:nowrap; border:0; padding:0; margin:-1px;
}
.table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }

/* ---------- Process flow (numbered step sequences) ----------
   .flow-step previously had no styling at all, so its number badge
   (.k) and label text ran together with zero separation ("1Comprehensive
   Assessment"). Structured here as a proper number-element + text-element
   pair with real spacing, stacked vertically so it reads cleanly at every
   width without fragile horizontal wrapping across six steps. */
.flow{ display:flex; flex-direction:column; align-items:flex-start; gap:8px; margin:20px 0 0; max-width:420px; }
.flow-step{
  display:flex; align-items:center; gap:12px; width:100%;
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:12px 16px; font-size:15px; color:var(--ink); font-weight:600;
}
.flow-step .k{
  flex:none; display:inline-flex; align-items:center; justify-content:center;
  width:26px; height:26px; border-radius:50%;
  background:var(--teal-800); color:#fff; font-size:13px; font-weight:700;
  font-family:var(--font-sans); line-height:1;
}
.flow-arrow{ color:var(--gold-500); font-size:16px; line-height:1; padding-left:13px; }

/* ---------- Responsive ---------- */
/* Standard laptop — logo steps down before the nav collapses, so it never
   looks squeezed against the nav links at in-between widths. */
@media (max-width: 1200px){
  .site-header__bar{ gap:10px; padding:10px 10px; }
  .brand img{ height:80px; }
  .primary-nav{ gap:0; }
  .primary-nav ul{ gap:0; }
  .primary-nav a{ padding:9px 5px; font-size:13.5px; }
  .header-ctas{ gap:6px; }
}
@media (max-width: 900px){
  .brand img{ height:72px; }
  .primary-nav{ display:none; }
  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .header-ctas .btn-secondary{ display:none; }
  /* WhatsApp + Book Assessment are duplicated in .mobile-cta-bar below this
     width, and the header row doesn't have room for both plus the toggle
     without overflowing horizontally — so only the toggle stays in the header. */
  .header-ctas .btn-whatsapp, .header-ctas .btn-primary{ display:none; }
  .hero__grid{ grid-template-columns:1fr; }
  .hero__figure{ order:-1; max-height:340px; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .grid-3, .grid-4{ grid-template-columns:1fr 1fr; }
  .mobile-cta-bar{ display:flex; }
  body{ padding-bottom:70px; }
  .fab-whatsapp{ bottom:84px; }
}
@media (max-width: 600px){
  .brand img{ height:58px; }
  .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  section{ padding:40px 0; }
  .hero{ padding:40px 0 32px; }
}
@media (max-width: 480px){
  .footer-grid{ grid-template-columns:1fr; gap:28px; }
}

/* Mobile nav drawer */
.mobile-nav{
  display:none; position:fixed; inset:0; z-index:190; background:rgba(18,30,29,0.55);
}
.mobile-nav.is-open{ display:block; }
.mobile-nav__panel{
  position:absolute; top:0; right:0; bottom:0; width:min(320px,86vw);
  background:var(--surface); padding:22px; overflow-y:auto;
}
.mobile-nav__panel ul{ list-style:none; margin:0 0 20px; padding:0; display:flex; flex-direction:column; }
.mobile-nav__panel a{ display:block; padding:13px 4px; color:var(--ink); text-decoration:none; font-size:16.5px; border-bottom:1px solid var(--line); }
.mobile-nav__close{ background:none; border:0; float:right; font-size:22px; cursor:pointer; color:var(--ink-soft); }
