/* ==========================================================================
   ABS Bright Solution — home.css  (index.html)
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--white) 0%, var(--cyan-wash) 100%);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero-arc {
  position: absolute;
  inset: auto -12% -18% -18%;
  width: 128%;
  opacity: 0.5;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.8rem, 4vw, 3.4rem);
  align-items: center;
}

.hero-copy h1 { margin: 0.8rem 0 1rem; }
.hero-lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 34ch; }

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.6rem 0 0.8rem;
}
.hero-buttons .btn { font-size: 1.16rem; padding: 0.85rem 1.9rem; }
.hero-fineprint { font-size: 0.95rem; color: var(--slate); }
/* ---------- Marquee (scrolling line after hero) ---------- */
.marquee-band {
  background: var(--white);
  border-top: 3px solid var(--yellow);
  border-bottom: 3px solid var(--yellow);
  overflow: hidden;
  width: 100%;
}

.marquee-track {
  width: 100%;
  overflow: hidden;
}

.marquee-content {
  display: flex;
  align-items: center;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0.8rem 0;
  animation: abs-marquee 30s linear infinite;
}

.marquee-content span {
  display: block;
  flex-shrink: 0;
  white-space: nowrap;
  padding-right: 4rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  color: var(--black);
}

@keyframes abs-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-band:hover .marquee-content {
  animation-play-state: paused;
}

@media (max-width: 620px) {
  .marquee-content span {
    font-size: 0.92rem;
    padding-right: 2.4rem;
  }
}



/* Job board card */
.board {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 28px 60px -34px rgba(8, 43, 58, 0.7);
  border-top: 6px solid var(--cyan);
  padding: 1.5rem 1.5rem 1.2rem;
}
.board-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.board-top h2 { font-size: 1.5rem; margin: 0; }
.board-live {
  font-size: 0.86rem;
  color: var(--slate);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.board-live i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 0 rgba(255, 194, 14, 0.7);
  animation: ping 2.4s ease-out infinite;
}
@keyframes ping {
  70% { box-shadow: 0 0 0 9px rgba(255, 194, 14, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 194, 14, 0); }
}

.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  border-bottom: 1px dashed var(--line);
}
.board-list b {
  font-family: var(--display);
  font-size: 1.16rem;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}
.board-list span { font-size: 0.92rem; color: var(--slate); }
.board-list em {
  font-style: normal;
  font-family: var(--display);
  font-weight: 700;
  color: var(--cyan-deep);
  white-space: nowrap;
  font-size: 1.02rem;
}
.board-more {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--display);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 3px solid var(--yellow);
  padding-bottom: 2px;
}
.board-more:hover { color: var(--cyan-deep); }

/* One orchestrated page-load reveal */
.hero-copy > *, .board { animation: rise 0.65s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }
.hero-copy > *:nth-child(4) { animation-delay: 0.18s; }
.hero-copy > *:nth-child(5) { animation-delay: 0.24s; }
.board { animation-delay: 0.2s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Numbers strip ---------- */
.strip { background: var(--ink); color: var(--white); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding-block: 2rem;
}
.strip-grid div { border-left: 3px solid var(--yellow); padding-left: 0.9rem; }
.strip-grid b {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
  display: block;
}
.strip-grid span { font-size: 0.94rem; color: #a9c6d3; }

/* ---------- Two paths ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.path {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: var(--white);
}
.path--seeker { border-top: 8px solid var(--yellow); }
.path--employer { border-top: 8px solid var(--cyan); }
.path ul { list-style: none; margin: 1.2rem 0 1.6rem; padding: 0; display: grid; gap: 0.6rem; }
.path li { position: relative; padding-left: 1.7rem; }
.path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--cyan);
}
.path--seeker li::before { background: var(--yellow); }
.path-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* ---------- Roles ---------- */
.roles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.roles li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.2rem;
}
.roles-ico { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.roles b {
  font-family: var(--display);
  font-size: 1.18rem;
  color: var(--ink);
  display: block;
}
.roles em { font-style: normal; font-size: 0.92rem; color: var(--slate); }

/* ---------- Steps ---------- */
.steps {
  list-style: none;
  counter-reset: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.steps li { position: relative; padding-top: 1.2rem; border-top: 2px solid var(--line); }
.steps li:first-child { border-top-color: var(--cyan); }
.steps-n {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--yellow);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 0.7rem;
}
.steps h3 { font-size: 1.24rem; }
.steps p { font-size: 0.97rem; color: var(--slate); }

/* ---------- Employer proof ---------- */
.proof { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2.5rem; align-items: center; }
.proof p { color: #9dbecd; }
.proof .btn { margin-top: 0.6rem; }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); overflow: hidden; }
.proof-stats > div { background: var(--ink); padding: 1.2rem; }
.proof-stats dt { font-size: 0.9rem; color: #9dbecd; }
.proof-stats dd {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--yellow);
  line-height: 1.15;
}

/* ---------- Quotes ---------- */
.quotes { position: relative; background: var(--white); border-radius: var(--r-lg); padding: clamp(1.6rem, 4vw, 2.6rem); border: 1px solid var(--line); }
.quote { display: none; margin: 0; }
.quote.is-on { display: block; }
.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.85rem);
  line-height: 1.32;
  color: var(--ink);
  max-width: 44ch;
}
.quote figcaption b { font-family: var(--display); font-size: 1.1rem; color: var(--ink); display: block; }
.quote figcaption span { font-size: 0.94rem; color: var(--slate); }

.quote-nav { display: flex; align-items: center; gap: 0.8rem; margin-top: 1.6rem; }
.quote-nav button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.quote-nav button:hover { background: var(--cyan-wash); border-color: var(--cyan); }
.quote-dots { display: flex; gap: 0.4rem; }
.quote-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); display: block; }
.quote-dots i.on { background: var(--cyan); }
.quotes-link { margin-top: 1.2rem; }
.quotes-link a { font-family: var(--display); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--cyan);
  color: var(--white);
  padding: clamp(3rem, 7vw, 4.5rem) 0;
  text-align: center;
}
.cta-inner h2 { color: var(--white); }
.cta-inner p { margin-inline: auto; color: #eaf9ff; }
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.8rem; margin: 1.5rem 0 1rem; }
.cta-alt { font-size: 0.96rem; }
.cta-alt a { color: var(--white); text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-lead { max-width: 52ch; }
  .strip-grid { grid-template-columns: 1fr 1fr; }
  .paths { grid-template-columns: 1fr; }
  .roles { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .proof { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .roles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .proof-stats { grid-template-columns: 1fr; }
  .hero-buttons .btn { flex: 1 1 100%; }
}
