/* Стили навигационного блока */
.services-nav {
    background-color: #2c3e5000;
    padding: 0px 0;
    margin-bottom: 0px;
}

.nav-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-btn {
  font-family: 'Tenor Sans';
display: inline-block;
    padding: 12px 20px;
    color: #36393e;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
        border: 1px solid rgb(234 234 234);
    box-shadow: 0 6px 20px rgb(234 234 234);
    transition: all 0.45s 
cubic-bezier(0.25, 0.1, 0.25, 1);
    background: linear-gradient(145deg, #eaeaea 0%, #c7c2c2 100%);
}

.nav-btn:hover {
    border: 1px solid rgb(234 234 234);
    box-shadow: 0 6px 20px rgb(234 234 234);
    transition: all 0.45s 
cubic-bezier(0.25, 0.1, 0.25, 1);
    background: linear-gradient(145deg, #c7c2c2 0%, #eaeaea 100%);
  color: #36393e;
}

.services-section {
  font-family: 'Tenor Sans';
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.category-title {
  font-size: 1.6rem!important;
color: #a895a8;
    margin: 30px 0 15px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 5px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.service-card {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.service-name {
font-weight: 800;
    line-height: 20px;
    font-family: 'Tenor Sans';
    font-size: 1.4rem !important;
    margin-bottom: 10px;
    color: #36393e;
}

.service-meta {
  text-align: right;
  font-size: 0.9rem;
  color: #36393e;
}

.duration,
.price {
  display: block;
  margin-bottom: 4px;
}

.price {
font-size: 20px;
    font-weight: 900;
    color: #a895a8;
}

.service-desc {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-meta {
    margin-top: 8px;
    text-align: left;
  }
/* Кнопка "Вверх" */
/* Основной контейнер кнопки */
.btn-scroll-top {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  
  /* Размеры и форма */
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  
  /* Цвета */
  background-color: #b8cae8;
  color: white;
  
  /* Центрирование содержимого */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Тень и переходы */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Стили для стрелки внутри кнопки */
.btn-scroll-top__arrow {
  font-size: 20px;
  line-height: 1;
}

/* Эффект при наведении */
.btn-scroll-top:hover {
  background-color: #b8cae8;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Эффект при нажатии */
.btn-scroll-top:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Состояние скрытия */
.btn-scroll-top.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(0.8);
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  .btn-scroll-top {
    right: 15px;
    width: 40px;
    height: 40px;
  }
  
  .btn-scroll-top__arrow {
    font-size: 16px;
  }
}