:root {
  --ink: #1f2524;
  --muted: #7f8380;
  --paper: #f7f3f0;
  --panel: #efefeb;
  --deep: #123638;
  --deep-2: #183d3f;
  --deep-3: #23494b;
  --mint: #c9d8d4;
  --line: rgba(18, 54, 56, 0.14);
  --white: #ffffff;
}

.justice-hp-field {
  left: -9999px;
  opacity: 0;
  position: absolute;
  top: auto;
}

.justice-form-message {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.modal-form .justice-form-message,
.consult-modal .justice-form-message {
  color: #26332d;
}

.justice-lead-form button[disabled] {
  opacity: 0.72;
  pointer-events: none;
}

html {
  max-width: 100%;
  scroll-behavior: auto;
  overflow-x: clip;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

body {
  max-width: 100%;
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Geologica", Arial, sans-serif;
  font-family: 'Google Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 0;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

main {
  position: relative;
  z-index: 1;
  background: var(--paper);
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

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

.page-shell {
  width: 100%;
  max-width: 1690px;
  padding-right: clamp(24px, 4.375vw, 84px);
  padding-left: clamp(24px, 4.375vw, 84px);
  min-width: 0;
}

.row,
[class*="col-"],
.navbar,
.navbar-collapse,
.header-contact,
.hero-copy,
.hero-foot,
.service-grid,
.service-card,
.mini-form,
.mini-form-main,
.mini-form-fields,
.faq-tabs,
.contact-card,
.section-contacts,
.footer-bottom {
  min-width: 0;
}

.btn {
  --bs-btn-border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 6px 6px 6px 18px;
  border: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-weight: 800;
}

.btn-large {
  min-height: 60px;
}

.btn-arrow > span[aria-hidden="true"],
.btn > span[aria-hidden="true"] {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  background-color: var(--deep);
  background-image: url("../images/btn-arrow-white-sm.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  transition: transform 0.28s ease, background-color 0.28s ease;
}

.btn-large > span[aria-hidden="true"],
.btn-large.btn-arrow > span[aria-hidden="true"] {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.btn-deep > span[aria-hidden="true"],
.btn-consult > span[aria-hidden="true"] {
  background-color: rgba(255, 255, 255, 0.16);
}

.btn-aspect {
  width: 48px;
  min-width: 48px;
  min-height: 48px;
  padding: 6px;
  aspect-ratio: 1;
  gap: 0;
  justify-content: center;
}

.btn-aspect.btn-large {
  width: 60px;
  min-width: 60px;
}

.btn-phone {
  font-size: 0;
  background-image: url("../images/icon-phone.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
}

.btn-phone:hover,
.btn-phone:focus-visible {
  background-image: url("../images/icon-phone.svg");
}

.btn-arrow:hover > span[aria-hidden="true"],
.btn:hover > span[aria-hidden="true"],
.btn-arrow:focus-visible > span[aria-hidden="true"],
.btn:focus-visible > span[aria-hidden="true"] {
  transform: rotate(45deg);
}

.btn-light {
  --bs-btn-color: var(--deep);
  --bs-btn-bg: #fff;
  --bs-btn-hover-color: var(--deep);
  --bs-btn-hover-bg: #edf3f1;
}

.btn-consult,
.btn-deep {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #0b2829;
}

.label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 18px;
  padding: 6px 13px;
  color: #6f817c;
  background: rgba(18, 54, 56, 0.07);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 100;
  line-height: 1;
  text-transform: uppercase;
}

.label-dark {
  color: var(--mint);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  padding: 160px 0;
}

.section-title {
  max-width: 680px;
  margin: 0 0 24px;
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: clamp(36px, 2.08vw, 52px);
  font-weight: 600;
  line-height: 1.08;
  text-transform: uppercase;
}

.muted {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.site-header {
  z-index: 1030;
  padding: 19px 0;
  color: #fff;
  transition: padding 0.25s ease, background 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  padding: 11px 0;
    background: linear-gradient(180deg, #031010, transparent);

  background: rgba(18, 54, 56, 0.56);

  backdrop-filter: blur(8px);
}

.navbar {
  padding: 0;
}

.navbar-brand {
  display: inline-flex;
  padding: 0;
}

.navbar-toggler {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 18px;
  height: 18px;
  filter: invert(1);
}

.navbar-nav {
  gap: 28px;
}

.nav-link {
  padding: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 16px;
  font-weight: 400;
}

.nav-link:hover,
.nav-link:focus {
  color: #fff;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
}

.header-contact > span {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.25);
}

.hero {
  min-height: 680px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64) 0%, rgba(11, 24, 25, 0.34) 45%, rgba(0, 0, 0, 0.2) 100%),
    var(--justice-hero-bg, url("../images/bg-hero.jpg")) center / cover no-repeat;
}

.hero-inner {
  min-height: 680px;
  min-height: 840px;
  padding-top: 145px;
  padding-bottom: 58px;
}

.hero h1 {
  margin: 0;
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: clamp(36px, 2.2vw, 94px);
  font-weight: 700;
  line-height: 0.98;
  text-transform: uppercase;
}

.hero .lead {
  max-width: 760px;
  margin: 10px 0 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(24px, 1.75vw, 36px);
  font-weight: 100;
  line-height: 1.5;
  text-transform: uppercase;
  font-family: "Ysabeau", "Geologica", sans-serif;
}

.hero-foot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.1fr;
  gap: 22px;
  margin-top: 80px;
  align-items: end;
}

.hero-foot article {
  max-width: 280px;
  color: rgba(255, 255, 255, 0.72);
}

.hero-foot article > img {
  width: 22px;
  height: 22px;
  margin-bottom: 14px;
  display: none;
}

.hero-foot h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  text-transform: uppercase;
}

.hero-foot h2::before {
  content: '';
  display: block;
  width: 28px;
  height:28px;
  background-size: contain;
  background-image: url(../images/check-yes-trnsp.svg);
  margin-bottom: 12px;
}

.hero-foot p,
.lawyer-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.lawyer-note {
  justify-self: end;
  width: min(100%, 360px);
  padding: 20px 20px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(28, 28, 28, 0.28);
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px) saturate(130%);
  backdrop-filter: blur(12px) saturate(130%);
  border-radius: 8px;
}
.lawyer-note span {
  color: #fff;
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 300;
  font-family: "Ysabeau", "Geologica", sans-serif;
}
.lawyer-note span,
.lawyer-note strong {
  display: block;
}

.lawyer-note strong {
  margin-top: 5px;
  color: #fff;
  font-weight: 500;
  font-size: 17px;
}

.lawyer-note span {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}

.services {
  background: var(--paper);
}

.services .col-lg-4 {
  position: sticky;
  top: 104px;
  align-self: flex-start;
}

.client-proof {
  margin-top: 210px;
}

.avatars {
  display: flex;
  margin-bottom: 12px;
}

.avatars img {
  width: 42px;
  height: 42px;
  margin-right: -10px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
}

.client-proof p {
  max-width: 300px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

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

.service-card {
  position: relative;
  min-height: 460px;
  padding: 30px 30px 28px;
  overflow: visible;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.service-card:nth-child(even) {
  transform: translateY(76px);
}

.clip {
  position: absolute;
  top: -11px;
  right: 16px;
  width: 20px;
  height: 50px;
  object-fit: contain;
}

.service-card h3 {
  max-width: 100%;
  min-height: 64px;
  margin: 0 0 22px;
  color: var(--deep);
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: clamp(25px, 1.68vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}

.service-card p {
  min-height: 110px;
  margin: 0;
  color: #787f7d;
  font-size: 17px;
  line-height: 1.58;
}

.service-card ul {
  display: grid;
  gap: 7px;
  min-height: 136px;
  margin: 22px 0 22px;
  padding: 17px 19px;
  color: #5c6764;
  background: #f0f3f1;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.42;
  list-style: none;
}

.service-card li::before {
  content: "[";
  margin-right: 10px;
  color: var(--deep);
  font-weight: 600;
}

.service-card .btn {
  min-height: 48px;
  padding: 6px 6px 6px 18px;
  font-size: 14px;
}

.about {
  padding-top: 120px;
  background: #f0ebe6;
}

.about-title {
  max-width: 760px;
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.44;
}

.stats {
  margin-top: 60px;
}

.stats article {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.stats strong,
.stats span {
  display: block;
}

.stats strong {
  margin: 20px 0 8px;
  color: var(--deep);
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
}

.stats span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.steps {
  position: relative;
  padding: 82px 0 90px;
  overflow: hidden;
  color: #fff;
  background-color: var(--deep);
}

.steps::before {
  position: absolute;
  inset: 0;
  content: "";
  background: url("../images/bg-steps.svg") center top / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.steps > .page-shell {
  position: relative;
  z-index: 1;
}

.steps-intro {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.75;
}

.steps-list {
  display: grid;
  gap: 13px;
}

.step-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  padding: 27px 31px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 4px;
}

.step-card span {
  color: rgba(255, 255, 255, 0.25);
  font-family: "Geologica", Arial, sans-serif;
  font-family: 'Google Sans', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
}

.step-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 400;
  text-transform: uppercase;
  font-family: "Ysabeau", "Geologica", sans-serif;
}

.step-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 16px;
  line-height: 1.58;
}

.mini-form {
  display: flex;
  grid-template-columns: minmax(480px, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  margin-top: 47px;
  padding: 28px;
  color: var(--ink);
  background: #fff;
  border-radius: 4px;
}

.mini-form-main {
  display: flex;
  flex-direction: column;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.mini-form-main .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.mini-form-head {
  grid-column: 1 / -1;
  align-self: center;
}

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

.cta-tags {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18px;
  background: #f3f5f4;
  border-radius: 6px;
}

.cta-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  color: #6a7370;
  background: #fff;
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.2;
}

.mini-form h3 {
  margin: 0 0 5px;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
}

.mini-form p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

input {
  width: 100%;
  min-height: 42px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  outline: 0;
}

.faq {
  background: var(--paper);
}

.faq-title {
  margin: 0 0 24px;
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: clamp(28px, 2.08vw, 52px);
  font-weight: 600;
  text-transform: uppercase;
}

.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.faq-tabs a {
  min-height: 28px;
  padding: 6px 18px;
  color: var(--deep);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  font-size: 14px;
  text-transform: uppercase;
}

.faq-tabs .active {
  color: #fff;
  background: var(--deep);
}

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

.faq-panel {
  display: none;
}

.faq-panel.active {
  display: grid;
}

.accordion-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.accordion-button {
  min-height: 54px;
  padding: 15px 22px;
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--ink);
  background: #fff;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-body {
  padding: 0 22px 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.ask-card {
  margin-top: 72px;
  padding: 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.ask-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

.ask-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.ask-card .btn {
  margin-top: 22px;
}

.contact {
  padding: 74px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 54, 56, 0.92) 0%, rgba(18, 54, 56, 0.58) 52%, rgba(18, 54, 56, 0.14) 100%),
    url("../images/bg-cta-bottom.jpg") center / cover no-repeat;
}

.contact-card {
  max-width: 650px;
  padding: 10px;
}

.contact-card h2 {
  max-width: 680px;
  margin: 0 0 16px;
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: clamp(36px, 2.08vw, 52px);
  font-weight: 600;
  line-height: 1.05;
  text-transform: uppercase;
}

.contact-card p {
  max-width: 470px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.7;
}

.contact-card form {
  display: grid;
  gap: 12px;
  max-width: 430px;
  margin-top: 26px;
}

.contact-card label {
  color: #fff;
}

.contact-card input {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.24);
}

.contact-card input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.contact-card .btn {
  justify-self: start;
  margin-top: 10px;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
}

.messengers span {
  flex-basis: 100%;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.site-footer {
  position: sticky;
  bottom: 0;
  z-index: 0;
  padding: 47px 0 25px;
  color: rgba(255, 255, 255, 0.62);
  background: #202220;
}

.consult-modal .modal-dialog {
  max-width: 600px;
}

.consult-modal .modal-content {
  position: relative;
  padding: 10px;
  color: var(--ink);
  background: #fff;
  border: 0;
  border-radius: 12px;
}

.consult-modal .modal-body {
  padding: 34px;
}

.consult-modal h2 {
  max-width: 430px;
  margin: 0 0 10px;
  color: var(--deep);
  font-family: "Ysabeau", "Geologica", sans-serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.consult-modal p:not(.label) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

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

.modal-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  background: var(--deep);
  border: 0;
  border-radius: 50%;
}

.modal-close::before,
.modal-close::after {
  position: absolute;
  top: 16px;
  left: 9px;
  width: 16px;
  height: 1px;
  content: "";
  background: #fff;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.site-footer p {
  max-width: 260px;
  margin: 24px 0 12px;
  font-size: 15px;
  line-height: 1.65;
}

.site-footer a {
  display: block;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.footer-socials a {
  margin: 0;
}


.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
}

.footer-bottom a {
  margin: 0;
  font-size: 14px;
}

.reveal {
  will-change: opacity, transform;
}



@media (max-width: 1199.98px) {
  .hero-foot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lawyer-note {
    display: none;
  }

  .mini-form {
    grid-template-columns: 1fr;
  }
  .navbar-nav {
    gap: 0px;
  }
  .btn {
    font-size: 14px;
  }
  .section-title {
    font-size: clamp(28px, 2.08vw, 52px);
  }
  .stats {
      margin-top: 30px;
  }
  .nav-link {
    font-size: 13px;
    font-family: "Geologica", Arial, sans-serif;
    text-transform: none;
    font-weight: 400;
  }
  .header-contact {
    font-size: 14px;
  }

}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-toggler {
        display: none!important;
    }
}
@media (max-width: 991.98px) {
  .site-header {
    padding: 12px 0;
    background:
      linear-gradient(120deg, rgba(18, 54, 56, 0.86), rgba(18, 54, 56, 0.42)),
      radial-gradient(circle at 100% 0%, rgba(201, 216, 212, 0.22), transparent 42%);
    backdrop-filter: blur(22px) saturate(150%);
  }

  .site-header.is-scrolled,
  .site-header.menu-open {
    background:
      linear-gradient(120deg, rgba(18, 54, 56, 0.9), rgba(18, 54, 56, 0.5)),
      radial-gradient(circle at 100% 0%, rgba(201, 216, 212, 0.24), transparent 45%);
    backdrop-filter: blur(24px) saturate(150%);
  }

  .navbar-collapse {
    padding: 24px 16px 24px;
  }

  .navbar-nav,
  .header-contact {
    align-items: flex-start;
  }

  .navbar-nav {
    gap: 12px;
    margin-bottom: 24px;
  }
  .header-contact-phone {
    display: block;
    width: 100%;
    font-size: 24px;
  }
  .btn-w100 {
    width: 100%;
  }

  .btn-mobile-menu {
    border-radius: 100px;
    background-color: #fff;
    width: auto!important;
    padding: 0px 16px;
  }

  .btn-mobile-menu.btn-phone {
    background-image: url("../images/icon-phone.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
  }

  .nav-link {
    font-size: 18px;
    font-family: "Ysabeau", "Geologica", sans-serif;
    text-transform: uppercase;
    font-weight: 700;
  }
  .btn-aspect {
    aspect-ratio: 1;
  }

  .navbar-toggler {
    width: auto;
    height: auto;
    padding: 0;
    border: 0px;
    border-radius:none;
    gap:8px;
  }

  .header-contact {
    flex-wrap: wrap;
    gap: 22px;
  }

  .header-contact > span {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 640px;
  }

  .hero-inner {
    padding-top: 126px;
  }

  .hero-foot {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 58px;
  }

  .client-proof {
    margin-top: 32px;
  }

  .services .col-lg-4 {
    position: static;
  }

  .service-card:nth-child(even) {
    transform: none !important;
  }
  .avatars img {
    width: 72px;
    height: 72px;
  }

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

  .mini-form-head {
    grid-row: auto;
  }

  .mini-form .btn {
    grid-column: auto;
  }

  .about {
    padding-top: 80px;
  }

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

  .ask-card {
    margin-top: 0;
  }
}

@media (max-width: 767.98px) {
  .page-shell {
    padding-right: 12px;
    padding-left: 12px;
    overflow-x: clip;
  }

  .page-shell > .row,
  .page-shell .row {
    --bs-gutter-x: 0;
  }

  .row,
  [class*="col-"],
  .navbar,
  .navbar-collapse,
  .navbar-toggler,
  .header-contact,
  .hero-copy,
  .hero-foot,
  .service-grid,
  .service-card,
  .mini-form,
  .mini-form-main,
  .mini-form-fields,
  .faq-tabs,
  .contact-card,
  .section-contacts,
  .footer-bottom {
    min-width: 0;
    max-width: 100%;
  }

  .section {
    padding: 62px 0;
  }

  .section-title,
  .contact-card h2 {
    font-size: 28px;
  }

  .hero {
    background-position: 61% center;
    background: linear-gradient(359deg, rgba(0, 0, 0, 0.64) 0%, rgba(11, 24, 25, 0.34) 45%, rgba(0, 0, 0, 0.2) 100%), var(--justice-hero-bg, url(../images/bg-hero.jpg)) center / cover no-repeat;
  }

  .hero,
  .hero-inner {
    min-height: 800px;
    background-position: 86%;
  }

  .hero-inner {
    padding-top: 118px;
    padding-bottom: 34px;
  }

  .hero .lead {
    font-size: 19px;
    margin: 10px 0 12px;
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 24px;
  }

  .hero-foot article {
    max-width: 280px;
    max-width: 100%;
    padding-left: 36px;
    display: flex;
  }
  .hero-foot h2 {
    margin: 0;
  }
  .hero-foot h2::before {
    width: 22px;
    height: 22px;
    background-size: contain;
    background-image: url(../images/check-yes-trnsp.svg);
    left: 0;
    position: absolute;
  }

  .hero-foot p {
    display: none;
  }
  .label {
    font-size: 12px;
    font-weight: 100;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-card {
    min-height: auto;
    padding: 26px 22px;
    transform: none !important;
  }

  .service-card h3,
  .service-card p,
  .service-card ul {
    min-height: 0;
  }

  .service-card h3 {
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
  }

  .service-card p {
    font-size: 14px;
  }

  .service-card ul {
    margin: 20px 0;
  }

  .about-title {
    font-size: 20px;
  }

  .step-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }
  .step-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 400;
    text-transform: uppercase;
  }

  .mini-form {
    grid-template-columns: 1fr;
    padding: 24px;
  }

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

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

  .site-footer {
    position: relative;
  }

  .faq-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    flex-direction: column;
  }

  .faq-tabs a {
    flex: 0 0 auto;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }

  .hero .lead {
    font-size: 18px;
  }

  .btn {
    width: 100%;
    justify-content: space-between;
  }

  .btn-aspect {
    width: 48px;
    min-width: 48px;
  }

  .btn-large {
    min-height: 54px;
  }

  .btn > span[aria-hidden="true"],
  .btn-arrow > span[aria-hidden="true"],
  .btn-large > span[aria-hidden="true"],
  .btn-large.btn-arrow > span[aria-hidden="true"] {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .header-contact .btn {
    width: auto;
  }

  .messengers .btn,
  .footer-socials a,
  .messengers a {
    width: auto;
  }
}
