/* Основные стили для контактной страницы */


.dtp-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.dtp-header h2 {
    font-size: 2.5rem;
    color: #1d3557;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Стили для SEO контента */
.seo-content {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.seo-content h2 {
    color: #1d3557;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.seo-content h3 {
    color: #457b9d;
    font-size: 1.5rem;
    margin: 30px 0 15px;
    font-weight: 600;
}

.seo-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 20px;
}

.seo-content a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.seo-content a:hover {
    color: #c1121f;
    text-decoration: underline;
}

/* Сетка преимуществ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.benefit-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #e63946;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.benefit-card h3 {
    color: #1d3557;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
}

/* Контейнер контактов */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Информация о контактах */
.contacts-info {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.contact-item:hover {
    background-color: #f8f9fa;
}



.contact-text {
    flex: 1;
}

.contact-text span,
.contact-text a {
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.5;
}

.contact-text a {
    color: #e63946;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: #c1121f;
    text-decoration: underline;
}

/* Карта */
.contacts-map {
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: fit-content;
}

.contacts-map iframe {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .seo-content {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .dtp-content {
        padding: 60px 0 40px;
    }
    
    .dtp-header h2 {
        font-size: 2rem;
    }
    
    .seo-content h2 {
        font-size: 1.7rem;
    }
    
    .seo-content h3 {
        font-size: 1.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .contacts-info,
    .contacts-map {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .dtp-header h2 {
        font-size: 1.8rem;
    }
    
    .seo-content {
        padding: 20px 15px;
    }
    
    .benefit-card {
        padding: 20px;
    }
    
    .contact-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-icon i {
        font-size: 1rem;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dtp-header,
.seo-content,
.contacts-wrapper {
    animation: fadeInUp 0.8s ease-out;
}

/* Иконки Font Awesome */
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

/* Улучшенная читаемость */
.seo-content strong {
    color: #1d3557;
    font-weight: 600;
}

/* Плавные переходы */
.contact-item,
.benefit-card,
.contacts-map iframe {
    transition: all 0.3s ease;
}

/* Улучшенный внешний вид карточки преимуществ */
.benefit-card h3 {
    position: relative;
    padding-left: 15px;
}

.benefit-card h3::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #e63946;
    font-weight: bold;
}

/* Затемнение карты при наведении */
.contacts-map iframe {
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.contacts-map iframe:hover {
    filter: grayscale(0%);
}