/*
 * Страницы предложения: «Бесплатный аудит» и «Консультация».
 * Отдельный файл, чтобы не затрагивать существующие стили платформы.
 */

.of-page {
    color: #17283b;
    background: #fff;
}

/* Не даём контейнеру вылезать за экран на границе 1200px, где появляется скроллбар. */
.of-page .container {
    width: 100%;
    max-width: var(--main-container);
}

.of-page h1,
.of-page h2,
.of-page h3,
.of-page h4 {
    text-transform: none;
}

.of-page p {
    margin: 0;
}

.of-page .breadcrumbs-section {
    padding: 18px 0 0;
    background: #fff;
}

/* ─── Hero ─── */

.of-hero {
    position: relative;
    overflow: hidden;
    padding: 34px 0 58px;
    background:
        radial-gradient(900px 460px at 8% -20%, #e6f0ff 0%, rgba(230, 240, 255, 0) 68%),
        radial-gradient(700px 400px at 96% 0%, #eef6ff 0%, rgba(238, 246, 255, 0) 70%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.of-hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: 90px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(0, 85, 165, .09);
    pointer-events: none;
}

.of-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(320px, .84fr);
    gap: 48px;
    align-items: center;
}

.of-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 14px;
    border: 1px solid #cfe0f5;
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    color: #0b4d91;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.of-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #2e8b57;
    box-shadow: 0 0 0 4px rgba(46, 139, 87, .14);
}

.of-hero h1 {
    margin: 18px 0 18px;
    color: #0a2647;
    font-size: 52px;
    font-weight: 900;
    line-height: 1.06;
    letter-spacing: -.028em;
}

.of-hero h1 em {
    color: #0055a5;
    font-style: italic;
}

.of-hero__lead {
    max-width: 620px;
    color: #41566d;
    font-size: 17.5px;
    line-height: 1.65;
}

.of-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 28px 0 22px;
}

.of-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 9px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #4b6076;
    font-size: 13.5px;
    line-height: 1.4;
}

.of-hero__facts li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.of-hero__facts li::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #007aff;
}

/* ─── Кнопки ─── */

.of-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 24px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

.of-btn svg {
    flex: none;
}

.of-btn--primary {
    background: linear-gradient(135deg, #0055a5, #007aff);
    color: #fff;
    box-shadow: 0 10px 26px rgba(0, 102, 204, .28);
}

.of-btn--primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 102, 204, .34);
}

.of-btn--ghost {
    border-color: #cddbeb;
    background: #fff;
    color: #12325c;
}

.of-btn--ghost:hover {
    border-color: #007aff;
    color: #0055a5;
    transform: translateY(-1px);
}

.of-btn--light {
    background: #fff;
    color: #0b3d75;
    box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

.of-btn--light:hover {
    color: #0b3d75;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .22);
}

.of-btn--outline-light {
    border-color: rgba(255, 255, 255, .42);
    background: transparent;
    color: #fff;
}

.of-btn--outline-light:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.of-btn--wide {
    width: 100%;
}

.of-btn:focus-visible,
.of-page summary:focus-visible {
    outline: 3px solid rgba(0, 122, 255, .42);
    outline-offset: 3px;
}

/* ─── Боковая карточка ─── */

.of-panel {
    position: relative;
    padding: 28px;
    border: 1px solid #e0eaf6;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 64px rgba(0, 41, 82, .13);
}

.of-panel::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, #003366, #007aff);
}

.of-panel__kicker {
    margin: 0 0 8px;
    color: #7b8da1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.of-panel__title {
    margin: 0 0 16px;
    color: #102c4c;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.25;
}

.of-panel__list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.of-panel__item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 1px solid #edf2f8;
}

.of-panel__item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.of-panel__ico {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: #eef5ff;
    color: #0055a5;
}

.of-panel__item b {
    display: block;
    color: #17344f;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
}

.of-panel__item small {
    display: block;
    margin-top: 2px;
    color: #677b90;
    font-size: 12.5px;
    line-height: 1.45;
}

.of-panel__note {
    margin-top: 18px;
    padding: 12px 14px;
    border-radius: 11px;
    background: #f3f8ff;
    color: #3f5873;
    font-size: 12.5px;
    line-height: 1.5;
}

/* Ценовая карточка */

.of-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin: 4px 0 8px;
}

.of-price__old {
    color: #94a3b4;
    font-size: 17px;
    font-weight: 600;
    text-decoration: line-through;
}

.of-price strong {
    color: #0a2647;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.03em;
}

.of-price span {
    color: #52677e;
    font-size: 14px;
    font-weight: 700;
}

.of-panel__price-note {
    margin: 0 0 18px;
    color: #5b6f84;
    font-size: 13px;
    line-height: 1.5;
}

.of-panel__divider {
    height: 1px;
    margin: 18px 0;
    background: #e9eff7;
}

.of-panel__mini {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #41566d;
    font-size: 13px;
    line-height: 1.5;
}

.of-panel__mini + .of-panel__mini {
    margin-top: 9px;
}

.of-panel__mini svg {
    flex: none;
    margin-top: 2px;
    color: #2e8b57;
}

/* ─── Секции ─── */

.of-section {
    padding: 66px 0;
}

.of-section--tint {
    border-block: 1px solid #eaf1fa;
    background: #f5f9ff;
}

.of-section--dark {
    background:
        radial-gradient(800px 360px at 12% 0%, rgba(0, 122, 255, .18), transparent 65%),
        linear-gradient(135deg, #062a52 0%, #0b3d75 55%, #164f91 100%);
    color: #fff;
}

.of-section__head {
    max-width: 780px;
    margin-bottom: 38px;
}

.of-kicker {
    margin: 0 0 10px;
    color: #007aff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.of-section h2 {
    margin: 0 0 14px;
    color: #0a2647;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -.02em;
}

.of-section h2 em {
    color: #0055a5;
    font-style: italic;
}

.of-section__lead {
    color: #53677d;
    font-size: 16.5px;
    line-height: 1.65;
}

.of-section--dark .of-section__lead,
.of-section--dark .of-kicker {
    color: rgba(255, 255, 255, .72);
}

.of-section--dark h2 {
    color: #fff;
}

.of-section--dark h2 em {
    color: #9fcbff;
}

/* ─── Сетки ─── */

.of-grid {
    display: grid;
    gap: 18px;
}

.of-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.of-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.of-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ─── Карточки ─── */

.of-card {
    position: relative;
    padding: 26px 24px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.of-card:hover {
    border-color: #c7dcf3;
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 51, 102, .09);
}

.of-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    margin-bottom: 14px;
    padding: 0 9px;
    border-radius: 10px;
    background: #eef5ff;
    color: #0055a5;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .02em;
}

.of-card__time {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef8f1;
    color: #1f7a48;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .03em;
}

.of-card h3 {
    margin: 0 0 9px;
    color: #102c4c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.of-card p {
    color: #586c81;
    font-size: 14px;
    line-height: 1.6;
}

.of-card--dark {
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
}

.of-card--dark:hover {
    border-color: rgba(255, 255, 255, .28);
    box-shadow: none;
}

.of-card--dark h3 {
    color: #fff;
}

.of-card--dark p {
    color: rgba(255, 255, 255, .74);
}

.of-card--dark .of-card__num {
    background: rgba(255, 255, 255, .12);
    color: #d7e9ff;
}

/* ─── Шаги ─── */

.of-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: of-step;
}

.of-step {
    position: relative;
    padding: 24px 22px 22px;
    border: 1px solid #e5edf7;
    border-radius: 18px;
    background: #fff;
}

.of-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #003366;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}

.of-step h3 {
    margin: 0 0 8px;
    color: #102c4c;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.of-step p {
    color: #5a6e83;
    font-size: 13.5px;
    line-height: 1.55;
}

.of-step__meta {
    display: inline-block;
    margin-top: 12px;
    color: #7b8da1;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ─── Список «чего нет» ─── */

.of-list-check {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.of-list-check li {
    position: relative;
    padding: 14px 16px 14px 46px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid #e7eef8;
    color: #4a6077;
    font-size: 13.5px;
    line-height: 1.55;
}

.of-list-check li::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 17px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #edf5ff;
    box-shadow: inset 0 0 0 2px #b9d2ee;
}

.of-list-check li::after {
    content: "";
    position: absolute;
    left: 22px;
    top: 21px;
    width: 6px;
    height: 3px;
    border-left: 2px solid #0055a5;
    border-bottom: 2px solid #0055a5;
    transform: rotate(-45deg);
}

.of-list-check b {
    color: #17344f;
}

/* ─── Программа встречи ─── */

.of-program {
    overflow: hidden;
    border: 1px solid #e3ecf7;
    border-radius: 20px;
    background: #fff;
}

.of-program__row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 26px;
    padding: 22px 28px;
    border-bottom: 1px solid #edf2f8;
}

.of-program__row:last-child {
    border-bottom: 0;
}

.of-program__time {
    color: #0055a5;
    font-size: 14px;
    font-weight: 900;
    line-height: 1.5;
    white-space: nowrap;
}

.of-program__body h3 {
    margin: 0 0 5px;
    color: #102c4c;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.of-program__body p {
    color: #5a6e83;
    font-size: 14px;
    line-height: 1.6;
}

/* ─── Материалы ─── */

.of-materials {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.of-material {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 18px;
    border: 1px solid #e4edf7;
    border-radius: 15px;
    background: #fff;
}

.of-material__num {
    flex: none;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #eef5ff;
    color: #0055a5;
    font-size: 12px;
    font-weight: 900;
}

.of-material b {
    display: block;
    color: #17344f;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.35;
}

.of-material small {
    display: block;
    margin-top: 4px;
    color: #62758a;
    font-size: 12.5px;
    line-height: 1.5;
}

/* ─── Цитата / автор ─── */

.of-author {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 30px;
    border: 1px solid #e4edf7;
    border-radius: 22px;
    background: #fff;
}

.of-author__photo {
    width: 132px;
    height: 132px;
    border-radius: 18px;
    object-fit: cover;
    background: #eef5ff;
}

.of-author h3 {
    margin: 0 0 8px;
    color: #102c4c;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.25;
}

.of-author p {
    color: #556a80;
    font-size: 14.5px;
    line-height: 1.65;
}

.of-author__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
}

.of-author__links a {
    color: #0055a5;
    text-decoration: none;
}

.of-author__links a:hover {
    text-decoration: underline;
}

/* ─── FAQ ─── */

.of-faq .faq-item {
    margin-bottom: 10px;
    border: 1px solid #e5edf7;
    border-radius: 13px;
    background: #fff;
    overflow: hidden;
}

.of-faq .faq-item summary {
    cursor: pointer;
    list-style: none;
}

.of-faq .faq-item summary::-webkit-details-marker {
    display: none;
}

.of-faq .faq-header {
    padding: 17px 20px;
}

.of-faq .faq-text {
    color: #17344f;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
}

.of-faq .faq-item p {
    padding: 0 20px 18px;
    color: #556a80;
    font-size: 14px;
    line-height: 1.65;
}

/* ─── Финальный CTA ─── */

.of-cta {
    padding: 20px 0 70px;
}

.of-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 42px 46px;
    border-radius: 26px;
    background:
        radial-gradient(620px 260px at 92% 10%, rgba(0, 122, 255, .28), transparent 70%),
        linear-gradient(135deg, #062a52 0%, #0b3d75 55%, #1a5ca8 100%);
    color: #fff;
    box-shadow: 0 26px 70px rgba(0, 41, 82, .22);
}

.of-cta__inner h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.of-cta__inner p {
    max-width: 620px;
    color: rgba(255, 255, 255, .74);
    font-size: 15.5px;
    line-height: 1.6;
}

.of-cta__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 250px;
}

/* ─── Форма заявки ─── */

.of-form-card {
    padding: 30px;
    border: 1px solid #e2ebf6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 54px rgba(0, 41, 82, .1);
}

.of-form-card h3 {
    margin: 0 0 8px;
    color: #102c4c;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.25;
}

.of-form-card > p {
    margin: 0 0 20px;
    color: #5b6f84;
    font-size: 13.5px;
    line-height: 1.55;
}

.of-form {
    display: grid;
    gap: 13px;
}

.of-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.of-field {
    display: grid;
    gap: 6px;
}

.of-field label {
    color: #41566d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
}

.of-field label span {
    color: #b3261e;
}

.of-input,
.of-select,
.of-textarea {
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    border: 1.5px solid #d8e3f0;
    border-radius: 10px;
    background: #fbfdff;
    color: #17283b;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.of-textarea {
    min-height: 96px;
    resize: vertical;
}

.of-input:focus,
.of-select:focus,
.of-textarea:focus {
    outline: none;
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, .13);
}

.of-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #64788d;
    font-size: 12px;
    line-height: 1.5;
}

.of-form__consent input {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: #0055a5;
}

.of-form__consent a {
    color: #0055a5;
    text-decoration: underline;
}

.of-form__error {
    min-height: 18px;
    color: #b3261e;
    font-size: 12.5px;
    font-weight: 700;
}

.of-form__small {
    color: #7b8da1;
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
}

/* ─── Анкета аудита ─── */

.aq {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    overflow: hidden;
    border: 1px solid rgba(0, 51, 102, .12);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 22px 64px rgba(0, 51, 102, .14);
}

.aq__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 38px 34px;
    overflow: hidden;
    background: linear-gradient(160deg, #062a52 0%, #0b3d75 55%, #1f5aa6 100%);
    color: #fff;
}

.aq__aside::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -100px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .17), transparent 70%);
}

.aq__kicker {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #8fc2ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.aq__title {
    position: relative;
    z-index: 1;
    margin: 0 0 14px;
    color: #fff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.2;
}

.aq__lead {
    position: relative;
    z-index: 1;
    margin: 0 0 22px;
    color: rgba(255, 255, 255, .82);
    font-size: 14.5px;
    line-height: 1.6;
}

.aq__facts {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    margin: 0 0 22px;
    padding: 0;
    list-style: none;
}

.aq__facts li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    color: rgba(255, 255, 255, .78);
    font-size: 13.5px;
    line-height: 1.4;
}

.aq__facts b {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.aq__note {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .16);
    color: rgba(255, 255, 255, .6);
    font-size: 12.5px;
    line-height: 1.55;
}

.aq__main {
    min-width: 0;
    padding: 34px 36px;
}

.aq__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.aq__progress-track {
    flex: 1;
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef7;
}

.aq__progress-bar {
    display: block;
    width: 16.6%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #2e5aac, #2e8b57);
    transition: width .3s ease;
}

.aq__progress-text {
    flex: none;
    color: rgba(0, 0, 0, .45);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.aq__step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.aq__step legend {
    margin: 0 0 6px;
    padding: 0;
    color: #12325c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}

.aq__hint {
    margin: 0 0 18px;
    color: rgba(0, 0, 0, .55);
    font-size: 13.5px;
    line-height: 1.5;
}

.aq__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 20px;
}

.aq__option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 13px 14px;
    border: 2px solid #e3eaf4;
    border-radius: 13px;
    background: #fbfdff;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.aq__option:hover {
    border-color: #9db8dd;
    transform: translateY(-1px);
}

.aq__option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aq__option-mark {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    border: 2px solid #b9c9de;
    border-radius: 50%;
    background: #fff;
}

.aq__option input:checked ~ .aq__option-mark {
    border-color: #2e5aac;
    background: #2e5aac;
}

.aq__option input:checked ~ .aq__option-mark::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 50%;
    background: #fff;
}

.aq__option input:checked ~ .aq__option-text {
    color: #12325c;
}

.aq__option:has(input:checked) {
    border-color: #2e5aac;
    background: #f2f7ff;
    box-shadow: 0 4px 14px rgba(46, 90, 172, .12);
}

.aq__option:has(input:focus-visible) {
    outline: 3px solid rgba(46, 90, 172, .35);
    outline-offset: 2px;
}

.aq__option-text {
    color: rgba(0, 0, 0, .72);
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
}

.aq__option-text small {
    display: block;
    margin-top: 2px;
    color: rgba(0, 0, 0, .45);
    font-size: 11.5px;
    font-weight: 500;
}

.aq__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
    margin: 0 0 14px;
}

.aq__field {
    display: grid;
    gap: 5px;
}

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

.aq__field label {
    color: #41566d;
    font-size: 11.5px;
    font-weight: 800;
}

.aq__field label span {
    color: #b3261e;
}

.aq__input {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1.5px solid #d8e3f0;
    border-radius: 10px;
    background: #fbfdff;
    color: #17283b;
    font-family: inherit;
    font-size: 13.5px;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.aq__input:focus {
    outline: none;
    border-color: #007aff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, .13);
}

.aq__consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #64788d;
    font-size: 11.5px;
    line-height: 1.5;
}

.aq__consent input {
    flex: none;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: #0055a5;
}

.aq__consent a {
    color: #0055a5;
    text-decoration: underline;
}

.aq__nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.aq__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 11px 20px;
    border: 2px solid transparent;
    border-radius: 11px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.aq__btn--primary {
    border-color: #003366;
    background: #003366;
    color: #fff;
    box-shadow: 0 6px 18px rgba(0, 51, 102, .24);
}

.aq__btn--primary:hover {
    border-color: #0055a5;
    background: #0055a5;
    transform: translateY(-1px);
}

.aq__btn--ghost {
    border-color: #d5e0ee;
    background: #fff;
    color: #12325c;
}

.aq__btn--ghost:hover {
    border-color: #2e5aac;
    color: #2e5aac;
}

.aq__btn[disabled] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.aq__error {
    min-height: 18px;
    margin: 10px 0 0;
    color: #b3261e;
    font-size: 12.5px;
    font-weight: 700;
}

.aq__success {
    padding: 28px;
    border: 1px solid #cfe4d7;
    border-radius: 16px;
    background: #f4fbf6;
    color: #1f5436;
}

.aq__success h3 {
    margin: 0 0 8px;
    color: #17452c;
    font-size: 22px;
    font-weight: 900;
}

.aq__success p {
    color: #37634a;
    font-size: 14px;
    line-height: 1.6;
}

/* ─── Адаптив ─── */

@media (max-width: 1180px) {
    .of-hero h1 {
        font-size: 46px;
    }

    .of-hero__grid {
        gap: 34px;
    }

    .of-grid--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .of-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .of-materials {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 960px) {
    .of-hero {
        padding-bottom: 44px;
    }

    .of-hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .of-panel {
        max-width: 560px;
    }

    .of-section {
        padding: 52px 0;
    }

    .of-section h2 {
        font-size: 32px;
    }

    .of-hero h1 {
        font-size: 42px;
    }

    .aq {
        grid-template-columns: 1fr;
    }

    .aq__aside {
        padding: 30px 28px;
    }

    .aq__main {
        padding: 28px;
    }

    .of-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .of-cta__actions {
        width: 100%;
        min-width: 0;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .of-author {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 22px;
    }

    .of-author__photo {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 780px) {
    .of-hero h1 {
        font-size: 36px;
    }

    .of-hero__lead {
        font-size: 16px;
    }

    .of-grid--2,
    .of-grid--3,
    .of-grid--4,
    .of-list-check,
    .of-materials {
        grid-template-columns: 1fr;
    }

    .of-form__row,
    .aq__fields {
        grid-template-columns: 1fr;
    }

    .of-program__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px 20px;
    }

    .of-program__time {
        font-size: 12.5px;
    }

    .of-cta__inner {
        padding: 30px 24px;
    }

    .of-cta__inner h2 {
        font-size: 26px;
    }

    .of-form-card {
        padding: 24px 20px;
    }
}

@media (max-width: 576px) {
    .of-hero {
        padding: 22px 0 36px;
    }

    .of-hero h1 {
        margin: 14px 0 14px;
        font-size: 30px;
    }

    .of-hero__actions {
        margin: 22px 0 18px;
    }

    .of-btn {
        width: 100%;
        min-height: 48px;
    }

    .of-hero__actions .of-btn {
        width: 100%;
    }

    .of-section {
        padding: 42px 0;
    }

    .of-section h2 {
        font-size: 27px;
    }

    .of-section__lead {
        font-size: 15px;
    }

    .of-steps {
        grid-template-columns: 1fr;
    }

    .of-card {
        padding: 22px 18px;
    }

    .of-author {
        grid-template-columns: 1fr;
        padding: 22px 18px;
    }

    .of-author__photo {
        width: 88px;
        height: 88px;
    }

    .of-cta {
        padding: 4px 0 48px;
    }

    .of-cta__inner {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .of-cta__actions {
        flex-direction: column;
    }

    .of-cta__actions .of-btn {
        width: 100%;
    }

    .aq {
        border-radius: 20px;
    }

    .aq__aside,
    .aq__main {
        padding: 24px 20px;
    }

    .aq__title {
        font-size: 23px;
    }

    .aq__options {
        grid-template-columns: 1fr;
    }

    .aq__btn {
        width: 100%;
    }

    .aq__nav .aq__btn--ghost {
        width: auto;
    }
}
