/* Стили для страницы контактов */

/* Переключатель городов */
.city-switcher {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
}

.city-btn {
    cursor: pointer;
    padding: 20px 30px;
    font-size: 0.8em;
    border: 1px solid rgba(214, 181, 96, .38);
    border-radius: 999px;
    background: linear-gradient(0deg, rgba(214, 181, 96, .10), rgba(214, 181, 96, .06));
    box-shadow: 0 0 0 1px rgba(214, 181, 96, .06) inset;
    transition: transform .15s ease, box-shadow .25s ease;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: #e7e2d5;
}

.city-btn:hover {
    box-shadow: 0 0 0 1px rgba(214, 181, 96, .28) inset, 0 6px 28px rgba(214, 181, 96, .12);
    transform: translateY(-1px);
}

.city-btn.active {
    box-shadow: 0 0 0 1px rgba(214, 181, 96, .28) inset, 0 6px 28px rgba(214, 181, 96, .12);
    color: white;
    transform: translateY(-1px);
}

/* Сетка контактов */
.contacts-grid {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contacts-grid.active {
    display: grid;
    opacity: 1;
}

/* Карта и оверлеи */
.map-overlay {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-overlay.active {
    display: block;
    opacity: 1;
}

/* Стили для кастомного пина */
.custom-placemark {
    position: relative;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -40px;
    cursor: pointer;
}

.custom-placemark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.custom-placemark:hover img {
    transform: scale(1.1);
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .city-switcher {
        flex-direction: column;
        align-items: center;
    }

    .city-btn {
        width: 100%;
        max-width: 300px;
    }
}
