/* =========================================================
   ملاحة الأفق | Horizon Navigation — Main Stylesheet (RTL)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --navy: #003061;
  --navy-dark: #00254b;
  --gold: #BA863A;
  --gold-light: #d4a65f;
  --slate: #263746;
  --ink: #1d2b38;
  --muted: #5d6b78;
  --line: #e3e8ee;
  --soft: #f3f6f9;
  --white: #ffffff;

  --font: 'Tajawal', 'Montserrat', sans-serif;
  --font-latin: 'Montserrat', 'Tajawal', sans-serif;

  --container: 1440px;
  --radius: 4px;
  --header-h: 84px;
  --shadow: 0 18px 40px -18px rgba(0, 37, 75, .28);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 800; color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.latin { font-family: var(--font-latin); }

.icon {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
.section { padding-block: 110px; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: #fff; padding: 10px 18px; border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- 3. Section heading ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--gold); font-weight: 700; font-size: 15px;
}
.eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--gold); }
.heading { margin-bottom: 56px; max-width: 820px; }
.heading h2 { font-size: clamp(30px, 3.6vw, 44px); margin-top: 12px; }
.heading p { margin-top: 16px; color: var(--muted); font-size: 18px; }
.heading--center { text-align: center; margin-inline: auto; }
.heading--center .eyebrow::after { content: ''; width: 36px; height: 2px; background: var(--gold); }
.section--navy .heading p { color: rgba(255, 255, 255, .75); }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; font-size: 16px; line-height: 1.2; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .icon { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(-4px); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #a57530; }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(-4px); }

/* ---------- 5. Top bar + Header ---------- */
.topbar { background: var(--navy-dark); color: rgba(255, 255, 255, .8); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 20px; }
.topbar__list { display: flex; gap: 26px; }
.topbar__list a, .topbar__list span { display: inline-flex; align-items: center; gap: 8px; }
.topbar__list a:hover { color: var(--gold-light); }
.topbar .icon { width: 16px; height: 16px; color: var(--gold-light); }
.topbar__tag { color: var(--gold-light); font-weight: 700; }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 10px 30px -20px rgba(0, 37, 75, .45); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong { font-size: 21px; color: var(--navy); font-weight: 800; }
.brand__text small { font-family: var(--font-latin); font-size: 10px; letter-spacing: .2em; color: var(--gold); font-weight: 700; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  position: relative; padding: 10px 16px; font-weight: 700; color: var(--slate);
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; bottom: 2px; inset-inline: 16px; height: 2px;
  background: var(--gold); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--navy); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header__cta { margin-inline-start: 14px; padding: 12px 22px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); background: #fff;
  border-radius: var(--radius); color: var(--navy); cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- 6. Hero (home) ---------- */
.hero {
  position: relative; min-height: max(640px, calc(100vh - var(--header-h) - 42px));
  display: flex; align-items: center; color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(270deg, rgba(0, 37, 75, .95) 0%, rgba(0, 37, 75, .78) 45%, rgba(0, 37, 75, .2) 100%);
}
.hero .container { position: relative; z-index: 2; padding-block: 120px; }
.hero__content { max-width: 680px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
  border: 1px solid rgba(212, 166, 95, .5); border-radius: 40px; color: var(--gold-light);
  font-weight: 700; font-size: 15px; background: rgba(0, 37, 75, .4);
}
.hero__badge .icon { width: 18px; height: 18px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 76px); line-height: 1.15; margin: 22px 0 20px; }
.hero h1 span { color: var(--gold-light); }
.hero p { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .86); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: 36px; margin-top: 60px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.hero__stat { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.hero__stat .icon { width: 30px; height: 30px; color: var(--gold-light); }

/* ---------- 7. Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: 130px 0 110px; color: #fff; overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(0, 37, 75, .95), rgba(0, 37, 75, .6)); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(36px, 5vw, 58px); margin: 14px 0 12px; }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 19px; max-width: 640px; }
.breadcrumb { display: flex; gap: 10px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span[aria-current] { color: var(--gold-light); font-weight: 700; }

/* ---------- 8. About split ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 80px; align-items: center; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 560px; object-fit: cover; border-radius: var(--radius); position: relative; z-index: 1; }
.split__media::before {
  content: ''; position: absolute; inset: 28px -28px -28px 28px; border: 3px solid var(--gold); border-radius: var(--radius);
}
.split__badge {
  position: absolute; z-index: 2; bottom: 40px; inset-inline-end: -40px;
  background: var(--navy); color: #fff; padding: 24px 30px; border-radius: var(--radius); box-shadow: var(--shadow);
  border-inline-start: 4px solid var(--gold);
}
.split__badge strong { display: block; font-size: 22px; }
.split__badge small { font-family: var(--font-latin); font-size: 11px; letter-spacing: .2em; color: var(--gold-light); font-weight: 700; }
.split__text .heading { margin-bottom: 26px; }
.lead { font-size: 20px; color: var(--navy); font-weight: 500; line-height: 1.8; }
.split__text p + p { margin-top: 16px; }
.split__text .btn { margin-top: 34px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.fact {
  display: flex; align-items: center; gap: 12px; padding: 18px; background: var(--soft);
  border-bottom: 3px solid var(--gold); font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.4;
}
.fact .icon { width: 30px; height: 30px; color: var(--gold); }

/* ---------- 9. Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card {
  position: relative; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 1px 0 var(--line); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__num {
  position: absolute; top: 14px; inset-inline-start: 14px; background: var(--gold); color: #fff;
  font-family: var(--font-latin); font-weight: 800; font-size: 13px; padding: 4px 10px; border-radius: 2px;
}
.service-card__icon {
  position: absolute; top: -28px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: var(--radius);
  background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center;
  border: 4px solid #fff; z-index: 1;
}
.service-card__body { position: relative; padding: 36px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 15.5px; line-height: 1.75; flex: 1; }
.service-card .link-arrow { margin-top: 18px; font-size: 15px; }

/* ---------- 10. Values / features ---------- */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.value {
  padding: 36px 26px; border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--radius);
  background: rgba(255, 255, 255, .03); transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.value:hover { background: rgba(255, 255, 255, .07); border-color: var(--gold); transform: translateY(-6px); }
.value__icon {
  width: 66px; height: 66px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 24px;
}
.value__icon .icon { width: 30px; height: 30px; }
.value h3 { color: var(--gold-light) !important; font-size: 22px; margin-bottom: 10px; }
.value p { color: rgba(255, 255, 255, .8); font-size: 15.5px; line-height: 1.75; }
.section--values { position: relative; overflow: hidden; }
.section--values .watermark { position: absolute; width: 520px; opacity: .05; bottom: -80px; inset-inline-start: -60px; pointer-events: none; }
.section--values .container { position: relative; }

/* ---------- 11. Industries ---------- */
.industries { display: grid; grid-template-columns: 420px 1fr; gap: 50px; align-items: stretch; }
.industries__media { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 460px; }
.industries__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.industries__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 37, 75, .85), transparent 60%); }
.industries__media figcaption { position: absolute; bottom: 28px; inset-inline: 28px; z-index: 1; color: #fff; font-weight: 800; font-size: 22px; line-height: 1.5; }
.industries__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.industry {
  display: flex; align-items: center; gap: 18px; padding: 24px; background: #fff; border: 1px solid var(--line);
  border-inline-start: 4px solid var(--gold); border-radius: var(--radius); transition: box-shadow .3s, transform .3s var(--ease);
}
.industry:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.industry__icon {
  width: 60px; height: 60px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; flex: none;
}
.industry h3 { font-size: 18px; line-height: 1.5; }

/* ---------- 12. Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; counter-reset: step; }
.steps::before { content: ''; position: absolute; top: 46px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px); }
.step { text-align: center; position: relative; }
.step__icon {
  width: 92px; height: 92px; margin: 0 auto; border-radius: 50%; background: #fff; color: var(--navy);
  border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; position: relative; z-index: 1;
  transition: background .3s, color .3s;
}
.step:hover .step__icon { background: var(--navy); color: var(--gold-light); }
.step__icon .icon { width: 38px; height: 38px; }
.step__num { display: block; margin-top: 22px; font-family: var(--font-latin); color: var(--gold); font-weight: 800; letter-spacing: .15em; }
.step h3 { font-size: 21px; margin: 6px 0 8px; }
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* ---------- 13. Why / quality ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.why__media { position: relative; min-height: 480px; }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__text { background: #fff; padding: 64px 56px; }
.why__text .heading { margin-bottom: 20px; }
.checklist { margin-top: 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.checklist .icon { width: 22px; height: 22px; color: #fff; background: var(--gold); border-radius: 50%; padding: 4px; margin-top: 4px; stroke-width: 3; }
.quality-box {
  margin-top: 34px; padding: 28px 30px; background: var(--navy); color: rgba(255, 255, 255, .88);
  border-inline-start: 4px solid var(--gold); border-radius: var(--radius);
}
.quality-box h3 { display: flex; align-items: center; gap: 12px; color: var(--gold-light); font-size: 21px; margin-bottom: 8px; }

/* ---------- 14. CTA band ---------- */
.cta { position: relative; padding: 100px 0; color: #fff; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: rgba(0, 37, 75, .86); }
.cta .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.4vw, 42px); }
.cta p { color: rgba(255, 255, 255, .8); margin-top: 10px; font-size: 18px; max-width: 640px; }
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 15. Vision / mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { position: relative; padding: 50px 44px; border-radius: var(--radius); overflow: hidden; color: #fff; min-height: 340px; }
.vm-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vm-card::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(0, 37, 75, .96) 35%, rgba(0, 37, 75, .6)); }
.vm-card > *:not(img) { position: relative; z-index: 2; }
.vm-card__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.vm-card__icon .icon { width: 30px; height: 30px; color: #fff; }
.vm-card h3 { color: #fff; font-size: 30px; margin-bottom: 12px; }
.vm-card p { font-size: 18.5px; color: rgba(255, 255, 255, .9); }

/* ---------- 16. Objectives ---------- */
.objectives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.objective { position: relative; padding: 34px 30px; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--navy); transition: border-color .3s, box-shadow .3s; }
.objective:hover { border-top-color: var(--gold); box-shadow: var(--shadow); }
.objective__num { position: absolute; top: 18px; inset-inline-end: 24px; font-family: var(--font-latin); font-weight: 800; font-size: 46px; line-height: 1; color: transparent; -webkit-text-stroke: 1.3px var(--gold); }
.objective__icon { width: 54px; height: 54px; background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; border-radius: var(--radius); margin-bottom: 20px; }
.objective p { font-weight: 600; color: var(--ink); }

/* ---------- 17. Service detail rows ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; scroll-margin-top: calc(var(--header-h) + 30px); }
.service-row + .service-row { margin-top: 110px; }
.service-row:nth-child(even) .service-row__media { order: 2; }
.service-row__media { position: relative; }
.service-row__media img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.service-row__num {
  position: absolute; bottom: -24px; inset-inline-start: 30px; background: var(--navy); color: var(--gold-light);
  font-family: var(--font-latin); font-weight: 800; font-size: 28px; padding: 12px 22px; border-radius: var(--radius);
  display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
}
.service-row__num .icon { width: 28px; height: 28px; }
.service-row h2 { font-size: clamp(26px, 2.8vw, 36px); margin: 10px 0 16px; }
.service-row p { font-size: 18px; color: var(--ink); }
.service-row .checklist li { font-size: 16px; }
.service-row .btn { margin-top: 30px; }

.service-nav { position: sticky; top: var(--header-h); z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.service-nav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.service-nav ul::-webkit-scrollbar { display: none; }
.service-nav a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 9px 16px; border-radius: 40px;
  font-weight: 700; font-size: 15px; color: var(--slate); transition: background .2s, color .2s;
}
.service-nav a .icon { width: 18px; height: 18px; color: var(--gold); }
.service-nav a:hover, .service-nav a.is-active { background: var(--navy); color: #fff; }

/* ---------- 18. Contact ---------- */
.contact { display: grid; grid-template-columns: 420px 1fr; gap: 40px; align-items: start; }
.contact-info { background: var(--navy); color: #fff; padding: 46px 38px; border-radius: var(--radius); position: relative; overflow: hidden; }
.contact-info h2 { color: #fff; font-size: 30px; margin-bottom: 10px; }
.contact-info > p { color: rgba(255, 255, 255, .78); }
.contact-info .watermark { position: absolute; width: 300px; opacity: .06; bottom: -40px; inset-inline-end: -60px; }
.contact-list { margin-top: 34px; display: grid; gap: 26px; position: relative; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item__icon { width: 50px; height: 50px; border: 1.5px solid var(--gold); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--gold-light); flex: none; }
.contact-item small { display: block; color: var(--gold-light); font-weight: 700; font-size: 14px; }
.contact-item a, .contact-item span { font-weight: 600; font-size: 17px; }
.contact-item a:hover { color: var(--gold-light); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 46px 42px; box-shadow: var(--shadow); }
.form h2 { font-size: 30px; }
.form > p { color: var(--muted); margin: 8px 0 30px; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; color: var(--navy); font-size: 15px; }
.field label span { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid #cfd8e1; border-radius: var(--radius); background: var(--soft);
  color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(186, 134, 58, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.field__error { color: #c0392b; font-size: 14px; display: none; }
.field.has-error .field__error { display: block; }
.form .btn { margin-top: 26px; }
.form__note { margin-top: 14px; font-size: 14px; color: var(--muted); }
.form__status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius); background: #eef7f0; color: #1e6b3a; font-weight: 600; display: none; }
.form__status.is-visible { display: block; }

.map { margin-top: 70px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25); }

/* ---------- 19. Footer ---------- */
.footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); padding-top: 90px; font-size: 15.5px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 50px; }
.footer__logo { width: 190px; margin-bottom: 20px; }
.footer h3 { color: #fff; font-size: 19px; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h3::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 2px; background: var(--gold); }
.footer__links li + li { margin-top: 10px; }
.footer__links a { transition: color .2s, padding .2s; }
.footer__links a:hover { color: var(--gold-light); padding-inline-start: 6px; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact li + li { margin-top: 14px; }
.footer__contact .icon { width: 20px; height: 20px; color: var(--gold-light); margin-top: 4px; }
.footer__contact a:hover { color: var(--gold-light); }
.footer__bottom { margin-top: 70px; border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 24px; flex-wrap: wrap; font-size: 14px; }
.footer__slogan { color: var(--gold-light); font-weight: 700; }

.to-top {
  position: fixed; bottom: 24px; inset-inline-start: 24px; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--gold); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 20. Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
}

/* ---------- 20b. English (LTR) adjustments ---------- */
html[lang=en] body { font-family: var(--font-latin); font-size: 16px; line-height: 1.75; }
html[lang=en] h1, html[lang=en] h2, html[lang=en] h3 { letter-spacing: -.01em; }
html[lang=en] .hero h1 { font-size: clamp(38px, 5.4vw, 70px); }
html[dir=ltr] .hero::before { background: linear-gradient(90deg, rgba(0, 37, 75, .95) 0%, rgba(0, 37, 75, .78) 45%, rgba(0, 37, 75, .2) 100%); }
html[dir=ltr] .hero__bg { object-position: 70% 50%; }
html[dir=ltr] .page-hero::before { background: linear-gradient(90deg, rgba(0, 37, 75, .95), rgba(0, 37, 75, .6)); }
html[dir=ltr] .btn:hover .icon, html[dir=ltr] .link-arrow:hover .icon { transform: translateX(4px); }
html[dir=ltr] .split__media::before { inset: 28px 28px -28px -28px; }
html[lang=en] .brand__text strong { font-size: 18px; }
html[lang=en] .brand__text small { font-family: var(--font); letter-spacing: 0; font-size: 12px; }

/* ---------- 20c. Dropdown + language switch ---------- */
.nav__item { position: relative; }
.nav__link .icon { width: 16px; height: 16px; margin-inline-start: 4px; vertical-align: -3px; transition: transform .25s; }
.nav__item--has-sub:hover .nav__link .icon, .nav__item--has-sub:focus-within .nav__link .icon { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 8px); inset-inline-start: 0; min-width: 300px; background: #fff;
  border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 10;
}
.subnav::before { content: ""; position: absolute; top: -14px; inset-inline: 0; height: 14px; }
.nav__item--has-sub:hover .subnav, .nav__item--has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); font-weight: 600; color: var(--slate); font-size: 15px; }
.subnav a .icon { width: 20px; height: 20px; color: var(--gold); }
.subnav a:hover { background: var(--soft); color: var(--navy); }
.subnav__all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
.subnav__all a { color: var(--gold); font-weight: 700; justify-content: space-between; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 8px; margin-inline-start: 10px; padding: 9px 14px;
  border-radius: var(--radius); font-weight: 700; color: var(--navy); transition: background .2s, color .2s;
}
.lang-switch .icon { width: 20px; height: 20px; color: var(--gold); }
.lang-switch:hover { background: var(--soft); }
.lang-switch span { font-size: 15px; }
html[lang=ar] .lang-switch span { font-family: var(--font-latin); }
html[lang=en] .lang-switch span { font-family: var(--font); font-size: 16px; }

/* ---------- 20d. Card links ---------- */
.service-card__media { display: block; }
.service-card h3 a:hover, .service-row h2 a:hover { color: var(--gold); }
.service-row__media { display: block; }
.service-row__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.service-row__actions .btn { margin-top: 0; }

/* ---------- 20e. Single service page ---------- */
.service-layout, .article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 60px; align-items: start; }
.service-main__media { position: relative; margin: 0 0 56px; }
.service-main__media img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius); }
.prose h2 { font-size: clamp(28px, 3vw, 40px); margin: 10px 0 18px; }
.includes { margin-top: 44px; padding: 38px 40px; background: var(--soft); border-radius: var(--radius); border-inline-start: 4px solid var(--gold); }
.includes h3 { font-size: 24px; margin-bottom: 22px; }
.includes__list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 30px; }
.includes__list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); }
.includes__list .icon { width: 24px; height: 24px; color: #fff; background: var(--gold); border-radius: 50%; padding: 5px; stroke-width: 3; margin-top: 3px; }
.apart { margin-top: 56px; }
.apart h3 { font-size: 26px; margin: 8px 0 24px; }
.apart__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mini-value { display: flex; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.mini-value > .icon { width: 44px; height: 44px; padding: 10px; border-radius: 50%; background: var(--navy); color: var(--gold-light); }
.mini-value h4 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.mini-value p { font-size: 14.5px; color: var(--muted); line-height: 1.7; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 56px; }
.pager a { padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, background .2s; }
.pager a:hover { border-color: var(--gold); background: var(--soft); }
.pager small { display: block; color: var(--gold); font-weight: 700; font-size: 13px; }
.pager span { font-weight: 800; color: var(--navy); }
.pager__next { text-align: end; }

.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.widget__title { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--soft); position: relative; }
.widget__title::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 40px; height: 2px; background: var(--gold); }
.widget__services li + li { margin-top: 6px; }
.widget__services a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--soft); font-weight: 700; color: var(--slate); font-size: 15px; transition: background .2s, color .2s; }
.widget__services a span { flex: 1; }
.widget__services a .icon { width: 20px; height: 20px; color: var(--gold); }
.widget__services a .icon:last-child { width: 16px; height: 16px; opacity: .5; }
.widget__services a:hover, .widget__services a.is-current { background: var(--navy); color: #fff; }
.widget__services a:hover .icon, .widget__services a.is-current .icon { color: var(--gold-light); opacity: 1; }
.widget--cta { background: var(--navy); color: rgba(255, 255, 255, .85); border: 0; position: relative; overflow: hidden; }
.widget--cta .watermark { position: absolute; width: 220px; opacity: .07; bottom: -30px; inset-inline-end: -40px; }
.widget--cta h3 { color: #fff; font-size: 24px; margin-bottom: 8px; position: relative; }
.widget--cta p { position: relative; }
.widget--cta .btn { width: 100%; margin-top: 22px; position: relative; }
.widget__phone { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; font-weight: 700; color: #fff; position: relative; }
.widget__phone .icon { color: var(--gold-light); width: 20px; height: 20px; }
.widget--faq { display: flex; align-items: center; gap: 14px; font-weight: 700; color: var(--navy); transition: border-color .2s; }
.widget--faq .icon { color: var(--gold); }
.widget--faq span { flex: 1; }
.widget--faq:hover { border-color: var(--gold); }

/* ---------- 20f. FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 60px; align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 24px; }
.faq-chips { display: grid; gap: 8px; }
.faq-chips a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--soft); border-radius: var(--radius); font-weight: 700; color: var(--navy); transition: background .2s, color .2s; }
.faq-chips a span { font-family: var(--font-latin); color: var(--gold); font-weight: 800; }
.faq-chips a:hover { background: var(--navy); color: #fff; }
.faq-group { scroll-margin-top: calc(var(--header-h) + 30px); }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group__title { display: flex; align-items: center; gap: 14px; font-size: 26px; margin-bottom: 20px; }
.faq-group__title span { font-family: var(--font-latin); font-size: 15px; color: #fff; background: var(--gold); padding: 4px 10px; border-radius: 2px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq-item + .faq-item { margin-top: 12px; }
.faq-item[open] { border-color: var(--gold); box-shadow: var(--shadow); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 26px; cursor: pointer; list-style: none; font-weight: 700; font-size: 18px; color: var(--navy); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__toggle { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--soft); flex: none; transition: background .2s; }
.faq-item__toggle::before, .faq-item__toggle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .3s var(--ease), background .2s; }
.faq-item__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__toggle { background: var(--gold); }
.faq-item[open] .faq-item__toggle::before, .faq-item[open] .faq-item__toggle::after { background: #fff; }
.faq-item[open] .faq-item__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item__answer { padding: 0 26px 24px; color: var(--muted); }

/* ---------- 20g. Articles ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 50px; }
.filter { border: 1px solid var(--line); background: #fff; padding: 10px 22px; border-radius: 40px; font-weight: 700; color: var(--slate); cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--gold); color: var(--navy); }
.filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card.is-hidden { display: none; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.06); }
.post-card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta, .article-meta { display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.post-card__meta span, .article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-card__meta .icon, .article-meta .icon { width: 16px; height: 16px; color: var(--gold); }
.tag { background: rgba(186, 134, 58, .12); color: #8d6224 !important; font-weight: 700; padding: 3px 12px; border-radius: 40px; font-size: 13px; }
.post-card h3 { font-size: 21px; line-height: 1.45; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.post-card .link-arrow { margin-top: 18px; font-size: 15px; }
.post-card--featured { grid-column: 1 / -1; flex-direction: row; }
.post-card--featured .post-card__media { flex: 0 0 55%; aspect-ratio: auto; min-height: 380px; }
.post-card--featured .post-card__body { padding: 50px 48px; justify-content: center; }
.post-card--featured h3 { font-size: clamp(24px, 2.4vw, 32px); }
.post-card--featured p { flex: none; font-size: 17px; }
.page-hero .article-meta { margin: 22px 0 0; color: rgba(255, 255, 255, .8); }
.page-hero .tag { background: var(--gold); color: #fff !important; }

.article__cover { width: 100%; height: 460px; object-fit: cover; border-radius: var(--radius); margin-bottom: 46px; }
.article__body { font-size: 18px; }
.article__body h2 { font-size: clamp(24px, 2.4vw, 30px); margin: 44px 0 14px; }
.article__body p + p { margin-top: 16px; }
.article__body ul { margin: 16px 0; display: grid; gap: 10px; }
.article__body ul li { position: relative; padding-inline-start: 28px; }
.article__body ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); }
.article__body blockquote { margin: 40px 0 0; padding: 28px 32px; background: var(--navy); color: #fff; border-inline-start: 4px solid var(--gold); border-radius: var(--radius); font-weight: 600; font-size: 18.5px; }
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: 16px; }
.table-wrap th { background: var(--navy); color: #fff; font-weight: 700; padding: 14px 18px; text-align: start; }
.table-wrap td { padding: 13px 18px; border-top: 1px solid var(--line); }
.table-wrap tr:nth-child(even) td { background: var(--soft); }
.table-wrap td:first-child { font-weight: 700; color: var(--navy); }
.article__footer { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.widget__posts li + li { margin-top: 16px; }
.widget__posts a { display: flex; gap: 14px; align-items: center; }
.widget__posts img { width: 92px; height: 70px; object-fit: cover; border-radius: var(--radius); flex: none; }
.widget__posts span { font-weight: 700; color: var(--navy); font-size: 15px; line-height: 1.5; }
.widget__posts small { display: block; color: var(--gold); font-size: 12.5px; }
.widget__posts a:hover span { color: var(--gold); }

/* ---------- 21. Responsive ---------- */
@media (max-width: 1180px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .industries { grid-template-columns: 1fr; }
  .industries__media { min-height: 300px; }
  .split__badge { inset-inline-end: 20px; }
}

@media (max-width: 1200px) {
  :root { --header-h: 72px; }
  /* backdrop-filter would make the fixed menu size itself to the header */
  .header { backdrop-filter: none; background: #fff; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); inset-inline: 0; bottom: 0; background: #fff;
    flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 40px;
    transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; overflow-y: auto;
  }
  html[dir=ltr] .nav { transform: translateX(-100%); }
  .nav.is-open, html[dir=ltr] .nav.is-open { transform: none; visibility: visible; }
  .nav__link { padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .nav__link::after { display: none; }
  .nav__link .icon { display: none; }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 4px 0 10px; min-width: 0; display: grid; grid-template-columns: 1fr 1fr; }
  .subnav a { padding: 8px 10px; font-size: 15px; }
  .subnav__all { display: none; }
  .lang-switch { margin: 18px 0 0; justify-content: center; border: 1px solid var(--line); padding: 12px; }
  .header__cta { margin: 14px 0 0; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 980px) {
  .section { padding-block: 80px; }
  .topbar__list--secondary { display: none; }
  .split, .why, .contact, .vm-grid, .service-row { grid-template-columns: 1fr; gap: 50px; }
  .split__media img { height: 420px; }
  .service-row:nth-child(even) .service-row__media { order: 0; }
  .service-row + .service-row { margin-top: 80px; }
  .service-row__media img { height: 340px; }
  .objectives { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .steps::before { display: none; }
  .why__media { min-height: 320px; }
  .why__text { padding: 46px 32px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 18px; }
  .section { padding-block: 64px; }
  .heading { margin-bottom: 40px; }
  .topbar { display: none; }
  .brand img { height: 44px; }
  .brand__text strong { font-size: 18px; }
  .hero { min-height: auto; }
  .hero .container { padding-block: 90px 70px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__stats { gap: 18px; flex-direction: column; margin-top: 44px; }
  .page-hero { padding: 90px 0 70px; }
  .services-grid, .values-grid, .objectives, .industries__grid, .steps, .facts, .form__grid, .footer__grid, .subnav { grid-template-columns: 1fr; }
  .split__media::before { inset: 16px -12px -16px 12px; }
  .split__media img { height: 320px; }
  .split__badge { position: relative; bottom: auto; inset-inline-end: auto; margin-top: -40px; margin-inline: 20px; }
  .vm-card { padding: 40px 28px; }
  .form, .contact-info { padding: 34px 22px; }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .cta__actions, .cta__actions .btn { width: 100%; }
  .map iframe { height: 320px; }
  .footer { padding-top: 64px; }
  .footer__grid { gap: 40px; }
  .footer__bottom .container { flex-direction: column; text-align: center; }
}

/* ---------- 22. Responsive — new pages ---------- */
@media (max-width: 1180px) {
  .service-layout, .article-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .apart__grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .service-layout, .article-layout, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar, .faq-aside { position: static; }
  .faq-chips { grid-template-columns: 1fr 1fr; }
  .service-main__media img, .article__cover { height: 360px; }
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card__media { flex: none; min-height: 0; aspect-ratio: 16 / 10; }
  .post-card--featured .post-card__body { padding: 28px 26px; }
}
@media (max-width: 640px) {
  .posts-grid, .includes__list, .pager, .faq-chips { grid-template-columns: 1fr; }
  .includes { padding: 28px 22px; }
  .service-main__media img, .article__cover { height: 260px; }
  .faq-item summary { padding: 18px; font-size: 16.5px; }
  .faq-item__answer { padding: 0 18px 20px; }
  .article__body { font-size: 16.5px; }
  .service-row__actions .btn { flex: 1 1 100%; }
  .pager__next { text-align: start; }
}

/* ---------- 23. WordPress integration ---------- */
.nav__menu { display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.nav__menu > li { list-style: none; }
.subnav { list-style: none; margin: 0; }
.subnav a span { flex: 1; }
.brand__logo { height: 52px; width: auto; }
.admin-bar .header { top: var(--wp-admin--admin-bar--height, 32px); }
.container--narrow { max-width: 900px; }
.industries__media { margin: 0; }
.split__media img, .why__media img, .service-row__media img, .service-card__media img, .post-card__media img { display: block; }
.hn-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__status--error { background: #fdecea; color: #a32a1d; }
.form .form__status { margin: 0 0 22px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.socials { display: flex; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: flex; align-items: center; justify-content: center; color: #fff; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); }
.socials .icon { width: 18px; height: 18px; }

.wa-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); }
.wa-float .icon { width: 28px; height: 28px; }

.pagination { margin-top: 50px; }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 700; color: var(--navy); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.pagination .icon { width: 18px; height: 18px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Editor content */
.prose h3 { font-size: 22px; margin: 32px 0 10px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose img { height: auto; border-radius: var(--radius); }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: 14px; color: var(--muted); margin-top: 8px; text-align: center; }
.prose ol { padding-inline-start: 22px; display: grid; gap: 8px; margin: 16px 0; }
.prose .alignleft { float: left; margin: 0 24px 16px 0; }
.prose .alignright { float: right; margin: 0 0 16px 24px; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-image img { width: 100%; }

@media (max-width: 1200px) {
  .nav__menu { flex-direction: column; align-items: stretch; gap: 0; }
  .admin-bar .nav { top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 46px)); }
}
@media screen and (max-width: 600px) {
  .admin-bar .header { top: 0; }
}
@media (max-width: 640px) {
  .wa-float { bottom: 18px; inset-inline-end: 18px; width: 50px; height: 50px; }
}
