.rihlatk-cf {
    --cf-ink: #142B54;
    --cf-muted: #5B6B85;
    --cf-line: #D7E3F4;
    --cf-blue: #147DFB;
    --cf-mid: #3F6EAE;
    --cf-navy: #142B54;
    --cf-soft: #F4F8FF;
    --cf-wa: #25D366;
    --cf-radius: 28px;
    position: relative;
    max-width: 1080px;
    margin: 0 auto;
    color: var(--cf-ink);
    font-family: inherit;
}
.rihlatk-cf *,
.rihlatk-cf *::before,
.rihlatk-cf *::after { box-sizing: border-box; }
.rihlatk-cf__shell {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.2fr);
    background: #fff;
    border: 1px solid var(--cf-line);
    border-radius: var(--cf-radius);
    box-shadow: 0 22px 50px rgba(20, 43, 84, 0.1);
    overflow: hidden;
}
.rihlatk-cf__aside {
    position: relative;
    isolation: isolate;
    background: linear-gradient(165deg, #142B54 0%, #1d4a86 46%, #3F6EAE 100%);
    color: #fff;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.rihlatk-cf__aside::before,
.rihlatk-cf__aside::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}
.rihlatk-cf__aside::before {
    width: 220px;
    height: 220px;
    top: -70px;
    left: -50px;
    background: rgba(20, 125, 251, 0.28);
}
.rihlatk-cf__aside::after {
    width: 160px;
    height: 160px;
    bottom: -40px;
    right: -30px;
    background: rgba(255, 255, 255, 0.08);
}
.rihlatk-cf__kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 14px;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
}
.rihlatk-cf__aside h2 {
    margin: 0 0 10px;
    font-size: clamp(26px, 3.4vw, 34px);
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
}
.rihlatk-cf__lead {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
}
.rihlatk-cf__channels {
    display: grid;
    gap: 10px;
    margin-top: auto;
}
.rihlatk-cf__channel {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 12px 14px;
    text-decoration: none !important;
    color: inherit;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.rihlatk-cf__channel:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(20, 125, 251, 0.7);
    transform: translateY(-1px);
}
.rihlatk-cf__channel--static { cursor: default; }
.rihlatk-cf__channel--static:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    transform: none;
}
.rihlatk-cf__ico {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.rihlatk-cf__channel--wa .rihlatk-cf__ico { background: rgba(37, 211, 102, 0.18); }
.rihlatk-cf__channel--complaint .rihlatk-cf__ico { background: rgba(249, 115, 22, 0.22); }
.rihlatk-cf__ico svg { width: 20px; height: 20px; display: block; }
.rihlatk-cf__channel span:last-child { min-width: 0; }
.rihlatk-cf__channel strong {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
}
.rihlatk-cf__channel em {
    display: block;
    margin-top: 3px;
    font-style: normal;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.rihlatk-cf__body {
    padding: 32px 34px 30px;
    background: #fff;
    min-width: 0;
}
.rihlatk-cf__types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.rihlatk-cf__type {
    position: relative;
    cursor: pointer;
    margin: 0;
}
.rihlatk-cf__type input { position: absolute; opacity: 0; pointer-events: none; }
.rihlatk-cf__type > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 92px;
    border: 1px solid var(--cf-line);
    border-radius: 16px;
    padding: 14px 14px 12px;
    background: var(--cf-soft);
    text-align: start;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.rihlatk-cf__type-ico {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: #fff;
    color: var(--cf-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-style: normal;
}
.rihlatk-cf__type-ico svg { width: 18px; height: 18px; display: block; }
.rihlatk-cf__type strong {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: var(--cf-navy);
}
.rihlatk-cf__type em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--cf-muted);
    line-height: 1.5;
}
.rihlatk-cf__type input:focus-visible + span {
    box-shadow: 0 0 0 3px rgba(20, 125, 251, 0.22);
}
.rihlatk-cf__type input:checked + span {
    background: #fff;
    border-color: var(--cf-blue);
    box-shadow: 0 0 0 3px rgba(20, 125, 251, 0.18);
}
.rihlatk-cf__type input:checked + span .rihlatk-cf__type-ico {
    background: var(--cf-blue);
    color: #fff;
}
.rihlatk-cf__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.rihlatk-cf__field { margin-bottom: 14px; min-width: 0; }
.rihlatk-cf__grid .rihlatk-cf__field { margin-bottom: 0; }
.rihlatk-cf__grid + .rihlatk-cf__field { margin-top: 14px; }
.rihlatk-cf__field label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: #3A4A66;
    margin-bottom: 6px;
}
.rihlatk-cf__req { color: #B42318; }
.rihlatk-cf__opt { font-weight: 600; color: #8A97AB; }
.rihlatk-cf__field input,
.rihlatk-cf__field textarea {
    width: 100%;
    border: 1px solid var(--cf-line);
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 16px;
    font-weight: 600;
    color: var(--cf-ink);
    background: var(--cf-soft);
    outline: none;
    font-family: inherit;
    transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.rihlatk-cf__field textarea { min-height: 132px; resize: vertical; line-height: 1.7; }
.rihlatk-cf__field input:focus,
.rihlatk-cf__field textarea:focus {
    background: #fff;
    border-color: var(--cf-blue);
    box-shadow: 0 0 0 3px rgba(20, 125, 251, 0.16);
}
.rihlatk-cf .rihlatk-phone {
    border-color: var(--cf-line);
    border-radius: 14px;
    background: var(--cf-soft);
    min-height: 50px;
}
.rihlatk-cf button.rihlatk-phone__cc {
    background: #EEF4FF !important;
    border-right-color: var(--cf-line) !important;
    border-radius: 14px 0 0 14px !important;
    color: var(--cf-ink) !important;
    width: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
}
.rihlatk-cf .rihlatk-phone input[data-phone-national] {
    background: transparent;
    padding: 12px 14px;
    font-weight: 600;
    color: var(--cf-ink);
}
.rihlatk-cf .rihlatk-phone:focus-within,
.rihlatk-cf .rihlatk-phone.is-open {
    background: #fff;
    border-color: var(--cf-blue);
    box-shadow: 0 0 0 3px rgba(20, 125, 251, 0.16);
}
.rihlatk-cf .rihlatk-field-msg { margin-top: 6px; }
.rihlatk-cf__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}
.rihlatk-cf__captcha {
    margin: 4px 0 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    max-width: 100%;
}
.rihlatk-cf__captcha-label {
    margin: 0;
    font-size: 12px;
    font-weight: 800;
    color: #3A4A66;
}
.rihlatk-cf__captcha-widget {
    max-width: 100%;
    overflow-x: auto;
    min-height: 65px;
}
.rihlatk-cf .cf-turnstile,
.rihlatk-cf iframe { max-width: 100%; }
.rihlatk-cf button { font-family: inherit; }
.rihlatk-cf__submit {
    width: 100%;
    margin-top: 4px;
    border: 0;
    border-radius: 16px;
    padding: 14px 18px;
    min-height: 52px;
    background: var(--cf-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    font-family: inherit;
    transition: background .15s ease, transform .15s ease;
}
.rihlatk-cf__submit:hover:not(:disabled) { background: #0E6AE6; }
.rihlatk-cf__submit:active:not(:disabled) { transform: translateY(1px); }
.rihlatk-cf__submit:disabled { opacity: 0.55; cursor: not-allowed; }
.rihlatk-cf__submit.is-busy { cursor: wait; }
.rihlatk-cf__hint {
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--cf-muted);
}
.rihlatk-cf__alert {
    display: none;
    margin-bottom: 14px;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
}
.rihlatk-cf__alert.is-err {
    display: block;
    background: #FEF3F2;
    color: #B42318;
    border: 1px solid #FECDCA;
}
.rihlatk-cf__success {
    display: none;
    padding: 48px 28px 44px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--cf-line);
    border-radius: var(--cf-radius);
    box-shadow: 0 22px 50px rgba(20, 43, 84, 0.1);
}
.rihlatk-cf.is-done .rihlatk-cf__shell { display: none; }
.rihlatk-cf.is-done .rihlatk-cf__success { display: block; }
.rihlatk-cf__ok {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ECFDF3;
    color: #067647;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rihlatk-cf__ok svg { width: 30px; height: 30px; }
.rihlatk-cf__success h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 800;
    color: var(--cf-navy);
}
.rihlatk-cf__success p {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--cf-muted);
    line-height: 1.7;
}
.rihlatk-cf__ref {
    display: inline-block;
    background: var(--cf-soft);
    border: 1px solid var(--cf-line);
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--cf-ink);
}

@media (max-width: 900px) {
    .rihlatk-cf__shell { grid-template-columns: 1fr; }
    .rihlatk-cf__aside { padding: 28px 24px 22px; }
    .rihlatk-cf__channels {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        margin-top: 8px;
    }
    .rihlatk-cf__body { padding: 24px 24px 26px; }
}

@media (max-width: 640px) {
    .rihlatk-cf { max-width: 100%; }
    .rihlatk-cf__shell,
    .rihlatk-cf__success { border-radius: 22px; }
    .rihlatk-cf__aside,
    .rihlatk-cf__body,
    .rihlatk-cf__success { padding-left: 18px; padding-right: 18px; }
    .rihlatk-cf__grid,
    .rihlatk-cf__types,
    .rihlatk-cf__channels { grid-template-columns: 1fr; }
    .rihlatk-cf__type > span { min-height: 0; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0 10px; }
    .rihlatk-cf__type-ico { margin-bottom: 0; }
    .rihlatk-cf__type em { width: 100%; }
    .rihlatk-cf__channel em { white-space: normal; }
}
