.contacts-page .entry-title {
    font-size: 32px;
    margin-bottom: 30px;
    color: #333;
}

.contacts-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-details,
.contact-block-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.contact-block h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #2c3e50;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: #34495e;
    margin-bottom: 12px;
}

.contact-item i {
    font-size: 18px;
    color: #ff6b35;
    width: 24px;
    text-align: center;
}

.contact-item a {
    color: #34495e;
    transition: color 0.2s ease;
}

.contact-item a:hover {
    color: #ff6b35;
}

.feedback-block {
    background: #ff7f50;
    padding: 24px;
    border-radius: 20px;
    position: relative;
}

.feedback-block h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
}

.feedback-block p {
    color: #ffffff;
    opacity: 0.7;
    line-height: 1.5;
    margin-bottom: 20px;
    font-size: 14px;
}

.feedback-block img {
    width: 44px;
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.feedback-button {
    background: #ffffff;
    color: #ff6b35;
    padding: 12px 32px;
    border-radius: 60px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feedback-button:hover {
    background: #e65a29;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.contact-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
}

@media (max-width: 1024px) {
    .contact-block-wrapper {
        flex-direction: row;
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .contacts-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-map-wrapper {
        order: -1; /* Помещаем карту сверху на планшетах */
    }
}

@media (max-width: 768px) {
    .contacts-container {
        gap: 30px;
    }

    .contact-block h3, .feedback-block h3 {
        font-size: 18px;
    }

    .contact-item {
        font-size: 14px;
    }
} 

@media (max-width: 480px) {
    .contacts-page .entry-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .contact-details {
        gap: 24px;
    }
    
    .contact-block h3 {
        margin-bottom: 8px;
    }

    .contact-block-wrapper {
        flex-direction: column;
        gap: 20px;
    }
}