.sb-v2-contact {
    background: var(--sb-white);
    padding: 22px 0 10px;
}

.sb-v2-crumb {
    color: var(--sb-text-soft);
    font-size: 14px;
    margin-bottom: 18px;
}

.sb-v2-crumb a {
    color: var(--sb-text-soft);
    text-decoration: none;
}

.sb-v2-crumb a:hover {
    color: var(--sb-green);
}

.sb-v2-crumb__sep {
    margin: 0 6px;
}

.sb-v2-contact-head__title {
    margin: 0 0 6px;
    font-size: 34px;
    font-weight: 700;
    color: var(--sb-text);
}

.sb-v2-contact-head__lead {
    margin: 0 0 22px;
    color: var(--sb-text-secondary);
    font-size: 16px;
}

.sb-v2-contact-head__grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(280px, 1.15fr);
    gap: 28px;
    align-items: stretch;
}

.sb-v2-contact-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sb-v2-contact-row {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.sb-v2-contact-row__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--sb-green-light);
    color: var(--sb-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 56px;
    font-size: 22px;
}

.sb-v2-contact-row__label {
    color: var(--sb-text-soft);
    font-size: 15px;
    margin-bottom: 2px;
}

.sb-v2-contact-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.sb-v2-contact-phone .sb-v2-contact-row__value {
    display: inline;
}

.sb-v2-contact-viber {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: var(--sb-radius-pill);
    background: var(--sb-viber);
    color: var(--sb-white);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.sb-v2-contact-row__value,
.sb-v2-contact-row__plain {
    display: block;
    color: var(--sb-ink);
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

body.sb-v2 a.sb-v2-contact-row__value,
body.sb-v2 a.sb-v2-contact-row__value:hover,
body.sb-v2 a.sb-v2-contact-row__value:focus {
    color: var(--sb-green);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

body.sb-v2 a.sb-v2-contact-viber,
body.sb-v2 a.sb-v2-contact-viber:hover,
body.sb-v2 a.sb-v2-contact-viber:focus {
    color: var(--sb-white);
    background: var(--sb-viber);
    font-size: 13px;
    font-weight: 700;
}

.sb-v2-contact-place__title {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 700;
}

.sb-v2-contact-place__address {
    margin: 0 0 12px;
    color: var(--sb-text-secondary);
}

.sb-v2-contact-map {
    border: 1px solid var(--sb-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--sb-surface);
}

.sb-v2-contact-map__frame {
    height: 280px;
    background: var(--sb-green-light);
}

.sb-v2-contact-map__frame iframe {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

body.sb-v2 a.sb-v2-contact-map__nav,
body.sb-v2 a.sb-v2-contact-map__nav:hover,
body.sb-v2 a.sb-v2-contact-map__nav:focus {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--sb-green);
    color: var(--sb-white);
    text-decoration: none;
    font-weight: 700;
    min-height: 48px;
}

body.sb-v2 a.sb-v2-contact-map__nav:hover,
body.sb-v2 a.sb-v2-contact-map__nav:focus {
    background: var(--sb-green-dark);
    color: var(--sb-white);
}

.sb-v2-contact-visit {
    display: flex;
    gap: 14px;
    margin-top: auto;
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--sb-green-light);
    color: var(--sb-green-ink);
}

.sb-v2-contact-visit__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--sb-green);
    color: var(--sb-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    font-size: 20px;
}

body.sb-v2 .sb-v2-contact-visit strong,
body.sb-v2 .sb-v2-contact-visit__title {
    display: block;
    margin: 0 0 2px;
    font-weight: 700;
}

.sb-v2-contact-visit__text p {
    margin: 0;
    line-height: 1.35;
}

.sb-v2-contact-visit__text p + p {
    margin-top: 2px;
}

.sb-v2-contact-visit__text p:empty,
.sb-v2-contact-visit__text p:has(> br:only-child) {
    display: none;
    margin: 0;
}

.sb-v2-contact-form {
    padding: 1.75rem 0 2rem;
}

.sb-v2-contact-form__title {
    margin: 0 0 16px;
    font-size: 26px;
    font-weight: 700;
}

.sb-v2-contact-form__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 1rem;
}

.sb-v2-contact-form__message {
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 0;
}

.sb-v2-contact-form__message textarea {
    flex: 1 1 auto;
    min-height: 148px;
    resize: vertical;
}


.sb-v2-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sb-v2-topic {
    margin: 0;
    min-width: 0;
}

.sb-v2-topic input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sb-v2-topic span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    border: 1px solid var(--sb-border);
    border-radius: var(--sb-radius-pill);
    padding: 8px 16px;
    color: var(--sb-ink);
    cursor: pointer;
    background: var(--sb-white);
}

.sb-v2-topic input:checked + span {
    border-color: var(--sb-green);
    color: var(--sb-green);
    background: var(--sb-green-light);
    font-weight: 700;
}

.sb-v2-contact-form__actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--sb-green-light);
}

.sb-v2-contact-form__captcha {
    margin: 0;
}

.sb-v2-contact-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 28px;
    border: 0;
    border-radius: 10px;
    background: var(--sb-green);
    color: var(--sb-white);
    font-weight: 700;
    min-height: 48px;
    cursor: pointer;
}

.sb-v2-contact-form__submit:hover {
    background: var(--sb-green-dark);
    color: var(--sb-white);
}

.sb-v2-contact-form__submit:disabled {
    opacity: 0.7;
    cursor: default;
}

.sb-v2-contact-form__note {
    margin: 0 0 12px;
}

.sb-v2-contact-form__note.is-error {
    color: var(--sb-danger);
}

@media (max-width: 767px) {
    .sb-v2-contact-head__grid,
    .sb-v2-contact-form__top,
    .sb-v2-contact-form__actions {
        grid-template-columns: 1fr;
    }

    .sb-v2-contact-head__title {
        font-size: 28px;
    }
}
