/* =========================================================
   Safaa Al-Iraq Company — General Contracting, Trade & Oil Services
   Shared stylesheet
   ========================================================= */
:root {
  --navy: #0a2540;
  --navy-2: #0f3358;
  --cyan: #00aeef;
  --cyan-dark: #0090c8;
  --sun: #ffd21f;
  --ink: #14202e;
  --muted: #5b6b7c;
  --line: #dfe5eb;
  --bg-soft: #f2f5f8;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 12px 34px rgba(10, 37, 64, .12);
  --container: 1200px;
  --font-head: "Exo 2", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .5em; color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.ar { font-family: var(--font-ar); direction: rtl; }

.container { width: min(var(--container), 92%); margin: 0 auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy); color: #d6e2ee; }
.section--navy h2, .section--navy h3 { color: var(--white); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .85rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--cyan); border-radius: 2px; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.07rem; }
.section--navy .section-head p { color: #a9bccf; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 50px;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  border: 2px solid transparent; cursor: pointer; transition: .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--cyan); color: var(--white); }
.btn--primary:hover { background: var(--cyan-dark); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--navy-2); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--navy); color: #b9cbdc; font-size: .86rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 9px 0; }
.topbar a:hover { color: var(--cyan); }
.topbar__info { display: flex; gap: 26px; flex-wrap: wrap; }
.topbar__info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--cyan); }
.topbar__ar { font-family: var(--font-ar); }

.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(10,37,64,.1); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand__text strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.22rem; color: var(--navy); letter-spacing: .02em; line-height: 1.1; }
.brand__text small { display: block; font-size: .68rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; max-width: 250px; line-height: 1.35; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  position: relative; padding: 10px 14px; font-family: var(--font-head); font-weight: 600;
  font-size: .98rem; color: var(--navy); border-radius: 8px; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px;
  background: var(--cyan); border-radius: 2px; transform: scaleX(0); transition: transform .25s;
}
.nav a:hover, .nav a.active { color: var(--cyan); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; padding: 11px 22px; color: var(--white); }
.nav .btn::after { display: none; }
.nav a.btn, .nav a.btn:hover, .nav a.btn.active { color: var(--white); }
.nav a.btn.active { background: var(--navy); }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--navy); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: calc(100vh - 124px); display: flex; align-items: center;
  color: var(--white); overflow: hidden; background: var(--navy);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease;
}
.hero__slide.active { opacity: 1; transform: scale(1); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10,37,64,.95) 0%, rgba(10,37,64,.78) 45%, rgba(10,37,64,.25) 100%);
}
.hero::after {
  content: ""; position: absolute; z-index: 1; right: -8%; top: 0; bottom: 0; width: 38%;
  background: linear-gradient(180deg, rgba(0,174,239,.55), rgba(0,174,239,.1));
  clip-path: polygon(45% 0, 100% 0, 100% 100%, 0 100%);
  mix-blend-mode: screen; opacity: .55;
}
.hero .container { position: relative; z-index: 2; padding: 90px 0; }
.hero__content { max-width: 720px; }
.hero__ar { font-family: var(--font-ar); font-size: 1.15rem; color: var(--sun); margin-bottom: 14px; direction: rtl; display: inline-block; }
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: .01em; margin-bottom: 8px; }
.hero h1 span { color: var(--cyan); }
.hero__sub { font-family: var(--font-head); font-size: clamp(1rem, 1.8vw, 1.3rem); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: #cfe3f3; margin-bottom: 22px; }
.hero__lead { font-size: 1.1rem; color: #d7e4ef; max-width: 600px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dots { position: absolute; z-index: 3; bottom: 34px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; transition: .3s; }
.hero__dots button.active { background: var(--cyan); border-color: var(--cyan); width: 32px; border-radius: 8px; }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; padding: 120px 0 100px; color: var(--white);
  background-size: cover; background-position: center; overflow: hidden;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10,37,64,.94), rgba(10,37,64,.6)); }
.page-banner::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 30%;
  background: var(--cyan); opacity: .35; clip-path: polygon(55% 0, 100% 0, 100% 100%, 0 100%);
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 800; margin-bottom: 10px; }
.page-banner p { color: #cfe0ee; max-width: 640px; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; gap: 10px; font-family: var(--font-head); font-size: .92rem; color: #9fc3dd; margin-bottom: 16px; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { color: var(--cyan); }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 5; margin-top: -60px; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 34px 26px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; color: var(--navy); line-height: 1; }
.stat strong em { font-style: normal; color: var(--cyan); }
.stat > span { display: block; margin-top: 10px; color: var(--muted); font-size: .95rem; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.media-stack { position: relative; padding: 0 40px 40px 0; }
.media-stack img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4/3.2; object-fit: cover; }
.media-stack .media-stack__small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; border: 8px solid var(--white);
}
.media-stack__badge {
  position: absolute; left: -18px; top: 30px; background: var(--cyan); color: var(--white);
  padding: 18px 22px; border-radius: 12px; box-shadow: var(--shadow); font-family: var(--font-head);
}
.media-stack__badge strong { display: block; font-size: 2rem; line-height: 1; font-weight: 800; }
.media-stack__badge span { font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }

.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 22px 0 30px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checklist li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%;
  background: var(--cyan) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/13px no-repeat;
}

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 22px rgba(10,37,64,.08); transition: transform .35s, box-shadow .35s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card__img img { transform: scale(1.08); }
.card__icon {
  position: absolute; left: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 12px;
  background: var(--cyan); color: var(--white); display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,174,239,.4); z-index: 2;
}
.card__icon svg { width: 28px; height: 28px; }
.card__body { padding: 26px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { font-size: 1.3rem; font-weight: 700; }
.card__body p { color: var(--muted); font-size: .97rem; flex: 1; }
.card__link { font-family: var(--font-head); font-weight: 700; color: var(--cyan); display: inline-flex; align-items: center; gap: 8px; }
.card__link svg { width: 16px; height: 16px; transition: transform .25s; }
.card:hover .card__link svg { transform: translateX(4px); }

/* ---------- Values / principles ---------- */
.values { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 28px 20px; text-align: center; transition: .3s;
}
.value:hover { background: var(--cyan); border-color: var(--cyan); transform: translateY(-6px); }
.value:hover p { color: var(--white); }
.value svg { width: 40px; height: 40px; color: var(--cyan); margin: 0 auto 14px; transition: color .3s; }
.value:hover svg { color: var(--white); }
.value h4 { color: var(--white); font-size: 1.05rem; margin-bottom: 0; }

/* ---------- Featured projects (home) ---------- */
.feature-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 18px; }
.feature { position: relative; border-radius: var(--radius); overflow: hidden; color: var(--white); }
.feature:first-child { grid-row: span 2; }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.feature:hover img { transform: scale(1.07); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10,37,64,.92)); }
.feature__cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.feature__cap .tag { display: inline-block; background: var(--cyan); padding: 3px 12px; border-radius: 30px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; margin-bottom: 8px; font-family: var(--font-head); }
.feature__cap h3 { color: var(--white); font-size: 1.25rem; margin: 0; }
.feature:first-child .feature__cap h3 { font-size: 1.7rem; }

/* ---------- CTA band ---------- */
.cta {
  position: relative; background: linear-gradient(110deg, var(--cyan) 0%, #0083c4 100%);
  color: var(--white); padding: 70px 0; overflow: hidden;
}
.cta::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 360px; height: 360px; border-radius: 50%;
  border: 50px solid rgba(255,255,255,.1);
}
.cta .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 0 0 6px; }
.cta p { margin: 0; color: #e6f6fd; }
.cta .btn--dark:hover { background: var(--white); color: var(--navy); }

/* ---------- About page ---------- */
.mvs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.mv {
  background: var(--white); border-radius: var(--radius); padding: 36px 30px; box-shadow: 0 6px 22px rgba(10,37,64,.08);
  border-top: 5px solid var(--cyan);
}
.mv svg { width: 46px; height: 46px; color: var(--cyan); margin-bottom: 18px; }
.mv h3 { font-size: 1.45rem; }
.mv p { color: var(--muted); margin: 0; }

.ceo {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.ceo__img { background-size: cover; background-position: center; min-height: 420px; position: relative; }
.ceo__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,174,239,.15), rgba(10,37,64,.55)); }
.ceo__body { background: var(--navy); color: #c8d8e7; padding: 54px 50px; position: relative; }
.ceo__body h2 { color: var(--white); }
.ceo__body::before {
  content: "\201C"; position: absolute; right: 36px; top: 10px; font-family: Georgia, serif; font-size: 9rem; line-height: 1; color: var(--cyan); opacity: .35;
}
.ceo__body p { font-size: 1.02rem; }

.policy-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.policy {
  display: flex; gap: 20px; background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); transition: .3s;
}
.policy:hover { border-color: var(--cyan); box-shadow: var(--shadow); }
.policy__num { flex: none; width: 54px; height: 54px; border-radius: 12px; background: rgba(0,174,239,.12); color: var(--cyan); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; }
.policy h3 { font-size: 1.2rem; }
.policy p { color: var(--muted); margin: 0; font-size: .97rem; }

.bullets li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.bullets li::before { content: ""; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); }

/* Org chart */
.org { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org__node {
  background: var(--white); color: var(--navy); border-radius: 40px; padding: 10px 24px; font-family: var(--font-head); font-weight: 700;
  font-size: .95rem; text-align: center; box-shadow: 0 6px 18px rgba(0,0,0,.18); white-space: nowrap;
}
.org__node--top { background: var(--cyan); color: var(--white); font-size: 1.05rem; padding: 13px 32px; }
.org__line { width: 3px; height: 28px; background: rgba(255,255,255,.4); }
.org__row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.org__branches { display: grid; grid-template-columns: 1fr 1.6fr; gap: 30px; width: 100%; margin-top: 0; border-top: 3px solid rgba(255,255,255,.4); padding-top: 28px; }
.org__branch { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.org__branch .org__node--head { background: var(--sun); color: var(--navy); }
.org__sub { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.org__sub .org__node { font-size: .85rem; padding: 8px 16px; font-weight: 600; background: rgba(255,255,255,.95); }

/* Team roles */
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.roles li { background: var(--white); border-radius: 10px; padding: 14px 18px; border-left: 4px solid var(--cyan); font-weight: 600; color: var(--navy); box-shadow: 0 3px 12px rgba(10,37,64,.06); }

/* ---------- Services page ---------- */
.svc-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.svc-nav a { padding: 10px 20px; border-radius: 30px; border: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--navy); background: var(--white); transition: .2s; }
.svc-nav a:hover { background: var(--cyan); border-color: var(--cyan); color: var(--white); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.svc:last-child { border-bottom: 0; }
.svc:nth-child(even) .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow); }
.svc__media::before { content: ""; position: absolute; left: -16px; top: -16px; width: 120px; height: 120px; border-radius: var(--radius); background: var(--cyan); z-index: -1; }
.svc:nth-child(even) .svc__media::before { left: auto; right: -16px; }
.svc__num { font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--cyan); margin-bottom: 8px; }
.svc h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; }
.svc p { color: var(--muted); }
.svc .bullets { columns: 2; column-gap: 24px; margin-top: 16px; }
.svc .bullets li { break-inside: avoid; }

/* Equipment */
.equip-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.equip-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.equip-photos img { border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.equip-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin-top: 24px; }
.equip-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.18); font-size: .94rem; }
.equip-list li b { color: var(--cyan); font-family: var(--font-head); min-width: 30px; text-align: right; }

/* ---------- Projects page ---------- */
.proj-filters, .gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 44px; }
.chip {
  padding: 10px 22px; border-radius: 30px; border: 1px solid var(--line); background: var(--white); font-family: var(--font-head);
  font-weight: 600; font-size: .95rem; color: var(--navy); cursor: pointer; transition: .2s;
}
.chip:hover { border-color: var(--cyan); color: var(--cyan); }
.chip.active { background: var(--cyan); color: var(--white); border-color: var(--cyan); }

.project {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 24px rgba(10,37,64,.08); margin-bottom: 36px;
}
.project:nth-child(even) .project__gallery { order: 2; }
.project__gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr 1fr; gap: 4px; min-height: 380px; }
.project__gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: filter .3s; }
.project__gallery img:hover { filter: brightness(1.1); }
.project__gallery img:first-child { grid-column: span 3; }
.project__gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.project__gallery.g1 img:first-child { grid-column: span 1; }
.project__body { padding: 40px 40px 36px; display: flex; flex-direction: column; justify-content: center; }
.project__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 30px; font-size: .8rem; font-weight: 700; font-family: var(--font-head); letter-spacing: .04em; }
.badge--year { background: var(--navy); color: var(--white); }
.badge--cat { background: rgba(0,174,239,.12); color: var(--cyan-dark); }
.project h3 { font-size: 1.55rem; font-weight: 800; }
.project p { color: var(--muted); }
.project .ar { color: var(--muted); font-size: .98rem; border-right: 3px solid var(--cyan); padding-right: 14px; margin: 6px 0 18px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 6px; }
.facts div { background: var(--bg-soft); border-radius: 10px; padding: 12px 16px; }
.facts small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.facts strong { font-family: var(--font-head); color: var(--navy); font-size: 1.05rem; }

/* Contracts timeline */
.timeline { position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--cyan), rgba(0,174,239,.15)); }
.tl-item { position: relative; padding: 0 0 22px 70px; }
.tl-item::before {
  content: attr(data-n); position: absolute; left: 0; top: 4px; width: 47px; height: 47px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--cyan); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: .95rem;
}
.tl-card { background: var(--white); border-radius: 12px; padding: 18px 22px; box-shadow: 0 3px 14px rgba(10,37,64,.07); border: 1px solid var(--line); }
.tl-card .tl-date { font-family: var(--font-head); font-weight: 700; color: var(--cyan-dark); font-size: .88rem; letter-spacing: .04em; }
.tl-card h4 { font-size: 1.05rem; margin: 4px 0 4px; font-weight: 700; }
.tl-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.tl-more { display: none; }
.timeline.expanded .tl-more { display: block; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 260px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 12px; overflow: hidden; cursor: zoom-in; background: var(--bg-soft); }
.masonry img { width: 100%; transition: transform .6s; }
.masonry figure:hover img { transform: scale(1.06); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 16px 14px; color: var(--white); font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  background: linear-gradient(transparent, rgba(10,37,64,.9)); transform: translateY(100%); transition: transform .35s;
}
.masonry figure:hover figcaption { transform: none; }
.masonry figure.hide { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(5,18,32,.95); display: none; align-items: center; justify-content: center; padding: 40px 80px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #cfe0ee; font-family: var(--font-head); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; width: 54px; height: 54px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; display: grid; place-items: center; transition: .2s; }
.lightbox button:hover { background: var(--cyan); }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
.contact-cards { display: grid; gap: 18px; }
.ccard { display: flex; gap: 18px; background: var(--white); border-radius: var(--radius); padding: 24px; box-shadow: 0 6px 22px rgba(10,37,64,.08); align-items: flex-start; }
.ccard__icon { flex: none; width: 54px; height: 54px; border-radius: 12px; background: var(--cyan); color: var(--white); display: grid; place-items: center; }
.ccard__icon svg { width: 26px; height: 26px; }
.ccard h4 { font-size: 1.1rem; margin-bottom: 4px; }
.ccard p, .ccard a { color: var(--muted); margin: 0; display: block; font-size: .97rem; }
.ccard a:hover { color: var(--cyan); }
.ccard .ar { font-size: .95rem; margin-top: 4px; }

.form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.form h3 { font-size: 1.6rem; }
.form > p { color: var(--muted); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft);
  font: inherit; color: var(--ink); transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: var(--white); box-shadow: 0 0 0 4px rgba(0,174,239,.15); }
.field textarea { min-height: 140px; resize: vertical; }
.form__note { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.form__status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 10px; background: rgba(0,174,239,.1); color: var(--cyan-dark); font-weight: 600; }
.form__status.show { display: block; }
.map { margin-top: 0; line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ---------- Footer ---------- */
.footer { background: #071b2f; color: #9fb3c6; padding-top: 80px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 44px; padding-bottom: 54px; }
.footer h4 { color: var(--white); font-size: 1.12rem; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--cyan); border-radius: 2px; }
.footer__brand img { width: 96px; background: var(--white); border-radius: 50%; padding: 6px; margin-bottom: 16px; }
.footer__brand p { margin-bottom: 8px; }
.footer__brand .ar { color: #cfe0ee; }
.footer__links li { margin-bottom: 10px; }
.footer__links a { transition: .2s; display: inline-flex; gap: 8px; align-items: center; }
.footer__links a::before { content: "›"; color: var(--cyan); font-weight: 700; }
.footer__links a:hover { color: var(--cyan); padding-left: 4px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; }
.footer__contact svg { flex: none; width: 18px; height: 18px; color: var(--cyan); margin-top: 4px; }
.footer__contact a:hover { color: var(--cyan); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: .88rem; }
.footer__bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--cyan); color: #fff;
  cursor: pointer; box-shadow: 0 8px 20px rgba(0,174,239,.4); opacity: 0; pointer-events: none; transition: .3s; display: grid; place-items: center;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__slide { transition: opacity .6s; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .values { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .brand__text small { display: none; }
}
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: 84px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white);
    padding: 12px 4% 24px; box-shadow: 0 14px 30px rgba(10,37,64,.15); transform: translateY(-120%); transition: transform .35s; max-height: calc(100vh - 84px); overflow: auto;
  }
  .nav.open { transform: none; }
  .nav a { padding: 14px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .nav .btn { margin: 16px 0 0; justify-content: center; border-radius: 50px; }
  .topbar__ar { display: none; }
  .split, .equip-layout, .contact-grid, .svc, .project, .ceo { grid-template-columns: 1fr; gap: 40px; }
  .svc:nth-child(even) .svc__media, .project:nth-child(even) .project__gallery, .split--reverse > :first-child { order: 0; }
  .project { gap: 0; }
  .cards, .mvs { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .feature:first-child { grid-column: span 2; grid-row: span 1; }
  .roles { grid-template-columns: 1fr 1fr; }
  .org__branches { grid-template-columns: 1fr; }
  .ceo__img { min-height: 300px; }
}
@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .topbar { display: none; }
  .header .container { height: 72px; }
  .nav { top: 72px; }
  .brand img { width: 50px; height: 50px; }
  .brand__text strong { font-size: 1.05rem; }
  .hero { min-height: 88vh; }
  .cards, .mvs, .values, .policy-grid, .checklist, .roles, .facts, .form__row, .equip-list, .footer__grid { grid-template-columns: 1fr; }
  .stat strong { font-size: 2.1rem; }
  .feature-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; }
  .feature:first-child { grid-column: span 1; }
  .svc .bullets { columns: 1; }
  .project__body, .form, .ceo__body { padding: 28px 22px; }
  .project__gallery { min-height: 300px; }
  .media-stack { padding: 0 20px 20px 0; }
  .media-stack__badge { left: 8px; }
  .lightbox { padding: 20px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; }
  .timeline::before { left: 18px; }
  .tl-item { padding-left: 56px; }
  .tl-item::before { width: 39px; height: 39px; font-size: .82rem; }
}
