/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦ УСЛУГ
   santehnik-tbilisi / elektrik-tbilisi / master-na-chas-tbilisi
   ============================================ */

.service-hero {
    position: relative;
    padding: 3rem 5% 8rem;
    text-align: center;
    z-index: 1;
    min-height: 770px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 1.8rem;
    background-color: var(--dark-concrete);
    background-image:
        linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.9)),
        url('/image/hero-bg.webp');
    background-position: 0 0, center center;
    background-size: 100% 100%, 50%;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .service-hero {
        padding: 2.5rem 4% 3rem;
        min-height: 0;
        background-color: var(--dark-concrete);
        background-image:
            linear-gradient(rgba(10, 10, 10, 0.65), rgba(10, 10, 10, 0.75)),
            url('/image/hero-bg.webp');
        background-position: 0 0, center center;
        background-size: 100% 100%, cover;
        background-repeat: no-repeat;
    }
}

.service-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4.1vw, 6rem);
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: slideUp 0.8s ease-out 0.2s backwards;
    font-weight: 800;
    color: #d0d0d0;
    min-height: 2.6em;
}

.service-hero .lead {
    font-size: 1.1rem;
    color: #FDB913;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-cta-top {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

/* Прайс-таблица */
.price-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(253, 185, 19, 0.15), rgba(253, 185, 19, 0.05));
    border: 3px solid var(--construction-yellow);
    box-shadow: 0 0 30px rgba(253, 185, 19, 0.3), inset 0 0 20px rgba(253, 185, 19, 0.1);
    flex-shrink: 0;
    animation: icon-pulse 3s ease-in-out infinite;
}

.price-icon svg {
    width: 60px;
    height: 60px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.price-table {
    max-width: 700px;
    margin: 3rem auto 3rem;
    padding: 1.5rem; 
    position: relative;
    z-index: 1;
    border-radius: 8px;
    border: 1px solid #FDB913;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.price-table h2 {
    color: var(--construction-yellow);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    text-align: center;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.price-row:last-child {
    border-bottom: none;
}

.price-row:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
}

.price-name {
    color: rgba(255, 255, 255, 0.85);
}

.price-val {
    color: #FDB913;
    font-weight: 700;
    white-space: nowrap;
    margin-left: 1rem;
}

 @media (max-width: 768px) {
  .price-table {
    margin: 0 4% 3rem;
    padding: 1.5rem 4%;
    margin: 3rem 4% 3rem;
    padding: 1.5rem 4%;
    }
}

/* Районы */
.districts {
    max-width: 900px;
    margin: 0 auto 4rem;
    padding: 2.5rem 2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #FDB913;
    border-radius: 12px;
    position: relative;
    z-index: 1;
}

.districts h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    color: var(--construction-yellow);
    margin-bottom: 0.3rem;
}

/* ============================================
РАЙОНЫ ТБИЛИСИ — GRID-СЕТКА
============================================ */
.districts-grid {
  display: grid;
  /* 5 колонок = ровно 2 ряда для 10 районов */
  grid-template-columns: repeat(5, 1fr); 
  gap: 12px;
  margin-top: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  justify-items: center;
  align-items: center;
}

.district-tag {
  width: 100%;
  min-height: 48px;
  padding: 12px 30px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(253, 185, 19, 0.3);
  border-radius: 50px;
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
  white-space: nowrap;
}

.district-tag:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: var(--construction-yellow);
  color: var(--construction-yellow);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(253, 185, 19, 0.2);
}

/* ============================================
АДАПТИВ
============================================ */
/* Планшет: 3 колонки */
@media (max-width: 1024px) {
  .districts-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }
}

/* Мобильный: 1 колонка */
@media (max-width: 768px) {
  .districts {
    padding: 1.5rem 1rem;
    max-width: 100%;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .districts-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
  }
  .district-tag {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    min-height: 52px;
    border: 1px solid rgba(253, 185, 19, 0.3);
    color: rgba(255, 255, 255, 0.85);
  }

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .districts-grid {
    max-width: 100%;
    padding: 0 1rem;
  }
  .district-tag {
    border-radius: 5px;
  }
}
}

/* Убрать фоновую картинку футера на мобильных — только сервисные страницы */
@media (max-width: 968px) {
    .footer-cta {
        background: transparent;
    }
}

@media (max-width: 1200px) {
    .price-icon {
        width: 80px !important;
        height: 80px !important;
    }
    .price-icon svg {
        width: 40px !important;
        height: 40px !important;
    }
}