/* Version 3 — editorial architectural identity drawn from the supplied mark. */
:root {
  --paper: #f3eee5;
  --paper-light: #fffcf6;
  --paper-deep: #e8dfd1;
  --ink: #201d19;
  --ink-soft: #5e554a;
  --umber: #58402d;
  --umber-deep: #392a20;
  --bronze: #9a7855;
  --bronze-light: #c4a887;
  --rule: rgb(88 64 45 / 20%);
  --primary: var(--umber);
  --primary-foreground: var(--paper-light);
  --accent: var(--bronze);
  --accent-foreground: var(--ink);
  --brand-ink: var(--ink);
  --brand-umber: var(--umber);
  --brand-bronze: var(--bronze-light);
  --brand-ivory: var(--paper);
}

html { scroll-behavior: smooth; }
body {
  color: var(--ink);
  background: var(--paper-light);
  font-family: "Tajawal", sans-serif;
}
h1, h2, h3, .section-index, .service-topline span {
  font-family: "Amiri", "Tajawal", serif;
}
.container { max-width: 1240px; }
a, button, summary { -webkit-tap-highlight-color: transparent; }

/* A quiet, two-tier masthead replaces the dark reference-site ribbon. */
.top-strip {
  color: var(--umber);
  background: var(--paper-deep);
  border-bottom: 1px solid var(--rule);
  letter-spacing: .02em;
}
.top-strip-inner { min-height: 34px; }
.top-phone { color: var(--umber-deep); }
.top-phone::before { background: var(--bronze); }
.site-header {
  background: rgb(255 252 246 / 94%);
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgb(44 33 24 / 4%);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 92px;
  gap: clamp(18px, 3vw, 44px);
}
.brand { min-width: 0; gap: 14px; color: var(--ink); }
.brand img, .footer-brand img {
  width: 60px;
  height: 60px;
  padding: 3px;
  object-fit: contain;
  border: 1px solid rgb(88 64 45 / 34%);
  border-radius: 3px;
  background: var(--paper-light);
  box-shadow: 0 5px 16px rgb(44 33 24 / 8%);
  mix-blend-mode: normal;
}
.brand-copy strong { color: var(--ink); font-size: 14px; letter-spacing: 0; }
.brand-copy small { color: #756858; font-size: 11px; }
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(9px, 1.45vw, 21px);
}
.main-nav > a:not(.nav-cta) {
  color: #4c443a;
  padding-block: 18px;
  font-size: 12px;
}
.main-nav > a:not(.nav-cta)::after {
  height: 1px;
  background: var(--bronze);
  bottom: 11px;
}
.main-nav > a:not(.nav-cta):hover { color: var(--umber); }
.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: var(--paper-light);
  background: var(--umber);
  border: 1px solid var(--umber);
  border-radius: 2px;
  box-shadow: none;
}
.nav-cta:hover { color: var(--paper-light); background: var(--umber-deep); transform: translateY(-1px); }
.mobile-menu-button {
  color: var(--umber);
  border: 1px solid var(--rule);
  border-radius: 2px;
}

/* Light, asymmetrical hero: no city image, dark overlay or orbit motif. */
.hero-section {
  min-height: 0;
  color: var(--ink);
  background: var(--paper);
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero-section::before { display: none !important; background: none !important; }
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 9%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgb(88 64 45 / 22%) 18%, rgb(88 64 45 / 22%) 82%, transparent);
  pointer-events: none;
}
.hero-grid-glow, .visual-orbit { display: none !important; }
.hero-content {
  grid-template-columns: minmax(0, 1.12fr) minmax(290px, .78fr);
  align-items: center;
  gap: clamp(42px, 7vw, 105px);
  padding-block: clamp(70px, 9vw, 128px) clamp(62px, 8vw, 105px);
}
.hero-copy { max-width: 680px; }
.eyebrow { color: var(--bronze); letter-spacing: .12em; }
.eyebrow-light { color: #81664b; }
.eyebrow > span { background: var(--bronze); }
.hero-copy h1 {
  max-width: 720px;
  margin-block: 22px 20px;
  color: var(--ink);
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 700;
  line-height: 1.17;
  letter-spacing: -.035em;
}
.hero-copy h1 em {
  display: inline-block;
  margin-top: 8px;
  color: var(--umber);
  font-size: .76em;
  font-style: normal;
  line-height: 1.45;
}
.hero-copy > p {
  max-width: 570px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 2.05;
}
.hero-actions { gap: 24px; margin-top: 32px; }
.button-whatsapp {
  min-height: 50px;
  border-radius: 2px;
  background: #47745c;
  box-shadow: none;
}
.button-whatsapp:hover { background: #365e49; transform: translateY(-1px); }
.text-link.light-link { color: var(--umber); }
.text-link.light-link:hover { color: #36271d; }
.hero-proof { color: #756858; }
.hero-proof i { background: var(--bronze); }
.hero-visual { min-height: 0; margin: 0; }
.logo-card {
  width: min(390px, 100%);
  aspect-ratio: 1 / 1.08;
  padding: 34px;
  background: rgb(255 252 246 / 82%);
  border: 1px solid rgb(88 64 45 / 32%);
  outline: 8px solid rgb(232 223 209 / 54%);
  outline-offset: 0;
  box-shadow: 0 22px 55px rgb(44 33 24 / 9%);
}
.logo-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgb(88 64 45 / 15%);
  pointer-events: none;
}
.logo-card .card-kicker { display: none; }
.logo-card img {
  width: min(82%, 300px);
  max-height: 78%;
  border: 0;
  outline: 0;
  outline-offset: 0;
  background: var(--paper-light);
  box-shadow: 0 10px 25px rgb(44 33 24 / 9%);
}
.card-caption { color: #756858; font-size: 11px; letter-spacing: .08em; }
.hero-bottom-line {
  border-top: 1px solid var(--rule);
  color: #806b53;
  padding-top: 15px;
}
.hero-bottom-line i { background: var(--bronze); }

/* Credentials become a quiet editorial rail rather than a floating card grid. */
.intro-section {
  background: var(--paper-light);
  padding-block: clamp(76px, 9vw, 128px);
}
.intro-layout {
  grid-template-columns: 58px minmax(230px, .9fr) minmax(300px, 1.1fr);
  align-items: start;
  gap: clamp(22px, 4vw, 60px);
}
.section-index {
  color: var(--bronze);
  font-size: 26px;
  border-top: 1px solid var(--bronze);
  padding-top: 9px;
}
.intro-heading h2, .section-heading-row h2, .faq-heading h2, .contact-heading h2 {
  color: var(--ink);
  font-size: clamp(34px, 3.9vw, 52px);
  line-height: 1.35;
  letter-spacing: -.02em;
}
.intro-heading h2 strong, .section-heading-row h2 strong,
.faq-heading h2 strong, .contact-heading h2 strong { color: var(--umber); }
.intro-copy, .intro-copy p { color: var(--ink-soft); line-height: 2; }
.credentials-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(48px, 6vw, 78px);
  border-block: 1px solid var(--rule);
}
.credential-card {
  min-height: 174px;
  padding: 22px 18px;
  background: transparent;
  border: 0;
  border-inline-start: 1px solid var(--rule);
  box-shadow: none;
  transition: background-color .2s ease;
}
.credential-card:hover { background: rgb(232 223 209 / 34%); }
.credential-card img {
  width: 48px;
  height: 48px;
  padding: 5px;
  object-fit: contain;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: var(--paper-light);
}
.credential-card strong { color: var(--ink); font-size: 13px; }
.credential-card span { color: #756858; font-size: 11px; line-height: 1.7; }

/* Two-column legal index with fine rules instead of the reference's card wall. */
.services-section {
  background: var(--paper);
  padding-block: clamp(76px, 9vw, 128px);
}
.section-heading-row {
  grid-template-columns: minmax(0, .9fr) minmax(330px, 1.1fr);
  align-items: end;
  gap: clamp(30px, 6vw, 86px);
  padding-bottom: 30px;
  border-bottom: 1px solid var(--rule);
}
.section-heading-row > p { color: var(--ink-soft); line-height: 2; }
.services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(34px, 6vw, 82px);
  margin-top: 34px;
}
.service-card {
  min-height: 0;
  padding: 25px 0 22px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  box-shadow: none;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover {
  border-color: var(--bronze);
  box-shadow: none;
  transform: translateY(-2px);
}
.service-topline { color: var(--bronze); padding-bottom: 13px; border-bottom: 1px solid rgb(88 64 45 / 12%); }
.service-topline span { color: var(--umber); font-size: 22px; }
.service-topline svg { color: var(--bronze); }
.service-disclosure summary h3 { color: var(--ink); font-size: 18px; line-height: 1.6; }
.service-more { color: var(--umber); }
.service-details { color: var(--ink-soft); line-height: 1.95; }
.service-details li::marker { color: var(--bronze); }
.service-link { color: var(--umber); }

/* The method is the single dark anchor: solid umber, not a night-sky hero. */
.approach-section {
  color: var(--paper-light);
  background: linear-gradient(118deg, #33271e 0%, #4a3728 58%, #59412e 100%);
  padding-block: clamp(78px, 9vw, 126px);
}
.approach-section::before {
  background-image: linear-gradient(90deg, transparent 49.7%, rgb(224 204 178 / 17%) 50%, transparent 50.3%);
  opacity: .4;
}
.approach-layout {
  grid-template-columns: minmax(260px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(38px, 7vw, 98px);
}
.approach-art {
  min-height: 360px;
  padding: 38px;
  border: 1px solid rgb(255 252 246 / 24%);
  background: linear-gradient(145deg, rgb(255 252 246 / 7%), rgb(255 252 246 / 1%));
  box-shadow: inset 0 0 0 9px rgb(255 252 246 / 3%);
}
.approach-art .art-ring { display: none; }
.approach-art .art-mark {
  color: transparent;
  font-size: 0;
  width: 52px;
  height: 1px;
  background: var(--bronze-light);
}
.approach-art .art-note { color: #e4d2bd; line-height: 2; }
.approach-copy h2 { color: var(--paper-light); font-family: "Amiri", "Tajawal", serif; font-size: clamp(34px, 4vw, 53px); line-height: 1.5; }
.approach-copy p { color: #e0d4c7; line-height: 2; }
.approach-subtitle { color: #d5b996; }
.approach-points { border-top: 1px solid rgb(255 252 246 / 22%); }
.approach-points > * { border-bottom: 1px solid rgb(255 252 246 / 22%); }
.approach-points svg { color: var(--bronze-light); }

/* Reasons, questions and contact use distinct paper surfaces and restrained framing. */
.why-section { background: var(--paper-light); padding-block: clamp(76px, 9vw, 122px); }
.why-heading { margin-bottom: 42px; }
.reasons-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.reason-card {
  min-height: 190px;
  padding: 22px 18px;
  background: transparent;
  border: 0;
  border-inline-start: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
}
.reason-card:hover { transform: translateY(-2px); border-color: var(--bronze); box-shadow: none; }
.reason-number { color: var(--bronze); font-family: "Amiri", serif; font-size: 22px; }
.reason-card h3 { color: var(--ink); font-size: 16px; }
.reason-card p { color: var(--ink-soft); line-height: 1.9; }
.faq-section { background: #eee7dc; padding-block: clamp(76px, 9vw, 122px); }
.faq-layout { grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr); gap: clamp(36px, 7vw, 92px); }
.faq-heading p { color: var(--ink-soft); line-height: 1.9; }
.faq-list { border-top: 1px solid var(--rule); }
.faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: none; }
.faq-question { color: var(--ink); padding: 21px 0; }
.faq-answer { color: var(--ink-soft); padding: 0 0 22px; line-height: 1.95; }
.faq-plus { color: var(--umber); border-color: var(--bronze); border-radius: 50%; }
.faq-item.is-open .faq-plus { color: var(--paper-light); background: var(--umber); }
.accreditation-strip { color: var(--ink); background: var(--paper-deep); border-block: 1px solid var(--rule); }
.accreditation-inner { min-height: 150px; padding-block: 30px; }
.accreditation-strip h3 { color: var(--umber); font-family: "Amiri", serif; }
.accreditation-strip .eyebrow { color: #806446; }
.contact-section { background: var(--paper-light); padding-block: clamp(76px, 9vw, 122px); }
.contact-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr); align-items: center; gap: clamp(36px, 7vw, 90px); }
.contact-heading p { color: var(--ink-soft); line-height: 2; }
.contact-panel {
  padding: clamp(26px, 4vw, 44px);
  color: var(--paper-light);
  background: var(--umber-deep);
  border: 1px solid rgb(88 64 45 / 24%);
  border-radius: 2px;
  box-shadow: 0 18px 42px rgb(44 33 24 / 12%);
}
.contact-panel h3, .contact-panel strong { color: var(--paper-light); }
.contact-item { color: #eadfce; border-bottom: 1px solid rgb(255 252 246 / 18%); }
.contact-item:hover { color: var(--bronze-light); }
.contact-item > svg, .contact-icon { color: var(--bronze-light); border-color: rgb(196 168 135 / 54%); }
.button-dark, .button-gold { color: var(--paper-light); background: var(--umber); border: 1px solid var(--umber); border-radius: 2px; }
.button-dark:hover, .button-gold:hover { color: var(--paper-light); background: var(--umber-deep); }
.floating-call { background: var(--umber); }
.floating-call:hover { background: var(--umber-deep); }
.site-footer {
  color: var(--ink);
  background: #e9e1d5;
  border-top: 1px solid var(--rule);
  padding-block: 34px;
}
.footer-brand { color: var(--ink); }
.footer-brand img { border-radius: 2px; }
.footer-inner > p { color: #695d4f; }
.footer-links a { color: var(--umber); }

@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .brand { gap: 10px; }
  .main-nav { gap: 10px; }
  .main-nav > a:not(.nav-cta) { font-size: 11px; }
  .credentials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .credential-card:nth-child(3n) { border-inline-start: 0; }
  .reason-card { padding-inline: 12px; }
}
@media (max-width: 760px) {
  .container { padding-inline: 20px; }
  .top-strip-inner { min-height: 32px; gap: 10px; font-size: 10px; }
  .header-inner { min-height: 72px; gap: 10px; position: relative; }
  .brand { min-width: 0; max-width: calc(100% - 52px); }
  .brand img { width: 48px; height: 48px; }
  .brand-copy strong { font-size: 11px; }
  .brand-copy small { font-size: 9px; }
  .mobile-menu-button { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    z-index: 30;
    top: 72px;
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--paper-light);
    border: 1px solid var(--rule);
    box-shadow: 0 15px 28px rgb(44 33 24 / 12%);
  }
  .main-nav.is-open { display: flex; }
  .main-nav > a:not(.nav-cta) { padding: 13px 0; border-bottom: 1px solid var(--rule); }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 12px; }
  .hero-section::after { inset-inline-start: 20px; }
  .hero-content { display: flex; flex-direction: column; align-items: stretch; gap: 34px; padding-block: 48px 56px; }
  .hero-visual { order: -1; min-height: 0; margin: 0 auto; }
  .logo-card { width: min(300px, 76vw); padding: 24px; outline-width: 5px; }
  .card-caption { font-size: 9px; }
  .hero-copy h1 { margin-top: 16px; font-size: clamp(38px, 10vw, 50px); }
  .hero-copy h1 em { font-size: .75em; }
  .hero-copy > p { font-size: 14px; line-height: 1.95; }
  .hero-actions { flex-wrap: wrap; gap: 16px; }
  .hero-proof { flex-wrap: wrap; gap: 8px; }
  .intro-section, .services-section, .why-section, .faq-section, .contact-section { padding-block: 62px; }
  .intro-layout { grid-template-columns: 1fr; gap: 15px; }
  .section-index { width: 44px; }
  .intro-heading h2, .section-heading-row h2, .faq-heading h2, .contact-heading h2 { font-size: 34px; }
  .credentials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 36px; }
  .credential-card { min-height: 145px; padding: 17px 13px; }
  .credential-card:nth-child(3n) { border-inline-start: 1px solid var(--rule); }
  .credential-card:nth-child(2n) { border-inline-start: 0; }
  .credential-card:last-child { grid-column: 1 / -1; }
  .section-heading-row { grid-template-columns: 1fr; gap: 18px; padding-bottom: 20px; }
  .services-grid { grid-template-columns: 1fr; margin-top: 16px; }
  .service-card { padding-block: 20px; }
  .approach-section { padding-block: 62px; }
  .approach-layout { grid-template-columns: 1fr; gap: 28px; }
  .approach-art { min-height: 230px; padding: 25px; }
  .approach-copy h2 { font-size: 34px; }
  .reasons-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reason-card { min-height: 165px; padding: 16px 12px; }
  .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .accreditation-inner { min-height: 0; padding-block: 24px; }
  .contact-panel { padding: 24px 20px; }
  .footer-inner { gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


/* A restrained arch motif gives the method panel a deliberate focal point. */
.approach-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}
.approach-art::before,
.approach-art::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgb(196 168 135 / 44%);
  border-bottom: 0;
  border-radius: 120px 120px 0 0;
  pointer-events: none;
}
.approach-art::before { top: 30px; width: 156px; height: 190px; }
.approach-art::after { top: 52px; width: 112px; height: 168px; border-color: rgb(196 168 135 / 28%); }
.approach-art .art-note {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 24ch;
  padding-top: 220px;
  text-align: right;
}

@media (max-width: 760px) {
  .float-whatsapp, .floating-call {
    width: 48px;
    min-width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgb(32 29 25 / 18%);
  }
  .float-whatsapp span, .floating-call span { display: none; }
  .approach-art { min-height: 250px; }
  .approach-art::before { top: 22px; width: 120px; height: 128px; }
  .approach-art::after { top: 39px; width: 87px; height: 112px; }
  .approach-art .art-note { padding-top: 150px; max-width: 20ch; }
}
