@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-cyrillic-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Onest";
  src: url("/fonts/onest-cyrillic-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-cyrillic-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("/fonts/golos-text-cyrillic-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Survey Mono";
  src: url("/fonts/survey-mono-cyrillic.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfaf5;
  --white: #ffffff;
  --mist: #edf2ef;
  --mist-2: #e3ebe7;
  --ink: #17252d;
  --muted: #5b6a72;
  --survey-deep: #132f3d;
  --survey-deeper: #0d2531;
  --green: #2e765e;
  --green-dark: #245c4b;
  --green-soft: #dbe9e2;
  --line: #c8d2ce;
  --warn: #a96a16;
  --danger: #a0443a;
  --shadow: 0 24px 70px rgba(12, 37, 49, 0.14);
  --radius: 18px;
  --header-offset: 126px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(46, 118, 94, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 126px) 0;
  scroll-margin-top: var(--header-offset);
}

.section.compact {
  padding-block: clamp(55px, 7vw, 88px);
}

.section.mist {
  background: var(--mist);
}

.section.dark {
  color: #f5f8f6;
  background: var(--survey-deep);
}

.section.dark .eyebrow,
.section.dark .section-lead,
.section.dark .muted {
  color: #bcd0c8;
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(30px, 5vw, 58px);
}

.section-heading.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 54px;
  align-items: end;
  max-width: none;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--green);
  font-family: "Survey Mono", monospace;
  font-size: 0.79rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Onest", Arial, sans-serif;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 810px;
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 6.2vw, 5.6rem);
  line-height: 0.99;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.12rem, 2vw, 1.43rem);
  line-height: 1.25;
}

.section-lead,
.lead {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.7vw, 1.23rem);
  line-height: 1.58;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(200, 210, 206, 0.78);
  background: rgba(251, 250, 245, 0.94);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 12px 35px rgba(13, 37, 49, 0.1);
  background: rgba(251, 250, 245, 0.985);
}

.header-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: var(--green);
  font-family: "Onest", sans-serif;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand b,
.brand small {
  display: block;
  line-height: 1.18;
}

.brand b {
  font-family: "Onest", sans-serif;
  font-size: 0.98rem;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.74rem;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  min-width: 0;
}

.header-nav a {
  padding: 9px 11px;
  border-radius: 9px;
  color: #34464f;
  font-size: 0.83rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:hover,
.header-nav a[aria-current="true"] {
  color: var(--green-dark);
  background: var(--green-soft);
}

.header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.header-phone {
  color: var(--survey-deep);
  font-family: "Onest", sans-serif;
  font-size: 0.87rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 12px 19px;
  justify-content: center;
  align-items: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Onest", Arial, sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(46, 118, 94, 0.22);
}

.button-primary:hover {
  background: var(--green-dark);
}

.button-light {
  color: var(--survey-deep);
  background: var(--white);
}

.button-outline {
  border-color: rgba(23, 37, 45, 0.25);
  color: var(--ink);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.button-dark-outline {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: transparent;
}

.button-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.8rem;
}

.button-wide {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 122px) 0 clamp(82px, 10vw, 142px);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(75, 151, 121, 0.24), transparent 34%),
    linear-gradient(135deg, var(--survey-deeper), var(--survey-deep));
  scroll-margin-top: var(--header-offset);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to left, #000, transparent 76%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.72fr);
  gap: clamp(44px, 7vw, 96px);
  align-items: center;
}

.hero .eyebrow {
  color: #9bd0b9;
}

.hero-lead {
  max-width: 800px;
  margin-bottom: 31px;
  color: #dbe5e1;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.57;
}

.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-note {
  max-width: 700px;
  margin: 18px 0 0;
  color: #b8cbc4;
  font-size: 0.88rem;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 32px;
}

.credentials span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #dce7e3;
  background: rgba(255, 255, 255, 0.05);
  font-family: "Survey Mono", monospace;
  font-size: 0.7rem;
}

.hero-document {
  position: relative;
  justify-self: end;
  width: min(100%, 405px);
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 36px 100px rgba(0, 0, 0, 0.28);
  transform: rotate(1.2deg);
}

.hero-document img {
  width: 100%;
  max-height: 510px;
  border-radius: 12px;
  object-fit: cover;
  object-position: top;
}

.document-label {
  position: absolute;
  z-index: 2;
  top: -14px;
  left: 22px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--survey-deep);
  background: #c6e6d7;
  font-family: "Survey Mono", monospace;
  font-size: 0.7rem;
}

.signal-grid,
.three-grid,
.result-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.signal-card,
.method-card,
.result-card,
.contact-card {
  min-height: 100%;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.signal-card:first-child,
.signal-card:nth-child(5) {
  background: var(--mist);
}

.mono-number,
.method-num,
.step-num {
  display: block;
  margin-bottom: 26px;
  color: var(--green);
  font-family: "Survey Mono", monospace;
  font-size: 0.82rem;
}

.signal-card p,
.method-card p,
.result-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.source-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 38px;
  align-items: start;
}

.source-list,
.document-groups {
  display: grid;
  gap: 9px;
}

.source-item,
details.document-group {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
}

.source-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 15px 17px;
  align-items: start;
}

.source-item span {
  color: var(--green);
  font-family: "Survey Mono", monospace;
  font-size: 0.72rem;
}

.source-item p {
  margin: 0;
  font-size: 0.9rem;
}

details summary {
  list-style: none;
}

details summary::-webkit-details-marker {
  display: none;
}

details.document-group summary,
.faq-list summary {
  position: relative;
  padding: 18px 52px 18px 20px;
  cursor: pointer;
  font-family: "Onest", sans-serif;
  font-weight: 700;
}

details.document-group summary::after,
.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 19px;
  width: 22px;
  height: 22px;
  content: "+";
  color: var(--green);
  font-size: 1.2rem;
  line-height: 20px;
  text-align: center;
  transform: translateY(-50%);
}

details[open] > summary::after {
  content: "−";
}

.document-group ul,
.faq-answer {
  margin: 0;
  padding: 0 20px 20px 38px;
  color: var(--muted);
  font-size: 0.92rem;
}

.document-group li + li {
  margin-top: 6px;
}

.request-callout {
  margin-top: 20px;
  padding: 24px;
  border-radius: 14px;
  color: var(--white);
  background: var(--survey-deep);
}

.request-callout h3,
.request-callout p {
  margin-bottom: 8px;
}

.request-callout p {
  color: #c8d8d2;
}

.finding-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.finding-card {
  position: relative;
  padding: 26px 28px 28px;
  border-top: 4px solid var(--danger);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
  box-shadow: 0 12px 40px rgba(15, 45, 57, 0.06);
}

.finding-card.medium {
  border-top-color: var(--warn);
}

.risk-label {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--danger);
  font-family: "Survey Mono", monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
}

.finding-card.medium .risk-label {
  color: var(--warn);
}

.finding-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.division-intro {
  max-width: 960px;
  margin-bottom: 36px;
}

.division-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.division-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.division-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.cadastral-callout {
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 22px;
  align-items: center;
  margin-top: 24px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid #a7bbb3;
  border-radius: var(--radius);
  background: #dce7e2;
}

.cadastral-callout::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(19, 47, 61, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 47, 61, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
  content: "";
  pointer-events: none;
}

.survey-tag {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--survey-deep);
  font-family: "Survey Mono", monospace;
}

.cadastral-callout p,
.cadastral-callout .button {
  position: relative;
  margin: 0;
}

.result-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-list li {
  position: relative;
  min-height: 92px;
  padding: 21px 23px 21px 55px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.result-list li::before {
  position: absolute;
  top: 22px;
  left: 20px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
  content: "✓";
  font-size: 0.8rem;
}

.report-preview {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 34px;
  padding: 34px;
  border-radius: 22px;
  color: var(--white);
  background: var(--survey-deep);
}

.report-preview img {
  width: 100%;
  max-height: 380px;
  border-radius: 10px;
  object-fit: cover;
  object-position: top;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.report-preview p {
  color: #c8d8d2;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
}

.process-step:nth-child(4),
.process-step:nth-child(5),
.process-step:nth-child(6),
.process-step:nth-child(7) {
  background: var(--mist);
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.tariff-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.tariff-card {
  display: flex;
  grid-column: span 2;
  min-height: 100%;
  padding: 27px;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.tariff-card:nth-child(4),
.tariff-card:nth-child(5) {
  grid-column: span 3;
}

.tariff-card.recommended {
  border: 2px solid var(--green);
  box-shadow: var(--shadow);
}

.tariff-card.new-format {
  color: var(--white);
  border-color: var(--survey-deep);
  background: var(--survey-deep);
}

.tariff-badge {
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--green-soft);
  font-family: "Survey Mono", monospace;
  font-size: 0.64rem;
  text-transform: uppercase;
}

.new-format .tariff-badge {
  color: var(--survey-deep);
  background: #bfe0d1;
}

.tariff-price {
  margin: 8px 0 15px;
  font-family: "Onest", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1;
}

.tariff-purpose {
  min-height: 3.2em;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.new-format .tariff-purpose,
.new-format li {
  color: #c8d8d2;
}

.tariff-card ul {
  margin: 0 0 24px;
  padding-left: 19px;
  font-size: 0.88rem;
}

.tariff-card li + li {
  margin-top: 8px;
}

.tariff-card .button {
  margin-top: auto;
}

.tariff-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  margin-top: 26px;
}

.tariff-note {
  padding: 18px 20px;
  border-left: 3px solid var(--green);
  background: var(--mist);
  font-size: 0.86rem;
}

.tariff-note p {
  margin: 0;
}

.selection-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}

.selection-steps {
  display: grid;
  gap: 12px;
}

.selection-step {
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.selection-step p {
  margin: 5px 0 0;
  color: #bfd0ca;
  font-size: 0.91rem;
}

.selection-story {
  margin-top: 26px;
  padding-left: 18px;
  border-left: 3px solid #72b898;
  color: #d6e3de;
}

.protection-grid,
.remote-grid,
.lawyer-grid,
.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(38px, 7vw, 88px);
  align-items: start;
}

.protection-items {
  display: grid;
  gap: 12px;
}

.protection-item {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.protection-item p {
  margin: 0;
  color: var(--muted);
}

.remote-card {
  padding: 29px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--survey-deep);
}

.remote-card p {
  color: #c8d8d2;
}

.address-card {
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.address-card a {
  color: var(--green-dark);
}

.lawyer-photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--mist-2);
}

.lawyer-photo img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: top center;
}

.lawyer-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}

.lawyer-fact {
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font-size: 0.86rem;
}

.court-note {
  padding: 28px;
  border-left: 5px solid var(--green);
  background: var(--mist);
}

.court-note p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 9px;
  max-width: 960px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.faq-answer {
  padding-left: 20px;
}

.downloads-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.downloads-band p {
  margin-bottom: 0;
  color: var(--muted);
}

.assessment-section {
  color: var(--white);
  background:
    radial-gradient(circle at 10% 15%, rgba(90, 164, 132, 0.24), transparent 33%),
    var(--survey-deep);
}

.assessment-section .eyebrow {
  color: #91ceb3;
}

.assessment-section .section-lead {
  color: #bfd0ca;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.contact-link {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  text-decoration: none;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.05);
}

.contact-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  color: var(--survey-deep);
  background: #bfe0d1;
  font-family: "Onest", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
}

.contact-link b,
.contact-link small {
  display: block;
}

.contact-link small {
  color: #a9bdb5;
}

.assessment-form {
  padding: clamp(23px, 4vw, 38px);
  border-radius: 22px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.24);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field.full,
.contact-methods,
.consents,
.selected-tariff,
.form-status,
.form-submit-wrap {
  grid-column: 1 / -1;
}

.form-field label,
.assessment-form legend {
  font-family: "Onest", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 49px;
  padding: 12px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fcfdfc;
}

.form-field textarea {
  min-height: 108px;
  resize: vertical;
}

.contact-methods {
  margin: 0;
  padding: 0;
  border: 0;
}

.method-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.method-options label {
  display: inline-flex;
  padding: 9px 12px;
  gap: 7px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 500;
}

.selected-tariff {
  display: flex;
  padding: 13px 15px;
  justify-content: space-between;
  gap: 20px;
  border-radius: 10px;
  background: var(--mist);
  font-size: 0.86rem;
}

.selected-tariff span {
  color: var(--muted);
}

.consents {
  display: grid;
  gap: 10px;
}

.consents label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 9px;
  align-items: start;
  color: var(--muted);
  font-size: 0.77rem;
  line-height: 1.45;
}

.consents input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

.consents a {
  color: var(--green-dark);
}

.form-submit-wrap {
  display: grid;
  gap: 8px;
}

.form-submit-wrap small {
  color: var(--muted);
  text-align: center;
}

.form-status {
  min-height: 1.4em;
  font-size: 0.86rem;
}

.form-status.success {
  color: var(--green-dark);
}

.form-status.error {
  color: var(--danger);
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.site-footer {
  padding: 50px 0 24px;
  color: #d7e2de;
  background: var(--survey-deeper);
}

.legal-shell {
  min-height: 100vh;
  background: var(--mist);
}

.legal-header {
  display: flex;
  min-height: 76px;
  padding: 12px max(24px, calc((100vw - 980px) / 2));
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  color: var(--white);
  background: var(--survey-deeper);
}

.legal-header > a:last-child {
  color: #c5d6d0;
  font-size: 0.84rem;
  text-decoration: none;
}

.legal-header > a:last-child:hover {
  color: var(--white);
}

.legal-page {
  width: min(900px, calc(100% - 48px));
  margin-inline: auto;
  padding: clamp(55px, 8vw, 88px) 0 100px;
}

.legal-page > h1 {
  max-width: 780px;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
}

.legal-updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 0.84rem;
}

.legal-page section {
  padding: 27px 0;
  border-top: 1px solid var(--line);
}

.legal-page section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.legal-page section p,
.legal-page section li,
.legal-page > p {
  color: #465860;
}

.legal-page ul {
  display: grid;
  gap: 8px;
  padding-left: 23px;
}

.legal-contact {
  display: grid;
  gap: 6px;
  margin-top: 38px;
  padding: 24px;
  border-left: 4px solid var(--green);
  background: var(--white);
}

.legal-contact a {
  color: var(--green-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 38px;
}

.site-footer .brand small,
.site-footer p,
.site-footer address {
  color: #9fb5ad;
}

.site-footer address {
  margin-top: 18px;
  font-style: normal;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links b {
  margin-bottom: 6px;
  color: var(--white);
  font-family: "Onest", sans-serif;
}

.footer-links a,
.footer-links button {
  padding: 0;
  border: 0;
  color: #afc1ba;
  background: none;
  cursor: pointer;
  font-size: 0.87rem;
  text-align: left;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  margin-top: 36px;
  padding-top: 20px;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #859d94;
  font-size: 0.75rem;
}

.cookie-banner {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  display: none;
  width: min(510px, calc(100% - 36px));
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.cookie-banner.is-visible {
  display: block;
}

.cookie-banner p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mobile-action-bar {
  display: none;
}

[data-reveal] {
  opacity: 1;
  transform: none;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  :root {
    --header-offset: 145px;
  }

  .header-main {
    grid-template-columns: auto 1fr;
    gap: 16px;
    min-height: 68px;
  }

  .header-nav {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
  }

  .header-nav::-webkit-scrollbar {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .header-phone {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 0.63fr;
    gap: 36px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tariff-card,
  .tariff-card:nth-child(4),
  .tariff-card:nth-child(5) {
    grid-column: span 3;
  }
}

@media (max-width: 820px) {
  :root {
    --header-offset: 136px;
  }

  body {
    font-size: 16px;
    padding-bottom: 70px;
  }

  .container {
    width: min(100% - 28px, 680px);
  }

  .header-main {
    width: calc(100% - 20px);
  }

  .brand small {
    display: none;
  }

  .header-actions .button {
    padding-inline: 12px;
  }

  .hero-grid,
  .section-heading.row,
  .source-layout,
  .report-preview,
  .selection-layout,
  .protection-grid,
  .remote-grid,
  .lawyer-grid,
  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .hero-document {
    justify-self: start;
    width: min(88%, 390px);
  }

  .signal-grid,
  .three-grid,
  .result-grid,
  .contact-grid,
  .division-grid,
  .result-list,
  .tariff-notes {
    grid-template-columns: 1fr;
  }

  .finding-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .tariff-grid {
    grid-template-columns: 1fr;
  }

  .tariff-card,
  .tariff-card:nth-child(4),
  .tariff-card:nth-child(5) {
    grid-column: auto;
  }

  .tariff-purpose {
    min-height: 0;
  }

  .cadastral-callout {
    grid-template-columns: 52px 1fr;
  }

  .cadastral-callout .button {
    grid-column: 1 / -1;
  }

  .downloads-band {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field,
  .form-field.full,
  .contact-methods,
  .consents,
  .selected-tariff,
  .form-status,
  .form-submit-wrap {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-action-bar {
    position: fixed;
    z-index: 150;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 8px;
    padding: 9px 12px max(9px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(251, 250, 245, 0.97);
    box-shadow: 0 -12px 30px rgba(13, 37, 49, 0.1);
    backdrop-filter: blur(12px);
  }

  .mobile-action-bar .button {
    min-height: 46px;
    padding: 10px;
    font-size: 0.79rem;
  }

  .cookie-banner {
    bottom: 82px;
  }
}

@media (max-width: 480px) {
  .header-actions .button {
    min-height: 40px;
    font-size: 0.72rem;
  }

  .brand b {
    font-size: 0.86rem;
  }

  .hero-actions .button,
  .inline-actions .button {
    width: 100%;
  }

  .credentials span {
    width: 100%;
    border-radius: 9px;
  }

  .hero-document {
    width: 100%;
  }

  .lawyer-facts {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .site-header,
  .mobile-action-bar,
  .cookie-banner,
  .button {
    display: none !important;
  }

  body {
    padding: 0;
  }
}
