:root {
  --bg: #fbfbfd;
  --surface: #fff;
  --ink: #17141f;
  --muted: #6d6878;
  --line: #e7e3ec;
  --deep: #21172e;
  --deep-2: #30213f;
  --lavender: #cfc1ff;
  --mint: #9dffda;
  --peach: #ffd2b8;
  --soft: #f2eff8;
  --radius: 16px;
  --shadow: 0 14px 40px rgba(33, 23, 46, .07);
  --header-h: 52px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #8068d6; outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #fff;
  background: var(--deep);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(980px, calc(100% - 24px));
  margin: 12px auto 0;
  min-height: var(--header-h);
  padding: 5px 8px 5px 12px;
  border: 1px solid rgba(33, 23, 46, .1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(33,23,46,.07);
}
.brand { display: inline-flex; align-items: center; justify-content: center; justify-self: start; width: 163px; height: 40px; min-width: 163px; padding: 2px 10px; overflow: hidden; border-radius: 999px; background: var(--soft); }
.brand-logo { display: block; width: 143px !important; height: 36px !important; max-width: 143px; object-fit: contain; }
.site-nav {
  justify-self: center;
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 999px;
  background: var(--soft);
}
.site-nav a { padding: 7px 10px; border-radius: 999px; color: var(--muted); font-size: 13px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); background: #fff; }
.menu-toggle { display: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--deep);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  justify-self: end;
  transition: background .2s ease;
}
.header-phone:hover { background: #342344; }
.phone-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--mint);
  line-height: 1;
}
.phone-icon svg { width: 16px; height: 16px; }

.button, .header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 19px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  text-align: center;
  transition: background .2s ease, box-shadow .2s ease;
}
.button:hover, .header-cta:hover { box-shadow: 0 8px 20px rgba(33,23,46,.09); }
.button-primary, .header-cta { color: var(--ink); background: var(--lavender); }
.button-secondary { color: var(--ink); background: var(--soft); }
.button-dark { color: #fff; background: var(--deep); }
.button-mint { color: var(--ink); background: var(--mint); }
.button[disabled] { cursor: default; opacity: .65; transform: none; }

.section, .page-hero, .page-section {
  position: relative;
  width: min(1160px, calc(100% - 32px));
  margin-inline: auto;
  padding: 88px 0;
  scroll-margin-top: 20px;
}
.section-wide, .dark-band, .section-dark {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1160px) / 2));
}
.dark-band, .section-dark {
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, var(--deep), var(--deep-2));
}
.eyebrow {
  margin: 0 0 14px;
  color: #604d80;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.dark-band .eyebrow, .section-dark .eyebrow { color: var(--mint); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(42px, 4.5vw, 60px); font-weight: 680; line-height: 1.04; letter-spacing: 0; }
h2 { margin-bottom: 16px; font-size: clamp(31px, 3.5vw, 46px); font-weight: 660; line-height: 1.08; letter-spacing: 0; }
h3 { margin-bottom: 10px; font-size: clamp(20px, 1.7vw, 25px); line-height: 1.15; }
.lead, .section-heading > p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }
.dark-band .lead, .dark-band .section-heading > p:not(.eyebrow),
.section-dark .lead, .section-dark .section-heading > p:not(.eyebrow) { color: rgba(255,255,255,.72); }
.section-heading { margin-bottom: 34px; }
.section-heading.split { display: grid; grid-template-columns: 1fr .7fr; gap: 40px; align-items: end; }
.section-heading.split p { margin-bottom: 6px; }
.kicker { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 18px; font-size: 14px; font-weight: 750; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 7px rgba(157,255,218,.2); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(400px, 1.08fr);
  gap: 48px;
  align-items: center;
  min-height: 700px;
  padding-top: 44px;
  padding-bottom: 48px;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 72px;
  left: -210px;
  width: 590px;
  height: 590px;
  pointer-events: none;
  background: url("assets/vizir-systems-mark.png") center / contain no-repeat;
  opacity: .055;
}
.hero-copy { position: relative; z-index: 2; }
.hero-collage { position: relative; z-index: 1; }
.hero h1 { max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0; }
.hero-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
  width: 100%;
  height: auto;
  max-height: 510px;
  aspect-ratio: 1.08;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(33,23,46,.09);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(207,193,255,.48), rgba(242,239,248,.94));
  box-shadow: 0 18px 46px rgba(33,23,46,.09);
}
.collage-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--soft);
}
.collage-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: auto;
}
.collage-photo-main {
  grid-column: 1 / -1;
  grid-row: 1;
  border-radius: 16px;
}
.collage-photo-main img { object-position: center 44%; }
.collage-photo-plan {
  grid-column: 1;
  grid-row: 2;
}
.collage-photo-plan img { object-position: center; }
.collage-photo-detail {
  grid-column: 2;
  grid-row: 2;
}
.collage-photo-detail img { object-position: center; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 340px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  flex-direction: column;
  box-shadow: 0 12px 35px rgba(33,23,46,.045);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.product-card:hover { border-color: #cfc5dd; box-shadow: 0 14px 34px rgba(33,23,46,.07); }
.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--card-accent);
}
.product-card::after { content: none; }
.product-card.echd { --card-accent: var(--lavender); }
.product-card.service { --card-accent: var(--mint); }
.product-card.install { --card-accent: var(--peach); }
.product-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--card-accent) 48%, white);
  font-size: 12px;
  font-weight: 850;
}
.product-card h3 { margin-top: 0; }
.product-card p { color: var(--muted); }
.product-result { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); font-weight: 700; }
.text-link { position: relative; z-index: 1; display: inline-flex; margin-top: 22px; font-weight: 800; }
.text-link::after { content: "→"; margin-left: 8px; }

.regulatory-note {
  display: grid;
  grid-template-columns: .8fr 1.1fr;
  gap: 24px 40px;
  align-items: start;
  margin: 22px 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}
.regulatory-note h3 { margin-bottom: 0; }
.regulatory-note > p { margin-bottom: 0; color: var(--muted); }
.regulatory-note .source-links {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 0;
}

.route-panel { display: grid; grid-template-columns: .75fr 1.25fr; gap: 18px; }
.route-intro, .route-list { padding: 30px; border-radius: var(--radius); }
.route-intro { color: #fff; background: var(--deep); }
.route-intro p { color: rgba(255,255,255,.7); }
.route-list { display: grid; gap: 10px; background: var(--soft); }
.route-option { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 18px; border: 1px solid transparent; border-radius: 20px; background: #fff; }
.route-option:hover { border-color: #cfc5dd; }
.route-option strong, .route-option span { min-width: 0; }
.route-option span { color: var(--muted); font-size: 14px; }
.route-icon { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; background: var(--lavender); font-weight: 850; }

.evidence-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; }
.evidence-feature, .evidence-grid > article, .process-card, .info-card, .case-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.evidence-feature { min-height: 380px; padding: 28px; color: #fff; background: linear-gradient(145deg, #21172e, #392a4b); }
.document-stack { position: relative; height: 210px; margin-top: 34px; }
.document-sheet {
  position: absolute;
  width: min(360px, 85%);
  height: 180px;
  padding: 20px;
  border-radius: 16px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.document-sheet:nth-child(2) { top: 18px; left: 12%; transform: rotate(4deg); }
.doc-line { display: block; height: 8px; margin-bottom: 12px; border-radius: 999px; background: var(--line); }
.doc-line.short { width: 55%; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.evidence-grid > article { position: relative; overflow: hidden; padding: 24px; }
.evidence-grid > article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--lavender);
}
.evidence-grid > article:nth-child(2)::before { background: var(--mint); }
.evidence-grid > article:nth-child(3)::before { background: var(--peach); }
.evidence-grid > article:nth-child(4)::before { background: #b7d8ff; }
.evidence-grid p, .info-card p, .case-placeholder p { color: var(--muted); }
.placeholder-tag { display: inline-flex; padding: 7px 10px; border-radius: 999px; color: #5d4b75; background: var(--soft); font-size: 12px; font-weight: 800; text-transform: uppercase; }

.process {
  width: 100%;
  max-width: none;
  padding-inline: max(16px, calc((100vw - 1160px) / 2));
  border-top: 1px solid var(--line);
  background: #f6f4fa;
}
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; counter-reset: process; }
.process-card { position: relative; min-height: 245px; padding: 24px; overflow: hidden; counter-increment: process; box-shadow: 0 10px 30px rgba(33,23,46,.035); }
.process-card::before { content: "0" counter(process); display: block; margin-bottom: 42px; color: #76618d; font-size: 14px; font-weight: 850; }
.process-card::after { content: ""; position: absolute; inset: auto 0 0; height: 5px; background: var(--lavender); }
.process-card:nth-child(2)::after { background: var(--mint); }
.process-card:nth-child(3)::after { background: var(--peach); }
.process-card:nth-child(4)::after { background: #b7d8ff; }
.process-card p { margin-bottom: 0; color: var(--muted); }

.quiz-layout { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(280px, .72fr); gap: 18px; align-items: start; }
.quiz { width: 100%; min-width: 0; padding: 26px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.075); }
.quiz-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 13px; color: rgba(255,255,255,.58); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.quiz-meta strong { color: var(--mint); white-space: nowrap; }
.quiz-progress { height: 7px; margin-bottom: 28px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.15); }
.quiz-progress span { display: block; width: 25%; height: 100%; border-radius: inherit; background: var(--mint); transition: width .25s ease; }
.quiz-step { display: none; margin: 0; padding: 0; border: 0; }
.quiz-step.is-active { display: grid; gap: 10px; }
.quiz-step legend { margin-bottom: 17px; font-size: clamp(23px, 3vw, 31px); font-weight: 680; }
.choice { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; background: rgba(255,255,255,.075); }
.choice:has(input:checked) { border-color: var(--mint); background: rgba(157,255,218,.09); }
.choice-compact { width: fit-content; min-width: 260px; }
.quiz input[type="radio"], .quiz input[type="checkbox"] { flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--mint); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.text-field { display: grid; gap: 7px; }
.text-field span { color: rgba(255,255,255,.78); }
.text-field input, .text-field textarea, .text-field select {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  outline: 0;
  color: #fff;
  background: rgba(255,255,255,.08);
}
.text-field select option { color: var(--ink); }
.text-field textarea { resize: vertical; }
.text-field input::placeholder, .text-field textarea::placeholder { color: rgba(255,255,255,.42); }
.text-field input:disabled { cursor: not-allowed; opacity: .5; }
.camera-count-field { max-width: 420px; margin-bottom: 4px; }
.choice-group { display: grid; gap: 10px; margin-top: 8px; }
.choice-group-label { margin-bottom: 2px; color: rgba(255,255,255,.78); }
.contact-fields { margin-top: 10px; }
.consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 8px; color: rgba(255,255,255,.7); }
.consent a, .policy-link { color: var(--mint); text-decoration: underline; text-underline-offset: 4px; }
.quiz-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.quiz-controls [hidden] { display: none !important; }
.quiz-note { min-height: 25px; margin: 16px 0 0; color: rgba(255,255,255,.72); }
.website-field { position: fixed; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.integration-note { margin-top: 14px; color: rgba(255,255,255,.55); font-size: 13px; }
.quiz-aside {
  padding: 26px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.075);
}
.quiz-aside h3 { max-width: 270px; margin-bottom: 24px; }
.quiz-aside ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.quiz-aside li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.12); }
.quiz-aside li span { display: grid; width: 30px; height: 30px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lavender); font-size: 11px; font-weight: 850; }
.quiz-aside li:nth-child(2) span { background: var(--mint); }
.quiz-aside li:nth-child(3) span { background: var(--peach); }
.quiz-aside li strong { align-self: center; font-size: 14px; line-height: 1.35; }
.quiz-aside-note { margin: 20px 0 0; color: rgba(255,255,255,.6); font-size: 13px; }
.success-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  padding: 20px;
  place-items: center;
  background: rgba(23,20,31,.7);
}
.success-modal[hidden] { display: none; }
.success-dialog {
  position: relative;
  width: min(460px, 100%);
  padding: 36px;
  border: 1px solid rgba(33,23,46,.1);
  border-radius: var(--radius);
  color: var(--ink);
  background: #fff;
  box-shadow: 0 24px 80px rgba(12,8,18,.28);
  text-align: center;
}
.success-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  place-items: center;
  color: var(--muted);
  background: var(--soft);
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.success-icon {
  display: grid;
  width: 68px;
  height: 68px;
  margin: 0 auto 24px;
  border-radius: 50%;
  place-items: center;
  color: var(--ink);
  background: var(--mint);
  box-shadow: 0 0 0 10px rgba(157,255,218,.2);
  font-size: 30px;
  font-weight: 850;
}
.success-dialog .eyebrow { margin-bottom: 10px; }
.success-dialog h3 { margin-bottom: 14px; font-size: 30px; }
.success-dialog > p:not(.eyebrow) { margin-bottom: 26px; color: var(--muted); }
.success-dialog .button { min-width: 150px; }
body.modal-open { overflow: hidden; }

.page-hero { display: grid; grid-template-columns: 1.05fr .75fr; gap: 60px; align-items: end; min-height: 650px; padding-top: 150px; }
.page-hero h1 { max-width: 790px; }
.page-hero-aside { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.page-hero-aside ul, .check-list { margin: 0; padding: 0; list-style: none; }
.page-hero-aside li, .check-list li { position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--line); }
.page-hero-aside li:last-child, .check-list li:last-child { border-bottom: 0; }
.page-hero-aside li::before, .check-list li::before { content: "✓"; position: absolute; left: 0; color: #2f805d; font-weight: 850; }
.notice { padding: 22px; border-left: 4px solid var(--lavender); border-radius: 0 18px 18px 0; background: var(--soft); }
.notice p:last-child { margin-bottom: 0; }
.info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-card { padding: 25px; }
.info-card.accent { color: #fff; background: var(--deep); }
.info-card.accent p { color: rgba(255,255,255,.7); }
.comparison { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; min-width: 660px; border-collapse: collapse; }
th, td { padding: 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 13px; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; }
.case-placeholder { min-height: 255px; padding: 24px; border-style: dashed; }
.faq { display: grid; gap: 10px; }
.faq details { padding: 20px 22px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { margin: 14px 0 0; color: var(--muted); }
.source-links { margin-top: 18px; font-size: 14px; }
.source-links a { text-decoration: underline; text-underline-offset: 3px; }

.contact-strip { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.contact-strip p { max-width: 720px; color: rgba(255,255,255,.7); }
.contact-placeholder { padding: 16px 18px; border: 1px dashed rgba(255,255,255,.28); border-radius: 16px; color: rgba(255,255,255,.72); }
.contacts { padding-top: 72px; padding-bottom: 72px; }
.contacts .section-heading { margin-bottom: 26px; }
.contacts .section-heading h2 { font-size: clamp(30px, 3vw, 40px); }
.contacts .section-heading > p:not(.eyebrow) { font-size: 17px; }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 12px; align-items: flex-start; width: min(1060px, 100%); margin-inline: auto; }
.contact-list, .contact-action {
  display: grid;
  align-content: start;
  gap: 11px;
  min-height: 0;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.075);
  align-self: flex-start;
}
.contact-caption { margin: 0 0 3px; color: var(--mint); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.contact-list h3, .contact-action h3 { margin-bottom: 0; font-size: 20px; }
.contact-phone-link { display: grid; gap: 2px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; background: rgba(255,255,255,.06); }
.contact-phone-link span { color: rgba(255,255,255,.62); font-size: 12px; }
.contact-phone-link strong { font-size: clamp(18px, 1.7vw, 22px); letter-spacing: 0; }
.contact-list .button { margin-top: auto; }
.contact-action { gap: 10px; padding: 18px; }
.requisites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.requisites > div { min-width: 0; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.11); }
.requisites .requisite-span-2 { grid-column: span 2; }
.requisites dt { color: rgba(255,255,255,.55); font-size: 11px; }
.requisites dd { margin: 2px 0 0; color: #fff; font-size: 14px; font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.contact-action .policy-link { font-size: 13px; }
.site-footer { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; width: min(1160px, calc(100% - 32px)); margin: 0 auto; padding: 34px 0; color: var(--muted); font-size: 14px; }
.footer-brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.footer-brand img { width: 146px; height: auto; flex: 0 0 auto; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.policy-page { background: var(--soft); }
.policy { width: min(860px, calc(100% - 32px)); margin: 0 auto; padding: 52px 0 90px; }
.policy-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.policy-brand img { width: 164px; height: auto; }
.policy h1 { margin-top: 42px; }
.policy h2 { margin-top: 34px; font-size: clamp(26px,3vw,36px); }
.policy p { color: var(--muted); font-size: 18px; }
.policy p a { color: #5d4b75; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.reveal { opacity: 1; transform: none; }

@media (max-width: 1050px) {
  .site-nav a { padding-inline: 9px; font-size: 13px; }
  .header-cta { display: none; }
  .header-phone { padding: 0 12px; }
  .header-phone > span:last-child { display: none; }
  .product-card { min-height: 290px; }
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .quiz-layout { grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); }
}

@media (max-width: 860px) {
  .site-header { grid-template-columns: 1fr auto auto; column-gap: 5px; }
  .brand { grid-column: 1; grid-row: 1; }
  .menu-toggle { grid-column: 2; grid-row: 1; justify-self: end; display: grid; gap: 4px; width: 40px; height: 40px; padding: 11px; border: 0; border-radius: 50%; background: var(--soft); }
  .menu-toggle span { height: 2px; border-radius: 2px; background: var(--deep); }
  .site-nav { position: static; grid-column: 1 / -1; grid-row: 2; display: none; justify-self: stretch; width: 100%; margin-top: 7px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); box-shadow: none; }
  .site-nav.is-open { display: grid; }
  .header-phone { grid-column: 3; grid-row: 1; display: grid; width: 40px; height: 40px; min-height: 40px; padding: 0; place-items: center; }
  .header-phone .phone-icon { width: 30px; height: 30px; }
  .product-grid { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 44px; }
  .hero::before { top: 10px; right: -130px; left: auto; width: 410px; height: 410px; opacity: .045; }
  .hero-collage { height: auto; }
  .section-heading.split, .route-panel, .evidence-layout, .page-hero, .regulatory-note, .contact-layout, .quiz-layout { grid-template-columns: 1fr; }
  .regulatory-note .source-links { grid-column: auto; }
  .page-hero { gap: 28px; min-height: auto; padding-top: 142px; }
  .info-grid, .case-grid { grid-template-columns: 1fr; }
  .contact-strip { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  :root { --radius: 14px; }
  .site-header { width: calc(100% - 20px); min-height: 52px; margin-top: 10px; padding-left: 11px; }
  .brand { width: 128px; height: 40px; min-width: 128px; padding: 5px 8px; }
  .brand-logo { width: 112px !important; height: 28px !important; max-width: 112px; }
  .section, .page-section { width: min(100% - 28px, 1160px); padding: 64px 0; }
  .section-wide, .dark-band, .section-dark { width: 100%; padding-inline: 14px; }
  .hero { width: calc(100% - 28px); padding-top: 36px; padding-bottom: 36px; gap: 26px; }
  .hero::before { top: 2px; right: -45px; width: 280px; height: 280px; opacity: .032; }
  h1 { font-size: clamp(36px, 10vw, 44px); overflow-wrap: anywhere; }
  h2 { font-size: clamp(28px, 8vw, 36px); overflow-wrap: anywhere; }
  .hero-actions, .quiz-controls { flex-direction: column; }
  .button { width: 100%; }
  .hero-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 2fr) minmax(0, 1fr);
    gap: 8px;
    height: auto;
    max-height: none;
    padding: 8px;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(207,193,255,.38), rgba(242,239,248,.76));
  }
  .collage-photo { border-radius: 12px; }
  .collage-photo-main { grid-column: 1 / -1; grid-row: 1; border-radius: 14px; }
  .collage-photo-plan { grid-column: 1; grid-row: 2; }
  .collage-photo-detail { grid-column: 2; grid-row: 2; }
  .product-card { min-height: 0; padding: 22px; }
  .route-intro, .route-list { padding: 20px; }
  .route-option { grid-template-columns: 40px minmax(0,1fr); padding: 14px; }
  .route-option > b { display: none; }
  .evidence-grid, .process-grid, .field-grid { grid-template-columns: 1fr; }
  .process-card { min-height: 190px; }
  .process-card::before { margin-bottom: 28px; }
  .evidence-feature { min-height: 390px; padding: 24px; }
  .quiz { padding: 20px 16px; }
  .quiz-aside { padding: 22px 18px; }
  .quiz-aside h3 { max-width: none; }
  .success-dialog { padding: 32px 22px 24px; }
  .success-dialog h3 { font-size: 27px; }
  .success-dialog .button { width: 100%; }
  .process { width: 100%; padding-inline: 14px; }
  .choice { align-items: flex-start; }
  .choice-compact { width: 100%; min-width: 0; }
  .page-hero { width: calc(100% - 28px); padding-top: 126px; padding-bottom: 68px; }
  .page-hero-aside, .info-card, .case-placeholder { padding: 21px; }
  .site-footer { grid-template-columns: 1fr; padding-bottom: 42px; }
  .footer-brand { align-items: flex-start; flex-direction: column; gap: 10px; }
  .policy-header { align-items: flex-start; flex-direction: column; }
  .requisites { grid-template-columns: 1fr; }
  .requisites .requisite-span-2 { grid-column: auto; }
  .contacts { padding-top: 50px; padding-bottom: 50px; }
  .contacts .section-heading { margin-bottom: 22px; }
  .contact-list, .contact-action { padding: 18px; }
  .footer-links { flex-direction: column; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
