/* Верхний блок страницы роботизации */
.header-robotization {
    min-height: 0;
    padding: 50px 50px 28px;
    box-sizing: border-box;
}
.header-robotization__inner {
    padding: 0;
    max-width: 720px;
}
.header-robotization__title {
    margin: 0 0 16px;
    font-size: calc(30px * var(--font-scale));
    line-height: 1.2;
    color: #576066;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
}
.header-robotization__subtitle {
    margin: 0;
    font-size: calc(17px * var(--font-scale));
    line-height: 1.45;
    color: rgba(87, 96, 102, 0.9);
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 300;
}
/* Контейнер формы — единые отступы */
.page-robotization .content-block-vacancy .container {
    padding-top: 14px;
}
.page-robotization .content-block-vacancy .col-12.m-l-50 {
    margin-left: 0;
    padding: 0 50px 52px;
    box-sizing: border-box;
}
/* Форма заявки на роботизацию — единая сетка отступов */
.robot-form .form-block {
    background: #fff;
    border-radius: 12px;
    padding: 30px 36px 28px;
    margin-bottom: 18px;
    border-left: 4px solid #FF4948;
    box-shadow: 0 6px 22px rgba(16, 15, 21, 0.06);
}
.robot-form .form-block h3 {
    font-size: calc(22px * var(--font-scale));
    color: #576066;
    margin: 0 0 6px;
    line-height: 1.3;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 600;
}
.robot-form .form-block .goal {
    font-size: calc(15px * var(--font-scale));
    color: rgba(87, 96, 102, 0.8);
    margin: 0 0 24px;
    line-height: 1.4;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
}
.robot-form .form-row {
    margin-bottom: 26px;
}
.robot-form .form-row:last-child {
    margin-bottom: 0;
}
.robot-form .form-row > label:first-child {
    display: block;
    font-size: calc(16px * var(--font-scale));
    color: #576066;
    margin-bottom: 9px;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
}
.robot-form label.inline {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin: 0;
    cursor: pointer;
    color: #4d565c;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
}
.robot-form .form-row input[type="text"]:not(.inline-input),
.robot-form .form-row input[type="number"],
.robot-form .form-row input[type="email"],
.robot-form .form-row textarea,
.robot-form .form-row select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #d7dde2;
    border-radius: 8px;
    font-size: calc(16px * var(--font-scale));
    color: #100F15;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.robot-form .form-options .inline-input {
    flex: 1;
    min-width: 0;
    max-width: 280px;
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid #d7dde2;
    border-radius: 6px;
    font-size: calc(15px * var(--font-scale));
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
}
.robot-form input[type="text"]:focus,
.robot-form input[type="number"]:focus,
.robot-form input[type="email"]:focus,
.robot-form textarea:focus,
.robot-form select:focus {
    outline: none;
    border-color: #ff6a69;
    box-shadow: 0 0 0 3px rgba(255, 73, 72, 0.15);
}
.robot-form textarea {
    min-height: 96px;
    resize: vertical;
}
.robot-form .form-hint {
    font-size: calc(14px * var(--font-scale));
    color: rgba(87, 96, 102, 0.8);
    margin: 6px 0 0;
}
/* Блоки выбора: единый отступ между вариантами */
.robot-form .form-options {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 0;
}
.robot-form .form-options label {
    margin: 0;
}
.robot-form .form-options input[type="checkbox"],
.robot-form .form-options input[type="radio"] {
    margin: 0 10px 0 0;
    flex-shrink: 0;
    width: auto;
    vertical-align: middle;
}
.robot-form .inline-input {
    display: inline-block;
    width: auto;
    min-width: 140px;
    margin-left: 8px;
    vertical-align: middle;
}
.robot-form .form-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
    margin-bottom: 26px;
}
.robot-form .form-two-cols:last-child {
    margin-bottom: 0;
}
.robot-form .form-two-cols .form-row {
    margin-bottom: 0;
    min-width: 0;
}
.robot-form .form-two-cols input,
.robot-form .form-two-cols select {
    box-sizing: border-box;
    min-width: 0;
}
.robot-form .submit-wrap {
    text-align: center;
    margin-top: 18px;
    padding: 20px 12px 4px;
}
.robot-form button[type="button"],
.robot-form button[type="submit"] {
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
    background: #FF4948;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    color: #fff;
    font-size: calc(14px * var(--font-scale));
    letter-spacing: .02em;
    text-transform: uppercase;
    cursor: pointer;
    min-width: 160px;
    margin: 4px 6px;
}
.robot-form button.btn-secondary {
    background: #edf0f2;
    color: #576066;
}
.robot-form button[type="button"]:hover,
.robot-form button[type="submit"]:hover {
    filter: drop-shadow(-4px 4px 9px rgba(255, 73, 72, 0.3));
}
.robot-form button[type="submit"].inactive,
.robot-form button[disabled] {
    background: rgba(255, 73, 72, 0.8);
    cursor: wait;
    filter: none;
}
.robot-form .form-message {
    margin-top: 16px;
    font-size: calc(15px * var(--font-scale));
    color: #576066;
}
.robot-form .form-message.error { color: #c00; }
.robot-form .form-message.success { color: #0a0; }

.robot-form .form-stepper {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e3e7ea;
    padding: 16px 18px 14px;
    margin: 0 0 16px;
    box-shadow: 0 6px 22px rgba(16, 15, 21, 0.05);
}
.robot-form .step-counter {
    font-size: calc(13px * var(--font-scale));
    color: #7b848a;
    font-family: Inter, system-ui, -apple-system, sans-serif;
    font-weight: 400;
    margin-bottom: 10px;
}
.robot-form .step-progress {
    margin-top: 10px;
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: #eceff1;
    overflow: hidden;
}
.robot-form .step-progress__bar {
    height: 100%;
    width: 14.28%;
    background: linear-gradient(90deg, #ff4948 0%, #ff7d6d 100%);
    border-radius: 999px;
    transition: width .2s ease;
}

.robot-form.is-stepped .form-block {
    display: none;
}
.robot-form.is-stepped .form-block.active-step {
    display: block;
}

/* Скрытый блок для генерации PDF */
#pdf-content {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 700px;
    padding: 40px;
    background: #fff;
    font-size: calc(14px * var(--font-scale));
    line-height: 1.4;
    color: #1e293b;
}

#pdf-content h2 {
    font-size: calc(18px * var(--font-scale));
    margin: 24px 0 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #FF4948;
}
#pdf-content h2:first-child { margin-top: 0; }
#pdf-content .pdf-row {
    margin-bottom: 10px;
}
#pdf-content .pdf-label {
    font-weight: bold;
    color: #576066;
}
#pdf-content .pdf-value {
    margin-top: 2px;
}
