*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul, li {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3 {
  text-transform: uppercase;
}

a {
  color: #231f20;
}

body {
  font-family: Inter, sans-serif;
  max-width: 1280px;
  margin-inline: auto;
  padding: 0 12px;
}

.header, .section-services {
  position: relative;
  overflow: hidden;
  background: #231f20;
}

.header {
  position: relative;
  overflow: hidden;
}

.decoration-pipes--top,
.decoration-pipes--bottom {
  position: absolute;
  width: 100%;
  z-index: 1;
}

.decoration-pipes--top {
  top: 0;
  left: 0;
  height: 100%;
}

.decoration-pipes--bottom {
  bottom: 0;
  left: 0;
  @media only screen and (max-width: 950px) {
    display: none;
  }
}

.header__information {
  display: flex;
  justify-content: space-evenly;
  color: #fafafa;
  background: #231f20;
  text-align: center;
  padding: 12px;
  font-style: italic;
  position: relative;
  z-index: 2;
}
@media only screen and (max-width: 950px) {
  .header__information span:first-child,
  .header__information span:last-child {
    display: none;
  }
}

.header-content {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 32px;
  padding: 32px 80px;
  background: #d7191e;
}
@media only screen and (min-width: 768px) {
  .header-content {
    flex-direction: row;
  }
}
.header-content__title {
  flex: 2;
  color: #fafafa;
  font-size: 1.5rem;
  z-index: 2;
}
.header-content__title--text-big {
  font-size: 2rem;
}
.header-content__title--text-small {
  font-size: 1rem;
}
.header-content__logo {
  flex: 1;
  width: 280px;
  z-index: 2;
}

.header__main-image {
  position: relative;
  display: flex;
  justify-content: center;
  background: #d7191e;
  overflow: hidden;
}
.header__main-image img {
  height: 340px;
  max-width: 100%;
  object-fit: cover;
  z-index: 11;
  margin-bottom: 32px;
}
.header__main-image--decoration {
  position: absolute;
  z-index: 10;
  top: 75px;
  left: 50%;
  transform: translateX(-50%);
  height: 640px;
  width: 1280px;
  border-radius: 50% 50% 0 0;
  background: #231f20;
}

.section-history {
  margin: 24px 0;
}
.section-history__content {
  text-align: center;
  padding: 48px;
  background-image: url("/images/paper.jpg");
  background-repeat: no-repeat;
}
.section-history__content h2 {
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 32px;
}
.section-history__content p {
  line-height: 150%;
}
.section-history__img {
  height: 310px;
  width: 100%;
  object-fit: cover;
}

.section-services {
  padding: 48px;
}
.section-services--decoration {
  position: absolute;
  z-index: 2;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  height: 640px;
  width: 1280px;
  border-radius: 0 0 50% 50%;
  background: #231f20;
}
.section-services__title {
  color: #fafafa;
  margin-bottom: 24px;
  font-weight: normal;
  position: relative;
  z-index: 3;
}
.section-services__cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.section-services__card {
  background: #231f20;
  border-radius: 4px 6px 0 0;
  z-index: 3;
}
.section-services__card__title {
  font-size: 1.25rem;
  text-align: center;
  font-weight: 700;
  padding: 8px 16px;
  color: #fafafa;
}
.section-services__card__img {
  height: 220px;
  width: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 4px 6px 0 0;
}
.section-services__card .img-center {
  object-position: bottom;
}
.section-services__card--red {
  background: #d7191e;
}
.section-services__card--fullwidth {
  grid-column: 1/-1;
}

.section-contact {
  margin: 48px 0;
}
.section-contact__title {
  display: flex;
  align-items: center;
  gap: 48px;
}
.section-contact__addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-block: 32px;
}
.section-contact .address-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.section-contact .address-item__title {
  text-transform: uppercase;
  margin-bottom: 6px;
}

/*# sourceMappingURL=style.css.map */
