/* ============================================================
   AMERICAN COUNCIL FOR AFRICA — Premium Dark Theme
   Inspired by MEHD's design language
   ============================================================ */

:root {
  /* Color tokens – Premium Dark palette */
  --navy-deep: #0B1526;
  --navy: #14213D;
  --navy-mid: #1a2d4f;
  --navy-light: #2a4068;
  --red: #B5202D;
  --red-deep: #8C1620;
  --red-light: #d43a47;
  --red-glow: rgba(181, 32, 45, 0.25);
  --gold: #C6982F;
  --gold-deep: #a87d1f;
  --gold-light: #E3C579;
  --gold-glow: rgba(198, 152, 47, 0.15);

  /* Text colors — all light for dark background */
  --text-white: #f5f5f5;
  --text-light: #ddd;
  --text-muted: #aaa;
  --text-dim: #777;

  /* Backgrounds */
  --bg-primary: #0B1526;
  --bg-secondary: #121212;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --text-base: clamp(1rem, 1.5vw, 1.125rem);
  --text-sm: calc(var(--text-base) / 1.25);
  --text-lg: calc(var(--text-base) * 1.25);
  --text-xl: calc(var(--text-lg) * 1.25);
  --text-2xl: calc(var(--text-xl) * 1.25);
  --text-3xl: calc(var(--text-2xl) * 1.25);
  --text-4xl: calc(var(--text-3xl) * 1.25);
  --text-5xl: calc(var(--text-4xl) * 1.25);

  /* Spacing */
  --space-base: clamp(1rem, 2vw, 1.5rem);
  --space-0: 0;
  --space-1: calc(var(--space-base) * 0.25);
  --space-2: calc(var(--space-base) * 0.5);
  --space-3: var(--space-base);
  --space-4: calc(var(--space-base) * 1.5);
  --space-5: calc(var(--space-base) * 2.5);
  --space-6: calc(var(--space-base) * 4);
  --space-7: calc(var(--space-base) * 6);

  --radius: 6px;
  --radius-lg: 14px;
  --shadow-soft: 0 20px 60px -30px rgba(0, 0, 0, 0.8);
  --shadow-card: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
  --shadow-glass: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(181, 32, 45, 0.08);
  --container: 1180px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-animation] { animation: none !important; }
  .ascent-line-svg .ascent-path { stroke-dashoffset: 0; animation: none; }
  .ascent-line-svg .ascent-node { opacity: 1; animation: none; }
  .hero-visual { transform: none !important; opacity: 1 !important; }
}

body {
  margin: 0;
  background: var(--bg-primary);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ----- Animated gradient background (like MEHD) ----- */
body::before {
  content: '';
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(181, 32, 45, 0.06) 0%, transparent 60%),
              radial-gradient(circle at 70% 80%, rgba(198, 152, 47, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 50% 50%, rgba(20, 33, 61, 0.3) 0%, transparent 70%);
  animation: moveGradient 25s ease-in-out infinite alternate;
  z-index: -2;
  pointer-events: none;
}
@keyframes moveGradient {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(5%, 5%) scale(1.1); }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.12;
  color: var(--text-white);
  font-weight: 700;
  letter-spacing: -0.02em;
}
p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: var(--space-3);
  z-index: 200;
  background: var(--red);
  color: var(--text-white);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  transition: top 0.25s ease;
}
.skip-link:focus { top: var(--space-2); }

/* ---------- No-script ---------- */
.noscript-banner {
  background: rgba(198, 152, 47, 0.2);
  color: var(--gold-light);
  text-align: center;
  font-size: 0.85rem;
  padding: 0.7rem var(--space-3);
  border-bottom: 1px solid var(--border-glass);
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 200;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transition: width 0.1s ease;
}

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1.2vw, 0.8rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

h1 { font-size: var(--text-5xl); letter-spacing: -0.02em; }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

.lede {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 50ch;
}

/* Gradient headline — brilliant on dark */
.gradient-headline {
  color: var(--text-white);
  background: linear-gradient(135deg, #ffffff 30%, var(--red-light) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-headline em {
  background: linear-gradient(135deg, var(--red-light), #ff6b6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-6) 0;
}
.section--tight { padding: var(--space-5) 0; }
.section--navy { background: var(--bg-secondary); }
.section--paper-deep { background: var(--bg-secondary); }
.section--premium {
  position: relative;
  background: var(--bg-primary);
}
.section--premium::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-glass), transparent);
}

.section-head {
  max-width: 640px;
  margin-bottom: var(--space-4);
}
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  will-change: transform;
}
.btn-primary {
  background: var(--red);
  color: var(--text-white);
  box-shadow: 0 4px 30px rgba(181, 32, 45, 0.35);
}
.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(181, 32, 45, 0.45);
}
.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: var(--text-light);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-dark {
  background: rgba(255,255,255,0.06);
  color: var(--text-white);
  border-color: rgba(255,255,255,0.08);
}
.btn-dark:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
.btn-magnetic { transition: transform 0.1s ease; }

/* ---------- Header (glass) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 21, 38, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 21, 38, 0.95);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}
.site-header.header-hidden {
  transform: translateY(-100%);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.brand img {
  height: 44px;
  width: auto;
  /* Original colors – visible thanks to background */
  background: rgba(255, 255, 255, 0.9);
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.brand-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.1;
  color: var(--text-white);
}
.brand-word span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--red-light);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  gap: var(--space-4);
}
.nav-desktop a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s ease;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-desktop a:hover {
  color: var(--text-white);
}
.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after { transform: scaleX(1); }
.nav-desktop a[aria-current="page"] { color: var(--text-white); }

.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-actions .btn-primary { display: none; }

.menu-toggle {
  background: none;
  border: none;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--text-white);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle span::before { position: absolute; top: -7px; }
.menu-toggle span::after { position: absolute; top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile Drawer ---------- */
.mobile-drawer {
  position: fixed;
  inset: 78px 0 0 0;
  background: var(--bg-primary);
  color: var(--text-light);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s ease, visibility 0s linear 0.45s;
  z-index: 90;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}
.mobile-drawer .container { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.mobile-drawer ul { display: flex; flex-direction: column; gap: 0; }
.mobile-drawer li {
  border-bottom: 1px solid var(--border-glass);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.mobile-drawer.is-open li { opacity: 1; transform: translateY(0); }
.mobile-drawer.is-open li:nth-child(1) { transition-delay: 0.08s; }
.mobile-drawer.is-open li:nth-child(2) { transition-delay: 0.13s; }
.mobile-drawer.is-open li:nth-child(3) { transition-delay: 0.18s; }
.mobile-drawer.is-open li:nth-child(4) { transition-delay: 0.23s; }
@media (prefers-reduced-motion: reduce) {
  .mobile-drawer li { opacity: 1; transform: none; transition: none; }
}
.mobile-drawer a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.mobile-drawer a:hover { color: var(--text-white); }
.mobile-drawer a[aria-current="page"] { color: var(--gold-light); }
.mobile-drawer .btn { margin-top: var(--space-4); width: 100%; justify-content: center; }
.mobile-drawer .drawer-meta {
  margin-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  line-height: 1.9;
}
.drawer-contact {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-glass);
}
.drawer-contact p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.drawer-contact a {
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

@media (min-width: 900px) {
  .nav-desktop { display: block; }
  .menu-toggle, .mobile-drawer { display: none; }
  .header-actions .btn-primary { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--space-6) 0 var(--space-5);
  background: var(--bg-primary);
}
.hero .container {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.hero h1 { margin-bottom: var(--space-3); }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.hero-visual {
  position: relative;
  min-height: 260px;
  will-change: transform, opacity;
}
.ascent-line-svg { width: 100%; height: auto; }
.ascent-line-svg .ascent-path {
  fill: none;
  stroke: var(--red);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw-ascent 2.4s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
.ascent-line-svg .ascent-node {
  fill: var(--gold);
  opacity: 0;
  animation: fade-in 0.5s ease forwards;
}
.ascent-line-svg .ascent-node:nth-of-type(1) { animation-delay: 0.6s; }
.ascent-line-svg .ascent-node:nth-of-type(2) { animation-delay: 1.1s; }
.ascent-line-svg .ascent-node:nth-of-type(3) { animation-delay: 1.6s; }
.ascent-line-svg .ascent-node:nth-of-type(4) { animation-delay: 2.1s; }
.ascent-line-svg .ascent-peak { fill: var(--gold-light); }
@keyframes draw-ascent { to { stroke-dashoffset: 0; } }
@keyframes fade-in { to { opacity: 1; } }

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; }
}

/* ---------- Stat strip ---------- */
.stat-strip {
  background: var(--bg-secondary);
  color: var(--text-light);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  padding: var(--space-4) var(--space-3);
}
.stat {
  border-left: 2px solid var(--red);
  padding-left: var(--space-2);
}
.stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--gold-light);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}
@media (min-width: 700px) {
  .stat-strip .container { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Cards & Grid (Glassmorphism) ---------- */
.grid {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-card);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1),
              box-shadow 0.4s ease,
              border-color 0.4s ease;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 800px;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 60px;
  background: linear-gradient(180deg, var(--red), var(--gold));
  border-radius: 0 0 4px 0;
  opacity: 0.8;
}
.card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-8px) rotateX(2deg) rotateY(-1deg) scale(1.01);
  box-shadow: var(--shadow-soft);
}
.card .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--red-light);
  letter-spacing: 0.1em;
}
.card h3 {
  color: var(--text-white);
  margin-top: var(--space-2);
  margin-bottom: var(--space-1);
}
.card p {
  color: var(--text-muted);
  font-size: 0.96rem;
}

.icon-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(181, 32, 45, 0.15);
  border: 1px solid rgba(181, 32, 45, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}
.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-animation="fadeIn"] { transform: none; opacity: 0; }
.reveal[data-animation="fadeIn"].is-visible { opacity: 1; }
.reveal[data-animation="scaleIn"] { transform: scale(0.95); opacity: 0; }
.reveal[data-animation="scaleIn"].is-visible { transform: scale(1); opacity: 1; }
.reveal[data-animation="slideLeft"] { transform: translateX(-40px); opacity: 0; }
.reveal[data-animation="slideLeft"].is-visible { transform: translateX(0); opacity: 1; }
.reveal[data-animation="slideRight"] { transform: translateX(40px); opacity: 0; }
.reveal[data-animation="slideRight"].is-visible { transform: translateX(0); opacity: 1; }

/* ---------- Split ---------- */
.split {
  display: grid;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: var(--space-5); } }

.callout {
  border-left: 3px solid var(--gold);
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-4);
  border-radius: 0 var(--radius) var(--radius) 0;
  border: 1px solid var(--border-glass);
  border-left-width: 3px;
}
.callout p + p { margin-top: 0.6rem; }
.callout strong { color: var(--text-white); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: var(--space-4); }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--red), var(--gold));
}
.timeline-item { position: relative; padding-bottom: var(--space-4); }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(-1 * var(--space-4) + 2px);
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--red);
}
.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--red-light);
  letter-spacing: 0.08em;
}
.timeline-item h3 { color: var(--text-white); }
.timeline-item p { color: var(--text-muted); }

/* ---------- Services ---------- */
.service-row {
  display: grid;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-top: 1px solid var(--border-glass);
  scroll-margin-top: 96px;
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.service-row:last-child { border-bottom: 1px solid var(--border-glass); }
.service-row:target {
  background: rgba(181, 32, 45, 0.06);
  border-radius: var(--radius);
  padding-left: var(--space-3);
}
@media (min-width: 800px) {
  .service-row { grid-template-columns: 0.7fr 1.3fr 1fr; align-items: start; }
}
.service-index {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.85rem;
}
.service-body h3 { color: var(--text-white); margin-bottom: 0.5rem; }
.service-body p { color: var(--text-muted); }
.service-list { margin-top: var(--space-2); display: grid; gap: 0.5rem; }
.service-list li {
  font-size: 0.9rem;
  color: var(--text-light);
  padding-left: 1.2rem;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.55em;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 1px;
  transform: rotate(45deg);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-secondary), var(--navy));
  color: var(--text-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid var(--border-glass);
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(181, 32, 45, 0.08), transparent 70%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--text-white); max-width: 30ch; margin: 0 auto var(--space-2); }
.cta-banner p { color: var(--text-muted); max-width: 46ch; margin: 0 auto var(--space-4); }
.cta-banner .btn-primary { box-shadow: 0 8px 40px rgba(181, 32, 45, 0.4); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: var(--space-3); }
@media (min-width: 700px) { .form-row-2 { grid-template-columns: 1fr 1fr; display: grid; gap: var(--space-3); } }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.45rem;
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-size: 1rem;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(181, 32, 45, 0.15);
  outline: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field.has-error input, .field.has-error textarea { border-color: var(--red); }
.field-error {
  font-size: 0.8rem;
  color: var(--red-light);
  margin-top: 0.35rem;
  display: none;
}
.field.has-error .field-error { display: block; }
.form-note { font-size: 0.85rem; color: var(--text-dim); margin-top: var(--space-2); }
.form-success {
  display: none;
  background: rgba(76, 175, 80, 0.1);
  border-left: 3px solid #4CAF50;
  padding: var(--space-3);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.form-success.is-visible { display: block; }
.form-success strong { display: block; color: var(--text-white); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.3rem; }

/* ---------- Contact info ---------- */
.contact-detail {
  display: flex;
  gap: var(--space-2);
  align-items: flex-start;
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border-glass);
}
.contact-detail:last-child { border-bottom: none; }
.contact-detail .icon-badge { margin-bottom: 0; flex-shrink: 0; }
.contact-detail h4 { font-family: var(--font-body); font-size: 0.95rem; color: var(--text-white); margin-bottom: 0.2rem; }
.contact-detail p, .contact-detail a { color: var(--text-muted); font-size: 0.92rem; }
.contact-detail a:hover { color: var(--red-light); }
.contact-detail .placeholder { color: var(--text-dim); font-style: italic; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-secondary);
  color: var(--text-dim);
  padding: var(--space-5) 0 var(--space-3);
  border-top: 1px solid var(--border-glass);
}
.footer-grid {
  display: grid;
  gap: var(--space-4);
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: var(--space-2);
}
.footer-brand img {
  height: 40px;
  width: auto;
  background: rgba(255, 255, 255, 0.92);
  padding: 4px;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}
.footer-brand-word {
  font-family: var(--font-display);
  color: var(--text-white);
  font-size: 1.05rem;
}
.footer-tagline { font-style: italic; color: var(--gold-light); font-size: 0.85rem; }
.site-footer h5 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-white);
  margin-bottom: var(--space-2);
}
.site-footer ul { display: grid; gap: 0.6rem; }
.site-footer a:hover { color: var(--gold-light); }

/* ----- Footer bottom (fixed alignment) ----- */
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-glass);
  font-size: 0.82rem;
}
.footer-bottom > span:first-child {
  margin-right: auto; /* copyright stays left */
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-dim);
  margin-left: auto; /* pushes credit to the right */
}
.footer-credit a {
  color: var(--gold-light);
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-credit a:hover {
  color: var(--gold);
  text-decoration: underline;
}
.credit-tagline {
  font-size: 0.7rem;
  opacity: 0.6;
  color: var(--text-dim);
}

.social-links {
  display: flex;
  gap: 0.7rem;
  margin-left: var(--space-2);
}
.social-links a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
  color: var(--text-dim);
}
.social-links a:hover { border-color: var(--gold-light); color: var(--gold-light); }
.social-links svg { width: 15px; height: 15px; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: var(--space-5) 0 var(--space-4);
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-glass);
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: var(--space-2);
}
.breadcrumb a:hover { color: var(--red-light); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }