/* =========================================================
   Peace Contracting & General Services — site styles (EN + AR/RTL)
   Type: Libre Caslon Text (display) + Hanken Grotesk (text)
   ========================================================= */

/* ---------- self-hosted fonts (assets/fonts, SIL OFL) ---------- */
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Libre Caslon Text"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/hanken-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Brand: Peace logo gold + charcoal black */
  --navy: #16140F;              /* primary dark (name kept for compatibility) */
  --teal: #24211B;              /* secondary dark */
  --ink: #1E1C18;
  --muted: #5E5A52;
  --gold: #B48A3C;
  --gold-2: #D2AE62;
  --gold-ink: #85631F;          /* gold dark enough for small text on white */
  --paper: #FFFFFF;
  --sand: #F7F5F0;
  --line: #E8E4DA;

  --serif: "Libre Caslon Text", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  --serif-ar: "Amiri", "Traditional Arabic", "Times New Roman", serif;
  --sans-ar: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, system-ui, sans-serif;

  --wrap: 1240px;
  --gut: clamp(16px, 3vw, 32px);
  --sec: clamp(44px, 5vw, 64px);
  --r: 4px;
  --shadow: 0 1px 2px rgba(22, 20, 15, .05), 0 6px 18px -8px rgba(22, 20, 15, .14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font: 400 15px/1.6 var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }

h1, h2 {
  font-family: var(--serif);
  color: var(--navy);
  letter-spacing: -.012em;
  line-height: 1.14;
  text-wrap: balance;
}
h2 { font-size: clamp(1.55rem, 1.1rem + 1.4vw, 2.15rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: .95rem; line-height: 1.3; color: var(--navy); }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--gold); color: #fff; padding: 10px 14px; border-radius: var(--r); font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 2px; }

.ic { width: 1em; height: 1em; flex: none; }

/* ---------- shared bits ---------- */
.eyebrow {
  font: 700 .72rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: .7rem;
}
.eyebrow--light { color: var(--gold-2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 42px; padding: .6rem 1.2rem;
  font: 600 .875rem/1 var(--sans); letter-spacing: .01em;
  border-radius: var(--r);
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
  white-space: nowrap;
}
.btn .ic { transition: transform .25s var(--ease); }
.btn:hover .ic { transform: translateX(3px); }
.btn--gold { background: var(--gold); color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .12); }
.btn--gold:hover { background: #A97A1D; }
.btn--ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .85); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--lg { min-height: 50px; padding: .8rem 1.6rem; font-size: .92rem; }

.link-more {
  display: inline-flex; align-items: center; gap: .4em;
  font: 600 .84rem/1 var(--sans); color: var(--gold-ink);
  white-space: nowrap;
}
.link-more .ic { transition: transform .25s var(--ease); }
.link-more:hover .ic { transform: translateX(3px); }
.link-more:hover { color: var(--navy); }
.link-more--sm { font-size: .78rem; }

.section { padding-block: var(--sec); }
.section--tint { background: var(--sand); }
.section--flush-top { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.sec-head--tight { margin-bottom: 18px; }
.sec-sub { color: var(--muted); margin-top: .6rem; max-width: 70ch; font-size: .93rem; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: .76rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.topbar__mid { display: flex; gap: 26px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar .ic { color: var(--gold-2); font-size: 13px; }
a.topbar__item:hover { color: #fff; }

.social { display: flex; gap: 8px; }
.social a {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background .2s, border-color .2s;
}
.social a:hover { background: var(--gold); border-color: var(--gold); }
.social svg { width: 14px; height: 14px; }
.social--top a { width: 22px; height: 22px; border: 0; color: var(--gold-2); }
.social--top a:hover { background: none; color: #fff; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-stuck { box-shadow: 0 6px 20px -12px rgba(22, 20, 15, .35); }
.header__in { display: flex; align-items: center; gap: 24px; min-height: 78px; }

.logo { display: flex; align-items: center; gap: 10px; line-height: 1; flex: none; }
.logo__img { width: 64px; height: auto; }
.logo__text { display: flex; flex-direction: column; }
.logo__name { font: 700 1.02rem/1.1 var(--serif); color: var(--navy); letter-spacing: .01em; }
.logo__tag { font: 600 .7rem/1.3 var(--sans); color: var(--gold-ink); letter-spacing: .04em; margin-top: 3px; }
.logo--dark .logo__name { color: #fff; }
.logo--dark .logo__tag { color: var(--gold-2); }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(12px, 1.35vw, 24px); }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 28px 0; font: 600 .84rem/1 var(--sans); color: var(--ink); white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after, .has-drop.is-open > .nav__link::after { transform: scaleX(1); }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.has-drop { position: relative; }
.has-drop.is-open .chev { transform: rotate(180deg); }

.drop {
  position: absolute; top: 100%; inset-inline-start: -16px; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold);
  border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow);
  padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-drop.is-open .drop, .has-drop:hover .drop { opacity: 1; visibility: visible; transform: none; }
.drop a { display: block; padding: 9px 18px; font-size: .86rem; color: var(--ink); }
.drop a:hover, .drop a:focus-visible { background: var(--sand); color: var(--gold-ink); }

.header__cta { flex: none; }
.nav__cta-mobile, .burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0E0D0A;
  min-height: clamp(440px, 46vw, 600px);
  display: flex; align-items: center;
}
.hero__img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%;
}
/* black overlay: strong behind the text, lighter on the right so the team stays visible */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .74) 40%, rgba(0, 0, 0, .38) 72%, rgba(0, 0, 0, .25) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%);
}
.hero__in { padding-block: clamp(56px, 7vw, 96px); }
.hero h1 {
  color: #fff; max-width: 19ch;
  font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); line-height: 1.06;
}
.hero__lead { margin-top: 1.1rem; max-width: 46ch; color: rgba(255, 255, 255, .88); font-size: clamp(.98rem, .9rem + .3vw, 1.1rem); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }

/* ---------- trust strip ---------- */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.trust__item + .trust__item { border-inline-start: 1px solid var(--line); }
.trust__item:first-child { padding-inline-start: 0; }
.trust__ic { width: 30px; height: 30px; color: var(--navy); flex: none; }
.trust strong { display: block; font-size: .86rem; color: var(--navy); line-height: 1.25; }
.trust span { display: block; font-size: .76rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.trust__big { font: 400 1.7rem/1 var(--serif) !important; }

/* ---------- cleaning cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.svc {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.svc:hover { transform: translateY(-3px); border-color: #D9C9A3; box-shadow: 0 14px 28px -16px rgba(22, 20, 15, .35); }
.svc__img { aspect-ratio: 1 / .9; overflow: hidden; background: var(--sand); }
.svc__img img, .oth figure img, .post figure img, .gal img, .team__img img, .about__img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease);
}
.svc:hover .svc__img img { transform: scale(1.05); }
.svc__body { display: flex; flex-direction: column; flex: 1; padding: 13px 13px 15px; }
.svc h3 { font-size: .86rem; }
.svc p { font-size: .76rem; line-height: 1.5; color: var(--muted); margin: 6px 0 12px; }
.svc .link-more { margin-top: auto; }

/* ---------- about ---------- */
.about { background: var(--sand); padding-block: clamp(24px, 3vw, 36px); }
.about__grid {
  max-width: 1440px; margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr 1.15fr .78fr; gap: clamp(20px, 3vw, 40px);
  align-items: center; padding-inline-end: var(--gut);
}
.about__img { height: 100%; min-height: 300px; overflow: hidden; }
.about__copy h2 { font-size: clamp(1.4rem, 1rem + 1.1vw, 1.8rem); }
.about__copy > p:not(.eyebrow) { color: var(--muted); font-size: .9rem; margin: 14px 0 20px; max-width: 60ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 26px 0 0; border-top: 1px solid var(--line); padding-top: 18px; }
.facts > div { padding-inline: 16px; }
.facts > div:first-child { padding-inline-start: 0; }
.facts > div + div { border-inline-start: 1px solid var(--line); }
.facts .ic { color: var(--gold); font-size: 22px; margin-bottom: 8px; }
.facts dt { font: 400 1.3rem/1.1 var(--serif); color: var(--navy); }
.facts dd { margin: 3px 0 0; font-size: .76rem; color: var(--muted); }

.why { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 24px 22px; box-shadow: var(--shadow); }
.why h3 { font: 400 1.25rem/1.2 var(--serif); margin-bottom: 14px; }
.why li { display: flex; gap: 10px; align-items: center; padding: 6px 0; font-size: .84rem; }
.why .ic { width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--gold); color: #fff; }

/* ---------- process ---------- */
.process {
  background: var(--teal) linear-gradient(180deg, var(--navy), var(--teal));
  color: #fff; padding-block: var(--sec);
}
.process__head { text-align: center; margin-bottom: 40px; }
.process__head h2 { color: #fff; }
.process__head p:last-child { color: rgba(255, 255, 255, .72); margin-top: 8px; font-size: .92rem; }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; counter-reset: s; }
.step { position: relative; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 24px; inset-inline-start: 64px; inset-inline-end: -18px; height: 1px;
  background: repeating-linear-gradient(90deg, rgba(214, 161, 59, .65) 0 5px, transparent 5px 10px);
}
.step__ic {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #fff; box-shadow: 0 0 0 6px rgba(214, 161, 59, .14); margin-bottom: 18px;
}
.step__ic svg { width: 22px; height: 22px; }
.step h3 { color: #fff; font-size: .92rem; display: flex; align-items: baseline; gap: 8px; }
.step__n { font: 400 .78rem/1 var(--serif); color: var(--gold-2); font-style: italic; }
.step p { color: rgba(255, 255, 255, .72); font-size: .8rem; margin-top: 6px; line-height: 1.5; }

/* ---------- other services ---------- */
.oth-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.oth a { display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.oth a:hover { border-color: #D9C9A3; box-shadow: var(--shadow); }
.oth a:hover img { transform: scale(1.05); }
.oth figure { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.oth h3 { font-size: .78rem; padding: 10px 11px 12px; }
.oth a:hover h3 { color: var(--gold-ink); }

/* ---------- team + gallery ---------- */
.tg { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.team__copy p:not(.eyebrow) { color: var(--muted); font-size: .88rem; margin: 12px 0 20px; }
.team__copy h2, .gallery h2 { font-size: clamp(1.35rem, 1rem + .9vw, 1.65rem); }
.team__img { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gal { display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: var(--r); }
.gal:hover img { transform: scale(1.07); }

/* ---------- testimonials ---------- */
.tst { position: relative; margin-top: 28px; padding-inline: 52px; }
.tst__viewport { overflow: hidden; }
.tst__track { display: flex; gap: 20px; transition: transform .45s var(--ease); touch-action: pan-y; }
.tst__card { flex: 0 0 calc((100% - 40px) / 3); }
.tst blockquote {
  position: relative; margin: 0; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px 22px 66px; box-shadow: var(--shadow);
}
.tst blockquote::before {
  content: "\201C"; position: absolute; left: 20px; top: 12px;
  font: 400 3.4rem/1 var(--serif); color: var(--gold);
}
.tst blockquote p { font-size: .88rem; color: var(--ink); }
.tst blockquote footer { margin-top: 12px; font-size: .76rem; color: var(--muted); }
.tst__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: #fff; color: var(--navy); transition: background .2s, color .2s, border-color .2s;
}
.tst__nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tst__nav:disabled { opacity: .35; pointer-events: none; }
.tst__nav svg { width: 16px; height: 16px; }
.tst__nav--prev { left: 0; }
.tst__nav--next { right: 0; }

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post a { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; }
.post figure { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
.post a:hover img { transform: scale(1.06); }
.post h3 { font-size: .92rem; line-height: 1.35; transition: color .2s; }
.post a:hover h3 { color: var(--gold-ink); }
.post__meta { display: flex; gap: 10px; margin-top: 8px; font-size: .76rem; color: var(--muted); }
.post__meta span::before { content: ""; display: inline-block; width: 1px; height: 10px; background: #B9BCBE; margin-right: 10px; vertical-align: -1px; }

/* ---------- CTA ---------- */
.cta {
  position: relative; isolation: isolate; color: #fff;
  background: var(--navy) url("../images/cta-workers-sunset.webp") center / cover no-repeat;
  padding-block: clamp(36px, 4vw, 48px);
}
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 20, 15, .95) 30%, rgba(22, 20, 15, .82)), linear-gradient(0deg, rgba(4, 33, 43, .5), rgba(4, 33, 43, .5)); }
.cta__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta h2 { color: #fff; font-size: clamp(1.35rem, 1rem + 1.1vw, 1.85rem); }
.cta p:not(.eyebrow) { color: rgba(255, 255, 255, .78); margin-top: 6px; font-size: .9rem; }
.cta__actions { display: flex; align-items: center; gap: 28px; flex: none; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; font: 600 1.05rem/1 var(--sans); white-space: nowrap; }
.cta__phone .ic { color: var(--gold-2); font-size: 22px; }

/* ---------- footer ---------- */
.footer { background: #100E0A; color: rgba(255, 255, 255, .72); font-size: .82rem; }
.footer__grid { display: grid; grid-template-columns: 1.5fr .9fr 1.1fr 1.1fr 1.2fr; gap: 32px; padding-block: 52px 40px; }
.footer__brand p { margin: 16px 0 18px; max-width: 34ch; line-height: 1.6; }
.footer__h { font: 700 .82rem/1.3 var(--sans); color: var(--gold-2); letter-spacing: .04em; margin-bottom: 14px; }
.footer nav li { margin-bottom: 7px; }
.footer a:hover { color: #fff; }
.footer address { font-style: normal; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer__contact .ic { color: var(--gold-2); font-size: 15px; margin-top: 2px; }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .76rem; }
.footer__bar-in { display: flex; justify-content: space-between; gap: 16px; padding-block: 16px; flex-wrap: wrap; }
.footer__bar .sep { margin-inline: 10px; opacity: .4; }

.totop {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: #fff; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .4);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop svg { width: 18px; height: 18px; }

/* ---------- dialogs ---------- */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(12, 11, 8, .72); }
.modal { width: min(640px, calc(100% - 32px)); border-radius: 6px; }
.modal__close {
  position: absolute; top: 12px; right: 12px; display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%; color: var(--navy); background: var(--sand);
}
.modal__close svg { width: 18px; height: 18px; }
.modal__body { padding: clamp(24px, 4vw, 36px); }
.modal__body h2 { font-size: 1.5rem; margin-bottom: 20px; }
.qform__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-bottom: 20px; }
.qform label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--navy); }
.qform input, .qform select, .qform textarea {
  font: 400 .92rem/1.4 var(--sans); color: var(--ink);
  border: 1px solid #D5D4CE; border-radius: var(--r); padding: 10px 12px; background: #fff; width: 100%;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 0; border-color: transparent; }
.qform [aria-invalid="true"] { border-color: #B3261E; }
.qform .err { min-height: 1em; font-size: .72rem; font-weight: 500; color: #B3261E; }
.qform .span-2 { grid-column: 1 / -1; }
.qform__note { margin-top: 12px; font-size: .74rem; color: var(--muted); }

.lightbox { background: transparent; max-width: min(92vw, 900px); overflow: visible; }
.lightbox img { width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; }
.lightbox .modal__close { top: -48px; right: 0; background: #fff; }
.lightbox__cap { color: #fff; text-align: center; margin-top: 10px; font-size: .88rem; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .header__in { gap: 18px; }
  .svc-grid { grid-template-columns: repeat(7, 200px); }
  .rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut); }
  .svc { scroll-snap-align: start; }
  .oth-grid { grid-template-columns: repeat(4, 1fr); }
  .about__grid { grid-template-columns: 1fr 1.1fr; padding-inline-start: 0; }
  .why { grid-column: 2; }
  .about__img { grid-row: span 2; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__contact ul { display: flex; flex-wrap: wrap; gap: 8px 32px; }
}

@media (max-width: 1320px) {
  .header__cta { display: none; }
  .burger {
    display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; margin-left: auto;
    border: 1px solid var(--line); border-radius: var(--r);
  }
  .burger span { display: block; width: 20px; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--hdr, 112px) 0 0 0; z-index: 49;
    background: #fff; overflow-y: auto; padding: 8px var(--gut) 32px;
    opacity: 0; transform: translateY(-10px); visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list > li { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 16px 0; font-size: .95rem; }
  .nav__link::after { display: none; }
  .nav__link.is-active { color: var(--gold-ink); }
  .drop { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 12px; min-width: 0; }
  .has-drop:hover .drop { display: none; }
  .has-drop.is-open .drop { display: block; }
  .nav__cta-mobile { display: flex; width: 100%; margin-top: 22px; min-height: 50px; }
  body.nav-open { overflow: hidden; }

  .trust__grid { grid-template-columns: repeat(3, 1fr); }
  .trust__item { padding: 16px; }
  .trust__item:nth-child(4) { border-inline-start: 0; padding-inline-start: 0; }
  .trust__item:nth-child(n+4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .step:nth-child(3)::after { display: none; }
  .tg { grid-template-columns: 1fr; }
  .tst__card { flex-basis: calc((100% - 20px) / 2); }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .post a { grid-template-columns: 160px 1fr; }
  .cta__in { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
  .hide-md { display: none; }
  .hero { align-items: flex-end; min-height: 560px; }
  .hero__img { object-position: 64% 50%; }
  .hero::before { background: linear-gradient(0deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .78) 45%, rgba(0, 0, 0, .6) 100%); }
  .about__grid { grid-template-columns: 1fr; padding: 0 var(--gut); }
  .about__img { grid-row: auto; min-height: 0; aspect-ratio: 16 / 10; margin-inline: calc(var(--gut) * -1); }
  .why { grid-column: auto; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .hide-sm { display: none; }
  .social--top { display: none; }
  .topbar__in { justify-content: space-between; }
  .header__in { min-height: 70px; }
  .logo__img { width: 50px; }
  .logo__name { font-size: .9rem; }
  .logo__tag { font-size: .62rem; }
  .hero__btns .btn { flex: 1 1 100%; }
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item, .trust__item:first-child { padding: 14px 12px; border-inline-start: 0 !important; border-top: 1px solid var(--line); }
  .trust__item:nth-child(-n+2) { border-top: 0; }
  .trust__item:nth-child(even) { border-inline-start: 1px solid var(--line) !important; }
  .trust__item:last-child { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(7, 72%); }
  .oth-grid { grid-template-columns: repeat(2, 1fr); }
  .facts > div { padding-inline: 10px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding-bottom: 26px; }
  .step__ic { grid-row: span 2; margin: 0; }
  .step p { margin-top: 4px; }
  .step:not(:last-child)::after {
    display: block; top: 56px; bottom: 4px; inset-inline-start: 24px; inset-inline-end: auto; width: 1px; height: auto;
    background: repeating-linear-gradient(180deg, rgba(214, 161, 59, .65) 0 5px, transparent 5px 10px);
  }
  .team { grid-template-columns: 1fr; }
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .tst { padding-inline: 0; padding-bottom: 56px; }
  .tst__card { flex-basis: 100%; }
  .tst__nav { top: auto; bottom: 0; transform: none; }
  .tst__nav--prev { left: calc(50% - 46px); }
  .tst__nav--next { right: calc(50% - 46px); }
  .post a { grid-template-columns: 110px 1fr; gap: 14px; }
  .cta__actions { flex-direction: column; align-items: stretch; width: 100%; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer__contact { grid-column: 1 / -1; }
  .footer__contact ul { display: block; }
  .qform__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   Inner pages (added for the multi-page PHP theme)
   ========================================================= */

/* nav extras */
.drop__all { display: flex !important; align-items: center; gap: 6px; font-weight: 700; color: var(--gold-ink) !important; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.drop__all .ic { font-size: 13px; }

/* page hero */
.phero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; }
.phero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: blur(1.5px) saturate(.9); transform: scale(1.03); }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(22, 20, 15, .96) 0%, rgba(22, 20, 15, .86) 45%, rgba(22, 20, 15, .55) 100%); }
.phero__in { padding-block: clamp(44px, 6vw, 84px); }
.phero h1 { color: #fff; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); max-width: 22ch; }
.phero__lead { margin-top: 14px; max-width: 58ch; color: rgba(255, 255, 255, .85); font-size: clamp(.98rem, .92rem + .25vw, 1.08rem); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-bottom: 22px; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a:hover { color: var(--gold-2); }
.crumbs [aria-current] { color: #fff; }

/* shared content blocks */
.prose p { color: var(--muted); margin-top: 14px; max-width: 64ch; }
.prose h2 + p { margin-top: 16px; }
.prose a:not(.btn) { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn--line { border: 1.5px solid var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--line .ic { font-size: 18px; }
.btn:hover .ic[href], .btn--line:hover .ic { transform: none; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow); }
.split__img img { width: 100%; height: 100%; object-fit: cover; }
.split--rev .split__img { order: -1; }

.two-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.ticks .ic { flex: none; width: 20px; height: 20px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--gold); color: #fff; }
.panel { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: 26px 24px; box-shadow: var(--shadow); }
.panel h3 { font: 400 1.15rem/1.2 var(--serif); margin-bottom: 12px; }
.panel h3:not(:first-child) { margin-top: 22px; }
.panel p { font-size: .88rem; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .78rem; font-weight: 600; color: var(--navy); background: var(--sand); border: 1px solid var(--line); padding: 6px 11px; border-radius: 3px; }

.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 30px; counter-reset: m; border-top: 1px solid var(--line); }
.mini-steps li { padding: 22px 24px 0 0; position: relative; }
.mini-steps li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line); }
.mini-step__n { font: italic 400 1.6rem/1 var(--serif); color: var(--gold); }
.mini-steps h3 { margin: 12px 0 6px; }
.mini-steps p { font-size: .85rem; color: var(--muted); }

.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.faq__head .sec-sub a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); font-size: .95rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .ic { flex: none; color: var(--gold); transition: transform .2s; }
.faq__item[open] summary .ic { transform: rotate(180deg); }
.faq__item summary:hover { color: var(--gold-ink); }
.faq__a { padding: 0 32px 18px 0; color: var(--muted); font-size: .9rem; }

.svc-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 20px; }
.svc-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 20px; }
.svc-grid--3 .svc h3, .svc-grid--4 .svc h3 { font-size: .98rem; }
.svc-grid--3 .svc p, .svc-grid--4 .svc p { font-size: .84rem; }
.svc-grid--3 .svc__img, .svc-grid--4 .svc__img { aspect-ratio: 4 / 3; }

.lead-in { max-width: 70ch; margin-bottom: 34px; }
.lead-in p { color: var(--muted); margin-top: 12px; }
.center { text-align: center; margin-inline: auto; }

/* about */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px 24px; }
.value .ic { font-size: 30px; color: var(--gold); margin-bottom: 16px; }
.value h3 { font: 400 1.2rem/1.2 var(--serif); margin-bottom: 8px; }
.value p { font-size: .88rem; color: var(--muted); }
.timeline { position: relative; margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.timeline::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline li { position: relative; padding: 34px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 3px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--line); }
.timeline .yr { font: 400 1.5rem/1 var(--serif); color: var(--navy); }
.timeline h3 { margin: 8px 0 6px; }
.timeline p { font-size: .87rem; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; margin-top: 34px; }
.stats div { padding: 22px; }
.stats div + div { border-inline-start: 1px solid var(--line); }
.stats strong { display: block; font: 400 1.9rem/1 var(--serif); color: var(--navy); }
.stats span { font-size: .8rem; color: var(--muted); }

/* how we work (detailed) */
.flow { counter-reset: f; display: grid; gap: 0; margin-top: 10px; }
.flow__item { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 28px; padding: 30px 0; border-bottom: 1px solid var(--line); align-items: start; }
.flow__n { font: italic 400 2.6rem/1 var(--serif); color: var(--gold); }
.flow__item h3 { font: 400 1.35rem/1.2 var(--serif); }
.flow__item h3 + p { color: var(--muted); margin-top: 8px; font-size: .92rem; }
.flow__item ul { display: grid; gap: 8px; }
.flow__item li { display: flex; gap: 10px; font-size: .88rem; }
.flow__item li .ic { color: var(--gold); flex: none; margin-top: 3px; }
.promise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.promise div { padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.promise .ic { color: var(--gold); font-size: 26px; margin-bottom: 12px; }
.promise h3 { margin-bottom: 6px; }
.promise p { font-size: .84rem; color: var(--muted); }

/* other services (detailed rows) */
.orow { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; padding-block: clamp(30px, 4vw, 48px); border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.orow:nth-child(even) .orow__img { order: 2; }
.orow__img { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.orow__img img { width: 100%; height: 100%; object-fit: cover; }
.orow__n { font: italic 400 .95rem/1 var(--serif); color: var(--gold-ink); }
.orow h2 { font-size: clamp(1.35rem, 1rem + .9vw, 1.7rem); margin: 8px 0 12px; }
.orow p { color: var(--muted); font-size: .92rem; }
.orow .ticks { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.orow .ticks li { font-size: .85rem; }
.orow .link-more { margin-top: 20px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { font-size: .8rem; font-weight: 600; padding: 8px 13px; border: 1px solid var(--line); border-radius: 3px; background: #fff; }
.jump a:hover { border-color: var(--gold); color: var(--gold-ink); }

/* team */
.roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.role { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 26px 22px; position: relative; overflow: hidden; }
.role::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 40px; background: var(--gold); }
.role .ic { font-size: 28px; color: var(--navy); margin-bottom: 14px; }
.role h3 { font: 400 1.15rem/1.2 var(--serif); margin-bottom: 8px; }
.role p { font-size: .85rem; color: var(--muted); }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.person { background: #fff; border: 1px dashed #CFC8B6; border-radius: var(--r); padding: 22px; display: flex; gap: 16px; align-items: center; }
.person__ph { flex: none; width: 64px; height: 64px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--gold); font: 400 1.3rem/1 var(--serif); }
.person h3 { font-size: .95rem; }
.person p { font-size: .8rem; color: var(--muted); }

/* gallery page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { font-size: .84rem; font-weight: 600; padding: 9px 16px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--navy); transition: .2s; }
.filters button[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.filters button:hover:not([aria-pressed="true"]) { border-color: var(--gold); }
.gal-grid--page { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-grid--page li[hidden] { display: none; }
.gal-grid--page .gal { aspect-ratio: 4 / 3; position: relative; }
.gal__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .78rem; font-weight: 600; color: #fff; text-align: left; background: linear-gradient(transparent, rgba(12, 11, 8, .8)); opacity: 0; transform: translateY(6px); transition: .25s; }
.gal:hover .gal__cap, .gal:focus-visible .gal__cap { opacity: 1; transform: none; }
.lightbox figure { margin: 0; }
.lightbox__nav { position: fixed; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); }
.lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox:not(.has-nav) .lightbox__nav { display: none; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.ccards { display: grid; gap: 14px; margin-top: 26px; }
.ccard { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.ccard .ic { flex: none; width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: var(--sand); color: var(--gold-ink); }
.ccard h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ccard p, .ccard a { font-size: 1rem; font-weight: 600; color: var(--navy); }
.ccard a:hover { color: var(--gold-ink); }
.form-card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--r); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.4rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.map { border: 0; width: 100%; height: 380px; display: block; filter: grayscale(.25); }
.notice { padding: 12px 16px; border-radius: var(--r); font-size: .88rem; margin-bottom: 18px; }
.notice--err { background: #FDECEA; color: #8C1D18; border: 1px solid #F3C2BE; }

/* form extras */
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.qform__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.qform__actions .btn--line .ic { font-size: 18px; }
.qform__status { margin-top: 14px; font-size: .88rem; font-weight: 600; }
.qform__status.is-ok { color: #1E6B3A; }
.qform__status.is-err { color: #B3261E; }
.qform button[disabled] { opacity: .6; pointer-events: none; }

/* blog listing + article */
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, transform .25s var(--ease); }
.pcard a:hover { box-shadow: 0 14px 28px -16px rgba(22, 20, 15, .35); transform: translateY(-3px); }
.pcard figure { aspect-ratio: 16 / 10; overflow: hidden; }
.pcard img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard a:hover img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pcard h2 { font: 400 1.22rem/1.3 var(--serif); margin: 10px 0 8px; color: var(--navy); }
.pcard p:not(.post__meta) { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.pcard .link-more { margin-top: auto; }
.post__meta { flex-wrap: wrap; }

.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.article__body { font-size: 1.02rem; line-height: 1.75; }
.article__body > * + * { margin-top: 1.1em; }
.article__body h2 { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.65rem); margin-top: 1.8em; }
.article__body h3 { font-size: 1.05rem; margin-top: 1.5em; }
.article__body ul, .article__body ol { padding-inline-start: 1.2em; list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li + li { margin-top: .4em; }
.article__body a:not(.btn) { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.article__body figure { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; }
.article__body figure img { width: 100%; height: 100%; object-fit: cover; }
.article__body blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-inline-start: 3px solid var(--gold); font: italic 400 1.1rem/1.6 var(--serif); color: var(--navy); }
.callout { background: var(--sand); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; font-size: .94rem; }
.callout strong { color: var(--navy); }
.article__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: rgba(255, 255, 255, .78); margin-top: 16px; }
.article__aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.article__aside .panel ul { display: grid; gap: 10px; }
.article__aside .panel a { font-size: .88rem; font-weight: 600; color: var(--navy); }
.article__aside .panel a:hover { color: var(--gold-ink); }
.aside-cta { background: var(--navy); color: #fff; border-radius: var(--r); padding: 24px; }
.aside-cta h3 { font: 400 1.25rem/1.25 var(--serif); color: #fff; margin-bottom: 8px; }
.aside-cta p { font-size: .86rem; color: rgba(255, 255, 255, .78); margin-bottom: 16px; }

/* legal / plain text pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.35rem; margin-top: 2em; }
.legal p, .legal li { color: var(--muted); margin-top: .8em; }
.legal ul { list-style: disc; padding-inline-start: 1.2em; }
.legal .callout { margin-top: 0; }

/* 404 / thank you */
.state { text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.state__code { font: italic 400 clamp(4rem, 3rem + 6vw, 8rem)/1 var(--serif); color: var(--gold); }
.state h1 { font-size: clamp(1.7rem, 1.3rem + 1.5vw, 2.4rem); margin-top: 10px; }
.state p { color: var(--muted); margin: 14px auto 28px; max-width: 52ch; }
.state .btn-row { justify-content: center; }

/* sticky mobile contact bar */
.mbar { display: none; }

@media (max-width: 1320px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(3) { border-inline-start: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .roles, .promise { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; }
  .article__aside { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .split, .two-col, .faq, .contact-grid, .orow { grid-template-columns: 1fr; }
  .split__img { order: -1; }
  .orow:nth-child(even) .orow__img { order: 0; }
  .mini-steps { grid-template-columns: 1fr 1fr; }
  .mini-steps li:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
  .mini-steps li:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 22px; }
  .svc-grid--3, .svc-grid--4, .pcards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .values, .people { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .timeline li { padding: 0 0 22px 34px; }
  .flow__item { grid-template-columns: 60px 1fr; }
  .flow__item ul { grid-column: 2; }
  .gal-grid--page { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 60px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px -10px rgba(22, 20, 15, .3);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 58px; font-size: .84rem; font-weight: 700; color: var(--navy); }
  .mbar a + a { border-inline-start: 1px solid var(--line); }
  .mbar .ic { font-size: 18px; color: var(--gold-ink); }
  .mbar__cta { background: var(--gold); color: #fff !important; }
  .mbar__cta .ic { color: #fff !important; }
  .totop { bottom: 74px; }
  .ticks, .orow .ticks { grid-template-columns: 1fr; }
  .mini-steps { grid-template-columns: 1fr; }
  .mini-steps li, .mini-steps li + li { padding: 18px 0 0; border-inline-start: 0; margin-top: 0; }
  .mini-steps li + li { border-top: 1px solid var(--line); margin-top: 18px; }
  .svc-grid--3, .svc-grid--4, .pcards, .values, .people, .roles, .promise { grid-template-columns: 1fr !important; }
  .stats strong { font-size: 1.5rem; }
  .flow__item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .flow__item ul { grid-column: auto; }
  .flow__n { font-size: 2rem; }
  .gal-grid--page { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal__cap { opacity: 1; transform: none; font-size: .7rem; padding: 18px 8px 7px; }
  .article__aside { grid-template-columns: 1fr; }
  .map { height: 300px; }
  .lightbox__nav { top: auto; bottom: 20px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 56px); }
  .lightbox__nav--next { right: calc(50% - 56px); }
}

@media print {
  .topbar, .header, .footer, .mbar, .totop, .cta, dialog { display: none !important; }
}
.svc--cta { background: var(--navy); border-color: var(--navy); justify-content: center; }
.svc--cta .svc__body { justify-content: center; padding: 26px 22px; }
.svc--cta h3 { color: #fff; font: 400 1.3rem/1.25 var(--serif); }
.svc--cta p { color: rgba(255, 255, 255, .75); margin-bottom: 20px; }
.svc--cta .btn { align-self: flex-start; }
[hidden] { display: none !important; }
.panel a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.callout a, .state p a { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }
.state__code .ic { width: 1em; height: 1em; padding: .18em; border-radius: 50%; background: var(--gold); color: #fff; font-size: .8em; }
.lightbox { max-width: min(92vw, 760px); }

/* =========================================================
   v2 — Peace Contracting: bilingual (EN/AR), brand, new sections
   ========================================================= */

/* ---------- Arabic fonts (assets/fonts, SIL OFL) ---------- */
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans Arabic"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/amiri-arabic-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Amiri"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/amiri-arabic-700-normal.woff2") format("woff2"); }

/* ---------- RTL / Arabic ---------- */
[dir="rtl"] { --serif: var(--serif-ar); --sans: var(--sans-ar); }
[dir="rtl"] body { line-height: 1.75; }
[dir="rtl"] h1, [dir="rtl"] h2 { font-weight: 700; letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .82rem; }
[dir="rtl"] .ic--dir { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .ic--dir, [dir="rtl"] .link-more:hover .ic--dir { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] .hero::before { background: linear-gradient(270deg, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .74) 40%, rgba(0, 0, 0, .38) 72%, rgba(0, 0, 0, .25) 100%), linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 40%); }
[dir="rtl"] .hero__img { object-position: 35% 50%; transform: scaleX(-1); }
[dir="rtl"] .phero::before { background: linear-gradient(270deg, rgba(22, 20, 15, .96) 0%, rgba(22, 20, 15, .86) 45%, rgba(22, 20, 15, .55) 100%); }
[dir="rtl"] .cta::before { background: linear-gradient(270deg, rgba(14, 13, 10, .95) 30%, rgba(14, 13, 10, .8)); }
[dir="rtl"] .faq__a { padding: 0 0 18px 32px; }
[dir="rtl"] .totop { right: auto; left: 18px; }
[dir="rtl"] .step__n, [dir="rtl"] .mini-step__n { font-style: normal; }
[dir="rtl"] .logo__name { font-size: 1.1rem; }
[dir="rtl"] .post h3, [dir="rtl"] .post__meta { text-align: right; }
[dir="rtl"] input, [dir="rtl"] textarea, [dir="rtl"] select { text-align: right; }
[dir="rtl"] input[dir="ltr"] { text-align: left; }

/* ---------- hero (stronger text contrast) ---------- */
.hero { min-height: clamp(520px, 50vw, 680px); }
.hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero__lead { color: rgba(255, 255, 255, .92); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.hero .eyebrow { color: var(--gold-2); }
.btn--ghost .ic { font-size: 18px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: rgba(255, 255, 255, .86); font-size: .86rem; }
.hero__facts span { display: inline-flex; align-items: center; gap: 7px; }
.hero__facts .ic { color: var(--gold-2); }
.phero .hero__btns { margin-top: 1.6rem; }

/* ---------- language suggestion bar + topbar controls ---------- */
.langbar { background: var(--gold); color: #1a1408; font-size: .86rem; }
.langbar__in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; flex-wrap: wrap; padding-block: 6px; }
.langbar span { display: inline-flex; align-items: center; gap: 8px; }
.langbar__go { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.langbar__x { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.langbar__x:hover { background: rgba(0, 0, 0, .1); }
.langbar__x svg { width: 14px; height: 14px; }
.topbar__end { display: flex; align-items: center; gap: 8px; }
.topbar__btn { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 3px; font-size: .76rem; color: #fff; }
.topbar__btn:hover { border-color: var(--gold-2); color: var(--gold-2); }
.topbar__btn .ic { color: var(--gold-2); font-size: 13px; }
.topbar__lang { font-weight: 700; font-family: var(--sans-ar), var(--sans); }
[dir="rtl"] .topbar__lang { font-family: var(--sans-ar); }
[lang="en"].topbar__lang { font-family: "Hanken Grotesk", system-ui, sans-serif; }
.gt { display: inline-block; }
.gt .goog-te-gadget { font-size: 0 !important; color: transparent !important; }
.gt .goog-te-gadget select { font: 500 .76rem/1 var(--sans); height: 26px; border-radius: 3px; border: 1px solid rgba(255, 255, 255, .25); background: var(--teal); color: #fff; padding: 0 6px; }
.gt .goog-te-gadget > span { display: none; }
body { top: 0 !important; }
.goog-te-banner-frame, .skiptranslate > iframe { display: none !important; }

/* ---------- nav ---------- */
.nav__list { gap: clamp(10px, 1.1vw, 20px); }
.drop__ic { color: var(--gold-ink); font-size: 16px; margin-inline-end: 8px; vertical-align: -3px; }
.drop a { display: flex; align-items: center; }
.nav__mobile-cta { display: none; }

/* ---------- service cards (whole card is a link) ---------- */
.svc__link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.svc__link:hover h3, .svc__link:focus-visible h3 { color: var(--gold-ink); }
.svc__link:hover .svc__img img { transform: scale(1.05); }
.svc-grid--main { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 18px; }
.svc-grid--main .svc__img { aspect-ratio: 4 / 3; }
.svc-grid--main .svc h3 { font-size: 1rem; }
.svc-grid--main .svc p { font-size: .84rem; }
.svc-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; gap: 16px; }
.svc-grid--5 .svc__img { aspect-ratio: 4 / 3; }

/* ---------- gallery strip on service pages ---------- */
.section--flush-bottom { padding-bottom: 0; }
.gal-grid--svc { grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 22px; }
.gal-grid--svc .gal { aspect-ratio: 4 / 3; position: relative; }
.gal-grid--svc .gal__cap { opacity: 1; transform: none; }

/* ---------- clients ---------- */
.clients { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--r); display: grid; place-items: center; padding: 8px; aspect-ratio: 3 / 2; }
.client img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.15); transition: filter .2s; }
.client:hover img { filter: none; }

/* ---------- team ---------- */
.people--photos { grid-template-columns: repeat(3, 1fr); }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.member figure { aspect-ratio: 4 / 5; background: var(--sand); overflow: hidden; }
.member img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.member div { padding: 14px 16px 16px; border-top: 3px solid var(--gold); }
.member h3 { font-size: 1rem; }
.member p { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.staff { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 20px; }
.staff .member h3 { font-size: .88rem; }
.staff .member div { padding: 10px 12px 12px; }

/* ---------- data tables (equipment, projects) ---------- */
.table-wrap { overflow-x: auto; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.dtable { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 420px; }
.dtable th { background: var(--navy); color: #fff; font-weight: 600; text-align: start; padding: 11px 14px; }
.dtable td { padding: 10px 14px; border-top: 1px solid var(--line); }
.dtable tr:nth-child(even) td { background: var(--sand); }
.dtable td:last-child, .dtable th:last-child { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
.eq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }

/* ---------- home: main services intro ---------- */
.main-svc { padding-top: clamp(44px, 5vw, 64px); }
.ans { font-size: 1.02rem; color: var(--ink); max-width: 75ch; margin-top: 12px; }
.ans strong { color: var(--navy); }

/* ---------- misc ---------- */
.mbar__cta { white-space: nowrap; }
.hero__btns .btn--ghost .ic { color: #25D366; }
.btn--line .ic { color: var(--gold-ink); }
.cta { background-color: var(--navy); }

@media (max-width: 1320px) {
  .nav__mobile-cta { display: grid; gap: 10px; margin-top: 22px; }
  .nav__mobile-cta .btn { width: 100%; min-height: 50px; }
  .svc-grid--main { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .svc-grid--5 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .staff { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .gal-grid--svc { grid-template-columns: repeat(2, 1fr); }
  .leaders { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .eq-grid { grid-template-columns: 1fr; }
  [dir="rtl"] .hero__img { object-position: 36% 50%; }
}
@media (max-width: 640px) {
  .topbar__btn span { display: none; }
  .topbar__btn { padding: 0 8px; }
  .topbar__lang { padding: 0 10px; }
  .topbar__lang span { display: inline; }
  .svc-grid--main { grid-template-columns: 1fr !important; }
  .svc-grid--5 { grid-template-columns: 1fr 1fr !important; }
  .clients { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .leaders { grid-template-columns: 1fr 1fr; }
  .staff { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 600px; }
  .hero h1 { font-size: clamp(1.9rem, 7.4vw, 2.4rem); }
  [dir="rtl"] .hero h1 { font-size: clamp(1.8rem, 7vw, 2.3rem); }
}
.mt { margin-top: clamp(36px, 5vw, 56px); }
.orow h2 a:hover { color: var(--gold-ink); }
.ans a { color: var(--gold-ink); }

/* ---------- maintenance page ---------- */
.maint { min-height: 100vh; display: grid; place-items: center; padding: 32px 16px; background: var(--navy) url("../images/cleaning-team-lobby-dammam-hero.webp") center / cover no-repeat; position: relative; isolation: isolate; }
.maint::before { content: ""; position: fixed; inset: 0; z-index: -1; background: rgba(0, 0, 0, .78); }
.maint__card { width: min(640px, 100%); background: #fff; border-top: 4px solid var(--gold); border-radius: 6px; padding: clamp(28px, 5vw, 48px); text-align: center; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.maint__logo { width: 110px; height: auto; margin: 0 auto 18px; }
.maint__lang h1 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 10px; }
.maint__lang p:not(.eyebrow) { color: var(--muted); font-size: .95rem; }
.maint__lang--ar { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--sans-ar); }
.maint__lang--ar h1 { font-family: var(--serif-ar); font-weight: 700; }
.maint__lang--ar .eyebrow { letter-spacing: 0; text-transform: none; }
.maint__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.maint__btns .ic { font-size: 18px; }
.maint__mail { margin-top: 18px; font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.maint__mail .ic { color: var(--gold-ink); }

/* ---------- services slider (home: main services) ----------
   Desktop 4 cards · tablet 2 · mobile 1.5 (peek of the next card).
   Native scroll-snap for touch, mouse drag + arrows from main.js. */
.slider { position: relative; }
.slider__track.svc-grid {
  --per: 4; --gap: 18px;
  display: flex !important; gap: var(--gap);
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 4px 2px 18px; margin: -4px -2px 0;
  cursor: grab; user-select: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__track > .svc {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start; min-width: 0;
}
.slider__track img { -webkit-user-drag: none; pointer-events: none; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.slider__track.is-dragging .svc { pointer-events: none; }
.slider__track.is-dragging .svc:hover { transform: none; }
.slider__bar { display: flex; align-items: center; gap: 20px; margin-top: 10px; }
.slider__progress { flex: 1; height: 2px; background: var(--line, #E4DDCF); position: relative; overflow: hidden; }
.slider__progress span { position: absolute; inset-block: 0; inset-inline-start: 0; width: 25%; background: var(--gold); transition: width .3s ease, transform .3s ease; }
.slider__btns { display: flex; gap: 8px; }
.slider__btn {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid #D9C9A3; background: #fff; color: var(--navy); border-radius: 2px;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.slider__btn:hover:not(:disabled) { background: var(--navy); border-color: var(--navy); color: #fff; }
.slider__btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.slider__btn:disabled { opacity: .35; cursor: default; }
.slider__btn .ic { width: 18px; height: 18px; }
@media (max-width: 1024px) { .slider__track.svc-grid { --per: 2; --gap: 16px; } }
@media (max-width: 640px)  { .slider__track.svc-grid { --per: 1.5; --gap: 12px; } .slider__btn { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .slider__track.svc-grid { scroll-behavior: auto; } }

/* header: logo image only (no text) */
.header .logo__img { width: 92px; }
@media (max-width: 640px) { .header .logo__img { width: 70px; } }

/* home gallery: full width row */
.gal-grid--home { grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-grid--home .gal { aspect-ratio: 4 / 3; }
@media (max-width: 640px) { .gal-grid--home { grid-template-columns: 1fr 1fr; gap: 10px; } }

/* trust strip: compact on phones */
@media (max-width: 640px) {
  .trust__grid { grid-template-columns: 1fr 1fr; }
  .trust__item, .trust__item:first-child { gap: 10px; padding: 12px 10px; align-items: flex-start; }
  .trust__item:nth-child(odd) { padding-inline-start: 0; }
  .trust__item:last-child { grid-column: 1 / -1; padding-inline-start: 0; }
  .trust__ic { width: 22px; height: 22px; margin-top: 1px; }
  .trust strong, .trust__big { font: 600 .84rem/1.25 var(--sans) !important; }
  [dir="rtl"] .trust strong, [dir="rtl"] .trust__big { font-family: var(--sans-ar) !important; }
  .trust span { font-size: .74rem; line-height: 1.35; }
}

/* footer credit */
.footer__credit { white-space: nowrap; }
.footer__credit a { color: var(--gold-2); }
.footer__credit a:hover { text-decoration: underline; text-underline-offset: 3px; }