/* ==========================================================================
   Career page (templates/cariera.tpl), 2026-11. Loaded on that page only, linked from the template with a
   version. Same card language as the login/reset pages (account.css): white rounded cards, soft shadow,
   tinted icon tiles. vc-* are the shared pieces, vcareer the hero, vjobs the open positions.
   ========================================================================== */
#cariere {
  /* The site's primary green, the same colours as .btn-primary (custom.css), with the brandbook 1.2 neutrals.
     The lime is an accent only (bars, rings, fills with anthracite text), never text on white */
  --vc-green: var(--green-24, #25641c);
  --vc-green-hover: var(--green-10, #44a031);
  --vc-lime: #7cc242;
  --vc-anthracite: #2c2a2b;
  --vc-grey: #62686b;
  --vc-surface: #f4f6f4;
  --vc-line: #dde2de;
  --vc-shadow: 0 0.25rem 1.5rem rgb(44 42 43 / 7%);
}
.vcareer-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
#cariere .vc-tile svg,
#cariere .vc-btn svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---- Shared pieces ---- */
.vc-card {
  margin: 0 0 2rem;
  padding: 2.5rem 3rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: var(--vc-shadow);
}
.vc-section {
  margin: 0 0 2.5rem;
  padding: 1rem 0 0;
}
.vc-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--vc-green);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.vc-eyebrow--light {
  color: rgb(255 255 255 / 80%);
}
.vc-heading {
  margin: 0 0 1.75rem;
  color: var(--vc-anthracite);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.2;
}
.vc-underline {
  position: relative;
  padding-bottom: 0.875rem;
}
.vc-underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 3.5rem;
  height: 0.25rem;
  border-radius: 0.25rem;
  background: var(--vc-lime);
}
.vc-green {
  color: var(--vc-green);
}
.vc-tile {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--vc-surface);
  color: var(--vc-green);
}
.vc-tile svg {
  width: 1.625rem;
  height: 1.625rem;
}
.vc-tile--lg {
  width: 3.5rem;
  height: 3.5rem;
}
.vc-tile--light {
  background: rgb(255 255 255 / 12%);
  color: #fff;
}
.vc-btn {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--vc-green);
  border-radius: 999px;
  background: var(--vc-green);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.vc-btn:hover,
.vc-btn:focus-visible {
  border-color: var(--vc-green-hover);
  background: var(--vc-green-hover);
  color: #fff;
}
.vc-btn--ghost {
  background: #fff;
  color: var(--vc-green);
}
.vc-btn svg {
  width: 1.125rem;
  height: 1.125rem;
  stroke-width: 2;
}
.vc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.vc-feature {
  padding: 1.5rem;
  border-radius: 1rem;
  background: #fff;
  box-shadow: var(--vc-shadow);
  transition: transform 0.15s ease;
}
.vc-feature:hover {
  transform: translateY(-0.125rem);
}
.vc-feature__title {
  margin: 1rem 0 0.375rem;
  color: inherit;
  font-size: 1.0625rem;
  font-weight: 700;
}
.vc-feature__text {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  opacity: 0.85;
}

/* ---- Brand rings (brandbook: lime and thin rings coming out of the corners) ---- */
.vc-values {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.vc-values::before,
.vc-values::after {
  content: "";
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}
.vc-values::before {
  top: -10rem;
  right: -5rem;
  width: 18rem;
  border: 1.5rem solid var(--vc-lime);
}
.vc-values::after {
  top: -3rem;
  right: 11rem;
  width: 9rem;
  border: 2px solid rgb(255 255 255 / 35%);
}

/* ---- Hero: the building photo fills the card, the text sits on its light left side ---- */
.vcareer {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(20rem, 26vw, 24rem);
  margin: 1rem 0 2rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #f4f8f1;
  box-shadow: var(--vc-shadow);
}
/* Pinned to the right at full height; its light left edge blends into the card colour, which leaves room for the text */
.vcareer__bg img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  max-width: none;
  height: 100%;
}
.vcareer__body {
  position: relative;
  max-width: 64%;
  padding: 2.5rem 0 2.5rem 4.5rem;
}
.vcareer__title {
  margin: 0 0 1.5rem;
  color: #111;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.vcareer__title::after {
  width: 4.5rem;
  height: 0.3125rem;
}
.vcareer__lead {
  max-width: 32rem;
  margin: 0 0 2rem;
  color: var(--vc-anthracite);
  font-size: 1.1875rem;
  line-height: 1.55;
}
.vcareer__perks {
  display: flex;
  align-items: center;
  gap: 1rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vcareer__perk {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 0.75rem;
  padding: 0 1.125rem;
  border-left: 1px solid var(--vc-line);
}
.vcareer__perk:first-child {
  padding-left: 0;
  border-left: 0;
}
.vcareer__perk-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(124 194 66 / 22%) 0%, rgb(124 194 66 / 8%) 70%);
  color: var(--vc-green);
}
.vcareer__perk-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.vcareer__perk-text {
  color: var(--vc-anthracite);
  font-size: 0.875rem;
  white-space: nowrap;
  font-weight: 600;
  line-height: 1.3;
}

/* ---- Figures ---- */
.vc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}
.vc-stats__item {
  padding: 1.25rem 1.5rem;
  border-left: 0.25rem solid var(--vc-lime);
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: var(--vc-shadow);
}
.vc-stats__value {
  display: block;
  color: var(--vc-green);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.1;
}
/* The 5-star commitment drawn as yellow stars, the same yellow as the review stars */
.vc-stats__stars {
  display: flex;
  gap: 0.125rem;
  height: 2.2rem;
  align-items: center;
}
.vc-stats__stars-number {
  margin-right: 0.375rem;
}
.vc-stats__stars svg {
  width: 1.625rem;
  height: 1.625rem;
  fill: #f5b301;
}
.vc-stats__label {
  display: block;
  margin-top: 0.375rem;
  color: var(--vc-grey);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ---- About + video ---- */
.vc-about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}
.vc-about__text p:not(.vc-eyebrow) {
  margin: 0 0 1rem;
  color: var(--vc-anthracite);
  font-size: 1rem;
  line-height: 1.65;
}
.vc-about__video {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #111;
}
.vc-about__video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- What we look for: the one dark band on the page ---- */
.vc-values {
  margin: 0 0 2.5rem;
  padding: 2.5rem 3rem;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #1f5f12, #2f7d1c);
  color: #fff;
}
.vc-values .vc-heading {
  color: #fff;
}
.vc-value {
  padding: 1.25rem 0 0;
  border-top: 1px solid rgb(255 255 255 / 20%);
}

/* ---- Photos: one wide photo, then a mosaic ---- */
.vc-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 11rem;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vc-photos__item {
  overflow: hidden;
  border-radius: 1rem;
  background: var(--vc-surface);
}
.vc-photos__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}
.vc-photos__item:nth-child(n + 4) {
  grid-column: span 2;
}
.vc-photos__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
/* Wide crops of photos with people: keep the faces in frame */
.vc-photos__item:nth-child(n + 4) img {
  object-position: center 25%;
}
.vc-photos__item:hover img {
  transform: scale(1.04);
}

/* ---- Open positions + how to apply ---- */
.vjobs {
  scroll-margin-top: 7rem;
}
.vjobs__empty {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.75rem;
  border: 1px solid var(--vc-line);
  border-radius: 1rem;
  background: var(--vc-surface);
}
.vjobs__empty-body {
  flex: 1 1 auto;
  min-width: 0;
}
.vjobs__empty-title {
  margin: 0 0 0.25rem;
  color: var(--vc-anthracite);
  font-size: 1.125rem;
  font-weight: 700;
}
.vjobs__empty-text {
  margin: 0;
  color: var(--vc-grey);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.vjobs__empty-text a {
  color: var(--vc-green);
  font-weight: 700;
  text-decoration: none;
}
.vjobs__steps-title {
  margin: 2rem 0 1rem;
  color: var(--vc-anthracite);
  font-size: 1.125rem;
  font-weight: 700;
}
.vjobs__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.vjobs__step {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.vjobs__step-number {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--vc-lime);
  color: var(--vc-anthracite);
  font-weight: 800;
}
.vjobs__step-title {
  display: block;
  color: var(--vc-anthracite);
  font-size: 1rem;
}
.vjobs__step-text {
  display: block;
  color: var(--vc-grey);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---- Hero below 1200px: the text no longer fits beside the building, so the photo goes under it as a band ---- */
@media (max-width: 1199.98px) {
  .vcareer {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .vcareer__bg {
    order: 2;
  }
  .vcareer__bg img {
    position: static;
    width: 100%;
    height: 18rem;
    object-fit: cover;
    object-position: right center;
  }
  .vcareer__body {
    max-width: none;
    padding: 2.25rem 2.5rem 2rem;
  }
  .vcareer__title {
    font-size: 2.5rem;
  }
  .vcareer__perks {
    flex-wrap: wrap;
  }
}

/* ---- Tablets ---- */
@media (max-width: 991.98px) {
  .vc-about {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .vc-card,
  .vc-values {
    padding: 2rem 1.75rem;
  }
  .vc-stats,
  .vc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .vc-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 9rem;
  }
  .vc-photos__item:nth-child(n + 5) {
    grid-column: auto;
  }
}

/* ---- Phones ---- */
@media (max-width: 575.98px) {
  .vc-card,
  .vc-values {
    margin-bottom: 1.25rem;
    padding: 1.5rem 1.125rem;
    border-radius: 1rem;
  }
  .vcareer {
    margin: 0.5rem 0 1.25rem;
    border-radius: 1rem;
  }
  .vcareer__bg img {
    height: auto;
    aspect-ratio: 900 / 512;
  }
  .vcareer__body {
    padding: 1.5rem 1.125rem 1.25rem;
  }
  .vcareer__title {
    margin-bottom: 1.25rem;
    font-size: 2rem;
  }
  .vcareer__perks {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .vcareer__perk,
  .vcareer__perk:first-child {
    padding: 0;
    border-left: 0;
  }

  .vcareer__lead {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  .vc-heading {
    margin-bottom: 1.25rem;
    font-size: 1.375rem;
  }
  .vc-grid,
  .vjobs__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
  }
  .vc-stats {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
  }
  .vc-stats__item {
    padding: 1rem;
  }
  .vc-stats__value {
    font-size: 1.5rem;
  }
  .vc-section {
    margin-bottom: 1.5rem;
  }
  .vc-feature {
    padding: 1.125rem;
  }
  .vc-value {
    padding-top: 1rem;
  }
  /* Rings on phones: only the lime one, in the bottom-right corner where the last line of text is short */
  .vc-values::before {
    top: auto;
    right: -7rem;
    bottom: -8rem;
    width: 12rem;
    border-width: 1rem;
  }
  .vc-values::after {
    display: none;
  }
  .vc-photos {
    grid-auto-rows: 7.5rem;
    gap: 0.625rem;
  }
  .vjobs__empty {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.25rem;
  }
  .vjobs__empty-body {
    flex-basis: calc(100% - 4.5rem);
  }
  .vjobs__empty .vc-btn {
    width: 100%;
  }
}
