body,
a {
  box-sizing: border-box;
  font-size: 16px;
}
*,
a {
  color: #493628;
  font-family: "Raleway", sans-serif;
  scrollbar-width: none;
}

@media screen and (max-width: 550px) {
  body,
  a {
    font-size: 14px;
  }
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
}

.alert_custom_class {
  position: fixed;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translateX(-50%);
  transition: 0.3s;
}

.alert_close_button {
  width: 24px;
  height: 24px;
}

@media screen and (max-width: 550px) {
  .alert_custom_class {
    width: 80vw;
  }
}

.btn-close {
  position: static !important;
  padding: 0 !important;
  margin-left: 30px;
}

.burger {
  display: none;
  width: 30px;
  cursor: pointer;
  z-index: 1000;
}

.burger div {
  width: 100%;
  height: 3px;
  background: black;
  transition: 0.3s;
}

.burger div:nth-child(2) {
  margin: 5px 0;
}

.burger.active div:nth-child(1) {
  transform: rotate(45deg) translate(6px, 5px);
}

.burger.active div:nth-child(2) {
  opacity: 0;
}

.burger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media screen and (max-width: 1250px) {
  .burger {
    display: block;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  width: 100vw;
  border-bottom: 1px solid #d9d9d9;
  background: #fff;
  padding: 10px 0;
}

.header_nav {
  cursor: pointer;
  display: flex;
  gap: 35px;
  font-weight: 700;
  text-transform: uppercase;
}

.phone_number {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
}

.header_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 1250px) {
  .header_container {
    width: 100%;
    justify-content: flex-start;
    align-items: center;
  }
  .phone_number {
    margin-left: auto;
    margin-right: 15px;
  }
  .phone_number span {
    display: none;
  }

  .header_nav {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    right: -100vw;
    background-color: #fff;
    transition: 0.3s;
    z-index: 20;
  }

  .header_nav.open {
    right: 0;
  }
}

.main_block {
  padding-top: 180px;
}

@media screen and (max-width: 550px) {
  .main_block {
    padding-top: 150px !important;
  }
}

.page_container {
  max-width: 1200px;
  width: 80vw;
  margin: 0 auto;
}

@media screen and (max-width: 550px) {
  .page_container {
    width: 100vw;
    padding: 0 15px;
  }
}

.title_selection_container {
  position: relative;
}

@media screen and (max-width: 1366px) {
  .title_selection_container {
    display: none;
  }
}

.section {
  margin-top: 100px;
}

@media screen and (max-width: 550px) {
  .section {
    margin-top: 0;
  }
}

.main_title {
  margin-bottom: 50px;
}

.main_title,
.title_selection_container {
  font-size: 68px;
  font-weight: 600;
  text-transform: uppercase;
}

.title {
  font-size: 44px;
  font-style: italic;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 50px;
}

@media screen and (max-width: 1100px) {
  .main_title,
  .title_selection_container,
  .title {
    font-size: 54px;
  }
  .title {
    padding-top: 70px;
  }
}

@media screen and (max-width: 550px) {
  .main_title,
  .title_selection_container,
  .title {
    font-size: 36px;
    margin-bottom: 24px;
  }
}

.button {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #493628;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 20px;
}

.button a {
  color: #fff;
}

@media screen and (max-width: 550px) {
  .button {
    font-size: 16px;
    width: 100%;
  }
}

/* MAIN BLOCK */
.title_selection {
  position: absolute;
  top: -19px;
  left: -15px;
}

.title_quote {
  margin: 32px 0 0 60%;
}

@media screen and (max-width: 550px) {
  .title_quote {
    margin: 24px 0 0 40%;
  }
}

.main_section_img {
  width: 100vw;
}

@media screen and (max-width: 550px) {
  .main_section_img {
    margin-top: 50px;
  }
}

/* ABOUT US BLOCK */
.about_us_content {
  margin-left: auto;
  width: 40%;
}

@media screen and (max-width: 932px) {
  .about_us_arrow {
    display: none;
  }
  .about_us_content {
    margin-left: 0;
    width: 100%;
  }
}

.about_us_arrow {
  position: relative;
  top: 60px;
  right: 0;
}

.about_us_content p {
  margin-bottom: 24px;
}

/* Our Capacity */
.our_capacity_list {
  display: flex;
  gap: 23px;
}

@media screen and (max-width: 800px) {
  .our_capacity_list {
    overflow-x: scroll;
    overflow-y: visible;
  }
}

.our_capacity_item {
  overflow-y: hidden;
  overflow: visible;
}

.our_capacity_item p {
  margin-top: 24px;
}

.our_capacity_item {
  flex: 1;
}

.our_capacity_item img {
  width: 100%;
}

@media screen and (max-width: 550px) {
  .our_capacity_item {
    flex: 0 1 auto;
  }
  .our_capacity_item img {
    width: 60vw;
    height: auto;
  }
}

/* SERIVCE BLOCK */
.services_list {
  margin-top: 50px;
}

@media screen and (max-width: 550px) {
  .services_list {
    margin-top: 0;
  }
}

.services_item {
  width: 100%;
  border-top: 1px solid #d9d9d9;
  padding: 50px 0;
}

.services_item span {
  font-weight: 600;
  font-size: 22px;
  text-transform: uppercase;
}

@media screen and (max-width: 550px) {
  .services_item span {
    font-size: 14px;
  }
}

.services_item:last-child {
  border-bottom: 1px solid #d9d9d9;
}

.services_item:nth-last-child() {
  border-bottom: 1px solid #d9d9d9;
}

.services_item_numeration {
  margin-right: 67px;
}

.services_item_numeration::before {
  content: "( ";
}

.services_item_numeration::after {
  content: " )";
}

@media screen and (max-width: 550px) {
  .services_item {
    padding: 24px 0;
  }
  .services_item_numeration {
    margin-right: 15px;
  }
}

#carouselPortfolio {
  display: none;
}

@media screen and (max-width: 550px) {
  #carouselPortfolio {
    display: block;
  }
}

.portfolio_list {
  display: flex;
  justify-content: space-between;
  overflow-x: scroll;
  gap: 24px;
  min-width: 100%;
}

.portfolio_list img {
  width: 100%;
}

@media screen and (max-width: 550px) {
  .portfolio_list {
    display: none;
  }
}

/* Stages of work list */
.stages_of_work_list {
  display: grid;
  grid-template-areas:
    "stages_of_work_item1 stages_of_work_item2 stages_of_work_item3 stages_of_work_item4"
    "stages_of_work_item_img stages_of_work_item_img stages_of_work_item5 stages_of_work_item6";
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media screen and (max-width: 1024px) {
  .stages_of_work_list {
    grid-template-areas:
      "stages_of_work_item1"
      "stages_of_work_item2"
      "stages_of_work_item3"
      "stages_of_work_item4"
      "stages_of_work_item5"
      "stages_of_work_item6";
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
    padding-right: 15px;
  }
  .stages_of_work_item_img {
    display: none;
  }
}

.stages_of_work_item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 245px;
  border: 1px solid #d9d9d9;
  padding: 24px;
}

.stages_of_work_item_number {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 10px;
}

.stages_of_work_item_img {
  grid-area: stages_of_work_item_img;
  min-height: 245px;
}

.stages_of_work_item_img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 550px) {
  .stages_of_work_list {
    grid-template-areas: "stages_of_work_item1 stages_of_work_item2 stages_of_work_item3 stages_of_work_item4 stages_of_work_item5 stages_of_work_item6";
    grid-template-columns: repeat(6, 1fr);
    scrollbar-width: none;
    overflow-x: scroll;
    gap: 24px;
  }

  .stages_of_work_item {
    width: 245px;
  }

  .stages_of_work_item_number {
    font-size: 36px;
  }
}

/* Price table */
.price_table_list {
  margin-top: 24px;
}

.price_table_item {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
}

.price_table_item span {
  padding: 20px 24px;
  border: 1px solid #d9d9d9;
}

@media screen and (max-width: 550px) {
  .price_table_item {
    grid-template-columns: repeat(3, 1fr);
  }
  .price_table_item span {
    font-size: 12px;
  }
}

/* Calculation price  */
.calculation_content {
  display: flex;
  align-items: center;
  gap: 24px;
}
.calculation_price {
  margin-bottom: 24px;
}

@media screen and (max-width: 1024px) {
  .calculation_content {
    flex-direction: column;
  }
  .calculation_content img {
    width: 100%;
  }
}

/* Execution period */
.execution_period_content {
  display: flex;
  align-items: center;
  gap: 24px;
}

@media screen and (max-width: 1024px) {
  .execution_period_content {
    flex-direction: column;
  }
}

@media screen and (max-width: 550px) {
  .execution_period_content img {
    width: 100%;
  }
}

.error_message {
  display: none;
  color: #dd1d1d;
  font-size: 12px;
  margin-top: 5px;
}
.lable_error {
  color: #dd1d1d;
}
.lable_error input {
  border-color: #dd1d1d !important;
}

.lable_error .error_message {
  display: block;
}

.execution_period_item {
  display: flex;
}

.execution_period_img {
  background: url("./img/yellow_arrow_right.png");
  background-position: center;
  height: 14px;
  width: 17.5px;
  margin-right: 10px;
}

@media screen and (max-width: 550px) {
  .execution_period_img {
    width: auto !important;
  }
}

.execution_period_list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

/* FAQ  */
.faq_item {
  font-weight: 600;
  font-size: 18px;
  text-transform: uppercase;
  width: 100%;
  border-top: 1px solid #d9d9d9;
  cursor: pointer;
  padding: 50px 0;
}
.faq_item {
  user-select: none;
}
.faq_item:last-child {
  border-bottom: 1px solid #d9d9d9;
}
.faq_quetion_container {
  font-size: 18px;
  display: flex;
  transition: 0.3s;
}
.faq_quetion_container img {
  transition: 0.3s;
  width: 36px;
  height: 36px;
}
.faq_item_quetion {
  margin: 0 auto 0 72px;
}

.faq_item_quetion span {
  font-size: 18px;
  font-weight: bold;
  line-height: 120%;
}

.faq_item_answer {
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  text-transform: none;
  margin-top: 24px;
}

@media screen and (max-width: 1024px) {
  .faq_item_quetion {
    width: 80%;
    margin: 0 auto 0 30px;
  }
}

@media screen and (max-width: 550px) {
  .faq_item {
    padding: 24px 0;
  }
  .faq_quetion_container span {
    font-size: 16px;
  }
  .faq_quetion_container img {
    width: 24px;
    height: 24px;
  }
  .faq_item_answer {
    font-size: 14px;
    width: 130%;
  }
  .faq_item_quetion {
    width: 60%;
  }
}

/* Contact */
.contact_item_container {
  display: flex;
}
.contact_item_container div,
.contact_item_container form {
  flex: 1;
}
.contact_item_title {
  font-size: 18px;
  font-weight: 700;
}
@media screen and (max-width: 550px) {
  .contact_item_title {
    font-size: 16px;
  }
}
.contact_item_ofice_block {
  margin-bottom: 50px;
}
.contact_item_subtitle {
  margin-top: 24px;
}

.contact_form_title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
}

.form_row_field {
  display: flex;
  gap: 24px;
}

.form_row_field label {
  flex: 1;
  margin-bottom: 24px;
}

.form_row_field label {
  flex: 1;
}

.form_row_field label input {
  height: 40px;
}
.form_row_field label textarea {
  padding-top: 10px;
  min-height: 120px;
  resize: vertical;
  margin-bottom: 24px;
}

.form_row_field label textarea,
.form_row_field label input {
  padding-left: 10px;
  border: 1px solid #493628;
  margin-top: 10px;
}

.form_field {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

@media screen and (max-width: 550px) {
  .contact_item_container {
    flex-direction: column;
    gap: 50px;
  }

  .contact_item_container_right {
    display: flex;
    flex-direction: column;
  }

  .form_row_field {
    flex-direction: column;
    gap: 0;
  }
}

/* Social links */

.social_links_block {
  display: flex;
  gap: 15px;
  margin-top: 50px;
}

.social_links_block img {
  cursor: pointer;
}

/* User privacy */
.user_privacy_block {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 50px;
}

@media screen and (max-width: 550px) {
  .user_privacy_block {
    margin-top: 50px;
  }
}

.user_privacy_block span {
  cursor: pointer;
}
