/* Обертка хедера и хлебных крошек */
.top-container {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%),
    url('./images/product-page-background-header.webp') center/cover no-repeat;
  color: #fff;
  width: 100%;
  height: 100%;
}

.top-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1920px;
  min-height: 337px;
  height: 100%;
  padding: 20px 344px 30px;
  margin: 0 auto;
}

/* Кованые и литые изделия */
.forged-and-cast-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  width: 100%;
  max-width: 1920px;
  padding: 54px 344px 35px;
  margin: 0 auto;
}

.forged-and-cast-products__column {
  display: flex;
  flex-direction: column;
  gap: 25px;
  width: 100%;
}

.forged-and-cast-products__column:nth-child(2) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
  url('./images/our-works-page-forged-and-cast-products.webp') center/cover no-repeat;
}

.forged-and-cast-products__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: rgba(6, 14, 41, 1);
}

.forged-and-cast-products__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  color: rgba(94, 93, 93, 1);
}

/* Отправьте заявку */
.send-request {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  width: 100%;
  max-width: 1920px;
  padding:0 344px 74px;
  margin: 0 auto;
}

.send-request__column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.send-request__column:nth-child(1) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
  url('./images/our-works-page-send-request.webp') center/cover no-repeat;
}

.send-request__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 37px;
  color: rgba(6, 14, 41, 1);
  text-transform: uppercase;
  margin-top: 22px;
  margin-bottom: 8px;
}

.send-request__title span {
  color: rgba(216, 168, 0, 1);
}

.send-request__add-on-map {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  color: rgba(94, 93, 93, 1);
  margin-bottom: 34px;
}

.send-request__buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 88px;
}

.send-request__description {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  color: rgba(94, 93, 93, 1);
  margin-bottom: 20px;
}

.send-request__description-bold {
  font-size: 16px;
  font-weight: 500;
  line-height: 27px;
  color: #000;
}

/* Кейсы */
.cases-btn-container {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  max-width: 1920px;
  padding:0 344px 39px;
  margin: 0 auto;
}

.cases-btn-container__title {
  display: none;
  font-size: 40px;
  font-weight: 500;
  line-height: 57px;
  text-transform: uppercase;
  color: #060E29;
}

.cases {
  display: flex;
  flex-direction: column;
  gap: 39px;
  max-width: 1920px;
  padding: 0 344px 83px;
  overflow: hidden;
  margin: 0 auto;
}

.cases__list {
  display: flex;
  flex-wrap: nowrap;
  column-gap: 16px;
  list-style: none;
}

.cases__item {
  min-width: 400px;
  width: 100%;
  max-width: 400px;
  height: 280px;
}

.cases__item:nth-child(1) {
  background: url('./images/cases-page-case-one.webp') center/cover no-repeat;
}

.cases__item:nth-child(2) {
  background: url('./images/cases-page-case-two.webp') center/cover no-repeat;
}

.cases__item:nth-child(3) {
  background: url('./images/cases-page-case-three.webp') center/cover no-repeat;
}

/* Компания «Литейный Цех №1» */
.our-company {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 150px;
  height: 630px;
  width: 100%;
  max-width: 1920px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
    url('./images/about-us-banner.webp') center/cover no-repeat;
  color: #fff;
  padding: 180px 344px 163px;
  margin: 0 auto;
}

.our-company__content {
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.our-company__title {
  font-size: 44px;
  font-weight: 500;
  line-height: 54px;
  text-transform: uppercase;
}

.our-company__wrapper {
  display: flex;
  flex-direction: column;
  gap: 27px;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.our-company__bold_text {
  font-weight: 700;
}

.our-company__btn-container {
  align-self: flex-end;
}

/* Наша команда */
.our-team {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
  max-width: 1920px;
  height: 100%;
  max-height: 591px;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #fff;
  padding: 105px 344px 289px;
  margin: 0 auto;
}

.our-team__title {
  font-size: 44px;
  font-style: normal;
  font-weight: 600;
  line-height: 53.5px;
  text-transform: uppercase;
}

.our-team__wrapper {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
}

.our-team__description {
  flex-basis: 623px;
}

.our-team__container {
  display: flex;
  flex-direction: column;
  padding-right: 90px;
}

.our-team__line {
  width: 69px;
  height: 6px;
  background: #FDC200;
}

.our-team__elem {
  font-size: 24px;
  font-weight: 700;
  line-height: 19px;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 23px;
}

.our-team__cards {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 41px auto 0;
}

.our-team__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 296px;
}

.our-team__img-container {
  width: 100%;
  height: 260px;
  background: #d9d9d9;
}

.our-team__data {
  display: flex;
  flex-direction: column;
  padding: 33px 36px;
  background: #fff;
  color: #404040;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.our-team__name {
  color: #060e29;
  font-weight: 700;
}

/* документация */
.documentation {
  display: grid;
  grid-template-columns: 45.2% 1fr;
  gap: 60px;
  width: 100%;
  max-width: 1920px;
  background: #f5f3f1;
  padding: 295px 344px 129px;
  margin: 0 auto;
}

.documentation__img {
  width: 100%;
  object-fit: cover;
}

.documentation__info {
  display: flex;
  flex-direction: column;
  gap: 33px;
  color: #5e5d5d;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.documentation__title {
  color: #060e29;
  font-size: 32px;
  font-weight: 500;
  line-height: 44.5px;
  letter-spacing: -0.32px;
  text-transform: uppercase;
}

.documentation__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  margin-top: 20px;
}

.documentation__item {
  display: flex;
  align-items: center;
  gap: 22px;
}

.documentation__wrapper {
  display: flex;
  flex-direction: column;
  color: #060e29;
  font-size: 18px;
  font-weight: 700;
  line-height: 30px;
}

.documentation__link {
  color: #5e5d5d;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

/* декоративный блок */
.decorative-block {
  width: 100%;
  height: 200px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    url('./images/home-welding-2.webp') center/cover no-repeat;
}

@media screen and (max-width: 1919px) {
  .top-wrapper {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Кованые и литые изделия,
     Отправьте заявку,
     Кнопка кейсы */
  .forged-and-cast-products,
  .send-request,
  .cases-btn-container {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Кейсы */
  .cases {
    max-width: 100%;
    padding-left: calc((100% - 1232px) / 2);
  }

  /* Компания «Литейный Цех №1» */
  .our-company {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Наша команда */
  .our-team {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* документация */
  .documentation {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media screen and (max-width: 1297px) {
  .send-request {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media screen and (max-width: 1279px) {
  .top-wrapper {
    min-width: 100%;
    padding: 30px 32px 44px;
  }

  .main {
    overflow: hidden;
  }

  /* Кованые и литые изделия */
  .forged-and-cast-products {
    gap: 47px;
    padding-top: 50px;
    padding-bottom: 74px;
  }

  /* Отправьте заявку */
  .send-request {
    gap: 47px;
    padding-bottom: 100px;
  }

  .send-request__buttons {
    flex-direction: column;
  }

  /* Кейсы */
  .cases-btn-container {
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding-bottom: 23px;
  }

  .cases-btn-container__title {
    display: block;
  }

  .cases {
    padding-bottom: 100px;
  }

  .cases {
    padding: 0 0 105px 32px;
  }

  /* Компания «Литейный Цех №1» */
  .our-company {
    flex-direction: column;
    gap: 0;
    background-position: 58%;
    padding: 86px 32px 102px;
  }

  .our-company__content {
    gap: 42px;
  }

  .our-company__btn-container {
    align-self: flex-start;
  }

  /* Наша команда */
  .our-team {
    max-height: 661px;
    padding: 58px 0 240px 32px;
  }

  .our-team__wrapper {
    flex-direction: column;
    gap: 75px;
    width: 100%;
  }

  .our-team__description {
    flex-basis: auto;
    padding-right: 178px;
  }

  .our-team__container {
    padding-right: 0;
  }

  .our-team__cards {
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    margin: 23px auto 0;
  }

  .our-team__card {
    min-width: 296px;
  }

  /* документация */
  .documentation {
    display: flex;
    flex-direction: column;
    gap: 45px;
    padding: 259px 32px 59px;
  }

  .documentation__img {
    height: 100%;
    max-height: 297px;
  }

  .documentation__info {
    padding-right: 260px;
  }

  .documentation__title {
    font-size: 32px;
  }

  .documentation__list {
    margin-top: 10px;
  }
}

@media screen and (max-width: 766px) {
  .top-container {
    background-position: 38%;
  }

  .top-wrapper {
    min-width: 375px;
    padding: 30px 16px 35px;
  }

  /* Кованые и литые изделия */
  .forged-and-cast-products {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr minmax(282px, auto);
    gap: 48px;
    max-width: 450px;
    padding: 30px 16px 48px;
  }

  /* Отправьте заявку */
  .send-request {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr minmax(253px, auto);
    gap: 36px;
    min-width: 343px;
    max-width: 450px;
    padding: 0 16px 93px;
  }

  .send-request__column:first-child {
    order: 2;
  }

  .send-request__column:last-child {
    order: 1;
  }

  .send-request__title {
    margin-top: 0;
    margin-bottom: 12px;
  }

  .send-request__buttons {
    margin-bottom: 54px;
  }

  /* Кейсы */
  .cases-btn-container {
    gap: 15px;
    padding:0 16px 36px;
  }

  .cases {
    padding: 0 0 52px 16px;
  }

  .cases-btn-container__title {
    font-size: 32px;
    line-height: 43px;
  }

  .cases__item {
    min-width: 220px;
    max-width: 220px;
    height: 155px;
  }

  /* Компания «Литейный Цех №1» */
  .our-company {
    background-position: 54%;
    height: 100%;
    padding: 55px 16px 78px;
  }

  .our-company__content {
    gap: 33px;
  }

  .our-company__title {
    font-size: 24px;
    line-height: 34px;
    padding-right: 20px;
  }

  .our-company__btn-container {
    margin-top: 82px;
  }

  /* Наша команда */
  .our-team {
    gap: 12px;
    padding: 40px 0 213px 16px;
  }

  .our-team__wrapper {
    gap: 62px;
  }

  .our-team__title {
    font-size: 24px;
  }

  .our-team__description {
    padding-right: 16px;
    max-width: 343px;
  }

  .our-team__container {
    padding-right: 0;
  }

  .our-team__cards {
    margin-top: 18px;
  }

  /* документация */
  .documentation {
    gap: 15px;
    padding: 267px 16px 59px;
  }

  .documentation__img {
    height: 176px;
    max-height: 176px;
  }

  .documentation__info {
    gap: 12px;
    padding-right: 0;
  }

  .documentation__title {
    font-size: 24px;
  }

  .documentation__list {
    margin-top: 28px;
  }

  /* декоративный блок */
  .decorative-block {
    height: 94px;
  }
}

.button.open-popup-btn {
  border-radius: 5px;
}

.open-map-btn {
  background: #f5f3f1;
  border: 1px solid #000;
  border-radius: 5px;
}
