:root {
  --ink: #10202c;
  --navy: #071722;
  --navy-2: #0d2838;
  --teal: #0c7384;
  --teal-2: #1493a6;
  --gold: #b8904a;
  --gold-2: #e4c98a;
  --paper: #f4f1ea;
  --paper-2: #fffdf9;
  --line: rgba(16, 32, 44, 0.12);
  --muted: #5d6c78;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(7, 23, 34, 0.14);
  --header: 78px;
  --serif: "Sora", "Cairo", sans-serif;
  --sans: "Cairo", "Sora", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section, .filters { scroll-margin-top: 96px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
}
html[lang="en"] body { font-family: var(--serif); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
::selection { background: #d5efe8; color: var(--navy); }

html[lang="ar"] [data-lang="en"],
html[lang="en"] [data-lang="ar"] { display: none !important; }

.num, .ltr { direction: ltr; unicode-bidi: isolate; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}
.wrap-wide {
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 253, 249, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner {
  width: min(1320px, calc(100% - 32px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  background: white;
  border-radius: 10px;
}
.brand div { white-space: nowrap; line-height: 1.2; }
.brand strong { font-size: 16px; letter-spacing: 0; }
.brand span { color: var(--muted); font-size: 15px; font-weight: 700; margin-inline-start: 6px; }
.nav {
  display: flex;
  gap: 18px;
  margin-inline-start: auto;
  font-size: 14.5px;
  font-weight: 600;
}
.nav a { color: var(--navy-2); opacity: 0.82; }
.nav a:hover { color: var(--teal); opacity: 1; }
.lang-btn, .menu-btn, .pdf-btn {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
}
.pdf-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: var(--navy);
  color: white;
  border-color: var(--navy);
  white-space: nowrap;
}
.pdf-btn svg { display: block; }
.pdf-btn:hover { background: var(--navy-2); }
.lang-btn { letter-spacing: 0.04em; }
.menu-btn { display: none; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  color: white;
  display: grid;
  align-items: end;
  background:
    linear-gradient(100deg, rgba(7, 23, 34, 0.88) 0%, rgba(7, 23, 34, 0.55) 48%, rgba(7, 23, 34, 0.25) 100%),
    url("assets/img/road-3.jpg") center/cover no-repeat;
}
html[dir="ltr"] .hero {
  background:
    linear-gradient(260deg, rgba(7, 23, 34, 0.88) 0%, rgba(7, 23, 34, 0.55) 48%, rgba(7, 23, 34, 0.25) 100%),
    url("assets/img/road-3.jpg") center/cover no-repeat;
}
.hero-inner { padding: 72px 0 56px; width: min(1320px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.35;
  margin: 14px 0 18px;
  max-width: 18em;
  font-weight: 800;
}
html[lang="en"] .hero h1 { max-width: 16em; letter-spacing: -0.03em; line-height: 1.2; }
.hero p.lead { max-width: 46ch; font-size: 18px; color: rgba(255,255,255,0.86); margin: 0 0 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-gold { background: var(--gold); color: #1c1406; }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.35); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }
.btn-teal { background: var(--teal); color: white; }
.btn-teal:hover { background: var(--teal-2); }

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--navy);
  color: white;
}
.stat { padding: 26px 22px; border-inline-start: 1px solid rgba(255,255,255,0.08); }
.stat:first-child { border-inline-start: 0; }
.stat b {
  display: block;
  width: 100%;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 750;
  color: var(--gold-2);
  letter-spacing: -0.03em;
}
html[dir="rtl"] .stat b,
html[dir="rtl"] .money b,
html[dir="rtl"] .equip b,
html[dir="rtl"] .band b { text-align: right; }
html[dir="ltr"] .stat b,
html[dir="ltr"] .money b,
html[dir="ltr"] .equip b,
html[dir="ltr"] .band b { text-align: left; }
.stat span { color: rgba(255,255,255,0.72); font-size: 14px; }

.clients {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.clients p { margin: 0 0 10px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.client-row { display: flex; flex-wrap: wrap; gap: 8px 18px; font-weight: 700; color: var(--navy-2); font-size: 14.5px; }
.client-row span { opacity: 0.8; }

.section { padding: 88px 0; }
.section-head { margin-bottom: 36px; }
.section-head h2 { white-space: nowrap; }
.kicker { color: var(--teal); font-weight: 800; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0 0 8px; }
h2 { font-size: clamp(26px, 3.1vw, 36px); line-height: 1.25; margin: 0 0 12px; letter-spacing: -0.02em; }
.sub { color: var(--muted); margin: 0; font-size: 17px; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: start;
}
.about-grid p { margin: 0 0 16px; }
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.fact {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
}
.fact small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.fact b { font-size: 16px; }
.collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}
.collage img { width: 100%; height: 180px; object-fit: cover; border-radius: 16px; }
.collage img.tall { height: 370px; grid-row: span 2; }

.vision-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 22px; }
.panel {
  background: var(--navy);
  color: white;
  border-radius: 24px;
  padding: 32px;
  min-height: 100%;
}
.panel h3, .card h3 { margin: 0 0 10px; font-size: 28px; }
.panel p, .panel li { color: rgba(255,255,255,0.86); }
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 30px;
}
.card ol { margin: 0; padding-inline-start: 18px; }
.card li { margin: 0 0 10px; }

.gm {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gm img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.gm-copy { padding: 36px 36px 32px 8px; }
html[dir="ltr"] .gm-copy { padding: 36px 36px 32px 8px; }
html[dir="rtl"] .gm-copy { padding: 36px 8px 32px 36px; }
.gm-copy h3 { margin: 0; font-size: 28px; }
.leadership-stack { display: grid; gap: 18px; }
.gm.photo-left {
  direction: ltr;
  grid-template-columns: 340px 1fr;
}
.gm.photo-left .gm-photo {
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 8px;
  background: linear-gradient(180deg, #f7f3eb 0%, #e6dfd2 100%);
}
.gm.photo-left .gm-photo img {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(7, 23, 34, 0.16), 0 0 0 1px rgba(7, 23, 34, 0.08);
}
html[dir="rtl"] .gm.photo-left .gm-copy,
html[dir="ltr"] .gm.photo-left .gm-copy {
  direction: rtl;
  text-align: right;
  padding: 36px 36px 32px 8px;
}
html[dir="ltr"] .gm.photo-left .gm-copy {
  direction: ltr;
  text-align: left;
}
.role { color: var(--teal); font-weight: 800; margin: 4px 0 16px; }

.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.class-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 16px;
}
.class-item b { font-size: 16px; }
.deg {
  flex: none;
  background: var(--navy);
  color: var(--gold-2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
}
.deg.d1 { background: var(--teal); color: white; }

.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.service {
  background: white;
  border-radius: 18px;
  padding: 20px 18px 18px;
  border: 1px solid var(--line);
  min-height: 180px;
}
.service i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e7f4f6;
  color: var(--teal);
  margin-bottom: 12px;
}
.service h3 { margin: 0 0 6px; font-size: 18px; }
.service p { margin: 0; color: var(--muted); font-size: 14.5px; }
.note {
  margin-top: 22px;
  background: var(--paper);
  border-radius: 18px;
  padding: 20px 22px;
  border: 1px solid var(--line);
}
.note h3 { margin: 0 0 8px; }

.bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 12px;
}
.tile {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  color: white;
  display: flex;
  align-items: flex-end;
}
button.tile {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  background: none;
  font: inherit;
  text-align: start;
  cursor: pointer;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.tile:hover img { transform: scale(1.05); }
.tile .meta {
  position: relative;
  z-index: 1;
  padding: 16px;
  width: 100%;
  background: linear-gradient(transparent, rgba(7,23,34,0.88));
}
.tile .meta small { color: var(--gold-2); font-weight: 800; letter-spacing: 0.06em; }
.tile h3 { margin: 2px 0 0; font-size: 20px; }
.tile.span2 { grid-column: span 2; }
.tile.tall { grid-row: span 2; }
.chip {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  background: rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 2px 8px;
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.filters button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}
.filters button.on { background: var(--navy); color: white; border-color: var(--navy); }

.masonry {
  columns: 3;
  column-gap: 12px;
}
.shot {
  break-inside: avoid;
  margin: 0 0 12px;
  position: relative;
  cursor: zoom-in;
}
.shot img { width: 100%; border-radius: 16px; }
.shot figcaption {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  background: rgba(7,23,34,0.78);
  color: white;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 13px;
}

.register { background: var(--paper); }
.toolbar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 14px;
}
.toolbar input {
  flex: 1;
  min-width: 220px;
  border: 1px solid var(--line);
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
}
.count { color: var(--muted); font-size: 14px; }
.reg-block { margin-top: 28px; }
.reg-block h3 { margin: 0 0 4px; font-size: 22px; }
.reg-block .sub { margin: 0 0 12px; font-size: 15px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 16px; background: white; }
table { width: 100%; border-collapse: collapse; }
.table-wrap table { min-width: 760px; }
th, td { padding: 12px 14px; text-align: start; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14.5px; }
th { background: #f7f5f0; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
.bar { height: 6px; background: #e6e1d6; border-radius: 99px; overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold)); }

.equip-grid, .people-grid, .iso-grid, .branch-grid, .unit-grid {
  display: grid;
  gap: 12px;
}
.equip-grid { grid-template-columns: repeat(4, 1fr); }
.equip {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px 12px;
}
.equip b { display: block; font-size: 26px; color: var(--teal); letter-spacing: -0.03em; }
.equip span { color: var(--muted); font-size: 14px; }
.fleet-photos { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.fleet-photos img { width: 100%; height: 220px; object-fit: cover; border-radius: 16px; }

.people-grid { grid-template-columns: 280px 1fr; align-items: start; }
.band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.band div, .staff-table { background: white; border: 1px solid var(--line); border-radius: 14px; }
.band div { padding: 14px; }
.band b { display: block; font-size: 24px; }
.org-shot { background: white; border-radius: 18px; border: 1px solid var(--line); padding: 12px; }
.org-shot img { width: 100%; height: auto; }

.money { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.money article {
  background: var(--navy);
  color: white;
  border-radius: 16px;
  padding: 16px;
}
.money small { color: var(--gold-2); font-weight: 800; }
.money b { display: block; margin-top: 8px; font-size: 18px; overflow-wrap: anywhere; }

.iso-grid { grid-template-columns: repeat(3, 1fr); }
.iso-grid figure { margin: 0; background: white; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); cursor: zoom-in; }
.iso-grid img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.iso-grid figcaption {
  padding: 16px 18px 18px;
  display: grid;
  gap: 2px;
  text-align: start;
}
.iso-grid figcaption b { font-size: 16px; font-weight: 800; }
.iso-grid figcaption span { font-weight: 700; font-size: 15px; }
.iso-grid figcaption small { color: var(--muted); font-size: 12.5px; font-weight: 700; }

.unit-grid, .branch-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.unit, .branch {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 22px 16px;
}
.unit { display: flex; flex-direction: column; }
.unit h3 { font-size: 18px; line-height: 1.45; min-height: 2.9em; }
.unit .addr { margin: 0 0 18px; color: var(--muted); min-height: 3.2em; }
.unit-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.unit-line + .unit-line { margin-top: 0; }
.unit-line span { color: var(--muted); font-weight: 700; }
.unit-line .num { font-weight: 800; color: var(--navy); text-decoration: none; }
.branch { background: #12384c; color: white; border-color: rgba(255,255,255,0.08); display: flex; flex-direction: column; }
.branch a { color: var(--gold-2); }
.unit h3, .branch h3 { margin: 0 0 8px; }
.branch .addr { margin: 0 0 12px; color: rgba(255,255,255,0.72); min-height: 3.2em; }
.branch-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.branch-line .num { font-weight: 700; color: white; text-decoration: none; }
.mail-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mail-list a {
  direction: ltr;
  unicode-bidi: isolate;
  color: var(--gold-2);
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 14px;
}
.people-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 8px 0 16px; }
.person {
  background: #12384c;
  border-radius: 16px;
  padding: 16px 18px;
}
.person b { display: block; font-size: 16px; }
.person .num { display: inline-block; margin-top: 6px; color: var(--gold-2); font-weight: 700; font-size: 18px; text-decoration: none; }

.contact-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}
.contact-hero img { border-radius: 20px; height: 280px; width: 100%; object-fit: cover; }

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 28px 0;
  font-size: 14px;
}
.footer-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
footer a { color: var(--gold-2); }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(7, 23, 34, 0.72);
}
.sheet.open { display: flex; }
.sheet-card {
  position: relative;
  width: min(920px, 100%);
  max-height: min(86vh, 780px);
  overflow: auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  background: white;
  color: var(--ink);
  border-radius: 24px;
}
.sheet-card img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.sheet-copy { padding: 28px 28px 22px; }
.sheet-copy h3 { margin: 0 0 14px; font-size: 28px; line-height: 1.35; }
.sheet-copy p { margin: 0 0 10px; }
.sheet-copy b { color: var(--teal); }
.sheet-card > button {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  z-index: 1;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: white;
  cursor: pointer;
  font-size: 20px;
}
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(7, 23, 34, 0.92);
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: 12px; }
.lightbox p { position: absolute; bottom: 18px; color: white; margin: 0; }
.lightbox button {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  background: white;
  border: 0;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 980px) {
  .section-head h2 { white-space: normal; }
  .site-header { height: auto; min-height: var(--header); overflow: visible; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 6px 16px 12px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 45;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
  .stats, .class-grid, .service-grid, .money, .iso-grid, .unit-grid, .branch-grid, .equip-grid, .people-row, .band { grid-template-columns: 1fr 1fr; }
  .about-grid, .vision-grid, .gm, .gm.photo-left, .people-grid, .contact-hero, .bento { grid-template-columns: 1fr; }
  .tile.span2, .tile.tall { grid-column: auto; grid-row: auto; }
  .sheet-card { grid-template-columns: 1fr; }
  .sheet-card img { max-height: 220px; min-height: 0; }
  .bento { grid-auto-rows: 240px; }
  .masonry { columns: 2; }
  .gm img { min-height: 320px; max-height: 460px; }
  .gm.photo-left .gm-photo { padding: 8px; }
  .gm.photo-left .gm-photo img { height: auto; min-height: 0; max-height: 460px; }
  html[dir="rtl"] .gm-copy, html[dir="ltr"] .gm-copy { padding: 22px; }
  html[dir="rtl"] .gm.photo-left .gm-copy,
  html[dir="ltr"] .gm.photo-left .gm-copy { padding: 22px; }
  .fleet-photos { grid-template-columns: 1fr; }
  .fleet-photos img { height: 200px; }
}
@media (max-width: 720px) {
  .site-header { min-height: 68px; }
  .header-inner {
    gap: 8px;
    width: min(1320px, calc(100% - 28px));
    padding-block: 10px;
    flex-wrap: nowrap;
  }
  .brand { flex: 1; min-width: 0; gap: 10px; }
  .brand img { width: 44px; height: 44px; flex-shrink: 0; }
  .brand div { white-space: normal; line-height: 1.2; min-width: 0; }
  .brand strong { display: block; margin: 0; font-size: 15px; line-height: 1.15; }
  .brand span { display: block; margin: 0; font-size: 12px; line-height: 1.25; font-weight: 700; }
  .lang-btn, .pdf-btn, .menu-btn {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    padding: 0;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .pdf-btn svg { width: 18px; height: 18px; }
  .pdf-btn span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .hero { min-height: 0; }
  .hero-inner { padding: 36px 0 32px; }
  .hero h1 { font-size: 32px; }
  .hero p.lead { font-size: 16.5px; margin-bottom: 20px; }
  .hero-actions .btn { min-height: 44px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 22px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-inline-start: 0; padding: 16px 16px 14px; }
  .stat:last-child { grid-column: 1 / -1; }
  .equip-grid, .band { grid-template-columns: 1fr 1fr; }
  .masonry { columns: 2; }
  .iso-grid img { height: 240px; }
  .unit h3, .unit .addr, .branch .addr { min-height: 0; }
  .gm img { object-position: center 12%; }
  .sheet { padding: 12px; }
  .sheet-card { border-radius: 18px; }
  html:not(.pdf-export) .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
    border-radius: 0;
  }
  html:not(.pdf-export) .table-wrap table { min-width: 0; }
  html:not(.pdf-export) .table-wrap thead { display: none; }
  html:not(.pdf-export) .table-wrap tr {
    display: block;
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    margin: 0 0 12px;
    padding: 12px 14px 8px;
  }
  html:not(.pdf-export) .table-wrap td {
    display: block;
    width: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
    padding: 8px 0;
    text-align: start;
  }
  html:not(.pdf-export) .table-wrap td:last-child { border-bottom: 0; }
  html:not(.pdf-export) .table-wrap td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
  }
  html:not(.pdf-export) .table-wrap td:first-child {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.45;
  }
  html[dir="rtl"]:not(.pdf-export) .table-wrap td.num { text-align: right; }
  html:not(.pdf-export) .table-wrap td.progress-cell .bar { margin-top: 8px; }
}
@media (max-width: 640px) {
  .class-grid, .service-grid, .money, .iso-grid, .unit-grid, .branch-grid, .facts, .people-row { grid-template-columns: 1fr; }
  .money b { font-size: 17px; overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Desktop canvas for the PDF, including when the screen itself is narrow. */
html.pdf-export body {
  width: 1280px !important;
  min-width: 1280px !important;
}
html.pdf-export .nav {
  display: flex !important;
  position: static !important;
  flex-direction: row !important;
  inset: auto !important;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
}
html.pdf-export .menu-btn { display: none !important; }
html.pdf-export .stats { grid-template-columns: repeat(5, 1fr) !important; }
html.pdf-export .class-grid,
html.pdf-export .iso-grid,
html.pdf-export .unit-grid,
html.pdf-export .branch-grid { grid-template-columns: repeat(3, 1fr) !important; }
html.pdf-export .service-grid,
html.pdf-export .equip-grid,
html.pdf-export .band { grid-template-columns: repeat(4, 1fr) !important; }
html.pdf-export .money { grid-template-columns: repeat(5, 1fr) !important; }
html.pdf-export .people-row { grid-template-columns: repeat(3, 1fr) !important; }
html.pdf-export .facts { grid-template-columns: 1fr 1fr !important; }
html.pdf-export .about-grid { grid-template-columns: 1.15fr 0.85fr !important; }
html.pdf-export .vision-grid { grid-template-columns: 0.85fr 1.15fr !important; }
html.pdf-export .collage { grid-template-columns: 1.1fr 0.9fr !important; }
html.pdf-export .gm { grid-template-columns: 320px 1fr !important; }
html.pdf-export .gm.photo-left { grid-template-columns: 340px 1fr !important; }
html.pdf-export .people-grid { grid-template-columns: 280px 1fr !important; }
html.pdf-export .contact-hero { grid-template-columns: 1.1fr 0.9fr !important; }
html.pdf-export .bento {
  grid-template-columns: 1.1fr 1fr 1fr !important;
  grid-auto-rows: 230px !important;
}
html.pdf-export .tile.span2 { grid-column: span 2 !important; grid-row: auto !important; }
html.pdf-export .tile.tall { grid-column: auto !important; grid-row: span 2 !important; }
html.pdf-export .masonry { columns: 3 !important; }
html.pdf-export .iso-grid img { height: 420px !important; }
html.pdf-export .table-wrap { overflow: auto !important; border: 1px solid var(--line) !important; background: white !important; }
html.pdf-export .table-wrap table { display: table !important; min-width: 760px !important; }
html.pdf-export .table-wrap thead { display: table-header-group !important; }
html.pdf-export .table-wrap tbody { display: table-row-group !important; }
html.pdf-export .table-wrap tr { display: table-row !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
html.pdf-export .table-wrap th,
html.pdf-export .table-wrap td { display: table-cell !important; width: auto !important; padding: 12px 14px !important; border-bottom: 1px solid var(--line) !important; font-weight: inherit !important; font-size: 14.5px !important; }
html.pdf-export .table-wrap td::before { content: none !important; display: none !important; }
html.pdf-export .fleet-photos { grid-template-columns: 1.4fr 1fr 1fr !important; }
html.pdf-export .fleet-photos img { height: 220px !important; }
html.pdf-export .section { padding: 88px 0 !important; }
html.pdf-export .section-head h2 { white-space: nowrap !important; }
html.pdf-export .hero h1 { font-size: clamp(32px, 4.2vw, 52px) !important; }
html.pdf-export .gm img { min-height: 420px !important; max-height: none !important; }
html.pdf-export .gm.photo-left .gm-photo { padding: 8px !important; }
html.pdf-export .gm.photo-left .gm-photo img {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  object-fit: cover !important;
}
html.pdf-export .gm-copy { padding: 36px 36px 32px 8px !important; }
html[dir="rtl"].pdf-export .gm-copy { padding: 36px 8px 32px 36px !important; }
html.pdf-export .gm.photo-left .gm-copy { padding: 36px 36px 32px 8px !important; }

@media print {
  @page { size: A4 landscape; margin: 10mm 16mm 12mm; }
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
  html, body {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: visible !important;
  }
  html.pdf-export body {
    width: auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .wrap, .wrap-wide, .header-inner, .hero-inner {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 18px !important;
  }
  .hero-inner {
    padding: 56px 42px 48px !important;
  }
  html.pdf-export .section-head h2,
  h2 { white-space: normal !important; }
  .pdf-btn, .lang-btn, .menu-btn, .toolbar, .filters, .lightbox, .sheet { display: none !important; }
  .site-header { position: static !important; background: white !important; }
  a[href]::after { content: none !important; }
  .table-wrap, html.pdf-export .table-wrap { overflow: visible !important; }
  .table-wrap table, html.pdf-export .table-wrap table {
    width: 100% !important;
    min-width: 0 !important;
  }
  th { position: static !important; }
  thead { display: table-header-group; }
  html.pdf-export .section,
  .section {
    padding: 28px 0 !important;
    break-inside: auto !important;
    page-break-inside: auto !important;
  }
  .about-grid,
  .vision-grid,
  .collage,
  .service-grid,
  .class-grid,
  .equip-grid,
  .iso-grid,
  .unit-grid,
  .branch-grid,
  .money,
  .bento,
  .fleet-photos,
  .people-grid,
  .people-row,
  .band,
  .facts,
  .gm,
  .gm.photo-left,
  .contact-hero,
  html.pdf-export .about-grid,
  html.pdf-export .vision-grid,
  html.pdf-export .collage,
  html.pdf-export .service-grid,
  html.pdf-export .class-grid,
  html.pdf-export .equip-grid,
  html.pdf-export .iso-grid,
  html.pdf-export .unit-grid,
  html.pdf-export .branch-grid,
  html.pdf-export .money,
  html.pdf-export .bento,
  html.pdf-export .fleet-photos,
  html.pdf-export .people-grid,
  html.pdf-export .people-row,
  html.pdf-export .band,
  html.pdf-export .facts,
  html.pdf-export .gm,
  html.pdf-export .gm.photo-left,
  html.pdf-export .contact-hero {
    display: grid !important;
    column-count: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }
  .about-grid, html.pdf-export .about-grid { grid-template-columns: 1.15fr 0.85fr !important; break-inside: avoid; page-break-inside: avoid; }
  .vision-grid, html.pdf-export .vision-grid { grid-template-columns: 0.85fr 1.15fr !important; break-inside: avoid; page-break-inside: avoid; }
  .collage, html.pdf-export .collage { grid-template-columns: 1.1fr 0.9fr !important; }
  .class-grid, .iso-grid, .unit-grid, .branch-grid,
  html.pdf-export .class-grid, html.pdf-export .iso-grid, html.pdf-export .unit-grid, html.pdf-export .branch-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .service-grid, .equip-grid, .band,
  html.pdf-export .service-grid, html.pdf-export .equip-grid, html.pdf-export .band {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .money, html.pdf-export .money { grid-template-columns: repeat(5, 1fr) !important; }
  .people-row, html.pdf-export .people-row { grid-template-columns: repeat(3, 1fr) !important; }
  .people-grid, html.pdf-export .people-grid { grid-template-columns: 280px 1fr !important; break-inside: avoid; page-break-inside: avoid; }
  .facts, html.pdf-export .facts { grid-template-columns: 1fr 1fr !important; }
  .gm, html.pdf-export .gm { grid-template-columns: 240px 1fr !important; break-inside: avoid; page-break-inside: avoid; overflow: visible !important; }
  .gm.photo-left, html.pdf-export .gm.photo-left { grid-template-columns: 240px 1fr !important; }
  #leadership { break-inside: auto !important; page-break-inside: auto !important; padding-top: 8px !important; padding-bottom: 8px !important; }
  .leadership-stack { gap: 12px !important; }
  .contact-hero, html.pdf-export .contact-hero { grid-template-columns: 1.1fr 0.9fr !important; break-inside: avoid; page-break-inside: avoid; }
  .fleet-photos, html.pdf-export .fleet-photos { grid-template-columns: 1.4fr 1fr 1fr !important; }
  .bento, html.pdf-export .bento {
    grid-template-columns: 1.1fr 1fr 1fr !important;
    grid-auto-rows: 190px !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .tile.tall, html.pdf-export .tile.tall { grid-column: auto !important; grid-row: span 2 !important; width: auto !important; height: auto !important; }
  .tile.span2, html.pdf-export .tile.span2 { grid-column: span 2 !important; grid-row: auto !important; width: auto !important; height: auto !important; }
  .tile, .class-item, .service, .branch, .unit, .person, .shot, .equip, .fact, .iso-grid figure, .money article {
    width: auto !important;
    margin: 0 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .class-item { display: flex !important; }
  .class-item b { flex: 1; min-width: 0; }
  .iso-grid img, html.pdf-export .iso-grid img { height: 210px !important; }
  .fleet-photos img, html.pdf-export .fleet-photos img { width: 100% !important; height: 160px !important; margin: 0 !important; }
  .gm img, html.pdf-export .gm img,
  html.pdf-export .gm.photo-left .gm-photo img {
    width: 100% !important;
    height: 176px !important;
    min-height: 0 !important;
    max-height: 176px !important;
    object-fit: cover !important;
  }
  .gm-copy, html.pdf-export .gm-copy,
  html[dir="rtl"].pdf-export .gm-copy,
  html.pdf-export .gm.photo-left .gm-copy {
    padding: 14px 16px !important;
  }
  .masonry, html.pdf-export .masonry {
    display: grid !important;
    columns: auto !important;
    column-count: auto !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }
  .shot {
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    break-inside: avoid !important;
    page-break-inside: avoid !important;
  }
  .shot img {
    width: 100% !important;
    height: 56mm !important;
    object-fit: cover !important;
  }
  .shot figcaption {
    display: block !important;
    position: static !important;
    inset: auto !important;
    background: transparent !important;
    color: var(--navy) !important;
    border-radius: 0 !important;
    padding: 6px 4px 0 !important;
    text-align: center;
    font-weight: 700;
  }
  .shot:nth-child(4n) {
    break-after: page;
    page-break-after: always;
  }
  .shot:last-child {
    break-after: auto !important;
    page-break-after: auto !important;
  }
  html[lang="en"] .section-head h2,
  html[lang="en"].pdf-export .section-head h2 {
    white-space: normal !important;
  }
  .gm > *,
  .vision-grid > *,
  .about-grid > *,
  .contact-hero > *,
  .panel,
  .card,
  .gm-copy {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .gm-copy p,
  .panel p,
  .card p,
  .about-grid p {
    overflow-wrap: break-word !important;
  }
  .section-head { break-inside: avoid; page-break-inside: avoid; break-after: avoid; page-break-after: avoid; }
  h2, h3 { break-after: avoid; page-break-after: avoid; }
  tr { break-inside: avoid; page-break-inside: avoid; }
}
