/* Преимущества */
#advantages {
    padding: 80px 0;
    background-color: white;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 5%;
}

.advantage-card {
    background: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.advantage-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.advantage-card:hover .advantage-icon {
    color: var(--secondary);
    transform: scale(1.1);
}

.advantage-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.advantage-card p {
    color: var(--dark);
    line-height: 1.6;
    font-size: 1rem;
}

/* Принципы работы */
#principles {
    padding: 80px 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 5%;
}

.principle-card {
    background: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.principle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.principle-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.principle-icon.lifo {
    background-color: rgba(0, 86, 179, 0.1);
    color: var(--primary);
}

.principle-icon.fifo {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--secondary);
}

.principle-card:hover .principle-icon {
    transform: scale(1.1) rotate(5deg);
}

.principle-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.principle-card p {
    color: var(--dark);
    line-height: 1.6;
}

/* Сравнение с аналогами */
#comparison {
    padding: 80px 0;
    background-color: white;
}

.comparison-table {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 5%;
    overflow-x: auto;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comparison-table th, 
.comparison-table td {
    padding: 15px 20px;
    text-align: left;
    border: 1px solid #e9ecef;
}

.comparison-table th {
    background-color: var(--primary);
    color: white;
    font-weight: 600;
}

.comparison-table tr:nth-child(even) {
    background-color: #f8f9fa;
}

.comparison-table tr:hover {
    background-color: rgba(0, 86, 179, 0.05);
}

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--primary);
}

/* Примеры проектов */
#projects {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 5%;
}

.project-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image {
    height: 250px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.project-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.project-content ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    color: var(--dark);
}

.project-content ul li::before {
    content: "•";
    color: var(--secondary);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.project-content ul li strong {
    color: var(--primary);
}

/* FAQ */
#faq {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 5%;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.faq-question {
    padding: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin: 0;
    flex: 1;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
}

.faq-answer p {
    color: var(--dark);
    line-height: 1.6;
    margin: 0 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 25px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Адаптивные стили */
@media (max-width: 1600px) {
    .advantages-grid,
    .project-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .advantage-card {
        padding: 30px 20px;
    }
    
    .advantage-icon {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .principle-card {
        padding: 30px;
    }
    
    .principle-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .project-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .advantages-grid,
    .principles-grid {
        grid-template-columns: 1fr;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .advantage-card,
    .principle-card {
        padding: 25px;
    }
    
    .comparison-table th, 
    .comparison-table td {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .advantage-icon {
        font-size: 2rem;
    }
    
    .advantage-card h3 {
        font-size: 1.2rem;
    }
    
    .principle-card h3 {
        font-size: 1.3rem;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
}


/* Монтаж и сервисное обслуживание */
.installation-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}


.section-subtitle {
    font-size: 1.2rem;
    color: #000000;
    max-width: 700px;
    margin: 0 auto;
}

.installation-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.process-step {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-visual img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.step-content {
    padding: 25px;
}

.step-content h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.step-content p {
    color: #000000;
    line-height: 1.6;
}

.safety-features {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.safety-features h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 40px;
}


.feature-card {
    text-align: center;
    padding: 25px;
    border-radius: 8px;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: #e8f4fc;
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    fill: #3498db;
}

.feature-card h4 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.feature-card p {
    color: #000000;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Портфолио выполненных объектов */
.portfolio-section {
    padding: 80px 0;
    background-color: #fff;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-info {
    padding: 25px;
    background: white;
}

.project-info h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.location {
    color: #3498db;
    font-weight: 600;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.location:before {
    content: "📍";
    margin-right: 5px;
}

.project-desc {
    color: #7f8c8d;
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-features li {
    padding: 5px 0;
    color: #34495e;
    font-size: 0.95rem;
    position: relative;
    padding-left: 20px;
}

.project-features li:before {
    content: "✓";
    color: #27ae60;
    position: absolute;
    left: 0;
}

.portfolio-cta {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 40px;
}

.portfolio-cta p {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(41, 128, 185, 0.3);
}

@media (max-width: 768px) {
    
    
    .installation-process {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}