/* ==========================================================================
   نوافذ الإعمار — Design system
   Palette and typography are fixed by the brand identity (#051E39 / #D49836).
   Layout is built on CSS logical properties so the same stylesheet serves
   Arabic (RTL, default) and English (LTR) without a mirrored copy.
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #03142a;
  --navy: #051e39;
  --navy-700: #0a2b4c;
  --navy-500: #16456f;
  --navy-200: #93a8bd;
  --gold: #d49836;
  --gold-700: #a9741f;
  --gold-100: #f6ead4;

  /* Neutrals */
  --paper: #ffffff;
  --paper-2: #f4f6f9;
  --paper-3: #e9edf2;
  --line: #dbe2ea;
  --ink: #0b1c2e;
  --muted: #57697c;

  /* Type */
  --font: "IBM Plex Sans Arabic", "IBM Plex Sans", "Segoe UI", Tahoma, Arial, sans-serif;
  --fs-hero: clamp(2rem, 1.1rem + 3.6vw, 3.9rem);
  --fs-h2: clamp(1.55rem, 1.1rem + 1.7vw, 2.5rem);
  --fs-h3: clamp(1.1rem, 0.98rem + 0.5vw, 1.32rem);
  --fs-lead: clamp(1.02rem, 0.95rem + 0.4vw, 1.2rem);
  --fs-body: 1rem;
  --fs-sm: 0.895rem;
  --fs-xs: 0.8rem;

  /* Space */
  --sec-y: clamp(60px, 7vw, 108px);
  --gutter: clamp(18px, 4vw, 40px);
  --wrap: 1220px;

  --ring: 0 0 0 3px rgba(212, 152, 54, 0.45);
}

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

html { -webkit-text-size-adjust: 100%; }

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0;
  line-height: 1.24;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

p { margin: 0; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 3px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  inset-block-start: -60px;
  inset-inline-start: 12px;
  z-index: 200;
  background: var(--gold);
  color: var(--navy);
  padding: 10px 18px;
  font-weight: 600;
  transition: inset-block-start 0.18s;
}
.skip:focus { inset-block-start: 12px; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  font: inherit;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: #e2a744; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.4); color: #fff; background: transparent; }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-700); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ----------------------------------------------------------------- header */

.topbar {
  background: var(--navy-900);
  color: var(--navy-200);
  font-size: var(--fs-xs);
  border-block-end: 1px solid rgba(212, 152, 54, 0.22);
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--gold); }
.topbar svg { width: 14px; height: 14px; flex: none; color: var(--gold); }

.langswitch { display: inline-flex; align-items: center; gap: 2px; }
.langswitch a {
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.langswitch a[aria-current="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }

.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: var(--navy);
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 46px; width: auto; }
.brand__txt { display: none; color: #fff; line-height: 1.2; }
.brand__txt b { display: block; font-size: 0.98rem; font-weight: 700; }
.brand__txt span { font-size: 0.72rem; color: var(--navy-200); }
@media (min-width: 1180px) { .brand__txt { display: block; } }

.nav { display: none; }
@media (min-width: 1024px) {
  .nav { display: flex; align-items: center; gap: 2px; }
}
.nav a {
  position: relative;
  padding: 10px 11px;
  font-size: 0.84rem;
  white-space: nowrap;
  font-weight: 500;
  color: #e6ecf3;
  text-decoration: none;
  transition: color 0.16s;
}
.nav a:hover { color: var(--gold); }
.nav a[aria-current="page"] { color: var(--gold); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  inset-block-end: -1px;
  inset-inline: 11px;
  height: 2px;
  background: var(--gold);
}

.header-cta { display: none; }
@media (min-width: 1240px) { .header-cta { display: inline-flex; } }

.burger {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font: inherit;
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 9px 14px;
  cursor: pointer;
  border-radius: 2px;
}
@media (min-width: 1024px) { .burger { display: none; } }
.burger__bars { display: grid; gap: 4px; }
.burger__bars i { display: block; width: 18px; height: 2px; background: var(--gold); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--navy);
  padding: 22px var(--gutter) 40px;
  overflow-y: auto;
  display: none;
}
.drawer[data-open="true"] { display: block; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-block-end: 26px; }
.drawer__close {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  padding: 10px 15px;
  cursor: pointer;
}
.drawer nav { display: grid; }
.drawer nav a {
  padding: 15px 2px;
  color: #fff;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  border-block-end: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer nav a[aria-current="page"] { color: var(--gold); }
.drawer__foot { margin-block-start: 28px; display: grid; gap: 12px; }
.drawer__foot a.btn { justify-content: center; }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.9;
}
.hero__in {
  padding-block: clamp(60px, 8vw, 116px) clamp(60px, 8vw, 112px);
  max-width: 830px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold);
  margin-block-end: 22px;
}
.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-hero);
  font-weight: 700;
  line-height: 1.2;
  max-width: 17ch;
  text-wrap: balance;
}
.hero__lead {
  margin-block-start: 24px;
  font-size: var(--fs-lead);
  color: #cfdae6;
  max-width: 62ch;
  line-height: 1.85;
}
.hero__cta { margin-block-start: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero__strip {
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(3, 20, 42, 0.55);
}
.hero__strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .hero__strip ul { grid-template-columns: repeat(4, 1fr); } }
.hero__strip li {
  padding: 20px 4px;
  font-size: var(--fs-sm);
  color: #dfe7ef;
  display: flex;
  align-items: center;
  gap: 11px;
  border-block-end: 1px solid rgba(255, 255, 255, 0.08);
}
@media (min-width: 700px) {
  .hero__strip li { border-block-end: 0; border-inline-start: 1px solid rgba(255, 255, 255, 0.1); padding-inline: 22px; }
  .hero__strip li:first-child { border-inline-start: 0; padding-inline-start: 0; }
}
.hero__strip svg { width: 20px; height: 20px; color: var(--gold); flex: none; }

/* page banner (inner pages) */
.pagehead { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.pagehead__grid { position: absolute; inset: 0; z-index: -1; opacity: 0.75; }
.pagehead__in { padding-block: clamp(46px, 6vw, 82px); }
.pagehead h1 { color: #fff; font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.8rem); max-width: 20ch; }
.pagehead p { margin-block-start: 16px; color: #c8d5e2; max-width: 68ch; font-size: var(--fs-lead); }

.crumbs { font-size: var(--fs-xs); color: var(--navy-200); margin-block-end: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { margin-inline: 8px; color: rgba(255, 255, 255, 0.3); }

/* --------------------------------------------------------------- sections */

.sec { padding-block: var(--sec-y); }
.sec--tint { background: var(--paper-2); }
.sec--navy { background: var(--navy); color: #fff; }
.sec--navy h2, .sec--navy h3 { color: #fff; }
.sec--tight { padding-block: clamp(44px, 5vw, 72px); }

.sec-head { max-width: 68ch; margin-block-end: clamp(34px, 4vw, 54px); }
.sec-head__k {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--gold-700);
  margin-block-end: 14px;
}
.sec--navy .sec-head__k { color: var(--gold); }
.sec-head__k::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
  box-shadow: 0 0 0 4px rgba(212, 152, 54, 0.18);
}
.sec-head__k::after { content: ""; height: 1px; flex: 1; background: linear-gradient(to left, transparent, var(--gold)); }
html[dir="ltr"] .sec-head__k::after { background: linear-gradient(to right, transparent, var(--gold)); }
.sec-head h2 { font-size: var(--fs-h2); text-wrap: balance; }
.sec-head p { margin-block-start: 16px; color: var(--muted); font-size: var(--fs-lead); }
.sec--navy .sec-head p { color: #b9c8d8; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head--center .sec-head__k { justify-content: center; }
.sec-head--center .sec-head__k::after { display: none; }

.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.9; }
.body-copy { color: var(--muted); line-height: 1.9; max-width: 68ch; }
.body-copy + .body-copy { margin-block-start: 18px; }

/* two-column feature */
.split {
  display: grid;
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 0.92fr 1.08fr; } }
.split--rev > *:first-child { order: 0; }
@media (min-width: 900px) { .split--rev > *:first-child { order: 1; } }

.figure {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(16px, 2vw, 26px);
}
.figure figcaption {
  margin-block-start: 14px;
  font-size: var(--fs-xs);
  color: var(--muted);
  border-block-start: 1px solid var(--line);
  padding-block-start: 12px;
}
.sec--navy .figure { background: rgba(255, 255, 255, 0.03); border-color: rgba(255, 255, 255, 0.14); }
.sec--navy .figure figcaption { color: #a9bacb; border-color: rgba(255, 255, 255, 0.14); }

/* stat / fact list — descriptive only, no invented numbers */
.factlist { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 0; }
.factlist li {
  display: flex;
  gap: 14px;
  padding-block: 15px;
  border-block-start: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--muted);
}
.factlist li:last-child { border-block-end: 1px solid var(--line); }
.factlist svg { width: 19px; height: 19px; color: var(--gold); flex: none; margin-block-start: 4px; }
.factlist b { color: var(--ink); font-weight: 600; }

/* ------------------------------------------------- spec grid (services…) */

.spec {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 640px) { .spec { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .spec--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1000px) { .spec--3 { grid-template-columns: repeat(3, 1fr); } }

.spec__item {
  position: relative;
  background: var(--paper);
  padding: clamp(24px, 2.6vw, 34px);
  transition: background-color 0.2s;
}
.spec__item::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.28s ease;
}
.spec__item:hover { background: var(--paper-2); }
.spec__item:hover::before { width: 46px; }
.spec__ico { width: 34px; height: 34px; color: var(--gold); margin-block-end: 18px; }
.spec__item h3 { font-size: var(--fs-h3); margin-block-end: 10px; text-wrap: balance; }
.spec__item p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.8; }

.spec__item--fill { pointer-events: none; }
.spec__item--fill:hover { background: var(--paper); }
.sec--navy .spec__item--fill:hover { background: var(--navy); }
.sec--tint .spec__item { background: var(--paper); }
.sec--tint .spec__item:hover { background: #fff; }

.sec--navy .spec { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.13); }
.sec--navy .spec__item { background: var(--navy); }
.sec--navy .spec__item:hover { background: var(--navy-700); }
.sec--navy .spec__item p { color: #b9c8d8; }

/* ------------------------------------------------------------ process rail */

.steps { position: relative; display: grid; gap: 0; counter-reset: step; }
@media (min-width: 980px) { .steps { grid-template-columns: repeat(5, 1fr); } }

.steps__line {
  position: absolute;
  inset-inline: 0;
  inset-block-start: 39px;
  height: 2px;
  background: rgba(212, 152, 54, 0.22);
  display: none;
}
@media (min-width: 980px) { .steps__line { display: block; } }
.steps__line i {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  background: var(--gold);
  transition: width 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.steps.is-live .steps__line i { width: 100%; }

.step { position: relative; padding: 0 0 30px; }
@media (min-width: 980px) { .step { padding-inline-end: 26px; } }
.step__n {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--paper);
  border: 2px solid var(--gold);
  color: var(--navy);
  font-weight: 700;
  font-size: 1rem;
  font-variant-numeric: tabular-nums;
  margin-block-end: 18px;
  border-radius: 50%;
}
.sec--navy .step__n { background: var(--navy); color: #fff; }
.sec--tint .step__n { background: var(--paper-2); }
.step h3 { font-size: 1.05rem; margin-block-end: 8px; }
.step p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.75; }
.sec--navy .step p { color: #b9c8d8; }
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 27px;
  inset-block: 60px 6px;
  width: 2px;
  background: rgba(212, 152, 54, 0.25);
}
@media (min-width: 980px) { .step::after { display: none; } }

/* ------------------------------------------------------------- pillars */

.pillars { display: grid; gap: 0; }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  padding: clamp(22px, 2.4vw, 32px) 0;
  border-block-start: 2px solid rgba(212, 152, 54, 0.45);
}
@media (min-width: 760px) {
  .pillar { padding-inline: clamp(18px, 2vw, 30px); }
  .pillar:first-child { padding-inline-start: 0; }
  .pillar:last-child { padding-inline-end: 0; }
}
.pillar h3 { font-size: 1.18rem; margin-block-end: 10px; }
.pillar p { color: #b9c8d8; font-size: var(--fs-sm); line-height: 1.8; }
.pillar svg { width: 30px; height: 30px; color: var(--gold); margin-block-end: 16px; }

/* --------------------------------------------------------- coverage map */

.coverage {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 920px) { .coverage { grid-template-columns: 0.88fr 1.12fr; } }
.zones { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 12px; }
.zones li {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 600;
  font-size: var(--fs-sm);
}
.zones .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.zones .dot--ring { background: transparent; border: 2px solid var(--gold); }

/* ------------------------------------------------------------- callout */

.callout {
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--gold);
  background: var(--paper);
  padding: clamp(22px, 3vw, 34px);
}
.callout h3 { font-size: var(--fs-h3); margin-block-end: 12px; }
.callout p { color: var(--muted); line-height: 1.9; }
.callout--navy { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.15); border-inline-start-color: var(--gold); }
.callout--navy p { color: #c6d3e0; }
.callout--flag { background: var(--gold-100); border-color: rgba(212, 152, 54, 0.5); }
.callout--flag p { color: #52401d; font-weight: 600; }

/* --------------------------------------------------------- emergency bar */

.emergency {
  background: var(--navy-900);
  color: #fff;
  border-block: 1px solid rgba(212, 152, 54, 0.3);
}
.emergency__in {
  display: grid;
  gap: 26px;
  padding-block: clamp(38px, 4.5vw, 62px);
  align-items: center;
}
@media (min-width: 900px) { .emergency__in { grid-template-columns: 1.4fr 1fr; } }
.emergency h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); }
.emergency p { color: #b9c8d8; margin-block-start: 12px; max-width: 60ch; }
.emergency__nums { display: grid; gap: 10px; }
.emergency__nums a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(212, 152, 54, 0.45);
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.18s;
}
.emergency__nums a:hover { background: rgba(212, 152, 54, 0.14); }
.emergency__nums small { color: var(--navy-200); font-weight: 400; font-size: var(--fs-xs); }
.emergency__nums b { direction: ltr; unicode-bidi: embed; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------- accordion */

.acc { border-block-start: 1px solid var(--line); }
.acc details { border-block-end: 1px solid var(--line); }
.acc summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 600;
  font-size: 1.03rem;
  color: var(--navy);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { color: var(--gold-700); }
.acc summary .sign {
  flex: none;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  position: relative;
}
.acc summary .sign::before,
.acc summary .sign::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.22s;
}
.acc summary .sign::before { width: 12px; height: 2px; }
.acc summary .sign::after { width: 2px; height: 12px; }
.acc details[open] summary .sign::after { transform: scaleY(0); }
.acc .acc__body { padding: 0 0 24px; color: var(--muted); line-height: 1.9; max-width: 76ch; }

/* ------------------------------------------------------------------ forms */

.formcard { border: 1px solid var(--line); background: var(--paper); padding: clamp(24px, 3vw, 40px); }
.field { margin-block-end: 18px; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-block-end: 8px; color: var(--navy); }
.field .req { color: var(--gold-700); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: var(--fs-sm);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.16s;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy-200); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.75; }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-block-start: 6px; }
.field .err { font-size: var(--fs-xs); color: #b3261e; margin-block-start: 6px; display: none; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #b3261e; }
.field[data-invalid="true"] .err { display: block; }
.field--2 { display: grid; gap: 18px; }
@media (min-width: 620px) { .field--2 { grid-template-columns: 1fr 1fr; } }

.formnote {
  margin-block-start: 18px;
  padding: 16px 18px;
  border: 1px dashed var(--line);
  background: var(--paper-2);
  font-size: var(--fs-xs);
  color: var(--muted);
  line-height: 1.8;
}
.formstatus {
  margin-block-start: 18px;
  padding: 16px 18px;
  border-inline-start: 3px solid var(--gold);
  background: var(--gold-100);
  font-size: var(--fs-sm);
  color: #4b3a19;
  line-height: 1.8;
}
.formstatus[hidden] { display: none; }
.formstatus a { font-weight: 700; }

/* ------------------------------------------------------------------- news */

.news { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 780px) { .news { grid-template-columns: repeat(3, 1fr); } }
.news__item { background: var(--paper); padding: clamp(22px, 2.4vw, 30px); display: grid; align-content: start; gap: 12px; }
.news__meta { font-size: var(--fs-xs); color: var(--gold-700); font-weight: 600; }
.news__item h3 { font-size: 1.08rem; }
.news__item p { color: var(--muted); font-size: var(--fs-sm); line-height: 1.8; }
.empty {
  border: 1px dashed var(--line);
  background: var(--paper-2);
  padding: clamp(30px, 4vw, 52px);
  text-align: center;
  color: var(--muted);
}
.empty b { display: block; color: var(--navy); font-size: 1.05rem; margin-block-end: 8px; }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: clamp(30px, 4vw, 56px); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 0.85fr 1.15fr; } }
.infolist { list-style: none; margin: 0; padding: 0; }
.infolist li { display: flex; gap: 14px; padding-block: 18px; border-block-end: 1px solid var(--line); }
.infolist li:first-child { border-block-start: 1px solid var(--line); }
.infolist svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-block-start: 4px; }
.infolist .k { font-size: var(--fs-xs); color: var(--muted); display: block; margin-block-end: 3px; }
.infolist .v { font-weight: 600; color: var(--navy); text-decoration: none; }
.infolist a.v:hover { color: var(--gold-700); }
.infolist .ltr { direction: ltr; unicode-bidi: embed; display: inline-block; font-variant-numeric: tabular-nums; }
.infolist .pending { font-weight: 400; color: var(--muted); font-style: italic; }

.mapbox {
  border: 1px solid var(--line);
  background: var(--paper-2);
  min-height: 260px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  color: var(--muted);
  font-size: var(--fs-sm);
}

/* ----------------------------------------------------------------- footer */

.site-footer { background: var(--navy); color: #c3d0de; padding-block: clamp(48px, 6vw, 76px) 0; font-size: var(--fs-sm); }
.footer-grid { display: grid; gap: 38px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr; } }
.site-footer img.flogo { height: 74px; width: auto; margin-block-end: 20px; }
.site-footer h2, .site-footer h3, .site-footer h4 { color: #fff; font-size: 0.95rem; margin-block-end: 18px; letter-spacing: 0.01em; }
.site-footer p { line-height: 1.9; max-width: 42ch; }
.fnav { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.fnav a { text-decoration: none; }
.fnav a:hover { color: var(--gold); }
.fcontact { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.fcontact a { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.fcontact a:hover { color: var(--gold); }
.fcontact svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.fcontact .ltr { direction: ltr; unicode-bidi: embed; }
.social { display: flex; gap: 10px; margin-block-start: 22px; }
.social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.18s, background-color 0.18s;
}
.social a:hover { border-color: var(--gold); background: rgba(212, 152, 54, 0.12); }
.social svg { width: 17px; height: 17px; }
.footer-bottom {
  margin-block-start: clamp(38px, 4vw, 56px);
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #93a8bd;
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--gold); }

/* ------------------------------------------------------------------- misc */

.cta-row { margin-block-start: clamp(30px, 3.5vw, 44px); display: flex; flex-wrap: wrap; gap: 14px; }
.center { text-align: center; }
.mt-l { margin-block-start: clamp(30px, 4vw, 50px); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.ltr { direction: ltr; unicode-bidi: embed; }

/* single, restrained reveal — opacity only */
[data-reveal] { opacity: 0; transition: opacity 0.7s ease; }
[data-reveal].is-in { opacity: 1; }

/* animated conductor pulse in hero background */
.pulse { animation: dash 9s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.flick { animation: flick 4.5s ease-in-out infinite; }
@keyframes flick { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  [data-reveal] { opacity: 1; }
  .steps.is-live .steps__line i { width: 100%; }
}

@media print {
  .site-header, .topbar, .drawer, .hero__grid, .social { display: none !important; }
  body { color: #000; }
}

/* ------------------------------------------------- technical diagrams (SVG) */
.dgm { width: 100%; height: auto; }
.dgm-l { font-family: var(--font); font-size: 20px; font-weight: 500; fill: var(--navy); }
.dgm-a { text-anchor: end; }
.dgm-c { text-anchor: middle; }
.dgm-e { font-weight: 700; fill: var(--gold-700); }
.dgm-s { font-size: 16px; font-weight: 400; fill: var(--muted); }
.dgm--dark .dgm-l { fill: #dbe6f1; }
.dgm--dark .dgm-e { fill: var(--gold); }

/* English (LTR) accommodations — longer words need more measure */
html[dir="ltr"] .hero h1 { max-width: 21ch; }
html[dir="ltr"] .dgm-l { font-size: 18px; }
html[dir="ltr"] .dgm-s { font-size: 15px; }

/* --- WCAG 2.2 SC 2.5.8: every interactive target at least 24x24 CSS px ---- */
.topbar a, .langswitch a, .fnav a, .fcontact a, .footer-bottom a, .crumbs a, .infolist a.v {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}
.fnav a, .fcontact a { padding-block: 2px; }
/* the brand block inherits body ink; force white so any direct text stays legible on navy */
.brand { color: #fff; }

/* location card under (or instead of) the embedded map */
.maplink {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-block-start: 0;
  background: var(--paper);
  padding: 20px clamp(16px, 2.4vw, 26px);
}
.maplink b { display: block; color: var(--navy); font-size: 1.02rem; }
.maplink .ltr { display: block; font-size: var(--fs-xs); color: var(--muted); margin-block-start: 5px; }
