/* ЯрунетАТС — публичный лендинг
   Project: ЯрунетАТС (YarunetATS) · Author: Ярунет · https://iam.ru.net/
   Без внешних шрифтов и библиотек: системный шрифт, офлайн-совместимо. */

:root {
    --ink: #0f1b2d;
    --ink-2: #24344d;
    --muted: #5a6b82;
    --muted-2: #8494a9;
    --line: #dfe6ef;
    --bg: #f6f8fb;
    --white: #ffffff;
    --blue: #2c5f9e;
    --blue-dark: #1f4a7e;
    --blue-soft: #eaf1fa;
    --green: #1f8a5f;
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 10px 30px rgba(15, 27, 45, 0.08);
    --shadow-sm: 0 2px 10px rgba(15, 27, 45, 0.06);
    --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; letter-spacing: -0.01em; }
h1 { font-size: 48px; }
h2 { font-size: 34px; }
h3 { font-size: 20px; }
h4 { font-size: 16.5px; }
p { margin: 0 0 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.accent { color: var(--blue); }

/* ---------- Header ---------- */
.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; gap: 22px; height: 72px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand__mark { color: var(--blue); display: flex; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand__sub { font-size: 11.5px; color: var(--muted); }

.nav { display: flex; gap: 18px; margin-left: auto; }
.nav a { color: var(--ink-2); font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--blue); text-decoration: none; }

.header__phone { font-size: 14.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.header__phone:hover { color: var(--blue); text-decoration: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 22px; border-radius: var(--radius-sm);
    font-size: 15px; font-weight: 600; line-height: 1;
    border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(44, 95, 158, 0.22); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--ghost { background: transparent; color: var(--blue); border-color: #c6d6ea; }
.btn--ghost:hover { background: var(--blue-soft); }
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 15px 26px; font-size: 15.5px; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 88% -12%, #e3eefb 0%, rgba(227, 238, 251, 0) 62%),
        radial-gradient(700px 320px at 8% 110%, #eef4fc 0%, rgba(238, 244, 252, 0) 70%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
    padding: 64px 0 66px;
}
.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; gap: 54px; align-items: center; }

.eyebrow {
    display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px;
    background: var(--blue-soft); color: var(--blue-dark);
    font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
}
.hero h1 { margin-bottom: 18px; }
.lead { font-size: 17.5px; color: var(--ink-2); max-width: 570px; margin-bottom: 24px; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }

.hero__stats {
    list-style: none; margin: 0 0 20px; padding: 0;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
    max-width: 570px;
}
.hero__stats li {
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 10px 12px; box-shadow: var(--shadow-sm);
}
.hero__stats b { display: block; font-size: 20px; letter-spacing: -0.02em; color: var(--ink); }
.hero__stats span { display: block; font-size: 11.5px; color: var(--muted); line-height: 1.3; margin-top: 2px; }

.hero__note { font-size: 13px; color: var(--muted-2); margin: 0; }
.hero__note a { color: var(--muted-2); text-decoration: underline; }

.hero__visual { position: relative; padding-bottom: 22px; }
.window {
    border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
    box-shadow: 0 28px 70px rgba(15, 27, 45, 0.18); overflow: hidden;
}
.window__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #f1f4f9; border-bottom: 1px solid var(--line); }
.window__bar span { width: 10px; height: 10px; border-radius: 50%; background: #cfd9e6; }
.window__bar span:nth-child(1) { background: #f2b8b5; }
.window__bar span:nth-child(2) { background: #f6d9a0; }
.window__bar span:nth-child(3) { background: #b7dfc6; }
.window__bar em {
    margin-left: 8px; font-style: normal; font-size: 12px; color: var(--muted);
    background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 10px;
}
.window img { width: 100%; height: auto; }

.hero__card {
    position: absolute; left: -22px; bottom: 6px;
    display: flex; align-items: center; gap: 10px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    padding: 9px 14px; box-shadow: 0 14px 34px rgba(15, 27, 45, 0.16);
    font-size: 13px;
}
.hero__card--right { left: auto; right: -18px; bottom: 42px; }
.hero__card b { display: block; font-size: 13px; }
.hero__card small { color: var(--muted); font-size: 11.5px; }
.hero__card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
    background: #e7f6ee; color: var(--green); font-size: 12px; font-weight: 700;
}
.hero__card--right .hero__card-icon { background: #fdeceb; color: #c0392b; font-size: 9.5px; }

/* ---------- Strip ---------- */
.strip { background: #fff; border-bottom: 1px solid var(--line); padding: 18px 0; }
.strip__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.strip__label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); font-weight: 700; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
    background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
    padding: 5px 12px; font-size: 12.5px; color: var(--ink-2);
}

/* ---------- Sections ---------- */
.section { padding: 74px 0; }
.section--alt { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 760px; margin-bottom: 38px; }
.section__sub { color: var(--muted); font-size: 17px; margin: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; box-shadow: var(--shadow-sm);
    transition: box-shadow 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}
.card--hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cddcee; }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0; }

.card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px; background: var(--blue-soft); margin-bottom: 14px;
}
.card__icon svg { width: 21px; height: 21px; fill: var(--blue); }
.card--plain { box-shadow: none; }
.card--plain:hover { transform: none; box-shadow: none; }

/* ---------- Списки с галочками ---------- */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.ticks li {
    position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2);
}
.ticks li::before {
    content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%231f8a5f'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.service-group { margin-bottom: 34px; }
.service-group:last-child { margin-bottom: 0; }
.service-group__title {
    font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--muted-2); font-weight: 700; margin: 0 0 14px;
    padding-bottom: 10px; border-bottom: 1px solid var(--line);
}

/* ---------- Timeline ---------- */
.timeline {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
    counter-reset: t;
}
.timeline__item {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); padding: 22px 18px 18px;
}
.timeline__item::before {
    content: ""; position: absolute; top: 34px; left: -16px; width: 16px; height: 2px;
    background: #cddcee;
}
.timeline__item:first-child::before { display: none; }
.timeline__dot {
    display: inline-flex; align-items: center; justify-content: center;
    width: 30px; height: 30px; border-radius: 50%; background: var(--blue); color: #fff;
    font-weight: 700; font-size: 14px; margin-bottom: 12px;
}
.timeline__item h3 { font-size: 15.5px; margin-bottom: 6px; }
.timeline__item p { color: var(--muted); font-size: 13.5px; margin: 0 0 10px; }
.timeline__meta {
    display: inline-block; font-size: 11.5px; font-weight: 600; color: var(--blue-dark);
    background: var(--blue-soft); border-radius: 999px; padding: 3px 9px;
}

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px 20px; box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column;
}
.plan--featured { border-color: #9dbfe0; box-shadow: 0 16px 40px rgba(44, 95, 158, 0.14); }
.plan__badge {
    position: absolute; top: -11px; left: 20px;
    background: var(--blue); color: #fff; font-size: 11px; font-weight: 700;
    letter-spacing: 0.02em; padding: 3px 10px; border-radius: 999px;
}
.plan h3 { font-size: 19px; margin-bottom: 4px; }
.plan__meta { color: var(--muted); font-size: 12.5px; margin-bottom: 14px; min-height: 34px; }
.plan__price {
    display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
    margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.plan__price b { font-size: 27px; letter-spacing: -0.02em; }
.plan__price span { color: var(--muted); font-size: 13px; }
.plan .ticks { margin-bottom: 18px; }
.plan .ticks li { font-size: 13.5px; }
.plan__btn { margin-top: auto; width: 100%; }

.addons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.addons__col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.addons__col h3 { font-size: 15px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); margin-bottom: 12px; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: none; }
.table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.table small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; margin-top: 2px; }

.pricing__note { color: var(--muted); font-size: 13px; margin: 22px 0 0; max-width: 900px; }

/* ---------- Comparison ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 14px; }
.compare th, .compare td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: #f4f8fc; font-size: 13px; color: var(--ink-2); font-weight: 700; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { color: var(--muted); width: 24%; }
.compare__ours { background: #f2f8f4; font-weight: 600; color: #14532d; }
.compare thead .compare__ours { color: #14532d; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 900px; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq__item summary {
    cursor: pointer; padding: 16px 46px 16px 20px; position: relative;
    font-weight: 600; font-size: 15.5px; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
    font-size: 22px; font-weight: 400; color: var(--blue); line-height: 1;
}
.faq__item[open] summary::after { content: "–"; }
.faq__body { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* ---------- Contacts / form ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacts__lead { color: var(--muted); font-size: 16.5px; margin-bottom: 22px; }
.contacts__list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.contacts__list li {
    display: grid; grid-template-columns: 130px 1fr; gap: 12px; align-items: baseline;
    padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.contacts__list span { color: var(--muted-2); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.03em; }
.contacts__list a { font-size: 17px; font-weight: 600; }
.contacts__note {
    background: var(--blue-soft); border-radius: var(--radius-sm); padding: 14px 16px;
    font-size: 13.5px; color: var(--ink-2);
}

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.field { display: block; margin-bottom: 13px; }
.field span { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.field input, .field textarea, .field select {
    width: 100%; font: inherit; font-size: 15px; color: var(--ink);
    background: #fbfcfe; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 10px 12px; outline: none; resize: vertical;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus {
    border-color: #8fb3da; box-shadow: 0 0 0 3px rgba(44, 95, 158, 0.12); background: #fff;
}
.form .btn { width: 100%; margin-top: 4px; }
.form__note { color: var(--muted); font-size: 12.5px; margin: 12px 0 0; }

/* ---------- Footer ---------- */
.footer { background: #0f1b2d; color: #c8d4e4; padding: 44px 0 0; font-size: 14px; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer__col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: #8fa2bb; margin-bottom: 6px; }
.footer__col a { color: #c8d4e4; font-size: 14px; }
.footer__col a:hover { color: #fff; }
.footer__col--brand .brand__name { color: #fff; font-size: 19px; }
.footer__muted { color: #8fa2bb; font-size: 13px; max-width: 280px; }
.footer__bottom {
    margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px 18px; color: #8fa2bb; font-size: 12.5px;
}
.footer__bottom a { color: #c8d4e4; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
    h1 { font-size: 38px; }
    h2 { font-size: 29px; }
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { order: -1; max-width: 760px; }
    .hero__stats { max-width: none; }
    .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .pricing { grid-template-columns: repeat(2, 1fr); }
    .timeline { grid-template-columns: repeat(3, 1fr); }
    .timeline__item::before { display: none; }
    .nav { display: none; }
    .addons { grid-template-columns: 1fr; }
    .contacts { grid-template-columns: 1fr; gap: 28px; }
    .footer__cols { grid-template-columns: 1fr 1fr; }
    .header__phone { display: none; }
}

@media (max-width: 720px) {
    h1 { font-size: 31px; }
    h2 { font-size: 25px; }
    .header__inner { height: 64px; gap: 12px; }
    .header .btn { padding: 9px 12px; font-size: 13px; }
    .brand__sub { display: none; }
    .section { padding: 52px 0; }
    .hero { padding: 42px 0 48px; }
    .grid, .grid--3, .pricing, .timeline { grid-template-columns: 1fr; }
    .hero__stats { grid-template-columns: repeat(2, 1fr); }
    .hero__card { display: none; }
    .lead { font-size: 16.5px; }
    .footer__cols { grid-template-columns: 1fr; gap: 24px; }
    .contacts__list li { grid-template-columns: 1fr; gap: 2px; }
    .plan__price b { font-size: 25px; }
}

/* ---------- Внутренние страницы ---------- */
.page-hero {
    background:
        radial-gradient(800px 320px at 90% -20%, #e7f0fb 0%, rgba(231, 240, 251, 0) 60%),
        linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--line);
    padding: 44px 0 52px;
}
.page-hero h1 { font-size: 40px; max-width: 900px; margin-bottom: 16px; }
.page-hero .lead { max-width: 780px; }
.breadcrumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted-2); margin-bottom: 18px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span:last-child { color: var(--ink-2); }

.section__more { margin: 14px 0 0; }
.mt { margin-top: 14px; }

/* honeypot: поле-ловушка, скрыто от людей */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.form__note--error { color: #b03a2e; }

/* Карточки типовых конфигураций */
.card--config { display: flex; flex-direction: column; }
.card--config h3 { font-size: 17px; }
.card--config .ticks { margin-bottom: 16px; }
.card--config-featured { border-color: #9dbfe0; box-shadow: 0 14px 34px rgba(44, 95, 158, 0.12); }
.card__price {
    margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--line);
    font-size: 17px; font-weight: 700; color: var(--ink);
}
.card__price span { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }

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

@media (max-width: 1100px) {
    .page-hero h1 { font-size: 32px; }
    .pricing--3 { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 720px) {
    .page-hero { padding: 32px 0 40px; }
    .page-hero h1 { font-size: 27px; }
}

/* ---------- Онлайн-оплата ---------- */
.pay-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 34px; align-items: start; }
.pay-section-title { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-2); margin-bottom: 14px; }
.pay-plan-list { display: grid; gap: 10px; }
.pay-plan {
    display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center;
    width: 100%; text-align: left; cursor: pointer; font: inherit; color: var(--ink);
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    padding: 14px 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.pay-plan:hover { border-color: #b9cfe6; }
.pay-plan--selected { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(44, 95, 158, 0.12); background: #fbfdff; }
.pay-plan__title { font-weight: 600; font-size: 15.5px; }
.pay-plan__title em {
    font-style: normal; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--blue-dark); background: var(--blue-soft);
    border-radius: 999px; padding: 2px 8px; margin-left: 8px; vertical-align: middle;
}
.pay-plan__meta { grid-column: 1; font-size: 12.5px; color: var(--muted); }
.pay-plan__price { grid-row: 1 / span 2; grid-column: 2; text-align: right; font-size: 18px; font-weight: 700; white-space: nowrap; }
.pay-plan__price small { display: block; font-size: 11.5px; font-weight: 400; color: var(--muted); }

.pay-side { position: sticky; top: 92px; }
.pay-total {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line);
}
.pay-total span { color: var(--muted); font-size: 13px; }
.pay-total b { font-size: 22px; letter-spacing: -0.02em; }
.pay-trust { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pay-trust span {
    font-size: 11.5px; color: var(--muted); background: var(--bg);
    border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px;
}
.pay-banner {
    margin-top: 18px; padding: 12px 16px; border-radius: var(--radius-sm);
    background: #fff7e6; border: 1px solid #f0d9a8; color: #7a5312; font-size: 14px;
}
.pay-banner a { color: #7a5312; text-decoration: underline; }

/* Результат оплаты */
.pay-result {
    max-width: 720px; margin: 0 auto; text-align: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 44px 32px; box-shadow: var(--shadow);
}
.pay-result__icon {
    width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: 700;
}
.pay-result--ok .pay-result__icon { background: #e7f6ee; color: var(--green); }
.pay-result--fail .pay-result__icon { background: #fdeceb; color: #b03a2e; }
.pay-result h1 { font-size: 30px; margin-bottom: 12px; }
.pay-result .lead { margin: 0 auto 16px; max-width: 560px; }
.pay-result__order { font-size: 14px; color: var(--muted); }
.pay-result__order b { color: var(--ink); font-family: ui-monospace, Consolas, monospace; }
.pay-result__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 20px 0 14px; }
.pay-result .form__note { max-width: 560px; margin: 0 auto; }

@media (max-width: 1024px) {
    .pay-layout { grid-template-columns: 1fr; }
    .pay-side { position: static; }
    .pay-result { padding: 32px 20px; }
}

/* Ссылки «или оплатить/заявка» под кнопками тарифов */
.plan__alt { display: block; text-align: center; font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.plan__alt:hover { color: var(--blue); }
.pay-inline { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Согласие и юридические страницы ---------- */
.check { display: flex; align-items: flex-start; gap: 9px; margin: 4px 0 14px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.check input { width: 16px; height: 16px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--blue); }
.check a { color: var(--blue); }
.legal { max-width: 900px; }
.legal h2 { font-size: 22px; margin-top: 32px; }
.legal h3 { font-size: 17px; margin-top: 22px; }
.legal p, .legal li { color: var(--ink-2); font-size: 15.5px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal__meta { color: var(--muted); font-size: 13.5px; margin-bottom: 22px; }
.legal__note { margin-top: 28px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 13.5px; }
