:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4f7;
  --ink: #17212f;
  --muted: #66758a;
  --line: #d9e2ea;
  --brand: #0b7a75;
  --brand-dark: #075f5b;
  --accent: #b7791f;
  --good: #147a3d;
  --shadow: 0 18px 40px rgba(23, 33, 47, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 66px;
  padding: 0 clamp(16px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
}

.site-brand {
  flex: 0 0 auto;
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.site-header nav a:hover {
  color: var(--ink);
}

.nav-menu {
  position: relative;
}

.site-header .nav-menu {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  list-style: none;
  cursor: pointer;
  color: var(--muted);
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: "⌄";
  margin-left: 5px;
  font-size: 12px;
}

.nav-menu[open] summary {
  color: var(--ink);
}

.site-header .nav-menu summary,
.site-header .nav-menu[open] summary {
  min-height: auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.nav-menu div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-menu div a {
  padding: 9px 10px;
  border-radius: 7px;
}

.nav-menu div a:hover {
  background: var(--surface-soft);
}

.hero,
.page,
.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.75fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 66px);
  padding: 40px 0 54px;
}

.hero h1,
.page-head h1,
.content-card h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy,
.page-head p,
.lead-text {
  max-width: 760px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.site-footer,
.meta-row,
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 7px;
  border: 1px solid var(--brand);
  font-weight: 750;
}

.primary-button {
  background: var(--brand);
  color: #fff;
}

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

.ghost-button {
  background: #fff;
  color: var(--brand);
}

.boost-banner {
  width: min(1180px, calc(100% - 32px));
  margin: 18px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(11, 122, 117, 0.28);
  border-radius: 8px;
  background: #edf8f6;
}

.telegram-cta {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 16px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(11, 122, 117, 0.3);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(23, 33, 47, 0.06);
}

.telegram-cta div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.telegram-cta strong {
  font-size: 17px;
}

.telegram-cta span {
  color: var(--muted);
}

.telegram-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #0b7a75;
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(11, 122, 117, 0.28);
}

.telegram-float:hover {
  background: var(--brand-dark);
}

.contact-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(11, 122, 117, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(23, 33, 47, 0.14);
}

/* Public home: nationwide platform */
.home-v2 {
  overflow: hidden;
  background: #fff;
}

.home-hero {
  min-height: calc(100vh - 66px);
  padding: 58px clamp(18px, 4vw, 64px) 28px;
  background:
    linear-gradient(rgba(14, 160, 154, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 160, 154, 0.035) 1px, transparent 1px),
    #fff;
  background-size: 64px 64px;
}

.home-hero-heading {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.home-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: #087f7b;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-hero-heading .home-kicker {
  justify-content: center;
}

.home-kicker span {
  width: 22px;
  height: 2px;
  background: #0ea09a;
}

.home-hero-heading h1 {
  margin: 0;
  color: #12243b;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-heading h1 em {
  color: #078b87;
  font-style: normal;
}

.home-hero-heading > p:not(.home-kicker) {
  max-width: 700px;
  margin: 22px auto 0;
  color: #5b697b;
  font-size: 18px;
}

.home-hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 26px;
}

.home-text-link {
  color: #22334a;
  font-weight: 750;
}

.home-text-link span,
.home-section-head a span {
  color: #0b948f;
}

.home-ecosystem {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, .65fr) minmax(520px, 1.8fr) minmax(190px, .65fr);
  gap: 30px;
  align-items: center;
  width: min(1450px, 100%);
  margin: 0 auto;
}

.home-ecosystem::before {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  top: 50%;
  border-top: 1px dashed rgba(14, 160, 154, 0.42);
}

.home-platform-board,
.home-orbit {
  position: relative;
  z-index: 1;
  border: 1px solid #dbe7ed;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 70px rgba(30, 63, 84, 0.10);
}

.home-platform-board {
  border-radius: 8px;
}

.home-platform-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 0 22px;
  border-bottom: 1px solid #e4edf1;
  color: #162a42;
}

.home-platform-top strong {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-platform-top i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: #078f8a;
  color: #fff;
  font-style: normal;
}

.home-platform-top > span {
  color: #138c66;
  font-size: 12px;
  font-weight: 750;
}

.home-platform-top > span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 6px;
  border-radius: 50%;
  background: #15aa78;
}

.home-platform-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px 20px 8px;
}

.home-platform-metrics div {
  padding: 15px 16px;
  border: 1px solid #e2ebef;
  border-radius: 7px;
  background: #fbfdfd;
}

.home-platform-metrics small,
.home-orbit small,
.home-route-list small,
.home-map-visual small {
  display: block;
  color: #728094;
}

.home-platform-metrics strong {
  display: block;
  margin-top: 3px;
  color: #14283f;
  font-size: 24px;
}

.home-platform-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 20px 20px;
}

.home-route-list,
.home-map-visual {
  min-height: 238px;
  padding: 18px;
  border: 1px solid #e2ebef;
  border-radius: 7px;
}

.home-route-list > p {
  margin: 0 0 14px;
  color: #172b42;
  font-weight: 800;
}

.home-route-list > div {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 11px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid #edf2f4;
}

.home-route-list b {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: #e6f6f4;
  color: #078b87;
}

.home-map-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(14,160,154,.13), transparent 42%),
    linear-gradient(145deg, #f7fbfc, #eef8f8);
}

.home-map-visual::before,
.home-map-visual::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 32%;
  left: 12%;
  top: 25%;
  border: 1px solid rgba(14, 160, 154, .22);
  border-radius: 50% 38% 48% 42%;
  transform: rotate(-7deg);
}

.home-map-visual::after {
  width: 42%;
  height: 18%;
  left: 44%;
  top: 41%;
  transform: rotate(12deg);
}

.map-point {
  position: absolute;
  z-index: 1;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #0aa29c;
  box-shadow: 0 0 0 3px rgba(10,162,156,.13);
}

.p1 { left: 20%; top: 35%; }.p2 { left: 39%; top: 49%; }.p3 { left: 56%; top: 31%; }.p4 { left: 71%; top: 43%; }.p5 { left: 82%; top: 28%; }

.home-map-visual strong,
.home-map-visual small {
  position: relative;
  z-index: 2;
}

.home-orbit {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 8px;
}

.home-orbit-label {
  padding: 6px 8px 10px;
  color: #172b42;
  font-size: 13px;
  font-weight: 800;
}

.home-orbit > a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 10px;
  border-top: 1px solid #edf2f4;
}

.home-orbit > a:hover {
  background: #f5fbfa;
}

.home-orbit > a > strong {
  font-size: 13px;
  line-height: 1.3;
}

.home-avatar {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #e6f6f4;
  color: #087f7b;
  font-weight: 800;
}

.home-orbit-cta {
  justify-content: center;
  margin-top: 5px;
  border: 0 !important;
  border-radius: 6px;
  background: #078f8a;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
}

.home-capabilities {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  width: min(1180px, 100%);
  margin: 22px auto 0;
  border: 1px solid #dce7ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 15px 35px rgba(30, 63, 84, .07);
}

.home-capabilities span {
  padding: 15px 12px;
  border-left: 1px solid #e6edef;
  color: #475a70;
  font-size: 13px;
  text-align: center;
}

.home-capabilities span:first-child { border-left: 0; }

.home-help-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
  gap: 48px;
  align-items: center;
  min-height: 680px;
  padding: 70px max(6vw, 24px);
  overflow: hidden;
  background: #e9efef url('/assets/legal-consultation-hero.png') center / cover no-repeat;
}

.home-help-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,249,249,.98) 0%, rgba(247,249,249,.90) 37%, rgba(247,249,249,.12) 67%, rgba(247,249,249,.05) 100%);
}

.home-help-copy,
.home-help-form {
  position: relative;
  z-index: 1;
}

.home-help-copy {
  max-width: 520px;
}

.home-help-copy h2,
.home-section h2,
.home-network-band h2 {
  margin: 0;
  color: #13263d;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.home-help-copy > p:last-child,
.home-network-band > div:first-child > p:last-child {
  color: #5d6c7d;
  font-size: 18px;
}

.home-help-form {
  max-width: 520px;
  justify-self: end;
}

.home-help-form .lead-form {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 26px 70px rgba(18, 38, 61, .18);
  backdrop-filter: blur(12px);
}

.home-section {
  padding: 92px max(5vw, 20px);
  background: #fff;
}

.home-section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  width: min(1280px, 100%);
  margin: 0 auto 38px;
}

.home-section-head h2 {
  max-width: 780px;
}

.home-section-head > a {
  padding-bottom: 7px;
  color: #263b51;
  font-weight: 750;
}

.home-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1280px, 100%);
  margin: auto;
  border-top: 1px solid #dce6eb;
  border-left: 1px solid #dce6eb;
}

.home-topic-grid a {
  min-height: 260px;
  padding: 28px;
  border-right: 1px solid #dce6eb;
  border-bottom: 1px solid #dce6eb;
  transition: background .2s ease, transform .2s ease;
}

.home-topic-grid a:hover {
  background: #f4fbfa;
}

.home-topic-index {
  display: block;
  margin-bottom: 38px;
  color: #0a948f;
  font-size: 13px;
  font-weight: 800;
}

.home-topic-grid strong {
  display: block;
  color: #172a41;
  font-size: 21px;
  line-height: 1.2;
}

.home-topic-grid p {
  color: #687789;
  font-size: 14px;
}

.home-topic-grid em {
  display: block;
  margin-top: 24px;
  color: #087f7b;
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
}

.home-network-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  padding: 92px max(7vw, 24px);
  background: #11263e;
  color: #fff;
}

.home-network-band h2 {
  color: #fff;
}

.home-network-band .home-kicker {
  color: #71d8d3;
}

.home-network-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}

.home-network-actions a {
  display: flex;
  min-height: 250px;
  padding: 28px;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,.18);
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.home-network-actions strong {
  font-size: 22px;
}

.home-network-actions span {
  margin-top: 10px;
  color: #aebdca;
}

.home-network-actions em {
  margin-top: auto;
  color: #71d8d3;
  font-style: normal;
  font-weight: 750;
}

@media (max-width: 1240px) {
  .home-ecosystem { grid-template-columns: 1fr 1fr; }
  .home-platform-board { grid-column: 1 / -1; grid-row: 1; }
  .home-orbit { grid-row: 2; }
  .home-ecosystem::before { display: none; }
  .home-help-band { grid-template-columns: 1fr; background-position: 64% center; }
  .home-help-form { justify-self: start; }
  .home-help-band::before { background: rgba(247,249,249,.82); }
}

.home-v2 + .site-footer {
  margin-top: 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.site-brand img {
  width: 34px;
  height: 34px;
}

.home-platform-top i img { width: 30px; height: 30px; }

.home-platform-top i { background: transparent; }

.home-capabilities span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.home-capabilities img {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .home-hero { padding-top: 38px; }
  .home-hero-heading h1 { font-size: 44px; }
  .home-hero-heading > p:not(.home-kicker) { font-size: 16px; }
  .home-hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .home-ecosystem { display: flex; flex-direction: column; }
  .home-platform-board, .home-orbit { width: 100%; }
  .home-platform-content { grid-template-columns: 1fr; }
  .home-platform-metrics { grid-template-columns: 1fr 1fr 1fr; padding-inline: 12px; }
  .home-platform-metrics div { padding: 12px 8px; }
  .home-platform-metrics strong { font-size: 20px; }
  .home-capabilities { grid-template-columns: 1fr 1fr; }
  .home-capabilities span { border-bottom: 1px solid #e6edef; }
  .home-capabilities span:last-child { grid-column: 1 / -1; }
  .home-help-band { min-height: auto; padding-block: 58px; }
  .home-help-form { width: 100%; }
  .home-help-form .form-grid { grid-template-columns: 1fr; }
  .home-section { padding-block: 64px; }
  .home-section-head { align-items: flex-start; flex-direction: column; }
  .home-topic-grid { grid-template-columns: 1fr; }
  .home-topic-grid a { min-height: 210px; }
  .home-network-band { grid-template-columns: 1fr; gap: 40px; padding-block: 64px; }
  .home-network-actions { grid-template-columns: 1fr; }
}

.contact-float a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.contact-float a:first-child {
  background: var(--brand);
  color: #fff;
}

.boost-banner strong,
.boost-banner span {
  min-width: 0;
}

.boost-banner strong {
  font-size: 17px;
}

.boost-banner span {
  color: var(--muted);
}

.lead-form,
.content-card,
.side-panel,
.card,
.service-card,
.lawyer-card,
.list-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.lead-form {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 18px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}

.lead-form input,
.lead-form select {
  height: 40px;
  padding: 0 10px;
}

.lead-form textarea {
  min-height: 112px;
  padding: 10px;
  resize: vertical;
}

.lead-form.compact textarea {
  min-height: 88px;
}

.form-grid,
.two-columns,
.service-page,
.question-page {
  display: grid;
  gap: 16px;
}

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

.section {
  padding: 26px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2,
.content-card h2,
.side-panel h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.section-head a {
  color: var(--brand);
  font-weight: 700;
}

.card-grid,
.service-grid,
.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-grid,
.lawyer-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card,
.service-card,
.lawyer-card,
.list-item {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.card strong,
.service-card strong,
.lawyer-card strong,
.list-item strong {
  font-size: 17px;
  line-height: 1.25;
}

.card span,
.service-card span,
.lawyer-card span,
.list-item span,
.list-item p,
.site-footer {
  color: var(--muted);
  font-size: 14px;
}

.service-card em {
  color: var(--good);
  font-style: normal;
  font-weight: 800;
}

.lawyer-card-meta {
  display: grid;
  gap: 5px;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.lawyer-card-meta span {
  color: var(--muted);
  font-size: 13px;
}

.expert-panel {
  display: grid;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.expert-panel h2,
.expert-panel p {
  margin: 0;
}

.expert-panel p {
  color: var(--muted);
}

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

.list,
.mini-list,
.faq {
  display: grid;
  gap: 10px;
}

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

.news-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.news-card h2,
.news-card p {
  margin: 0;
}

.news-card h2 {
  font-size: 22px;
  line-height: 1.18;
}

.news-card .mini-list span {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  background: var(--surface-soft);
  color: var(--ink);
  font-size: 14px;
}

.source-note {
  color: var(--muted);
  font-size: 13px;
}

.page {
  padding: 42px 0 60px;
}

.page.narrow {
  max-width: 760px;
}

.page-head {
  margin-bottom: 24px;
}

.service-page,
.question-page {
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: start;
}

.content-card,
.side-panel {
  padding: 22px;
}

.content-card {
  display: grid;
  gap: 20px;
}

.content-card section {
  display: grid;
  gap: 8px;
}

.content-card p,
.content-card ul {
  margin: 0;
}

.side-panel {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 16px;
}

.breadcrumbs,
.meta-row {
  color: var(--muted);
  font-size: 13px;
}

.meta-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--surface-soft);
}

.answer {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

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

.fact-grid div {
  display: grid;
  gap: 3px;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.proof-grid div {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fact-grid span {
  color: var(--muted);
}

.proof-grid span {
  color: var(--muted);
  font-size: 14px;
}

.legal-trust-panel {
  display: grid;
  gap: 16px;
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-trust-panel h2 {
  margin: 0 0 8px;
}

.legal-trust-panel p {
  margin: 0;
  color: var(--muted);
}

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

.trust-steps div {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border-radius: 8px;
  background: var(--surface-soft);
}

.trust-steps strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.trust-steps span,
.legal-trust-metrics {
  color: var(--muted);
  font-size: 14px;
}

.legal-trust-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-trust-metrics span {
  padding: 7px 10px;
  border: 1px solid rgba(11, 122, 117, 0.22);
  border-radius: 999px;
  background: #f7fbfb;
  color: var(--brand-dark);
  font-weight: 700;
}

details {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  font-weight: 750;
}

.success {
  text-align: left;
}

.context-links {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.context-links .section-head {
  margin-bottom: 14px;
}

.context-links .section-head span {
  color: var(--muted);
  font-size: 13px;
}

.context-links-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.context-links-grid a {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.context-links-grid strong {
  font-size: 14px;
  line-height: 1.25;
}

.context-links-grid span {
  color: var(--muted);
  font-size: 13px;
}

.trust-band {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
}

.trust-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 18px;
  padding: 20px;
  border: 1px solid rgba(11, 122, 117, 0.22);
  border-radius: 8px;
  background: #f7fbfb;
  box-shadow: var(--shadow);
}

.trust-band h2,
.trust-band p {
  margin: 0;
}

.trust-band h2 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.2;
}

.trust-band p {
  color: var(--muted);
}

.trust-metrics,
.trust-notes {
  display: grid;
  gap: 10px;
}

.trust-metrics div,
.trust-notes p {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.trust-metrics strong,
.trust-metrics span {
  display: block;
}

.trust-metrics strong {
  color: var(--brand);
  font-size: 24px;
}

.trust-metrics span {
  color: var(--muted);
}

.site-footer {
  justify-content: center;
  padding: 28px 16px 40px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .site-header nav {
    justify-content: flex-start;
  }

  .hero,
  .service-page,
  .question-page,
  .two-columns,
  .trust-band-inner,
  .boost-banner,
  .telegram-cta {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .service-grid,
  .lawyer-grid,
  .news-grid,
  .context-links-grid,
  .trust-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .side-panel {
    position: static;
  }

  .nav-menu div {
    left: 0;
    right: auto;
  }
}

@media (max-width: 620px) {
  .site-header nav {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .site-header nav a,
  .nav-menu summary {
    flex: 0 0 auto;
    min-height: 28px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .nav-menu div {
    left: 0;
    right: auto;
    width: min(260px, calc(100vw - 32px));
  }

  .hero {
    min-height: auto;
    padding-top: 26px;
  }

  .card-grid,
  .service-grid,
  .lawyer-grid,
  .news-grid,
  .form-grid,
  .fact-grid,
  .proof-grid,
  .context-links-grid,
  .trust-steps {
    grid-template-columns: 1fr;
  }

  .telegram-float {
    right: 12px;
    bottom: 12px;
    min-height: 40px;
    padding: 0 14px;
  }

  .contact-float {
    right: 10px;
    bottom: 10px;
    max-width: calc(100vw - 20px);
    overflow-x: auto;
  }

  .contact-float a {
    min-height: 32px;
    padding: 0 10px;
    white-space: nowrap;
  }
}
