:root {
  --c-yellow: #ffd200;
  --c-red: #e30613;
  --c-blue: #1b4f9c;
  --c-blue-mid: #2563b8;
  --c-blue-dark: #123a75;
  --c-blue-deep: #0b2a56;
  --c-text: #1a1a1a;
  --c-muted: #5c6470;
  --c-bg: #f4f6fa;
  --c-white: #fff;
  --c-border: #e5e7eb;
  --c-ok: #157a45;
  --c-bad: #b42318;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(11, 42, 86, 0.1);
  --shadow-sm: 0 4px 16px rgba(11, 42, 86, 0.08);
  --header-h: 76px;
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--c-blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 40px, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip-link:focus {
  left: 12px;
  z-index: 100;
  background: var(--c-white);
  padding: 8px 12px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-blue-deep);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  font-size: 1.05rem;
}

.logo:hover {
  text-decoration: none;
}

.logo__mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  color: var(--c-text);
  font-weight: 600;
  font-size: 0.95rem;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--c-blue-dark);
  white-space: nowrap;
}

.header__phone:hover {
  text-decoration: none;
  color: var(--c-red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--c-blue-deep);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--c-red);
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(227, 6, 19, 0.28);
}

.btn-primary:hover {
  background: #c50510;
}

.btn-ghost {
  background: transparent;
  color: var(--c-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: var(--c-white);
  color: var(--c-blue-dark);
  border: 1px solid var(--c-border);
}

.btn-wide {
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, var(--c-blue-deep) 0%, var(--c-blue) 58%, #2a6fd1 100%);
  color: var(--c-white);
  padding: 72px 0 96px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -40px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 210, 0, 0.18), transparent 68%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 210, 0, 0.45);
  color: var(--c-yellow);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.hero__lead {
  margin-top: 18px;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 46ch;
}

.hero__magnet {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(0, 0, 0, 0.18);
  border-left: 4px solid var(--c-yellow);
  border-radius: 0 12px 12px 0;
}

.hero__magnet strong {
  display: block;
  color: var(--c-yellow);
  margin-bottom: 4px;
}

.hero__art {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
  min-height: 280px;
}

.hero__art-title {
  font-weight: 800;
  margin-bottom: 16px;
}

.hero__art li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

.hero__art li:first-of-type {
  border-top: 0;
}

.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section--lead {
  padding-top: 0;
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

.section__head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section__head h2,
.form-card h2,
.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--c-blue-deep);
}

.section__head p,
.form-card .lead {
  margin-top: 12px;
  color: var(--c-muted);
  font-size: 1.05rem;
}

.kicker {
  color: var(--c-red);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Forms */
.form-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 36px;
}

.form-card--accent {
  border-top: 5px solid var(--c-red);
}

.form-card--mid {
  border-top: 5px solid var(--c-yellow);
}

.lead-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  font-weight: 650;
  font-size: 0.9rem;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  background: #fbfcfe;
}

.lead-form textarea {
  min-height: 96px;
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: 2px solid var(--c-blue);
  outline-offset: 1px;
  background: var(--c-white);
}

.lead-form input[aria-invalid="true"] {
  border-color: var(--c-red);
}

.form-error {
  color: var(--c-red);
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 1.1em;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--c-muted);
}

.consent input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 3px;
  accent-color: var(--c-red);
}

.form-note {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--c-muted);
  font-size: 0.88rem;
  margin-top: 12px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.about-copy p + p {
  margin-top: 14px;
  color: var(--c-muted);
}

.stats {
  display: grid;
  gap: 14px;
}

.stat {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 14px;
  padding: 16px 18px;
}

.stat__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eef3fb;
  display: grid;
  place-items: center;
  color: var(--c-blue);
}

.stat strong {
  display: block;
  color: var(--c-blue-deep);
}

.stat span {
  color: var(--c-muted);
  font-size: 0.92rem;
}

/* Services */
.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--c-blue-deep);
  margin-bottom: 16px;
}

.service-card li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-top: 1px solid var(--c-bg);
}

.service-card li:first-of-type {
  border-top: 0;
}

/* Compare */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--c-border);
}

.compare__col {
  padding: 28px 24px;
}

.compare__col h3 {
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.compare__col--old {
  background: #f8f2f2;
}

.compare__col--new {
  background: #eef6ff;
  border-left: 1px solid #d5e4f7;
}

.compare__col--old h3 {
  color: var(--c-bad);
}

.compare__col--new h3 {
  color: var(--c-blue-dark);
}

.compare li {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.save-banner {
  margin-top: 22px;
  background: var(--c-yellow);
  color: var(--c-blue-deep);
  font-weight: 800;
  text-align: center;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 1.1rem;
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trust-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}

.badge-1c {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #ffd200 0 42%, #e30613 42% 62%, #1b4f9c 62% 100%);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.badge-years {
  width: 88px;
  height: 88px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--c-blue);
  color: var(--c-white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
}

.trust-note {
  margin-top: 24px;
  text-align: center;
  color: var(--c-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 24px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--c-blue);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 8px;
  color: var(--c-blue-deep);
}

.step p {
  color: var(--c-muted);
  font-size: 0.95rem;
}

.steps-note {
  margin-top: 22px;
  color: var(--c-muted);
}

/* Contacts under final form */
.direct-contacts {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--c-border);
  color: var(--c-muted);
}

.direct-contacts a {
  font-weight: 700;
}

/* Footer */
.footer {
  background: var(--c-blue-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: 48px 0 24px;
}

.footer a {
  color: #fff;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr 0.8fr;
  gap: 32px;
}

.footer h3 {
  color: var(--c-yellow);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer li + li,
.footer p + p {
  margin-top: 8px;
}

.footer__copy {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Inner pages */
.page-hero {
  background: var(--c-blue-deep);
  color: #fff;
  padding: 48px 0 36px;
}

.page-hero h1 {
  color: #fff;
}

.prose {
  max-width: 760px;
}

.prose h2 {
  margin: 28px 0 10px;
  color: var(--c-blue-deep);
  font-size: 1.25rem;
}

.prose p + p,
.prose ul {
  margin-top: 12px;
}

.prose ul {
  padding-left: 20px;
  list-style: disc;
}

.thanks-box {
  max-width: 640px;
  margin: 48px auto;
  text-align: center;
}

.thanks-box h1 {
  color: var(--c-blue-deep);
  margin-bottom: 12px;
}

.thanks-box p {
  color: var(--c-muted);
  margin-bottom: 22px;
}

.alert {
  background: #fff4f4;
  color: var(--c-bad);
  border: 1px solid #f0c7c7;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
}

/* Checklist print page */
.checklist-page {
  background: #eceff5;
}

.sheet {
  width: min(210mm, 100% - 24px);
  min-height: 297mm;
  margin: 16px auto;
  background: #fff;
  padding: 18mm 16mm;
  box-shadow: var(--shadow);
}

.sheet h1 {
  color: var(--c-blue-deep);
  font-size: 1.7rem;
}

.sheet h2 {
  color: var(--c-blue);
  font-size: 1.15rem;
  margin: 18px 0 8px;
}

.sheet p,
.sheet li {
  color: #333;
}

.sheet ol,
.sheet ul {
  padding-left: 20px;
}

.sheet ol {
  list-style: decimal;
}

.sheet ul {
  list-style: disc;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 4px solid var(--c-red);
  padding-bottom: 12px;
  margin-bottom: 18px;
}

.cost {
  border-left: 4px solid var(--c-yellow);
  padding: 10px 14px;
  margin: 12px 0;
  background: #fffbeb;
}

@media print {
  .no-print {
    display: none !important;
  }

  .checklist-page {
    background: #fff;
  }

  .sheet {
    width: auto;
    min-height: auto;
    margin: 0;
    box-shadow: none;
    padding: 12mm;
  }
}

@media (max-width: 900px) {
  .hero__grid,
  .about-grid,
  .cards-2,
  .compare,
  .trust,
  .steps,
  .footer__grid,
  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .header__phone {
    order: 2;
    margin-left: auto;
  }

  .header__phone-text {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    order: 3;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--c-border);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px 20px;
    gap: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .compare__col--new {
    border-left: 0;
    border-top: 1px solid #d5e4f7;
  }

  .section {
    padding: 56px 0;
  }

  .form-card {
    padding: 24px 18px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .hero h1 {
    max-width: none;
  }
}
