/* =============================================================
   Research Hub Africa — Main Stylesheet v2.0 (clean)
   ============================================================= */

/* ── RESET & CUSTOM PROPERTIES ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:       #0A1C35;
  --navy-mid:   #143059;
  --navy-light: #1E4A80;
  --gold:       #B8933A;
  --gold-light: #D4AC5A;
  --cream:      #F6F3EE;
  --cream-dark: #EDE9E0;
  --white:      #FFFFFF;
  --text-dark:  #0A1C35;
  --text-mid:   #2C4A6E;
  --text-muted: #6B7A8D;
  --border:     rgba(10,28,53,0.12);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { transition: color 0.2s; }

/* ── NAVIGATION ── */
#site-navigation {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  transition: box-shadow 0.3s;
  gap: 24px;
}
#site-navigation.scrolled { box-shadow: 0 2px 24px rgba(10,28,53,0.08); }

.nav-logo { display: flex; flex-direction: column; gap: 3px; text-decoration: none; flex-shrink: 0; }
.nav-logo-name { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); line-height: 1.1; }
.nav-logo-tag  { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; }

#primary-menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
#primary-menu li { position: relative; }
#primary-menu a { font-size: 15px; letter-spacing: 0.04em; text-decoration: none; color: var(--text-mid); font-weight: 400; padding: 6px 0; position: relative; }
#primary-menu > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
#primary-menu > li > a:hover { color: var(--navy); }
#primary-menu > li > a:hover::after { transform: scaleX(1); }

#primary-menu li.menu-cta > a { background: var(--navy); color: var(--white) !important; padding: 11px 26px; border-radius: 2px; letter-spacing: 0.08em; font-size: 13px; text-transform: uppercase; font-weight: 500; }
#primary-menu li.menu-cta > a::after { display: none; }
#primary-menu li.menu-cta > a:hover { background: var(--gold) !important; }

#primary-menu .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--white); border: 1px solid var(--border); list-style: none; padding: 8px 0; display: none; box-shadow: 0 8px 24px rgba(10,28,53,0.1); border-radius: 2px; }
#primary-menu li:hover > .sub-menu { display: block; }
#primary-menu .sub-menu a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text-mid); }
#primary-menu .sub-menu a:hover { background: var(--cream); color: var(--navy); }
#primary-menu .sub-menu a::after { display: none; }

.menu-toggle { display: none; background: none; border: 1px solid var(--border); padding: 10px 13px; cursor: pointer; border-radius: 2px; flex-direction: column; gap: 5px; flex-shrink: 0; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); transition: 0.3s; }

#site-navigation .rha-social-links { margin-top: 0; margin-left: 4px; gap: 6px; }
#site-navigation .rha-social-btn   { width: 34px; height: 34px; }

@media (max-width: 900px) {
  #site-navigation { height: 72px; }
  #primary-menu { display: none; }
  #primary-menu.is-open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--border); padding: 24px 5%; gap: 20px; box-shadow: 0 8px 24px rgba(10,28,53,0.1); }
  #primary-menu.is-open a { font-size: 16px; }
  .menu-toggle { display: flex; }
  #site-navigation .rha-social-links { display: none; }
}

/* ═══════════════════════════════════════
   HERO SLIDER
═══════════════════════════════════════ */
.rha-hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 6% 160px;
  position: relative;
  overflow: hidden;
}
.rha-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(30,74,128,0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(184,147,58,0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  z-index: 1;
}

/* ── Slides ── */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity 0.75s cubic-bezier(0.4,0,0.2,1), transform 0.75s cubic-bezier(0.4,0,0.2,1);
  will-change: opacity, transform;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  position: relative;
}
.hero-slide.is-leaving {
  opacity: 0;
  transform: translateY(-12px);
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Image overlay */
.hero-slide.has-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,28,53,0.68);
  z-index: 0;
  pointer-events: none;
}

/* Content above overlay */
.hero-slide .hero-eyebrow,
.hero-slide h1,
.hero-slide .hero-sub,
.hero-slide .hero-actions {
  position: relative;
  z-index: 1;
}

/* Staggered entry animations */
.hero-slide .hero-eyebrow,
.hero-slide h1,
.hero-slide .hero-sub,
.hero-slide .hero-actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.hero-slide.is-active .hero-eyebrow { opacity: 1; transform: none; transition-delay: 0.05s; }
.hero-slide.is-active h1            { opacity: 1; transform: none; transition-delay: 0.20s; }
.hero-slide.is-active .hero-sub     { opacity: 1; transform: none; transition-delay: 0.34s; }
.hero-slide.is-active .hero-actions { opacity: 1; transform: none; transition-delay: 0.48s; }

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 36px;
  font-weight: 500;
}
.hero-eyebrow::before, .hero-eyebrow::after { content: '—'; margin: 0 14px; opacity: 0.6; }

.rha-hero h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 1000px;
  margin: 0 auto 28px;
}
.rha-hero h1 em { font-style: italic; color: var(--gold-light); }

.hero-sub {
  font-size: 20px;
  color: rgba(255,255,255,0.68);
  max-width: 680px;
  margin: 0 auto 64px;
  font-weight: 300;
  line-height: 1.75;
}

.hero-actions { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  padding: 18px 48px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,147,58,0.35); }

.btn-ghost {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 18px 48px;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.8); color: var(--white); background: rgba(255,255,255,0.08); }

/* Arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
  width: 58px; height: 58px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.hero-arrow:hover { background: rgba(255,255,255,0.2); color: var(--white); border-color: rgba(255,255,255,0.6); transform: translateY(-50%) scale(1.08); }
.hero-arrow svg { width: 24px; height: 24px; }
.hero-arrow--prev { left: 20px; }
.hero-arrow--next { right: 20px; }

/* Dots */
.hero-dots { position: absolute; bottom: 72px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; z-index: 10; }
.hero-dot { width: 32px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); border: none; cursor: pointer; padding: 0; transition: background 0.35s, width 0.35s; }
.hero-dot.is-active { background: var(--gold); width: 64px; }
.hero-dot:hover:not(.is-active) { background: rgba(255,255,255,0.55); }

/* Progress bar */
.hero-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.06); z-index: 10; overflow: hidden; }
.hero-progress-bar { height: 100%; background: linear-gradient(to right, var(--gold), var(--gold-light)); width: 0%; transition: width linear; }

/* Scroll hint */
.hero-scroll { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.3); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; z-index: 5; pointer-events: none; }
.hero-scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.9; transform: scaleY(1.15); }
}

@media (max-width: 900px) {
  .rha-hero { padding: 130px 5% 130px; }
  .hero-arrow { width: 46px; height: 46px; }
  .hero-arrow--prev { left: 8px; }
  .hero-arrow--next { right: 8px; }
  .hero-sub { font-size: 17px; }
  .btn-primary, .btn-ghost { padding: 16px 36px; font-size: 13px; }
  .hero-actions { flex-direction: column; gap: 14px; }
}
@media (max-width: 600px) {
  .rha-hero h1 { font-size: clamp(40px, 10vw, 64px); }
  .hero-dot.is-active { width: 44px; }
}

/* ── SHARED SECTION STYLES ── */
section, .rha-section { padding: 100px 5%; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-eyebrow { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; display: block; }
.section-title { font-family: var(--serif); font-size: clamp(34px, 4vw, 52px); font-weight: 400; color: var(--navy); line-height: 1.2; margin-bottom: 24px; }
.section-title em { font-style: italic; color: var(--gold); }
.section-body { font-size: 16.5px; color: var(--text-muted); max-width: 680px; line-height: 1.8; }
.gold-line { width: 48px; height: 2px; background: var(--gold); margin: 28px 0; }

/* ── ABOUT / INTRO ── */
.rha-intro { background: var(--cream); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.intro-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 8px; }
.stat-card { background: var(--white); border: 1px solid var(--border); padding: 28px 24px; border-radius: 2px; transition: border-color 0.2s, transform 0.2s; }
.stat-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.stat-number { font-family: var(--serif); font-size: 48px; font-weight: 300; color: var(--navy); line-height: 1; margin-bottom: 6px; }
.stat-number span { font-size: 28px; color: var(--gold); }
.stat-label { font-size: 12.5px; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; font-weight: 500; }

.values-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 60px; }
.value-item { background: var(--white); padding: 40px 36px; transition: background 0.2s; }
.value-item:hover { background: var(--cream); }
.value-num { font-family: var(--serif); font-size: 40px; font-weight: 300; color: var(--cream-dark); margin-bottom: 16px; line-height: 1; }
.value-name { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.value-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.75; }

/* ── SERVICES ── */
.rha-services { background: var(--navy); }
.rha-services .section-title { color: var(--white); }
.rha-services .section-body  { color: rgba(255,255,255,0.55); }
.rha-services .section-eyebrow { color: var(--gold-light); }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; gap: 40px; }
.services-header-left { flex: 1; }
.services-header-right { max-width: 400px; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,0.08); }
.service-card { background: rgba(255,255,255,0.04); padding: 44px 36px; position: relative; transition: background 0.25s; }
.service-card:hover { background: rgba(255,255,255,0.09); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 44px; height: 44px; margin-bottom: 24px; opacity: 0.6; }
.service-card h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--white); margin-bottom: 12px; line-height: 1.25; }
.service-card p  { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.75; }

/* ── GEOGRAPHY BAND ── */
.rha-geography { background: var(--navy-mid); padding: 70px 5%; }
.geography-inner { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; gap: 20px; flex-wrap: wrap; }
.geo-item { text-align: center; }
.geo-country { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.geo-role { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.geo-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.15); }

/* ── CLIENTS ── */
.rha-clients { background: var(--cream); }
.clients-intro { display: flex; gap: 80px; align-items: flex-start; margin-bottom: 64px; }
.clients-intro-left { flex: 0 0 360px; }
.clients-intro-right { flex: 1; padding-top: 8px; }
.client-categories { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.client-category h4 { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.client-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.client-list li { font-size: 14px; color: var(--text-mid); padding-left: 14px; position: relative; line-height: 1.5; }
.client-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 5px; height: 1px; background: var(--gold); }

/* ── VISION BAND ── */
.rha-vision { background: var(--cream); padding: 80px 5%; }
.vision-band-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.vision-quote { font-family: var(--serif); font-size: clamp(26px, 3.5vw, 42px); font-weight: 300; color: var(--navy); line-height: 1.4; font-style: italic; margin-bottom: 24px; }
.vision-quote strong { font-weight: 600; font-style: normal; }
.vision-label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.vision-divider { width: 40px; height: 1px; background: var(--gold); margin: 20px auto; }

/* ── TEAM ── */
.rha-team { background: var(--white); }
.team-header { margin-bottom: 60px; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: start; }

.team-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 28px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.team-card:hover { border-color: rgba(10,28,53,0.22); box-shadow: 0 8px 32px rgba(10,28,53,0.07); transform: translateY(-3px); }
.team-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: linear-gradient(to right, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 0.3s; }
.team-card:hover::after { transform: scaleX(1); }

.team-avatar-wrap { margin-bottom: 20px; }
.team-photo { width: 72px !important; height: 72px !important; min-width: 72px; border-radius: 50% !important; object-fit: cover !important; display: block !important; border: 3px solid var(--cream); max-width: 72px !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
.team-initials { width: 72px; height: 72px; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 22px; font-weight: 600; flex-shrink: 0; }

.team-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); line-height: 1.25; margin-bottom: 3px; }
.team-designation { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.team-role { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 16px; }
.team-bio { font-size: 13.5px; color: var(--text-muted); line-height: 1.75; margin-bottom: 12px; padding-left: 12px; border-left: 2px solid var(--gold); }
.team-qual { font-size: 12px; color: var(--text-muted); line-height: 1.65; margin-bottom: 12px; font-style: italic; }
.team-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tag { font-size: 10.5px; padding: 3px 9px; background: var(--cream); color: var(--text-mid); border-radius: 2px; white-space: nowrap; }
.team-meta-row { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.team-meta-item { display: flex; flex-direction: column; gap: 2px; }
.team-meta-label { font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.team-meta-value { font-size: 12.5px; color: var(--text-mid); }

.team-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); align-items: center; }
.team-social-link { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--text-mid); display: flex; align-items: center; justify-content: center; text-decoration: none; flex-shrink: 0; transition: background 0.2s, color 0.2s, transform 0.15s; }
.team-social-link:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.team-social-link svg { display: block; pointer-events: none; }

@media (max-width: 1024px) { .team-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .team-grid { grid-template-columns: 1fr; } }

/* ── FOOTER ── */
.rha-footer { background: var(--navy); padding: 100px 5% 60px; color: var(--white); }
.contact-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.contact-col h3 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 24px; font-weight: 500; }
.contact-brand-name { font-family: var(--serif); font-size: 30px; font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 8px; }
.contact-brand-tag  { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 24px; }
.contact-brand-desc { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75; max-width: 280px; }
.contact-detail { display: flex; flex-direction: column; gap: 14px; }
.contact-detail-item { display: flex; flex-direction: column; gap: 2px; }
.contact-detail-label { font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.3); }
.contact-detail-value { font-size: 14px; color: rgba(255,255,255,0.75); }
.contact-detail-value a { color: var(--gold-light); text-decoration: none; }
.contact-detail-value a:hover { color: var(--white); }
#footer-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#footer-menu a { font-size: 14.5px; color: rgba(255,255,255,0.6); text-decoration: none; }
#footer-menu a:hover { color: var(--white); }
.footer-bottom { max-width: 1100px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-badges { display: flex; gap: 16px; }
.footer-badge { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.1); padding: 4px 12px; border-radius: 2px; }

/* ── INNER PAGES ── */
.page-hero { background: var(--navy); padding: 160px 5% 80px; text-align: center; }
.page-hero h1 { font-family: var(--serif); font-size: clamp(36px,5vw,64px); font-weight: 300; color: var(--white); line-height: 1.2; margin-bottom: 16px; }
.page-content { max-width: 780px; margin: 0 auto; padding: 80px 5%; }
.page-content h2 { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--navy); margin: 40px 0 16px; }
.page-content h3 { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); margin: 32px 0 12px; }
.page-content p  { color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }
.page-content ul, .page-content ol { color: var(--text-muted); padding-left: 20px; margin-bottom: 20px; line-height: 1.8; }
.page-content a  { color: var(--gold); text-decoration: none; border-bottom: 1px solid transparent; }
.page-content a:hover { border-bottom-color: var(--gold); }

/* ── BLOG ── */
.blog-hero { background: var(--navy); padding: 140px 5% 70px; }
.blog-hero h1 { font-family: var(--serif); font-size: clamp(36px,5vw,60px); font-weight: 300; color: var(--white); max-width: 600px; }
.blog-grid { max-width: 1100px; margin: 0 auto; padding: 80px 5%; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px,1fr)); gap: 32px; }
.post-card { border: 1px solid var(--border); border-radius: 2px; overflow: hidden; background: var(--white); transition: transform 0.2s, box-shadow 0.2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(10,28,53,0.08); }
.post-card-thumb img { width: 100%; height: 220px; object-fit: cover; }
.post-card-body { padding: 28px 28px 32px; }
.post-card-meta { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.post-card-body h2 { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.post-card-body h2 a { text-decoration: none; color: inherit; }
.post-card-body h2 a:hover { color: var(--gold); }
.post-card-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ── 404 ── */
.error-404 { min-height: 70vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 80px 5%; }
.error-404 h1 { font-family: var(--serif); font-size: 120px; font-weight: 300; color: var(--cream-dark); line-height: 1; margin-bottom: 24px; }
.error-404 h2 { font-family: var(--serif); font-size: 36px; font-weight: 400; color: var(--navy); margin-bottom: 16px; }
.error-404 p  { color: var(--text-muted); margin-bottom: 40px; }

/* ── CONTACT FORM CF7 ── */
.cf7-field { margin-bottom: 24px; }
.cf7-field label { display: block; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid); font-weight: 500; margin-bottom: 8px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea { width: 100%; padding: 14px 18px; border: 1px solid var(--border); border-radius: 2px; font-family: var(--sans); font-size: 15px; color: var(--text-dark); background: var(--white); transition: border-color 0.2s; margin-bottom: 20px; display: block; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: var(--navy); }
.wpcf7-form input[type="submit"] { background: var(--navy); color: var(--white); border: none; padding: 15px 40px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500; border-radius: 2px; cursor: pointer; transition: background 0.2s; }
.wpcf7-form input[type="submit"]:hover { background: var(--navy-mid); }
.wpcf7-not-valid-tip { color: #c0392b; font-size: 13px; margin-top: 4px; }
.wpcf7-response-output { border: 1px solid var(--gold) !important; padding: 12px 16px !important; font-size: 14px; margin-top: 24px !important; border-radius: 2px; }

/* ── SITE-WIDE SOCIAL LINKS ── */
.rha-social-links { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.rha-social-btn { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; text-decoration: none; flex-shrink: 0; transition: background 0.2s, color 0.2s, transform 0.15s; }
.rha-social-links--dark .rha-social-btn { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.12); }
.rha-social-links--dark .rha-social-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); transform: translateY(-2px); }
.rha-social-links:not(.rha-social-links--dark) .rha-social-btn { background: var(--cream); color: var(--text-mid); border: 1px solid var(--border); }
.rha-social-links:not(.rha-social-links--dark) .rha-social-btn:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }
.rha-social-icon { display: flex; align-items: center; justify-content: center; line-height: 0; }
.rha-social-icon svg { display: block; }
@media (max-width: 900px) { #site-navigation .rha-social-links { display: none; } }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) {
  .intro-grid, .clients-intro, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .clients-intro-left { flex: none; }
  .services-header { flex-direction: column; }
  .values-grid { grid-template-columns: 1fr; }
  .geo-divider { display: none; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .hero-arrow { width: 38px; height: 38px; }
  .hero-arrow--prev { left: 6px; }
  .hero-arrow--next { right: 6px; }
}
@media (max-width: 600px) {
  .services-grid, .client-categories, .intro-stat-grid { grid-template-columns: 1fr; }
  .footer-badges { flex-wrap: wrap; justify-content: center; }
}
/* ── Hero word animation ── */
.w {
  display: inline-block;
  opacity: 0;
  will-change: opacity, transform, filter;
}