/* =========================================================
   VITALINE SD — Global Stylesheet
   Brand: Royal Blue #0F3FBA · Teal #1BB1C4 · Navy #0A1840
   ========================================================= */

:root {
  --c-primary: #0F3FBA;
  --c-primary-dark: #0A2E8C;
  --c-accent: #1BB1C4;
  --c-accent-soft: #4ED1E2;
  --c-navy: #0A1840;
  --c-navy-2: #142559;
  --c-ink: #0E1731;
  --c-text: #283149;
  --c-mute: #6B7592;
  --c-line: #E5E9F2;
  --c-bg: #FFFFFF;
  --c-bg-soft: #F5F7FB;
  --c-bg-section: #F9FAFD;

  --grad-primary: linear-gradient(135deg, #0F3FBA 0%, #1BB1C4 100%);
  --grad-dark: linear-gradient(135deg, #0A1840 0%, #0F3FBA 100%);
  --grad-overlay: linear-gradient(135deg, rgba(10,24,64,.88) 0%, rgba(15,63,186,.78) 100%);

  --shadow-sm: 0 4px 16px rgba(10,24,64,.06);
  --shadow-md: 0 12px 40px rgba(10,24,64,.10);
  --shadow-lg: 0 24px 60px rgba(10,24,64,.16);
  --shadow-cta: 0 18px 40px rgba(15,63,186,.32);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 42px;

  --ff-en: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ff-ar: 'Cairo', 'Tajawal', 'Manrope', sans-serif;

  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-smooth: cubic-bezier(.65,.05,.36,1);

  --container: 1180px;
  --header-h: 80px;
}

/* ===== Reset ===== */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--ff-en);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body[dir="rtl"] { font-family: var(--ff-ar); }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4,h5 { margin: 0; color: var(--c-ink); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }

/* ===== Layout helpers ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 56px 0; }
.section-soft { background: var(--c-bg-soft); }
.section-dark { background: var(--c-navy); color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--c-primary); padding: 6px 14px;
  background: rgba(15,63,186,.08); border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 2px; background: var(--c-accent); border-radius: 2px;
}
.section-dark .eyebrow { background: rgba(27,177,196,.14); color: var(--c-accent); }

.section-title {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 16px;
}
.section-lede {
  font-size: 15px; color: var(--c-mute); max-width: 620px;
}
.section-head { margin-bottom: 44px; max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { margin-inline: auto; }

/* ===== Buttons ===== */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 700; font-size: 13.5px; letter-spacing: .02em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .3s;
  cursor: pointer; white-space: nowrap;
}
.btn .arrow { transition: transform .4s var(--ease-out); }
.btn:hover .arrow { transform: translateX(4px); }
body[dir="rtl"] .btn:hover .arrow { transform: translateX(-4px) scaleX(-1); }
body[dir="rtl"] .btn .arrow { transform: scaleX(-1); }

.btn-primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 22px 50px rgba(15,63,186,.42); }
.btn-ghost {
  background: transparent; color: var(--c-ink);
  border: 1.5px solid var(--c-line);
}
.btn-ghost:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn-light {
  background: rgba(255,255,255,.1); color: #fff; backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
}
.btn-light:hover { background: #fff; color: var(--c-ink); }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: background .4s var(--ease-out), backdrop-filter .4s, box-shadow .4s, height .3s;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(10,24,64,.05);
  height: 64px;
}
.site-header.on-light:not(.is-scrolled) .nav-link,
.site-header.on-light:not(.is-scrolled) .lang-btn,
.site-header.on-light:not(.is-scrolled) .nav-toggle span { color: var(--c-ink); }

.nav {
  height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav .logo { display: flex; align-items: center; position: relative; }
.nav .logo img { height: 42px; width: auto; transition: opacity .3s var(--ease-out); display: block; }
.nav .logo .logo-dark { position: absolute; top: 50%; left: 0; transform: translateY(-50%); opacity: 0; }
body[dir="rtl"] .nav .logo .logo-dark { left: auto; right: 0; }
.site-header.is-scrolled .nav .logo .logo-light { opacity: 0; }
.site-header.is-scrolled .nav .logo .logo-dark { opacity: 1; }
.site-header.is-scrolled .nav .logo img { height: 36px; }

.nav-menu { display: flex; align-items: center; gap: 38px; }
.nav-link {
  position: relative; font-weight: 600; font-size: 13px; color: #fff;
  letter-spacing: .01em; transition: color .3s;
}
.site-header.is-scrolled .nav-link { color: var(--c-ink); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px;
  height: 2px; background: var(--c-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease-out);
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-cta-group { display: flex; align-items: center; gap: 14px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 14px; border-radius: 999px;
  font-weight: 700; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; border: 1px solid rgba(255,255,255,.3); transition: all .3s;
}
.site-header.is-scrolled .lang-btn { color: var(--c-ink); border-color: var(--c-line); }
.lang-btn:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.site-header.is-scrolled .lang-btn:hover { color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav-toggle span {
  position: absolute; left: 10px; right: 10px; height: 2px; background: #fff;
  transition: transform .35s var(--ease-out), top .35s, opacity .25s;
}
.site-header.is-scrolled .nav-toggle span { background: var(--c-ink); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-overlay);
}
.hero-shapes { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-shape {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle, rgba(27,177,196,.4) 0%, transparent 70%);
  filter: blur(60px);
}
.hero-shape.s1 { width: 520px; height: 520px; top: -100px; right: -120px; animation: floaty 14s ease-in-out infinite; }
.hero-shape.s2 { width: 380px; height: 380px; bottom: -80px; left: -60px; background: radial-gradient(circle, rgba(15,63,186,.5), transparent 70%); animation: floaty 18s ease-in-out infinite reverse; }
@keyframes floaty {
  0%,100% { transform: translate3d(0,0,0); }
  50% { transform: translate3d(30px,-40px,0); }
}

.hero-inner { position: relative; z-index: 2; padding-block: 80px; width: 100%; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 9px 18px; border-radius: 999px;
  font-size: 12px; font-weight: 700; letter-spacing: .25em; text-transform: uppercase;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px);
  color: #fff; margin-bottom: 28px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 4px rgba(27,177,196,.25); }

.hero-title {
  font-size: clamp(34px, 5vw, 68px);
  font-weight: 800; line-height: 1.18; letter-spacing: -.03em;
  color: #fff; margin: 0 0 20px;
}
.hero-title .word {
  display: inline-block;
  overflow: hidden;
  padding: .12em 0 .08em;
  line-height: 1;
  vertical-align: top;
}
.hero-title .word span { display: inline-block; will-change: transform; line-height: 1; }
.hero-title em { font-style: normal; background: linear-gradient(120deg, var(--c-accent), #7BE0EC); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero-sub {
  font-size: clamp(14px, 1.1vw, 16px); color: rgba(255,255,255,.85);
  max-width: 560px; margin-bottom: 32px; line-height: 1.65;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-meta {
  position: absolute; left: 0; right: 0; bottom: 32px; z-index: 2;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px;
  color: rgba(255,255,255,.75); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase;
}
.hero-meta .scroll-cue { display: inline-flex; align-items: center; gap: 14px; font-weight: 600; }
.hero-meta .scroll-cue::before {
  content: ""; width: 50px; height: 1px; background: rgba(255,255,255,.4);
  position: relative; overflow: hidden;
}
.hero-meta .scroll-cue::after {
  content: "↓"; font-size: 14px; animation: bounceY 2s ease-in-out infinite;
}
@keyframes bounceY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

.hero-locations { display: flex; gap: 30px; }
.hero-locations span { display: inline-flex; align-items: center; gap: 8px; }
.hero-locations span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c-accent); }

/* Inner page hero (smaller) */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 80px) 0 70px;
  color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; background: var(--grad-dark); z-index: 0;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle at 20% 30%, rgba(27,177,196,.25), transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(15,63,186,.4), transparent 60%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .crumb { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 16px; }
.page-hero .crumb a { color: rgba(255,255,255,.8); }
.page-hero .crumb a:hover { color: var(--c-accent); }
.page-hero h1 {
  font-size: clamp(32px, 4.4vw, 56px); color: #fff; line-height: 1.07; letter-spacing: -.03em;
  max-width: 820px;
}
.page-hero .lede { margin-top: 16px; font-size: 15.5px; color: rgba(255,255,255,.82); max-width: 640px; }

/* Full-bleed image hero (used on service detail pages and About) */
.page-hero.has-image {
  padding: calc(var(--header-h) + 140px) 0 160px;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero.has-image::before {
  background: transparent;
}
.page-hero.has-image::after {
  background-image: linear-gradient(180deg, rgba(10,24,64,.55) 0%, rgba(10,24,64,.78) 100%);
}
.page-hero.has-image h1 { text-shadow: 0 2px 14px rgba(0,0,0,.35); }
.page-hero.has-image .lede { text-shadow: 0 1px 8px rgba(0,0,0,.45); }

/* Faded variant: matches the home-page hero overlay (navy → royal blue 135deg) */
.page-hero.has-image.faded {
  background-color: var(--c-navy);
  background-blend-mode: normal;
}
.page-hero.has-image.faded::after {
  background-image: var(--grad-overlay);
}

/* ===== Sector / feature cards ===== */
.sector-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card {
  grid-column: span 1 !important;
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  padding: 22px 20px; min-height: 210px;
  background: #fff; color: var(--c-ink);
  border: 1px solid var(--c-line);
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .5s var(--ease-out), box-shadow .5s, border-color .5s;
}
/* Clean 3+3 layout — all 6 sector cards span one column */
.sector-grid > .sector-card:nth-child(4),
.sector-grid > .sector-card:nth-child(5),
.sector-grid > .sector-card:nth-child(6) { grid-column: span 1 !important; }
.sector-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: rgba(10, 24, 64, .45);
  transition: opacity .6s var(--ease-out);
  z-index: 1;
}
.sector-card::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out);
  transform: scale(1.06);
  z-index: 0;
  pointer-events: none;
}
.sector-grid .sector-card:nth-child(1)::after { background-image: url('../img/sector-food.png?v=3'); }
.sector-grid .sector-card:nth-child(2)::after { background-image: url('../img/sector-oil.png?v=2'); }
.sector-grid .sector-card:nth-child(3)::after { background-image: url('../img/sector-medical.png?v=3'); background-size: 150% auto; background-position: center; }
.sector-grid .sector-card:nth-child(4)::after { background-image: url('../img/sector-hospitality.png?v=3'); }
.sector-grid .sector-card:nth-child(5)::after { background-image: url('../img/sector-tech.png?v=3'); background-size: 150% auto; background-position: center; }
.sector-grid .sector-card:nth-child(6)::after { background-image: url('../img/sector-mining-c.jpg'); }
.sector-card > * { position: relative; z-index: 2; }
.sector-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: #fff;
}
.sector-card:hover { background: var(--c-navy); }
.sector-card:hover::before { opacity: 1; }
.sector-card:hover::after { opacity: 1; transform: scale(1); }
.sector-card:hover h3,
.sector-card:hover p { text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.sector-card:hover h3 { color: #fff; }
.sector-card:hover .sector-icon { background: rgba(255,255,255,.12); color: var(--c-accent); border-color: rgba(255,255,255,.18); }
.sector-card:hover .sector-num { color: rgba(255,255,255,.4); }
.sector-card:hover .sector-arrow { background: var(--c-accent); color: #0A1840; transform: translateX(4px); }
body[dir="rtl"] .sector-card:hover .sector-arrow { transform: translateX(-4px); }

.sector-icon {
  width: 42px; height: 42px; border-radius: 11px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15,63,186,.08); color: var(--c-primary);
  border: 1px solid rgba(15,63,186,.12);
  transition: all .4s var(--ease-out);
}
.sector-icon svg { width: 22px; height: 22px; }
.sector-num {
  position: absolute; top: 22px; right: 26px;
  font-size: 14px; font-weight: 800; color: var(--c-line); letter-spacing: .12em;
  z-index: 1;
}
body[dir="rtl"] .sector-num { right: auto; left: 26px; }
.sector-card h3 {
  margin-top: 14px; font-size: 16px; color: var(--c-ink); transition: color .3s;
}
.sector-card p { margin-top: 6px; font-size: 12.5px; line-height: 1.55; color: inherit; opacity: .78; }
.sector-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-bg-soft); color: var(--c-ink);
  margin-top: 14px; transition: all .4s var(--ease-out);
}
body[dir="rtl"] .sector-arrow svg { transform: scaleX(-1); }

.sector-card.featured {
  grid-column: span 2;
  background: var(--grad-dark); color: #fff;
  border: none;
}
.sector-card.featured h3 { color: #fff; }
.sector-card.featured .sector-icon { background: rgba(255,255,255,.1); color: var(--c-accent); border-color: rgba(255,255,255,.16); }
.sector-card.featured .sector-num { color: rgba(255,255,255,.4); }
.sector-card.featured .sector-arrow { background: var(--c-accent); color: var(--c-navy); }

/* ===== About split ===== */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split-media {
  position: relative; border-radius: var(--radius-md);
  aspect-ratio: 16/9; background: transparent;
  width: 100%; align-self: center;
}
.split-media img {
  width: 100%; height: 100%; object-fit: contain; object-position: center;
  filter: grayscale(100%) contrast(1.02);
  transition: filter .8s var(--ease-out), transform 1.4s var(--ease-out);
}
.split-media:hover img { filter: grayscale(0%) contrast(1); transform: scale(1.02); }

/* Taller about-page split images that match the paragraph height */
.split-media.tall {
  aspect-ratio: auto;
  height: 100%;
  min-height: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split-media.tall img {
  object-fit: cover;
}
.split-media .badge {
  position: absolute; left: 24px; bottom: 24px;
  background: rgba(10,24,64,.65); backdrop-filter: blur(14px);
  color: #fff; padding: 14px 22px; border-radius: 12px;
  display: flex; align-items: center; gap: 14px;
}
.split-media .badge strong { font-size: 32px; font-weight: 800; color: var(--c-accent); line-height: 1; }
.split-media .badge small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

/* ===== Stats ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  padding: 22px 20px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--c-line); position: relative; overflow: hidden;
}
.stat .num {
  font-size: 40px; font-weight: 800; letter-spacing: -.04em;
  background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.stat .label { margin-top: 6px; font-size: 12px; color: var(--c-mute); font-weight: 600; letter-spacing: .04em; }

.section-dark .stat { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.08); color: #fff; }
.section-dark .stat .num { color: transparent; background: linear-gradient(120deg, #7BE0EC, var(--c-accent)); -webkit-background-clip: text; background-clip: text; }
.section-dark .stat .label { color: rgba(255,255,255,.65); }

/* ===== Projects ===== */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 5/4; cursor: pointer;
  background: var(--c-navy);
}
.project-card .img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1s var(--ease-out);
}
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,24,64,.0) 30%, rgba(10,24,64,.92) 100%);
  transition: opacity .4s;
}
.project-card:hover .img { transform: scale(1.08); }
.project-card .info {
  position: absolute; left: 32px; right: 32px; bottom: 28px;
  color: #fff; z-index: 2;
}
.project-card .tag {
  display: inline-block; padding: 6px 12px; border-radius: 999px;
  background: rgba(27,177,196,.95); color: var(--c-navy);
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.project-card h3 {
  color: #fff; font-size: 20px; line-height: 1.2; margin-bottom: 6px;
}
.project-card .meta { font-size: 12.5px; opacity: .85; }

/* ===== Why-choose feature list ===== */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  display: flex; gap: 14px; padding: 18px;
  border-radius: var(--radius-md); background: #fff; border: 1px solid var(--c-line);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: var(--grad-primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.feature-icon svg { width: 18px; height: 18px; }
.feature h4 { font-size: 14.5px; margin-bottom: 4px; }
.feature p { font-size: 12.5px; color: var(--c-mute); line-height: 1.55; }

/* ===== Timeline ===== */
.timeline { position: relative; padding-left: 40px; }
body[dir="rtl"] .timeline { padding-left: 0; padding-right: 40px; }
.timeline::before {
  content: ""; position: absolute; top: 8px; bottom: 8px; left: 12px; width: 2px;
  background: linear-gradient(180deg, var(--c-accent), transparent);
}
body[dir="rtl"] .timeline::before { left: auto; right: 12px; }
.t-item { position: relative; padding-bottom: 36px; }
.t-item::before {
  content: ""; position: absolute; left: -34px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--c-accent); box-shadow: 0 0 0 5px rgba(27,177,196,.18);
}
body[dir="rtl"] .t-item::before { left: auto; right: -34px; }
.t-item .yr { font-size: 13px; font-weight: 800; letter-spacing: .14em; color: var(--c-primary); text-transform: uppercase; }
.t-item h4 { font-size: 22px; margin: 6px 0 8px; }
.t-item p { color: var(--c-mute); font-size: 15px; max-width: 540px; }

/* ===== CEO message ===== */
.quote-block {
  position: relative; padding: 44px 48px; border-radius: var(--radius-lg);
  background: var(--grad-dark); color: #fff; overflow: hidden;
}
.quote-block::before {
  content: "\201C"; position: absolute; top: -40px; right: 30px;
  font-family: Georgia, serif; font-size: 260px; line-height: 1; color: rgba(27,177,196,.18);
}
body[dir="rtl"] .quote-block::before { right: auto; left: 30px; }
.quote-block p {
  position: relative; font-size: clamp(15px, 1.3vw, 17px); line-height: 1.7; color: #fff;
  font-weight: 400;
}
.quote-block p + p { margin-top: 18px; }
.quote-cite { display: flex; align-items: center; gap: 16px; margin-top: 36px; position: relative; }
.quote-cite .avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad-primary); display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: #fff;
  border: 2px solid rgba(255,255,255,.2);
}
.quote-cite .quote-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: var(--c-accent);
  flex-shrink: 0;
}
.quote-cite .quote-icon svg { width: 100%; height: 100%; display: block; }
body[dir="rtl"] .quote-cite .quote-icon svg { transform: scaleX(-1); }
.quote-cite strong { font-size: 17px; display: block; color: #fff; }
.quote-cite span { font-size: 13px; color: rgba(255,255,255,.7); letter-spacing: .1em; text-transform: uppercase; }

/* ===== CEO navy box layout (text left, portrait right, bottom-aligned) ===== */
.ceo-block {
  display: grid;
  grid-template-columns: 1.5fr .8fr;
  gap: 48px;
  align-items: stretch;
  margin-top: 28px;
  background: var(--grad-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 48px 0;
  box-shadow: 0 30px 80px rgba(10,24,64,.18);
  position: relative;
  overflow: hidden;
}
.ceo-quote { position: relative; z-index: 1; padding-bottom: 40px; align-self: center; }
.ceo-mark {
  display: block;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 120px;
  line-height: .8;
  color: var(--c-accent);
  margin-bottom: 16px;
  opacity: .9;
}
.ceo-quote p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: #fff;
  margin-bottom: 16px;
}
.ceo-quote p:last-of-type { margin-bottom: 24px; }
.ceo-cite {
  margin-top: 22px;
  padding-left: 4px;
}
.ceo-cite strong {
  display: block;
  font-size: 17px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.01em;
}
.ceo-cite span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--c-mute);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ceo-portrait {
  position: relative;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 100%;
}
.ceo-portrait img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  object-position: bottom;
  filter: grayscale(100%) contrast(1.02);
  transition: filter .7s var(--ease-out), transform 1.2s var(--ease-out);
  transform-origin: bottom center;
}
.ceo-portrait:hover img { filter: grayscale(0%) contrast(1); transform: scale(1.03); }

body[dir="rtl"] .ceo-block { grid-template-columns: .8fr 1.5fr; }
body[dir="rtl"] .ceo-quote { order: 2; }
body[dir="rtl"] .ceo-portrait { order: 1; }

@media (max-width: 860px) {
  .ceo-block { grid-template-columns: 1fr; gap: 24px; padding: 32px 24px 0; }
  .ceo-portrait { min-height: 320px; }
  .ceo-portrait img { max-width: 260px; max-height: 320px; }
  .ceo-mark { font-size: 80px; }
}

/* (Legacy editorial classes - unused) */
.ceo-editorial { background: #fff; }
.ceo-editorial-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 80px;
  align-items: end;
}

/* Portrait figure column */
.ceo-figure {
  position: relative;
  margin: 0;
  align-self: end;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 540px;
}
.ceo-figure-bg {
  position: absolute;
  left: 8%; right: 8%;
  bottom: 0;
  top: 14%;
  background: linear-gradient(180deg, rgba(15,63,186,.10) 0%, rgba(27,177,196,.16) 100%);
  border-radius: 240px 240px 12px 12px;
  z-index: 0;
}
.ceo-figure img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 560px;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(100%) contrast(1.02);
  transition: filter .7s var(--ease-out), transform 1.2s var(--ease-out);
  transform-origin: bottom center;
}
.ceo-figure:hover img { filter: grayscale(0%) contrast(1); transform: scale(1.02); }
.ceo-figure-tag {
  position: absolute;
  top: 24px; left: 0;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(10,24,64,.18);
}
.ceo-figure-tag .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(27,177,196,.25);
}

/* Text column */
.ceo-editorial-text { padding-top: 24px; }
.ceo-headline {
  font-family: 'Manrope', 'Inter', sans-serif;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--c-ink);
  margin: 18px 0 20px;
}
.ceo-headline::first-letter { color: var(--c-primary); }
.ceo-rule {
  display: block;
  width: 64px; height: 3px;
  background: var(--c-accent);
  margin: 0 0 28px;
  border-radius: 2px;
}
.ceo-letter { margin: 0; padding: 0; border: none; }
.ceo-letter p {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(16px, 1.25vw, 18.5px);
  line-height: 1.9;
  color: var(--c-text);
  margin-bottom: 18px;
  font-style: italic;
}
.ceo-letter p:first-child::first-letter {
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  float: left;
  margin: 6px 10px 0 0;
  color: var(--c-primary);
  font-style: normal;
}
body[dir="rtl"] .ceo-letter p:first-child::first-letter {
  float: right;
  margin: 6px 0 0 10px;
}
.ceo-signature {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--c-line);
  display: flex; flex-direction: column;
}
.ceo-sig-name {
  font-family: 'Manrope', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.01em;
}
.ceo-sig-role {
  margin-top: 4px;
  font-size: 11.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-mute);
  font-weight: 600;
}

body[dir="rtl"] .ceo-editorial-grid { grid-template-columns: 1.15fr .85fr; }
body[dir="rtl"] .ceo-figure { order: 2; }
body[dir="rtl"] .ceo-editorial-text { order: 1; }
body[dir="rtl"] .ceo-figure-tag { left: auto; right: 0; }

@media (max-width: 900px) {
  .ceo-editorial-grid { grid-template-columns: 1fr; gap: 40px; }
  .ceo-figure { min-height: 420px; }
  .ceo-figure img { max-height: 420px; }
  .ceo-headline { font-size: 36px; }
}

/* CEO portrait layout */
.quote-block.has-portrait {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 56px;
  overflow: visible;
}
.quote-block.has-portrait::before {
  right: auto; left: 30px;
}
body[dir="rtl"] .quote-block.has-portrait::before { left: auto; right: 30px; }
.quote-block.has-portrait .quote-body { position: relative; z-index: 1; }
.quote-portrait {
  position: relative;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  align-self: end;
  display: flex;
  justify-content: center;
  overflow: visible;
  z-index: 5;
  margin-bottom: -48px;
}
.quote-portrait img {
  width: 100%;
  height: auto;
  max-width: 440px;
  display: block;
  position: relative;
  z-index: 5;
  filter: grayscale(100%) contrast(1.02) drop-shadow(0 24px 40px rgba(0,0,0,.45));
  transition: filter .7s var(--ease-out), transform 1.2s var(--ease-out);
}
.quote-portrait:hover img { filter: grayscale(0%) contrast(1) drop-shadow(0 24px 40px rgba(0,0,0,.45)); transform: scale(1.03); }
body[dir="rtl"] .quote-block.has-portrait {
  grid-template-columns: .8fr 1.4fr;
}
body[dir="rtl"] .quote-block.has-portrait .quote-body { order: 2; }
body[dir="rtl"] .quote-block.has-portrait .quote-portrait { order: 1; }

@media (max-width: 860px) {
  .quote-block.has-portrait { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .quote-portrait { aspect-ratio: 4/4; max-height: 320px; }
}

/* ===== Service detail layout ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.service-detail.full { grid-template-columns: 1fr; max-width: 880px; margin: 0 auto; }
.service-side {
  position: sticky; top: calc(var(--header-h) + 30px);
  padding: 36px; border-radius: var(--radius-md); background: var(--c-navy); color: #fff;
}
.service-side h4 { color: #fff; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-accent); margin-bottom: 22px; }
.service-side ul li {
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-weight: 600; font-size: 15.5px; color: rgba(255,255,255,.75);
  transition: color .3s;
}
.service-side ul li:first-child { border-top: none; }
.service-side ul li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; }
.service-side ul li.active, .service-side ul li:hover { color: #fff; }
.service-side ul li.active::after { content: "—"; color: var(--c-accent); }

.offer-list { display: grid; gap: 20px; }
.offer {
  display: grid; grid-template-columns: 40px 1fr; gap: 16px;
  padding: 20px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--c-line);
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .4s;
}
.offer:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.offer .num {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(15,63,186,.08); color: var(--c-primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13.5px;
}
.offer h4 { font-size: 15.5px; margin-bottom: 4px; color: var(--c-ink); }
.offer p { font-size: 13px; color: var(--c-mute); line-height: 1.6; }

/* ===== Mining resources grid ===== */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.resource-card {
  position: relative; overflow: hidden;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  gap: 16px;
  min-height: 160px;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .45s, background .45s;
  cursor: default;
}
.resource-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: var(--grad-dark);
  transition: opacity .5s var(--ease-out);
  z-index: 0;
}
.resource-card > * { position: relative; z-index: 1; }
.resource-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  color: #fff;
}
.resource-card:hover::before { opacity: 1; }
.resource-card:hover h4 { color: #fff; }
.resource-card:hover .resource-icon {
  background: rgba(255,255,255,.14);
  color: var(--c-accent);
  border-color: rgba(255,255,255,.2);
}
.resource-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15,63,186,.08);
  color: var(--c-primary);
  border: 1px solid rgba(15,63,186,.12);
  transition: all .45s var(--ease-out);
}
.resource-icon svg { width: 28px; height: 28px; }
.resource-card h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -.01em;
  transition: color .3s;
  margin: 0;
}
@media (max-width: 860px) {
  .resource-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .resource-card { min-height: 140px; padding: 22px 16px; }
}
@media (max-width: 480px) {
  .resource-grid { grid-template-columns: 1fr 1fr; }
}

/* Offer cards with hover image (food-security service detail) */
.offer-list.with-images .offer {
  position: relative;
  overflow: hidden;
  min-height: 120px;
  isolation: isolate;
}
.offer-list.with-images .offer::before {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: rgba(10,24,64,.45);
  transition: opacity .6s var(--ease-out);
  z-index: 1;
}
.offer-list.with-images .offer::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
  transition: opacity .8s var(--ease-out), transform 1.2s var(--ease-out);
  transform: scale(1.06);
  z-index: 0;
  pointer-events: none;
}
.offer-list.with-images .offer:nth-child(1)::after { background-image: url('../img/food-1-c.jpg?v=3'); }
.offer-list.with-images .offer:nth-child(2)::after { background-image: url('../img/food-2-c.jpg'); }
.offer-list.with-images .offer:nth-child(3)::after { background-image: url('../img/food-3-c.jpg?v=3'); }
.offer-list.with-images .offer:nth-child(4)::after { background-image: url('../img/food-4-c.jpg'); }
.offer-list.with-mining-images .offer:nth-child(1)::after { background-image: url('../img/mining-1-c.jpg'); }
.offer-list.with-mining-images .offer:nth-child(2)::after { background-image: url('../img/mining-2-c.jpg'); }
.offer-list.with-oil-images .offer:nth-child(1)::after { background-image: url('../img/oil-1-c.jpg'); }
.offer-list.with-oil-images .offer:nth-child(2)::after { background-image: url('../img/oil-2-c.jpg'); }
.offer-list.with-oil-images .offer:nth-child(3)::after { background-image: url('../img/oil-3-c.jpg'); }
.offer-list.with-hosp-images .offer:nth-child(1)::after { background-image: url('../img/hosp-1-c.jpg'); }
.offer-list.with-hosp-images .offer:nth-child(2)::after { background-image: url('../img/hosp-2-c.jpg'); }
.offer-list.with-hosp-images .offer:nth-child(3)::after { background-image: url('../img/hosp-3-c.jpg'); }
.offer-list.with-tech-images .offer:nth-child(1)::after { background-image: url('../img/tech-1-c.jpg'); }
.offer-list.with-tech-images .offer:nth-child(2)::after { background-image: url('../img/tech-2-c.jpg'); }
.offer-list.with-med-images .offer:nth-child(1)::after { background-image: url('../img/med-1.svg'); }
.offer-list.with-med-images .offer:nth-child(2)::after { background-image: url('../img/med-2-c.jpg'); }
.offer-list.with-med-images .offer:nth-child(3)::after { background-image: url('../img/med-3-c.jpg'); }
.offer-list.with-med-images .offer:nth-child(4)::after { background-image: url('../img/med-4-c.jpg'); }
.offer-list.with-med-images .offer:nth-child(5)::after { background-image: url('../img/med-5-c.jpg'); }
.offer-list.with-med-images .offer:nth-child(6)::after { background-image: url('../img/med-6-c.jpg'); }
.offer-list.with-images .offer > * { position: relative; z-index: 2; }
.offer-list.with-images .offer:hover {
  background: var(--c-navy);
  border-color: transparent;
  color: #fff;
}
.offer-list.with-images .offer:hover::before { opacity: 1; }
.offer-list.with-images .offer:hover::after { opacity: 1; transform: scale(1); }
.offer-list.with-images .offer:hover h4,
.offer-list.with-images .offer:hover p {
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.offer-list.with-images .offer:hover .num {
  background: rgba(255,255,255,.18);
  color: var(--c-accent);
}
.offer-list.with-images .offer { cursor: pointer; }
.offer-list.with-images .offer:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 4px; }

/* ===== Cinematic detail overlay ===== */
.detail-overlay {
  position: fixed; inset: 0; z-index: 1100;
  background: rgba(10, 24, 64, .82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0; visibility: hidden;
  transition: opacity .55s var(--ease-out), visibility .55s;
}
.detail-overlay.is-open { opacity: 1; visibility: visible; }
.detail-close {
  position: absolute; top: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .3s;
  z-index: 10;
}
.detail-close:hover { background: var(--c-accent); border-color: var(--c-accent); transform: rotate(90deg); }

.detail-panel {
  position: absolute; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
}
.detail-panel.is-active { display: flex; }

.detail-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1180px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: 0 50px 120px rgba(0,0,0,.4);
  position: relative;
  overflow: hidden;
}
.detail-overlay.is-open .detail-inner {
  animation: detailIn .8s var(--ease-out) both;
}
@keyframes detailIn {
  from { opacity: 0; transform: translateY(40px) scale(.96); }
  to   { opacity: 1; transform: none; }
}

.detail-text { position: relative; z-index: 1; }
.detail-tag {
  display: inline-block;
  font-size: 11px; font-weight: 800;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-primary);
  background: rgba(15,63,186,.08);
  padding: 8px 16px; border-radius: 999px;
  margin-bottom: 18px;
  opacity: 0; transform: translateY(20px);
  animation: detailFade .7s .25s var(--ease-out) both;
}
.detail-title {
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.1; letter-spacing: -.02em;
  color: var(--c-ink); margin-bottom: 18px;
  opacity: 0; transform: translateY(20px);
  animation: detailFade .8s .35s var(--ease-out) both;
}
.detail-lede {
  font-size: 16px; line-height: 1.7; color: var(--c-text);
  margin-bottom: 30px; max-width: 480px;
  opacity: 0; transform: translateY(20px);
  animation: detailFade .8s .45s var(--ease-out) both;
}
.detail-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 10px;
}
.detail-list.two-col { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.detail-list li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--c-ink); font-weight: 600;
  opacity: 0; transform: translateX(-20px);
  animation: detailSlide .6s var(--ease-out) both;
}
.detail-list.chips {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.detail-list.chips li {
  background: rgba(15,63,186,.08);
  color: var(--c-primary);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.detail-group {
  margin-bottom: 22px;
}
.detail-group-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-mute);
  margin-bottom: 12px;
  opacity: 0; transform: translateY(20px);
  animation: detailFade .7s .5s var(--ease-out) both;
}
.detail-list li { animation-delay: calc(.55s + var(--i, 0) * .05s); }
.detail-list li:nth-child(1)  { --i: 0; }
.detail-list li:nth-child(2)  { --i: 1; }
.detail-list li:nth-child(3)  { --i: 2; }
.detail-list li:nth-child(4)  { --i: 3; }
.detail-list li:nth-child(5)  { --i: 4; }
.detail-list li:nth-child(6)  { --i: 5; }
.detail-list li:nth-child(7)  { --i: 6; }
.detail-list li:nth-child(8)  { --i: 7; }
.detail-list li:nth-child(9)  { --i: 8; }
.detail-list li:nth-child(10) { --i: 9; }
.detail-list li:nth-child(11) { --i: 10; }
.detail-list li:nth-child(12) { --i: 11; }
.detail-list .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 4px rgba(27,177,196,.18);
  flex-shrink: 0;
}
.detail-cta {
  opacity: 0; transform: translateY(20px);
  animation: detailFade .8s 1.15s var(--ease-out) both;
}

.detail-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--c-bg-soft);
  opacity: 0; transform: translateX(60px) scale(.96);
  animation: detailMedia .9s .15s var(--ease-out) both;
}
.detail-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  animation: detailMediaZoom 6s ease-out both;
}

@keyframes detailFade { to { opacity: 1; transform: none; } }
@keyframes detailSlide { to { opacity: 1; transform: none; } }
@keyframes detailMedia { to { opacity: 1; transform: none; } }
@keyframes detailMediaZoom { to { transform: scale(1); } }

body[dir="rtl"] .detail-inner { grid-template-columns: 1fr 1.05fr; }
body[dir="rtl"] .detail-text { order: 2; }
body[dir="rtl"] .detail-media { order: 1; transform: translateX(-60px) scale(.96); }
body[dir="rtl"] .detail-list li { transform: translateX(20px); }
body[dir="rtl"] .detail-close { right: auto; left: 24px; }

@media (max-width: 900px) {
  .detail-overlay { padding: 16px; }
  .detail-panel { padding: 16px; }
  .detail-inner { grid-template-columns: 1fr !important; gap: 28px; padding: 32px 24px; max-height: 92vh; overflow-y: auto; }
  .detail-media { aspect-ratio: 16/10; order: -1 !important; max-height: 240px; width: 100%; }
  .detail-media img { width: 100%; height: 100%; object-fit: cover; }
  .detail-text { order: 2 !important; }
  .detail-list.two-col { grid-template-columns: 1fr !important; }
  .detail-title { font-size: 26px; }
  .detail-lede { font-size: 15px; }
  .detail-close { top: 16px; right: 16px; width: 42px; height: 42px; }
  /* RTL mobile: same stacking behavior (image on top, text below) */
  body[dir="rtl"] .detail-inner { grid-template-columns: 1fr !important; }
  body[dir="rtl"] .detail-media { order: -1 !important; transform: none !important; }
  body[dir="rtl"] .detail-text { order: 2 !important; }
}


/* ===== Reveal animations ===== */
.reveal { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-x { opacity: 0; transform: translate3d(-30px, 0, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-x.is-in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(.96); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal-scale.is-in { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; } .delay-2 { transition-delay: .2s; } .delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; } .delay-5 { transition-delay: .5s; } .delay-6 { transition-delay: .6s; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 18px 0; border-bottom: 1px solid var(--c-line);
}
.contact-card:last-of-type { border-bottom: none; }
.contact-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(15,63,186,.08); color: var(--c-primary);
}
.contact-card h5 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-mute); margin-bottom: 6px; }
.contact-card p { font-size: 15px; color: var(--c-ink); line-height: 1.6; }
.contact-card a { color: var(--c-ink); }
.contact-card a:hover { color: var(--c-primary); }

.contact-form {
  background: #fff; padding: 36px; border-radius: var(--radius-lg);
  border: 1px solid var(--c-line); box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-mute); }
.field input, .field select, .field textarea {
  padding: 13px 14px; border: 1px solid var(--c-line); border-radius: 10px;
  background: #fff; font-size: 14.5px; color: var(--c-ink); font-family: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(15,63,186,.12);
}

/* ===== CTA strip ===== */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  background: var(--grad-dark); color: #fff;
  padding: 44px 56px; border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(10,24,64,.18);
}
.cta-strip h2 { color: #fff; font-size: clamp(22px, 2.4vw, 32px); margin-bottom: 8px; }
.cta-strip p { color: rgba(255,255,255,.78); font-size: 15px; max-width: 540px; }
.cta-strip-actions { display: flex; gap: 14px; }

/* ===== Footer (navy) ===== */
.site-footer {
  background: var(--c-navy); color: rgba(255,255,255,.75);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { width: 180px; height: auto; margin-bottom: 18px; }
.footer-brand p { color: rgba(255,255,255,.65); font-size: 14px; line-height: 1.7; max-width: 320px; }
.footer-col h5 {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: #fff; margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255,255,255,.65); font-size: 14px; text-decoration: none; transition: color .25s;
}
.footer-col ul li a:hover { color: var(--c-accent); }
.ct {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: rgba(255,255,255,.7); margin-bottom: 12px;
}
.ct svg { color: var(--c-accent); flex-shrink: 0; }
.ct a { color: rgba(255,255,255,.7); text-decoration: none; }
.ct a:hover { color: var(--c-accent); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding-top: 28px; font-size: 12.5px; color: rgba(255,255,255,.5);
}
.socials { display: flex; gap: 12px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.7);
  transition: all .25s;
}
.socials a:hover { background: var(--c-accent); color: #fff; }

/* ===== Crumb & lede on inner pages ===== */
.crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.crumb a:hover { color: var(--c-accent); }


/* ===== Page loader (full-screen splash with fade-out) ===== */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--c-navy);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 18px;
  transition: opacity .5s ease, visibility .5s ease;
}
.page-loader .logo-anim {
  width: 200px; height: auto; opacity: .95;
  animation: loaderPulse 1.6s ease-in-out infinite;
}
.page-loader .bar {
  width: 64px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
  background-size: 200% 100%;
  animation: loaderBar 1.4s linear infinite;
}
.page-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderPulse { 0%,100% { opacity: .55; } 50% { opacity: 1; } }
@keyframes loaderBar { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== Mobile nav drawer ===== */
.nav-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 86%; max-width: 380px;
  background: var(--c-navy);
  z-index: 999;
  padding: calc(var(--header-h) + 30px) 28px 40px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateX(100%);
  transition: transform .45s var(--ease-out), box-shadow .45s;
  box-shadow: none;
  overflow-y: auto;
  visibility: hidden;
}
.nav-drawer.is-open { transform: translateX(0); visibility: visible; box-shadow: -30px 0 60px rgba(0,0,0,.35); }
.nav-drawer a {
  display: block;
  padding: 16px 4px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.01em;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-decoration: none;
}
.nav-drawer a:hover { color: var(--c-accent); }
body[dir="rtl"] .nav-drawer { right: auto; left: 0; transform: translateX(-100%); }
body[dir="rtl"] .nav-drawer.is-open { transform: translateX(0); box-shadow: 30px 0 60px rgba(0,0,0,.35); }

/* ===== Responsive breakpoints ===== */
@media (max-width: 1024px) {
  :root { --container: 100%; }
  .container { padding: 0 28px; }
  .hero-title { font-size: clamp(30px, 5.4vw, 52px); }
  .section-title { font-size: clamp(26px, 3.6vw, 38px); }
  .hero { min-height: auto; padding: calc(var(--header-h) + 60px) 0 80px; }
  .section { padding: 80px 0; }
  .nav-menu { gap: 24px; }
  .nav-link { font-size: 12.5px; }
  html, body { overflow-x: hidden; max-width: 100%; }
  img { max-width: 100%; height: auto; }
}

@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .site-header { z-index: 1000; }
  .nav-menu { display: none; }
  .nav-toggle { display: inline-flex; z-index: 1001; position: relative; }
  .nav-toggle.is-open span { background: #fff !important; }
  .lang-btn { padding: 7px 10px; font-size: 11px; }
  .nav-cta-group .btn { padding: 10px 14px !important; font-size: 12px !important; }
  body.drawer-open .lang-btn,
  body.drawer-open .nav-cta-group .btn-primary { display: none; }

  .hero { min-height: auto; padding-top: calc(var(--header-h) + 30px); padding-bottom: 40px; }
  .hero-title { font-size: clamp(28px, 7vw, 44px); line-height: 1.15; }
  .hero-sub { font-size: 14px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { padding: 12px 18px; font-size: 13px; }
  .hero-meta { position: static !important; margin-top: 22px; padding: 0; flex-direction: column; gap: 10px; align-items: flex-start; justify-content: flex-start; }
  .hero-locations { gap: 14px 22px; flex-wrap: wrap; }
  .scroll-cue { display: none !important; }

  .section { padding: 60px 0; }
  .section--tight { padding: 40px 0; }
  .section-title { font-size: clamp(24px, 5vw, 32px); }
  .section-lede { font-size: 14px; }

  .split, .split.reverse { grid-template-columns: 1fr !important; gap: 40px !important; }
  .split.reverse > *:first-child { order: 2; }
  .split-media { aspect-ratio: 16/9 !important; max-height: none; }
  .split-media.tall { aspect-ratio: 4/3 !important; min-height: 260px; }

  .sector-grid { grid-template-columns: 1fr !important; gap: 16px; }
  .sector-card,
  .sector-grid > .sector-card:nth-child(4),
  .sector-grid > .sector-card:nth-child(5),
  .sector-grid > .sector-card:nth-child(6) { grid-column: 1 / -1 !important; min-height: 200px; }

  .stats { grid-template-columns: 1fr 1fr !important; gap: 18px; }

  .ceo-block { grid-template-columns: 1fr !important; padding: 32px 24px 0; gap: 20px; }
  .ceo-quote { padding-bottom: 24px; }
  .ceo-mark { font-size: 90px; }
  .ceo-portrait { min-height: 320px; }
  .ceo-portrait img { max-height: 360px; }

  .offer-list { grid-template-columns: 1fr !important; }

  .page-hero { padding: calc(var(--header-h) + 60px) 0 50px; min-height: auto !important; }
  .page-hero.has-image { min-height: 420px; padding: calc(var(--header-h) + 80px) 0 100px; }
  .page-hero h1 { font-size: clamp(28px, 6vw, 40px); }
  .page-hero .lede { font-size: 14.5px; }

  .service-detail { grid-template-columns: 1fr; gap: 36px; }
  .service-side { position: static; padding: 24px; }

  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-form .row, .form-row { grid-template-columns: 1fr !important; }

  .cta-strip { flex-direction: column; align-items: flex-start; padding: 32px 26px; gap: 22px; }
  .cta-strip h2 { font-size: clamp(22px, 5vw, 28px); }
  .cta-strip-actions { width: 100%; }
  .cta-strip-actions .btn { width: 100%; justify-content: center; }

  .project-grid { grid-template-columns: 1fr !important; gap: 18px; }

  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }

  .quote-block { padding: 32px 24px; }
  .quote-block p { font-size: 14.5px; }

  .logo img { width: 150px !important; height: auto !important; }

  .detail-overlay { padding: 16px; }
  .detail-panel { padding: 16px; }
  .detail-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 24px; max-height: 92vh; overflow-y: auto; }
  .detail-media { aspect-ratio: 16/10; order: -1; }
  .detail-title { font-size: 26px; }
  .detail-lede { font-size: 15px; }
  .detail-close { top: 16px; right: 16px; width: 42px; height: 42px; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { min-height: 80vh; padding-top: calc(var(--header-h) + 20px); }
  .hero-title { font-size: clamp(26px, 8.5vw, 36px); line-height: 1.18; }
  .hero-sub { font-size: 13.5px; line-height: 1.7; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-locations { font-size: 12px; flex-direction: column; gap: 8px; align-items: flex-start; }
  .hero-meta { margin-top: 18px; padding: 0; }
  .section { padding: 48px 0; }
  .section-title { font-size: clamp(22px, 6.5vw, 30px); line-height: 1.18; }
  .stats { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .nav-cta-group .btn { display: none; }
  .logo img { width: 130px !important; }
  .page-hero h1 { font-size: clamp(26px, 7vw, 34px); }
  .ceo-block { padding: 24px 18px 0; }
  .ceo-mark { font-size: 70px; }
  .quote-block { padding: 24px 18px; }
  .offer { grid-template-columns: 34px 1fr; padding: 16px; gap: 12px; }
  .offer .num { width: 34px; height: 34px; }
  .sector-card { padding: 18px 16px; min-height: 180px; }
  .sector-card h3 { font-size: 15px; }
  .sector-card p { font-size: 12px; }
  .crumb { font-size: 11px !important; letter-spacing: .15em; }
}
