/* === КНОПКИ ДЛЯ СВЕТЛЫХ ФОНОВ === */

.btn-outline-dark {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--black);
  cursor: pointer;
  transition: all 0.4s var(--easing);
}

.btn-outline-dark:hover {
  background: var(--black);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(26, 26, 26, 0.15);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .btn-outline-dark {
    padding: 14px 30px;
    font-size: 11px;
  }
}

/* === 0. HERO VIDEO BACKGROUND === */

.service-hero-video {
  position: relative;
  min-height: 85vh;
  height: auto;
  padding: 0;
  background: var(--ivory); /* Кремовый фон вместо чёрного */
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 1;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 45%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -55%);
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  filter: brightness(0.4) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle, rgba(10, 10, 10, 0.12) 1.7px, transparent 1.5px),
    linear-gradient(
      to right,
      rgba(39, 38, 34, 0.65) 0%,
      rgba(94, 93, 92, 0.3) 60%,
      rgba(250, 249, 246, 0.1) 100%
    );
  background-size:
    24px 24px,
    100% 100%;
  z-index: 2;
}

/* Добавляем noise поверх */
.hero-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ИСПРАВЛЕНИЕ: Отменяем авто-центрирование контейнера */
.service-hero-video .container {
  position: relative !important;
  z-index: 3 !important;
  padding: 120px 40px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  width: 100%;
  max-width: 1400px;
  display: block;
  text-align: left;
}

/* Текст слева */
.hero-text-left {
  max-width: 650px !important;
  width: 100% !important;
  margin: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
  display: block !important;
}

.hero-text-left .section-label {
  text-align: left !important;
  display: block !important;
  margin-bottom: 15px !important;
}

.hero-text-left h1 {
  color: var(--black) !important; /* Чёрный текст */
  font-family: var(--font-head) !important;
  font-size: 56px !important;
  line-height: 1.1 !important;
  margin-bottom: 30px !important;
  font-weight: 400 !important;
  text-align: left !important;
}

.hero-text-left .service-hero-sub {
  color: var(--black) !important; /* Чёрный текст */
  font-size: 18px !important;
  line-height: 1.7 !important;
  margin-bottom: 40px !important;
  max-width: 550px !important;
  text-align: left !important;
}

.hero-text-left .section-label {
  color: var(--ivory) !important; /* Золотая метка секции */
  text-align: left !important;
  display: block !important;
  margin-bottom: 15px !important;
}

.hero-text-left .service-hero-btns {
  display: flex !important;
  gap: 20px !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .hero-text-left {
    max-width: 100% !important;
    text-align: center !important;
  }

  .hero-text-left h1,
  .hero-text-left .service-hero-sub,
  .hero-text-left .section-label {
    text-align: center !important;
  }

  .hero-text-left .service-hero-btns {
    justify-content: center !important;
    flex-direction: column !important;
  }

  .hero-text-left h1 {
    font-size: 36px !important;
  }
}

@media (max-width: 480px) {
  .hero-text-left h1 {
    font-size: 30px !important;
  }

  .hero-text-left .service-hero-sub {
    font-size: 16px !important;
  }
}

/* ============================================
   RESOLVE SERVICE — СТРАНИЦЫ УСЛУГ
   Structured CSS for service pages
   ============================================ */

/* === 1. BREADCRUMB (Хлебные крошки) === */
.breadcrumb {
  padding: 100px 0 20px;
  background: var(--ivory);
  border-bottom: 1px solid var(--light-gray);
}

.breadcrumb a {
  color: var(--gray);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
}

/* === 2. SERVICE HERO (Первая секция услуги) === */
.service-hero {
  padding: 80px 0 120px;
  background: var(--ivory);
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-hero-text h1 {
  font-family: var(--font-head);
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 30px;
  font-weight: 400;
}

.service-hero-sub {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.service-hero-btns {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.service-hero-img {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}

.service-hero-img img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* === 3. SERVICE PROCESS (Процесс работы) === */
.service-process {
  padding: 20px 0 100px;
  background: #fff;
}

.service-process h2 {
  font-family: var(--font-head);
  font-size: 48px;
  margin-bottom: 60px;
}

.service-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.process-step {
  position: relative;
  padding: 30px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(166, 138, 100, 0.1);
}

.step-number {
  font-family: var(--font-head);
  font-size: 48px;
  color: var(--gold);
  margin-bottom: 15px;
  font-weight: 600;
}

.process-step h3 {
  font-family: var(--font-head);
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--black);
}

.process-step p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

/* === 4. SERVICE PRICING (Тарифы) === */
.service-pricing {
  padding: 120px 0;
  background: var(--ivory);
}

.service-pricing h2 {
  font-family: var(--font-head);
  font-size: 48px;
  margin-bottom: 20px;
}

/* --- 4.1 Табы переключения --- */
.pricing-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.pricing-tab {
  background: var(--ivory);
  color: var(--black);
  border: 1px solid var(--light-gray);
  padding: 12px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
  white-space: nowrap;
}

.pricing-tab.active {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

.pricing-table {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  margin-bottom: 40px;
}

.pricing-table.active {
  display: block;
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-category {
  background: #fff;
  padding: 50px;
  border: 1px solid var(--light-gray);
}

.pricing-category h3 {
  font-family: var(--font-head);
  font-size: 32px;
  margin-bottom: 10px;
  color: var(--black);
}

.category-desc {
  color: var(--gray);
  font-size: 14px;
  margin-bottom: 40px;
}

/* --- 4.3 Строки прайса --- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  overflow: visible;
}

.price-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: var(--ivory);
  border: 1px solid transparent;
  transition: all 0.3s ease;
  overflow: visible;
  position: relative;
}

.price-item:hover {
  border-color: var(--gold);
  transform: translateX(5px);
}

.price-item-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.price-name {
  font-size: 15px;
  color: var(--black);
  font-weight: 500;
}

.price-value {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--gold);
  font-weight: 600;
  white-space: nowrap;
}

.price-btn {
  padding: 8px 20px;
  background: var(--black);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid var(--black);
}

.price-btn:hover {
  background: transparent;
  color: var(--black);
}

/* --- 4.4 Мини-изображения в прайсе --- */
.price-thumb {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 2px solid var(--light-gray);
  background: #f5f5f5;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
  transition:
    border-color 0.4s var(--easing),
    transform 0.4s var(--easing),
    box-shadow 0.4s var(--easing);
}

.price-item:hover .price-thumb {
  border-color: var(--gold);
  transform: scale(1.8);
  z-index: 10;
  box-shadow: 0 10px 30px rgba(166, 138, 100, 0.3);
}

.price-thumb:hover {
  transform: scale(2.2) !important;
  border-color: var(--gold);
  z-index: 20;
  box-shadow: 0 15px 40px rgba(166, 138, 100, 0.4);
}

.price-thumb[src=""],
.price-thumb:not([src]) {
  display: none;
}

.pricing-note {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--light-gray);
  color: var(--gray);
  font-size: 14px;
  font-style: italic;
}

/* === 5. LIGHTBOX (Полноэкранный просмотр мини-изображений) === */
.price-thumb.zoomable {
  cursor: zoom-in;
}

.thumb-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s var(--easing),
    visibility 0.4s;
  pointer-events: none;
}

.thumb-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: zoom-out;
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  transform: scale(0.7);
  transition: transform 0.4s var(--easing);
}

.thumb-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  max-width: 400px;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background: #fff;
}

.lightbox-title {
  font-family: var(--font-head);
  font-size: 28px;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 40px;
  height: 40px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  background: var(--black);
}

/* === 6. PRICING NOTES (Структурированные примечания) === */
.pricing-notes {
  margin-top: 40px;
  padding: 30px 35px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  border-radius: 2px;
}

.pricing-notes-title {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--black);
  margin-bottom: 20px;
  font-weight: 600;
}

.pricing-notes-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.pricing-notes-list li {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  padding-left: 25px;
  position: relative;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.pricing-notes-list li::before {
  content: "•";
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 20px;
  line-height: 1.4;
}

.pricing-notes-list li strong {
  color: var(--black);
  font-weight: 600;
  display: inline;
}

.pricing-notes-list li:hover {
  transform: translateX(5px);
}

.pricing-notes-list li:hover strong {
  color: var(--gold);
  transition: color 0.3s ease;
}

/* === 7. PREMIUM BRAND (Baxter и другие премиум-бренды) === */
.premium-brand {
  padding: 120px 0;
  background: linear-gradient(135deg, #f5f5f5 0%, var(--ivory) 100%);
  position: relative;
  overflow: hidden;
}

.premium-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23A68A64' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.premium-brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.premium-brand-text h2 {
  font-family: var(--font-head);
  font-size: 56px;
  margin-bottom: 15px;
  font-weight: 400;
  letter-spacing: 2px;
}

.premium-brand-subtitle {
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 40px;
  font-style: italic;
}

.premium-services-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 40px;
}

.premium-service-item {
  display: flex;
  gap: 25px;
  padding: 25px;
  background: #fff;
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.premium-service-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(166, 138, 100, 0.15);
}

.premium-service-image {
  width: 80px !important;
  height: 80px !important;
  min-width: 80px !important;
  min-height: 80px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  border: 3px solid var(--gold) !important;
  background: #f5f5f5 !important;
  flex-shrink: 0 !important;
  position: relative !important;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.premium-service-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  transition: transform 0.3s ease;
}

.premium-service-item:hover .premium-service-image {
  transform: scale(1.1) rotate(5deg) !important;
  border-color: var(--black) !important;
}

.premium-service-item:hover .premium-service-image img {
  transform: scale(1.1);
}

.premium-service-content h4 {
  font-family: var(--font-head);
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--black);
}

.premium-service-content p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.premium-brand-quote {
  padding: 25px 30px;
  background: var(--black);
  color: #fff;
  border-left: 4px solid var(--gold);
  border-radius: 2px;
  font-style: italic;
}

.premium-brand-quote p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.premium-brand-image {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.premium-brand-image img {
  width: 100%;
  height: auto;
  display: block;
}

.brand-badge {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-badge img {
  width: 100%;
  height: auto;
}

/* === 8. RESPONSIVE (Адаптивность) === */

/* Планшет (1024px) */
@media (max-width: 1024px) {
  .service-hero-grid {
    grid-template-columns: 1fr;
  }

  .service-hero-img {
    order: -1;
  }

  .service-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .premium-brand-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .premium-brand-text h2 {
    font-size: 42px;
  }

  .brand-badge {
    width: 100px;
    height: 100px;
    top: 20px;
    right: 20px;
  }
}

/* Мобильный (768px) */
@media (max-width: 768px) {
  .service-hero-text h1 {
    font-size: 40px;
  }

  .service-process-grid {
    grid-template-columns: 1fr;
  }

  .pricing-tabs {
    flex-direction: column;
  }

  .pricing-tab {
    width: 100%;
  }

  .pricing-category {
    padding: 30px 20px;
  }

  .price-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .price-btn {
    width: 100%;
    text-align: center;
  }

  .service-hero-btns {
    flex-direction: column;
  }

  .service-hero-btns .btn {
    width: 100%;
    text-align: center;
  }

  .premium-brand {
    padding: 80px 0;
  }

  .premium-brand-text h2 {
    font-size: 36px;
  }

  .premium-service-item {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .premium-service-image {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
    margin: 15 auto;
  }

  .premium-service-content h4 {
    font-size: 18px;
  }

  .premium-service-content p {
    font-size: 13px;
  }

  .brand-badge {
    width: 80px;
    height: 80px;
  }

  .lightbox-content img {
    max-width: 280px;
    max-height: 280px;
  }

  .lightbox-title {
    font-size: 22px;
  }

  .lightbox-close {
    top: -40px;
    right: 0;
  }

  .pricing-notes {
    padding: 25px 20px;
  }

  .pricing-notes-title {
    font-size: 18px;
  }

  .pricing-notes-list li {
    font-size: 13px;
  }

  .price-thumb {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .price-item-info {
    gap: 10px;
  }
}

/* Маленький мобильный (480px) */
@media (max-width: 480px) {
  .service-hero-text h1 {
    font-size: 32px;
  }

  .service-pricing h2 {
    font-size: 36px;
  }

  .premium-service-image {
    width: 60px !important;
    height: 60px !important;
    min-width: 60px !important;
    min-height: 60px !important;
  }

  .price-thumb {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }

  .price-name {
    font-size: 14px;
  }
  /* === МОБИЛЬНАЯ АДАПТАЦИЯ ПРАЙСОВ НА УЗКИХ ЭКРАНАХ === */
  .pricing-category {
    padding: 20px 15px;
  }
  
  .pricing-category h3 {
    font-size: 24px;
  }
  
  .category-desc {
    font-size: 13px;
    margin-bottom: 25px;
  }
  
  .pricing-tabs {
    gap: 8px;
    margin-bottom: 30px;
  }
  
  .pricing-tab {
    padding: 12px 16px;
    font-size: 13px;
    text-align: center;
  }
  
  .price-item {
    padding: 15px;
    gap: 10px;
  }
  
  .price-name {
    font-size: 14px;
  }
  
  .price-value {
    font-size: 18px;
  }
  
  .service-pricing {
    padding: 80px 0;
  }
  
  .service-pricing h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
}

/* --- 9. HERO VIDEO --- */
.hero-video {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 4px;
  background: #000;
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
  .hero-video {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .hero-video {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .hero-video {
    height: 300px;
  }
}

/* === КНОПКИ ДЛЯ ТЁМНЫХ ФОНОВ (VIDEO HERO) === */

/* Золотая обводка + белый текст */
.btn-outline-gold {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  cursor: pointer;
  transition: all 0.4s var(--easing);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(166, 138, 100, 0.3);
}

/* Альтернатива: белая обводка */
.btn-outline-light {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.4s var(--easing);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .btn-outline-gold,
  .btn-outline-light {
    padding: 14px 30px;
    font-size: 11px;
  }
}

/* === 10. КОГДА НУЖНА ПЕРЕОБИВКА === */
.when-reupholster {
  padding: 120px 0;
  background: #fff;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  max-width: 700px;
  margin-bottom: 70px;
  line-height: 1.7;
}

.when-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.when-card {
  padding: 35px 30px;
  background: var(--ivory);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--gold);
  position: relative;
  transition: all 0.4s var(--easing);
}

.when-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(166, 138, 100, 0.15);
  border-top-color: var(--black);
}

.when-icon {
  font-size: 32px;
  margin-bottom: 15px;
}

.when-number {
  position: absolute;
  top: 20px;
  right: 25px;
  font-family: var(--font-head);
  font-size: 48px;
  color: rgba(166, 138, 100, 0.2);
  font-weight: 600;
  line-height: 1;
}

.when-card h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--black);
}

.when-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
}

.when-card-cta {
  background: var(--black);
  color: #fff;
  border-top-color: var(--gold);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.when-card-cta h3,
.when-card-cta p {
  color: #fff;
}

.when-card-cta .when-icon {
  color: var(--gold);
}

/* === 11. VS SECTION (Сравнение) === */
.vs-section {
  padding: 120px 0;
  background: var(--ivory);
}

.vs-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.vs-poster {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s var(--easing);
}

.vs-poster:hover {
  transform: scale(1.02);
}

.vs-poster img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.poster-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.vs-content h2 {
  font-family: var(--font-head);
  font-size: 48px;
  margin-bottom: 20px;
}

.vs-intro {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 35px;
}

.vs-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.vs-col {
  padding: 30px 25px;
  border-radius: 4px;
}

.vs-col-clean {
  background: #fff;
  border-left: 3px solid var(--gold);
}

.vs-col-reupholster {
  background: var(--black);
  color: #fff;
  border-left: 3px solid var(--gold);
}

.vs-col h4 {
  font-family: var(--font-head);
  font-size: 20px;
  margin-bottom: 15px;
  color: inherit;
}

.vs-col ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.vs-col li {
  padding: 8px 0 8px 25px;
  position: relative;
  font-size: 14px;
  line-height: 1.5;
}

.vs-col li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

.vs-price {
  padding-top: 15px;
  border-top: 1px solid rgba(166, 138, 100, 0.3);
  font-family: var(--font-head);
  font-size: 18px;
  color: var(--gold);
  font-weight: 600;
}

.vs-footer {
  padding: 20px 25px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray);
}

.vs-footer strong {
  color: var(--black);
}

/* === 12. МАТЕРИАЛЫ И ТКАНИ === */
.materials {
  padding: 120px 0;
  background: #fff;
}

.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.material-card {
  background: var(--ivory);
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: all 0.4s var(--easing);
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(166, 138, 100, 0.15);
  border-color: var(--gold);
}

.material-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.material-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--easing);
}

.material-card:hover .material-image img {
  transform: scale(1.08);
}

.material-card h3 {
  font-family: var(--font-head);
  font-size: 24px;
  padding: 20px 25px 10px;
  color: var(--black);
}

.material-card p {
  padding: 0 25px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 15px;
}

.material-brands {
  padding: 0 25px;
  font-size: 12px;
  color: var(--gold);
  font-style: italic;
  margin-bottom: 15px;
}

.material-price {
  padding: 15px 25px;
  background: var(--black);
  color: var(--gold);
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.materials-note {
  padding: 35px 40px;
  background: var(--ivory);
  border-left: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.materials-note p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.materials-note strong {
  color: var(--black);
}

/* === 13. ДИЗАЙНЕРСКАЯ МЕБЕЛЬ === */
.designer-furniture {
  padding: 120px 0;
  background: var(--ivory);
}

.designer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.designer-card {
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: all 0.4s var(--easing);
}

.designer-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(166, 138, 100, 0.12);
}

.designer-card img {
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 25px;
  border-radius: 2px;
  cursor: zoom-in;
  transition: all 0.5s var(--easing);
  filter: grayscale(30%);
  opacity: 0.9;
}

.designer-card img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(166, 138, 100, 0.25);
}

.designer-card h3 {
  font-family: var(--font-head);
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--black);
}

.designer-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.designer-quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 50px 40px;
  background: var(--black);
  color: #fff;
  position: relative;
}

.designer-quote::before {
  content: "“";
  position: absolute;
  top: -20px;
  left: 40px;
  font-family: var(--font-head);
  font-size: 120px;
  color: var(--gold);
  line-height: 1;
}

.designer-quote blockquote {
  font-family: var(--font-head);
  font-size: 22px;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
  color: #fff;
}

.designer-quote cite {
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-style: normal;
}

/* === 14. ГАЛЕРЕЯ ПОСТЕРОВ === */
.posters-gallery {
  padding: 120px 0;
  background: #fff;
}

.posters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.poster-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
  aspect-ratio: 3/4;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s var(--easing);
}

.poster-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.poster-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

.poster-item:hover img {
  transform: scale(1.08);
}

.poster-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.poster-item:hover .poster-info {
  transform: translateY(0);
  opacity: 1;
}

.poster-info h4 {
  font-family: var(--font-head);
  font-size: 20px;
  margin-bottom: 5px;
  color: #fff;
}

.poster-info p {
  font-size: 12px;
  color: #ddd;
}

/* === 15. FAQ === */
.faq-section {
  padding: 120px 0;
  background: var(--ivory);
}

.faq-list {
  max-width: 900px;
  margin: 50px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--light-gray);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item[open] {
  border-color: var(--gold);
  box-shadow: 0 10px 30px rgba(166, 138, 100, 0.1);
}

.faq-item summary {
  padding: 25px 60px 25px 30px;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--black);
  position: relative;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: var(--gold);
  font-weight: 300;
  transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
  content: "−";
  transform: translateY(-50%) rotate(180deg);
}

.faq-item summary:hover {
  color: var(--gold);
}

.faq-answer {
  padding: 0 30px 30px;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-answer p {
  margin-bottom: 15px;
}

.faq-answer ul {
  margin: 15px 0;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
}

.faq-answer strong {
  color: var(--black);
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
  .when-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vs-grid {
    grid-template-columns: 1fr;
  }
  .materials-grid,
  .designer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .posters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .when-reupholster,
  .vs-section,
  .materials,
  .designer-furniture,
  .posters-gallery,
  .faq-section {
    padding: 80px 0;
  }
  .when-grid {
    grid-template-columns: 1fr;
  }
  .vs-compare {
    grid-template-columns: 1fr;
  }
  .materials-grid,
  .designer-grid {
    grid-template-columns: 1fr;
  }
  .posters-grid {
    grid-template-columns: 1fr;
  }
  .materials-note {
    flex-direction: column;
    text-align: center;
  }
  .designer-quote {
    padding: 40px 25px;
  }
  .designer-quote blockquote {
    font-size: 18px;
  }
  .faq-item summary {
    font-size: 18px;
    padding: 20px 50px 20px 25px;
  }
  .vs-content h2 {
    font-size: 36px;
  }
}

/* === ЛАЙТБОКС ДЛЯ БРЕНДОВ И ПОСТЕРОВ (прямоугольный) === */
.thumb-lightbox.active .lightbox-content img.rect-img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  border: 2px solid var(--gold);
  object-fit: contain;
}

/* === 16. ТЕХНОЛОГИИ: ДО/ПОСЛЕ (CROSS-FADE SLIDER) === */
.tech-gallery {
  padding: 120px 0;
  background: var(--ivory);
}

.tech-gallery-header {
  text-align: center;
  margin-bottom: 60px;
}

.tech-gallery-header h2 {
  font-family: var(--font-head);
  font-size: 48px;
  color: var(--black);
  margin-top: 10px;
}

.ba-comparison {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 550px;
  margin: 0 auto;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  user-select: none;
  background: #fff;
}

/* Оба изображения: абсолютно позиционированы */
.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: opacity 0.05s linear;
}

/* "ДО" всегда на заднем плане */
.ba-before {
  z-index: 1;
  opacity: 1;
}

/* "ПОСЛЕ" на переднем плане, управляется прозрачностью */
.ba-after {
  z-index: 2;
  opacity: 0;
}

/* Прозрачный ползунок */
.ba-range {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 10;
  margin: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* Скрываем стандартный ползунок браузера */
.ba-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 1px;
  height: 1px;
  background: transparent;
}

.ba-range::-moz-range-thumb {
  width: 1px;
  height: 1px;
  background: transparent;
  border: none;
}

/* Визуальная ручка */
.ba-handle {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  z-index: 11;
  pointer-events: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: left 0.05s linear;
  border: 3px solid #fff;
}

.ba-handle:hover {
  background: var(--black);
  transform: translateY(-50%) scale(1.1);
}

/* Метки */
.ba-label {
  position: absolute;
  top: 25px;
  padding: 10px 20px;
  background: rgba(26, 26, 26, 0.85);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 4px;
  z-index: 12;
  pointer-events: none;
  font-weight: 600;
}

.ba-label.before {
  left: 25px;
}

.ba-label.after {
  right: 25px;
}

/* Точки навигации */
.ba-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.ba-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--light-gray);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--easing);
  padding: 0;
}

.ba-dot:hover {
  background: var(--gold);
  transform: scale(1.2);
}

.ba-dot.active {
  background: var(--gold);
  border-color: var(--black);
  transform: scale(1.3);
}

/* Адаптивность */
@media (max-width: 1024px) {
  .ba-comparison {
    height: 450px;
  }
}

@media (max-width: 768px) {
  .ba-comparison {
    height: 350px;
  }

  .ba-handle {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .ba-label {
    padding: 8px 15px;
    font-size: 10px;
    top: 15px;
  }

  .ba-label.before {
    left: 15px;
  }

  .ba-label.after {
    right: 15px;
  }
}

@media (max-width: 480px) {
  .ba-comparison {
    height: 280px;
  }

  .tech-gallery-header h2 {
    font-size: 36px;
  }
}

/* === КОМПАКТНЫЙ БЛОК ОПИСАНИЯ СЛАЙДЕРА ДО/ПОСЛЕ === */
.ba-info {
  max-width: 1100px;
  margin: 30px auto 0;
  padding: 25px 30px;
  background: #fff;
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.ba-info-left {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
  min-width: 0;
}

.ba-info-number {
  font-family: var(--font-head);
  font-size: 56px;
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  flex-shrink: 0;
  width: 70px;
  opacity: 0.8;
}

.ba-info-content {
  flex: 1;
  min-width: 0;
}

.ba-info-title {
  font-family: var(--font-head);
  font-size: 26px;
  color: var(--black);
  margin-bottom: 6px;
  font-weight: 400;
}

.ba-info-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

.ba-info-meta {
  display: flex;
  gap: 30px;
  padding-left: 30px;
  border-left: 1px solid var(--light-gray);
  flex-shrink: 0;
}

.ba-info-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 100px;
}

.ba-info-meta-label {
  font-size: 10px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.ba-info-meta-value {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--gold);
  font-weight: 600;
  line-height: 1.3;
}

/* Точки пагинации — ближе к описанию */
.ba-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 25px;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 1024px) {
  .ba-info {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 25px;
  }

  .ba-info-meta {
    padding-left: 0;
    padding-top: 20px;
    border-left: none;
    border-top: 1px solid var(--light-gray);
    justify-content: space-around;
  }
}

@media (max-width: 768px) {
  .ba-info {
    padding: 20px;
    margin-top: 20px;
  }

  .ba-info-left {
    gap: 15px;
  }

  .ba-info-number {
    font-size: 42px;
    width: 50px;
  }

  .ba-info-title {
    font-size: 22px;
  }

  .ba-info-desc {
    font-size: 13px;
  }

  .ba-info-meta {
    gap: 15px;
    padding-top: 15px;
  }

  .ba-info-meta-item {
    min-width: 0;
  }

  .ba-info-meta-value {
    font-size: 14px;
  }

  .ba-info-meta-label {
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .ba-info-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .ba-info-meta {
    flex-direction: column;
    gap: 12px;
  }
} /* === 17. ПОДСВЕТКА СТРОКИ ПРАЙСА (УМНЫЙ ПОИСК) === */
@keyframes priceHighlight {
  0% {
    background: rgba(166, 138, 100, 0.35);
    transform: scale(1.02);
    box-shadow:
      0 0 0 4px rgba(166, 138, 100, 0.4),
      0 10px 30px rgba(166, 138, 100, 0.3);
  }
  15% {
    background: rgba(166, 138, 100, 0.4);
    transform: scale(1.03);
    box-shadow:
      0 0 0 6px rgba(166, 138, 100, 0.5),
      0 15px 40px rgba(166, 138, 100, 0.4);
  }
  70% {
    background: rgba(166, 138, 100, 0.2);
    transform: scale(1.01);
    box-shadow:
      0 0 0 4px rgba(166, 138, 100, 0.3),
      0 10px 30px rgba(166, 138, 100, 0.2);
  }
  100% {
    background: transparent;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(166, 138, 100, 0);
  }
}

.price-item.highlighted {
  animation: priceHighlight 7s ease-out forwards;
  position: relative;
  border-radius: 4px;
  z-index: 10;
  border: 2px solid var(--gold) !important;
}

.price-item.highlighted::before {
  content: "✓ Вы здесь";
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(166, 138, 100, 0.5);
  z-index: 11;
  white-space: nowrap;
  animation: badgeAppear 0.5s ease-out;
}

.price-item.highlighted::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: var(--gold);
  z-index: 11;
  animation: badgeAppear 0.5s ease-out;
}

@keyframes badgeAppear {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Плавное появление при скролле */
.price-item.highlighted .price-name {
  color: var(--gold);
  font-weight: 600;
}

.price-item.highlighted .price-value {
  color: var(--gold);
  font-weight: 700;
}

/* === ПРОИЗВОДСТВЕННЫЙ ФИКС: ОТОБРАЖЕНИЕ ПРАЙСА НА МОБИЛЬНЫХ === */

/* 1. Убираем проблемный min-height, который ломает IntersectionObserver */
.pricing-table {
  min-height: 0; /* было 800px — причина бага */
}

/* 2. Fallback: если JS не успел добавить .active — показываем принудительно */
@media (max-width: 768px) {
  /* Снимаем reveal-анимацию с секции прайсов */
  .service-pricing.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Гарантированное отображение активной таблицы */
  .pricing-table.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    animation: none !important; /* убираем fadeInUp — он дублирует reveal */
  }

  /* Если JS упал — показываем первую таблицу через :first-of-type */
  .pricing-table:first-of-type:not(.active) {
    display: block;
    opacity: 1;
    transform: none;
  }

  .price-item {
    opacity: 1 !important;
    visibility: visible !important;
  }

  .pricing-category {
    overflow: visible !important;
  }
}

/* === МОБИЛЬНАЯ АДАПТАЦИЯ ПРАЙСОВ (375-480px) === */
@media (max-width: 480px) {
  /* Позволяем перенос в price-item-info */
  .price-item-info {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  /* Уменьшаем thumbnail на узких экранах */
  .price-thumb {
    width: 35px;
    height: 35px;
    min-width: 35px;
  }
  
  /* Разрешаем перенос длинных цен */
  .price-value {
    white-space: normal;
    font-size: 18px;
    line-height: 1.3;
  }
  
  /* Уменьшаем отступы в строке прайса */
  .price-item {
    padding: 15px 12px;
    gap: 12px;
  }
  
  /* Название на всю ширину при необходимости */
  .price-name {
    flex: 1;
    min-width: 0;
    word-break: break-word;
  }
  
  /* Кнопка заказа на всю ширину */
  .price-btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

/* Экстремально узкие экраны (320-374px) */
@media (max-width: 374px) {
  .price-item-info {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .price-thumb {
    width: 40px;
    height: 40px;
  }
  
  .price-name {
    font-size: 13px;
    line-height: 1.4;
  }
  
  .price-value {
    font-size: 16px;
  }
  
  .pricing-category {
    padding: 15px 10px;
  }
}

/* === КРИТИЧЕСКИЙ ФИКС: ГАРАНТИРОВАННОЕ ОТОБРАЖЕНИЕ НА МОБИЛЬНЫХ === */
@media (max-width: 768px) {
  /* 🆕 СКРЫВАЕМ ВСЕ ТАБЛИЦЫ ПО УМОЛЧАНИЮ */
  .pricing-table {
    display: none !important;
  }
  
  /* Показываем только активную таблицу */
  .pricing-table.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-height: auto !important;
  }

  .pricing-table:first-of-type {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    min-height: auto !important;
  }
  
  /* Все price-item должны быть видны */
  .price-item {
    display: grid !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  
  /* Убираем анимации, которые могут блокировать отображение */
  .pricing-table.active {
    animation: none !important;
  }
  
  /* Принудительно показываем контент внутри */
  .price-grid,
  .price-item-info,
  .price-name,
  .price-value,
  .price-btn {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Fallback для экстремально узких экранов (POCO X5 = 412px) */
@media (max-width: 420px) {
  .pricing-category {
    padding: 20px 12px !important;
  }
  
  .price-grid {
    gap: 10px !important;
  }
  
  .price-item {
    padding: 12px 10px !important;
    gap: 8px !important;
    grid-template-columns: 1fr !important;
  }
  
  .price-item-info {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .price-thumb {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
  }
  
  .price-name {
    font-size: 13px !important;
    line-height: 1.4 !important;
    flex: 1;
    min-width: 0;
    word-break: break-word;
  }
  
  .price-value {
    font-size: 16px !important;
    white-space: normal !important;
  }
  
  .price-btn {
    width: 100%;
    text-align: center;
    padding: 10px 16px !important;
    font-size: 11px !important;
    margin-top: 8px;
  }
}

/* === ПОДЪЁМ КОНТЕНТА HERO НА МОБИЛЬНЫХ (CLEANING.HTML) === */
@media (max-width: 768px) {
  /* 1. Отключаем вертикальное центрирование */
  .cleaning-hero {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 2px !important; /* Отступ от фиксированного меню */
  }

  /* 2. Убираем лишние внутренние отступы у контент-блока */
  .cleaning-hero .hero-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
}

/* === УМЕНЬШЕНИЕ HERO ТОЛЬКО НА МОБИЛЬНЫХ (CLEANING.HTML) === */
@media (max-width: 768px) {
  .cleaning-hero {
    min-height: 98vh !important;      /* Высота секции: 75% от высоты экрана */
    padding-top: 90px !important;     /* Отступ сверху (под фиксированное меню) */
    padding-bottom: 40px !important;  /* Отступ снизу (под кнопками) */
  }
}

/* ============================================
   СТРАНИЦА ГАЛАНТЕРЕЯ
   ============================================ */

/* Hero */
.galantereya-hero {
  background: linear-gradient(rgba(26, 26, 26, 0.7), rgba(26, 26, 26, 0.7)), 
              url('../images/services/galantereya-hero.jpg') center/cover no-repeat;
}

/* Grid карточек услуг */
.galantereya-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.galantereya-card {
  background: #fff;
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s var(--easing), box-shadow 0.3s var(--easing);
}

.galantereya-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: var(--gold);
}

.galantereya-img {
  height: 240px;
  overflow: hidden;
  background: var(--ivory);
}

.galantereya-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

.galantereya-card:hover .galantereya-img img {
  transform: scale(1.05);
}

.galantereya-content {
  padding: 24px;
}

.galantereya-content h3 {
  font-family: var(--font-head);
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 400;
  line-height: 1.3;
}

.galantereya-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
  margin-bottom: 20px;
}

.galantereya-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.price-label {
  font-size: 14px;
  color: var(--gray);
}

.price-value {
  font-size: 28px;
  font-weight: 600;
  color: var(--gold);
}

/* Мобильный адаптив */
@media (max-width: 768px) {
  .galantereya-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .galantereya-img {
    height: 200px;
  }
  
  .galantereya-content {
    padding: 20px;
  }
  
  .galantereya-content h3 {
    font-size: 20px;
  }
  
  .price-value {
    font-size: 24px;
  }
}

/* === HERO С ВИДЕО — БЕЛЫЙ ТЕКСТ === */
.service-hero-video .section-label {
    color: var(--gold) !important;
}

.service-hero-video h1 {
    color: #fff !important;
}

.service-hero-video .service-hero-sub {
    color: #ddd !important;
}

.service-hero-video .btn {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
}

.service-hero-video .btn:hover {
    background: transparent;
    color: var(--gold);
}

.service-hero-video .btn-outline-dark {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

.service-hero-video .btn-outline-dark:hover {
    background: #fff;
    color: var(--black);
}
