/* ===== SIDING PAGE STYLES ===== */
:root {
    --siding-orange: #FF6B00;
    --siding-dark: #2a2f36;
    --siding-light: #f8f9fa;
    --siding-gray: #6c7a8a;
}

/* Hero */
.hero-siding {
    position: relative;
    padding: 60px 0 30px !important;   /* уменьшено с 80px/40px */
    background: #fff;
    overflow: hidden;
}
.hero-siding-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-siding-grid {
    width: 100%; height: 100%;
    background-image: linear-gradient(to right, rgba(0,0,0,0.02) 1px, transparent 1px), linear-gradient(to bottom, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}
.hero-siding-container {
    max-width: 1400px; margin: 0 auto; padding: 0 2rem;
    display: flex; align-items: center; gap: 3rem; position: relative; z-index: 2;
}
.hero-siding-content { flex: 1; }
.hero-siding-badge {
    display: inline-block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em;
    text-transform: uppercase; color: var(--siding-orange); background: rgba(255,107,0,0.1);
    padding: 0.3rem 0.8rem; border-radius: 30px; margin-bottom: 1rem;
}
.hero-siding-title {
    font-family: 'Playfair Display', serif; font-size: 3rem; line-height: 1.1;
    color: #1a1a1a; margin-bottom: 0.75rem;
}
.hero-siding-title-accent { color: var(--siding-orange); }
.hero-siding-desc { font-size: 0.95rem; color: #4a4a4a; margin-bottom: 1.5rem; line-height: 1.5; max-width: 500px; }
.hero-siding-stats { display: flex; gap: 1.5rem; margin-bottom: 1.5rem; }
.hero-siding-stats .stat-item { text-align: center; }
.hero-siding-stats .stat-value { display: block; font-size: 1.8rem; font-weight: 700; color: var(--siding-orange); line-height: 1.2; }
.hero-siding-stats .stat-label { font-size: 0.7rem; color: #666; text-transform: uppercase; }
.hero-siding-buttons { display: flex; gap: 1rem; }
.hero-siding-visual { flex: 1; text-align: center; position: relative; }
.hero-siding-visual img { max-width: 90%; filter: drop-shadow(0 8px 16px rgba(0,0,0,0.05)); }
.hero-siding-badge-float {
    position: absolute; bottom: 10px; left: 0; background: white; padding: 0.4rem 1rem;
    border-radius: 40px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); font-size: 0.8rem;
    display: flex; align-items: center; gap: 6px; color: #2a2f36; border: 1px solid rgba(255,107,0,0.2);
}
.hero-siding-scroll {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    color: var(--siding-gray); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1px; z-index: 3;
}

/* Сетка профилей */
.siding-profiles { padding: 3rem 0; background: #fff; }
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}
.profile-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.5rem 1rem;
    text-align: center;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: all 0.3s;
    cursor: pointer;
}
.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--siding-orange);
}
.profile-card-image {
    width: 100%;
    height: 140px;
    margin-bottom: 1rem;
}
.profile-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.profile-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}
.profile-card-price {
    color: var(--siding-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}
.profile-card-desc {
    font-size: 0.8rem;
    color: var(--siding-gray);
    margin-bottom: 1rem;
}
.profile-card-more {
    color: var(--siding-orange);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.profiles-note { text-align: center; margin-top: 1rem; color: var(--siding-gray); }

/* Модальное окно */
.profile-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10000;
    visibility: hidden; opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}
.profile-modal.active { visibility: visible; opacity: 1; }
.profile-modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.profile-modal-container {
    position: relative; max-width: 900px; width: 90%; max-height: 90vh;
    margin: 5vh auto; background: #fff; border-radius: 24px; overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
    transform: scale(0.95); transition: transform 0.3s;
}
.profile-modal.active .profile-modal-container { transform: scale(1); }
.profile-modal-close {
    position: absolute; top: 15px; right: 20px; background: transparent;
    border: none; font-size: 2rem; cursor: pointer; color: #2c3e50; z-index: 10;
}
.profile-modal-content { padding: 2rem; }
.modal-detail { display: flex; gap: 2rem; flex-wrap: wrap; }
.modal-image { flex: 1; min-width: 280px; }
.modal-image img { width: 100%; border-radius: 16px; }
.modal-info { flex: 1; min-width: 280px; }
.modal-info h3 { font-size: 2rem; font-family: 'Playfair Display', serif; margin-bottom: 0.5rem; }
.modal-price { font-size: 1.4rem; color: var(--siding-orange); font-weight: 700; margin-bottom: 1rem; }
.modal-desc { color: var(--siding-gray); margin-bottom: 1.5rem; }
.modal-specs-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.modal-specs-table td { padding: 0.5rem 0; border-bottom: 1px dashed #e0e6ed; }
.modal-specs-table td:first-child { font-weight: 600; width: 45%; }
.modal-real-photo { margin-top: 1rem; }
.modal-real-photo img { width: 100%; height: 160px; object-fit: cover; border-radius: 12px; cursor: pointer; }
.modal-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* Преимущества */
.siding-advantages { padding: 3rem 0; background: var(--siding-light); }
.siding-advantages-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 2rem; }
.siding-adv-item { text-align: center; padding: 2rem 1.5rem; background: #fff; border-radius: 24px; transition: transform 0.2s; }
.siding-adv-item:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.05); }
.siding-adv-item i { font-size: 2.5rem; color: var(--siding-orange); margin-bottom: 1.5rem; }
.siding-adv-item h3 { font-size: 1.3rem; margin-bottom: 1rem; }

/* Галерея */
.siding-gallery { padding: 3rem 0; background: #fff; }
.gallery-header { text-align: center; margin-bottom: 2rem; }
.gallery-badge {
    display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em;
    color: var(--siding-orange); background: rgba(255,107,0,0.1); padding: 0.4rem 1.2rem; border-radius: 30px;
    margin-bottom: 1rem;
}
.gallery-title { font-family: 'Playfair Display', serif; font-size: 2.8rem; margin-bottom: 0.5rem; }
.gallery-subheader { color: var(--siding-gray); }
.siding-gallery-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; grid-auto-rows: 250px;
}
.gallery-item {
    position: relative; overflow: hidden; border-radius: 20px; cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-info {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white;
}
.gallery-item-title { font-weight: 700; display: block; margin-bottom: 0.25rem; }
.gallery-item-location { font-size: 0.8rem; opacity: 0.9; }
.gallery-action { text-align: center; margin-top: 2.5rem; }
.btn-portfolio {
    display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.9rem 2.2rem;
    border: 2px solid var(--siding-orange); color: var(--siding-orange); font-weight: 600;
    border-radius: 40px; text-decoration: none; transition: all 0.3s;
}
.btn-portfolio:hover { background: var(--siding-orange); color: white; }

/* Ворота */
.siding-gates { padding: 3rem 0; background: #fafcff; }
.gates-header { text-align: center; margin-bottom: 2rem; }
.gates-pre-title {
    display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.2em;
    color: var(--siding-orange); background: rgba(255,107,0,0.1); padding: 0.3rem 1rem;
    border-radius: 30px; margin-bottom: 0.5rem;
}
.gates-title { font-family: 'Playfair Display', serif; font-size: 2.5rem; }
.gates-showcase { display: flex; gap: 3rem; align-items: center; }
.gates-showcase-text { flex: 1; }
.gates-showcase-list { list-style: none; padding: 0; margin: 2rem 0; }
.gates-showcase-list li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.gates-showcase-list i { color: var(--siding-orange); }
.gates-showcase-image { flex: 1; position: relative; }
.gates-showcase-image img { width: 100%; border-radius: 24px; }
.gates-showcase-stats {
    position: absolute; bottom: 20px; right: 20px; display: flex; gap: 1rem;
    background: white; padding: 1rem 1.5rem; border-radius: 60px; box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.gates-showcase-stats .stat { text-align: center; }
.gates-showcase-stats .stat span:first-child { font-weight: 700; color: var(--siding-orange); display: block; }
.gates-showcase-stats .stat span:last-child { font-size: 0.7rem; text-transform: uppercase; }

/* Технология */
/* ===== БЛОК ПОКРЫТИЙ (ЗАЩИТА И ЭСТЕТИКА) ===== */
/* ===== СОВРЕМЕННЫЙ БЛОК ПОКРЫТИЙ С КАРУСЕЛЬЮ ЦВЕТОВ ===== */
.siding-coatings {
    padding: 3rem 0;
    background: #fff;
}

.coatings-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2.5rem 0 2rem;
}

/* ===== КОМПАКТНЫЙ ИНЖЕНЕРНЫЙ БЛОК ПОКРЫТИЙ (ИСПРАВЛЕНО) ===== */
.coatings-modern-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 1.5rem;
    max-width: 100%;
}

.modern-coating-card {
    background: #fafcff;
    border-radius: 0;
    padding: 1.5rem 1.5rem 1.2rem;
    border: 1px solid #d0d8e2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
    width: 100%;
    min-width: 0;                   /* предотвращает переполнение */
    overflow: hidden;
    box-sizing: border-box;
}

/* Чертёжные уголки */
.modern-coating-card::before,
.modern-coating-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-color: #b0b0b0;
    opacity: 0.5;
}
.modern-coating-card::before {
    top: 8px;
    left: 8px;
    border-width: 2px 0 0 2px;
}
.modern-coating-card::after {
    bottom: 8px;
    right: 8px;
    border-width: 0 2px 2px 0;
}
.modern-coating-card:hover::before,
.modern-coating-card:hover::after {
    border-color: #FF6B00;
    opacity: 0.9;
}

.modern-coating-card:hover {
    border-color: #FF6B00;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.coating-header {
    margin-bottom: 0.8rem;
}

.coating-header h3 {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.2rem;
    color: #1a1a1a;
    word-break: break-word;
}

.coating-badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255,107,0,0.1);
    display: inline-block;
    padding: 0.15rem 0.8rem;
    border-radius: 30px;
    border: 1px solid rgba(255,107,0,0.2);
}

.coating-description {
    font-size: 0.85rem;
    color: #4a5a6a;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.coating-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    border-left: 2px solid #FF6B00;
    padding-left: 0.8rem;
}

.coating-features li {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #2c3e50;
}

.coating-features i {
    color: #FF6B00;
    font-size: 0.75rem;
}

/* Карусель цветов — с ограничением ширины */
.coating-colors-carousel {
    margin-top: 0.5rem;
    max-width: 100%;
}

.colors-carousel-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b6b7c;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.colors-carousel-title i {
    color: #FF6B00;
}

.colors-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.3rem;
    scrollbar-width: thin;
    scrollbar-color: #FF6B00 #e0e6ed;
    max-width: 100%;
}

.colors-scroll-container::-webkit-scrollbar {
    height: 3px;
}
.colors-scroll-container::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 3px;
}

.colors-swatches {
    display: flex;
    gap: 0.6rem;
    width: max-content;
}

.color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 1px solid #d0d8e2;
    transition: border-color 0.2s, transform 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.color-swatch:hover {
    border-color: #FF6B00;
    transform: scale(1.03);
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Примечание */
.coatings-note {
    text-align: center;
    color: #FF6B00;
    font-weight: 500;
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px dashed #b0b0b0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.coatings-note i {
    font-size: 1.1rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .coatings-modern-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .modern-coating-card {
        padding: 1.2rem;
    }
    .coating-header h3 {
        font-size: 1.3rem;
    }
}
/* Монтаж */
.siding-install { padding: 3rem 0; background: var(--siding-dark); color: white; }
.install-card { display: flex; gap: 3rem; background: #1e242c; border-radius: 32px; padding: 2.5rem; border: 1px solid rgba(255,107,0,0.3); }
.install-left { flex: 2; }
.install-badge {
    display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em;
    color: var(--siding-orange); background: rgba(255,107,0,0.15); padding: 0.3rem 1rem;
    border-radius: 30px; margin-bottom: 1rem;
}
.install-left h3 { font-size: 1.8rem; margin-bottom: 1rem; }
.install-left p { color: #ccc; margin-bottom: 1.5rem; }
.install-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.check-item { display: flex; align-items: center; gap: 8px; }
.check-item i { color: var(--siding-orange); }
.install-right { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.install-guarantee { margin-bottom: 2rem; }
.guarantee-years { font-size: 3rem; font-weight: 800; color: var(--siding-orange); line-height: 1; display: block; }
.guarantee-text { font-size: 1rem; text-transform: uppercase; letter-spacing: 2px; }
.btn-white { border-color: white; color: white; }
.btn-white:hover { background: white; color: var(--siding-dark); }

/* Адаптивность */
@media (max-width: 1200px) {
    .profiles-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .hero-siding-container { flex-direction: column; text-align: center; }
    .hero-siding-desc { margin-left: auto; margin-right: auto; }
    .siding-advantages-grid { grid-template-columns: repeat(2,1fr); }
    .siding-gallery-grid { grid-template-columns: repeat(2,1fr); }
    .gallery-item.large { grid-column: span 1; grid-row: span 1; }
    .gates-showcase { flex-direction: column; }
    .tech-coatings-grid { grid-template-columns: repeat(2,1fr); }
    .install-card { flex-direction: column; }
}
@media (max-width: 768px) {
    .hero-siding { padding: 40px 0 20px; }
    .hero-siding-title { font-size: 2.5rem; }
    .profiles-grid { grid-template-columns: repeat(2,1fr); }
    .siding-advantages-grid { grid-template-columns: 1fr; }
    .siding-gallery-grid { grid-template-columns: 1fr; }
    .tech-coatings-grid { grid-template-columns: 1fr; }
    .install-checklist { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .profiles-grid { grid-template-columns: 1fr; }
}
/* ===== ИНЖЕНЕРНАЯ СЕТКА КАРТОЧЕК САЙДИНГА ===== */
.engineering-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.8rem;
    margin: 2.5rem 0 1.5rem;
}

/* Инженерная карточка */
.engineer-card {
    position: relative;
    background: #fff;
    border-radius: 0;                /* прямые углы для технического стиля */
    padding: 0;
    text-align: center;
    border: 1px solid #d0d8e2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.engineer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #FF6B00;
}

/* Чертёжные уголки */
.engineer-card::before,
.engineer-card::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-color: #b0b0b0;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s;
}
.engineer-card::before {
    top: 8px;
    left: 8px;
    border-width: 2px 0 0 2px;
}
.engineer-card::after {
    bottom: 8px;
    right: 8px;
    border-width: 0 2px 2px 0;
}
.engineer-card:hover::before,
.engineer-card:hover::after {
    border-color: #FF6B00;
    opacity: 0.9;
}

/* Изображение – видно полностью, с технической рамкой */
.engineer-card__image {
    width: 100%;
    height: 200px;                /* фиксированная высота для всех */
    margin: 0;
    padding: 0;
    line-height: 0;
    background: #fafcff;
    border-bottom: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.engineer-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* заполняем без полей, обрезая края */
    display: block;
    padding: 0;
    transition: transform 0.3s;
}

.engineer-card:hover .engineer-card__image img {
    transform: scale(1.03);
}

/* Контент */
.engineer-card__content {
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.engineer-card__title {
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    margin: 0 0 0.3rem 0;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.engineer-card__price {
    color: #FF6B00;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.engineer-card__desc {
    font-size: 0.8rem;
    color: #5b6b7c;
    margin-bottom: 1rem;
    line-height: 1.4;
}

/* Техническая спецификация (микро) */
.engineer-card__specs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.7rem;
    color: #6c7a8a;
    border-top: 1px dashed #d0d8e2;
    border-bottom: 1px dashed #d0d8e2;
    padding: 0.5rem 0;
}
.engineer-card__specs span i {
    margin-right: 4px;
    color: #FF6B00;
    font-size: 0.65rem;
}

/* Кнопка подробнее – инженерный стиль */
.engineer-card__more {
    margin-top: auto;
    color: #FF6B00;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.6rem 0;
    border: 1px solid #FF6B00;
    border-radius: 40px;
    background: transparent;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.engineer-card__more i {
    font-size: 0.75rem;
    transition: transform 0.2s;
}
.engineer-card:hover .engineer-card__more {
    background: #FF6B00;
    color: white;
}
.engineer-card:hover .engineer-card__more i {
    transform: translateX(3px);
}

/* Размерная линия снизу (технический элемент) */
.engineer-card__dimension {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e6ed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.engineer-card__dimension .dim-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, #aaa, #aaa 4px, transparent 4px, transparent 8px);
}
.engineer-card__dimension .dim-text {
    font-size: 0.6rem;
    font-family: monospace;
    color: #8a9bb0;
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .engineering-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .engineering-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .engineering-grid { grid-template-columns: 1fr; }
}
/* ===== HERO: КРУПНЕЕ ТЕКСТ, КРУПНЕЕ ФОТО ===== */
.hero-siding-title {
    font-size: 3.5rem !important;
    line-height: 1.15 !important;
    margin-bottom: 0.75rem !important;
}

.hero-siding-title-accent {
    font-size: 3.5rem !important;
    display: inline-block;
}

.hero-siding-desc {
    font-size: 1.05rem !important;
    max-width: 550px;
    margin-bottom: 1.5rem !important;
}

.hero-siding-visual img {
    max-width: 100% !important;
    transform: scale(1.05);
    transition: transform 0.3s;
}

.hero-siding-visual img:hover {
    transform: scale(1.08);
}

/* Сохраняем компактность */
.hero-siding {
    padding: 60px 0 30px !important;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .hero-siding-title,
    .hero-siding-title-accent {
        font-size: 2.8rem !important;
    }
    .hero-siding-visual img {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-siding-title,
    .hero-siding-title-accent {
        font-size: 2.2rem !important;
    }
    .hero-siding-desc {
        font-size: 0.95rem !important;
    }
}
/* ===== ИНЖЕНЕРНЫЙ БЛОК ДОБОРНЫХ ЭЛЕМЕНТОВ ===== */
.siding-extras {
    padding: 3.5rem 0;
    background: #f8fafc;
}

.extras-engineering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin: 2.5rem 0;
}

.extra-eng-item {
    position: relative;
    background: #fff;
    border-radius: 0;
    padding: 1.8rem 1.5rem 1.5rem;
    text-align: center;
    border: 1px solid #d0d8e2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: transform 0.2s, border-color 0.2s;
}

.extra-eng-item:hover {
    transform: translateY(-4px);
    border-color: #FF6B00;
}

.eng-corner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-style: solid;
    border-color: #b0b0b0;
    opacity: 0.5;
    transition: opacity 0.2s, border-color 0.2s;
}
.eng-corner.tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.eng-corner.tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.eng-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.eng-corner.br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.extra-eng-item:hover .eng-corner { border-color: #FF6B00; opacity: 0.9; }

.eng-icon {
    font-size: 2.2rem;
    color: #FF6B00;
    margin-bottom: 1rem;
}

.extra-eng-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.extra-eng-item p {
    font-size: 0.85rem;
    color: #5b6b7c;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.eng-dimension {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed #d0d8e2;
}
.eng-dimension .dim-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, #aaa, #aaa 4px, transparent 4px, transparent 8px);
}
.eng-dimension .dim-text {
    font-size: 0.65rem;
    font-family: monospace;
    color: #FF6B00;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Экономия — инженерный акцент */
.extras-economy {
    margin-top: 3rem;
}
.economy-card {
    background: #1e242c;
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(255,107,0,0.3);
    position: relative;
    overflow: hidden;
}
.economy-card::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 30%;
    background: linear-gradient(90deg, transparent, rgba(255,107,0,0.05));
    pointer-events: none;
}
.economy-left {
    flex: 1.2;
    color: white;
}
.economy-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #FF6B00;
    background: rgba(255,107,0,0.15);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,107,0,0.3);
}
.economy-left h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}
.economy-left p {
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}
.economy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}
.economy-list li {
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e0e6ed;
}
.economy-list i {
    color: #FF6B00;
}
.economy-right {
    flex: 0.9;
    text-align: center;
}
.economy-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 1.5rem;
}
.visual-bar {
    height: 8px;
    background: #FF6B00;
    border-radius: 4px;
    opacity: 0.8;
}
.visual-label {
    color: #ffa559;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 5px;
}
.economy-stamp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #b0b0b0;
}
.stamp-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, #b0b0b0, #b0b0b0 6px, transparent 6px, transparent 12px);
}
.stamp-text {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .extras-engineering-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .economy-card {
        flex-direction: column;
        padding: 2rem;
    }
    .economy-right {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .extras-engineering-grid {
        grid-template-columns: 1fr;
    }
    .economy-left h3 {
        font-size: 1.5rem;
    }
}
/* ===== ДОБОРНЫЕ ЭЛЕМЕНТЫ: ДВЕ КОЛОНКИ (ФОТО + ТЕКСТ) ===== */
.siding-extras {
    padding: 3.5rem 0;
    background: #fff;
}

.extras-two-cols {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

/* Левая колонка — галерея */
.extras-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.extras-gallery__main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.1);
    border: 1px solid #eef2f6;
}

.extras-gallery__main img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.extras-gallery__main:hover img {
    transform: scale(1.02);
}

.extras-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.thumb-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    cursor: pointer;
    transition: border-color 0.2s;
}

.thumb-item:hover {
    border-color: #FF6B00;
}

.thumb-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
}

/* Правая колонка — текст */
.extras-info {
    flex: 1;
    padding-top: 0.5rem;
}

.extras-intro {
    font-size: 1rem;
    color: #4a5a6a;
    margin-bottom: 1.8rem;
    line-height: 1.5;
}

.extras-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 1.5rem;
}

.extras-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: #2c3e50;
}

.extras-list i {
    color: #FF6B00;
    font-size: 1.1rem;
    min-width: 1.2rem;
}

.extras-benefit {
    background: #f8fafc;
    border-radius: 24px;
    padding: 1.8rem 2rem;
    border: 1px solid #eef2f6;
}

.benefit-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #FF6B00;
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.2rem;
}

.extras-benefit p {
    color: #4a5a6a;
    line-height: 1.6;
    margin-bottom: 1.8rem;
}

.extras-benefit .btn-primary {
    background: transparent;
    color: #FF6B00;
    border: 2px solid #FF6B00;
    padding: 0.7rem 2rem;
    font-weight: 600;
}

.extras-benefit .btn-primary:hover {
    background: #FF6B00;
    color: white;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .extras-two-cols {
        flex-direction: column;
        gap: 2rem;
    }
    .extras-gallery,
    .extras-info {
        width: 100%;
    }
    .extras-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .extras-gallery__main img {
        height: 200px;
    }
    .extras-benefit {
        padding: 1.5rem;
    }
}
/* ===== ИНЖЕНЕРНЫЕ ЭЛЕМЕНТЫ В КАРТОЧКАХ ПОКРЫТИЙ ===== */
.modern-coating-card {
    position: relative;
    background: #fff;
    border-radius: 0;                /* прямые углы для технического стиля */
    padding: 2rem 1.8rem 1.8rem;
    border: 1px solid #d0d8e2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* Чертёжные уголки */
.modern-coating-card::before,
.modern-coating-card::after {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border-style: solid;
    border-color: #b0b0b0;
    opacity: 0.4;
    transition: opacity 0.2s, border-color 0.2s;
}
.modern-coating-card::before {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}
.modern-coating-card::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}
.modern-coating-card:hover::before,
.modern-coating-card:hover::after {
    border-color: #FF6B00;
    opacity: 0.9;
}

/* Размерная линия сверху */
.coating-dimension-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 0.5rem;
}
.coating-dimension-top .dim-line {
    width: 40px;
    height: 1px;
    background: repeating-linear-gradient(90deg, #aaa, #aaa 4px, transparent 4px, transparent 8px);
}
.coating-dimension-top .dim-text {
    font-size: 0.6rem;
    font-family: monospace;
    color: #8a9bb0;
    text-transform: uppercase;
}

/* Заголовок без фото, с технической подачей */
.coating-header {
    display: block;
    margin-bottom: 1.2rem;
}
.coating-header h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}
.coating-badge {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255,107,0,0.08);
    display: inline-block;
    padding: 0.2rem 0.8rem;
    border-radius: 30px;
    margin-right: 0.5rem;
}
.coating-spec-tag {
    font-size: 0.65rem;
    font-family: monospace;
    color: #6c7a8a;
    background: #f0f4fa;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    display: inline-block;
}

/* Размерная линия снизу */
.coating-dimension-bottom {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px dashed #d0d8e2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.coating-dimension-bottom .dim-line {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(90deg, #aaa, #aaa 4px, transparent 4px, transparent 8px);
}
.coating-dimension-bottom .dim-text {
    font-size: 0.6rem;
    font-family: monospace;
    color: #8a9bb0;
    text-transform: uppercase;
    margin: 0 10px;
}
@media (max-width: 768px) {
    .modern-coating-card {
        padding: 1.5rem;
    }
}
/* ===== ИНЖЕНЕРНЫЙ ЗАГОЛОВОК ДЛЯ ПОКРЫТИЙ ===== */
.siding-coatings .engineering-header {
    position: relative;
}

.header-dimension {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.header-dimension .dimension-line {
    width: 60px;
    height: 1px;
    background: repeating-linear-gradient(90deg, #FF6B00, #FF6B00 6px, transparent 6px, transparent 12px);
}

.header-dimension .dimension-marker {
    width: 8px;
    height: 8px;
    border: 2px solid #FF6B00;
    transform: rotate(45deg);
    background: transparent;
}

.siding-coatings .pre-title {
    margin: 0;
    background: rgba(255,107,0,0.08);
    padding: 0.3rem 1.2rem;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.15em;
}

.siding-coatings .title-underline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.siding-coatings .title-underline .line-glow {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6B00, #ffa559, #FF6B00, transparent);
}

.siding-coatings .title-underline .center-dot {
    width: 6px;
    height: 6px;
    background: #FF6B00;
    border-radius: 50%;
}

.engineering-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border-top: 1px dashed #b0b0b0;
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-weight: 500;
    color: #2c3e50;
}

.engineering-note i {
    color: #FF6B00;
    font-size: 1.2rem;
}

/* Карточки покрытий — без изображений */
.modern-coating-card {
    background: #fafcff;
    border-radius: 0;                   /* прямые углы для инженерного стиля */
    padding: 2rem 1.8rem;
    border: 1px solid #d0d8e2;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}

.modern-coating-card::before,
.modern-coating-card::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-style: solid;
    border-color: #b0b0b0;
    opacity: 0.5;
}
.modern-coating-card::before {
    top: 10px;
    left: 10px;
    border-width: 2px 0 0 2px;
}
.modern-coating-card::after {
    bottom: 10px;
    right: 10px;
    border-width: 0 2px 2px 0;
}
.modern-coating-card:hover::before,
.modern-coating-card:hover::after {
    border-color: #FF6B00;
    opacity: 0.9;
}

.modern-coating-card:hover {
    border-color: #FF6B00;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.coating-header {
    margin-bottom: 1.2rem;
}

.coating-header h3 {
    font-size: 1.6rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.3rem;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.coating-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255,107,0,0.1);
    display: inline-block;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    border: 1px solid rgba(255,107,0,0.2);
}

.coating-description {
    font-size: 0.9rem;
    color: #4a5a6a;
    line-height: 1.5;
    margin-bottom: 1.2rem;
}

.coating-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 2rem;
    border-left: 3px solid #FF6B00;
    padding-left: 1rem;
}

.coating-features li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: #2c3e50;
}

.coating-features i {
    color: #FF6B00;
    font-size: 0.8rem;
}

/* Горизонтальная карусель цветов */
.coating-colors-carousel {
    margin-top: 1rem;
}

.colors-carousel-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #5b6b7c;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.colors-carousel-title i {
    color: #FF6B00;
}

.colors-scroll-container {
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: #FF6B00 #e0e6ed;
}

.colors-scroll-container::-webkit-scrollbar {
    height: 4px;
}
.colors-scroll-container::-webkit-scrollbar-thumb {
    background: #FF6B00;
    border-radius: 4px;
}

.colors-swatches {
    display: flex;
    gap: 0.8rem;
    width: max-content;
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 0;                 /* прямые углы */
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid #d0d8e2;
    transition: border-color 0.2s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.color-swatch:hover {
    border-color: #FF6B00;
    transform: scale(1.05);
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .coatings-modern-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .header-dimension .dimension-line { width: 30px; }
}
.siding-coatings,
.coatings-modern-grid,
.modern-coating-card {
    max-width: 100%;
    overflow-x: hidden;
}
/* ===== МОДАЛЬНОЕ ОКНО ЦВЕТА ===== */
.color-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 10001;
    visibility: hidden; opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}
.color-modal.active {
    visibility: visible; opacity: 1;
}
.color-modal-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
}
.color-modal-container {
    position: relative; max-width: 500px; width: 90%; margin: 10vh auto;
    background: #fff; border-radius: 32px; overflow: hidden;
    box-shadow: 0 30px 50px rgba(0,0,0,0.2);
    transform: scale(0.95); transition: transform 0.3s;
}
.color-modal.active .color-modal-container { transform: scale(1); }
.color-modal-close {
    position: absolute; top: 15px; right: 20px; background: transparent;
    border: none; font-size: 2rem; cursor: pointer; color: #1a1a1a; z-index: 10;
}
.color-modal-content { padding: 2rem; text-align: center; }
.color-modal-content img { max-width: 100%; border-radius: 20px; margin-bottom: 1.5rem; }
.color-modal-content p { font-size: 1.2rem; font-weight: 600; color: #1a1a1a; }
/* ===== ДОБОРНЫЕ ЭЛЕМЕНТЫ: ПОДНЯТЬ ЗАГОЛОВОК + СЕРЫЙ ФОН ===== */
.siding-extras {
    background: #f8f9fa;      /* светло-серый фон */
    padding: 2rem 0 3rem;     /* верхний отступ уменьшен для подъёма */
}

.siding-extras .section-header {
    margin-bottom: 1.2rem;    /* меньше воздуха после заголовка */
}

.siding-extras .pre-title {
    margin-bottom: 0.2rem;
}

.siding-extras .section-title {
    margin-bottom: 0.2rem;
}

.siding-extras .title-underline {
    margin-top: 0.2rem;
}

.extras-two-cols {
    margin-top: 0.5rem;       /* контент ближе к заголовку */
}

/* Адаптивность */
@media (max-width: 768px) {
    .siding-extras {
        padding: 1.8rem 0 2.5rem;
    }
}
/* ===== ОПУСТИТЬ ЗАГОЛОВОК "ОСТАЛИСЬ ВОПРОСЫ?" ===== */
.dialog.dialog-v20 {
    padding-top: 2.5rem !important;   /* увеличьте или уменьшите по вкусу */
}

/* Чтобы не сломать мобильную версию */
@media (max-width: 768px) {
    .dialog.dialog-v20 {
        padding-top: 2.5rem !important;
    }
}
/* ===== БЛОК НАЗНАЧЕНИЯ САЙДИНГА ===== */
.siding-usage {
    padding: 2.5rem 0;
    background: #f8f9fa;      /* светло-серый фон */
}

.siding-usage .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.siding-usage .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.siding-usage .pre-title {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #FF6B00;
    background: rgba(255,107,0,0.1);
    padding: 0.3rem 1rem;
    border-radius: 30px;
    margin-bottom: 0.8rem;
}

.siding-usage .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.siding-usage .title-underline {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.siding-usage .line-glow {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF6B00, #ffa559, #FF6B00, transparent);
    border-radius: 2px;
}

/* Сетка карточек */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.usage-card {
    background: #fff;
    border-radius: 24px;
    padding: 1.8rem 1.5rem;
    border: 1px solid #eef2f6;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    transition: transform 0.2s, box-shadow 0.2s;
}

.usage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: #FF6B00;
}

.usage-icon {
    font-size: 2rem;
    color: #FF6B00;
    margin-bottom: 1.2rem;
}

.usage-card h4 {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.usage-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usage-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: #4a5a6a;
    line-height: 1.4;
}

.usage-card li i {
    color: #FF6B00;
    font-size: 0.9rem;
    margin-top: 0.2rem;
}

/* Нижний блок с акцентом */
.usage-footer {
    background: #fff;
    border-radius: 30px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    border: 1px solid rgba(255,107,0,0.2);
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}

.usage-footer p {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
    margin: 0;
}

.usage-footer i {
    color: #FF6B00;
    margin-right: 8px;
}

.usage-footer .btn-primary {
    padding: 0.8rem 2rem;
    white-space: nowrap;
}

/* Адаптивность */
@media (max-width: 768px) {
    .usage-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .usage-footer {
        flex-direction: column;
        text-align: center;
    }
    .usage-footer .btn-primary {
        width: 100%;
        justify-content: center;
    }
    .siding-usage .section-title {
        font-size: 1.8rem;
    }
}
/* ===== ТЁМНЫЙ КОМПАКТНЫЙ БЛОК НАЗНАЧЕНИЯ ===== */
.siding-usage-dark {
    background: #1e242c;                /* тёмный фон, как в блоке ворот */
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
}

/* Лёгкая техническая сетка */
.siding-usage-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(to right, rgba(255,107,0,0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,107,0,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 0;
}

.siding-usage-dark .container {
    position: relative;
    z-index: 2;
}

.usage-dark-grid {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.usage-dark-content {
    flex: 1.2;
}

.usage-dark-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ffa559;
    background: rgba(255,107,0,0.15);
    padding: 0.25rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,107,0,0.3);
}

.usage-dark-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.usage-dark-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 1.5rem;
}

.usage-dark-list li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.9rem;
    color: #e0e6ed;
    line-height: 1.4;
}

.usage-dark-list li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #ffa559;
    font-size: 0.8rem;
}

.usage-dark-footer {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.usage-dark-footer p {
    margin: 0;
    color: #b8c4ce;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.usage-dark-footer i {
    color: #ffa559;
}

.btn-dark-usage {
    background: #FF6B00;
    color: white;
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(255,107,0,0.2);
    transition: all 0.2s;
}

.btn-dark-usage:hover {
    background: #e05a00;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,107,0,0.3);
}

/* Правая часть — визуал */
.usage-dark-visual {
    flex: 0.9;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 24px -8px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,107,0,0.3);
}

.usage-dark-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.usage-dark-visual:hover img {
    transform: scale(1.02);
}

.usage-dark-visual-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(30,36,44,0.8);
    backdrop-filter: blur(4px);
    padding: 0.4rem 1rem;
    border-radius: 40px;
    color: #ffa559;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255,107,0,0.4);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .usage-dark-grid {
        flex-direction: column;
        gap: 2rem;
    }
    .usage-dark-visual {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .usage-dark-visual img {
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .siding-usage-dark {
        padding: 1.8rem 0;
    }
    .usage-dark-title {
        font-size: 1.6rem;
    }
    .usage-dark-list {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .usage-dark-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .btn-dark-usage {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
/* ===== ОГРАНИЧЕНИЕ КАРТИНКИ В БЛОКЕ ПРИМЕНЕНИЯ ===== */
.usage-dark-visual {
    max-width: 40%;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 25px rgba(0,0,0,0.2);
}

.usage-dark-visual img {
    width: 100%;
    height: 100%;
    max-height: 260px;          /* ← регулируйте по вкусу */
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.usage-dark-visual:hover img {
    transform: scale(1.03);
}

/* Адаптивность */
@media (max-width: 1024px) {
    .usage-dark-visual {
        max-width: 100%;
        margin-top: 1.5rem;
    }
    .usage-dark-visual img {
        max-height: 200px;
    }
}
/* ===== ВОЗДУХ ПОД КНОПКОЙ В ТЁМНОМ БЛОКЕ ===== */
.usage-dark-footer {
    padding-bottom: 0.8rem;
}

/* Альтернативно: увеличить отступ всей секции снизу */
.siding-usage-dark {
    padding-bottom: 3.5rem;
}