:root {
  --brand: #3565C8; --brand-dark: #2A51A3; --brand-soft: #EDF2FC; --brand-line: #D5E0F6;
  --text: #1B2433; --muted: #5C6678; --line: #E6E9EF; --bg: #FFFFFF; --bg-alt: #F6F8FB;
  --radius: 14px; --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 20px rgba(16, 24, 40, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.65 Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 26px; border-radius: 10px;
  font-weight: 700; font-size: 16px; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline { border-color: var(--brand-line); color: var(--brand); background: #fff; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* шапка */
header.top { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand img { height: 40px; width: auto; }
nav.links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 600; }
nav.links a { color: var(--text); }
nav.links a:hover { color: var(--brand); text-decoration: none; }
@media (max-width: 900px) { nav.links { display: none; } .bar .btn { margin-left: auto; } }
@media (max-width: 420px) { .brand img { height: 32px; } .bar { gap: 12px; } }

/* первый экран */
.hero { background: linear-gradient(180deg, var(--brand-soft) 0%, #fff 100%); padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker { display: inline-block; margin: 0 0 16px; color: var(--brand); font-weight: 700; font-size: 14px;
  text-transform: uppercase; letter-spacing: .08em; }
h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; margin-bottom: 20px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 32px; max-width: 560px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-points { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--muted); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.hero-art { display: flex; justify-content: center; }
.hero-card { width: 100%; max-width: 460px; background: #fff; border-radius: 28px; padding: 48px 40px;
  border: 1px solid var(--brand-line); box-shadow: 0 24px 60px rgba(53, 101, 200, .16); }
.hero-card img { width: 100%; }
@media (max-width: 860px) {
  .hero { padding: 40px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { display: none; }
}

/* секции */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }
@media (max-width: 640px) { .section { padding: 60px 0; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; gap: 28px; } }
.feature h3 { font-size: 18px; margin: 16px 0 8px; }
.feature p { margin: 0; color: var(--muted); }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* тарифы */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); }
.plan .badge { position: absolute; top: -13px; left: 28px; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
  padding: 4px 12px; border-radius: 99px; }
.plan h3 { font-size: 20px; }
.plan .amount { font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 14px 0 0; line-height: 1.1; }
.plan .amount small { font-size: 22px; font-weight: 700; }
.plan .per { color: var(--muted); font-size: 15px; min-height: 24px; margin-top: 6px; }
.plan .save { color: #15803D; font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 24px 0 28px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; border-top: 1px solid var(--line); font-size: 15px; }
.plan li:first-child { border-top: 0; }
.plan li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233565C8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/contain no-repeat; }
.note { color: var(--muted); font-size: 14px; margin: 32px auto 0; max-width: 640px; }
.tbd { display: inline-block; background: #FFF4D6; color: #7A5300; border-radius: 6px; padding: 0 8px; font-size: .9em; font-weight: 600; }

/* шаги и информация */
.steps { list-style: none; padding: 0; margin: 0 0 56px; counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: s; padding-top: 4px; }
.steps li::before { content: counter(s, decimal-leading-zero); display: block; font-size: 15px; font-weight: 800; color: var(--brand);
  padding-bottom: 12px; margin-bottom: 14px; border-bottom: 2px solid var(--brand-line); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 900px) { .info-grid { grid-template-columns: 1fr; } }
.info { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.info h3 { font-size: 18px; margin-bottom: 10px; }
.info p { margin: 0; color: var(--muted); font-size: 15px; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .contacts { grid-template-columns: 1fr; } }
dl.req { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 6px 0 0; font-size: 15px; }
dl.req dt { color: var(--muted); }
dl.req dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 420px) { dl.req { grid-template-columns: 1fr; gap: 2px; } dl.req dd { margin-bottom: 10px; } }

/* вопросы */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-size: 22px; line-height: 1; font-weight: 600; }
details[open] summary::after { content: "−"; }
details p { color: var(--muted); margin: 12px 0 0; }

/* подвал */
footer { background: #131A2A; color: #AAB3C5; font-size: 14px; padding: 56px 0 32px; }
footer a { color: #DDE3EE; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 14px; }
.foot-brand img { height: 30px; width: auto; }
footer h4 { color: #fff; font-size: 15px; margin: 0 0 12px; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer p { margin: 0 0 6px; }
.foot-pay { margin-top: 32px; }
.foot-pay img { display: inline-block; width: auto; }
.foot-bottom { border-top: 1px solid #263048; margin-top: 40px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* документы */
.doc { max-width: 820px; padding: 56px 24px 80px; }
.doc h1 { font-size: clamp(28px, 4vw, 38px); margin-bottom: 8px; }
.doc h3 { margin: 36px 0 10px; font-size: 20px; }
.doc .meta { color: var(--muted); margin-top: 0; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14px; display: block; overflow-x: auto; }
.doc th, .doc td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.doc th { background: var(--bg-alt); }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
