.inq-form {
    --inq-ink: #0F2A44;
    --inq-accent: #3886D4;
    --inq-surface: #FFFFFF;
    --inq-soft: #F5F8FA;
    --inq-line: rgba(15, 42, 68, 0.16);
    --inq-muted: rgba(15, 42, 68, 0.62);
    display: block;
    float: none;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.inq-form .careers-rows {
    float: none;
    gap: 0;
    margin-top: 36px;
    counter-reset: inq-step;
}

.inq-form .careers-row {
    display: grid;
    float: none;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    align-items: start;
    gap: clamp(32px, 5vw, 72px);
    padding: 38px 0;
    border-top: 1px solid var(--inq-line);
    counter-increment: inq-step;
}

.inq-form .careers-row:last-child {
    border-bottom: 1px solid var(--inq-line);
}

.inq-form .careers-row .left-careers-part,
.inq-form .careers-row .right-careers-part {
    float: none;
    width: 100%;
    min-width: 0;
}

.inq-form .careers-row .left-careers-part {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-top: 5px;
    color: var(--inq-ink);
    font-size: clamp(28px, 2.5vw, 40px);
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.inq-form .careers-row .left-careers-part::before {
    content: counter(inq-step, decimal-leading-zero);
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-top: 1px;
    border-radius: 12px;
    background: var(--inq-ink);
    color: #FFFFFF;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.inq-form .right-careers-part > p {
    max-width: 760px;
    margin: 7px 0 0;
    color: var(--inq-muted);
    font-size: 17px;
    line-height: 1.7;
}

.inq-form .white-question-box {
    position: relative;
    float: none;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
    border: 1px solid var(--inq-line);
    border-radius: 20px;
    background: var(--inq-surface);
    box-shadow: 0 18px 48px rgba(15, 42, 68, 0.08), inset 0 3px 0 var(--inq-accent);
}

.inq-form .white-question-box span {
    float: none;
    width: auto;
    margin: 0;
}

.inq-form .quest-wrap {
    gap: 14px;
}

.inq-form .inp-wrap input,
.inq-form .inp-wrap textarea,
.inq-form .inp-wrap select {
    float: none;
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    box-sizing: border-box;
    border: 1px solid var(--inq-line);
    border-radius: 12px;
    background-color: var(--inq-soft);
    color: var(--inq-ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.inq-form .inp-wrap select {
    padding-right: 48px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F2A44' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 18px;
}

.inq-form .inp-wrap textarea {
    min-height: 160px;
    padding-top: 16px;
    padding-bottom: 16px;
    resize: vertical;
}

.inq-form .inp-wrap input:focus,
.inq-form .inp-wrap textarea:focus,
.inq-form .inp-wrap select:focus {
    border-color: var(--inq-accent);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(56, 134, 212, 0.13);
}

.inq-form .frmx-items {
    display: grid;
    gap: 14px;
}

.inq-form .frmx-item {
    gap: 14px;
    margin: 0;
    padding: 16px;
    border: 1px solid var(--inq-line);
    border-radius: 15px;
    background: var(--inq-soft);
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.inq-form .frmx-item + .frmx-item {
    padding-top: 16px;
    border-top: 1px solid var(--inq-line);
}

.inq-form .frmx-item.has-cat {
    border-color: rgba(56, 134, 212, 0.55);
    background: rgba(56, 134, 212, 0.045);
    box-shadow: 0 8px 24px rgba(15, 42, 68, 0.06);
}

.inq-form .frmx-cat-row {
    align-items: stretch;
    gap: 12px;
}

.inq-form .frmx-subchips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
}

.inq-form .frmx-subchip {
    min-height: 50px;
    padding: 12px 14px;
    border: 1px solid var(--inq-line);
    border-radius: 12px;
    background: #FFFFFF;
    font-size: 15px;
    line-height: 1.3;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.inq-form .frmx-subchip:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 134, 212, 0.65);
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(15, 42, 68, 0.08);
}

.inq-form .frmx-subchip-label {
    float: none;
    width: auto;
    margin: 0;
    padding-left: 28px;
    color: var(--inq-ink);
    font-size: 15px;
    line-height: 1.3;
    font-weight: 600;
    white-space: normal;
}

.inq-form .frmx-subchip:has(.frmx-subchip-cb:checked) {
    border-color: var(--inq-accent);
    background: rgba(56, 134, 212, 0.1);
    box-shadow: inset 0 0 0 1px var(--inq-accent);
}

.inq-form .frmx-remove {
    width: 46px;
    height: 46px;
    border: 1px solid var(--inq-line);
    background: #FFFFFF;
    color: var(--inq-ink);
    font-size: 22px;
}

.inq-form .frmx-remove:hover,
.inq-form .frmx-remove:focus-visible {
    border-color: #C0392B;
    background: rgba(192, 57, 43, 0.08);
    color: #C0392B;
}

.inq-form .frmx-add,
.inq-form .frmx-submit {
    display: inline-flex;
    float: none;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin: 18px 0 0 auto;
    padding: 10px 20px;
    border: 1px solid var(--inq-ink);
    border-radius: 12px;
    background: var(--inq-ink);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.inq-form .frmx-add::before {
    content: "+";
    margin-right: 8px;
    font-size: 20px;
    line-height: 1;
    font-weight: 400;
}

.inq-form .frmx-add:hover,
.inq-form .frmx-submit:hover,
.inq-form .frmx-add:focus-visible,
.inq-form .frmx-submit:focus-visible {
    transform: translateY(-1px);
    border-color: var(--inq-accent);
    background: var(--inq-accent);
    box-shadow: 0 10px 24px rgba(56, 134, 212, 0.24);
}

.inq-form .frmx-drop {
    float: none;
    margin: 2px 0 0;
    border-radius: 14px;
    background: var(--inq-soft);
}

.inq-form .frmx-msg {
    float: none;
    border-radius: 14px;
}

@media screen and (max-width: 1023px) {
    .inq-form .careers-row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 30px 0;
    }

    .inq-form .careers-row .left-careers-part {
        font-size: clamp(26px, 5vw, 34px);
    }
}

@media screen and (max-width: 650px) {
    .inq-form .careers-rows {
        margin-top: 22px;
    }

    .inq-form .careers-row {
        padding: 24px 0;
    }

    .inq-form .careers-row .left-careers-part {
        gap: 12px;
        font-size: 26px;
    }

    .inq-form .careers-row .left-careers-part::before {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .inq-form .white-question-box {
        padding: 18px;
        border-radius: 16px;
    }

    .inq-form .frmx-item {
        padding: 12px;
    }

    .inq-form .frmx-subchips {
        grid-template-columns: 1fr;
    }

    .inq-form .frmx-add,
    .inq-form .frmx-submit {
        width: 100%;
        margin-top: 16px;
    }
}
