.hero--careers {
  background-image: url('/img/careers/careers-hero-mobile.webp');
}

@media (min-width: 744px) and (max-width: 1439px) {
  .hero--careers {
    background-image: url('/img/careers/careers-hero-tablet.webp');
  }
}

@media (min-width: 1440px) {
  .hero--careers {
    background-image: url('/img/careers/careers-hero-desktop.webp');
  }
}

.hero--careers .hero__content {
  max-width: 960px;
}

.hero-title {
  max-width: 960px !important;
}

/* =========================
   BENEFITS SECTION
========================= */

.benefits-section {
  background-color: #ffffff;
  padding: 96px 0;
}

/* container INSIDE sized-content */
.benefits-section__container {
  display: flex;
  align-items: center;
  gap: 65px;
}

/* Image */

.benefits-section__image {
  flex: 0 0 640px;
  height: 650px;
  background-image: url("/img/careers/benefits-image-mobile.webp");
  background-size: cover;
  background-position: center;
}

@media (min-width: 744px) and (max-width: 1439px) {
  .benefits-section__image {
    background-image: url("/img/careers/benefits-image-tablet.webp");
  }
}

@media (min-width: 1440px) {
  .benefits-section__image {
    background-image: url("/img/careers/benefits-image-desktop.webp");
  }
}

/* Content */

.benefits-section__content {
  flex: 1;
  max-width: 582px;
}

/* Title */

.benefits-section__title {
  font-family: var(--headline-primary-font-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 58px;
  color: var(--backgroundcontentcontent-primary);
  margin: 0 0 50px;
}

/* List */

.benefits-section__list {
  list-style: none;
  padding: 0;
  margin: 0 0 56px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.benefits-section__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Icon */

.benefits-section__icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--brand-colorssecond-brand-color);
  flex-shrink: 0;
  position: relative;
}

.benefits-section__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: url("/img/careers/benefits-item-icon.svg");
  background-repeat: no-repeat;
  background-position: center;
}

/* Text */

.benefits-section__text {
  font-family: var(--body-primary-font-family);
  font-weight: 400;
  font-size: 24px;
  line-height: 24px;
  color: rgba(119, 124, 144, 1);
  min-width: 582px;
}

/* =========================
   RESPONSIVE
========================= */







/* =========================
   STATS SECTION
========================= */

.stats-section .sized-content {
  flex-direction: column;
}


.stats-section {
  background-color: var(--brand-colorsmain-brand-color);
  color: #ffffff;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;

  height: 350px;
  background: var(--brand-colorsmain-brand-color);
}

.stats__item {
  position: relative;

  display: flex;
  justify-content: center;
}

.stats__label {
  position: relative;
  z-index: 1;
  font-family: var(--body-primary-font-family);
  font-weight: 600;
  font-size: 24px;
  line-height: 34px;
  color: #ffffff;
  transform: translate(0%, 50%);
}

/* Decorative number */
.stats__number {
  position: absolute;
  top: 50%;
  left: 50%;

  /* anchor number to TEXT, not container */
  transform: translate(-90%, -50%);

  font-family: "Urbanist", Helvetica;
  font-weight: 900;
  font-size: 128px;
  line-height: 128px;

  color: #ffffff;
  opacity: 0.12;

  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* =========================
   RESPONSIVE
========================= */





/* Stats section – mobile (375px): стовпчик, великі напівпрозорі числа зліва, текст справа */


/* =========================
   PARTNERSHIP SECTION
========================= */

.partnership-section {
  background-color: #ffffff;
  padding: 96px 0;
}

.partnership-section__container {
  display: flex;
  align-items: center;
  gap: 65px;
}

/* Content */
.partnership-section__content {
  flex: 1;
  max-width: 591px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.partnership-section__title {
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  color: var(--backgroundcontentcontent-primary);
  margin: 0;
  width: 500px;
}

.partnership-section__description {
  font-family: var(--body-primary-font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 31px;
  color: var(--backgroundcontentcontent-primary);
  margin: 0;
  width: 600px;
}

/* Media */
.partnership-section__media {
  position: relative;
  flex: 0 0 743px;
  height: 570px;
}

/* Responsive background: mobile / tablet / desktop (run scripts/resize-webp to generate variants) */
.partnership-section__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 620px;
  height: 522px;
  background-image: url("/img/careers/why-choose-image-mobile.webp");
  background-size: cover;
  background-position: center;
}

@media (min-width: 744px) and (max-width: 1439px) {
  .partnership-section__image {
    background-image: url("/img/careers/why-choose-image-tablet.webp");
  }
}

@media (min-width: 1440px) {
  .partnership-section__image {
    background-image: url("/img/careers/why-choose-image-desktop.webp");
  }
}

.partnership-section__grape {
  display: none;
}

.partnership-section__quote {
  position: absolute;
  bottom: 0;
  left: -80px;
  width: 270px;
  margin: 0;
  padding: 40px 20px;
  border: none;
  background-color: var(--brand-colorsmain-brand-color);
}

.partnership-section__quote-text {
  font-family: var(--body-primary-font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 29px;
  text-align: center;
  color: var(--backgroundcontentbackground-primary);
  margin: 0;
}

/* =========================
   RESPONSIVE
========================= */







/* =========================
   CONTACT US SECTION
========================= */

.careers .contact-us {
  background-color: var(--backgroundcontentbackground-primary)!important;
}

@media (min-width: 744px) and (max-width: 1439px) {
.benefits-section {
    padding: 60px 0;
  }

  .benefits-section__container {
    flex-direction: column;
    gap: 40px;
  }

  .benefits-section__image {
    width: 100%;
    max-width: 640px;
    height: 400px;
  }

  .benefits-section__content {
    max-width: 100%;
  }

.stats {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 60px;
  }

.partnership-section {
    padding: 60px 0;
  }

  .partnership-section__container {
    flex-direction: column;
    gap: 40px;
  }

  .partnership-section__content {
    max-width: 100%;
  }

  .partnership-section__media {
    width: 100%;
    max-width: 743px;
    height: 400px;
  }

  .partnership-section__image {
    left: 0;
    width: 100%;
    max-width: 620px;
    height: 100%;
  }

  .partnership-section__quote {
    position: relative;
    width: 100%;
    max-width: 356px;
    margin-top: 20px;
  }

  .hero-title {
    font-size: 50px;
  }

  .benefits-section {
    padding: 40px 0;
  }

  .benefits-section__title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 30px;
  }

  .benefits-section__text {
    font-size: 18px;
    line-height: 18px;
  }

  .partnership-section {
    padding: 40px 0;
  }

  .partnership-section__title {
    font-size: 36px;
    line-height: 44px;
  }

  .partnership-section__description {
    font-size: 16px;
    line-height: 26px;
  }

  .partnership-section__media {
    height: 300px;
  }

  .partnership-section__quote-text {
    font-size: 18px;
    line-height: 26px;
  }

  .stats-section {
    padding: 40px 0;
  }

  .stats-section br {
    display: block;
  }

  .stats-section .sized-content {
    padding: 0 32px;
    box-sizing: border-box;
  }

  .stats {
    gap: 32px;
    height: auto;
    min-height: 0;
  }

  .stats__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 100px;
    height: auto;
    padding: 24px 0;
    position: relative;
  }

  .stats__number {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 128px;
    line-height: 1;
    opacity: 0.15;
    white-space: nowrap;
  }

  .stats__label {
    position: relative;
    z-index: 1;
    margin: 35px 0 0 85px;
    transform: none;
    font-size: 24px;
    line-height: 34px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    max-width: calc(100% - 72px);
  }

  .benefits-section .sized-content {
    padding: 0 32px;
    box-sizing: border-box;
  }

  .benefits-section__container {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .benefits-section__content {
    padding: 0 38px;
    order: 1;
    max-width: none;
  }

  .benefits-section__image {
    order: 2;
    flex: none;
    width: 100%;
    max-width: none;
    height: 422px;
    margin-top: 40px;
  }

  .benefits-section__title {
    font-family: var(--headline-primary-font-family);
    font-weight: 500;
    font-size: 36px;
    line-height: 1.25;
    margin: 0 0 24px;
    color: var(--backgroundcontentcontent-primary);
  }

  .benefits-section__list {
    margin: 0 0 32px;
    gap: 12px;
  }

  .benefits-section__item {
    gap: 12px;
  }

  .benefits-section__icon {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
  }

  .benefits-section__icon::after {
    inset: 0;
    background-size: 100%;
  }

  .benefits-section__text {
    font-size: 24px;
    line-height: 24px;
    min-width: 0;
    color: rgba(119, 124, 144, 1);
  }

  .benefits-section .primary-button {
    min-height: 51px;
    padding: 14px 24px;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 0.5px;
    justify-content: center;
  }

  .benefits-section .primary-button__text {
    white-space: nowrap;
  }

.partnership-section {
    padding: 40px 0;
  }

  .partnership-section .sized-content {
    padding: 0 32px;
    box-sizing: border-box;
  }

  .partnership-section__container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .partnership-section__content {
    max-width: none;
    width: 100%;
    gap: 24px;
  }

  .partnership-section__title {
    width: 70%;
    max-width: none;
    font-size: 36px;
    line-height: 1.2;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--brand-colorsmain-brand-color);
  }

  .partnership-section__description {
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.4;
  }

  .partnership-section__content .primary-button {
    display: none;
  }

  .partnership-section__media {
    position: relative;
    flex: none;
    width: 100%;
    max-width: none;
    height: 525px;
  }

  .partnership-section__image {
    top: 0;
    right: 0;
    left: auto;
    height: 90%;
    width: 90%;
    max-width: none;
  }

  .partnership-section__grape {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 222px;
    height: 222px;
    background-color: var(--brand-colorsmain-brand-color);
    z-index: 2;
  }

  .partnership-section__grape-icon {
    width: 132px;
    height: 132px;
    background-color: var(--partnership-grape-icon-color);
    mask: url("/img/shared/grape-decore.svg") no-repeat center / contain;
    -webkit-mask: url("/img/shared/grape-decore.svg") no-repeat center / contain;
  }

  .partnership-section__quote {
    display: none;
  }
}

@media (max-width: 743px) {
  .benefits-section {
    padding: 40px 0;
  }

  .benefits-section__title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 30px;
  }

  .benefits-section__text {
    font-size: 18px;
    line-height: 18px;
  }

  .benefits-section__image {
    height: 300px;
  }

  .partnership-section {
    padding: 40px 0;
  }

  .partnership-section__title {
    font-size: 36px;
    line-height: 44px;
  }

  .partnership-section__description {
    font-size: 16px;
    line-height: 26px;
  }

  .partnership-section__media {
    height: 300px;
  }

  .partnership-section__quote-text {
    font-size: 18px;
    line-height: 26px;
  }

  .stats-section {
    padding: 40px 0;
  }

  .stats-section br {
    display: block;
  }

  .stats-section .sized-content {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    height: auto;
    min-height: 0;
  }

  .stats__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    min-height: 100px;
    height: auto;
    padding: 24px 0;
    position: relative;
  }

  .stats__number {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 80px;
    line-height: 1;
    opacity: 0.15;
    white-space: nowrap;
  }

  .stats__label {
    position: relative;
    z-index: 1;
    margin-left: 72px;
    transform: none;
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    max-width: calc(100% - 72px);
  }

  .benefits-section .sized-content {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .benefits-section__container {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .benefits-section__content {
    order: 1;
    max-width: none;
  }

  .benefits-section__image {
    order: 2;
    flex: none;
    width: 100%;
    max-width: none;
    height: 280px;
    margin-top: 40px;
  }

  .benefits-section__title {
    font-family: var(--headline-primary-font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 1.25;
    margin: 0 0 24px;
    color: var(--backgroundcontentcontent-primary);
  }

  .benefits-section__list {
    margin: 0 0 32px;
    gap: 5px;
  }

  .benefits-section__item {
    gap: 12px;
  }

  .benefits-section__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

  .benefits-section__icon::after {
    inset: 0;
    background-size: 100%;
  }

  .benefits-section__text {
    font-size: 16px;
    line-height: 20px;
    min-width: 0;
    color: rgba(119, 124, 144, 1);
  }

  .benefits-section .primary-button {
    width: 60%;
    min-height: 51px;
    padding: 14px 24px;
    border-radius: 3px;
    font-size: 14px;
    letter-spacing: 0.5px;
    justify-content: center;
  }

  .benefits-section .primary-button__text {
    white-space: nowrap;
  }

.partnership-section {
    padding: 40px 0;
  }

  .partnership-section .sized-content {
    padding: 0 16px;
    box-sizing: border-box;
  }

  .partnership-section__container {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .partnership-section__content {
    max-width: none;
    width: 100%;
    gap: 24px;
  }

  .partnership-section__title {
    width: 70%;
    max-width: none;
    font-size: 24px;
    line-height: 1.2;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--brand-colorsmain-brand-color);
  }

  .partnership-section__description {
    width: 100%;
    max-width: none;
    font-size: 16px;
    line-height: 1.4;
  }

  .partnership-section__content .primary-button {
    display: none;
  }

  .partnership-section__media {
    position: relative;
    flex: none;
    width: 100%;
    max-width: none;
    height: 274px;
  }

  .partnership-section__image {
    top: 0;
    right: 0;
    left: auto;
    height: 90%;
    width: 90%;
    max-width: none;
  }

  .partnership-section__grape {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 112px;
    height: 112px;
    background-color: var(--brand-colorsmain-brand-color);
    z-index: 2;
  }

  .partnership-section__grape-icon {
    width: 56px;
    height: 56px;
    background-color: var(--partnership-grape-icon-color);
    mask: url("/img/shared/grape-decore.svg") no-repeat center / contain;
    -webkit-mask: url("/img/shared/grape-decore.svg") no-repeat center / contain;
  }

  .partnership-section__quote {
    display: none;
  }
}

@media (max-width: 600px) {
.stats {
    grid-template-columns: 1fr;
  }

  .stats__item {
    height: 100px;
  }

  .stats__number {
    font-size: 110px;
    line-height: 110px;
  }

  .stats__label {
    font-size: 20px;
    line-height: 28px;
  }
}
