/* =============================================================================
   DUKE GROUP -- design system v2
   Minimalist, light, warm-cream layout: bold rounded headings, orange
   accent, soft cream section backgrounds, plain white cards with shadow
   (no blur/glass), a navy-to-orange banner as the one signature gradient
   moment, offset color blocks behind photos for a touch of depth. Each
   division keeps its own accent color (from the database) for buttons,
   icons and its stat banner; the group pages use the flagship orange.
============================================================================= */

:root {
  --white:      #ffffff;
  --cream:      #fbf2e7;
  --cream-2:    #f5e7d6;
  --ink:        #1e2340;
  --ink-soft:   #3a4160;
  --body-text:  #5b6472;
  --line:       #ece2d4;
  --line-white: #e9ecf3;

  --orange:       #f2701c;
  --orange-dark:  #d75f10;
  --orange-soft:  #fde9d8;
  --navy-deep:    #1c1a4a;
  --navy-deep-2:  #241f5c;

  --gradient-banner: linear-gradient(115deg, var(--navy-deep) 0%, #4a2f7a 45%, var(--orange) 100%);

  --font-heading: 'Baloo 2', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;

  --shadow-card: 0 12px 30px rgba(30, 35, 64, 0.08);
  --shadow-card-hover: 0 20px 40px rgba(30, 35, 64, 0.13);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--body-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-block;
  margin-bottom: 0.6em;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding-top: 88px; padding-bottom: 88px; position: relative; }
.section-tight { padding: 52px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }

@media (max-width: 720px) {
  .section { padding-top: 56px; padding-bottom: 56px; }
}

/* ---------------------------------------------------------------------------
   Brand mark -- three stacked parallelograms, echoing the reference logo
--------------------------------------------------------------------------- */
.brand-mark-icon {
  display: inline-flex;
  gap: 4px;
  margin-bottom: 18px;
}
.brand-mark-icon span {
  width: 12px; height: 26px;
  border-radius: 4px;
  background: var(--orange);
  transform: skewX(-16deg);
}
.brand-mark-icon span:nth-child(2) { opacity: 0.72; }
.brand-mark-icon span:nth-child(3) { opacity: 0.45; }
.center .brand-mark-icon { justify-content: center; }

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.8em;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(242, 112, 28, 0.3);
}
.btn-primary:hover { background: var(--orange-dark); box-shadow: 0 14px 30px rgba(242, 112, 28, 0.4); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--navy-deep);
}
.btn-white:hover { background: var(--cream); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.6em 1.2em; font-size: 0.85rem; }

/* ---------------------------------------------------------------------------
   Site header / nav
--------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-white);
}
.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
}
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 1.1rem;
}
.brand img.brand-logo-img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  padding: 0.65em 1.1em;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: var(--cream); }
.nav-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-white);
  color: var(--ink);
  width: 42px; height: 42px;
  border-radius: 10px;
  align-items: center; justify-content: center;
  font-size: 1.1rem;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line-white);
    padding: 10px 20px 18px;
    display: none;
    box-shadow: 0 16px 30px rgba(30,35,64,0.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { justify-content: flex-start; padding: 0.85em 0.5em; }
}

/* ---------------------------------------------------------------------------
   Hero -- full-bleed image/gradient banner
--------------------------------------------------------------------------- */
.hero-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--navy-deep) center / cover no-repeat;
  overflow: hidden;
}
.hero-banner.has-image::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,18,50,0.86) 0%, rgba(20,18,50,0.55) 55%, rgba(20,18,50,0.35) 100%);
}
.hero-banner:not(.has-image) {
  background-image:
    radial-gradient(circle at 15% 25%, rgba(255,255,255,0.08), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,0.06), transparent 45%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 90px; }
.hero-eyebrow { color: rgba(255,255,255,0.75); font-weight: 600; font-size: 1rem; margin-bottom: 0.4em; display: block; }
.hero-title { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.2rem); max-width: 15ch; margin: 0 0 0.3em; }
.hero-title .accent { color: var(--orange); }
.hero-sub { color: rgba(255,255,255,0.82); font-size: 1.1rem; max-width: 55ch; margin-bottom: 2em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------------------------------------------------------------------------
   Home hero -- texture, glow orbs and floating elements
--------------------------------------------------------------------------- */
.hero-banner.hero-fancy {
  background:
    radial-gradient(120% 90% at 85% 0%, #3a2a86 0%, rgba(58,42,134,0) 60%),
    linear-gradient(165deg, #1a1846 0%, #241f5c 55%, #2f2470 100%);
  min-height: 680px;
  isolation: isolate;
}
.hero-texture, .hero-grain { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-texture {
  background-image:
    radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.4px),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 18px);
  background-size: 24px 24px, auto;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}
.hero-grain {
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: 0; animation: orbDrift 14s ease-in-out infinite; }
.hero-orb.orb-1 { width: 300px; height: 300px; background: var(--orange); opacity: 0.42; top: -90px; right: -80px; }
.hero-orb.orb-2 { width: 260px; height: 260px; background: #7a4fd6; opacity: 0.5; bottom: -60px; left: -90px; animation-delay: -6s; }
@keyframes orbDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(24px, 18px); } }

/* floating parallelograms (echo of the brand mark) */
.float-shape { position: absolute; width: 20px; height: 62px; border-radius: 6px; background: var(--orange); z-index: 0; pointer-events: none; animation: shapeFloat 8s ease-in-out infinite; }
.float-shape.fs-1 { top: 26px; right: 26px; }
.float-shape.fs-2 { top: 44px; right: 62px; opacity: 0.6; animation-delay: -2s; }
.float-shape.fs-3 { top: 66px; right: 98px; opacity: 0.3; animation-delay: -4s; }
.float-shape.fs-4 { bottom: 110px; left: 22px; width: 14px; height: 44px; opacity: 0.35; animation-delay: -3s; }
@keyframes shapeFloat { 0%, 100% { transform: skewX(-16deg) translateY(0); } 50% { transform: skewX(-16deg) translateY(-16px); } }

.hero-fancy .hero-inner { padding-bottom: 130px; }
.hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero-fancy .hero-title { font-size: clamp(2.8rem, 9vw, 4.8rem); max-width: none; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 0.6em;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.88); font-weight: 600; font-size: 0.85rem; margin-bottom: 1.2em;
}
.hero-pill .pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 0 rgba(242,112,28,0.7); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0% { box-shadow: 0 0 0 0 rgba(242,112,28,0.6); } 70% { box-shadow: 0 0 0 10px rgba(242,112,28,0); } 100% { box-shadow: 0 0 0 0 rgba(242,112,28,0); } }

/* floating division chips around a ringed core */
.hero-floaters { position: relative; height: 440px; }
.hero-rings { position: absolute; left: 50%; top: 50%; width: 340px; height: 340px; transform: translate(-50%, -50%); }
.hero-rings::before, .hero-rings::after { content: ''; position: absolute; border-radius: 50%; }
.hero-rings::before { inset: 0; border: 1px dashed rgba(255,255,255,0.22); animation: spin 50s linear infinite; }
.hero-rings::after { inset: 17%; border: 1px solid rgba(255,255,255,0.12); }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-core {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px;
  border-radius: 50%; background: linear-gradient(135deg, var(--orange), #ff9a52);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 2rem;
  box-shadow: 0 0 0 10px rgba(242,112,28,0.18), 0 20px 50px rgba(242,112,28,0.45);
}
.ring-core img { width: 60%; height: 60%; object-fit: contain; }

.float-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 11px 18px 11px 11px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 18px 40px rgba(8,6,32,0.35);
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; white-space: nowrap;
  animation: chipFloat var(--t, 6s) ease-in-out var(--d, 0s) infinite;
  transition: box-shadow 0.2s;
}
.float-chip:hover { box-shadow: 0 24px 50px rgba(8,6,32,0.5); }
.float-chip .chip-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--c, var(--orange)); color: #fff; font-size: 1.05rem; flex-shrink: 0; }
.float-chip.fc-1 { top: 6%; left: 0; --r: -3deg; --t: 6s; }
.float-chip.fc-2 { top: 38%; right: 0; --r: 2deg; --t: 7s; --d: -2s; }
.float-chip.fc-3 { bottom: 6%; left: 8%; --r: -2deg; --t: 8s; --d: -4s; }
@keyframes chipFloat { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }

.hero-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 64px; z-index: 1; display: block; }

@media (max-width: 900px) {
  .hero-banner.hero-fancy { min-height: 0; }
  .hero-split { grid-template-columns: 1fr; gap: 28px; }
  .hero-fancy .hero-inner { padding-top: 64px; padding-bottom: 96px; }
  .hero-floaters { height: 270px; margin-top: 8px; }
  .hero-rings { width: 250px; height: 250px; }
  .ring-core { width: 70px; height: 70px; margin: -35px 0 0 -35px; font-size: 1.5rem; }
  .float-chip { padding: 9px 15px 9px 9px; font-size: 0.9rem; border-radius: 16px; }
  .float-chip .chip-icon { width: 36px; height: 36px; font-size: 0.95rem; }
  .float-chip.fc-1 { top: 0; left: 0; bottom: auto; }
  .float-chip.fc-2 { top: 88px; right: 0; }
  .float-chip.fc-3 { top: 176px; bottom: auto; left: 6%; }
  .float-shape.fs-4 { display: none; }
  .hero-wave { height: 36px; }
}
@media (max-width: 480px) {
  .hero-fancy .hero-cta .btn { width: 100%; justify-content: center; }
}

/* ---------------------------------------------------------------------------
   Section headers
--------------------------------------------------------------------------- */
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.section-head p { color: var(--body-text); font-size: 1.02rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------------------------------------------------------------------------
   Division cards (group home)
--------------------------------------------------------------------------- */
.division-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
@media (max-width: 980px) { .division-grid { grid-template-columns: 1fr; } }

.division-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  border-top: 4px solid transparent;
}
.division-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.division-card .division-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}
.division-card h3 { font-size: 1.4rem; }
.division-card p { font-size: 0.96rem; flex-grow: 1; }
.division-card .division-cta { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 700; font-size: 0.92rem; }

/* ---------------------------------------------------------------------------
   Fact strip (small stat chips)
--------------------------------------------------------------------------- */
.fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
}
.fact-chip {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 14px;
}
.fact-chip i { font-size: 1.25rem; }
.fact-chip strong { display: block; font-family: var(--font-heading); font-size: 1.15rem; color: var(--ink); }
.fact-chip span { color: var(--body-text); font-size: 0.82rem; }

/* ---------------------------------------------------------------------------
   About / split section with offset color block behind the image
--------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 32px; } }
.about-copy p { margin: 0 0 1.1em; white-space: pre-line; }
.checklist { display: grid; gap: 12px; margin: 1.4em 0; }
.checklist li { display: flex; gap: 0.7em; align-items: flex-start; font-size: 0.96rem; color: var(--ink-soft); }
.checklist li i { color: var(--orange); margin-top: 0.25em; }

.offset-figure { position: relative; }
.offset-figure::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  background: var(--offset-color, var(--orange));
  border-radius: var(--radius-md);
  z-index: 0;
}
.offset-figure img, .offset-figure .offset-figure-fallback {
  position: relative; z-index: 1;
  border-radius: var(--radius-md);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-card);
}
.offset-figure .offset-figure-fallback {
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 3rem;
}

/* Mission & vision -- big, bold statement panels */
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.mv-panel { border-radius: var(--radius-lg); padding: 52px 44px; color: #fff; box-shadow: var(--shadow-card); }
.mv-label { display: inline-flex; align-items: center; gap: 0.6em; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.78); margin-bottom: 1.2em; }
.mv-statement { font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.3; color: #fff; margin: 0; }
@media (max-width: 600px) { .mv-panel { padding: 36px 26px; } }

/* ---------------------------------------------------------------------------
   Services -- image-topped cards
--------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.service-card-media {
  height: 170px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 2.1rem;
}
.service-card-body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex-grow: 1; }
.service-card h3 { font-size: 1.15rem; margin: 0; }
.service-card p { font-size: 0.92rem; margin: 0; }
.service-features { display: grid; gap: 8px; margin-top: 4px; }
.service-features li { display: flex; gap: 0.6em; font-size: 0.86rem; color: var(--body-text); align-items: flex-start; }
.service-features li i { margin-top: 0.25em; font-size: 0.7rem; flex-shrink: 0; color: var(--orange); }

/* ---------------------------------------------------------------------------
   Stat / financial-benefit banner
--------------------------------------------------------------------------- */
.stat-banner {
  background: var(--gradient-banner);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
@media (max-width: 800px) { .stat-banner { grid-template-columns: 1fr; } }
.stat-banner .stat-label { color: rgba(255,255,255,0.72); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.4em; display: block; }
.stat-banner .stat-value { font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--orange); margin: 0 0 0.3em; }
.stat-banner .stat-rule { width: 64px; height: 3px; background: rgba(255,255,255,0.4); border: none; margin-bottom: 1.2em; }
.stat-banner .checklist li { color: #fff; }
.stat-banner .checklist li i { color: var(--orange); }

/* ---------------------------------------------------------------------------
   Team
--------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.team-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 28px; text-align: left; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.team-photo { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; margin-bottom: 16px; }
.team-photo-fallback {
  width: 68px; height: 68px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem;
  color: #fff; margin-bottom: 16px;
}
.team-card h3 { font-size: 1.08rem; margin-bottom: 0.15em; }
.team-card .role { font-size: 0.85rem; color: var(--orange); font-weight: 600; margin-bottom: 0.9em; display: block; }
.team-card p.bio { font-size: 0.88rem; color: var(--body-text); }

/* ---------------------------------------------------------------------------
   Testimonials
--------------------------------------------------------------------------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px 32px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 40px 30px 30px;
  position: relative;
  margin-top: 34px;
}
.testimonial-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover;
  position: absolute; top: -34px; left: 30px;
  box-shadow: var(--shadow-card);
  border: 3px solid #fff;
}
.testimonial-avatar-fallback {
  width: 68px; height: 68px; border-radius: 50%;
  position: absolute; top: -34px; left: 30px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 700; color: #fff;
  border: 3px solid #fff; box-shadow: var(--shadow-card);
}
.testimonial-card p.quote { font-size: 0.98rem; color: var(--ink-soft); margin: 0 0 1.4em; }
.testimonial-card strong { display: block; font-size: 0.95rem; color: var(--ink); }
.testimonial-card span { color: var(--orange); font-size: 0.85rem; font-weight: 600; }

/* ---------------------------------------------------------------------------
   Milestones (timeline)
--------------------------------------------------------------------------- */
.timeline {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 12px;
  scrollbar-width: thin;
}
.timeline-item {
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 22px;
  border-bottom: 4px solid var(--orange);
}
.timeline-year { font-weight: 700; color: var(--orange); font-size: 0.85rem; }
.timeline-item h4 { font-size: 1.5rem; margin: 0.2em 0; }
.timeline-item span { display: block; color: var(--body-text); font-size: 0.82rem; }

/* ---------------------------------------------------------------------------
   Affiliates / clients / banks strip
--------------------------------------------------------------------------- */
.affiliate-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.affiliate-tabs button {
  background: #fff; border: 1px solid var(--line);
  color: var(--body-text); padding: 0.5em 1.2em; border-radius: 999px;
  cursor: pointer; font-size: 0.85rem; font-weight: 600; transition: all 0.2s;
}
.affiliate-tabs button.active, .affiliate-tabs button:hover { color: #fff; background: var(--ink); border-color: var(--ink); }
.affiliate-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.affiliate-chip {
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center;
}
.affiliate-chip img { max-height: 34px; max-width: 100%; object-fit: contain; }
.affiliate-chip span { font-size: 0.82rem; color: var(--body-text); font-weight: 600; }

/* ---------------------------------------------------------------------------
   CTA banner (diagonal gradient)
--------------------------------------------------------------------------- */
.cta-banner {
  background: var(--gradient-banner);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.cta-banner h2 { color: #fff; margin: 0.2em 0 0; }
.cta-banner .eyebrow { color: rgba(255,255,255,0.75); }

/* ---------------------------------------------------------------------------
   Contact
--------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: var(--ink); color: rgba(255,255,255,0.85); border-radius: var(--radius-md); padding: 36px 32px; }
.contact-info-card h3 { color: #fff; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact-info-row i { font-size: 1.1rem; margin-top: 0.2em; color: var(--orange); }
.contact-info-row strong { display: block; font-size: 0.78rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2em; }
.contact-info-row a, .contact-info-row div { color: rgba(255,255,255,0.9); }
.contact-form-card { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 36px 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; color: var(--ink-soft); font-weight: 600; }
.field input, .field select, .field textarea {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85em 1em;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; font-weight: 500; }
.alert-success { background: #e6f7ee; border: 1px solid #a9e5c4; color: #1e7d47; }
.alert-error { background: #fdeaea; border: 1px solid #f3b3b3; color: #b3261e; }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.site-footer { background: var(--cream); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; margin-bottom: 44px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 1em; }
.footer-grid a { display: block; color: var(--body-text); font-size: 0.9rem; margin-bottom: 0.7em; transition: color 0.2s; }
.footer-grid a:hover { color: var(--orange); }
.footer-about p { color: var(--body-text); font-size: 0.9rem; max-width: 40ch; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line);
  color: var(--body-text); font-size: 0.82rem; flex-wrap: wrap; gap: 12px;
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.footer-socials a:hover { background: var(--orange); }

/* ---------------------------------------------------------------------------
   Utility
--------------------------------------------------------------------------- */
.text-muted { color: var(--body-text); }
.mt-0 { margin-top: 0; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 10px; height: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #e0cdb0; border-radius: 8px; }

:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
