@import "../fonts/inter.css";

:root {
  font-family: "Inter", sans-serif;
}

/* Start Shared styles */

body {
  background-color: #f3f3f3;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1720px;
  position: relative;
}

@media (max-width: 1800px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1220px) {
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
}

.container .block_header p {
  color: rgba(44, 41, 39, 0.4);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -1%;
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(44, 41, 39, 0.2);
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.container .block_header h2 {
  color: #2c2927;
  font-weight: 500;
  font-size: 55px;
  line-height: 1.2;
  letter-spacing: -3%;
}

.button {
  background: rgba(168, 136, 90, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 27px;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2%;
  border-radius: 10px;
  transition: all 0.5s ease-in-out;
}

.button .arrow {
  display: inline-block;
  transform: translateY(-4px);
  margin-left: 6px;
  font-weight: 400;
}

.button .button_icon {
  width: 30px;
  height: 30px;
  margin-left: 10px;
  display: inline-block;
  flex-shrink: 0;
}

.button:hover {
  background: rgba(195, 161, 113, 1);
}

.button:focus {
  background: rgba(168, 136, 91, 1);
}

/* End Shared styles */

header.header {
  position: fixed;
  width: 100%;
  display: block;
  color: #fff;
  z-index: 1002;
  padding-top: 27px;
  padding-bottom: 0;
  transition: background-color 0.4s ease-in-out, box-shadow 0.4s ease-in-out,
    padding 0.4s ease-in-out;
}

@media (max-width: 768px) {
  header.header {
    padding-top: 10px;
  }
}

header.header.scrolled {
  background-color: rgba(52, 42, 31, 0.9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 0 0 10px 10px;
}
.header .container {
  margin-left: auto;
  margin-right: auto;
  max-width: 1720px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 768px) {
  .header .container {
    background-color: rgba(52, 42, 31, 0.8);
    padding: 12px 10px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 5px;
  }

  header.header.scrolled .container {
    background-color: transparent;
    padding: 5px 10px;
  }
}

.header .logo_link {
  display: block;
  width: 200px;
  height: 52px;
  position: relative;
  z-index: 1001;
}

.header .navigate_box {
  display: flex;
  padding-left: 23px;
  padding-right: 23px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  position: relative;
  z-index: 1001;
}

.header .navigate_box .navigate_link a {
  display: block;
  color: white;
  font-size: 19px;
  letter-spacing: -2%;
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 18px;
  padding-bottom: 18px;
}

@media (max-width: 1400px) {
  .header .navigate_box .navigate_link a {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

@media (max-width: 1320px) {
  .header .navigate_box .navigate_link a {
    font-size: 17px;
  }
}

.header .contacts {
  display: flex;
  align-items: end;
}
.header .contacts .callback {
  margin-right: 30px;
}
.header .contacts .callback_link {
  font-size: 19px;
  letter-spacing: -2%;
  color: #fff;
  border-bottom: 1.3px #fff solid;
  display: block;
}

.header .contacts .phone_link {
  font-size: 19px;
  color: #fff;
  font-weight: 600;
  letter-spacing: -2%;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .contacts .phone_icon {
  display: none;
  flex-shrink: 0;
}

.header .contacts .phone_text {
  display: inline-block;
}

@media (max-width: 1320px) {
  .header .contacts .callback_link,
  .header .contacts .phone_link {
    font-size: 17px;
  }
}
@media (max-width: 480px) {
  .header .contacts .phone_link {
    font-size: 15px;
    font-weight: 500;
  }
}

/* Замена номера телефона на иконку на малых экранах */
@media (max-width: 398px) {
  .header .contacts .phone_text {
    display: none;
  }

  .header .contacts .phone_icon {
    display: block;
  }
}

.home_screen {
  min-height: 940px;
  position: relative;
  z-index: 1000;
  width: 100%;
  background: url("../images/home_screen_bg.jpg");
  background-size: cover;
  background-position: center;
  border-radius: 0px 0 20px 20px;
  overflow: hidden;
}

.home_screen .container {
  height: 100%;
  display: flex;
  margin-top: 590px;
  justify-content: space-between;
}

@media (max-width: 1500px) {
  .home_screen {
    min-height: 870px;
  }
  .home_screen .container {
    margin-top: 550px;
  }
}

@media (max-width: 1375px) {
  .home_screen {
    min-height: 870px;
    height: 80vh;
  }
  .home_screen .container {
    margin: 0;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 160px;
    padding-bottom: 25px;
  }
}

.home_screen .main_box h1 {
  font-weight: 500;
  font-size: 60px;
  letter-spacing: -3%;
  color: #fff;
  line-height: 1;
  position: relative;
  z-index: 1000;
}

@media (max-width: 1500px) {
  .home_screen .main_box h1 {
    font-size: 50px;
  }
}

.home_screen .main_box p {
  margin-top: 49px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -2%;
}

.home_screen .cta_box {
  margin-top: 15px;
  background-color: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 562px;
  backdrop-filter: blur(50px);
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
}

.home_screen .cta_box_content {
  display: flex;
  align-items: center;
}

.home_screen .cta_box_content .cta_box_icon {
  flex-shrink: 0;
  margin-right: 25px;
}
.home_screen .cta_box_content .cta_box_icon img {
  width: 107px;
  height: 107px;
  display: block;
  border-radius: 15px;
}
.home_screen .cta_box_content .cta_box_text p {
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -2%;
}

.home_screen .cta_box_content .cta_box_text p span {
  font-weight: 600;
}

.services {
  padding-top: 76px;
  padding-bottom: 180px;
}

.services_slider {
  overflow: visible;
}

/* Защита от потери стилей при перетаскивании */
.services_slider .swiper-slide {
  opacity: 1 !important;
}

.services_list {
  display: flex !important;
  flex-wrap: wrap;
  gap: 20px;
}

.service_item {
  background-color: #fff !important;
  border-radius: 10px;
  padding: 25px 40px;
  font-size: 25px;
  color: #2c2927;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  width: fit-content;
  line-height: 1.2;
  letter-spacing: -3%;
  cursor: default;
  opacity: 1 !important;
}

/* Переопределение стилей Swiper на десктопе */
@media (min-width: 769px) {
  .services_slider {
    overflow: visible !important;
  }

  .services_list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    transform: none !important;
    transition-duration: 0ms !important;
  }

  .service_item {
    width: fit-content !important;
    margin-right: 0 !important;
  }
}

/* Стили для services слайдера на мобильных */
@media (max-width: 768px) {
  .services_slider {
    overflow: hidden;
    margin-left: -20px;
    margin-right: -20px;
  }

  .services_list {
    flex-wrap: nowrap;
    gap: 10px;
    padding-top: 10px !important;
    padding-bottom: 15px !important;
  }

  .service_item {
    width: auto !important;
    max-width: none !important;
    min-width: max-content;
    flex-shrink: 0;
    cursor: grab;
    font-size: 18px;
    padding: 18px 25px;
  }

  /* Переопределяем ширину для swiper-slide */
  .services_slider .swiper-slide {
    width: auto !important;
    max-width: none !important;
  }

  .service_item:active {
    cursor: grabbing;
  }

  /* Добавляем отступы для первого и последнего элемента */
  .services_slider .swiper-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.service_item::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #a17c4f;
  border-radius: 4px;
  margin-right: 12px;
  flex-shrink: 0;
}

.service_item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1250px) {
  .service_item {
    font-size: 16px;
    padding: 20px 25px;
  }
  .service_item::before {
    width: 13px;
    height: 13px;
  }
}

.projects_slider {
  padding-top: 10px;
}

.projects {
  max-width: 100vw;
  overflow: hidden;
}

.block_header {
  margin-bottom: 40px;
}

.block_header p {
  color: #a17c4f;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.block_header h2 {
  font-size: 48px;
  font-weight: 700;
  color: #1f1509;
}

.projects_slider {
  position: relative;
  overflow: visible !important;
  padding-bottom: 20px;
  /* Делаем слайдер на всю ширину экрана */
  width: 1720px;
  padding-top: 40px !important;
}

@media (max-width: 1800px) {
  .projects_slider {
    width: calc(100dvw - 95px);
  }
}

@media (max-width: 1720px) {
  .projects_slider .swiper-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 1220px) {
  .projects_slider {
    width: calc(100dvw - 75px);
  }
}

@media (max-width: 1024px) {
  .projects_slider {
    width: calc(100dvw - 55px);
  }
}

@media (max-width: 768px) {
  .projects_slider {
    width: 100dvw;
  }
}

/* Для больших экранов - фиксированная ширина слайда */
@media (min-width: 1024px) {
  .projects_slider .swiper-slide {
    width: 705px;
    max-width: 705px;
  }
}

@media (max-width: 1024px) {
  .projects_slider .swiper-slide {
    width: 482px;
    max-width: 482px;
  }
}

@media (max-width: 768px) {
  .projects_slider .swiper-slide {
    width: 310px;
    max-width: 310px;
  }
}

/* Swiper navigation buttons */
.projects_slider .swiper-button-prev,
.projects_slider .swiper-button-next {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background-color: #a8885a;
  color: #fff;
  transition: all 0.5s ease;
  top: -13px;
  left: auto;
  /* Позиционируем относительно контейнера */
  right: 0;
}

.projects_slider .swiper-button-prev {
  right: 65px;
}

.projects_slider .swiper-button-next {
  /* background-color: #a8885a; */
  color: #fff;
}

.projects_slider .swiper-button-disabled {
  background-color: #dedede;
  cursor: default;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  content: none !important;
}

/* Swiper slide styles */
.projects_slider .swiper-slide {
  overflow: hidden;
  transition: transform 0.6s ease;
  height: auto;
}

.projects_slider .swiper-slide:hover {
  transform: translateY(-5px);
}

.projects_slider .swiper-slide .image {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 15px;
}

@media (max-width: 1024px) {
  .projects_slider .swiper-slide .image {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .projects_slider .swiper-slide .image {
    height: 220px;
  }
}

.projects_slider .swiper-slide .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projects_slider .swiper-slide .badges {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  z-index: 2;
}

.projects_slider .swiper-slide .badge {
  background-color: rgba(44, 41, 39, 0.3);
  backdrop-filter: blur(15px);
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
}

.projects_slider .swiper-slide .header {
  padding-top: 25px;
}

.projects_slider .swiper-slide .header h3 {
  font-size: 30px;
  font-weight: 500;
  color: rgba(44, 41, 39, 1);
}

.projects_slider .swiper-slide .desc {
  padding-top: 20px;
}

.projects_slider .swiper-slide .desc p {
  font-size: 19px;
  line-height: 1.3;
  color: rgba(104, 102, 100, 1);
}

/* Trust section - Почему нам доверяют */
.trust {
  padding: 180px 0;
}

.trust_box {
  display: flex;
  gap: 48px;
  padding-top: 80px;
}

.trust_items {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.trust_item {
  display: flex;
  flex-direction: column;
}

.trust_item_icon {
  width: 70px;
  height: 70px;
  background-color: rgba(168, 136, 90, 1);
  border-radius: 10px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.trust_item_header {
  font-size: 30px;
  font-weight: 500;
  color: rgba(44, 41, 39, 1);
  margin-bottom: 35px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.trust_item_content {
  font-size: 19px;
  line-height: 1.25;
  color: #686664;
  letter-spacing: -1px;
}

.trust_cta {
  width: 415px;
  background: url("../images/bg-trust.jpg") no-repeat center center;
  background-size: cover;
  border-radius: 15px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
}

.trust_cta_content h4 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 26px;
  letter-spacing: -1px;
  padding-right: 70px;
}

.trust_cta_content p {
  font-size: 19px;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 30px;
  letter-spacing: -1px;
  padding-right: 35px;
}
.trust_cta_content p span {
  font-weight: 600;
  color: #a8885a;
}

/* About section */
.about {
  padding: 80px 0 86px;
}

.about.background {
  background: url("../images/bg_about.jpg") no-repeat center center;
  background-size: cover;
  border-radius: 20px;
}

.about.background .block_header p {
  color: rgba(255, 255, 255, 0.4);
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.about.background .block_header h2 {
  color: #fff;
  padding-right: 350px;
}

@media (max-width: 768px) {
  .about.background .block_header h2 {
    padding-right: 0;
  }
}

.about .flex_box {
  display: flex;
  justify-content: flex-end;
  padding-top: 68px;
}

.about_block_box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  width: 708px;
  padding-right: 10px;
}

.about_block_box .text {
  flex: 1;
}

.about_block_box .text p {
  font-size: 19px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.about_block_box .text p:last-child {
  margin-bottom: 0;
}

.about_block_cta {
  width: 522px;
}

/* How work section */
.how_work {
  padding: 180px 0;
  overflow-x: hidden;
}

.how_work_box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 60px;
}

.how_work .block_header h2 {
  padding-right: 300px;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .how_work .block_header h2 {
    padding-right: 0;
  }
}

.how_work_box .item {
  background-color: #fff;
  border-radius: 15px;
  margin-bottom: 10px;
  padding: 40px 40px 32px 40px;
}

.how_work_box .item.big {
  grid-column: span 2;
  position: relative;
}

.how_work_box .item.big p {
  width: 550px;
}

.how_work_box .item h4 {
  font-size: 30px;
  font-weight: 500;
  color: #a8885a;
  margin-bottom: 70px;
}

.how_work_box .item p {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -1px;
  color: #686664;
  padding-right: 55px;
}

.how_work_box .item:nth-child(4) {
  background-color: #a8885a;
}

.how_work_box .item:nth-child(4) h4 {
  color: #fff;
}
.how_work_box .item:nth-child(4) p {
  color: rgba(255, 255, 255, 0.6);
  padding-right: 75px;
}

.how_work_box .item.big .block_image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 46%;
  height: auto;
}

.prices {
  overflow-x: hidden;
}

.prices .block_header h2 {
  padding-right: 400px;
  line-height: 1.2;
  letter-spacing: -1px;
}

@media (max-width: 768px) {
  .prices .block_header h2 {
    padding-right: 0;
  }
}

.prices_box {
  margin-top: 40px;
}

.price_items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
  padding-top: 60px;
}

.price_item {
  background-color: #e8e8e8;
  border-radius: 20px;
  padding: 50px 40px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price_item_head {
  font-size: 30px;
  font-weight: 500;
  color: #2c2927;
  margin-bottom: 40px;
}

.price_item_props ul {
  list-style: none;
  margin-bottom: 60px;
}

.price_item_props ul li {
  font-size: 19px;
  line-height: 1.3;
  color: #2c2927;
  padding-left: 50px;
  position: relative;
  min-height: 35px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.price_item_props ul li::before {
  content: url("../images/icons/li.svg");
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: #a8885a;
  border-radius: 5px;
  position: absolute;
  left: 0;
  top: 0px;
}

.price_line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 29px;
}

.price_line .price {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -2px;
  color: #a8885a;
  white-space: nowrap;
  position: relative;
}

@media (max-width: 1800px) {
  .price_line .price {
    font-size: 26px;
  }
}

.price_line .price_tooltip {
  background-color: rgba(168, 136, 90, 0.6);
  width: 25px;
  height: 25px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: -31px;
  top: -16px;
  cursor: pointer;
}

.price_line .price_tooltip .tooltip_text {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(52, 42, 31, 0.9);
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  max-width: 280px;
  min-width: 245px;
  white-space: normal;
  text-align: center;
  z-index: 100;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  letter-spacing: 0;
}

.price_line .price_tooltip .tooltip_text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(52, 42, 31, 0.9);
}

.price_line .price_tooltip:hover .tooltip_text {
  visibility: visible;
  opacity: 1;
}

.price_line .button {
  padding: 20px 30px;
  font-size: 19px;
  font-weight: 500;
  background-color: transparent;
  border: 1px solid #a8885a;
  border-radius: 5px;
  color: #a8885a;
  width: 55%;
}

@media (max-width: 1800px) {
  .price_line .button {
    padding: 17px 25px;
  }
  .price_line .button .button_icon {
    margin-left: 4px;
  }
}

@media (max-width: 1690px) {
  .price_line {
    align-items: flex-start;
    flex-direction: column;
  }

  .price_line .button {
    width: 100%;
    border-radius: 10px;
  }
  .price_line .button .button_icon {
    margin-left: 10px;
  }
}

.price_desc {
  text-align: center;
  color: #a8885a;
  font-size: 19px;
  line-height: 1.3;
}

/* FAQ section */
.faq {
  padding: 180px 0;
}

.faq_box {
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq_item {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.6s ease;
}

.faq_question {
  padding: 40px;
  font-size: 24px;
  font-weight: 500;
  color: #2c2927;
  cursor: pointer;
  position: relative;
  user-select: none;
}

.faq_question::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-image: url("../images/icons/faq_arrow.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}

.faq_item.active .faq_question::after {
  transform: translateY(-50%) rotate(180deg);
}

.faq_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s ease, padding 0.6s ease;
  padding: 0 40px;
  font-size: 19px;
  line-height: 1.3;
  color: #686664;
  max-width: 1180px;
}

.faq_item.active .faq_answer {
  padding: 0 40px 45px;
}

/* Consultation section */
.consultation {
  background-color: #2c2927;
  border-radius: 20px;
  padding: 80px 0 73px;
}
.consultation .block_header {
  margin-bottom: 0px;
  padding-bottom: 30px;
}
.consultation .block_header p {
  color: rgba(255, 255, 255, 0.4);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Consultation grid layout */
.consultation_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.consultation_left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.consultation_left h2 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 0;
}

.consultation_socials_wrapper {
  display: flex;
  flex-direction: column;
}

.consultation_socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.social_btn {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background-color: #4d4a48;
  border-radius: 5px;
  padding: 17px 30px;
  color: #fff;
  font-size: 19px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  width: auto;
}

.social_btn:hover {
  background-color: #4d4a48;
  color: #cac9c8;
}

.social_btn:hover img {
  filter: brightness(0) saturate(100%) invert(87%) sepia(3%) saturate(189%)
    hue-rotate(343deg) brightness(91%) contrast(87%);
}

.social_btn img {
  flex-shrink: 0;
  display: block;
}

.consultation_hint {
  font-size: 19px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: -0.5px;
}

/* Consultation form */
.consultation_right {
  max-width: 705px;
}

.consultation_form {
  display: flex;
  flex-direction: column;
}

.form_intro {
  font-size: 19px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 50px;
  max-width: 610px;
}

.form_field {
  width: 100%;
  background-color: #fff;
  border: none;
  border-radius: 5px;
  padding: 27px 30px;
  font-size: 19px;
  line-height: 1;
  color: #2c2927;
  margin-bottom: 20px;
}

.form_field::placeholder {
  color: rgba(44, 41, 39, 0.4);
}

.phone_input_wrapper {
  position: relative;
  margin-bottom: 20px;
}

.phone_flag {
  position: absolute;
  left: 30px;
  top: 40%;
  transform: translateY(-50%);
  font-size: 24px;
  pointer-events: none;
  opacity: 0;
  width: 0;
  transition: opacity 0.3s ease, width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.phone_flag.visible {
  opacity: 1;
  width: 24px;
}

.phone_field {
  padding-left: 30px;
  transition: padding-left 0.3s ease;
}

.phone_flag.visible ~ .phone_field,
.phone_input_wrapper:has(.phone_flag.visible) .phone_field {
  padding-left: 76px;
}

.contact_methods {
  padding-bottom: 50px;
}

.methods_label {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  line-height: 1.1;
  font-weight: 400;
}

.methods_grid {
  display: flex;
  gap: 24px;
}

.method_option {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.method_option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #fff;
  border-radius: 50%;
  background-color: transparent;
  position: relative;
  transition: all 0.3s ease;
}

.method_option input[type="radio"]:checked {
  border-color: #fff;
}

.method_option input[type="radio"]:checked::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}

.method_text {
  margin-left: 8px;
  font-size: 19px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}

.consultation_form .button {
  margin-bottom: 30px;
}

.form_agreement {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}

.form_agreement input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
}

.form_agreement input[type="checkbox"]:checked {
  background-color: transparent;
}

.form_agreement input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid rgba(255, 255, 255, 0.6);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form_agreement span {
  font-size: 16px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
}

.form_agreement a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: underline;
}

.form_agreement a:hover {
  color: #fff;
}

/* Consultation bottom section */
.consultation_bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 46px;
  margin-top: 205px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.bottom_left h3 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 46px;
}

.social_icons {
  display: flex;
  gap: 10px;
}

.social_icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #a8885a;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.social_icon:hover {
  background-color: #c3a171;
}

.social_icon:active {
  background-color: #a8885a;
}

.social_icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.contact_phones {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 35px;
}

.contact_phone {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #a8885a;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact_phone:hover {
  color: #c3a171;
}

.contact_address {
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -0.5px;
}

.address_label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 19px;
  line-height: 1.3;
}

.address_text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 19px;
  line-height: 1.3;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 40px 0;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .copy {
  color: #2c2927;
  font-size: 19px;
  flex: 1;
  line-height: 1.3;
}

footer .links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

footer .links a {
  color: #2c2927;
  font-size: 19px;
  transition: color 0.3s ease;
  border-bottom: 1px solid;
}

footer .links a:hover {
  color: #2c2927;
}

footer .links a.scroll-to-top {
  border-color: transparent;
}

/* Burger menu button */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  width: 55px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1003;
  margin-left: 30px;
}

.burger span {
  display: block;
  height: 2px;
  background-color: #fff;
  border-radius: 0;
  transition: all 0.3s ease;
}

.burger span:nth-child(1),
.burger span:nth-child(2) {
  width: 55px;
}

.burger span:nth-child(3) {
  width: 42px;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  width: 55px;
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu */
.mobile_menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile_menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile_menu_content {
  background-color: #2c2927;
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 400px;
  width: 90%;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.mobile_menu.active .mobile_menu_content {
  transform: scale(1);
}

.mobile_nav {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-bottom: 40px;
}

.mobile_nav_link {
  color: #fff;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
  display: block;
}

.mobile_nav_link:hover {
  color: #a8885a;
}

.mobile_contacts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile_phone {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
  display: block;
  text-align: center;
}

/* Smooth scrolling */
/* Отключено, так как используется JavaScript для более плавной прокрутки */
/* html {
  scroll-behavior: smooth;
} */

/* Адаптивность - скрытие навигации на 1200px */
@media (max-width: 1200px) {
  /* Header */
  .header .navigate {
    display: none;
  }

  .header .contacts {
    margin-left: auto;
  }

  .burger {
    display: flex;
  }
}

/* Адаптивность - скрытие кнопки "Оставить заявку" на 700px */
@media (max-width: 700px) {
  .header .contacts .callback {
    display: none;
  }
}

/* Адаптивность Tablet */
@media (max-width: 1024px) {
  .container {
    padding: 0 20px;
  }

  /* Projects slider на планшетах */
  .projects_slider .swiper-wrapper {
  }

  .projects_slider .swiper-button-prev {
    right: calc(40px + 58px);
  }

  .projects_slider .swiper-button-next {
    right: 40px;
  }

  /* Services */
  .services {
    padding-top: 60px;
    padding-bottom: 120px;
  }

  /* Projects */
  .container .block_header h2 {
    font-size: 42px;
  }

  /* Trust */
  .trust_items {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust_box {
    flex-direction: column;
  }

  .trust_cta {
    width: 100%;
  }

  /* How work */
  .how_work_box {
    grid-template-columns: repeat(2, 1fr);
  }

  .how_work_box .item.big {
    grid-column: span 2;
  }

  /* Prices */
  .price_items {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Consultation */
  .consultation {
    padding: 60px 0;
  }

  .consultation_grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }

  .consultation_left {
    justify-content: flex-start;
    gap: 40px;
  }

  .consultation_left h2 {
    font-size: 42px;
    margin-bottom: 0;
  }

  .consultation_bottom {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bottom_left h3 {
    font-size: 24px;
  }

  .contact_phone {
    font-size: 24px;
  }
}

/* Адаптивность Tablet Medium */
@media (max-width: 900px) {
  /* Swiper управляет количеством слайдов через breakpoints */
}

/* Адаптивность Mobile */
@media (max-width: 767px) {
  .container {
    padding: 0 15px;
  }

  /* Projects slider на мобильных */
  .projects_slider .swiper-wrapper {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* Header */
  .header {
    padding-top: 20px;
  }

  .header .logo_link {
    width: 150px;
    height: 39px;
  }

  .header .logo_image {
    width: 150px !important;
    height: 39px !important;
  }

  .header .contacts .phone {
    font-size: 16px;
  }

  /* Hero section */
  .home_screen {
    min-height: 80vh;
    border-radius: 0 0 15px 15px;
  }

  .home_screen .container {
    flex-direction: column;
    margin: 0;
    padding-bottom: 40px;
    padding-top: 110px;
  }

  .home_screen .main_box {
    width: 100%;
  }

  .home_screen .main_box h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .home_screen .main_box p {
    font-size: 16px;
    margin-top: 25px;
  }

  .home_screen .cta_box {
    width: 100%;
    padding: 15px;
  }

  .home_screen .cta_box_content .cta_box_text p {
    font-size: 14px;
  }
  .home_screen .cta_box_content .cta_box_icon img {
    width: 60px;
    height: 60px;
  }

  .home_screen .cta_box_action .button {
    padding: 20px;
    font-size: 16px;
  }

  /* Services */
  .services {
    padding-top: 30px;
    padding-bottom: 70px;
  }
  .services .container {
    padding: 0;
  }

  /* Projects */
  .projects_slider {
    padding-top: 0 !important;
  }

  .container .block_header p {
    font-size: 16px;
  }

  .container .block_header h2 {
    font-size: 22px;
  }

  .projects_slider .swiper-slide .image {
    height: 220px;
  }

  .projects_slider .swiper-slide .badge {
    font-size: 14px;
    padding: 10px 20px;
  }

  .projects_slider .swiper-slide .header {
    padding: 20px 0px 10px 10px;
  }

  .projects_slider .swiper-slide .header h3 {
    font-size: 20px;
  }

  .projects_slider .swiper-slide .desc {
    padding: 0px 0px 10px 10px;
  }

  .projects_slider .swiper-slide .desc p {
    font-size: 14px;
  }

  .projects_slider .swiper-button-prev,
  .projects_slider .swiper-button-next {
    width: 40px;
    height: 40px;
    top: -55px;
  }

  .projects_slider .swiper-button-prev {
    right: calc(20px + 50px);
  }

  .projects_slider .swiper-button-next {
    right: 20px;
  }

  .projects_slider .swiper-button-prev:after,
  .projects_slider .swiper-button-next:after {
    font-size: 14px;
  }

  /* Trust */
  .trust {
    padding: 60px 0;
  }

  .trust_items {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .trust_item {
    padding: 25px;
  }

  .trust_item_header {
    font-size: 20px;
  }

  .trust_item_content {
    font-size: 14px;
  }

  .trust_cta {
    padding: 30px;
  }

  .trust_cta_content h4 {
    font-size: 24px;
  }

  .trust_cta_content p {
    font-size: 14px;
  }

  /* About */
  .about {
    padding: 60px 0;
  }

  .about.background {
    border-radius: 15px;
    padding-bottom: 30px;
  }

  .about_block_box {
    flex-direction: column;
  }

  .about_block_box .text p {
    font-size: 16px;
  }

  .about_block_cta {
    width: 100%;
  }

  /* How work */
  .how_work {
    padding: 60px 0;
  }

  .how_work_box {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 0;
  }

  .how_work_box .item {
    padding: 20px;
    margin-bottom: 0;
  }

  .how_work_box .item.big {
    grid-column: 1;
  }

  .how_work_box .item.big p {
    width: 100%;
  }
  .how_work_box .item.big img.block_image {
    position: static;
    width: 80%;
    margin-bottom: -20px;
  }

  .how_work_box .item h4 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .how_work_box .item p {
    font-size: 14px;
    padding-right: 35px;
  }

  /* Prices */
  .prices {
    padding: 60px 0;
  }

  .price_items {
    grid-template-columns: 1fr;
    gap: 15px;
    padding-top: 0;
  }

  .price_item {
    padding: 25px;
  }

  .price_item_head {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .price_item_props ul li {
    font-size: 14px;
  }

  .price_line {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .price_line .price {
    font-size: 24px;
  }

  .price_line .button {
    width: 100%;
    font-size: 15px;
    padding: 12px 20px;
  }

  /* FAQ */
  .faq {
    padding: 60px 0;
  }

  .faq_question {
    padding: 20px;
    font-size: 18px;
    padding-right: 50px;
  }

  .faq_question::after {
    right: 20px;
    font-size: 28px;
  }

  .faq_answer {
    padding: 0 20px;
    font-size: 14px;
  }

  .faq_item.active .faq_answer {
    padding: 0 20px 20px;
  }

  /* Consultation */
  .consultation {
    padding: 40px 0;
    border-radius: 15px;
  }

  .consultation .block_header {
    padding-bottom: 0;
  }

  .consultation_grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 0;
  }

  .consultation_left {
    justify-content: flex-start;
    gap: 30px;
  }

  .consultation_left h2 {
    font-size: 22px;
    margin-bottom: 0;
    line-height: 1.2;
  }

  .consultation_left .consultation_socials_wrapper {
    display: none;
  }

  .consultation_socials {
    gap: 8px;
    margin-bottom: 15px;
  }

  .social_btn {
    padding: 15px 20px;
    font-size: 16px;
  }

  .consultation_hint {
    font-size: 14px;
  }

  .form_intro {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .form_field {
    padding: 20px;
    font-size: 16px;
  }

  .phone_flag {
    left: 20px;
    font-size: 20px;
  }

  .phone_field {
    padding-left: 60px;
  }

  .methods_label {
    font-size: 14px;
  }

  .methods_grid {
    flex-wrap: wrap;
    gap: 14px;
  }

  .method_option {
    width: 40%;
  }

  .method_text {
    font-size: 14px;
  }

  .form_agreement span {
    font-size: 12px;
  }

  .consultation_bottom {
    margin-top: 80px;
    padding-top: 20px;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .bottom_left h3 {
    font-size: 20px;
    margin-bottom: 0px;
  }

  .social_icons {
    gap: 12px;
    display: none;
  }

  .social_icon {
    width: 44px;
    height: 44px;
  }

  .contact_phones {
    gap: 10px;
    margin-bottom: 20px;
  }

  .contact_phone {
    font-size: 22px;
  }

  .contact_address {
    font-size: 15px;
    margin-top: 35px;
    font-weight: 400;
    line-height: 1.4;
  }

  .contact_address .address_label {
    font-size: 15px;
    margin-bottom: 5px;
  }
  .contact_address .address_text {
    font-size: 15px;
  }

  /* Footer */
  footer {
    padding: 25px 0;
  }

  footer .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  footer .copy {
    font-size: 14px;
  }

  footer .links {
    justify-content: space-between;
    width: 100%;
  }

  footer .links a {
    font-size: 14px;
  }

  /* Button */
  .button {
    padding: 20px;
    font-size: 16px;
  }
}

@media (max-width: 490px) {
  .header .logo_link {
    width: 100px;
    height: 36px;
  }
}

/* ========================================
   Hero Section Animations
   ======================================== */

/* Keyframe animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Initial hidden state for animated elements */
.home_screen .main_box h1,
.home_screen .main_box p,
.header .navigate_box,
.header .navigate_link,
.header .callback,
.header .phone,
.home_screen .cta_box {
  opacity: 0;
}

/* Animations with delays */

/* Hero heading - appears first */
.home_screen .main_box h1 {
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

/* Hero description - appears second */
.home_screen .main_box p {
  animation: fadeInUp 1s ease-out 0.8s forwards;
}

/* Navigation background - appears before links */
.header .navigate_box {
  animation: fadeIn 0.6s ease-out 1.3s forwards;
}

/* Navigation links - appear one by one */
.header .navigate_link:nth-child(1) {
  animation: fadeIn 0.6s ease-out 1.3s forwards;
}

.header .navigate_link:nth-child(2) {
  animation: fadeIn 0.6s ease-out 1.5s forwards;
}

.header .navigate_link:nth-child(3) {
  animation: fadeIn 0.6s ease-out 1.7s forwards;
}

.header .navigate_link:nth-child(4) {
  animation: fadeIn 0.6s ease-out 1.9s forwards;
}

/* Callback button */
.header .callback {
  animation: fadeIn 0.6s ease-out 2.1s forwards;
}

/* Phone number */
.header .phone {
  animation: fadeIn 0.6s ease-out 2.3s forwards;
}

/* CTA box - appears last */
.home_screen .cta_box {
  animation: fadeInUp 1s ease-out 2.5s forwards;
}

/* ========================================
   Scroll-triggered Animations
   ======================================== */

/* Service items - hidden by default */
.services .service_item {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Отключаем анимации на мобильных (слайдер обеспечивает динамику) */
@media (max-width: 768px) {
  .services .service_item {
    opacity: 1;
    transform: translateX(0);
    transition: none;
  }

  /* Меняем порядок блоков trust и about на мобильных */
  .sections-wrapper {
    display: flex;
    flex-direction: column;
  }

  .trust {
    order: 2;
    padding-top: 90px;
  }

  .about {
    order: 1;
    margin-top: 90px;
    padding-bottom: 90px;
  }
}

/* Service items - visible state */
.services.animate .service_item {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays for sequential appearance */
.services.animate .service_item:nth-child(1) {
  transition-delay: 0s;
}

.services.animate .service_item:nth-child(2) {
  transition-delay: 0.1s;
}

.services.animate .service_item:nth-child(3) {
  transition-delay: 0.2s;
}

.services.animate .service_item:nth-child(4) {
  transition-delay: 0.3s;
}

.services.animate .service_item:nth-child(5) {
  transition-delay: 0.4s;
}

.services.animate .service_item:nth-child(6) {
  transition-delay: 0.5s;
}

/* ========================================
   Trust Block Animations
   ======================================== */

/* Trust items - hidden by default */
.trust .trust_item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Trust CTA block - hidden by default */
.trust .trust_cta {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Trust items - visible state with staggered delays */
.trust.animate .trust_item {
  opacity: 1;
  transform: translateY(0);
}

.trust.animate .trust_item:nth-child(1) {
  transition-delay: 0.4s;
}

.trust.animate .trust_item:nth-child(2) {
  transition-delay: 0.6s;
}

.trust.animate .trust_item:nth-child(3) {
  transition-delay: 0.8s;
}

.trust.animate .trust_item:nth-child(4) {
  transition-delay: 1s;
}

.trust.animate .trust_item:nth-child(5) {
  transition-delay: 1.2s;
}

.trust.animate .trust_item:nth-child(6) {
  transition-delay: 1.4s;
}

/* Trust CTA - visible state (appears simultaneously with items) */
.trust.animate .trust_cta {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* ========================================
   About Section Animations
   ======================================== */

/* About header - hidden by default */
.about .block_header {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* About content block - hidden by default */
.about .about_block_box {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* About header - visible state (appears first) */
.about.animate .block_header {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/* About content - visible state (appears after header) */
.about.animate .about_block_box {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

/* ========================================
   How Work Section Animations
   ======================================== */

/* How work items - hidden by default */
.how_work .item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* How work items - visible state with staggered delays */
.how_work.animate .item {
  opacity: 1;
  transform: translateY(0);
}

.how_work.animate .item:nth-child(1) {
  transition-delay: 0.4s;
}

.how_work.animate .item:nth-child(2) {
  transition-delay: 0.6s;
}

.how_work.animate .item:nth-child(3) {
  transition-delay: 0.8s;
}

.how_work.animate .item:nth-child(4) {
  transition-delay: 1s;
}

.how_work.animate .item:nth-child(5) {
  transition-delay: 1.2s;
}

/* ========================================
   Prices Section Animations
   ======================================== */

/* Price items - hidden by default with different starting positions */
.prices .price_item {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* First item - starts from left */
.prices .price_item:nth-child(1) {
  transform: translateX(-50px);
}

/* Second item - starts from bottom */
.prices .price_item:nth-child(2) {
  transform: translateY(50px);
}

/* Third item - starts from right */
.prices .price_item:nth-child(3) {
  transform: translateX(50px);
}

/* Price items - visible state (all appear simultaneously) */
.prices.animate .price_item {
  opacity: 1;
  transform: translate(0, 0);
}

/* All items have same delay - appear at the same time */
.prices.animate .price_item:nth-child(1),
.prices.animate .price_item:nth-child(2),
.prices.animate .price_item:nth-child(3) {
  transition-delay: 0.4s;
}

/* ========================================
   FAQ Section Animations
   ======================================== */

/* FAQ items - hidden by default */
.faq .faq_item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* FAQ items - visible state */
.faq.animate .faq_item {
  opacity: 1;
  transform: translateY(0);
}

/* Note: transition-delay for each item is set dynamically via JavaScript */

@media (max-width: 500px) {
  .projects_slider .swiper-button-prev,
  .projects_slider .swiper-button-next {
    display: none;
  }
}

.trust-grid {
  display: grid;
  gap: 24px;
}

@media (max-width: 767px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Tablet - 2 колонки */
@media (min-width: 768px) and (max-width: 899px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-card.premium {
    grid-column: 2;
    grid-row: 3 / 5;
  }
}

/* Medium screens - 3 колонки (промежуточное состояние) */
@media (min-width: 900px) and (max-width: 1199px) {
  .trust-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  /* Первый ряд: 3 блока */
  .trust-card:nth-child(1) {
    grid-column: 1 / 3;
  }

  .trust-card:nth-child(2) {
    grid-column: 3 / 5;
  }

  /* Второй ряд: 2 блока слева */
  .trust-card:nth-child(3) {
    grid-column: 1 / 3;
  }

  .trust-card:nth-child(4) {
    grid-column: 3 / 5;
  }

  /* Третий ряд: 2 блока растянутых */
  .trust-card:nth-child(5) {
    grid-column: 1 / 4;
  }

  .trust-card:nth-child(6) {
    grid-column: 4 / 7;
  }

  /* Premium блок справа на 2 ряда */
  .trust-card.premium {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
  }
}

/* Desktop - 4 колонки */
@media (min-width: 1200px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-card.premium {
    grid-column: 4;
    grid-row: 1 / 3;
  }
}

.trust-card {
  padding: 0;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}

.trust-card.premium {
  background: url("../images/bg-trust.jpg") no-repeat center center;
  color: white;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.trust-card.premium::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect fill="%23ffffff" fill-opacity="0.03" width="100" height="100"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.trust-card .icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #b8936f 0%, #a67c52 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.trust-card .icon img {
  width: 24px;
  height: 24px;
  fill: white;
}

.trust-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  color: #222;
}

.trust-card.premium h3 {
  font-size: 24px;
  color: white;
  margin-bottom: 20px;
}

.trust-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #666;
}

.trust-card.premium p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
}

.trust-card .cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 147, 111, 0.4);
}

@media (max-width: 767px) {
  .trust-card.premium {
    padding: 20px 15px 28px;
    margin: 0 -15px;
  }

  .trust-card h3 {
    font-size: 18px;
  }

  .trust-card.premium h3 {
    font-size: 22px;
  }
}

@media (max-width: 768px) {
  footer .container .copy {
    order: 1;
    width: 100%;
    text-align: left;
  }
  footer .container .links {
    order: 0;
  }
}

@media (max-width: 768px) {
  .price_desc {
    font-size: 13px;
  }

  .faq_box {
    padding-top: 0;
  }
}

.consultation_socials_wrapper.__mobile {
  display: none;
}

@media (max-width: 768px) {
  .consultation_socials_wrapper.__mobile {
    display: flex;
    margin-top: 60px;
  }
}

.social_icons.__mobile {
  display: none;
}

@media (max-width: 768px) {
  .social_icons.__mobile {
    display: flex;
    margin-top: 20px;
  }
}
