/* ============================================================
   Al-Abdali Law Firm — Shared Stylesheet
   Deep slate-navy + champagne gold + cream, institutional feel
   ============================================================ */

:root {
  --navy: #3D4C5E;
  --navy-deep: #2C3846;
  --navy-darker: #232C37;
  --gold: #C9A961;
  --gold-light: #E4D2A0;
  --cream: #F8F4EC;
  --cream-deep: #F0E9D9;
  --ink: #232C37;
  --ink-soft: #59636E;
  --white: #FFFFFF;
  --line: rgba(61, 76, 94, 0.14);
  --line-gold: rgba(201, 169, 97, 0.35);

  --serif-en: 'Fraunces', 'Georgia', serif;
  --sans-en: 'Inter', -apple-system, sans-serif;
  --serif-ar: 'Amiri', 'Traditional Arabic', serif;
  --sans-ar: 'Tajawal', 'Segoe UI', sans-serif;

  --container: 1180px;
  --radius: 2px;
  --shadow-soft: 0 10px 40px -12px rgba(35, 44, 55, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans-en);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html[lang="ar"] body,
[dir="rtl"] {
  font-family: var(--sans-ar);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--serif-en);
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.25;
  letter-spacing: 0.005em;
}
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4 {
  font-family: var(--serif-ar);
  font-weight: 700;
}

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

/* ---------- Watermark texture (geometric, tone-on-tone) ---------- */
.pattern-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("assets/pattern-mask-navy.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: 0;
}
.pattern-bg.on-navy {
  opacity: 0.35;
  background-image: url("assets/pattern-mask-gold.png");
}

/* ---------- Column & scales divider (signature motif) ---------- */
.motif-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 0 auto 48px;
  width: fit-content;
  color: var(--gold);
}
.motif-divider .rule {
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.motif-divider .rule.flip { background: linear-gradient(90deg, var(--gold), transparent); }
.motif-divider svg { width: 26px; height: 26px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.nav.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 12px 0;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  order: 1;
}
.nav-logo-mark { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.nav-brand-text { color: var(--white); line-height: 1.2; }
.nav-brand-text .name-ar { font-family: var(--serif-ar); font-size: 16px; font-weight: 700; display: block; }
.nav-brand-text .name-en { font-family: var(--sans-en); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); display: block; margin-top: 2px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  order: 2;
  flex: 1 1 auto;
  justify-content: center;
}
.nav-menu a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-menu a:hover::after { width: 100%; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  order: 3;
  flex: 0 0 auto;
}
.lang-toggle {
  display: flex;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  overflow: hidden;
}
.lang-toggle a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  transition: background 0.25s, color 0.25s;
}
.lang-toggle a.active {
  background: var(--gold);
  color: var(--navy-darker);
  font-weight: 600;
}
.lang-toggle .flag { width: 16px; height: 11px; border-radius: 1px; flex-shrink: 0; }

.btn-cta {
  background: var(--gold);
  color: var(--navy-darker);
  font-size: 16px;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: 3px;
  white-space: nowrap;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

.nav-burger {
  display: none;
  width: 26px; height: 20px;
  position: relative;
  z-index: 1001;
  order: 4;
}
.nav-burger span {
  position: absolute; left: 0; right: 0; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.nav-burger span:nth-child(1) { top: 0; }
.nav-burger span:nth-child(2) { top: 9px; }
.nav-burger span:nth-child(3) { top: 18px; }
.nav-burger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, rgba(20,27,36,0.82) 0%, rgba(35,44,55,0.78) 55%, rgba(20,27,36,0.88) 100%), url("assets/riyadh-skyline.jpg");
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero .pattern-bg { opacity: 0.07; }
.hero-column-motif {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 40vw;
  max-width: 460px;
  opacity: 0.16;
  pointer-events: none;
  object-fit: contain;
}
[dir="rtl"] .hero-column-motif { right: auto; left: -6%; transform: translateY(-50%) scaleX(-1); }
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding-top: 160px;
  padding-bottom: 100px;
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-kicker::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--gold);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-light);
}
.hero p {
  color: rgba(255,255,255,0.82);
  font-size: 18px;
  max-width: 560px;
  margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 3px;
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.25s, background 0.25s;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(201,169,97,0.08); }

.hero-stats {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 28px;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-family: var(--serif-en);
  font-size: 30px;
  color: var(--gold-light);
  display: block;
}
[dir="rtl"] .hero-stat .num { font-family: var(--serif-ar); }
.hero-stat .label {
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  margin-top: 6px;
  display: block;
}

/* ---------- Page header (interior pages) ---------- */
.page-header {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-darker) 0%, var(--navy) 55%, var(--navy-deep) 100%);
  padding: 168px 0 64px;
}
.page-header .pattern-bg { opacity: 0.07; }
.page-header .container { position: relative; z-index: 1; }
.page-header .crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
}
.page-header .crumb a { color: rgba(255,255,255,0.8); }
.page-header .crumb a:hover { color: var(--gold-light); }
.page-header h1 {
  color: var(--white);
  font-size: clamp(30px, 4.4vw, 46px);
  margin-bottom: 12px;
}
.page-header p { color: rgba(255,255,255,0.78); font-size: 16.5px; max-width: 620px; }

/* ============================================================
   SECTIONS — generic
   ============================================================ */
section { position: relative; padding: 110px 0; }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy .pattern-bg { opacity: 0.05; }
.section-navy h2 { color: var(--white); }
.section-cream-deep { background: var(--cream-deep); }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
  position: relative;
  z-index: 1;
}
.section-kicker {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 18px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-navy .section-head p { color: rgba(255,255,255,0.75); }

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ---------- About ---------- */
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}
.about-text p { color: var(--ink-soft); font-size: 16.5px; margin-bottom: 18px; }
.about-panel {
  background: var(--navy);
  color: var(--white);
  padding: 46px 40px;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.about-panel .pattern-bg { opacity: 0.06; }
.about-panel h3 {
  color: var(--gold-light);
  font-size: 20px;
  margin-bottom: 14px;
  position: relative; z-index: 1;
}
.about-panel p {
  color: rgba(255,255,255,0.82);
  font-size: 15.5px;
  margin-bottom: 26px;
  position: relative; z-index: 1;
}
.about-panel .divider-line {
  width: 44px; height: 1px;
  background: var(--gold);
  margin: 26px 0;
  position: relative; z-index: 1;
}

/* ---------- Leadership ---------- */
.leader-card {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 56px auto 0;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.leader-card .leader-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-light);
}
.leader-card .leader-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card .leader-role {
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.leader-card h3 { font-size: 22px; margin-bottom: 10px; }
.leader-card p { color: var(--ink-soft); font-size: 15px; margin: 0; }

/* ---------- Values ---------- */
.values-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--cream);
  padding: 34px 26px;
  transition: background 0.3s ease;
}
.value-card:hover { background: var(--white); }
.value-card .mark {
  width: 34px; height: 1px;
  background: var(--gold);
  margin-bottom: 18px;
}
.value-card h3 { font-size: 17px; margin-bottom: 8px; }
.value-card p { color: var(--ink-soft); font-size: 14px; }

/* ---------- Why Choose Us ---------- */
.why-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 40px;
  max-width: 1040px;
  margin: 0 auto;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.why-item .why-diamond {
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
  transform: rotate(45deg);
  background: var(--gold);
}
.why-item p { color: rgba(255,255,255,0.85); font-size: 15.5px; margin: 0; }

/* ---------- Practice teaser grid (home) ---------- */
.teaser-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.teaser-card {
  background: var(--cream);
  padding: 30px 24px;
  transition: background 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.teaser-card:hover { background: var(--white); }
.teaser-card .pt-num { font-family: var(--serif-en); color: var(--gold); font-size: 14px; }
[dir="rtl"] .teaser-card .pt-num { font-family: var(--serif-ar); }
.teaser-card h3 { font-size: 16.5px; margin: 0; }
.teaser-card .teaser-link {
  margin-top: auto;
  font-size: 13.5px;
  color: var(--navy);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.teaser-card:hover .teaser-link { color: var(--gold); }

/* ---------- Full-width photo banner ---------- */
.photo-banner {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  z-index: 1;
}
.photo-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-banner .pb-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(35,44,55,0.82) 0%, rgba(35,44,55,0.25) 55%, rgba(35,44,55,0.05) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 48px;
}
.photo-banner .pb-kicker {
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.photo-banner h2 { color: var(--white); font-size: 28px; margin: 0; max-width: 620px; }

/* ---------- Homepage leader teaser ---------- */
.leader-teaser {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 36px;
}
.leader-teaser .lt-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-light);
  flex-shrink: 0;
}
.leader-teaser .lt-photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-teaser .lt-role { color: var(--gold); font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 4px; }
.leader-teaser h3 { font-size: 18px; margin: 0 0 4px; }
.leader-teaser p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }
.leader-teaser .lt-link { margin-inline-start: auto; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.leader-teaser .lt-link:hover { color: var(--gold); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative; z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 44px 48px;
  overflow: hidden;
}
.cta-banner .pattern-bg { opacity: 0.06; }
.cta-banner h2 { color: var(--white); font-size: 26px; margin: 0 0 6px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,0.75); margin: 0; font-size: 15px; position: relative; z-index: 1; }
.cta-banner .btn-cta { position: relative; z-index: 1; }

/* ---------- Practice Areas (accordion) ---------- */
.practice-list {
  position: relative; z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.practice-item { border-bottom: 1px solid var(--line); }
.practice-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: start;
  background: none;
}
.practice-trigger .pt-left { display: flex; align-items: center; gap: 20px; }
.practice-trigger .pt-num {
  font-family: var(--serif-en);
  color: var(--gold);
  font-size: 15px;
  min-width: 26px;
}
[dir="rtl"] .practice-trigger .pt-num { font-family: var(--serif-ar); }
.practice-trigger h3 { font-size: 19px; margin: 0; }
.practice-trigger .pt-icon {
  width: 22px; height: 22px;
  position: relative;
  flex-shrink: 0;
}
.practice-trigger .pt-icon::before,
.practice-trigger .pt-icon::after {
  content: '';
  position: absolute;
  background: var(--navy);
  transition: transform 0.3s ease, background 0.3s ease;
}
.practice-trigger .pt-icon::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.practice-trigger .pt-icon::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }
.practice-item.open .pt-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.practice-item.open .pt-icon::before { background: var(--gold); }

.practice-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.practice-item.open .practice-panel { max-height: 600px; }
.practice-panel-inner { padding: 0 4px 32px 50px; }
[dir="rtl"] .practice-panel-inner { padding: 0 50px 32px 4px; }
.practice-panel-inner ul { display: flex; flex-direction: column; gap: 10px; }
.practice-panel-inner li {
  color: var(--ink-soft);
  font-size: 15px;
  position: relative;
  padding-inline-start: 18px;
}
.practice-panel-inner li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--gold);
}
[dir="rtl"] .practice-panel-inner li::before { left: auto; right: 0; }

/* ---------- Clients / Team split ---------- */
.split-block {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.split-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 44px 38px;
  border-radius: var(--radius);
}
.split-card h3 { font-size: 22px; margin-bottom: 16px; color: var(--navy-deep); }
.split-card p { color: var(--ink-soft); font-size: 15.5px; }
.split-card .rule-mini { width: 40px; height: 2px; background: var(--gold); margin-bottom: 20px; }

.team-gallery {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
  margin: 44px auto 0;
}
.team-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

/* ---------- Branches ---------- */
.branches-wrap { position: relative; z-index: 1; }
.branches-split {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.branches-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(255,255,255,0.14);
  position: relative;
  height: 420px;
}
.branches-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.branches-photo .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(35,44,55,0.85), transparent);
  color: rgba(255,255,255,0.88);
  font-size: 13.5px;
}
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.branch-chip {
  border: 1px solid rgba(255,255,255,0.16);
  padding: 20px 22px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.25s, background 0.25s;
}
.branch-chip:hover { border-color: var(--gold); background: rgba(201,169,97,0.06); }
.branch-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.branch-chip span { font-size: 15.5px; color: rgba(255,255,255,0.9); }

/* ---------- Credentials ---------- */
.creds-row {
  position: relative; z-index: 1;
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
}
.cred-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  max-width: 260px;
  text-align: center;
}
.cred-badge .badge-icon {
  width: 100%;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cred-badge .badge-icon img { max-width: 220px; max-height: 108px; width: auto; height: 100%; object-fit: contain; }
.cred-badge .badge-text { font-size: 14px; line-height: 1.5; }
.cred-badge .badge-text strong { display: block; color: var(--navy-deep); font-size: 16px; margin-bottom: 4px; }

/* ---------- Contact ---------- */
.contact-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 26px; }
.contact-info-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-info-item .ci-icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(201,169,97,0.12);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-info-item .ci-text strong { display: block; font-size: 15px; margin-bottom: 4px; color: var(--white); }
.contact-info-item .ci-text span, .contact-info-item .ci-text a { color: rgba(255,255,255,0.75); font-size: 15px; }
.contact-info-item .ci-text .flag-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--gold-light);
  border: 1px solid var(--line-gold);
  padding: 3px 8px;
  border-radius: 3px;
}

.contact-form {
  background: var(--white);
  padding: 42px;
  border-radius: var(--radius);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.form-field input, .form-field textarea, .form-field select {
  border: 1px solid var(--line);
  padding: 13px 14px;
  font-size: 15px;
  font-family: inherit;
  border-radius: 3px;
  background: var(--cream);
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--gold);
}
.btn-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  padding: 15px;
  border-radius: 3px;
  transition: background 0.25s ease;
}
.btn-submit:hover { background: var(--navy-darker); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-darker);
  color: rgba(255,255,255,0.65);
  padding: 60px 0 26px;
  position: relative;
}
.footer .pattern-bg { opacity: 0.04; }
.footer-top {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand .name-ar { color: var(--white); font-family: var(--serif-ar); font-size: 16px; }
.footer-col h4 { color: var(--white); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14.5px; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-desc { font-size: 14.5px; max-width: 320px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, color 0.25s;
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom {
  position: relative; z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 10px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* iPad/tablet (768px and up) intentionally receives NO overrides here —
   it renders the same layout as desktop. Only true phones (<768px) below
   get simplified, stacked layouts. */
@media (max-width: 767px) {
  .nav-menu, .nav-actions .btn-cta { display: none; }
  .nav-burger { display: block; }
  .nav-actions { gap: 8px; }
  .container { padding: 0 18px; }
  .nav-brand { gap: 8px; }
  .nav-logo-mark { width: 34px; height: 34px; }
  .nav-brand-text .name-ar { font-size: 13px; }
  .nav-brand-text .name-en { font-size: 8px; letter-spacing: 0.08em; }
  .lang-toggle a { padding: 6px 9px; font-size: 11px; gap: 4px; }
  .lang-toggle .flag { width: 13px; height: 9px; }
  .nav.mobile-open .nav-menu {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-deep);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 999;
  }
  .nav.mobile-open .nav-menu a { font-size: 20px; }

  .hero {
    background: linear-gradient(rgba(35,44,55,0.72), rgba(35,44,55,0.86)), url("assets/riyadh-skyline.jpg");
    background-size: cover;
    background-position: center;
  }
  .hero-column-motif { display: none; }
  .hero-content { padding-top: 130px; padding-bottom: 70px; }
  .why-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-stats .container { grid-template-columns: repeat(2, 1fr); padding: 22px 20px; }

  section { padding: 70px 0; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; text-align: center; max-width: 420px; margin-top: 40px; }
  .leader-card .leader-photo { width: 160px; margin: 0 auto; }
  .values-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .creds-row { gap: 30px; }
  .branches-grid { grid-template-columns: 1fr 1fr; }
  .branches-photo { height: 220px; }
  .split-block { grid-template-columns: 1fr; gap: 30px; }
  .team-gallery { grid-template-columns: 1fr; }
  .team-gallery img { height: 220px; }
  .teaser-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .page-header { padding: 140px 0 48px; }
  .photo-banner { height: 280px; }
  .photo-banner .pb-overlay { padding: 26px 24px; }
  .photo-banner h2 { font-size: 22px; }
  .leader-teaser { flex-direction: column; text-align: center; padding: 30px 24px; }
  .leader-teaser .lt-link { margin-inline-start: 0; }
  .cred-badge { max-width: 100%; }
}
