



.centered {
text-align: center;

}








/* === Общие стиили === */
body {
  margin: 0;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.navbar {
  background: #0d6efd;
}

.nav-container {
  display: flex;
  align-items: center;
  position: relative;
}













.container {
  max-width: 1200px;  /* максимально ширина контента */
  margin: 0 auto;     /* центрирование */
  padding: 0 16px;    /* отступы слева и справа */
}



/* === Sections === */
section {
  padding: 190px 0;
  background: #f9f9f9;
}

h2 {
  color: #0d6efd;
  margin-bottom: 40px;
  font-size: 2rem;
  text-align: center;
}

/* === Cards === */
.services-list,
.prices-list {
  display: flex;
 
  gap: 2px;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  flex: 1 1 200px;
  min-width: 180px;
  max-width: 100px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
  background: #e7f0ff;
}

@media (max-width: 680px) {
  .card {
    width: 80px;
    min-width: 80px;
    max-width: 80px;
    padding: 10px;
    font-size: 14px;
  }
}









.faq-item {
  max-width: 800px;
  margin: 0 auto 16px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 48px 16px 18px;
  background: #e0e7ff;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0d6efd;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0;
  padding: 14px 18px 18px;
  background: #f5f7ff;
  line-height: 1.6;
}

/* ===== КНОПКА ЗАКАЗА ===== */
.order-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 30%;
  padding: 10px 8px;
  left: 310px;
  right: 150px;
  font-size: 17px;
  font-weight: 100;
  color: #fff;
  text-decoration: none;

  background: linear-gradient(135deg, #28a745, #1e7e34);
  border-radius: 10px;

  box-shadow:
    0 6px 18px rgba(40, 167, 69, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);

  transition: all 0.3s ease;
  overflow: hidden;
}




/* Иконка */
.order-button i {
  margin-right: 8px;
  font-size: 18px;
}

/* Подложка (эффект блика) */
.order-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -100%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    70deg,
    transparent 100%,
    rgba(255, 255, 255, 0.35),
    transparent 100%
  );
  transition: all 0.6s ease;
}

/* Hover */
.order-button:hover::before {
  left: 100%;
}

.order-button:hover {
  transform: translateY(-3px);
  box-shadow:
    0 10px 28px rgba(40, 167, 69, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Нажатие */
.order-button:active {
  transform: translateY(0);
  box-shadow:
    0 4px 12px rgba(40, 167, 69, 0.4);
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 576px) {
  .order-button {
    font-size: 16px;
    padding: 14px 12px;
    border-radius: 8px;
    left:   128px;
  }
}






 /* ===== ФОРМА ЗАКАЗА ===== */
.order-form-section {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  max-width: 520px;
  margin: 40px auto;
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* Заголовок */
.order-form-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Форма */
.order-form-section form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Поля ввода */
.order-form-section input,
.order-form-section textarea {
  width: 100%;
  padding: 14px 15px;
  font-size: 16px;
  border-radius: 8px;
  border: none;
  outline: none;
  box-sizing: border-box;
}

/* Текстовое поле */
.order-form-section textarea {
  min-height: 100px;
  resize: vertical;
}

/* Эффект фокуса */
.order-form-section input:focus,
.order-form-section textarea:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7);
}

/* Кнопка */
.order-form-section button {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 16px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

/* Hover */
.order-form-section button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Сообщение после отправки */
#formMessage {
  margin-top: 15px;
  font-size: 16px;
  font-weight: 600;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
@media (max-width: 576px) {
  .order-form-section {
    margin: 20px 12px;
    padding: 25px 18px;
    border-radius: 12px;
  }

  .order-form-section h2 {
    font-size: 22px;
  }

  .order-form-section input,
  .order-form-section textarea {
    font-size: 16px;
    padding: 13px;
  }

  .order-form-section button {
    font-size: 17px;
    padding: 14px;
  }
}








/* Фиксированная кнопка */
.phone-button {
  display: block;
  width: 60px;
  height: 60px;
  background: #28a745;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 60px;
  font-size: 24px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  text-decoration: none;
  transition: transform 0.3s, background 0.3s;
}

.phone-button:hover {
  transform: scale(1.2) rotate(-5deg);
  background: #218838;
}

/* Мобильная версия */
@media (max-width: 768px) {
  .phone-button {
      
     
      position: fixed;
    
      
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
    bottom: 15px;
    right: 290px;
  }
}











/* Галерея изображений */
.image-row {
  display: flex;
  flex-wrap: nowrap; /* один ряд */
  gap: 10px;
  margin: 100px;
  overflow-x: auto; /* горизонтальная прокрутка */
  scroll-snap-type: x mandatory; /* плавное прилипающее скроллирование */
  -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
  padding-bottom: 10px; /* немного пространства снизу */
}

.image-row img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  scroll-snap-align: start; /* каждая картинка “прилипает” при скролле */
}

.image-row img:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* Мобильная версия */
@media (max-width: 768px) {
  .image-row {
    gap: 8px;
    margin: 10px;
  }

  .image-row img {
    width: 150px;
  }
}

@media (max-width: 780px) {
  .image-row img {
    width: 120px;
  }
}







