/* =========================================================
   Internal Audit & Risk Network — Site stylesheet
   Palette (muted, 3 colors):
   --ink   #21283B  deep ink-navy
   --gold  #B69365  muted bronze
   --paper #F8F8F6  warm off-white
   ========================================================= */

:root {
  --ink: #21283B;
  --ink-soft: #2E374E;
  --gold: #B69365;
  --gold-soft: #C9AB82;
  --paper: #F8F8F6;
  --white: #FFFFFF;
  --text: #3A4151;
  --muted: #6B7280;
  --line: #E5E4E0;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(33, 40, 59, 0.08);
  --shadow-lg: 0 18px 45px rgba(33, 40, 59, 0.14);
  --container: 1180px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
  background: var(--paper);
}

body {
  font-family: 'Tajawal', 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--text);
  font-size: 17px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.4; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 38px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: rgba(255, 255, 255, 0.85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--gold-soft); }
.topbar .topbar-contacts { display: flex; gap: 22px; }
.topbar svg { width: 14px; height: 14px; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 14px rgba(33, 40, 59, 0.05);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 18px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 46px; width: auto; }
.brand .brand-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
  max-width: 320px;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  display: block;
  padding: 10px 16px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 6px;
  position: relative;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a.active { color: var(--gold); font-weight: 700; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  inset-inline: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 14px; }
.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(182, 147, 101, 0.12);
  color: var(--gold);
  transition: all var(--transition);
}
.header-wa:hover { background: var(--gold); color: var(--white); }
.header-wa svg { width: 19px; height: 19px; }
.lang-switch {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 14px;
  transition: all var(--transition);
}
.lang-switch:hover { border-color: var(--gold); color: var(--gold); }

.btn {
  display: inline-block;
  padding: 11px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  text-align: center;
}
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: #A58253; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline-light { border-color: rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: var(--ink-soft); transform: translateY(-1px); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}
.hero.hero-home { min-height: 650px; }
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(26, 32, 48, 0.78) 25%, rgba(26, 32, 48, 0.42) 70%, rgba(26, 32, 48, 0.18));
}
[dir="rtl"] .hero::before {
  background: linear-gradient(260deg, rgba(26, 32, 48, 0.78) 25%, rgba(26, 32, 48, 0.42) 70%, rgba(26, 32, 48, 0.18));
}
.hero .container { position: relative; z-index: 1; padding-block: 70px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-soft);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 18px;
}
.hero-kicker::before {
  content: '';
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(30px, 4.6vw, 52px);
  font-weight: 800;
  max-width: 720px;
  margin-bottom: 18px;
}
.hero p {
  max-width: 640px;
  font-size: clamp(16px, 1.6vw, 19px);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section-alt { background: var(--white); }
.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head.centered { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.kicker::before { content: ''; width: 30px; height: 2px; background: var(--gold); }
.section-head.centered .kicker::after { content: ''; width: 30px; height: 2px; background: var(--gold); }
.section-title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 17px; }

.prose { white-space: pre-line; }

/* ---------- Intro split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.split-media::after {
  content: '';
  position: absolute;
  inset-inline-start: -16px;
  bottom: -16px;
  width: 45%;
  height: 45%;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
}
.badge-year {
  position: absolute;
  inset-inline-end: -12px;
  top: -16px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 14px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-year strong { display: block; color: var(--gold-soft); font-size: 24px; line-height: 1.2; }
.badge-year span { font-size: 13px; opacity: 0.85; }

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 26px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(182, 147, 101, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card .card-icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 19px; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .card-link {
  margin-top: 18px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.card:hover .card-link svg { transform: translateX(4px); }
[dir="rtl"] .card .card-link svg { transform: scaleX(-1); }
[dir="rtl"] .card:hover .card-link svg { transform: scaleX(-1) translateX(4px); }

/* ---------- Values band ---------- */
.values-band { background: #F2F0EB; color: var(--text); }
.values-band .section-title, .values-band h3 { color: var(--ink); }
.values-band .section-sub { color: var(--muted); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 26px;
}
.value-item {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all var(--transition);
}
.value-item:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.value-item .card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(182, 147, 101, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.value-item .card-icon svg { width: 26px; height: 26px; }
.value-item h3 { font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.value-item p { color: var(--muted); font-size: 15px; }

/* ---------- Announcements carousel ---------- */
.announce-section { padding-block: 70px; }
.announce-carousel { position: relative; }
.announce-stage {
  position: relative;
  transition: height 0.4s ease;
  overflow: hidden;
  border-radius: var(--radius);
}
.announce-slide {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.announce-slide.active { opacity: 1; visibility: visible; }
.announce-media { position: relative; min-height: 280px; }
.announce-media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.announce-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.announce-body.no-media { grid-column: 1 / -1; text-align: center; align-items: center; }
.announce-tag {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
  background: rgba(182, 147, 101, 0.12);
  border: 1px solid rgba(182, 147, 101, 0.4);
  border-radius: 30px;
  padding: 5px 16px;
  margin-bottom: 16px;
}
.announce-body h3 { font-size: clamp(20px, 2.4vw, 27px); margin-bottom: 14px; color: var(--ink); }
.announce-body p { color: var(--muted); font-size: 16px; margin-bottom: 24px; max-width: 560px; }

/* WhatsApp icon button on announcements (site gold, icon only) */
.btn-whatsapp {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.btn-whatsapp:hover { background: #A58253; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-whatsapp svg { width: 26px; height: 26px; }

/* Arrows (shared round button look) */
.announce-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  flex-shrink: 0;
}
.announce-arrow:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }
.announce-arrow svg { width: 20px; height: 20px; }
/* Desktop: arrows float over the sides of the stage */
.announce-side { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.announce-side.announce-prev { inset-inline-start: -12px; }
.announce-side.announce-next { inset-inline-end: -12px; }
[dir="rtl"] .announce-next svg { transform: scaleX(-1); }
[dir="ltr"] .announce-prev svg { transform: scaleX(-1); }
/* Mobile arrows row (hidden on desktop) */
.announce-mobile-nav { display: none; }

/* Dots */
.announce-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.announce-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  padding: 0;
  transition: all var(--transition);
}
.announce-dot.active { background: var(--gold); width: 26px; border-radius: 6px; }

@media (max-width: 820px) {
  .announce-slide { grid-template-columns: 1fr; }
  .announce-media { min-height: 200px; }
  .announce-body { padding: 28px 24px; }
  .announce-side { display: none; }
  .announce-dots { display: none; }
  .announce-mobile-nav { display: flex; justify-content: center; align-items: center; gap: 44px; margin-top: 20px; }
}

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.why-points { display: grid; gap: 18px; }
.why-point {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all var(--transition);
}
.why-point:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-point .card-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: rgba(182, 147, 101, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-point .card-icon svg { width: 24px; height: 24px; }
.why-point h3 { font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.why-point p { color: var(--muted); font-size: 14.5px; }

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.vm-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 34px;
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow);
}
.vm-card h3 { font-size: 22px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.vm-card h3 svg { width: 26px; height: 26px; color: var(--gold); }
.vm-card p { color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, #FBF8F3, var(--paper));
  color: var(--text);
  text-align: center;
  padding-block: 64px;
  border-block: 1px solid rgba(182, 147, 101, 0.35);
}
.cta-band h2 { color: var(--ink); font-size: clamp(24px, 3vw, 34px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 640px; margin: 0 auto 30px; }

/* ---------- Service detail ---------- */
.service-layout { display: grid; grid-template-columns: 1fr 320px; gap: 50px; align-items: start; }
.service-body h2 { font-size: 26px; margin-bottom: 18px; }
.service-aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.back-link {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 22px;
  transition: gap var(--transition), color var(--transition);
}
.back-link svg { width: 18px; height: 18px; }
[dir="ltr"] .back-link svg { transform: scaleX(-1); }
.back-link:hover { color: #A58253; gap: 12px; }
.service-aside h4 { font-size: 17px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--gold); }
.service-aside ul li { border-bottom: 1px solid var(--line); }
.service-aside ul li:last-child { border-bottom: none; }
.service-aside ul a { display: block; padding: 11px 4px; font-size: 15px; color: var(--ink-soft); font-weight: 500; }
.service-aside ul a:hover, .service-aside ul a.active { color: var(--gold); }

/* Service highlights / what we deliver */
.service-highlights { margin-top: 40px; }
.service-highlights h3 { font-size: 21px; margin-bottom: 20px; }
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 16px; color: var(--text); }
.check-list .check-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(182, 147, 101, 0.12);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.check-list .check-icon svg { width: 17px; height: 17px; }

.service-cta {
  margin-top: 42px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-inline-start: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 30px 28px;
}
.service-cta h3 { font-size: 20px; margin-bottom: 10px; }
.service-cta p { color: var(--muted); margin-bottom: 20px; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 360px; gap: 50px; align-items: start; }
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 700; font-size: 14.5px; color: var(--ink); margin-bottom: 7px; }
.field label .req { color: #C0392B; }
.field input[type="text"], .field input[type="number"], .field input[type="email"],
.field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 147, 101, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.field .error { color: #C0392B; font-size: 13.5px; margin-top: 5px; display: block; }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; padding-top: 4px; }
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text);
  cursor: pointer;
  margin-bottom: 0;
}
.radio-row input { accent-color: var(--gold); width: 17px; height: 17px; }

.alert {
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 26px;
  font-weight: 500;
}
.alert-success { background: #EEF6EE; color: #25623B; border: 1px solid #CDE5D2; }
.alert-error { background: #FBEFEC; color: #92301F; border: 1px solid #F0D4CC; }

.contact-aside .info-card {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.contact-aside .info-card h3 { color: var(--ink); font-size: 20px; margin-bottom: 20px; }
.contact-aside .info-item { display: flex; align-items: flex-start; gap: 14px; padding-block: 12px; }
.contact-aside .info-item + .info-item { border-top: 1px solid var(--line); }
.contact-aside .info-item svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; margin-top: 4px; }
.contact-aside .info-item a { color: var(--ink-soft); direction: ltr; }
.contact-aside .info-item a:hover { color: var(--gold); }
.contact-aside .info-item .label { font-size: 13px; color: var(--muted); display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.75); margin-top: auto; }
.footer-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 44px;
  padding-block: 80px 50px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 17px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}
.site-footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 34px;
  height: 2px;
  background: var(--gold);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 44px; background: var(--white); border-radius: 8px; padding: 3px; }
.footer-brand .brand-name { color: var(--white); font-weight: 700; font-size: 16.5px; max-width: 280px; line-height: 1.4; }
.site-footer p { font-size: 14.5px; }
.site-footer ul li { margin-bottom: 9px; }
.site-footer ul a { font-size: 14.5px; color: rgba(255, 255, 255, 0.75); }
.site-footer ul a:hover { color: var(--gold-soft); }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-soft); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-legal-links { display: flex; align-items: center; gap: 10px; }
.footer-legal-links a { color: rgba(255, 255, 255, 0.7); }
.footer-legal-links a:hover { color: var(--gold-soft); }
.footer-legal-links .sep { color: rgba(255, 255, 255, 0.3); }

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-header {
  background: var(--ink);
  color: var(--white);
  padding-block: 64px;
}
.legal-header .kicker { color: var(--gold-soft); }
.legal-header .kicker::before { background: var(--gold); }
.legal-header h1 { color: var(--white); font-size: clamp(28px, 4vw, 42px); margin: 8px 0 14px; }
.legal-header p { color: rgba(255, 255, 255, 0.82); max-width: 680px; font-size: 17px; }
.legal-content {
  max-width: 860px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 46px 48px;
  box-shadow: var(--shadow);
}
.legal-content .prose { font-size: 16px; line-height: 1.9; color: var(--text); }

/* ---------- Page sections on about ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .split, .story-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-aside { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; z-index: 210; position: relative; }

  /* Hide the long Arabic site name on mobile — logo speaks for itself */
  .brand .brand-name { display: none; }
  .brand img { height: 50px; }

  /* Smooth dropdown from the top — sized to its content (well under the hero) */
  .nav-links {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 22px 16px;
    gap: 2px;
    box-shadow: 0 22px 44px rgba(33, 40, 59, 0.16);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 16px 16px;
    transform: translateY(-16px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, visibility 0.42s ease;
    z-index: 95;
    max-height: 70vh;
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-links a {
    padding: 15px 10px;
    border-bottom: 1px solid var(--paper);
    font-size: 16.5px;
    font-weight: 500;
    text-align: start;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links a.active { color: var(--gold); }
  .nav-links a.active::after { display: none; }

  /* Dim overlay behind the dropdown */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(33, 40, 59, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 90;
  }
  .nav-overlay.show { opacity: 1; visibility: visible; }

  /* Hamburger turns into an X when open */
  .nav-toggle span { transition: transform 0.35s ease, opacity 0.25s ease; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  body.nav-open { overflow: hidden; }

  .header-actions .btn { display: none; }
  .vm-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .section { padding-block: 56px; }
  .hero { min-height: 430px; }
  .hero.hero-home { min-height: 540px; }

  /* Compact footer on mobile — brand on top, links in two columns */
  .footer-main { grid-template-columns: 1fr 1fr; gap: 18px; padding-block: 34px 20px; }
  .footer-main > div:first-child { grid-column: 1 / -1; }
  .footer-main > div:first-child p { display: none; }      /* hide long brand blurb */
  .footer-main > div:last-child { display: none; }          /* legal column (also in footer bottom) */
  .footer-brand { margin-bottom: 0; }
  .site-footer h4 { margin-bottom: 11px; }
  .site-footer ul li { margin-bottom: 7px; }
  .footer-bottom { flex-direction: column-reverse; gap: 8px; text-align: center; padding-block: 15px; }
  .footer-bottom .footer-legal-links { justify-content: center; }
}
