/* =========================================================================
   Exhale Staffing — product showcase, client logos, testimonials and the
   "you might need this too" bridges between products.
   ========================================================================= */

.exsec { padding: clamp(56px, 7vw, 100px) 0; }
.exwrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.exkick {
  display: inline-flex; align-items: center; gap: 9px;
  font: 800 .78rem/1 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #e10614; margin: 0 0 14px;
}
.exkick::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.exh2 {
  font: 800 clamp(1.7rem, 3.3vw, 2.7rem)/1.12 system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -.03em; margin: 0 0 16px; color: #0d1526;
}
.exlead { font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.68; color: #4b5a70; max-width: 64ch; }
html[data-theme='dark'] .exh2 { color: #eef2f8; }
html[data-theme='dark'] .exlead { color: #a3b0c2; }

/* ---------------- product showcase ---------------- */
.exprod-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(252px, 1fr)); }
.exprod {
  display: block; text-decoration: none; height: 100%;
  background: #fff; border: 1px solid rgba(15,23,42,.10); border-radius: 20px;
  padding: 26px 24px; position: relative; overflow: hidden;
  transition: transform .26s cubic-bezier(.2,.7,.3,1), box-shadow .26s ease, border-color .26s ease;
}
html[data-theme='dark'] .exprod { background: #121a29; border-color: rgba(255,255,255,.12); }
.exprod::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 4px;
  background: var(--pc, #e10614); transform: scaleX(0); transform-origin: left;
  transition: transform .32s cubic-bezier(.2,.7,.3,1);
}
.exprod:hover { transform: translateY(-5px); box-shadow: 0 26px 52px -30px rgba(2,10,28,.45); border-color: var(--pc); }
.exprod:hover::after { transform: scaleX(1); }
.exprod img { width: 52px; height: 52px; display: block; margin-bottom: 16px; }
.exprod h3 { font: 750 1.16rem/1.3 system-ui, sans-serif; color: #0d1526; margin: 0 0 8px; }
.exprod p  { font-size: .95rem; line-height: 1.62; color: #5a6a80; margin: 0 0 14px; }
.exprod .exgo { font-weight: 750; font-size: .93rem; color: var(--pc); }
html[data-theme='dark'] .exprod h3 { color: #eef2f8; }
html[data-theme='dark'] .exprod p  { color: #a3b0c2; }
.pc-hr  { --pc: #2b6ef0; } .pc-ta  { --pc: #f07000; }
.pc-ecs { --pc: #12886a; } .pc-kcp { --pc: #7c46e0; }

/* ---------------- client logo marquee ---------------- */
.exlogos { position: relative; overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.exlogos-track { display: flex; gap: 56px; width: max-content; animation: exMarquee 34s linear infinite; }
.exlogos:hover .exlogos-track { animation-play-state: paused; }
@keyframes exMarquee { to { transform: translateX(-50%); } }
.exlogo {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  height: 62px; padding: 0 8px; filter: grayscale(1); opacity: .62;
  transition: filter .3s ease, opacity .3s ease, transform .3s ease;
}
.exlogo:hover { filter: none; opacity: 1; transform: translateY(-2px); }
.exlogo img, .exlogo svg { max-height: 54px; width: auto; display: block; }
html[data-theme='dark'] .exlogo { filter: grayscale(1) invert(1) brightness(1.7); opacity: .7; }
html[data-theme='dark'] .exlogo:hover { filter: invert(1) brightness(1.7); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .exlogos-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

/* ---------------- testimonials ---------------- */
.extest-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.extest {
  background: #fff; border: 1px solid rgba(15,23,42,.10); border-radius: 20px;
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px; height: 100%;
}
html[data-theme='dark'] .extest { background: #121a29; border-color: rgba(255,255,255,.12); }
.extest .exquote { font-size: 2.6rem; line-height: .6; color: #e10614; opacity: .32; font-family: Georgia, serif; }
.extest blockquote { margin: 0; font-size: 1.02rem; line-height: 1.7; color: #33415a; }
html[data-theme='dark'] .extest blockquote { color: #c3cede; }
.extest figcaption { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.extest .exav {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; font: 800 .95rem/1 system-ui, sans-serif;
  background: #e9eefb; color: #234a9e;
}
.extest .exwho b { display: block; font-size: .96rem; color: #0d1526; }
.extest .exwho span { display: block; font-size: .84rem; color: #7a8798; }
html[data-theme='dark'] .extest .exwho b { color: #eef2f8; }

/* ---------------- the bridges between products ---------------- */
.exbridge {
  position: relative; overflow: hidden; border-radius: 24px;
  padding: clamp(28px, 4vw, 48px);
  background: linear-gradient(135deg, #0b1220 0%, #17253f 62%, #0b1220 100%);
  color: #fff;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(22px, 3vw, 46px); align-items: center;
}
@media (max-width: 860px) { .exbridge { grid-template-columns: 1fr; } }
.exbridge::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 60%; height: 180%;
  background: radial-gradient(closest-side, var(--bc, #2b6ef0), transparent 70%);
  opacity: .30; pointer-events: none;
}
.exbridge h3 {
  position: relative;
  font: 800 clamp(1.45rem, 2.6vw, 2.15rem)/1.16 system-ui, sans-serif;
  letter-spacing: -.025em; margin: 0 0 14px; color: #fff;
}
.exbridge p { position: relative; color: rgba(255,255,255,.78); line-height: 1.68; margin: 0 0 22px; }
.exbridge .exbadge {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font: 800 .74rem/1 system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase;
  color: var(--bc); margin: 0 0 14px;
}
.exbridge .exbtn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; text-decoration: none;
  background: var(--bc); color: #fff; font-weight: 750;
  transition: transform .2s cubic-bezier(.2,.7,.3,1), filter .2s ease;
}
.exbridge .exbtn:hover { transform: translateY(-2px); filter: brightness(1.08); color: #fff; }
.exbridge-art {
  position: relative; border-radius: 18px; padding: 22px;
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.13);
}
.exbridge-art ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.exbridge-art li { display: flex; gap: 11px; align-items: flex-start; font-size: .95rem; color: rgba(255,255,255,.84); }
.exbridge-art li::before {
  content: ""; flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; border-radius: 6px;
  background: var(--bc); opacity: .9;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' stroke='%23000' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' stroke='%23000' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.bc-hr { --bc: #4d8bff; } .bc-ta { --bc: #ff9333; }
.bc-ecs { --bc: #2fbb95; } .bc-kcp { --bc: #a97cff; } .bc-par { --bc: #ff5563; }

.exbridges { display: grid; gap: 20px; }

/* ---------------- video ---------------- */
.exvideo-band { background: linear-gradient(160deg, #0a1220 0%, #16253f 58%, #0a1220 100%); color: #fff; }
.exvideo-band .exh2 { color: #fff; }
.exvideo-band .exlead { color: rgba(255,255,255,.74); }
.exvideo-band .exkick { color: #ff8a3d; }

.exvideo {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 44px 90px -50px rgba(0,0,0,.85);
  background: #05080f; aspect-ratio: 16 / 9;
}
.exvideo video { width: 100%; height: 100%; display: block; object-fit: cover; }
.exvideo-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity .45s ease, transform .8s ease;
}
.exvideo.playing .exvideo-poster { opacity: 0; transform: scale(1.03); pointer-events: none; }

.exvideo-play {
  position: absolute; inset: 0; display: grid; place-items: center;
  border: 0; background: rgba(4,10,22,.24); cursor: pointer; padding: 0;
  transition: opacity .35s ease, background .35s ease;
}
.exvideo.playing .exvideo-play { opacity: 0; pointer-events: none; }
.exvideo-play:hover { background: rgba(4,10,22,.34); }
.exvideo-play i {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: #e10614; box-shadow: 0 0 0 0 rgba(225,6,20,.5);
  animation: exPulse 2.6s ease-out infinite; font-style: normal;
}
.exvideo-play i::after {
  content: ""; width: 0; height: 0; margin-left: 6px;
  border-left: 22px solid #fff; border-top: 14px solid transparent; border-bottom: 14px solid transparent;
}
@keyframes exPulse {
  0%   { box-shadow: 0 0 0 0 rgba(225,6,20,.48); }
  70%  { box-shadow: 0 0 0 26px rgba(225,6,20,0); }
  100% { box-shadow: 0 0 0 0 rgba(225,6,20,0); }
}
.exvideo-play span {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font: 700 .95rem/1 system-ui, sans-serif; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.6);
  white-space: nowrap;
}
@media (prefers-reduced-motion: reduce) { .exvideo-play i { animation: none; } }

.exvideo-notes { display: grid; gap: 14px; align-content: center; }
.exvideo-notes li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.82); }
.exvideo-notes li b { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 2px; }
.exvideo-notes li em {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(255,255,255,.09); color: #ff9f5c; font-style: normal; font-weight: 800; font-size: .82rem;
}
.exvideo-grid { display: grid; grid-template-columns: 1.5fr .95fr; gap: clamp(24px, 3.4vw, 48px); align-items: center; }
@media (max-width: 900px) { .exvideo-grid { grid-template-columns: 1fr; } }
