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

html {
  height: 100%;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

a {
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  max-width: 1180px;
  padding: 0 15px;
  margin: 0 auto;
}

.header__wrapper {
  margin-bottom: 37px;
  padding: 33px 15px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.header__logo-link {
  display: block;
}

.header__logo-link:hover {
  opacity: 0.7;
}

.header__logo-link:active {
  opacity: 0.4;
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.nav__link {
  color: #121212;
  font-size: 18px;
  line-height: normal;
  letter-spacing: -0.54px;
  text-transform: uppercase;
  padding: 30px 0;
}

.nav__link:hover {
  opacity: 0.5;
  text-decoration: underline;
  text-decoration-color: #000000;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.nav__link:active {
  opacity: 0.4;
}

.page {
  height: 100%;
  font-family: "Manrope", sans-serif;
  display: flex;
  flex-direction: column;
}

.hero {
  display: flex;
  flex-direction: column;
  min-height: 650px;
  margin-bottom: 150px;
  background-image: url("../resources/hero-interior.jpg");
  background-repeat: no-repeat;
  background-position: bottom;
}

.hero__title {
  max-width: 956px;
  margin-bottom: 30px;
  color: #121212;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.8px;
}

.hero__text {
  max-width: 465px;
  margin-top: auto;
  padding: 0 0 40px 40px;
  color: #ffffff;
  font-size: 20px;
  line-height: normal;
  letter-spacing: -0.6px;
}

.about {
  display: flex;
  flex-direction: column;
  margin-bottom: 150px;
}

.about__title {
  margin-bottom: 30px;
  color: #121212;
  font-size: 18px;
  line-height: normal;
  letter-spacing: -0.54px;
  text-transform: uppercase;
}

.about__text {
  margin-bottom: 26px;
  padding-left: 3px;
  max-width: 1048px;
  color: #121212;
  font-size: 45px;
  line-height: normal;
  letter-spacing: -1.35px;
}

.view-services-btn {
  align-self: flex-start;
  border-radius: 5px;
  padding: 20px 40px;
  background-color: #ad1818;
  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
  line-height: normal;
  letter-spacing: -0.6px;
  transition: 0.3s ease-in-out;
}

.view-services-btn:hover {
  outline: 1px solid #ad1818;
  background-color: transparent;
  color: #ad1818;
  transition: 0.3s ease-in-out;
}

.view-services-btn:active {
  background-color: #dad5d5;
  transition: 0.3s ease-in-out;
}

.projects {
  padding-bottom: 150px;
}

.projects__list {
  display: flex;
  flex-direction: column;
  gap: 90px;
  margin-bottom: 90px;
}

.projects__image {
  margin-bottom: 13px;
}

.projects__title {
  margin-bottom: 30px;
  color: #121212;
  font-size: 18px;
  line-height: normal;
  letter-spacing: -0.54px;
  text-transform: uppercase;
}

.projects__item-title {
  margin-bottom: 15px;
  color: #121212;
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.9px;
}

.projects__view-more {
  color: #ad1818;
  font-size: 20px;
  line-height: normal;
  letter-spacing: -0.6px;
}

.projects__view-more:hover {
  opacity: 0.7;
}

.projects__view-more:active {
  opacity: 0.4;
}

.projects__btn {
  display: block;
  width: 100%;
  border: 1px solid #ad1818;
  border-radius: 5px;
  padding: 56px;
  color: #ad1818;
  text-align: center;
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.9px;
  transition: 0.3s ease-in-out;
}

.projects__btn:hover {
  color: #ffffff;
  background-color: #ad1818;
  transition: 0.3s ease-in-out;
}

.projects__btn:active {
  background-color: #8b3737;
  transition: 0.3s ease-in-out;
}

.services {
  background-color: #121212;
  padding: 150px 0;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.services__title {
  margin-bottom: 34px;
  color: #ffffff;
  font-size: 18px;
  line-height: normal;
  letter-spacing: -0.54px;
  text-transform: uppercase;
}

.services__item-img {
  display: block;
  min-height: 270px;
  margin-bottom: 15px;
}

.services__item-img--planning-solution {
  background-image: url("../resources/planning-solution.jpg");
  background-repeat: no-repeat;
}

.services__item-img--design-project {
  background-image: url("../resources/design-project.jpg");
  background-repeat: no-repeat;
}

.services__item-img--author-supervision {
  background-image: url("../resources/author-supervision.jpg");
  background-repeat: no-repeat;
}

.services__item-img--equipment {
  background-image: url("../resources/equipment.jpg");
  background-repeat: no-repeat;
}

.services__item-text {
  padding-left: 3px;
  color: #ffffff;
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.9px;
}

.apartment-project {
  position: relative;
}

.apartment-project__image {
  width: 100%;
  height: 100%;
}

.apartment-project__desc {
  max-width: 443px;
  position: absolute;
  bottom: 62px;
  color: #ffffff;
  font-size: 30px;
  line-height: normal;
  letter-spacing: -0.9px;
}

.contacts {
  padding: 148px 0 161px 0;
}

.contacts__title {
  position: relative;
  margin-bottom: 32px;
  padding-top: 36px;
  color: #121212;
  font-size: 18px;
  line-height: normal;
  letter-spacing: -0.54px;
  text-transform: uppercase;
}

.contacts__title::before {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  top: -2px;
  left: -5px;
  background-image: url("../resources/icon-phone.svg");
  background-repeat: no-repeat;
}

.contacts__phone {
  margin-bottom: 30px;
  display: block;
  color: #121212;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.8px;
}

.contacts__phone:hover {
  color: #ad1818;
}

.contacts__phone:active {
  opacity: 0.3;
}

.contacts__mail {
  display: block;
  color: #121212;
  opacity: 0.5;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.8px;
  text-decoration: underline;
  text-decoration-color: #000000;
  text-decoration-thickness: 2px;
  text-underline-offset: 16px;
}

.contacts__mail:hover {
  opacity: 1;
  text-decoration-color: #ad1818;
}

.contacts__mail:active {
  opacity: 0.3;
  color: #ad1818;
}

.footer {
  margin-top: auto;
  padding: 60px 0 30px 0;
  background-color: #121212;
}

.footer .nav__list {
  margin-bottom: 92px;
  padding-right: 11px;
  gap: 0;
  justify-content: center;
}

.footer .nav__item:not(:last-child) {
  margin-right: 55px;
}

.footer .nav__link {
  color: #ffffff;
}

.copyright {
  padding-left: 6px;
  display: block;
  text-align: center;
  color: #ffffff;
  opacity: 0.5;
  font-size: 20px;
  font-style: normal;
  letter-spacing: -0.6px;
}