*,
::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;
}

.decoration-pipes--bottom {
  bottom: 0;
  left: 0;
}

.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 {
  padding: 40px 20px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 40px 0;
}
.section-contact__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  margin-bottom: 40px;
}
@media only screen and (min-width: 768px) {
  .section-contact__title {
    flex-direction: row;
    gap: 48px;
  }
}
.section-contact__title h2 {
  font-size: 2.5em;
  color: #333;
}
.section-contact__title a {
  font-size: 1.2em;
  color: #0056b3;
  text-decoration: none;
  font-weight: bold;
}
.section-contact__addresses {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-block-start: 32px;
}
.section-contact .address-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.section-contact .address-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.section-contact .address-item__title {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.5em;
  color: #333;
}
.section-contact .address-item__phone {
  font-size: 1.2em;
  color: #0056b3;
  font-weight: bold;
  flex-grow: 1;
}
.section-contact .address-item address {
  font-style: normal;
  color: #666;
  justify-self: end;
}

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