/* Human capital landing page — scoped so the other inner pages stay unchanged. */
.human-capital-page {
  --purple: #470068;
  --purple-2: #68118c;
  --purple-3: #2c0938;
  --purple-soft: #fbf7ff;
  --gold: #c99712;
  --gold-2: #e8c654;
  --gold-deep: #8a5c00;
  --gold-soft: #fff4d2;
  --ink: #221a28;
  --ink-2: #6c6473;
  --soft: #fbfaf7;
  --border: #ece7de;
  --dark: #19101f;
  --shadow: 0 18px 52px rgba(71, 0, 104, 0.11);
  color: var(--ink);
}

.human-capital-page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: rgba(236, 231, 222, 0.88);
  box-shadow: 0 8px 28px rgba(46, 9, 56, 0.05);
}

.human-capital-page .nav {
  direction: rtl;
  min-height: 78px;
}

.human-capital-page .logo img {
  height: 36px;
  filter: none;
}

.human-capital-page .main-nav {
  direction: rtl;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #651087);
  border: 1px solid rgba(201, 151, 18, 0.38);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(71, 0, 104, 0.16), inset 0 1px rgba(255, 255, 255, 0.14);
}

.human-capital-page .main-nav a {
  position: relative;
  border-radius: 999px;
}

.human-capital-page .main-nav a:hover,
.human-capital-page .main-nav a[aria-current="page"] {
  color: #2b1032;
  background: linear-gradient(135deg, #f2d66f, var(--gold));
}

.human-capital-page .main-nav a[aria-current="page"]::after {
  display: none;
}

.human-capital-page .menu-toggle {
  color: var(--purple);
  background: #fff;
  border-color: var(--border);
}

.hc-scroll-progress {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 12000;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--gold), var(--gold-2));
  box-shadow: 0 2px 10px rgba(71, 0, 104, 0.25);
  transform: scaleX(0);
  transform-origin: right center;
  pointer-events: none;
}

.hc-cursor {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 12001;
  width: 30px;
  pointer-events: none;
  will-change: transform;
  filter: drop-shadow(0 3px 6px rgba(40, 10, 60, 0.32));
}

.hc-cursor svg {
  display: block;
  width: 30px;
  overflow: visible;
}

.hc-ambient {
  position: fixed;
  top: -14vw;
  left: -12vw;
  z-index: 2;
  width: 56vw;
  height: 56vw;
  background: radial-gradient(circle, rgba(203, 150, 10, 0.1), rgba(120, 30, 165, 0.05) 42%, transparent 68%);
  border-radius: 50%;
  filter: blur(46px);
  mix-blend-mode: multiply;
  pointer-events: none;
  animation: hcAmbient 34s ease-in-out infinite alternate;
}

@keyframes hcAmbient {
  0% { transform: translate(-8vw, -8vh); }
  45% { transform: translate(64vw, 18vh); }
  100% { transform: translate(20vw, 70vh); }
}

.human-capital-page .announce a {
  color: var(--purple);
  font-weight: 800;
  white-space: nowrap;
}

.hc-hero {
  position: relative;
  padding: 24px 0 104px;
  overflow: hidden;
  background: #fff;
}

.hc-hero-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 38px;
  align-items: center;
  min-height: 520px;
  padding: 54px 58px;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgba(201, 151, 18, 0.24), transparent 31%),
    linear-gradient(135deg, #fff 0%, #fbf7ee 55%, #f4e5bd 100%);
  border: 1px solid rgba(201, 151, 18, 0.32);
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(71, 0, 104, 0.09);
}

.hc-hero-card::before {
  position: absolute;
  top: -180px;
  left: -130px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(71, 0, 104, 0.08);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(71, 0, 104, 0.025), 0 0 0 80px rgba(201, 151, 18, 0.025);
  content: "";
}

.hc-hero-copy,
.hc-hero-visual {
  position: relative;
  z-index: 2;
}

.hc-breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 13px;
}

.hc-breadcrumbs a {
  color: var(--purple);
  font-weight: 800;
}

.hc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  color: var(--purple);
  background: linear-gradient(135deg, #fffaf0, var(--gold-soft));
  border: 1px solid #e3c56f;
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(201, 151, 18, 0.08);
  font-size: 14px;
  font-weight: 800;
}

.hc-kicker i {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
}

.hc-section-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 13px;
  color: var(--purple);
  background: linear-gradient(135deg, #fffaf0, var(--gold-soft));
  border: 1px solid #e3c56f;
  border-radius: 999px;
  box-shadow: 0 5px 16px rgba(201, 151, 18, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.hc-section-heading > span::before {
  width: 7px;
  height: 7px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.hc-join-inner > div > span {
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hc-hero h1 {
  max-width: 650px;
  margin: 15px 0 10px;
  color: var(--purple);
  font-size: clamp(40px, 5vw, 57px);
  line-height: 1.55;
}

.hc-hero h1::after {
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 14px;
  background: linear-gradient(90deg, var(--gold-deep), #f0cb53);
  border-radius: 99px;
  box-shadow: 0 3px 10px rgba(201, 151, 18, 0.22);
  content: "";
}

.hc-hero p {
  max-width: 610px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
  line-height: 2;
}

.hc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 27px;
}

.hc-btn-gold {
  color: #2b1032;
  background: linear-gradient(135deg, #f2d66f, var(--gold));
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 10px 25px rgba(201, 151, 18, 0.24);
}

.hc-btn-gold:hover {
  color: var(--purple);
  background: #fff;
  transform: translateY(-2px);
}

.hc-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.hc-trust-row span {
  padding: 5px 10px;
  color: #5c4a10;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #ead9a8;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hc-hero-visual {
  min-width: 0;
  padding: 24px 14px 18px;
}

.hc-team-photo {
  position: relative;
  overflow: hidden;
  padding: 9px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(201, 151, 18, 0.45);
  border-radius: 26px;
  box-shadow: 0 22px 45px rgba(71, 0, 104, 0.17);
  transform: rotate(-1.5deg);
}

.hc-team-photo::after {
  position: absolute;
  inset: 9px;
  background: linear-gradient(0deg, rgba(71, 0, 104, 0.23), transparent 60%);
  border-radius: 18px;
  content: "";
}

.hc-team-photo img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 18px;
}

.hc-team-message {
  position: absolute;
  right: -8px;
  bottom: -5px;
  width: 165px;
  padding: 7px;
  background: #fff;
  border: 1px solid #e6d1ec;
  border-radius: 17px;
  box-shadow: 0 15px 34px rgba(71, 0, 104, 0.16);
  transform: rotate(2deg);
}

.hc-team-message img {
  width: 100%;
  border-radius: 12px;
}

.hc-floating-chip {
  position: absolute;
  z-index: 3;
  padding: 7px 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border: 1px solid rgba(232, 198, 84, 0.72);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(71, 0, 104, 0.2);
  font-size: 12px;
  font-weight: 800;
}

.hc-chip-top { top: 0; left: 4px; }
.hc-chip-bottom { right: 130px; bottom: 17px; }

.human-capital-page .glow {
  position: relative;
  isolation: isolate;
}

.hc-glow-layer {
  position: absolute;
  inset: 0;
  z-index: 20;
  background: radial-gradient(circle 190px at var(--mx, 50%) var(--my, 50%), rgba(255, 230, 142, 0.23), rgba(112, 24, 151, 0.055) 46%, transparent 73%);
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.human-capital-page .glow:hover > .hc-glow-layer {
  opacity: 1;
}

.hc-cursor svg {
  transform-origin: 9px 8px;
  transition: transform 0.18s ease;
}

.hc-cursor.is-active svg {
  transform: scale(1.16) rotate(-4deg);
}

.hc-overview {
  position: relative;
  z-index: 3;
  margin-top: -70px;
}

.hc-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(71, 0, 104, 0.08);
  border-radius: 17px;
  box-shadow: 0 22px 55px rgba(71, 0, 104, 0.16);
}

.hc-stat {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 142px;
  padding: 26px 24px;
}

.hc-stat + .hc-stat {
  border-right: 1px solid var(--border);
}

.hc-stat-icon {
  display: grid;
  width: 58px;
  height: 58px;
  color: var(--purple);
  background: var(--purple-soft);
  border: 1px solid #eadcf0;
  border-radius: 17px;
  place-items: center;
  flex: none;
}

.hc-stat-icon svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.hc-stat div {
  display: flex;
  flex-direction: column;
}

.hc-stat strong {
  color: var(--purple);
  font-size: 18px;
}

.hc-stat span:last-child {
  color: var(--ink-2);
  font-size: 13px;
}

.hc-section-heading {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.hc-section-heading h2 {
  margin: 3px 0 7px;
  color: var(--purple);
  font-size: clamp(29px, 4vw, 40px);
  line-height: 1.55;
}

.hc-section-heading h2::after {
  display: block;
  width: 48px;
  height: 3px;
  margin: 11px auto 0;
  background: var(--gold);
  border-radius: 99px;
  content: "";
}

.hc-section-heading p {
  margin: 10px auto 0;
  color: var(--ink-2);
  font-size: 15px;
}

.hc-benefits {
  padding-top: 106px;
  background: #fff;
}

.hc-benefit-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 13px;
}

.hc-benefit-card {
  padding: 25px 15px 22px;
  text-align: center;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 16px;
  transition: 0.25s ease;
}

.hc-benefit-card:hover {
  border-color: #e6d8ab;
  box-shadow: 0 15px 36px rgba(71, 0, 104, 0.08);
  transform: translateY(-4px);
}

.hc-benefit-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: var(--purple);
  background: var(--gold-soft);
  border: 1px solid #efd681;
  border-radius: 50%;
  font: 800 24px/1 Tahoma, Arial, sans-serif;
  place-items: center;
}

.hc-benefit-card h3 {
  margin: 0 0 7px;
  color: var(--purple);
  font-size: 17px;
}

.hc-benefit-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.85;
}

.hc-path-section {
  background: var(--soft);
  border-block: 1px solid var(--border);
}

.hc-path-list {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hc-path-list::before {
  position: absolute;
  top: 51px;
  right: 8%;
  left: 8%;
  height: 1px;
  background: repeating-linear-gradient(90deg, #90a0af 0 5px, transparent 5px 10px);
  content: "";
}

.hc-path-list li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hc-path-number {
  display: block;
  margin-bottom: 7px;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 900;
}

.hc-path-dot {
  display: grid;
  width: 70px;
  height: 70px;
  margin: 0 auto 14px;
  color: #fff;
  background: linear-gradient(145deg, var(--purple-2), var(--purple-3));
  border: 6px solid var(--soft);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #e6ddea;
  font: 700 25px/1 Tahoma, Arial, sans-serif;
  place-items: center;
}

.hc-path-list h3 {
  margin: 0 0 5px;
  color: var(--purple);
  font-size: 16px;
}

.hc-path-list p {
  margin: 0;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.85;
}

.hc-life {
  background: #fff;
}

.hc-gallery {
  display: grid;
  grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.hc-gallery figure {
  position: relative;
  min-height: 188px;
  margin: 0;
  overflow: hidden;
  background: #eee7f1;
  border-radius: 15px;
}

.hc-gallery img {
  width: 100%;
  height: 100%;
  min-height: 188px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.hc-gallery figure:nth-child(3) img,
.hc-gallery figure:nth-child(5) img {
  object-position: 20% center;
  transform: scale(1.5);
}

.hc-gallery figure:hover img {
  transform: scale(1.06);
}

.hc-gallery figure:nth-child(3):hover img,
.hc-gallery figure:nth-child(5):hover img {
  transform: scale(1.58);
}

.hc-gallery figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  padding: 7px 10px;
  color: #fff;
  background: rgba(44, 9, 56, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9px;
  text-align: center;
  font-size: 12px;
  backdrop-filter: blur(7px);
}

.hc-voices {
  padding-top: 25px;
  background: #fff;
}

.hc-voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hc-voice-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(145deg, #fff, #f5f7f9);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.hc-quote {
  position: absolute;
  top: 11px;
  left: 19px;
  color: var(--gold);
  font: 700 45px/1 Georgia, serif;
}

.hc-voice-card > p {
  min-height: 84px;
  margin: 0 0 18px;
  padding-left: 28px;
  color: #5b4d63;
  font-size: 14px;
}

.hc-voice-card > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 11px;
  align-items: center;
}

.hc-avatar {
  display: grid;
  grid-row: 1 / 3;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--purple);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #eadff0;
  place-items: center;
  font-weight: 900;
}

.hc-voice-card strong {
  align-self: end;
  color: var(--purple);
  line-height: 1.4;
}

.hc-voice-card small {
  align-self: start;
  color: var(--ink-2);
}

.hc-join {
  position: relative;
  overflow: hidden;
  padding: 46px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(44, 9, 56, 0.97), rgba(71, 0, 104, 0.78)),
    url("../images/about/quality-control.jpg") center 55% / cover no-repeat;
}

.hc-join::after {
  position: absolute;
  top: -90px;
  left: 8%;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255, 214, 111, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255, 214, 111, 0.04), 0 0 0 70px rgba(255, 214, 111, 0.025);
  content: "";
}

.hc-join-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.hc-join h2 {
  margin: 1px 0 3px;
  color: #fff;
  font-size: 32px;
}

.hc-join p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.hc-join .btn {
  min-width: 190px;
  flex: none;
}

.hc-application {
  background: var(--soft);
  border-bottom: 1px solid var(--border);
}

.hc-application .career-form-card {
  border-color: #e7e0e8;
  box-shadow: 0 20px 52px rgba(71, 0, 104, 0.1);
}

.hc-application .form-progress {
  background: #f8f5ef;
}

.hc-application .progress-step.active {
  background: linear-gradient(145deg, #fff, #fff5d8);
}

.hc-application .progress-step.active b,
.hc-application .progress-step.done b {
  background: var(--purple);
  border-color: var(--purple);
}

.hc-application .career-aside-card.accent {
  background: linear-gradient(145deg, var(--purple-3), var(--purple-2));
}

.human-capital-page .site-footer {
  background: var(--dark);
}

@media (max-width: 1100px) {
  .hc-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-path-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 38px;
  }

  .hc-path-list::before {
    display: none;
  }

  .hc-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hc-gallery-wide {
    grid-column: span 2;
  }
}

@media (max-width: 860px) {
  .human-capital-page .main-nav {
    direction: rtl;
    background: linear-gradient(145deg, var(--purple-3), var(--purple-2));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
  }

  .human-capital-page .main-nav a[aria-current="page"]::after {
    right: 25%;
    bottom: 2px;
    left: 25%;
  }

  .hc-hero {
    min-height: 0;
    padding-bottom: 88px;
  }

  .hc-hero-card {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: 0;
    padding: 42px;
  }

  .hc-hero-visual {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .hc-overview {
    margin-top: -54px;
  }

  .hc-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hc-stat:nth-child(odd) {
    border-right: 0;
  }

  .hc-stat:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }

  .hc-voice-grid {
    grid-template-columns: 1fr;
  }

  .hc-voice-card > p {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .human-capital-page .nav {
    min-height: 70px;
  }

  .human-capital-page .logo img {
    height: 34px;
  }

  .hc-hero {
    min-height: 0;
    padding: 16px 0 72px;
  }

  .hc-hero-card {
    gap: 20px;
    padding: 30px 21px;
    border-radius: 22px;
  }

  .hc-hero h1 {
    font-size: 36px;
  }

  .hc-hero p {
    font-size: 16px;
  }

  .hc-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hc-hero-actions .btn {
    width: 100%;
  }

  .hc-trust-row {
    gap: 6px;
  }

  .hc-hero-visual {
    padding: 16px 2px 44px;
  }

  .hc-team-photo img {
    min-height: 190px;
  }

  .hc-team-message {
    right: 2px;
    width: 132px;
  }

  .hc-chip-top {
    left: 0;
  }

  .hc-chip-bottom {
    right: auto;
    bottom: 18px;
    left: 5px;
  }

  .hc-overview {
    margin-top: -42px;
  }

  .hc-overview-grid {
    grid-template-columns: 1fr;
  }

  .hc-stat {
    min-height: 108px;
    padding: 18px 20px;
  }

  .hc-stat + .hc-stat,
  .hc-stat:nth-child(odd) {
    border-top: 1px solid var(--border);
    border-right: 0;
  }

  .hc-benefits {
    padding-top: 78px;
  }

  .hc-benefit-grid,
  .hc-path-list,
  .hc-gallery {
    grid-template-columns: 1fr;
  }

  .hc-benefit-card {
    padding: 24px;
  }

  .hc-path-list {
    gap: 24px;
  }

  .hc-path-list li {
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 13px;
    text-align: right;
  }

  .hc-path-number {
    display: none;
  }

  .hc-path-dot {
    grid-row: 1 / 3;
    width: 60px;
    height: 60px;
    margin: 0;
  }

  .hc-path-list h3 {
    align-self: end;
  }

  .hc-gallery-wide {
    grid-column: auto;
  }

  .hc-gallery figure,
  .hc-gallery img {
    min-height: 220px;
  }

  .hc-join-inner {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .hc-join h2 {
    font-size: 28px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .human-capital-page.hc-effects-ready * {
    cursor: none !important;
  }

  .human-capital-page.hc-effects-ready .hc-cursor {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hc-ambient,
  .hc-cursor,
  .hc-scroll-progress,
  .hc-glow-layer {
    display: none !important;
  }
}
