.amber-nosotros {
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.amber-nosotros *,
.amber-nosotros *::before,
.amber-nosotros *::after {
  box-sizing: border-box;
}

.amber-nosotros__section-title {
  margin: 0 0 28px;
  color: #4E078A;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 800;
  text-align: center;
}

.amber-nosotros__grid {
  display: grid;
  grid-template-columns: 36% minmax(0, 1fr);
  column-gap: 70px;
  align-items: center;
}

.amber-nosotros__image-wrap {
  position: relative;
  width: 100%;
  height: 470px;
  overflow: hidden;
  border-radius: 18px;
  background: #f2f2f2;
}

.amber-nosotros__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% var(--amber-nosotros-y, 50%);
}

.amber-nosotros__image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #666;
  text-align: center;
}

.amber-nosotros__content {
  min-width: 0;
}

.amber-nosotros__main-title {
  margin: 0 0 18px;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.amber-nosotros__main-title span {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.amber-nosotros__title-black { color: #2A2A2A; }
.amber-nosotros__title-purple { color: #4E078A; }

.amber-nosotros__description {
  color: #3B3B3B;
  font-size: 20px;
  line-height: 1.38;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.amber-nosotros__description p {
  margin: 0 0 12px;
}

.amber-nosotros__description p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .amber-nosotros__grid {
    grid-template-columns: 42% minmax(0, 1fr);
    column-gap: 36px;
    align-items: center;
  }

  .amber-nosotros__section-title {
    font-size: 36px;
  }

  .amber-nosotros__main-title {
    font-size: 32px;
  }

  .amber-nosotros__description {
    font-size: 17px;
  }

  .amber-nosotros__image-wrap {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .amber-nosotros__grid {
    grid-template-columns: 1fr !important;
    row-gap: 24px;
  }

  .amber-nosotros-mobile-image-before .amber-nosotros__image-wrap { order: 1; }
  .amber-nosotros-mobile-image-before .amber-nosotros__content { order: 2; }
  .amber-nosotros-mobile-image-after .amber-nosotros__image-wrap { order: 2; }
  .amber-nosotros-mobile-image-after .amber-nosotros__content { order: 1; }
  .amber-nosotros-mobile-image-hide .amber-nosotros__image-wrap { display: none; }

  .amber-nosotros__section-title {
    font-size: 32px;
    margin-bottom: 22px;
  }

  .amber-nosotros__image-wrap {
    height: 280px;
    width: 100%;
  }

  .amber-nosotros__main-title {
    font-size: 30px;
    line-height: 1.08;
  }

  .amber-nosotros__description {
    font-size: 16px;
    line-height: 1.45;
  }
}
