:root {
  --blue: #062b68;
  --blue-2: #0c3d92;
  --deep: #041f50;
  --ink: #0a275f;
  --muted: #55709c;
  --gold: #ca9028;
  --gold-2: #e4ad43;
  --line: #dfe7f4;
  --soft: #f5f8fc;
  --shadow: 0 9px 22px rgba(15, 43, 88, .11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}

@media (min-width: 1200px) {
  html {
    zoom: 1.25;
  }
}

@media (min-width: 1600px) {
  html {
    zoom: 1.35;
  }
}

@media (min-width: 1900px) {
  html {
    zoom: 1.45;
  }
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.36;
}

main {
  max-width: 100%;
  overflow-x: clip;
}

.icon {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.icon-solid {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
  stroke: none;
  flex: 0 0 auto;
}

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

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

.container {
  width: min(852px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 64px;
  background: rgba(251, 253, 255, .96);
  border-bottom: 1px solid transparent;
  box-shadow: none;
  backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 253, 255, .94);
  border-bottom-color: rgba(216, 226, 240, .72);
  box-shadow: 0 7px 18px rgba(15, 43, 88, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 43px;
  height: 41px;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.05;
  color: #08235b;
  white-space: nowrap;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: #18396f;
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  flex: 1 1 auto;
  color: #111;
  font-size: 12px;
  font-weight: 700;
}

.main-nav a {
  white-space: nowrap;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #061943;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.phone-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.phone-icon-wrap::before {
  content: "";
  position: absolute;
  inset: 1px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0;
  transform: scale(.72);
}

.phone-icon {
  width: 20px;
  height: 20px;
  color: var(--blue-2);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-content: center;
  justify-items: center;
  gap: 4px;
  padding: 0;
  border: 1px solid rgba(12, 61, 146, .22);
  border-radius: 8px;
  color: var(--blue-2);
  background: rgba(255, 255, 255, .72);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

@keyframes phone-ring {
  0%, 42%, 100% {
    transform: rotate(0);
  }

  6%, 18%, 30% {
    transform: rotate(-15deg);
  }

  12%, 24%, 36% {
    transform: rotate(15deg);
  }
}

@keyframes phone-pulse {
  0% {
    opacity: .28;
    transform: scale(.72);
  }

  45%, 100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-link .phone-icon,
  .phone-link .phone-icon-wrap::before {
    animation: none;
  }
}

.phone-link strong {
  display: block;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}

.phone-link small {
  display: block;
  margin-top: 2px;
  color: #2d4773;
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 250, 255, .74) 0%, rgba(255, 255, 255, .22) 47%, #eef6fb 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 94px;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(223, 236, 244, .78) 56%, rgba(255, 255, 255, .92) 100%),
    repeating-linear-gradient(0deg, rgba(63, 121, 158, .14), rgba(63, 121, 158, .14) 1px, transparent 1px, transparent 8px);
}

.hero-city {
  position: absolute;
  left: calc(50% - 420px);
  bottom: 34px;
  width: 462px;
  height: 186px;
  opacity: .42;
  border-radius: 34px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .5) 24%, rgba(255, 255, 255, .26) 52%, rgba(255, 255, 255, .94) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .18) 26%, rgba(255, 255, 255, .22) 68%, rgba(255, 255, 255, .98) 100%),
    url("yuriskonsult/barnaul.webp") center / cover no-repeat;
  filter: saturate(.82) contrast(.96);
  mask-image:
    radial-gradient(ellipse at center, #000 0%, #000 34%, rgba(0, 0, 0, .55) 56%, transparent 82%),
    linear-gradient(90deg, transparent 0%, #000 18%, #000 78%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 20%, #000 74%, transparent 100%);
  mask-composite: intersect;
  mix-blend-mode: multiply;
}

.hero-city::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 0%, transparent 42%, rgba(255, 255, 255, .72) 72%, #fff 100%),
    linear-gradient(90deg, #fff 0%, transparent 22%, transparent 76%, #fff 100%),
    linear-gradient(180deg, #fff 0%, transparent 24%, transparent 70%, #fff 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 376px) 460px;
  align-items: start;
  gap: 16px;
  padding-top: 2px;
  padding-bottom: 20px;
}

.hero-content {
  padding-top: 20px;
}

.hero h1 {
  max-width: 356px;
  margin: 0;
  color: #08245a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0;
}

.hero-lead {
  margin: 8px 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.hero-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0 0 19px;
  list-style: none;
  color: #15376c;
  font-size: 12px;
}

.hero-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.hero-list-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-top: -1px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  flex: 0 0 auto;
}

.hero-list-icon .icon {
  width: 8px;
  height: 8px;
  stroke-width: 2.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 33px;
  padding: 0 17px;
  border: 1px solid var(--blue-2);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.btn-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}

.btn-primary {
  min-width: 171px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 7px 12px rgba(6, 43, 104, .18);
}

.btn-outline {
  min-width: 160px;
  color: var(--blue-2);
  background: rgba(255, 255, 255, .84);
}

.hero-team-picture {
  display: block;
  width: 460px;
}

.hero-team {
  width: 460px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 15px 28px rgba(22, 44, 73, .09);
}

.stats-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 108px;
  margin-top: 18px;
  padding: 16px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 0 22px;
  border-right: 1px solid #d8e0ef;
}

.stat-card > div {
  color: #09275f;
  font-size: 13px;
  font-weight: 800;
}

.stat-card:last-child {
  border-right: 0;
}

.stat-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  object-fit: contain;
}

.stat-card strong {
  display: block;
  color: #09275f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1;
  white-space: nowrap;
}

.stat-card strong span {
  font-size: 12px;
}

.stat-card p {
  margin: 6px 0 0;
  color: #123466;
  font-size: 12px;
  font-weight: 700;
}

.section {
  padding-top: 58px;
}

.section h2,
.reviews h2,
.faq h2,
.contacts-card h2 {
  margin: 0 0 30px;
  color: #08245a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.1;
  text-align: center;
}

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

.info-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 104px;
  padding: 13px 15px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 53, 82, .08);
}

.line-icon {
  width: 31px;
  height: 31px;
  color: #3765c5;
}

.info-card h3,
.service-card h3,
.process-line h3 {
  margin: 0;
  color: #0a2b66;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  line-height: 1.16;
}

.info-card > div,
.learn-card li span {
  min-width: 0;
}

.info-card h3,
.info-card p,
.service-card h3,
.service-card p,
.stat-card p,
.review-card p,
.faq-text,
.footer-brand p,
.footer-col a,
.footer-bottom,
.learn-card li span {
  overflow-wrap: anywhere;
}

.info-card p {
  margin: 4px 0 0;
  color: #1d3c73;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.services {
  padding-top: 58px;
}

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

.service-card {
  min-height: 120px;
  padding: 14px 12px 12px 52px;
  position: relative;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 53, 82, .08);
}

.service-icon {
  position: absolute;
  left: 15px;
  top: 21px;
  width: 25px;
  height: 25px;
  color: #3765c5;
}

.service-card h3 {
  font-size: 12px;
  line-height: 1.15;
}

.service-card p {
  margin: 4px 0 0;
  color: #17396f;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
}

.process {
  padding-top: 62px;
}

.process h2 {
  margin-bottom: 42px;
}

.process-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  min-height: 132px;
  padding: 0 0 12px;
  margin: 0;
  list-style: none;
}

.process-line::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 12px;
  height: 4px;
  background:
    repeating-linear-gradient(90deg, var(--blue) 0 3px, transparent 3px 6px),
    linear-gradient(var(--blue), var(--blue));
}

.process-line li {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-line li span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin: 0 auto 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.process-line h3 {
  min-height: 30px;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 800;
}

.process-line p {
  margin: 3px 0 0;
  color: #2e4975;
  font-size: 12px;
  line-height: 1.24;
  font-weight: 700;
}

.calc-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(230px, .9fr);
  gap: 20px;
  align-items: start;
  margin-top: 64px;
}

.calc-card,
.learn-card {
  min-width: 0;
  border-radius: 8px;
  box-shadow: 0 7px 18px rgba(31, 53, 82, .11);
}

.calc-card {
  min-height: 230px;
  padding: 18px 22px 16px;
  color: #fff;
  background: linear-gradient(135deg, #061f51 0%, #072b6e 58%, #09275f 100%);
}

.calc-card h2 {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.1;
}

.calc-card p {
  margin: 1px 0 10px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  font-weight: 700;
}

.calc-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.calc-fields label {
  min-width: 0;
}

.calc-fields label span,
.calc-bottom legend {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
}

.calc-fields input {
  width: 100%;
  height: 30px;
  border: 0;
  border-radius: 4px;
  padding: 0 12px;
  color: #41577a;
  background: #fff;
  font-size: 12px;
  font-family: inherit;
}

.calc-bottom {
  display: grid;
  grid-template-columns: minmax(150px, max-content) minmax(220px, 1fr);
  gap: 16px;
  align-items: end;
  margin-top: 10px;
}

.calc-bottom fieldset {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-items: center;
  gap: 4px 18px;
  align-content: end;
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.calc-bottom legend {
  grid-column: 1 / -1;
  float: none;
  width: auto;
  margin-bottom: 0;
}

.calc-bottom label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
}

.calc-bottom input {
  width: 12px;
  height: 12px;
  accent-color: var(--gold);
}

.calc-bottom button {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-radius: 5px;
  padding: 7px 14px;
  color: #fff;
  background: linear-gradient(180deg, #d9a13b 0%, #bd821f 100%);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
}

.calc-card small {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin: 9px 0 0;
  padding-left: 0;
  color: rgba(255, 255, 255, .85);
  font-size: 12px;
  line-height: 1.25;
}

.hint-icon {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .85);
}

.learn-card {
  min-height: 230px;
  padding: 20px 24px;
  background: #fff;
}

.learn-card h2 {
  margin: 0 0 16px;
  color: #09275f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
}

.learn-card ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.learn-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2e4975;
  font-size: 12px;
  font-weight: 700;
}

.learn-icon {
  width: 14px;
  height: 14px;
  margin-top: -2px;
  color: var(--gold);
  flex: 0 0 auto;
}

.learn-icon.icon {
  stroke-width: 2.6;
}

.reviews-faq {
  display: grid;
  grid-template-columns: 483px 1fr;
  gap: 20px;
  margin-top: 82px;
  align-items: start;
  min-width: 0;
}

.reviews,
.faq {
  min-width: 0;
}

.reviews h2,
.faq h2 {
  margin-bottom: 30px;
  text-align: left;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  min-width: 0;
  touch-action: pan-y;
}

.review-card {
  display: none;
  flex-direction: column;
  min-width: 0;
  min-height: 180px;
  padding: 14px 13px 12px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 53, 82, .08);
}

.review-card.is-visible {
  display: flex;
}

.stars {
  display: flex;
  gap: 2px;
  color: #d9a23b;
}

.star-icon {
  width: 12px;
  height: 12px;
}

.review-card p {
  margin: 10px 0 11px;
  color: #274573;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  flex: 1 1 auto;
}

.review-card strong {
  display: block;
  color: #09275f;
  font-size: 12px;
}

.review-card span {
  display: block;
  margin-top: 2px;
  color: #42608d;
  font-size: 12px;
}

.review-source {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 12px;
}

.review-source img {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.slider-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2px;
  max-width: 100%;
  margin-top: 6px;
}

.slider-dots button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.slider-dots button::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #b8c6da;
}

.slider-dots button.is-active::before {
  background: var(--blue-2);
}

.faq-list {
  overflow: hidden;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 53, 82, .08);
}

.faq-entry {
  border-bottom: 1px solid #e7edf6;
}

.faq-entry:last-child {
  border-bottom: 0;
}

.faq-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 44px;
  border: 0;
  padding: 0 13px;
  color: #183a72;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-text {
  padding-right: 10px;
}

.faq-toggle {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: var(--blue-2);
  flex: 0 0 auto;
}

.faq-toggle-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.faq-toggle-vertical {
  transition: opacity .18s ease;
}

.faq-item.is-open .faq-toggle-vertical {
  opacity: 0;
}

.contact-icon {
  width: 15px;
  height: 15px;
  color: var(--blue-2);
}

.faq-item.is-open {
  min-height: 46px;
  align-items: flex-start;
  padding-top: 8px;
  color: var(--blue);
  background: #f8fbff;
}

.faq-answer {
  padding: 0 38px 13px 13px;
  color: #2e4975;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 700;
  background: #f8fbff;
}

.contact-map {
  display: grid;
  grid-template-columns: minmax(410px, .95fr) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  margin-top: 64px;
  margin-bottom: 34px;
}

.contacts-card {
  min-height: 230px;
  padding: 18px 20px 16px;
  border: 1px solid #edf2f8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31, 53, 82, .08);
}

.contacts-card h2 {
  margin-bottom: 22px;
  font-size: 16px;
  text-align: left;
}

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

.contacts-grid p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: #17396f;
  font-size: 12px;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.contact-text {
  display: block;
  min-width: 0;
}

.contacts-grid strong {
  font-size: 12px;
}

.contacts-grid small {
  display: block;
  margin-top: 2px;
  color: #3e5a85;
  font-size: 12px;
  font-weight: 700;
}

.messengers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.messengers a {
  display: grid;
  place-items: center;
  min-height: 48px;
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.wa {
  background: #087a3d;
}

.tg {
  background: #075f8f;
}

.map-card {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  border: 1px solid #dfe7f4;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(230, 239, 250, .76)),
    url("yuriskonsult/barnaul.webp") center / cover no-repeat,
    #eef5fb;
  box-shadow: 0 5px 14px rgba(31, 53, 82, .08);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 290px;
  border: 0;
}

.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 290px;
  padding: 28px;
  text-align: center;
  background: rgba(245, 249, 253, .82);
}

.map-placeholder-pin {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  background: #062b68;
  box-shadow: 0 10px 18px rgba(6, 43, 104, .18);
}

.map-placeholder-pin .icon {
  width: 24px;
  height: 24px;
}

.map-placeholder strong {
  color: #08245a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.15;
}

.map-placeholder small {
  color: #395983;
  font-size: 13px;
}

.map-load-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 18px;
  border: 0;
  border-radius: 5px;
  color: #fff;
  background: #062b68;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.map-placeholder a {
  min-height: 28px;
  color: #0c3d92;
  font-size: 12px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.director-section {
  padding: 38px 0 34px;
  background:
    linear-gradient(180deg, #fff 0%, #f6f9fd 100%);
}

.director-inner {
  display: grid;
  grid-template-columns: 202px 1fr;
  gap: 24px;
  align-items: center;
  padding: 16px 22px 16px 16px;
  border-top: 2px solid var(--gold);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 43, 88, .1);
}

.director-photo {
  overflow: hidden;
  height: auto;
  aspect-ratio: 678 / 899;
  border-radius: 7px;
  background: #eaf0f7;
}

.director-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.director-quote {
  position: relative;
  margin: 0;
  padding: 0 0 0 40px;
  color: #0b2b63;
}

.director-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -16px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}

.director-quote p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 700;
}

.director-quote cite {
  display: block;
  margin-top: 12px;
  color: #123466;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.bankruptcy-guide {
  padding: 48px 0 64px;
  background:
    linear-gradient(180deg, #f6f9fd 0%, #f3f7fc 54%, #eef4fb 100%);
}

.bankruptcy-guide-inner {
  display: block;
}

.guide-copy {
  max-width: 760px;
  margin: 0 auto;
  color: #173765;
}

.guide-kicker {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
}

.guide-copy h2 {
  margin: 0 0 12px;
  color: #08245a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.15;
}

.guide-copy .guide-kicker + h2 {
  margin-bottom: 26px;
}

.guide-video {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 9 / 16;
  margin: 24px auto 30px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(rgba(6, 43, 104, .28), rgba(6, 43, 104, .46)),
    url("yuriskonsult/video-360.webp") center / cover no-repeat,
    #000;
  box-shadow: 0 12px 28px rgba(8, 36, 90, .16);
}

.guide-video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-video-play {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 158px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  color: #fff;
  background: rgba(6, 43, 104, .74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
  cursor: pointer;
}

.guide-video-play-icon {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: #fff;
  clip-path: polygon(35% 24%, 35% 76%, 78% 50%);
}

.guide-video-play span:last-child {
  font-size: 13px;
  font-weight: 900;
}

.guide-copy p + h2 {
  padding-top: 34px;
}

.guide-copy h3 {
  margin: 26px 0 10px;
  color: #0a2b66;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.18;
}

.guide-copy p + h3 {
  padding-top: 30px;
}

.guide-copy p {
  margin: 0;
  color: #294a77;
  font-size: 15px;
  line-height: 1.72;
}

.guide-copy p + p {
  margin-top: 14px;
}

.guide-copy h3 + p {
  margin-top: 0;
}

.site-footer {
  color: #fff;
  background: #05275d;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(190px, 1.2fr) minmax(180px, .9fr) minmax(160px, .8fr) minmax(210px, 1fr);
  gap: 30px;
  align-items: start;
  min-height: 127px;
  padding: 18px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.brand-footer strong,
.brand-footer small {
  color: #fff;
}

.brand-footer strong {
  font-size: 14px;
}

.brand-footer small {
  font-size: 12px;
}

.footer-brand p {
  margin: 8px 0 8px;
  color: #d9e4f8;
  font-size: 12px;
  line-height: 1.38;
}

.socials {
  display: flex;
  gap: 8px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
  transform: translateY(-1px);
}

.social-icon {
  width: 14px;
  height: 14px;
}

.social-brand-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 999px;
}

.footer-col h3,
.footer-contact h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
}

.footer-col a {
  display: block;
  margin-bottom: 5px;
  color: #e6edf9;
  font-size: 12px;
}

.footer-phone {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
}

.footer-phone-icon {
  width: 13px;
  height: 13px;
  margin-top: 2px;
}

.footer-phone small {
  color: #d7e4f8;
  font-size: 12px;
  font-weight: 600;
}

.footer-btn {
  display: grid;
  place-items: center;
  width: 183px;
  min-height: 39px;
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 4px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(190px, 1fr) minmax(150px, .8fr) minmax(190px, .9fr) minmax(260px, 1.3fr);
  gap: 30px;
  align-items: start;
  min-height: 52px;
  padding: 10px 0 16px;
  color: #d8e3f5;
  font-size: 12px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: #d8e3f5;
}

.footer-credit {
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #bfd0ee;
  font-size: 11px;
  line-height: 1.35;
  text-align: center;
}

.footer-credit .container {
  padding: 9px 0 11px;
}

.footer-credit a {
  color: #fff;
  font-weight: 800;
}

@media (max-width: 900px) {
  .container {
    width: min(852px, calc(100% - 32px));
  }

  .main-nav {
    position: absolute;
    top: calc(100% - 1px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 14px;
    border-top: 1px solid rgba(216, 226, 240, .72);
    background: rgba(251, 253, 255, .98);
    box-shadow: 0 16px 24px rgba(15, 43, 88, .12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.is-menu-open .main-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    display: block;
    width: min(852px, calc(100% - 32px));
    margin: 0 auto;
    padding: 12px 0;
    border-bottom: 1px solid rgba(223, 231, 244, .82);
    color: #08245a;
    font-size: 14px;
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

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

  .hero-team-picture,
  .hero-team {
    width: 100%;
    height: auto;
  }

  .stats-panel,
  .benefit-grid,
  .service-grid,
  .process-line,
  .calc-row,
  .reviews-faq,
  .contact-map,
  .footer-top,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .stats-panel {
    margin-top: 16px;
    padding: 0;
    overflow: hidden;
    border-radius: 12px;
  }

  .footer-top,
  .footer-bottom {
    gap: 16px;
  }

  .footer-col a {
    display: flex;
    align-items: center;
    min-height: 48px;
    margin-bottom: 0;
  }

  .socials a {
    width: 48px;
    height: 48px;
  }

  .social-brand-icon {
    width: 28px;
    height: 28px;
  }

  .stat-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-height: 74px;
    padding: 12px 18px;
    border-right: 0;
    border-bottom: 1px solid #d8e0ef;
  }

  .stat-icon {
    justify-self: center;
    width: 44px;
    height: 44px;
  }

  .stat-card > div {
    min-width: 0;
    font-size: 17px;
    line-height: 1.1;
  }

  .stat-card p {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.25;
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .process-line::before {
    display: none;
  }

  .map-card {
    width: 100%;
  }

  .director-inner {
    grid-template-columns: 170px 1fr;
  }

  .director-photo {
    height: auto;
  }
}

@media (max-width: 560px) {
  main,
  .container,
  .reviews-faq,
  .reviews,
  .faq,
  .review-grid,
  .review-card {
    max-width: 100%;
    min-width: 0;
  }

  body {
    font-size: 14px;
  }

  .container {
    width: calc(100% - 24px);
  }

  .header-inner {
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px 16px;
    padding: 12px 0;
  }

  .brand {
    min-width: 0;
  }

  .phone-link {
    min-width: 0;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
  }

  .phone-link > span {
    display: none;
  }

  .phone-link .phone-icon-wrap {
    display: grid;
  }

  .phone-link .phone-icon {
    animation: phone-ring 1.55s ease-in-out infinite;
    transform-origin: 50% 50%;
  }

  .phone-link .phone-icon-wrap::before {
    animation: phone-pulse 1.55s ease-out infinite;
    color: var(--blue-2);
  }

  .phone-link small {
    display: none;
  }

  .brand strong {
    font-size: 15px;
  }

  .hero {
    min-height: 0;
  }

  .hero-city {
    display: none;
  }

  .section,
  .services,
  .process {
    padding-top: 46px;
  }

  .section h2,
  .reviews h2,
  .faq h2,
  .contacts-card h2 {
    margin-bottom: 24px;
  }

  .process h2 {
    margin-bottom: 32px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-actions,
  .calc-fields,
  .calc-bottom,
  .review-grid,
  .contacts-grid,
  .messengers {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .messengers a {
    width: 100%;
  }

  .calc-card small {
    padding-left: 0;
  }

  .calc-row,
  .reviews-faq {
    margin-top: 64px;
  }

  .reviews {
    overflow: hidden;
  }

  .review-grid {
    width: 100%;
    overflow: hidden;
  }

  .review-card {
    width: 100%;
    contain: layout paint;
  }

  .review-card p,
  .review-card strong,
  .review-card span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .slider-dots {
    justify-content: flex-start;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    padding: 0 4px 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .slider-dots::-webkit-scrollbar {
    display: none;
  }

  .slider-dots button {
    flex: 0 0 48px;
  }

  .info-card,
  .learn-card li {
    min-width: 0;
  }

  .info-card {
    grid-template-columns: 42px 1fr;
    padding: 14px 16px;
  }

  .service-card {
    min-height: 136px;
    padding-right: 18px;
  }

  .contact-map {
    margin-top: 52px;
    margin-bottom: 16px;
  }

  .map-card {
    min-height: 290px;
  }

  .director-section {
    padding: 14px 0 18px;
  }

  .director-inner {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .director-photo {
    width: 100%;
    height: auto;
  }

  .director-quote {
    padding-left: 28px;
  }

  .director-quote p {
    font-size: 15px;
  }

  .bankruptcy-guide {
    padding: 36px 0 48px;
  }

  .guide-copy h2 {
    font-size: 24px;
  }

  .guide-copy p + h2 {
    padding-top: 26px;
  }

  .guide-copy .guide-kicker + h2 {
    margin-bottom: 22px;
  }

  .guide-video {
    width: min(100%, 330px);
    margin: 20px auto 26px;
  }

  .guide-copy h3 {
    margin: 22px 0 10px;
    font-size: 17px;
  }

  .guide-copy p + h3 {
    padding-top: 24px;
  }

  .guide-copy p {
    font-size: 14px;
    line-height: 1.66;
  }
}

@media (max-width: 420px) {
  .phone-link > span {
    display: none;
  }
}
