/**
 * !============================================
 * ? glavnai.css - Основные стили главной страницы PC Club
 * !============================================
 * 
 * Полный гид по стилям: 
 * - Reset + Body (основа)
 * - Header/Nav/Logo (фиксированный хедер)
 * - Hero (fullscreen баннер)
 * - Галерея ПК (динамика JS)
 * - Услуги + Кнопки (градиент glow)
 * - Модалки (Кафе/Бронь с backdrop-blur)
 * - Новости слайдер 
 * - FAQ аккордеон
 * - Контакты форма + инфо (анимации hover)
 * - Footer
 * - Адаптив (Mobile 480px-, Tablet 768px)
 */

/* !============================================
   ? Основные стили (reset + body)
   !============================================*/

* {
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1a1a1a;
  color: #fff;
}

/* !============================================
   ? ШАПКА САЙТА (Header + (Nav) Navigation + Logo)
   !============================================*/

header {
  background-color: #333;
  padding: 1rem;
  text-align: center;
  margin: 0 auto;
}

.header_menu {
  display: flex;
  display: contents;
  flex-wrap: wrap;
  flex-direction: row;
  align-content: stretch;
  justify-content: center;
  align-items: stretch;
}

.header_menu a {
  font-size: 18px;
}

nav {
  text-align: center;
}

.logo {
  float: left;
  z-index: 99;
  position: fixed;
}

.logo img {
  width: 100px;
  height: auto;
  margin: 0;
}

.logo h1 {
  margin: 0;
  color: #ff6600;
}

ul {
  list-style: none;
  /* *убирает маркеры */
  padding: 0;
  margin: 1rem 0 0 0;
  text-align: center;
}

ul li {
  display: inline-block;
  /* * свойство, создающее «гибридный» элемент: */
  margin: 0 1rem;
}

a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #ff6600;
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
  /* *  создаёт тень */
}

/* !============================================
   ? Hero секция (Главный баннер) / ? Hero hover /
   !============================================ */

.hero {
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
  text-align: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.btn {
  background-color: #ff6600;
  color: #fff;
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
}

.btn:hover {
  background-color: #e55a00;
}

/*  ! ============================================
        ?             Галерея
    ! ============================================ */

.gallery {
  text-align: center;
}

.gallery h2 {
  text-shadow: 5px 4px 3px #999;
  /* *  создаёт тень */
}

.gallery-images {
  display: flex;
  text-align: center;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: center;
}

.gallery-item {
  text-align: center;
  display: inline-block;
  /* * свойство, создающее «гибридный» элемент: */
  margin: 10px;
  width: 200px;
  max-width: 250px;
}

.gallery-item img {
  width: 100%;
  max-width: 250px;
  border-radius: 5px;
  border: 2px solid #ff6600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
  /* *  создаёт свечение вокруг */
}

.gallery-item p {
  margin: 5px 0 0 0;
  font-size: 0.9rem;
  color: #fff;
  transition: color 0.3s ease;
}

.gallery-item:hover p {
  color: #ff6600;
}

.pc-status {
  margin: -15px;
}

/* !============================================
   ? Услуги (Бронь, Турниры, Кафе) /  Кнопка Бронь /
   !============================================ */

.services {
  padding: 4rem 2rem;
  text-align: center;
}

.services h2 {
  text-shadow: 5px 4px 3px #999;
  /* *  создаёт тень */
  margin-bottom: 2rem;
}

.service-list {
  justify-content: space-around;
}

.service {
  background-color: #333;
  padding: 2rem;
  margin: 1rem;
  border-radius: 10px;
  height: 220px;
  width: 300px;
  display: inline-block;
  /* * свойство, создающее «гибридный» элемент: */
  vertical-align: top;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 2px solid transparent;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
  /* *  создаёт свечение вокруг */
  border-color: #ff6600;
}

.service h3 {
  color: #ff6600;
}

/* ? Специальные кнопки услуг (градиент + glow) */
.btn_bron,
.btn_turnir,
.btn_kafe {
  width: auto;
  height: 48px;
  background: linear-gradient(135deg, #f2a807, #e33516);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  /* *полужирный */
  border-radius: 14px;
  padding: 15px 34px;
  box-shadow: 0px 10px 30px -2px rgba(238, 255, 0, 0.5);
  /* *  создаёт свечение вокруг */
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  position: relative;
  align-items: center;
  justify-content: center;
  line-height: 1;
  /*  * межстрочный интервал */
}

.btn_bron:hover,
.btn_turnir:hover,
.btn_kafe:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, #c48703, #c48703);
  color: #ffffff;
}

.btn_bron:active,
.btn_turnir:active,
.btn_kafe:active {
  transform: scale(0.96);
}

/* !============================================
   ? Модальные окна (Кафе + Бронь ПК)
   !============================================ */
.zatemnenie_bron,
.zatemnenie {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

.overlei_bron,
.overlei_servis {
  width: 90%;
  max-width: 800px;
  max-height: 80%;
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(10px);
  border: 3px solid #ff6600;
  border-radius: 20px;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;
  /* Scroll если контент длинный */
}

.close-btn_bron,
.close-btn_kafe {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: #fff;
  background: #ff6600;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.close-btn_bron:hover,
.close-btn_kafe:hover {
  background: #e55a00;
  transform: rotate(90deg);
}

/* !============================================
   ? Галерея (динамическая из JS)*/

/* !============================================
            ? МОДАЛЬНОЕ ОКНО БРОНИРОВАНИЯ 
   ! ============================================ */

.hall-price {
  text-align: center;
  color: #4caf50;
  font-weight: bold;
  /* *полужирный */
  font-size: 1.2rem;
}

.obshiy_zal {
  width: 100%;
  height: 200px;
  background-color: #576164;
}

.ps_zal {
  width: 100%;
  height: 200px;
  background-color: #576164;
}

.vip_zal {
  width: 100%;
  height: 200px;
  background-color: #576164;
}

/* Стили для схемы бронирования - КРУГИ */
.seats-container {
  width: 100%;
  padding: 20px;
  background: #2a2a2a;
  border-radius: 15px;
  margin: 10px 0;
}

.seats-row {
  overflow: hidden;
  /*  *скрывает содержимое элемента, выходящее за его границы */
  margin-bottom: 20px;
}

.seats-column {
  float: left;
  width: 48%;
  margin: 1%;
  text-align: center;
}

.seats-vip {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
  padding: 20px 0;
  flex-wrap: nowrap;
}

.seat {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 8px auto;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #32cd32;
}

/* !============================================
            ? МОДАЛЬНОЕ ОКНО БРОНИРОВАНИЯ 
   !⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆ */

/* Категории кафе */

.category {
  margin-bottom: 30px;
}

.bron-section h3,
/* бронь  */
.category h3 {
  color: #ff6600;
  font-size: 1.5rem;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #ff6600;
  text-align: left;
}

/* Сетка товаров */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  /* *repeat(minmax(150px, 1fr): Устанавливает размер колонки:) Повторяет */
  gap: 20px;
  justify-items: center;
}

.kafe-modal {
  display: none;
}

.kafe-modal.active {
  display: block;
}

.kafe-modal-body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  /* *repeat(minmax(150px, 1fr): Устанавливает размер колонки:) Повторяет */
  gap: 20px;
}

.kafe-item {
  background: linear-gradient(145deg, #2a2a2a, #333);
  border: 2px solid #444;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.kafe-item:hover {
  transform: translateY(-10px);
  border-color: #ff6600;
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
  /* *  создаёт свечение вокруг */
}

.kafe-item img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  /* *пропорционально масштабирует изображение */
  border-radius: 10px;
}

.kafe-item h3 {
  color: #fff;
  font-size: 16px;
  margin: 10px 0 5px;
}

.kafe-item p {
  color: #ff6600;
  font-weight: bold;
  /* *полужирный */
  font-size: 17px;
}

/* Карточка товара */
.product-card {
  background: linear-gradient(145deg, #2a2a2a, #333);
  border: 2px solid #444;
  border-radius: 15px;
  padding: 15px;
  text-align: center;
  width: 150px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: #ff6600;
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
  /* *  создаёт свечение вокруг */
}

.product-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
}

.product-card h4 {
  color: #fff;
  font-size: 1rem;
  margin: 5px 0;
}

.product-card .price {
  color: #ff6600;
  font-size: 1.2rem;
  font-weight: bold;
  /* *полужирный */
  margin: 5px 0 0 0;
}

.container_kafe img {
  border: 2px solid #3a3e3f;
  padding: 11px;
  margin-right: 5px;
  margin-bottom: 4px;
}

.container_kafe p {
  font-style: italic;
  /* *курсивным */
  font-weight: 700;
  /* *полужирный */
  text-shadow: 0 0 20px #fff;
  /* *  создаёт тень */
}

/* !============================================
   ? Новости + Слайдер (CSS анимация)
   !============================================ */

.news {
  width: 100%;
  padding: 4rem 1rem;
  position: relative;
  background: linear-gradient(180deg, #1a1a1a 0%, #3a352f 100%);
  overflow: hidden;
  /*  *скрывает содержимое элемента, выходящее за его границы */
  box-sizing: border-box;
}

.news h2 {
  padding: 0 30px;
  text-shadow: 5px 4px 3px #999;
  /* *  создаёт тень */
  text-align: center;
  margin-bottom: 2rem;
}

.news-date {
  font-style: italic;
  /* *курсивным */
  font-weight: 700;
  /* *полужирный */
  text-shadow: 0 0 20px #fff;
  /* *  создаёт тень */
}

/* ? Карточки новостей */
.news-card {
  background: linear-gradient(145deg, #2a2a2a, #333);
  border-radius: 20px;
  padding: 30px;
  text-align: left;
  height: 100%;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.3);
  /* *  создаёт свечение вокруг */
}

/* ? Категории новостей (цветные метки) */
.news-card.category-tournament {
  border-left: 5px solid #ff6600;
}

.news-card.category-news {
  border-left: 5px solid #00bfff;
}

.news-card.category-sale {
  border-left: 5px solid #32cd32;
}

.news-category {
  display: inline-block;
  /* * свойство, создающее «гибридный» элемент: */
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: bold;
  /* *полужирный */
  margin-bottom: 15px;
  width: fit-content;
  /* * Элемент принимает размер контента, */
}

.category-tournament .news-category {
  background: rgba(255, 102, 0, 0.2);
  color: #ff6600;
}

.category-news .news-category {
  background: rgba(0, 191, 255, 0.2);
  color: #00bfff;
}

.category-sale .news-category {
  background: rgba(50, 205, 50, 0.2);
  color: #32cd32;
}

/* !============================================
   ? Слайдер новостей (анимация fade + slide)
   !============================================ */

.news-card h3 {
  font-weight: 700;
  /* *полужирный */
  font-size: 1.4rem;
  color: #fff;
  margin: 0 0 15px 0;
}

.news-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
  /*  * межстрочный интервал */
  flex-grow: 1;
  /* *занимать всё доступное свободное место */
  margin: 0;
}

.news-card .news-date {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #888;
  font-style: italic;
  /* *курсивным */
}

.blocks {
  margin: 0 auto;
  width: 90%;
  max-width: 800px;
  height: 220px;
}

.swiper-container button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.swiper-container {
  width: 100%;
  height: 300px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}

.news-swiper {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 0 50px;
  box-sizing: border-box;
}

/* !============================================
              ?   О нас
   !============================================ */

.about {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #222;
}

.about h2 {
  text-shadow: 5px 4px 3px #999;
  /* *  создаёт тень */
}

.about h2:hover {
  text-shadow: 4px 3px 3px #7c3505;
  /* *  создаёт тень */
}

/* !============================================
            ? Вопросы (FAQ)
   !============================================ */

.faq {
  transition: transform 0.3s;
  display: flex;
  margin: 0 20px;
  flex-direction: column;
  flex-wrap: nowrap;
}

.faq h2 {
  text-align: center;
}

.faq p {
  background: linear-gradient(135deg, #333, #444);
  padding: 1.5rem;
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
  /*  * межстрочный интервал */
  font-size: 25px;
}

details>summary {
  margin: 0 auto;
  width: 60%;
  padding: 5px;
  background-color: #ff6600;
  color: #fff;
  border: 1px #444 solid;
  cursor: pointer;
}

details>p {
  text-align: center;
  font-size: 15px;
  background-color: #723b07;
  border: 1px #ccc solid;
  padding: 10px;
}

details[open]>summary {
  width: 100%;
  color: #eee;
  background-color: #723b07;
}

.faq details {
  margin-bottom: 1rem;
  border-radius: 12px;
  overflow: hidden;
  /*  *скрывает содержимое элемента, выходящее за его границы */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  /* *  создаёт свечение вокруг */
  transition: transform 0.3s ease;
}

.faq details:hover {
  transform: translateY(-2px);
}

summary:before {
  font-size: 20px;
  font-weight: bold;
  /* *полужирный */
  margin: -5px 5px 0 0;
}

summary::-webkit-details-marker {
  color: #fff;
  background-color: #000;
}

.faq summary {
  padding: 1.2rem;
  background: linear-gradient(135deg, #61300f, #61300f);
  font-weight: bold;
  /* *полужирный */
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  list-style: none;
  /* *убирает маркеры */
}

.faq summary::before {
  content: "➕";
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.faq details[open] summary::before {
  content: "➖";
}

.faq details[open] summary {
  background: linear-gradient(135deg, #9e4509, #8a3a09);
}

/* !============================================
   ? Контакты (форма + инфо)
   !============================================ */

.contact {
  padding: 3rem 2rem;
  background-color: #222;
  max-width: 850px;
  margin: 0 auto;
}

.contact_suctiz {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  background-color: #2a2a2a;
  border: 4px solid #e91506;
  border-radius: 12px;
}

.contact_suctiz:hover {
  box-shadow: 3px 3px 4px rgba(255, 166, 0, 0.4);
  /* *  создаёт свечение вокруг */
}

.contact_div {
  padding: 1rem 0;
}

.contact_div h2 {
  text-align: center;
  color: #ff6600;
  margin-bottom: 1.5rem;
  font-size: 2.2rem;
  text-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
  /* *  создаёт тень */
  transition: all 0.3s ease;
  position: relative;
}

.contact_div h2:hover {
  text-shadow: 0 0 30px rgba(255, 102, 0, 0.8), 0 0 40px rgba(255, 102, 0, 0.4);
  /* *  создаёт тень */
  transform: scale(1.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem 1.2rem;
  border: 2px solid #413f3f;
  border-radius: 12px;
  background: linear-gradient(145deg, #2d2d2d, #383838);
  color: #fff;
  font-size: 1rem;
  transition: all 0.4s ease;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
  /* *  создаёт свечение вокруг */
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff6600;
  box-shadow: 0 0 20px rgba(255, 102, 0, 0.4),
    inset 0 2px 10px rgba(255, 102, 0, 0.1);
  /* *  создаёт свечение вокруг */
  transform: scale(1.02);
}

.contact-form button {
  padding: 1.2rem 2.5rem;
  background: linear-gradient(135deg, #ff6600, #ff8800);
  color: #d7cec7;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
  /*  *скрывает содержимое элемента, выходящее за его границы */
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.4);
  /* *  создаёт свечение вокруг */
}

.contact-form button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.6);
  /* *  создаёт свечение вокруг */
  background: linear-gradient(135deg, #e55a00, #ff6600);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  /* *repeat(minmax(150px, 1fr): Устанавливает размер колонки:) Повторяет */
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: #333;
  border-radius: 8px;
}

.contact-info-item {
  display: flex;
  padding: 1.2rem 1.8rem;
  background: linear-gradient(145deg, #2e2e2e, #383838);
  border: 3px solid transparent;
  border-top: 5px solid #1a1a1a;
  border-bottom: 5px solid #1a1a1a;
  border-left: 6px solid #ff6600;
  border-right: 6px solid #ff6600;
  border-radius: 35px;
  cursor: pointer;
  flex-wrap: nowrap;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  /*  *скрывает содержимое элемента, выходящее за его границы */
}

.contact-info-item:hover {
  animation: contactHover 0.6s ease-in-out;
  transform: translateX(10px) scale(1.05);
  box-shadow: 0 15px 45px rgba(255, 102, 0, 0.8),
    /* *  создаёт свечение вокруг */
    0 0 25px rgba(255, 102, 0, 0.4);
  background: linear-gradient(135deg, #444, #3a3a3a);
  border-top-color: #111;
  border-bottom-color: #111;
  border-left-color: #ff8800;
  border-right-color: #ff8800;
}

.contact-info-item p {
  margin: 0;
  font-weight: 500;
  /* *полужирный */
  transition: all 0.3s ease;
}

.contact-info-item:hover span {
  filter: drop-shadow(0 0 10px rgba(255, 102, 0, 0.8));
  transform: scale(1.1);
}

.contact-info-item:hover p {
  text-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
  /* *  создаёт тень */
}

@keyframes contactHover {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
    /* *  создаёт свечение вокруг */
  }

  50% {
    transform: scale(1.03) rotate(2deg);
    box-shadow: 0 20px 50px rgba(255, 102, 0, 0.8),
      /* *  создаёт свечение вокруг */
      0 0 30px rgba(255, 102, 0, 0.5);
  }

  100% {
    transform: translateX(10px) scale(1.05);
    box-shadow: 0 15px 45px rgba(255, 102, 0, 0.8),
      /* *  создаёт свечение вокруг */
      0 0 25px rgba(255, 102, 0, 0.4);
  }
}


/* !============================================
   ? Адаптив (Mobile)
   !============================================ */

/* Мобильные (480px-) */

@media (max-width: 480px) {
  .blocks {
    width: 260px;
    height: 250px;
  }

  .header_menu {
    display: block;
    /* Stack меню вертикально */

  }

  ul {
    padding: 0;
    margin: 1rem 0 0 0;
    text-align: center;
  }

  a {
    font-size: 26px;
  }

  .logo img {
    width: 80px;
    /* Меньший логотип mobile */
  }

  ul li {
    margin: 0 0.5rem;
    /* Компактные отступы */
  }

  .hero {
    height: 50vh;
    /* Не full screen на mobile */
  }

  .hero-content h2 {
    font-size: 1.5rem;
    /* Меньший заголовок */
  }

  .hero-content p {
    font-size: 1rem;
    /* Компактный текст */
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 15px;
  }

  .services {
    padding: 2rem 1rem;
    /* Уменьшенные отступы */
  }

  .service {
    padding: 1.5rem;
    margin: 0.5rem 0;
  }

  .gallery-images {
    gap: 10px;
  }

  .gallery-item {
    flex: 1 1 120px;
    /* гибкость */
    max-width: 150px;
  }

  .gallery-item img {
    max-width: 150px;
  }

  .gallery-item p {
    font-size: 0.8rem;
  }

  /* FAQ */
  .faq details summary {
    width: 95%;
    font-size: 1rem;
    padding: 1rem;
  }

  .faq details p {
    font-size: 0.9rem;
    padding: 0.8rem;
  }

  /* Адаптивные стили для Контакты */
  .contact_suctiz {
    padding: 1rem;
  }

  .contact_div h2 {
    font-size: 1.8rem;
  }

  .contact-form {
    max-width: 100%;
    padding: 0 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem;
  }

  .contact-info-item {
    padding: 1rem;
    font-size: 0.95rem;
  }
}

/* Меню для телеыфонов-планшеты */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    /* Показать бургер меню */
    float: right;
    margin: 1rem 0;
  }

  /* Адаптивные стили для Новости (Swiper) */
  .news-swiper {
    padding: 0 40px;
  }

  .swiper-container {
    margin: 0 -22px auto;
    height: 250px;
  }

  .news-card {
    padding: 15px;
    min-height: 200px;
  }

  .news-card h3 {
    font-size: 1.1rem;
  }

  .news-card p {
    font-size: 0.9rem;
  }

  .news-swiper .swiper-button-next,
  .news-swiper .swiper-button-prev {
    width: 30px;
    height: 30px;
  }

  .news-swiper .swiper-button-next:after,
  .news-swiper .swiper-button-prev:after {
    font-size: 14px;
  }
}