.rsoc,
.rsoc * {
    box-sizing: border-box;
}

.rsoc-modal,
.rsoc-modal * {
    box-sizing: border-box;
}

.rsoc {
    --rsoc-ink: #0a2540;
    --rsoc-muted: #66788a;
    --rsoc-line: #dadee3;
    --rsoc-surface: #fff;
    --rsoc-soft: #f7fafe;
    --rsoc-primary: #1076e9;
    --rsoc-primary-dark: #064a97;
    --rsoc-accent: #fd571b;
    width: 100%;
    color: var(--rsoc-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.rsoc--inline {
    max-width: 1040px;
    margin: 24px auto;
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--rsoc-line);
    border-radius: 24px;
    background: var(--rsoc-surface);
    box-shadow: 0 12px 40px rgba(30, 41, 59, .08);
}

.rsoc__heading {
    max-width: 700px;
    margin-bottom: 18px;
}

.rsoc__eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--rsoc-primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.rsoc .rsoc__title {
    margin: 0 0 8px;
    color: var(--rsoc-ink);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 650;
    line-height: 1.15;
    text-transform: none;
}

.rsoc__subtitle {
    margin: 0;
    color: var(--rsoc-muted);
    font-size: 16px;
    font-weight: 500;
}

.rsoc__layout {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr);
    gap: 20px;
    align-items: start;
}

.rsoc__fields {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 14px;
}

.rsoc__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
}

.rsoc__field--full {
    grid-column: 1 / -1;
}

.rsoc__field label {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
    color: var(--rsoc-ink);
    font-size: 14px;
    font-weight: 700;
}

.rsoc__field label span {
    color: var(--rsoc-muted);
    font-weight: 400;
}

.rsoc__field label [data-rsoc-contact-label] {
    color: var(--rsoc-ink);
    font-weight: 700;
}

.rsoc__field label .rsoc__required {
    margin-left: 0;
    color: var(--rsoc-accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.rsoc__field input,
.rsoc__field select,
.rsoc__field textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 42px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--rsoc-line);
    border-radius: 12px;
    outline: 0;
    background: var(--rsoc-surface);
    color: var(--rsoc-ink);
    font: inherit;
    font-weight: 500;
    line-height: 1.35;
    text-transform: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.rsoc__field textarea {
    min-height: 86px;
    resize: vertical;
}

.rsoc__field input:focus,
.rsoc__field select:focus,
.rsoc__field textarea:focus {
    border-color: var(--rsoc-primary);
    box-shadow: 0 0 0 3px rgba(16, 118, 233, .13);
}

.rsoc__field small {
    min-height: 17px;
    color: var(--rsoc-muted);
    font-size: 12px;
    font-weight: 500;
}

.rsoc__field small.is-warning {
    color: #c0362c;
    font-weight: 700;
}

.rsoc-quantity {
    display: grid;
    grid-template-columns: 42px minmax(60px, 1fr) 42px;
    gap: 8px;
}

.rsoc .rsoc-quantity button {
    width: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--rsoc-line);
    border-radius: 12px;
    background: var(--rsoc-soft);
    color: var(--rsoc-ink);
    font: inherit;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    text-transform: none;
}

.rsoc .rsoc-quantity button:hover,
.rsoc .rsoc-quantity button:focus-visible {
    border-color: var(--rsoc-primary);
    color: var(--rsoc-primary);
}

.rsoc-quantity input {
    text-align: center;
    appearance: textfield;
}

.rsoc-quantity input::-webkit-inner-spin-button,
.rsoc-quantity input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.rsoc-summary {
    position: sticky;
    top: 18px;
    width: 100%;
    min-width: 0;
    padding: 18px;
    border: 1px solid #c9d8e8;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(10, 62, 120, .13);
    overflow: hidden;
}

.rsoc-summary::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rsoc-primary) 0%, #3b8ff0 72%, var(--rsoc-accent) 100%);
    content: "";
}

.rsoc-summary__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.rsoc-summary__label {
    display: block;
    margin: 0;
    color: #49637d;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.rsoc-summary__platform {
    max-width: 65%;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--rsoc-primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rsoc-summary__service {
    display: block;
    margin: 14px 0;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.rsoc-summary__calculation {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 11px 13px;
    border-radius: 12px;
    border: 1px solid #d5e4f4;
    background: #edf5fd;
    color: #49637d;
}

.rsoc-summary__calculation strong {
    color: var(--rsoc-ink);
    font-size: 15px;
    font-weight: 700;
}

.rsoc-summary__calculation small {
    margin-left: auto;
    color: #526b83;
    font-size: 11px;
    white-space: nowrap;
}

.rsoc-summary__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-top: 14px;
    padding: 15px;
    border: 1px solid #b9d4f2;
    border-radius: 14px;
    background: linear-gradient(135deg, #eaf4ff 0%, #dcecff 100%);
}

.rsoc-summary__total span {
    color: var(--rsoc-ink);
    font-weight: 700;
}

.rsoc-summary__total strong {
    color: var(--rsoc-accent);
    font-size: 28px;
    white-space: nowrap;
}

.rsoc-summary__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 12px 0 0;
    color: #526b83;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}

.rsoc-summary__info {
    display: inline-grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border-radius: 50%;
    background: #d9eaff;
    color: #0755a8;
    font-size: 11px;
    font-weight: 800;
    font-style: normal;
    flex: 0 0 auto;
}

.rsoc-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0;
    color: var(--rsoc-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.rsoc-consent input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    accent-color: var(--rsoc-primary);
    appearance: auto !important;
    opacity: 1;
    flex: 0 0 auto;
}

.rsoc-consent a {
    color: var(--rsoc-primary);
    text-decoration: underline;
}

.rsoc__actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rsoc .rsoc__submit {
    min-width: 210px;
    margin: 0;
    padding: 14px 25px;
    border: 1px solid var(--rsoc-primary);
    border-radius: 28px;
    background: var(--rsoc-primary);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    line-height: 1.25;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.rsoc .rsoc__submit:hover,
.rsoc .rsoc__submit:focus-visible {
    border-color: var(--rsoc-primary-dark);
    background: var(--rsoc-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.rsoc .rsoc__submit:disabled {
    cursor: wait;
    opacity: .68;
    transform: none;
}

.rsoc__status {
    min-height: 20px;
    font-size: 14px;
}

.rsoc__status--error {
    color: #b42318;
}

.rsoc__status--success {
    color: #08783f;
    font-weight: 600;
}

.rsoc__notice {
    padding: 14px 16px;
    border-radius: 12px;
}

.rsoc__notice--error {
    background: #fff1f0;
    color: #b42318;
}

.rsoc-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.rsoc-modal[hidden] {
    display: none !important;
}

.rsoc-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.rsoc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 37, 64, .66);
    backdrop-filter: blur(4px);
}

.rsoc-modal__dialog {
    position: relative;
    width: min(1040px, 100%);
    max-height: calc(100vh - 40px);
    overflow: auto;
    overflow-x: hidden;
    padding: clamp(20px, 3vw, 32px);
    border-radius: 24px;
    outline: 0;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .3);
}

.rsoc-modal__close {
    position: absolute;
    z-index: 2;
    top: 14px;
    right: 14px;
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #eef2f6;
    color: #0a2540;
    font: inherit;
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    text-transform: none;
}

.rsoc-modal__close:hover,
.rsoc-modal__close:focus-visible {
    background: #dfe8f2;
    color: #064a97;
}

body.rsoc-modal-open {
    overflow: hidden;
}

.rsoc-floating-button {
    position: fixed;
    z-index: 99990;
    right: 24px;
    bottom: 92px;
    margin: 0;
    padding: 14px 22px;
    border: 1px solid #1076e9;
    border-radius: 30px;
    background: #1076e9;
    box-shadow: 0 8px 25px rgba(16, 118, 233, .28);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.rsoc-floating-button:hover,
.rsoc-floating-button:focus-visible {
    border-color: #064a97;
    background: #064a97;
    color: #fff;
}

@media (max-width: 760px) {
    .rsoc__layout,
    .rsoc__fields {
        grid-template-columns: 1fr;
    }

    .rsoc__field--full {
        grid-column: auto;
    }

    .rsoc-summary {
        position: static;
        order: initial;
    }

    .rsoc-summary__total {
        flex-wrap: wrap;
    }

    .rsoc-modal {
        align-items: end;
        padding: 0;
    }

    .rsoc-modal__dialog {
        width: 100%;
        max-height: 94vh;
        padding: 20px 16px 18px;
        border-radius: 22px 22px 0 0;
    }

    .rsoc__heading {
        padding-right: 35px;
        margin-bottom: 14px;
    }

    .rsoc__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .rsoc .rsoc__submit {
        width: 100%;
    }

    .rsoc-floating-button {
        right: 14px;
        bottom: 82px;
        padding: 12px 17px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rsoc *,
    .rsoc-floating-button {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Staging presentation page. All selectors are scoped to avoid changing the theme. */
.rsoc-demo,
.rsoc-demo * {
    box-sizing: border-box;
}

.rsoc-demo {
    --demo-ink: #082846;
    --demo-blue: #0d78ed;
    --demo-blue-dark: #0759be;
    --demo-orange: #ff542d;
    --demo-line: #d8e3ef;
    --demo-pale: #f3f8ff;
    overflow: hidden;
    color: var(--demo-ink);
    font-family: Inter, Montserrat, Arial, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

body.rsoc-demo-page .rsoc-floating-button {
    display: none;
}

.rsoc-demo button,
.rsoc-demo input,
.rsoc-demo select {
    font: inherit;
}

.rsoc-demo button {
    cursor: pointer;
}

.rsoc-demo__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    gap: clamp(48px, 8vw, 105px);
    align-items: center;
    width: min(1180px, calc(100% - 48px));
    min-height: 680px;
    padding: 72px 0 82px;
    margin: 0 auto;
}

.rsoc-demo__hero::after {
    position: absolute;
    z-index: -1;
    top: -120px;
    right: -320px;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    background: radial-gradient(circle at 36% 40%, #fff 0 16%, #eef5ff 48%, #e2edfb 100%);
    content: "";
}

.rsoc-demo__copy {
    max-width: 665px;
}

.rsoc-demo__eyebrow,
.rsoc-compact__eyebrow {
    margin: 0 0 10px;
    color: var(--demo-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.rsoc-demo__copy h1,
.rsoc-demo-consult h2,
.rsoc-compact h2 {
    color: var(--demo-ink);
    font-family: inherit;
    text-transform: uppercase;
}

.rsoc-demo__copy h1 {
    margin: 0;
    font-size: clamp(46px, 5vw, 72px);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: .98;
}

.rsoc-demo__accent {
    margin: 16px 0 26px;
    color: var(--demo-orange);
    font-size: clamp(25px, 2.5vw, 36px);
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.15;
    text-transform: uppercase;
}

.rsoc-demo__lead {
    max-width: 610px;
    margin: 0 0 22px;
    color: #31506b;
    font-size: 17px;
    line-height: 1.65;
}

.rsoc-demo__benefits {
    display: grid;
    gap: 9px;
    padding: 0;
    margin: 0 0 30px;
    list-style: none;
}

.rsoc-demo__benefits li {
    position: relative;
    padding-left: 28px;
    color: #173d5e;
    font-weight: 650;
}

.rsoc-demo__benefits li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: var(--demo-orange);
    content: "✓";
    font-size: 18px;
    font-weight: 900;
}

.rsoc-demo__primary,
.rsoc-compact__submit,
.rsoc-demo-form > button {
    min-height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--demo-blue), #0566d6);
    box-shadow: 0 12px 28px rgba(13, 120, 237, .23);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.rsoc-demo__primary:hover,
.rsoc-compact__submit:hover,
.rsoc-demo-form > button:hover {
    background: linear-gradient(135deg, #086bd7, #064fa8);
    box-shadow: 0 15px 34px rgba(8, 90, 190, .3);
    color: #fff;
    transform: translateY(-2px);
}

.rsoc-compact {
    position: relative;
    width: 100%;
    padding: 26px;
    border: 1px solid rgba(194, 211, 228, .9);
    border-radius: 24px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 24px 70px rgba(20, 61, 100, .16), 0 5px 18px rgba(20, 61, 100, .08);
}

.rsoc-compact::before {
    position: absolute;
    z-index: -1;
    right: -20px;
    bottom: -20px;
    width: 88%;
    height: 88%;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(13, 120, 237, .18), rgba(255, 84, 45, .12));
    content: "";
    filter: blur(5px);
}

.rsoc-compact__top {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--demo-line);
}

.rsoc-compact__top h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.rsoc-compact__online {
    display: inline-flex;
    flex: 0 0 auto;
    gap: 7px;
    align-items: center;
    padding: 6px 9px;
    border-radius: 20px;
    background: #eef6ff;
    color: #47627d;
    font-size: 11px;
    font-weight: 700;
}

.rsoc-compact__online i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31c875;
    box-shadow: 0 0 0 4px rgba(49, 200, 117, .14);
}

.rsoc-compact__quantity-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 16px;
}

.rsoc-compact__quantity-row > span,
.rsoc-compact__field > span {
    color: #3a5872;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rsoc-compact__stepper {
    display: grid;
    grid-template-columns: 42px 58px 42px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #cbdbea;
    border-radius: 13px;
    background: #f7faff;
}

.rsoc-compact__stepper button {
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--demo-blue);
    font-size: 22px;
    font-weight: 700;
}

.rsoc-compact__stepper button:hover {
    background: #e9f3ff;
}

.rsoc-compact__stepper input {
    width: 100%;
    height: 42px;
    padding: 0;
    border: 0;
    outline: 0;
    background: #fff;
    color: var(--demo-ink);
    font-weight: 800;
    text-align: center;
    -moz-appearance: textfield;
}

.rsoc-compact__stepper input::-webkit-inner-spin-button,
.rsoc-compact__stepper input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.rsoc-compact__field {
    display: grid;
    gap: 7px;
    margin-bottom: 13px;
}

.rsoc-compact__field select,
.rsoc-demo-form input,
.rsoc-demo-form select {
    width: 100%;
    height: 50px;
    padding: 0 42px 0 14px;
    border: 1px solid #cddbea;
    border-radius: 13px;
    outline: 0;
    background-color: #f8fbff;
    color: var(--demo-ink);
    font-size: 15px;
    font-weight: 650;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.rsoc-compact__field select:focus,
.rsoc-demo-form input:focus,
.rsoc-demo-form select:focus {
    border-color: var(--demo-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 120, 237, .11);
}

.rsoc-compact__meta {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 28px;
    margin-top: -2px;
    color: #6b8195;
    font-size: 11px;
}

.rsoc-compact__meta b {
    color: var(--demo-orange);
    font-size: 14px;
}

.rsoc-compact__meta .is-warning {
    color: #d93e20;
    font-weight: 800;
}

.rsoc-compact__total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 18px 0 15px;
    margin-top: 12px;
    border-top: 1px solid var(--demo-line);
}

.rsoc-compact__total span {
    color: #4e657b;
    font-size: 15px;
    font-weight: 700;
}

.rsoc-compact__total strong {
    color: var(--demo-orange);
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -.03em;
}

.rsoc-compact__submit {
    width: 100%;
}

.rsoc-compact__note {
    margin: 12px 2px 0;
    color: #8293a4;
    font-size: 10px;
    line-height: 1.45;
    text-align: center;
}

.rsoc-demo-consult {
    padding: 82px max(24px, calc((100vw - 1180px) / 2)) 86px;
    background: linear-gradient(130deg, #f3f8ff 0%, #f8fbff 60%, #edf5ff 100%);
}

.rsoc-demo-consult__heading {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.rsoc-demo-consult__heading h2 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(30px, 3.2vw, 46px);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.rsoc-demo-consult__heading > span {
    flex: 0 0 auto;
    padding: 7px 12px;
    border: 1px solid #c7daf0;
    border-radius: 20px;
    background: rgba(255,255,255,.75);
    color: #5c7892;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.rsoc-demo-consult__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
    overflow: hidden;
    border: 1px solid #d9e6f3;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(32, 75, 118, .13);
}

.rsoc-demo-form {
    display: grid;
    gap: 17px;
    padding: clamp(28px, 4vw, 48px);
}

.rsoc-demo-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.rsoc-demo-form label:not(.rsoc-demo-form__consent) {
    display: grid;
    gap: 7px;
}

.rsoc-demo-form label > span {
    color: #36546e;
    font-size: 12px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.rsoc-demo-form label em {
    color: var(--demo-orange);
    font-style: normal;
}

.rsoc-demo-form__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    cursor: pointer;
}

.rsoc-demo-form__consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    padding: 0;
    margin: 1px 0 0;
    accent-color: var(--demo-blue);
}

.rsoc-demo-form__consent span {
    color: #60788e !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.5;
    text-transform: none !important;
}

.rsoc-demo-form__consent a {
    color: var(--demo-blue);
    text-decoration: underline;
}

.rsoc-demo-form__status {
    min-height: 16px;
    margin: -7px 0 0;
    color: #8193a5;
    font-size: 11px;
    text-align: center;
}

.rsoc-demo-form__status.is-error {
    color: #b42318;
    font-weight: 600;
}

.rsoc-demo-form__status.is-success {
    color: #08783f;
    font-weight: 600;
}

.rsoc-demo-form > button:disabled {
    cursor: wait;
    opacity: .7;
    transform: none;
}

.rsoc-consult-modal[hidden] {
    display: none;
}

.rsoc-consult-modal {
    position: fixed;
    z-index: 100100;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.rsoc-consult-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(4, 27, 49, .68);
    backdrop-filter: blur(6px);
}

.rsoc-consult-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(205, 220, 235, .95);
    border-radius: 25px;
    outline: 0;
    background: #fff;
    box-shadow: 0 28px 90px rgba(4, 30, 55, .34);
    color: var(--demo-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.rsoc-consult-modal__heading {
    padding-right: 35px;
    margin-bottom: 26px;
}

.rsoc-consult-modal__heading h2 {
    margin: 0 0 10px;
    color: var(--demo-ink);
    font-size: clamp(28px, 4vw, 39px);
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.rsoc-consult-modal__heading > p:last-child {
    margin: 0;
    color: #60788d;
    font-size: 14px;
    line-height: 1.55;
}

.rsoc-consult-modal .rsoc-demo-form {
    padding: 0;
}

.rsoc-consult-modal .rsoc-demo__eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
}

.rsoc-consult-modal .rsoc-demo-form label > span {
    color: var(--demo-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.rsoc-consult-modal .rsoc-demo-form input,
.rsoc-consult-modal .rsoc-demo-form select {
    font-size: 16px;
    font-weight: 500;
}

.rsoc-consult-modal .rsoc-demo-form__consent span {
    font-weight: 500 !important;
}

.rsoc-consult-modal .rsoc-demo-form > button {
    font-weight: 700;
}

.rsoc-consult-modal__close {
    position: absolute;
    z-index: 2;
    top: 17px;
    right: 17px;
    display: grid;
    width: 40px;
    height: 40px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #edf4fb;
    color: #31516d;
    font-size: 29px;
    font-weight: 400;
    line-height: 1;
}

.rsoc-consult-modal__close:hover,
.rsoc-consult-modal__close:focus-visible {
    background: #dceafa;
    color: var(--demo-blue-dark);
}

body.rsoc-consult-modal-open {
    overflow: hidden;
}

.rsoc-demo-visual {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    background: radial-gradient(circle at 50% 43%, #e5efff 0 18%, transparent 19%), linear-gradient(145deg, #edf5ff, #dfeaff);
}

.rsoc-demo-visual::before,
.rsoc-demo-visual::after {
    position: absolute;
    border: 1px solid rgba(78, 119, 183, .12);
    border-radius: 50%;
    content: "";
}

.rsoc-demo-visual::before {
    inset: 53px 62px;
}

.rsoc-demo-visual::after {
    inset: 95px 105px;
}

.rsoc-demo-visual__glass {
    position: absolute;
    z-index: 2;
    top: 105px;
    left: 50%;
    width: 145px;
    height: 145px;
    border: 24px solid #4c6fc7;
    border-radius: 50%;
    box-shadow: inset 0 0 0 8px #fff, 0 22px 40px rgba(57, 87, 157, .24);
    transform: translateX(-50%);
}

.rsoc-demo-visual__glass::after {
    position: absolute;
    right: -61px;
    bottom: -48px;
    width: 82px;
    height: 24px;
    border-radius: 14px;
    background: #25457f;
    content: "";
    transform: rotate(46deg);
    transform-origin: left center;
}

.rsoc-demo-visual__bubble {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 61px;
    height: 61px;
    place-items: center;
    border-radius: 22px 22px 22px 8px;
    box-shadow: 0 13px 30px rgba(49, 83, 157, .18);
    color: #4d6dcc;
    font-size: 38px;
    font-weight: 900;
    transform: rotate(-8deg);
}

.rsoc-demo-visual__bubble--one {
    top: 48px;
    left: 13%;
    background: #d8e5ff;
}

.rsoc-demo-visual__bubble--two {
    top: 70px;
    right: 15%;
    background: #fff;
    color: var(--demo-orange);
    transform: rotate(9deg);
}

.rsoc-demo-visual__bubble--three {
    right: 9%;
    bottom: 96px;
    width: 48px;
    height: 48px;
    background: #bfd4ff;
    font-size: 29px;
}

.rsoc-demo-visual__card {
    position: absolute;
    z-index: 4;
    right: 30px;
    bottom: 28px;
    left: 30px;
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 17px;
    background: rgba(255,255,255,.86);
    box-shadow: 0 14px 35px rgba(38, 73, 130, .17);
    backdrop-filter: blur(9px);
}

.rsoc-demo-visual__card i {
    display: block;
    flex: 0 0 auto;
    width: 39px;
    height: 39px;
    border: 10px solid var(--demo-blue);
    border-radius: 50%;
}

.rsoc-demo-visual__card div {
    display: grid;
    gap: 2px;
}

.rsoc-demo-visual__card b {
    font-size: 14px;
}

.rsoc-demo-visual__card span {
    color: #6a8095;
    font-size: 11px;
}

.rsoc-demo-messengers {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-top: 24px;
    color: #39556e;
    font-size: 12px;
    text-transform: uppercase;
}

.rsoc-demo-messengers b {
    margin-right: 18px;
}

.rsoc-demo-popup-launch {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    margin-top: 24px;
    border: 1px solid #d7e5f2;
    border-radius: 20px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 32px rgba(32, 75, 118, .08);
}

.rsoc-demo-popup-launch > div {
    display: grid;
    gap: 3px;
}

.rsoc-demo-popup-launch b {
    color: var(--demo-ink);
    font-size: 16px;
}

.rsoc-demo-popup-launch span {
    color: #73899d;
    font-size: 12px;
}

.rsoc-demo-popup-launch .rsoc-demo__primary {
    flex: 0 0 auto;
}

.rsoc-demo-messenger {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 10px;
    font-weight: 900;
}

.rsoc-demo-messenger--wa { background: #2bc765; }
.rsoc-demo-messenger--tg { background: #279cdf; }
.rsoc-demo-messenger--max { background: #0879ec; }

@media (max-width: 900px) {
    .rsoc-demo__hero {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 58px 0 70px;
    }

    .rsoc-demo__copy {
        max-width: 760px;
    }

    .rsoc-compact {
        width: min(100%, 610px);
    }

    .rsoc-demo-consult__grid {
        grid-template-columns: 1fr;
    }

    .rsoc-demo-visual {
        min-height: 380px;
    }
}

@media (max-width: 600px) {
    .rsoc-demo {
        font-size: 15px;
    }

    .rsoc-demo__hero {
        width: min(100% - 28px, 1180px);
        gap: 34px;
        min-height: 0;
        padding: 42px 0 52px;
    }

    .rsoc-demo__copy h1 {
        font-size: 42px;
    }

    .rsoc-demo__accent {
        margin-top: 12px;
        font-size: 23px;
    }

    .rsoc-demo__lead {
        font-size: 15px;
    }

    .rsoc-demo__benefits li {
        font-size: 14px;
    }

    .rsoc-demo__primary {
        width: 100%;
    }

    .rsoc-compact {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .rsoc-compact__top {
        align-items: flex-start;
    }

    .rsoc-compact__top h2 {
        font-size: 17px;
    }

    .rsoc-compact__online {
        padding: 5px 7px;
        font-size: 9px;
    }

    .rsoc-compact__quantity-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .rsoc-compact__stepper {
        grid-template-columns: 48px 1fr 48px;
        width: 100%;
    }

    .rsoc-compact__meta {
        align-items: flex-start;
        flex-direction: column-reverse;
        gap: 3px;
    }

    .rsoc-demo-consult {
        padding: 54px 14px 58px;
    }

    .rsoc-demo-consult__heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 22px;
    }

    .rsoc-demo-consult__heading h2 {
        font-size: 30px;
    }

    .rsoc-demo-consult__grid {
        border-radius: 20px;
    }

    .rsoc-demo-form {
        gap: 15px;
        padding: 24px 16px;
    }

    .rsoc-demo-form__row {
        grid-template-columns: 1fr;
    }

    .rsoc-consult-modal {
        align-items: flex-end;
        padding: 0;
    }

    .rsoc-consult-modal__dialog {
        width: 100%;
        max-height: 94vh;
        padding: 25px 16px 20px;
        border-radius: 22px 22px 0 0;
    }

    .rsoc-consult-modal__heading {
        padding-right: 38px;
        margin-bottom: 21px;
    }

    .rsoc-consult-modal__heading h2 {
        font-size: 27px;
    }

    .rsoc-consult-modal__close {
        top: 13px;
        right: 13px;
    }

    .rsoc-demo-visual {
        min-height: 325px;
    }

    .rsoc-demo-visual__glass {
        top: 75px;
        width: 120px;
        height: 120px;
        border-width: 20px;
    }

    .rsoc-demo-messengers {
        display: grid;
        grid-template-columns: 34px 1fr;
    }

    .rsoc-demo-messengers b {
        margin-right: 0;
    }

    .rsoc-demo-popup-launch {
        align-items: stretch;
        flex-direction: column;
        padding: 19px 16px;
    }

    .rsoc-demo-popup-launch .rsoc-demo__primary {
        width: 100%;
    }
}

/* Calculator aligned with the current rating-smart.ru visual system. */
.rsoc,
.rsoc-compact,
.rsoc-modal__dialog {
    font-family: Jost, Arial, sans-serif;
}

.rsoc-demo__hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
    gap: clamp(48px, 8vw, 110px);
}

.rsoc-compact {
    justify-self: end;
    width: min(100%, 420px);
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 8px -1px rgba(30, 41, 59, .12);
    color: #0a2540;
}

.rsoc-compact::before {
    display: none;
}

.rsoc-compact__top {
    display: block;
    padding: 23px 24px 14px;
    border-bottom: 1px solid #dadee3;
    text-align: center;
}

.rsoc-compact__top h2 {
    margin: 0;
    color: #0a2540;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    text-transform: uppercase;
}

.rsoc-compact__content {
    padding: 20px 24px 24px;
}

.rsoc-compact__quantity-row {
    padding: 0 0 17px;
}

.rsoc-compact__quantity-row > span,
.rsoc-compact__field > span {
    color: #7c8a99;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
}

.rsoc-compact__stepper {
    grid-template-columns: 44px 56px 44px;
    gap: 10px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.rsoc-compact__stepper button {
    width: 44px;
    height: 44px;
    border: 1px solid #dadee3;
    border-radius: 9px;
    background: #fff;
    color: #0a2540;
    font-size: 20px;
    font-weight: 400;
}

.rsoc-compact__stepper button:hover,
.rsoc-compact__stepper button:focus-visible {
    border-color: #1076e9;
    background: #f7fafe;
    color: #1076e9;
}

.rsoc-compact__stepper input {
    height: 44px;
    background: transparent;
    color: #0a2540;
    font-size: 24px;
    font-weight: 600;
}

.rsoc-compact__field {
    gap: 7px;
    margin-bottom: 14px;
}

.rsoc-compact__field select {
    height: 46px;
    padding: 8px 42px 8px 14px;
    border: 1px solid #dadee3;
    border-radius: 20px;
    background-color: #fff;
    color: #0a2540;
    font-size: 16px;
    font-weight: 400;
}

.rsoc-compact__field select:focus {
    border-color: #1076e9;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(16, 118, 233, .12);
}

.rsoc-compact__meta {
    min-height: 24px;
    margin: -3px 5px 0;
    color: #66788a;
    font-size: 11px;
    font-weight: 400;
}

.rsoc-compact__meta b {
    color: #fd571b;
    font-size: 15px;
    font-weight: 500;
}

.rsoc-compact__total {
    justify-content: center;
    gap: 15px;
    padding: 20px 0 13px;
    margin-top: 12px;
    border-top: 1px solid #dadee3;
}

.rsoc-compact__total span {
    color: #0a2540;
    font-size: 16px;
    font-weight: 400;
}

.rsoc-compact__total strong {
    color: #fd571b;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0;
}

.rsoc-compact__submit {
    display: block;
    width: auto;
    min-width: 216px;
    min-height: 54px;
    padding: 15px 31px;
    margin: 0 auto;
    border-radius: 30px;
    background: #1076e9;
    box-shadow: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.rsoc-compact__submit:hover,
.rsoc-compact__submit:focus-visible {
    background: #064a97;
    box-shadow: none;
    transform: none;
}

.rsoc-compact__note {
    margin: 12px 12px 0;
    color: #8393a3;
    font-size: 10px;
    font-weight: 400;
}

.rsoc {
    font-size: 16px;
    font-weight: 400;
}

.rsoc__eyebrow {
    font-weight: 600;
}

.rsoc .rsoc__title {
    font-weight: 600;
}

.rsoc__field label,
.rsoc__field label [data-rsoc-contact-label] {
    font-weight: 600;
}

.rsoc__field input,
.rsoc__field select,
.rsoc__field textarea {
    font-weight: 400;
}

.rsoc-consent {
    font-weight: 400;
}

.rsoc .rsoc__submit {
    border-radius: 30px;
    font-weight: 600;
}

.rsoc-summary {
    box-shadow: 0 2px 8px -1px rgba(30, 41, 59, .12);
}

.rsoc-modal__dialog {
    border-radius: 20px;
    box-shadow: 0 18px 55px rgba(4, 30, 55, .24);
}

@media (max-width: 900px) {
    .rsoc-demo__hero {
        grid-template-columns: 1fr;
    }

    .rsoc-compact {
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .rsoc-compact {
        width: 100%;
        padding: 0;
    }

    .rsoc-compact__top {
        padding: 20px 16px 13px;
    }

    .rsoc-compact__top h2 {
        font-size: 18px;
    }

    .rsoc-compact__content {
        padding: 17px 16px 20px;
    }

    .rsoc-compact__quantity-row {
        align-items: center;
        flex-direction: row;
        gap: 12px;
    }

    .rsoc-compact__stepper {
        grid-template-columns: 42px 48px 42px;
        width: auto;
    }

    .rsoc-compact__meta {
        align-items: center;
        flex-direction: row;
        gap: 8px;
    }

    .rsoc-compact__submit {
        width: min(100%, 260px);
    }

    .rsoc-modal__dialog {
        border-radius: 20px 20px 0 0;
    }
}

/* Consultation forms aligned with the current rating-smart.ru typography. */
.rsoc-demo-consult,
.rsoc-consult-modal {
    color: #0a2540;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}

.rsoc-demo-consult .rsoc-demo__eyebrow,
.rsoc-consult-modal .rsoc-demo__eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .09em;
}

.rsoc-demo-consult__heading h2 {
    max-width: 760px;
    font-size: clamp(28px, 2.5vw, 34px);
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.2;
}

.rsoc-demo-consult__heading > span {
    font-weight: 500;
}

.rsoc-demo-form {
    font-family: Jost, Arial, sans-serif;
    font-weight: 400;
}

.rsoc-demo-form--inline {
    border: 1px solid #d8e7f5;
    border-radius: 24px;
    background: linear-gradient(145deg, #edf6ff 0%, #f7fbff 100%);
    box-shadow: 0 12px 34px rgba(35, 83, 126, .08);
}

.rsoc-demo-form label > span,
.rsoc-consult-modal .rsoc-demo-form label > span {
    color: #0a2540;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
}

.rsoc-demo-form input,
.rsoc-demo-form select,
.rsoc-consult-modal .rsoc-demo-form input,
.rsoc-consult-modal .rsoc-demo-form select {
    height: 48px;
    padding: 9px 42px 9px 14px;
    border-color: #dadee3;
    border-radius: 12px;
    background-color: #fff;
    color: #0a2540;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
}

.rsoc-demo-form input::placeholder {
    color: #8493a3;
    font-weight: 400;
    opacity: 1;
}

.rsoc-demo-form__consent span,
.rsoc-consult-modal .rsoc-demo-form__consent span {
    color: #66788a !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45;
}

.rsoc-demo-form > button,
.rsoc-consult-modal .rsoc-demo-form > button {
    min-height: 54px;
    border-radius: 30px;
    background: #1076e9;
    box-shadow: none;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.rsoc-demo-form > button:hover,
.rsoc-demo-form > button:focus-visible,
.rsoc-consult-modal .rsoc-demo-form > button:hover,
.rsoc-consult-modal .rsoc-demo-form > button:focus-visible {
    background: #064a97;
    box-shadow: none;
    transform: none;
}

.rsoc-demo-form__status {
    font-size: 12px;
    font-weight: 400;
}

.rsoc-consult-modal__dialog {
    font-family: Jost, Arial, sans-serif;
    font-weight: 400;
}

.rsoc-consult-modal__heading h2 {
    font-size: clamp(28px, 3vw, 34px);
    font-weight: 600;
    letter-spacing: 0;
}

.rsoc-consult-modal__heading > p:last-child {
    font-size: 16px;
    font-weight: 400;
}

.rsoc-demo-visual__card b,
.rsoc-demo-messengers b,
.rsoc-demo-popup-launch b {
    font-weight: 600;
}

.rsoc-demo-visual__card span,
.rsoc-demo-popup-launch span {
    font-weight: 400;
}

.rsoc-demo-popup-launch .rsoc-demo__primary {
    border-radius: 30px;
    background: #1076e9;
    box-shadow: none;
    font-family: Jost, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0;
}

.rsoc-demo-popup-launch .rsoc-demo__primary:hover,
.rsoc-demo-popup-launch .rsoc-demo__primary:focus-visible {
    background: #064a97;
    box-shadow: none;
    transform: none;
}

@media (max-width: 600px) {
    .rsoc-demo-consult__heading h2 {
        font-size: 28px;
    }

    .rsoc-consult-modal__heading h2 {
        font-size: 28px;
    }
}

/* Production-like shell used only by the staging preview page. */
body.rsoc-demo-page {
    margin: 0;
    background: #fff;
    color: #0a2540;
    font-family: Jost, Arial, sans-serif;
}

body.rsoc-demo-page > header:not(.rsoc-preview-header),
body.rsoc-demo-page > footer:not(.rsoc-preview-footer) {
    display: none !important;
}

body.rsoc-demo-page #page > #header,
body.rsoc-demo-page #page > #footer,
body.rsoc-demo-page #page > hr {
    display: none !important;
}

.rsoc-preview-header,
.rsoc-preview-header *,
.rsoc-preview-footer,
.rsoc-preview-footer * {
    box-sizing: border-box;
}

.rsoc-preview-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: #fff;
    color: #0a2540;
    font-family: Jost, Arial, sans-serif;
}

.rsoc-preview-header__top {
    display: flex;
    gap: 22px;
    align-items: center;
    width: min(1200px, calc(100% - 32px));
    min-height: 72px;
    margin: 0 auto;
}

.rsoc-preview-header__logo {
    display: inline-flex;
    flex: 0 0 auto;
}

.rsoc-preview-header__logo img {
    display: block;
    width: 107px;
    height: auto;
}

.rsoc-preview-header__schedule {
    display: flex;
    gap: 6px;
    align-items: baseline;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 400;
}

.rsoc-preview-header__schedule b {
    font-size: 16px;
    font-weight: 500;
}

.rsoc-preview-header__request {
    flex: 0 0 auto;
    padding: 4px 0;
    border: 0;
    border-bottom: 2px solid #fd571b;
    background: transparent;
    color: #0a2540;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
}

.rsoc-preview-header__contacts {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    margin-left: auto;
}

.rsoc-preview-contact {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 5px 16px;
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: uppercase;
    white-space: nowrap;
}

.rsoc-preview-contact--wa { background: #48c95f; }
.rsoc-preview-contact--tg { background: #2f89ce; }
.rsoc-preview-contact--max { background: #007aff; }

.rsoc-preview-header__nav {
    background: #0b55a0;
}

.rsoc-preview-header__nav > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1200px, calc(100% - 32px));
    min-height: 39px;
    margin: 0 auto;
}

.rsoc-preview-header__nav a {
    padding: 8px 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
}

.rsoc-preview-header__nav a:hover,
.rsoc-preview-header__nav a:focus-visible {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.rsoc-preview-header__menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 10px;
    border: 0;
    border-radius: 50%;
    background: #1076e9;
}

.rsoc-preview-header__menu-button i {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    border-radius: 2px;
    background: #fff;
}

.rsoc-preview-footer {
    padding: 50px 24px;
    background: #0a2540;
    color: #fff;
    font-family: Jost, Arial, sans-serif;
}

.rsoc-preview-footer > div {
    display: flex;
    gap: 30px;
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
}

.rsoc-preview-footer img {
    width: 165px;
    height: auto;
}

.rsoc-preview-footer p {
    margin: 0;
    font-size: 15px;
}

.rsoc-preview-footer button {
    min-height: 50px;
    padding: 12px 26px;
    margin-left: auto;
    border: 0;
    border-radius: 30px;
    background: #1076e9;
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

@media (max-width: 1050px) {
    .rsoc-preview-header__schedule {
        display: none;
    }

    .rsoc-preview-header__nav a {
        font-size: 13px;
    }
}

@media (max-width: 760px) {
    .rsoc-preview-header__top {
        gap: 12px;
        width: calc(100% - 28px);
        min-height: 66px;
    }

    .rsoc-preview-header__logo img {
        width: 105px;
    }

    .rsoc-preview-header__contacts {
        display: none;
    }

    .rsoc-preview-header__request {
        margin-left: auto;
        font-size: 12px;
    }

    .rsoc-preview-header__menu-button {
        display: block;
        flex: 0 0 auto;
    }

    .rsoc-preview-header__nav {
        display: none;
    }

    .rsoc-preview-header__nav.is-open {
        display: block;
    }

    .rsoc-preview-header__nav > div {
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        padding: 8px 14px 14px;
    }

    .rsoc-preview-header__nav a {
        padding: 10px 4px;
        border-bottom: 1px solid rgba(255,255,255,.16);
        font-size: 14px;
    }

    .rsoc-preview-footer {
        padding: 36px 20px;
    }

    .rsoc-preview-footer > div {
        align-items: flex-start;
        flex-direction: column;
    }

    .rsoc-preview-footer button {
        width: 100%;
        margin-left: 0;
    }
}

/* Searchable select used only inside calculator fields. */
.rsoc-select,
.rsoc-select * {
    box-sizing: border-box;
}

.rsoc-select {
    position: relative;
    width: 100%;
    min-width: 0;
    font-family: Jost, Arial, sans-serif;
}

.rsoc-select__native {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    white-space: nowrap !important;
}

.rsoc-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 9px 46px 9px 12px;
    margin: 0;
    border: 1px solid #dadee3;
    border-radius: 12px;
    outline: 0;
    background: #fff;
    box-shadow: none;
    color: #0a2540;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    appearance: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.rsoc-select__trigger:hover {
    border-color: #aebfd0;
    background: #fbfdff;
}

.rsoc-select__trigger:focus-visible,
.rsoc-select.is-open .rsoc-select__trigger {
    border-color: #1076e9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 118, 233, .13);
}

.rsoc-select__value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rsoc-select__chevron {
    position: absolute;
    top: 50%;
    right: 17px;
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform .18s ease;
}

.rsoc-select.is-open .rsoc-select__chevron {
    transform: translateY(-25%) rotate(225deg);
}

.rsoc-select__dropdown {
    position: absolute;
    z-index: 80;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    padding: 8px;
    border: 1px solid #d7e1eb;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(4, 30, 55, .18), 0 3px 10px rgba(4, 30, 55, .08);
    animation: rsoc-select-in .16s ease-out;
}

.rsoc-select__dropdown[hidden] {
    display: none !important;
}

@keyframes rsoc-select-in {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.rsoc-select__search {
    position: relative;
    padding: 2px 2px 8px;
}

.rsoc-select__search::before {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 16px;
    width: 11px;
    height: 11px;
    border: 1.8px solid #71869a;
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.rsoc-select__search::after {
    position: absolute;
    z-index: 1;
    top: 25px;
    left: 27px;
    width: 6px;
    height: 2px;
    border-radius: 2px;
    background: #71869a;
    content: '';
    pointer-events: none;
    transform: rotate(45deg);
    transform-origin: left center;
}

.rsoc-select__search input,
.rsoc__field .rsoc-select__search input {
    width: 100%;
    height: 40px;
    min-height: 40px;
    padding: 8px 12px 8px 38px;
    margin: 0;
    border: 1px solid #dce5ee;
    border-radius: 10px;
    outline: 0;
    background: #f5f8fb;
    box-shadow: none;
    color: #0a2540;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
}

.rsoc-select__search input:focus,
.rsoc__field .rsoc-select__search input:focus {
    border-color: #1076e9;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 118, 233, .1);
}

.rsoc-select__options {
    display: grid;
    gap: 3px;
    max-height: 260px;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-color: #b8c8d7 transparent;
    scrollbar-width: thin;
}

.rsoc-select__option {
    position: relative;
    display: block;
    width: 100%;
    min-height: 42px;
    padding: 10px 42px 10px 13px;
    margin: 0;
    border: 0;
    border-radius: 9px;
    outline: 0;
    background: transparent;
    box-shadow: none;
    color: #0a2540;
    font: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
    text-transform: none;
    cursor: pointer;
    appearance: none;
}

.rsoc-select__option:hover,
.rsoc-select__option:focus-visible {
    background: #eef6ff;
    color: #075dbd;
}

.rsoc-select__option.is-selected {
    background: #e5f1ff;
    color: #075dbd;
    font-weight: 600;
}

.rsoc-select__option.is-selected::after {
    position: absolute;
    top: 50%;
    right: 15px;
    color: #1076e9;
    content: '✓';
    font-size: 17px;
    font-weight: 700;
    transform: translateY(-50%);
}

.rsoc-select__empty {
    padding: 13px 12px;
    margin: 0;
    color: #71869a;
    font-size: 14px;
    text-align: center;
}

.rsoc-compact__field .rsoc-select__trigger {
    height: 46px;
    min-height: 46px;
    padding: 8px 42px 8px 14px;
    border-radius: 20px;
}

.rsoc-demo-form .rsoc-select__trigger,
.rsoc-consult-modal .rsoc-demo-form .rsoc-select__trigger {
    height: 48px;
    min-height: 48px;
    padding: 9px 42px 9px 14px;
    border-color: #dadee3;
    border-radius: 12px;
    background: #f8fbff;
}

.rsoc-demo-form .rsoc-select__trigger:hover,
.rsoc-demo-form .rsoc-select.is-open .rsoc-select__trigger,
.rsoc-consult-modal .rsoc-demo-form .rsoc-select__trigger:hover,
.rsoc-consult-modal .rsoc-demo-form .rsoc-select.is-open .rsoc-select__trigger {
    background: #f8fbff;
}

.rsoc-demo-form .rsoc-demo-form__consent,
.rsoc-consult-modal .rsoc-demo-form .rsoc-demo-form__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.rsoc-demo-form .rsoc-demo-form__consent input[type="checkbox"],
.rsoc-consult-modal .rsoc-demo-form .rsoc-demo-form__consent input[type="checkbox"] {
    display: block;
    flex: 0 0 18px;
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    min-height: 18px;
    max-height: 18px;
    padding: 0;
    margin: 1px 0 0;
    border-radius: 2px;
    accent-color: #1076e9;
    appearance: auto !important;
}

.rsoc-demo-form .rsoc-demo-form__consent > span,
.rsoc-consult-modal .rsoc-demo-form .rsoc-demo-form__consent > span {
    display: block;
    margin: 0;
}

/* Keep form controls isolated from the active theme's generic input rules. */
.rsoc .rsoc__field > input[type="text"],
.rsoc .rsoc__field > input[type="email"],
.rsoc .rsoc__field > input[type="tel"] {
    width: 100%;
    min-width: 0;
    height: 42px;
    padding: 9px 12px;
    border: 1px solid var(--rsoc-line);
    border-radius: 12px;
    background: var(--rsoc-surface);
    color: var(--rsoc-ink);
    font: inherit;
}

.rsoc-demo-form input[type="text"],
.rsoc-demo-form input[type="email"],
.rsoc-demo-form input[type="tel"] {
    padding: 0 14px;
    border: 1px solid #cddbea;
    border-radius: 13px;
    background-color: #f8fbff;
    color: #0a2540;
    font: inherit;
}

/* Protect compact controls from the active theme's broad input styles. */
.rsoc-compact .rsoc-compact__stepper input[type="number"] {
    box-sizing: border-box;
    width: 56px;
    min-width: 56px;
    max-width: 56px;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    padding: 0 !important;
    margin: 0;
    overflow: visible;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent;
    box-shadow: none !important;
    line-height: 44px;
    text-align: center;
}

/* Leave a stable text gutter for the search icon despite theme input rules. */
.rsoc-select .rsoc-select__search input[type="search"] {
    box-sizing: border-box;
    height: 40px;
    min-height: 40px;
    padding: 8px 12px 8px 42px !important;
    border: 1px solid #dce5ee !important;
    border-radius: 10px !important;
    line-height: 1.35;
}

@media (max-width: 600px) {
    .rsoc-select__dropdown {
        top: calc(100% + 7px);
        padding: 7px;
        border-radius: 13px;
    }

    .rsoc-select__options {
        max-height: min(45vh, 300px);
    }

    .rsoc-select__option {
        min-height: 46px;
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rsoc-select__dropdown {
        animation: none;
    }
}
