:root {
    --cr-blue: #00247e;
    --cr-blue-dark: #1a3d99;
}

.contact-reveal-section { padding: 56px 0 64px; }
.contact-reveal-section__head { margin-bottom: 32px; }

.cr-inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #1f2937;
}

.cr-inner p, .cr-inner a, .cr-inner button {
    font-size: inherit;
    line-height: inherit;
}

.cr-lead {
    margin: 0 0 22px;
    font-size: 1.0625rem;
    color: #6b7280;
    text-align: center;
}

.cr-captcha-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

/*.cr-actions { text-align: left; min-height: 26px; margin-top: 4px; margin-bottom: 0; }*/

/*.cr-link-btn {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 8px;*/
/*    padding: 0 0 2px;*/
/*    border: 0;*/
/*    border-bottom: 1px solid rgba(0, 36, 126, .35);*/
/*    background: none;*/
/*    color: var(--cr-blue);*/
/*    font-weight: 500;*/
/*    cursor: pointer;*/
/*    transition: color .2s ease, border-color .2s ease;*/
/*}*/

/*.cr-link-btn:hover,*/
/*.cr-link-btn:focus-visible {*/
/*    color: var(--cr-blue-dark);*/
/*    border-bottom-color: currentColor;*/
/*}*/

/*.cr-link-btn:focus-visible {*/
/*    outline: 2px solid rgba(0, 36, 126, .35);*/
/*    outline-offset: 3px;*/
/*}*/

/*.cr-link-btn.is-locked,*/
/*.cr-link-btn[disabled] {*/
/*    color: #9aa3b2;*/
/*    border-bottom-color: rgba(154, 163, 178, .4);*/
/*    cursor: not-allowed;*/
/*}*/

/*.cr-link-btn__spinner {*/
/*    width: 14px;*/
/*    height: 14px;*/
/*    border: 2px solid currentColor;*/
/*    border-right-color: transparent;*/
/*    border-radius: 50%;*/
/*    animation: cr-spin .7s linear infinite;*/
/*}*/

@keyframes cr-spin { to { transform: rotate(360deg); } }

.cr-live {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cr-result {
    width: 100%;
    box-sizing: border-box;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid #e5e5e5;
}

.cr-result__row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 100%;
}

.cr-result__link {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--cr-blue);
    word-break: break-word;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color .2s ease;
}

.cr-result__link:hover,
.cr-result__link:focus-visible {
    color: var(--cr-blue-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cr-copy {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 0;
    background: none;
    color: #9aa3b2;
    cursor: pointer;
    transition: color .2s ease;
}

.cr-copy:hover,
.cr-copy:focus-visible { color: var(--cr-blue); }

.cr-copy:focus-visible {
    outline: 2px solid rgba(0, 36, 126, .35);
    outline-offset: 2px;
}

.cr-copy__label {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.cr-result__action { margin: 18px 0 0; }

.cr-mailto {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cr-blue);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 36, 126, .35);
    padding-bottom: 2px;
    transition: color .2s ease, border-color .2s ease;
}

.cr-mailto:hover,
.cr-mailto:focus-visible {
    color: var(--cr-blue-dark);
    border-bottom-color: currentColor;
}

.cr-mailto svg { flex: none; }

.cr-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    color: #b42318;
    text-align: left;
}

.cr-message__icon {
    flex: none;
    margin-top: 3px;
    color: #dc2626;
}

.cr-message__text {
    margin: 0;
    font-size: .9375rem;
    line-height: 1.5;
}

.cr-note {
    margin: 28px 0 0;
    /*font-size: .875rem;*/
    line-height: 1.6;
    color: #9aa3b2;
    text-align: center;
    font-size: 9pt !important;
}

.cr-note a {
    color: #6b7280;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cr-note a:hover,
.cr-note a:focus-visible { color: var(--cr-blue); }

.cr-fade-enter-active,
.cr-fade-leave-active {
    transition: opacity .25s ease, transform .25s ease;
}

.cr-fade-enter-from,
.cr-fade-leave-to {
    opacity: 0;
    transform: translateY(-4px);
}

@media (max-width: 575.98px) {
    .contact-reveal-section { padding: 40px 0 48px; }
    /*.cr-result__link { font-size: 1.25rem; }*/
    .cr-result__link { font-size: 14pt; }
    .cr-result__row { flex-wrap: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    .cr-fade-enter-active,
    .cr-fade-leave-active,
    .cr-link-btn,
    .cr-result__link,
    .cr-copy,
    .cr-mailto { transition: none; }
    .cr-link-btn__spinner { animation-duration: 1.6s; }
}

/* ——— Капча ——— */
.sc {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
}

.sc__box {
    width: 100%;
    max-width: 300px;
    min-height: 102px;
    transition: opacity .2s ease;
}

.sc__box.is-error { opacity: .6; }
.sc__box.is-ready { opacity: 1; }

/*.sc__error {*/
/*    margin: 10px 0 0;*/
/*    font-size: .9375rem;*/
/*    line-height: 1.5;*/
/*    color: #b42318;*/
/*    text-align: center;*/
/*}*/

.sc__loading {
    margin: 8px 0 0;
    font-size: .875rem;
    color: #9aa3b2;
}

/* ——— Двухколоночная раскладка ——— */
@media (min-width: 992px) {
    .cr-inner {
        max-width: 960px;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 0;
        row-gap: 0;
        align-items: stretch;
        text-align: left;
    }

    /* Левая колонка */
    .cr-col { padding-right: 64px; }

    /* Правая колонка */
    .cr-col--result {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-left: 64px;
        border-left: 1px solid #e5e5e5;
        min-height: 0;
    }

    .cr-lead { text-align: center; margin-bottom: 20px; }
    .cr-captcha-wrap { justify-content: flex-start; margin-bottom: 0; }
    /*.cr-actions { text-align: left; min-height: 26px; margin-top: 4px; margin-bottom: 0; }*/

    .cr-live { align-items: stretch; min-height: 0; }

    .cr-result,
    .cr-placeholder {
        margin-top: 0;
        padding-top: 0;
        border-top: 0;
        text-align: left;
    }

    .cr-result__row { justify-content: flex-start; }

    /* Подпись — вне сетки, ниже обеих колонок */
    .cr-note {
        grid-column: 1 / -1;
        text-align: center;
        margin: 32px 0 0;
        padding-top: 20px;
        border-top: 1px solid #e5e5e5;
        font-size: 9pt !important;
    }

    /* Статус и повтор — выравниваем по левому краю колонки */
    .cr-status,
    .cr-retry {
        margin-top: 16px;
        justify-content: flex-start;
        align-self: flex-start;
    }

    .cr-live { align-items: stretch; min-height: 0; }
}

/* ——— Плейсхолдер ——— */
.cr-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: #9aa3b2;
    text-align: center;
}

.cr-placeholder__value {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: .08em;
    color: #c4cad4;
}

.cr-placeholder__hint {
    margin: 0;
    font-size: 9pt;
    /*font-size: .875rem; */
}

@media (min-width: 992px) {
    .cr-placeholder { align-items: flex-start; text-align: left; }
}

/* ——— Неактивные действия ——— */
.cr-mailto.is-disabled,
.cr-mailto[aria-disabled="true"],
.cr-copy[aria-disabled="true"],
.cr-copy[disabled] {
    color: #c4cad4;
    border-bottom-color: transparent;
    cursor: not-allowed;
    pointer-events: none;
}

.cr-copy[disabled] { pointer-events: none; }

/* ——— Статус вместо кнопки ——— */
.cr-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    color: #9aa3b2;
    font-size: .9375rem;
}

.cr-status__spinner {
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: cr-spin .7s linear infinite;
}

.cr-retry {
    margin-top: 18px;
    padding: 0 0 2px;
    border: 0;
    border-bottom: 1px solid rgba(0, 36, 126, .35);
    background: none;
    color: var(--cr-blue);
    font-weight: 500;
    cursor: pointer;
    transition: border-color .2s ease, color .2s ease;
}

.cr-retry:hover,
.cr-retry:focus-visible {
    color: var(--cr-blue-dark);
    border-bottom-color: currentColor;
}

.cr-retry:focus-visible {
    outline: 2px solid rgba(0, 36, 126, .35);
    outline-offset: 3px;
}

.cr-retry[disabled] {
    color: #9aa3b2;
    border-bottom-color: rgba(154, 163, 178, .4);
    cursor: not-allowed;
}

/* Мобильный .cr-live должен центрировать статус и повтор */
@media (max-width: 991.98px) {
    .cr-status,
    .cr-retry {
        display: flex;
        margin-left: auto;
        margin-right: auto;
    }
    .cr-status { width: auto; }
}



@media (prefers-reduced-motion: reduce) {
    .cr-status__spinner { animation-duration: 1.6s; }
}