@import url('fonts.css');

/* CLT Theme - Основные стили */
:root {
    --accent-dark: #26201d;
    --accent-gray: #79797b;
    --light-gray: #f8f9fa;
}

body {
    font-family: 'Evolventa', system-ui, sans-serif;
    background-color: #fff;
    color: #333;
    padding-top: 76px; /* Высота фиксированной навигации */
}

/* Навигация */
.navbar-clt {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    max-width: 125px;
    height: auto;
}

/* Кнопки */
.btn-clt-primary {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
    border-radius: 0;
}

.btn-clt-primary:hover {
    background-color: #3a312d;
    border-color: #3a312d;
    color: white;
}

.btn-clt-secondary {
    background-color: var(--accent-gray);
    border-color: var(--accent-gray);
    color: white;
    border-radius: 0;
}

.btn-clt-secondary:hover {
    background-color: #8a8a8c;
    border-color: #8a8a8c;
    color: white;
}

/* Секции */
.section-padding {
    padding: 50px 0;
}

.bg-light-custom {
    background-color: var(--light-gray);
}

.text-accent {
    color: var(--accent-dark);
}

.picfirst {
  position: relative;
  display: inline-block;
}

.picfirst img {
  width: 30%;
  height: auto;
  display: block;
}

.picfirst::after {
  content: '';
      content: '';
    display: block;
    align-items: stretch;
    width: 30%;
  height: 30px;
  background-color: #26201d;
  margin-top: -1px;
  border-radius: 20px; /* Скругляем все углы */
  margin-top: -30px;
}

#idtelegram.btn-group-sm>.btn, .btn-sm {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
}

/* Ограничиваем ширину контейнера с кнопками */
.buttons-container {
    max-width: 600px; /* Подберите значение, равное ширине вашего контента */
    margin: 0 auto;
    width: 100%;
}


/* ===== СТИЛИ ДЛЯ СПИСКА CLT-ПАНЕЛЕЙ ===== */

/* Контейнер списка */
.clt-features-list {
    margin: 2rem 0;
    padding: 0;
}

/* Элемент списка */
.clt-list-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 25px;
    list-style: none;
    counter-increment: clt-counter;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    padding-top: 5px;
    padding-bottom: 5px;
}

.clt-list-item:hover {
    border-left-color: var(--accent-dark);
    padding-left: 55px;
}

/* Номер элемента (круг) */
.clt-list-item::before {
    content: counter(clt-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 36px;
    height: 36px;
    background: var(--accent-dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.clt-list-item:hover::before {
    transform: scale(1.1);
    background: #3a312d;
}

/* Заголовок элемента */
.clt-list-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Иконка возле заголовка */
.clt-list-icon {
    color: var(--accent-gray);
    font-size: 1.2rem;
}

/* Описание элемента */
.clt-list-desc {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Альтернативный вариант - с иконками вместо номеров */
.clt-list-icons .clt-list-item::before {
    content: '';
    background: var(--accent-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M10.97 4.97a.75.75 0 0 1 1.07 1.05l-3.99 4.99a.75.75 0 0 1-1.08.02L4.324 8.384a.75.75 0 1 1 1.06-1.06l2.094 2.093 3.473-4.425a.267.267 0 0 1 .02-.022z'/%3E%3C/svg%3E") center no-repeat;
    background-size: 16px;
}

/* Вариант для фактов/статистики */
.clt-stats-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: stats-counter;
}

.clt-stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.clt-stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent-gray));
}

.clt-stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.clt-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-dark);
    margin-bottom: 10px;
    line-height: 1;
}

.clt-stat-label {
    font-size: 1.1rem;
    color: var(--accent-gray);
    font-weight: 600;
    margin-bottom: 15px;
}

.clt-stat-desc {
    color: #666;
    font-size: 0.95rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .clt-list-item {
        padding-left: 45px;
        margin-bottom: 20px;
    }
    
    .clt-list-item::before {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .clt-list-title {
        font-size: 1.1rem;
    }
    
    .clt-stats-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .clt-stat-number {
        font-size: 2rem;
    }
}


.gallery2-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery2-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    background: #fff;
}

.gallery2-track {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.gallery2-slide {
    flex: 0 0 25%; /* По умолчанию 4 фото */
    padding: 15px;
    transition: opacity 0.3s ease;
    box-sizing: border-box;
}

.gallery2-slide img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.gallery2-slide:hover img {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery2-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #dee2e6;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.gallery2-indicator.active {
    background-color: #212121;
    transform: scale(1.3);
}

/* Эффект высветления активных слайдов */
.gallery2-slide {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gallery2-slide.active {
    opacity: 1;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .gallery2-slide {
        flex: 0 0 33.333%;
    }
    
    .gallery2-slide img {
        height: 240px;
    }
}

@media (max-width: 992px) {
    .gallery2-slide {
        flex: 0 0 33.333%;
    }
    
    .gallery2-slide img {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .gallery2-slide {
        flex: 0 0 50%;
    }
    
    .gallery2-slide img {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .gallery2-slide {
        flex: 0 0 100%;
    }
    
    .gallery2-slide img {
        height: 250px;
    }
    
    .gallery2-indicator {
        width: 8px;
        height: 8px;
        margin: 0 4px;
    }
}

/* Эффект градиента по краям */
.gallery2-wrapper::before,
.gallery2-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.gallery2-wrapper::before {
    left: 0;
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(255,255,255,0));
}

.gallery2-wrapper::after {
    right: 0;
    background: linear-gradient(to left, rgba(255,255,255,0.9), rgba(255,255,255,0));
}

@media (max-width: 768px) {
    .gallery2-wrapper::before,
    .gallery2-wrapper::after {
        width: 30px;
    }
}

@media (max-width: 576px) {
    .gallery2-wrapper::before,
    .gallery2-wrapper::after {
        width: 20px;
    }
}





/*Блок 4 Контейнер для заголовка */
/* Основные стили для секции */

.block4-title {
    color: #212121;
    font-size: 2.4rem;
    letter-spacing: 0.01rem;
    line-height: 1.2;
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.block4-title.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Эффект блеска */
.shine-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    opacity: 0;
    transition: left 1.2s ease, opacity 0.6s ease;
}

.title-container:hover .shine-overlay {
    left: 100%;
    opacity: 1;
    transition: left 0.8s ease, opacity 0.4s ease;
}

/* Контейнер для подзаголовка */
.subtitle-container {
    position: relative;
    height: auto;
    margin-top: 2rem;
}

.block4-subtitle-wrapper {
    position: relative;
    max-width: 80%;
    margin-left: auto;
    margin-bottom:2%;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.block4-subtitle-wrapper.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Сам подзаголовок */
.block4-subtitle {
    background-color: #212121 !important;
    color: #ffffff !important;
    border-left: 4px solid #f1c40f;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(33, 33, 33, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.block4-subtitle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 33, 33, 0.3);
}

/* Декоративный элемент для подзаголовка */
.block4-subtitle::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 20px;
    width: 20px;
    height: 20px;
    background-color: #212121;
    transform: rotate(45deg);
    z-index: -1;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .block4-subtitle-wrapper {
        max-width: 25%;
        display: none;
    }
}

@media (max-width: 992px) {
    .block4-title {
        font-size: 2rem;
    }
    
    .block4-subtitle-wrapper {
        max-width: 35%;
        display: none;
    }
}

@media (max-width: 768px) {
    .block4-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }
    
    .block4-subtitle-wrapper {
        max-width: 50%;
        display: none;
    }
    
    .block4-subtitle {
        padding: 1.5rem !important;
    }
}

@media (max-width: 576px) {
    .block4-title {
        font-size: 1.5rem;
    }
    
    .block4-subtitle-wrapper {
        max-width: 100%;
        margin-left: 0;
        display: none;
    }
    
    .title-container {
        text-align: center;
    }
}

/* Анимация появления для текста внутри подзаголовка */
.block4-subtitle p {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease 0.6s, transform 0.5s ease 0.6s;
}

.block4-subtitle-wrapper.animate .block4-subtitle p {
    opacity: 1;
    transform: translateY(0);
}

/* Дополнительные эффекты для контраста */
.title-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #212121, transparent);
    opacity: 0.3;
}

/* Градиентный фон для секции если нужно */
.bg-light-custom {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}



/* Блок этапов работы */
.stages-grid {
    position: relative;
}

.stages-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    position: relative;
}

.stages-col {
    display: flex;
    flex-direction: column;
}

.stage-item {
    position: relative;
    padding: 60px 40px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Градиентные разделители */
.stage-item::before {
    content: '';
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, #828282, transparent);
    opacity: 0.3;
    left: 20px;
    right: 20px;
    top: 0;
}

.stage-item::after {
    content: '';
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, #828282, transparent);
    opacity: 0.3;
    left: 20px;
    right: 20px;
    bottom: 0;
}

/* Боковые разделители для колонок */
.stages-col:first-child .stage-item::before,
.stages-col:first-child .stage-item::after {
    right: 0;
}

.stages-col:last-child .stage-item::before,
.stages-col:last-child .stage-item::after {
    left: 0;
}

/* Убираем верхнюю линию у первых ячеек */
.stages-col:first-child .stage-item:first-child::before,
.stages-col:last-child .stage-item:first-child::before {
    display: none;
}

/* Убираем нижнюю линию у последних ячеек */
.stages-col:first-child .stage-item:last-child::after,
.stages-col:last-child .stage-item:last-child::after {
    display: none;
}

/* Боковые разделители между колонками */
.stages-col:first-child .stage-item {
    border-right: 1px solid transparent;
    position: relative;
}

.stages-col:first-child .stage-item::after {
    content: '';
    position: absolute;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, #828282, transparent);
    opacity: 0.3;
    right: 0;
    top: 0;
    bottom: 0;
    left: auto;
}

/* Номера этапов */
.stage-number {
    font-size: 96px;
    font-weight: 900;
    color: #79797b;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.2;
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 0;
}

.stage-content {
    position: relative;
    z-index: 1;
}

.stage-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-dark);
    margin-bottom: 15px;
}

.stage-text {
    color: #666;
    line-height: 1.6;
    max-width: 90%;
}

/* Особенная ячейка с кнопками */
.stage-highlight {
    background-color: rgba(38, 32, 29, 0.02);
}

.stage-contract-text {
    margin-top: 30px;
}

.stage-contract-text h4 {
    color: var(--accent-dark);
    font-size: 1.3rem;
}

.stage-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.stage-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #666;
}

.stage-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-dark);
    font-weight: bold;
}

/* Кнопки в ячейке */
.stage-highlight .btn {
    border-radius: 0;
    font-weight: 600;
    transition: all 0.3s;
}

.stage-highlight .btn-clt-primary {
    margin-bottom: 10px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .stages-row {
        grid-template-columns: 1fr;
    }
    
    .stage-item {
        padding: 40px 20px;
        min-height: 250px;
    }
    
    .stage-number {
        font-size: 72px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Убираем боковые разделители на мобильных */
    .stages-col:first-child .stage-item::after {
        display: none;
    }
    
    /* Добавляем горизонтальные разделители между ячейками */
    .stage-item::before {
        left: 0;
        right: 0;
    }
    
    .stage-item::after {
        left: 0;
        right: 0;
    }
    
    /* Показываем верхнюю линию у первой ячейки второй колонки */
    .stages-col:last-child .stage-item:first-child::before {
        display: block;
    }
}

@media (max-width: 768px) {
    .stage-item {
        min-height: auto;
        padding: 30px 15px;
    }
    
    .stage-number {
        font-size: 60px;
        position: relative;
        bottom: auto;
        right: auto;
        margin-bottom: 10px;
        opacity: 0.15;
    }
    
    .stage-title {
        font-size: 1.3rem;
    }
    
    .stage-text {
        max-width: 100%;
    }
}



/* Блок контактов */
.contact-info {
    padding-right: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(38, 32, 29, 0.05);
    border-radius: 8px;
    color: var(--accent-dark);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
}

.contact-details h4 {
    color: var(--accent-dark);
}

.contact-details a {
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--accent-dark) !important;
}

/* Блок действия */
.contact-action {
    border: 1px solid rgba(0, 0, 0, 0.1);
}

/* Карта */
.map-container {
    position: relative;
    height: 400px;
}

#yandex-map {
    filter: grayscale(20%) contrast(1.2);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 100;
    max-width: 200px;
}

.map-legend {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.legend-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact-info {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .row.g-5 {
        gap: 30px !important;
    }
    
    .col-lg-4 {
        margin-bottom: 30px;
    }
    
    .contact-action {
        height: auto !important;
    }
}

@media (max-width: 768px) {
    .contact-item {
        gap: 12px;
    }
    
    .contact-icon {
        width: 36px;
        height: 36px;
    }
    
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        max-width: 100%;
        margin-bottom: 15px;
    }
}

.b{
 margin-bottom: 25px;
}

.d-inline-flex{
    display: inline-flex !important;
    flex-wrap: wrap;
}


/* Стили для блока 5 */
.block5-section {
    color: #212121;
        background: linear-gradient(
        to bottom,
        rgba(121, 121, 123, 0.8) 0%,
        rgba(121, 121, 123, 0.7) 50%,
        rgba(121, 121, 123, 0.9) 100%
    );
    position: relative;
    padding-bottom: 0 !important; /* Убираем нижний отступ секции */
}

/* Левая колонка с фоном-изображением */
.block5-left-column {
    position: relative;
    overflow: hidden;
}

/* Градиент поверх изображения для лучшей читаемости текста */
.block5-left-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    z-index: 1;
}

/* Контент поверх фона */
.block5-content {
    position: relative;
    z-index: 2;
    backdrop-filter: blur(2px);
}

.block5-title {
    font-size: 2.5rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.block5-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
}

.block5-text p {
    margin-bottom: 1.5rem;
}

.block5-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Правая колонка с таблицей */
.block5-table-container {
        padding: 0;
}

.table-card {
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0 12px 12px 0 !important;
}

.table-header {
    background: linear-gradient(135deg, #2c3e50 0%, #212121 100%) !important;
    border-radius: 0 12px 0 0 !important;
}

.comparison-table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.comparison-table th {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2c3e50;
}

.comparison-table td {
    color: #333;
    vertical-align: middle;
    transition: all 0.2s ease;
}

.comparison-row {
    transition: all 0.3s ease;
}

.comparison-row:hover {
    background-color: rgba(33, 33, 33);
}

/* Бейджи в таблице */
.badge {
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.comparison-row:hover .badge {
    transform: scale(1.03);
}

/* Дополнительный контент под таблицей */
.block5-extra-content {
    padding: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.4s, transform 0.8s ease 0.4s;
}

.block5-extra-content.animate {
    opacity: 1;
    transform: translateY(0);
}

.block5-quote {
    background: rgba(33, 33, 33, 0.7) !important;
    backdrop-filter: blur(10px);
    border-left-color: #f1c40f !important;
}

.block5-quote p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Особенности */
.feature-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
}

.feature-item:hover {
    transform: translateY(-3px);
    border-color: rgba(241, 196, 15, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: #f1c40f;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(241, 196, 15, 0.1);
    border-radius: 10px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .block5-title {
        font-size: 2.2rem;
    }
    
    .block5-left-column {
        min-height: 700px;
    }
}

@media (max-width: 992px) {
    .block5-section {
        padding-bottom: 0 !important;
    }
    
    .block5-title {
        font-size: 2rem;
    }
    
    .block5-left-column {
        min-height: 600px;
        border-radius: 12px 12px 0 0;
        margin-bottom: 0;
    }
    
    .block5-content {
        border-radius: 12px 12px 0 0;
        padding: 2rem !important;
    }
    
    .table-card {
        border-radius: 0 0 12px 12px !important;
        margin-top: 0;
    }
    
    .table-header {
        border-radius: 12px 12px 0 0 !important;
    }
    
    .table-footer {
        border-radius: 0 0 12px 12px !important;
    }
    
    .block5-extra-content {
        padding: 1.5rem 0;
    }
}

@media (max-width: 768px) {
    .block5-title {
        font-size: 1.8rem;
    }
    
    .block5-text {
        font-size: 1rem;
    }
    
    .block5-text .lead {
        font-size: 1.1rem;
    }
    
    .block5-left-column {
        min-height: 500px;
    }
    
    .block5-quote p {
        font-size: 1rem;
    }
    
    /* Адаптация таблицы для мобильных */
    .comparison-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table thead {
        display: none;
    }
    
    .comparison-table tbody,
    .comparison-table tr,
    .comparison-table td {
        display: block;
        width: 100%;
    }
    
    .comparison-table tr {
        margin-bottom: 1rem;
        border: 1px solid #dee2e6 !important;
        border-radius: 10px;
        overflow: hidden;
        padding: 1rem;
    }
    
    .comparison-table td {
        border: none;
        padding: 0.75rem 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: #6c757d;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    /* Добавляем data-label атрибуты для мобильного отображения */
    .comparison-table td:nth-child(1)::before { content: "Характеристика"; }
    .comparison-table td:nth-child(2)::before { content: "Клееный брус"; }
    .comparison-table td:nth-child(3)::before { content: "CLT-панели"; }
    
    .table-footer .d-flex {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .block5-title {
        font-size: 1.6rem;
    }
    
    .block5-left-column {
        min-height: 400px;
    }
    
    .block5-content {
        padding: 1.5rem !important;
    }
    
    .feature-item {
        padding: 1rem !important;
    }
    
    .comparison-table tr {
        padding: 0.75rem;
    }
    
    .comparison-table td {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comparison-table td::before {
        margin-bottom: 0.25rem;
        margin-right: 0;
    }
    
    .comparison-table td .badge {
        align-self: flex-start;
        margin-top: 0.25rem;
    }
}

/* Анимация появления при скролле */
.block5-content,
.table-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.block5-content.animate,
.table-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.table-card {
    transition-delay: 0.2s;
}



/*Блок 6*/

/* Видео контейнер */
.video-wrapper {
    position: relative;
    background: #000;
    aspect-ratio: 16/9;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.play-btn {
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.9) !important;
}

.play-btn:hover {
    transform: scale(1.1);
    background: white !important;
}

/* Элементы управления видео */
.video-controls .progress {
    cursor: pointer;
}

.video-controls .progress-bar {
    transition: width 0.1s linear;
}

/* FAQ аккордеон */
.faq-btn {
    transition: all 0.3s ease;
}

.faq-btn:hover {
    background: #f8f9fa !important;
    border-color: #26201d !important;
}

.faq-btn[aria-expanded="true"] {
    background: #f8f9fa !important;
    border-color: #26201d !important;
}

.faq-btn[aria-expanded="true"] .faq-icon svg {
    transform: rotate(45deg);
}

.faq-icon svg {
    transition: transform 0.3s ease;
}

.faq-answer {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Адаптивность */
@media (max-width: 768px) {
    .video-controls .btn-group {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    
    .video-controls .progress {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .faq-btn {
        padding: 20px 16px !important;
    }
    
    .faq-btn .h5 {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .play-btn {
        width: 60px !important;
        height: 60px !important;
    }
}



#questionModal .form-control:focus {
    border-color: #26201d;
    box-shadow: 0 0 0 0.25rem rgba(38, 32, 29, 0.25);
}

#questionModal .form-control.is-invalid {
    border-color: #dc3545;
}

#questionModal .form-control.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Стили для алертов */
#questionModal .alert {
    border-radius: 8px;
    border: none;
}

#questionModal .alert-success {
    background-color: #d1e7dd;
    color: #0f5132;
}

#questionModal .alert-danger {
    background-color: #f8d7da;
    color: #842029;
}

/* Адаптивность */
@media (max-width: 576px) {
    #questionModal .modal-dialog {
        margin: 10px;
    }
    
    #questionModal .modal-content {
        border-radius: 12px;
    }
    
    #questionModal .btn-lg {
        padding: 12px 24px;
        font-size: 16px;
    }
}



/* Блок 7 Бегущая строка */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    background-color: var(--accent-dark);
    color: white;
    padding: 15px 0;
    font-weight: 600;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* Галерея */
.gallery-img {
    height: 300px;
    object-fit: cover;
    width: 100%;
    transition: transform 0.3s;
}

.gallery-img:hover {
    transform: scale(1.02);
}

/* Нумерация */
.number-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--accent-dark);
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

/* Формы */
.form-control-clt {
    border-radius: 0;
    border: 1px solid #ccc;
    padding: 10px;
}

.form-control-clt:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 0.2rem rgba(38, 32, 29, 0.25);
}

/* Футер */
.footer-clt {
    background-color: var(--accent-dark);
    color: white;
    padding: 60px 0 30px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }
    
    body {
        padding-top: 66px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
}

/* Гамбургер меню */
/* Стили для гамбургер-меню */
/* Стили для гамбургер-меню */
.navbar-toggler {
    border: none;
    padding: 0;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

#tel.text-end{
   font-size: 0.72rem; 
    
}

.hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    display: inline-block;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #26201d;
    border-radius: 0;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.hamburger-icon span:nth-child(1) { top: 0px; }
.hamburger-icon span:nth-child(2) { top: 8px; }
.hamburger-icon span:nth-child(3) { top: 16px; }

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Стили для десктопной версии */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
        flex-grow: 1;
        align-items: center;
    }
    
    .navbar-nav {
        flex-direction: row;
        margin-left: auto;
    }
    
    .nav-item {
        margin: 0 1px;
    }
    
    .nav-link {
        padding: 10px 15px !important;
    }
    
    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 10rem;
        padding: 0.5rem 0;
        margin: 0.125rem 0 0;
        font-size: 0.9rem;
        color: #212529;
        text-align: left;
        list-style: none;
        background-color: #fff;
        background-clip: padding-box;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0.25rem;
        box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
    }
    
    .dropdown-menu.show {
        display: block;
    }
    
    .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.25rem 1rem;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        text-decoration: none;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }
    
    .dropdown-item:hover,
    .dropdown-item:focus {
        color: #16181b;
        background-color: #f8f9fa;
    }
    
    /* Скрываем мобильные контакты на десктопе */
    .mobile-contacts {
        display: none;
    }
}

/* Стили для мобильной версии */
@media (max-width: 991.98px) {
    /* Контейнер для мобильного меню */
    .navbar-collapse {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: white;
        z-index: 1000;
        padding: 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    /* Контейнер навигации для мобильных */
    .navbar-nav {
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        padding: 15px !important;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 1.1rem;
    }
    
    .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        border: none;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.02);
        margin-top: 0;
    }
    
    .dropdown-item {
        padding: 12px 20px;
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    }
    
    .dropdown-divider {
        margin: 10px 0;
    }
    
    /* Мобильные контакты */
    .mobile-contacts {
        padding: 20px 0;
        background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(248,249,250,0.95));
        border-radius: 12px;
        margin-top: 20px;
    }
    
    /* Анимация для телефонов */
    .mobile-contacts a[href^="tel:"] {
        transition: all 0.3s ease;
        padding: 10px 15px;
        border-radius: 8px;
        display: block;
        margin-bottom: 10px;
    }
    
    .mobile-contacts a[href^="tel:"]:hover {
        background-color: rgba(38, 32, 29, 0.05);
        transform: translateY(-2px);
    }
    
    /* Кнопка Telegram в мобильном меню */
    .mobile-contacts .btn-outline-dark {
        border-width: 2px;
        border-color: #26201d;
        color: #26201d;
        transition: all 0.3s ease;
        padding: 12px 24px;
        font-weight: 600;
        margin-top: 10px;
    }
    
    .mobile-contacts .btn-outline-dark:hover {
        background-color: #26201d;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(38, 32, 29, 0.15);
    }
    
    /* Overlay для фона при открытом меню */
    .menu-overlay {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .menu-overlay.show {
        opacity: 1;
        visibility: visible;
    }
    
    /* Фиксированный body при открытом меню */
    body.menu-open {
        overflow: hidden;
    }
}

/* Общие стили для всех размеров */
.nav-link.active {
    color: #26201d !important;
    position: relative;
}

@media (min-width: 992px) {
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        width: 20px;
        height: 1px;
        background-color: #26201d;
    }
}

@media (max-width: 991.98px) {
    .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: 10px;
        left: 50%;
        transform: translateX(-50%);
        width: 30px;
        height: 3px;
        background-color: #26201d;
    }
}

/* Адаптация для маленьких экранов */
@media (max-height: 700px) {
    .mobile-contacts {
        padding: 15px 0;
    }
    
    .mobile-contacts a[href^="tel:"] {
        font-size: 1.1rem !important;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .mobile-contacts .btn-lg {
        padding: 10px 20px;
        font-size: 1rem;
    }
    
    .mobile-contacts a[href^="tel:"] {
        font-size: 1.1rem !important;
    }
}

/* SVG иконки - базовые стили */
.icon-svg {
    display: inline-block;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* Размеры SVG иконок */
.icon-xs {
    width: 12px;
    height: 12px;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 20px;
    height: 20px;
}

.icon-lg {
    width: 24px;
    height: 24px;
}

.icon-xl {
    width: 32px;
    height: 32px;
}

/* Цвета SVG иконок */
.icon-accent {
    color: var(--accent-color);
}

.icon-muted {
    color: #6c757d;
}

.icon-white {
    color: white;
}

/* Анимация при наведении на элементы с SVG */
.hover-icon:hover .icon-svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* SVG в кнопках */
.btn .icon-svg {
    margin-right: 0.5rem;
}

.btn-sm .icon-svg {
    margin-right: 0.25rem;
}

/* SVG в бейджах */
.badge .icon-svg {
    margin-right: 0.25rem;
}

/* SVG в навигации */
.nav-link .icon-svg {
    margin-right: 0.5rem;
}

/* Адаптивность SVG */
@media (max-width: 768px) {
    .icon-lg {
        width: 20px;
        height: 20px;
    }
    
    .icon-xl {
        width: 24px;
        height: 24px;
    }
}

/*чекбокс персданные*/
/* Стили для чекбокса согласия */
.form-check-input:checked {
    background-color: #26201d;
    border-color: #26201d;
}

.form-check-input:focus {
    border-color: #26201d;
    box-shadow: 0 0 0 0.2rem rgba(38, 32, 29, 0.25);
}

.form-check-label a {
    color: #26201d;
    text-decoration: underline;
}

.form-check-label a:hover {
    color: #4f5250;
}