Theme Name: Astra Child
Theme URI: https://test.termo-systema.ru/
Description: Дочерняя тема для кастомной верстки
Author: Ваше Имя
Template: astra
Version: 1.0.0

/* Здесь начинается ваш собственный код. */
/* Сюда вы сможете перенести все ваши стили для CSS Grid, эффектов glassmorphism и кастомных блоков: */

:root {
    --tk-orange: #F26522;
    --tk-dark: #2D2D2D;
    --tk-gray: #F4F4F6;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

.product-page-catalog {
    padding: 60px 20px;
    background-color: #fff;
    font-family: 'Segoe UI', Roboto, sans-serif;
}

.product-container-catalog {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Основная сетка страницы */
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    align-items: start;
}

.product-visuals {
    grid-column: 1 / 2;
}

.product-info {
    grid-column: span 2;
}

/* ГАЛЕРЕЯ */
.main-image-wrapper {
    position: relative;
    background: var(--tk-gray);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}

.main-image {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.glass-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    font-weight: 600;
    z-index: 2;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb {
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: 0.3s;
}

.thumb.active {
    border-color: var(--tk-accent-color);
}

.thumb img { width: 100%; height: auto; display: block; }

/* ИНФОРМАЦИЯ */
.breadcrumb { font-size: 14px; color: #888; margin-bottom: 15px; }

.product-title {
    font-size: 36px;
    color: var(--tk-dark);
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.highlight { color: var(--tk-accent-color); }

.product-labels {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.label {
    background-color: #F4F4F6;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 700;
}

.product-description {
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

/* ГЛАССМОРФИЗМ КАРТОЧКА */
.specs-glass-card {
    background: var(--tk-gray);
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 20px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item { display: flex; flex-direction: column; }

.spec-label { font-size: 12px; color: #888; margin-bottom: 5px; }

.spec-value { font-weight: 700; color: var(--tk-dark); }

/* КНОПКИ */
.product-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-primary {
    background: var(--tk-accent-color);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(242, 101, 34, 0.2);
}

.btn-primary:hover {
    background: #d9531e;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--tk-dark);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-secondary:hover { background: #000; }

/* Адаптив */
@media (max-width: 900px) {
    .product-container-catalog {
        grid-template-columns: 1fr;
    }
    .product-title { font-size: 28px; }
}






:root {
  --tk-accent-color: #F26522; /* Оранжевый корпоративный */
  --tk-accent-hover: #D9531E;
  --tk-text-dark: #2D2D2D;    /* Темно-серый */
  --tk-text-gray: #666666;
  --tk-bg-light: #FFFFFF;
  --tk-bg-body: #F9F9FB;
}

.tk-catalog-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: inherit;
}

.tk-catalog-group {
  margin-bottom: 60px;
}

/* Заголовок слева сверху */
.tk-group-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--tk-text-dark);
  margin-bottom: 30px;
  position: relative;
  display: flex;
  align-items: center;
}

/* Декоративная линия рядом с заголовком */
.tk-group-title::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 28px;
  background-color: var(--tk-accent-color);
  margin-right: 15px;
  border-radius: 4px;
}

/* Сетка карточек на CSS Grid */
.tk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Карточка товара */
.tk-card {
  background-color: var(--tk-bg-light);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.tk-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Изображение внутри карточки */
.tk-card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background-color: var(--tk-bg-body);
}

.tk-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.tk-card:hover .tk-card-image img {
  transform: scale(1.08);
}

/* Контентная часть карточки */
.tk-card-content {
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tk-card-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--tk-text-dark);
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* Кнопка "Подробнее" */
.tk-btn {
  margin-top: auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  background-color: transparent;
  color: var(--tk-text-dark);
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--tk-text-dark);
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.tk-btn:hover {
  background-color: var(--tk-accent-color);
  border-color: var(--tk-accent-color);
  color: #ffffff;
}

/* Адаптивность для планшетов и мобильных телефонов */
@media (max-width: 1024px) {
  .tk-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .tk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .tk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tk-group-title {
    font-size: 20px;
  }
}







:root {
    --primary-color: #1a365d; /* Темно-синий под ваш стиль */
    --accent-color: #ff8c00;  /* Оранжевый акцент */
    --bg-light: #f8f9fa;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.objects-grid-section {
    padding: 60px 0;
    background-color: #F0F3F5;
    font-family: 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 800;
}

/* Слайдер */
.slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.slide {
    position: absolute;
    width: 60%;
    max-width: 700px;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    z-index: 0;
    transform: translateX(0) scale(0.6);
}

/* Состояния слайдов */
.slide.active {
    opacity: 1;
    z-index: 10;
    transform: translateX(0) scale(1);
}

.slide.prev {
    opacity: 0.6;
    z-index: 5;
    transform: translateX(-50%) scale(0.8);
}

.slide.next {
    opacity: 0.6;
    z-index: 5;
    transform: translateX(50%) scale(0.8);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Точки/Индикаторы */
.slider-dots {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* Кнопка */
.button-wrapper {
    display: flex;
    justify-content: center;
}

.btn-more {
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-more:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .slider-container {
        /* Уменьшаем высоту контейнера, чтобы на узком экране
           соотношение сторон оставалось горизонтальным */
        height: 220px;
    }

    .slide {
        width: 80%; /* Ширина слайда относительно экрана */
        height: 100%; /* Занимает всю высоту уменьшенного контейнера */
    }

    /* На мобильных делаем боковые слайды чуть менее прозрачными,
       чтобы они не отвлекали от центрального */
    .slide.prev {
        transform: translateX(-25%) scale(0.8);
        opacity: 0.2;
    }

    .slide.next {
        transform: translateX(25%) scale(0.8);
        opacity: 0.2;
    }

    .section-title {
        font-size: 1.5rem; /* Уменьшаем заголовок для мобильных */
        padding: 0 15px;
    }
}


/* Изолированная обертка */
.contact-glass-section {
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --accent-yellow: #F26522;
   
    padding: 80px 20px;
   
    font-family: 'Inter', sans-serif;
    overflow: hidden;
    color: #ffffff;
}

.contact-glass-section .contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: center;
}

/* Текст слева */
.contact-glass-section .contact-info h6 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
}
.contact-info h6 {
    color: white;
}

.contact-glass-section .contact-info p {
    font-size: 18px;
    opacity: 0.8;
}

/* Карточки справа */
.contact-glass-section .contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contact-glass-section .contact-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
   
    /* Начальное состояние для анимации */
    opacity: 0;
    transform: translateY(50px);
}

/* Состояние при появлении */
.contact-glass-section .contact-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-glass-section .contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.18);
    border-color: var(--accent-yellow);
}

.contact-glass-section .card-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.contact-glass-section .contact-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    color: var(--accent-yellow);
}

.contact-glass-section .contact-address {
    font-size: 14px;
    margin-bottom: 25px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Кнопки */
.contact-glass-section .contact-btn {
    display: block;
    width: 100%;
    padding: 12px 10px;
    background: var(--accent-yellow);
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.contact-glass-section .contact-btn:hover {
    box-shadow: 0 5px 15px #F26522;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .contact-glass-section .contact-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .contact-glass-section .contact-cards {
        grid-template-columns: 1fr;
    }
}




/* Основной контейнер сетки */
.product-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 колонки */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}
.product-container-complect {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 колонки */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* Стили карточки-ссылки */
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  text-decoration: none; /* Убираем подчеркивание ссылки */
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

/* Эффект при наведении */
.product-card:hover {
  transform: translateY(-10px); /* Приподнимание */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Тень */
}

/* Контейнер для картинки */
.image-box {
  width: 100%;
  height: 300px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}
.image-box-complect {
  max-width: 70%;
  height: 193px;
  border-radius: 10px;
  display: flex;
  object-fit: contain;
  margin: 8px auto 0 auto;
  align-items: center;
  justify-content: center;
}

/* Заголовок */
.product-title {
  text-align: center;
  font-size: 1.2rem;
  margin: 10px 0 20px 0;
  color: #2c3e50;
}

/* Стили таблицы */
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.product-table tr:nth-child(odd) {
  background-color: #f9f9f9;
}

.product-table td {
	color: black;
  padding: 8px;
  border-bottom: 1px solid #eee;
  vertical-align: top;
}

.product-table td:first-child {
  color: #888;
  width: 40%;
}

/* Нижний блок на всю ширину */
.full-width {
  grid-column: 1 / -1; /* Растянуть от 1 до последней линии сетки */
  min-height: 100px;
  justify-content: center;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .product-container, .product-container-complect {
    grid-template-columns: 1fr; /* 1 колонка на мобилках */
  }
 
  .full-width {
    grid-column: auto;
  }
}




/* Базовые стили контейнера */
.logo-grid {
  display: grid;
  gap: 20px;
  padding: 20px;
  align-items: center;
  justify-items: center;
}

.logo-item img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

/* Эффект наведения: увеличение */
.logo-item:hover img {
  transform: scale(1.1);
}

/* Индивидуальная подсветка в цвет логотипа */
.color-mmk:hover img { filter: drop-shadow(0 0 10px #0056a4); }
.color-nlmk:hover img { filter: drop-shadow(0 0 10px #1d4f91); }
.color-severstal:hover img { filter: drop-shadow(0 0 10px #003060); }
.color-dowizolan:hover img { filter: drop-shadow(0 0 10px #009999); }
.color-rockwool:hover img { filter: drop-shadow(0 0 10px #ce1126); }

/* Мобильная версия (по умолчанию) */
@media (max-width: 767px) {
  .logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
 
  /* Делаем последний элемент на всю ширину и центрируем */
  .logo-item:last-child {
    grid-column: 1 / span 2;
    display: flex;
    justify-content: center;
  }
 
  .logo-item:last-child img {
    max-width: 50%; /* Чтобы последний логотип не был гигантским */
  }
}

/* Версия для ПК (в одну строку) */
@media (min-width: 768px) {
  .logo-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}



.color-palette {
  display: grid;
  /* Создаем 5 равных колонок */
  grid-template-columns: repeat(7, 1fr);
  /* Расстояние между карточками */
  gap: 20px;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.color-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.color-swatch {
  width: 100%;
  aspect-ratio: 16 / 9; /* Пропорции цветного прямоугольника */
  border-radius: 12px; /* Легкое закругление, как на фото */
}

.color-card p {
  margin: 0;
  font-size: 14px;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #7a869a; /* Цвет текста как на макете */
  line-height: 1.4;
}

/* Адаптивность: для планшетов 3 колонки, для телефонов 2 */
@media (max-width: 900px) {
  .color-palette { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 600px) {
  .color-palette { grid-template-columns: repeat(2, 1fr); }
}

С эффектом наведения
.color-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* Плавный переход для всех изменений */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
}

/* Эффект при наведении на всю карточку */
.color-card:hover {
  transform: translateY(-5px); /* Приподнимаем карточку */
}

/* Эффект конкретно для цветного прямоугольника */
.color-card:hover .color-swatch {
  box-shadow: 0 10px 20px rgba(0,0,0,0.15); /* Мягкая тень */
}

/* Немного выделяем текст при наведении */
.color-card:hover p {
  color: #333;
}


/*messenger footer*/
.container2{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
	  position: relative;
    
}
/*наши клиенты*/
.container1{
    display: grid;
    grid-template-columns: 16.6% 16.6% 16.6% 16.6% 16.6% 16.6% ;
    position: relative;
}
@media (max-width: 600px) {
  .container1 {
  grid-template-columns: 1fr 1fr;
  }
}

.item-1{
    background-color: #f2f1f0;
    position: relative;
}
.item-2{
    background-color: #e6e4e3;
    position: relative;
}
.ximg{
    width: 100%;
    height: 100%;
}
.std{
    position: relative;
    top: 0;
    left: 0;
}
img .std {
    opacity: 0;
}
.std:hover {
    opacity: 1;
}
.ovr {
    position: absolute;
    top: 0;
    left: 0;
}
.ovr:hover {
    opacity: 0;
    cursor: pointer;
}


/* =========================================
   ОБЩИЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ========================================= */
:root {
    --header-bg: #f0f3f5;
    --text-dark: #333333;
    --text-light: #666666;
    --accent-color: #0056b3; /* Пример акцентного цвета для кнопки и ховера */
    --accent-hover: #004494;
    --island-shadow: 0 10px 30px rgba(0,0,0,0.08);
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-blur: blur(15px);
}

.cast-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Скрытие элементов по умолчанию */
.mobile-header-visible,
.sticky-header-active .desktop-header-visible {
    display: none;
}

/* =========================================
   ПК ВЕРСИЯ (Desktop)
   ========================================= */
.desktop-header-visible {
    display: block;
    padding-top: 20px; /* Отступ сверху, чтобы видно было фон сайта */
    padding-bottom: 20px;
}

/* Общий стиль для "островков" */
.header-top-island,
.header-menu-island {
    margin-bottom: 20px;
}

.header-island-inner,
.menu-island-inner {
    background-color: var(--header-bg);
    border-radius: 15px;
    box-shadow: var(--island-shadow);
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Стили первого блока (контакты) */
/* Обнуляем базовую жадность блоков, чтобы они не занимали всё место поровну */
.header-island-inner > div {
    flex: 0 1 auto !important; 
}

/* Столбец 1: Логотип остается слева */
.col-logo {
    margin-right: 40px; /* Отступ от логотипа до почты */
}

/* Столбец 2: Почта - прижимаем её чуть правее логотипа */
.col-email {
    /* margin-right: auto;  ЭТО КЛЮЧЕВОЙ МОМЕНТ: этот отступ "съест" всё свободное пространство, 
                           оттолкнув кнопку и телефон в самый правый край, ОТКЛЮЧИЛ Т.К. ДОБАВИЛ МЕССЕНДЖЕРЫ */
    padding-left: 0 !important;
}

/* Столбец 3: Кнопка - будет стоять перед телефоном */
.col-btn {
    margin-right: 25px; /* Расстояние между кнопкой и телефоном */
}

/* Столбец 4: Телефон - окажется в самом конце справа */
.col-phone {
    text-align: right;
    padding-left: 0 !important;
}
.col-logo { flex: 0 0 200px !important; } /* Лого шире */
.col-logo img { max-width: 180px; height: auto; }

.col-email, .col-phone {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
}

.contact-link {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    margin-bottom: 4px;
}
.header-social-icons {
    display: flex;
    gap: 15px;
}

.work-hours, .phone-desc {
    font-size: 13px;
    color: var(--text-light);
}

.col-btn {
    text-align: center;
    flex: 0 0 200px !important;
}

.callback-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.callback-btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

/* Стили второго блока (Меню) */
.menu-island-inner {
    padding: 0 30px; /* Меньше паддинг по вертикали для меню */
}

.desktop-navigation {
    width: 100%;
}

.main-menu-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center; /* Меню по центру */
}

/* Пункты меню 1 уровня */
.main-menu-list > li > a {
    display: block;
    padding: 20px 25px;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 20px;
    position: relative;
    transition: color 0.3s ease;
}

/* Эффект наведения (линия снизу) */
.main-menu-list > li > a::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 25px;
    right: 25px;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.main-menu-list > li > a:hover {
    color: var(--accent-color) !important;
}

.main-menu-list > li > a:hover::after {
    transform: scaleX(1);
}

/* ВЫПАДАЮЩЕЕ МЕНЮ (Dropdown) */
.main-menu-list li {
    position: relative;
}

.main-menu-list ul.sub-menu {
    white-space: normal !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-menu-list li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu-list ul.sub-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text-dark) !important;
    text-decoration: none !important;
    font-size: 15px;
    transition: background 0.3s ease, color 0.3s ease;
}

.main-menu-list ul.sub-menu a:hover {
    background-color: #f5f7f9;
    color: var(--accent-color) !important;
}


/* =========================================
   ЛИПКОЕ МЕНЮ (Sticky PC)
   ========================================= */
/* Скрипт добавит класс .sticky-header-active к body при скролле */
body.sticky-header-active .site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

/* Фон липкого меню (стекло) */
body.sticky-header-active .site-header::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1240px;
    height: 70px;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-radius: 35px;
    box-shadow: var(--island-shadow);
    z-index: -1;
}

/* Основной контейнер ПК шапки в липком режиме */
body.sticky-header-active .desktop-header-visible {
    display: block !important;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1240px;
    height: 70px;
    padding: 0;
}

/* Скрываем ТОЛЬКО почту, кнопку и подпись к телефону */
body.sticky-header-active .col-email,
body.sticky-header-active .col-btn,
body.sticky-header-active .phone-desc {
    display: none !important;
}

/* Сбрасываем фоны и отступы у островков, чтобы они вписались в "стекло" */
body.sticky-header-active .header-top-island,
body.sticky-header-active .header-menu-island {
    margin: 0;
    padding: 0;
}
body.sticky-header-active .header-island-inner,
body.sticky-header-active .menu-island-inner {
    background: transparent;
    box-shadow: none;
    height: 70px;
    padding: 0 30px;
}

/* Выстраиваем Логотип (слева) и Телефон (справа) */
body.sticky-header-active .header-top-island {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}
body.sticky-header-active .header-island-inner {
    justify-content: space-between; /* Расталкивает лого и телефон по краям */
}

/* Выстраиваем Меню (строго по центру) */
body.sticky-header-active .header-menu-island {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

/* Корректируем размеры элементов для узкой липкой панели */
body.sticky-header-active .col-logo {
    flex: 0 0 auto !important;
}
body.sticky-header-active .col-logo img {
    max-width: 200px; /* Уменьшенное лого */
}

body.sticky-header-active .col-phone {
    padding: 0;
    flex: 0 0 auto !important;
}
body.sticky-header-active .phone-link {
    font-size: 16px;
    margin: 0;
}

body.sticky-header-active .main-menu-list > li > a {
    padding: 24px 15px; /* Подгоняем высоту меню под 70px */
    font-size: 15px;
}
body.sticky-header-active .main-menu-list > li > a::after {
    bottom: 18px; left: 15px; right: 15px;
}

/* Плавное исчезновение липкой шапки */
body.sticky-header-active .site-header {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Состояние, когда шапка скрыта из-за футера */
body.sticky-header-active.hide-header-for-footer .site-header {
    transform: translateY(-120%); /* Уводим вверх за пределы экрана */
    opacity: 0;
    pointer-events: none; /* Чтобы нельзя было случайно нажать на невидимые ссылки */
}



/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ (Mobile Styles)
   ========================================= */
/* Точка перелома Astra по умолчанию 921px */
@media (max-width: 921px) {
    
    .desktop-header-visible,
    body.sticky-header-active .site-header {
        display: none !important;
    }

    .mobile-header-visible {
        display: block;
    }

    .mobile-header-floating {
        padding: 15px 20px;
        position: relative;
        z-index: 10;
        margin-top: 0; /* Фон на всю ширину, прижат к верху */
    }

    .mobile-top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        background-color: white;
        border-radius: 8px;
        padding: 10px;
    }

    .col-logo-mobile img { max-width: 140px; height: auto; }

    /* Бургер иконка */
    .main-header-menu-toggle {
        background: transparent;
        border: none;
        padding: 10px;
        cursor: pointer;
    }

    .burger-icon {
        display: block;
        width: 25px;
        height: 2px;
        background: var(--text-dark);
        position: relative;
    }

    .burger-icon::before,
    .burger-icon::after {
        content: '';
        position: absolute;
        width: 25px;
        height: 2px;
        background: var(--text-dark);
        left: 0;
    }

    .burger-icon::before { top: -7px; }
    .burger-icon::after { top: 7px; }

    /* Контакты в мобильной шапке */
    .mobile-contacts-row {
        display: flex;
        flex-direction: column;
        align-items: center; /* По центру */
        gap: 8px;
    }

    .mobile-phone {
        font-weight: 700;
        font-size: 17px;
        color: white;
        text-decoration: none !important;
    }

    .mobile-email {
        font-weight: 700;
        font-size: 17px;
        color: #4e4e4f;
        text-decoration: none !important;
    }

    /* ВЫЕЗЖАЮЩЕЕ МЕНЮ (Sidenav) */
    .mobile-sidenav {
        position: fixed;
        top: 0;
        right: -300px; /* Скрыто справа */
        width: 280px;
        height: 100vh;
        background-color: #fff;
        z-index: 1001;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: right 0.4s ease; /* Эффект выезжания */
        display: flex;
        flex-direction: column;
    }

    /* Класс, который добавит JS для открытия */
    .mobile-sidenav.is-open {
        right: 0;
    }

    .sidenav-header {
        display: flex;
        justify-content: flex-end;
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .close-sidenav {
        background: transparent;
        border: none;
        font-size: 30px;
        color: var(--text-dark);
        cursor: pointer;
    }

    /* Стили списка меню в мобильном */
    .mobile-navigation {
        overflow-y: auto; /* Скролл если меню длинное */
        padding: 20px 0;
    }

    .mobile-menu-list {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-menu-list a {
        display: block;
        padding: 12px 20px;
        color: var(--text-dark) !important;
        text-decoration: none !important;
        font-weight: 600;
        border-bottom: 1px solid #f9f9f9;
    }

    .mobile-menu-list a:hover {
        background-color: #f5f7f9;
        color: var(--accent-color) !important;
    }

    /* Мобильные подменю */
    .mobile-menu-list ul.sub-menu {
        list-style: none;
        margin: 0;
        padding: 0;
        background-color: #f9f9f9;
    }

    .mobile-menu-list ul.sub-menu a {
        padding-left: 35px; /* Отступ */
        font-weight: 400;
        font-size: 15px;
    }

    /* Оверлей (затемнение) */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

    .menu-overlay.is-visible {
        opacity: 1;
        visibility: visible;
    }
}

/* =========================================
   НАЛОЖЕНИЕ ШАПКИ НА ФОН (Только на главной)
   ========================================= */
body.home .site-header.custom-main-header,
body.front-page .site-header.custom-main-header {
    position: absolute;  /* Делаем шапку независимой от контента */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999; /* Выводим поверх первого экрана */
}
/* Фикс для главной: когда активирован липкий режим, меняем absolute на fixed */
body.home.sticky-header-active .site-header.custom-main-header,
body.front-page.sticky-header-active .site-header.custom-main-header {
    position: fixed !important;
    top: 0;
    left: 0;
    background-color: transparent; /* Оставляем прозрачным, так как у нас есть "стеклянная" подложка в ::before */
}

/* На мобильных устройствах на главной тоже убираем абсолютное позиционирование, 
   чтобы шапка не перекрывала контент или работала корректно */
@media (max-width: 921px) {
    body.home .site-header.custom-main-header {
        /* position: relative !important;  На мобилках лучше оставить в потоке, чтобы не закрывать первый экран */
    }
}

/* =========================================
   КАСТОМНЫЙ ФУТЕР (Обновленная версия)
   ========================================= */

.custom-main-footer {
    position: relative;
    /* ФОНОВАЯ КАРТИНКА - ОДНА ДЛЯ ПК И МОБИЛЬНЫХ */
    background-image: url('/img/fonfooter.webp'); 
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #e0e6ed;
    padding-top: 60px;
    margin-top: 50px;
}

/* Затемнение */
.footer-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(40, 48, 63, 0.78);
    z-index: 1;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Сетка основной части */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer-heading {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-color, #0056b3);
    padding-bottom: 10px;
    display: inline-block;
}

/* КОЛОНКА 1: Подложка под логотип */
.footer-logo-wrapper {
    background-color: #ffffff;
    padding: 15px 25px;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.footer-logo-wrapper img {
    max-width: 200px;
    height: auto;
    display: block;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #b0bec5;
}

.footer-work-hours {
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-left: 3px solid var(--accent-color, #0056b3);
    border-radius: 0 4px 4px 0;
}
.footer-work-hours strong { color: #fff; }

/* КОЛОНКА 2: Меню */
.footer-menu-list { list-style: none; padding: 0; margin: 0; }
.footer-menu-list li { margin-bottom: 12px; }
.footer-menu-list a {
    color: #b0bec5 !important;
    text-decoration: none !important;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: inline-block;
}
.footer-menu-list a:hover {
    color: #ffffff !important;
    padding-left: 5px;
}

/* КОЛОНКА 3: Контакты и кнопка */
.footer-contact-item { margin-bottom: 10px; }

.footer-phone {
    /*display: block;*/
    font-size: 24px;
    font-weight: 700;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1;
    margin-bottom: 5px;
}

/* Уменьшенная подпись к телефону */
.footer-phone-desc {
    font-size: 11px; /* Сделали меньше */
    color: #b0bec5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 15px;
}

/* Кнопка "Заказать звонок" в футере */
.footer-callback-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--accent-color, #0056b3);
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}
.footer-callback-btn:hover {
    background-color: var(--accent-color, #0056b3);
}

/* Увеличенный шрифт почты */
.footer-email {
    display: inline-block;
    font-size: 20px; /* Увеличили */
    font-weight: 600;
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: 1px dashed rgba(255,255,255,0.3);
    transition: color 0.3s, border-color 0.3s;
}
.footer-email:hover { 
    color: var(--accent-color, #0056b3) !important;
    border-color: var(--accent-color, #0056b3);
}

/* Мессенджеры (Иконки) */
.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-icon:hover {
    transform: translateY(-3px);
}


/* =========================================
   НИЖНИЙ БЛОК (3 СТОЛБЦА)
   ========================================= */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.3);
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Ровно 3 столбца */
    align-items: center;
    font-size: 13px;
    color: #8c9ea8;
}

.text-left { text-align: left; }
.text-center { text-align: center;font-size: 11px; }
.text-right { text-align: right; }

.footer-bottom a {
    color: #8c9ea8;
    text-decoration: none;
    transition: color 0.3s;
}
.footer-bottom a:hover { color: #fff; }


/* =========================================
   МОБИЛЬНАЯ ВЕРСИЯ ФУТЕРА
   ========================================= */
@media (max-width: 921px) {
    .footer-grid {
        grid-template-columns: 1fr; /* В один столбец */
        gap: 30px;
    }
    
    /* Делаем нижний блок тоже друг под другом на телефоне */
    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .text-left, .text-right { text-align: center; }
    
    .footer-logo-wrapper { margin: 0 auto 20px auto; display: table; }
    .col-about { text-align: center; }
    .footer-work-hours { text-align: left; }
}



/* Базовые стили для секции */
.objects-section {
    padding: 40px 15px;
}

.objects-section h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
}

/* Настройки сетки (Grid) галереи */
.objects-gallery {
    display: grid;
    /* По умолчанию 4 одинаковых столбца */
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Отступ между фотографиями */
    max-width: 1200px; /* Максимальная ширина контейнера */
    margin: 0 auto;
}

/* Стили для самих изображений объектов */
.objects-gallery .object-item {
    width: 100%;
    /* Фиксируем высоту или соотношение сторон, чтобы сетка была ровной */
    aspect-ratio: 4 / 3; 
    object-fit: cover; /* Изображение будет аккуратно заполнять блок без искажений */
    border-radius: 8px; /* Небольшое скругление углов (по желанию) */
    cursor: pointer; /* Показываем пользователю, что на фото можно кликнуть */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Эффект при наведении мышкой */
.objects-gallery .object-item:hover {
    transform: translateY(-5px); /* Легкое поднятие фото */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* =========================================
   Адаптивность (Мобильные устройства)
========================================= */

/* Планшеты (3 столбца, если нужно - можно удалить и оставить сразу переход на 2) */
@media (max-width: 992px) {
    .objects-gallery {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

/* Мобильные телефоны (строго 2 столбца, как вы и просили) */
@media (max-width: 768px) {
    .objects-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px; /* Уменьшаем отступ для маленьких экранов */
    }
    
    .objects-section {
        padding: 20px 10px;
    }
    
    .objects-gallery .object-item {
        border-radius: 4px; /* На мобильных скругления можно сделать поменьше */
    }
}

/* Базовые настройки и переменные */
:root {
    --bg-color: #eef2f6; /* Не чистый белый, а легкий индустриальный оттенок */
    --text-main: #2d3748;
    --text-muted: #718096;
    --accent-blue: #0056b3;
    --accent-orange: #ff6b00;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.8);
    --card-shadow: 0 8px 32px rgba(31, 38, 135, 0.07);
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    /* Легкий фоновый паттерн для стиля (опционально) */
    background-image: radial-gradient(#d2d6db 1px, transparent 1px);
    background-size: 20px 20px;
}

.contacts-page {
    padding-top: 40px;
}

.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Общие стили для карточек (Глассморфизм) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
}

.accent-blue::before { background-color: var(--accent-blue); }
.accent-orange::before { background-color: var(--accent-orange); }

.glass-card h2 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--text-main);
}

/* Списки информации */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 10px;
}

.info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-list .label {
    font-weight: 600;
    color: var(--text-muted);
}

.info-list .value {
    font-weight: 500;
    text-align: right;
}

.info-list a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-list a:hover {
    color: var(--accent-orange);
}

/* Верхняя сетка (2 колонки) */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Средняя сетка (3 колонки с заявками) */
.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.action-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Плавный отскок */
    border: 1px solid #e2e8f0;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Эффект увеличения при наведении (macOS style zoom) */
.action-card:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: var(--accent-blue);
    z-index: 2;
}

.action-card.max-card:hover { border-color: var(--accent-orange); }

.action-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.action-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
}

.action-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Тултип для кнопки копирования */
.copy-tooltip {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--accent-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 15px;
}

.action-card:hover .copy-tooltip {
    opacity: 1;
}

.copy-tooltip.active {
    color: #38a169; /* Зеленый цвет успеха */
    font-weight: bold;
}

/* Карта внизу (100% ширины экрана) */
.map-section {
    width: 100%;
    margin-top: 40px;
    filter: grayscale(20%) contrast(1.1); /* Легкая стилизация карты под дизайн */
}

.map-section iframe {
    display: block;
    width: 100%;
}

/* --- АДАПТИВНОСТЬ (Mobile) --- */
@media (max-width: 992px) {
    .info-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .info-list .value {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
   
    .actions-grid {
        grid-template-columns: 1fr;
    }
   
    .page-title {
        font-size: 2rem;
        text-align: center;
    }
}

/* =========================================
   ФИКС СКАЧКА ПРИ СКРОЛЛЕ (Для внутренних страниц)
   ========================================= */

/* Компенсируем высоту шапки на ПК */
body:not(.home):not(.front-page).sticky-header-active #page {
    /* Значение нужно подогнать под высоту вашей обычной нелипкой шапки.
       Обычно это от 100px до 140px */
    padding-top: 265px;
}

/* Компенсируем высоту шапки на Мобильных устройствах */
@media (max-width: 921px) {
    body:not(.home):not(.front-page).sticky-header-active #page {
        /* На телефонах шапка тоньше, поэтому отступ меньше */
        padding-top: 80px;
    }
}


/* =========================================
   ФОН ШАПКИ НА ВНУТРЕННИХ СТРАНИЦАХ
   ========================================= */

/* Устанавливаем картинку для всех страниц, кроме главной */
body:not(.home):not(.front-page) .site-header.custom-main-header {
    background-image: url('/wp-content/uploads/2026/03/fonheader.webp');
    background-size: cover;
    background-position-y: top;
    background-repeat: no-repeat;
   
    /* Если картинка светлая, а текст белый, можно раскомментировать строку ниже
       для добавления легкого темного градиента поверх картинки */
    /* background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('ССЫЛКА_НА_ВАШУ_КАРТИНКУ'); */
}

/* Отключаем картинку при скролле, когда шапка становится липкой */
body:not(.home):not(.front-page).sticky-header-active .site-header.custom-main-header {
    background-image: none !important;
    background-color: transparent !important;
}






/* Базовый сброс и стилизация контейнера Popup Maker */
.pum-container {
    border-radius: 16px !important;
    background: rgba(30, 30, 30, 0.85) !important; /* Темный индустриальный фон */
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0 !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

/* Обертка формы */
.modern-callback-form {
    padding: 40px;
    font-family: inherit;
    color: #ffffff;
}

.modern-callback-form .form-title {
    margin-top: 0;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
}

.modern-callback-form .input-group {
    margin-bottom: 20px;
}

/* Поля ввода */
.modern-callback-form input[type="text"],
.modern-callback-form input[type="tel"],
.modern-callback-form textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.modern-callback-form input:focus,
.modern-callback-form textarea:focus {
    outline: none;
    border-color: #ff6600; /* Оранжевый акцент */
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.2);
}

.modern-callback-form textarea {
    min-height: 100px;
    resize: vertical;
}

/* Чекбокс и политика */
.modern-callback-form .consent-group {
    font-size: 13px;
    color: #aaaaaa;
    margin-bottom: 24px;
    line-height: 1.4;
}

.consent-group a {
    color: #ff6600;
    text-decoration: underline;
    transition: color 0.2s;
}

.modern-callback-form .consent-group a:hover {
    color: #e65c00;
}

/* Исправление отступов чекбокса CF7 */
.wpcf7-list-item { margin: 0; display: inline-block; }
.wpcf7-list-item input { margin-right: 10px; accent-color: #ff6600; }

/* Оранжевая кнопка */
.modern-callback-form .btn-orange {
    width: 100%;
    background: #ff6600;
    color: #ffffff;
    border: none;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-callback-form .btn-orange:hover {
    background: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 102, 0, 0.3);
}

.modern-callback-form .btn-orange:active {
    transform: translateY(0);
}

/* Индикация ошибок CF7 */
.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #ff4d4d;
    margin-top: 5px;
}
.wpcf7 form.invalid .wpcf7-response-output {
    border-color: #ff4d4d;
    color: #ff4d4d;
    border-radius: 8px;
}

/* 1. Исправление цвета текста и плейсхолдеров в полях ввода */
.modern-callback-form input[type="text"],
.modern-callback-form input[type="tel"],
.modern-callback-form textarea {
    color: #ffffff !important; /* Белый цвет вводимого текста */
    background: rgba(255, 255, 255, 0.1) !important; /* Осветленный фон поля для контраста */
}

/* Цвет подсказок (плейсхолдеров), чтобы они отличались от введенного текста */
.modern-callback-form input::placeholder,
.modern-callback-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* 2. Стилизация стандартного крестика закрытия Popup Maker */
.pum-close {
    color: #ffffff !important;
    background: transparent !important;
    border: none !important;
    font-size: 22px !important;
    right: 15px !important;
    top: 10px !important;
    transition: color 0.3s ease !important;
    box-shadow: none !important;
}
.pum-close:hover {
    color: #ff6600 !important; /* Красится в оранжевый при наведении */
}

/* 3. Стили для экрана успешной отправки */
.success-screen {
    text-align: center;
    padding: 30px 10px;
    animation: fadeIn 0.5s ease;
}

.success-screen .check-icon {
    font-size: 70px;
    color: #4CAF50; /* Зеленая галочка */
    margin-bottom: 20px;
    line-height: 1;
}

.success-screen p {
    font-size: 18px;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Скрываем стандартную зеленую рамку с текстом от Contact Form 7 */
.wpcf7-response-output {
    display: none !important;
}











/* Базовые переменные и шрифты для секции */
.tk-features-section {
  --tk-primary: #F26522; /* Темно-красный цвет Термоконтур */
  --tk-primary-glow: rgba(204, 0, 0, 0.4);
  --tk-text-light: #ffffff;
  --tk-text-muted: #e0e0e0;
  --tk-glass-bg: rgba(20, 25, 30, 0.6);
  --tk-glass-border: rgba(255, 255, 255, 0.1);
  
  /* Фоновое изображение для демонстрации глассморфизма */
  /* background: linear-gradient(rgba(10, 10, 15, 0.8), rgba(10, 10, 15, 0.9)), 
              url('https://images.unsplash.com/photo-1565514020179-026b92b84bb6?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat fixed; */
  padding: 20px 20px;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--tk-text-light);
  overflow: hidden;
}

.tk-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Заголовок */
.tk-section-title {
  text-align: center;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tk-section-title span {
  color: var(--tk-primary);
  text-shadow: 0 0 20px var(--tk-primary-glow);
}

/* Сетка на CSS Grid */
.tk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

/* Карточки с эффектом глассморфизма */
.tk-card {
  background: var(--tk-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--tk-glass-border);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

/* Задержка анимации для каждой карточки */
.tk-card:nth-child(1) { animation-delay: 0.1s; }
.tk-card:nth-child(2) { animation-delay: 0.2s; }
.tk-card:nth-child(3) { animation-delay: 0.3s; }
.tk-card:nth-child(4) { animation-delay: 0.4s; }
.tk-card:nth-child(5) { animation-delay: 0.5s; }
.tk-card:nth-child(6) { animation-delay: 0.6s; }

/* Эффект наведения (Hover) */
.tk-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 
              inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Декоративный блик внутри карточки */
.tk-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tk-card:hover::before {
  opacity: 1;
}

/* Иконки */
.tk-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--tk-primary);
  border: 1px solid rgba(204, 0, 0, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.tk-card-icon svg {
  width: 30px;
  height: 30px;
}

.tk-card:hover .tk-card-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--tk-primary);
  color: #fff;
  box-shadow: 0 0 20px var(--tk-primary-glow);
}

.tk-ytp-title {
color: var(--tk-primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.tk-card-desc {
  color: var(--tk-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}


/* Анимация появления */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность под мобильные устройства */
@media (max-width: 992px) {
  .tk-footer-banner {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .tk-features-section {
    padding: 60px 15px;
  }
  
  .tk-grid {
    grid-template-columns: 1fr; /* Одна колонка на мобильных */
    gap: 20px;
  }
  
  .tk-card {
    padding: 30px 20px;
  }
  
  .tk-card-icon {
    width: 50px;
    height: 50px;
  }
  
  .tk-card-icon svg {
    width: 25px;
    height: 25px;
  }
  
  .tk-footer-banner p {
    font-size: 1rem;
  }
}




        /* Главный контейнер на CSS Grid */
        .promo-section {
            background-color: #ffffff; /* Строго белый фон блока */
            max-width: 1200px;
            margin: 0 auto;
            padding: 60px 40px;
            border-radius: 16px;
            box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04); /* Очень мягкая реалистичная тень */
            
            /* Настройка Grid */
            display: grid;
            grid-template-columns: 1fr 1.2fr; /* Правая колонка с фото чуть шире */
            gap: 60px;
            align-items: center;
        }

        /* Стилизация левой части (Текст) */
        .promo-content {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .promo-content h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 1.5rem;
            line-height: 1.4;
            color: #1a2233; /* Темно-синий, почти черный */
            font-style: italic; /* Как на оригинальном макете */
            position: relative;
            padding-left: 24px;
        }

        /* Интересный акцент: вертикальная линия у заголовка */
        .promo-content h2::before {
            content: '';
            position: absolute;
            left: 0;
            top: 5px;
            bottom: 5px;
            width: 4px;
            background-color: #2563eb; /* Яркий промышленный синий акцент */
            border-radius: 4px;
        }

        .promo-content p {
            font-family: 'Open Sans', sans-serif;
            font-size: 1rem;
            line-height: 1.7;
            color: #555a64; /* Мягкий серый для легкого чтения */
        }

        /* Стилизация правой части (Изображение) */
        .promo-image-wrapper {
            position: relative;
            border-radius: 12px;
            /* Прячем края изображения, чтобы сработал border-radius */
            /* overflow: hidden; убран, чтобы показать декоративный элемент сзади */
            z-index: 1;
        }

        /* Декоративный смещенный фон за изображением для интересного дизайна */
        .promo-image-wrapper::after {
            content: '';
            position: absolute;
            top: 20px;
            right: -20px;
            bottom: -20px;
            left: 20px;
            border: 2px dashed #e2e8f0;
            border-radius: 12px;
            z-index: -1;
            transition: all 0.3s ease;
        }

        .promo-image-wrapper img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 12px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Чистая тень, не глассформизм */
            transition: transform 0.4s ease, box-shadow 0.4s ease;
            object-fit: cover;
        }

        /* Интерактивность при наведении */
        .promo-section:hover .promo-image-wrapper img {
            transform: translateY(-8px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
        }

        .promo-section:hover .promo-image-wrapper::after {
            border-color: #2563eb;
            transform: translate(-5px, -5px);
        }

        /* Адаптивность для мобильных устройств и планшетов */
        @media (max-width: 992px) {
            .promo-section {
                grid-template-columns: 1fr; /* Перестраиваем в одну колонку */
                gap: 40px;
                padding: 40px 20px;
            }

            .promo-image-wrapper::after {
                display: none; /* Убираем декоративный элемент на мобилках для экономии места */
            }
            
            .promo-content h2 {
                font-size: 1.3rem;
            }
        }





        /* Цветовые переменные */
:root {
  --color-dark: #2C3338;        /* Темно-серый */
  --color-orange: #F37021;      /* Оранжевый корпоративный */
  --color-orange-hover: #d95e17; 
  --color-blue: #004B87;        /* Синий для акцентов */
  --color-light-bg: #F8F9FA;
  --color-border: #E5E7EB;
  --color-text: #4B5563;
}

.price-list-wrapper {
  color: var(--color-text);
  padding: 40px 0;
}

.price-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.price-header {
  text-align: center;
  margin-bottom: 40px;
}

.price-header h2 {
  color: var(--color-dark);
  font-size: 2.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.category-title {
  color: var(--color-blue);
  font-size: 1.5rem;
  margin: 30px 0 15px 0;
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 10px;
  display: inline-block;
}

/* --- GRID ТАБЛИЦА --- */
.price-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 40px;
}

/* Заголовок таблицы (Desktop) */
.grid-table-header {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  background-color: var(--color-dark);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 6px;
  font-weight: 600;
  align-items: center;
}

/* Строки таблицы */
.grid-table-row {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr 1fr;
  background-color: var(--color-light-bg);
  padding: 16px 20px;
  border-radius: 6px;
  align-items: center;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.grid-table-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 4px solid var(--color-orange);
  transform: translateX(2px);
}

.col.price-value {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-dark);
}

.col.price-value-thickness {
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-dark);
}

/* Кнопка */
.btn-primary {
  background-color: var(--color-orange);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
}

/* --- АДАПТИВ (MOBILE) --- */
@media (max-width: 768px) {
  .grid-table-header {
    display: none; /* Прячем "шапку" таблицы на смартфонах */
  }

  .grid-table-row {
    grid-template-columns: 1fr; /* Перестраиваем в одну колонку */
    gap: 12px;
    padding: 20px;
  }

  .grid-table-row .col {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
  }

  /* Генерируем названия строк из data-label */
  .grid-table-row .col::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--color-blue);
    margin-right: 15px;
  }

  .grid-table-row .col:last-child {
    margin-top: 10px;
  }

  .grid-table-row .col:last-child::before {
    display: none; /* Для кнопки заголовок не нужен */
  }
}


/* --- БЛОК ИНФОРМАЦИИ И ТЕКСТА --- */
.price-info-block {
  margin-top: 50px;
  padding-top: 20px;
}

/* Сетка карточек на Grid */
.info-cards-grid {
  display: grid;
  /* Автоматически подстраивает колонки, минимум 250px шириной */
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

/* Эффект матового стекла (Глассморфизм) */
.glass-panel {
  background: rgba(44, 51, 56, 0.02); /* Очень легкая заливка темно-серым */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(44, 51, 56, 0.08);
  border-left: 4px solid var(--color-blue); /* Синий акцент */
  border-radius: 8px;
  padding: 25px 20px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.glass-panel:hover {
  transform: translateY(-4px);
  background: rgba(44, 51, 56, 0.05);
  border-left-color: var(--color-orange); /* При наведении меняется на оранжевый */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.card-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  line-height: 1;
}

.glass-panel h4 {
  color: var(--color-dark);
  font-size: 1.15rem;
  margin-top: 0;
  margin-bottom: 10px;
  font-weight: 700;
}

.glass-panel p {
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* Текстовый блок (Оферта и SEO) */
.seo-text-box {
  background-color: var(--color-light-bg);
  border-radius: 6px;
  padding: 25px 30px;
  border-left: 4px solid var(--color-dark); /* Темно-серый акцент */
}

.seo-text-box p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* --- АДАПТИВ (MOBILE) --- */
@media (max-width: 768px) {
  .info-cards-grid {
    grid-template-columns: 1fr; /* На мобильных выстраиваем в один столбец */
    gap: 15px;
  }
  
  .seo-text-box {
    padding: 20px;
  }
}






/* Переменные */
:root {
    --form-orange: #F37021;
    --form-dark: #2C3338;
    --form-blue: #004B87;
    --form-bg: #fdfdfd;
}

.order-form-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: sans-serif;
    padding-top: 30px;
}

/* Карточки позиций */
.order-item {
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--form-blue);
    background: rgba(255,255,255,0.7);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.order-item.first-item {
    border-left-color: var(--form-orange);
}

.item-row-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr 1.5fr 1fr;
    gap: 15px;
    align-items: end;
}

.field-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--form-dark);
    text-transform: uppercase;
}

.field-group, .add-more-wrapper p {
    margin-bottom: 0em;
}

.order-form-container input, 
.order-form-container select, 
.order-form-container textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}
.order-form-container h2 {
    text-align: center;
    color: white;
    margin-bottom: 5px;
}

/* Кнопка добавить */
.add-more-wrapper {
    text-align: center;
    margin: 25px 0;
    padding: 15px;
    border-radius: 8px;
}

.add-more-wrapper span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.btn-price {
    text-align: center;
    background: var(--form-blue);
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-price:hover { 
    background: #003661; 
    color:black;
}

/* Контактная сетка */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-footer {
    text-align: center;
}

.btn-submit {
    background: var(--color-orange) !important;
    width: auto !important; /* Не на всю ширину */
    min-width: 220px;
    color: white;
    border: none;
    padding: 12px 35px !important;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--color-orange-hover) !important;
}
/* Убираем затемнение при наведении (п.6) */
.glass-panel2:hover {
    transform: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
/* Отступ контактных полей от кнопки (п.3) */
.contact-details {
    margin-bottom: 30px;
}

/* Адаптив */
@media (max-width: 768px) {
    .item-row-top, .contact-grid {
        grid-template-columns: 1fr;
    }
}



/* Кнопка удаления */
.order-item { position: relative; }

.remove-item-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 10px;
    height: 10px;
    padding: 20px;
    background: #ff4d4d;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 10;
    transition: background 0.2s;
}

.remove-item-btn:hover { background: #cc0000; }

/* Стили Окна Спасибо */
.thank-you-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.thank-you-modal {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* Анимация зеленой галочки */
.success-checkmark {
    width: 80px;
    height: 115px;
    margin: 0 auto;
}

.check-icon {
    width: 80px;
    height: 80px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #4CAF50;
}

.check-icon::before {
    top: 3px; left: -2px; width: 30px; transform-origin: 100% 50%; border-radius: 100px 0 0 100px;
}

.check-icon::after {
    top: 0; left: 30px; width: 60px; transform-origin: 0 50%; border-radius: 0 100px 100px 0; animation: rotatePlaceholder 4.25s ease-in;
}

.icon-line {
    height: 5px; background-color: #4CAF50; display: block; border-radius: 2px; position: absolute; z-index: 10;
}

.line-tip { top: 46px; left: 14px; width: 25px; transform: rotate(45deg); animation: icon-line-tip 0.75s; }
.line-long { top: 38px; right: 8px; width: 47px; transform: rotate(-45deg); animation: icon-line-long 0.75s; }

@keyframes icon-line-tip {
    0% { width: 0; left: 1px; top: 19px; }
    54% { width: 0; left: 1px; top: 19px; }
    70% { width: 50px; left: -8px; top: 37px; }
    84% { width: 17px; left: 21px; top: 48px; }
    100% { width: 25px; left: 14px; top: 46px; }
}

@keyframes icon-line-long {
    0% { width: 0; right: 46px; top: 54px; }
    65% { width: 0; right: 46px; top: 54px; }
    84% { width: 55px; right: 0px; top: 35px; }
    100% { width: 47px; right: 8px; top: 38px; }
}



/* Стили для нового подзаголовка */
.category-subtitle {
    font-size: 0.95rem;
    color: var(--color-text);
    background: #f0f4f8; /* Легкий серый фон, чтобы выделить параметр */
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: lowercase; /* Придает более технический/инженерный вид */
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

/* Иконка или псевдоэлемент перед шириной (по желанию) */
.category-subtitle::before {
    content: "↔ ";
    font-weight: bold;
    color: var(--color-blue);
}








/* Контейнер секции */
.seo-faq-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: sans-serif;
}

.faq-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

/* Стили карточек (Glassmorphism) */
.faq-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item[open] {
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Вопрос */
.faq-question {
    padding: 18px 25px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: #2c3e50;
    outline: none;
}

/* Иконка стрелочки */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

/* Ответ */
.faq-answer {
    padding: 0 25px 20px;
    line-height: 1.6;
    color: #555;
    font-size: 15px;
}

/* Адаптивность для мобильных */
@media (max-width: 600px) {
    .faq-question {
        padding: 15px 40px 15px 15px;
        font-size: 16px;
    }
    .faq-question::after {
        right: 15px;
    }
    .faq-answer {
        padding: 0 15px 15px;
    }
}



/* =========================================
   ГЛАССМОРФИЗМ КАРТОЧКИ (Общий класс)
   ========================================= */
.glass-card-advantages {
    background: white;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.1);
}

/* =========================================
   3. КАТАЛОГ & 6. ПРЕИМУЩЕСТВА & 8. FAQ
   ========================================= */
.catalog-grid, .advantages-grid, .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.card-link:hover {
    text-decoration: underline;
}

/* =========================================
   АДАПТИВНОСТЬ (Mobile)
   ========================================= */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .advantages-section h2 {
        font-size: 24px !important;
        word-break: keep-all !important;
        overflow-wrap: break-word;
        letter-spacing: 0;
    }
    
    .hero-content {
        padding-right: 0;
    }

    .specs-table td {
        text-align: left;
    }

    .hero-image-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 80%;
        margin: 2rem auto 0;
    }
}

@media (max-width: 600px) {
    .page-wrapper {
        padding: 1rem;
    }
    
    .catalog-grid, .advantages-grid, .faq-grid, .ral-grid {
        grid-template-columns: 1fr;
    }
}



/* Базовые сбросы и шрифты */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f9f9f9;
}

h1, h2, h3 {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1a2a3a;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.section-title {
    text-align: center;
    margin: 60px 0 40px;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #ff6b00; /* Оранжевый акцент */
    margin: 10px auto 0;
}

/* 1. Первый экран */

.hero-content h1 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 20px;
}

.definition {
    font-size: 1.2rem;
    max-width: 800px;
    opacity: 0.9;
}

/* Характеристики */
.specs-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.specs-table {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.table-wrapper .row {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #eeeeee;
}

.table-wrapper .row span:first-child {
    font-weight: bold;
    color: #555;
}

.specs-image {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
}

.specs-image img {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.specs-image img:hover {
    transform: scale(1.05);
}

.caption {
    margin-top: 15px;
    font-style: italic;
    color: #777;
}

/* 2. Виды профилей */
.profiles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 25px;
}

.profile-roof {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 25px;
}

.profile-card {
    background: #ffffff;
    border-top: 5px solid #ff6b00;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.profile-img-placeholder {
    height: 200px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-img-placeholder-roof {
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-img-placeholder img {
    width: 100%;
    object-fit: cover;
}

/* Плейсхолдеры для ваших блоков */
.content-box {
    background: #fff;
    border: 1px dashed #ccc;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

/* Адаптивность для мобильных */
@media (max-width: 992px) {
    .specs-grid, .profiles-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {

    .specs-table h2 {
    font-size: 1.6666666666667rem;
    }
    .hero-section {
        padding: 20px;
    }
    
    .hero-content h1 {
        font-size: 30px !important;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}




:root {
    --dark-bg: #1a252f; /* Темный серо-синий */
    --accent-color: #0056b3;
    --glass-bg: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.15);
}

.hero-section {
    /* background: radial-gradient(circle at top left, #2c3e50, var(--dark-bg)); 
    min-height: 100vh; */
    display: flex;
    align-items: center; 
    /* padding: 80px 5%; */
    overflow: hidden;
    min-height: 400px;
    color: #ffffff;
    font-family: 'Segoe UI', Roboto, sans-serif;
    padding: 40px 0 40px 0;
    border-radius: 12px;
    margin-bottom: 40px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

/* Контентная часть */
.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.definition {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin-bottom: 30px;
}

/* Визуальная часть и метки */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.panel-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
}

.panel-img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

/* Стили меток (Hotspots) */
.marker-razrez-sp {
    position: absolute;
    display: flex;
    align-items: center;
    z-index: 2;
}

.marker-label {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-left: 15px;
    white-space: nowrap;
    opacity: 0.9;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Адаптация под мобильные устройства */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-top: 50px;
    }

    .definition {
        margin: 0 auto 30px;
    }

    .marker-label {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .marker-label {
        display: none; /* Скрываем текст на очень узких экранах, оставляя точки, или меняем логику */
    }
    
    .hero-section {
        /*padding: 40px 20px;*/
    }
}




/* Контейнер блока */
.lock-visual-block {
    padding: 20px;
    background-color: #ffffff;
}

/* Карточка с мягкой тенью для эффекта объема на белом фоне */
.lock-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid #f0f0f0;
}

.lock-card:hover {
    transform: translateY(-5px);
}

/* Контейнер изображения с относительным позиционированием для маркеров */
.lock-image-container {
    position: relative;
    width: 100%;
    line-height: 0; /* Убираем лишние отступы под фото */
}

.lock-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Стили маркеров */
.marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff6b00;
    border: 4px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
    z-index: 2;
}

/* Анимация пульсации маркера */
.marker::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Позиционирование маркеров на фото (подстройте под ваш рендер) */
.m-top { top: 15%; left: 50%; }
.m-center { top: 50%; left: 55%; }
.m-bottom { bottom: 15%; left: 50%; }

/* Подсказки при наведении */
.marker::after {
    content: attr(data-label);
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a2a3a;
    color: #fff;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.marker:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 35px;
}

/* Текстовая подпись под фото */
.lock-info {
    padding: 25px;
    text-align: center;
}

.lock-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #1a2a3a;
}

.lock-info p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* Адаптация для мобильных */
@media (max-width: 600px) {
    .marker::after {
        display: none; /* Скрываем подсказки на мобильных для чистоты */
    }
    
    .lock-info {
        padding: 20px 15px;
    }
}


/*ТАБЛИЦА СРАВНЕНИЯ ВЕСОВ ПАНЕЛЕЙ ДЛЯ КАРТОЧЕК*/
/* --- Секция сравнения веса --- */
.weight-comparison {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.section-subtitle {
    font-size: 14px;
    color: #888;
    margin: -15px 0 25px 0;
}

/* Обертка для прокрутки на мобилках */
.table-wrapper {
    width: 100%;
    overflow-x: auto; /* Позволяет листать таблицу вбок, если она не влезает */
    -webkit-overflow-scrolling: touch;
}

.weight-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px; /* Чтобы таблица не сжималась в кашу на узких экранах */
    margin-bottom: 20px;
}

.weight-table th {
    background-color: #f8f9fa;
    color: #333;
    font-weight: 700;
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #005b9f; /* Фирменный синий */
}

.weight-table td {
    padding: 14px 15px;
    font-size: 15px;
}

/* Цвета колонок для наглядности */
.col-mw { border-left: 4px solid #005b9f; }
.col-pps { border-left: 4px solid #e65c00; } /* Оранжевый акцент */

/* Стиль для текущего варианта (100мм Минвата) */
.current-variant {
    background-color: #fcfcfc;
}


.active-cell {
    position: relative;
    background-color: #fff4ed; /* Очень легкий оранжевый фон */
    color: #e65c00;            /* Акцентный цвет текста */
    font-weight: 800;
    font-size: 18px;
    border: 2px solid #e65c00; /* Яркая рамка вокруг значения */
    box-shadow: 0 0 10px rgba(230, 92, 0, 0.1); /* Мягкое свечение */
}

.current-label {
    display: inline-block;
    background: #e65c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    margin-left: 8px;
    vertical-align: middle;
}

.weight-info {
    padding: 15px;
    background-color: #f0f4f8;
    border-radius: 4px;
    font-size: 14px;
    color: #444;
}

/* Адаптив: на мобильных немного уменьшаем шрифты */
@media (max-width: 600px) {
    .weight-comparison {
        padding: 20px;
    }
    
    .weight-table td, .weight-table th {
        padding: 10px;
    }
    
    .active-cell {
        font-size: 16px;
    }
}

/*преимущества СП для карточек*/
/* Внешняя обертка ДЛЯ ФОНА НА ВСЮ ШИРИНУ */
/* Внутренний контейнер (соответствует ширине Astra) */
.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px;
}

.advantages-container h2 {
    text-align: center;
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 40px;
    position: relative;
}

/* Линия под заголовком для стиля */
.advantages-container h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #005b9f; /* Синий акцент */
    margin: 10px auto 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Эффект при наведении */
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 91, 159, 0.1);
    border-color: #005b9f;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background-color: #eef4fa;
    color: #005b9f;
    padding: 12px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Для ППС варианта можно сменить цвет иконки на оранжевый */
.advantage-item.pps-only .advantage-icon {
    background-color: #fff4ed;
    color: #e65c00;
}

.advantage-item h3 {
    font-size: 19px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.advantage-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Адаптив под мобильные */
@media (max-width: 768px) {
    .advantages-full-width {
        padding: 40px 0;
    }
    
    .advantages-container h2 {
        font-size: 24px;
    }

    .advantage-item {
        padding: 30px 20px;
    }
}

/*БЛОК "ВАМ МОЖЕТ ТАК ЖЕ ПОНАДОБИТЬСЯ" ДЛЯ КАРТОЧЕК*/

.related-products {
    width: 100%;
    padding: 60px 0;
    background-color: #ffffff;
    margin-top: 40px;
}

.related-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-products h2 {
    font-size: 26px;
    color: #1a1a1a;
    margin-bottom: 35px;
    text-align: left;
    border-left: 5px solid #005b9f; /* Синий акцент */
    padding-left: 15px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопе */
    gap: 25px;
}

/* Карточка как ссылка */
.related-card {
    text-decoration: none;
    color: inherit;
    background: #fbfcfd;
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #005b9f;
}

.related-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #eee;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-image img {
    transform: scale(1.05); /* Легкое увеличение фото при наведении */
}

.related-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.related-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.related-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.4;
    flex-grow: 1;
}

/* Стилизованная ссылка внутри карточки */
.related-link {
    font-size: 14px;
    font-weight: 700;
    color: #005b9f;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
}

.related-link::after {
    content: ' →';
    margin-left: 5px;
    transition: margin-left 0.2s;
}

.related-card:hover .related-link::after {
    margin-left: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
    }
}

@media (max-width: 600px) {
    .related-grid {
        grid-template-columns: 1fr; /* 1 колонка на мобильных */
    }
    
    .related-image {
        height: 200px;
    }

    .related-products h2 {
        font-size: 22px;
    }
}
/*КОНЕЦ БЛОКА "ВАМ МОЖЕТ ТАК ЖЕ ПОНАДОБИТЬСЯ" ДЛЯ КАРТОЧЕК*/

/*БЛОК ПОСТАВЩИКИ В КАРТОЧКАХ ТОВАРА*/

.partners-section {
    padding: 60px 0;
    background-color: #ffffff; /* Белый фон, чтобы не перегружать страницу */
    border-top: 1px solid #eee;
}

.partners-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.partners-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.partners-subtitle {
    font-size: 15px;
    color: #777;
    margin-bottom: 40px;
}

.partners-grid {
    display: grid;
    /* Создаем 5 колонок равной ширины */
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.partner-item img {
    max-width: 140px; /* Ограничиваем ширину, чтобы логотипы были в одном стиле */
    height: auto;
    filter: grayscale(100%); /* Делаем логотипы черно-белыми */
    opacity: 0.6;           /* Делаем их полупрозрачными */
    transition: all 0.4s ease;
}

/* Эффект при наведении на конкретный логотип */
.partner-item:hover img {
    filter: grayscale(0%); /* Возвращаем цвет */
    opacity: 1;            /* Убираем прозрачность */
}

.partner-item:hover {
    transform: translateY(-3px);
}

/* --- Адаптивность --- */

@media (max-width: 992px) {
    .partners-grid {
        /* На планшетах 3 в ряд (2 перейдут на вторую строку) */
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .partners-grid {
        /* На мобильных 2 в ряд для компактности */
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .partners-title {
        font-size: 20px;
    }
    
    .partner-item img {
        max-width: 110px;
    }
}
/*КОНЕЦ БЛОКА ПОСТАВЩИКИ В КАРТОЧКАХ ТОВАРА*/

/*СТРАНИЦА ПОЛИТИКА COOKIE*/
 .ts-cookie-wrapper {
        background-color: #ffffff; /* Чистый белый фон как вы просили */
        color: #333333;
        font-family: Arial, sans-serif;
        line-height: 1.6;
        padding: 40px 10px;
    }

    .ts-cookie-container {
        max-width: 900px;
        margin: 0 auto;
    }

    .ts-cookie-main-title {
        font-size: 32px;
        color: #2c3e50;
        margin-bottom: 30px;
        padding-bottom: 15px;
        border-bottom: 3px solid #3498db; /* Деловой синий акцент */
    }

    .ts-cookie-h2 {
        font-size: 20px;
        color: #2c3e50;
        margin-top: 40px;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 1px;
        border-left: 5px solid #3498db;
        padding-left: 15px;
    }

    .ts-cookie-h3 {
        font-size: 18px;
        color: #3498db;
        margin: 20px 0 10px 0;
    }

    .ts-cookie-alert {
        background: #f9f9f9;
        border: 1px solid #e0e0e0;
        padding: 20px;
        margin-bottom: 25px;
        font-style: italic;
    }

    .ts-cookie-definition {
        margin-bottom: 15px;
        padding: 10px 0;
    }

    .ts-cookie-term {
        font-weight: bold;
        color: #000;
        text-decoration: underline;
        text-underline-offset: 4px;
    }

    .ts-cookie-list {
        margin: 15px 0;
        padding-left: 25px;
    }

    .ts-cookie-list li {
        margin-bottom: 10px;
    }

    .ts-cookie-type {
        margin-bottom: 25px;
        padding-bottom: 15px;
        border-bottom: 1px dashed #eee;
    }

    .ts-cookie-wrapper a {
        color: #3498db;
        text-decoration: none;
    }

    .ts-cookie-wrapper a:hover {
        text-decoration: underline;
    }

    .ts-cookie-final {
        margin-top: 50px;
        padding: 25px;
        background: #f4f7f9;
        border-radius: 4px;
    }

    /* Адаптация под мобильные устройства */
    @media screen and (max-width: 768px) {
        .ts-cookie-wrapper {
            padding: 20px 10px;
        }
        .ts-cookie-main-title {
            font-size: 24px;
        }
        .ts-cookie-h2 {
            font-size: 18px;
        }
        .ts-cookie-container {
            width: 100%;
        }
    }
/*КОНЕЦ СТРАНИЦЫ ПОЛИТИКА COOKIE*/

/*СТРАНИЦА СЕРТИФИКАТОВ*/

/* Общая обертка секции */
.ts-cert-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.ts-cert-section-wrapper *, 
.ts-cert-section-wrapper *::before, 
.ts-cert-section-wrapper *::after {
    box-sizing: border-box;
}

/* Фирменный блок заголовка */
.ts-cert-header-group {
    margin-bottom: 30px;
    border-left: 4px solid #004B87;
    padding-left: 15px;
    text-align: left;
}

.ts-cert-main-title {
    margin: 0 0 5px 0 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2C3338 !important;
    line-height: 1.2 !important;
}

.ts-cert-sub-title {
    font-size: 14px;
    color: #555555;
    background: #eef3f7;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Сетка на CSS Grid */
.ts-cert-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточки с эффектом глассморфизма */
.ts-cert-card-item.ts-cert-glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.ts-cert-card-item.ts-cert-glass-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Превью изображения */
.ts-cert-img-preview {
    position: relative;
    width: 100%;
    height: 340px;
    background: #e9eef2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid #e1e8ed;
}

.ts-cert-img-preview img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

/* Ховер эффект синего перекрытия */
.ts-cert-hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 75, 135, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.ts-cert-hover-overlay span {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border: 2px solid #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
}

.ts-cert-card-item:hover .ts-cert-hover-overlay { opacity: 1; }
.ts-cert-card-item:hover .ts-cert-img-preview img { transform: scale(1.03); }

/* Контентная часть */
.ts-cert-text-block {
    padding: 20px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

/* ИСПРАВЛЕНИЕ ПРОБЛЕМЫ 2: Фиксированная высота для выравнивания */
.ts-cert-item-title {
    margin: 0 0 10px 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #2C3338 !important;
    min-height: 44px !important; /* Насильно держит высоту для 2 строк */
}

.ts-cert-item-descr {
    margin: 0 !important;
    font-size: 13px !important;
    color: #555555 !important;
    line-height: 1.5 !important;
}

/* ИСПРАВЛЕНИЕ ПРОБЛЕМЫ 3: Жесткое выравнивание текста и иконки на кнопке */
.ts-cert-btn-down {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    background: #004B87 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 14px 15px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    transition: background 0.2s ease !important;
    border-top: 1px solid rgba(0,0,0,0.05) !important;
    white-space: nowrap !important; /* Запрещаем тексту переноситься вниз */
    line-height: 1 !important; /* Убираем межстрочные отступы темы */
    height: 48px !important; /* Фиксируем высоту кнопки */
}

.ts-cert-btn-down:hover {
    background: #003661 !important;
}

.ts-cert-icon-pdf {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
    display: inline-block !important;
    flex-shrink: 0 !important; /* Запрещаем иконке сжиматься */
    margin: 0 !important; /* Сброс отступов темы */
}

/* Уничтожение скрытых тегов, генерируемых движком WordPress */
.ts-cert-card-item br,
.ts-cert-card-item p:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.ts-cert-text-block br {
    display: none !important;
}

/* Буферный контейнер для скрытых страниц */
.ts-cert-hidden-wp-buffer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ==========================================
   АДАПТИВНОСТЬ (MEDIA)
   ========================================== */

@media (max-width: 992px) {
    .ts-cert-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .ts-cert-img-preview {
        height: 300px;
    }
    .ts-cert-item-title {
        min-height: auto; /* На мобильных выравнивание по строкам отключаем */
    }
}

@media (max-width: 640px) {
    .ts-cert-main-title {
        font-size: 24px !important;
    }
    .ts-cert-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .ts-cert-img-preview {
        height: 320px;
    }
}


/*СТРАНИЦА ПРОИЗВОДСТВО*/
/* Базовая обертка секции производства */
.ts-prod-section-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    box-sizing: border-box;
}

.ts-prod-section-wrapper *, 
.ts-prod-section-wrapper *::before, 
.ts-prod-section-wrapper *::after {
    box-sizing: border-box;
}

/* Фирменный блок заголовка */
.ts-prod-header-group {
    margin-bottom: 30px;
    border-left: 4px solid #004B87; /* Фирменный синий */
    padding-left: 15px;
    text-align: left;
}

.ts-prod-main-title {
    margin: 0 0 5px 0 !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #2C3338 !important;
    line-height: 1.2 !important;
}

.ts-prod-sub-title {
    font-size: 14px;
    color: #555555;
    background: #eef3f7;
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* БЛОК ДЛЯ ВИДЕО ПЛЕЕРА */
.ts-prod-video-container {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 8px;
    overflow: hidden;
}

.ts-prod-video-poster {
    position: relative;
    width: 100%;
    height: 480px;
    background: #2C3338;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.ts-prod-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.ts-prod-play-button {
    position: absolute;
    width: 80px;
    height: 80px;
    background: #F37021; /* Фирменный оранжевый */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.4);
    z-index: 3;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.3s ease;
}

.ts-prod-play-button svg {
    width: 32px;
    height: 32px;
    fill: #ffffff;
    margin-left: 4px;
}

.ts-prod-video-overlay {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 25px;
    text-align: left;
    z-index: 2;
}

.ts-prod-video-overlay span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ts-prod-video-container:hover .ts-prod-video-poster img {
    transform: scale(1.02);
    opacity: 0.7;
}

.ts-prod-video-container:hover .ts-prod-play-button {
    transform: scale(1.1);
    background: #d45911;
}


/* СЕТКА С ФОТОГРАФИЯМИ */
.ts-prod-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Карточки Глассморфизм */
.ts-prod-card-item.ts-prod-glass-effect {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s ease;
}

.ts-prod-card-item.ts-prod-glass-effect:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Превью картинок */
.ts-prod-img-preview {
    position: relative;
    width: 100%;
    height: 260px; /* Слегка увеличили высоту, так как текста снизу больше нет */
    background: #e9eef2;
    overflow: hidden;
    display: block;
}

.ts-prod-img-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Синий ховер-слой на фото */
.ts-prod-hover-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 75, 135, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.ts-prod-hover-overlay span {
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    border: 2px solid #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
}

.ts-prod-card-item:hover .ts-prod-hover-overlay { opacity: 1; }
.ts-prod-card-item:hover .ts-prod-img-preview img { transform: scale(1.05); }

/* Защита от мусорных тегов WP */
.ts-prod-section-wrapper br,
.ts-prod-section-wrapper p:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
}


/* ==========================================
   АДАПТИВНОСТЬ ПОД МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================== */

@media (max-width: 1024px) {
    .ts-prod-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .ts-prod-video-poster {
        height: 380px;
    }
    .ts-prod-img-preview {
        height: 240px;
    }
}

@media (max-width: 640px) {
    .ts-prod-main-title {
        font-size: 24px !important;
    }
    .ts-prod-video-poster {
        height: 240px;
    }
    .ts-prod-play-button {
        width: 60px;
        height: 60px;
    }
    .ts-prod-play-button svg {
        width: 24px;
        height: 24px;
    }
    .ts-prod-video-overlay span {
        font-size: 14px;
    }
    .ts-prod-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .ts-prod-img-preview {
        height: 220px;
    }
}


/*ЗАГЛУШКА ДЛЯ СТРАНИЦЫ В РАЗРАБОТКЕ*/

/* Общие стили для центрирования */
        .coming-soon-container {
            margin: 0;
            padding: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 80vh; /* Занимает почти всю высоту экрана */
            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background-color: #0b0f19;
            color: #ffffff;
            overflow: hidden;
            position: relative;
            border-radius: 16px; /* Если вставляете как блок внутри страницы */
        }

        /* Анимированный фоновый декор */
        .coming-soon-container::before,
        .coming-soon-container::after {
            content: "";
            position: absolute;
            border-radius: 50%;
            filter: blur(80px);
            opacity: 0.15;
            z-index: 1;
            animation: float-bg 8s infinite alternate ease-in-out;
        }

        .coming-soon-container::before {
            width: 300px;
            height: 300px;
            background: #4f46e5; /* Фиолетовое свечение */
            top: -50px;
            left: -50px;
        }

        .coming-soon-container::after {
            width: 250px;
            height: 250px;
            background: #06b6d4; /* Бирюзовое свечение */
            bottom: -50px;
            right: -50px;
            animation-delay: -4s;
        }

        /* Контентный блок */
        .cs-content {
            text-align: center;
            position: relative;
            z-index: 2;
            max-width: 500px;
            animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        }

        /* Анимированная иконка шестеренки/загрузки */
        .cs-icon-box {
            margin-bottom: 24px;
            display: inline-block;
            position: relative;
        }

        .cs-icon {
            width: 64px;
            height: 64px;
            border: 4px solid rgba(255, 255, 255, 0.1);
            border-left-color: #4f46e5;
            border-radius: 50%;
            animation: spin 1.5s linear infinite;
        }

        /* Заголовок с градиентом */
        .cs-title {
            font-size: 2.5rem;
            font-weight: 800;
            margin: 0 0 16px 0;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #ffffff 30%, #a5b4fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        /* Текст описания */
        .cs-description {
            font-size: 1.1rem;
            line-height: 1.6;
            color: #94a3b8;
            margin: 0 0 32px 0;
        }

        /* Индикатор прогресса (визуальный эффект) */
        .cs-progress-bar {
            width: 100%;
            height: 6px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 10px;
            overflow: hidden;
            position: relative;
        }

        .cs-progress-line {
            height: 100%;
            width: 70%; /* Имитация прогресса */
            background: linear-gradient(90deg, #4f46e5, #06b6d4);
            border-radius: 10px;
            position: relative;
            animation: progressPulse 2s infinite ease-in-out;
        }

        /* Ключевые кадры для анимаций */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        @keyframes fadeInUp {
            0% {
                opacity: 0;
                transform: translateY(30px);
            }
            100% {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes float-bg {
            0% { transform: translate(0, 0) scale(1); }
            100% { transform: translate(30px, 20px) scale(1.15); }
        }

        @keyframes progressPulse {
            0%, 100% { opacity: 0.8; }
            50% { opacity: 1; filter: drop-shadow(0 0 5px #06b6d4); }
        }

        /* Адаптивность для мобильных */
        @media (max-width: 480px) {
            .cs-title { font-size: 2rem; }
            .cs-description { font-size: 1rem; }
        }


        /*СТИЛЬ УВЕДОМЛЕНИЯ О ИСПОЛЬЗОВАНИИ КУКОВ*/
        /* Контейнер уведомления */
.cookie-notice-container {
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Текст */
.cookie-notice-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #333333;
}

.cookie-notice-content a {
    color: #0073aa;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.cookie-notice-content a:hover {
    color: #005177;
}

/* Кнопка */
.cookie-btn {
    display: inline-block;
    background-color: #ff7300;
    color: #ffffff;
    border: none;
    padding: 5px 12px;
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.cookie-btn:hover {
    background-color: #444444;
}

.cookie-btn:active {
    transform: scale(0.98);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
    .cookie-notice-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
    }
    
    .cookie-notice-actions {
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}





/* ==========================================================================
   ОСНОВНЫЕ СТИЛИ (ПК ВЕРСИЯ — ВСЁ ПО ЦЕНТРУ)
   ========================================================================== */

.ts-hero-section {
    position: relative;
    /*min-height: 80vh;*/
    display: flex;
    align-items: center;
    justify-content: center; /* Центрируем контейнер по горизонтали */ 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    
    /* РЕШЕНИЕ ПРОБЛЕМЫ С МЕНЮ: 
       Добавляем верхний отступ, равный высоте вашей шапки сайта (например, 90px).
       Благодаря этому блок опустится ниже меню и не будет под него залезать. */
    padding: 130px 0 80px 0; 
    box-sizing: border-box;
}

/* Затемнение/осветление фонового рисунка для баланса оранжевого фона */
.ts-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ts-hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 2;
    padding: 80px 20px 0px 20px;
}

/* Выравнивание всего текстового контента по центру на ПК */
.ts-hero-content {
    /*max-width: 850px;*/

    margin: 0 auto;
    text-align: center; 
}

/* Надзаголовок: изменен цвет для контраста с оранжевым + добавлено нижнее подчеркивание на ПК */
.ts-hero-badge {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff; /* Белый цвет вместо оранжевого, чтобы читался на оранжевом фоне */
    margin-bottom: 25px;
    border-bottom: 2px solid #ffffff; /* Нижнее подчеркивание как на мобилке */
    padding-bottom: 6px;
}

/* Главный заголовок H1 */
.ts-hero-title {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* СТИЛЬ ОБВОДКИ для слов "сэндвич-панелей" */
.ts-hero-title .ts-stroke-text {
    color: transparent; /* Делаем тело букв прозрачным */
    background: none;
    /* Создаем четкую белую обводку текста */
    -webkit-text-stroke: 2px #ffffff; 
}

/* Описание */
.ts-hero-description {
    font-size: 19px;
    font-weight: 500;
    line-height: 1.6;
    color: #f1f5f9; /* Очень светлый, почти белый цвет текста */
    margin: 0 0 40px 0;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* Центрируем кнопку */
.ts-hero-actions {
    display: flex;
    justify-content: center;
}

/* Переделанная кнопка-вызыватель (без тега ссылки) */
.ts-hero-btn {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    outline: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff; /* Контрастный белый цвет кнопки на оранжевом фоне */
    color: #ff6b00; /* Текст оранжевый */
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ts-hero-btn-arrow {
    width: 20px;
    height: 20px;
    fill: none;
    transition: transform 0.3s ease;
}

/* Поведение кнопки при наведении */
.ts-hero-btn:hover {
    background-color: #f8fafc;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transform: translateY(-2px);
}

.ts-hero-btn:hover .ts-hero-btn-arrow {
    transform: translateX(4px);
}

.ts-hero-btn:active {
    transform: translateY(0);
}

/* ==========================================================================
   АДАПТИВНОСТЬ И ФИКС ПЕРЕНОСА БУКВ ДЛЯ МОБИЛЬНЫХ
   ========================================================================== */

@media (max-width: 992px) {
    .ts-hero-title {
        font-size: 42px;
    }
    .ts-hero-overlay {
        background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    }
}

@media (max-width: 768px) {
    .ts-hero-section {
        /* Корректируем отступ под мобильное меню (обычно оно чуть меньше, например 70px) */
        padding: 80px 0 60px 0; 
        border-radius: 20px;
    }
    .ts-hero-overlay {
        background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    }

    /* РЕШЕНИЕ ПРОБЛЕМЫ ПЕРЕНОСА БУКВ:
       1. Уменьшаем размер шрифта до безопасного для смартфонов.
       2. Принудительно отключаем гиперенты и разрывы слов (word-break). Текст гарантированно перенесется целым словом. */
    .ts-hero-title {
        font-size: 28px !important; /* Уменьшенный адаптивный размер */
        line-height: 1.3;
        word-break: keep-all !important; /* Запрет разрыва слов по буквам */
        overflow-wrap: break-word;
        letter-spacing: 0;
    }

    /* Делаем обводку на мобильном чуть тоньше (1.5px вместо 2px), чтобы буквы не сливались при меньшем размере */
    .ts-hero-title .ts-stroke-text {
        -webkit-text-stroke: 0px;
        color: #ffffff;
    }

    .ts-hero-br {
        display: none; /* Отключаем жесткий перенос строк из HTML */
    }

    .ts-hero-description {
        font-size: 16px;
    }

    .ts-hero-btn {
        width: 100%; /* Кнопка на весь экран телефона */
    }
}

/* Дополнительный фикс для совсем маленьких экранов (iPhone SE и т.д.) */
@media (max-width: 380px) {
    .ts-hero-title {
        font-size: 24px !important;
    }
}
/*ГАЛЕРЕЯ*/

/* Базовые сбросы для секции */
.ts-obj-section {
    padding: 60px 0;
    background-color: #f8fafc; /* Светлый нейтральный фон */
    box-sizing: border-box;
}

.ts-obj-section *,
.ts-obj-section *::before,
.ts-obj-section *::after {
    box-sizing: border-box;
}

/* Ограничитель ширины */
.ts-obj-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Оформление заголовка блока */
.ts-obj-header {
    margin-bottom: 40px;
    text-align: left;
}

.ts-obj-header h2 {
    font-family: 'Segoe UI', Roboto, sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ts-obj-divider {
    width: 60px;
    height: 4px;
    background-color: #ff6b00; /* Промышленный оранжевый акцент */
    border-radius: 2px;
}

