/* ==========================================================================
   Strategic Workforce Partners — Homepage v2
   Calm, editorial, SHRM-calibre styling for the redesigned homepage.
   Deliberately restrained: no card shadows, no gradients on content
   blocks, minimal hover movement. Scoped to homepage-only classes so
   the rest of the site (Services, Industries icon-box grids, etc.)
   keeps its existing treatment.
   Version: 1.0 — 2026-07-22
   ========================================================================== */

/* ---- Hero ---- */
.swp-hero-v2 {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}
@media (max-width: 600px) { .swp-hero-v2 { min-height: 460px; } }

/* Fixed, full-viewport video sits behind the whole page. It only shows
   through the hero (the hero container has no opaque background of its
   own); every section below the hero has a solid background colour, so
   scrolling naturally covers the video — no extra JS needed. */
.swp-hero-video-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}
.swp-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.swp-hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8,22,38,.5) 0%, rgba(15,42,71,.42) 55%, rgba(15,42,71,.28) 100%);
}

/* Respect reduced-motion / reduced-data preferences: freeze on first frame */
@media (prefers-reduced-motion: reduce) {
  .swp-hero-video { display: none; }
  .swp-hero-video-wrap { background: #0F2A47; }
}

/* ---- Trust bar ---- */
.swp-trust-v2 { }

/* ---- Services v2: navy panel, white text, framed photo ---- */
.swp-sec-services-v2 { padding-top: 96px; padding-bottom: 112px; }
@media (max-width: 1024px) { .swp-sec-services-v2 { padding-top: 64px; padding-bottom: 76px; } }
@media (max-width: 600px) { .swp-sec-services-v2 { padding-top: 56px; padding-bottom: 64px; } }

.swp-round-photo img {
  border-radius: 16px;
  display: block;
  position: relative;
  z-index: 1;
}

.swp-feature-row:last-of-type {
  border-bottom: none !important;
}

/* Decorative offset gold frame peeking out behind the photo */
.swp-services-image-wrap {
  position: relative;
}
.swp-services-image-wrap::before {
  content: '';
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid #C9A227;
  border-radius: 16px;
  z-index: 0;
}

/* Floating caption chip overlapping the bottom-left of the photo */
.swp-services-caption {
  position: absolute;
  left: 24px;
  bottom: -18px;
  z-index: 2;
  background: #FFFFFF;
  color: #0F2A47;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 8px;
  border-left: 4px solid #C9A227;
  box-shadow: 0 14px 28px rgba(8, 22, 38, .28);
  max-width: calc(100% - 48px);
}
@media (max-width: 767px) {
  .swp-services-caption { font-size: 13px; padding: 10px 14px; }
}

/* ---- Process (dark section) ---- */
.swp-sec-process-v2 { padding-top: 88px; padding-bottom: 88px; }
@media (max-width: 1024px) { .swp-sec-process-v2 { padding-top: 64px; padding-bottom: 64px; } }
@media (max-width: 600px) { .swp-sec-process-v2 { padding-top: 56px; padding-bottom: 56px; } }

.swp-process-step {
  padding-right: 24px;
}
@media (max-width: 1024px) {
  .swp-process-step {
    border-right: none !important;
    border-bottom: 1px solid rgba(255,255,255,.14);
    padding: 0 0 28px 0 !important;
    margin-bottom: 4px;
  }
  .swp-process-step:last-child { border-bottom: none; padding-bottom: 0 !important; }
}

/* ---- Industries ---- */
.swp-sec-industries-v2 { padding-top: 96px; padding-bottom: 96px; }
@media (max-width: 1024px) { .swp-sec-industries-v2 { padding-top: 64px; padding-bottom: 64px; } }
@media (max-width: 600px) { .swp-sec-industries-v2 { padding-top: 56px; padding-bottom: 56px; } }

/* ---- Careers strip: slim, distinct from full sections ---- */
.swp-careers-strip-v2 { }

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  .swp-hero-photo img { transition: none !important; }
}
