/**
 * Theme Name: ApexWSG
 * Theme URI: https://www.apexwsg.com/
 * Description: A custom, responsive landing-page theme for ApexWSG Workforce Solutions Group.
 * Version: 1.0.0
 * Author: ApexWSG
 * Author URI: https://www.apexwsg.com/
 * Text Domain: apexwsg
 * Requires at least: 6.4
 * Requires PHP: 7.4
 */

:root {
  --navy: #10385f;
  --deep: #092844;
  --blue: #1b4c7c;
  --orange: #f58220;
  --mist: #edf4f7;
  --ink: #182735;
  --muted: #5d6c79;
  --white: #fff;
  --shadow: 0 20px 60px #08243d22;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { width: min(1160px, calc(100% - 40px)); margin: auto; }
.top { position: absolute; inset: 0 0 auto; z-index: 5; padding: 22px 0; color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 8px 12px;
  box-shadow: 0 10px 28px #061d3030;
}
.brand-logo {
  display: block;
  width: 250px;
  height: auto;
  aspect-ratio: 1310 / 324;
  object-fit: contain;
}
.navlinks { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 650; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 13px 21px;
  font-weight: 750;
  border: 1px solid transparent;
  transition: .2s;
  cursor: pointer;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #ffb26f; outline-offset: 3px; }
.btn.orange { background: var(--orange); color: white; }
.btn.light { border-color: #ffffff66; background: #ffffff12; color: #fff; }
.hero {
  min-height: 720px;
  background: radial-gradient(circle at 85% 15%, #2e6490 0, transparent 32%), linear-gradient(118deg, var(--deep) 0 55%, #163f66 55% 100%);
  color: #fff;
  display: grid;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  width: 570px;
  height: 570px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  right: -90px;
  top: 85px;
  box-shadow: 0 0 0 80px #ffffff08, 0 0 0 160px #ffffff05;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 70px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 105px;
}
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #ffb26f; margin-bottom: 19px; }
.hero h1 { font-size: clamp(48px, 6.5vw, 82px); line-height: .98; letter-spacing: -4px; margin: 0 0 25px; max-width: 760px; }
.hero p { font-size: 20px; color: #dbe8f0; max-width: 650px; margin: 0 0 33px; }
.hero-actions { display: flex; gap: 13px; flex-wrap: wrap; }
.talent-stack { position: relative; min-height: 430px; width: 100%; max-width: 520px; padding-right: 36px; }
.talent-card {
  background: #fff;
  color: var(--ink);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  position: absolute;
  width: calc(100% - 36px);
  left: 0;
}
.primary-card { top: 0; z-index: 2; transform: rotate(2deg); }
.gov-card { top: 158px; left: 52px; z-index: 1; transform: rotate(-3deg); background: #f7fafc; }
.talent-card::before {
  content: "MATCHED";
  position: absolute;
  right: 22px;
  top: 22px;
  background: #e5f4ec;
  color: #167343;
  border-radius: 30px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
}
.gov-card::before { content: "FEDERAL READY"; background: #fff0e4; color: #b95300; }
.avatar { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(145deg, #fbc58d, #87563d); margin-bottom: 22px; border: 5px solid #fff; box-shadow: 0 5px 20px #0002; }
.gov-card .avatar { background: linear-gradient(145deg, #9bb8ca, #204f77); }
.talent-card h3 { font-size: 25px; margin: 0 0 2px; }
.talent-card p { font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--mist); padding: 7px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: var(--navy); }
.trust { padding: 30px 0; border-bottom: 1px solid #e7edf1; }
.trust .wrap { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.trust strong { color: var(--navy); }
.proof { display: flex; gap: 34px; color: var(--muted); font-size: 14px; }
.section { padding: 96px 0; }
.kicker { color: var(--orange); text-transform: uppercase; font-size: 12px; letter-spacing: 2px; font-weight: 850; }
.section h2 { font-size: clamp(36px, 5vw, 55px); line-height: 1.06; letter-spacing: -2.3px; color: var(--deep); margin: 12px 0 18px; }
.lead { font-size: 18px; color: var(--muted); max-width: 720px; }
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 46px; }
.service { border: 1px solid #dfe7ec; border-radius: 18px; padding: 25px 24px 28px; min-height: 300px; transition: .25s; background: #fff; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: var(--navy); background: linear-gradient(145deg, #f5f9fb, #e4eef3); border: 1px solid #dce8ee; }
.service-icon svg { width: 27px; height: 27px; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.num { font-size: 12px; font-weight: 900; color: var(--orange); }
.service h3 { font-size: 22px; line-height: 1.15; color: var(--navy); margin: 27px 0 13px; }
.service p { font-size: 14px; color: var(--muted); }
.arrow { display: block; margin-top: 22px; font-size: 22px; color: var(--orange); }
.method { background: var(--mist); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; }
.step { padding: 0 30px; border-left: 1px solid #c6d5df; }
.step:first-child { padding-left: 0; border: 0; }
.step b { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; }
.step h3 { color: var(--navy); margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.panel { background: var(--deep); border-radius: 25px; padding: 42px; color: #fff; box-shadow: var(--shadow); }
.metric { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid #ffffff22; }
.metric:last-child { border: 0; }
.metric i { font-style: normal; font-size: 28px; color: var(--orange); font-weight: 900; }
.metric p { margin: 3px 0 0; color: #cbdbe6; font-size: 14px; }
.check { list-style: none; padding: 0; margin: 28px 0; }
.check li { padding: 11px 0 11px 34px; position: relative; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.leadership { background: linear-gradient(180deg, #f7fafc 0, #edf4f7 100%); border-top: 1px solid #e2ebf0; }
.leadership-head { display: flex; justify-content: space-between; gap: 42px; align-items: end; }
.leadership-head .lead { max-width: 540px; margin-bottom: 8px; }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.leader { background: #fff; border: 1px solid #dce7ed; border-radius: 20px; padding: 26px; box-shadow: 0 14px 38px #08243d0a; }
.leader .leader-avatar { display: block; width: 86px; height: 86px; border-radius: 50%; object-fit: cover; object-position: center 30%; border: 3px solid #fff; outline: 1px solid #dce7ed; box-shadow: 0 10px 24px #08243d24; }
.leader .leader-avatar.tara { object-position: center 24%; }
.leader .leader-avatar.jerry { object-position: center 30%; }
.leader .leader-avatar.kevin { object-position: center 28%; }
.leader h3 { margin: 23px 0 3px; color: var(--navy); font-size: 21px; }
.leader-role { color: var(--orange); font-size: 13px; font-weight: 800; letter-spacing: .4px; }
.leader p { color: var(--muted); font-size: 14px; margin: 15px 0 0; }
.faq { background: #fff; }
.faq-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 72px; align-items: start; }
.faq-list { border-top: 1px solid #dce7ed; }
.faq-item { border-bottom: 1px solid #dce7ed; padding: 0; }
.faq-item summary { list-style: none; cursor: pointer; color: var(--navy); font-size: 18px; font-weight: 800; padding: 22px 42px 22px 0; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 4px; top: 17px; color: var(--orange); font-size: 28px; font-weight: 500; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: -4px 44px 22px 0; color: var(--muted); font-size: 15px; }
.cta { padding: 90px 0; background: linear-gradient(120deg, var(--navy), var(--deep)); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; gap: 40px; align-items: center; }
.cta h2 { font-size: clamp(36px, 5vw, 58px); line-height: 1; margin: 0 0 14px; letter-spacing: -2px; }
.cta p { margin: 0; color: #cadce8; }
.footer { background: #061d30; color: #aabeca; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; padding-top: 30px; padding-bottom: 30px; border-top: 1px solid #ffffff18; }
.footer .brand { padding: 6px 9px; }
.footer .brand-logo { width: 190px; }
.site-fallback { min-height: 70vh; padding: 140px 0 80px; }
.site-fallback h1 { color: var(--deep); font-size: clamp(38px, 5vw, 58px); }
.site-fallback .entry-content { max-width: 760px; }

@media (max-width: 900px) {
  .brand-logo { width: 215px; }
  .navlinks a:not(.btn) { display: none; }
  .hero { min-height: auto; padding: 155px 0 80px; }
  .hero-grid, .why, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 28px; }
  .talent-stack { min-height: 430px; max-width: 520px; }
  .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 35px; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .leadership-head { align-items: start; flex-direction: column; gap: 0; }
  .leaders { grid-template-columns: 1fr 1fr; }
  .cta .wrap { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 26px, 1160px); }
  .top { padding: 15px 0; }
  .brand { padding: 6px 8px; border-radius: 9px; }
  .brand-logo { width: 176px; }
  .hero { padding-top: 138px; }
  .hero h1 { letter-spacing: -2.5px; }
  .hero p { font-size: 17px; }
  .services, .steps, .leaders { grid-template-columns: 1fr; }
  .step { border-left: 0; padding-left: 0; }
  .trust .wrap, .proof, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .section { padding: 72px 0; }
  .navlinks { gap: 8px; }
  .navlinks .btn { font-size: 0; padding: 11px; width: 44px; height: 44px; justify-content: center; }
  .navlinks .btn::after { content: "→"; font-size: 20px; }
  .btn { padding: 11px 16px; }
  .talent-stack { display: none; }
  .footer .brand-logo { width: 184px; }
  .faq-item summary { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
