/* МосУчет77, стили сайта. v16: добавлена таблица госпошлин. v15: правила собраны без слоёв правок, у каждого селектора одно правило.
   Мобильные правила в блоках @media в конце файла. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat-var.woff") format("woff");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
  size-adjust: 112.9%;
  ascent-override: 85.7%;
  descent-override: 22.2%;
  line-gap-override: 0%;
}
:root {
  --yellow: #ffda00;
  --ink: #19191d;
  --muted: #777980;
  --line: #e7e7e9;
  --shade: #f6f7f8;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  color: var(--ink);
  background: white;
  font:
    16px/1.55 Montserrat,
    "Montserrat Fallback",
    Arial,
    sans-serif;
}
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #847100;
  outline-offset: 4px;
}
.container {
  max-width: 1188px;
  margin: auto;
  padding: 0 24px;
}
.header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.header nav a:hover {
  color: #8c7500;
}
.button:hover {
  background: #f0cd00;
  transform: translateY(-1px);
}
.button.secondary {
  background: white;
  border-color: #ddd;
}
.button.secondary:hover {
  background: #f6f7f8;
}
.button.small {
  min-height: 40px;
  padding: 9px 18px;
  font-size: 14px;
}
.menu-button {
  display: none;
  background: none;
  border: 0;
  font-size: 24px;
  color: var(--ink);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 18px;
  font-size: 12px;
  color: #9c9fa5;
}
.breadcrumbs b {
  font-weight: 500;
  color: var(--ink);
}
section {
  padding: 70px 0;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 48px;
  padding: 44px 0;
}
h1 {
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: -1.6px;
  font-weight: 900;
  margin: 0 0 24px;
}
h2 {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.6px;
  margin: 0 0 38px;
}
h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 750;
  margin: 0 0 12px;
}
p {
  margin: 0 0 16px;
  color: var(--muted);
}
.lead {
  font-size: 19px;
  line-height: 1.55;
  max-width: 630px;
}
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 62px;
}
.benefits strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 3px;
}
.form-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px #10182013;
  padding: 28px;
  align-self: start;
}
.form-card h2 {
  font-size: 21px;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
.form-card input {
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--shade);
  margin-bottom: 10px;
  min-width: 0;
  font-size: 16px;
}
.field-label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.svc-fixed {
  display: flex;
  align-items: center;
  min-height: 50px;
  margin: 0 0 10px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--shade);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.select-wrap {
  position: relative;
  margin-bottom: 10px;
}
.select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 50px;
  padding: 12px 44px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--shade);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.select-wrap svg {
  position: absolute;
  right: 14px;
  top: 50%;
  width: 20px;
  height: 20px;
  color: var(--ink);
  transform: translateY(-50%);
  pointer-events: none;
}
.price-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff8cc;
}
.price-bar strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}
.price-bar small {
  display: block;
  font-size: 12px;
  line-height: 1.35;
  color: #6b5f1f;
}
.price-bar b {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.price-bar b.txt {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}
.card .card-price {
  margin: 12px 0 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--ink);
}
.form-note {
  text-align: center;
  font-size: 12px;
  color: #92959b;
  line-height: 1.5;
  margin: 4px 0 0;
}
.form-result {
  font-size: 14px;
  line-height: 1.5;
  margin: 10px 0 0;
  color: #4e551a;
}
.shade {
  background: var(--shade);
  border-top: 1px solid #eeeeef;
  border-bottom: 1px solid #eeeeef;
}
.grid {
  display: grid;
  gap: 20px;
}
.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 26px;
}
.card p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.icon {
  width: 47px;
  height: 47px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  margin-bottom: 14px;
}
.icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.section-note {
  margin-top: -23px;
  margin-bottom: 30px;
  font-size: 15px;
}
.document-list {
  gap: 20px 45px;
}
.document-list > div {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.check {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 15px;
  font-weight: 700;
}
.steps {
  gap: 30px 34px;
}
.steps article {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.steps span {
  font-size: 22px;
  font-weight: 800;
  background: var(--yellow);
  border-radius: 13px;
  width: 49px;
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.steps p {
  margin: 2px 0;
  font-size: 15px;
  color: #555860;
}
.info-panel {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
  border-radius: 19px;
}
.info-panel h2 {
  font-size: 25px;
  margin-bottom: 16px;
}
.info-panel p {
  max-width: 900px;
  font-size: 15px;
}
.fee-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.fee-tags span {
  background: var(--shade);
  padding: 9px 14px;
  font-size: 13px;
  border-radius: 8px;
}
.explanation {
  padding-top: 55px;
  max-width: 920px;
}
.explanation h2 {
  margin-bottom: 24px;
}
.explanation p {
  font-size: 16px;
  line-height: 1.75;
}
.narrow {
  max-width: 970px;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
  list-style: none;
  padding: 22px 38px 22px 0;
  font-size: 16px;
  font-weight: 650;
  position: relative;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 17px;
  font-size: 25px;
  font-weight: 400;
}
details[open] summary:after {
  content: "−";
}
details p {
  font-size: 15px;
  padding-right: 28px;
  padding-bottom: 8px;
}
footer {
  background: var(--shade);
  border-top: 1px solid var(--line);
  padding: 50px 0 24px;
}
dialog {
  max-width: 450px;
  width: calc(100% - 36px);
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 20px 80px #0002;
}
dialog::backdrop {
  background: #18191c70;
}
dialog h2 {
  font-size: 24px;
  margin-bottom: 20px;
}
dialog p {
  font-size: 16px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.messengers {
  display: flex;
  gap: 9px;
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 11px;
  background: #fff;
  border: 1px solid #e5e5e7;
  border-radius: 13px;
  box-shadow: 0 1px 2px #00000004;
  transition:
    background 0.15s,
    border-color 0.15s;
}
.contact-icon svg {
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}
.whatsapp {
  color: #25d366;
}
.telegram {
  color: #229ed9;
}
.contact-icon:hover {
  background: #f6f7f8;
  border-color: #cfd1d5;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header nav {
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 22px;
}
.menu-button svg {
  width: 23px;
  height: 23px;
}
#question-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-sizing: border-box;
}
.question-phone {
  display: block;
  font-size: clamp(18px, 5vw, 25px);
  font-weight: 800;
  margin: 22px 0;
  color: var(--ink);
  white-space: nowrap;
}
.question-actions {
  display: grid;
  gap: 12px;
}
.question-actions .button {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  font-size: 15px;
}
.nav-group {
  position: relative;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 0;
  color: inherit;
}
.nav-toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s;
}
.nav-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.nav-sub {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0 4px;
}
.nav-sub a {
  font-size: 14px;
  font-weight: 500;
  color: #5d6068;
}
.nav-sub a:hover {
  color: var(--ink);
}
.nav-group.open .nav-sub {
  display: flex;
}
.nav-phone {
  display: none;
}
#related .card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.more:hover {
  text-decoration: underline;
}
#request-dialog {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
}
#request-dialog input {
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--shade);
  margin-bottom: 10px;
  font-size: 16px;
}
.nav-toggle span {
  pointer-events: none;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  margin-top: auto;
  padding-top: 16px;
}
.more svg {
  width: 17px;
  height: 17px;
  transition: transform 0.16s;
}
.more:hover svg {
  transform: translateX(3px);
}
.services .card {
  display: flex;
  flex-direction: column;
}
.related-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.related-top {
  position: relative;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd84d 0%, #f5c400 100%);
  overflow: hidden;
}
.related-top::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: #ffffff2e;
}
.related-top svg {
  width: 52px;
  height: 52px;
  color: var(--ink);
  position: relative;
  z-index: 1;
}
.related-body {
  padding: 24px 26px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.related-body h3 {
  margin-bottom: 10px;
}
.related-body p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
h2.center {
  text-align: center;
}
.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.review .quote {
  font-size: 46px;
  line-height: 0.7;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 14px;
}
.review p {
  font-size: 14px;
  line-height: 1.65;
  color: #4f525a;
  flex: 1;
  margin: 0 0 18px;
}
.review-name {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 14px;
  font-weight: 800;
}
.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 34px 0 20px;
}
.contact-card {
  background: var(--shade);
  border: 1px solid var(--line);
  border-radius: 19px;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-title {
  display: block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.contact-phone {
  display: block;
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -0.9px;
  margin: 2px 0 4px;
}
.contact-hours {
  font-size: 13px;
  color: var(--muted);
}
.contact-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-left: auto;
}
.contact-buttons .button {
  gap: 9px;
  min-height: 46px;
  padding: 10px 18px;
  font-size: 14px;
}
.contact-buttons svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.contact-call svg {
  color: var(--ink);
}
.phone-field {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background: var(--shade);
  padding: 0 14px;
  margin-bottom: 10px;
}
.phone-field span {
  font-size: 16px;
  font-weight: 700;
  flex: none;
}
.form-card .phone-field input,
#request-dialog .phone-field input {
  border: 0;
  background: transparent;
  margin: 0;
  padding-left: 0;
}
.policy-note {
  font-size: 12px;
  line-height: 1.5;
  color: #92959b;
  text-align: center;
  margin: 6px 0 0;
}
.logo {
  font-size: 24px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  letter-spacing: -1px;
  white-space: nowrap;
  background: var(--yellow);
  color: #141416;
  padding: 7px 14px 8px;
  border-radius: 999px;
  gap: 0;
}
.logo i {
  height: 9px;
  width: 9px;
  background: var(--yellow);
  border-radius: 2px;
  display: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  border: 1px solid transparent;
  border-radius: 13px;
  min-height: 49px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  transition:
    background 0.15s,
    transform 0.15s;
  color: #141416;
  -webkit-text-fill-color: #141416;
  appearance: none;
  -webkit-appearance: none;
}
button.button,
a.button {
  color: #141416;
  -webkit-text-fill-color: #141416;
  appearance: none;
  -webkit-appearance: none;
}
.form-card .button {
  width: 100%;
  margin-bottom: 9px;
  color: #141416;
  -webkit-text-fill-color: #141416;
}
#request-dialog .button {
  width: 100%;
  margin-bottom: 10px;
  color: #141416;
  -webkit-text-fill-color: #141416;
}
#question-dialog .button {
  color: #141416;
  -webkit-text-fill-color: #141416;
}
.nav-cta {
  display: none;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
dialog .close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4f4f6;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #6c6f77;
  font-size: 0;
  transition: background 0.15s;
}
#request-dialog .close {
  line-height: 1;
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4f4f6;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #6c6f77;
  font-size: 0;
  transition: background 0.15s;
}
#question-dialog .close {
  position: absolute;
  right: 16px;
  top: 16px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #f4f4f6;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #6c6f77;
  font-size: 0;
  transition: background 0.15s;
}
dialog .close:hover {
  background: #eaeaee;
}
dialog .close svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}
#request-dialog h2 {
  font-size: 24px;
  margin-bottom: 14px;
  padding-right: 54px;
}
#question-dialog h2 {
  padding-right: 54px;
}
header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 30;
}
dialog .close:focus,
dialog .close:focus-visible {
  outline: none;
  box-shadow: none;
}
#request-dialog h2#request-title,
#question-dialog h2#question-title {
  padding-right: 58px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:after {
  content: none;
}
.faq-item[open] .faq-sign {
  background: var(--yellow);
}
.faq-item[open] .faq-sign::after {
  opacity: 0;
}
.faq-item p {
  margin: 0;
  padding: 0 22px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: #555860;
}
#faq h2 {
  margin-bottom: 28px;
}
.faq-item summary::after,
.faq-item[open] summary::after {
  content: "";
  display: none;
}
.faq-sign {
  flex: none;
  border-radius: 50%;
  background: #f2f2f4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.15s;
  width: 26px;
  height: 26px;
}
.faq-sign::before {
  content: "";
  position: absolute;
  background: #1b1c1f;
  border-radius: 2px;
  width: 9px;
  height: 1.5px;
}
.faq-sign::after {
  content: "";
  position: absolute;
  background: #1b1c1f;
  border-radius: 2px;
  transition: opacity 0.15s;
  width: 1.5px;
  height: 9px;
}
.faq-item p a {
  color: #8c7500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.faq-item p a:hover {
  color: var(--ink);
}
.contact-big {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 26px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--shade);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  transition: border-color 0.15s;
}
.contact-line:hover {
  border-color: #d8d8d4;
}
.contact-line svg {
  width: 30px;
  height: 30px;
  flex: none;
}
.contact-line span {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contact-line b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
}
.contact-line i {
  font-style: normal;
  font-size: 13.5px;
  color: var(--muted);
}
.post {
  padding: 6px 0 10px;
}
.post h1 {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin-bottom: 18px;
}
.post-lead {
  font-size: 18px;
  line-height: 1.6;
  color: #4f525a;
  margin: 0 0 34px;
}
.post h2 {
  font-size: 25px;
  letter-spacing: -0.6px;
  margin: 34px 0 14px;
}
.post p {
  font-size: 16px;
  line-height: 1.75;
  color: #3f424a;
  margin: 0 0 16px;
}
.post a {
  color: #8c7500;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post a:hover {
  color: var(--ink);
}
.post-related {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.post-related h3 {
  margin-bottom: 14px;
}
.post-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-related a {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}
.post-related a:hover {
  color: #8c7500;
}
.page-title {
  font-size: 40px;
  letter-spacing: -1.4px;
  margin: 6px 0 12px;
}
.page-lead {
  font-size: 17px;
  line-height: 1.6;
  color: #4f525a;
  max-width: 60ch;
  margin: 0 0 40px;
}
.art-group {
  margin-bottom: 44px;
}
.art-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.art-head h2 {
  font-size: 24px;
  letter-spacing: -0.6px;
  margin: 0;
}
.art-head .more {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
.art-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 14px;
}
.art-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}
.art-card h3 {
  font-size: 17px;
  line-height: 1.35;
  margin: 0 0 8px;
}
.art-card h3 a {
  color: var(--ink);
  text-decoration: none;
}
.art-card h3 a:hover {
  color: #8c7500;
}
.art-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.notfound {
  padding: 40px 0 20px;
}
.notfound h1 {
  font-size: 38px;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.benefits > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 17px 18px;
  background: var(--yellow);
  border-color: var(--yellow);
}
.benefits span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: #4d4520;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 26px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: #9a9ca2;
}
.foot-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}
.foot-legal a,
.foot-legal button {
  color: #9a9ca2;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}
.foot-legal a:hover,
.foot-legal button:hover {
  color: var(--ink);
}
.policy-note a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.policy-note a:hover {
  color: var(--ink);
}
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 40px #10182022;
  padding: 18px 20px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.cookie[hidden] {
  display: none;
}
.cookie p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}
.cookie p a {
  color: var(--ink);
  text-decoration: underline;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.to-top {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 25;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px #10182033;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.2s,
    transform 0.2s,
    visibility 0.2s;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top svg {
  width: 24px;
  height: 24px;
}
.post ul {
  padding-left: 22px;
  margin: 0 0 16px;
  color: var(--muted);
}
.post li {
  margin-bottom: 6px;
}
.post p b {
  color: var(--ink);
}
.phone-icon {
  display: none;
  color: var(--ink);
}
.post-date {
  margin: -6px 0 18px;
  font-size: 13px;
  color: var(--muted);
}
.foot-map {
  color: #9a9ca2;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.foot-map:hover {
  color: var(--ink);
}
.post p.post-date {
  margin: -4px 0 22px;
  font-size: 13px;
  color: var(--muted);
}
.post-sources {
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
}
.post .post-sources h2 {
  font-size: 18px;
  margin: 0 0 12px;
}
.post-sources ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.post-sources li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
}
.post-sources a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.post-sources p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}
.fee-block {
  max-width: 920px;
  margin-top: 48px;
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.fee-table td {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.fee-table td:last-child {
  padding-left: 16px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.fee-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
/* Главная (v16): верхняя полоса, плашки с иконками, фото, блок доверия. Только для body.home */
.home {
  --yellow-soft: #fff6c7;
  --yellow-ink: #6b5a00;
}
.home .topbar {
  background: var(--shade);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.home .topbar-in {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 38px;
}
.home .topbar b {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.home .topbar .dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f9d55;
  margin-right: 7px;
  vertical-align: 1px;
}
.home .sticky-top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff;
}
.home .sticky-top header {
  position: static;
}
.home .eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--yellow-ink);
}
.home .hero h1 {
  font-weight: 800;
  text-wrap: balance;
}
.home .lead {
  color: #45464c;
}
.home .benefits {
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
.home .benefits > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 14px 16px;
}
.home .benefits > div + div {
  border-left: 1px solid var(--line);
}
.home .benefits .b-ic {
  grid-row: span 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.home .benefits .b-ic svg {
  width: 18px;
  height: 18px;
}
.home .benefits strong {
  font-size: 16px;
  margin: 0;
}
.home .benefits span {
  color: var(--muted);
}
.home .hero-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  margin-top: 18px;
}
.home .trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.home .trust div {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.home .trust b {
  display: block;
  font-size: 14px;
  color: var(--ink);
}
.home .icon,
.home .check,
.home .steps span,
.home .related-top {
  background: var(--yellow-soft);
}
.home .faq-item[open] .faq-sign {
  background: var(--yellow-soft);
}
@media (max-width: 1050px) {
  h1 {
    font-size: 41px;
  }
  .hero {
    gap: 25px;
    grid-template-columns: minmax(0, 1fr) 310px;
  }
  .benefits {
    margin-top: 35px;
    gap: 8px;
  }
  .benefits > div {
    padding: 14px 10px;
  }
  .benefits strong {
    font-size: 16px;
  }
  .lead {
    font-size: 17px;
  }
  .header {
    gap: 16px;
  }
  .phone-icon {
    display: flex;
  }
}
@media (max-width: 760px) {
  .home .header nav {
    top: 102px;
  }
  .home .benefits {
    grid-template-columns: 1fr;
  }
  .home .benefits > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .home .hero-photo {
    aspect-ratio: 4 / 3;
  }
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .header-actions .button {
    font-size: 12px;
    padding: 8px 12px;
  }
  .logo {
    font-size: 21px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
    gap: 28px;
  }
  h1 {
    font-size: 36px;
    letter-spacing: -1px;
    line-height: 1.12;
  }
  h2 {
    font-size: 26px;
    margin-bottom: 26px;
  }
  section {
    padding: 45px 0;
  }
  .lead {
    font-size: 16px;
  }
  .benefits {
    margin-top: 28px;
    grid-template-columns: 1fr;
  }
  .benefits > div {
    padding: 13px 16px;
  }
  .benefits strong {
    font-size: 17px;
  }
  .benefits span {
    font-size: 13px;
  }
  .form-card {
    padding: 24px;
  }
  .three,
  .two {
    grid-template-columns: 1fr;
  }
  .card {
    padding: 24px;
  }
  .section-note {
    margin-top: -12px;
  }
  .steps {
    gap: 22px;
  }
  .breadcrumbs {
    font-size: 11px;
    gap: 8px;
  }
  .explanation {
    padding-top: 35px;
  }
  .info-panel {
    padding: 23px;
  }
  summary {
    font-size: 15px;
  }
  .fee-tags {
    gap: 8px;
  }
  .header-actions {
    gap: 9px;
  }
  .header-actions > .button {
    display: none;
  }
  .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e7;
    border-radius: 13px;
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  .contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-buttons {
    margin-left: 0;
    width: 100%;
  }
  .contact-buttons .button {
    flex: 1;
    justify-content: center;
  }
  .related-top {
    height: 128px;
  }
  .header {
    gap: 10px;
    height: 64px;
  }
  html {
    scroll-padding-top: 84px;
  }
  .header nav > a {
    border-bottom: 1px solid var(--line);
    padding: 19px 2px;
    font-size: 17px;
    font-weight: 700;
  }
  .nav-toggle svg {
    width: 19px;
    height: 19px;
  }
  .nav-phone {
    display: block;
    padding: 19px 2px;
    font-size: 19px;
    font-weight: 800;
    border-bottom: 0;
  }
  .nav-cta {
    display: flex;
    min-height: 54px;
    font-size: 16px;
    margin-top: 4px;
  }
  .header nav > * {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .nav-group {
    border-bottom: 1px solid var(--line);
    width: 100%;
    min-width: 0;
  }
  .nav-sub {
    padding-left: 2px;
    padding: 0 0 14px 14px;
    border-left: 3px solid var(--yellow);
    margin-left: 2px;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
  }
  .nav-sub a {
    padding: 11px 0;
    font-size: 15px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
  }
  .nav-toggle {
    justify-content: space-between;
    padding: 19px 2px;
    font-size: 17px;
    font-weight: 700;
    width: 100%;
    box-sizing: border-box;
  }
  .header nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    gap: 0;
    padding: 8px 20px calc(28px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    box-shadow: none;
    z-index: 19;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
  }
  .header nav.open {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    overflow-y: auto;
  }
  .faq-item summary {
    padding: 20px 18px;
    font-size: 16px;
    gap: 12px;
  }
  .faq-item p {
    padding: 0 18px 20px;
    font-size: 14.5px;
  }
  .faq-sign {
    width: 26px;
    height: 26px;
  }
  .faq-sign::before {
    width: 9px;
    height: 1.5px;
  }
  .faq-sign::after {
    width: 1.5px;
    height: 9px;
  }
  .contact-line {
    padding: 16px 16px;
    gap: 13px;
  }
  .contact-line b {
    font-size: 17px;
  }
  .post h1 {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .post-lead {
    font-size: 16px;
    margin-bottom: 26px;
  }
  .post h2 {
    font-size: 21px;
    margin: 28px 0 12px;
  }
  .page-title {
    font-size: 30px;
    letter-spacing: -1px;
  }
  .page-lead {
    font-size: 15.5px;
    margin-bottom: 30px;
  }
  .art-head h2 {
    font-size: 21px;
  }
  .art-group {
    margin-bottom: 34px;
  }
  .notfound h1 {
    font-size: 28px;
  }
  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions .button {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .contact-icon,
  .to-top {
    transition: none;
  }
}
@media (max-width: 380px) {
  .header {
    padding-left: 14px;
    padding-right: 14px;
  }
  .header .logo {
    font-size: 18px;
    letter-spacing: -0.7px;
    gap: 5px;
  }
  .header-actions,
  .messengers {
    gap: 6px;
  }
}
@media (min-width: 761px) {
  .nav-sub {
    position: absolute;
    top: 28px;
    left: -16px;
    min-width: 290px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 40px #10182018;
    padding: 16px;
    z-index: 6;
  }
  .nav-phone {
    display: none;
  }
}
@media (max-width: 359px) {
  .header-actions,
  .messengers {
    gap: 4px;
  }
  .contact-icon {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .menu-button {
    width: 38px;
    height: 38px;
  }
  .logo {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
  }
  .container.header {
    padding-left: 12px;
    padding-right: 12px;
    gap: 6px;
  }
}
