/* Icon paths: the --vt-icon url() is resolved where base.css uses var(--vt-icon), so "../../" only worked at a
   site root (404 under WordPress). The mask-image longhands next to it resolve against this file. */
/* 01 · Home — Figma 361:71 (Desktop 361:72 · Mobile 361:365) */

/* Header overlay (362:301 / 362:405): absolutely placed over the hero photo, transparent ground */
.page-home { position: relative; background: var(--vt-semantic-sunken); }
.page-home > .vt-header { position: absolute; top: 0; left: 0; right: 0; z-index: 50; background: transparent; }

.vt-icon--calendar { --vt-icon: url("../../assets/icons/icon-24-calendar.svg"); -webkit-mask-image: url("../../assets/icons/icon-24-calendar.svg"); mask-image: url("../../assets/icons/icon-24-calendar.svg"); }
.hm-icon { width: 34px; height: 34px; color: var(--vt-base-white); }
.hm-disc {
  display: grid; place-items: center; flex: none;
  width: 64px; height: 64px; border-radius: var(--vt-radius-pill);
  background: var(--cliente-p1-rol-secondary);
}

/* Section heading + subhead (56/56 desktop · 34/34 mobile) */
.hm-h2 {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 34px; line-height: 34px; letter-spacing: -0.68px;
  color: var(--vt-semantic-ink);
}
.hm-h2--on-dark { color: var(--vt-base-white); }
.hm-sub { margin-top: 16px; font-size: 16px; line-height: 25px; color: var(--vt-semantic-body); } /* 24.8 → box 25 */
@media (min-width: 1024px) {
  .hm-h2 { font-size: 56px; line-height: 56px; letter-spacing: -1.4px; }
  .hm-sub { font-size: 20px; line-height: 31px; }
}

/* -----------------------------------------------------------------------------
   Hero — photo full-bleed · 361:73 (1440 × 755) / 362:347 (375 × 833)
   Layers bottom → top: gradient + photo (361:74) · vignette (361:75) · scrim (361:76)
   ----------------------------------------------------------------------------- */
.hm-hero { position: relative; display: flex; flex-direction: column; min-height: 833px; overflow: hidden; background: var(--cliente-p1-rol-deep); color: var(--vt-base-white); }
.hm-hero__media { position: absolute; inset: 0; overflow: hidden; }
.hm-hero__parallax, .hm-hero__photo { position: absolute; inset: 0; }
.hm-hero__photo {
  background: linear-gradient(115deg, #010B2B 0%, #022873 40%, #0460D9 76%, #479EE5 100%);
  transform: scale(var(--vt-photo-scale, 1));
}
.hm-hero__photo picture, .hm-hero__photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hm-hero__photo img { object-fit: cover; object-position: center; }   /* responsive AVIF/WebP (was a 674 KB CSS background at every width) */
html.vt-motion .hm-hero__photo { will-change: transform; }
.hm-hero__media::before, .hm-hero__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hm-hero__media::before { background: radial-gradient(ellipse 38.46% 33.33% at 50% 50%, rgba(0, 0, 0, 0) 45%, rgba(1, 5, 28, 0.58) 100%); }
.hm-hero__media::after {  /* scrim · mobile (vertical) 362:350 */
  background: linear-gradient(180deg, rgba(1, 9, 36, 0.78) 0%, rgba(1, 9, 36, 0.5) 38%, rgba(1, 9, 36, 0.82) 70%, rgba(1, 9, 36, 0.95) 100%);
}
.hm-hero__inner { position: relative; z-index: 2; flex: 1 0 auto; padding: 192px 20px 28px; }
.hm-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hm-hero__eyebrow { font-size: 12px; line-height: 15px; font-weight: 700; letter-spacing: 1.44px; opacity: 0.85; --vt-rest-o: 0.85; }
.hm-hero__title {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 46px; line-height: 44.16px; letter-spacing: -0.92px;
  color: var(--vt-base-white);
}
.hm-hero__intro { font-size: 16px; line-height: 25px; color: #DEEBED; }  /* raw 362:355 */
.hm-hero__ctas { align-self: stretch; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; }
.hm-hero__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 59px; padding: 0 30px 0 34px; border-radius: var(--vt-radius-pill);
  font-size: 16px; line-height: 19.36px; font-weight: 600; white-space: nowrap;
  transition: background-color var(--vt-dur-1) var(--vt-ease-soft), box-shadow var(--vt-dur-1) var(--vt-ease-soft), transform var(--vt-dur-2) var(--vt-ease-out);
}
.hm-hero__btn .vt-arrow { font-size: 17px; line-height: 20.57px; }
.hm-hero__btn--lime  { background: var(--vt-raw-lime); color: var(--cliente-p1-rol-deep); }
.hm-hero__btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55); color: var(--vt-base-white); }
.hm-hero__btn:focus-visible { outline: 3px solid var(--vt-semantic-link-on-dark); outline-offset: 0; }
.hm-hero__btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .hm-hero__btn--lime:hover  { background: var(--cliente-p2-rol-accent); }
  .hm-hero__btn--ghost:hover { background: var(--vt-raw-white-a08); box-shadow: inset 0 0 0 1.5px var(--vt-base-white); }
}

/* Proof strip — 361:89 / 362:363 */
.hm-proof { position: relative; z-index: 2; background: rgba(1, 8, 33, 0.58); }
.hm-proof__inner { display: flex; align-items: flex-start; padding: 20px; }
.hm-proof__stat { flex: 0 0 111px; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding: 0 8px 0 14px; }
.hm-proof__stat:first-child { padding-left: 0; }
.hm-proof__stat + .hm-proof__stat { position: relative; margin-left: 1px; }   /* 1px divider sits between the stats */
.hm-proof__stat + .hm-proof__stat::before { content: ""; position: absolute; left: -1px; top: 0; width: 1px; height: 46px; background: var(--vt-raw-white-a22); }
.hm-proof__num {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 28px; line-height: 34px; color: var(--vt-base-white); white-space: nowrap;
}
.hm-proof__num--lime { color: var(--vt-raw-lime); }
.hm-proof__label { margin-right: -6px; font-size: 10px; line-height: 12px; font-weight: 600; letter-spacing: 0.9px; color: #C7D9DE; } /* raw 361:92 · −6px: browser Inter sets "AVERAGE FIRST" ~2px wider than Figma's 89px box */

@media (min-width: 1024px) {
  .hm-hero { min-height: 755px; }
  .hm-hero__media::after {  /* scrim 361:76, left → right */
    background: linear-gradient(90deg, rgba(1, 9, 36, 0.95) 0%, rgba(1, 9, 36, 0.68) 42%, rgba(1, 9, 36, 0.1) 82%, rgba(1, 9, 36, 0) 100%);
  }
  .hm-hero__inner, .hm-proof__inner { width: 100%; max-width: 1264px; margin-inline: auto; padding-inline: 32px; } /* 1200 content: x = 120 at 1440 */
  .hm-hero__inner { padding-top: 163px; }
  .hm-hero__content { gap: 24px; width: 720px; max-width: 100%; }
  .hm-hero__title { font-size: 92px; line-height: 86.48px; letter-spacing: -1.84px; }
  .hm-hero__intro { max-width: 600px; font-size: 19px; line-height: 29.45px; margin-bottom: -1.8px; }   /* Figma box 116 for 4 × 29.45 */
  .hm-hero__ctas { align-self: auto; flex-direction: row; gap: 14px; padding-top: 0; }
  .hm-proof__inner { height: 108px; align-items: center; padding-block: 0; }
  .hm-proof__stat { flex: none; padding: 0 64px; }
  .hm-proof__stat + .hm-proof__stat::before { top: 50%; margin-top: -23px; }
  .hm-proof__num { font-size: 40px; line-height: 48px; }
  .hm-proof__label { margin-right: 0; font-size: 11px; line-height: 13px; letter-spacing: 0.99px; white-space: nowrap; }
}

/* -----------------------------------------------------------------------------
   Job search — 361:101 / 362:375
   ----------------------------------------------------------------------------- */
.hm-search { padding-block: 28px 40px; }
.hm-searchcard {
  display: flex; flex-direction: column;
  padding: 26px 22px;
  border-radius: var(--vt-radius-32);
  background: var(--cliente-p1-rol-surface);
  box-shadow: inset 0 0 0 1px var(--vt-neutral-100), var(--vt-shadow-card);
}
.hm-searchcard__title {
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 24px; line-height: 28px; letter-spacing: -0.36px;
  color: var(--vt-semantic-ink);
}
.hm-searchcard__fields { margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.hm-searchcard__fields .vt-t-label { line-height: 14px; }
.hm-searchcard__submit { width: 100%; height: 56px; justify-content: space-between; }
.hm-searchcard__popular { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
@media (min-width: 1024px) {
  .hm-search { padding-block: 22px; }
  .hm-searchcard { padding: 34px; }
  .hm-searchcard__title { font-size: 28px; line-height: 32px; letter-spacing: -0.42px; }
  .hm-searchcard__fields { flex-direction: row; align-items: flex-end; gap: 16px; }
  .hm-searchcard__fields .vt-field { flex: 1 1 0; }
  .hm-searchcard__submit { width: auto; justify-content: flex-start; }
  .hm-searchcard__popular { gap: 8px 10px; }
}

/* -----------------------------------------------------------------------------
   Two ways in — 361:125 / 363:380 · Card/Path 197:8 (light) · 197:22 (dark)
   ----------------------------------------------------------------------------- */
.hm-ways { padding-block: 48px 56px; }
.hm-ways__cards { margin-top: 44px; display: flex; flex-direction: column; gap: 20px; }
.hm-path {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 0;   /* Mobile instances hug with no gap (367 / 339) */
  padding: 30px 22px; border-radius: var(--vt-radius-32);
  background: var(--vt-base-white);
}
.hm-path::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100); pointer-events: none; }
.hm-path--dark { background: var(--vt-semantic-slab); }
.hm-path--dark::after { content: none; }
.hm-path__bg { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; opacity: 0.2; transition: opacity var(--vt-dur-3) var(--vt-ease-soft); }
.hm-path__bg img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--vt-dur-5) var(--vt-ease-out); }
.hm-path__top, .hm-path__foot { position: relative; }
.hm-path__top { display: flex; flex-direction: column; align-items: flex-start; }
.hm-path__title {
  margin-top: 28px;
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 28px; line-height: 32.2px; letter-spacing: -0.42px;
  color: var(--vt-semantic-ink);
}
.hm-path__desc { margin-top: 18px; font-size: 15px; line-height: 23px; color: var(--vt-semantic-body); }
.hm-path--dark .hm-path__title { color: var(--vt-base-white); }
.hm-path--dark .hm-path__desc { color: var(--cliente-p1-rol-tint-200); }
.hm-path__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }   /* longer client labels wrap under the button */
/* Figma fills it secondary #0460D9: deep text 3.39:1 (fails AA for 15px). Contrast fix 2026-10-20 (Juan OK):
   tertiary #1583D1 (deep text 4.80:1; fill vs the dark card 3.79:1); hover steps up to brand cyan #00AFEF (7.73:1). */
.hm-path__register { background: var(--cliente-p1-rol-tertiary); }
.hm-path__more { font-size: 14px; line-height: 14px; font-weight: 600; color: var(--cliente-p1-rol-primary); }
.hm-path--dark .hm-path__more { color: var(--vt-raw-sky); }
@media (hover: hover) and (pointer: fine) {
  .hm-path:hover .hm-path__bg { opacity: 0.3; }
  .hm-path:hover .hm-path__bg img { transform: scale(1.05); }
  .hm-path__register:hover { background: var(--vt-semantic-field); }
}
@media (min-width: 1024px) {
  .hm-ways { padding-block: 0 110px; }
  .hm-ways__cards { flex-direction: row; gap: 24px; }
  .hm-path { flex: 1 1 0; min-width: 0; height: 430px; padding: 44px; }
  .hm-path__title { font-size: 36px; line-height: 41.4px; letter-spacing: -0.54px; }
  .hm-path__desc { font-size: 17px; line-height: 26px; }
  .hm-path__more { font-size: 15px; line-height: 15px; }
}

/* -----------------------------------------------------------------------------
   Latest vacancies — 361:133 / 363:419
   ----------------------------------------------------------------------------- */
.hm-latest { padding-block: 56px; background: var(--cliente-p1-rol-surface); }
.hm-latest__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hm-latest__cards { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.hm-latest__cards .vt-card-job__title { line-height: 32px; min-height: 64px; }   /* 32.2 → Figma box 64 */
.hm-latest__cards .vt-card-job__employer { line-height: 19px; }
@media (min-width: 1024px) {
  .hm-latest { padding-block: 110px; }
  .hm-latest__head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .hm-latest__cards { flex-direction: row; gap: 24px; }
  .hm-latest__cards > li { flex: 1 1 0; min-width: 0; }
}

/* -----------------------------------------------------------------------------
   How it works — 361:145 / 364:481
   ----------------------------------------------------------------------------- */
.hm-how { padding-block: 56px; background: var(--vt-semantic-slab); color: var(--cliente-p1-rol-tint-200); }
.hm-how__sub { margin-top: 14px; font-size: 16px; line-height: 25px; }
.hm-how__hairline { display: block; margin-top: 56px; height: 1px; background: var(--vt-raw-white-a16); }
.hm-how__steps { display: flex; flex-direction: column; }
.hm-step { display: flex; flex-direction: column; align-items: flex-start; padding: 24px 0 26px; }
.hm-step + .hm-step { border-top: 1px solid var(--vt-raw-white-a16); }
.hm-step__num {
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 56px; line-height: 56px; letter-spacing: -1.68px;
  /* Brand cyan #00AFEF on the #1E1962 slab = 6.1:1. Figma's #0460D9 there is 2.7:1 (axe color-contrast,
     dp-qa S1 gate 2026-10-19); brand colours only — #962D3E stays the error colour. */
  color: var(--vt-semantic-field);
}
.hm-step__title {
  margin-top: 20px; min-height: 53px;                                   /* h4wrap 361:156 */
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 22px; line-height: 26.4px; letter-spacing: -0.22px;
  color: var(--vt-base-white);
}
.hm-step__desc { margin-top: 10px; font-size: 14.5px; line-height: 22px; }
.hm-how__cta { margin-top: 52px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hm-how__cta .vt-btn--on-dark { gap: 0; }
@media (min-width: 1024px) {
  .hm-how { padding-block: 104px; }
  .hm-how__sub { font-size: 19px; line-height: 29px; }
  .hm-how__steps { flex-direction: row; align-items: stretch; }
  .hm-step { flex: 1 1 0; min-width: 0; padding: 34px 30px 6px; }
  .hm-step:first-child { padding-left: 0; }
  .hm-step + .hm-step { border-top: 0; border-left: 1px solid var(--vt-raw-white-a16); }
}

/* -----------------------------------------------------------------------------
   Figures — 361:188 / 364:524
   ----------------------------------------------------------------------------- */
.hm-figures { padding-block: 56px; background: var(--cliente-p1-rol-surface); }
.hm-figures__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; align-items: start; }
.hm-fig { display: flex; flex-direction: column; align-items: flex-start; }
.hm-fig__rule { display: block; width: 44px; height: 4px; border-radius: var(--vt-radius-pill); background: var(--cliente-p1-rol-secondary); }
.hm-fig__num {
  margin-top: 22px;
  font-family: var(--vt-font-display); font-weight: 800;
  font-size: 52px; line-height: 47px; letter-spacing: -1.56px;
  color: var(--vt-semantic-ink);
}
.hm-fig__label { margin-top: 14px; line-height: 14px; }
.hm-figures__caption { margin-top: 34px; font-size: 13px; line-height: 19px; color: var(--vt-semantic-meta); }
@media (min-width: 1024px) {
  .hm-figures { padding-block: 96px; }
  .hm-figures__row { display: flex; gap: 0; align-items: stretch; }
  .hm-fig { flex: 1 1 0; min-width: 0; padding: 0 32px; }
  .hm-fig:first-child { padding-left: 0; }
  .hm-fig + .hm-fig { border-left: 1px solid var(--vt-neutral-100); }
  .hm-fig__num { font-size: 76px; line-height: 68px; letter-spacing: -3.04px; }
  .hm-figures__caption { max-width: 520px; }
}

/* -----------------------------------------------------------------------------
   Our Services — 436:9324 / 436:9358
   ----------------------------------------------------------------------------- */
.hm-services { padding-block: 56px; }
.hm-services__grid { margin-top: 44px; display: flex; flex-direction: column; gap: 16px; }
.hm-service {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px 26px; border-radius: var(--vt-radius-32);
  background: var(--vt-base-white);
  box-shadow: inset 0 0 0 1.5px var(--vt-neutral-100);
}
.hm-service__title {
  margin-top: 28px;
  font-family: var(--vt-font-display); font-weight: 700;
  font-size: 24px; line-height: 28px; letter-spacing: -0.36px;          /* 27.6 → Figma box 28 / 56 */
  color: var(--vt-semantic-ink);
}
.hm-service__desc { margin-top: 14px; font-size: 16px; line-height: 25px; color: var(--vt-semantic-body); }
.hm-service .hm-disc { transition: transform var(--vt-dur-3) var(--vt-ease-out); }
@media (hover: hover) and (pointer: fine) { .hm-service:hover .hm-disc { transform: scale(1.08) rotate(-6deg); } }
@media (min-width: 1024px) {
  .hm-services { padding-block: 104px; }
  .hm-services__grid { flex-direction: row; gap: 24px; min-height: 367px; }
  .hm-service { flex: 1 1 0; min-width: 0; padding: 36px; }
  .hm-service__title { font-size: 28px; line-height: 32.2px; letter-spacing: -0.42px; }
}

/* -----------------------------------------------------------------------------
   Closing CTA — 361:231 / 365:544 (vt-cta-band)
   Mobile: Figma's cta row (365:550, 350px) overruns the 335px column on one line — replicated as drawn.
   ----------------------------------------------------------------------------- */
.hm-closing { overflow: hidden; }
.hm-closing .vt-cta-band__actions { gap: 12px 14px; }   /* DEVIATION: Figma 365:550 draws a one-line row that overruns the 335 column on mobile — it wraps here */
.hm-closing .vt-cta-band__sub { line-height: 25px; }
@media (min-width: 1024px) {
  .hm-closing .vt-cta-band__sub { max-width: 418px; line-height: 29px; }
}

/* Split-line mask room, flow-root and margin handling now live in css/motion.css (promoted from this page). */
