/* ==========================================================================
   Homepage — Editorial Design
   ========================================================================== */

/* ── Hero ── */
.hero__subtitle {
  font-size: var(--fs-body-lg);
  max-width: 560px;
  margin-top: var(--space-lg);
  line-height: var(--lh-body);
}

/* ══════════════════════════════════════════════════════════════════════════
   PHILOSOPHY — Split Layout with decorative shapes behind photo
   ══════════════════════════════════════════════════════════════════════════ */
.philosophy-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.philosophy-split__text .eyebrow {
  margin-bottom: var(--space-md);
}

.philosophy-split__text h2 {
  margin-bottom: var(--space-lg);
}

.philosophy-split__rule {
  width: 80px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: var(--space-lg);
}

.philosophy-split__text p {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--color-body);
}

.philosophy-split__visual {
  position: relative;
  padding: 30px;
}

.philosophy-split__image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 8px 8px 0 var(--color-primary);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.philosophy-split__visual:hover .philosophy-split__image {
  box-shadow: 12px 12px 0 var(--color-primary);
  transform: translate(-2px, -2px);
}

/* Shape 1: Large orange circle — top right behind image */
.philosophy-split__visual::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.15;
  z-index: 0;
}

/* Shape 2: Rotated orange square — bottom left behind image */
.philosophy-split__visual::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -5px;
  width: 100px;
  height: 100px;
  background: var(--color-primary);
  opacity: 0.1;
  border-radius: var(--radius-sm);
  transform: rotate(15deg);
  z-index: 0;
}

/* ══════════════════════════════════════════════════════════════════════════
   TARGETED SEARCH SPOTLIGHT — Full-width featured service
   ══════════════════════════════════════════════════════════════════════════ */
.ps-spotlight {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-3xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
  position: relative;
  overflow: hidden;
}

/* Decorative rings in corner */
.ps-spotlight::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.ps-spotlight::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ps-spotlight__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
}

.ps-spotlight__content h2 {
  color: var(--color-white);
  font-size: var(--fs-h1);
  margin-bottom: var(--space-md);
}

.ps-spotlight__content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-body);
  margin-bottom: var(--space-xl);
}

.ps-spotlight__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
  padding-top: calc(var(--fs-eyebrow) + var(--space-lg) + var(--fs-h1) + var(--space-md));
}

.ps-spotlight__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.ps-spotlight__features li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  margin-top: 0.45em;
}

/* ── Stacked wrapper ── */
.services-stacked {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* ══════════════════════════════════════════════════════════════════════════
   OPPORTUNITY PIPELINE COMPANION — Smaller grey 1b card
   ══════════════════════════════════════════════════════════════════════════ */
.pp-companion {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-2xl);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.pp-companion__eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.pp-companion__content h3 {
  color: var(--color-dark);
  margin-bottom: var(--space-xs);
}

.pp-companion__content p {
  color: var(--color-muted);
  font-size: var(--fs-small);
  line-height: var(--lh-body);
}

.pp-companion__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  padding-top: calc(var(--fs-eyebrow) + var(--space-sm) + var(--fs-h3) + var(--space-xs));
}

.pp-companion__features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-xs);
  font-size: var(--fs-small);
  color: var(--color-body);
  line-height: 1.5;
}

.pp-companion__features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.4em;
}

.pp-companion__content .btn {
  margin-top: var(--space-md);
}

/* ══════════════════════════════════════════════════════════════════════════
   DECORATIVE CURVES — Flowing line section dividers
   ══════════════════════════════════════════════════════════════════════════ */
.section-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
  pointer-events: none;
}

.section-divider--on-white {
  background: var(--color-white);
}

.section-divider--on-light {
  background: var(--color-bg-light);
}

.section-divider--on-alt {
  background: var(--color-bg-alt);
}

.section-divider svg {
  position: absolute;
  bottom: 0;
  left: -2%;
  width: 104%;
  height: 100%;
}

.section-divider svg path {
  fill: none;
  stroke: var(--color-primary);
}

/* ══════════════════════════════════════════════════════════════════════════
   CLIENT HIGHLIGHTS
   ══════════════════════════════════════════════════════════════════════════ */
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.client-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-xl);
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition-base);
}

.client-card:hover {
  box-shadow: var(--shadow-md);
}

.client-card__logo {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.client-card__logo img {
  max-height: 100%;
  max-width: 180px;
  object-fit: contain;
}

.client-card__logo--dark {
  background: var(--color-dark);
  border-radius: var(--radius-sm);
  padding: var(--space-sm) var(--space-md);
}

.client-card__name {
  margin-bottom: var(--space-xs);
}

.client-card__industry {
  font-size: var(--fs-small);
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--fw-medium);
}

/* ══════════════════════════════════════════════════════════════════════════
   ADDITIONAL SERVICES — 3-column editorial with hover accents
   ══════════════════════════════════════════════════════════════════════════ */
.services-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

.service-item {
  padding-top: var(--space-xl);
  border-top: 3px solid var(--color-primary);
}

.service-item h3 {
  margin-bottom: var(--space-sm);
}

.service-item p {
  color: var(--color-muted);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
}

/* ══════════════════════════════════════════════════════════════════════════
   PRE-FOOTER CTA — Light variant with decorative accent
   ══════════════════════════════════════════════════════════════════════════ */
.cta-light {
  text-align: center;
  padding: var(--space-3xl) var(--space-xl);
}

.cta-light h2 {
  margin-bottom: var(--space-md);
}

/* Decorative orange rule under CTA heading */
.cta-light h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  margin: var(--space-md) auto 0;
}

.cta-light p {
  color: var(--color-muted);
  font-size: var(--fs-body-lg);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .client-grid {
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {
  .hero__subtitle {
    max-width: 100%;
  }
  .philosophy-split {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .ps-spotlight {
    grid-template-columns: 1fr;
    padding: var(--space-2xl);
  }
  .ps-spotlight__features {
    padding-top: 0;
  }
  .pp-companion {
    grid-template-columns: 1fr;
    padding: var(--space-xl);
  }
  .pp-companion__features {
    padding-top: 0;
  }
  .pp-companion .btn {
    justify-self: start;
  }
  .services-editorial {
    grid-template-columns: 1fr;
  }
  .client-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
  .section-divider {
    height: 60px;
  }
}
