/* ===================================================================
   TAFASEEL CONTRACTING — CORE STYLESHEET
   Design tokens, resets, typography, layout primitives, components.
   Breakpoints & responsive collapse rules live in responsive.css.
   Motion/reveal rules live in animations.css.
=================================================================== */

/* --------------------- Font imports --------------------- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@400;500;600&family=Cairo:wght@600;700;800&family=IBM+Plex+Sans+Arabic:wght@400;500;600&family=Poppins:wght@700;800&display=swap');

/* --------------------- Design tokens (single premium theme) --------------------- */
:root{
  --navy: #0B4A5C;
  --gold: #8F1839;
  --orange: #8F1839;
  --paper: #FAF8F4;
  --ink: #2A2620;
  --taupe: #857F74;

  --teal: #0B4A5C;
  --teal-deep: #072F3B;
  --maroon: #8F1839;

  --hero-navy: #082A44;
  --hero-burgundy: #8E1838;
  --hero-teal: #0A4458;
  --hero-bg: #F5F3F1;

  --bg: var(--paper);
  --text: var(--ink);
  --text-secondary: var(--taupe);
  --card-bg: #FFFFFF;
  --line: rgba(42, 38, 32, 0.10);
  --line-strong: rgba(42, 38, 32, 0.20);
  --gold-c: var(--maroon);
  --orange-c: var(--maroon);
  --nav-bg: rgba(250, 248, 244, 0.86);
  --shadow: 0 10px 30px rgba(42, 38, 32, 0.07);

  --font-heading-en: 'Manrope', sans-serif;
  --font-body-en: 'Inter', sans-serif;
  --font-heading-ar: 'Cairo', sans-serif;
  --font-body-ar: 'IBM Plex Sans Arabic', sans-serif;
  --font-mono: ui-monospace, "SF Mono", Consolas, "Roboto Mono", monospace;

  --radius-s: 10px;
  --radius-m: 12px;
  --radius-l: 14px;

  --container: 1240px;
}

/* --------------------- Reset --------------------- */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font: inherit; cursor: pointer; }
ul, ol{ list-style: none; }
input, textarea, select{ font: inherit; color: inherit; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body-en);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: var(--font-heading-en);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text);
}
h1{ font-size: clamp(2.2rem, 5vw, 4.5rem); font-weight: 800; }
h2{ font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 700; }
h3{ font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
h4{ font-size: 1.05rem; font-weight: 700; }

p{ color: var(--text-secondary); }

/* Arabic language scoping */
[lang="ar"]{
  font-family: var(--font-body-ar);
  direction: rtl;
}
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4,
[lang="ar"] .heading{
  font-family: var(--font-heading-ar);
}

.mono{
  font-family: var(--font-mono);
  letter-spacing: .02em;
}

/* --------------------- Layout primitives --------------------- */
.wrap{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section{
  padding-block: clamp(56px, 8vw, 110px);
}

.section--tight{ padding-block: clamp(36px, 5vw, 64px); }

.section-bg-alt{ background: var(--card-bg); }

.hairline{ border: none; border-top: 1px solid var(--line); }
.hairline-frame{
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.section-head{
  margin-bottom: clamp(28px, 4vw, 48px);
  max-width: 720px;
}
.section-head--center{ margin-inline: auto; text-align: center; }

.section-head p{ margin-top: 12px; font-size: 1.05rem; }

.underline-gold{
  display: inline-block;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--gold-c);
}

/* --------------------- Bilingual split spec-sheet grid --------------------- */
.bi-grid{
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 40px;
  align-items: start;
}
.bi-grid > .bi-col-en{ text-align: left; }
.bi-grid > .bi-col-ar{ text-align: right; }
.bi-grid > .bi-rule{
  background: var(--line);
  width: 1px;
  height: 100%;
  align-self: stretch;
}

/* --------------------- Buttons --------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-s);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(0); }

.btn--primary{
  background: var(--orange-c);
  color: #fff;
}
.btn--primary:hover{ background: #741230; }

.btn--ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover{ border-color: var(--gold-c); color: var(--gold-c); }

.btn--gold{
  background: transparent;
  color: var(--gold-c);
  border-color: var(--gold-c);
}
.btn--gold:hover{ background: var(--gold-c); color: var(--navy); }

.btn--block{ width: 100%; justify-content: center; }
.btn[disabled], .btn.is-disabled{
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------- Navbar --------------------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled{
  background: var(--nav-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--line);
}

.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 16px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-mark{
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.brand-mark img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.2; }
.brand-text .en{ font-family: var(--font-heading-en); font-weight: 800; font-size: 1.02rem; }
.brand-text .ar{ font-family: var(--font-heading-ar); font-weight: 700; font-size: .82rem; color: var(--text-secondary); }

.nav-links{
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a{
  font-size: .92rem;
  font-weight: 600;
  color: var(--text);
  position: relative;
  padding-block: 6px;
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--orange-c);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-links a:hover::after,
.nav-links a.is-active::after{ transform: scaleX(1); }
.nav-links a.is-active{ color: var(--orange-c); }

.nav-cta{ display: flex; align-items: center; gap: 14px; }

.theme-toggle{
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  background: transparent;
  color: var(--text);
}
.theme-toggle svg{ width: 18px; height: 18px; }

.nav-burger{
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-burger span{
  width: 20px; height: 2px; background: var(--text); display: block; transition: transform .25s ease, opacity .25s ease;
}
.nav-burger.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-burger.is-active span:nth-child(2){ opacity: 0; }
.nav-burger.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* --------------------- Hero --------------------- */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-media{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.25) saturate(1.1) hue-rotate(-6deg);
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,74,92,.86) 0%, rgba(11,74,92,.68) 45%, rgba(11,74,92,.90) 100%);
}
.hero-content{
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.hero-content h1{ color: #fff; margin-bottom: 20px; }
.hero-content .lead{ color: #E7E3D8; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 640px; margin-bottom: 34px; }
.hero-cta{ display: flex; gap: 16px; flex-wrap: wrap; }

/* --------------------- Hero: cover / company-profile style --------------------- */
.hero--cover{
  min-height: 100vh;
  color: var(--text);
  background: var(--paper);
}
.hero--cover .wrap{
  padding-left: 24px;
  margin-left: 0;
  margin-right: auto;
  max-width: none;
}
.hero-swoosh{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-swoosh svg{ width: 100%; height: 100%; display: block; }
.hero-corner-swoosh{
  position: absolute;
  top: -40px; left: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--maroon);
  z-index: 0;
}
.hero-content--cover{
  position: relative;
  z-index: 1;
  max-width: 600px;
  text-align: left;
  padding-block: 24px;
}
.hero-logo-lockup{
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.hero-logo-frame{
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  padding: 12px;
  border-radius: var(--radius-m);
  background: linear-gradient(155deg, #fff 0%, var(--paper) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform .3s ease, box-shadow .3s ease;
}
.hero-logo-frame:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(42, 38, 32, 0.12);
}
.hero-logo{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.hero-logo-wordmark{
  display: block;
  line-height: 1.4;
  font-family: var(--font-heading-en);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  color: var(--navy);
}
.hero-logo-wordmark span[lang="ar"]{
  display: block;
  margin-top: 2px;
  font-family: var(--font-heading-ar);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: 0;
  color: var(--maroon);
}
.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 16px 7px 8px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--font-heading-en);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .07em;
  color: var(--maroon);
  text-transform: uppercase;
}
.hero-eyebrow span[lang="ar"]{
  text-transform: none;
  letter-spacing: 0;
  color: var(--navy);
  font-family: var(--font-heading-ar);
  font-weight: 600;
}
.hero-eyebrow__bar{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--navy));
  flex-shrink: 0;
}
.hero-cover-title.hero-cover-title{
  color: var(--navy);
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: .005em;
  margin-bottom: 20px;
}
.hero-cover-title span[lang="ar"]{
  display: inline-block;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--maroon), #B23A5C);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: var(--font-heading-ar);
}
.hero-cover-lead{
  max-width: 460px;
  margin-bottom: 34px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
  border-left: 3px solid var(--line-strong);
  padding-left: 18px;
}
.hero-cover-lead span[lang="ar"]{
  display: inline-block;
  margin-top: 8px;
  font-family: var(--font-body-ar);
}
.hero--cover .hero-cta{ margin-bottom: 36px; }
.hero--cover .btn--primary{
  box-shadow: 0 12px 28px rgba(143, 24, 57, 0.28);
}
.hero-socials{
  display: flex;
  gap: 14px;
}
.hero-socials a{
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}
.hero-socials a:hover{ background: var(--maroon); transform: translateY(-2px); }
.hero-socials a svg{ width: 18px; height: 18px; }
.hero-vision-badge{
  position: absolute;
  right: 48px; bottom: 40px;
  z-index: 1;
  text-align: right;
  line-height: 1.25;
  background: rgba(250, 248, 244, 0.92);
  border-radius: var(--radius-s);
  padding: 14px 20px;
  box-shadow: var(--shadow);
}
.hero-vision-badge__title{
  display: block;
  font-family: var(--font-heading-en);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--maroon);
}
.hero-vision-badge__sub{
  display: block;
  font-family: var(--font-heading-ar);
  font-weight: 700;
  color: var(--navy);
}
.hero-vision-badge__country{
  display: block;
  margin-top: 4px;
  font-size: .7rem;
  color: var(--text-secondary);
}

/* --------------------- Hero: full-bleed cover portrait (circles + photo mask) --------------------- */
.hero-cover2{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-bg);
  isolation: isolate;
  padding-block: 96px 100px;
}

.hero-cover2__shapes{ position: absolute; inset: 0; z-index: 0; overflow: hidden; }

.hc2-shape{ position: absolute; border-radius: 50%; }

.hc2-shape--navy-arc{
  top: -30vw;
  left: 18%;
  width: 60vw;
  height: 60vw;
  background: var(--hero-navy);
  opacity: .95;
}

.hc2-shape--burgundy-arc{
  top: 10%;
  right: -20vw;
  width: 46vw;
  height: 46vw;
  background: var(--hero-burgundy);
  opacity: .95;
}

.hc2-shape--teal-circle{
  bottom: -22vw;
  right: 6%;
  width: 40vw;
  height: 40vw;
  background: var(--hero-teal);
  opacity: .95;
}

.hc2-shape--burgundy-dot{
  top: 6%;
  left: -4%;
  width: 9vw;
  height: 9vw;
  min-width: 70px;
  min-height: 70px;
  background: var(--hero-burgundy);
}

.hero-cover2__inner{
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.hero-cover2__left{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hc2-logo{
  width: 350px;
  max-width: 60%;
  height: auto;
  margin-bottom: 20px;
}

.hc2-title{
  font-family: 'Poppins', var(--font-heading-en), sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  letter-spacing: .03em;
  color: var(--hero-navy);
  line-height: 1.2;
}

.hc2-title-ar{
  margin-top: 8px;
  font-family: var(--font-heading-ar);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--hero-burgundy);
}

.hc2-btn-group{
  display: flex;
  gap: 18px;
  margin-top: 32px;
}

.hc2-btn{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 18px 44px;
  border: 1.5px solid var(--hero-navy);
  border-radius: 2px;
  background: transparent;
  color: var(--hero-navy);
  font-family: 'Poppins', var(--font-heading-en), sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  transition: background-color .25s ease, color .25s ease;
}

.hc2-btn .ar{
  font-family: var(--font-heading-ar);
  font-weight: 600;
  font-size: .95rem;
}

.hc2-btn:hover{
  background: var(--hero-navy);
  color: #fff;
}

.hero-cover2__right{
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: min(45vw, 60vh);
}

.hc2-photo-mask{
  position: absolute;
  border-radius: 50%;
  overflow: hidden;
  background: var(--hero-bg);
  border: 6px solid var(--hero-bg);
  box-shadow: 0 30px 60px rgba(8, 42, 68, .25);
}

.hc2-photo-mask img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.hero-cover2:hover .hc2-photo-mask img{ transform: scale(1.06); }

.hc2-photo-mask--main{
  position: relative;
  width: min(45vw, 60vh);
  height: min(45vw, 60vh);
  max-width: 480px;
  max-height: 480px;
  transform: translateX(8%);
  z-index: 1;
}

.hc2-photo-mask--sub{
  width: 20vw;
  height: 20vw;
  max-width: 200px;
  max-height: 200px;
  right: 2%;
  bottom: 0;
  z-index: 2;
  box-shadow: 0 20px 44px rgba(8, 42, 68, .3);
}

.hc2-photo-mask--small{
  width: 11vw;
  height: 11vw;
  max-width: 110px;
  max-height: 110px;
  left: 4%;
  top: 4%;
  z-index: 2;
  box-shadow: 0 16px 32px rgba(8, 42, 68, .3);
}

.hero-cover2__socials{
  position: absolute;
  left: 40px;
  bottom: 36px;
  z-index: 2;
  display: flex;
  gap: 12px;
}

.hero-cover2__socials a{
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--hero-navy);
  color: #fff;
  transition: background-color .2s ease, transform .2s ease;
}

.hero-cover2__socials a:hover{ background: var(--hero-burgundy); transform: translateY(-2px); }
.hero-cover2__socials a svg{ width: 16px; height: 16px; }

.hero-cover2__vision{
  position: absolute;
  right: 40px;
  bottom: 36px;
  z-index: 2;
  text-align: right;
  line-height: 1.3;
}

.hc2-vision-title{
  display: block;
  font-family: 'Poppins', var(--font-heading-en), sans-serif;
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
  color: var(--hero-navy);
}

.hc2-vision-title strong{ color: var(--hero-burgundy); font-weight: 800; }

.hc2-vision-sub{
  display: block;
  font-size: .62rem;
  letter-spacing: .03em;
  color: var(--text-secondary);
}

@media (prefers-reduced-motion: reduce){
  .hc2-photo-mask img, .hc2-btn{ transition: none; }
}

/* --------------------- Cards --------------------- */
.card{
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }

.card-media{ position: relative; aspect-ratio: 4/3; overflow: hidden; }
.card-media img{
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.18) saturate(1.05) hue-rotate(-4deg);
  transition: transform .5s ease;
}
.card:hover .card-media img{ transform: scale(1.06); }
.card-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,74,92,0) 55%, rgba(11,74,92,.55) 100%);
}

.card-body{ padding: 22px; }
.card-body h3{ margin-bottom: 8px; }
.card-body p{ font-size: .93rem; }

/* Grids */
.grid{ display: grid; gap: 26px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-5{ grid-template-columns: repeat(5, 1fr); }

/* --------------------- Stats --------------------- */
.stats-strip{
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section--teal.stats-strip, .section--maroon.stats-strip{ border: none; }
.stat{
  text-align: center;
  padding-block: 12px;
  border-inline-start: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.stat:first-child{ border-inline-start: none; }
.section--teal .stat, .section--maroon .stat{ border-inline-start-color: rgba(255,255,255,.2); }
.stat-num{
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--orange-c);
  display: block;
}
.stat-label{ font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-top: 6px; }

/* --------------------- Values / icon pillars --------------------- */
.value-pillar{
  text-align: center;
  padding: 30px 20px;
}
.value-icon{
  width: 56px; height: 56px;
  margin-inline: auto;
  margin-bottom: 18px;
  border: 1px solid var(--gold-c);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-c);
}
.value-icon svg{ width: 26px; height: 26px; }

/* --------------------- Process timeline --------------------- */
.timeline{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before{
  content: "";
  position: absolute;
  top: 22px; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.section--teal .timeline::before, .section--maroon .timeline::before{ background: rgba(255,255,255,.25); }
.timeline-step{ position: relative; text-align: center; }
.timeline-dot{
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1.5px solid var(--orange-c);
  color: var(--orange-c);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-inline: auto; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.timeline-step h4{ margin-bottom: 6px; font-size: .98rem; }
.timeline-step p{ font-size: .85rem; }

/* --------------------- Testimonials --------------------- */
.testimonial{
  padding: 28px;
}
.testimonial-quote{
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 18px;
}
.testimonial-quote::before{ content: open-quote; color: var(--gold-c); }
.testimonial-quote::after{ content: close-quote; color: var(--gold-c); }
.testimonial-attr{ font-size: .85rem; color: var(--text-secondary); }
.testimonial-attr strong{ color: var(--text); display: block; }

/* --------------------- Partners strip --------------------- */
.partner-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 120px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  transition: border-color .25s ease, transform .25s ease;
}
.partner-logo:hover{ border-color: var(--gold-c); transform: translateY(-2px); }
.partner-logo img{
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --------------------- CTA banner --------------------- */
.cta-banner{
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-l);
  padding: clamp(36px, 6vw, 64px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(143,24,57,.18), transparent 60%);
}
.cta-banner h2{ color: #fff; margin-bottom: 14px; position: relative; }
.cta-banner p{ color: #C9C4B6; margin-bottom: 28px; position: relative; max-width: 560px; margin-inline: auto; }
.cta-banner .hero-cta{ justify-content: center; position: relative; }

/* --------------------- Footer --------------------- */
.site-footer{
  background: var(--navy);
  color: #C9C4B6;
  padding-block: 64px 28px;
  margin-top: 100px;
  border-top: 4px solid var(--gold-c);
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-grid h4{ color: #fff; margin-bottom: 18px; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; }
.footer-grid ul li{ margin-bottom: 10px; }
.footer-grid a{ color: #C9C4B6; font-size: .92rem; }
.footer-grid a:hover{ color: var(--gold); }
.footer-brand .brand-mark{ background: #fff; }
.footer-brand p{ color: #9A9587; font-size: .88rem; margin-top: 16px; max-width: 320px; }

.vision-badge{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 10px 14px;
  margin-top: 18px;
  font-size: .78rem;
  color: #D9D4C6;
}
.vision-badge .mono{ color: var(--gold); }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .82rem;
  color: #8B8778;
}
.footer-socials{ display: flex; gap: 12px; }
.footer-socials a{
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #C9C4B6;
}
.footer-socials a:hover{ border-color: var(--gold); color: var(--gold); }
.footer-socials svg{ width: 16px; height: 16px; }

/* --------------------- Page hero (interior pages) --------------------- */
.page-hero{
  position: relative;
  padding-block: clamp(90px, 14vw, 150px) clamp(50px, 8vw, 80px);
  color: #fff;
  overflow: hidden;
}
.page-hero-media{ position: absolute; inset: 0; z-index: 0; }
.page-hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.25) saturate(1.1) hue-rotate(-6deg);
}
.page-hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,74,92,.9), rgba(11,74,92,.78));
}
.page-hero-content{ position: relative; z-index: 1; max-width: 800px; }
.page-hero-content h1{ color: #fff; }
.breadcrumb{ font-size: .85rem; color: #C9C4B6; margin-bottom: 18px; font-family: var(--font-mono); }
.breadcrumb a{ color: #C9C4B6; }
.breadcrumb a:hover{ color: var(--gold); }

/* --------------------- Filter buttons (projects/gallery) --------------------- */
.filter-bar{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn{
  padding: 10px 20px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: transparent;
  color: var(--text-secondary);
  font-size: .88rem;
  font-weight: 600;
  transition: all .2s ease;
}
.filter-btn:hover{ border-color: var(--orange-c); color: var(--orange-c); }
.filter-btn.is-active{ background: var(--orange-c); border-color: var(--orange-c); color: #fff; }

/* --------------------- Lightbox --------------------- */
.lightbox{
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(11,74,92,.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open{ display: flex; }
.lightbox-inner{ max-width: 1000px; width: 100%; }
.lightbox-inner img{ width: 100%; max-height: 72vh; object-fit: contain; border-radius: var(--radius-m); }
.lightbox-caption{ color: #E7E3D8; text-align: center; margin-top: 18px; font-size: .95rem; }
.lightbox-close{
  position: absolute;
  top: 26px; right: 32px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}

/* --------------------- Masonry gallery --------------------- */
.masonry{
  columns: 4 220px;
  column-gap: 20px;
}
.masonry-item{
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-m);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
}
.masonry-item img{
  width: 100%; display: block;
  filter: sepia(.18) saturate(1.05) hue-rotate(-4deg);
  transition: transform .5s ease;
}
.masonry-item:hover img{ transform: scale(1.05); }
.masonry-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(11,74,92,.85), transparent);
  color: #fff;
  font-size: .82rem;
}

/* --------------------- Documents/certificates --------------------- */
.doc-card{
  padding: 32px;
  border-top: 4px solid var(--maroon);
}
.doc-card-head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.doc-status{
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #2E7D4F;
  border: 1px solid #2E7D4F;
  border-radius: 6px;
  padding: 4px 10px;
  font-family: var(--font-mono);
}
dl.doc-fields{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; }
dl.doc-fields div{ border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
dl.doc-fields dt{ font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-secondary); margin-bottom: 4px; }
dl.doc-fields dd{ font-family: var(--font-mono); font-size: .95rem; color: var(--text); }

.doc-preview{
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.doc-preview img{ display: block; width: 100%; height: auto; }

/* --------------------- Forms --------------------- */
.form-group{ margin-bottom: 22px; }
.form-group label{ display: block; font-size: .88rem; font-weight: 600; margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea{
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-s);
  background: var(--card-bg);
  color: var(--text);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  outline: none;
  border-color: var(--orange-c);
}
.form-error{ font-size: .8rem; color: var(--orange-c); margin-top: 6px; display: none; }
.form-group.has-error input, .form-group.has-error select, .form-group.has-error textarea{ border-color: var(--orange-c); }
.form-group.has-error .form-error{ display: block; }

.form-success{
  display: none;
  padding: 20px;
  border: 1px solid #2E7D4F;
  border-radius: var(--radius-m);
  color: #2E7D4F;
  margin-bottom: 24px;
  background: rgba(46,125,79,.08);
}
.form-success.is-visible{ display: block; }

/* --------------------- Contact info blocks --------------------- */
.info-block{
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.info-block:last-child{ border-bottom: none; }
.info-icon{
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid var(--gold-c);
  color: var(--gold-c);
  display: flex; align-items: center; justify-content: center;
}
.info-icon svg{ width: 20px; height: 20px; }
.info-block h4{ margin-bottom: 4px; }
.info-block a, .info-block p{ font-size: .92rem; }

.map-placeholder{
  aspect-ratio: 16/9;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
}
.map-placeholder iframe{ width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

.hours-table{ width: 100%; border-collapse: collapse; }
.hours-table td{ padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.hours-table td:last-child{ text-align: right; font-family: var(--font-mono); color: var(--text); }

/* --------------------- Partner philosophy blurb --------------------- */
.blurb{ max-width: 760px; margin-inline: auto; text-align: center; }

/* --------------------- What's included bullets --------------------- */
.included-list li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: .92rem;
  color: var(--text-secondary);
}
.included-list li::before{
  content: "";
  position: absolute; left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--orange-c);
}
[lang="ar"] .included-list li{ padding-left: 0; padding-right: 22px; }
[lang="ar"] .included-list li::before{ left: auto; right: 0; }

/* --------------------- Service full sections --------------------- */
.service-block{
  padding-block: 56px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.service-block:last-of-type{ border-bottom: none; }
.service-block-head{
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}
.service-block-head .service-num{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .95rem;
  color: #fff;
  background: var(--maroon);
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-block.section-bg-alt .service-block-head .service-num{ background: var(--teal); }
.service-block-head h2{ border-bottom: 4px solid var(--maroon); padding-bottom: 8px; display: inline-block; }
.service-block.section-bg-alt .service-block-head h2{ border-bottom-color: var(--teal); }
.service-media{
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
}
.service-media img{
  width: 100%; height: 100%; object-fit: cover;
  filter: sepia(.18) saturate(1.05) hue-rotate(-4deg);
}

/* --------------------- Brochure-style color-block sections --------------------- */
.section--teal, .section--maroon{
  position: relative;
  overflow: hidden;
  color: #fff;
}
.section--teal{ background: var(--teal); }
.section--maroon{ background: var(--maroon); }
.section--teal h1, .section--teal h2, .section--teal h3, .section--teal h4,
.section--maroon h1, .section--maroon h2, .section--maroon h3, .section--maroon h4{ color: #fff; }
.section--teal p, .section--maroon p,
.section--teal .card p, .section--maroon .card p{ color: rgba(255,255,255,.82); }
.section--teal .section-head p, .section--maroon .section-head p{ color: rgba(255,255,255,.82); }

/* Diagonal corner accent, brochure-style */
.corner-swoosh{
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: clamp(140px, 18vw, 260px);
  height: clamp(140px, 18vw, 260px);
}
.corner-swoosh--tl{ top: 0; left: 0; }
.corner-swoosh--br{ bottom: 0; right: 0; transform: rotate(180deg); }
.corner-swoosh svg{ width: 100%; height: 100%; display: block; }

/* Dot-grid decorative motif */
.dot-pattern{
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: 90px;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 6px;
}
.dot-pattern span{
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: .35;
}
.dot-pattern--light{ color: #fff; }
.dot-pattern--dark{ color: var(--maroon); }

/* Section eyebrow: small icon badge + label, brochure heading style */
.section-eyebrow{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.section-eyebrow-icon{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--maroon);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.section-eyebrow-icon svg{ width: 17px; height: 17px; }
.section-eyebrow-label{
  font-family: var(--font-heading-en);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal);
}
.section--teal .section-eyebrow-label, .section--maroon .section-eyebrow-label{ color: #fff; }
.section--teal .section-eyebrow-icon, .section--maroon .section-eyebrow-icon{ background: #fff; color: var(--maroon); }

/* Numbered goal/step rows, brochure-style */
.goal-row{
  display: flex;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}
.goal-badge{
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal-deep);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 3px solid #fff;
}
.goal-card{
  flex: 1;
  background: #fff;
  border-radius: var(--radius-m);
  padding: 16px 22px;
  box-shadow: var(--shadow);
}
.goal-card h4{ font-size: .98rem; margin-bottom: 4px; }
.goal-card p{ font-size: .85rem; margin: 0; }
.goal-arrow{
  width: 34px; height: 26px;
  background: var(--maroon);
  flex-shrink: 0;
  clip-path: polygon(100% 0, 100% 100%, 30% 100%, 0 50%, 30% 0);
}
[lang="ar"] .goal-arrow{ transform: scaleX(-1); }

/* Vision 2030 badge, brochure-style corner mark */
.v2030-mark{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .05em;
}
.v2030-mark .v2030-ring{
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem;
}

/* --------------------- Utility --------------------- */
.text-center{ text-align: center; }
.mt-24{ margin-top: 24px; }
.mb-24{ margin-bottom: 24px; }
.color-orange{ color: var(--orange-c); }
.color-gold{ color: var(--gold-c); }
.visually-hidden{
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
