
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/intervariable.woff2") format("woff2");
}
@font-face {
  font-family: Onder;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/onder-regular.woff2) format("woff2"), url("../fonts/onder-regular.woff") format("woff");
}
:root {
  --container-width: 1440px;
  --container-padding: 25px;
  --container-padding-ph: 10px;
  --font-main: Inter, sans-serif;
  --font-title: Onder;
  --none-color: transparent;
  --white: rgba(255, 255, 255, 1);
  --black: rgba(12, 12, 12, 1);
  --white-add: rgba(246, 246, 246, 1);
}

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

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

html {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
}
body::-webkit-scrollbar{
    width: 4px; 
    background-color: var(--white-add);
}
body::-webkit-scrollbar-thumb{
    border-radius: 8px;
    background-color: var(--black);
}

header, section, main, footer {
  width: 100%;
}

ul, ol, h1, h2, h3, h4, h5, h6, p {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
}
a:focus-visible:not(:active), a:focus:not(:active) {
  outline: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  line-height: 0;
  font-size: 0;
}

svg {
  width: 100%;
  height: 100%;
  font-size: 0;
}

address {
  font-style: normal;
}

input,
textarea {
  outline: none;
  border: none;
}

button {
  display: block;
  padding: 0;
  outline: none;
  border: none;
  background-color: transparent;
  cursor: pointer;
}
button:focus-visible:not(:active), button:focus:not(:active) {
  outline: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

input[type=number] {
  -moz-appearance: textfield;
}

html.pre-hidden {
  padding-right: 4px;
  overflow-y: hidden !important;
}
@media (max-width: 1360px) {
  html.pre-hidden {
    padding-right: 0;
  }
}
html.mod-open {
  padding-right: 4px;
  overflow-y: hidden !important;
}
@media (max-width: 1360px) {
  html.mod-open {
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  html.menu-open,
  body.menu-open {
    overflow: hidden;
  }
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  line-height: 1.3;
  font-size: 16px;
  color: var(--text-color);
  background-color: var(--page-color);
}

.section {
  position: relative;
  margin-bottom: 70px;
}

.section-inv {
  position: relative;
  padding-top: 70px;
  padding-bottom: 70px;
  background-color: var(--bg-color);
}
@media (max-width: 767px) {
  .section-inv {
    padding-top: 35px;
    padding-bottom: 35px;
  }
}

.container {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--container-width);
  width: 100%;
}
@media (max-width: 1440px) {
  .container {
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
  }
}
@media (max-width: 767px) {
  .container {
    padding-left: var(--container-padding-ph);
    padding-right: var(--container-padding-ph);
  }
}

.content-wrap-inner {
  max-width: 80%;
}
@media (max-width: 767px) {
  .content-wrap-inner {
    max-width: 100%;
  }
}

.title-1 {
  font-weight: 700;
  font-size: 55px;
  line-height: 1.2;
}
@media (max-width: 991px) {
  .title-1 {
    font-size: 40px;
  }
}
@media (max-width: 767px) {
  .title-1 {
    font-size: 32px;
  }
}

.title-2 {
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--text-color);
}
@media (max-width: 767px) {
  .title-2 {
    margin-bottom: 24px;
    font-size: 24px;
  }
}

.title-3 {
  margin-bottom: 12px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--text-color);
}

.title-3-inv {
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--text-color);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.none {
  display: none !important;
}

.border-radius {
  border-radius: 20px;
}

.logo {
  position: relative;
  display: flex;
  font-size: 0;
  flex-shrink: 0;
  transition: opacity 0.2s linear;
}
.logo_ph {
  display: none;
}
@media (max-width: 767px) {
  .logo_ph {
    display: flex;
  }
}
@media (hover: hover) {
  .logo:hover {
    opacity: 0.7;
  }
}
.logo__img {
  width: 100%;
  height: 100%;
  font-size: 0;
  transition: opacity 0.2s linear;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 350px;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
.gallery li:not(:last-child) {
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 767px) {
  .gallery {
    grid-auto-rows: 40vh;
    grid-template-columns: 1fr;
  }
}
.gallery__item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}
.gallery__link {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
.gallery__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  background-color: rgba(244, 96, 70, 0.4);
  opacity: 0;
  transform: translate(-100px, 100px);
  transition: opacity 0.2s linear, transform 0.2s linear;
}
@media (max-width: 767px) {
  .gallery__link::before {
    border-radius: 20px;
  }
}
@media (hover: hover) {
  .gallery__link:hover:hover::before {
    opacity: 1;
    transform: translate(0);
  }
  .gallery__link:hover:hover .gallery__img {
    transform: scale(1.1);
  }
}
.gallery__img {
  position: relative;
  max-width: 100%;
  width: 100%;
  min-height: 100%;
  object-fit: cover;
  transition: transform 0.2s linear;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 991px) {
  .grid-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
.grid-list__item-link {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (hover: hover) {
  .grid-list__item-link:hover:not(.grid-list__item-link_disabled) .grid-list__item-link-text {
    color: var(--accent-color);
  }
}
.grid-list__item-link:focus-visible:not(:active):not(.grid-list__item-link_disabled) .grid-list__item-link-text, .grid-list__item-link:focus:not(:active):not(.grid-list__item-link_disabled) .grid-list__item-link-text {
  color: var(--accent-color);
}
.grid-list__item-link:active:not(.grid-list__item-link_disabled) .grid-list__item-link-text {
  color: var(--active-color);
}
.grid-list__item-link_disabled .grid-list__item-link-text {
  color: #B2B5C2;
}
.grid-list__item-link-img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}
.grid-list__item-link-text {
  font-weight: 600;
  line-height: 100%;
  transition: color 0.2s linear;
}
@media (max-width: 767px) {
  .grid-list__item-link-text {
    font-size: 16px;
  }
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  width: 100%;
  height: 100%;
  opacity: 1;
  background-color: white;
  transition: opacity 0.3s linear;
}
.preloader__wrapper {
  width: 40px;
  height: 40px;
  opacity: 0.75;
  animation: clockwise 500ms linear infinite;
}
.preloader.hidden {
  animation: fadeOut 1s;
  animation-fill-mode: forwards;
  z-index: -10;
}
.preloader__item-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 40px;
  overflow: hidden;
}
.preloader__item {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  width: 40px;
  height: 40px;
  border: 4px solid var(--black);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
  transition: 0.2s ease-in-out all;
}

@keyframes clockwise {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes donut-rotate {
  0% {
    transform: rotate(0);
  }
  50% {
    transform: rotate(-140deg);
  }
  100% {
    transform: rotate(0);
  }
}
@keyframes fadeOut {
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes opacity {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.scroll-top {
  position: fixed;
  z-index: 30;
  right: 15px;
  bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border: 1px solid rgb(94, 94, 94);
  border-radius: 100%;
  background-color: var(--white-add);
  opacity: 0;
  visibility: hidden;
  transition: background-color 0.2s linear, opacity 0.2s linear, visibility 0.2s linear, transform 0.3s linear;
}
.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .scroll-top {
    right: 12px;
    bottom: 20px;
    width: 40px;
    height: 40px;
  }
}
@media (hover: hover) {
  .scroll-top:hover {
    background-color: var(--active-color);
  }
}
.scroll-top:focus-visible:not(:active), .scroll-top:focus:not(:active) {
  background-color: var(--active-color);
}
.scroll-top:active {
  transform: scale(0.94);
}
.scroll-top__icon {
  width: 20px;
  height: 20px;
  fill: var(--page-color);
  transform: rotateX(180deg);
}

.hero {
  background: url("../src/img/adv-hero.webp") center no-repeat;
  height: 940px;
  background-size: cover;
  background-color: rgba(0, 0, 0, .18);
  background-blend-mode: multiply;
}
.hero .base-button {
  margin-top: 48px;
}
@media (max-width: 1199px) {
  .hero {
    background-position: right;
    height: 750px;
  }
}
@media (max-width: 767px) {
  .hero {
    height: 650px;
    transform: translateY(-2px);
    margin-top: 54px;
  }
}

.h1 {
  font-family: Onder;
  font-weight: 500;
  font-size: 25px;
  line-height: 1.8;
  letter-spacing: -1px;
  text-align: center;
  color: var(--white);
  margin-top: 322px;
}
@media (max-width: 767px) {
  .h1 {
    font-size: 12px;
    overflow-wrap: break-word;
    margin-top: 250px;
  }
}

.h1-subtitle {
  font-size: 16px;
  letter-spacing: 1.7px;
}
@media (max-width: 767px) {
  .h1-subtitle {
    font-size: 10px;
  }
}

.base-button {
  padding: 22px 36px;
  width: fit-content;
  /* height: 64px; */
  font-family: Inter;
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
  border-radius: 20px;
  display: flex;
  transition: 0.3s ease-in-out all;
}
@media (max-width: 768px){
    .base-button{
        padding: 18px 28px; 
        /* height: 40px; */
        /* display: flex; */
        /* align-items: center; */
        /* justify-content: center; */
    }

}
.base-button:hover {
  opacity: 0.7;
}

.center {
  margin: 0 auto;
}

.right {
  margin-right: 0;
  margin-left: auto;
}

.white {
  background-color: var(--white);
  color: var(--black);
}

.black {
  background-color: var(--black);
  color: var(--white);
}

.header {
  position: absolute;
  top: 32px;
}
.header-type{
    position: static;
    margin-top: 32px;
}
.header-type .content{
    background-color: rgb(0 0 0 / 1) !important;
}
.main{
    margin-top: 90px;
}

.main .content p{
    margin: 20px 0;
}
.main .content p:first-child{
    margin-top: 0;
}
.main .content p:last-child{
    margin-bottom: 0;
}
.main .content h2,
.main .content h3{
    margin-top: 30px;
}
.main .content ul li{
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}
.main .content ul li:last-child{
    margin-bottom: 0;
}
.main .content ul li:before{
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 0;
    background: var(--black);
}
.main .content h3{
    font-size: 24px;
}

@media(max-width: 768px){
    .header-type{
        position: static;
        margin-top: 0px;
    }
    .header:not(.header-type){
        /* top: 5px; */
        /* position: static; */
        /* padding: 15px 0; */
        position: absolute;
        padding: 0;
        top: 0;
        left: 0;
        width: 100%;
        background-color: rgb(0 0 0 / 0.8) !important;
    }
    .header .container{
        padding: 0;
    }
    .header .content{
        background-color: rgb(0 0 0 / 1) !important;
    }
}
.header .content {
  background: rgba(0, 0, 0, 0.01);
  backdrop-filter: blur(50px);
  border-radius: 20px;
  padding: 26px 94px;
  width: 100%;
  min-height: 100px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1199px) {
  .header .content {
    padding: 26px 20px;
  }
}
@media (max-width: 767px) {
  .header .content {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 0 0 20px 20px;
  }
}

.logo-container {
  display: flex;
  align-items: center;
  font-family: Onder;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.8;
  color: var(--white);
  gap: 12px;
  transition: 0.3s ease-in-out all;
}
.logo-container:hover{
    opacity: 0.7;
}
.logo-container img {
  width: 40px;
  height: 42px;
  object-fit: cover;
}

.header-contacts_address {
  display: flex;
  max-width: 678px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
@media (max-width: 1199px) {
  .header-contacts_address {
    gap: 20px;
    justify-content: end;
    width: fit-content;
  }
}
@media (max-width: 767px) {
  .header-contacts_address {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  .logo-container{
      font-size: 8px;
      width: max-content;
  }
}

.contacs-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header-address {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--white);
  letter-spacing: 0;
}
@media (max-width: 768px){
    .header-address{
        font-size: 13px;
    }
    .contacs-container{
        align-items: center;
        gap: 6px;
    }
}

.contact-link {
  display: flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0;
  color: var(--white);
  transition: 0.3s ease-in-out all;
}
@media (max-width: 768px){
    .contact-link{
        font-size: 13px;
    }
}
a.contact-link {
  position: relative;
  text-decoration: none;
  color: var(--white);
}

a.contact-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;      /* отступ от текста */
  height: 1px;         /* толщина линии */
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;  /* из центра: center */
  transition: transform .3s ease-in-out;
}

a.contact-link:hover::after,
a.contact-link:focus-visible::after {
  transform: scaleX(1);
}
.contact-link img {
  min-width: 20px;
  height: 20px;
}

.have-case {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .have-case {
    margin-top: 60px;
  }
}
.have-case .content {
  border-radius: 20px;
  background-color: var(--white-add);
  padding: 64px;
  display: flex;
}
@media (max-width: 1199px) {
  .have-case .content {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .have-case .content {
    padding: 56px 14px;
  }
}
.have-case ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.have-case ul li {
  display: flex;
  align-items: center;
  gap: 16px;
}
.have-case ul li::before {
  content: "";
  display: block;
  width: 7px;
  height: 1px;
  background-color: black;
}

.have-case__image {
  max-height: 100%;
  object-fit: cover;
  width: 523px;
  margin-left: 72px;
  border-radius: 20px;
}
@media (max-width: 1199px) {
  .have-case__image {
    max-width: 50%;
    margin: 0 auto;
    margin-top: 32px;
  }
}
@media (max-width: 767px) {
  .have-case__image {
    display: none;
    max-width: 100%;
  }
}

.have-case__content {
  width: 100%;
}

.section-title {
  font-family: Onder;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 1px;
  line-height: 1.8;
  color: var(--black);
}
@media (max-width: 767px) {
  .section-title {
    font-size: 14px;
    text-align: center;
  }
}

.mb1 {
  margin-bottom: 9px;
}

.mb2 {
  margin-bottom: 24px;
}

.mb3 {
  margin-bottom: 32px;
}

.mb4 {
  margin-bottom: 64px;
}

.text-subtitle {
  font-family: Inter;
  font-weight: 300;
  font-size: 20px;
  /* line-height: 1.1; */
  color: var(--black);
  /* letter-spacing: 0.4px; */
}

.text-subtitle_normal {
  font-weight: 400;
}

.text-subtitle_big {
  font-weight: 500;
  font-size: 24px;
}

.text-default {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.3;
  color: var(--black);
}

.text-white {
  color: var(--white);
}

.bold {
  font-weight: 600;
}

.text-center {
  text-align: center;
}

.have-case__button {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 100%;
  padding: 12.5px 36px;
  background-color: var(--white);
  border-radius: 20px;
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--black);
  width: fit-content;
  margin-left: auto;
  margin-right: 0;
  transition: 0.3s ease-in-out all;
}
.have-case__button:hover {
  opacity: 0.7;
}
@media (max-width: 767px) {
  .have-case__button {
    margin: auto;
  }
  .text-subtitle{
      font-size: 18px;
  }
  
    .mb1 {
      margin-bottom: 6px;
    }
    
    .mb2 {
      margin-bottom: 18px;
    }
    
    .mb3 {
      margin-bottom: 26px;
    }
    
    .mb4 {
      margin-bottom: 44px;
    }
}

.have-case__call-container {
  background-color: var(--black);
  padding: 15.5px 20.5px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  font-family: Inter;
  font-weight: 300;
  font-size: 20px;
  color: var(--white);
  max-width: 615px;
}
@media (max-width: 767px) {
  .have-case__call-container {
    gap: 18px;
    flex-direction: column;
    padding: 22px 20px 28px;
    font-size: 18px;
  }
}
@media (max-width: 490px) {
  .have-case__call-container {
    text-align: center;
  }
}

.about-lawyer {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .about-lawyer {
    margin-top: 60px;
  }
}
.about-lawyer .content {
  background-color: var(--white-add);
  border-radius: 20px;
  padding: 64px;
  display: flex;
}
@media (max-width: 1199px) {
  .about-lawyer .content {
    flex-direction: column;
    gap: 32px;
  }
}
@media (max-width: 767px) {
  .about-lawyer .content {
    padding: 56px 14px;
  }
}

.lawyer-image {
  max-width: 523px;
  max-height: 100%;
  object-fit: cover;
  border-radius: 20px;
  margin-right: 67px;
}
@media (max-width: 1199px) {
  .lawyer-image {
    max-width: 50%;
    margin: 0 auto;
  }
}
@media (max-width: 767px) {
  .lawyer-image {
    max-width: 100%;
    height: 450px;
    margin: 0;
  }
}

.text-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 45px;
  margin-top: 43px;
}

.lawyer-note {
  border-radius: 20px;
  background-color: rgb(235, 235, 235);
  padding: 20px 27px;
  max-width: 470px;
  margin-top: 36px;
  line-height: 1.4;
}

.lawyer-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lawyer-item img {
  min-width: 24px;
  height: 24px;
}

.social-widget {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 10;
}
@media (max-width: 768px){
    .social-widget{
        top: unset;
        bottom: 80px;
        right: 10px;
        transform: translateY(0px);
    }
    .lawyer-item {
        align-items: flex-start;
    }
    .lawyer-item img{
        margin-top: 4px;
    }
}
.social-item {
  width: 44px;
  height: 44px;
  border: 1px solid rgb(191, 191, 191);
  background-color: rgba(102, 102, 102, 0.5);
  backdrop-filter: blur(30px);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 7px;
  transition: 0.3s ease-in-out all;
}
.social-item:hover {
  opacity: 0.7;
}
.social-item img {
  width: 26px;
  height: 26px;
}

.work-stages {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .work-stages {
    margin-top: 60px;
  }
}

.service-cost {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .service-cost {
    margin-top: 60px;
  }
}

.service-cost__note {
  border-radius: 20px;
  background-color: var(--white-add);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 400;
}
@media (max-width: 767px) {
  .service-cost__note {
    padding: 20px;
    font-size: 18px;
  }
}

.have-question {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .have-question {
    margin-top: 60px;
  }
}

.have-question__content {
  margin: 0 auto;
  padding: 40.5px 0;
  background-color: var(--black);
  border-radius: 20px;
  max-width: 923px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 41px;
}
@media (max-width: 1199px) {
  .have-question__content {
    padding: 22px 20px 28px;
  }
}
.have-question__content .base-button {
  width: 305px;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}
@media (max-width: 374px) {
  .have-question__content .base-button {
    width: auto;
  }
}

.cost-cotnainer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
@media (max-width: 991px) {
  .cost-cotnainer {
    justify-content: space-evenly;
  }
}

.cost-item {
  width: calc((100% - 40px) / 3);
  background-color: var(--black);
  border-radius: 20px;
  height: 208px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
@media (max-width: 1199px) {
  .cost-item {
    padding: 16px;
  }
}
@media (max-width: 991px) {
  .cost-item {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 767px) {
  .cost-item {
    width: 100%;
    height: 135px;
  }
}

.myth {
  margin-top: 120px;
  background-color: var(--white-add);
  position: relative;
  overflow: hidden;
}
@media (max-width: 767px) {
  .myth {
    margin-top: 60px;
  }
}
.myth .content {
  padding: 64px 0;
}
@media (max-width: 1199px) {
  .myth .content {
    padding: 56px 20px;
  }
}
@media (max-width: 767px) {
  .myth .content {
    padding: 56px 14px;
  }
}
.myth::before {
  content: "?";
  font-family: Onder;
  font-size: 236px;
  position: absolute;
  color: var(--white);
  top: 54px;
  left: -30px;
  line-height: 1;
  transform: scaleX(-1);
  rotate: 330deg;
}
@media (max-width: 767px) {
  .myth::before {
    font-size: 120px;
  }
}
.myth::after {
  content: "?";
  font-family: Onder;
  font-size: 236px;
  position: absolute;
  color: var(--white);
  right: 0;
  top: 50%;
  rotate: 330deg;
}
@media (max-width: 767px) {
  .myth::after {
    font-size: 120px;
  }
}

.link-center {
  display: flex;
  justify-content: center;
}

.underline {
  text-decoration: underline;
}

.contacts {
  background-color: var(--white-add);
  padding-top: 64px;
  padding-bottom: 42px;
  margin-top: 136px;
}
.contacts .content {
  display: flex;
}
@media (max-width: 1199px) {
  .contacts .content {
    gap: 20px;
    flex-direction: column;
  }
}
.contacts iframe {
  max-width: 733px;
  margin-left: auto;
  border-radius: 20px;
}
@media (max-width: 1199px) {
  .contacts iframe {
    max-width: 100%;
  }
}
@media (max-width: 767px) {
    .contacts{
        text-align: center;
        margin-top: 64px;
        padding-top: 56px;
    }
    .contacts .content{
        gap: 40px;
    }
    .contacts .text-subtitle{
        width: 100%;
        justify-content: center;
    }
    .contact__soc-container{
        justify-content: center;
    }
    .contacts iframe {
        height: 350px;
    }
    .contacts-container{
        margin-top: 0;
    }
}

.contacts-left {
  max-width: 600px;
  display: flex;
  flex-direction: column;
}


.contacts-container {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}
@media (max-width: 1199px) {
  .contacts-left {
    max-width: 100%;
  }
  .contacts-container{
      margin-top: 32px;
  }
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact__soc-container {
  display: flex;
  gap: 16px;
}
.contact__soc-container a {
  transition: 0.3s ease-in-out all;
}
.contact__soc-container a:hover {
  opacity: 0.5;
}
.contact__soc-container img {
  min-height: 37px;
  height: 37px;
}

.footer {
  padding: 34px 0;
}
.footer .content {
  display: flex;
  justify-content: space-between;
}
@media (max-width: 1199px) {

  .footer .content {
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 12px;
  }
}
@media (max-width: 767px) {
  .footer .content {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
}

.copyright {
  font-family: Inter;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  color: var(--black);
}
@media (max-width: 399px) {
  .copyright {
    text-align: center;
    font-size: 14px;
  }
}
.myth a.text-default{
    margin-left: auto;
    margin-right: auto;
    text-decoration: underline;
    transition: 0.3s ease-in-out all;
}
.myth a.text-default:hover{
    opacity: 0.6;
}
a.copyright, a.text-default {
  position: relative;
  text-decoration: none;
  color: inherit;
  display: flex;
  width: fit-content;
}

a.copyright::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;          /* расстояние от текста */
  height: 1px;             /* толщина линии */
  background: currentColor;/* цвет как у текста */
  transform: scaleX(0);
  transform-origin: left;  /* рост слева направо */
  transition: transform .3s ease-in-out;
}

a.copyright:hover::after,
a.copyright:focus-visible::after, a.text-default:hover::after {
  transform: scaleX(1);
}

a.text-subtitle {
  position: relative;
  text-decoration: none;
  color: inherit;           /* по желанию */
  display: flex;
  width: fit-content;
}

a.text-subtitle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;                 /* растягиваем линию на всю ширину текста */
  bottom: 0.05em;           /* отступ от текста */
  height: 1px;              /* толщина линии */
  background: currentColor; /* цвет = цвет текста */
  transform: scaleX(0);     /* спрятано */
  transform-origin: left;   /* рост слева направо */
  transition: transform .3s ease-in-out;
}

a.text-subtitle:hover::after,
a.text-subtitle:focus-visible::after {
  transform: scaleX(1);
}

.faq {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .faq {
    margin-top: 60px;
  }
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 895px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 767px) {
  .faq-container {
    gap: 20px;
  }
}

.faq__q {
  background-color: var(--white-add);
  border-radius: 20px;
  padding: 22px 40px;
  padding-right: 64px;
  position: relative;
  transition: 0.3s ease-in-out all;
  font-size: 20px;
  font-weight: 300;
}
.faq__q:hover{
    opacity: 0.7;
}
@media (max-width: 767px) {
  .faq__q {
    padding: 20px;
    padding-right: 44px;
    font-size: 18px;
  }
}
.faq__q::marker {
  content: "";
}
.faq__q::after {
  content: "";
  background-image: url("../src/img/arrow-down.svg");
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  width: 24px;
  height: 24px;
  right: 40px;
  top: 50%;
  transform: translateY(-50%) rotate(180deg);
  transition: 0.3s ease-in-out all;
}
@media (max-width: 767px) {
  .faq__q::after {
    right: 20px;
  }
}

.faq__item[open] .faq__q::after {
  transform: translateY(-50%) rotate(0);
}

.faq__a {
  padding: 40px;
  background-color: var(--white-add);
  border-radius: 20px;
  margin-bottom: 16px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 400;
}
.faq__a p{
    margin: 20px 0;
}
.faq__a p:first-child{
    margin-top: 0;
}
.faq__a p:last-child{
    margin-bottom: 0;
}
.faq__a h2,
.faq__a h3{
    margin-top: 30px;
}
.faq__a ul li{
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
}
.faq__a ul li:last-child{
    margin-bottom: 0;
}
.faq__a ul li:before{
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    position: absolute;
    top: 9px;
    left: 0;
    background: var(--black);
}
.faq__a a{
    text-decoration: underline;
}
.faq__a a:hover{
    text-decoration: none;
}
@media (max-width: 767px) {
  .faq__a {
    padding: 20px;
  }
}

.faq__table {
  margin: 0;
  margin-top: 32px;
  padding-top: 40px;
  padding-left: 38px;
  padding-right: 37px;
  padding-bottom: 56px;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  background-color: var(--white);
  overflow-x: auto;
}
@media (max-width: 767px) {
  .faq__table {
    padding: 10px;
  }
}

table {
  width: 100%;
  border-spacing: 0;
  border-collapse: separate;
}

th {
  font-family: Inter;
  font-weight: 300;
  font-size: 20px;
  line-height: 1;
  color: var(--black);
  padding-bottom: 22px;
}
th:first-child {
    padding-left: 57px;
    text-align: left;
}
@media (max-width: 767px) {
  th:first-child {
    padding-left: 10px;
  }
}
th:last-child {
  padding-right: 38px;
}
@media (max-width: 767px) {
  th:last-child {
    padding-right: 10px;
  }
}

.faq__table tbody tr:nth-child(odd) {
  background-color: var(--white-add);
  border-radius: 20px;
}

.faq__table tbody tr td:first-child {
  padding-left: 57px;
  text-align: left;
}
@media (max-width: 767px) {
  .faq__table tbody tr td:first-child {
    padding-left: 10px;
  }
}

.faq__table tbody tr td:last-child {
  padding-right: 38px;
}
@media (max-width: 767px) {
  .faq__table tbody tr td:last-child {
    padding-right: 10px;
  }
}

.faq__table tbody tr:nth-child(odd) td:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}

.faq__table tbody tr:nth-child(odd) td:last-child {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}

.faq__table tbody td {
  text-align: center;
  font-family: Inter;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  color: var(--black);
}

.faq__table tbody tr {
  height: 32px;
}

.faq__table tbody tr:first-child td {
  margin-top: 32px;
}

@media (max-width: 768px) {
  .faq__table {
    padding: 16px;
  }
  .faq__table table {
    font-size: 14px;
  }
  .faq__table table th {
    font-size: 16px;
    padding-bottom: 16px;
  }
  .faq__table table tbody td {
    font-size: 14px;
  }
}
@media (max-width: 480px) {
  .faq__table {
    padding: 12px;
  }
  .faq__table table {
    min-width: 400px;
  }
  .faq__table table th {
    font-size: 14px;
  }
  .faq__table table tbody td {
    font-size: 13px;
  }
}
.stages-content {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  gap: 100px 120px;
  background-image: url("../src/img/line.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
@media (max-width: 1199px) {
  .stages-content {
    gap: 70px 15px;
  }
}
@media (max-width: 991px) {
  .stages-content {
    background-image: none;
  }
}
@media (max-width: 767px) {
  .stages-content {
    gap: 30px;
  }
}

.stages-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width: 991px) {
  .stages-item {
    width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 399px) {
  .stages-item {
    width: 100%;
  }
}

.stages-number {
  font-family: Onder;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.8;
  color: var(--black);
  background-color: var(--white-add);
  margin-bottom: 12px;
  border-radius: 20px;
  width: 118px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-title {
  font-family: Inter;
  font-weight: 400;
  font-size: 20px;
  color: var(--black);
}

.stage-content {
  font-family: Inter;
  font-weight: 400;
  font-size: 16px;
  line-height: 1;
  color: var(--black);
}

.documents {
  margin-top: 120px;
}
@media (max-width: 767px) {
  .documents {
    margin-top: 60px;
  }
}

.document-slider__container {
  height: 334px;

}

.document-slider__container {
  position: relative;
}

.slider-button {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 20px;
  background-color: var(--black);
  top: 50%;
  transform: translateY(-50%);
  transition: 0.3s ease-in-out all;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.slider-button:hover {
  opacity: 0.7;
}
.slider-button img {
  width: 24px;
  height: 24px;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}


.document-slide{
  max-width: 409px;
  width: 100%;
  height: 334px;
  padding: 13px;
  border-radius: 20px;
  background-color: var(--white-add);
  display: flex;
  justify-content: center;
  transition: 0.3s ease-in-out all;
}
.document-slide:hover{
    opacity: 0.7;
}
.document-slider{
  display: flex;
  max-width: 1267px;
  gap: 20px;
  margin: 0 auto;
}
.document-slide a{
  display: flex;
  height: 100%;

}

.document-slide img{
  display: flex;
  height: 100%;
  object-fit: contain;
}