/* ==========================================================================
   Al Malik Waheed — site styles
   Palette drawn from the brand assets:
   navy/steel + sky (company profile), gold (brokerage logo & office signage)
   ========================================================================== */

:root {
  /* Color */
  --ink: #0E2A47;          /* profile navy, deepened */
  --ink-900: #081B2F;
  --steel: #1B4B72;        /* profile mid-blue */
  --sky: #75BAFB;          /* profile heading blue */
  --gold: #DBB178;         /* lit wall-logo gold */
  --gold-hi: #F3DDAE;
  --gold-deep: #8C6A33;    /* gold for text on light surfaces (AA) */
  --gypsum: #F2F4F6;       /* office wall grey */
  --paper: #FFFFFF;
  --charcoal: #1F252C;     /* sign lettering */
  --muted: #56616F;
  --line: #DDE3EA;
  --wa: #25D366;
  --wa-deep: #128C7E;
  --danger: #B42318;
  --danger-bg: #FEF3F2;
  --success: #0F7A4F;

  /* Type */
  --font-display: "Reem Kufi", "IBM Plex Sans Arabic", system-ui, sans-serif;  /* hero, wordmark, stage labels only */
  --font-heading: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans Arabic", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;

  /* Shape & depth */
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 1px 2px rgba(8, 27, 47, .05), 0 10px 28px rgba(8, 27, 47, .08);
  --shadow-2: 0 30px 70px rgba(8, 27, 47, .22);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --section-y: clamp(72px, 10vw, 128px);
  --quick-overlap: 56px;

  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--charcoal);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="en"] body { line-height: 1.65; }
html.lang-pending body { opacity: 0; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.35;
  text-wrap: balance;
}
html[lang="en"] h1, html[lang="en"] h2 { letter-spacing: -.01em; line-height: 1.15; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

.skip-link {
  position: fixed; inset-inline-start: 12px; top: -80px; z-index: 100;
  background: var(--gold); color: var(--ink); font-weight: 700;
  padding: 10px 16px; border-radius: 10px; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }
[dir="rtl"] .icon--flip { transform: scaleX(-1); }

bdi, .ltr { unicode-bidi: isolate; direction: ltr; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: .7em 1.5em;
  border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s var(--ease), filter .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }

.btn--gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #CC9E60);
  color: var(--ink);
  box-shadow: 0 8px 22px rgba(219, 177, 120, .28), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.btn--gold:hover { filter: brightness(1.05); box-shadow: 0 12px 28px rgba(219, 177, 120, .38), inset 0 1px 0 rgba(255, 255, 255, .55); }

.btn--ghost { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .07); border-color: var(--sky); }

.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--steel); }

.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }

.btn--wa { background: var(--wa-deep); color: #fff; min-height: 44px; padding: .5em 1.15em; }
.btn--wa:hover { background: #0E766B; }

.btn--block { width: 100%; }

/* ---------- Eyebrow & section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .92rem; font-weight: 600; color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--sky { color: var(--sky); }

.section { padding-block: var(--section-y); }
.section--gypsum { background: var(--gypsum); }

.section-head { max-width: 680px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); color: var(--ink); margin-top: 14px; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; inset-inline: 0; z-index: 50;
  height: var(--header-h); color: #fff;
  transition: background-color .3s, box-shadow .3s;
}
.header.is-scrolled,
.header.is-open {
  background: rgba(8, 27, 47, .94);
  box-shadow: 0 1px 0 rgba(117, 186, 251, .14);
}
@supports (backdrop-filter: blur(1px)) {
  .header.is-scrolled, .header.is-open { background: rgba(8, 27, 47, .84); backdrop-filter: saturate(140%) blur(14px); }
}

.header__inner { display: flex; align-items: center; gap: 20px; height: 100%; }

.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__mark { height: 56px; width: auto; flex: none; }
.brand__text { display: grid; line-height: 1.2; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; color: #fff; }
.brand__tag { font-size: .74rem; color: var(--gold); margin-top: 2px; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li > a {
  display: block; padding: 8px 13px; border-radius: 999px;
  font-weight: 500; font-size: .97rem; color: rgba(255, 255, 255, .8); white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.nav__list > li > a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.nav__list > li > a[aria-current] { color: var(--gold); }

/* Services dropdown */
.has-sub { position: relative; display: flex; align-items: center; }
.nav__list > .has-sub > a { padding-inline-end: 4px; }
.sub-toggle {
  width: 26px; height: 32px; display: grid; place-items: center;
  background: transparent; border: 0; color: rgba(255, 255, 255, .7); border-radius: 8px;
}
.sub-toggle .icon { width: 16px; height: 16px; transition: rotate .2s; }
.has-sub.is-open .sub-toggle .icon { rotate: 180deg; }
.subnav {
  position: absolute; top: calc(100% + 10px); inset-inline-start: 0; z-index: 5;
  min-width: 280px; padding: 8px;
  background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility .2s;
}
.subnav::before { content: ""; position: absolute; inset-inline: 0; top: -12px; height: 12px; } /* hover bridge */
.has-sub:hover .subnav, .has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px;
  font-weight: 600; font-size: .95rem; color: var(--ink); transition: background-color .2s;
}
.subnav a:hover { background: var(--gypsum); }
.subnav a[aria-current] { color: var(--gold-deep); background: var(--gypsum); }
.subnav .icon { width: 20px; height: 20px; color: var(--gold-deep); }

.header__actions { display: flex; align-items: center; gap: 10px; }

.ejar-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(117, 186, 251, .35);
  color: var(--sky); font-size: .82rem; font-weight: 600; white-space: nowrap;
  transition: background-color .2s;
}
.ejar-chip:hover { background: rgba(117, 186, 251, .1); }

.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  height: 44px; padding: 0 14px; border-radius: 999px;
  background: transparent; border: 1px solid rgba(255, 255, 255, .24); color: #fff;
  font-weight: 600; font-size: .95rem;
  transition: border-color .2s, background-color .2s;
}
.lang-btn:hover { border-color: var(--sky); background: rgba(255, 255, 255, .06); }
.lang-btn__label { font-family: var(--font-body); }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 12px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid rgba(255, 255, 255, .24); color: #fff;
}
.burger .icon { width: 22px; height: 22px; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  background: var(--ink); color: #fff;
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 64px));
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 65% at 22% 42%, rgba(27, 75, 114, .95), transparent 72%),
    radial-gradient(40% 50% at 95% 0%, rgba(117, 186, 251, .10), transparent 70%),
    linear-gradient(180deg, #0E2A47 0%, #0A2240 100%);
}
[dir="ltr"] .hero::before {
  background:
    radial-gradient(55% 65% at 78% 42%, rgba(27, 75, 114, .95), transparent 72%),
    radial-gradient(40% 50% at 5% 0%, rgba(117, 186, 251, .10), transparent 70%),
    linear-gradient(180deg, #0E2A47 0%, #0A2240 100%);
}
.hero::after {
  /* blueprint paper grid */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(117, 186, 251, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 186, 251, .07) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 64px); align-items: center;
}

.hero__title {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.4vw, 4.4rem);
  line-height: 1.22;
}
.hero__title .gold {
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, #C4955A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .08em;
}
.hero__lead {
  margin-top: 22px; max-width: 44ch;
  font-size: clamp(1.05rem, 1.35vw, 1.18rem);
  color: rgba(255, 255, 255, .78);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px;
  font-size: .92rem; color: rgba(255, 255, 255, .74);
}
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .icon { color: var(--sky); width: 18px; height: 18px; }

/* Blueprint signature */
.hero__art { position: relative; }
.blueprint { width: 100%; height: auto; overflow: visible; }

.bp-grid line { stroke: var(--sky); stroke-opacity: .22; stroke-width: 1; stroke-dasharray: 3 7; }
.bp-bubbles circle { fill: none; stroke: var(--sky); stroke-opacity: .55; stroke-width: 1; }
.bp-bubbles path { fill: none; stroke: var(--sky); stroke-opacity: .55; stroke-width: 1; }
.bp-bubbles text { fill: var(--sky); fill-opacity: .8; font: 600 12px var(--font-body); text-anchor: middle; direction: ltr; }
.bp-bubbles .bp-level { font-size: 11px; }

.bp-line {
  fill: none; stroke: var(--sky); stroke-width: .7; stroke-linejoin: round; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: bp-draw 1.5s var(--ease) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
.bp-thin { stroke-width: .45; stroke-opacity: .7; }
.bp-grid, .bp-bubbles { opacity: 0; animation: bp-fade .9s ease .1s forwards; }
.bp-blue { animation: bp-dim 1.2s ease 2.5s forwards; }
.bp-gold { opacity: 0; animation: bp-fade 1.3s ease 1.8s forwards; filter: drop-shadow(0 14px 34px rgba(219, 177, 120, .22)); }

@keyframes bp-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-fade { to { opacity: 1; } }
@keyframes bp-dim { to { opacity: .32; } }

.titleblock {
  /* drawing title block: bottom-right corner of the sheet, as on a real drawing */
  position: absolute; right: 0; bottom: 0;
  display: grid; min-width: 44%;
  border: 1px solid rgba(117, 186, 251, .45);
  background: rgba(8, 27, 47, .72);
  font-size: .78rem; line-height: 1.5;
  opacity: 0; animation: bp-fade .8s ease 2.4s forwards;
}
@supports (backdrop-filter: blur(1px)) { .titleblock { backdrop-filter: blur(6px); } }
.titleblock > div {
  display: grid; grid-template-columns: 70px 1fr; align-items: center;
}
.titleblock > div + div { border-top: 1px solid rgba(117, 186, 251, .3); }
.titleblock span {
  padding: 5px 10px; color: var(--sky);
  border-inline-end: 1px solid rgba(117, 186, 251, .3);
}
.titleblock strong { padding: 5px 12px; font-weight: 600; color: #fff; white-space: nowrap; }

/* Quick request */
.quick {
  position: relative; z-index: 3;
  margin-top: clamp(36px, 5vw, 64px);
  margin-bottom: calc(-1 * var(--quick-overlap));
  display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)) auto;
  gap: 14px 16px; align-items: end;
  padding: 20px 22px 16px;
  background: var(--paper); color: var(--charcoal);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-2);
}
.quick__title {
  display: flex; align-items: center; gap: 12px; align-self: center;
  padding-inline-end: 18px; border-inline-end: 1px solid var(--line);
}
.quick__title .icon { width: 30px; height: 30px; color: var(--wa-deep); }
.quick__heading { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1.3; }
.quick__sub { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.quick__submit { min-height: 50px; }
.quick__alt {
  grid-column: 1 / -1; justify-self: end;
  font-size: .88rem; color: var(--steel); font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(27, 75, 114, .35);
}
.quick__alt:hover { text-decoration-color: currentColor; }

/* ---------- Form fields ---------- */
.field { display: grid; gap: 6px; align-content: start; }
.field__label { font-size: .88rem; font-weight: 600; color: var(--ink); }
.control {
  width: 100%; min-height: 50px; padding: 11px 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #fff;
  font-size: 1rem; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.control:hover { border-color: #C3CEDA; }
.control:focus { outline: none; border-color: var(--steel); box-shadow: 0 0 0 4px rgba(117, 186, 251, .28); }
.control::placeholder { color: #8A96A3; }
.control--ltr { text-align: left; }
[dir="rtl"] .control--ltr::placeholder { text-align: right; }
select.control {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B4B72' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-size: 18px;
  background-position: left 14px center;
}
[dir="ltr"] select.control { background-position: right 14px center; }
textarea.control { min-height: 140px; resize: vertical; }

.field__error { display: none; font-size: .86rem; color: var(--danger); line-height: 1.5; }
.field.is-invalid .control { border-color: var(--danger); }
.field.is-invalid .control:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .15); }
.field.is-invalid .field__error { display: block; }

.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- About ---------- */
.about { padding-top: calc(var(--section-y) + var(--quick-overlap)); }
.about__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 7vw, 104px); align-items: center;
}
.about__p { margin-top: 18px; color: #3A4552; }
.about__p:first-of-type { margin-top: 22px; }

.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.values li {
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--gypsum);
  font-size: .9rem; font-weight: 600; color: var(--ink);
}

.leader {
  display: flex; align-items: center; gap: 16px;
  margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line);
}
.leader__badge { width: 76px; flex: none; }
.leader__badge img { width: 100%; height: auto; }
.leader__label { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.leader__name { font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.45; }
.leader__role { font-size: .9rem; color: var(--gold-deep); font-weight: 600; line-height: 1.4; }

.about__media { position: relative; padding-bottom: 32px; }
.about__photo {
  border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5;
  background: var(--gypsum); box-shadow: var(--shadow-1);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

.plaque {
  position: absolute; inset-inline-start: -36px; bottom: 0;
  width: min(310px, 86%);
  padding: 10px 20px;
  background: var(--ink); color: #fff;
  border-radius: 16px; border: 1px solid rgba(219, 177, 120, .35);
  box-shadow: var(--shadow-2);
}
.plaque > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0;
}
.plaque > div + div { border-top: 1px solid rgba(255, 255, 255, .09); }
.plaque dt { font-size: .82rem; color: rgba(255, 255, 255, .62); }
.plaque dd { font-weight: 600; color: var(--gold); font-size: .95rem; text-align: end; }

/* ---------- Services ---------- */
.lifecycle {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.lifecycle::before {
  /* the thread that ties the three stages together; shows in the gutters */
  content: ""; position: absolute; top: 58px; inset-inline: 40px; height: 0;
  border-top: 2px dashed rgba(140, 106, 51, .45);
}
.svc {
  position: relative;
  display: flex; flex-direction: column; gap: 16px;
  padding: 30px 28px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .3s, transform .3s var(--ease), border-color .3s;
}
.svc:hover { box-shadow: var(--shadow-1); transform: translateY(-3px); border-color: #CFD8E2; }
.svc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--gold);
}
.svc__icon .icon { width: 28px; height: 28px; stroke-width: 1.5; }
.svc__step { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--gold-deep); word-spacing: .25em; }
.svc__title { font-size: 1.45rem; color: var(--ink); }
.svc__desc { color: var(--muted); }

.ticks li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 8px 0; border-top: 1px dashed var(--line);
  font-size: .97rem; line-height: 1.6;
}
.ticks .icon { width: 18px; height: 18px; margin-top: .2em; color: var(--gold-deep); stroke-width: 2.2; }

.svc__title a { color: inherit; }
.svc__title a:hover { color: var(--steel); }
.svc__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__wa {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: #E3F6EA; color: var(--wa-deep); transition: background-color .2s, color .2s;
}
.svc__wa:hover { background: var(--wa-deep); color: #fff; }
.svc__wa .icon { width: 20px; height: 20px; }
.svc__cta {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 600; color: var(--ink);
}
.svc__cta .icon { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.svc__cta:hover { color: var(--steel); }
.svc__cta:hover .icon { translate: 4px 0; }
[dir="rtl"] .svc__cta:hover .icon { translate: -4px 0; }

/* ---------- Ejar ---------- */
.ejar {
  position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(135deg, var(--steel) 0%, var(--ink) 65%);
  color: #fff;
}
.ejar::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(117, 186, 251, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 186, 251, .06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.ejar__grid {
  display: grid; grid-template-columns: 1.25fr .75fr;
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.ejar .section-title { color: #fff; }
.ejar__lead { margin-top: 18px; max-width: 58ch; font-size: 1.08rem; color: rgba(255, 255, 255, .78); }
.ejar__points { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; margin-top: 40px; }
.ejar__points li { display: flex; gap: 14px; align-items: flex-start; }
.ejar__points .icon {
  width: 46px; height: 46px; padding: 11px; border-radius: 12px;
  background: rgba(117, 186, 251, .12); color: var(--sky);
}
.ejar__points strong { display: block; font-weight: 600; font-size: 1.04rem; line-height: 1.5; }
.ejar__points span { display: block; margin-top: 4px; font-size: .94rem; line-height: 1.7; color: rgba(255, 255, 255, .7); }

.cert {
  position: relative; text-align: center;
  padding: 40px 32px 32px;
  background: linear-gradient(180deg, #fff, #F5F7FA);
  color: var(--charcoal);
  border-radius: 24px; box-shadow: var(--shadow-2);
}
.cert::before {
  /* certificate border */
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1px solid rgba(174, 133, 67, .45); border-radius: 16px;
}
.cert__seal {
  width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, var(--gold-hi), var(--gold) 55%, #B58B4B);
  color: var(--ink);
  box-shadow: 0 0 0 7px rgba(219, 177, 120, .18), 0 10px 24px rgba(174, 133, 67, .3);
}
.cert__seal .icon { width: 42px; height: 42px; stroke-width: 1.6; }
.cert__kicker { font-size: .88rem; font-weight: 600; color: var(--muted); }
.cert__title { margin-top: 4px; font-size: 1.6rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cert__meta { margin-top: 10px; font-size: .9rem; color: var(--muted); }
.cert__no { font-weight: 700; color: var(--ink); letter-spacing: .04em; }
.cert .btn { margin-top: 26px; }
.cert__link {
  position: relative; display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: .92rem; font-weight: 600; color: var(--steel);
}
.cert__link .icon { width: 16px; height: 16px; }
.cert__link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Office gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  position: relative; display: block; width: 100%;
  aspect-ratio: 4 / 5; overflow: hidden;
  padding: 0; border: 0; border-radius: 18px;
  background: var(--gypsum); cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item::after {
  content: ""; position: absolute; inset: auto 0 0; height: 45%;
  background: linear-gradient(0deg, rgba(8, 27, 47, .72), transparent);
  pointer-events: none;
}
.gallery__cap {
  position: absolute; z-index: 1; inset-inline: 18px; bottom: 14px;
  color: #fff; font-weight: 600; font-size: .98rem; text-align: start;
}

/* ---------- Contact ---------- */
.contact__grid {
  display: grid; grid-template-columns: 1.3fr .7fr;
  gap: clamp(24px, 4vw, 48px); align-items: start;
}
.form-card {
  padding: clamp(22px, 3.5vw, 40px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field--full { grid-column: 1 / -1; }

.form-status {
  display: grid; gap: 12px; margin-top: 20px; padding: 14px 16px;
  border-radius: 12px; font-size: .95rem; line-height: 1.6;
  background: var(--danger-bg); color: #912018; border: 1px solid #FECDCA;
}
.form-status[hidden] { display: none; }
.form-status .btn { justify-self: start; min-height: 42px; }

.form__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 24px;
}
.form__privacy { max-width: 42ch; font-size: .86rem; color: var(--muted); line-height: 1.6; }
.form__submit { min-width: 170px; }

.spinner {
  display: none; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff;
  animation: spin .8s linear infinite;
}
.form__submit[aria-busy="true"] { pointer-events: none; opacity: .85; }
.form__submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-success { text-align: center; padding: 32px 8px; }
.form-success[hidden] { display: none; }
.form-success:focus { outline: none; }
.form-success__icon {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; background: #E6F4EC; color: var(--success);
}
.form-success__icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.form-success h3 { font-size: 1.6rem; color: var(--ink); }
.form-success p { margin-top: 8px; color: var(--muted); }
.form-success .btn { margin-top: 24px; }

.channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.channel:hover { border-color: var(--steel); box-shadow: var(--shadow-1); }
.channel__icon {
  width: 46px; height: 46px; flex: none; border-radius: 12px;
  display: grid; place-items: center; background: var(--gypsum); color: var(--ink);
}
.channel__icon .icon { width: 22px; height: 22px; }
.channel--wa .channel__icon { background: #E3F6EA; color: var(--wa-deep); }
.channel__label { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.channel__value { display: block; font-weight: 600; color: var(--ink); line-height: 1.5; word-break: break-all; text-align: start; }
[dir="rtl"] .channel__value { text-align: right; }

.locs { display: grid; gap: 12px; margin-top: 20px; }
.loc { padding: 20px 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.loc--alt { background: #fff; color: var(--charcoal); border: 1px solid var(--line); }
.loc__tag { font-size: .8rem; font-weight: 600; color: var(--gold); }
.loc--alt .loc__tag { color: var(--gold-deep); }
.loc__city { margin-top: 2px; font-size: 1.35rem; }
.loc--alt .loc__city { color: var(--ink); }
.loc__text { margin-top: 2px; font-size: .92rem; line-height: 1.6; opacity: .78; }
.loc__map { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .9rem; font-weight: 600; color: var(--sky); }
.loc--alt .loc__map { color: var(--steel); }
.loc__map[hidden] { display: none; }
.loc__map .icon { width: 16px; height: 16px; }
.locs__note {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  border-radius: 14px; background: #fff; border: 1px dashed #C9D3DE;
  font-size: .92rem; font-weight: 600; color: var(--ink);
}
.locs__note .icon { width: 20px; height: 20px; color: var(--gold-deep); }

.map-card {
  margin-top: clamp(32px, 4vw, 48px); overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-1);
}
.map-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; }
.map-card__head .loc__tag { color: var(--gold-deep); }
.map-card__title { margin-top: 2px; font-size: 1.35rem; color: var(--ink); }
.map-card__text { margin-top: 2px; font-size: .95rem; color: var(--muted); }
.map-card__frame { display: block; width: 100%; height: clamp(300px, 38vw, 440px); border: 0; border-top: 1px solid var(--line); }

.socials { margin-top: 22px; }
.socials[hidden] { display: none; }
.socials__title { font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.socials__list { display: flex; flex-wrap: wrap; gap: 8px; }
.socials__list a {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  transition: background-color .2s, color .2s, border-color .2s;
}
.socials__list a:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.socials__list .icon { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-900); color: rgba(255, 255, 255, .7); font-size: .95rem; padding-top: 72px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1.3fr; gap: 40px; }
.footer__about { margin-top: 18px; max-width: 34ch; line-height: 1.8; }
.footer__title { font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 14px; }
.footer__col li { padding: 4px 0; }
.footer a { transition: color .2s; }
.footer__col a:hover, .footer__contact a:hover { color: var(--gold); }

.footer__social { margin-top: 20px; }
.footer__social a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: #fff; }
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.footer__creds > div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.footer__creds > div[hidden] { display: none; }
.footer__creds dd { color: var(--gold); font-weight: 600; }
.footer__contact { margin-top: 16px; display: grid; gap: 8px; }
.footer__contact a { display: inline-flex; align-items: center; gap: 8px; }
.footer__contact .icon { width: 16px; height: 16px; color: var(--sky); }

.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 56px; padding-block: 22px 26px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  font-size: .86rem; color: rgba(255, 255, 255, .55);
}

/* ---------- Floating actions ---------- */
.wa-float {
  position: fixed; z-index: 40; inset-inline-end: 20px; bottom: max(20px, env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .38), 0 2px 6px rgba(0, 0, 0, .15);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 16px 36px rgba(37, 211, 102, .45), 0 2px 6px rgba(0, 0, 0, .15); }
.wa-float .icon { width: 30px; height: 30px; }

.to-top {
  position: fixed; z-index: 40; inset-inline-end: 28px; bottom: calc(max(20px, env(safe-area-inset-bottom)) + 74px);
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent;
  overflow: hidden;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 27, 47, .9); }
.lightbox__figure { display: grid; justify-items: center; gap: 12px; padding: 64px 72px; max-width: 100%; }
.lightbox__img { max-width: min(92vw, 900px); max-height: calc(100vh - 180px); width: auto; border-radius: 12px; box-shadow: var(--shadow-2); }
.lightbox__cap { color: #fff; font-weight: 600; }
.lb-btn {
  position: fixed; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255, 255, 255, .2); }
.lb-close { top: 16px; inset-inline-end: 16px; }
.lb-prev { top: 50%; inset-inline-start: 16px; translate: 0 -50%; }
.lb-next { top: 50%; inset-inline-end: 16px; translate: 0 -50%; }

/* ---------- Reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.lifecycle > [data-reveal]:nth-child(2) { transition-delay: .08s; }
.lifecycle > [data-reveal]:nth-child(3) { transition-delay: .16s; }

/* ---------- Shared bits ---------- */
.section-head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
}
.section-head--row > div { max-width: 680px; }
.section-head--row .btn { flex: none; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 26px;
  font-weight: 600; color: var(--ink);
}
.text-link .icon { width: 18px; height: 18px; transition: translate .25s var(--ease); }
.text-link:hover { color: var(--steel); }
.text-link:hover .icon { translate: 4px 0; }
[dir="rtl"] .text-link:hover .icon { translate: -4px 0; }
.text-link--sky { color: var(--sky); }
.text-link--sky:hover { color: #fff; }

/* ---------- Inner page header ---------- */
.page-hero {
  position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(180deg, #0E2A47 0%, #0A2240 100%); color: #fff;
  padding-top: calc(var(--header-h) + clamp(28px, 5vw, 56px));
  padding-bottom: clamp(48px, 7vw, 88px);
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(117, 186, 251, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 186, 251, .07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero__grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.page-hero__title { margin-top: 14px; font-size: clamp(2.1rem, 4.2vw, 3.3rem); line-height: 1.25; }
.page-hero__lead { margin-top: 18px; max-width: 56ch; font-size: clamp(1.05rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .78); }
.page-hero .hero__ctas { margin-top: 28px; }
.page-hero__art svg { width: 100%; height: auto; }
.page-hero--full { min-height: 78vh; display: grid; align-items: center; }

.crumbs { margin-bottom: 18px; font-size: .88rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { display: flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; color: rgba(117, 186, 251, .5); }
.crumbs a { color: var(--sky); }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; gap: 20px; }
.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature-grid--4 { grid-template-columns: repeat(4, 1fr); }
.feature {
  padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .3s, border-color .3s;
}
.feature:hover { box-shadow: var(--shadow-1); border-color: #CFD8E2; }
.feature__icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 18px;
  display: grid; place-items: center; background: var(--ink); color: var(--gold);
}
.feature__icon .icon { width: 26px; height: 26px; stroke-width: 1.5; }
.feature__title { font-size: 1.2rem; color: var(--ink); }
.feature__text { margin-top: 8px; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.feature--list .ticks { margin-top: 12px; }

/* ---------- Mission ---------- */
.mission {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 72px);
  margin-bottom: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
}
.mission__text { margin-top: 16px; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.6; color: var(--ink); font-weight: 600; }
.mission__text--sm { font-size: 1.1rem; font-weight: 400; line-height: 1.9; color: #3A4552; }

/* ---------- Split: heading beside a list ---------- */
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split .section-head { margin-bottom: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.goals li { display: grid; gap: 4px; padding: 22px 0; border-top: 1px solid var(--line); }
.goals li:last-child { border-bottom: 1px solid var(--line); }
.goals strong { font-size: 1.15rem; color: var(--ink); font-weight: 700; }
.goals span { color: var(--muted); }

/* ---------- Leadership & credentials ---------- */
.leadership { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.leader-card { padding: 36px 32px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); }
.leader-card .eyebrow { color: var(--gold); }
.leader-card__badge { display: block; width: 104px; margin-bottom: 22px; }
.leader-card__badge img { width: 100%; height: auto; }
.leader-card__name { margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.leader-card__role { color: var(--gold); font-weight: 600; margin-top: 2px; }
.leader-card__text { margin-top: 18px; color: rgba(255, 255, 255, .75); }

.creds { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.creds__list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.creds__list li { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: var(--gypsum); }
.creds__list li[hidden] { display: none; }
.creds__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold); }
.creds__icon .icon { width: 22px; height: 22px; }
.creds__label { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
.creds strong { display: block; color: var(--ink); font-weight: 700; line-height: 1.5; }

/* ---------- Process steps (a real sequence, so they're numbered) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps--5 { grid-template-columns: repeat(5, 1fr); }
.steps::before {
  content: ""; position: absolute; top: 24px; inset-inline: 24px; height: 0;
  border-top: 2px dashed rgba(140, 106, 51, .4);
}
.step { position: relative; }
.step__num {
  position: relative; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--gold); font-family: var(--font-display); font-weight: 700; font-size: 1.2rem;
  box-shadow: 0 0 0 6px var(--paper);
}
.section--gypsum .step__num { box-shadow: 0 0 0 6px var(--gypsum); }
.step__title { margin-top: 18px; font-size: 1.12rem; color: var(--ink); }
.step__text { margin-top: 6px; color: var(--muted); font-size: .96rem; line-height: 1.7; }

/* ---------- Related / next stage ---------- */
.related { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.related__card {
  display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-content: start;
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: box-shadow .3s, border-color .3s, transform .3s var(--ease);
}
.related__card:hover { box-shadow: var(--shadow-1); border-color: #CFD8E2; transform: translateY(-2px); }
.related__card .svc__icon { grid-row: span 3; }
.related__step { font-family: var(--font-display); font-weight: 600; color: var(--gold-deep); font-size: .92rem; word-spacing: .25em; }
.related__title { font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.5; }
.related__text { color: var(--muted); font-size: .96rem; margin-top: 4px; }

/* ---------- Brokerage ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.audience__card { padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.audience__card .ticks { margin-top: 14px; }
.audience__card .text-link { margin-top: 18px; }

.types { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.types li {
  display: grid; justify-items: center; gap: 12px; padding: 26px 12px; text-align: center;
  background: var(--gypsum); border-radius: 18px; font-weight: 600; color: var(--ink);
}
.types .icon { width: 34px; height: 34px; color: var(--gold-deep); stroke-width: 1.4; }

.note {
  display: flex; gap: 16px; align-items: flex-start; margin-top: 32px; padding: 22px 24px;
  border: 1px solid rgba(174, 133, 67, .4); border-radius: 18px; background: #FBF7F0;
}
.note__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); }
.note__icon .icon { width: 22px; height: 22px; }
.note__title { font-weight: 700; color: var(--ink); }
.note__text { margin-top: 4px; color: #4A4538; font-size: .96rem; }

/* ---------- Ejar page ---------- */
.ejar-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefits__col { padding: 28px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); border: 1px solid rgba(117, 186, 251, .18); }
.benefits__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; }
.benefits__title .icon { color: var(--gold); width: 24px; height: 24px; }
.ejar__points--single { grid-template-columns: 1fr; margin-top: 22px; gap: 20px; }

.docs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.docs__col { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.docs__title { font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }

.faq-wrap .faq, .faq-wrap .section-head { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 16px; transition: border-color .2s; }
.faq__item[open] { border-color: #C3CEDA; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600; color: var(--ink); font-size: 1.04rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; color: var(--gold-deep); transition: rotate .2s; }
.faq__item[open] summary .icon { rotate: 180deg; }
.faq__item p { padding: 0 22px 20px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: clip;
  background: linear-gradient(135deg, var(--steel), var(--ink) 70%); color: #fff;
  padding-block: clamp(56px, 7vw, 88px);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(117, 186, 251, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 186, 251, .06) 1px, transparent 1px);
  background-size: 32px 32px;
}
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; flex-wrap: wrap; }
.cta-band__copy { max-width: 600px; }
.cta-band__title { margin-top: 12px; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta-band__text { margin-top: 12px; color: rgba(255, 255, 255, .78); }
.cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: rgba(255, 255, 255, .85); padding-inline: 6px; }
.cta-band__phone .icon { color: var(--sky); width: 18px; height: 18px; }
.cta-band__phone:hover { color: #fff; }

.gallery--teaser { grid-template-columns: repeat(3, 1fr); }

/* ---------- Licenses & accreditation (REGA · Ministry of Commerce · Ejar) ---------- */
.accredit {
  display: grid; grid-template-columns: .8fr 2.2fr; gap: 24px 40px; align-items: center;
  margin-top: clamp(56px, 7vw, 96px); padding: 28px;
  background: linear-gradient(180deg, #fff, #FAFBFC);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.accredit__title { margin-top: 10px; font-size: 1.3rem; line-height: 1.5; color: var(--ink); }
.accredit__note, .creds__note { margin-top: 8px; font-size: .88rem; line-height: 1.6; color: var(--muted); }
.accredit__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.accredit__item {
  display: grid; justify-items: center; align-content: start; gap: 4px; text-align: center;
  padding: 20px 14px 18px; background: #fff; border: 1px solid var(--line); border-radius: 16px;
}
.accredit__item[hidden], .footer__accredit li[hidden] { display: none; }
.accredit__logo { --logo-h: 56px; height: var(--logo-h); margin-bottom: 10px; display: grid; place-items: center; }
.accredit__logo img { height: var(--logo-h); width: auto; max-width: 100%; object-fit: contain; }
.accredit__label { font-size: .84rem; line-height: 1.5; color: var(--muted); }
.accredit__no { font-size: 1.08rem; font-weight: 700; letter-spacing: .03em; color: var(--ink); }

.accredit__list--stack { grid-template-columns: 1fr; gap: 12px; margin-top: 18px; }
.accredit__list--stack .accredit__item {
  grid-template-columns: 112px 1fr; justify-items: start; align-items: center; text-align: start;
  column-gap: 16px; row-gap: 0; padding: 14px 16px; background: var(--gypsum); border: 0;
}
.accredit__list--stack .accredit__logo { --logo-h: 46px; grid-row: span 2; justify-self: center; margin: 0; }

.footer__accredit { display: grid; gap: 10px; }
.footer__accredit li { display: flex; align-items: center; gap: 12px; }
.footer__logo {
  flex: none; width: 92px; height: 44px; padding: 6px 10px; border-radius: 10px;
  display: grid; place-items: center; background: #fff;
}
.footer__logo img { max-width: 72px; max-height: 32px; width: auto; height: auto; }
.footer__acc-label { display: block; font-size: .8rem; line-height: 1.4; color: rgba(255, 255, 255, .6); }
.footer__accredit bdi { display: block; color: var(--gold); font-weight: 600; line-height: 1.4; }

.cert__logo { display: block; height: 78px; width: auto; margin: 0 auto 16px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1260px) {
  .ejar-chip { display: none; }
}

@media (max-width: 1100px) {
  .burger { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    padding: 8px var(--gutter) 20px;
    background: rgba(8, 27, 47, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__list > li > a { padding: 14px 12px; border-radius: 10px; font-size: 1.05rem; }
  .has-sub { flex-wrap: wrap; }
  .has-sub > a { flex: 1; }
  .sub-toggle { display: none; }
  .subnav {
    position: static; width: 100%; min-width: 0; padding: 0 0 6px; margin-inline-start: 14px;
    background: transparent; box-shadow: none; border-radius: 0;
    border-inline-start: 1px solid rgba(117, 186, 251, .25);
    opacity: 1; visibility: visible; transform: none;
  }
  .subnav::before { display: none; }
  .subnav a { color: rgba(255, 255, 255, .78); font-weight: 500; }
  .subnav a:hover, .subnav a[aria-current] { background: rgba(255, 255, 255, .06); color: var(--gold); }
  .subnav .icon { color: var(--sky); }
  .header__actions { margin-inline-start: auto; }
}

@media (max-width: 1080px) {
  .quick { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .quick__title { grid-column: 1 / -1; border-inline-end: 0; padding-inline-end: 0; }
  .quick__submit { grid-column: 1 / -1; }
  .quick__alt { justify-self: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .feature-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--5 { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .steps--5::before { display: none; }
  .types { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { text-align: start; }
  .hero__art { max-width: 560px; width: 100%; margin-inline: auto; }

  .about__grid, .ejar__grid, .contact__grid, .ejar-intro, .mission, .leadership, .split, .accredit { grid-template-columns: 1fr; }
  .split .section-head { position: static; }
  .about__media { max-width: 520px; }
  .plaque { inset-inline-start: auto; inset-inline-end: -12px; }

  .lifecycle { grid-template-columns: 1fr; gap: 20px; max-width: 680px; }
  .lifecycle::before { display: none; }

  .cert { max-width: 480px; }
  .page-hero__grid { grid-template-columns: 1fr; }
  .page-hero__art { display: none; }
  .feature-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
  .steps::before { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; --quick-overlap: 40px; }
  body { font-size: 1rem; }
  .brand__mark { height: 46px; }
  .brand__name { font-size: 1.15rem; }
  .brand__tag { font-size: .68rem; }
  .btn--wa { width: 44px; padding: 0; }
  .btn--wa span { display: none; }
  .lang-btn { padding: 0 12px; }
  .lang-btn .icon { display: none; }

  .hero__ctas .btn { flex: 1 1 auto; }
  .titleblock { position: relative; inset: auto; width: auto; min-width: 0; margin-top: -8%; }

  .quick { grid-template-columns: 1fr; padding: 18px; }

  .form__grid { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }

  .ejar__points { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery--teaser { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gallery--teaser .gallery__cap { display: none; }
  .gallery__item { border-radius: 14px; }
  .gallery__cap { font-size: .85rem; inset-inline: 12px; bottom: 10px; }

  .plaque { position: relative; inset: auto; width: auto; margin: -40px 14px 0; }
  .about__media { padding-bottom: 0; }

  .section-head--row { flex-direction: column; align-items: flex-start; }
  .feature-grid--2, .feature-grid--3, .feature-grid--4, .related, .audience, .benefits, .docs, .creds__list { grid-template-columns: 1fr; }
  .steps, .steps--5 { grid-template-columns: 1fr; row-gap: 22px; }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; }
  .step__num { grid-row: span 2; }
  .step__title { margin-top: 8px; }
  .types { grid-template-columns: repeat(2, 1fr); }
  .types li:last-child { grid-column: 1 / -1; }
  .accredit { padding: 20px 16px; }
  .accredit__list { grid-template-columns: 1fr; gap: 10px; }
  .accredit__list .accredit__item {
    grid-template-columns: 96px 1fr; justify-items: start; align-items: center; text-align: start;
    column-gap: 14px; row-gap: 0; padding: 12px 14px; background: var(--gypsum); border: 0;
  }
  .accredit__list .accredit__logo { --logo-h: 42px; grid-row: span 2; justify-self: center; margin: 0; }
  .cta-band__actions .btn { flex: 1 1 auto; }

  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .lightbox__figure { padding: 72px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
}

@media (max-width: 380px) {
  .brand__tag { display: none; }
  .hero__title { font-size: 2.2rem; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .bp-line { stroke-dashoffset: 0; }
}

/* ---------- Print ---------- */
@media print {
  .header, .wa-float, .to-top, .quick, .hero__art, .page-hero__art, .form-card, .cta-band { display: none !important; }
  .page-hero { background: none; color: #000; padding-top: 0; }
  .hero { background: none; color: #000; padding-top: 0; }
  .section { padding-block: 24px; }
}
