/* Базовые стили */
body {
  margin: 0;
  font-family: Arial, sans-serif;
}

/* Стили для заголовка */
.NameElement {
  margin-top: 50px;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto; /* Центрируем блок */
  text-align: left;   /* Текст начинается с левого края блока */
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px; /* Отступ снизу до следующего блока */
}

/* Контейнер для изображения и информации */
.imageAndInfo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;

  max-width: 80%;
  margin: 0 auto; /* Центрируем контейнер */
  gap: 20px;
}

/* Информация о машине */
.info_car {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 50%;
  font-size: 18px;
  padding: 10px;
}

/* Слайдер */
.slider_image {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 50%;
}

.slider_image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
}

/* Swiper навигация */
.swiper-button-next, .swiper-button-prev {
  color: #000;
}

.swiper-pagination-bullet-active {
  background: #000;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .imageAndInfo {
    flex-direction: column;
    align-items: center;
  }

  .slider_image {
    flex: auto;
    min-width: 300px;
    max-width: 100%;
  }

  .slider_image .swiper-pagination {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 10;
  }

  .slider_image .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #007aff;
    opacity: 0.4;
    margin: 0 4px !important;
    transition: all 0.3s ease;
  }

  .slider_image .swiper-pagination-bullet-active {
    opacity: 1;
    transform: scale(1.2);
  }
  /* Прячем стрелки */
  .slider_image .swiper-button-next,
  .slider_image .swiper-button-prev {
    display: none !important;
  }



  .info_car {
    order: 2;
    max-width: 90%;
    text-align: center;
  }

  .NameElement {
    text-align: left;  /* Текст начинается слева */
    max-width: 90%;    /* Чуть шире на мобильном */
    margin: 30px auto 10px auto; /* Меньше отступ */
  }
}



/* Блок информации о машине */
.info_car {
  background-color: #f0f0f0; /* светло-серый фон */
  border-radius: 15px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%; /* Ширина по умолчанию */
  box-sizing: border-box;
}

/* Ряд: всегда две колонки */
.info_row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;

}

/* Элемент в колонке */
.info_item {
  flex: 1;
}

/* Заголовок */
.info_title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 5px;
  text-align: left;
}

/* Значение */
.info_text {
  font-size: 16px;
  text-align: left;
}

/* Блок цены */
.price_block {
  text-align: center;
  margin-top: 20px;
}

.price_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
}

.price_value {
  font-size: 28px;
  font-weight: bold;
  color: #000;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .info_car {
    width: 100%; /* На мобильных ширина 100% */
    padding: 15px;
  }

  .info_row {
    flex-direction: row; /* Оставляем два столбика на мобильных */
    gap: 10px; /* Чуть меньше отступ */
  }

  .info_title {
    font-size: 16px;
  }

  .info_text {
    font-size: 14px;
  }

  .price_title {
    font-size: 22px;
  }

  .price_value {
    font-size: 26px;
  }
}





.button_group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap; /* Чтобы на мобильных кнопки переносились */
}

.price_button {
  background: linear-gradient(135deg, #132871, #555555); /* Градиент с синего в серый */
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.price_button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}


/* Мобильная адаптация для кнопок */
@media (max-width: 768px) {
  .price_button {
    padding: 10px 15px;
    font-size: 14px;
  }
}

.accordion_container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.accordion_item {
  width: 80%;
  background: linear-gradient(135deg, #132871, #555555);
  border-radius: 15px;
  overflow-x: auto;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion_item:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.accordion_header {
  padding: 15px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion_icon {
  transition: transform 0.3s ease;
}

.accordion_item.active .accordion_icon {
  transform: rotate(180deg);
}

.accordion_content {
  max-height: 0;
  overflow-x: auto;
  background-color: #f0f0f0;
  color: #000;
  padding: 0 20px;
  font-size: 16px;
  line-height: 1.5;
  transition: max-height 0.3s ease, padding 0.3s ease;
  border-top: 1px solid #ccc;
}

.accordion_item.active .accordion_content {
  height: auto;
  overflow-x: auto;
  padding: 15px 20px;
  transition: none; /* Снимаем анимацию, т.к. auto нельзя анимировать по стандарту */
}
.highlight_number {
  color: red;
  font-weight: bold;
}









/* Аккордеон, тот же стиль, что и раньше */
.accordion_container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.accordion_item {
  width: 80%;
  background: linear-gradient(135deg, #132871, #555555);
  border-radius: 15px;
  overflow-x: auto;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion_item:hover {
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.accordion_header {
  padding: 15px 20px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion_icon {
  transition: transform 0.3s ease;
}

.accordion_item.active .accordion_icon {
  transform: rotate(180deg);
}

.accordion_content {
  transition: height 2s ease;
  overflow-x: auto;
  height: 0;
  padding: 0 20px;
}

.accordion_item.active .accordion_content {
 max-height: none;
  padding: 15px 20px;
}

/* Список опций */
.option_list {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px; /* Между колонками и строками */
}

.option_item {
  display: flex;
  align-items: center;
  width: calc(50% - 15px); /* Две колонки */
  font-size: 16px;
}

.option_icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  font-size: 16px;
  margin-right: 10px;
  font-weight: bold;
  flex-shrink: 0; /* ✅ запретить уменьшение */

}

.option_item[data-value="true"] .option_icon {
  background-color: #4CAF50; /* Зелёный */
  color: #fff;
}

.option_item[data-value="false"] .option_icon {
  background-color: #ccc; /* Серый */
  color: #333;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .option_item {
    width: 100%; /* На мобильных — один столбик */
  }
}




















/* Стили для таблицы */
.specification_content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: #fff;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.specification_content caption {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.specification_content th,
.specification_content td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
  font-size: 16px;
}

.specification_content th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.specification_content tr:nth-child(even) {
  background-color: #f9f9f9;
}

.specification_content tr.start th {
  background-color: #e0e0e0;
}

.specification_content tr.end th {
  background-color: #e0e0e0;
}

/* Поддержка мобильной версии */
@media (max-width: 768px) {
  .specification_content th,
  .specification_content td {
    font-size: 14px;
    padding: 10px;
  }
}













.parts_list_content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: #fff;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.parts_list_content caption {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.parts_list_content th,
.parts_list_content td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
  font-size: 15px;
}

.parts_list_content th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.parts_list_content tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Тексты "Хорошо", "Бедный" красиво выделяем */
.txt_state.on {
  color: green;
  font-weight: bold;
}

.txt_state.state2 {
  color: red;
  font-weight: bold;
}

.txt_state {
  margin-right: 5px;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .parts_list_content th,
  .parts_list_content td {
    font-size: 14px;
    padding: 8px 10px;
  }
}



























.summary_table_content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background-color: #fff;
  border-radius: 10px;
  overflow-x: auto;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.summary_table_content caption {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: left;
}

.summary_table_content th,
.summary_table_content td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  text-align: left;
  font-size: 16px;
}

.summary_table_content th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.summary_table_content tr:nth-child(even) {
  background-color: #f9f9f9;
}

.txt_state.on {
  color: green;
  font-weight: bold;
}

.txt_state.state2 {
  color: red;
  font-weight: bold;
}

.txt_state.state_color {
  color: #555;
  font-style: italic;
}

.txt_state {
  margin-right: 5px;
}

.txt_detail {
  font-weight: bold;
  color: #132871; /* Твой фирменный синий для деталей */
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .summary_table_content th,
  .summary_table_content td {
    font-size: 14px;
    padding: 10px;
  }
}







.body_images {
  display: flex;
  gap: 15px;
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
}

.body_images img {
  max-width: 48%;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: contain;
}

.body_legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 30px;
}

.legend_item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.legend_circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

@media (max-width: 768px) {
  .body_images img {
    max-width: 90%;
  }

  .legend_item {
    font-size: 14px;
  }

  .legend_circle {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}




.order_button_container {
  display: flex;
  justify-content: center;
  margin: 1px 0;
}

.order_button {
  position: relative;
  background: linear-gradient(135deg, #132871, #555555);
  background-size: 200% 200%;
  color: #fff;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: pulse 3s ease-in-out infinite, gradientFlow 6s ease infinite;
}

.order_button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% { box-shadow: 0 0 15px rgba(19, 40, 113, 0.6); }
  50% { box-shadow: 0 0 25px rgba(19, 40, 113, 1); }
  100% { box-shadow: 0 0 15px rgba(19, 40, 113, 0.6); }
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
  .order_button {
    padding: 12px 30px;
    font-size: 16px;
  }
}


































/* Попап-оверлей */
.popup_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;   /* ✅ заменили 100% на 100vw */
  height: 100vh;  /* ✅ заменили 100% на 100vh */
  backdrop-filter: blur(12px);
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  overflow: hidden;

  animation: fadeInOverlay 0.4s ease forwards;
}

/* Анимация появления оверлея */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Контент попапа */
.popup_content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(30px);
  border-radius: 20px;
  padding: 30px 25px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1c1c1e;
}

/* Анимация появления попапа */
@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.form_group {
  margin-bottom: 20px;
  text-align: left;
}

.form_group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 15px;
}

.form_group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
}

.form_group input:focus {
  border-color: #132871;
  box-shadow: 0 0 10px rgba(19, 40, 113, 0.3);
  outline: none;
}

.error_message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
  display: block;
}

/* Apple-style кнопка */
.popup_submit_button {
  background: #132871;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.popup_submit_button:hover {
  background-color: #0f1e6e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

body.no_scroll {
  overflow: hidden;
}

/* Адаптив */
@media (max-width: 480px) {
  .popup_content {
    padding: 20px 15px;
  }

  .popup_submit_button {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Уведомление */
.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #132871, #555555);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 9999;
}
.notification.show {
  opacity: 1;
  transform: translateY(0);
}
.notification.error {
  background: linear-gradient(135deg, #ff4b4b, #a00000);
}


































.site_block {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  box-sizing: border-box;

  border: 2px solid #132871;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0.95;

  z-index: 9999; /* Поверх всего */

  padding-left: 20px;
  padding-right: 20px;
  font-size: 18px;

}
.contact_numbers{
  font-size: 18px;
}
.header_container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 15px 20px;
}
.header_left {
  display: flex;
  align-items: center;
}

.header_logo {
  height: 40px;
}

.header_nav a {
  margin: 0 35px;
  text-decoration: none;
  font-weight: 500;
  color: #132871;
  transition: color 0.3s;
}

.header_nav a:hover {
  color: #0f1e6e;
}

.header_contacts {
  display: flex;
  align-items: center;
}

.contact_numbers {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
  font-weight: 500;
}

.contact_icons a {
  margin-left: 10px;
}

.contact_icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.burger_menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.burger_menu div {
  width: 25px;
  height: 3px;
  background-color: #132871;
  border-radius: 2px;
}

.mobile_menu_overlay {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  z-index: 9999;
  justify-content: flex-end;
  align-items: stretch;
  transition: background 0.3s ease;
}

.mobile_menu {
  width: 250px;
  background-color: #132871;
  height: 100vh;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  color: white;
  display: flex;
  flex-direction: column;
}

.mobile_menu.show {
  transform: translateX(0);
}

.close_button {
  font-size: 30px;
  cursor: pointer;
  align-self: flex-end;
}

.mobile_nav a {
  display: block;
  margin: 15px 0;
  color: white;
  font-weight: 500;
  text-decoration: none;
  font-size: 18px;
}

.mobile_nav a:hover {
  text-decoration: underline;
}

.mobile_contacts {
  display: none;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  font-weight: 500;
}

@media (max-width: 768px) {
  .header_nav,
  .header_contacts {
    display: none;
  }
  .header_container{
    width: 60%;
  }

  .burger_menu {
    display: flex;
  }

  .mobile_contacts {
    display: flex;
    font-size: 11px;
  }
}

body.no_scroll {
  overflow: hidden;
  position: relative;
}







































/* Анимация появления оверлея */
@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Контент попапа */
.price_popup_content {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  animation: popupSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #1c1c1e;
}

/* Анимация появления попапа */
@keyframes popupSlideIn {
  0% { opacity: 0; transform: translateY(40px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.price_popup_content h2 {
  margin-bottom: 20px;
  font-size: 26px;
  text-align: center;
  font-weight: 600;
}

.price_popup_content h3 {
  margin-bottom: 5px;
  font-size: 18px;
  font-weight: 500;
}

.price_value_detail,
.total_price_value {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 15px;
}

.total_price_value {
  color: #132871;
  font-size: 24px;
  text-align: center;
  margin-top: 20px;
}

#citySelector {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  font-size: 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

#citySelector:focus {
  outline: none;
  border-color: #132871;
}

@media (max-width: 768px) {
  .price_popup_content {
    padding: 20px;
  }
}






#tamojnoaSelector {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  font-size: 16px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  transition: border-color 0.3s ease;
}

#tamojnoaSelector:focus {
  outline: none;
  border-color: #132871;
}






































.site_footer {
  background-color: #132871;
  padding: 40px 0 20px 0;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.footer_container {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer_logo img {
  height: 60px;
  margin-bottom: 30px;
}

.footer_top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer_nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer_nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.footer_nav a:hover {
  opacity: 0.7;
}

.footer_contacts {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.footer_contacts a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.contact_icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.footer_separator {
  width: 100%;
  height: 1px;
  background-color: white;
  margin: 20px 0;
  opacity: 0.3;
}

.footer_bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer_bottom a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  transition: opacity 0.3s ease;
}

.footer_bottom a:hover {
  opacity: 0.7;
}

.footer_company {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.8;
}

/* Мобильная версия */
@media (max-width: 768px) {

  .footer_top {
    flex-direction: column;
    align-items: center;
  }

  .footer_nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px 30px;
    margin-bottom: 20px;
  }

  .footer_contacts {
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 20px;
  }

  .footer_bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .footer_bottom a {
    margin-left: 0;
  }
}
































