﻿.rb .rb-reg {
    background: linear-gradient(160deg,#eaf3ff 0%,#ffffff 55%,#eef8ea 100%);
    padding: 56px 0 80px
}

.rb .rb-reg-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    align-items: start
}

.rb .rb-reg-info h1 {
    font-size: clamp(30px,4.5vw,44px);
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -.02em;
    line-height: 1.15
}

    .rb .rb-reg-info h1 span {
        color: var(--green)
    }

.rb .rb-reg-info > p {
    margin-top: 16px;
    color: var(--muted)
}

.rb .rb-reg-info .rb-perks {
    list-style: none;
    margin-top: 24px
}

    .rb .rb-reg-info .rb-perks li {
        position: relative;
        padding: 6px 0 6px 30px;
        color: var(--text)
    }

        .rb .rb-reg-info .rb-perks li::before {
            content: "\2713";
            position: absolute;
            left: 0;
            top: 6px;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: var(--green);
            color: #fff;
            font-size: 12px;
            line-height: 20px;
            text-align: center
        }

.rb .rb-reg-plan {
    margin-top: 28px;
    background: #fff;
    border: 1px solid #d8e4f3;
    border-radius: var(--radius);
    padding: 20px 24px
}

    .rb .rb-reg-plan strong {
        font-size: 28px;
        color: var(--navy)
    }

    .rb .rb-reg-plan small {
        color: var(--muted)
    }

.rb .rb-form-card {
    background: #fff;
    border: 1px solid #e6edf6;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15,58,115,.1)
}

    .rb .rb-form-card h2 {
        font-size: 22px;
        color: var(--navy);
        margin-bottom: 4px
    }

    .rb .rb-form-card .rb-form-sub {
        color: var(--muted);
        font-size: 14.4px;
        margin-bottom: 22px
    }

.rb .rb-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px
}

.rb .rb-field {
    margin-bottom: 16px
}

    .rb .rb-field label {
        display: block;
        font-weight: 600;
        font-size: 14px;
        color: var(--navy);
        margin-bottom: 6px
    }

        .rb .rb-field label .rb-req {
            color: #d93025
        }

    .rb .rb-field input, .rb .rb-field select, .rb .rb-field textarea {
        display: block;
        width: 100%;
        padding: 12px 14px;
        font: inherit;
        font-size: 15px;
        color: var(--text);
        background: #fff;
        border: 1.5px solid #cfdbec;
        border-radius: 12px;
        transition: border-color .15s,box-shadow .15s
    }

    .rb .rb-field textarea {
        resize: vertical;
        min-height: 96px
    }

        .rb .rb-field input:focus, .rb .rb-field select:focus, .rb .rb-field textarea:focus {
            outline: 0;
            border-color: var(--blue);
            box-shadow: 0 0 0 3px rgba(29,98,181,.15)
        }

    .rb .rb-field.rb-invalid input, .rb .rb-field.rb-invalid select, .rb .rb-field.rb-invalid textarea {
        border-color: #d93025;
        background: #fff8f7
    }

        .rb .rb-field.rb-invalid input:focus, .rb .rb-field.rb-invalid select:focus {
            box-shadow: 0 0 0 3px rgba(217,48,37,.15)
        }

.rb .rb-error {
    display: none;
    margin-top: 5px;
    font-size: 13px;
    color: #d93025
}

.rb .rb-field.rb-invalid .rb-error {
    display: block
}

.rb .rb-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--muted);
    font-weight: 400
}

    .rb .rb-check input {
        width: 18px;
        height: 18px;
        margin-top: 3px;
        flex: none;
        accent-color: var(--green)
    }

    .rb .rb-check a {
        color: var(--blue);
        text-decoration: underline
    }

.rb .rb-form-card .rb-btn {
    width: 100%;
    margin-top: 8px
}

    .rb .rb-form-card .rb-btn[disabled] {
        opacity: .6;
        cursor: not-allowed;
        transform: none
    }

.rb .rb-success {
    display: none;
    text-align: center;
    padding: 24px 0
}

    .rb .rb-success .rb-ok {
        width: 64px;
        height: 64px;
        margin: 0 auto 16px;
        border-radius: 50%;
        background: var(--green);
        color: #fff;
        font-size: 32px;
        line-height: 64px
    }

    .rb .rb-success p {
        color: var(--muted);
        margin: 10px 0 22px
    }

.rb .rb-form-card.rb-done form, .rb .rb-form-card.rb-done > h2, .rb .rb-form-card.rb-done > .rb-form-sub {
    display: none
}

.rb .rb-form-card.rb-done .rb-success {
    display: block
}

@media (max-width:900px) {
    .rb .rb-reg-grid {
        grid-template-columns: 1fr;
        gap: 32px
    }
}

@media (max-width:560px) {
    .rb .rb-row {
        grid-template-columns: 1fr
    }

    .rb .rb-form-card {
        padding: 22px 18px
    }

    .rb .rb-reg {
        padding: 36px 0 56px
    }
}

.rb .rb-note-contact {
    margin: 4px 0 8px;
    padding: 12px 14px;
    background: var(--soft);
    border-radius: 12px;
    font-size: 14px;
    color: var(--muted)
}
