/* =========================================================
   World of Aluminum — عالم الألمنيوم — עולם האלומניום
   Palette: Deep Navy #0B1B30 · Champagne Gold #C6A667
            Premium Black #101114 · Warm White #F5F2EA
   Layout grid follows the original Figma frame (1440 wide, 64px gutters).
   ========================================================= */
:root {
  --navy: #0b1b30;
  --navy-2: #12253f;
  --black: #101114;
  --black-2: #17191d;
  --gold: #c6a667;
  --gold-hover: #d5bb85;
  --gold-press: #b39253;
  --gold-text: #7d602b;       /* gold for small text on light grounds (5.2:1) */
  --offwhite: #f5f2ea;
  --paper: #fbf9f4;

  --ink: #101114;
  --heading: #0b1b30;
  --text: #3e4756;
  --text-muted: #5b6472;

  --on-dark-strong: #ece8de;
  --on-dark: #b9c0cb;
  --on-dark-muted: #8e97a5;

  --rule-light: #ddd6c6;
  --rule-dark: rgba(255, 255, 255, 0.13);
  --field-line: rgba(255, 255, 255, 0.24);

  --error: #f2a99b;
  --error-on-light: #a3341f;
  --success: #a9d3a0;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --gutter: 64px;
  --max: 1440px;
  --header-h: 96px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
html[lang="ar"] { --font: "Inter", "IBM Plex Sans Arabic", system-ui, "Segoe UI", Tahoma, sans-serif; }
html[lang="he"] { --font: "Inter", "Heebo", system-ui, "Segoe UI", Arial, sans-serif; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) - 8px); }
body {
  margin: 0; font-family: var(--font); font-weight: 400; line-height: 1.5;
  color: var(--ink); background: var(--offwhite);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"] { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }
::selection { background: var(--gold); color: var(--black); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; inset-inline-start: 16px; top: -80px; z-index: 200;
  padding: 12px 18px; background: var(--gold); color: var(--black); font-weight: 500;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.line { display: block; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--btn { width: 18px; height: 18px; }

.arrow, .btn-arrow { display: inline-block; transition: transform .35s var(--ease-out); }
a:hover .arrow, a:hover .btn-arrow, button:hover .btn-arrow { transform: translate(3px, -3px); }
[dir="rtl"] a:hover .arrow, [dir="rtl"] a:hover .btn-arrow, [dir="rtl"] button:hover .btn-arrow { transform: translate(-3px, -3px); }

/* ---------- Shared typography ---------- */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text); line-height: 1.4;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.section-label--on-dark { color: var(--gold); }
.section-label-num { unicode-bidi: isolate; }
.section-title {
  font-weight: 300; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.16;
  color: var(--heading); letter-spacing: -0.022em;
}
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; line-height: 1.3; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding-block: 6px; font-weight: 500; line-height: 1.4; white-space: nowrap;
  transition: color .25s var(--ease);
}
.link-arrow::after {
  content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(.0001); transform-origin: left; transition: transform .45s var(--ease-out);
}
[dir="rtl"] .link-arrow::after { transform-origin: right; }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow--light { color: var(--offwhite); font-size: 15px; }
.link-arrow--light:hover { color: var(--gold); }
.link-arrow--bronze { color: var(--gold-text); font-size: 14px; }
.link-arrow--bronze:hover { color: var(--heading); }

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  min-height: 58px; padding-inline: 26px 22px; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  font-size: 15px; font-weight: 500; line-height: 1.25; white-space: nowrap; letter-spacing: .01em;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-arrow { font-size: 20px; font-weight: 400; line-height: 1; }
.btn--primary { background: var(--gold); color: var(--black); min-width: 252px; }
.btn--primary:hover { background: var(--gold-hover); box-shadow: 0 12px 30px -14px rgba(198, 166, 103, .7); }
.btn--primary:active { background: var(--gold-press); }
.btn--block { width: 100%; }
.btn--compact { min-width: 0; min-height: 50px; gap: 10px; padding-inline: 20px; justify-content: center; }
.btn--outline {
  min-height: 50px; gap: 10px; padding-inline: 18px; justify-content: center;
  border-color: rgba(198,166,103,.5); color: var(--offwhite); background: transparent;
}
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn--outline .icon { color: var(--gold); transition: color .3s var(--ease); }
.btn--outline:hover .icon { color: var(--black); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* =========================================================
   Header — transparent over the hero, solid once scrolled.
   The blur lives on ::before so the header never becomes a containing
   block for the position:fixed mobile menu.
   ========================================================= */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100; color: var(--offwhite);
  background: linear-gradient(to bottom, rgba(16,17,20,.55), rgba(16,17,20,0));
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(16, 17, 20, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6), inset 0 -1px 0 rgba(255,255,255,.08);
  opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-solid::before, .menu-open .site-header::before, .page-contact .site-header::before { opacity: 1; }
.no-js .site-header { position: sticky; background: var(--black); }

.header-inner { display: flex; align-items: center; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.brand-bar { width: 3px; height: 42px; background: var(--gold); flex: none; }
.brand-text { display: flex; flex-direction: column; gap: 5px; }
.brand-name { font-size: 19px; font-weight: 500; line-height: 1.2; color: var(--offwhite); white-space: nowrap; letter-spacing: .02em; }
html[lang="en"] .brand-name { text-transform: uppercase; letter-spacing: .08em; font-size: 17px; }
html[lang="ar"] .brand-name, html[lang="he"] .brand-name { font-size: 21px; }
.brand-descriptor {
  font-size: 11px; font-weight: 500; letter-spacing: .2em; line-height: 1.2;
  color: var(--on-dark); text-transform: uppercase; white-space: nowrap;
}

.site-menu { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; column-gap: 28px; }
.primary-nav { margin-inline-start: auto; }
@media (min-width: 1400px) {
  .brand { width: 420px; }
  .primary-nav { margin-inline-start: 0; }
}
.primary-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav-link {
  position: relative; display: inline-block; padding-block: 10px;
  font-size: 14px; font-weight: 500; line-height: 1.25; color: var(--on-dark);
  transition: color .25s var(--ease);
}
.nav-link::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 2px; width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out);
}
[dir="rtl"] .nav-link::after { transform-origin: right; }
.nav-link:hover, .nav-link.is-active { color: var(--offwhite); }
.nav-link:hover::after { transform: scaleX(.4); }
.nav-link.is-active::after { transform: scaleX(1); }

.header-tools { display: flex; align-items: center; margin-inline-start: auto; }
.lang-switch { display: flex; align-items: center; height: 30px; border-inline-start: 1px solid rgba(255,255,255,.18); padding-inline-start: 26px; }
.lang-list { display: flex; align-items: center; gap: 0; }
.lang-list--header li + li::before { content: "|"; margin-inline: 10px; color: rgba(255,255,255,.25); }
.lang-list--header .lang-link { padding-block: 8px; font-size: 13px; line-height: 1.25; color: var(--on-dark); transition: color .25s var(--ease); }
.lang-list--header .lang-link:hover { color: var(--offwhite); }
.lang-list--header .lang-link.is-current { color: var(--gold); font-weight: 500; }
.header-cta {
  display: inline-flex; align-items: center; gap: 8px; margin-inline-start: 32px; padding: 11px 18px;
  border: 1px solid rgba(198,166,103,.55);
  font-size: 11px; font-weight: 500; letter-spacing: .16em; color: var(--offwhite); text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.header-cta:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

.menu-toggle {
  display: none; margin-inline-start: auto; align-items: center; gap: 12px;
  background: none; border: 0; padding: 12px 2px; cursor: pointer; color: var(--offwhite);
  font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
}
.menu-toggle-icon { position: relative; width: 24px; height: 10px; }
.menu-toggle-icon span { position: absolute; inset-inline: 0; height: 1.5px; background: currentColor; transition: transform .35s var(--ease-out), top .35s var(--ease-out); }
.menu-toggle-icon span:first-child { top: 0; }
.menu-toggle-icon span:last-child { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { top: 5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { top: 5px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(720px, 100svh, 980px); color: var(--offwhite); background: var(--navy); display: flex; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform-origin: 70% 40%; }
.js .hero-media { animation: hero-zoom 2.8s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(16,17,20,.72) 0%, rgba(16,17,20,0) 32%),
    linear-gradient(to right, rgba(11,27,48,.96) 0%, rgba(11,27,48,.74) 42%, rgba(11,27,48,.22) 78%, rgba(11,27,48,.08) 100%);
}
[dir="rtl"] .hero-shade {
  background: linear-gradient(to top, rgba(16,17,20,.72) 0%, rgba(16,17,20,0) 32%),
    linear-gradient(to left, rgba(11,27,48,.96) 0%, rgba(11,27,48,.74) 42%, rgba(11,27,48,.22) 78%, rgba(11,27,48,.08) 100%);
}
.hero-inner { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; }
.js .hero-inner { padding-top: var(--header-h); }
.hero-main { margin-block: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: center; column-gap: 64px; }
.hero-body { padding-block: 72px 64px; }

/* Technical drawing overlay on the photograph */
.hero-drawing {
  position: absolute; z-index: 0; inset-block: 0; inset-inline-end: 0; width: 58%;
  display: flex; align-items: center; justify-content: center; pointer-events: none;
  opacity: .3; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 32%, #000 82%, transparent 100%);
}
[dir="rtl"] .hero-drawing {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 32%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0%, #000 32%, #000 82%, transparent 100%);
}
.hero-drawing img { height: 88%; width: auto; max-width: none; }
.js .hero-drawing { animation: drawing-in 2.2s var(--ease-out) .5s both; }
@keyframes drawing-in { from { opacity: 0; transform: translateY(14px); } to { opacity: .3; transform: none; } }

/* Engineering detail card */
.hero-detail {
  padding: 18px 18px 16px; background: rgba(11, 27, 48, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(198, 166, 103, .38); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.hero-detail-label { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.hero-detail-label::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.hero-detail img { width: 100%; height: auto; margin-top: 10px; }
.hero-detail-caption { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--rule-dark); font-size: 13px; color: var(--on-dark); }
.js .hero-detail { animation: rise 1s var(--ease-out) .75s both; }
.eyebrow--hero { color: var(--gold); display: inline-flex; align-items: center; gap: 14px; }
.eyebrow--hero::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero-title { margin-top: 34px; max-width: 860px; font-weight: 300; font-size: clamp(46px, 6.1vw, 88px); line-height: 1.06; letter-spacing: -0.03em; }
.hero-text { margin-top: 34px; max-width: 600px; font-size: 19px; line-height: 1.5; color: var(--on-dark); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 46px; }
.js .hero-body > * { animation: rise .95s var(--ease-out) both; }
.js .hero-body > :nth-child(1) { animation-delay: .15s; }
.js .hero-body > :nth-child(2) { animation-delay: .28s; }
.js .hero-body > :nth-child(3) { animation-delay: .42s; }
.js .hero-body > :nth-child(4) { animation-delay: .56s; }
.js .hero-footer { animation: fade 1.2s var(--ease) .8s both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; column-gap: 24px; min-height: 84px; border-top: 1px solid rgba(255,255,255,.16); padding-inline-end: 72px; /* room for the floating WhatsApp button */ }
.hero-tagline, .hero-scroll, .hero-caption { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); line-height: 1.3; }
.hero-scroll { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; transition: color .25s var(--ease); }
.hero-scroll span { display: inline-block; }
.js .hero-scroll span { animation: nudge 2.4s var(--ease) 2s infinite; }
@keyframes nudge { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(4px); } }
.hero-scroll:hover { color: var(--gold); }
.hero-caption { justify-self: end; font-weight: 400; letter-spacing: .12em; color: var(--on-dark-muted); white-space: pre; }

/* =========================================================
   Ribbon
   ========================================================= */
.ribbon { background: var(--black); border-bottom: 1px solid rgba(255,255,255,.04); }
.ribbon-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; min-height: 104px; column-gap: 24px; }
.ribbon-list li { position: relative; display: flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #dcd7cb; line-height: 1.35; }
.ribbon-list li::before { content: ""; flex: none; width: 3px; height: 16px; background: var(--gold); }

/* =========================================================
   About
   ========================================================= */
.about { background: var(--offwhite); padding-block: 128px 120px; }
.about-grid { display: grid; grid-template-columns: 544fr 670fr; column-gap: 96px; align-items: start; }
.about-aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.about-media { position: relative; aspect-ratio: 544 / 560; overflow: hidden; background: #e2ddd0; }
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.about-media:hover img { transform: scale(1.03); }
.about-caption {
  position: absolute; inset-inline-start: 20px; bottom: 20px; padding: 14px 18px; background: var(--navy); color: var(--on-dark-strong);
  font-size: 11px; font-weight: 500; line-height: 1.4; text-transform: uppercase; letter-spacing: .16em;
}
.about-caption::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin-inline-end: 12px; }
.about-stat { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: var(--navy); color: var(--offwhite); }
.about-stat-value { font-size: 48px; font-weight: 300; line-height: 1; color: var(--gold); letter-spacing: -0.02em; }
.about-stat-label { font-size: 14px; line-height: 1.45; color: var(--on-dark-strong); max-width: 260px; }
.about-title { margin-top: 28px; }
.about-lead { margin-top: 28px; max-width: 620px; font-size: 20px; line-height: 1.55; color: var(--text); }
.about-body { margin-top: 18px; max-width: 620px; font-size: 16px; line-height: 1.75; color: var(--text-muted); }
.mission-vision { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 44px; max-width: 640px; border-top: 1px solid var(--rule-light); }
.mv-item { padding-top: 26px; padding-inline-end: 28px; }
.mv-item + .mv-item { padding-inline: 28px 0; border-inline-start: 1px solid var(--rule-light); }
.mv-label { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.mv-label::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--gold-text); transform: rotate(45deg); flex: none; }
.mv-text { margin-top: 14px; font-size: 18px; font-weight: 300; line-height: 1.5; color: var(--heading); }

.process { margin-top: 112px; }
.process-label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); padding-bottom: 26px; }
.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 40px; }
.process-step { position: relative; padding-top: 30px; border-top: 1px solid var(--rule-light); }
.process-step::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 48px; height: 1px; background: var(--gold-text); }
.process-num { font-size: 13px; font-weight: 500; color: var(--gold-text); letter-spacing: .06em; }
.process-title { margin-top: 14px; font-size: 22px; font-weight: 400; line-height: 1.3; color: var(--heading); }
.process-text { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--text-muted); max-width: 290px; }

/* =========================================================
   Section head (Services, Projects)
   ========================================================= */
.section-head-row { display: grid; grid-template-columns: 1fr minmax(0, 420px); column-gap: 48px; align-items: end; margin-top: 26px; }
.section-intro { font-size: 16px; line-height: 1.65; color: var(--text-muted); padding-bottom: 6px; }

/* =========================================================
   Services — 8 image cards
   ========================================================= */
.services { background: var(--paper); padding-block: 120px 128px; }
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px; margin-top: 72px; }
.service-card { display: flex; flex-direction: column; }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #e7e2d6; }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,27,48,.28), rgba(11,27,48,0) 45%); opacity: .9; transition: opacity .6s var(--ease); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.05); }
.service-card:hover .service-media::after { opacity: .4; }
/* Engineering drawing cards: navy drafting board with a faint grid */
.service-media--drawing {
  background-color: var(--navy);
  background-image: linear-gradient(rgba(198,166,103,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(198,166,103,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.service-media--drawing::after { display: none; }
.service-media--drawing img { object-fit: contain; padding: 14px; }
.service-card:hover .service-media--drawing img { transform: scale(1.03); }
.service-body { position: relative; display: flex; flex-direction: column; flex: 1; padding-top: 22px; }
.service-body::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 1px; width: 100%;
  background: var(--gold-text); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
[dir="rtl"] .service-body::before { transform-origin: right; }
.service-card:hover .service-body::before { transform: scaleX(1); }
.service-number { font-size: 13px; font-weight: 500; color: var(--gold-text); letter-spacing: .06em; }
.service-title { margin-top: 10px; font-size: 21px; font-weight: 400; line-height: 1.3; color: var(--heading); letter-spacing: -0.01em; }
.service-desc { margin-top: 12px; font-size: 15px; line-height: 1.65; color: var(--text-muted); flex: 1; }
.service-link {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding-block: 6px;
  font-size: 14px; font-weight: 500; color: var(--gold-text); border-bottom: 1px solid rgba(125,96,43,.35);
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.service-link:hover { color: var(--heading); border-bottom-color: var(--heading); }

/* =========================================================
   Projects (black)
   ========================================================= */
.projects { background: var(--black); color: var(--offwhite); padding-block: 120px; }
.projects .section-title { color: var(--offwhite); }
.projects .section-intro { color: var(--on-dark); }
.projects-grid { display: grid; grid-template-columns: 1fr; row-gap: 96px; margin-top: 64px; }
.project-visuals { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 24px; }
.project-card--flip .project-visuals { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.project-card--flip .project-drawing { order: -1; }
.project-media { height: clamp(360px, 38vw, 560px); overflow: hidden; background: var(--black-2); position: relative; }
.project-drawing {
  display: flex; flex-direction: column; min-height: 0; padding: 22px 22px 18px;
  background-color: var(--navy); border: 1px solid rgba(255,255,255,.06);
  background-image: linear-gradient(rgba(198,166,103,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(198,166,103,.07) 1px, transparent 1px);
  background-size: 24px 24px;
}
.project-drawing img { flex: 1 1 0; min-height: 0; width: 100%; height: 100%; object-fit: contain; }
.project-drawing figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 16px; font-size: 13px; color: var(--on-dark); }
.media-badge {
  position: absolute; z-index: 1; inset-inline-start: 16px; top: 16px; padding: 7px 12px;
  background: rgba(16,17,20,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border-inline-start: 2px solid var(--gold); color: var(--offwhite); font-size: 12px; line-height: 1.3; letter-spacing: .04em;
}
.media-badge--drawing { position: static; background: rgba(198,166,103,.14); border: 0; color: var(--gold); padding: 5px 10px; }
.project-info { margin-top: 26px; max-width: 760px; }
.project-info .project-category { margin-top: 0; }
.projects-note { margin-top: 64px; max-width: 760px; padding-inline-start: 16px; border-inline-start: 2px solid var(--gold); font-size: 15px; line-height: 1.6; color: var(--on-dark); }
.project-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, rgba(16,17,20,.35), rgba(16,17,20,0) 40%); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter .8s var(--ease); filter: saturate(.92); }
.project-card:hover .project-media img { transform: scale(1.04); filter: saturate(1); }
.project-category { margin-top: 26px; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); white-space: pre-wrap; line-height: 1.4; }
.project-title { margin-top: 14px; font-size: 28px; font-weight: 300; line-height: 1.25; color: var(--offwhite); letter-spacing: -0.015em; }
.project-tags { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); }
.systems { display: grid; grid-template-columns: minmax(0, 300px) 1fr; column-gap: 48px; align-items: baseline; margin-top: 96px; padding-top: 36px; border-top: 1px solid var(--rule-dark); }
.systems-label { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.systems-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px 40px; }
.systems-list li { display: flex; align-items: center; gap: 16px; font-size: 19px; font-weight: 300; line-height: 1.4; color: var(--on-dark-strong); }
.systems-list li::before { content: ""; flex: none; width: 6px; height: 6px; border: 1px solid var(--gold); transform: rotate(45deg); }

/* =========================================================
   Contact details list (shared by home, contact page)
   ========================================================= */
.contact-list { display: grid; gap: 0; }
.contact-list li { display: flex; align-items: flex-start; gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--rule-dark); }
.contact-list li:first-child { padding-top: 0; }
.contact-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border: 1px solid rgba(198,166,103,.45); color: var(--gold); border-radius: 50%; }
.contact-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.contact-label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-value { font-size: 17px; line-height: 1.4; color: var(--offwhite); overflow-wrap: anywhere; }
.contact-sub { font-size: 14px; color: var(--on-dark); }
.contact-link { transition: color .25s var(--ease); }
.contact-link:hover { color: var(--gold); }
.contact-email { text-align: start; }
[dir="rtl"] .contact-email { text-align: right; }
.contact-list--light li { border-bottom-color: var(--rule-light); }
.contact-list--light .contact-icon { border-color: rgba(125,96,43,.4); color: var(--gold-text); }
.contact-list--light .contact-label { color: var(--text-muted); }
.contact-list--light .contact-value { color: var(--heading); }
.contact-list--light .contact-sub { color: var(--text-muted); }
.contact-list--light .contact-link:hover { color: var(--gold-text); }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home contact section (navy) */
.contact { background: var(--navy); color: var(--offwhite); padding-block: 120px 128px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 600px); column-gap: 96px; align-items: center; }
.contact-title { margin-top: 28px; color: var(--offwhite); }
.contact-text-lead { margin-top: 28px; max-width: 520px; font-size: 17px; line-height: 1.65; color: var(--on-dark); }
.contact-cta { margin-top: 40px; }
.contact-card { padding: 40px 40px 36px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.06); }
.contact-card .contact-buttons { margin-top: 28px; }

/* =========================================================
   Contact page
   ========================================================= */
.page-hero { position: relative; background: var(--navy); color: var(--offwhite); overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset-block: 0; inset-inline-end: 0; width: 42%; pointer-events: none;
  background: url("../images/drawings/cw-bay-elevation.svg") 70% center / auto 92% no-repeat,
    linear-gradient(to right, rgba(11,27,48,1), rgba(11,27,48,.55)), url("../images/hero-facade-640.jpg") center / cover no-repeat;
  opacity: .6;
}
[dir="rtl"] .page-hero::after {
  background: url("../images/drawings/cw-bay-elevation.svg") 30% center / auto 92% no-repeat,
    linear-gradient(to left, rgba(11,27,48,1), rgba(11,27,48,.55)), url("../images/hero-facade-640.jpg") center / cover no-repeat;
}
.page-hero-inner { position: relative; z-index: 1; padding-top: calc(var(--header-h) + 96px); padding-bottom: 96px; }
.page-title { margin-top: 26px; max-width: 760px; font-size: clamp(40px, 5vw, 72px); font-weight: 300; line-height: 1.08; letter-spacing: -0.028em; }
.page-intro { margin-top: 26px; max-width: 620px; font-size: 18px; line-height: 1.65; color: var(--on-dark); }
.page-hero .contact-buttons { margin-top: 40px; }
.js .page-hero-inner > * { animation: rise .9s var(--ease-out) both; }
.js .page-hero-inner > :nth-child(2) { animation-delay: .1s; }
.js .page-hero-inner > :nth-child(3) { animation-delay: .2s; }
.js .page-hero-inner > :nth-child(4) { animation-delay: .3s; }

.contact-details { background: var(--offwhite); padding-block: 112px; }
.details-grid { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); column-gap: 80px; align-items: start; }
.details-title { font-size: 28px; font-weight: 300; color: var(--heading); margin-bottom: 32px; letter-spacing: -0.01em; }
.map-card { background: #fff; border: 1px solid var(--rule-light); }
.map-frame { position: relative; aspect-ratio: 16 / 11; background: #e7e2d6; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.02); }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding: 20px 22px; }

.quote { background: var(--navy); color: var(--offwhite); padding-block: 120px 128px; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px); column-gap: 80px; align-items: start; }
.quote-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.quote-title { margin-top: 28px; color: var(--offwhite); }
.quote-text { margin-top: 24px; max-width: 420px; font-size: 17px; line-height: 1.65; color: var(--on-dark); }
.quote-direct { display: grid; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--rule-dark); }
.quote-direct-link { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; color: var(--on-dark-strong); transition: color .25s var(--ease); justify-self: start; }
.quote-direct-link .icon { color: var(--gold); }
.quote-direct-link:hover { color: var(--gold); }

/* ---------- Quotation form ---------- */
.quote-form {
  position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 30px;
  padding: 44px 44px 40px; background: var(--navy-2); border: 1px solid rgba(255,255,255,.06);
}
.field { display: flex; flex-direction: column; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field-label { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #c9cfd8; line-height: 1.4; }
.field-req { color: var(--gold); margin-inline-start: 2px; }
.field-optional { text-transform: none; letter-spacing: 0; color: var(--on-dark-muted); font-weight: 400; }
.field-hint { margin-top: 8px; font-size: 12px; color: var(--on-dark-muted); }
.field-input {
  width: 100%; margin-top: 10px; padding: 6px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--field-line); border-radius: 0;
  font-size: 16px; line-height: 1.4; color: var(--offwhite); transition: border-color .25s var(--ease);
}
.field-input::placeholder { color: var(--on-dark-muted); opacity: 1; }
.field-input:hover { border-bottom-color: rgba(255,255,255,.4); }
.field-input:focus { outline: none; border-bottom-color: var(--gold); }
.field-input:focus-visible { outline: none; box-shadow: 0 1px 0 0 var(--gold); }
[dir="rtl"] input[type="email"], [dir="rtl"] input[type="tel"] { text-align: right; }
.select-wrap { position: relative; }
.field-select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-inline-end: 28px; }
.field-select.is-placeholder { color: var(--on-dark-muted); }
.field-select option { color: var(--black); background: #fff; }
.select-arrow { position: absolute; inset-inline-end: 2px; top: 50%; margin-top: -8px; pointer-events: none; font-size: 14px; color: var(--gold); }
.field-textarea { margin-top: 12px; padding: 12px 14px; min-height: 140px; resize: vertical; line-height: 1.6; border: 1px solid var(--field-line); background: rgba(255,255,255,.02); }
.field-textarea:hover { border-color: rgba(255,255,255,.4); }
.field-textarea:focus { border-color: var(--gold); box-shadow: none; }

.file-field {
  position: relative; display: flex; align-items: center; gap: 16px; margin-top: 12px; padding: 14px 16px;
  border: 1px dashed rgba(198,166,103,.5); background: rgba(255,255,255,.02); transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.file-field:hover { border-color: var(--gold); background: rgba(198,166,103,.06); }
.file-field:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-button { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--gold); color: var(--black); font-size: 13px; font-weight: 500; white-space: nowrap; }
.file-name { font-size: 14px; color: var(--on-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.file-field.has-file .file-name { color: var(--offwhite); }

.consent { position: relative; display: flex; align-items: flex-start; gap: 14px; cursor: pointer; font-size: 14px; line-height: 1.55; color: var(--on-dark-strong); }
.consent-input { position: absolute; opacity: 0; width: 20px; height: 20px; margin: 0; cursor: pointer; }
.consent-box { flex: none; width: 20px; height: 20px; margin-top: 1px; border: 1px solid rgba(198,166,103,.7); display: grid; place-items: center; transition: background-color .2s var(--ease); }
.consent-box::after { content: ""; width: 10px; height: 5px; border-left: 2px solid var(--black); border-bottom: 2px solid var(--black); transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.consent-input:checked + .consent-box { background: var(--gold); border-color: var(--gold); }
.consent-input:checked + .consent-box::after { opacity: 1; }
.consent-input:focus-visible + .consent-box { outline: 2px solid var(--gold); outline-offset: 3px; }
.consent-input[aria-invalid="true"] + .consent-box { border-color: var(--error); }

.field-error { margin-top: 8px; font-size: 12px; line-height: 1.4; color: var(--error); }
.field-error:empty { display: none; }
.field-input[aria-invalid="true"] { border-color: var(--error); }
.hp-field { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.form-privacy { margin-top: -8px; font-size: 13px; line-height: 1.5; color: var(--on-dark-muted); }
.quote-form .btn--block { margin-top: 2px; }
.form-status { font-size: 14px; line-height: 1.6; color: var(--on-dark-strong); }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--error); }
.form-status[data-state="success"] { color: var(--success); }
.form-status[data-state="info"] { padding: 18px 20px; border-inline-start: 2px solid var(--gold); background: rgba(255,255,255,.04); }
.status-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.status-note { margin-top: 12px; font-size: 13px; color: var(--on-dark-muted); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--black); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 48px; padding-block: 72px 56px; }
.footer-brand { display: grid; gap: 28px; align-content: start; }
.brand--footer .brand-name { color: var(--offwhite); }
.brand--footer .brand-descriptor { color: var(--on-dark-muted); }
.footer-nav ul { display: grid; gap: 14px; }
.footer-nav a, .footer-contact a { font-size: 15px; line-height: 1.4; transition: color .25s var(--ease); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-heading { font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-contact ul { display: grid; gap: 14px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 12px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--gold); }
.lang-list--footer li + li::before { content: "|"; margin-inline: 12px; color: rgba(198,166,103,.45); }
.lang-list--footer .lang-link { font-size: 14px; color: var(--on-dark); transition: color .25s var(--ease); }
.lang-list--footer .lang-link:hover, .lang-list--footer .lang-link.is-current { color: var(--gold); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-block: 22px 26px; border-top: 1px solid rgba(255,255,255,.07); font-size: 12px; line-height: 1.5; color: #8a919c; }
.back-to-top { margin-inline-start: auto; display: inline-flex; gap: 8px; color: var(--on-dark); transition: color .25s var(--ease); }
.back-to-top:hover { color: var(--gold); }

/* Floating WhatsApp */
.wa-float {
  position: fixed; inset-inline-end: 24px; bottom: 24px; z-index: 90; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--gold);
  border: 1px solid rgba(198,166,103,.55); box-shadow: 0 14px 30px -12px rgba(0,0,0,.55);
  transition: transform .35s var(--ease-out), background-color .3s var(--ease), color .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--black); }
.icon--wa { width: 26px; height: 26px; }
.js .wa-float { animation: fade .8s var(--ease) 1.6s both; }
.menu-open .wa-float { opacity: 0; pointer-events: none; }

/* =========================================================
   Scroll reveal
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 110ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* =========================================================
   404
   ========================================================= */
.page-404 { background: var(--navy); color: var(--offwhite); min-height: 100vh; display: grid; place-items: center; }
.not-found { padding: 48px 24px; width: min(680px, 100%); display: grid; gap: 28px; }
.not-found-block { display: grid; gap: 10px; padding-top: 24px; border-top: 1px solid var(--rule-dark); }
.not-found-title { font-size: 30px; font-weight: 300; }
.not-found-text { color: var(--on-dark); }
.not-found-block .link-arrow { justify-self: start; }

/* =========================================================
   Arabic & Hebrew typography
   ========================================================= */
html[lang="ar"] .section-label, html[lang="ar"] .eyebrow, html[lang="ar"] .ribbon-list li, html[lang="ar"] .brand-descriptor,
html[lang="ar"] .hero-tagline, html[lang="ar"] .hero-scroll, html[lang="ar"] .hero-caption, html[lang="ar"] .about-caption,
html[lang="ar"] .mv-label, html[lang="ar"] .project-category, html[lang="ar"] .field-label, html[lang="ar"] .header-cta,
html[lang="ar"] .menu-toggle, html[lang="ar"] .process-label, html[lang="ar"] .systems-label, html[lang="ar"] .contact-label,
html[lang="ar"] .footer-heading { letter-spacing: 0; }
html[lang="he"] .section-label, html[lang="he"] .eyebrow, html[lang="he"] .ribbon-list li, html[lang="he"] .brand-descriptor,
html[lang="he"] .hero-tagline, html[lang="he"] .hero-scroll, html[lang="he"] .hero-caption, html[lang="he"] .about-caption,
html[lang="he"] .mv-label, html[lang="he"] .project-category, html[lang="he"] .field-label, html[lang="he"] .header-cta,
html[lang="he"] .process-label, html[lang="he"] .systems-label, html[lang="he"] .contact-label, html[lang="he"] .footer-heading { letter-spacing: .04em; }
html[lang="ar"] .section-label, html[lang="ar"] .eyebrow, html[lang="ar"] .ribbon-list li, html[lang="ar"] .field-label,
html[lang="ar"] .project-category, html[lang="ar"] .mv-label, html[lang="ar"] .process-label, html[lang="ar"] .systems-label,
html[lang="ar"] .contact-label, html[lang="ar"] .footer-heading,
html[lang="he"] .section-label, html[lang="he"] .eyebrow, html[lang="he"] .ribbon-list li, html[lang="he"] .field-label,
html[lang="he"] .project-category, html[lang="he"] .mv-label, html[lang="he"] .process-label, html[lang="he"] .systems-label,
html[lang="he"] .contact-label, html[lang="he"] .footer-heading { font-size: 14px; }
html[lang="ar"] .header-cta, html[lang="he"] .header-cta { font-size: 13px; }
html[lang="ar"] .brand-descriptor, html[lang="he"] .brand-descriptor { font-size: 12px; }
html[lang="ar"] .hero-tagline, html[lang="ar"] .hero-scroll, html[lang="ar"] .hero-caption, html[lang="ar"] .about-caption,
html[lang="he"] .hero-tagline, html[lang="he"] .hero-scroll, html[lang="he"] .hero-caption, html[lang="he"] .about-caption { font-size: 13px; }
html[lang="ar"] .hero-title, html[lang="he"] .hero-title, html[lang="ar"] .page-title, html[lang="he"] .page-title { line-height: 1.22; letter-spacing: 0; }
html[lang="ar"] .section-title, html[lang="he"] .section-title, html[lang="ar"] .project-title, html[lang="he"] .project-title { letter-spacing: 0; line-height: 1.3; }
html[lang="ar"] .about-body, html[lang="ar"] .process-text, html[lang="ar"] .service-desc, html[lang="ar"] .about-lead { line-height: 1.85; }

/* =========================================================
   Responsive — small laptop
   ========================================================= */
@media (max-width: 1199.98px) {
  :root { --gutter: 48px; }
  .about-grid { column-gap: 64px; }
  .process-list { column-gap: 28px; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-grid, .quote-grid, .details-grid { column-gap: 56px; }
}

/* =========================================================
   Tablet — compact navigation
   ========================================================= */
@media (max-width: 1279.98px) {
  :root { --header-h: 80px; }
  .menu-toggle { display: inline-flex; }
  .site-menu {
    position: fixed; inset-inline: 0; top: var(--header-h); bottom: 0;
    flex-direction: column; align-items: stretch; justify-content: space-between;
    padding: 28px var(--gutter) 40px; background: var(--black); border-top: 1px solid rgba(255,255,255,.08);
    overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-10px);
    transition: opacity .35s var(--ease), transform .35s var(--ease-out), visibility 0s linear .35s;
  }
  .site-menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav { margin: 0; }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: flex; justify-content: space-between; padding-block: 20px; font-size: 28px; font-weight: 300; color: var(--offwhite); border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-link::after { display: none; }
  .nav-link.is-active { color: var(--gold); }
  .site-menu.is-open .primary-nav li { animation: rise .6s var(--ease-out) both; }
  .site-menu.is-open .primary-nav li:nth-child(2) { animation-delay: .05s; }
  .site-menu.is-open .primary-nav li:nth-child(3) { animation-delay: .1s; }
  .site-menu.is-open .primary-nav li:nth-child(4) { animation-delay: .15s; }
  .site-menu.is-open .primary-nav li:nth-child(5) { animation-delay: .2s; }
  .header-tools { flex-direction: column; align-items: flex-start; gap: 28px; margin: 36px 0 0; }
  .lang-switch { border: 0; padding: 0; margin: 0; height: auto; }
  .lang-list--header .lang-link { font-size: 17px; }
  .header-cta { margin: 0; font-size: 12px; padding: 14px 20px; }
  body.menu-open { overflow: hidden; }

  .no-js .menu-toggle { display: none; }
  .no-js .header-inner { flex-wrap: wrap; height: auto; padding-block: 16px; }
  .no-js .site-menu { position: static; visibility: visible; opacity: 1; transform: none; width: 100%; padding: 12px 0 0; background: none; border: 0; flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
  .no-js .primary-nav ul { flex-direction: row; flex-wrap: wrap; gap: 4px 20px; }
  .no-js .nav-link { font-size: 15px; padding-block: 6px; border: 0; }
  .no-js .header-tools { flex-direction: row; margin: 0; gap: 20px; align-items: center; }
}

@media (max-width: 1023.98px) {
  :root { --gutter: 40px; --header-h: 76px; }
  .brand-bar { height: 36px; }
  html[lang="en"] .brand-name { font-size: 15px; }

  .hero { min-height: clamp(640px, 100svh, 900px); }
  .hero-body { padding-block: 56px 48px; }
  .hero-footer { grid-template-columns: 1fr auto; }
  .hero-caption { display: none; }
  .ribbon-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; padding-block: 32px; min-height: 0; }

  .about, .services, .projects, .contact, .contact-details, .quote { padding-block: 96px; }
  .about-grid { grid-template-columns: 1fr 1.2fr; column-gap: 48px; }
  .mission-vision { grid-template-columns: 1fr; }
  .mv-item + .mv-item { padding-inline: 0; border-inline-start: 0; border-top: 1px solid var(--rule-light); margin-top: 26px; }
  .section-head-row { grid-template-columns: 1fr; row-gap: 18px; }
  .section-intro { max-width: 560px; }
  .process { margin-top: 88px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; column-gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; margin-top: 56px; }
  .projects-grid { row-gap: 72px; margin-top: 48px; }
  .project-media { height: clamp(320px, 46vw, 460px); }
  .hero-main { grid-template-columns: 1fr; }
  .hero-detail { display: none; }
  .hero-drawing { width: 100%; }
  .js .hero-drawing { animation-name: drawing-in-soft; }
  @keyframes drawing-in-soft { from { opacity: 0; } to { opacity: .18; } }
  .systems { grid-template-columns: 1fr; row-gap: 20px; margin-top: 72px; }
  .contact-grid, .quote-grid, .details-grid { grid-template-columns: 1fr; row-gap: 56px; }
  .quote-intro { position: static; }
  .page-hero::after { width: 100%; opacity: .25; }
  .page-hero-inner { padding-top: calc(var(--header-h) + 72px); padding-bottom: 80px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899.98px) {
  .about-grid { grid-template-columns: 1fr; row-gap: 48px; }
  .about-aside { position: static; grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 16 / 11; }
  .project-visuals, .project-card--flip .project-visuals { grid-template-columns: 1fr; gap: 16px; }
  .project-card--flip .project-drawing { order: 0; }
  .project-drawing { height: 340px; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767.98px) {
  :root { --gutter: 22px; --header-h: 68px; }
  .line { display: inline; }
  .brand { gap: 11px; }
  .brand-bar { height: 32px; }
  html[lang="en"] .brand-name { font-size: 14px; letter-spacing: .06em; }
  html[lang="ar"] .brand-name, html[lang="he"] .brand-name { font-size: 18px; }
  .brand-descriptor { font-size: 11px; letter-spacing: .1em; }
  .menu-toggle-text { display: none; }
  .menu-toggle { padding: 14px 4px; }
  .nav-link { font-size: 26px; padding-block: 18px; }

  .hero { min-height: max(620px, 100svh); }
  .hero-media { object-position: 58% center; }
  .hero-shade, [dir="rtl"] .hero-shade { background: linear-gradient(to top, rgba(11,27,48,.97) 0%, rgba(11,27,48,.84) 42%, rgba(11,27,48,.45) 78%, rgba(11,27,48,.3) 100%); }
  .hero-body { padding-block: 40px 36px; }
  .eyebrow--hero::before { width: 24px; }
  .hero-title { margin-top: 22px; font-size: clamp(40px, 11.6vw, 56px); line-height: 1.08; }
  html[lang="ar"] .hero-title, html[lang="he"] .hero-title { line-height: 1.25; }
  .hero-text { margin-top: 22px; font-size: 17px; }
  .hero-actions { margin-top: 32px; flex-direction: column; align-items: stretch; gap: 18px; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-actions .link-arrow { align-self: flex-start; }
  .hero-footer { grid-template-columns: 1fr; min-height: 0; padding-block: 18px 22px; }
  .hero-scroll { display: none; }
  .ribbon-list { grid-template-columns: 1fr 1fr; column-gap: 16px; padding-block: 26px; }
  .ribbon-list li { font-size: 11px; letter-spacing: .1em; gap: 12px; }

  .about, .services, .projects, .contact, .contact-details, .quote { padding-block: 72px; }
  .about-caption { inset-inline-start: 12px; bottom: 12px; }
  .about-stat { padding: 18px 20px; gap: 18px; }
  .about-stat-value { font-size: 40px; }
  .about-lead { font-size: 18px; }
  .process { margin-top: 64px; }
  .process-list { grid-template-columns: 1fr; row-gap: 32px; }
  .process-text { max-width: none; }
  .section-title { font-size: clamp(32px, 9vw, 40px); }
  .services-grid { grid-template-columns: 1fr; row-gap: 44px; margin-top: 44px; }
  .projects-grid { margin-top: 40px; row-gap: 56px; }
  .project-media { height: 300px; }
  .project-drawing { height: 300px; padding: 16px; }
  .media-badge { inset-inline-start: 10px; top: 10px; font-size: 11px; }
  .projects-note { margin-top: 48px; }
  .hero-drawing { opacity: .16; }
  .project-title { font-size: 24px; }
  .systems { margin-top: 56px; }
  .systems-list { grid-template-columns: 1fr; gap: 14px; }
  .systems-list li { font-size: 18px; }

  .contact-card { padding: 28px 20px; margin-inline: -4px; }
  .contact-buttons .btn { flex: 1 1 auto; }
  .contact-cta .btn { width: 100%; min-width: 0; }
  .page-title { font-size: clamp(36px, 10vw, 48px); }
  .page-intro { font-size: 17px; }
  .map-frame { aspect-ratio: 4 / 3.6; }
  .map-actions .btn { width: 100%; }
  .quote-form { grid-template-columns: 1fr; row-gap: 26px; padding: 28px 20px; margin-inline: -4px; }
  .btn--block { white-space: normal; text-align: start; }
  .file-field { flex-direction: column; align-items: flex-start; gap: 10px; }
  .file-name { max-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 40px; }
  .footer-legal { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .back-to-top { margin-inline-start: 0; }
  .wa-float { inset-inline-end: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* =========================================================
   Departments — navigation dropdown
   ========================================================= */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-link, .lang-link, .header-cta { white-space: nowrap; }
@media (min-width: 1280px) {
  .primary-nav ul { gap: clamp(18px, 1.9vw, 32px); }
  .lang-switch { padding-inline-start: 20px; }
  .header-cta { margin-inline-start: 22px; padding-inline: 14px; }
}
@media (min-width: 1400px) { .brand { width: 360px; } }
.dropdown-toggle {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-inline-start: 2px; padding: 0;
  background: none; border: 0; color: var(--on-dark); cursor: pointer; transition: color .25s var(--ease), transform .3s var(--ease-out);
}
.dropdown-toggle .chevron { width: 10px; height: 7px; transition: transform .3s var(--ease-out); }
.dropdown-toggle:hover { color: var(--gold); }
.has-dropdown.is-open .dropdown-toggle .chevron { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 18px); inset-inline-start: -22px; z-index: 5; width: 360px;
  padding: 12px; background: rgba(16, 17, 20, .97); border: 1px solid rgba(255,255,255,.08); border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.dropdown::before { content: ""; position: absolute; inset-inline: 0; top: -20px; height: 20px; } /* hover bridge */
.has-dropdown.is-open .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (min-width: 1280px) and (hover: hover) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.dropdown ul { display: grid; gap: 2px; }
.dropdown-link {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 12px; font-size: 14px; line-height: 1.35; color: var(--on-dark-strong);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.dropdown-link:hover, .dropdown-link:focus-visible { background: rgba(198,166,103,.1); color: var(--offwhite); }
.dropdown-link[aria-current="page"] { color: var(--gold); }
.dropdown-num { font-size: 11px; font-weight: 500; color: var(--gold); letter-spacing: .06em; min-width: 18px; }
.dropdown-all {
  display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 12px 6px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 13px; font-weight: 500; color: var(--gold);
}
.dropdown-all:hover { color: var(--offwhite); }

/* =========================================================
   Home — departments grid
   ========================================================= */
.departments { background: var(--navy); color: var(--offwhite); padding-block: 120px; }
.departments .section-title { color: var(--offwhite); }
.departments .section-intro { color: var(--on-dark); }
.departments .section-label { color: var(--gold); }
.dept-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 64px; }
.dept-card-link { position: relative; display: block; height: 440px; overflow: hidden; background: var(--black); isolation: isolate; }
.dept-card-media { position: absolute; inset: 0; z-index: -2; }
.dept-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s var(--ease); filter: saturate(.9); }
.dept-card-link::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,27,48,.96) 0%, rgba(11,27,48,.72) 38%, rgba(11,27,48,.08) 72%);
  transition: background-color .5s var(--ease);
}
.dept-card-link::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0; height: 2px; width: 100%; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
[dir="rtl"] .dept-card-link::after { transform-origin: right; }
.dept-card-body { position: absolute; inset-inline: 0; bottom: 0; display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; }
.dept-card-num { font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--gold); }
.dept-card-title { font-size: 22px; font-weight: 400; line-height: 1.25; color: var(--offwhite); letter-spacing: -0.01em; }
.dept-card-text {
  font-size: 14px; line-height: 1.55; color: var(--on-dark);
  max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease-out), opacity .4s var(--ease);
}
.dept-card-cta { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--gold); }
.dept-card-link:hover .dept-card-media img, .dept-card-link:focus-visible .dept-card-media img { transform: scale(1.06); filter: saturate(1); }
.dept-card-link:hover::after, .dept-card-link:focus-visible::after { transform: scaleX(1); }
.dept-card-link:hover .dept-card-text, .dept-card-link:focus-visible .dept-card-text { max-height: 140px; opacity: 1; }
@media (hover: none) { .dept-card-text { max-height: none; opacity: 1; } }

/* Home map under the contact section */
.home-map { margin-top: 72px; }
.home-map .map-frame { aspect-ratio: 21 / 8; }

/* =========================================================
   Department page
   ========================================================= */
.dept-hero { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(600px, 86svh, 860px); display: flex; align-items: flex-end; background: var(--navy); color: var(--offwhite); }
.dept-hero-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.js .dept-hero-media { animation: hero-zoom 2.6s var(--ease-out) both; }
.dept-hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(11,27,48,.97) 0%, rgba(11,27,48,.78) 38%, rgba(11,27,48,.25) 75%, rgba(16,17,20,.45) 100%);
}
.hero-drawing--dept { width: 44%; opacity: .2; }
.js .hero-drawing--dept { animation: none; opacity: .2; }
.dept-hero-inner { position: relative; z-index: 1; width: 100%; padding-top: calc(var(--header-h) + 64px); padding-bottom: 88px; }
.js .dept-hero-inner > * { animation: rise .9s var(--ease-out) both; }
.js .dept-hero-inner > :nth-child(2) { animation-delay: .08s; }
.js .dept-hero-inner > :nth-child(3) { animation-delay: .16s; }
.js .dept-hero-inner > :nth-child(4) { animation-delay: .24s; }
.js .dept-hero-inner > :nth-child(5) { animation-delay: .32s; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 26px; font-size: 13px; color: var(--on-dark); }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 6px; color: rgba(198,166,103,.6); }
.breadcrumb a { transition: color .2s var(--ease); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--offwhite); }
.dept-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 36px; }
.dept-actions .btn--outline { min-height: 58px; padding-inline: 22px; }

.dept-overview { background: var(--offwhite); padding-block: 112px; }
.dept-overview-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 80px; align-items: start; }
.dept-intro-text { font-size: 17px; line-height: 1.8; color: var(--text-muted); max-width: 680px; }
.dept-intro-text:first-child { font-size: 22px; font-weight: 300; line-height: 1.55; color: var(--heading); }
.dept-intro-text + .dept-intro-text { margin-top: 22px; }
.tech-card { background: var(--navy); color: var(--offwhite); padding: 34px 34px 26px; border-top: 2px solid var(--gold); }
.tech-title { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tech-list { margin: 18px 0 0; }
.tech-row { display: grid; grid-template-columns: minmax(0, 130px) 1fr; gap: 18px; padding-block: 14px; border-bottom: 1px solid var(--rule-dark); }
.tech-row:last-child { border-bottom: 0; }
.tech-row dt { font-size: 13px; color: var(--on-dark-muted); }
.tech-row dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--on-dark-strong); }

.dept-section-title { font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; line-height: 1.2; letter-spacing: -0.015em; color: var(--heading); }
.dept-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; }
.dept-section-note { font-size: 14px; color: var(--on-dark-muted); }

.dept-services { background: var(--paper); padding-block: 112px; }
.dept-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 40px; margin-top: 52px; }
.dept-service { position: relative; padding-top: 24px; border-top: 1px solid var(--rule-light); }
.dept-service::before { content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 48px; height: 1px; background: var(--gold-text); }
.dept-service-num { font-size: 13px; font-weight: 500; color: var(--gold-text); letter-spacing: .06em; }
.dept-service-title { margin-top: 12px; font-size: 21px; font-weight: 400; line-height: 1.3; color: var(--heading); }
.dept-service-text { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--text-muted); }

.dept-gallery { background: var(--navy); padding-block: 112px; }
.dept-gallery .dept-section-title { color: var(--offwhite); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: var(--black); cursor: zoom-in; overflow: hidden; aspect-ratio: 3 / 2; }
.gallery-item:first-child .gallery-open { aspect-ratio: auto; height: calc(100% - 34px); min-height: 360px; }
.gallery-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.gallery-open:hover img { transform: scale(1.04); }
.gallery-item--drawing .gallery-open {
  background-color: var(--navy-2);
  background-image: linear-gradient(rgba(198,166,103,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(198,166,103,.08) 1px, transparent 1px);
  background-size: 22px 22px;
}
.gallery-item--drawing .gallery-open img { object-fit: contain; padding: 12px; }
.gallery-credit { margin-top: 10px; font-size: 12px; color: var(--on-dark-muted); }
.gallery-credit a { text-decoration: underline; text-decoration-color: rgba(198,166,103,.4); text-underline-offset: 3px; }
.gallery-credit a:hover { color: var(--gold); }

.dept-related { background: var(--black); color: var(--offwhite); padding-block: 112px; }
.dept-related .dept-section-title { color: var(--offwhite); margin-bottom: 44px; }
.dept-related .projects-note { margin-top: 48px; }

.dept-cta { background: var(--offwhite); padding-block: 96px; border-bottom: 1px solid var(--rule-light); }
.dept-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.dept-cta-title { font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.2; color: var(--heading); letter-spacing: -0.015em; }
.dept-cta .dept-actions { margin-top: 0; }
.dept-cta .btn--outline { color: var(--heading); border-color: rgba(125,96,43,.45); }
.dept-cta .btn--outline .icon { color: var(--gold-text); }
.dept-cta .btn--outline:hover { color: var(--black); }
.dept-cta .btn--outline:hover .icon { color: var(--black); }

.dept-others { background: var(--paper); padding-block: 96px 112px; }
.other-dept-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 40px; }
.other-dept { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy); isolation: isolate; }
.other-dept img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.other-dept::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(11,27,48,.94), rgba(11,27,48,.15) 70%); }
.other-dept-num { position: absolute; top: 14px; inset-inline-start: 16px; font-size: 12px; font-weight: 500; color: var(--gold); letter-spacing: .1em; }
.other-dept-title { position: absolute; inset-inline: 16px; bottom: 14px; font-size: 16px; line-height: 1.3; color: var(--offwhite); }
.other-dept:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; padding: 0; border: 0; background: transparent; color: var(--offwhite); }
.lightbox::backdrop { background: rgba(10, 12, 16, .94); }
.lightbox[open] { display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; }
.lightbox-figure { margin: 0; display: grid; justify-items: center; gap: 14px; padding: 56px 0 24px; }
.lightbox-figure img { max-width: min(1400px, calc(100vw - 180px)); max-height: calc(100vh - 160px); object-fit: contain; background: var(--navy); }
.lightbox-figure figcaption { font-size: 14px; color: var(--on-dark); text-align: center; max-width: 900px; padding-inline: 12px; }
.lightbox-close { position: absolute; top: 18px; inset-inline-end: 22px; width: 48px; height: 48px; font-size: 34px; line-height: 1; background: none; border: 0; color: var(--offwhite); cursor: pointer; }
.lightbox-nav { justify-self: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(198,166,103,.5); background: rgba(16,17,20,.6); color: var(--gold); font-size: 30px; line-height: 1; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease); }
.lightbox-nav:hover, .lightbox-close:hover { color: var(--black); background: var(--gold); }
.lightbox-close:hover { border-radius: 50%; }

/* Language gateway page */
.page-gateway { background: var(--navy); color: var(--offwhite); min-height: 100vh; display: grid; place-items: center; }
.gateway-langs { display: flex; flex-wrap: wrap; gap: 12px; }
.gateway-langs a { display: inline-block; padding: 12px 22px; border: 1px solid rgba(198,166,103,.5); font-size: 16px; transition: background-color .25s var(--ease), color .25s var(--ease); }
.gateway-langs a:hover { background: var(--gold); color: var(--black); }

/* Footer with departments column */
.footer-grid { grid-template-columns: 1.2fr .8fr 1.3fr 1.2fr; }
.footer-depts ul { display: grid; gap: 12px; }
.footer-depts a { font-size: 14px; line-height: 1.4; transition: color .25s var(--ease); }
.footer-depts a:hover { color: var(--gold); }

/* =========================================================
   Aluminum Systems (manufacturer reference) page
   ========================================================= */
.page-hero--systems::after {
  background: url("../images/drawings/mullion-section.svg") 78% center / auto 82% no-repeat, linear-gradient(to right, rgba(11,27,48,1), rgba(11,27,48,.7));
  opacity: .5;
}
[dir="rtl"] .page-hero--systems::after {
  background: url("../images/drawings/mullion-section.svg") 22% center / auto 82% no-repeat, linear-gradient(to left, rgba(11,27,48,1), rgba(11,27,48,.7));
}
.sys-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.sys-jump a { display: inline-block; padding: 10px 20px; border: 1px solid rgba(198,166,103,.5); font-size: 14px; font-weight: 500; letter-spacing: .14em; color: var(--offwhite); transition: background-color .25s var(--ease), color .25s var(--ease); }
.sys-jump a:hover { background: var(--gold); color: var(--black); }

.systems-page { background: var(--offwhite); padding-block: 104px 112px; }
.sys-maker { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 56px; padding-block: 64px; border-top: 1px solid var(--rule-light); scroll-margin-top: calc(var(--header-h) + 16px); }
.sys-maker:first-child { padding-top: 0; border-top: 0; }
.sys-maker-head { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.sys-maker-name { font-size: 40px; font-weight: 300; letter-spacing: .14em; color: var(--heading); line-height: 1.1; }
.sys-maker-local { margin-top: 6px; font-size: 15px; color: var(--gold-text); }
.sys-maker-text { margin-top: 20px; font-size: 15px; line-height: 1.7; color: var(--text-muted); }
.sys-maker-head .link-arrow { margin-top: 18px; }
.sys-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sys-card { display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 22px; background: var(--paper); border: 1px solid var(--rule-light); border-top: 2px solid var(--gold-text); }
.sys-card-title { font-size: 20px; font-weight: 400; color: var(--heading); line-height: 1.3; }
.sys-card-text { font-size: 15px; line-height: 1.65; color: var(--text-muted); flex: 1; }
.series-list { display: flex; flex-wrap: wrap; gap: 6px; }
.series-list li { padding: 4px 10px; font-size: 12px; line-height: 1.5; color: var(--heading); background: rgba(11,27,48,.05); border: 1px solid rgba(11,27,48,.1); white-space: nowrap; }
.sys-links { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-top: 4px; }
.sys-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--gold-text); border-bottom: 1px solid rgba(125,96,43,.35); padding-block: 4px; transition: color .25s var(--ease), border-color .25s var(--ease); }
.sys-link:hover { color: var(--heading); border-bottom-color: var(--heading); }
.sys-link--secondary { font-weight: 400; }
.sys-disclaimer { margin-top: 40px; padding: 28px 30px; background: var(--navy); color: var(--on-dark-strong); border-inline-start: 3px solid var(--gold); }
.sys-disclaimer-title { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.sys-disclaimer p { font-size: 14px; line-height: 1.7; }
.sys-reviewed { margin-top: 10px; color: var(--on-dark-muted); }
.dropdown-systems { margin-top: 0; border-top: 0; padding-top: 4px; }

/* Department page: relevant systems */
.dept-systems { background: var(--offwhite); padding-block: 104px; border-top: 1px solid var(--rule-light); }
.dsys-note { margin-top: 12px; font-size: 14px; color: var(--text-muted); max-width: 760px; }
.dsys-list { margin-top: 36px; display: grid; gap: 0; }
.dsys-row { display: grid; grid-template-columns: minmax(0, 160px) 1fr; gap: 28px; padding-block: 24px; border-top: 1px solid var(--rule-light); }
.dsys-maker { font-size: 18px; font-weight: 500; letter-spacing: .14em; color: var(--gold-text); }
.dsys-body { display: grid; gap: 12px; }
.dsys-title { font-size: 19px; font-weight: 400; color: var(--heading); }
html[lang="ar"] .sys-maker-name, html[lang="ar"] .dsys-maker { letter-spacing: .08em; }

/* ---------- New components: responsive ---------- */
@media (max-width: 1279.98px) {
  .nav-item { flex-wrap: wrap; }
  .nav-item > .nav-link { flex: 1 1 auto; }
  .dropdown-toggle { width: 52px; height: 52px; border-inline-start: 1px solid rgba(255,255,255,.08); color: var(--gold); }
  .dropdown-toggle .chevron { width: 14px; height: 9px; }
  .dropdown {
    position: static; width: 100%; padding: 4px 0 14px; background: none; border: 0; box-shadow: none;
    display: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .dropdown::before { display: none; }
  .has-dropdown.is-open .dropdown { display: block; }
  .dropdown-link { padding: 12px 4px; font-size: 17px; }
  .dropdown-all { padding-inline: 4px; }
  .no-js .dropdown, .no-js .dropdown-toggle { display: none; }
  .dept-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1023.98px) {
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dept-card-link { height: 400px; }
  .dept-card-text { max-height: none; opacity: 1; }
  .dept-overview-grid { grid-template-columns: 1fr; gap: 48px; }
  .dept-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item:first-child { grid-row: auto; }
  .gallery-item:first-child .gallery-open { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .departments, .dept-overview, .dept-services, .dept-gallery, .dept-related { padding-block: 88px; }
  .home-map .map-frame { aspect-ratio: 16 / 9; }
  .sys-maker { grid-template-columns: 1fr; gap: 32px; }
  .sys-maker-head { position: static; }
  .dept-systems, .systems-page { padding-block: 80px; }
  .hero-drawing--dept { width: 100%; opacity: .12; }
  .js .hero-drawing--dept { opacity: .12; }
  .lightbox[open] { grid-template-columns: 52px 1fr 52px; }
  .lightbox-figure img { max-width: calc(100vw - 112px); }
}
@media (max-width: 767.98px) {
  .sys-grid { grid-template-columns: 1fr; }
  .sys-card { padding: 22px 18px 18px; }
  .sys-maker-name { font-size: 32px; }
  .dsys-row { grid-template-columns: 1fr; gap: 8px; }
  .dept-systems, .systems-page { padding-block: 64px; }
  .series-list li { white-space: normal; }
  .dept-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 40px; }
  .dept-card-link { height: 340px; }
  .departments, .dept-overview, .dept-services, .dept-gallery, .dept-related, .dept-cta, .dept-others { padding-block: 64px; }
  .dept-hero { min-height: max(560px, 92svh); }
  .dept-hero-inner { padding-bottom: 56px; }
  .dept-actions { flex-direction: column; align-items: stretch; }
  .dept-actions .btn { width: 100%; min-width: 0; justify-content: space-between; }
  .dept-intro-text:first-child { font-size: 19px; }
  .tech-card { padding: 26px 20px 18px; margin-inline: -4px; }
  .tech-row { grid-template-columns: 1fr; gap: 4px; }
  .dept-service-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 36px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .gallery-item:first-child { grid-column: auto; }
  .other-dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .other-dept-title { font-size: 14px; inset-inline: 10px; bottom: 10px; }
  .home-map { margin-top: 48px; }
  .home-map .map-frame { aspect-ratio: 4 / 3.4; }
  .footer-grid { grid-template-columns: 1fr; }
  .lightbox[open] { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox-figure { grid-row: 1; padding-top: 64px; }
  .lightbox-figure img { max-width: calc(100vw - 24px); max-height: calc(100vh - 220px); }
  .lightbox-prev, .lightbox-next { grid-row: 2; position: fixed; bottom: 24px; }
  .lightbox-prev { inset-inline-start: 24px; }
  .lightbox-next { inset-inline-end: 24px; }
}

/* ---------- Motion preferences & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-header, .hero-shade, .quote-form, .menu-toggle, .back-to-top, .wa-float, .map-card { display: none !important; }
  .hero { color: #000; min-height: 0; }
  .hero-media { position: static; height: auto; animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
