/* Обертка хедера и хлебных крошек */
.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;
}

/* Информационный блок */
.info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 1920px;
  padding: 54px 344px 128px;
  margin: 0 auto;
}

.info__column {
  display: flex;
  flex-direction: column;
  gap: 34px;
  width: 100%;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  list-style: none;
}

.info-grid__cell {
  display: flex;
  flex-direction: column;
  gap: 29px;
  width: 100%;
  padding: 52px 20px 40px 33px;
  position: relative;
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  color: rgba(255, 255, 255, 1);
}

.info-grid__cell::before {
  content: '';
  position: absolute;
  width: 93px;
  height: 11px;
  top: 0;
  left: 33px;
  background: #FDC200;
}

.info-grid__cell a {
  cursor: pointer;
  width: fit-content;
}

.info-grid__cell:nth-child(1) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
  url('./images/about_company-about_us.webp') center/cover no-repeat;
}

.info-grid__cell:nth-child(2) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
  url('./images/about_company-production_capacities.webp') center/cover no-repeat;
}

.info-grid__cell:nth-child(3) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
  url('./images/about_company-feedbacks.webp') center/cover no-repeat;
}
.info-grid__cell:nth-child(4) {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
  url('./images/about_company-to_partners.webp') center/cover no-repeat;
}

.info__title {
  font-size: 20px;
  font-weight: 500;
  line-height: 30px;
  color: rgba(6, 14, 41, 1);
}

.info__content {
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
  color: rgba(94, 93, 93, 1);
}

/* Ключевые направления */
.key-directions {
  display: flex;
  flex-direction: column;
  gap: 35px;
  width: 100%;
  max-width: 1920px;
  padding:0 344px 62px;
  margin: 0 auto;
}

.key-directions__header {
  font-size: 32px;
  font-weight: 500;
  line-height: 44px;
  font-style: normal;
  color: #060e29;
  text-transform: uppercase;
  max-width: 600px;
}

.key-directions__content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.key-directions__card {
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 32px 35px 35px;
}

.key-directions__card > :first-child {
  margin-bottom: 44px;
}

.key-directions__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 27px;
  margin-bottom: 20px;
  color: rgba(6, 14, 41, 1);
  max-width: 240px;
}

.key-directions__description {
  font-size: 14px;
  font-weight: 400;
  line-height: 27px;
  color: rgba(64, 64, 64, 1);
}

/* Литые и сварные изделия для промышленности */
.products-for-industry {
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.7) 100%),
  url('./images/home-casting-for-individual-customers.webp') center/cover no-repeat;
}

.products-for-industry__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 106px;
  width: 100%;
  max-width: 1920px;
  padding: 125px 344px;
  font-family: 'Roboto', Arial, sans-serif;
  font-style: normal;
  color: #fff;
  margin: 0 auto;
}

.products-for-industry__content {
  display: flex;
  flex-direction: column;
  gap: 62px;
}

.products-for-industry__title {
  font-size: 44px;
  font-style: normal;
  font-weight: 500;
  line-height: 54px;
  text-transform: uppercase;
}

.products-for-industry__wrapper {
  display: flex;
  flex-direction: column;
  gap: 27px;
  font-size: 16px;
  font-weight: 400;
  line-height: 27px;
}

.products-for-industry__btn-container {
  align-self: flex-end;
}


/* Компания «Литейный Цех №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;
  }

  /* Информационный блок
     Ключевые направления */
  .info,
  .key-directions {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Литые и сварные изделия для промышленности */
  .products-for-industry__container {
    max-width: 1280px;
    padding-left: 24px;
    padding-right: 24px;
  }

  /* Компания «Литейный Цех №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: 1279px) {
  .top-wrapper {
    min-width: 100%;
    padding: 30px 32px 44px;
  }

  .main {
    overflow: hidden;
  }

  /* Информационный блок */
  .info {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(auto, auto);
    gap: 45px;
    max-width: 766px;
    padding-top: 45px;
    padding-bottom: 90px;
  }

  .info__column {
    gap: 30px;
  }

  .info__wrapper {
    margin-top: 0;
  }

  /* Ключевые направления */
  .key-directions {
    gap: 25px;
    max-width: 766px;
    padding-bottom: 44px;
  }

  .key-directions__content {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Литые и сварные изделия для промышленности */
  .products-for-industry__container {
    flex-direction: column;
    gap: 39px;
    min-width: 100%;
    padding: 90px 32px 80px;
  }

  .products-for-industry__content {
    gap: 38px;
  }

  .products-for-industry__title {
    font-size: 40px;
  }


  /* Компания «Литейный Цех №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;
  }

  /* Информационный блок */
  .info {
    max-width: 450px;
    gap: 30px;
    padding-top: 35px;
    padding-bottom: 80px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }

  /* Ключевые направления */
  .key-directions {
    gap: 16px;
    max-width: 450px;
  }

  .key-directions__content {
    grid-template-columns: 1fr;
  }

  .key-directions__header {
    font-size: 24px;
    line-height: 35px;
  }

  /* Литые и сварные изделия для промышленности */
  .products-for-industry__container {
    gap: 37px;
    min-width: 343px;
    max-width: 100%;
    padding: 70px 16px 65px;
  }

  .products-for-industry__content {
    gap: 20px;
  }

  .products-for-industry__title {
    font-size: 24px;
    font-weight: 500;
    line-height: 34px;
  }

  .products-for-industry__wrapper {
    max-width: 100%;
  }

  .products-for-industry__btn-container {
    align-self: flex-start;
  }


  /* Компания «Литейный Цех №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;
}


