/* ==========================================================================
   Telica Venture House — public website styles
   Type: Barlow / Barlow Semi Condensed (EN) · IBM Plex Sans Arabic / Noto Kufi Arabic (AR)
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("../fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "IBM Plex Sans Arabic"; src: url("../fonts/ibm-plex-sans-arabic-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF; }
@font-face { font-family: "Noto Kufi Arabic"; src: url("../fonts/noto-kufi-arabic-arabic-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }
@font-face { font-family: "Noto Kufi Arabic"; src: url("../fonts/noto-kufi-arabic-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FEFC; }

/* ---------- Tokens ---------- */
:root {
  --ink: #0A2236;            /* deep navy — overridden from admin */
  --accent: #17A07F;         /* logo teal — overridden from admin */
  --accent-ink: color-mix(in srgb, var(--accent) 66%, #000);
  --ink-soft: color-mix(in srgb, var(--ink) 88%, #fff);
  --paper: #ffffff;
  --mist: #EEF2F5;
  --line: #D5DBE1;
  --line-strong: #B9C3CD;
  --text: #16202B;
  --muted: #566270;
  --map-af: #8DA4B9;
  --map-me: #4F8FC4;
  --danger: #B42318;

  --font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Barlow Semi Condensed", "Barlow", system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 88px;
  --section-pad: clamp(72px, 9vw, 128px);
  --radius: 3px;
}
html[lang="ar"] {
  --font-body: "IBM Plex Sans Arabic", "Barlow", system-ui, sans-serif;
  --font-head: "Noto Kufi Arabic", "IBM Plex Sans Arabic", system-ui, sans-serif;
}
@supports not (color: color-mix(in srgb, red 50%, white)) {
  :root { --accent-ink: #0F6B55; --ink-soft: #1E3549; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
html[lang="ar"] body { line-height: 1.8; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; margin: 0; color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }
main:focus { outline: none; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; inset-inline-start: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--ink); padding: 10px 16px; font-weight: 600; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 600; font-size: 1rem; line-height: 1.1; text-decoration: none;
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 82%, #fff); }
.btn-line { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.text-link { color: var(--accent-ink); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--ink); }
.link-button { background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .3s ease, box-shadow .3s ease, color .3s ease;
}
.site-header.is-solid { background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header.is-solid { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.6) blur(14px); } }
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .3s ease; }
.site-header.is-solid .header-row { height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 60px; width: auto; transition: height .3s ease; }
.site-header.is-solid .brand img { height: 50px; }
.brand-dark { display: none !important; }
.site-header.is-solid .brand-light { display: none !important; }
.site-header.is-solid .brand-dark { display: block !important; }

.main-nav { margin-inline-start: auto; display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { position: relative; display: block; padding: 8px 0; font-size: .97rem; font-weight: 500; text-decoration: none; opacity: .82; transition: opacity .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { opacity: 1; }
.nav-links a[aria-current="true"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.lang-switch { font-weight: 600; font-size: .95rem; text-decoration: none; opacity: .9; }
.lang-switch:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
html[lang="en"] .lang-switch { font-family: "IBM Plex Sans Arabic", var(--font-body); }
html[lang="ar"] .lang-switch { font-family: "Barlow", sans-serif; }
.nav-cta { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border-radius: var(--radius); background: var(--accent); color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; transition: background-color .2s; }
.nav-cta:hover { background: color-mix(in srgb, var(--accent) 82%, #fff); }

.nav-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; position: relative; z-index: 60; color: inherit; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 11px; width: 24px; height: 2px; background: currentColor; transition: transform .25s ease, opacity .2s; content: ""; }
.nav-toggle-bars { top: 22px; }
.nav-toggle-bars::before { top: -7px; left: 0; }
.nav-toggle-bars::after { top: 7px; left: 0; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding-top: calc(var(--header-h) + clamp(16px, 3vw, 40px));
}
.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(24px, 4vw, 72px); align-items: center;
  min-height: min(66vh, 660px);
}
.hero--no-map .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-block: clamp(48px, 8vw, 120px) 24px; }
.hero-title {
  font-size: clamp(2.6rem, 1.5rem + 3vw, 4.5rem);
  line-height: .98; letter-spacing: -.012em; font-weight: 600;
  max-width: 15ch; text-wrap: balance;
}
html[lang="ar"] .hero-title { font-size: clamp(2.05rem, 1.3rem + 2.5vw, 3.5rem); line-height: 1.4; letter-spacing: 0; max-width: 15ch; }
.hero-lede { margin: 26px 0 0; max-width: 50ch; font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.6; color: rgba(255,255,255,.78); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; }

.hero-map { position: relative; margin: 0; width: 100%; max-width: min(660px, 74vh); aspect-ratio: 1 / 1; justify-self: end; }
html[dir="rtl"] .hero-map { justify-self: start; }
.reach-map { width: 100%; height: 100%; overflow: visible; }
.reach-map__land path { stroke-width: 4.2; }
.m-ot { stroke: rgba(255,255,255,.1); }
.m-af { stroke: var(--map-af); }
.m-me { stroke: var(--map-me); }
.m-eg { stroke: var(--accent); }
.orbit { stroke: var(--accent); stroke-width: 1.25; opacity: .6; vector-effect: non-scaling-stroke; }
.pin-dot { fill: #fff; }
.pin-ring { fill: none; stroke: var(--accent); stroke-width: 3.5; }
.pin-pulse { fill: var(--accent); opacity: 0; transform-box: fill-box; transform-origin: center; }
.map-pin {
  position: absolute; left: 61.45%; top: 16.67%;
  transform: translate(calc(-100% - 20px), calc(-100% - 10px));
  padding: 6px 10px 7px; background: color-mix(in srgb, var(--ink) 88%, transparent); border-inline-end: 2px solid var(--accent);
  text-align: right; line-height: 1.25; white-space: nowrap; pointer-events: none;
}
html[dir="rtl"] .map-pin { border-inline-end: 0; border-inline-start: 2px solid var(--accent); }
.map-pin strong { display: block; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; }
.map-pin span { display: block; font-size: .82rem; color: rgba(255,255,255,.66); }

@property --reveal { syntax: "<length>"; inherits: false; initial-value: 2400px; }
@media (prefers-reduced-motion: no-preference) {
  .hero-map {
    -webkit-mask-image: radial-gradient(circle at 61.45% 16.67%, #000 var(--reveal), transparent calc(var(--reveal) + 140px));
            mask-image: radial-gradient(circle at 61.45% 16.67%, #000 var(--reveal), transparent calc(var(--reveal) + 140px));
    animation: map-reveal 2.2s cubic-bezier(.25,.7,.25,1) .15s backwards;
  }
  .pin-pulse { animation: pin-pulse 2.6s ease-out 1.4s 3; }
}
@keyframes map-reveal { from { --reveal: 0px; } to { --reveal: 1100px; } }
@keyframes pin-pulse { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(4); } }

.hero-facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(28px, 4vw, 52px) 0 0; border-top: 1px solid rgba(255,255,255,.16);
}
.fact { padding: 22px 24px 34px; border-inline-start: 1px solid rgba(255,255,255,.16); }
.fact:first-child { border-inline-start: 0; padding-inline-start: 0; }
.fact dt { font-size: .9rem; color: rgba(255,255,255,.62); }
.fact dd { margin: 6px 0 0; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.25; }
html[lang="ar"] .fact dd { font-size: 1.12rem; line-height: 1.6; }

/* ---------- Sections (shared) ---------- */
.section { padding-block: var(--section-pad); scroll-margin-top: 64px; }
.section-label { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: .97rem; font-weight: 600; color: var(--accent-ink); }
.section-label::before { content: ""; width: 26px; height: 2px; background: var(--accent); flex: none; }
.section-title { font-size: clamp(2.05rem, 1.35rem + 2.2vw, 3.35rem); line-height: 1.04; letter-spacing: -.006em; color: var(--ink); max-width: 18ch; text-wrap: balance; }
html[lang="ar"] .section-title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.45; letter-spacing: 0; }
.section-title--sm { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 36px; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-intro { margin: 18px 0 0; max-width: 60ch; color: var(--muted); font-size: 1.12rem; }
.lead { font-size: clamp(1.1rem, 1.02rem + .3vw, 1.28rem); line-height: 1.62; color: var(--muted); max-width: 58ch; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 120px); align-items: start; }
.about-body .lead { margin-top: 4px; }
.highlights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin-top: clamp(32px, 4vw, 48px); }
.highlight { border-top: 1px solid var(--line); padding-top: 20px; }
.highlight h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 8px; }
.highlight p { margin: 0; color: var(--muted); }

/* Chairman */
.chairman { background: var(--mist); }
.chairman-grid { display: grid; grid-template-columns: minmax(240px, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.chairman-photo { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--ink); }
.chairman-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.chairman-photo::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 38%; height: 6px; background: var(--accent); }
.chairman-photo.is-empty { display: grid; place-items: center; }
.chairman-monogram { font-family: "Barlow Semi Condensed", sans-serif; font-size: clamp(4rem, 3rem + 4vw, 7rem); font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: .02em; }
.chairman-quote { margin: 0; }
.chairman-quote p {
  margin: 0; max-width: 32ch;
  font-family: var(--font-head); font-weight: 500;
  font-size: clamp(1.45rem, 1.05rem + 1.25vw, 2.2rem); line-height: 1.28; color: var(--ink);
  text-wrap: pretty;
}
html[lang="ar"] .chairman-quote p { font-size: clamp(1.2rem, .98rem + .9vw, 1.7rem); line-height: 1.85; max-width: 38ch; }
.chairman-quote p::before { content: "\201C"; display: block; font-family: "Barlow Semi Condensed", Georgia, serif; font-size: 4.5rem; line-height: .7; height: .5em; color: var(--accent); margin-bottom: 18px; }
html[lang="ar"] .chairman-quote p::before { content: "\201D"; }
.chairman-sig { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid var(--line-strong); max-width: 32ch; }
.chairman-sig strong { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; color: var(--ink); }
.chairman-sig span { color: var(--muted); }

/* Sectors */
.sector-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.sector {
  display: grid; grid-template-columns: 56px minmax(0, 4.2fr) minmax(0, 6fr);
  gap: 8px 40px; align-items: center;
  padding: 30px 0; border-bottom: 1px solid var(--line);
}
.sector-icon { display: grid; place-items: center; width: 48px; height: 48px; color: var(--accent-ink); }
.sector-icon .icon { width: 36px; height: 36px; }
.sector-title { font-size: clamp(1.55rem, 1.25rem + .9vw, 2.1rem); line-height: 1.1; color: var(--ink); }
html[lang="ar"] .sector-title { font-size: clamp(1.3rem, 1.1rem + .6vw, 1.65rem); line-height: 1.5; }
.sector-text { margin: 0; color: var(--muted); max-width: 58ch; }

/* Approach */
.approach { background: var(--ink); color: #fff; }
.approach .section-title { color: #fff; }
.approach .section-label { color: var(--accent); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { position: relative; padding: 40px 32px 0 0; border-top: 1px solid rgba(255,255,255,.22); }
html[dir="rtl"] .step { padding: 40px 0 0 32px; }
.step::before { content: ""; position: absolute; top: -6px; inset-inline-start: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--ink); }
.step-num { display: block; margin-bottom: 20px; font-family: "Barlow Semi Condensed", sans-serif; font-size: 3.2rem; font-weight: 500; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; }
.step h3 { font-size: 1.55rem; margin-bottom: 10px; }
html[lang="ar"] .step h3 { font-size: 1.3rem; line-height: 1.6; }
.step p { margin: 0; max-width: 30ch; color: rgba(255,255,255,.72); }

/* Presence */
.regions { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 64px); }
.region { border-top: 1px solid var(--line); padding-top: 26px; }
.region-key { display: block; width: 72px; height: 15px; --key: var(--ink); background: repeating-linear-gradient(to bottom, var(--key) 0 3px, transparent 3px 6px); border-radius: 2px; }
.region--eg .region-key { --key: var(--accent); }
.region--af .region-key { --key: var(--map-af); }
.region--me .region-key { --key: var(--map-me); }
.region h3 { margin: 18px 0 10px; font-size: clamp(1.8rem, 1.4rem + 1.1vw, 2.6rem); line-height: 1.05; color: var(--ink); }
html[lang="ar"] .region h3 { font-size: clamp(1.45rem, 1.2rem + .8vw, 2rem); line-height: 1.5; }
.region p { margin: 0; color: var(--muted); max-width: 40ch; }

/* Partners */
.partners { background: var(--mist); }
.partner-grid { list-style: none; margin: 0; padding: 0 1px 1px 0; display: flex; flex-wrap: wrap; }
.partner-grid li { flex: 0 0 auto; width: clamp(150px, 22%, 220px); display: grid; place-items: center; min-height: 120px; padding: 24px; margin: 0 -1px -1px 0; border: 1px solid var(--line); background: #fff; }
html[dir="rtl"] .partner-grid { padding: 0 0 1px 1px; }
html[dir="rtl"] .partner-grid li { margin: 0 0 -1px -1px; }
@media (max-width: 720px) { .partner-grid li { width: 50%; } }
.partner-grid img { max-height: 56px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partner-grid a:hover img, .partner-grid a:focus-visible img { filter: none; opacity: 1; }

/* News cards */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.post-card { display: flex; flex-direction: column; }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist); margin-bottom: 18px; }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-placeholder { display: block; width: 100%; height: 100%; background: var(--ink) repeating-linear-gradient(to bottom, rgba(255,255,255,.08) 0 3px, transparent 3px 11px); }
.post-card-date { font-size: .9rem; color: var(--muted); }
.post-card-title { margin: 6px 0 8px; font-size: 1.45rem; line-height: 1.2; color: var(--ink); }
html[lang="ar"] .post-card-title { font-size: 1.2rem; line-height: 1.6; }
.post-card-title a { text-decoration: none; }
.post-card-title a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-card-excerpt { margin: 0; color: var(--muted); }

/* Contact */
.contact { background: var(--mist); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-info .lead { margin-top: 20px; }
.contact-on { margin: 32px 0 6px; font-weight: 600; color: var(--ink); }
.contact-list { margin: 0; }
.contact-list > div { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr); gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-strong); }
.contact-list > div:last-child { border-bottom: 1px solid var(--line-strong); }
.contact-list dt { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; }
.contact-list dt .icon { color: var(--accent-ink); width: 18px; height: 18px; }
.contact-list dd { margin: 0; font-weight: 500; color: var(--ink); overflow-wrap: anywhere; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-wa { margin-inline-start: 10px; font-size: .9rem; color: var(--accent-ink); }
.contact-ext { display: inline-flex; align-items: center; gap: 8px; }
.contact-ext .icon { width: 15px; height: 15px; color: var(--accent-ink); }
html[dir="rtl"] .contact-list dd a[dir="ltr"] { unicode-bidi: isolate; }

.contact-form { background: #fff; padding: clamp(24px, 3.2vw, 44px); border-top: 4px solid var(--accent); }
.form-title { font-size: 1.55rem; color: var(--ink); margin-bottom: 22px; }
html[lang="ar"] .form-title { font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea {
  display: block; width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
html[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field-error { margin: 6px 0 0; color: var(--danger); font-size: .9rem; }
.form-status { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--radius); font-weight: 500; }
.form-status:focus { outline: none; }
.form-status.is-success { background: #E6F5F0; color: #0B5A46; border: 1px solid #A6D9C8; }
.form-status.is-error { background: #FDEDEB; color: #8A1C12; border: 1px solid #F4C3BD; }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.contact-form .btn { width: 100%; margin-top: 6px; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--ink); color: #fff; padding: calc(var(--header-h) + clamp(40px, 6vw, 88px)) 0 clamp(48px, 6vw, 80px); }
.page-hero--tall { min-height: 78vh; display: flex; align-items: center; }
.page-hero .section-label { color: var(--accent); }
.page-title { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.9rem); line-height: 1.04; max-width: 22ch; text-wrap: balance; }
html[lang="ar"] .page-title { font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.8rem); line-height: 1.5; }
.empty-note { color: var(--muted); font-size: 1.1rem; }
.pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 56px; }
.pager-status { color: var(--muted); }

.article-wrap { max-width: calc(780px + var(--gutter) * 2); }
.back-link { display: inline-block; margin-bottom: 20px; color: var(--accent); font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-meta { margin: 18px 0 0; color: rgba(255,255,255,.66); }
.article-cover { margin: clamp(-40px, -3vw, -24px) 0 0; position: relative; }
.article-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.prose { padding: clamp(36px, 5vw, 56px) 0 8px; font-size: 1.12rem; line-height: 1.75; }
html[lang="ar"] .prose { font-size: 1.08rem; line-height: 1.95; }
.prose > * { max-width: 68ch; }
.prose h2 { font-size: 1.85rem; line-height: 1.2; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { font-size: 1.45rem; line-height: 1.25; margin: 1.4em 0 .5em; color: var(--ink); }
html[lang="ar"] .prose h2, html[lang="ar"] .prose h3 { line-height: 1.6; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding-inline-start: 24px; border-inline-start: 3px solid var(--accent); font-family: var(--font-head); font-size: 1.35rem; line-height: 1.45; color: var(--ink); }
.prose img { margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; } .prose figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }
.prose table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-size: 1rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: start; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding: 22px 0 clamp(56px, 7vw, 96px); margin-top: 24px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.share-row span { color: var(--muted); font-weight: 500; }
.share-row a { color: var(--ink); text-underline-offset: 3px; }
.related { background: var(--mist); }

.maintenance { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; background: var(--ink); color: #fff; padding: 32px; }
.maintenance a { color: var(--accent); }
.maintenance .hero-lede { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding-top: clamp(56px, 7vw, 88px); font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr); gap: 40px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 34ch; margin: 0; }
.footer-col h2 { font-size: 1.05rem; color: #fff; margin-bottom: 16px; }
html[lang="ar"] .footer-col h2 { font-size: .98rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a, .footer-social a { text-decoration: none; transition: color .2s; }
.footer-col a:hover, .footer-social a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-contact li { overflow-wrap: anywhere; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: clamp(40px, 6vw, 72px); padding-block: 24px 30px; border-top: 1px solid rgba(255,255,255,.13); font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-social { display: flex; flex-wrap: wrap; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { gap: 20px; }
  .main-nav { gap: 22px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  :root { --header-h: 76px; }
  .brand img { height: 52px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: calc(var(--header-h) + 24px) var(--gutter) 40px;
    background: var(--ink); color: #fff;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
    overflow-y: auto;
  }
  .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 16px 0; font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; opacity: 1; border-bottom: 1px solid rgba(255,255,255,.12); }
  .nav-links a[aria-current="true"]::after { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 28px; }
  .nav-cta { justify-content: center; min-height: 52px; font-size: 1.05rem; }
  .lang-switch { padding: 10px 0; font-size: 1.1rem; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { color: #fff; background: transparent; box-shadow: none; backdrop-filter: none; }
  .nav-open .site-header .brand-light { display: block !important; position: relative; z-index: 60; }
  .nav-open .site-header .brand-dark { display: none !important; }

  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 8px; }
  .hero-copy { padding-top: clamp(16px, 4vw, 40px); }
  .hero-map { justify-self: center !important; max-width: 560px; margin-top: 8px; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.16); }

  .about-grid, .chairman-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .chairman-photo { max-width: 420px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .sector { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 16px; align-items: start; padding: 24px 0; }
  .sector-icon { width: 40px; height: 40px; }
  .sector-icon .icon { width: 30px; height: 30px; }
  .sector-text { grid-column: 2; }
  .highlights, .regions, .post-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; border-inline-start: 1px solid rgba(255,255,255,.22); margin-inline-start: 5px; }
  .step, html[dir="rtl"] .step { border-top: 0; padding: 0 0 40px 28px; }
  html[dir="rtl"] .step { padding: 0 28px 40px 0; }
  .step::before { top: 6px; inset-inline-start: -6px; }
  .step-num { font-size: 2.4rem; margin-bottom: 12px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .map-pin strong { font-size: 1rem; }
  .map-pin span { font-size: .75rem; }
}

@media (max-width: 480px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .fact { border-inline-start: 0 !important; padding-inline-start: 0 !important; padding-block: 16px; }
  .fact + .fact { border-top: 1px solid rgba(255,255,255,.16); }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .nav-toggle, .contact-form, .hero-map, .share-row { display: none !important; }
  .hero, .approach, .page-hero, .site-footer { background: #fff !important; color: #000 !important; }
}
