html body .kh-contact-page {
    --kh-contact-ink: #071a45;
    --kh-contact-muted: #5f6f8b;
    --kh-contact-line: #dce6f4;
    --kh-contact-blue: #157cf5;
    --kh-contact-violet: #6b4eff;
    padding-top: 24px;
}

html body .kh-contact-page a,
html body .kh-contact-page button,
html body .kh-contact-page input,
html body .kh-contact-page textarea { font: inherit; }

html body .kh-contact-page__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 2138 / 735;
    min-height: 0;
    border: 1px solid #d9e5f6;
    border-radius: 22px;
    background: #f4f8fe;
    box-shadow: 0 22px 60px rgba(33, 54, 96, .08);
}

html body .kh-contact-page__hero-image,
html body .kh-contact-page__hero-shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

html body .kh-contact-page__hero-image {
    z-index: -2;
    object-fit: cover;
    object-position: center;
}

html body .kh-contact-page__hero-shade {
    z-index: -1;
    background: linear-gradient(90deg, rgba(255, 255, 255, .4) 0%, rgba(255, 255, 255, .16) 44%, rgba(255, 255, 255, 0) 66%);
}

html body .kh-contact-page__hero-content {
    width: 52%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 28px 0 28px 54px;
}

html body .kh-contact-page__label {
    position: absolute;
    top: 20px;
    left: 40px;
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border: 1px solid #cfe0f7;
    border-radius: 999px;
    background: rgba(245, 249, 255, .92);
    color: #173d7e;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

html body .kh-contact-page__hero h1 {
    max-width: 520px;
    margin: 24px 0 0;
    color: var(--kh-contact-ink);
    font-size: clamp(34px, 3.7vw, 50px);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -.035em;
}

html body .kh-contact-page__hero p {
    margin: 15px 0 0;
    color: #526582;
    font-size: 16px;
    line-height: 1.55;
}

html body .kh-contact-page__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

html body .kh-contact-page__button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border: 1px solid #bfd3ee;
    border-radius: 11px;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

html body .kh-contact-page__button--primary {
    overflow: hidden;
    border: 0 !important;
    background: linear-gradient(135deg, var(--kh-contact-violet) 0%, #21bcef 100%);
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(64, 104, 255, .2);
}

html body .kh-contact-page__button--secondary {
    border-color: #cbd6e5;
    background: rgba(255, 255, 255, .9);
    color: #263750 !important;
}

html body .kh-contact-page__button--primary::before,
html body .kh-contact-page__button--primary::after {
    display: none !important;
    content: none !important;
}

html body .kh-contact-page__button--secondary .kh-contact-page__button-icon {
    color: #53637a;
}

html body .kh-contact-page__button:hover {
    transform: translateY(-2px);
    border-color: #aebccd;
    box-shadow: 0 13px 28px rgba(41, 80, 143, .14);
}

html body .kh-contact-page__button--secondary:hover {
    color: #263750 !important;
}

html body .kh-contact-page__button:focus-visible,
html body .kh-contact-page__form :focus-visible,
html body .kh-contact-page__channel-list a:focus-visible {
    outline: 3px solid rgba(39, 118, 255, .3);
    outline-offset: 3px;
}

html body .kh-contact-page__button-icon,
html body .kh-contact-page__channel-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html body .kh-contact-page__button-icon svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html body .kh-contact-page__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
    gap: 20px;
    margin-top: 22px;
}

html body .kh-contact-page__card,
html body .kh-contact-page__requisites {
    border: 1px solid var(--kh-contact-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(33, 54, 96, .055);
}

html body .kh-contact-page__card {
    min-width: 0;
    padding: 30px;
}

html body .kh-contact-page__channels {
    display: flex;
    flex-direction: column;
}

html body .kh-contact-page__card h2,
html body .kh-contact-page__requisites h2 {
    margin: 0;
    color: var(--kh-contact-ink);
    font-size: 25px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -.018em;
}

html body .kh-contact-page__channel-list {
    flex: 1;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

html body .kh-contact-page__channel-list li {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #e7edf6;
    color: #30415f;
    font-size: 15px;
    line-height: 1.45;
}

html body .kh-contact-page__channel-icon {
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #53637a;
}

html body .kh-contact-page__channel-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

html body .kh-contact-page__channel-list a {
    color: #30415f !important;
    font-weight: 600;
    text-decoration: none !important;
}

html body .kh-contact-page__channel-list li:hover {
    background: transparent !important;
}

html body .kh-contact-page__channel-list a:hover {
    color: #30415f !important;
    opacity: .72;
}

html body .kh-contact-page__form {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

html body .kh-contact-page__field-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

html body .kh-contact-page__field { display: grid; gap: 7px; }

html body .kh-contact-page__field label {
    color: #485a76;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}

html body .kh-contact-page__field input,
html body .kh-contact-page__field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid #d8e1ee;
    border-radius: 11px;
    background: #fbfcff;
    color: var(--kh-contact-ink);
    font-size: 16px;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

html body .kh-contact-page__field input { min-height: 48px; padding: 0 14px; }

html body .kh-contact-page__field textarea {
    min-height: 124px;
    padding: 12px 14px;
    resize: vertical;
}

html body .kh-contact-page__field input:hover,
html body .kh-contact-page__field textarea:hover,
html body .kh-contact-page__field input:focus,
html body .kh-contact-page__field textarea:focus {
    border-color: #89b4ef;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(39, 118, 255, .08);
}

html body .kh-contact-page__consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: #65748d;
    font-size: 12px;
    line-height: 1.48;
    cursor: pointer;
}

html body .kh-contact-page__consent input {
    width: 19px;
    height: 19px;
    margin: 0;
    accent-color: var(--kh-contact-blue);
}

html body .kh-contact-page__consent a {
    color: #344965 !important;
    font-weight: 700;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px;
    text-decoration-color: #8c9aaf;
    transition: color .2s ease, text-decoration-color .2s ease;
}

html body .kh-contact-page__consent a:hover {
    color: #162b49 !important;
    text-decoration-color: #344965;
}

html body .kh-contact-page__submit {
    min-height: 50px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--kh-contact-violet) 0%, #158fea 100%);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 13px 26px rgba(64, 104, 255, .19);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

html body .kh-contact-page__submit:hover {
    transform: translateY(-2px);
    filter: saturate(1.07);
    box-shadow: 0 16px 30px rgba(64, 104, 255, .25);
}

html body .kh-contact-page__notice {
    margin-top: 16px;
    padding: 13px 15px;
    border-radius: 11px;
    font-size: 13px;
    line-height: 1.5;
}

html body .kh-contact-page__notice--success {
    border: 1px solid #b9e9cf;
    background: #effbf4;
    color: #17653b;
}

html body .kh-contact-page__notice--error {
    border: 1px solid #f0c6c6;
    background: #fff5f5;
    color: #8a3030;
}

html body .kh-contact-page__notice ul { margin: 5px 0 0; padding-left: 18px; }

html body .kh-contact-page__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

html body .kh-contact-page__requisites {
    margin-top: 22px;
    padding: 32px 30px;
}

html body .kh-contact-page__requisites-list { margin: 20px 0 0; }

html body .kh-contact-page__requisites-list > div {
    display: grid;
    grid-template-columns: minmax(230px, .82fr) minmax(0, 1.8fr);
    gap: 32px;
    align-items: start;
    min-height: 58px;
    padding: 17px 0;
    border-bottom: 1px solid #e4ebf4;
}

html body .kh-contact-page__requisites-list > div:last-child { border-bottom: 0; }

html body .kh-contact-page__requisites dt,
html body .kh-contact-page__requisites dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

html body .kh-contact-page__requisites dt { color: #65748c; font-weight: 500; }

html body .kh-contact-page__requisites dd {
    color: var(--kh-contact-ink);
    font-weight: 650;
    overflow-wrap: anywhere;
}

@media (max-width: 1024px) {
    html body .kh-contact-page__label { top: 16px; left: 26px; }
    html body .kh-contact-page__hero-content { width: 57%; padding-left: 38px; }
    html body .kh-contact-page__hero h1 { margin-top: 18px; font-size: 34px; }
    html body .kh-contact-page__hero p { margin-top: 10px; font-size: 14px; }
    html body .kh-contact-page__hero-actions { margin-top: 18px; }
    html body .kh-contact-page__button { min-height: 44px; padding: 0 15px; font-size: 12px; }
    html body .kh-contact-page__main { gap: 16px; }
    html body .kh-contact-page__card { padding: 24px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html body .kh-contact-page__hero p,
    html body .kh-contact-page__button--secondary {
        display: none;
    }

    html body .kh-contact-page__hero-content {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    html body .kh-contact-page { width: min(100% - 20px, 1180px); padding-top: 12px; }
    html body .kh-contact-page__hero { min-height: 404px; aspect-ratio: auto; border-radius: 17px; }
    html body .kh-contact-page__hero-image { object-position: 87% center; }
    html body .kh-contact-page__hero-shade { background: linear-gradient(180deg, rgba(255, 255, 255, .45) 0%, rgba(255, 255, 255, .7) 44%, rgba(255, 255, 255, .35) 100%); }
    html body .kh-contact-page__hero-content { width: 100%; align-items: stretch; justify-content: center; padding: 34px 12px 22px; text-align: center; }
    html body .kh-contact-page__label { top: 18px; left: 12px; margin: 0; }
    html body .kh-contact-page__hero h1 { max-width: 290px; margin: 27px auto 0; font-size: 30px; line-height: 1.08; overflow-wrap: normal; word-break: normal; hyphens: none; }
    html body .kh-contact-page__hero p { margin-top: 12px; color: #324763; font-size: 15px; }
    html body .kh-contact-page__hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; width: 100%; margin-top: 22px; }
    html body .kh-contact-page__button { width: 100%; min-height: 46px; padding: 0 12px; font-size: 13px; }
    html body .kh-contact-page__main { grid-template-columns: 1fr; gap: 16px; margin-top: 18px; }
    html body .kh-contact-page__card,
    html body .kh-contact-page__requisites { border-radius: 16px; }
    html body .kh-contact-page__card { padding: 22px 18px; }
    html body .kh-contact-page__card h2,
    html body .kh-contact-page__requisites h2 { font-size: 23px; }
    html body .kh-contact-page__field-row { grid-template-columns: 1fr; }
    html body .kh-contact-page__requisites { margin-top: 18px; padding: 24px 18px; }
    html body .kh-contact-page__requisites-list { margin-top: 14px; }
    html body .kh-contact-page__requisites-list > div { grid-template-columns: 1fr; gap: 7px; padding: 14px 0; }
    html body .kh-contact-page__requisites dt,
    html body .kh-contact-page__requisites dd { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
    html body .kh-contact-page__button,
    html body .kh-contact-page__submit,
    html body .kh-contact-page__field input,
    html body .kh-contact-page__field textarea { transition: none; }
}
