* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* === Header === */
header {
  background: #6c47ff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between; /* Распределяет элементы по краям */
  align-items: center;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.logo img {
  height: 40px;
  width: auto;
}
/* Слоган в строке с логотипом и телефоном */
.header-slogan {
  color: #ffffff;
  margin: 0; /* ← убрали отступ сверху */
  font-size: 0.9rem;
  line-height: 1;
  align-self: center; /* ← гарантирует центрирование даже если другие элементы выше */
  padding: 0 12px; /* ← небольшой горизонтальный отступ */
}

/* Мобильные устройства: уменьшаем шрифт */
@media (max-width: 1670px) {
  .header-slogan {
    font-size: 0.8rem;
  }
}

/* Очень узкие экраны (опционально) */
@media (max-width: 576px) {
  .header-slogan {
    font-size: 0.8rem;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
/* Правая часть: телефон + бургер */
.header-right-mobile {
  display: flex;
  align-items: center;
  gap: 12px; /* Отступ между иконкой и бургером */
}

/* === Region Selector === */
.region-selector {
  display: none;
  position: relative;
}

.region-toggle {
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  outline: none;
}

.region-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.region-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 1001;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
  padding: 16px;
  transition: all 0.25s ease;
  min-width: 280px;
  max-width: 90vw;
  max-height: 70vh;
  overflow-y: auto;
}

.region-selector:hover .region-dropdown {
  opacity: 1;
  visibility: visible;
}

.region-columns-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 1400px) {
  .region-columns-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Новое правило — 6 колонок при ширине ≥1600px */
@media (min-width: 1600px) {
  .region-columns-wrapper {
    grid-template-columns: repeat(6, 1fr);
  }
}
.region-group-title {
  display: block;
  font-weight: 700;
  color: #6c47ff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 12px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(108, 71, 255, 0.2);
}

.region-column a {
  display: block;
  padding: 6px 0;
  color: #333;
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 0.2s;
}

.region-column a:hover {
  color: #6c47ff;
}

/* === Мобильные элементы === */
/* === Бургер-меню (мобильное) === */
.burger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 36px;     /* Увеличили с 24px */
  height: 24px;    /* Увеличили с 18px */
  cursor: pointer;
  z-index: 1001;
  padding: 0px;    /* Добавляем внутренние отступы — чтобы не прижимался к краю */
  box-sizing: border-box;
}

.burger span {
  display: block;
  height: 2px;
  width: 36px;
  background: white;
  transition: all 0.3s;
  border-radius: 2px; /* Скруглить края — выглядит аккуратнее */
}

/* При наведении — слегка увеличиваем */
.burger:hover {
  transform: scale(1.05);
}

.phone-icon {
  display: block;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  transition: transform 0.2s;
}

.phone-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.phone-icon:hover {
  transform: scale(1.1);
}

.desktop-nav,
.phone-desktop {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  z-index: 9999;
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
  padding-top: 80px;
}

.mobile-menu.open {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  z-index: 10000;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 30px;
  padding: 0 20px;
}

.mobile-nav a {
  padding: 14px 0;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  width: auto;
  max-width: none;
  text-align: center;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.4;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background: rgba(108, 71, 255, 0.1);
}

.social-icons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 40px;
}

.social-icons svg {
  width: 32px;
  height: 32px;
  fill: #6c47ff;
  cursor: pointer;
}

/* === ДЕСКТОПНЫЕ СТИЛИ (≥1200px) === */
@media (min-width: 1600px) {
  .burger,
  .phone-icon,
  .mobile-menu {
    display: none !important;
  }

  .desktop-nav,
  .phone-desktop,
  .region-selector {
    display: block;
  }

  .desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
  }

  .desktop-nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.2s;
  }

  .desktop-nav a:hover,
  .desktop-nav a.active {
    background: rgba(255, 255, 255, 0.2);
  }

  .phone-desktop {
    color: white;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
    text-decoration: none;
  }

  /* Выпадающие меню (Digital и др.) */
  .desktop-nav li {
    position: static;
  }

  .has-dropdown > a::after {
    content: " ▼";
    font-size: 0.7em;
    margin-left: 4px;
    opacity: 0.7;
  }

  .dropdown-menu {
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%) translateY(-8px);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
    padding: 24px;
    transition: all 0.25s ease;
    max-width: 1160px;
    width: calc(100vw - 40px);
  }

  .desktop-nav li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .dropdown-columns-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0 auto;
  }

  .dropdown-column {
    min-width: 0;
  }

  .dropdown-menu .category-title {
    display: block;
    padding-bottom: 6px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #6c47ff;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(108, 71, 255, 0.2);
  }

  .dropdown-menu a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    line-height: 1.4;
    transition: color 0.2s;
  }

  .dropdown-menu a:hover {
    color: #6c47ff;
  }
}
/*Добавление для выбора города */
.all-cities-section {
  padding: 60px 0;
  background: #f9f7ff;
}

.all-cities-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #6c47ff;
  margin-bottom: 12px;
}

.all-cities-section .subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.city-group h3 {
  font-size: 1.2rem;
  color: #6c47ff;
  margin-bottom: 12px;
}

.city-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-group li {
  margin-bottom: 6px;
}

.city-group a {
  color: #333;
  text-decoration: none;
  transition: color 0.2s;
}

.city-group a:hover {
  color: #6c47ff;
  text-decoration: underline;
}
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #333;
  z-index: 1;
}

.hero video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  max-width: 900px;
  width: 100%;
  padding: 0 20px;
  z-index: 2;
  box-sizing: border-box;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  font-weight: 800;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  line-height: 1.2;
  word-break: normal;
  hyphens: manual;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero p.tagline,
.hero p.subtitle {
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
  line-height: 1.4;
  word-break: normal;
  hyphens: manual;
  overflow-wrap: break-word;
  white-space: normal;
}

.hero p.subtitle {
  font-weight: 400;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-purple {
  background: #6c47ff;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-dark {
  background: #2d2d2d;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.btn-purple:hover,
.btn-dark:hover {
  opacity: 0.9;
}

/* Адаптивность */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }

  .hero p.tagline {
    font-size: 1.3rem;
  }

  .hero p.subtitle {
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .hero-content {
    padding: 0 16px;
  }

  .btn-purple,
  .btn-dark {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero p.tagline {
    font-size: 1.2rem;
  }

  .hero p.subtitle {
    font-size: 1.15rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .btn-purple,
  .btn-dark {
    width: 100%;
    max-width: 280px;
  }
}
   /* О нас */
.about {
  padding: 80px 0;
  background: #fff;
}
.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

@media (max-width: 768px) {
  .container {
    max-width: 95%;
    padding: 0 10px; /* чуть меньше отступы, чтобы не упиралось */
  }
}
.about-content {
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  min-width: 300px;
}
.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}
.about-text .process {
  color: #6c47ff;
  font-weight: 600;
  margin-bottom: 20px;
}
.about-text p {
  margin-bottom: 15px;
  line-height: 1.6;
}
.telegram-btn {
  display: inline-block;
  background: #6c47ff;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 20px;
  transition: opacity 0.2s;
}
.telegram-btn:hover {
  opacity: 0.9;
}
.about-video {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-video video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column; /* Ставим колонку */
    align-items: center; /* Центрируем по горизонтали */
    text-align: center; /* Центрируем текст */
  }
  .about-text {
    order: 1; /* Текст сверху */
  }
  .about-video {
    order: -1; /* Видео выше текста */
    width: 100%; /* На мобилке видео — 100% ширины */
    max-width: 100%;
  }
  .about-video video {
    max-width: 100%;
    height: auto;
  }
}

/* Листай дальше */
.scroll-up {
  padding: 80px 0;
  background: #6c47ff;
  color: white;
  overflow: hidden; /* Чтобы "двери" не вылезали за границы */
}

.scroll-up-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Обёртка для видео — будет анимироваться */
.scroll-up-video {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.scroll-up-video::before,
.scroll-up-video::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background: #6c47ff;
  z-index: 1;
  transition: transform 0.3s ease-out;
}

.scroll-up-video::before {
  left: 0;
  transform-origin: left center;
}

.scroll-up-video::after {
  right: 0;
  transform-origin: right center;
}

/* Само видео */
.scroll-up-video video {
  max-width: 100%;
  max-height: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  object-fit: cover;
  position: relative;
  z-index: 2;
}

/* Адаптивность */
@media (max-width: 768px) {
  .scroll-up-content {
    flex-direction: column;
    text-align: center;
  }
  .scroll-up-video {
    order: -1;
    margin-bottom: 20px;
  }
  .scroll-up-text h2 {
    font-size: 1.5rem;
  }
  .scroll-up-text .author {
    font-size: 1rem;
  }
}
/* Наши преимущества */
.advantages {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Фоновое изображение — скрываем на мобильных */
.adv-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.adv-bg img {
  max-width: 100%;
  height: auto;
  opacity: 0.35;
  filter: blur(8px);
}

/* Остальные стили карточек */
.advantages h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.advantages .subtitle {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 40px;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.adv-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.adv-card:hover {
  transform: translateY(-4px);
}
.adv-icon {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #6c47ff;
}
.adv-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #333;
}
.adv-card p {
  line-height: 1.6;
  color: #555;
}

/* Адаптивность */
@media (max-width: 768px) {
  .advantages {
    background: #f9f9f9; /* Светло-серый фон на мобилке */
    position: relative;
    overflow: visible;
  }
  .adv-bg {
    display: none; /* Полностью скрываем фоновое изображение */
  }
  .adv-grid {
    grid-template-columns: 1fr;
  }
  .advantages h2 {
    font-size: 2rem;
  }
}

/* Превью в карточках */
.adv-card .adv-preview {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 16px;
  background: #f5f5f5;
}

.adv-card .adv-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.adv-card:hover .adv-preview img {
  transform: scale(1.05);
}

/* Кнопки в карточках */
.adv-card .service-telegram-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 16px;
  font-size: 14px;
  text-align: center;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.adv-card .service-telegram-btn:hover {
  opacity: 0.9;
}
/* Статистика */
.stats {
  padding: 80px 0;
  background: #fff;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.stat-card {
  background: #6c47ff;
  padding: 30px 20px;
  border-radius: 12px;
  text-align: center;
  color: white;
  transition: transform 0.2s;
}
.stat-card:hover {
  transform: translateY(-4px);
}

/* Иконка: белая, уменьшенная, с анимацией */
.stat-icon {
  margin-bottom: 20px;
  display: inline-block;
}
.stat-icon svg {
  width: 40px;        /* Уменьшено в 2 раза (было ~80px) */
  height: 40px;
  fill: white;        /* Белый цвет */
  animation: breatheFloat 4s ease-in-out infinite;
}

/* Анимация: дыхание + парение */
@keyframes breatheFloat {
  0%, 100% {
    transform: scale(1) translateY(0);
  }
  50% {
    transform: scale(1.1) translateY(-8px);
  }
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 1rem;
  opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 1.5rem;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 1.5rem;
  }
}
/* Направления */
.directions {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Фоновое изображение — скрываем на мобильных */
.directions-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}
.directions-bg img {
  max-width: 100%;
  height: auto;
  opacity: 0.35;
  filter: blur(8px);
}

/* Остальные стили */
.directions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}
.directions-header h2 {
  font-size: 2.5rem;
  margin: 0;
}
.directions-header .subtitle {
  color: #666;
  font-size: 1.1rem;
  margin: 0;
}
.telegram-btn {
  display: inline-block;
  background: #6c47ff;
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.telegram-btn:hover {
  opacity: 0.9;
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}
.direction-card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}
.direction-card:hover {
  transform: translateY(-4px);
}
.direction-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #333;
}
.direction-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.direction-card li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #555;
}
.direction-card li:before {
  content: "— ";
  color: #6c47ff;
  font-weight: bold;
}

/* Адаптивность */
@media (max-width: 768px) {
  .directions {
    background: #f9f9f9; /* Светло-серый фон на мобилке */
    position: relative;
    overflow: visible;
  }
  .directions-bg {
    display: none; /* Полностью скрываем фоновое изображение */
  }
  .directions-header {
    flex-direction: column;
    text-align: center;
  }
  .directions-grid {
    grid-template-columns: 1fr;
  }
  .directions-header h2 {
    font-size: 2rem;
  }
}

/* === Контакты === */
.contacts {
  padding: 80px 0;
  background: linear-gradient(135deg, #6c47ff, #4a2cbf);
  color: white;
  text-align: center;
}

.contacts h2 {
  font-size: 2.4rem;
  margin-bottom: 40px;
  font-weight: 800;
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto 30px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 24px 20px;
  transition: transform 0.2s, background 0.2s;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.contact-role {
  font-size: 1rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-phone {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  margin: 6px 0;
  transition: opacity 0.2s;
}

.contact-phone:hover {
  opacity: 0.85;
}

.contact-name {
  font-size: 1.1rem;
  font-weight: 600;
  opacity: 0.95;
}

.contact-email {
  margin: 20px 0 30px;
  font-size: 1.2rem;
}

.contact-email a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.contact-email a:hover {
  opacity: 0.7;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}

.contact-socials a:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.contact-socials svg {
  fill: white;
  width: 24px;
  height: 24px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .contacts h2 {
    font-size: 2rem;
  }
  .contact-phone {
    font-size: 1.25rem;
  }
  .contact-email {
    font-size: 1.1rem;
  }
  .contact-socials {
    gap: 16px;
  }
  .contact-socials a {
    width: 42px;
    height: 42px;
  }
}
/* Footer */
footer {
  background: #1a1a1a;
  color: #ddd;
  padding: 40px 0 20px;
  font-size: 0.95rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.footer-col {
  flex: 1;
  min-width: 200px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: #6c47ff;
}
.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #333;
  color: #777;
}
.contact-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.widget-toggle {
  width: 60px;
  height: 60px;
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease;
}

.widget-toggle:hover {
  transform: scale(1.1);
}

.widget-toggle img,
.widget-expanded img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.widget-expanded {
  display: none;
  flex-direction: column;
  gap: 12px;
}

.widget-expanded.show {
  display: flex;
}

.widget-expanded a {
  width: 60px;
  height: 60px;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInSlide 0.3s forwards;
}

.widget-expanded.show a {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@keyframes fadeInSlide {
  to { opacity: 1; transform: translateY(0); }
}

.widget-expanded.show a:nth-child(1) { animation-delay: 0.05s; }
.widget-expanded.show a:nth-child(2) { animation-delay: 0.1s; }
.widget-expanded.show a:nth-child(3) { animation-delay: 0.15s; }
.widget-expanded.show a:nth-child(4) { animation-delay: 0.2s; }