/* Страница Контакты */
.contacts-page {
    padding: 40px 0 60px;
    overflow: hidden;
}

.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 400;
    color: #2E2E2E;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C6A43F, transparent);
}

.contacts-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Сетка для двух колонок */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Общие стили секций */
.contacts-section {
    background: #ffffff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    border: 1px solid #f0e8dd;
    margin-bottom: 30px;
    clear: both;
    box-sizing: border-box;
}

.contacts-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    color: #2E2E2E;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #C6A43F, transparent);
}

.contacts-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

.contacts-section p:last-child {
    margin-bottom: 0;
}

/* Элементы контактов */
.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #f0e8dd;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item i {
    color: #C6A43F;
    width: 30px;
    font-size: 22px;
    text-align: center;
}

.contact-item div {
    flex: 1;
}

.contact-label {
    font-weight: 500;
    color: #2E2E2E;
    display: inline-block;
    margin-right: 10px;
}

.contact-item a {
    color: #555;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: #C6A43F;
}

/* Социальные сети */
.social-links {
    margin-top: 25px;
}

.social-links h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2E2E2E;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(198,164,63,0.1);
    border-radius: 50%;
    color: #C6A43F;
    font-size: 20px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: #C6A43F;
    color: #fff;
    transform: translateY(-2px);
}

/* Информация о ПВЗ */
.pvz-info {
    margin-top: 20px;
}

.pvz-info h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2E2E2E;
    margin: 20px 0 10px;
}

.pvz-info h3:first-of-type {
    margin-top: 0;
}

.pvz-steps {
    list-style-type: decimal;
    padding-left: 20px;
    margin-bottom: 20px;
}

.pvz-steps li {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.pvz-steps li::marker {
    color: #C6A43F;
    font-weight: 500;
}

.pvz-hours {
    list-style: none;
    padding: 0;
}

.pvz-hours li {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pvz-hours li i {
    color: #C6A43F;
    width: 20px;
}

.pvz-hours .note {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-top: 5px;
}

/* Кнопки */
.wb-shop-button {
    display: inline-block;
    background: linear-gradient(135deg, #7B3FE4 0%, #9f6eff 100%);
    color: #fff;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
    border: none;
    box-shadow: 0 10px 25px rgba(123, 63, 228, 0.3);
    margin-top: 10px;
}

.wb-shop-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(123, 63, 228, 0.4);
}

.pvz-map-button {
    display: inline-block;
    background: transparent;
    border: 2px solid #C6A43F;
    color: #C6A43F;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 60px;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s;
    margin-top: 15px;
}

.pvz-map-button:hover {
    background: #C6A43F;
    color: #fff;
}

/* Блок реквизитов */
.contacts-section .note {
    font-size: 14px;
    color: #888;
    font-style: italic;
    margin-top: 10px;
}

/* FAQ */
.faq-item {
    margin-bottom: 25px;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 500;
    color: #2E2E2E;
    margin-bottom: 8px;
}

.faq-item p {
    font-size: 16px;
    color: #555;
    margin-bottom: 0;
    padding-left: 20px;
    border-left: 3px solid rgba(198,164,63,0.3);
}

/* Карта */
.map-section .map-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.map-section .map-container iframe,
.map-section .map-container script {
    display: block;
    width: 100%;
}

/* Адаптивность */
@media screen and (max-width: 1024px) {
    .contacts-section {
        padding: 30px;
    }
}

@media screen and (max-width: 768px) {
    .page-title {
        font-size: 36px;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .contacts-section {
        padding: 25px;
        margin-bottom: 20px;
    }
    
    .contact-item {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .social-icons {
        flex-wrap: wrap;
    }

    .map-section .map-container {
        height: 400px;
    }
}

@media screen and (max-width: 480px) {
    .page-title {
        font-size: 28px;
    }
    
    .contacts-section {
        padding: 20px;
    }
    
    .contact-item i {
        width: 24px;
        font-size: 20px;
    }
    
    .contact-label {
        display: block;
        margin-bottom: 5px;
    }
    
    .wb-shop-button {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .pvz-map-button {
        width: 100%;
        text-align: center;
    }
    
    .faq-item p {
        padding-left: 15px;
    }

    .map-section .map-container {
        height: 300px;
    }
}