
:root {
  --navy:  #0D2B55;
  --gold:  #B8972A;
  --lgray: #F4F6F9;
  --bgray: #D1D9E6;
  --dark:  #111827;
  --muted: #6B7280;
  --white: #FFFFFF;
  --font:  Arial, Helvetica, sans-serif;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(13,43,85,0.09);
  --max:   1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: var(--font); }

/* ── Utilities ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.gold { color: var(--gold); }
.navy { color: var(--navy); }
.muted { color: var(--muted); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }

/* ── Nav ── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 56px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px; transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--gold) !important; color: var(--white) !important;
  padding: 8px 20px; border-radius: var(--radius);
  font-weight: 700 !important;
}
.nav-cta:hover { opacity: .9; }
.nav-hamburger {
  display: none; background: none; border: none;
  color: var(--white); font-size: 22px; padding: 4px;
}
@media (max-width: 768px) {
  .nav-hamburger { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: 67px; left: 0; right: 0;
    background: var(--navy); padding: 8px 0;
    border-bottom: 3px solid var(--gold);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 24px; }
  .nav-cta { border-radius: 0 !important; padding: 12px 24px !important; }
}

/* ── Hero ── */
.hero {
  background: var(--white); padding: 96px 0 80px;
  position: relative; overflow: hidden;
  border-bottom: 2px solid var(--gold);
}
.hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 480px; height: 480px;
  border: 1px solid rgba(13,43,85,0.04); border-radius: 6px;
  transform: rotate(45deg);
}
.hero::after {
  content: ''; position: absolute; right: -40px; top: -40px;
  width: 360px; height: 360px;
  border: 1px solid rgba(13,43,85,0.03); border-radius: 6px;
  transform: rotate(45deg);
}
.hero-label {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 2.5px; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  color: var(--navy); line-height: 1.15; margin-bottom: 20px;
  max-width: 680px;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub {
  font-size: 16px; color: var(--muted);
  max-width: 560px; line-height: 1.7; margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px;
  font-size: 14px; font-weight: 700; border-radius: var(--radius);
  border: 2px solid transparent; transition: all .2s;
}
.btn-primary { background: var(--gold); color: var(--white); }
.btn-primary:hover { background: #a07f20; }
.btn-outline {
  background: transparent; color: var(--navy);
  border-color: var(--bgray);
}
.btn-outline:hover { border-color: var(--navy); background: var(--lgray); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #0a2248; }

/* ── Section ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--navy); }
.section-gray { background: var(--lgray); }
.section-label {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 36px); font-weight: 700;
  color: var(--navy); margin-bottom: 12px; line-height: 1.25;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 16px; color: var(--muted); max-width: 560px; line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.55); }

/* ── Cards ── */
.card {
  background: var(--white); border: 1px solid var(--bgray);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow);
}
.card-phase {
  border-top: 4px solid var(--gold);
  transition: transform .2s, box-shadow .2s;
}
.card-phase:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,43,85,0.13); }
.card-phase.run { border-top-color: var(--navy); }
.card-phase.fix { border-top-color: var(--dark); }

/* ── Grid ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Phase arc (lifecycle section on index) ── */
.phase-arc { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr; gap: 0; align-items: start; }
.arc-arrow { text-align: center; padding-top: 56px; font-size: 22px; color: var(--bgray); }
@media (max-width: 768px) {
  .phase-arc { grid-template-columns: 1fr; }
  .arc-arrow { display: none; }
}

/* ── Process timeline (how-we-work) ── */
.proc-timeline { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; position: relative; z-index: 1; }
@media (max-width: 768px) { .proc-timeline { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .proc-line { display: none !important; } }

/* ── Service card ── */
.svc-card {
  border: 1px solid var(--bgray); border-radius: var(--radius);
  padding: 20px; background: var(--white);
  display: flex; flex-direction: column; gap: 8px;
  transition: box-shadow .2s;
}
.svc-card:hover { box-shadow: var(--shadow); }
.svc-num {
  font-size: 13px; font-weight: 700; color: var(--gold);
  letter-spacing: 1px;
}
.svc-name { font-size: 15px; font-weight: 700; color: var(--navy); }
.svc-name-ar { font-family: 'Times New Roman', serif; font-size: 12px; color: var(--muted); direction: rtl; }
.svc-desc { font-size: 13px; color: var(--muted); line-height: 1.55; flex: 1; }
.svc-price { font-size: 12px; font-weight: 700; color: var(--gold); margin-top: 4px; }
.svc-cta {
  display: inline-block; margin-top: 10px; padding: 8px 16px;
  background: var(--navy); color: var(--white);
  font-size: 13px; font-weight: 700; border-radius: 6px;
  text-align: center; transition: background .2s;
}
.svc-cta:hover { background: #0a2248; }

/* ── Partner card ── */
.partner-card {
  border: 1px solid var(--bgray); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.partner-photo {
  height: 460px; object-fit: cover; object-position: center 8%; width: 100%;
}
.partner-info { padding: 24px; }
.partner-name { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.partner-title { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 12px; }
.partner-bio { font-size: 13px; color: var(--dark); line-height: 1.7; margin-bottom: 14px; }
.partner-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: 11px; color: var(--muted); background: var(--lgray);
  border: 1px solid var(--bgray); border-radius: 3px; padding: 3px 9px;
}

/* ── Steps ── */
.step-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 16px 0; border-bottom: 1px solid var(--bgray);
}
.step-num {
  width: 36px; height: 36px; background: var(--navy); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.step-title { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ── Rush table ── */
.rush-table { width: 100%; border-collapse: collapse; border: 1px solid var(--bgray); border-radius: var(--radius); overflow: hidden; }
.rush-table th { background: var(--navy); color: var(--white); font-size: 12px; padding: 10px 16px; text-align: left; }
.rush-table td { padding: 10px 16px; font-size: 13px; border-bottom: 1px solid var(--bgray); }
.rush-table tr:nth-child(even) td { background: var(--lgray); }
.rush-surcharge { font-weight: 700; color: var(--gold); }

/* ── Footer ── */
.footer { background: var(--navy); padding: 56px 0 0; margin-top: 80px; }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-logo { height: 52px; margin-bottom: 14px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.70); margin-bottom: 6px; }
.footer-sub { font-size: 12px; color: rgba(255,255,255,0.50); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}
.footer-col a, .footer-col p {
  display: block; font-size: 13px; color: rgba(255,255,255,0.70);
  margin-bottom: 8px; transition: color .2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 14px 24px; text-align: center;
}
.footer-bar span { font-size: 12px; color: rgba(255,255,255,0.50); }

/* ── CIFA Flow ── */
.cifa-wrap { max-width: 780px; margin: 0 auto; padding: 48px 24px; }
.progress-bar {
  display: flex; align-items: center; gap: 0; margin-bottom: 48px;
}
.prog-step {
  flex: 1; text-align: center; position: relative;
}
.prog-dot {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--bgray); background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--muted);
  margin: 0 auto 6px; position: relative; z-index: 1;
  transition: all .3s;
}
.prog-step.active .prog-dot {
  border-color: var(--navy); background: var(--navy); color: var(--white);
}
.prog-step.done .prog-dot {
  border-color: var(--gold); background: var(--gold); color: var(--white);
}
.prog-label {
  font-size: 11px; color: var(--muted); font-weight: 600;
}
.prog-step.active .prog-label { color: var(--navy); }
.prog-step.done .prog-label { color: var(--gold); }
.prog-line {
  position: absolute; top: 15px; left: 50%; right: -50%;
  height: 2px; background: var(--bgray); z-index: 0;
}
.prog-step.done .prog-line { background: var(--gold); }
.prog-step:last-child .prog-line { display: none; }

.cifa-step { display: none; }
.cifa-step.active { display: block; }
.cifa-step-title {
  font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 8px;
}
.cifa-step-sub {
  font-size: 14px; color: var(--muted); margin-bottom: 32px; line-height: 1.6;
}

/* Service selection grid */
.svc-select-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 32px;
}
@media (max-width: 600px) { .svc-select-grid { grid-template-columns: repeat(2,1fr); } }
.svc-select-card {
  border: 2px solid var(--bgray); border-radius: var(--radius); padding: 16px 14px;
  cursor: pointer; transition: all .2s; background: var(--white);
  text-align: left;
}
.svc-select-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.svc-select-card.selected {
  border-color: var(--navy); background: var(--lgray);
}
.svc-select-num { font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 4px; }
.svc-select-name { font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.3; margin-bottom: 3px; }
.svc-select-phase { font-size: 11px; color: var(--muted); }

/* Tier selection */
.tier-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 32px; }
@media (max-width: 600px) { .tier-grid { grid-template-columns: 1fr; } }
.tier-card {
  border: 2px solid var(--bgray); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: all .2s; background: var(--white);
}
.tier-card:hover { border-color: var(--navy); box-shadow: var(--shadow); }
.tier-card.selected { border-color: var(--navy); }
.tier-head {
  background: var(--lgray); padding: 14px 16px;
  border-bottom: 1px solid var(--bgray);
}
.tier-name { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.tier-price { font-size: 13px; font-weight: 700; color: var(--gold); }
.tier-body { padding: 14px 16px; }
.tier-body p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* Form fields */
.field-group { margin-bottom: 22px; }
.field-label {
  display: block; font-size: 13px; font-weight: 700; color: var(--navy);
  margin-bottom: 7px;
}
.field-input, .field-select, .field-textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--bgray); border-radius: var(--radius);
  font-family: var(--font); font-size: 14px; color: var(--dark);
  background: var(--white); outline: none; transition: border-color .2s;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--navy);
}
.field-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.field-radio-group, .field-check-group {
  display: flex; flex-direction: column; gap: 10px;
}
.field-radio-item, .field-check-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 14px; color: var(--dark);
}
.field-radio-item input, .field-check-item input {
  width: 17px; height: 17px; cursor: pointer; accent-color: var(--navy);
}

/* Brief question sub-wizard */
.bq-counter {
  font-size: 11px; font-weight: 700; color: var(--gold); letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 16px;
}
.bq-label {
  font-size: 22px; font-weight: 700; color: var(--navy); line-height: 1.35;
  margin-bottom: 28px; max-width: 560px;
}
.bq-options {
  display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px;
}
.bq-option {
  display: block; width: 100%; text-align: left;
  padding: 16px 20px; border: 2px solid var(--bgray); border-radius: var(--radius);
  background: var(--white); font-family: var(--font); font-size: 14px; color: var(--dark);
  cursor: pointer; transition: border-color .15s, background .15s, color .15s;
  line-height: 1.4;
}
.bq-option:hover { border-color: var(--navy); background: var(--lgray); }
.bq-option.selected {
  border-color: var(--navy); background: var(--navy); color: var(--white); font-weight: 600;
}
.bq-input {
  width: 100%; padding: 14px 16px; font-size: 15px; font-family: var(--font);
  border: 2px solid var(--bgray); border-radius: var(--radius);
  color: var(--dark); background: var(--white); outline: none; transition: border-color .2s;
}
.bq-input:focus { border-color: var(--navy); }
.bq-textarea {
  width: 100%; padding: 14px 16px; font-size: 14px; font-family: var(--font);
  border: 2px solid var(--bgray); border-radius: var(--radius);
  color: var(--dark); background: var(--white); outline: none;
  min-height: 110px; resize: vertical; line-height: 1.6; transition: border-color .2s;
}
.bq-textarea:focus { border-color: var(--navy); }
@media (max-width: 600px) { .bq-label { font-size: 18px; } }

/* CIFA navigation */
.cifa-nav {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--bgray);
}
.btn-back {
  background: none; border: 1.5px solid var(--bgray); color: var(--muted);
  padding: 11px 24px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.btn-back:hover { border-color: var(--navy); color: var(--navy); }
.btn-next {
  background: var(--navy); color: var(--white); border: none;
  padding: 12px 32px; border-radius: var(--radius);
  font-size: 14px; font-weight: 700; transition: background .2s;
}
.btn-next:hover { background: #0a2248; }
.btn-submit {
  background: var(--gold); color: var(--white); border: none;
  padding: 12px 36px; border-radius: var(--radius);
  font-size: 15px; font-weight: 700; transition: background .2s;
}
.btn-submit:hover { background: #a07f20; }

/* Summary block */
.summary-section { margin-bottom: 24px; }
.summary-label {
  font-size: 11px; font-weight: 700; color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
  padding-left: 10px; border-left: 3px solid var(--gold);
}
.summary-row {
  display: flex; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--bgray); font-size: 13px;
}
.summary-key { width: 200px; flex-shrink: 0; color: var(--muted); font-weight: 600; }
.summary-val { color: var(--dark); flex: 1; }

/* Success state */
.cifa-success {
  text-align: center; padding: 64px 24px; display: none;
}
.success-icon {
  width: 64px; height: 64px; background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 24px;
}
.success-title { font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.success-sub { font-size: 15px; color: var(--muted); line-height: 1.65; max-width: 480px; margin: 0 auto; }

/* Phase badge */
.phase-badge {
  display: inline-block; padding: 4px 10px; border-radius: 4px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.phase-badge.build { background: var(--gold); color: var(--white); }
.phase-badge.run   { background: var(--navy); color: var(--white); }
.phase-badge.fix   { background: var(--dark); color: var(--white); }
.phase-badge.retainer { background: #B8972A22; color: var(--gold); border: 1px solid var(--gold); }

/* Stat bar */
.stat-bar {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--bgray); border-radius: var(--radius); overflow: hidden;
}
@media (max-width: 600px) { .stat-bar { grid-template-columns: repeat(2,1fr); } }
.stat-cell {
  padding: 20px; text-align: center; border-right: 1px solid var(--bgray);
}
.stat-cell:last-child { border-right: none; }
.stat-val { font-size: 26px; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-lbl { font-size: 11px; color: var(--muted); margin-top: 4px; letter-spacing: 0.5px; }

/* Diff card */
.diff-card {
  border: 1px solid var(--bgray); border-radius: var(--radius); padding: 24px;
  background: var(--white);
}
.diff-title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  border-bottom: 2px solid var(--gold); padding-bottom: 8px; margin-bottom: 10px;
}
.diff-body { font-size: 13px; color: var(--dark); line-height: 1.65; }

/* Testimonial / quote */
.quote-block {
  background: var(--navy); border-radius: var(--radius); padding: 36px 40px;
  text-align: center;
}
.quote-text {
  font-size: 18px; font-weight: 700; color: var(--white); line-height: 1.55;
}
.quote-ar {
  font-family: 'Times New Roman', serif; font-size: 13px;
  color: rgba(255,255,255,0.45); margin-top: 10px; direction: rtl;
}

/* Advisory note */
.advisory-note {
  background: var(--lgray); border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 18px; font-size: 12px; color: var(--muted); line-height: 1.6;
}

/* ── Mobile-responsive layout classes ── */

/* Two equal columns on desktop → single column on mobile */
.grid-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.grid-split.top {
  align-items: start;
}

/* Service row: number | content | CTA */
.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--bgray);
}

/* CFO advisory tier cards */
.cfo-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 16px;
}

/* Bridge pair: value × value */
.bridge-pair {
  padding: 18px 0;
  border-bottom: 1px solid var(--bgray);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
}

@media (max-width: 768px) {
  /* Two-column sections become single column */
  .grid-split { grid-template-columns: 1fr !important; gap: 24px !important; }

  /* CFO tiers: 3 → 1 col */
  .cfo-tiers-grid { grid-template-columns: 1fr !important; }

  /* Service rows: drop the CTA to its own row */
  .svc-row {
    grid-template-columns: 56px 1fr !important;
    gap: 16px !important;
  }
  .svc-row .svc-row-cta {
    grid-column: 1 / -1;
    padding-left: 72px;
  }

  /* Pricing structure: reduce section padding */
  .section { padding: 48px 0; }

  /* Hero text adjustments */
  .hero { padding: 64px 0 56px; }
}

@media (max-width: 480px) {
  /* Very small phones */
  .hero h1 { font-size: 28px !important; }
  .section-title { font-size: 22px !important; }
  .proc-timeline { gap: 20px; }
  .partner-photo { height: 320px !important; }
}

/* Services page: 4-panel phase navigation bar */
@media (max-width: 700px) {
  .services-phase-bar { flex-direction: column !important; }
  .services-phase-bar .phase-sep { display: none !important; }
  .services-phase-bar > div {
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
  }
  .services-phase-bar > div:last-child { border-bottom: none !important; }
}

/* How-we-work: pricing table rows stack on small phones */
@media (max-width: 580px) {
  .hw-pricing-table > div { grid-template-columns: 1fr !important; gap: 4px !important; }
}

/* Partners page: bridge pairs vertical + logos 3+1 grid — phone only */
@media (max-width: 600px) {
  .bridge-pair {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    padding: 20px 0 !important;
  }
  .bridge-pair > span {
    text-align: center !important;
    display: block;
  }
  .bridge-pair .bridge-sep {
    font-size: 16px;
    padding: 0 !important;
    line-height: 1.2;
  }
  .partner-logos-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px 16px !important;
    justify-items: center;
    align-items: center;
  }
  .partner-logos-grid img:last-child {
    grid-column: 1 / -1;
    justify-self: center;
  }
}

/* ── Language toggle ── */
.lang-toggle {
  background: none; border: 1px solid rgba(255,255,255,0.30);
  color: rgba(255,255,255,0.75); font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 4px; cursor: pointer;
  letter-spacing: 0.5px; transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.65); color: var(--white); }

/* ── RTL / Arabic layout overrides ── */
[dir=rtl] body { font-family: 'Arial', 'Tahoma', sans-serif; }
[dir=rtl] .nav-inner { flex-direction: row-reverse; }
[dir=rtl] .nav-links { flex-direction: row-reverse; }
[dir=rtl] .nav-links a { letter-spacing: 0; }
[dir=rtl] .hero { text-align: right; }
[dir=rtl] .hero-actions { flex-direction: row-reverse; }
[dir=rtl] .section-label, [dir=rtl] .section-title, [dir=rtl] .section-sub { text-align: right; }
[dir=rtl] .diff-card { text-align: right; }
[dir=rtl] .diff-title { border-bottom: 2px solid var(--gold); border-top: none; }
[dir=rtl] .partner-info { text-align: right; }
[dir=rtl] .footer-inner { flex-direction: row-reverse; }
[dir=rtl] .footer-col { text-align: right; }
[dir=rtl] .footer-tagline, [dir=rtl] .footer-sub { text-align: right; }
[dir=rtl] .advisory-note { border-left: none; border-right: 3px solid var(--gold); border-radius: var(--radius) 0 0 var(--radius); }
[dir=rtl] .step-row { flex-direction: row-reverse; }
[dir=rtl] .step-num { margin-right: 0; margin-left: 14px; }
[dir=rtl] .stat-lbl, [dir=rtl] .stat-val { letter-spacing: 0; }
[dir=rtl] .card-phase { text-align: right; }
[dir=rtl] .svc-card { text-align: right; }
[dir=rtl] .svc-cta { text-align: right; direction: rtl; }
[dir=rtl] .quote-ar { color: rgba(255,255,255,0.75); }
[dir=rtl] .partner-info [style*="border-left:3px"] { border-left: none !important; border-right: 3px solid var(--gold) !important; padding-left: 0 !important; padding-right: 12px !important; }

/* ── Bilingual show/hide ── */
html[lang="ar"] .lang-en { display: none !important; }
html[lang="en"] .lang-ar { display: none !important; }
.lang-ar { font-family: 'Arial','Tahoma',sans-serif; direction: rtl; }
/* AR select overrides — show as block (not inline) when visible */
html[lang="ar"] select.lang-ar { display: block !important; }
html[lang="en"] select.lang-en { display: block !important; }

/* ═══════════════════════════════════════════════════════════════
   INTERACTION LAYER — interactions.js companion styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Page load fade ── */
body { opacity: 0; transition: opacity 0.55s ease; }
body.tna-ready { opacity: 1; }

/* ── Scroll progress bar ── */
#tna-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: 200;
  pointer-events: none;
  transition: width 60ms linear;
  transform-origin: left center;
}

/* ── Nav scrolled shadow ── */
.nav {
  transition: box-shadow 0.45s ease, background 0.45s ease;
}
.nav.scrolled {
  box-shadow: 0 2px 24px rgba(0,0,0,0.18);
}

/* ── Nav link hover ── */
.nav-links a {
  transition: opacity 0.3s ease, border-color 0.3s ease;
}
.nav-links a:not(.nav-active):hover { opacity: 0.7; }

/* ── Active nav link ── */
.nav-links a.nav-active {
  color: var(--white) !important;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 3px;
}

/* ── Scroll reveal base — near-pure fade, minimal lift ── */
.reveal {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
              transform 0.85s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal.reveal-lateral {
  transform: translateX(-8px);
}
.reveal.reveal-lateral.visible {
  transform: none;
}

/* ── Section label gold underline draw ── */
.tna-label-draw {
  position: relative;
  padding-bottom: 7px;
}
.tna-label-draw::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  border-radius: 1px;
  transition: width 0.9s cubic-bezier(0.16,1,0.3,1);
}
.tna-label-draw.drawn::after { width: 36px; }
[dir=rtl] .tna-label-draw::after { left: auto; right: 0; }

/* ── Diff card hover — fade accent only, no lift ── */
.diff-card {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.diff-card:hover {
  box-shadow: inset 3px 0 0 var(--gold), 0 4px 18px rgba(13,43,85,0.08);
}
[dir=rtl] .diff-card:hover {
  box-shadow: inset -3px 0 0 var(--gold), 0 4px 18px rgba(13,43,85,0.08);
}

/* ── Service card hover — fade shadow, no lift ── */
.svc-card {
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.svc-card:hover {
  box-shadow: 0 4px 18px rgba(13,43,85,0.10);
  border-color: var(--navy);
}

/* ── Partner card hover — fade shadow, no lift ── */
.partner-card {
  transition: box-shadow 0.4s ease;
}
.partner-card:hover {
  box-shadow: 0 6px 24px rgba(13,43,85,0.11);
}

/* ── Button hover fade ── */
.btn-primary, .btn-navy {
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover, .btn-navy:hover { opacity: 0.88; }

/* ── Button ripple ── */
.tna-ripple {
  position: absolute;
  width: 120px; height: 120px;
  margin-top: -60px; margin-left: -60px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  pointer-events: none;
  animation: tna-ripple-anim 0.6s ease-out forwards;
}
@keyframes tna-ripple-anim {
  from { transform: scale(0); opacity: 0.8; }
  to   { transform: scale(3); opacity: 0; }
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  body { opacity: 1 !important; transition: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .tna-label-draw::after { transition: none !important; width: 36px !important; }
  #tna-progress { display: none; }
  .tna-ripple { display: none; }
  .nav, .nav-links a, .diff-card, .svc-card, .partner-card,
  .btn-primary, .btn-navy { transition: none !important; }
}
