/* === ОБЩИЕ БАЗОВЫЕ СТИЛИ === */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Bellota Text', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: #000;
  color: #fff;
}
a { color: inherit; text-decoration: none; }


.main-background {
  position: relative;
  background: linear-gradient(180deg, #08040a 0%, #2b1735 27%, #110914 100%);
  background-size: cover;
  overflow: hidden;
}

/* Текстурный фон (используем псевдоэлемент для текстуры) */
.main-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/textures/rock_surface.png") repeat;
  opacity: 1; /* Регулируем прозрачность */
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 0;
}

/* Правая текстура брызг (создаем отдельный элемент) */
.main-background .splash-right {
  content: "";
  position: absolute;
  top: 240px;
  right: 0;
  width: 800px;
  height: 1754px;
  background: url("assets/textures/Брызгри_Справа_ВЕРХ.PNG") no-repeat top right;
  background-size: contain;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

/* Медиазапрос для экранов до 1150px */
@media (max-width: 1150px) {
  .main-background .splash-right {
    /* Поднимаем текстуру выше (уменьшаем top) */
    top: 120px; /* или любое другое значение, например 100px, 150px */
    
    /* Уменьшаем размер пропорционально */
    width: 600px; /* уменьшаем на 25% от 800px */
    height: 1315.5px; /* уменьшаем пропорционально: 1754px * 0.75 */
    
    /* Если нужно изменить выравнивание */
    /* right: -50px;  сдвигаем от края если нужно */
  }
}

/* Левая текстура брызг (создаем отдельный элемент) */
.main-background .splash-left {
  content: "";
  position: absolute;
  top: 240px;
  left: 0;
  width: 800px;
  height: 2225px;
  background: url("assets/textures/Брызги_слева_ВЕРХ.PNG") no-repeat top left;
  background-size: contain;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

/* Правые брызги 2 */
.main-background .splash-right-2 {
  content: "";
  position: absolute;
  top: 1700px;
  right: 0;
  width: 700px;
  height: 1383px;
  background: url("assets/textures/Брызгри_Справа_2.PNG") no-repeat top right;
  background-size: contain;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

/* Брызгри слева 2 */
.main-background .splash-left-2 {
  content: "";
  position: absolute;
  top: 2100px;
  left: 0;
  width: 900px;
  height: 1383px;
  background: url("assets/textures/Брызги_слева_2.PNG") no-repeat top left;
  background-size: contain;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

/* Брызги справа 3 */
.main-background .splash-right-3 {
  content: "";
  position: absolute;
  bottom: 1850px;
  right: 0;
  width: 950px;
  height: 2110px;
  background: url("assets/textures/Брызгри_Справа_3.PNG") no-repeat top right;
  background-size: contain;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

/* Брызги слева 3 */
.main-background .splash-left-3 {
  content: "";
  position: absolute;
  bottom: 2000px;
  left: 0;
  width: 694px;
  height: 1197px;
  background: url("assets/textures/Брызги_слева_3.PNG") no-repeat top left;
  background-size: contain;
  opacity: 0.55;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 1;
}

.site-head-wrapper {
  position: relative; /* чтобы z-index работал */
  z-index: 5;         /* выше, чем псевдоэлемент ::before */
  background-color: #1D1322; /* плотный темный фон */
}


/* --- Обёртка хэдэра*/

.site-head-wrapper {
  width: 100%;
  background-color: #1D1322; /* плотный темный фон */
  background-image: none;    /* без текстуры или с полностью непрозрачной картинкой */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 1;                 /* гарантируем полную непрозрачность */
}

/* Контейнер контента остаётся прозрачным, чтобы не перекрывал фон */
.site-head {
  width: 1280px;
  height: 161px;
  margin: 0 auto;
  position: relative;
  font-family: Arial, sans-serif;
  background: transparent;
}



/* --- Звезда --- */
.star {
  position: absolute;
  left: 109px;
  top: 35px;
}
.star img {
  width: 84px;
  height: 80px;
  object-fit: contain;
  display: block;
}

/* --- Телефон --- */
.phone {
  position: absolute;
  left: 205px;
  top: 70px;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  text-decoration: none;
}
.phone:hover {
  text-decoration: underline;
}

/* --- Центральный логотип --- */
.head-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.head-center img {
  width: 412px;
  height: 119px;
  object-fit: contain;
  display: block;
}

/* --- Соцсети справа --- */
.head-right {
  position: absolute;
  right: 109px; /* выравниваем симметрично */
  top: 56px;
  display: flex;
  gap: 15px;
}

/* --- Общие стили иконок --- */
.sicon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #cccccc;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  transition: background-color 0.22s ease, transform 0.12s ease;
}
.sicon:hover {
  transform: translateY(-3px);
}

/* Telegram */
.sicon.telegram {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/telegram-app.png');
}
.sicon.telegram:hover {
  background-color: #0088cc;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/telegram-app.png');
}

/* WhatsApp */
.sicon.whatsapp {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/whatsapp.png');
}
.sicon.whatsapp:hover {
  background-color: #25d366;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/whatsapp.png');
}

/* VK */
.sicon.vk {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/vk-circled.png');
}
.sicon.vk:hover {
  background-color: #1877f2;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/vk-circled.png');
}

/* YouTube */
.sicon.youtube {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/youtube-play.png');
}
.sicon.youtube:hover {
  background-color: #ff0000;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/youtube-play.png');
}

/* === АККУРАТНОЕ СЖАТИЕ (1280px - 1025px) === */
@media (min-width: 1025px) and (max-width: 1280px) {
  .site-head {
    width: 100% !important;
    padding: 0 60px !important;
  }
}

/* === СКРЫТИЕ ЛОГОТИПА (1024px - 769px) === */
@media (min-width: 769px) and (max-width: 1024px) {
  .site-head {
    width: 100% !important;
    padding: 0 60px !important;
  }
  
  .head-center {
    display: none !important;
  }
}

/* === МОБИЛЬНАЯ ВЕРСИЯ (768px и меньше) === */
@media (max-width: 768px) {
  .site-head-wrapper {
    height: auto !important;
    padding: 20px 0 !important;
  }
  
  .site-head {
    width: 100% !important;
    height: auto !important;
    padding: 0 20px !important;
    position: static !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .head-center {
    display: none !important;
  }
  
  .star {
    position: static !important;
    order: 1;
  }
  
  .star img {
    width: 60px !important;
    height: 55px !important;
    display: inline-block !important;
    vertical-align: middle !important;
  }
  
  .phone {
    position: static !important;
    order: 2;
    font-size: 18px !important;
    padding: 10px 18px !important;
    background: rgba(163, 0, 255, 0.15) !important;
    border-radius: 25px !important;
    display: inline-block !important;
    vertical-align: middle !important;
    margin-left: 15px !important;
  }
  
  .head-right {
    position: static !important;
    order: 3;
    display: flex !important;
    justify-content: center;
    gap: 15px;
    width: 100%;
  }
  
  .sicon {
    width: 48px !important;
    height: 48px !important;
    background-size: 26px 26px !important;
  }
}

/* === ГОРИЗОНТАЛЬНЫЙ ТЕЛЕФОН === */
@media (max-width: 768px) and (orientation: landscape) {
  .site-head {
    flex-direction: row !important;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px !important;
    gap: 10px !important;
  }
  
  .star {
    order: 1 !important;
  }
  
  .phone {
    order: 2 !important;
    margin-left: 10px !important;
  }
  
  .head-right {
    order: 3 !important;
    width: auto !important;
    justify-content: flex-end;
  }
}

/* === ОЧЕНЬ МАЛЕНЬКИЕ ТЕЛЕФОНЫ === */
@media (max-width: 380px) {
  .site-head {
    gap: 15px;
    padding: 0 15px !important;
  }
  
  .star img {
    width: 50px !important;
    height: 45px !important;
  }
  
  .phone {
    font-size: 16px !important;
    padding: 8px 14px !important;
    margin-left: 10px !important;
  }
  
  .sicon {
    width: 44px !important;
    height: 44px !important;
  }
}

/* ======================
   ОСНОВНОЕ МЕНЮ
   ====================== */
.main-menu {
  position: sticky;
  top: 0;
  z-index: 1006; /* УВЕЛИЧИЛ ДЛЯ ПРИОРИТЕТА НАД ШАПКОЙ */
  width: 100%;
  background-color: #1D1322;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 81px;
  transition: top 0.3s ease;
}

.menu-inner {
  width: 1280px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.desktop-menu {
  display: flex;
  gap: 45px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 100%;
}

.main-menu a {
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.main-menu a:hover {
  color: #a300ff;
}

/* ======================
   БУРГЕР (АБСОЛЮТНЫЙ - ВСЕГДА СВЕРХУ)
   ====================== */
.burger-checkbox {
  position: absolute;
  visibility: hidden;
}

.burger {
  position: fixed; /* Меняем absolute на fixed */
  z-index: 1007;
  cursor: pointer;
  display: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
  left: 30px;
  top: 30px; /* Фиксированная позиция от верха */
  transform: none; /* Убираем transform */
}

.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #fff;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center;
}

.burger::before {
  top: 0;
  transform: translateY(0) rotate(0);
}

.burger::after {
  bottom: 0;
  transform: translateY(0) rotate(0);
}

.burger-checkbox:checked + .burger::before {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.burger-checkbox:checked + .burger::after {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ======================
   МОБИЛЬНОЕ МЕНЮ (ПОД БУРГЕРОМ)
   ====================== */
.menu-list {
  position: fixed;
  top: 0 !important; /* Теперь меню начинается с самого верха */
  left: 0;
  width: 300px;
  height: 100vh; /* Занимает всю высоту */
  margin: 0;
  padding: 80px 0 0 0; /* Отступ сверху для бургера */
  list-style: none;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 1005;
  overflow-y: auto;
  
  background: linear-gradient(
    to bottom,
    #1D1322 0%,
    #1D1322 20%,
    rgba(29, 19, 34, 0.95) 40%,
    rgba(29, 19, 34, 0.85) 60%,
    rgba(29, 19, 34, 0.7) 80%,
    rgba(29, 19, 34, 0.4) 100%
  );
  backdrop-filter: blur(10px);
}

.menu-item {
  display: block;
  padding: 15px 30px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
}

.menu-item:hover {
  background: rgba(163, 0, 255, 0.2);
  color: #a300ff;
  padding-left: 40px;
}

.burger-checkbox:checked ~ .menu-list {
  transform: translateX(0);
  box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

/* ======================
   МЕДИА ЗАПРОСЫ - ТЕПЕРЬ С 1150px!
   ====================== */
@media (max-width: 1150px) {
  .burger {
    display: block;
  }
  
  .desktop-menu {
    display: none;
  }
  
  .main-menu {
    display: none !important;
  }
  
  .menu-list {
    overflow-y: auto;
  }
  
  .menu-list::-webkit-scrollbar {
    width: 6px;
  }
  
  .menu-list::-webkit-scrollbar-thumb {
    background: #a300ff;
    border-radius: 3px;
  }
}

/* ДОБАВЛЯЕМ ОТСТУП ДЛЯ КОНТЕНТА */
body {
  padding-top: 0;
}

.main-menu.sticky + * {
  margin-top: 81px;
}

/* ======================
   КНОПКА "НАВЕРХ"
   ====================== */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #a300ff;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(163, 0, 255, 0.3);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background: #8a00d4;
  transform: translateY(-3px);
}

.scroll-to-top.force-hide {
  opacity: 0 !important;
  visibility: hidden !important;
}
/* ================== ОБНОВЛЕННЫЕ СТИЛИ ДЛЯ ЗАГОЛОВКА И ПУТИ ================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-header {
  text-align: center; /* Центрируем контейнер заголовка */
  margin-bottom: 80px;
  width: 100%;
}

/* Центрирующий контейнер для заголовка и пути */
.header-content {
  display: inline-block; /* Делаем ширину по содержимому */
  text-align: left; /* Текст внутри выравниваем по левому краю */
  max-width: calc(340px * 3 + 40px * 2); /* Ширина 3 карточек + 2 отступа */
  width: 100%;
}

/* Обновляем стиль навигационной строки пути */
.page-path {
  position: relative;
  z-index: 2;
  margin-bottom: 15px;
  display: flex;
  justify-content: flex-start; /* Текст по левому краю внутри контейнера */
  align-items: center;
  font-family: 'Bellota Text', system-ui, sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  width: 100%;
}

.path-link {
  color: rgba(225, 219, 232, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 400;
  padding: 2px 6px;
  border-radius: 4px;
}

.path-link:hover {
  color: #a300ff;
}

.path-separator {
  color: rgba(255, 255, 255, 0.5);
  margin: 0 8px;
}

.path-current {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

/* Обновляем заголовок */
.services-section-title {
  text-align: left; /* Текст по левому краю внутри контейнера */
  font-weight: 700;
  font-size: 48px;
  font-family: inherit;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
  position: relative;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  width: 100%;
}

/* Обновляем ряд карточек - ВОЗВРАЩАЕМ ПО ЦЕНТРУ */
.services-row {
  display: flex;
  justify-content: center; /* Карточки по центру */
  gap: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  width: 100%;
}

/* УСЛУГИ ТАТУ САЛОНА */
/* ================== СТИЛИ ДЛЯ КАРТОЧЕК УСЛУГ ================== */

.services-cards-section {
  position: relative;
  padding: 40px 0; /* Убрали горизонтальные отступы, они теперь в .container */
  overflow: hidden;
  z-index: 2;
}

/* Основной размытый фон */
.services-cards-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    rgba(196, 49, 240, 0.4) 0%,
    rgba(125, 12, 255, 0.2) 15%,
    transparent 40%
  );
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  animation: fadeInBackground 1.5s ease-out;
}

/* Дополнительный слой для глубины */
.services-cards-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: radial-gradient(
    circle at center,
    rgba(196, 49, 240, 0.3) 0%,
    rgba(125, 12, 255, 0.15) 20%,
    transparent 45%
  );
  filter: blur(50px);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
  animation: fadeInBackground 2s ease-out 0.3s both;
}

/* Карточка услуги - ТОЧНО ТАКОЙ ЖЕ СТИЛЬ КАК В ПРАЙСЕ */
.service-card {
  position: relative;
  width: 340px;
  height: 460px;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(163, 0, 255, 0.25),
    0 0 0 1px rgba(196, 49, 240, 0.2);
}

/* Картинка карточки */
.card-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.service-card:hover .card-image img {
  transform: scale(1.08);
}

/* Градиент покрывает половину карточки (50% сверху прозрачно, 50% темный градиент снизу) */
.card-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; /* Градиент покрывает ровно половину карточки */
  background: linear-gradient(
    to top,
    rgba(20, 0, 34, 0.95) 0%,
    rgba(20, 0, 34, 0.79) 50%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Контент карточки - поверх градиента */
.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 2;
  text-align: center;
}

/* Название услуги */
.service-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Краткое описание */
.service-description {
  font-size: 18px;
  font-weight: 300;
  color: #e1dbe8;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-family: 'Bellota Text', system-ui, sans-serif;
  line-height: 1.4;
  margin: 0;
  max-width: 280px;
}

/* Кнопка "Подробнее" - В СТИЛЕ ФОРМЫ */
.service-btn {
  background: rgba(157, 78, 221, 0.4);
  border: 2px solid rgba(157, 78, 221, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-size: 18px;
  font-family: 'Bellota Text', sans-serif;
  font-weight: 500;
  padding: 12px 30px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  width: 200px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-btn:hover {
  background: rgba(177, 98, 234, 0.5);
  border-color: rgba(177, 98, 234, 0.9);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(157, 78, 221, 0.35);
}

.service-btn:active {
  transform: translateY(-1px);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1200px) {
  .header-content {
    max-width: calc(320px * 3 + 30px * 2); /* Адаптируем под новые размеры карточек */
  }
  
  .services-row {
    gap: 30px;
  }
  
  .service-card {
    width: 320px;
    height: 440px;
  }
}

@media (max-width: 1024px) {
  .header-content {
    max-width: calc(300px * 3 + 25px * 2); /* Адаптируем под новые размеры карточек */
  }
  
  .services-section-title {
    font-size: 42px;
  }
  
  .services-row {
    gap: 25px;
  }
  
  .service-card {
    width: 300px;
    height: 420px;
  }
  
  .service-name {
    font-size: 26px;
  }
  
  .service-description {
    font-size: 17px;
  }
}

@media (max-width: 992px) {
  .header-content {
    max-width: calc(340px * 2 + 40px); /* Для 2 карточек в ряд */
  }
  
  /* На планшетах делаем 2 карточки в ряд */
  .services-row {
    justify-content: center;
  }
  
  .service-card {
    width: 45%;
    max-width: 340px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .header-content {
    max-width: 340px; /* Для одной карточки */
    width: 100%;
  }
  
  .services-cards-section {
    padding: 40px 0;
  }
  
  .services-header {
    margin-bottom: 60px;
  }
  
  .services-section-title {
    text-align: center; /* На мобильных по центру */
    font-size: 36px;
  }
  
  .page-path {
    justify-content: center; /* На мобильных по центру */
  }
  
  /* На мобильных - по одной карточке в ряд */
  .service-card {
    width: 100%;
    max-width: 340px;
    height: 380px;
    margin-bottom: 40px;
  }
  
  .services-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
  }
  
  .service-name {
    font-size: 24px;
  }
  
  .service-description {
    font-size: 16px;
  }
  
  .service-btn {
    font-size: 16px;
    padding: 10px 25px;
    width: 180px;
  }
}

@media (max-width: 480px) {
  .services-section-title {
    font-size: 28px;
  }
  
  .page-path {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .service-card {
    height: 350px;
  }
  
  .service-name {
    font-size: 22px;
  }
  
  .service-description {
    font-size: 15px;
  }
  
  .service-btn {
    font-size: 15px;
    padding: 9px 22px;
    width: 160px;
  }
}

@media (max-width: 360px) {
  .service-card {
    height: 320px;
  }
  
  .card-content {
    padding: 20px 15px;
  }
  
  .service-name {
    font-size: 20px;
  }
  
  .service-description {
    font-size: 14px;
  }
  
  .service-btn {
    font-size: 14px;
    padding: 8px 20px;
    width: 150px;
  }
}

/* Адаптивность для тату-сайта */
@media (max-width: 768px) {
  .page-path {
    font-size: 14px;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .page-path {
    font-size: 13px;
  }
  
  .path-separator {
    margin: 0 5px;
  }
}

/* ================== 7 БЛОК: CONSULTATION FORM ================== */
/* --- ОБЁРТКА ФОРМЫ: бесконечный фон --- */
#consultation-form-wrapper {
  width: 100%;
  min-height: 560px;
  background-image: url('../assets/images/form background.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  overflow: hidden;
  z-index: 3;
}

/* --- Градиент поверх фона --- */
#consultation-form-wrapper .form-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
    rgba(0,0,0,0.96) 0%,
    rgba(0,0,0,0.78) 18%,
    rgba(0,0,0,0.55) 42%,
    rgba(0,0,0,0.25) 68%,
    rgba(0,0,0,0) 100%);
  pointer-events: none;
  z-index: 5;
}

/* Контейнер с контентом - центрирование */
#consultation-form {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  min-height: 560px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center; /* Центрируем содержимое */
  padding: 60px 20px 20px;
  background: transparent;
  flex-direction: row;
  gap: 40px; /* Равное расстояние между заголовком и формой */
}

/* Заголовок - левая часть */
#consultation-form .title {
  font-weight: 700;
  font-size: 42px;
  font-family: inherit;
  max-width: 549px;
  line-height: 1.15;
  color: #ffffff;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  height: 100%;
  margin-top: 20px;
  flex: 1;
}

/* Форма - правая часть */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px; /* Одинаковое расстояние между всеми элементами */
  width: 380px;
  z-index: 7;
  transition: transform .25s ease;
  margin-top: 20px;
  flex-shrink: 0;
}

/* Поля — мягкие границы, эффекты (обновленный стиль) */
.contact-form input {
  height: 56px;
  padding: 10px 16px;
  border-radius: 12px; /* Менее закругленные углы */
  border: 2px solid rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  background: rgba(0, 0, 0, 0.7); /* Более темный фон */
  color: #ffffff;
  font-size: 18px;
  font-family: 'Bellota Text', sans-serif;
  outline: none;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: border-color .20s ease, box-shadow .18s ease, transform .12s ease;
  width: 100%; /* Всегда 100% ширины контейнера формы */
}

.contact-form input::placeholder { 
  color: rgba(255, 255, 255, 0.45); 
}

.contact-form input:focus {
  border-color: rgba(177, 98, 234, 0.9); /* Ярче фиолетовый при фокусе */
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(157, 78, 221, 0.25);
}

/* Dropdown button styled like input */
.dropdown { 
  position: relative; 
  width: 100%; 
}

.dropdown-btn {
  height: 56px;
  width: 100%;
  padding: 10px 16px;
  border-radius: 12px; /* Менее закругленные углы */
  border: 2px solid rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  background: rgba(0, 0, 0, 0.7); /* Более темный фон */
  color: #ffffff;
  font-size: 18px;
  font-family: 'Bellota Text', sans-serif;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  outline: none;
  transition: all .20s ease;
}

.dropdown-btn:hover {
  border-color: rgba(177, 98, 234, 0.9); /* Ярче при ховере */
}

/* Список выпадающий */
.dropdown-content {
  display: none;
  position: absolute;
  top: 66px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8); /* Более темный фон */
  border-radius: 12px; /* Менее закругленные углы */
  border: 2px solid rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  z-index: 60;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  list-style: none;
  padding: 6px 0;
  margin: 0;
}

.dropdown-content li {
  padding: 12px 16px;
  cursor: pointer;
  color: #ffffff;
  font-family: 'Bellota Text', sans-serif;
  transition: background .12s ease;
}

.dropdown-content li:hover {
  background: rgba(157, 78, 221, 0.25); /* Ярче фиолетовый фон */
}

/* helper class */
.dropdown-content.show { 
  display: block; 
}

/* Кнопка — в потоке (обновленный стиль) */
.btn-cta {
  background: rgba(157, 78, 221, 0.4); /* Ярче полупрозрачный фиолетовый */
  border: 2px solid rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: #fff;
  font-size: 20px;
  font-family: 'Bellota Text', sans-serif;
  font-weight: 700;
  width: 100%;
  height: 56px;
  border-radius: 12px; /* Менее закругленные углы */
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease;
}

.btn-cta:hover { 
  background: rgba(177, 98, 234, 0.5); /* Ярче при ховере */
  border-color: rgba(177, 98, 234, 0.9); /* Ярче при ховере */
  transform: translateY(-4px); 
  box-shadow: 0 18px 46px rgba(157, 78, 221, 0.35); /* Ярче тень */
}

/* Контейнер согласия */
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5); /* Более темный фон */
  border-radius: 12px; /* Менее закругленные углы */
  border: 1px solid rgba(157, 78, 221, 0.5); /* Ярче фиолетовый */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Чекбокс */
.consent-checkbox input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: rgba(177, 98, 234, 0.9); /* Ярче фиолетовый */
  border: 2px solid rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.consent-checkbox input[type="checkbox"]:hover {
  border-color: rgba(177, 98, 234, 0.9); /* Ярче при ховере */
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.6); /* Ярче тень */
}

.consent-checkbox input[type="checkbox"]:checked {
  background-color: rgba(177, 98, 234, 0.9); /* Ярче фиолетовый */
  border-color: rgba(177, 98, 234, 0.9); /* Ярче фиолетовый */
}

/* Текст согласия */
.consent-checkbox label {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  font-weight: 300;
  font-family: 'Bellota Text', system-ui, sans-serif;
}

/* Ссылки в согласии */
.consent-checkbox .consent-link {
  color: rgba(177, 98, 234, 0.95); /* Ярче фиолетовый */
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
  font-weight: 400;
}

.consent-checkbox .consent-link:hover {
  color: rgba(197, 128, 255, 1); /* Еще ярче при ховере */
  border-bottom-color: rgba(177, 98, 234, 0.9); /* Ярче фиолетовый */
}

/* Сообщение об ошибке */
.form-submitted .consent-checkbox:has(input:not(:checked)) {
  border-color: rgba(255, 75, 75, 0.7);
  background: rgba(255, 75, 75, 0.1);
}

.form-submitted .consent-checkbox:has(input:not(:checked)) label {
  color: rgba(255, 180, 180, 0.95);
}

/* ================== КАЧЕСТВЕННЫЙ МЕДИАЗАПРОС: 1024px - 768px ================== */
@media (min-width: 768px) and (max-width: 1024px) {
  #consultation-form-wrapper {
    min-height: 520px;
  }
  
  #consultation-form {
    min-height: 520px;
    padding: 50px 40px 40px !important;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
  }
  
  #consultation-form .title {
    font-size: 36px !important;
    max-width: 450px;
    margin-top: 15px;
  }
  
  .contact-form {
    width: 340px !important;
    margin-top: 15px;
    gap: 18px;
  }
  
  .contact-form input,
  .dropdown-btn {
    height: 52px;
    font-size: 17px;
    border-radius: 12px; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.7); /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  }
  
  .consent-checkbox {
    padding: 12px;
    align-items: flex-start !important;
    gap: 12px !important;
    border-radius: 12px; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.5); /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.5); /* Ярче фиолетовый */
  }
  
  .consent-checkbox input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border-color: rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
    accent-color: rgba(177, 98, 234, 0.9); /* Ярче фиолетовый */
  }
  
  .consent-checkbox label {
    font-size: 13.5px;
    line-height: 1.5 !important;
  }
  
  .btn-cta {
    height: 54px;
    font-size: 19px;
    border-radius: 12px; /* Сохраняем менее закругленные углы */
    background: rgba(157, 78, 221, 0.4); /* Ярче полупрозрачный фиолетовый */
    border-color: rgba(157, 78, 221, 0.7); /* Ярче фиолетовый */
  }
  
  .btn-cta:hover {
    background: rgba(177, 98, 234, 0.5); /* Ярче при ховере */
    border-color: rgba(177, 98, 234, 0.9); /* Ярче при ховере */
  }
}

/* ================== АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ ================== */

/* Планшеты (до 768px) */
@media (max-width: 768px) {
  #consultation-form-wrapper {
    min-height: auto;
  }
  
  #consultation-form {
    min-height: auto;
    padding: 40px 30px !important;
    flex-direction: column;
    align-items: center !important;
    text-align: center !important;
    gap: 30px;
  }
  
  #consultation-form .title {
    max-width: 100% !important;
    text-align: center !important;
    font-size: 30px !important;
    margin-top: 0;
    position: static;
  }
  
  .contact-form {
    position: relative !important;
    width: 100% !important;
    max-width: 380px !important; /* Такая же ширина как на больших экранах */
    margin: 0 auto !important;
    margin-top: 0;
    gap: 18px; /* Одинаковое расстояние как на десктопе */
  }
  
  .contact-form input,
  .dropdown-btn,
  .btn-cta {
    width: 100% !important; /* Все элементы на всю ширину формы */
    border-radius: 12px; /* Сохраняем менее закругленные углы */
  }
  
  .contact-form input,
  .dropdown-btn {
    background: rgba(0, 0, 0, 0.7) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox {
    margin: 0;
    width: 100%;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px !important;
    border-radius: 12px; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.5) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.5) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox input[type="checkbox"] {
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    width: 20px !important;
    height: 20px !important;
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
    accent-color: rgba(177, 98, 234, 0.9) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox label {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
  
  .btn-cta {
    width: 100% !important;
    border-radius: 12px; /* Сохраняем менее закругленные углы */
    background: rgba(157, 78, 221, 0.4) !important; /* Ярче полупрозрачный фиолетовый */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .btn-cta:hover {
    background: rgba(177, 98, 234, 0.5) !important; /* Ярче при ховере */
    border-color: rgba(177, 98, 234, 0.9) !important; /* Ярче при ховере */
  }
}

/* Мобильные (до 480px) */
@media (max-width: 480px) {
  #consultation-form {
    padding: 35px 20px !important;
    gap: 25px;
  }
  
  #consultation-form .title {
    font-size: 24px !important;
    line-height: 1.3 !important;
  }
  
  .contact-form {
    gap: 18px !important; /* Сохраняем одинаковые расстояния */
    max-width: 380px !important; /* Сохраняем фиксированную ширину */
  }
  
  .contact-form input,
  .dropdown-btn {
    height: 56px !important; /* Сохраняем высоту как на десктопе */
    font-size: 18px !important; /* Сохраняем размер шрифта */
    padding: 10px 16px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.7) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox {
    flex-direction: row !important;
    align-items: flex-start !important;
    padding: 15px !important; /* Сохраняем отступы как на десктопе */
    width: 100%;
    gap: 12px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.5) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.5) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox input[type="checkbox"] {
    margin-top: 2px !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
    accent-color: rgba(177, 98, 234, 0.9) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox label {
    font-size: 14px !important; /* Сохраняем размер шрифта */
    line-height: 1.5 !important;
    text-align: left !important;
  }
  
  .btn-cta {
    height: 56px !important; /* Сохраняем высоту как на десктопе */
    font-size: 20px !important; /* Сохраняем размер шрифта */
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(157, 78, 221, 0.4) !important; /* Ярче полупрозрачный фиолетовый */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .btn-cta:hover {
    background: rgba(177, 98, 234, 0.5) !important; /* Ярче при ховере */
    border-color: rgba(177, 98, 234, 0.9) !important; /* Ярче при ховере */
  }
}

/* Очень маленькие экраны (до 360px) */
@media (max-width: 360px) {
  #consultation-form .title {
    font-size: 22px !important;
  }
  
  .contact-form {
    max-width: 100% !important; /* На очень маленьких экранах 100% */
    gap: 16px !important;
  }
  
  .contact-form input,
  .dropdown-btn {
    height: 52px !important;
    font-size: 16px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.7) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 12px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.5) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.5) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox input[type="checkbox"] {
    margin-top: 2px !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
    accent-color: rgba(177, 98, 234, 0.9) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox label {
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
  
  .btn-cta {
    height: 52px !important;
    font-size: 18px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(157, 78, 221, 0.4) !important; /* Ярче полупрозрачный фиолетовый */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .btn-cta:hover {
    background: rgba(177, 98, 234, 0.5) !important; /* Ярче при ховере */
    border-color: rgba(177, 98, 234, 0.9) !important; /* Ярче при ховере */
  }
}

/* Горизонтальная ориентация на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
  #consultation-form {
    padding: 25px 20px !important;
  }
  
  .contact-form {
    max-width: 400px !important;
    gap: 16px;
  }
  
  .contact-form input,
  .dropdown-btn {
    background: rgba(0, 0, 0, 0.7) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox {
    padding: 12px !important;
    align-items: flex-start !important;
    gap: 12px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.5) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.5) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox input[type="checkbox"] {
    margin-top: 2px !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
    accent-color: rgba(177, 98, 234, 0.9) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox label {
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: left !important;
  }
}

/* Старый медиазапрос для совместимости (до 900px) */
@media (max-width: 900px) {
  #consultation-form { 
    height: auto; 
    padding: 40px 20px !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  #consultation-form .title { 
    font-size: 28px; 
    max-width: 100%; 
    text-align: center;
    position: static;
    margin-top: 0;
  }
  
  .contact-form { 
    position: static; 
    width: 100%; 
    max-width: 380px; 
    margin: 0 auto !important;
    gap: 18px;
    margin-top: 0;
  }
  
  .contact-form input,
  .dropdown-btn {
    background: rgba(0, 0, 0, 0.7) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox {
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px !important;
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(0, 0, 0, 0.5) !important; /* Более темный фон */
    border-color: rgba(157, 78, 221, 0.5) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox input[type="checkbox"] {
    margin-top: 2px !important;
    width: 20px !important;
    height: 20px !important;
    flex-shrink: 0 !important;
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
    accent-color: rgba(177, 98, 234, 0.9) !important; /* Ярче фиолетовый */
  }
  
  .consent-checkbox label {
    text-align: left !important;
    line-height: 1.5 !important;
  }
  
  .btn-cta { 
    width: 100%; 
    border-radius: 12px !important; /* Сохраняем менее закругленные углы */
    background: rgba(157, 78, 221, 0.4) !important; /* Ярче полупрозрачный фиолетовый */
    border-color: rgba(157, 78, 221, 0.7) !important; /* Ярче фиолетовый */
  }
  
  .btn-cta:hover {
    background: rgba(177, 98, 234, 0.5) !important; /* Ярче при ховере */
    border-color: rgba(177, 98, 234, 0.9) !important; /* Ярче при ховере */
  }
}
/* КАРТА */
/* контейнер держит карточку в границах карты */
.map-wrapper {
  position: relative;
  width: 100%;
}

/* сама карта */
#map {
  width: 100%;
  min-height: 510px;
  border-radius: 14px;
  overflow: hidden;
}

/* карточка контактов */
.contacts-card {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  width: 280px;
  background: rgba(0,0,0,0.75);
  padding: 18px;
  border-radius: 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
  backdrop-filter: blur(6px);
}

/* адаптив для планшетов и мобилок */
@media (max-width: 768px) {
  /* Увеличиваем высоту карты */
  #map {
    min-height: 600px; /* или можно использовать height: 600px; */
  }
  
  /* Карточка: центрируем и делаем компактной */
  .contacts-card {
    position: absolute;
    top: auto;
    bottom: 20px; /* Размещаем внизу карты */
    right: auto;
    left: 50%;
    transform: translateX(-50%); /* Центрируем по горизонтали */
    width: 280px; /* Сохраняем ширину как в десктопе */
    max-width: 90%; /* Но не более 90% ширины экрана */
    margin-top: 0;
    background: rgba(0,0,0,0.85); /* Чуть темнее для лучшей читаемости */
  }
  
  /* Дополнительно для очень маленьких экранов */
  @media (max-width: 480px) {
    #map {
      min-height: 650px; /* Еще больше высота на маленьких экранах */
    }
    
    .contacts-card {
      width: 260px; /* Чуть уже на очень маленьких экранах */
      padding: 15px;
    }
  }
  
  /* Для ландшафтной ориентации на мобильных */
  @media (max-width: 768px) and (orientation: landscape) {
    #map {
      min-height: 450px; /* Меньшая высота в ландшафте */
    }
    
    .contacts-card {
      bottom: 15px;
      width: 250px;
    }
  }
}

/* Опционально: можно добавить эффект при наведении на десктопе */
@media (min-width: 769px) {
  .contacts-card:hover {
    background: rgba(0,0,0,0.85);
    transform: translateY(-50%) scale(1.02);
    transition: all 0.3s ease;
  }
}

/* === 8 БЛОК: Конечный блок / Footer === */
.footer {
  width: 100%;
  min-width: 1100px;
  height: 232px;
  background-color: #111020;
  position: relative;
  z-index: 10;
}

.footer-container {
  position: relative;
  width: 1280px;
  max-width: 100%;
  height: 100%;
  margin: 0 auto;
}

/* Логотип */
.footer-logo {
  position: absolute;
  left: 112px;
  top: 47px;
  width: 189px;
  height: 96px;
  object-fit: contain;
}

/* Копирайт */
.footer-copy {
  position: absolute;
  left: 112px;
  bottom: 48px;
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  margin: 0;
}

/* Мини-меню */
.footer-menu {
  position: absolute;
  left: 452px;
  top: 55px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-menu a {
  color: #aaaaaa;
  font-weight: bold;
  font-size: 20px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-menu a:hover {
  color: #a300ff;
}

/* Контакты */
.footer-contacts {
  position: absolute;
  left: 607px;
  top: 62px;
  color: #ffffff;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.6;
}

.footer-contacts a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-contacts a:hover {
  color: #a300ff;
}

/* Соцсети */
.footer-social {
  position: absolute;
  left: 938px;
  top: 92px;
  display: flex;
  gap: 12px;
}

/* === Кнопки соцсетей === */
.sicon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #cccccc;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 28px 28px;
  transition: background-color 0.22s ease, transform 0.12s ease;
}
.sicon:hover { transform: translateY(-3px); }

/* Telegram */
.sicon.telegram {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/telegram-app.png');
}
.sicon.telegram:hover {
  background-color: #0088cc;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/telegram-app.png');
}

/* WhatsApp */
.sicon.whatsapp {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/whatsapp.png');
}
.sicon.whatsapp:hover {
  background-color: #25d366;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/whatsapp.png');
}

/* VK */
.sicon.vk {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/vk-circled.png');
}
.sicon.vk:hover {
  background-color: #1877f2;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/vk-circled.png');
}

/* YouTube */
.sicon.youtube {
  background-image: url('https://img.icons8.com/ios-filled/50/000000/youtube-play.png');
}
.sicon.youtube:hover {
  background-color: #ff0000;
  background-image: url('https://img.icons8.com/ios-filled/50/ffffff/youtube-play.png');
}

/* ========== АДАПТИВ ДЛЯ МОБИЛЬНЫХ ========== */
@media (max-width: 768px) {
  .footer {
    min-width: unset;
    height: auto;
    padding: 40px 20px 30px;
  }
  
  .footer-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  /* 1. Меню */
  .footer-menu {
    position: static;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .footer-menu a {
    font-size: 18px;
    text-align: center;
  }
  
  /* 2. Контакты - телефон сверху, email снизу */
  .footer-contacts {
    position: static;
    order: 2;
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Отступ между телефоном и email */
  }
  
  /* Убираем br и меняем порядок через flex */
  .footer-contacts br {
    display: none;
  }
  
  /* Создаем контейнеры для телефона и email */
  .footer-contacts::before {
    content: none; /* Убираем все псевдоэлементы */
  }
  
  /* Если нужно переставить местами существующие элементы в HTML */
  /* Предполагаем структуру HTML: <div class="footer-contacts">тел<br>email</div> */
  /* Для мобильных мы меняем порядок через flex-direction: column */
  
  /* 3. Соцсети */
  .footer-social {
    position: static;
    order: 3;
    justify-content: center;
    margin-top: 10px;
  }
  
  /* 4. Логотип и копирайт */
  .footer-logo {
    position: static;
    order: 4;
    width: 140px;
    height: 71px;
    margin-top: 20px;
  }
  
  .footer-copy {
    position: static;
    order: 5;
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
    color: #aaaaaa;
  }
}

/* ========== АДАПТИВ ДЛЯ ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНОВ ========== */
@media (max-width: 480px) {
  .footer {
    padding: 30px 15px 25px;
  }
  
  .footer-container {
    gap: 25px;
  }
  
  .footer-menu {
    gap: 10px;
  }
  
  .footer-menu a {
    font-size: 16px;
  }
  
  .footer-contacts {
    font-size: 14px;
    gap: 6px;
  }
  
  .footer-social {
    gap: 8px;
  }
  
  .sicon {
    width: 45px;
    height: 45px;
    background-size: 24px 24px;
  }
  
  .footer-logo {
    width: 120px;
    height: 61px;
  }
  
  .footer-copy {
    font-size: 12px;
    margin-top: 10px;
  }
}

/* ========== ЛАНДШАФТНАЯ ОРИЕНТАЦИЯ ========== */
@media (max-width: 768px) and (orientation: landscape) {
  .footer {
    padding: 30px 20px;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: start;
    column-gap: 30px;
    row-gap: 20px;
  }
  
  .footer-menu {
    grid-column: 1;
    grid-row: 1;
    align-items: flex-start;
  }
  
  .footer-contacts {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    align-items: flex-start;
  }
  
  .footer-social {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
  }
  
  .footer-logo {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    align-self: center;
    justify-self: end;
  }
  
  .footer-copy {
    grid-column: 1 / span 2;
    grid-row: 3;
    text-align: center;
    margin-top: 20px;
  }
}

/* ========== BURGER BUTTON ========== */
.burger-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.burger-line {
  width: 30px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* Крестик при открытии */
.burger-btn.open .burger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.burger-btn.open .burger-line:nth-child(2) {
  opacity: 0;
}
.burger-btn.open .burger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 1000;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-menu ul li {
  margin: 20px 0;
}

.mobile-menu ul li a {
  font-size: 24px;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Базовый масштаб для всех разрешений - 80% */
html {
  zoom: 0.8;
}

/* При 90% масштабе браузера возвращаем к 80% виду */
@media screen and (max-width: 1280px) and (max-height: 720px) {
  html {
    zoom: 0.9; /* 0.8 / 0.9 = 0.8889 */
  }
}

/* Для больших экранов (1920x1080) оставляем 80% */
@media screen and (min-width: 1920px) and (min-height: 1080px) {
  html {
    zoom: 1;
  }
}

/* ИСПРАВЛЕНИЕ КНОПКИ В HERO БЛОКЕ */
@media (max-width: 1280px) and (min-width: 320px) {
  .hero .btn-cta {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
  }
}

@media (max-width: 768px) {
  .hero .btn-cta {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
  }
}

@media (max-width: 480px) {
  .hero .btn-cta {
    background: linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15) 0%,
      rgba(255, 255, 255, 0.05) 50%,
      rgba(255, 255, 255, 0.1) 100%
    ) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-size: clamp(12px, 3vw, 15px) !important;
  }
}