
/* =========================================
   HOME RENOVATION PAGE STYLES
========================================= */

/* HERO */

/* используем тот же welcome но делаем его чуть ниже */

.renovation-hero {
  min-height: 70vh;
}
.header_nav {
  display: flex;
  gap: 30px;      /* расстояние между ссылками */
  align-items: center;
  padding-right: 30px;
 
}
.header_link{
    color: #fff;
}



/* WELCOME TITLE (RENOVATION) */
.welcome__title {
  font-size: 48px;
  line-height: 1.25;
}

.welcome .discription {
  max-width: 980px;
}

.welcome__title {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.welcome__subtitle p {
  font-size: 20px;
  line-height: 1.6;
}

/* =========================================
   COMPLETE RENOVATION TEXT
========================================= */

.renovation-description {
  max-width: 750px;
  margin: auto;
  text-align: center;
  font-size: 17px;
  line-height: 1.7;
}

.renovation-description p {
  margin-bottom: 20px;
}

/* =========================================
   SERVICE BLOCKS
========================================= */
/* =========================================
   CUSTOM CHECKLIST WITH RED TICKS
========================================= */
.services-row {
  display: flex;
 
  align-items: center;
  gap: 40px; /* расстояние между картинкой и текстом */
}


.service-list ul {
  list-style: none; /* убираем стандартные точки */
  padding-left: 0;
}

.service-list ul li {
  position: relative;
  padding-left: 30px;  /* место под иконку */
  margin-bottom: 12px;
  font-size: 18px;
  color: #ffffff;      /* текст белый на темном фоне */
}

/* добавляем красную галочку */
.service-list ul li::before {
  content: "✔";          /* Unicode галочка */
  position: absolute;
  left: 0;
  top: 0;
  color: #8A2222;        /* цвет кнопки Contact Us */
  font-weight: bold;
}

.service-section {
  padding: 120px 0;
}

.service-section .services-row {
  margin-top: 60px;
}

.service-section ul {
  font-size: 18px;
  line-height: 2;
  padding-left: 40px;
}

.service-section ul li {
  margin-bottom: 8px;
}

/* выравнивание списка по центру блока */

.service-list {
  flex: 1;
  display: flex;
  flex-direction: column; /* ВАЖНО — в колонку */
  align-items: flex-start;
}

.service-list p {
  font-size: 18px;
  line-height: 1.6;
}
/* =======================
   How We Work — Smaller Cards
======================= */

/* =========================================
   SERVICE CARD FIX
========================================= */



.service-big-nodark{
 
    flex: 0 0 45%;
    box-shadow:0 ; 
}
.service-big-nodark{
  width: 100%;
  height: auto;
  display: block;
}

/* =========================================
   CTA TITLE
========================================= *//* =========================================
   PROCESS / HOW WE WORK
========================================= */
/* =========================================
   PROCESS / HOW WE WORK
========================================= */

.proccess.renovation-process {
  padding: 100px 0;
}

.proccess.renovation-process .proccess__list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center; /* выравнивание по центру */
}

.proccess.renovation-process .proccess__card {
  background: #312F30; /* темный фон */
  color: #fff;
  border-radius: 10px;
  overflow: hidden;
  width: calc(30% - 20px); /* одинаковый размер для всех карточек */
  text-align: center;
  position: relative;
  padding: 60px 20px 20px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.proccess.renovation-process .proccess__card:hover {
  transform: translateY(-5px);
}

.proccess.renovation-process .proccess__img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 20px;

}

.proccess.renovation-process .proccess__title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
    color: #fff;
}

.proccess.renovation-process .proccess__description {
  font-size: 14px;
  line-height: 1.5;
}

/* BIG STEP NUMBERS */
.proccess.renovation-process .procces_steps {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: #8A2222; /* фирменный красный */
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Нижний ряд: оставляем размер 30%, но распределяем слева направо */
.proccess.renovation-process .proccess__list .proccess__card:nth-child(n+4) {
  width: calc(30% - 20px); /* оставляем тот же размер */
}

/* RESPONSIVE */
@media (max-width: 1200px) {
  .proccess.renovation-process .proccess__card {
    width: calc(45% - 20px); /* 2 карточки в ряд на планшете */
  }
}

@media (max-width: 768px) {
  .proccess.renovation-process .proccess__card {
    width: 100%; /* одна карточка в ряд на мобильных */
    padding: 60px 15px 15px;
  }
  .proccess.renovation-process  .procces_steps {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .proccess.renovation-process .proccess__card,
  .proccess.renovation-process .proccess__list .proccess__card:nth-child(n+4) {
    width: 100%;
  }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .service-list {
    margin-top: 30px;
  }

  .service-section ul {
    font-size: 16px;
    padding-left: 25px;
  }

}
/* =========================================
   DARK BACKGROUND FOR SERVICES
========================================= */

.services-dark-bg {
  background-color: #312F30; /* темный коричнево-бордовый фон */
  padding: 100px 0;
}

.services-dark-bg .title_wrap {
  text-align: left;
  margin-bottom: 60px;
}

.services-dark-bg .title_wrap .title {
  color: #ffffff; /* заголовок светлый */
}

.services-dark-bg .services-row {
  gap: 40px;
  margin-top: 40px;
}

/* Сервисные карточки */
.services-dark-bg .service-big,
.services-dark-bg .service-list {
  background-color: transparent; /* карточки на фоне темного блока */
  color: #ffffff; /* текст белый внутри карточек */
}

/* Списки услуг */
.services-dark-bg .service-list ul {
  color: #ffffff;
}

.services-dark-bg .service-subtitle {
  color: #ffffff;
}

/* Для мобильных */
@media(max-width:768px){
  .services-dark-bg .services-row {
    flex-direction: column;
    align-items: center;
  }
}
/* =========================================
   SERVICE HEADERS ON LIGHT BACKGROUND
========================================= */

.service-title-block {
  background-color: #f5f5f5;  /* светлый фон */
  padding: 20px 0;            /* отступ сверху/снизу */
  margin-bottom: 30px;        /* отделяет от темного блока */
  text-align: center;
  border-radius: 5px;         /* лёгкое скругление */
}

.service-title-block .title {
  color: #2E2626;             /* тёмный текст заголовка */
  margin: 0;
  font-size: 36px;
}
/* faq section */
.faq-section {
  background: #ffffff;
  padding: 150px 0 50px;
   position: relative;

}

.faq-section::after {
  content: "";
  display: block;
  width: 700px;
  height: 2px;
  background: #8A2222;
  margin: 80px auto 0;
  border-radius: 2px;
  
}

.faq-list {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  border-bottom: 1px solid #e5e5e5;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #594747;
}

.faq-icon {
  font-size: 22px;
  color: #8A2222;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding-bottom: 20px;
  color: #665757;
  line-height: 1.6;
}
/* =========================================
   MOBILE FULL FIX (ALL SECTIONS)
========================================= */

@media (max-width: 768px) {

  /* ===== HEADER ===== */
  .header .container {
    padding: 10px 15px;
  }

  .header_nav {
    gap: 15px;
  }

  .header_link {
    font-size: 14px;
  }

  .logo {
    font-size: 14px;
    gap: 5px;
  }

  .logo img {
    width: 35px;
  }

  /* ===== HERO ===== */
  .welcome {
    min-height: auto;
    padding: 120px 15px;
  }

  .welcome__title {
    font-size: 26px;
    line-height: 1.4;
  }

  .welcome__subtitle p {
    font-size: 16px;
    line-height: 1.55;
  }

  .button1 {
    width: 100%;
    justify-content: center;
    padding: 14px;
  }

  /* ===== TITLES ===== */
  .title {
    font-size: 28px;
    line-height: 1.2;
  }

  .title_wrap {
    margin-bottom: 30px;
  }



  /* SERVICES — image on top, text below */

  .services-dark-bg .services-row,
  .services-row {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .services-dark-bg .service-big-nodark,
  .services-dark-bg .service-list,
  .service-big-nodark,
  .service-list {
    flex: 0 0 auto;
    width: 100%;
  }

  .service-big-nodark img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .service-list p {
    font-size: 16px;
    line-height: 1.55;
  }

  .service-list ul li {
    font-size: 16px;
    padding-left: 22px;
  }



  /* ===== PROCESS ===== */
  .proccess.renovation-process .proccess__card,
  .proccess.renovation-process .proccess__list .proccess__card:nth-child(n+4) {
    width: 100%;
    padding: 60px 15px 15px;
  }

  .proccess.renovation-process .procces_steps {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* ===== FAQ ===== */
  .faq-section {
    padding: 80px 15px 40px;
  }

  .faq-section::after {
    width: 90%;
    margin: 40px auto 0;
  }

  .faq-question {
    font-size: 15px;
    padding: 15px 0;
  }

  .faq-answer p {
    font-size: 14px;
  }

  /* ===== CONTACT ===== */
  .contact-section {
    padding: 80px 15px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
  }

  .contact-info {
    font-size: 14px;
    padding: 20px;
  }

  /* ===== FOOTER ===== */
  .footer__desc-container {
    flex-direction: row;
    justify-content: space-between;
    padding: 20px 15px;
  }

  .footer__about {
    display: none;
  }

  .footer__links ul {
    gap: 15px;
  }

  /* ===== SCROLL BUTTONS ===== */
  .scroll-buttons {
    right: 15px;
    bottom: 90px;
  }

  .scroll-buttons button {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

}
/* =========================================
   MOBILE SMALL (max-width: 500px)
========================================= */
@media (max-width: 500px) {

  /* SERVICES — image on top, text below */
  .services-row,
  .services-dark-bg .services-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .service-big-nodark,
  .services-dark-bg .service-big-nodark,
  .service-list,
  .services-dark-bg .service-list {
    flex: 0 0 auto;
    width: 100%;
  }

  .service-big-nodark img {
    width: 100%;
    height: auto;
    border-radius: 6px;
  }

  .service-list p {
    font-size: 15px;
    line-height: 1.55;
  }

  .service-list ul li {
    font-size: 15px;
    line-height: 1.5;
    padding-left: 20px;
  }

}