.r23-contacts {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.25fr);
    gap: clamp(16px, 2.2vw, 26px);
    color: var(--green);
    line-height: 1.5;
    text-align: left;
}
.r23-contacts--map-only { grid-template-columns: 1fr; }
.r23-contacts__details, .r23-contacts__location { min-width: 0; border-radius: 16px; }
.r23-contacts__details {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(22px, 3vw, 38px);
    background: linear-gradient(140deg, #233e30, #142c22 70%);
    color: #fff8e9;
}
.r23-contacts .r23-contacts__title {
    margin: 0;
    font: normal clamp(1.7rem, 3vw, 2.4rem)/1.13 var(--serif);
}
.r23-contacts__channels {
    display: grid;
    gap: 6px;
    margin: 0;
    font-style: normal;
}
.r23-contacts__channel {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    padding-block: 4px;
    text-decoration: none;
}
.r23-contacts__channel-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #6c7051;
    border-radius: 50%;
    color: #eed29b;
}
.r23-contacts__label, .r23-contacts__value { display: block; }
.r23-contacts__label {
    color: #dbd3bc;
    font-size: .79rem;
}
.r23-contacts__value {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 600;
    overflow-wrap: anywhere;
}
.r23-contacts__channel:hover .r23-contacts__value,
.r23-contacts__channel:focus-visible .r23-contacts__value { text-decoration: underline; }
.r23-contacts__social {
    margin-block-start: auto;
    padding-block-start: 18px;
    border-block-start: 1px solid #536251;
}
.r23-contacts .r23-contacts__social-title {
    margin: 0 0 10px;
    font: 600 .84rem/1.45 var(--sans);
    color: #e6decb;
}
.r23-contacts__social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.r23-contacts__social-links li { flex: 1 1 0; min-width: 44px; max-width: 80px; }
.r23-contacts__social-links a {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-height: 62px;
    padding: 8px 6px;
    border: 1px solid #687765;
    border-radius: 11px;
    background: #254032;
    color: #fff8e9;
    font-size: .75rem;
    line-height: 1.25;
    text-decoration: none;
}
.r23-contacts__social-links svg { color: #edcc8b; }
.r23-contacts__social-links a:hover,
.r23-contacts__social-links a:focus-visible { background: #375341; border-color: #e1c48b; }
.r23-contacts__location {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #cec3a7;
    background: #faf6ea;
}
.r23-contacts__map-footer {
    display: flex;
    flex: 1 0 auto;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: clamp(16px, 2.1vw, 26px);
}
.r23-contacts .r23-contacts__place {
    margin: 0;
    font: normal clamp(1.4rem, 2.3vw, 1.8rem)/1.2 var(--serif);
}
.r23-contacts .r23-contacts__coordinates {
    margin: .25rem 0 0;
    color: #53614f;
    font: .82rem/1.45 var(--sans);
    font-variant-numeric: tabular-nums;
}
.r23-contacts__route {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: .65rem 1.05rem;
    border-radius: 999px;
    background: var(--green);
    color: var(--cream);
    font-weight: 600;
    text-decoration: none;
}
.r23-contacts__route:hover { background: #324e3b; }
.r23-contacts__route:focus-visible { outline-color: var(--green); }
@media (max-width: 760px) {
    .r23-contacts { grid-template-columns: minmax(0, 1fr); }
    .r23-contacts__details { gap: 18px; }
    .r23-contacts__social { padding-block-start: 14px; }
    .r23-contacts__social-links li { flex: 0 1 auto; max-width: none; }
    .r23-contacts__social-links a { flex-direction: row; gap: 6px; min-height: 44px; min-width: 0; }
    .r23-contacts__social-links svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
    .r23-contacts__social-links li { flex: 1 1 0; }
    .r23-contacts__social-links a { flex-direction: column; min-height: 54px; }
    .r23-contacts__route { flex: 1 0 100%; }
}
