/* Sandstone Arabian Contracting — site styles
   Bilingual: Arabic (RTL, default) and English (LTR). Logical properties are used throughout. */

:root {
  --navy: #243c48;
  --navy-deep: #1b2f3a;
  --gold: #d8a94d;
  --gold-ink: #9a6f2a;      /* gold for small text on light backgrounds (AA contrast) */
  --soft: #f7f9f8;
  --ink: #1f2f38;
  --muted: #566870;
  --line: #e1e7e9;
  --white: #fff;
  --green: #2f6b57;
  --radius: 4px;
  --header-h: 76px;
  --container: 1180px;
  --shadow: 0 10px 30px rgba(27, 47, 58, .12);
  --grad-angle: 90deg;
  --font-head: "Montserrat", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
}
html[dir="rtl"] {
  --grad-angle: 270deg;
  --font-head: "IBM Plex Sans Arabic", "Montserrat", system-ui, sans-serif;
  --font-body: "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.7; font-size: 16px; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.25; margin: 0 0 .5em; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] h4 { line-height: 1.45; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--gold); color: var(--navy-deep); padding: 10px 16px; z-index: 200; font-weight: 600; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.container { width: 100%; max-width: calc(var(--container) + 48px); margin-inline: auto; padding-inline: 24px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ——— Buttons ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: var(--radius); border: 1.5px solid transparent; font-family: var(--font-head); font-weight: 600; font-size: 14px; line-height: 1.2; transition: background .2s, color .2s, border-color .2s, transform .2s; white-space: nowrap; }
.btn--gold { background: var(--gold); color: var(--navy-deep); }
.btn--gold:hover { background: #e4b95f; transform: translateY(-1px); }
.btn--ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--block { width: 100%; }
.icon { width: 1.1em; height: 1.1em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
html[dir="rtl"] .flip { transform: scaleX(-1); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--gold-ink); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow--dark { color: var(--navy); }

.eyebrow { font-family: "Montserrat", var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 14px; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; font-family: var(--font-head); }
.on-dark .eyebrow, .eyebrow--gold { color: var(--gold); }

/* ——— Header ——— */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .08); transition: box-shadow .25s; }
.site-header.is-stuck { box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--font-head); font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .9); padding: 8px 0; position: relative; }
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] { color: var(--gold); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; background: var(--gold); }
.header-tools { display: flex; align-items: center; gap: 22px; }
.lang { display: inline-flex; align-items: center; gap: 8px; font-family: "Montserrat", sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: rgba(255, 255, 255, .6); }
.lang a { padding: 4px 2px; color: rgba(255, 255, 255, .65); }
.lang a:hover { color: var(--white); }
.lang [aria-current="true"] { color: var(--white); }
.lang i { opacity: .4; font-style: normal; }
.nav .nav-quote { display: none; }
.nav a.btn--gold { color: var(--navy-deep); }
.menu-btn { display: none; background: none; border: 1px solid rgba(255, 255, 255, .35); color: var(--white); width: 44px; height: 44px; border-radius: var(--radius); align-items: center; justify-content: center; }
.menu-btn .icon { width: 22px; height: 22px; }

/* ——— Hero (home) ——— */
.hero { position: relative; color: var(--white); background: var(--navy-deep); isolation: isolate; }
.hero__media, .page-hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .hero__media video, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero::before, .page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--grad-angle), rgba(27, 47, 58, .94) 0%, rgba(27, 47, 58, .74) 48%, rgba(27, 47, 58, .28) 100%); }
.hero__inner { min-height: 600px; padding-block: 90px 150px; display: flex; flex-direction: column; justify-content: center; }
.hero__eyebrow { font-family: "Montserrat", var(--font-head); font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
html[dir="rtl"] .hero__eyebrow { letter-spacing: 0; font-size: 15px; font-family: var(--font-head); }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; max-width: 12em; margin-bottom: 22px; }
html[dir="rtl"] .hero h1 { line-height: 1.3; }
.hero h1 em, .cta-band h2 em { font-style: normal; color: var(--gold); }
.hero__lead { max-width: 560px; font-size: 1.05rem; color: rgba(255, 255, 255, .88); margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__tag { position: absolute; inset-inline-end: 0; bottom: 100px; background: rgba(27, 47, 58, .93); padding: 14px 32px 14px 24px; min-width: 300px; border-inline-start: 3px solid var(--gold); }
.hero__tag strong { display: block; font-family: var(--font-head); font-size: 14px; }
.hero__tag span { font-size: 12px; color: var(--gold); font-weight: 600; }

.stats { position: relative; z-index: 2; margin-top: -62px; }
.stats__grid { background: var(--white); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 2px; }
.stat { display: flex; align-items: center; gap: 16px; padding: 28px 26px; }
.stat + .stat { border-inline-start: 1px solid var(--line); }
.stat .icon { width: 34px; height: 34px; color: var(--gold); stroke-width: 1.4; }
.stat b { display: block; font-family: "Montserrat", var(--font-head); font-size: 1.9rem; line-height: 1; color: var(--navy); margin-bottom: 4px; }
.stat span { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; color: var(--navy); line-height: 1.4; display: block; }
.stat--text span { font-size: 15px; }

/* ——— Sections ——— */
.section { padding-block: 96px; }
.section--soft { background: var(--soft); }
.section--navy { background: var(--navy); color: var(--white); }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--wide-text { grid-template-columns: 1fr 1.1fr; }
.photo { border-radius: 2px; overflow: hidden; box-shadow: 0 14px 40px rgba(27, 47, 58, .14); }
.photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.prose p { color: var(--muted); font-size: 1rem; max-width: 60ch; }
.prose .btn { margin-top: 12px; }

/* services list */
.services-split { display: grid; grid-template-columns: .85fr 1.4fr; gap: 80px; align-items: start; }
.svc-list { border-top: 2px solid var(--navy); }
.svc-row { display: grid; grid-template-columns: 64px 1fr 28px; gap: 8px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: background .2s, padding .2s; }
.svc-row:hover { background: rgba(216, 169, 77, .08); padding-inline: 14px; }
.svc-row__n { font-family: "Montserrat", sans-serif; font-weight: 700; font-size: 1.4rem; color: var(--gold); }
.svc-row h3 { font-size: 1.02rem; margin: 0 0 4px; }
.svc-row p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.55; }
.svc-row .icon { color: var(--navy); }

/* project cards */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cards--four { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card[hidden] { display: none; }
.card__media { position: relative; overflow: hidden; background: var(--navy-deep); }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s; }
.card:hover .card__media img { transform: scale(1.04); }
.badge { position: absolute; top: 10px; inset-inline-start: 10px; font-family: var(--font-head); font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 2px; line-height: 1.6; }
.badge--uc { background: var(--gold); color: var(--navy-deep); }
.badge--done { background: var(--green); color: var(--white); }
.badge--kind { top: auto; bottom: 10px; inset-inline-start: auto; inset-inline-end: 10px; background: rgba(27, 47, 58, .78); color: var(--white); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
html[dir="rtl"] .badge--kind { letter-spacing: 0; font-size: 11px; text-transform: none; }
.card__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 10px; }
.card__meta { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0 0 4px; display: flex; gap: 6px; align-items: flex-start; }
.card__meta .icon { color: var(--gold-ink); margin-top: 3px; width: 13px; height: 13px; }
.card__scope { font-size: 13px; color: var(--ink); margin: 6px 0 0; line-height: 1.55; }
.card__link { margin-top: auto; padding-top: 16px; }
.card__foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.card a.stretch::after { content: ""; position: absolute; inset: 0; }
.card { position: relative; }

/* clients */
.clients-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.clients-head h2 { margin: 0; }
.arrows { display: flex; gap: 8px; }
.arrows button { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--white); border-radius: 50%; display: grid; place-items: center; color: var(--navy); transition: .2s; }
.arrows button:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.logos { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.logos::-webkit-scrollbar { display: none; }
.logo-tile { scroll-snap-align: start; border: 1px solid var(--line); background: var(--white); display: grid; place-items: center; padding: 14px; min-height: 118px; }
.logo-tile { min-height: 132px; }
.logo-tile img { max-height: 92px; max-width: 100%; width: auto; height: auto; object-fit: contain; -webkit-user-drag: none; user-select: none; }
/* looping carousel (enabled by script; without it the row simply scrolls) */
.logos.is-loop { display: block; overflow: hidden; touch-action: pan-y; padding-bottom: 0; }
.logos__track { display: flex; gap: 22px; width: 100%; transition: transform .7s cubic-bezier(.65, 0, .25, 1); will-change: transform; }
.logos.is-loop .logo-tile { flex: 0 0 calc((100% - 66px) / 4); }
.carousel-hint { display: none; margin-top: 12px; font-size: 13px; color: var(--muted); }

/* collaboration */
.collab { display: grid; grid-template-columns: auto 1fr; gap: 72px; align-items: center; }
.collab__logos { display: grid; grid-template-columns: repeat(2, 210px); gap: 20px; justify-content: start; }
.logo-card { margin: 0; background: var(--white); border: 1px solid var(--line); padding: 26px 22px 16px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
.logo-card img { max-height: 150px; width: auto; }
.logo-card figcaption { font-size: 12px; color: var(--muted); }
.collab__logos .logo-card { width: 210px; min-height: 190px; }

/* CTA band */
.cta-band { position: relative; color: var(--white); isolation: isolate; padding-block: 76px; background: var(--navy-deep); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--grad-angle), rgba(27, 47, 58, .96), rgba(27, 47, 58, .8)); }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__row { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; margin: 0; max-width: 16em; }
.cta-band .eyebrow { color: var(--gold); opacity: .9; }
.cta-band__btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ——— Inner page hero ——— */
.page-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); }
.page-hero__inner { min-height: 300px; padding-block: 56px 48px; display: flex; flex-direction: column; justify-content: flex-end; }
.page-hero--plain { background: var(--navy); }
.page-hero--plain::before { display: none; }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; margin: 0 0 10px; }
.page-hero .lead { max-width: 640px; color: rgba(255, 255, 255, .86); font-size: 1.05rem; margin: 10px 0 0; }
.crumbs { font-size: 13px; color: rgba(255, 255, 255, .75); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.crumbs a:hover { color: var(--gold); text-decoration: underline; }
.crumbs [aria-current] { color: var(--white); }
.page-hero__cap { position: absolute; inset-inline-end: 24px; bottom: 14px; font-size: 11px; color: rgba(255, 255, 255, .65); }

/* about */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.vm > div { padding: 12px 56px; }
.vm > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .18); }
.vm p:last-child { font-family: var(--font-head); font-size: 1.28rem; font-weight: 500; line-height: 1.6; color: var(--white); margin: 0; }
html[dir="rtl"] .vm p:last-child { font-weight: 500; line-height: 1.9; }
.values { display: grid; grid-template-columns: .8fr 1.5fr; gap: 80px; align-items: start; }
.values ol { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); counter-reset: v; }
.values li { counter-increment: v; display: flex; gap: 22px; align-items: baseline; padding: 22px 6px; border-bottom: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.values li::before { content: "0" counter(v); color: var(--gold); font-family: "Montserrat", sans-serif; font-weight: 700; }

/* services page */
.tabs-bar { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.tabs-bar__inner { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tabs-bar a { padding: 18px 16px; font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs-bar a b { color: var(--gold-ink); font-family: "Montserrat", sans-serif; margin-inline-end: 6px; font-size: 11.5px; }
.tabs-bar a:hover { color: var(--navy); }
.tabs-bar a.is-active { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }
.svc-block { display: grid; grid-template-columns: 150px 1fr 380px; gap: 32px; padding-block: 56px; border-bottom: 1px solid var(--line); align-items: start; }
.svc-block:last-of-type { border-bottom: 0; }
.svc-block__n { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: 4rem; line-height: 1; color: var(--gold); }
.svc-block h2 { font-size: 1.6rem; margin-bottom: 14px; }
.svc-block p { color: var(--muted); max-width: 52ch; margin: 0; }
.related h4 { font-family: "Montserrat", sans-serif; font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 6px 0 12px; }
html[dir="rtl"] .related h4 { letter-spacing: 0; font-family: var(--font-head); font-size: 13px; }
.related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--navy); }
.related a:hover { color: var(--gold-ink); }

/* projects page */
.intro { max-width: 760px; color: var(--muted); font-size: 1.08rem; margin: 0 0 40px; }
.filters { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.seg { display: inline-flex; border: 1px solid var(--line); }
.seg button { background: var(--white); border: 0; padding: 10px 20px; font-family: var(--font-head); font-size: 13.5px; font-weight: 500; color: var(--navy); }
.seg button + button { border-inline-start: 1px solid var(--line); }
.seg button small { font-size: 12px; opacity: .7; margin-inline-start: 4px; }
.seg button[aria-pressed="true"] { background: var(--navy); color: var(--white); }
.count { font-size: 13px; color: var(--muted); }
.disclosure { background: var(--soft); border: 1px solid var(--line); border-inline-start: 3px solid var(--gold); padding: 20px 24px; max-width: 880px; }
.disclosure h3 { font-size: .95rem; margin: 0 0 6px; }
.disclosure p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* project detail */
.pd-hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy-deep); }
.pd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(27, 47, 58, .92) 0%, rgba(27, 47, 58, .55) 55%, rgba(27, 47, 58, .5) 100%); }
.pd-hero__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; font-size: 13px; flex-wrap: wrap; }
.pd-hero__top a:hover { color: var(--gold); }
.pd-hero__inner { min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; padding-bottom: 40px; }
.pd-hero h1 { color: var(--white); font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; margin: 14px 0 6px; max-width: 20em; }
.pd-hero .alt-name { color: rgba(255, 255, 255, .82); font-size: 1.05rem; }
.chip { display: inline-block; font-family: var(--font-head); font-size: 12px; font-weight: 600; padding: 4px 14px; border-radius: 2px; }
.chip--uc { background: var(--gold); color: var(--navy-deep); }
.chip--done { background: var(--green); color: var(--white); }
.meta { background: var(--soft); border-bottom: 1px solid var(--line); }
.meta__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.meta__item { padding: 22px 20px; }
.meta__item + .meta__item { border-inline-start: 1px solid var(--line); }
.meta__item:first-child { padding-inline-start: 0; }
.meta__item dt { font-family: "Montserrat", sans-serif; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 6px; }
html[dir="rtl"] .meta__item dt { letter-spacing: 0; font-family: var(--font-head); font-size: 12.5px; }
.meta__item dd { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--navy); line-height: 1.5; }
.pd-grid { display: grid; grid-template-columns: 1fr 360px; gap: 64px; align-items: start; }
.pd-grid p { color: var(--muted); font-size: 1.08rem; }
.aside { border: 1px solid var(--line); padding: 26px; background: var(--white); }
.aside h3 { font-size: 1.05rem; margin-bottom: 16px; }
.aside .contact-lines { margin: 18px 0; font-size: 14px; display: grid; gap: 6px; }
.aside .contact-lines a:hover { color: var(--gold-ink); }
.aside__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.aside__nav a:hover { color: var(--gold-ink); }
.figure { margin: 0; position: relative; }
.figure img { width: 100%; max-height: 620px; object-fit: cover; }
.figure--narrow { max-width: 900px; }
.figure .badge-over { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(27, 47, 58, .85); color: var(--white); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 5px 12px; font-family: "Montserrat", var(--font-head); }
html[dir="rtl"] .badge-over { letter-spacing: 0; font-size: 12px; text-transform: none; }
.figure figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; }
.head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.head-row h2 { margin: 0; }
.head-row small { color: var(--muted); font-size: 12.5px; }
.gtabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.gtabs button { background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 2px; font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: -1px; }
.gtabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--gold); font-weight: 600; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; }
.gallery[hidden] { display: none; }
.gallery button { padding: 0; border: 0; background: var(--navy-deep); overflow: hidden; position: relative; display: block; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.03); }
.gallery .g-main { aspect-ratio: 16 / 10; }
.gallery .g-side { aspect-ratio: 16 / 10; align-self: start; }
.gallery--single { grid-template-columns: 1fr; }
.gallery--pair { grid-template-columns: 1fr 1fr; }
.gallery--pair .g-main { aspect-ratio: 3 / 2; }
.gallery--narrow { max-width: 760px; }
.gallery--narrow .g-main { aspect-ratio: auto; }
.gallery--narrow .g-main img { height: auto; }
.gallery--portrait { max-width: 560px; }
.gallery--grid { grid-template-columns: repeat(3, 1fr); }
.gallery--grid .g-main { aspect-ratio: 4 / 3; }
.gallery--mosaic { grid-template-columns: repeat(3, 1fr); }
.gallery--mosaic .g-main { aspect-ratio: 4 / 3; }
.gallery--mosaic .g-main:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; align-self: stretch; }
.gallery--mosaic .g-main:first-child img { position: absolute; inset: 0; }
.gallery--mosaic .g-main:last-child { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery--mosaic .g-main:nth-last-child(2) { aspect-ratio: auto; align-self: stretch; }
.gallery--mosaic .g-main:nth-last-child(2) img { position: absolute; inset: 0; }
.gallery img[src$="harakia-site-sunset.jpg"], .gallery img[src$="harakia-site-rebar-pit.jpg"] { object-position: 100% 50%; }
.gallery--feature { grid-template-columns: repeat(3, 1fr); }
.gallery--feature .g-main { aspect-ratio: 3 / 5; }
.gallery--feature .g-main:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery--trio { grid-template-columns: 1fr 1.3fr; }
.gallery--trio .g-main { aspect-ratio: 3 / 2; }
.gallery--trio .g-main:first-child { grid-row: 1 / span 2; aspect-ratio: auto; align-self: stretch; }
.gallery--trio .g-main:first-child img { position: absolute; inset: 0; }
.map { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: stretch; }
.map h3 { font-size: 1.15rem; margin-bottom: 8px; }
.map-frame { min-height: 320px; background: #eef2f3; background-image: linear-gradient(#dfe6e8 1px, transparent 1px), linear-gradient(90deg, #dfe6e8 1px, transparent 1px); background-size: 36px 36px; display: grid; place-items: center; border: 1px solid var(--line); }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-load { background: none; border: 0; display: grid; justify-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; padding: 40px; }
.map-load .icon { width: 30px; height: 30px; color: var(--navy); }
.map-load:hover { color: var(--navy); }
.pn { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: stretch; }
.pn a { border: 1px solid var(--line); padding: 14px; display: flex; gap: 14px; align-items: center; background: var(--white); transition: box-shadow .2s; }
.pn a:hover { box-shadow: var(--shadow); }
.pn img { width: 84px; height: 62px; object-fit: cover; flex: none; }
.pn small { display: block; color: var(--gold-ink); font-weight: 600; font-size: 12px; font-family: var(--font-head); }
.pn b { font-family: var(--font-head); color: var(--navy); font-size: 14px; line-height: 1.4; display: block; }
.pn .pn-all { flex-direction: column; justify-content: center; text-align: center; font-size: 12.5px; color: var(--navy); font-family: var(--font-head); font-weight: 600; min-width: 130px; }
.pn .pn-next { justify-content: flex-end; text-align: end; }
.pn .pn-next { flex-direction: row-reverse; }
.pn .pn-prev { flex-direction: row; }
.pn .pn-prev > div, .pn .pn-next > div { min-width: 0; }
.pn .pn-prev { text-align: start; }

/* partnerships */
.pship { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.pship .big { font-size: 1.28rem; line-height: 1.85; color: var(--ink); font-weight: 400; }
.pship h2 { margin-top: 8px; }
.pship .logo-card { margin-bottom: 18px; padding-block: 30px 18px; }
.btn-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 36px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 330px 1fr; gap: 56px; align-items: start; }
.info-list { border-top: 1px solid var(--line); }
.info { display: flex; gap: 14px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.info .icon { color: var(--gold-ink); margin-top: 3px; }
.info b { display: block; font-family: "Montserrat", sans-serif; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; font-weight: 700; }
html[dir="rtl"] .info b { letter-spacing: 0; font-family: var(--font-head); font-size: 13px; }
.info a:hover { color: var(--gold-ink); }
.form { background: var(--soft); padding: 40px; border: 1px solid var(--line); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9d2d6; background: var(--white); border-radius: var(--radius); color: var(--ink); min-height: 46px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 0; border-color: var(--gold); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; }
.field .err { display: none; color: #b3261e; font-size: 12.5px; margin-top: 6px; }
.field.has-error .err { display: block; }
.check { display: flex; gap: 10px; align-items: center; margin-bottom: 24px; font-size: 14px; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); }
.check.has-error { color: #b3261e; }
.form__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form__foot small { color: var(--muted); }
.form-status { margin-top: 20px; padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-status.is-ok { display: block; background: #e8f3ee; color: #1d5a43; border: 1px solid #b9d9c9; }
.form-status.is-bad { display: block; background: #fbeaea; color: #8c1d18; border: 1px solid #f0c4c1; }

/* ——— Footer ——— */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; border-radius: 2px; }
.footer-brand p { max-width: 24ch; line-height: 1.7; font-size: 13.5px; }
.site-footer h4 { font-family: "Montserrat", sans-serif; font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; font-weight: 700; }
html[dir="rtl"] .site-footer h4 { letter-spacing: 0; font-family: var(--font-head); font-size: 14px; }
.site-footer li { margin-bottom: 9px; }
.site-footer a:hover { color: var(--gold); }
.site-footer .contact-li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer .contact-li .icon { color: var(--gold); margin-top: 4px; width: 15px; height: 15px; }
.footer-bar { background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) center top / calc(100% - 48px) 1px no-repeat; padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255, 255, 255, .65); }
.footer-bar .lang a { color: rgba(255, 255, 255, .7); }

/* lightbox */
dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
dialog.lightbox::backdrop { background: rgba(10, 20, 26, .9); }
dialog.lightbox img { max-width: 94vw; max-height: 88vh; object-fit: contain; margin: auto; }
dialog.lightbox button { position: fixed; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); color: var(--navy); display: grid; place-items: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ——— Responsive ——— */
@media (max-width: 1100px) {
  .cards--four { grid-template-columns: repeat(2, 1fr); }
  .svc-block { grid-template-columns: 110px 1fr; }
  .svc-block .related { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { gap: 22px; }
  .services-split, .values { gap: 48px; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--navy); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; border-top: 1px solid rgba(255, 255, 255, .1); max-height: calc(100vh - var(--header-h)); overflow-y: auto; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .2s; box-shadow: 0 20px 30px rgba(0, 0, 0, .3); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 16px; }
  .nav a[aria-current="page"]::after { display: none; }
  .header-tools .btn { display: none; }
  .nav .nav-quote { display: inline-flex; margin-top: 18px; border: 0; justify-content: center; padding: 14px; }
  .brand img { height: 44px; }
  .site-header__bar { gap: 12px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .split, .split--wide-text, .services-split, .values, .collab, .pship, .contact-grid, .pd-grid, .map { grid-template-columns: 1fr; gap: 40px; }
  .section { padding-block: 64px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .vm { grid-template-columns: 1fr; }
  .vm > div { padding: 24px 0; }
  .vm > div + div { border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
  .hero__inner { min-height: 520px; padding-block: 64px 130px; }
  .hero__tag { position: relative; inset: auto; bottom: auto; margin-top: 36px; align-self: flex-start; }
  .logos { grid-auto-columns: calc((100% - 22px) / 2); }
  .logos.is-loop .logo-tile { flex-basis: calc((100% - 22px) / 2); }
  .collab__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .collab__logos .logo-card { width: auto; min-height: 150px; padding-inline: 12px; }
  .collab > *, .split > *, .services-split > *, .values > *, .pship > *, .contact-grid > *, .pd-grid > *, .map > * { min-width: 0; }
  .form { padding: 26px; }
  .pn { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding-inline: 20px; }
  .cards, .cards--four { grid-template-columns: 1fr; }
  .stat { padding: 20px 16px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .stat b { font-size: 1.6rem; }
  .svc-block { grid-template-columns: 1fr; gap: 12px; padding-block: 40px; }
  .svc-block .related { grid-column: auto; }
  .svc-block__n { font-size: 3rem; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery--trio .g-main:first-child { grid-row: auto; aspect-ratio: 3 / 5; }
  .gallery--grid { grid-template-columns: 1fr 1fr; }
  .gallery--mosaic { grid-template-columns: 1fr 1fr; }
  .gallery--mosaic .g-main:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .gallery--mosaic .g-main:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .gallery--mosaic .g-main:nth-last-child(2) { aspect-ratio: 4 / 3; align-self: auto; }
  .gallery--feature { grid-template-columns: 1fr; }
  .gallery--feature .g-main:first-child { aspect-ratio: 16 / 10; }
  .cta-band__row { flex-direction: column; align-items: flex-start; }
  .cta-band__btns .btn { flex: 1; }
  .hero__actions .btn { flex: 1; }
  .page-hero__inner { min-height: 250px; }
  .meta__item { padding: 16px 12px; }
  .meta__item:first-child { padding-inline-start: 12px; }
  .carousel-hint { display: block; }
  .arrows { display: none; }
  .seg { width: 100%; }
  .seg button { flex: 1; padding-inline: 8px; font-size: 12.5px; }
}

@media (prefers-reduced-motion: reduce) { .logos__track { transition: none; } }
