/* =========================================================
   Tareeq Al-Haq Co. — General Contracting, Import & Export
   ========================================================= */
:root {
  --brand: #26408f;
  --brand-600: #1f3577;
  --brand-800: #13224f;
  --navy: #0a1430;
  --accent: #f5a623;
  --accent-600: #dc8f0e;
  --ink: #1a2233;
  --muted: #5d667a;
  --line: #e2e6ee;
  --bg: #f4f6f9;
  --white: #ffffff;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(10, 20, 48, .08);
  --shadow-lg: 0 24px 60px rgba(10, 20, 48, .16);
  --container: 1240px;
  --header-h: 84px;
  --font-ar: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --font-en: "Barlow", "Segoe UI", Arial, sans-serif;
  --font-display-en: "Barlow Condensed", "Barlow", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-ar);
  color: var(--ink);
  background: var(--white);
  line-height: 1.8;
  font-size: 16.5px;
  overflow-x: hidden;
}
html[lang="en"] body { font-family: var(--font-en); line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.3; font-weight: 800; color: var(--navy); }
html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] .display { font-family: var(--font-display-en); letter-spacing: .3px; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- bilingual ---------- */
html[lang="ar"] .en, html[lang="en"] .ar { display: none !important; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 110px 0; position: relative; }
.section--tight { padding: 80px 0; }
.section--bg { background: var(--bg); }
.section--dark { background: var(--navy); color: #c9d2e6; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--brand { background: var(--brand); color: #dfe6fb; }
.section--brand h2, .section--brand h3 { color: var(--white); }

/* ---------- section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--accent); border-radius: 3px; }
.section--dark .eyebrow, .section--brand .eyebrow, .page-hero .eyebrow, .hero .eyebrow { color: var(--accent); }
.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; }
.head--center .eyebrow { justify-content: center; }
.head h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); }
html[lang="en"] .head h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); text-transform: uppercase; }
.head p { color: var(--muted); font-size: 1.05rem; }
.section--dark .head p, .section--brand .head p { color: #b8c3de; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 50px; flex-wrap: wrap; }
.head-row .head { margin-bottom: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: .98rem;
  border: 2px solid transparent; transition: all .3s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
html[lang="ar"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
html[lang="ar"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }
.btn--accent { background: var(--accent); color: var(--navy); }
.btn--accent:hover { background: var(--white); color: var(--navy); box-shadow: 0 10px 30px rgba(245, 166, 35, .35); }
.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-800); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn--outline { border-color: var(--brand); color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s; }
html[lang="ar"] .link-arrow svg { transform: scaleX(-1); }
.link-arrow:hover svg { transform: translateX(4px); }
html[lang="ar"] .link-arrow:hover svg { transform: scaleX(-1) translateX(4px); }

/* =========================================================
   Header
   ========================================================= */
.topbar { background: var(--navy); color: #aeb9d4; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.topbar a:hover { color: var(--accent); }
.topbar svg { width: 14px; height: 14px; color: var(--accent); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.topbar [dir="ltr"] { unicode-bidi: isolate; }

.header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s, height .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px rgba(10, 20, 48, .08); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; color: var(--navy); font-weight: 800; }
html[lang="en"] .brand-text strong { font-family: var(--font-display-en); font-size: 1.35rem; letter-spacing: .5px; text-transform: uppercase; }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; font-weight: 700; font-size: .96rem; color: var(--ink);
  border-radius: 8px; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; inset-inline: 14px; bottom: 4px; height: 3px; border-radius: 3px;
  background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--brand); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 40px; background: var(--white);
  font-weight: 700; font-size: .88rem; color: var(--navy); transition: all .2s;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand); }
.lang-toggle svg { width: 17px; height: 17px; }
.header .btn { padding: 11px 22px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--white); align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: all .3s; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.nav-open .menu-btn span { background: transparent; }
.nav-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.nav-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================
   Home hero
   ========================================================= */
.hero { position: relative; min-height: calc(100vh - var(--header-h) - 40px); min-height: calc(100svh - var(--header-h) - 40px); display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--navy); }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(10, 20, 48, .92) 0%, rgba(19, 34, 79, .78) 45%, rgba(38, 64, 143, .35) 100%);
}
html[lang="ar"] .hero::before { background: linear-gradient(-100deg, rgba(10, 20, 48, .92) 0%, rgba(19, 34, 79, .78) 45%, rgba(38, 64, 143, .35) 100%); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero > .container { position: relative; z-index: 2; padding: 90px 0 170px; }
.hero-content { max-width: 760px; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.2; margin-bottom: 22px; }
html[lang="en"] .hero h1 { font-size: clamp(2.8rem, 6.4vw, 5.4rem); text-transform: uppercase; line-height: 1.02; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: #d3dbf0; max-width: 620px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 40px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); margin-bottom: 26px; font-size: .88rem; font-weight: 600; color: #dbe3f7; }
html[lang="ar"] .hero-badge { padding: 8px 8px 8px 16px; }
.hero-badge b { background: var(--accent); color: var(--navy); border-radius: 30px; padding: 3px 12px; font-size: .78rem; }
.hero-dots { position: absolute; z-index: 3; bottom: 150px; inset-inline-end: 40px; display: flex; flex-direction: column; gap: 10px; }
.hero-dots button { width: 4px; height: 28px; border-radius: 4px; border: 0; background: rgba(255,255,255,.35); padding: 0; transition: all .3s; }
.hero-dots button.is-active { background: var(--accent); height: 46px; }

.hero-strip { position: absolute; z-index: 3; bottom: 0; left: 0; right: 0; }
.hero-strip .container { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--white); border-radius: var(--radius) var(--radius) 0 0; box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-strip .item { display: flex; align-items: center; gap: 14px; padding: 24px 26px; color: var(--ink); border-inline-end: 1px solid var(--line); }
.hero-strip .item:last-child { border-inline-end: 0; }
.hero-strip .ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: rgba(38,64,143,.08); color: var(--brand); }
.hero-strip .ico svg { width: 24px; height: 24px; }
.hero-strip b { display: block; font-size: 1rem; color: var(--navy); line-height: 1.3; }
.hero-strip span { font-size: .84rem; color: var(--muted); line-height: 1.4; display: block; }

/* =========================================================
   Page hero (inner pages)
   ========================================================= */
.page-hero { position: relative; padding: 120px 0 110px; color: var(--white); overflow: hidden; background: var(--navy); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,48,.55), rgba(10,20,48,.9)); }
.page-hero::after { content: ""; position: absolute; inset-inline-start: 0; bottom: 0; width: 34%; height: 8px; background: var(--accent); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 12px; }
html[lang="en"] .page-hero h1 { text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero p { max-width: 640px; color: #cfd8ee; font-size: 1.1rem; margin: 0; }
.crumbs { display: flex; gap: 10px; align-items: center; font-size: .9rem; color: #9fb0d6; margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }
.crumbs i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* =========================================================
   Generic layouts
   ========================================================= */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split--wide { grid-template-columns: 1.1fr .9fr; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.split-media .tall { aspect-ratio: 4/5; }
.split-media .frame { position: absolute; inset: 26px -26px -26px 26px; border: 3px solid var(--accent); border-radius: var(--radius); z-index: -1; }
html[lang="ar"] .split-media .frame { inset: 26px 26px -26px -26px; }
.float-card {
  position: absolute; bottom: 30px; inset-inline-start: -30px; background: var(--brand); color: var(--white);
  padding: 22px 26px; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 250px;
}
.float-card b { display: block; font-size: 2.6rem; line-height: 1; color: var(--accent); font-family: var(--font-display-en); }
.float-card span { font-size: .92rem; font-weight: 600; }
.checks { display: grid; gap: 12px; margin: 26px 0 32px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 3px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a1430' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}
.lead-text { font-size: 1.12rem; color: var(--ink); font-weight: 600; }
.muted { color: var(--muted); }

/* ---------- client logos ---------- */
.clients { padding: 46px 0; border-bottom: 1px solid var(--line); }
.clients .container { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.clients h4 { font-size: .95rem; color: var(--muted); margin: 0; font-weight: 700; max-width: 180px; }
.client-logos { display: flex; align-items: center; gap: 48px; flex-wrap: wrap; flex: 1; justify-content: space-around; }
.client-logos .logo { display: flex; align-items: center; gap: 12px; filter: grayscale(1); opacity: .7; transition: all .3s; }
.client-logos .logo:hover { filter: none; opacity: 1; }
.client-logos img { height: 56px; width: auto; }
.client-logos .logo.wide img { height: 34px; }
.client-logos .logo small { font-weight: 700; font-size: .82rem; color: var(--navy); line-height: 1.3; max-width: 130px; }
.rumaila-mark { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #eaf4ec; color: #1e7b3c; font-weight: 800; font-size: .7rem; text-align: center; line-height: 1.1; }

/* ---------- service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.svc-card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white);
  box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s; display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-card .media { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.svc-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.svc-card:hover .media img { transform: scale(1.08); }
.svc-card .num { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(10,20,48,.75); color: var(--accent); font-weight: 800; font-family: var(--font-display-en); padding: 4px 12px; border-radius: 30px; font-size: .9rem; backdrop-filter: blur(4px); }
.svc-card .body { padding: 26px 24px 28px; position: relative; flex: 1; display: flex; flex-direction: column; }
.svc-card .ico { position: absolute; top: -28px; inset-inline-end: 22px; width: 56px; height: 56px; border-radius: 14px; background: var(--brand); color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 20px rgba(38,64,143,.35); transition: background .3s; }
.svc-card:hover .ico { background: var(--accent); color: var(--navy); }
.svc-card .ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; flex: 1; }

/* ---------- stats ---------- */
.stats { position: relative; overflow: hidden; }
.stats > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.stats .container { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; padding: 20px; position: relative; }
.stat + .stat::before { content: ""; position: absolute; inset-inline-start: -15px; top: 20%; bottom: 20%; width: 1px; background: rgba(255,255,255,.15); }
.stat b { display: block; font-family: var(--font-display-en); font-size: clamp(2.8rem, 5vw, 4.2rem); color: var(--white); line-height: 1; margin-bottom: 10px; font-weight: 800; }
.stat b sup { color: var(--accent); font-size: .5em; vertical-align: super; }
.stat span { color: #b9c6e6; font-weight: 600; }

/* ---------- value / feature cards ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  transition: all .35s var(--ease); position: relative; overflow: hidden;
}
.feature::after { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 4px; width: 0; background: var(--accent); transition: width .45s var(--ease); }
.feature:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.feature:hover::after { width: 100%; }
.feature .ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: rgba(38,64,143,.08); color: var(--brand); margin-bottom: 22px; transition: all .3s; }
.feature:hover .ico { background: var(--brand); color: var(--white); }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 10px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }
.feature .idx { position: absolute; top: 18px; inset-inline-end: 22px; font-family: var(--font-display-en); font-size: 2.6rem; font-weight: 800; color: rgba(38,64,143,.07); line-height: 1; }
.section--dark .feature { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.1); }
.section--dark .feature h3 { color: var(--white); }
.section--dark .feature p { color: #aab6d3; }
.section--dark .feature .ico { background: rgba(245,166,35,.12); color: var(--accent); }
.section--dark .feature:hover .ico { background: var(--accent); color: var(--navy); }

/* ---------- project cards ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.proj-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; color: var(--white); display: block; box-shadow: var(--shadow); }
.proj-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.proj-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(10,20,48,.94)); transition: background .4s; }
.proj-card:hover img { transform: scale(1.08); }
.proj-card:hover::before { background: linear-gradient(180deg, rgba(19,34,79,.3) 0%, rgba(10,20,48,.96)); }
.proj-card .body { position: absolute; z-index: 2; inset-inline: 0; bottom: 0; padding: 28px; }
.proj-card .tag { display: inline-block; background: var(--accent); color: var(--navy); font-weight: 800; font-size: .76rem; padding: 4px 12px; border-radius: 30px; margin-bottom: 12px; }
.proj-card h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 8px; }
.proj-card p { color: #c9d3ea; font-size: .92rem; margin: 0; }
.proj-card .meta { display: flex; gap: 16px; margin-top: 14px; font-size: .84rem; color: #9fb0d6; font-weight: 600; }

/* ---------- certificates ---------- */
.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.cert { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); text-align: center; transition: transform .35s var(--ease), box-shadow .35s; cursor: zoom-in; border: 0; }
.cert:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.cert img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }
.cert b { display: block; font-family: var(--font-display-en); font-size: 1.5rem; color: var(--brand); }
.cert span { color: var(--muted); font-size: .92rem; font-weight: 600; }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; background: var(--brand); color: var(--white); padding: 80px 0; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .16; mix-blend-mode: luminosity; }
.cta::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 70px solid rgba(245,166,35,.12); inset-inline-end: -160px; top: -200px; }
.cta .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: 8px; }
html[lang="en"] .cta h2 { text-transform: uppercase; }
.cta p { color: #d1dbf4; margin: 0; font-size: 1.08rem; max-width: 620px; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   About page
   ========================================================= */
.quote-block { position: relative; background: var(--white); border-radius: var(--radius); padding: 46px; box-shadow: var(--shadow); }
.quote-block::before { content: "\201D"; position: absolute; top: -10px; inset-inline-end: 34px; font-size: 9rem; line-height: 1; color: var(--accent); font-family: Georgia, serif; opacity: .9; }
html[lang="en"] .quote-block::before { content: "\201C"; }
.quote-block p { color: var(--ink); }
.quote-sign { display: flex; align-items: center; gap: 14px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.quote-sign img { width: 54px; height: 54px; }
.quote-sign b { display: block; color: var(--navy); }
.quote-sign span { color: var(--muted); font-size: .9rem; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vm-card { border-radius: var(--radius); padding: 44px 40px; position: relative; overflow: hidden; }
.vm-card.vision { background: var(--brand); color: #dbe3f8; }
.vm-card.mission { background: var(--navy); color: #c6d0ea; }
.vm-card h3 { color: var(--white); font-size: 1.7rem; display: flex; align-items: center; gap: 14px; }
.vm-card h3 svg { width: 40px; height: 40px; color: var(--accent); }
.vm-card p { margin: 0; font-size: 1.04rem; }
.vm-card::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 36px solid rgba(255,255,255,.05); inset-inline-end: -60px; bottom: -80px; }

.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pillar { display: flex; gap: 22px; background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.pillar .n { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--accent); color: var(--navy); display: grid; place-items: center; font-family: var(--font-display-en); font-weight: 800; font-size: 1.5rem; }
.pillar h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; font-size: .96rem; }

/* org chart */
.org { --c: rgba(255,255,255,.35); display: flex; flex-direction: column; align-items: center; gap: 0; direction: ltr; }
.org .node { background: var(--white); color: var(--navy); font-weight: 700; font-size: .88rem; padding: 10px 18px; border-radius: 30px; text-align: center; white-space: nowrap; box-shadow: 0 6px 16px rgba(0,0,0,.2); }
.org .node.top { background: var(--accent); font-size: 1rem; padding: 12px 26px; }
.org .node.lvl2 { background: #dfe6fb; }
.org .vline { width: 2px; height: 26px; background: var(--c); }
.org .row { display: flex; gap: 14px; justify-content: center; position: relative; padding-top: 26px; flex-wrap: wrap; }
.org .row::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--c); }
.org .branch { display: flex; flex-direction: column; align-items: center; position: relative; }
.org .branch::before { content: ""; position: absolute; top: -26px; height: 26px; width: 2px; background: var(--c); left: 50%; }
.org .sub { display: flex; flex-direction: column; gap: 10px; align-items: center; margin-top: 0; padding-top: 22px; position: relative; }
.org .sub::before { content: ""; position: absolute; top: 0; height: 22px; width: 2px; background: var(--c); left: 50%; }
.org .sub .node { background: rgba(255,255,255,.1); color: var(--white); box-shadow: none; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: .82rem; padding: 8px 14px; }
.org-wrap { overflow-x: auto; padding-bottom: 10px; }
.org-cols { display: grid; grid-template-columns: 1fr 2fr; gap: 30px; position: relative; padding-top: 26px; min-width: 760px; }
.org-cols::before { content: ""; position: absolute; top: 0; left: 16%; right: 33%; height: 2px; background: var(--c); }
.org-col { display: flex; flex-direction: column; align-items: center; position: relative; }
.org-col::before { content: ""; position: absolute; top: -26px; height: 26px; width: 2px; background: var(--c); left: 50%; }
.org-col > .node { margin-bottom: 0; }
.org-col .grid { display: grid; gap: 10px; padding-top: 22px; position: relative; width: 100%; }
.org-col .grid::before { content: ""; position: absolute; top: 0; height: 22px; width: 2px; background: var(--c); left: 50%; }
.org-col .grid .node { background: rgba(255,255,255,.1); color: var(--white); box-shadow: none; border: 1px solid rgba(255,255,255,.25); font-weight: 600; font-size: .84rem; white-space: normal; }
.org-col .grid.two { grid-template-columns: 1fr 1fr; }
.org-col .grid.three { grid-template-columns: repeat(3, 1fr); }
.org-side { display: flex; gap: 12px; justify-content: center; margin: 14px 0 0; flex-wrap: wrap; }

/* equipment */
.equip-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; align-items: start; }
.equip-media { position: sticky; top: calc(var(--header-h) + 30px); }
.equip-media img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.equip-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.equip-list li { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font-weight: 600; font-size: .93rem; transition: border-color .2s, transform .2s; }
.equip-list li:hover { border-color: var(--brand); transform: translateX(3px); }
html[lang="ar"] .equip-list li:hover { transform: translateX(-3px); }
.equip-list li b { flex: none; min-width: 42px; height: 34px; border-radius: 8px; background: var(--brand); color: var(--white); display: grid; place-items: center; font-family: var(--font-display-en); font-size: 1.05rem; }
.equip-total { display: flex; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.equip-total div { background: var(--navy); color: var(--white); border-radius: 12px; padding: 16px 22px; }
.equip-total b { display: block; font-family: var(--font-display-en); font-size: 2rem; color: var(--accent); line-height: 1; }
.equip-total span { font-size: .86rem; color: #b8c3de; font-weight: 600; }

/* HSE */
.hse-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 30px; }
.hse-list li { display: flex; gap: 12px; color: #c7d1ea; font-size: .97rem; }
.hse-list li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 11px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }
.hse-badges { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hse-badges span { border: 1px solid rgba(245,166,35,.5); color: var(--accent); padding: 8px 18px; border-radius: 30px; font-weight: 700; font-size: .9rem; }

/* =========================================================
   Services page
   ========================================================= */
.svc-nav { position: sticky; top: var(--header-h); z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.svc-nav .container { display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.svc-nav .container::-webkit-scrollbar { display: none; }
.svc-nav a { flex: none; padding: 9px 18px; border-radius: 30px; font-weight: 700; font-size: .9rem; color: var(--muted); border: 1.5px solid var(--line); transition: all .2s; }
.svc-nav a:hover, .svc-nav a.active { background: var(--brand); border-color: var(--brand); color: var(--white); }
.svc-detail { padding: 100px 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.svc-detail:nth-of-type(even) { background: var(--bg); }
.svc-detail .split-media img { aspect-ratio: 4/3; }
.svc-detail:nth-of-type(even) .split > .split-media { order: 2; }
.svc-detail .label { font-family: var(--font-display-en); font-weight: 800; font-size: 4.5rem; color: rgba(38,64,143,.1); line-height: 1; display: block; margin-bottom: -10px; }
.svc-detail h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
html[lang="en"] .svc-detail h2 { text-transform: uppercase; }
.svc-detail p { color: var(--muted); }
.sublist { display: grid; gap: 16px; margin-top: 24px; }
.sublist > div { background: var(--white); border-radius: 12px; padding: 20px 22px; border-inline-start: 4px solid var(--accent); box-shadow: 0 4px 16px rgba(10,20,48,.05); }
.svc-detail:nth-of-type(odd) .sublist > div { background: var(--bg); box-shadow: none; }
.sublist h4 { margin: 0 0 6px; font-size: 1.02rem; color: var(--navy); }
.sublist p { margin: 0; font-size: .94rem; }
.oil-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; }
.oil-col { background: var(--white); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow); border-top: 5px solid var(--brand); }
.oil-col h3 { font-size: 1.2rem; }
.oil-col p { color: var(--muted); font-size: .95rem; }
.oil-col ol { margin: 0; padding: 0; list-style: none; counter-reset: c; display: grid; gap: 14px; }
.oil-col ol li { counter-increment: c; display: flex; gap: 12px; font-size: .94rem; color: var(--ink); }
.oil-col ol li::before { content: counter(c); flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(38,64,143,.1); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: .85rem; margin-top: 2px; }
.oil-col ol li b { color: var(--navy); }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 24px; position: relative; text-align: center; }
.step::before { counter-increment: step; content: "0" counter(step); display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 50%; background: var(--navy); color: var(--accent); font-family: var(--font-display-en); font-weight: 800; font-size: 1.6rem; border: 6px solid rgba(245,166,35,.25); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 38px; inset-inline-start: 50%; width: 100%; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.3) 0 8px, transparent 8px 16px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.1rem; }
.step p { color: #aab6d3; font-size: .93rem; margin: 0; }

/* =========================================================
   Gallery
   ========================================================= */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filters button { border: 1.5px solid var(--line); background: var(--white); padding: 10px 20px; border-radius: 30px; font-weight: 700; font-size: .92rem; color: var(--muted); transition: all .2s; display: inline-flex; gap: 8px; align-items: center; }
.filters button small { background: var(--bg); color: var(--muted); border-radius: 20px; padding: 0 8px; font-size: .78rem; }
.filters button:hover { border-color: var(--brand); color: var(--brand); }
.filters button.active { background: var(--brand); border-color: var(--brand); color: var(--white); }
.filters button.active small { background: rgba(255,255,255,.2); color: var(--white); }
.gallery { columns: 4 260px; column-gap: 16px; }
.g-item { break-inside: avoid; margin-bottom: 16px; border-radius: 12px; overflow: hidden; position: relative; cursor: zoom-in; display: block; width: 100%; border: 0; padding: 0; background: var(--bg); }
.g-item img { width: 100%; height: auto; transition: transform .7s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(10,20,48,.85)); opacity: 0; transition: opacity .35s; }
.g-item .cap { position: absolute; z-index: 1; inset-inline: 16px; bottom: 14px; color: var(--white); font-weight: 700; font-size: .9rem; opacity: 0; transform: translateY(10px); transition: all .35s; text-align: start; display: flex; align-items: center; gap: 8px; }
.g-item .cap svg { width: 18px; height: 18px; color: var(--accent); }
.g-item:hover img { transform: scale(1.06); }
.g-item:hover::after, .g-item:hover .cap { opacity: 1; transform: none; }
.g-item.is-hidden { display: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6,12,30,.95); display: none; align-items: center; justify-content: center; padding: 60px 90px; }
.lightbox.open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #c9d3ea; margin-top: 16px; font-weight: 600; text-align: center; }
.lb-btn { position: absolute; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: var(--white); display: grid; place-items: center; transition: all .2s; }
.lb-btn:hover { background: var(--accent); color: var(--navy); border-color: var(--accent); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 32px; left: 30px; color: #8fa0c8; font-weight: 700; font-family: var(--font-display-en); letter-spacing: 1px; }

/* =========================================================
   Projects
   ========================================================= */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: -60px; position: relative; z-index: 5; }
.kpi { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; }
.kpi .ico { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--accent); color: var(--navy); display: grid; place-items: center; }
.kpi .ico svg { width: 26px; height: 26px; }
.kpi b { display: block; font-family: var(--font-display-en); font-size: 2rem; color: var(--navy); line-height: 1; }
.kpi span { font-size: .88rem; color: var(--muted); font-weight: 600; }

.proj-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.proj-item { display: flex; gap: 18px; background: var(--white); border-radius: 12px; padding: 22px; border: 1px solid var(--line); transition: all .3s; align-items: flex-start; }
.proj-item:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.proj-item .n { flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--brand); color: var(--white); display: grid; place-items: center; font-family: var(--font-display-en); font-weight: 800; font-size: 1.15rem; }
.proj-item h4 { margin: 0 0 4px; font-size: 1.02rem; line-height: 1.5; }
.proj-item p { margin: 0; color: var(--muted); font-size: .9rem; }
.proj-item ul { margin-top: 10px; display: grid; gap: 6px; }
.proj-item ul li { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; }
.proj-item ul li b { color: var(--brand); flex: none; }
.proj-item.wide { grid-column: 1 / -1; }
.chip { display: inline-block; background: rgba(38,64,143,.08); color: var(--brand); font-weight: 700; font-size: .78rem; padding: 3px 10px; border-radius: 20px; margin-top: 8px; }

.contract-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.contract { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr; }
.contract .top { background: var(--navy); color: var(--white); padding: 26px 30px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.contract .top small { color: var(--accent); font-weight: 700; display: block; font-size: .8rem; letter-spacing: 1px; }
.contract .top b { font-family: var(--font-display-en); font-size: 1.7rem; letter-spacing: 1px; }
.contract .top .client { background: rgba(255,255,255,.1); padding: 6px 14px; border-radius: 30px; font-size: .82rem; font-weight: 700; }
.contract .mid { padding: 26px 30px; }
.contract .mid h4 { font-size: 1.08rem; margin-bottom: 14px; }
.contract dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; }
.contract dt { font-size: .8rem; color: var(--muted); font-weight: 600; }
.contract dd { margin: 0; font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.contract .bar { height: 6px; background: var(--bg); border-radius: 6px; margin-top: 20px; overflow: hidden; }
.contract .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--accent)); border-radius: 6px; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
table.data { width: 100%; border-collapse: collapse; min-width: 760px; font-size: .95rem; }
table.data thead th { background: var(--brand); color: var(--white); padding: 16px 18px; text-align: start; font-weight: 700; white-space: nowrap; }
table.data td { padding: 15px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data tbody tr:hover { background: #f7f9fd; }
table.data td.num { font-family: var(--font-display-en); font-weight: 700; color: var(--navy); white-space: nowrap; direction: ltr; text-align: end; }
table.data td:first-child { font-weight: 800; color: var(--brand); }
table.data tfoot td { background: var(--navy); color: var(--white); font-weight: 800; padding: 16px 18px; }
table.data tfoot td.num { color: var(--accent); }

.docs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.doc { background: var(--white); border-radius: 10px; padding: 10px; box-shadow: var(--shadow); cursor: zoom-in; border: 0; transition: transform .3s; text-align: center; }
.doc:hover { transform: translateY(-5px); }
.doc img { aspect-ratio: 3/4; object-fit: cover; object-position: top; width: 100%; border-radius: 6px; border: 1px solid var(--line); }
.doc span { display: block; font-family: var(--font-display-en); font-weight: 700; color: var(--navy); margin-top: 10px; font-size: .95rem; }

/* =========================================================
   Contact
   ========================================================= */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.info-cards { display: grid; gap: 16px; }
.info-card { display: flex; gap: 18px; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); transition: all .3s; }
.info-card:hover { border-color: var(--brand); box-shadow: var(--shadow); }
.info-card .ico { flex: none; width: 54px; height: 54px; border-radius: 14px; background: var(--brand); color: var(--white); display: grid; place-items: center; }
.info-card .ico svg { width: 24px; height: 24px; }
.info-card h4 { margin: 0 0 4px; font-size: 1rem; }
.info-card p, .info-card a { margin: 0; color: var(--muted); display: block; font-size: .96rem; }
.info-card a:hover { color: var(--brand); }
.info-card [dir="ltr"] { text-align: start; }
html[lang="ar"] .info-card [dir="ltr"] { text-align: right; }
.form-card { background: var(--white); border-radius: var(--radius); padding: 44px; box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .9rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-size: .97rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); transition: border-color .2s, background .2s; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--brand); background: var(--white); }
.field.invalid input, .field.invalid textarea { border-color: #d64545; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.form-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: 10px; background: #e9f7ee; color: #1d6b3a; font-weight: 600; display: none; }
.form-status.show { display: block; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 440px; background: var(--bg); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--navy); color: #a3b0cf; padding-top: 80px; position: relative; overflow: hidden; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--brand) 0 70%, var(--accent) 70%); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1.4fr; gap: 50px; padding-bottom: 60px; }
.footer .brand-text strong { color: var(--white); }
.footer .brand-text small { color: #8695b8; }
.footer p { font-size: .95rem; margin-top: 20px; }
.footer h4 { color: var(--white); font-size: 1.08rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px; background: var(--accent); border-radius: 3px; }
.footer ul { display: grid; gap: 11px; }
.footer ul a { transition: color .2s, padding .2s; font-size: .95rem; }
.footer ul a:hover { color: var(--accent); padding-inline-start: 6px; }
.footer .contact-li { display: flex; gap: 12px; font-size: .94rem; }
.footer .contact-li svg { flex: none; width: 18px; height: 18px; color: var(--accent); margin-top: 5px; }
.footer .contact-li a:hover { color: var(--accent); }
.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: 20px; flex-wrap: wrap; }
.iso-row { display: flex; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.iso-row span { border: 1px solid rgba(255,255,255,.15); padding: 4px 10px; border-radius: 6px; font-size: .78rem; font-weight: 700; color: #cfd8ee; font-family: var(--font-display-en); letter-spacing: .5px; }

/* floating buttons */
.fab-wa { position: fixed; z-index: 90; bottom: 24px; inset-inline-end: 24px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--white); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .3s; }
.fab-wa:hover { transform: scale(1.08); }
.fab-wa svg { width: 30px; height: 30px; }
.fab-wa::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2s infinite; }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.to-top { position: fixed; z-index: 90; bottom: 94px; inset-inline-end: 30px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--brand); color: var(--white); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: all .3s; box-shadow: var(--shadow); }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active img { animation: none; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 10px 10px; font-size: .92rem; }
  .header .btn--accent { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 72px; }
  .topbar .tb-left a:not(:first-child) { display: none; }
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--white);
    flex-direction: column; align-items: stretch; padding: 20px; gap: 4px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .3s var(--ease); overflow-y: auto; border-top: 1px solid var(--line); box-shadow: 0 20px 40px rgba(10,20,48,.12);
  }
  .nav-open { overflow: hidden; }
  .nav-open .nav { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 16px 12px; font-size: 1.08rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .section { padding: 80px 0; }
  .split, .split--wide, .equip-wrap, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .svc-detail:nth-of-type(even) .split > .split-media { order: 0; }
  .equip-media { position: static; }
  .equip-media img { aspect-ratio: 16/9; }
  .hero-strip { position: relative; width: 100%; z-index: 3; background: var(--white); }
  .hero-strip .container { grid-template-columns: 1fr 1fr; border-radius: 0; width: 100%; }
  .hero-strip .item:nth-child(2) { border-inline-end: 0; }
  .hero-strip .item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hero { flex-direction: column; min-height: auto; }
  .hero > .container { padding: 90px 0 90px; }
  .hero-dots { bottom: 40px; flex-direction: row; inset-inline-end: 20px; top: auto; }
  .hero-dots button { width: 28px; height: 4px; }
  .hero-dots button.is-active { width: 46px; height: 4px; }
  .stats .container, .kpis { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3)::before { display: none; }
  .cards-3, .projects-grid, .certs { grid-template-columns: 1fr 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .vm-grid, .pillars, .proj-list, .contract-cards, .hse-list, .oil-cols { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
  .float-card { inset-inline-start: 16px; }
  .split-media .frame { display: none; }
  .lightbox { padding: 70px 16px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar .tb-right { display: none; }
  .topbar .container { justify-content: center; }
  .brand img { width: 44px; height: 44px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text small { display: none; }
  .lang-toggle { padding: 0 10px; }
  .hero-badge { font-size: .78rem; flex-wrap: wrap; border-radius: 16px; }
  .hero-badge b { white-space: nowrap; }
  .hero-actions .btn { flex: 1 1 auto; }
  .services-grid, .cards-3, .cards-4, .cards-5, .projects-grid, .certs, .cards-2 { grid-template-columns: 1fr; }
  .equip-list { grid-template-columns: 1fr; }
  .hero-strip .container { grid-template-columns: 1fr; }
  .hero-strip .item { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .stats .container, .kpis { grid-template-columns: 1fr 1fr; gap: 14px; }
  .kpi { flex-direction: column; text-align: center; padding: 20px 14px; }
  .stat::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-block { padding: 34px 24px; }
  .vm-card { padding: 34px 26px; }
  .pillar { flex-direction: column; }
  .docs { grid-template-columns: repeat(2, 1fr); }
  .contract dl { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .g-item { margin-bottom: 10px; }
  .clients .container { justify-content: center; text-align: center; }
  .clients h4 { max-width: none; }
  .client-logos { gap: 28px; }
  .page-hero { padding: 90px 0 80px; }
}
