/* ==========================================================================
   Pinnacle Recruitment Group
  Clean corporate staffing site — black + gold
   Headings: Heebo · Body: Lato
   ========================================================================== */

:root {
  --red: #C99A32;
  --red-dark: #A97717;
  --red-tint: #F7EED8;

  --charcoal: #000000;
  --charcoal-2: #171717;
  --heading: #000000;
  --text: #55534F;
  --text-light: #85827C;

  --bg: #FFFFFF;
  --bg-soft: #F5F3EE;
  --line: #E7E3DA;
  --line-dark: rgba(255,255,255,.12);

  --font-head: "Heebo", "Segoe UI", system-ui, sans-serif;
  --font-body: "Lato", "Segoe UI", system-ui, sans-serif;

  --container: 1200px;
  --pad: clamp(18px, 5vw, 48px);
  --shadow: 0 6px 24px rgba(20,20,25,.08);
}

/* Reset ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); font-weight: 500; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Layout -------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section--soft { background: var(--bg-soft); }
.section--charcoal { background: var(--charcoal); color: #D2D0CA; }
.section--charcoal h1, .section--charcoal h2, .section--charcoal h3 { color: #fff; }

.eyebrow {
  display: block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--red); margin-bottom: 14px;
}
.section--charcoal .eyebrow { color: #E0B84F; }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { margin-top: 12px; color: var(--text); }
.section--charcoal .section-head p { color: #B8B5AE; }

/* Buttons ------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 15px 30px; border: 2px solid var(--red); border-radius: 0;
  background: var(--red); color: #fff; transition: background .2s, border-color .2s, color .2s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255,255,255,.4); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--charcoal); }
.btn svg { width: 14px; height: 14px; }

.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--red);
}
.arrow-link svg { width: 16px; height: 16px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(4px); }

/* Top bar ------------------------------------------------------------------- */
.topbar {
  background: #000; color: #C8C4BB; font-size: .78rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 16px; }
.topbar__left span + span::before { content: "•"; margin: 0 10px; color: var(--red); }
.topbar a { color: #F0EEE9; font-weight: 700; }
@media (max-width: 780px) { .topbar__left span:nth-child(n+2) { display: none; } }

/* Header ------------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--charcoal); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: 72px; height: 72px; object-fit: contain; }
.brand__text { line-height: 1.05; }
.brand__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #fff; letter-spacing: .01em; }
.brand__sub { display: block; font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: #C2A45D; font-weight: 700; }

.nav__menu { display: flex; align-items: center; gap: 4px; }
.nav__menu a {
  font-family: var(--font-head); font-weight: 500; font-size: .88rem;
  color: #D5D2CB; padding: 10px 14px; letter-spacing: .02em;
  border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.nav__menu a:hover { color: #fff; }
.nav__menu a.is-active { color: #fff; border-bottom-color: var(--red); }

.nav__cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.nav__phone { font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: #fff; white-space: nowrap; }
.nav__phone span { display: block; font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #C2A45D; }

.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); padding: 12px; }
.nav__toggle span { display: block; height: 2px; background: #fff; }
.nav__toggle span + span { margin-top: 5px; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; background: var(--charcoal); color: #D2D0CA; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(0,0,0,.82), rgba(0,0,0,.92)), var(--hero-img, none);
  background-size: cover; background-position: center; opacity: .9;
}
.hero > .container { position: relative; z-index: 2; }
.hero__inner { position: relative; z-index: 2; padding: clamp(64px, 12vw, 130px) 0; max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: 20px; font-weight: 500; }
.hero p { font-size: 1.1rem; color: #D0CDC6; margin-bottom: 30px; max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__strip { position: relative; z-index: 2; border-top: 1px solid var(--line-dark); }
.hero__strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero__stat { padding: 26px 24px 26px 0; }
.hero__stat b { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: #fff; }
.hero__stat span { font-size: .82rem; color: #C2A45D; }

/* Split panel (about + stats) ------------------------------------------------ */
.split-panel { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel > * { min-width: 0; }
.split-panel__text { background: var(--bg-soft); padding: clamp(40px, 6vw, 76px); }
.split-panel__text h2 { margin-bottom: 18px; }
.split-panel__stats { background: var(--red); color: #fff; padding: clamp(40px, 6vw, 76px); }
.split-panel__stats .eyebrow { color: rgba(255,255,255,.75); }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; margin-top: 26px; }
.stat-grid b { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; }
.stat-grid span { font-size: .9rem; color: rgba(255,255,255,.85); }

/* Service grid ----------------------------------------------------------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.card-grid > * { min-width: 0; }
.svc { background: #fff; padding: clamp(28px, 3.5vw, 40px); transition: background .2s; }
.svc:hover { background: var(--bg-soft); }
.svc__icon { width: 46px; height: 46px; color: var(--red); margin-bottom: 18px; }
.svc__icon svg { width: 100%; height: 100%; }
.svc h3 { margin-bottom: 10px; }
.svc p { font-size: .95rem; margin-bottom: 16px; }
.svc .arrow-link { font-size: .72rem; }
.grid-cta { text-align: center; margin-top: 44px; }

/* Why / features (charcoal) --------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.feature-grid > * { min-width: 0; }
.feat { background: var(--charcoal); padding: clamp(28px, 3.5vw, 40px); }
.feat__icon { width: 40px; height: 40px; color: var(--red); margin-bottom: 16px; }
.feat__icon svg { width: 100%; height: 100%; }
.feat h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.feat p { font-size: .92rem; color: #B8B5AE; margin: 0; }

/* Reviews ------------------------------------------------------------------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.reviews > * { min-width: 0; }
.review { background: #fff; border: 1px solid var(--line); padding: 30px; display: flex; flex-direction: column; }
.review__stars { color: var(--red); letter-spacing: 2px; margin-bottom: 14px; font-size: .95rem; }
.review p { font-size: .98rem; color: var(--heading); flex-grow: 1; }
.review__by { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.review__by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review__by b { display: block; font-family: var(--font-head); font-size: .9rem; color: var(--heading); }
.review__by span { font-size: .8rem; color: var(--text-light); }
.rating-strip { display: flex; align-items: center; gap: 14px; justify-content: center; margin-bottom: 44px; flex-wrap: wrap; }
.rating-strip b { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--heading); }
.rating-strip .stars { color: var(--red); letter-spacing: 3px; font-size: 1.1rem; }
.rating-strip small { color: var(--text-light); }

/* Logos / accreditations ------------------------------------------------- */
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.trust-row > * { min-width: 0; }
.trust { background: #fff; padding: 30px 22px; text-align: center; }
.trust svg { width: 30px; height: 30px; color: var(--red); margin: 0 auto 12px; }
.trust b { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--heading); }
.trust span { font-size: .8rem; color: var(--text-light); }

.logos-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 46px; }
.logos-line span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: #AEBEB4; letter-spacing: .02em; }

/* Two-column content (features on inner pages) --------------------------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.two-col > * { min-width: 0; }
.two-col--flip .two-col__media { order: 2; }
.two-col__media img { width: 100%; height: clamp(300px, 44vw, 460px); object-fit: cover; }
.two-col__body h2 { margin-bottom: 16px; }
.check-list { margin-top: 20px; }
.check-list li { display: flex; gap: 12px; padding: 9px 0; align-items: flex-start; }
.check-list li svg { width: 20px; height: 20px; color: var(--red); flex-shrink: 0; margin-top: 4px; }
.check-list li b { font-family: var(--font-head); color: var(--heading); }

/* Numbered service list (services page) ------------------------------------ */
.svc-block { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; padding: clamp(44px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.svc-block:last-child { border-bottom: 0; }
.svc-block > * { min-width: 0; }
.svc-block--flip .svc-block__media { order: 2; }
.svc-block__media img { width: 100%; height: clamp(280px, 40vw, 420px); object-fit: cover; }
.svc-block__num { font-family: var(--font-head); font-weight: 700; color: var(--red); font-size: .9rem; letter-spacing: .14em; margin-bottom: 10px; }
.svc-block h2 { margin-bottom: 14px; }

/* Page hero (inner) ------------------------------------------------------ */
.page-hero { background: var(--charcoal); color: #D2D0CA; padding: clamp(48px, 8vw, 84px) 0; }
.page-hero .crumbs { font-size: .78rem; color: #C2A45D; margin-bottom: 12px; letter-spacing: .04em; }
.page-hero .crumbs a { color: #D2D0CA; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #C3C0B8; max-width: 640px; font-size: 1.05rem; }

/* Values / stack list --------------------------------------------------- */
.stack li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.stack li:first-child { border-top: 1px solid var(--line); }
.stack__n { font-family: var(--font-head); font-weight: 700; color: var(--red); }
.stack li b { display: block; font-family: var(--font-head); color: var(--heading); font-size: 1.1rem; margin-bottom: 3px; }
.stack li p { margin: 0; font-size: .95rem; }

/* Team ----------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team > * { min-width: 0; }
.member img { width: 100%; height: clamp(240px, 30vw, 320px); object-fit: cover; margin-bottom: 14px; }
.member b { display: block; font-family: var(--font-head); color: var(--heading); font-size: 1.05rem; }
.member span { font-size: .82rem; color: var(--red); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.section--charcoal .member b { color: #fff; }

/* Sectors ------------------------------------------------------------ */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sectors > * { min-width: 0; }
.sector { position: relative; min-height: 240px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sector::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.85)); }
.sector__body { position: relative; z-index: 1; padding: 22px; }
.sector__body b { display: block; font-family: var(--font-head); font-size: 1.15rem; }
.sector__body span { font-size: .82rem; color: rgba(255,255,255,.82); }

/* Jobs ---------------------------------------------------------------- */
.jobs li {
  display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.jobs li:first-child { border-top: 1px solid var(--line); }
.jobs h3 { font-size: 1.1rem; margin-bottom: 4px; }
.jobs .meta { font-size: .84rem; color: var(--text-light); }
.jobs .tag { font-family: var(--font-head); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); background: var(--red-tint); padding: 6px 12px; white-space: nowrap; }

/* Forms -------------------------------------------------------------- */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.contact-split > * { min-width: 0; }
.form-box { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--heading); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 0;
  font-family: var(--font-body); font-size: .95rem; color: var(--heading); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-check { display: flex; gap: 9px; align-items: flex-start; font-size: .85rem; margin-bottom: 6px; }
.field-check input { width: auto; margin-top: 4px; }
.form-note { font-size: .78rem; color: var(--text-light); margin-top: 12px; }
.form-ok { display: none; background: #EAF6EC; border: 1px solid #BCE0C1; color: #1E7A38; padding: 13px 16px; font-size: .9rem; margin-bottom: 16px; }
.form-ok.show { display: block; }

.info-list li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list li:first-child { border-top: 1px solid var(--line); }
.info-list svg { width: 20px; height: 20px; color: var(--red); margin-top: 3px; }
.info-list b { display: block; font-family: var(--font-head); color: var(--heading); }
.info-list span { font-size: .93rem; }
.map-box { margin-top: 24px; height: 260px; border: 1px solid var(--line); display: grid; place-items: center; text-align: center; color: var(--text-light); font-size: .82rem; padding: 20px;
  background: repeating-linear-gradient(45deg, #f2f2f3, #f2f2f3 12px, #ececee 12px, #ececee 24px); }

/* FAQ --------------------------------------------------------------- */
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; gap: 20px; align-items: center;
  font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--heading); padding: 22px 0; }
.faq__q i { font-style: normal; color: var(--red); font-size: 1.4rem; transition: transform .2s; }
.faq__item.open .faq__q i { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a p { color: var(--text); padding-bottom: 22px; margin: 0; font-size: .96rem; }

/* CTA band --------------------------------------------------------- */
.cta { background: var(--charcoal); color: #D2D0CA; text-align: center; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { max-width: 560px; margin: 0 auto 26px; color: #C3C0B8; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer --------------------------------------------------------------- */
.site-footer { background: #000; color: #B8B5AE; padding: clamp(48px, 7vw, 80px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-grid > * { min-width: 0; }
.site-footer .brand__name { color: #fff; }
.footer-blurb { margin-top: 16px; font-size: .9rem; max-width: 30ch; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-badges span { border: 1px solid rgba(255,255,255,.14); padding: 5px 10px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-col h4 { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #B8B5AE; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .8rem; }
.footer-bottom a { color: #B8B5AE; }

/* Reveal --------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* Mobile drawer ------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 200; background: var(--charcoal); transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding: 22px var(--pad); }
.drawer.open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.drawer__head button { color: #fff; font-size: 1.6rem; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); }
.drawer a { font-family: var(--font-head); font-weight: 500; font-size: 1.3rem; color: #fff; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer__foot { margin-top: auto; padding-top: 24px; font-size: .82rem; color: #C2A45D; }
body.lock { overflow: hidden; }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__toggle { display: block; }
  .split-panel, .two-col, .svc-block, .contact-split { grid-template-columns: 1fr; }
  .two-col--flip .two-col__media, .svc-block--flip .svc-block__media { order: 0; }
  .card-grid, .feature-grid, .reviews, .trust-row, .sectors { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .hero__strip .container { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .card-grid, .feature-grid, .reviews, .trust-row, .sectors, .team, .footer-grid { grid-template-columns: 1fr; }
  .hero__strip .container { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .jobs li { grid-template-columns: 1fr; }
  .topbar .container { justify-content: center; }
  .topbar__right { display: none; }
}

/* ==========================================================================
   Motion & dynamic layer  (v4)
   ========================================================================== */

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%;
  z-index: 300; transition: transform .1s linear;
}

/* Hero: slow ken-burns on the background image + content lift-in */
.hero::before { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.09); } }
.js .hero__inner > * { opacity: 0; transform: translateY(16px); animation: heroIn .7s cubic-bezier(.2,.7,.2,1) forwards; }
.js .hero__inner > *:nth-child(1) { animation-delay: .08s; }
.js .hero__inner > *:nth-child(2) { animation-delay: .18s; }
.js .hero__inner > *:nth-child(3) { animation-delay: .28s; }
.js .hero__inner > *:nth-child(4) { animation-delay: .38s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }
.hero__strip .hero__stat { opacity: 0; transform: translateY(12px); animation: heroIn .6s ease forwards; }
.hero__strip .hero__stat:nth-child(1) { animation-delay: .45s; }
.hero__strip .hero__stat:nth-child(2) { animation-delay: .55s; }
.hero__strip .hero__stat:nth-child(3) { animation-delay: .65s; }
.hero__strip .hero__stat:nth-child(4) { animation-delay: .75s; }

/* Rotating last word of the headline */
.hero__rotator { color: var(--red); display: inline-block; transition: opacity .3s ease, transform .3s ease; }
.hero__rotator.swap { opacity: 0; transform: translateY(8px); }

/* Live vacancies ticker */
.ticker { background: #000; color: #D2D0CA; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.ticker__track { display: flex; width: max-content; animation: tickerScroll 42s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__set { display: flex; flex-shrink: 0; }
.ticker__set > span { display: inline-flex; align-items: center; padding: 12px 26px; font-size: .82rem; letter-spacing: .02em; white-space: nowrap; }
.ticker__set > span + span::before { content: "/"; color: var(--red); margin-right: 26px; opacity: .6; }
.ticker__set > span:first-child { color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.ticker__set > span:first-child::before { display: none; }
.ticker__set > span i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-right: 10px; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(201,154,50,.6); } 50% { box-shadow: 0 0 0 6px rgba(201,154,50,0); } }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Staggered reveal for grid children */
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.js .stagger.in > * { opacity: 1; transform: none; }
.js .stagger.in > *:nth-child(1) { transition-delay: .04s; }
.js .stagger.in > *:nth-child(2) { transition-delay: .10s; }
.js .stagger.in > *:nth-child(3) { transition-delay: .16s; }
.js .stagger.in > *:nth-child(4) { transition-delay: .22s; }
.js .stagger.in > *:nth-child(5) { transition-delay: .28s; }
.js .stagger.in > *:nth-child(6) { transition-delay: .34s; }
.js .stagger.in > *:nth-child(7) { transition-delay: .40s; }
.js .stagger.in > *:nth-child(8) { transition-delay: .46s; }
.js .stagger.in > *:nth-child(9) { transition-delay: .52s; }

/* Section heading: animated accent rule */
.section-head h2 { position: relative; padding-bottom: 18px; }
.section-head h2::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 54px; height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s ease .2s;
}
.section-head.center h2::after { left: 50%; transform: translateX(-50%) scaleX(0); transform-origin: 50% 50%; }
.js .section-head.in h2::after { transform: scaleX(1); }
.js .section-head.center.in h2::after { transform: translateX(-50%) scaleX(1); }

/* Service cards: lift + icon fill + top accent */
.svc { position: relative; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .3s ease; }
.svc:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(20,20,25,.10); z-index: 1; }
.svc:hover::before { width: 100%; }
.svc__icon {
  display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--red-tint); color: var(--red); padding: 15px; transition: background .3s ease, color .3s ease, transform .3s ease;
}
.svc__icon svg { width: 100%; height: 100%; }
.svc:hover .svc__icon { background: var(--red); color: #fff; transform: rotate(-6deg) scale(1.05); }
.card-grid .svc { transition: transform .25s ease, box-shadow .25s ease, background .2s ease; }

/* Feature cards (charcoal): icon pop on hover */
.feat { transition: background .25s ease; }
.feat:hover { background: #1A1A1A; }
.feat__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(201,154,50,.14); color: var(--red); padding: 13px; transition: transform .3s ease, background .3s ease;
}
.feat:hover .feat__icon { transform: translateY(-4px) scale(1.06); background: rgba(201,154,50,.24); }

/* Trust tiles */
.trust { transition: transform .25s ease, box-shadow .25s ease; }
.trust:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(20,20,25,.10); }
.trust svg { transition: transform .3s ease; }
.trust:hover svg { transform: scale(1.12); }

/* Sector tiles: zoom + caption rise */
.sector img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sector:hover img { transform: scale(1.07); }
.sector__body { transform: translateY(6px); transition: transform .3s ease; }
.sector:hover .sector__body { transform: translateY(0); }

/* Reviews / jobs hover */
.review { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.review:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(20,20,25,.09); border-color: transparent; }
.jobs li { transition: background .2s ease, padding .2s ease; }
.jobs li:hover { background: var(--bg-soft); padding-left: 14px; padding-right: 14px; }

/* Two-col / svc-block images: subtle zoom-in-frame */
.two-col__media, .svc-block__media { overflow: hidden; }
.two-col__media img, .svc-block__media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.two-col:hover .two-col__media img, .svc-block:hover .svc-block__media img { transform: scale(1.04); }

/* Button sweep */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.16);
  transform: translateX(-101%); transition: transform .4s ease;
}
.btn:hover::after { transform: translateX(101%); }
.btn > * { position: relative; z-index: 1; }

/* Stat count-up emphasis */
.stat-grid b, .hero__stat b { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .ticker__track, .ticker__set > span i { animation: none !important; }
  .js .hero__inner > *, .hero__strip .hero__stat { opacity: 1; transform: none; animation: none; }
  .js .stagger > * { opacity: 1; transform: none; transition: none; }
}
