.site-header {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--text-muted);
    width: 100%;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 20px;
}

/* Логотип */
.header-left .menu__logo-img {
    height: 70px;
}

.header-left .logo__name {
    font-size: clamp(2rem, 4vw, 2.5rem);
    line-height: 1.1;
    margin-left: 10px;
}

/* Навигация (центр) */
.header-center .desktop-nav {
    display: flex;
    justify-content: center;
    gap: 80px; /* увеличенный gap между ссылками */
}

.header-center .desktop-nav a {
    text-decoration: none;
    font-size: clamp(1.4rem, 2vw, 1.6rem);
    font-weight: 600;
    color: var(--text-heading);
    transition: color 0.3s;
}




.header-center .desktop-nav a:hover {
    color: var(--text-muted);
}

/* Правый блок */
.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    margin-top: -50px;
    margin-right: 25px;
}

.header-right .menu-messengers {
    display: flex;
    gap: 30px;
}

.header-right .menu-messengers img {
    width: 30px;
    height: 30px;
}

.header-right .phone-number {
    font-size: clamp(1rem, 1.1vw, 1.2rem);
    text-decoration: none;
    color: var(--text-heading);
    margin-bottom: 20px;
}

.header-right .phone-number:hover {
    color: var(--btn-bg);
}

/* Мобильная версия сохраняется */
.mobile-block .phone-number {
    font-size: clamp(1rem, 2vw, 1.2rem);
}
.submenu,
.dropdown-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.submenu li,
.dropdown-list li {
    list-style-type: none;
}

@media (min-width: 992px) {
  .submenu,
  .dropdown-list {
      list-style: none;
      padding-left: 0;
      margin: 0;
  }

  .submenu li,
  .dropdown-list li {
      list-style-type: none;
  }

  /* Основные ссылки навигации */
  .desktop-nav > a,
  .desktop-nav .dropdown-title {
      font-size: clamp(1.4rem, 2vw, 1.6rem);
      line-height: 1.2; 
      font-weight: 600;
      color: #3E3E3E;
      display: inline-flex;
      align-items: center;
      gap: 4px; /* расстояние между текстом и стрелкой */
      text-decoration: none;
      transition: color 0.3s;
      cursor: pointer;
      height: 100%; /* чтобы совпадало с высотой других ссылок */
  }

  .desktop-nav > a:hover,
  .desktop-nav .dropdown-title:hover {
      color: #8F735B;
  }

  /* Стрелка у выпадающего */
  .dropdown-title::after {
      content: '▾';
      font-size: 0.7em;
      transition: transform 0.3s;
  }

  .dropdown-service:hover .dropdown-title::after {
      transform: rotate(180deg);
  }

  /* Контейнер выпадающего списка */
  .dropdown-service {
      position: relative;
  }

  /* Список услуг */
  .dropdown-list {
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #fff; /* цвет под твой фон */
      border-radius: 12px;
      padding: 8px 0;
      min-width: 240px;
      display: none;
      flex-direction: column;
      box-shadow: 0 4px 20px rgba(0,0,0,0.07);
      z-index: 20;
  }

  .dropdown-service:hover .dropdown-list {
      display: flex;
  }

  /* Ссылки в субменю */
  .dropdown-list li a {
      display: block;
      padding: 10px 20px;
      font-weight: 500;
      font-size: 16px;
      color: #3E3E3E;
      text-decoration: none;
      transition: background 0.3s, color 0.3s;
  }

  .dropdown-list li a:hover {
      background-color: #F3F0EA;
      color: #8F735B;
      border-radius: 8px;
  }

}


@media (min-width: 992px) {
    .desktop-nav-wrapper {
        align-items: center;
        gap: 40px;
    }
  
    .desktop-nav a {
        text-decoration: none;
        font-size: 18px;
        color: #3E3E3E;
        transition: color 0.3s;
    }
  
    .desktop-nav a:hover {
        color: #8F735B;
    }
  
    .worktime-block {
        text-align: right;
        border-left: 1px solid #CFC8BA;
        border-right: 1px solid #CFC8BA;
        padding-right: 20px;
        padding-left: 20px;
        margin-left: 50px !important;
    }
  
    .worktime-title {
        font-size: 20px;
        color: #4A4440;
        margin-bottom: 2px;
    }
  
    .worktime-text {
        font-size: 17px;
        color: #4A4440;
        opacity: 0.9;
    }
  
    .menu-messengers img {
        width: 22px;
        height: 22px;
    }
  
    .phone-number {
        font-size: 17px;
        font-weight: 600;
        color: #4A4440;
        text-decoration: none;
    }
  
    .phone-number:hover {
        color: #8F735B;
    }
    .slide-content {
        padding: 50px !important;
    }
  }

@media (min-width: 992px) {
  .swiper-slide .slide-content,
  .swiper-slide-duplicate .slide-content,
  .swiper-slide-cloned .slide-content {
    padding: 50px !important;
    width: clamp(300px, 70%, 500px) !important;
    border-radius: 20px !important;
    background: rgba(0,0,0,0.5) !important;
  }
}


/* Фиксированные размеры для десктопа (992px и выше) */
@media (min-width: 992px) {
    .catalog-categories {
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px;
      overflow-x: visible;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
    }
  
    .catalog-categories button {
      flex: 0 1 auto;
      min-width: 140px;
      padding: 10px 16px;
      font-size: 16px;
      border-radius: 10px;
    }
  
    .catalog-slider {
      --img-w: 220px;         /* увеличена ширина картинки */
      --img-h: 260px;         /* увеличена высота картинки */
      --card-pad: 16px;
      --card-gap: 20px;
  
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 24px;
      overflow-x: visible;
      padding: 20px 0;
      max-width: 1200px;
      margin: 0 auto;
    }
  
    .slide {
      flex: 0 0 auto;
      width: 100%;
      max-width: 250px;
      margin: 0 auto;
      padding: 16px;
      border-radius: 14px;
    }
  
    .slide-image {
      width: 100%;
      height: 260px;
      border-radius: 12px;
      margin-bottom: 14px;
    }
  
    .slide-image img {
      width: 100%;
      height: 260px;
      object-fit: cover;
    }
  
    .catalog-slider .slide-footer {
      gap: 8px;
      margin-top: 14px;
    }
  
    .catalog-slider .slide-footer > span:first-child,
    .catalog-slider .card-title {
      font-size: 17px;
    }
  
    .catalog-slider .slide-footer > span:last-child,
    .catalog-slider .card-price {
      font-size: 16px;
    }
  
    .catalog-slider .slide-btn {
      margin-top: 14px;
      padding: 12px 16px;
      border-radius: 10px;
      font-size: 15px;
    }
    .catalog-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: clamp(16px, 4vw, 24px);
        margin-right: 10px;
        margin-left: 20px;
    }
  }

/* Секция "Область нашей работы" для десктопа (992px и выше) */
@media (min-width: 992px) {
    .map-section {
      padding: 40px 20px;
    }
    
    .map-text {
      max-width: 800px;
      margin: 0 auto 30px;
    }
    
    .map-text h2 {
      font-size: 2.2rem;
      margin-bottom: 20px;
    }
    
    .map-text p {
      font-size: 1.5rem;
      margin-bottom: 30px;
    }
    
    #map {
      max-width: 1200px;
      margin: 0 auto;
      height: 500px;
      border-radius: 16px;
    }
    
    .map-section p[style*="font-size:14px"] {
      font-size: 16px !important;
      margin-top: 16px;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.5;
    }
  }