/* ================================================================
   Foresight Africa — Service Detail Shared Styles
   Scoped to .fa-svc. Used by all 6 individual service pages.
   ================================================================ */

:root {
  --orange:      #E77816;
  --orange-dark: #c9670f;
  --black:       #0F0F0F;
  --grey:        #A6ABB0;
  --grey-light:  #F4F5F6;
  --grey-mid:    #6B7280;
  --white:       #ffffff;
}

html { scroll-behavior: smooth; }

/* ── ANIMATIONS ── */
@keyframes svc-fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes svc-fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes svc-slideLeft {
  from { opacity: 0; transform: translateX(-48px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes svc-slideRight {
  from { opacity: 0; transform: translateX(48px); }
  to   { opacity: 1; transform: translateX(0); }
}

.fa-svc .anim-fade-up    { opacity: 0; }
.fa-svc .anim-fade-in    { opacity: 0; }
.fa-svc .anim-slide-left { opacity: 0; }
.fa-svc .anim-slide-right{ opacity: 0; }

.fa-svc .animated.anim-fade-up    { animation: svc-fadeUp    0.7s cubic-bezier(.22,.68,0,1.2) forwards; }
.fa-svc .animated.anim-fade-in    { animation: svc-fadeIn    0.55s ease forwards; }
.fa-svc .animated.anim-slide-left { animation: svc-slideLeft 0.7s cubic-bezier(.22,.68,0,1.2) forwards; }
.fa-svc .animated.anim-slide-right{ animation: svc-slideRight 0.7s cubic-bezier(.22,.68,0,1.2) forwards; }

.fa-svc .delay-1 { animation-delay: 0.1s !important; }
.fa-svc .delay-2 { animation-delay: 0.22s !important; }
.fa-svc .delay-3 { animation-delay: 0.36s !important; }
.fa-svc .delay-4 { animation-delay: 0.5s !important; }
.fa-svc .delay-5 { animation-delay: 0.64s !important; }
.fa-svc .delay-6 { animation-delay: 0.78s !important; }
.fa-svc .delay-7 { animation-delay: 0.92s !important; }

/* ── LAYOUT ── */
.fa-svc .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── BREADCRUMB ── */
.fa-svc .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.fa-svc .breadcrumb a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.18s;
}
.fa-svc .breadcrumb a:hover { color: var(--orange); }
.fa-svc .breadcrumb__sep { opacity: 0.4; }
.fa-svc .breadcrumb__current { color: var(--orange); }

/* ── PAGE HERO ── */
.fa-svc .page-hero {
  position: relative;
  background: #0F0F0F;
  padding: 100px 0 88px;
  overflow: hidden;
}
.fa-svc .page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 420px; height: 420px;
  background: rgba(231,120,22,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.fa-svc .page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 300px; height: 300px;
  background: rgba(231,120,22,0.04);
  border-radius: 50%;
  pointer-events: none;
}
.fa-svc .page-hero .container { position: relative; z-index: 1; }

.fa-svc .page-hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(231,120,22,0.4);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 22px;
}
.fa-svc .page-hero__headline {
  font-size: clamp(28px, 4vw, 50px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  max-width: 720px;
  margin-bottom: 20px;
}
.fa-svc .page-hero__headline span { color: var(--orange); }
.fa-svc .page-hero__sub {
  font-size: 17px;
  color: #A6ABB0;
  max-width: 560px;
  line-height: 1.72;
}

/* ── SPLIT SECTIONS ── */
.fa-svc .split {
  padding: 88px 0;
}
.fa-svc .split--white { background: #fff; }
.fa-svc .split--grey  { background: var(--grey-light); }
.fa-svc .split--dark  { background: var(--black); }

.fa-svc .split__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.fa-svc .split__img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.fa-svc .split__img--tall  { height: 480px; }
.fa-svc .split__img--short { height: 320px; }

.fa-svc .split__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
}
.fa-svc .split__divider {
  width: 56px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin: 0 0 26px;
}
.fa-svc .split__heading {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--black);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}
.fa-svc .split--dark .split__heading { color: #fff; }

.fa-svc .split__body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--black);
}
.fa-svc .split--dark .split__body { color: var(--grey); }
.fa-svc .split__body p + p { margin-top: 16px; }

/* ── FEATURE LIST ── */
.fa-svc .feat-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.fa-svc .feat-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 16px;
  color: var(--black);
  line-height: 1.6;
}
.fa-svc .split--dark .feat-list li { color: var(--grey); }
.fa-svc .feat-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  background: var(--orange);
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

/* ── FEATURE PILLS ── */
.fa-svc .feat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.fa-svc .feat-pill {
  background: rgba(231,120,22,0.09);
  color: var(--orange);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid rgba(231,120,22,0.25);
}

/* ── FEATURE CARDS ── */
.fa-svc .feat-cards {
  padding: 88px 0;
  background: var(--grey-light);
}
.fa-svc .feat-cards--dark {
  background: var(--black);
}
.fa-svc .feat-cards__header {
  text-align: center;
  margin-bottom: 52px;
}
.fa-svc .feat-cards__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.fa-svc .feat-cards__heading {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.fa-svc .feat-cards--dark .feat-cards__heading { color: #fff; }

.fa-svc .feat-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fa-svc .feat-cards__grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.fa-svc .feat-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
  padding: 32px 28px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.fa-svc .feat-cards--dark .feat-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}
.fa-svc .feat-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 28px rgba(231,120,22,0.12);
  transform: translateY(-3px);
}
.fa-svc .feat-card__icon {
  width: 50px; height: 50px;
  background: rgba(231,120,22,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: background 0.2s;
}
.fa-svc .feat-card:hover .feat-card__icon { background: var(--orange); }
.fa-svc .feat-card__icon svg {
  width: 22px; height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.2s;
}
.fa-svc .feat-card:hover .feat-card__icon svg { stroke: #fff; }
.fa-svc .feat-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.25;
}
.fa-svc .feat-cards--dark .feat-card__title { color: #fff; }
.fa-svc .feat-card__desc {
  font-size: 15px;
  color: var(--black);
  line-height: 1.7;
}
.fa-svc .feat-cards--dark .feat-card__desc { color: var(--grey); }
.fa-svc .feat-card .feat-list {
  margin-top: 16px;
}
.fa-svc .feat-card .feat-list li {
  font-size: 15px;
}

/* ── CTA ── */
.fa-svc .cta-section {
  padding: 100px 0;
  background: var(--orange);
  text-align: center;
}
.fa-svc .cta-section__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.fa-svc .cta-section__heading {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
}
.fa-svc .cta-section__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.65;
}
.fa-svc .cta-section__btn {
  display: inline-block;
  background: #fff;
  color: var(--orange);
  font-size: 15px;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.2s;
}
.fa-svc .cta-section__btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .fa-svc .split__inner { grid-template-columns: 1fr; gap: 40px; }
  .fa-svc .feat-cards__grid { grid-template-columns: 1fr 1fr; }
  .fa-svc .feat-cards__grid--2col { grid-template-columns: 1fr; }

  /* On single-column, always show image below text */
  .fa-svc .split__img { order: 1; }
}
@media (max-width: 600px) {
  .fa-svc .container  { padding: 0 20px; }
  .fa-svc .split      { padding: 64px 0; }
  .fa-svc .split__img { height: 250px; }
  .fa-svc .split__img--tall { height: 280px; }
  .fa-svc .feat-cards { padding: 64px 0; }
  .fa-svc .feat-cards__grid { grid-template-columns: 1fr; }
  .fa-svc .page-hero { padding: 72px 0 64px; }
}

@media (prefers-reduced-motion: reduce) {
  .fa-svc .anim-fade-up,
  .fa-svc .anim-fade-in,
  .fa-svc .anim-slide-left,
  .fa-svc .anim-slide-right {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}
