/* =====================================================
   CLOCK
   ===================================================== */

.local-time_clock {
    font-variant-numeric: tabular-nums;
}

/* =====================================================
   CONTACTS
   ===================================================== */

.contacts {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.contact-group {
    display: flex;
    flex-direction: column;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 28px;
}

.contact-row_icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 18px;
    height: 18px;
    border-radius: 50%;

    color: #368c42;
}

.contact-row_icon svg {
    width: 20px;
    height: 20px;
}

.contact-row_text {
    flex: 0 1 auto;
    font-size: 14px;
    cursor: text;
}

.contact-row_copy {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 17px;
    height: 17px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #999999;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity .15s ease;
}

.contact-row_copy svg {
    width: 10px;
    height: 10px;
}

.contact-row_copy:hover {
    color: var(--primary-color);
    background-color: rgba(54, 142, 43, 0.12);
    opacity: 1;
}

.dark-theme .contact-row_copy {
    color: #aaaaaa;
}

/* Подсказка "Скопійовано!" — тот же приём, что у tooltip шкали навичок */
.contact-row_copy::after {
    content: "Скопійовано";

    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 6px;

    padding: 3px 8px;
    border-radius: 4px;
    background-color: var(--primary-color);
    color: #ffffff;
    font-size: 11px;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
}

html[lang="en"] .contact-row_copy::after {
    content: "Copied";
}

.contact-row_copy.is-copied::after {
    opacity: 1;
}

/* =====================================================
   MAPS
   ===================================================== */

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr minmax(260px, 380px);
    gap: 40px;
    align-items: start;
}

.contacts-map {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
}

.contacts-map_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contacts-map_img--dark {
    display: none;
}

.dark-theme .contacts-map_img--light {
    display: none;
}

.dark-theme .contacts-map_img--dark {
    display: block;
}

.contacts-map_circle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 38%;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);

    border: 2px solid #368e2b;
    border-radius: 50%;
    background-color: rgba(54, 142, 43, 0.18);
    pointer-events: none;
}

.contacts-map_label {
    position: absolute;
    left: 12px;
    bottom: 12px;

    padding: 4px 10px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.85);
    color: #222222;
    font-size: 12px;
}

.dark-theme .contacts-map_label {
    background-color: rgba(35, 38, 35, 0.85);
    color: #ffffff;
}

@media (max-width: 600px) {

    .contact-group {
        gap: 4px;
    }

    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contacts-map {
        aspect-ratio: 16 / 10;
    }
}

/* =====================================
   БАГ ПРЫЖКА СТРАНИЦЫ ВВЕРХ НА 40 РХ
===================================== */

.card {
    width: 100%;
    max-width: 960px;
    margin: 40px auto;
    padding: 20px;

    background-color: white;

    text-align: center;
}