:root {
    --blue: #292a78;
    --blue-dark: #1d1e5d;
    --blue-light: #eef0ff;
    --red: #c51325;
    --red-dark: #9d1020;
    --orange: #dd5a1d;
    --text: #23252b;
    --muted: #656b78;
    --line: #e3e6ec;
    --surface: #f6f7fa;
    --white: #ffffff;
    --shadow: 0 14px 38px rgba(31, 36, 83, 0.10);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}

.section {
    padding: 84px 0;
}

.section--light {
    background: var(--surface);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--red);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 3px;
    border-radius: 10px;
    background: var(--red);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 20px;
    color: var(--blue);
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

h2 {
    margin-bottom: 16px;
    color: var(--blue);
    font-size: clamp(30px, 3.5vw, 42px);
    line-height: 1.16;
    letter-spacing: -0.025em;
}

h3 {
    margin-bottom: 10px;
    color: var(--blue);
    font-size: 20px;
    line-height: 1.25;
}

.section-intro {
    max-width: 720px;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 18px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button--primary {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 9px 20px rgba(197, 19, 37, 0.22);
}

.button--primary:hover {
    background: var(--red-dark);
}

.button--secondary {
    color: var(--blue);
    border-color: #c7cbe6;
    background: var(--white);
}

.button--secondary:hover {
    border-color: var(--blue);
    background: var(--blue-light);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    border-bottom: 1px solid rgba(35, 37, 43, 0.08);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: 168px;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: #444957;
    font-size: 14px;
}

.main-nav a:hover {
    color: var(--red);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-actions .button {
    min-height: 42px;
    padding: 9px 15px;
    font-size: 14px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 72px;
    background:
        radial-gradient(circle at 88% 18%, rgba(221, 90, 29, 0.14), transparent 28%),
        radial-gradient(circle at 75% 85%, rgba(41, 42, 120, 0.13), transparent 30%),
        linear-gradient(125deg, #ffffff 0%, #f6f7ff 100%);
}

.hero::after {
    position: absolute;
    right: -95px;
    bottom: -110px;
    width: 350px;
    height: 350px;
    border: 30px solid rgba(41, 42, 120, 0.08);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: center;
    gap: 54px;
}

.hero-text {
    max-width: 780px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.hero-note {
    margin: 18px 0 0;
    color: #707687;
    font-size: 13px;
}

.hero-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border-radius: var(--radius);
    color: var(--white);
    background: linear-gradient(145deg, var(--blue) 0%, #3d3e97 100%);
    box-shadow: var(--shadow);
}

.hero-card::before {
    position: absolute;
    top: -82px;
    right: -58px;
    width: 200px;
    height: 200px;
    border: 25px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    content: "";
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-card__label {
    margin-bottom: 10px;
    color: #dfe1ff;
    font-size: 14px;
}

.hero-card__value {
    margin-bottom: 22px;
    font-size: 43px;
    font-weight: 800;
    line-height: 1;
}

.hero-card__caption {
    max-width: 300px;
    margin: 0;
    color: #eef0ff;
    font-size: 15px;
}

.hero-card__line {
    height: 1px;
    margin: 22px 0;
    background: rgba(255, 255, 255, 0.22);
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.step {
    position: relative;
    padding: 28px 24px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 20px;
    border-radius: 50%;
    color: var(--white);
    background: var(--blue);
    font-size: 17px;
    font-weight: 700;
}

.step p,
.feature-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 15px;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 8px 26px rgba(39, 43, 65, 0.07);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
    border-radius: 12px;
    color: var(--red);
    background: #fff0f1;
    font-size: 25px;
    font-weight: 700;
}

.feature-list {
    display: grid;
    gap: 13px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    color: var(--muted);
    font-size: 15px;
}

.feature-list li::before {
    position: absolute;
    top: 8px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--red);
    content: "";
}

.conditions-wrap {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.conditions-table {
    width: 100%;
    border-collapse: collapse;
}

.conditions-table th,
.conditions-table td {
    padding: 20px 22px;
    text-align: left;
}

.conditions-table th {
    color: var(--white);
    background: var(--blue);
    font-size: 14px;
}

.conditions-table tr:not(:last-child) td {
    border-bottom: 1px solid var(--line);
}

.conditions-table td:first-child {
    font-weight: 700;
}

.conditions-table td:nth-child(2) {
    color: var(--red);
    font-weight: 800;
}

.conditions-table td:nth-child(3) {
    color: var(--blue);
    font-weight: 800;
}

.conditions-note {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 14px;
}

.conditions-note strong {
    color: var(--text);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.audience-item {
    min-height: 148px;
    padding: 24px 20px;
    border: 1px solid #e4e5ef;
    border-radius: 14px;
    background: var(--white);
}

.audience-item__mark {
    margin-bottom: 12px;
    color: var(--red);
    font-size: 26px;
    font-weight: 800;
}

.audience-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--blue);
}

.audience-item span {
    color: var(--muted);
    font-size: 14px;
}

.faq {
    display: grid;
    gap: 12px;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.faq summary {
    position: relative;
    padding: 20px 56px 20px 22px;
    color: var(--blue);
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    position: absolute;
    top: 16px;
    right: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--white);
    background: var(--red);
    content: "+";
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}

.faq details[open] summary::after {
    content: "−";
}

.faq-answer {
    padding: 0 22px 21px;
    color: var(--muted);
    font-size: 15px;
}

.cta {
    padding: 70px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 10% 0%, rgba(221, 90, 29, 0.70), transparent 33%),
        linear-gradient(130deg, var(--blue) 0%, #34368d 100%);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    max-width: 650px;
    margin-bottom: 12px;
    color: var(--white);
}

.cta p {
    max-width: 670px;
    margin-bottom: 0;
    color: #e9eaff;
    font-size: 17px;
}

.cta .button--primary {
    min-width: 190px;
    background: var(--white);
    color: var(--red);
    box-shadow: none;
}

.cta .button--primary:hover {
    background: #f4f4f6;
}

.site-footer {
    padding: 34px 0;
    color: #c8cae8;
    background: var(--blue-dark);
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.footer-brand {
    max-width: 410px;
}

.footer-brand strong {
    display: block;
    margin-bottom: 8px;
    color: var(--white);
    font-size: 18px;
}

.footer-brand p {
    margin-bottom: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 20px;
    max-width: 570px;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--white);
}

@media (max-width: 980px) {
    .main-nav {
        display: none;
    }

    .hero-grid,
    .benefits {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 500px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 30px, 1160px);
    }

    .section {
        padding: 58px 0;
    }

    .header-inner {
        min-height: 72px;
    }

    .logo img {
        width: 135px;
    }

    .header-actions .button--secondary {
        display: none;
    }

    .header-actions .button {
        min-height: 39px;
        padding: 8px 12px;
    }

    .hero {
        padding: 54px 0 50px;
    }

    .hero-grid {
        gap: 34px;
    }

    .hero-text {
        font-size: 17px;
    }

    .steps,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .conditions-wrap {
        overflow-x: auto;
    }

    .conditions-table {
        min-width: 650px;
    }

    .conditions-table th,
    .conditions-table td {
        padding: 16px;
    }

    .cta-inner,
    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
/* ===== Дополнение к базовым стилям макета ===== */

/* Формы */
.form label {
    display: block;
    margin: 16px 0 6px;
    font-weight: 700;
    font-size: 14px;
    color: var(--blue);
}
.form input,
.form select,
.form textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #d5d9e2;
    border-radius: 9px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(41, 42, 120, 0.10);
}
.form .checkbox {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    margin: 12px 0 0;
    font-weight: 400;
    font-size: 14px;
    color: var(--text);
}
.form .checkbox input { width: auto; margin-top: 3px; }
.form .checkbox a { color: var(--red); text-decoration: underline; }

/* Сообщения */
.alert { padding: 14px 16px; border-radius: 10px; margin: 16px 0; font-size: 15px; }
.alert--ok  { background: #eafaef; color: #1c7a3a; border: 1px solid #bfe6cb; }
.alert--err { background: #fff0f1; color: #9d1020; border: 1px solid #f2c4c9; }

/* Таблицы данных */
.data-table { width: 100%; border-collapse: collapse; margin-top: 18px; background: #fff; }
.data-table th,
.data-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.data-table th { color: var(--blue); background: #f2f3fb; font-weight: 700; }
.data-table small { color: var(--muted); }

/* Бейджи статусов */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.badge--new           { background: #eef0ff; color: #292a78; }
.badge--processing    { background: #fff3e6; color: #b5590f; }
.badge--clarification { background: #fff8dd; color: #8a6d00; }
.badge--registered    { background: #eafaef; color: #1c7a3a; }
.badge--rejected      { background: #fff0f1; color: #9d1020; }