.hero {
  background-image: url('/img/about-us/about-us-main-background-mobile.webp') !important;
}

@media (min-width: 744px) and (max-width: 1439px) {
  .hero {
    background-image: url('/img/about-us/about-us-main-background-tablet.webp') !important;
  }
}

@media (min-width: 1440px) {
  .hero {
    background-image: url('/img/about-us/about-us-main-background-desktop.webp') !important;
  }
}

.hero__content {
  max-width: 600px;
}

.hero-title {
  font-size: 60px;
}

.hero-description
{
  font-weight: 300;
  font-size: 20px;
}

.who-we-are {
  position: relative;
  padding: 120px 0;
}

.who-we-are__layout {
  display: flex;
  align-items: center;
  gap: 70px;
  overflow: visible;
}

/* =====================
   MEDIA / IMAGES
===================== */

.who-we-are__media {
  position: relative;
  flex: 1;
  min-height: 560px;
}

.who-we-are__decor {
  position: absolute;
  top: -40px;
  left: 380px;
  width: 148px;
  height: auto;
  pointer-events: none;
}

.who-we-are__image {
  position: absolute;
  object-fit: cover;
}

.who-we-are__image--primary {
  top: 0;
  left: 0;
  width: 327px;
  height: 422px;
}

.who-we-are__image--secondary {
  top: 147px;
  left: 186px;
  width: 414px;
  height: 413px;
}

/* =====================
   CONTENT
===================== */

.who-we-are__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.who-we-are__title {
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--brand-colorsmain-brand-color);
  width: fit-content;
}

.who-we-are__description {
  font-family: var(--body-primary-font-family);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--backgroundcontentcontent-primary);
}



.global-reach {
  background-color: var(--brand-colorsmain-brand-color);
  padding: 80px 0;
}

.global-reach__layout {
  display: flex;
  gap: 40px;
}

/* =====================
   CARDS
===================== */

.global-reach__card {
  position: relative;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.global-reach__card--primary {
  flex: 1;
  overflow: hidden;
}

.global-reach__stack {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* =====================
   TYPOGRAPHY
===================== */

.global-reach__title {
  font-family: var(--headline-primary-font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--backgroundcontentbackground-primary);
}

.global-reach__subtitle {
  font-family: var(--headline-secondary-font-family, var(--headline-primary-font-family));
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
  color: var(--backgroundcontentbackground-primary);
}

.global-reach__text {
  font-family: var(--body-primary-font-family);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--backgroundcontentbackground-primary);
}

/* =====================
   DECOR
===================== */

.global-reach__decor {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 156px;
  pointer-events: none;
  opacity: 15%;
}

/* =====================
   LIST
===================== */

.global-reach__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.global-reach__list-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--body-primary-font-family);
  font-size: 18px;
  color: var(--backgroundcontentbackground-primary);
}

.global-reach__list-item img {
  width: 24px;
  height: 24px;
}



.commitment {
  padding: 120px 0;
}

.commitment__layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* =====================
   TEXT
===================== */

.commitment__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.commitment__title {
  font-family: var(--headline-primary-font-family);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--backgroundcontentcontent-primary);
}

.commitment__description {
  font-family: var(--body-primary-font-family);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--backgroundcontentcontent-primary);
}

/* =====================
   IMAGE
===================== */

.commitment__media {
  flex: 1;
}

.commitment__media img {
  width: 100%;
  max-height: 422px;
  object-fit: cover;
  display: block;
}



.metrics {
  background-color: var(--backgroundcontentcontent-primary);
  padding: 100px 0;
}

/* =====================
   LIST
===================== */

.metrics__list {
  display: flex;
  gap: 60px;
}

/* =====================
   ITEM
===================== */

.metrics__item {
  flex: 1;
  padding-left: 20px;
  border-left: 5px solid var(--brand-colorsmain-brand-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =====================
   VALUE
===================== */

.metrics__value {
  font-family: var(--headline-primary-font-family);
  font-size: 70px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--backgroundcontentbackground-primary);
}

/* =====================
   LABEL
===================== */

.metrics__label {
  font-family: "Sofia Pro", var(--body-primary-font-family);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}



.our-core-values {
  padding: 120px 0;
}

/* =====================
   LAYOUT
===================== */

.our-core-values__layout {
  display: flex;
  align-items: center;
  gap: 80px;
}

/* =====================
   MEDIA
===================== */

.our-core-values__media {
  flex: 1;
}

.our-core-values__media img {
  width: 100%;
  height: 422px;
  object-fit: cover;
  display: block;
}

/* =====================
   CONTENT
===================== */

.our-core-values__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* =====================
   TYPOGRAPHY
===================== */

.our-core-values__title {
  font-family: var(--headline-primary-font-family);
  font-weight: 500;
  font-size: 40px;
  line-height: 1.2;
  color: var(--backgroundcontentcontent-primary);
  margin: 0;
}

.our-core-values__description {
  font-family: var(--body-primary-font-family);
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: var(--backgroundcontentcontent-primary);
  margin: 0;
}

@media (max-width: 1439px) {
.who-we-are__layout {
    flex-direction: column;
    gap: 60px;
  }

  .who-we-are__media {
    width: 100%;
    min-height: 480px;
  }

.global-reach__layout {
    flex-direction: column;
  }

.commitment__layout {
    flex-direction: column;
    gap: 48px;
  }

.our-core-values__layout {
    flex-direction: column;
    gap: 40px;
  }

  .our-core-values__media img {
    height: auto;
  }
}

@media (min-width: 744px) and (max-width: 1439px) {
.hero {
    height: 700px;
  }

  .hero-title {
    font-size: 50px;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 18px;
    line-height: 1.4;
  }

  .who-we-are {
    padding: 40px 0;
  }

  .who-we-are .who-we-are__layout {
    flex-direction: column;
    gap: 40px;
    padding: 0 32px;
    box-sizing: border-box;
  }

  .who-we-are__media {
    width: 442px;
    min-height: 320px;
    height: 320px;
    order: 1;
  }

  .who-we-are__decor {
    top: 0px;
    left: auto;
    right: 30px;
    width: 60px;
    height: auto;
  }

  .who-we-are__image--primary {
    top: 0;
    left: 0;
    width: 55%;
    max-width: 220px;
    height: 80%;
    object-fit: cover;
  }

  .who-we-are__image--secondary {
    top: 23%;
    left: 35%;
    width: 65%;
    max-width: 260px;
    height: 75%;
    object-fit: cover;
  }

  .who-we-are__content {
    order: 2;
    gap: 24px;
  }

  .who-we-are__title {
    font-size: 32px;
    line-height: 1.2;
    padding-bottom: 8px;
    width: fit-content;
    max-width: 100%;
  }

  .who-we-are__description {
    font-size: 16px;
    line-height: 140%;
  }

  .who-we-are__description br {
    display: block;
    content: "";
    margin-bottom: 1rem;
  }

  .global-reach__title {
    font-size: 32px;
  }

  .global-reach__subtitle {
    font-size: 32px;
  }

  .global-reach__list-item {
    font-size: 16px;
  }

  .global-reach__text {
    font-size: 16px;
  }

  .global-reach__text br {
    display: block;
    content: "";
    margin-bottom: 1rem;
  }

 .global-reach {
    padding: 40px 0;
  }

 .global-reach__card {
    padding: 16px;
  }

  .commitment {
    padding: 40px 0;
  }

  .commitment__title {
    font-size: 32px;
  }

  .commitment__description {
    font-size: 16px;
  }

  .commitment__media {
    max-width: 680px;
    width: auto;
    height: auto;
  }

  .metrics {
    padding: 80px 32px;
  }

  .metrics__value {
    font-size: 48px;
  }

  .metrics__label {
    font-size: 16px;
  }

  .our-core-values {
    padding: 40px 0;
  }

  .our-core-values__layout {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  .our-core-values__content {
    order: 1;
  }

  .our-core-values__media {
    order: 2;
  }

  .our-core-values__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .our-core-values__title {
    font-size: 32px;
    line-height: 1.25;
    text-align: left;
  }

  .our-core-values__description {
    font-size: 16px;
    line-height: 140%;
    text-align: left;
  }

    .global-reach__decor {
      position: absolute;
      bottom: -80px;
      right: -40px;
      width: 173px;
      pointer-events: none;
      opacity: 15%;
    }
}

@media (max-width: 743px) {
.hero {
    height: 700px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .primary-button {
    width: unset;
  }

  .who-we-are {
    padding: 40px 0;
  }

  .who-we-are .who-we-are__layout {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
    box-sizing: border-box;
  }

  .who-we-are__media {
    width: 343px;
    min-height: 320px;
    height: 320px;
    order: 1;
  }

  .who-we-are__decor {
    top: 0px;
    left: auto;
    right: 30px;
    width: 60px;
    height: auto;
  }

  .who-we-are__image--primary {
    top: 0;
    left: 0;
    width: 55%;
    max-width: 220px;
    height: 80%;
    object-fit: cover;
  }

  .who-we-are__image--secondary {
    top: 23%;
    left: 35%;
    width: 65%;
    max-width: 260px;
    height: 75%;
    object-fit: cover;
  }

  .who-we-are__content {
    order: 2;
    gap: 24px;
  }

  .who-we-are__title {
    font-size: 28px;
    line-height: 1.2;
    padding-bottom: 8px;
    width: fit-content;
    max-width: 100%;
  }

  .who-we-are__description {
    font-size: 16px;
    line-height: 140%;
  }

  /* Пробіли між абзацами як на макеті (br на мобільній — вертикальні відступи) */
  .who-we-are__description br {
    display: block;
    content: "";
    margin-bottom: 1rem;
  }

  .global-reach__title {
    font-size: 24px;
  }

  .global-reach__subtitle {
    font-size: 24px;
  }

  .global-reach__list-item {
    font-size: 16px;
  }

  .global-reach__text {
    font-size: 16px;
  }

  /* Відступ між абзацами в Our Global Reach на мобільній */
  .global-reach__text br {
    display: block;
    content: "";
    margin-bottom: 1rem;
  }

 .global-reach {
    padding: 40px 0;
  }

 .global-reach__card {
    padding: 16px;
  }

  .commitment {
    padding: 40px 0;
  }

  .commitment__title {
    font-size: 24px;
  }

  .commitment__description {
    font-size: 16px;
  }

  /* Metrics: мобільна версія за макетом Figma (375, падінги 32/20, відступи 8/32) */
  .metrics {
    padding: 32px 32px 32px 20px;
  }

  .metrics .sized-content {
    padding: 0;
    max-width: none;
  }

  .metrics__list {
    flex-direction: column;
    gap: 32px;
  }

  .metrics__item {
    padding-left: 20px;
    border-left: 4px solid var(--brand-colorsmain-brand-color);
    gap: 8px;
    flex: none;
  }

  .metrics__value {
    font-size: 48px;
    line-height: 1.1;
    color: var(--backgroundcontentbackground-primary);
  }

  .metrics__label {
    font-size: 14px;
    line-height: 130%;
    color: rgba(255, 255, 255, 0.85);
  }

  /* Our Core Values: мобільний вигляд — спочатку заголовок і текст, потім зображення */
  .our-core-values {
    padding: 40px 0;
  }

  .our-core-values__layout {
    flex-direction: column;
    gap: 32px;
    align-items: stretch;
  }

  .our-core-values__content {
    order: 1;
  }

  .our-core-values__media {
    order: 2;
  }

  .our-core-values__media img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  .our-core-values__title {
    font-size: 24px;
    line-height: 1.25;
    text-align: left;
  }

  .our-core-values__description {
    font-size: 16px;
    line-height: 140%;
    text-align: left;
  }

    /* =====================
       DECOR
    ===================== */

    .global-reach__decor {
      position: absolute;
      bottom: -80px;
      right: -40px;
      width: 173px;
      pointer-events: none;
      opacity: 15%;
    }

    .commitment__media img {
        width: 100%;
        object-fit: cover;
        display: block;
        max-height: 300px;
    }
}

