﻿:root {
  --primary: #74b652;
  --primary-dark: #5a9e3d;
  --primary-light: #f0f7ed;
  --dark: #1a1a1a;
  --gray: #5c5c5c;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --layout-max: 1020px;
  --layout-gutter: 18px;
}

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

/* 2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--white);
  padding-top: 110px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* 3. LAYOUT
   ============================================ */
.container {
  max-width: var(--layout-max);
  margin: 0 auto;
  padding: 0 var(--layout-gutter);
}

.section {
  padding: 80px 0;
}

/* 4. HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.75);
  /* Максимально прозрачно в самом верху (Glassmorphism) */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Для Mac/Safari */
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Легкая граница для отделения от фона */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  /* Плавное стекло */
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  /* При скролле становится чуть плотнее, чтобы читался текст */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

/* УЛУЧШЕННАЯ ТИПОГРАФИКА ЛОГОТИПА СО СЛОГАНОМ */
.logo-wrapper {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  text-decoration: none;
  line-height: 1;
  animation: logoFadeIn 0.6s ease;
  width: fit-content;
}

/* Основной логотип */
.logo-brand {
  font-size: 28px;
  font-weight: 800;
  color: #1a2e25;
  letter-spacing: -1px;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

/* Акцентная буква/часть */
.logo-brand span,
.logo-accent {
  color: #74b652;
  position: relative;
}

/* Декоративная точка после логотипа (опционально) */
.logo-brand::after {
  content: '';
  width: 6px;
  height: 6px;
  background: #74b652;
  border-radius: 50%;
  margin-left: 2px;
  margin-top: -10px;
}

/* Слоган под логотипом */
.logo-tagline {
  font-size: 10px;
  color: #5c5c5c;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  margin-top: 5px;
  width: 100%;
  display: block;
  text-align: justify;
  text-align-last: justify;
  position: relative;
  line-height: 1;
}

/* Принудительное растягивание текста в одну строку */
.logo-tagline::after {
  content: "";
  display: inline-block;
  width: 100%;
}

/* Hover эффекты */
.logo-wrapper:hover .logo-brand {
  color: #74b652;
  transition: color 0.3s ease;
}

.logo-wrapper:hover .logo-accent {
  color: #1a2e25;
}

/* Анимация при загрузке */
@keyframes logoFadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* Версия для темного фона */
.logo-wrapper.logo-dark .logo-brand {
  color: #fff;
}

.logo-wrapper.logo-dark .logo-tagline {
  color: rgba(255, 255, 255, 0.7);
}

/* Версия с иконкой */
.logo-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

/* Альтернативный слоган - более заметный */
.logo-tagline-promo {
  font-size: 12px;
  color: #74b652;
  font-weight: 600;
  background: rgba(116, 182, 82, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logo-tagline-promo::before {
  content: '★';
  font-size: 10px;
}

/* Desktop Navigation */
.nav-desktop {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 24px);
  /* Адаптивный отступ между ссылками */
  margin: 0 auto;
}

.nav-desktop a {
  position: relative;
  font-size: 15px;
  /* Чуть уменьшили размер, чтобы всё влезало */
  font-weight: 500;
  padding: 8px 0;
  white-space: nowrap;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-desktop a:hover::after {
  width: 100%;
}

.nav-desktop a:hover {
  color: var(--primary);
}

/* Phone Button */
.phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.3);
  transition: var(--transition);
  margin-left: auto;
  white-space: nowrap;
}

.phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(116, 182, 82, 0.4);
  background: var(--primary-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* 5. MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100%;
  background: var(--dark);
  padding: 80px 24px 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active .mobile-menu-panel {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 8px;
}

/* 6. HERO SECTION
   ============================================ */
.hero {
  background: url("../img/bg1/bg_main.jpg") center center / cover no-repeat;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Версия для компьютеров: градиент идёт слева направо (фотография справа) */
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 0;
}

@media (max-width: 767px) {
  .hero {
    min-height: calc(100dvh - 70px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
  }

  .hero::after {
    /* Версия для телефонов: градиент стал прозрачнее и воздушнее */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.hero .container {
  min-height: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(116, 182, 82, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  /* max-width убираем, ширину теперь диктует колонка */
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--dark);
}



.hero-title span {
  color: var(--primary);
}

.hero-title span.hero-time-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(116, 182, 82, 0.12);
  /* Лёгкий зелёный фон */
  color: var(--primary-dark);
  padding: 4px 14px;
  border-radius: 40px;
  font-size: 0.55em;
  /* Делаем текст значительно меньше основного H1 */
  font-weight: 700;
  vertical-align: middle;
  transform: translateY(-4px);
  /* Поднимаем чуть-чуть для идеальной центровки по базовой линии */
  border: 1px solid rgba(116, 182, 82, 0.25);
  /* Нежная обводка */
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.08);
  /* Мягкое свечение */
  letter-spacing: 0.5px;
  white-space: nowrap;
  /* Чтобы бейдж не разрывался на телефоне */
}

@media (max-width: 767px) {
  .hero-title span.hero-time-badge {
    font-size: 0.6em;
    /* На мобильных он чуть крупнее относительно уменьшенного заголовка */
    padding: 3px 10px;
    margin-top: 8px;
    /* На ультра-узких экранах, если съедет вниз, будет иметь отступ */
  }
}

@media (max-width: 767px) {
  .hero-title {
    font-size: 28px;
  }

  .hero-title br {
    display: none;
    /* Убираем жесткий перенос строки на мобильных, чтобы текст плавно обтекал на новую строку без пустот */
  }
}

.hero-subtitle {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 20px;
}

.hero-floating-saving {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  margin-top: 6px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  animation: floatWidget 4s ease-in-out infinite;
  transform: translateZ(0);
}

@keyframes floatWidget {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.saving-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #74b652 0%, #4f9f65 100%);
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.3);
}

.saving-text {
  display: flex;
  flex-direction: column;
}

.saving-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.1;
  background: linear-gradient(135deg, #1a2e25 0%, #74b652 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.saving-label {
  font-size: 12px;
  color: #5c5c5c;
  line-height: 1.1;
  font-weight: 600;
  margin-top: 2px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 0 0 32px;
  max-width: 640px;
}

.hero-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.hero-benefit-icon {
  font-size: 24px;
  line-height: 1;
  margin-top: 2px;
}

.hero-benefit-title {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 700;
  color: #202020;
}

.hero-benefit-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #505050;
}

.hero-cta-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 16px;
  max-width: 640px;
}

.hero-cta-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 12px;
  padding: 18px 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, #235036 0%, #3a8a56 100%);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(58, 138, 86, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.hero-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: sweep 4s infinite linear;
}

@keyframes sweep {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1d432d 0%, #307548 100%);
  box-shadow: 0 14px 34px rgba(48, 117, 72, 0.45);
}

.hero-cta-note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #4a4a4a;
  font-weight: 500;
  padding: 0 4px;
}

.hero-cta-note strong {
  font-weight: 700;
  color: #1a1a1a;
}

/* Оптимизация для планшетов (iPad Air и т.д.) */
@media (max-width: 1024px) {
  .hero-cta-btn {
    padding: 14px 16px;
    font-size: 13px;
    gap: 8px;
  }

  .hero-cta-note {
    font-size: 11px;
    padding: 0 4px;
  }
}

/* Центрируем элементы первого экрана ТОЛЬКО на мобильных устройствах */
@media (max-width: 767px) {
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-benefits,
  .hero-cta-row {
    width: 100%;
    grid-template-columns: 1fr;
    /* Ставим в 1 колонку на мобильных */
  }

  .hero-benefit-card {
    text-align: left;
    /* Возвращаем левое выравнивание тексту внутри карточек */
    padding: 12px 16px;
  }

  .hero-cta-btn {
    padding: 16px 24px;
    font-size: 15px;
    /* Возвращаем уверенный размер кнопки, раз она одна в строке */
  }

  .hero-cta-note {
    font-size: 13px;
    text-align: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 16px;
    border-radius: 12px;
    margin: 0 auto;
    display: inline-block;
  }

  .mobile-break {
    display: block;
  }
}

@media (min-width: 1025px) {
  :root {
    --layout-max: 1020px;
    --layout-gutter: 16px;
  }

  .header-inner {
    gap: 24px;
  }

  .nav-desktop {
    gap: 28px;
  }

  .hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 35px 0;
    /* Воздух уменьшен для более плотной компоновки */
  }

  .hero .container {
    width: 100%;
    grid-template-columns: 68% 32%;
    /* Отдали левой колонке еще больше места по просьбе (было 62%) */
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
    /* Убрал жесткое ограничение, чтобы контент тянулся на все 68% */
    padding-right: 0;
  }

  .hero-title {
    font-size: 36px;
    /* Утончённый и компактный вариант, как просили */
  }

  .hero-benefits {
    max-width: 100%;
    /* Свободно тянется */
  }

  .hero-cta-row {
    max-width: 100%;
    /* Свободно тянется на всю колонку */
  }

  .hero-benefit-card {
    padding: 18px 20px;
    gap: 14px;
  }

  .hero-benefit-title {
    font-size: 17px;
  }

  .hero-benefit-text {
    font-size: 14px;
  }

  .hero-cta-btn {
    font-size: 15px;
    padding: 16px 38px;
    /* Вытянутая премиальная кнопка */
    letter-spacing: 0.5px;
  }

  .hero-cta-note {
    font-size: 13px;
  }


  .cards-grid {
    gap: 20px;
  }
}

/* TRUST BAR
   ============================================ */
.trust-bar {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 30px 0;
  position: relative;
  z-index: 10;
}

.trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.trust-icon {
  font-size: 28px;
  line-height: 1;
}

.trust-content {
  display: flex;
  flex-direction: column;
}

.trust-content strong {
  font-size: 18px;
  font-weight: 700;
  color: #1a2e25;
  line-height: 1.2;
}

.trust-content span {
  font-size: 14px;
  color: #666;
  line-height: 1.3;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .trust-bar__grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }

  .trust-item {
    padding: 10px 0;
  }

  .trust-item:first-child {
    padding-left: 0;
  }

  .trust-item:last-child {
    padding-right: 0;
  }
}

@media (max-width: 767px) {
  .trust-bar {
    padding: 24px 0;
  }

  .trust-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 12px;
  }

  .trust-item {
    padding: 0;
    flex-direction: column;
    /* Ставим иконку НАД текстом */
    text-align: center;
    gap: 6px;
    align-items: center;
  }

  .trust-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-bottom: 2px;
  }

  .trust-content {
    align-items: center;
  }

  .trust-content strong {
    font-size: 14px;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .trust-content span {
    font-size: 11px;
  }
}

/* 7. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.3);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(116, 182, 82, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* 8. CARDS (CATEGORIES)
   ============================================ */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-image {
  transform: scale(1.1);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, transparent 100%);
  transition: var(--transition);
}

.card:hover .card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(116, 182, 82, 0.3) 40%, transparent 100%);
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  /* Центрируем всё */
  text-align: center;
  /* Текст заголовка в центре */
  height: 100%;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.card:hover .card-title {
  transform: translateY(0);
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  margin-top: 4px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(116, 182, 82, 0.3);
  align-self: center;
  /* Кнопка по центру */
}

.card-btn::after {
  content: '→';
  font-size: 18px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.card:hover .card-btn {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(116, 182, 82, 0.4);
}

.card:hover .card-btn::after {
  transform: translateX(4px);
}

/* ABOUT SECTION DARK
   ============================================ */
.about-section-dark {
  background: linear-gradient(165deg, #1f2f24 0%, #16251c 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 80px 60px;
  margin: 0 auto;
  max-width: 1200px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: #eef5ed;
  margin-bottom: 20px;
  line-height: 1.25;
  font-weight: 700;
}

.about-title span {
  color: #74b652;
}

.about-desc {
  color: #d8e7d4;
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 500px;
}

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

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.08);
}

.about-icon {
  font-size: 26px;
  flex-shrink: 0;
  line-height: 1;
}

.about-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-feature-text strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.about-feature-text span {
  color: #b8d4ae;
  font-size: 14px;
}

.about-photo {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-photo:hover {
  transform: rotate(0deg) scale(1.02);
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* АДАПТИВ */
@media (max-width: 992px) {
  .about-section-dark {
    padding: 50px 30px;
    margin: 0 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .about-section-dark {
    padding: 40px 20px;
    border-radius: 20px;
  }

  .about-feature {
    padding: 16px;
  }

  .about-icon {
    font-size: 24px;
  }
}

/* GALLERY SECTION - СВЕТЛО-ЗЕЛЁНЫЙ ФОН #f0f5f2 */
.gallery-section-rest {
  background: #f0f5f2;
  padding: 100px 0;
  position: relative;
}

.gallery-section-rest::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 182, 82, 0.2), transparent);
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-title {
  font-size: clamp(32px, 4vw, 42px);
  color: #1a2e25;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.gallery-title span {
  color: #74b652;
}

.gallery-subtitle {
  font-size: 18px;
  color: #5c5c5c;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 20px;
}

/* Gallery Items */
.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(26, 46, 37, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: #fff;
  height: 100%;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 46, 37, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Special sizes */
.gallery-item-featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item-wide {
  grid-column: span 2;
}

/* Caption */
.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(to top,
      rgba(26, 46, 37, 0.9) 0%,
      rgba(26, 46, 37, 0.5) 50%,
      transparent 100%);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-caption-title {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.gallery-caption-location {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
}

/* Footer */
.gallery-footer {
  text-align: center;
  margin-top: 50px;
}

.gallery-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(116, 182, 82, 0.3);
}

.gallery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(116, 182, 82, 0.4);
}

.gallery-btn-icon {
  width: 20px;
  height: 20px;
}

.gallery-btn-arrow {
  transition: transform 0.3s ease;
}

.gallery-btn:hover .gallery-btn-arrow {
  transform: translateX(4px);
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }

  .gallery-item-featured {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 767px) {
  .gallery-section-rest {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }

  .gallery-item-featured {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item-wide {
    grid-column: span 2;
  }

  .gallery-caption {
    opacity: 1;
    transform: none;
    padding: 30px 12px 12px;
  }

  .gallery-caption-title {
    font-size: 14px;
  }

  .gallery-caption-location {
    font-size: 12px;
  }

  .gallery-btn {
    padding: 16px 24px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-auto-rows: 160px;
  }

  .gallery-title {
    font-size: 26px;
  }

  .gallery-subtitle {
    font-size: 15px;
  }
}

/* REVIEWS SECTION - Белый фон */
.reviews-section {
  background: #ffffff;
  padding: 100px 0;
  position: relative;
}

.reviews-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
}

/* Header */
.reviews-header {
  text-align: center;
  margin-bottom: 60px;
}

.reviews-title {
  font-size: clamp(32px, 4vw, 42px);
  color: #1a2e25;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.2;
}

.reviews-title span {
  color: #74b652;
}

.reviews-subtitle {
  font-size: 18px;
  color: #5c5c5c;
  max-width: 500px;
  margin: 0 auto;
}

/* Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

/* Review Card */
.review-card {
  background: #f8faf9;
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(26, 46, 37, 0.1);
  border-color: rgba(116, 182, 82, 0.2);
}

/* Review Card Video Variant */
.video-review {
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.review-video-preview {
  position: relative;
  display: block;
  aspect-ratio: 9/16;
  overflow: hidden;
  background: #000;
}

.review-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.3s ease;
  opacity: 0.9;
}

.video-review:hover .review-thumb {
  transform: scale(1.05);
  opacity: 0.7;
}

/* Play Button Overlay */
.play-btn-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(116, 182, 82, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 10px 25px rgba(116, 182, 82, 0.3);
  animation: pulse-play 2.5s infinite;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes pulse-play {
  0% {
    box-shadow: 0 0 0 0 rgba(116, 182, 82, 0.5);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(116, 182, 82, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(116, 182, 82, 0);
  }
}

.play-btn-overlay svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

/* Badge Tag */
.review-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #E1306C;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Review Body & Info */
.review-body {
  padding: 16px 20px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 60px;
}

.review-stars-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.review-stars {
  color: #ffc107;
  font-size: 15px;
  letter-spacing: 1px;
  line-height: 1;
  display: flex;
  align-items: center;
  margin: 0;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  margin: 0;
}

.author-meta strong {
  color: #1a2e25;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.verified-check {
  color: #3897f0;
  font-size: 14px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
}



/* Footer */
.reviews-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.reviews-trust {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-number {
  display: block;
  font-size: 36px;
  font-weight: 800;
  color: #74b652;
  line-height: 1;
  margin-bottom: 6px;
  font-family: 'NEXT ART', sans-serif;
}

.trust-label {
  color: #5c5c5c;
  font-size: 14px;
}

/* Button */
.reviews-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: #1a2e25;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid #1a2e25;
  transition: all 0.3s ease;
}

.reviews-btn:hover {
  background: #1a2e25;
  color: #fff;
  transform: translateY(-2px);
}

.reviews-btn svg {
  transition: transform 0.3s ease;
}

.reviews-btn:hover svg {
  transform: translateX(4px);
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .reviews-title {
    font-size: 34px;
    text-align: center;
  }

  .reviews-subtitle {
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
  }

  .reviews-trust {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .reviews-section {
    padding: 60px 0;
  }

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

  .review-body {
    padding: 15px;
  }

  .reviews-trust {
    gap: 20px;
    justify-content: center;
  }

  .trust-number {
    font-size: 28px;
  }

  .trust-label {
    font-size: 12px;
  }

  .reviews-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto 40px;
  }

  .reviews-title {
    font-size: 28px;
  }

  .trust-item {
    flex: 1;
    min-width: 80px;
  }
}

/* PROCESS SECTION - Тёмный фон */
.process-section {
  background: linear-gradient(165deg, #1a2e25 0%, #0f1f17 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(116, 182, 82, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(116, 182, 82, 0.03) 0%, transparent 40%);
  pointer-events: none;
}

/* Header */
.process-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.process-title {
  font-size: clamp(32px, 4vw, 42px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.process-title span {
  color: #74b652;
}

.process-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.process-subtitle strong {
  color: #74b652;
  font-weight: 600;
}

/* Timeline Container */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.timeline-line {
  position: absolute;
  top: 40px;
  left: 40px;
  right: 40px;
  height: 4px;
  background: linear-gradient(90deg,
      rgba(116, 182, 82, 0.3) 0%,
      rgba(116, 182, 82, 0.8) 50%,
      rgba(116, 182, 82, 0.3) 100%);
  border-radius: 2px;
  z-index: 0;
}

/* Steps Grid */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

/* Step Card */
.process-step {
  text-align: center;
  position: relative;
}

.step-marker {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-number {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #1a2e25;
  z-index: 2;
}

.step-icon {
  width: 64px;
  height: 64px;
  background: #1a2e25;
  /* Сплошной фон, чтобы перекрыть линию */
  border: 2px solid rgba(116, 182, 82, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #74b652;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  /* Выше линии */
}

.step-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.process-step:hover .step-icon {
  background: #235036;
  /* Темно-зеленый сплошной при наведении */
  border-color: #74b652;
  transform: scale(1.1);
}

.step-content {
  padding: 0 10px;
}

.step-title {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.step-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.step-meta {
  margin-top: 12px;
}

.step-time {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 500;
}

.step-time.accent {
  background: rgba(116, 182, 82, 0.2);
  color: #74b652;
}

/* CTA */
.process-cta {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.process-cta-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin-bottom: 20px;
}

.process-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(116, 182, 82, 0.3);
}

.process-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(116, 182, 82, 0.4);
}

.process-btn svg {
  transition: transform 0.3s ease;
}

.process-btn:hover svg {
  transform: translateX(4px);
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .process-step {
    grid-column: auto;
  }

  .timeline-line {
    display: block;
    top: 40px;
    left: 20px;
    right: 20px;
  }
}

@media (max-width: 767px) {
  .timeline-line {
    display: none;
  }

  .process-section {
    padding: 60px 0;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
  }

  /* Центрируем 5-й шаг в 3-м ряду */
  .process-step:nth-child(5) {
    grid-column: span 2;
    max-width: 300px;
    margin: 0 auto;
  }

  .step-marker {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .step-icon {
    width: 56px;
    height: 56px;
    background: #1a2e25;
    border: 2px solid rgba(116, 182, 82, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #74b652;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }

  .step-number {
    width: 24px;
    height: 24px;
    font-size: 11px;
    border-width: 2px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-desc {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .process-section {
    padding: 70px 0;
    background: #0d1a14;
  }

  .process-title {
    font-size: 28px;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 12px;
    font-weight: 800;
  }

  .process-title span {
    display: block;
    color: #74b652;
    margin-top: 6px;
    text-shadow: 0 0 20px rgba(116, 182, 82, 0.3);
  }

  .process-subtitle {
    font-size: 15px;
    text-align: center;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.6);
  }

  .process-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    padding: 0 10px;
  }

  /* Сброс колонок и отступов для мобилок, чтобы шаги не съезжали */
  .process-step:nth-child(4),
  .process-step:nth-child(5) {
    grid-column: auto !important;
    margin: 0 !important;
    max-width: 100% !important;
  }

  .process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 38px;
    /* Центр иконки (56px/2 + 10px padding) */
    bottom: 30px;
    width: 1px;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(116, 182, 82, 0.4) 15%,
        rgba(116, 182, 82, 0.4) 85%,
        transparent 100%);
    box-shadow: 0 0 10px rgba(116, 182, 82, 0.2);
    z-index: 0;
  }

  .process-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 24px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
    text-align: left;
  }

  .step-marker {
    width: 56px;
    height: 56px;
    margin: 0;
    flex-shrink: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .step-icon {
    width: 56px;
    height: 56px;
    background: #1a2e25;
    border: 2px solid rgba(116, 182, 82, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #74b652;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }


  .step-number {
    width: 20px;
    height: 20px;
    font-size: 9px;
    top: -4px;
    right: -4px;
    border: 2px solid #0d1a14;
    background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  }

  .step-content {
    padding-top: 4px;
  }

  .step-title {
    font-size: 20px;
    margin-bottom: 8px;
    font-weight: 700;
    color: #fff;
  }

  .step-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.65);
  }

  .step-time {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 6px 14px;
    font-size: 11px;
    border-radius: 50px;
    border: 1px solid rgba(116, 182, 82, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
  }

  .process-btn {
    width: 100%;
    max-width: 100%;
    margin-top: 25px;
    padding: 18px;
    justify-content: center;
    font-size: 15px;
    border-radius: 12px;
  }
}

/* CALCULATOR SECTION - Светло-зелёный фон #f0f5f2 */
.calculator-section {
  background: #f0f5f2;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.calculator-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 182, 82, 0.3), transparent);
}

.calculator-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(116, 182, 82, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.calculator-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Левая колонка */
.calculator-content {
  position: relative;
}

.calculator-title {
  font-size: 40px;
  color: #1a2e25;
  line-height: 1.2;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.calculator-title span {
  color: #74b652;
  position: relative;
  display: inline-block;
}

.calculator-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(116, 182, 82, 0.1);
  z-index: -1;
  border-radius: 2px;
}

.calculator-subtitle {
  font-size: 19px;
  color: #5c5c5c;
  margin-bottom: 40px;
  line-height: 1.5;
  max-width: 540px;
}

/* Шаги */
.calc-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.calc-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(26, 46, 37, 0.04);
  border: 1px solid rgba(116, 182, 82, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.calc-step:hover {
  transform: translateX(8px);
  box-shadow: 0 10px 30px rgba(26, 46, 37, 0.08);
  border-color: rgba(116, 182, 82, 0.3);
}

.calc-step-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #74b652 0%, #3a8a56 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.2);
}

.calc-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-step-text strong {
  color: #1a2e25;
  font-size: 17px;
  font-weight: 700;
}

.calc-step-text span {
  color: #666;
  font-size: 14px;
}

/* Кнопки */
.calc-buttons {
  display: flex;
  gap: 16px;
  max-width: 600px;
  /* Ограничим общую ширину ряда для красоты на широких экранах */
}

.calc-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 24px;
  border-radius: 14px;
  white-space: nowrap;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
}

.calc-btn-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.calc-btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.calc-btn-whatsapp:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.calc-btn-phone {
  background: #fff;
  color: #1a2e25;
  border: 2px solid #1a2e25;
}

.calc-btn-phone:hover {
  background: #1a2e25;
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(26, 46, 37, 0.1);
}

/* Правая колонка - Визуал */
.calculator-visual {
  position: relative;
}

.calc-image-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(26, 46, 37, 0.2);
  transform: rotate(2deg);
  transition: transform 0.4s ease;
}

.calc-image-wrapper:hover {
  transform: rotate(0deg) scale(1.02);
}

.calc-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.calc-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.calc-badge-icon {
  font-size: 28px;
}

.calc-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.calc-badge-text strong {
  color: #1a2e25;
  font-size: 15px;
  font-weight: 700;
}

.calc-badge-text span {
  color: #5c5c5c;
  font-size: 13px;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .calculator-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .calculator-title {
    font-size: 34px;
  }

  .calculator-subtitle {
    margin: 0 auto 30px;
    max-width: 600px;
  }

  .calculator-visual {
    max-width: 600px;
    margin: 0 auto;
    order: -1;
  }

  .calc-image-wrapper {
    transform: none;
    border-radius: 20px;
  }

  .calc-steps {
    max-width: 600px;
    margin: 0 auto 40px;
    text-align: left;
  }

  .calc-buttons {
    justify-content: center;
    margin: 0 auto;
    max-width: 600px;
  }

  .calc-examples-title {
    text-align: center;
  }

  .calc-examples-grid {
    max-width: 700px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .calculator-section {
    padding: 60px 0;
  }

  .calc-examples-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
  }

  .calc-buttons {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
  }

  .calc-btn {
    width: 100%;
    justify-content: center;
  }

  .calc-step {
    padding: 18px;
  }

  .calc-badge {
    padding: 12px 16px;
    bottom: 16px;
    left: 16px;
    right: 16px;
  }
}

@media (max-width: 480px) {
  .calculator-section {
    padding: 60px 0;
  }

  .calculator-title {
    font-size: 28px;
    line-height: 1.3;
    text-align: center;
  }

  .calculator-subtitle {
    font-size: 15px;
    text-align: center;
    margin-bottom: 30px;
  }

  .calc-steps {
    gap: 12px;
  }

  .calc-step {
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(116, 182, 82, 0.1);
  }

  .calc-step-num {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .calc-step-text strong {
    font-size: 15px;
  }

  .calc-step-text span {
    font-size: 13px;
  }

  .calc-examples-title {
    text-align: center;
    font-size: 13px;
    margin: 30px 0 15px;
  }

  .calc-examples-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .calc-example-card {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px dashed rgba(116, 182, 82, 0.3);
    box-shadow: none;
  }

  .calc-example-icon {
    font-size: 24px;
  }

  .calc-example-info strong {
    font-size: 14px;
  }

  .calc-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
  }

  .calc-btn {
    width: 100%;
    justify-content: center;
    padding: 16px;
    border-radius: 14px;
    font-size: 15px;
  }

  .calculator-visual {
    margin-bottom: 40px;
  }

  .calc-image-wrapper {
    transform: none;
    border-radius: 20px;
  }

  .calc-badge {
    padding: 10px 15px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  .calc-badge-icon {
    font-size: 22px;
  }

  .calc-badge-text strong {
    font-size: 14px;
  }

  .calc-badge-text span {
    font-size: 12px;
  }
}

/* MEASUREMENT SECTION - Тёмный финальный CTA */
.measurement-section {
  background: linear-gradient(165deg, #1a2e25 0%, #0f1f17 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.measurement-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(116, 182, 82, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(116, 182, 82, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.measurement-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Левая колонка */
.measurement-header {
  margin-bottom: 40px;
}

.measurement-title {
  font-size: 40px;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  font-weight: 700;
}

.measurement-title span {
  color: #74b652;
}

.measurement-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  max-width: 480px;
}

/* Бенефиты */
.measurement-benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.measurement-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.measurement-benefit:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
  border-color: rgba(116, 182, 82, 0.3);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  background: rgba(116, 182, 82, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #74b652;
}

.benefit-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.benefit-text strong {
  color: #fff;
  font-size: 17px;
  font-weight: 600;
}

.benefit-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Правая колонка - Форма */
.measurement-form-wrapper {
  position: relative;
}

.measurement-form-card {
  background: #fff;
  border-radius: 28px;
  padding: 48px 40px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
  margin-bottom: 32px;
  text-align: center;
}

.form-header h3 {
  color: #1a2e25;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.form-header p {
  color: #5c5c5c;
  font-size: 16px;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* Выбор даты */
.date-selector {
  margin-bottom: 32px;
  text-align: center;
}

.date-label {
  color: #1a2e25;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  display: block;
}

.date-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.date-option {
  cursor: pointer;
}

.date-option input {
  display: none;
}

.date-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 14px 4px;
  background: #f4f8f6;
  border: 2px solid transparent;
  border-radius: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #1a2e25;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.2;
}

.date-option input:checked+span {
  background: #f0f7f2;
  border-color: #68a34d;
  color: #1a2e25;
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.15);
}

.date-option:hover span {
  background: #e8f0eb;
}

/* Форма */
.measurement-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.input-wrapper {
  position: relative;
}

.measurement-input {
  width: 100%;
  padding: 20px 24px;
  border: 2px solid #eef3f0;
  border-radius: 14px;
  font-size: 17px;
  color: #1a2e25;
  transition: all 0.3s ease;
  background: #fcfdfc;
}

.measurement-input:focus {
  outline: none;
  border-color: #68a34d;
  box-shadow: 0 0 0 4px rgba(104, 163, 77, 0.12);
  background: #fff;
}

.measurement-input::placeholder {
  color: #b0b0b0;
}

.measurement-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 22px;
  background: #68a34d;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(104, 163, 77, 0.35);
}

.measurement-submit:hover {
  transform: translateY(-3px);
  background: #5d9344;
  box-shadow: 0 15px 40px rgba(104, 163, 77, 0.45);
}

.measurement-submit svg {
  transition: transform 0.3s ease;
}

.measurement-submit:hover svg {
  transform: translateX(4px);
}

.form-note {
  margin-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.form-note span {
  font-size: 14px;
}

/* Фото замерщика */
.measurer-photo {
  position: absolute;
  bottom: -40px;
  left: -60px;
  width: 200px;
  z-index: 1;
  display: none;
  /* Показывается на десктопе через media query или убирается */
}

.measurer-photo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 4px solid #fff;
}

.measurer-badge {
  position: absolute;
  bottom: -10px;
  right: -20px;
  background: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 8px;
}

.measurer-badge span {
  font-size: 24px;
}

.measurer-badge strong {
  display: block;
  color: #1a2e25;
  font-size: 14px;
  font-weight: 600;
}

.measurer-badge small {
  color: #74b652;
  font-size: 13px;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .measurement-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .measurement-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Центрируем всё содержимое */
    margin-bottom: 30px;
  }

  .measurement-subtitle {
    margin: 0 auto;
    max-width: 600px;
  }

  .measurement-benefits {
    flex-direction: row;
    flex-wrap: wrap;
    /* Разрешаем перенос, если не влезает */
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
  }

  .measurement-benefit {
    flex: 1;
    min-width: 200px;
    /* Чтобы не сжимались слишком сильно */
    padding: 15px 20px;
    text-align: left;
  }

  .measurement-benefit strong {
    font-size: 15px;
  }

  .benefit-text span {
    font-size: 13px;
    line-height: 1.4;
  }

  .measurement-form-wrapper {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .measurement-section {
    padding: 60px 0;
    /* Убираем боковые 15px, полагаемся на .container */
    overflow: hidden;
  }

  .measurement-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    /* Центрируем контент и форму */
  }

  .measurement-content {
    width: 100%;
    max-width: 100%;
  }

  .measurement-title {
    font-size: 26px;
    line-height: 1.2;
    margin-bottom: 12px;
    width: 100%;
  }

  .measurement-subtitle {
    margin: 0 auto 20px;
    max-width: 100% !important;
    /* Убираем лимит, чтобы не тянуло влево */
    font-size: 15px;
  }

  .measurement-benefits {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .measurement-benefit {
    width: 100%;
    min-width: 0;
    padding: 16px;
    /* Одинаковые отступы внутри */
    transform: none !important;
    box-sizing: border-box;
  }

  .measurement-form-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .measurement-form-card {
    padding: 30px 15px;
    /* Уменьшаем внутренние поля, чтобы влезло */
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
  }

  .form-header h3 {
    font-size: 18px;
  }

  .date-options {
    display: flex;
    /* Переключаем с grid на flex */
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .date-option {
    width: 100%;
    padding: 0;
  }

  .date-option span {
    width: 100%;
    padding: 14px;
    font-size: 14px;
  }

  .measurer-photo {
    display: none;
  }
}

@media (max-width: 480px) {
  .measurement-title {
    font-size: 26px;
  }

  .measurement-subtitle {
    font-size: 15px;
  }

  .measurement-benefit {
    padding: 14px 18px;
    gap: 12px;
  }

  .benefit-icon {
    font-size: 24px;
  }

  .benefit-text strong {
    font-size: 15px;
  }

  .benefit-text span {
    font-size: 13px;
  }

  .measurement-input {
    padding: 16px;
    font-size: 15px;
  }

  .measurement-submit {
    padding: 16px;
    font-size: 16px;
  }
}

/* ABOUT UNIFIED SECTION - Тёмный блок "О нас" */
.about-unified-section {
  background: linear-gradient(165deg, #1a2e25 0%, #0f1f17 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-unified-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(116, 182, 82, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-unified-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Левая колонка - Текст */
.about-header {
  margin-bottom: 40px;
}

.about-title {
  font-size: clamp(28px, 3.5vw, 40px);
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  font-weight: 700;
}

.about-title span {
  background: linear-gradient(135deg, #74b652 0%, #4f9f65 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.6;
  max-width: 500px;
}

/* Факты (2x2 Grid) */
.about-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.about-fact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-fact:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-4px);
  border-color: rgba(116, 182, 82, 0.3);
  /* secondary green */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.about-fact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(116, 182, 82, 0.1);
  /* Soft primary green */
  border: 1px solid rgba(116, 182, 82, 0.2);
  flex-shrink: 0;
}

.about-fact-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about-fact-text strong {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.about-fact-text span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.4;
}

/* Сертификаты */
.about-certs {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-certs-title {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-certs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.about-cert-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(116, 182, 82, 0.1);
  border: 1px solid rgba(116, 182, 82, 0.2);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.about-cert-item:hover {
  background: rgba(116, 182, 82, 0.2);
  transform: translateY(-2px);
}

.about-cert-icon {
  font-size: 18px;
}

.about-cert-text {
  color: #d8e7d4;
  font-size: 13px;
  font-weight: 500;
}

/* Правая колонка - Фото */
.about-visual {
  position: sticky;
  top: 100px;
}

.about-photo-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.about-photo-main:hover {
  transform: rotate(0deg) scale(1.02);
}

.about-photo-main img {
  width: 100%;
  height: auto;
  display: block;
}

.about-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(26, 46, 37, 0.95);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(116, 182, 82, 0.2);
}

.about-photo-badge span {
  font-size: 28px;
}

.about-photo-badge strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

.about-photo-badge small {
  color: #74b652;
  font-size: 12px;
}

/* Миниатюры */
.about-photo-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.about-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.about-thumb:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.about-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-thumb:hover img {
  transform: scale(1.1);
}

.about-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 46, 37, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.about-thumb:hover .about-thumb-overlay {
  opacity: 1;
}

.about-thumb-overlay span {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px;
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .about-unified-section {
    padding: 60px 0;
  }

  .about-unified-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .about-header {
    text-align: center;
  }

  .about-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .about-visual {
    position: relative;
    top: 0;
    max-width: 600px;
    margin: 0 auto;
  }

  .about-photo-main {
    transform: rotate(-1deg);
  }
}

@media (max-width: 767px) {
  .about-facts {
    grid-template-columns: 1fr;
  }

  .about-fact {
    padding: 16px;
    flex-direction: row;
    align-items: flex-start;
    /* Icon on the left, text on the right */
    gap: 16px;
  }

  .about-fact-icon {
    width: 44px;
    height: 44px;
    background: transparent;
    border-color: rgba(116, 182, 82, 0.4);
  }

  .about-fact-icon svg {
    width: 22px;
    height: 22px;
  }

  .about-cert-item {
    padding: 8px 14px;
  }

  .about-photo-thumbs {
    gap: 8px;
  }

  .about-thumb-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(26, 46, 37, 0.9), transparent);
    align-items: flex-end;
    padding-bottom: 8px;
  }

  .about-thumb-overlay span {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 26px;
  }

  .about-subtitle {
    font-size: 15px;
  }

  .about-fact-text strong {
    font-size: 15px;
  }

  .about-photo-badge {
    padding: 10px 16px;
  }

  .about-photo-badge span {
    font-size: 24px;
  }
}

/* 9. SECTIONS
   ============================================ */
.section-title {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary);
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 18px;
  margin-bottom: 48px;
}

/* Dark Section */
.section-dark {
  background: linear-gradient(135deg, #1a1a1a 0%, #1f3d1a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.section-dark .section-title {
  color: var(--white);
}

/* 10. FORMS
   ============================================ */
.form-group {
  margin-bottom: 20px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-sm);
  font-size: 16px;
  transition: var(--transition);
  background: var(--white);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(116, 182, 82, 0.1);
}

.form-input::placeholder {
  color: #999;
}

/* 11. FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #1f3d1a 100%);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-link {
  display: block;
  padding: 8px 0;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--primary);
  padding-left: 8px;
}

.footer-contact {
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-contact span {
  font-weight: 600;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

/* 12. WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* 13. MEDIA QUERIES
   ============================================ */
/* Tablet */
@media (max-width: 1024px) {
  body {
    padding-top: 60px;
  }

  .header-inner {
    height: 60px;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .phone-btn {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 767px) {
  body {
    padding-top: 55px;
  }

  .header-inner {
    height: 55px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 40px 0;
  }

  .hero .container {
    min-height: auto;
    display: block;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-subtitle-row {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .hero-benefits {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-benefit-title {
    font-size: 16px;
  }

  .hero-benefit-text {
    font-size: 14px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-cta-btn {
    min-width: 0;
    width: 100%;
    min-height: 58px;
    font-size: 16px;
  }

  .hero-cta-note {
    font-size: 16px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    aspect-ratio: 16/10;
    border-radius: var(--radius-lg);
  }

  .card-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  }

  .card-title {
    font-size: 24px;
    margin-bottom: 12px;
  }

  .card-btn {
    padding: 12px 24px;
    font-size: 15px;
  }

  .section-title {
    font-size: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .mobile-menu-panel {
    width: 85%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle-row {
    font-size: 22px;
  }

  .hero-benefit-title {
    font-size: 18px;
  }

  .hero-benefit-text {
    font-size: 16px;
  }

  .hero-cta-btn {
    font-size: 16px;
  }

  .hero-cta-note {
    font-size: 16px;
  }

  .btn {
    width: 100%;
    padding: 12px 20px;
  }

  .card-content {
    padding: 20px;
  }

  .card-title {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .card-btn {
    width: 100%;
    /* На очень узких экранах кнопка на всю ширину выглядит солиднее */
    max-width: 200px;
    justify-content: center;
  }
}

/* FOOTER DEEP DARK - Очень тёмный фон #121f19 */
.footer-deep-dark {
  background: #121f19;
  padding: 100px 0;
  position: relative;
  border-top: 1px solid rgba(116, 182, 82, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* Логотип и описание */
.footer-col-brand {
  max-width: 320px;
}

.logo-wrapper.logo-dark .logo-brand {
  color: #fff;
}

.logo-wrapper.logo-dark .logo-tagline {
  color: rgba(255, 255, 255, 0.4);
}

.footer-col-brand .logo-wrapper {
  margin-bottom: 24px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Контакты */
.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.4;
}

.footer-contact-item .contact-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-contact-item a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: #74b652;
}

.footer-addr-br {
  display: none;
}

/* Заголовки колонок */
.footer-heading {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Ссылки */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-left: 0;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  color: #74b652;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #74b652;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Карта */
.footer-map-container {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(20%) contrast(1.1);
}

/* Соцсети */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.social-link:hover {
  transform: translateY(-4px);
  background: #74b652;
  border-color: #74b652;
  box-shadow: 0 8px 20px rgba(116, 182, 82, 0.3);
}

/* Нижняя часть */
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.footer-copyright a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-copyright a:hover {
  color: #74b652;
}

.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-payments span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.payment-icons {
  display: flex;
  gap: 8px;
}

.payment-icon {
  width: 40px;
  height: 26px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* АДАПТИВ */
@media (max-width: 1024px) {
  .footer-deep-dark {
    padding: 100px 0 160px;
    /* 100px верх/низ + 60px запас под плашку */
  }

  .footer-grid {
    grid-template-columns: 1.4fr 0.8fr 1.2fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
  }

  .footer-col-brand {
    max-width: 350px;
  }

  .footer-col-nav {
    flex-shrink: 0;
  }

  .footer-col-map {
    width: 100%;
    max-width: none;
  }

  .footer-contacts {
    align-items: flex-start;
  }

  .footer-contact-item {
    justify-content: flex-start;
  }

  .footer-socials {
    display: none;
  }
}

@media (max-width: 767px) {
  .footer-deep-dark {
    padding: 60px 0 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
  }

  .footer-col-brand {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
  }

  .footer-col-map {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contacts {
    align-items: center;
    width: 100%;
    margin: 0 auto;
    text-align: center;
  }

  .footer-contact-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .footer-contact-item .contact-icon {
    margin-top: 0;
  }

  .footer-addr-br {
    display: block;
  }

  .footer-desc {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: none;
  }

  .footer-heading {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
  }

  .footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: #74b652;
  }

  .footer-links {
    align-items: center;
  }

  .footer-links a:hover {
    padding-left: 0;
  }

  .footer-links a::before {
    display: none;
  }

  .social-links {
    justify-content: center;
    margin-top: 20px;
  }

  .footer-map-container {
    height: 300px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 24px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    font-size: 26px;
  }

  .footer-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  .footer-contact-item {
    font-size: 13px;
  }

  .footer-links a {
    font-size: 13px;
  }

  .footer-payments {
    flex-direction: column;
    gap: 15px;
  }
}

/* STICKY HEADER - От пользователя */
/* Базовые стили шапки */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: transparent;
}

/* Состояние при скролле - Glassmorphism */
.header.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

/* Для темной темы (если нужно) */
.header.scrolled-dark {
  background: rgba(26, 46, 37, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(116, 182, 82, 0.2);
}

/* Логотип уменьшается при скролле */
.header-logo {
  font-size: 28px;
  transition: all 0.3s ease;
}

.header.scrolled .header-logo {
  font-size: 24px;
}

/* Контейнер для телефона и CTA */
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Блок с телефоном */
.phone-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  white-space: nowrap;
}

.phone-label {
  font-size: 12px;
  color: #74b652;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Индикатор "онлайн" */
.phone-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #74b652;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.phone-link {
  font-size: 18px;
  font-weight: 700;
  color: #1a2e25;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-link:hover {
  color: #74b652;
}

/* Иконка телефона */
.phone-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}

/* Кнопка "Заказать звонок" */
.header-btn-callback {
  padding: 14px 24px;
  background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(116, 182, 82, 0.3);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.header-btn-callback:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(116, 182, 82, 0.4);
  background: linear-gradient(135deg, #5a9e3d 0%, #74b652 100%);
}

.header-btn-callback:active {
  transform: translateY(0);
}

/* Иконка в кнопке */
.btn-icon {
  width: 16px;
  height: 16px;
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
  .header-cta-group {
    gap: 12px;
  }

  .phone-label {
    display: none;
  }
}

@media (max-width: 767px) {
  .phone-link {
    font-size: 0;
    /* Скрываем сам номер на самых маленьких экранах */
    background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
    width: 44px;
    height: 44px;
    padding: 0;
    /* Убираем лишние отступы */
    gap: 0;
    /* Обнуляем отступ между текстом и иконкой для идеальной центровки */
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    box-shadow: 0 4px 15px rgba(116, 182, 82, 0.3);
  }

  .phone-link .phone-icon {
    width: 20px;
    height: 20px;
    stroke: #fff;
    /* Делаем иконку белой внутри зелёной кнопки */
  }
}

/* =========================================================================
   МОБИЛЬНАЯ ШАПКА V2 & DRAWER
   ========================================================================= */

/* Скрытие элементов в зависимости от устройства */
@media (min-width: 1025px) {

  .mobile-header-v2,
  .mobile-bottom-nav,
  .mobile-drawer,
  .fab-container {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .header {
    display: none !important;
  }
}

/* МОБИЛЬНАЯ ШАПКА v2 */
.mobile-header-v2 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  /* Пропускаем клики сквозь пустое пространство */
}

/* Верхняя плашка */
.mobile-header-top {
  pointer-events: auto;
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.75);
  /* Максимально прозрачно в самом верху (Glassmorphism) */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Для поддержки на iPhone/Mac */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  /* Легкая граница */
  box-shadow: none;
  /* Без тени изначально */
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  /* Плавное стекло */
}

.mobile-header-top.scrolled {
  background: rgba(255, 255, 255, 0.92);
  /* Уплотняется при скролле */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}

.mobile-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}



/* Кнопки действий */
.mobile-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-btn svg {
  width: 18px;
  height: 18px;
  stroke: #1a2e25;
}

.action-call {
  background: #74b652;
  /* Ярко-зелёный как на старом сайте */
}

.action-call svg {
  stroke: #ffffff;
  /* Белая трубка */
  fill: none;
}

.action-call:active {
  background: #5a9e3d;
  /* Чуть темнее при клике */
}

/* Гамбургер меню */
.action-menu {
  background: #74b652;
  /* Ярко-зелёный как у телефона */
}

.action-menu:active {
  background: #5a9e3d;
  /* Чуть темнее при клике */
}

.menu-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 18px;
}

.menu-lines span {
  display: block;
  height: 2px;
  background: #ffffff;
  /* Белые полоски */
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Анимация гамбургера в крестик */
.action-menu.active .menu-lines span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.action-menu.active .menu-lines span:nth-child(2) {
  opacity: 0;
}

.action-menu.active .menu-lines span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ВЫДВИЖНОЕ МЕНЮ (Drawer) */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.mobile-drawer.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.active .drawer-panel {
  transform: translateX(0);
}

/* Шапка меню */
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
}

.drawer-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a2e25;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: #f0f5f2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1a2e25;
  transition: background 0.2s;
}

.drawer-close:active {
  background: #e0e8e3;
}

.drawer-close svg {
  width: 20px;
  height: 20px;
}

/* Навигация */
.drawer-nav {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Центрируем ссылки если есть место */
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  margin-bottom: 6px;
  background: #f8faf9;
  border-radius: 12px;
  text-decoration: none;
  color: #1a2e25;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.drawer-link:active {
  transform: scale(0.98);
  background: #f0f5f2;
}

.drawer-link.active {
  border-color: #74b652;
  background: rgba(116, 182, 82, 0.1);
}

.link-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 10px;
  color: #74b652;
}

.link-icon svg {
  width: 24px;
  height: 24px;
}

.link-text {
  flex: 1;
}

.link-arrow {
  color: #74b652;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.2s;
}

.drawer-link:active .link-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* Контакты в меню */
.drawer-contacts {
  padding: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: #f8faf9;
}

.drawer-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.drawer-phone-icon {
  width: 40px;
  height: 40px;
  background: rgba(116, 182, 82, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.drawer-phone-info {
  display: flex;
  flex-direction: column;
}

.drawer-phone-label {
  font-size: 12px;
  color: #5c5c5c;
  margin-bottom: 2px;
}

.drawer-phone-number {
  font-size: 16px;
  font-weight: 700;
  color: #1a2e25;
}

.drawer-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.drawer-whatsapp:active {
  transform: scale(0.98);
  box-shadow: 0 2px 10px rgba(37, 211, 102, 0.2);
}

.wa-icon {
  font-size: 18px;
}

/* Время работы */
.drawer-hours {
  padding: 8px 16px;
  text-align: center;
  font-size: 13px;
  color: #888;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* НИЖНИЙ ТАБ-БАР */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  z-index: 999;
  padding-bottom: env(safe-area-inset-bottom);
  /* Для iPhone X+ */
}

.bottom-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  padding: 0 8px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  text-decoration: none;
  color: #888;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  border-radius: 12px;
}

.bottom-nav-item:active {
  background: rgba(116, 182, 82, 0.1);
  transform: scale(0.95);
}

.bottom-nav-item.active {
  color: #74b652;
}

.bottom-nav-item.active .nav-icon {
  transform: translateY(-2px);
}

.bottom-nav-item.social-wa {
  color: #25D366;
}

.bottom-nav-item.social-ig {
  color: #E1306C;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-bottom: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.nav-label {
  font-size: 10px;
  white-space: nowrap;
}

/* Центральная CTA-кнопка (теперь легкая и нативная) */
.bottom-nav-item.nav-cta {
  color: #74b652;
  background: transparent;
}

.bottom-nav-item.nav-cta:active {
  background: rgba(116, 182, 82, 0.1);
  transform: scale(0.95);
}

/* ПЛАВАЮЩИЕ КНОПКИ (FAB) */
.fab-container {
  position: fixed;
  bottom: 80px;
  /* Над таб-баром */
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
}

.fab-btn:active {
  transform: scale(0.95);
}

.fab-btn svg {
  width: 24px;
  height: 24px;
}

/* WhatsApp FAB */
.fab-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #fff;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6);
  }
}

/* Телефон FAB */
.fab-call {
  background: #fff;
  color: #74b652;
}

.fab-call svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

/* Подпись к FAB */
.fab-label {
  position: absolute;
  right: 64px;
  background: #1a2e25;
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.fab-btn:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* АНИМАЦИИ И СОСТОЯНИЯ */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Скрытие/показ шапки при скролле */
.header-hidden {
  transform: translateY(-100%);
}

.header-visible {
  transform: translateY(0);
}

/* Pull-to-refresh индикатор */
.ptr-indicator {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: #74b652;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: top 0.3s;
}

.ptr-indicator.visible {
  top: 20px;
}

/* Оверлей при открытом меню */
.menu-open-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-open-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Предотвращение скролла при открытом меню */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Safe area для iPhone X+ */
@supports (padding-top: env(safe-area-inset-top)) {
  .mobile-header-top {
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .mobile-bottom-nav {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* Dark mode поддержка отключена для шапки, чтобы она всегда имела премиальный светлый Glassmorphism эффект, гармонирующий с Hero-секцией */

/* Скрытие плавающих кнопок WhatsApp по просьбе (дублируется в меню) */
.fab-container,
.whatsapp-float,
.whatsapp-button {
  display: none !important;
}

/* Фикс размытой иконки WhatsApp (убираем лишний обвод) */
svg path[d*="M17.472"] {
  stroke: none !important;
  stroke-width: 0 !important;
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Модальное окно вызова замерщика */
.form-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.form-modal-overlay.active {
  display: flex;
}

.form-modal-container {
  background: #fff;
  padding: 40px;
  border-radius: 24px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  animation: measurerModalSlide 0.3s ease-out forwards;
}

@keyframes measurerModalSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

.form-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #999;
  cursor: pointer;
  transition: 0.2s;
}

.form-modal-close:hover {
  color: #333;
}

.form-modal-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a2e25;
  margin-bottom: 24px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-size: 16px;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
  transition: 0.2s;
}

.form-input:focus {
  border-color: #74b652;
  box-shadow: 0 0 0 3px rgba(116, 182, 82, 0.1);
}

.form-input.error {
  border-color: #e74c3c;
}

.form-error {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 6px;
  min-height: 18px;
  padding-left: 5px;
}

.form-submit-btn {
  width: 100%;
  padding: 18px;
  background: #74b652;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(116, 182, 82, 0.3);
}

.form-submit-btn:hover {
  background: #62a044;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(116, 182, 82, 0.4);
}

/* Premium Modal Redesign */
.premium-modal {
  padding: 36px 32px;
  max-width: 440px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  position: relative;
}

.premium-modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.premium-modal-icon {
  width: 56px;
  height: 56px;
  background: rgba(116, 182, 82, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.premium-modal-header h3 {
  font-size: 24px;
  font-weight: 800;
  color: #1a2e25;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.premium-modal-header p {
  font-size: 15px;
  color: #5c5c5c;
  line-height: 1.4;
  margin: 0 auto;
  max-width: 320px;
}

.premium-modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.premium-date-selector {
  margin-bottom: 4px;
}

.premium-date-label {
  font-size: 14px;
  font-weight: 700;
  color: #1a2e25;
  margin-bottom: 12px;
}

.premium-date-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.premium-date-option {
  cursor: pointer;
}

.premium-date-option input {
  display: none;
}

.premium-date-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 4px;
  background: #f8faf9;
  border: 1px solid #eef3f0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #5c5c5c;
  transition: all 0.2s ease;
  text-align: center;
}

.premium-date-option input:checked+span {
  background: #f0f7f2;
  border-color: #74b652;
  color: #1a2e25;
  box-shadow: 0 4px 12px rgba(116, 182, 82, 0.12);
}

.premium-date-option:hover span {
  background: #f0f5f2;
}

.premium-input-group {
  position: relative;
}

.premium-input-group label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a2e25;
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
}

.input-icon svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.premium-input {
  width: 100%;
  padding: 16px 16px 16px 48px;
  border: 1px solid #e0e8e3;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 500;
  color: #1a2e25;
  background: #f8faf9;
  transition: all 0.2s ease;
  outline: none;
}

.premium-input:focus {
  background: #fff;
  border-color: #74b652;
  box-shadow: 0 0 0 4px rgba(116, 182, 82, 0.1);
}

.premium-input::placeholder {
  color: #aebdb5;
}

.premium-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px;
  background: #74b652;
  color: #fff;
  border: none;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.premium-submit-btn:hover {
  background: #62a044;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(116, 182, 82, 0.3);
}

.premium-submit-btn svg {
  transition: transform 0.3s ease;
}

.premium-submit-btn:hover svg {
  transform: translateX(4px);
}

.premium-form-note {
  margin-top: 16px;
  font-size: 13px;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.premium-form-note svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.premium-modal .form-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f5f2;
  border-radius: 50%;
  border: none;
  color: #1a2e25;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.premium-modal .form-modal-close:hover {
  background: #e0e8e3;
  transform: rotate(90deg);
}

@media (max-width: 480px) {
  .premium-modal {
    padding: 32px 24px;
    border-radius: 20px;
    width: 95%;
  }
}

/* 20. STATUS PAGES (SPASIBO & 404)
   ============================================ */
.status-page {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  background: var(--primary-light);
  position: relative;
  overflow: hidden;
}

.status-page::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(116, 182, 82, 0.1) 0%, transparent 70%);
}

.status-card {
  max-width: 600px;
  width: 100%;
  background: var(--white);
  padding: 60px 40px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.status-icon-box {
  width: 100px;
  height: 100px;
  background: var(--primary-light);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: var(--primary);
  transform: rotate(-5deg);
}

.status-title {
  font-size: clamp(32px, 5vw, 42px);
  color: #1a2e25;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.status-text {
  font-size: 18px;
  color: var(--gray);
  margin-bottom: 40px;
  line-height: 1.6;
}

.status-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
}

.status-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #74b652 0%, #5a9e3d 100%);
  color: var(--white);
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(116, 182, 82, 0.3);
}

.status-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(116, 182, 82, 0.4);
}

.status-btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.status-btn-secondary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: none;
}

@media (max-width: 576px) {
  .status-card {
    padding: 40px 20px;
    margin: 0 15px;
  }
}

@media (max-width: 767px) {
  .status-page-thanks {
    min-height: auto;
    padding: 32px 0 110px;
  }

  .status-page-thanks .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .status-page-thanks .status-card {
    padding: 36px 22px;
    border-radius: 24px;
    margin: 0;
  }

  .status-page-thanks .status-icon-box {
    width: 84px;
    height: 84px;
    margin-bottom: 24px;
    border-radius: 24px;
  }

  .status-page-thanks .status-title {
    font-size: 30px;
    margin-bottom: 16px;
  }

  .status-page-thanks .status-text {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .status-page-thanks .status-actions {
    width: 100%;
  }

  .status-page-thanks .status-btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
  }
}

@media (max-width: 480px) {
  .status-page-thanks {
    padding-top: 24px;
  }

  .status-page-thanks .status-card {
    padding: 30px 18px;
  }

  .status-page-thanks .status-title {
    font-size: 26px;
  }

  .status-page-thanks .status-text {
    font-size: 15px;
    line-height: 1.55;
  }
}


/* ===== Extracted Inline CSS From HTML ===== */

/* source: detskaya-mebel-na-zakaz.html */
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1000px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            z-index: 10;
        }

        .modal-layout {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .modal-image-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            background: #f0f0f0;
            padding: 20px;
            position: relative;
        }

        #modal-main-img {
            max-height: 50vh;
            object-fit: contain;
            width: 100%;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-controls {
            position: absolute;
            top: 40%;
            width: 100%;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            box-sizing: border-box;
            pointer-events: none;
        }

        .modal-controls button {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-controls button:hover {
            background: #fff;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .modal-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .modal-thumbnails img.active,
        .modal-thumbnails img:hover {
            opacity: 1;
            border: 2px solid #74b652;
        }

        .modal-info-area {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #fff;
        }

        #modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .modal-desc-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            flex-grow: 1;
        }

        @media (max-width: 768px) {
            .modal-layout {
                flex-direction: column;
            }

            .modal-image-area {
                padding: 10px;
            }

            #modal-main-img {
                max-height: 40vh;
                margin-bottom: 10px;
            }

            .modal-info-area {
                padding: 20px;
            }
        }

/* source: detskaya-mebel-na-zakaz.html */
.cases-list {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 25px;
                        margin-top: 40px;
                    }

                    .case-card {
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                        border-radius: 16px;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
                        transition: all 0.3s ease;
                        height: 100%;
                    }

                    .case-card:hover {
                        transform: translateY(-8px);
                        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                    }

                    .case-image {
                        flex: 0 0 220px;
                        position: relative;
                        cursor: pointer;
                        overflow: hidden;
                    }

                    .case-image img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        transition: transform 0.6s ease;
                    }

                    .case-image:hover img {
                        transform: scale(1.1);
                    }

                    .case-image-overlay {
                        position: absolute;
                        inset: 0;
                        background: rgba(0, 0, 0, 0.05);
                        pointer-events: none;
                    }

                    .case-photo-count {
                        position: absolute;
                        bottom: 12px;
                        right: 12px;
                        background: rgba(255, 255, 255, 0.95);
                        padding: 6px 12px;
                        border-radius: 8px;
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        font-weight: 700;
                        color: #1a2e25;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                        font-size: 12px;
                        pointer-events: none;
                    }

                    .case-photo-count svg {
                        color: #74b652;
                    }

                    .case-info {
                        flex: 1;
                        padding: 25px;
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                    }

                    .case-title {
                        font-size: 20px;
                        font-weight: 700;
                        color: #1a2e25;
                        margin-bottom: 15px;
                        line-height: 1.2;
                    }

                    .case-desc {
                        font-size: 14px;
                        color: #555;
                        line-height: 1.5;
                        margin-bottom: 20px;
                        flex-grow: 1;
                    }

                    .case-wa-link {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        color: #555;
                        text-decoration: none;
                        font-size: 14px;
                        margin-bottom: 20px;
                        transition: 0.3s;
                        width: fit-content;
                    }

                    .case-wa-link:hover {
                        color: #74b652;
                    }

                    .case-wa-link svg {
                        color: #74b652;
                    }

                    .case-btn {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 14px 24px;
                        background: #f0f7ed;
                        color: #235036;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        border: 1px solid #e0efe6;
                        width: 100%;
                        box-sizing: border-box;
                    }

                    .case-btn:hover {
                        background: #74b652;
                        color: #fff;
                        box-shadow: 0 5px 15px rgba(116, 182, 82, 0.3);
                        border-color: transparent;
                    }

                    .case-btn-wa {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 16px 32px;
                        background: #25D366;
                        color: #fff !important;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
                        width: 100%;
                        margin-top: 20px;
                        font-size: 16px;
                    }

                    .case-btn-wa:hover {
                        background: #128C7E;
                        transform: translateY(-2px);
                        box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
                    }
                    @media (max-width: 1200px) {
                        .cases-list {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }

                    @media (max-width: 768px) {
                        .cases-list {
                            grid-template-columns: 1fr;
                            gap: 20px;
                        }

                        .case-image {
                            flex: 0 0 200px;
                        }

                        .case-info {
                            padding: 20px;
                        }
                    }

/* source: garderobnie-na-zakaz.html */
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1000px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            z-index: 10;
        }

        .modal-layout {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .modal-image-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            background: #f0f0f0;
            padding: 20px;
            position: relative;
        }

        #modal-main-img {
            max-height: 50vh;
            object-fit: contain;
            width: 100%;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-controls {
            position: absolute;
            top: 40%;
            width: 100%;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            box-sizing: border-box;
            pointer-events: none;
        }

        .modal-controls button {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-controls button:hover {
            background: #fff;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .modal-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .modal-thumbnails img.active,
        .modal-thumbnails img:hover {
            opacity: 1;
            border: 2px solid #74b652;
        }

        .modal-info-area {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #fff;
        }

        #modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .modal-desc-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            flex-grow: 1;
        }

        @media (max-width: 768px) {
            .modal-layout {
                flex-direction: column;
            }

            .modal-image-area {
                padding: 10px;
            }

            #modal-main-img {
                max-height: 40vh;
                margin-bottom: 10px;
            }

            .modal-info-area {
                padding: 20px;
            }
        }

/* source: garderobnie-na-zakaz.html */
.cases-list {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 25px;
                        margin-top: 40px;
                    }

                    .case-card {
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                        border-radius: 16px;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
                        transition: all 0.3s ease;
                        height: 100%;
                    }

                    .case-card:hover {
                        transform: translateY(-8px);
                        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                    }

                    .case-image {
                        flex: 0 0 220px;
                        position: relative;
                        cursor: pointer;
                        overflow: hidden;
                    }

                    .case-image img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        transition: transform 0.6s ease;
                    }

                    .case-image:hover img {
                        transform: scale(1.1);
                    }

                    .case-image-overlay {
                        position: absolute;
                        inset: 0;
                        background: rgba(0, 0, 0, 0.05);
                        pointer-events: none;
                    }

                    .case-photo-count {
                        position: absolute;
                        bottom: 12px;
                        right: 12px;
                        background: rgba(255, 255, 255, 0.95);
                        padding: 6px 12px;
                        border-radius: 8px;
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        font-weight: 700;
                        color: #1a2e25;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                        font-size: 12px;
                        pointer-events: none;
                    }

                    .case-photo-count svg {
                        color: #74b652;
                    }

                    .case-info {
                        flex: 1;
                        padding: 25px;
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                    }

                    .case-title {
                        font-size: 20px;
                        font-weight: 700;
                        color: #1a2e25;
                        margin-bottom: 15px;
                        line-height: 1.2;
                    }

                    .case-desc {
                        font-size: 14px;
                        color: #555;
                        line-height: 1.5;
                        margin-bottom: 20px;
                        flex-grow: 1;
                    }

                    .case-wa-link {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        color: #555;
                        text-decoration: none;
                        font-size: 14px;
                        margin-bottom: 20px;
                        transition: 0.3s;
                        width: fit-content;
                    }

                    .case-wa-link:hover {
                        color: #74b652;
                    }

                    .case-wa-link svg {
                        color: #74b652;
                    }

                    .case-btn {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 14px 24px;
                        background: #f0f7ed;
                        color: #235036;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        border: 1px solid #e0efe6;
                        width: 100%;
                        box-sizing: border-box;
                    }

                    .case-btn:hover {
                        background: #74b652;
                        color: #fff;
                        box-shadow: 0 5px 15px rgba(116, 182, 82, 0.3);
                        border-color: transparent;
                    }

                    .case-btn-wa {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 16px 32px;
                        background: #25D366;
                        color: #fff !important;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
                        width: 100%;
                        margin-top: 20px;
                        font-size: 16px;
                    }

                    .case-btn-wa:hover {
                        background: #128C7E;
                        transform: translateY(-2px);
                        box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
                    }
                    @media (max-width: 1200px) {
                        .cases-list {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }

                    @media (max-width: 768px) {
                        .cases-list {
                            grid-template-columns: 1fr;
                            gap: 20px;
                        }

                        .case-image {
                            flex: 0 0 200px;
                        }

                        .case-info {
                            padding: 20px;
                        }
                    }

/* source: gostinaya-mebel-na-zakaz.html */
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1000px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            z-index: 10;
        }

        .modal-layout {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .modal-image-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            background: #f0f0f0;
            padding: 20px;
            position: relative;
        }

        #modal-main-img {
            max-height: 50vh;
            object-fit: contain;
            width: 100%;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-controls {
            position: absolute;
            top: 40%;
            width: 100%;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            box-sizing: border-box;
            pointer-events: none;
        }

        .modal-controls button {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-controls button:hover {
            background: #fff;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .modal-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .modal-thumbnails img.active,
        .modal-thumbnails img:hover {
            opacity: 1;
            border: 2px solid #74b652;
        }

        .modal-info-area {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #fff;
        }

        #modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .modal-desc-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            flex-grow: 1;
        }

        @media (max-width: 768px) {
            .modal-layout {
                flex-direction: column;
            }

            .modal-image-area {
                padding: 10px;
            }

            #modal-main-img {
                max-height: 40vh;
                margin-bottom: 10px;
            }

            .modal-info-area {
                padding: 20px;
            }
        }

/* source: gostinaya-mebel-na-zakaz.html */
.cases-list {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 25px;
                        margin-top: 40px;
                    }

                    .case-card {
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                        border-radius: 16px;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
                        transition: all 0.3s ease;
                        height: 100%;
                    }

                    .case-card:hover {
                        transform: translateY(-8px);
                        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                    }

                    .case-image {
                        flex: 0 0 220px;
                        position: relative;
                        cursor: pointer;
                        overflow: hidden;
                    }

                    .case-image img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        transition: transform 0.6s ease;
                    }

                    .case-image:hover img {
                        transform: scale(1.1);
                    }

                    .case-image-overlay {
                        position: absolute;
                        inset: 0;
                        background: rgba(0, 0, 0, 0.05);
                        pointer-events: none;
                    }

                    .case-photo-count {
                        position: absolute;
                        bottom: 12px;
                        right: 12px;
                        background: rgba(255, 255, 255, 0.95);
                        padding: 6px 12px;
                        border-radius: 8px;
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        font-weight: 700;
                        color: #1a2e25;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                        font-size: 12px;
                        pointer-events: none;
                    }

                    .case-photo-count svg {
                        color: #74b652;
                    }

                    .case-info {
                        flex: 1;
                        padding: 25px;
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                    }

                    .case-title {
                        font-size: 20px;
                        font-weight: 700;
                        color: #1a2e25;
                        margin-bottom: 15px;
                        line-height: 1.2;
                    }

                    .case-desc {
                        font-size: 14px;
                        color: #555;
                        line-height: 1.5;
                        margin-bottom: 20px;
                        flex-grow: 1;
                    }

                    .case-wa-link {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        color: #555;
                        text-decoration: none;
                        font-size: 14px;
                        margin-bottom: 20px;
                        transition: 0.3s;
                        width: fit-content;
                    }

                    .case-wa-link:hover {
                        color: #74b652;
                    }

                    .case-wa-link svg {
                        color: #74b652;
                    }

                    .case-btn {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 14px 24px;
                        background: #f0f7ed;
                        color: #235036;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        border: 1px solid #e0efe6;
                        width: 100%;
                        box-sizing: border-box;
                    }

                    .case-btn:hover {
                        background: #74b652;
                        color: #fff;
                        box-shadow: 0 5px 15px rgba(116, 182, 82, 0.3);
                        border-color: transparent;
                    }

                    .case-btn-wa {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 16px 32px;
                        background: #25D366;
                        color: #fff !important;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
                        width: 100%;
                        margin-top: 20px;
                        font-size: 16px;
                    }

                    .case-btn-wa:hover {
                        background: #128C7E;
                        transform: translateY(-2px);
                        box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
                    }
                    @media (max-width: 1200px) {
                        .cases-list {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }

                    @media (max-width: 768px) {
                        .cases-list {
                            grid-template-columns: 1fr;
                            gap: 20px;
                        }

                        .case-image {
                            flex: 0 0 200px;
                        }

                        .case-info {
                            padding: 20px;
                        }
                    }

/* source: kuhni-na-zakaz.html */
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1000px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            z-index: 10;
        }

        .modal-layout {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .modal-image-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            background: #f0f0f0;
            padding: 20px;
            position: relative;
        }

        #modal-main-img {
            max-height: 50vh;
            object-fit: contain;
            width: 100%;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-controls {
            position: absolute;
            top: 40%;
            width: 100%;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            box-sizing: border-box;
            pointer-events: none;
        }

        .modal-controls button {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-controls button:hover {
            background: #fff;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .modal-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .modal-thumbnails img.active,
        .modal-thumbnails img:hover {
            opacity: 1;
            border: 2px solid #74b652;
        }

        .modal-info-area {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #fff;
        }

        #modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .modal-desc-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            flex-grow: 1;
        }

        @media (max-width: 768px) {
            .modal-layout {
                flex-direction: column;
            }

            .modal-image-area {
                padding: 10px;
            }

            #modal-main-img {
                max-height: 40vh;
                margin-bottom: 10px;
            }

            .modal-info-area {
                padding: 20px;
            }
        }

/* source: kuhni-na-zakaz.html */
.cases-list {
                            display: flex;
                            flex-direction: column;
                            gap: 60px;
                            margin-top: 40px;
                        }

                        .case-card {
                            display: flex;
                            flex-direction: row;
                            background: #fff;
                            border-radius: 24px;
                            overflow: hidden;
                            box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
                            transition: transform 0.3s;
                        }

                        .case-card:hover {
                            transform: translateY(-5px);
                            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
                        }

                        .case-card.reverse {
                            flex-direction: row-reverse;
                        }

                        .case-image {
                            flex: 1 1 55%;
                            position: relative;
                            cursor: pointer;
                            overflow: hidden;
                        }

                        .case-image img {
                            width: 100%;
                            height: 100%;
                            object-fit: cover;
                            min-height: 450px;
                            display: block;
                            transition: transform 0.6s ease;
                        }

                        .case-image:hover img {
                            transform: scale(1.05);
                        }

                        .case-image-overlay {
                            position: absolute;
                            inset: 0;
                            background: rgba(0, 0, 0, 0.05);
                            pointer-events: none;
                        }

                        .case-photo-count {
                            position: absolute;
                            bottom: 20px;
                            right: 20px;
                            background: rgba(255, 255, 255, 0.95);
                            padding: 10px 16px;
                            border-radius: 12px;
                            display: flex;
                            align-items: center;
                            gap: 8px;
                            font-weight: 700;
                            color: #1a2e25;
                            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
                            font-size: 14px;
                            pointer-events: none;
                        }

                        .case-photo-count svg {
                            color: #74b652;
                        }

                        .case-info {
                            flex: 1 1 45%;
                            padding: 50px;
                            display: flex;
                            flex-direction: column;
                            justify-content: center;
                            background: #fff;
                            z-index: 2;
                            border-left: 1px solid rgba(0, 0, 0, 0.03);
                        }

                        .case-card.reverse .case-info {
                            border-left: none;
                            border-right: 1px solid rgba(0, 0, 0, 0.03);
                        }

                        .case-title {
                            font-size: 32px;
                            font-weight: 800;
                            color: #1a2e25;
                            margin-bottom: 24px;
                            line-height: 1.2;
                        }

                        .case-desc {
                            font-size: 16px;
                            color: #555;
                            line-height: 1.6;
                            margin-bottom: 35px;
                        }

                        .case-btn {
                            display: inline-flex;
                            align-items: center;
                            justify-content: center;
                            gap: 10px;
                            padding: 16px 32px;
                            background: #f0f7ed;
                            color: #235036;
                            font-weight: 700;
                            border-radius: 50px;
                            text-decoration: none;
                            transition: 0.3s;
                            cursor: pointer;
                            border: 1px solid #e0efe6;
                            width: fit-content;
                        }

                        .case-btn:hover {
                            background: #74b652;
                            color: #fff;
                            box-shadow: 0 5px 15px rgba(116, 182, 82, 0.3);
                            border-color: transparent;
                        }

                        .case-btn-wa {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            gap: 10px;
                            padding: 16px 32px;
                            background: #25D366;
                            color: #fff !important;
                            font-weight: 700;
                            border-radius: 50px;
                            text-decoration: none;
                            transition: 0.3s;
                            cursor: pointer;
                            box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
                            width: 100%;
                            margin-top: 20px;
                            font-size: 16px;
                        }

                        .case-btn-wa:hover {
                            background: #128C7E;
                            transform: translateY(-2px);
                            box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
                        }

                        @media (max-width: 992px) {
                            .cases-list {
                                gap: 40px;
                            }

                            .case-card,
                            .case-card.reverse {
                                flex-direction: column;
                                border-radius: 16px;
                            }

                            .case-image {
                                flex: 1 1 auto;
                            }

                            .case-image img {
                                min-height: 300px;
                                height: 320px;
                            }

                            .case-info {
                                padding: 30px 20px;
                                border: none !important;
                                flex: 1 1 auto;
                            }

                            .case-title {
                                font-size: 26px;
                                margin-bottom: 20px;
                            }

                            .case-desc {
                                font-size: 15px;
                                margin-bottom: 25px;
                            }

                            .case-btn {
                                width: 100%;
                                box-sizing: border-box;
                            }
                        }

/* source: prihozhie-na-zakaz.html */
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1000px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            z-index: 10;
        }

        .modal-layout {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .modal-image-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            background: #f0f0f0;
            padding: 20px;
            position: relative;
        }

        #modal-main-img {
            max-height: 50vh;
            object-fit: contain;
            width: 100%;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-controls {
            position: absolute;
            top: 40%;
            width: 100%;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            box-sizing: border-box;
            pointer-events: none;
        }

        .modal-controls button {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-controls button:hover {
            background: #fff;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .modal-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .modal-thumbnails img.active,
        .modal-thumbnails img:hover {
            opacity: 1;
            border: 2px solid #74b652;
        }

        .modal-info-area {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #fff;
        }

        #modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .modal-desc-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            flex-grow: 1;
        }

        @media (max-width: 768px) {
            .modal-layout {
                flex-direction: column;
            }

            .modal-image-area {
                padding: 10px;
            }

            #modal-main-img {
                max-height: 40vh;
                margin-bottom: 10px;
            }

            .modal-info-area {
                padding: 20px;
            }
        }

/* source: prihozhie-na-zakaz.html */
.cases-list {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 25px;
                        margin-top: 40px;
                    }

                    .case-card {
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                        border-radius: 16px;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
                        transition: all 0.3s ease;
                        height: 100%;
                    }

                    .case-card:hover {
                        transform: translateY(-8px);
                        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                    }

                    .case-image {
                        flex: 0 0 220px;
                        position: relative;
                        cursor: pointer;
                        overflow: hidden;
                    }

                    .case-image img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        transition: transform 0.6s ease;
                    }

                    .case-image:hover img {
                        transform: scale(1.1);
                    }

                    .case-image-overlay {
                        position: absolute;
                        inset: 0;
                        background: rgba(0, 0, 0, 0.05);
                        pointer-events: none;
                    }

                    .case-photo-count {
                        position: absolute;
                        bottom: 12px;
                        right: 12px;
                        background: rgba(255, 255, 255, 0.95);
                        padding: 6px 12px;
                        border-radius: 8px;
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        font-weight: 700;
                        color: #1a2e25;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                        font-size: 12px;
                        pointer-events: none;
                    }

                    .case-photo-count svg {
                        color: #74b652;
                    }

                    .case-info {
                        flex: 1;
                        padding: 25px;
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                    }

                    .case-title {
                        font-size: 20px;
                        font-weight: 700;
                        color: #1a2e25;
                        margin-bottom: 15px;
                        line-height: 1.2;
                    }

                    .case-desc {
                        font-size: 14px;
                        color: #555;
                        line-height: 1.5;
                        margin-bottom: 20px;
                        flex-grow: 1;
                    }

                    .case-wa-link {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        color: #555;
                        text-decoration: none;
                        font-size: 14px;
                        margin-bottom: 20px;
                        transition: 0.3s;
                        width: fit-content;
                    }

                    .case-wa-link:hover {
                        color: #74b652;
                    }

                    .case-wa-link svg {
                        color: #74b652;
                    }

                    .case-btn {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 14px 24px;
                        background: #f0f7ed;
                        color: #235036;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        border: 1px solid #e0efe6;
                        width: 100%;
                        box-sizing: border-box;
                    }

                    .case-btn:hover {
                        background: #74b652;
                        color: #fff;
                        box-shadow: 0 5px 15px rgba(116, 182, 82, 0.3);
                        border-color: transparent;
                    }

                    .case-btn-wa {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 16px 32px;
                        background: #25D366;
                        color: #fff !important;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
                        width: 100%;
                        margin-top: 20px;
                        font-size: 16px;
                    }

                    .case-btn-wa:hover {
                        background: #128C7E;
                        transform: translateY(-2px);
                        box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
                    }
                    @media (max-width: 1200px) {
                        .cases-list {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }

                    @media (max-width: 768px) {
                        .cases-list {
                            grid-template-columns: 1fr;
                            gap: 20px;
                        }

                        .case-image {
                            flex: 0 0 200px;
                        }

                        .case-info {
                            padding: 20px;
                        }
                    }

/* source: shkafy-kupe-na-zakaz.html */
.modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-content {
            background: #fff;
            width: 100%;
            max-width: 1000px;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            max-height: 90vh;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 30px;
            background: none;
            border: none;
            cursor: pointer;
            color: #333;
            z-index: 10;
        }

        .modal-layout {
            display: flex;
            flex-direction: row;
            height: 100%;
        }

        .modal-image-area {
            flex: 2;
            display: flex;
            flex-direction: column;
            background: #f0f0f0;
            padding: 20px;
            position: relative;
        }

        #modal-main-img {
            max-height: 50vh;
            object-fit: contain;
            width: 100%;
            border-radius: 8px;
            margin-bottom: 20px;
        }

        .modal-controls {
            position: absolute;
            top: 40%;
            width: 100%;
            left: 0;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            box-sizing: border-box;
            pointer-events: none;
        }

        .modal-controls button {
            pointer-events: auto;
            background: rgba(255, 255, 255, 0.8);
            border: none;
            font-size: 24px;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            cursor: pointer;
            color: #333;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .modal-controls button:hover {
            background: #fff;
        }

        .modal-thumbnails {
            display: flex;
            gap: 10px;
            overflow-x: auto;
            padding-bottom: 10px;
        }

        .modal-thumbnails img {
            width: 80px;
            height: 60px;
            object-fit: cover;
            border-radius: 4px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .modal-thumbnails img.active,
        .modal-thumbnails img:hover {
            opacity: 1;
            border: 2px solid #74b652;
        }

        .modal-info-area {
            flex: 1;
            padding: 30px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            background: #fff;
        }

        #modal-title {
            font-size: 24px;
            font-weight: 700;
            margin-bottom: 20px;
            color: #111;
        }

        .modal-desc-text {
            font-size: 15px;
            line-height: 1.6;
            color: #555;
            flex-grow: 1;
        }

        @media (max-width: 768px) {
            .modal-layout {
                flex-direction: column;
            }

            .modal-image-area {
                padding: 10px;
            }

            #modal-main-img {
                max-height: 40vh;
                margin-bottom: 10px;
            }

            .modal-info-area {
                padding: 20px;
            }
        }

/* source: shkafy-kupe-na-zakaz.html */
.cases-list {
                        display: grid;
                        grid-template-columns: repeat(3, 1fr);
                        gap: 25px;
                        margin-top: 40px;
                    }

                    .case-card {
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                        border-radius: 16px;
                        overflow: hidden;
                        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
                        transition: all 0.3s ease;
                        height: 100%;
                    }

                    .case-card:hover {
                        transform: translateY(-8px);
                        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
                    }

                    .case-image {
                        flex: 0 0 220px;
                        position: relative;
                        cursor: pointer;
                        overflow: hidden;
                    }

                    .case-image img {
                        width: 100%;
                        height: 100%;
                        object-fit: cover;
                        display: block;
                        transition: transform 0.6s ease;
                    }

                    .case-image:hover img {
                        transform: scale(1.1);
                    }

                    .case-image-overlay {
                        position: absolute;
                        inset: 0;
                        background: rgba(0, 0, 0, 0.05);
                        pointer-events: none;
                    }

                    .case-photo-count {
                        position: absolute;
                        bottom: 12px;
                        right: 12px;
                        background: rgba(255, 255, 255, 0.95);
                        padding: 6px 12px;
                        border-radius: 8px;
                        display: flex;
                        align-items: center;
                        gap: 6px;
                        font-weight: 700;
                        color: #1a2e25;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
                        font-size: 12px;
                        pointer-events: none;
                    }

                    .case-photo-count svg {
                        color: #74b652;
                    }

                    .case-info {
                        flex: 1;
                        padding: 25px;
                        display: flex;
                        flex-direction: column;
                        background: #fff;
                    }

                    .case-title {
                        font-size: 20px;
                        font-weight: 700;
                        color: #1a2e25;
                        margin-bottom: 15px;
                        line-height: 1.2;
                    }

                    .case-desc {
                        font-size: 14px;
                        color: #555;
                        line-height: 1.5;
                        margin-bottom: 20px;
                        flex-grow: 1;
                    }

                    .case-wa-link {
                        display: flex;
                        align-items: center;
                        gap: 8px;
                        color: #555;
                        text-decoration: none;
                        font-size: 14px;
                        margin-bottom: 20px;
                        transition: 0.3s;
                        width: fit-content;
                    }

                    .case-wa-link:hover {
                        color: #74b652;
                    }

                    .case-wa-link svg {
                        color: #74b652;
                    }

                    .case-btn {
                        display: inline-flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 14px 24px;
                        background: #f0f7ed;
                        color: #235036;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        border: 1px solid #e0efe6;
                        width: 100%;
                        box-sizing: border-box;
                    }

                    .case-btn:hover {
                        background: #74b652;
                        color: #fff;
                        box-shadow: 0 5px 15px rgba(116, 182, 82, 0.3);
                        border-color: transparent;
                    }

                    .case-btn-wa {
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        gap: 10px;
                        padding: 16px 32px;
                        background: #25D366;
                        color: #fff !important;
                        font-weight: 700;
                        border-radius: 50px;
                        text-decoration: none;
                        transition: 0.3s;
                        cursor: pointer;
                        box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
                        width: 100%;
                        margin-top: 20px;
                        font-size: 16px;
                    }

                    .case-btn-wa:hover {
                        background: #128C7E;
                        transform: translateY(-2px);
                        box-shadow: 0 8px 20px rgba(18, 140, 126, 0.3);
                    }
                    @media (max-width: 1200px) {
                        .cases-list {
                            grid-template-columns: repeat(2, 1fr);
                        }
                    }

                    @media (max-width: 768px) {
                        .cases-list {
                            grid-template-columns: 1fr;
                            gap: 20px;
                        }

                        .case-image {
                            flex: 0 0 200px;
                        }

                        .case-info {
                            padding: 20px;
                        }
                    }

/* semantic extracted styles */
.hero-bg { background-position: center; background-repeat: no-repeat; background-size: cover; }
.hero-bg--kids { background-image: url('../img/bg1/bg_main.jpg'); }
.hero-bg--wardrobe { background-image: url('../img/bg1/bg_main.jpg'); }
.hero-bg--living { background-image: url('../img/bg1/bg_main.jpg'); }
.hero-bg--kitchen { background-image: url('../img/bg1/bg_main.jpg'); }
.hero-bg--hallway { background-image: url('../img/bg1/bg_main.jpg'); }
.hero-bg--coupe { background-image: url('../img/bg1/bg_main.jpg'); }

.icon-align-fix { margin-top:-2px; }
.cases-section-bg { background-color: #f8f9fa; }
.feature-list { list-style: none; padding: 0; margin: 0; color: #555; text-align: left; }
.feature-item { margin-bottom: 8px; display:flex; align-items: baseline; gap: 6px; }
.feature-icon { flex-shrink:0; transform: translateY(2px); }
.feature-text { flex:1; }
.feature-label { color: #1a2e25; font-weight:600; }
.is-hidden { display:none; }
.feature-title { font-size: 18px; margin-bottom: 15px; font-weight: 600; }

/* Kitchen catalog layout fix: protect from later global .case-* overrides */
.kitchen-cases .cases-list {
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

.kitchen-cases .case-card {
  display: flex;
  flex-direction: row;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s;
}

.kitchen-cases .case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.kitchen-cases .case-card.reverse {
  flex-direction: row-reverse;
}

.kitchen-cases .case-image {
  flex: 1 1 55%;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.kitchen-cases .case-image img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.kitchen-cases .case-image:hover img {
  transform: scale(1.05);
}

.kitchen-cases .case-info {
  flex: 1 1 45%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  z-index: 2;
  border-left: 1px solid rgba(0, 0, 0, 0.03);
}

.kitchen-cases .case-card.reverse .case-info {
  border-left: none;
  border-right: 1px solid rgba(0, 0, 0, 0.03);
}

.kitchen-cases .case-title {
  font-size: 32px;
  font-weight: 800;
  color: #1a2e25;
  margin-bottom: 24px;
  line-height: 1.2;
}

.kitchen-cases .case-desc {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 35px;
}

.kitchen-cases .case-btn {
  width: fit-content;
}

@media (max-width: 992px) {
  .kitchen-cases .cases-list {
    gap: 40px;
  }

  .kitchen-cases .case-card,
  .kitchen-cases .case-card.reverse {
    flex-direction: column;
    border-radius: 16px;
  }

  .kitchen-cases .case-image {
    flex: 1 1 auto;
  }

  .kitchen-cases .case-image img {
    min-height: 300px;
    height: 320px;
  }

  .kitchen-cases .case-info {
    padding: 30px 20px;
    border: none;
    flex: 1 1 auto;
  }

  .kitchen-cases .case-title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .kitchen-cases .case-desc {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .kitchen-cases .case-btn {
    width: 100%;
    box-sizing: border-box;
  }
}
.cta-wrap { text-align: center; margin-top: 60px; }
.cta-btn--primary { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 18px 40px; background: #6ea44d; color: #fff; font-weight: 600; font-size: 18px; border-radius: 50px; text-decoration: none; transition: 0.3s; box-shadow: 0 10px 30px rgba(116, 182, 82, 0.4); }
.cta-btn--primary:hover { background: #5a8b3d; transform: translateY(-2px); }
.media-card-image { border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); height: 100%; object-fit: cover; }
.icon-24 { width:24px; height:24px; }
.icon-inline-middle { vertical-align: middle; margin-top:-2px; }
.badge-text-tight { line-height: 1.3; }
.icon-top-nudge { margin-top:-1px; }

/* Unified gallery modal behavior on mobile for all category pages */
#gallery-modal {
  padding: 16px;
}

#gallery-modal .modal-content {
  width: 100%;
  max-width: 1000px;
}

#gallery-modal .modal-info-area {
  overflow-y: auto;
}

#gallery-modal .case-btn-wa {
  display: flex;
}

@media (max-width: 768px) {
  #gallery-modal {
    align-items: center;
    padding: 14px;
  }

  #gallery-modal .modal-content {
    max-height: calc(100dvh - 28px);
    border-radius: 18px;
    overflow: hidden;
  }

  #gallery-modal .modal-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  #gallery-modal .modal-image-area {
    padding: 12px;
  }

  #gallery-modal #modal-main-img {
    max-height: 38vh;
    margin-bottom: 10px;
  }

  #gallery-modal .modal-info-area {
    padding: 18px 16px 16px;
    gap: 12px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }

  #gallery-modal #modal-title {
    margin-bottom: 5px;
  }

  #gallery-modal .modal-desc-text {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    margin-bottom: 0;
  }

  #gallery-modal .case-btn-wa {
    margin-top: 10px;
    margin-bottom: 0;
    flex-shrink: 0;
    position: static;
    width: 100%;
    box-sizing: border-box;
  }

  /* Kitchen page: keep gallery modal fully inside viewport on small screens */
  .page-kitchen #gallery-modal .modal-content {
    max-height: calc(100dvh - 20px);
  }

  .page-kitchen #gallery-modal .modal-image-area {
    padding: 10px;
  }

  .page-kitchen #gallery-modal #modal-main-img {
    max-height: 32vh;
    margin-bottom: 8px;
  }

  .page-kitchen #gallery-modal .modal-thumbnails {
    gap: 8px;
    padding-bottom: 6px;
  }

  .page-kitchen #gallery-modal .modal-thumbnails img {
    width: 64px;
    height: 48px;
  }

  .page-kitchen #gallery-modal .modal-info-area {
    padding: 14px 14px 12px;
    gap: 8px;
  }
}

