/* ===== CSS RESET И ПЕРЕМЕННЫЕ ===== */
:root {
    /* Цветовая схема - темно-серая с желтыми акцентами */
    --dark-gray: #121212;
    --medium-gray: #1e1e1e;
    --light-gray: #2d2d2d;
    --accent-yellow: #FFC107;
    --accent-yellow-dark: #FFA000;
    --white: #FFFFFF;
    --light-text: #E0E0E0;
    --text-gray: #B0B0B0;
    
    /* Дополнительные цвета */
    --dpk-color: #4CAF50;
    --wood-color: #8B4513;
    
    /* Тени и эффекты */
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-gray);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ОБЩИЕ СТИЛИ ===== */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h1, 
.section-title h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.accent-line {
    height: 3px;
    width: 80px;
    background-color: var(--accent-yellow);
    margin: 0 auto 30px;
}

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

/* Кнопки */
.btn {
    display: inline-block;
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    padding: 14px 32px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--accent-yellow-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.btn-outline:hover {
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-block {
    width: 100%;
    display: block;
}

/* ===== ШАПКА (ОБЩАЯ ДЛЯ ВСЕХ СТРАНИЦ) ===== */
header {
    background-color: rgba(30, 30, 30, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    color: var(--accent-yellow);
    font-size: 32px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
}

.logo-text span {
    color: var(--accent-yellow);
}

/* Навигация */
nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

nav a:hover,
nav a.active {
    color: var(--accent-yellow);
}

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

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.header-contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.header-phone:hover {
    color: var(--accent-yellow);
}

.phone-icon {
    color: var(--accent-yellow);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--medium-gray);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu li {
    margin-bottom: 15px;
}

.mobile-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.mobile-menu a:hover {
    color: var(--accent-yellow);
}

/* Хлебные крошки */
.breadcrumbs {
    background-color: var(--medium-gray);
    padding: 15px 0;
    margin-top: 80px;
}

.breadcrumbs a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--accent-yellow);
}

.breadcrumbs span {
    color: var(--accent-yellow);
}

.breadcrumbs a:after {
    content: "/";
    margin: 0 10px;
    color: var(--text-gray);
}

/* ===== СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ ===== */
/* Герой */
.hero {
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9));
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    color: var(--white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero h1 span {
    color: var(--accent-yellow);
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    color: var(--light-text);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* О компании */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--light-text);
}

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: var(--medium-gray);
    border-radius: 5px;
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature-icon {
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.feature-text h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 18px;
}

.company-details {
    background-color: rgba(255, 193, 7, 0.1);
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.company-details h4 {
    color: var(--accent-yellow);
    margin-bottom: 10px;
}

.about-image {
    background-color: var(--medium-gray);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photo-placeholder {
    color: var(--text-gray);
}

.photo-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--light-gray);
}

/* Наш подход */
.approach-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step {
    background-color: var(--medium-gray);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    height: 100%;
}

.step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    font-weight: 800;
    font-size: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 22px;
}

.step p {
    color: var(--light-text);
}

/* Галерея */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.photo-item {
    background-color: var(--medium-gray);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Блог превью */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.blog-card {
    background-color: var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

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

.blog-card-image {
    height: 180px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 50px;
}

.blog-card-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-meta .date {
    color: var(--accent-yellow);
}

.blog-meta .category {
    color: var(--text-gray);
    background-color: rgba(255, 193, 7, 0.1);
    padding: 3px 10px;
    border-radius: 3px;
}

.blog-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.blog-card h3 a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.blog-card h3 a:hover {
    color: var(--accent-yellow);
}

.blog-card p {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--accent-yellow-dark);
}

/* Контакты */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--light-text);
}

.contact-details {
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--accent-yellow);
    font-size: 20px;
    width: 30px;
}

.contact-item h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 18px;
}

.contact-item a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--accent-yellow);
}

/* Форма */
.contact-form {
    background-color: var(--medium-gray);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-form h3 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 24px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: var(--dark-gray);
    border: 1px solid var(--light-gray);
    border-radius: 5px;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ БЛОГА ===== */
.all-articles {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.blog-article-large {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    background-color: var(--medium-gray);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-article-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-yellow);
    font-size: 60px;
}

.article-content {
    padding: 30px 30px 30px 0;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-gray);
}

.article-meta i {
    margin-right: 5px;
}

.article-meta .date {
    color: var(--accent-yellow);
}

.blog-article-large h2 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 1.4;
}

.blog-article-large h2 a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.blog-article-large h2 a:hover {
    color: var(--accent-yellow);
}

.blog-article-large p {
    color: var(--light-text);
    margin-bottom: 20px;
}

/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ СТАТЬИ ===== */
.article-full {
    background-color: var(--dark-gray);
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-gray);
}

.article-meta .category {
    background-color: var(--accent-yellow);
    color: var(--dark-gray);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

.article-header h1 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-excerpt {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.article-image-main {
    margin-top: 30px;
}

.placeholder-image {
    background-color: var(--medium-gray);
    padding: 60px;
    text-align: center;
    border-radius: 8px;
}

.placeholder-image i {
    font-size: 80px;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    color: var(--white);
    margin: 40px 0 20px;
    font-size: 28px;
}

.article-content h3 {
    color: var(--white);
    margin: 30px 0 15px;
    font-size: 22px;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--light-text);
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--light-text);
}

/* Таблицы сравнения */
.comparison-table {
    margin: 30px 0;
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comparison-item {
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.comparison-item.dpk {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--dpk-color);
}

.comparison-item.wood {
    background-color: rgba(139, 69, 19, 0.1);
    border: 1px solid var(--wood-color);
}

.comparison-item h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.comparison-item.dpk h3 {
    color: var(--dpk-color);
}

.comparison-item.wood h3 {
    color: var(--wood-color);
}

.highlight-box {
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.highlight-box.dpk {
    background-color: rgba(76, 175, 80, 0.1);
    border-left: 4px solid var(--dpk-color);
}

.highlight-box.wood {
    background-color: rgba(139, 69, 19, 0.1);
    border-left: 4px solid var(--wood-color);
}

.price-comparison {
    background-color: var(--medium-gray);
    padding: 25px;
    border-radius: 8px;
    margin: 25px 0;
}

.price-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.price-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.safety-table {
    overflow-x: auto;
    margin: 30px 0;
}

.safety-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--medium-gray);
}

.safety-table th,
.safety-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.safety-table th {
    background-color: var(--light-gray);
    color: var(--white);
    font-weight: 600;
}

.safety-table tr:hover {
    background-color: rgba(255, 193, 7, 0.05);
}

.green {
    color: #4CAF50;
}

.red {
    color: #f44336;
}

.final-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.final-score {
    padding: 25px;
    border-radius: 8px;
}

.final-score:first-child {
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid var(--dpk-color);
}

.final-score:last-child {
    background-color: rgba(139, 69, 19, 0.1);
    border: 1px solid var(--wood-color);
}

.final-score h3 {
    margin-top: 0;
    margin-bottom: 15px;
}

.final-score:first-child h3 {
    color: var(--dpk-color);
}

.final-score:last-child h3 {
    color: var(--wood-color);
}

.article-conclusion {
    background-color: var(--medium-gray);
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
    border-left: 4px solid var(--accent-yellow);
}

.article-cta {
    background-color: rgba(255, 193, 7, 0.1);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 50px 0;
    border: 1px solid var(--accent-yellow);
}

.article-cta h3 {
    color: var(--white);
    margin-bottom: 15px;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--light-gray);
    margin-top: 50px;
}

.back-to-blog {
    color: var(--accent-yellow);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.back-to-blog:hover {
    color: var(--accent-yellow-dark);
}

.share-article {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-article span {
    color: var(--text-gray);
}

.social-share {
    color: var(--light-text);
    font-size: 20px;
    transition: var(--transition);
}

.social-share:hover {
    color: var(--accent-yellow);
    transform: translateY(-3px);
}

/* ===== ПОДВАЛ (ОБЩИЙ ДЛЯ ВСЕХ СТРАНИЦ) ===== */
footer {
    background-color: var(--medium-gray);
    padding: 60px 0 30px;
    border-top: 1px solid var(--light-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-column p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--light-text);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-column ul li i {
    color: var(--accent-yellow);
    width: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1100px) {
    .approach-steps,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    
