@charset "UTF-8";
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
  box-sizing: border-box;
}

/**
   Убираем внутренние отступы слева тегам списков,
   у которых есть атрибут class
  */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
   Убираем внешние отступы body и двум другим тегам,
   у которых есть атрибут class
  */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
   Убираем внешние отступы вертикали нужным тегам,
   у которых есть атрибут class
  */
:where(h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
dl):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

:where(fieldset[class]) {
  margin-left: 0;
  padding: 0;
  border: none;
}

/**
   Убираем стандартный маркер маркированному списку,
   у которого есть атрибут class
  */
:where(ul[class]) {
  list-style: none;
}

:where(address[class]) {
  font-style: normal;
}

/**
   Обнуляем вертикальные внешние отступы параграфа,
   объявляем локальную переменную для внешнего отступа вниз,
   чтобы избежать взаимодействие с более сложным селектором
  */
p {
  --paragraphMarginBottom: 24px;
  margin-block: 0;
}

/**
   Внешний отступ вниз для параграфа без атрибута class,
   который расположен не последним среди своих соседних элементов
  */
p:where(:not([class]):not(:last-child)) {
  margin-bottom: var(--paragraphMarginBottom);
}

/**
   Упрощаем работу с изображениями и видео
  */
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

/**
   Наследуем свойства шрифт для полей ввода
  */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
   Пригодится в большинстве ситуаций
   (когда, например, нужно будет "прижать" футер к низу сайта)
  */
  height: 100%;
  /**
   Убираем скачок интерфейса по горизонтали
   при появлении / исчезновении скроллбара
  */
  scrollbar-gutter: stable;
}

/**
   Плавный скролл
  */
html,
:has(:target) {
  scroll-behavior: smooth;
}

body {
  /**
   Пригодится в большинстве ситуаций
   (когда, например, нужно будет "прижать" футер к низу сайта)
  */
  min-height: 100%;
  /**
   Унифицированный интерлиньяж
  */
  line-height: 1.5;
}

/**
   Нормализация высоты элемента ссылки при его инспектировании в DevTools
  */
a:where([class]) {
  display: inline-flex;
}

/**
   Курсор-рука при наведении на элемент
  */
button,
label {
  cursor: pointer;
}

/**
   Приводим к единому цвету svg-элементы
   (за исключением тех, у которых уже указан
   атрибут fill со значением 'none' или начинается с 'url')
  */
:where([fill]:not([fill=none],
[fill^=url])) {
  fill: currentColor;
}

/**
   Приводим к единому цвету svg-элементы
   (за исключением тех, у которых уже указан
   атрибут stroke со значением 'none')
  */
:where([stroke]:not([stroke=none],
[stroke^=url])) {
  stroke: currentColor;
}

/**
   Чиним баг задержки смены цвета при взаимодействии с svg-элементами
  */
svg * {
  transition-property: fill, stroke;
}

/**
   Приведение рамок таблиц в классический 'collapse' вид
  */
:where(table) {
  border-collapse: collapse;
  border-color: currentColor;
}

/**
   Удаляем все анимации и переходы для людей,
   которые предпочитают их не использовать
  */
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
/* миксин для сброса дефолтных стилей для ссылок */
/* миксин для сброса дефолтных стилей для кнопок */
/* миксин для выбора flex или inline-flex */
/* миксин для выравнивания блоков absolute относительно relative */
/* миксин для квадратных элементов (бургер кнопка в header) */
/* миксин при наведении на компах и мобилках */
:root {
  --color_blue-dark: #03045E;
  --color_brown-dark: #474306;
  --color_yellow: #F5EE84;
  --color_yellow-light: #FBF8CC;
  --border: 1px solid var(--color_blue-dark);
  --font-family-base: "Poppins", sans-serif;
  --container-width: 1240px;
  --container-padding-x: 100px;
  --container-padding-x-mobile: 15px;
  --section-padding-y: 70px;
  --transition-duration: 0.2s;
}

.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
  margin-inline: auto;
  padding-inline: var(--container-padding-x);
}
@media (max-width: 1023px) {
  .container {
    max-width: calc(var(--container-width) + var(--container-padding-x-mobile) * 2);
    padding-inline: var(--container-padding-x-mobile);
  }
}

.section {
  margin-block: 130px;
}
@media (max-width: 767px) {
  .section {
    margin-block: 50px;
  }
}

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

@media (max-width: 767px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .visible-mobile {
    display: none !important;
  }
}

body {
  font-size: clamp(10px, 1.6666666667vw, 24px);
  font-family: var(--font-family-base);
  font-weight: 400;
  line-height: 1.28;
  color: var(--color_blue-dark);
  background-color: var(--color_yellow-light);
}

a,
button,
input,
textarea,
svg * {
  transition-duration: var(--transition-duration);
}

ul {
  padding: 0 0 0 15px;
}

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

h1, h2, h3, h4 {
  font-weight: 400;
}

h1 {
  font-size: clamp(43px, 4.1666666667vw, 60px);
}

h2 {
  font-size: clamp(36px, 2.7777777778vw, 40px);
}

h3 {
  font-size: clamp(26px, 2.0833333333vw, 30px);
}

h4 {
  font-size: clamp(18px, 1.3888888889vw, 20px);
}

.burger-button {
  padding: 0;
  background-color: transparent;
  border: none;
  width: 48px;
  aspect-ratio: 1;
  position: relative;
}
.burger-button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  content: "";
  width: 50%;
  height: 2px;
  background-color: var(--color_blue-dark);
  border-radius: 5px;
  /* это рисуем полоски сверху и снизу, смещение по осям X и Y */
  box-shadow: 0 -8px var(--color_blue-dark), 0 8px var(--color_blue-dark);
}
.burger-button:hover {
  background-color: lightcoral;
}

.header {
  padding-top: 30px;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  -moz-column-gap: 20px;
       column-gap: 20px;
}
.header__logo {
  font-size: clamp(16px, 1.6666666667vw, 24px);
  font-weight: 500;
}
@media (max-width: 767px) {
  .header__logo {
    flex-grow: 2;
  }
}
.header__menu {
  font-size: clamp(16px, 1.3888888889vw, 20px);
}
.header__menu-list {
  display: flex;
  align-items: center;
  -moz-column-gap: 60px;
       column-gap: 60px;
}
.header__menu-item {
  position: relative;
}
.header__menu-link {
  font-weight: 400;
}
.header__menu-link::after {
  content: "";
  position: absolute;
  top: 110%;
  left: 50%;
  translate: -50%;
  width: 0;
  height: 2px;
  background-color: var(--color_blue-dark);
  transition-duration: var(--transition-duration);
}
.header__menu-link:hover::after {
  width: 100%;
}
.header__second-menu-list {
  display: flex;
  align-items: center;
  -moz-column-gap: 40px;
       column-gap: 40px;
}
@media (max-width: 767px) {
  .header__second-menu-list {
    -moz-column-gap: 20px;
         column-gap: 20px;
  }
}
.header__second-menu-img:hover {
  filter: brightness(0) saturate(100%) invert(50%) sepia(100%) saturate(1000%) hue-rotate(200deg);
}
@media (max-width: 767px) {
  .header {
    padding-top: 10px;
  }
}

.mobile-overlay {
  font-size: clamp(40px, 6.9444444444vw, 100px);
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 14px 20px;
  border: none;
  background: var(--color_yellow-light);
}
.mobile-overlay:modal {
  max-width: 100%;
  max-height: 100%;
}
.mobile-overlay__close-button-wrapper {
  display: flex;
  justify-content: end;
}
.mobile-overlay__list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  row-gap: 100px;
  min-height: 60vh;
}

.cross-button {
  padding: 0;
  background-color: transparent;
  border: none;
  width: 48px;
  aspect-ratio: 1;
  position: relative;
  border-radius: 7px;
}
@media (hover: hover) {
  .cross-button:hover {
    background-color: lightcoral;
  }
}
@media (hover: none) {
  .cross-button:active {
    background-color: lightcoral;
  }
}
.cross-button::before, .cross-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 7px;
  width: 70%;
  height: 2px;
  background-color: var(--color_blue-dark);
  border-radius: 5px;
}
.cross-button::before {
  rotate: 45deg;
}
.cross-button::after {
  rotate: -45deg;
}

.home {
  display: flex;
  justify-content: space-between;
  align-items: center;
  -moz-column-gap: 100px;
       column-gap: 100px;
}
.home__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  row-gap: 20px;
}
.home__name {
  font-size: clamp(24px, 1.9444444444vw, 28px);
}
.home__advokat {
  font-weight: 800;
  font-size: clamp(60px, 6.9444444444vw, 100px);
}
.home__description {
  font-size: clamp(20px, 1.3888888889vw, 20px);
}
.home__img {
  position: relative;
}
.home__img::after {
  content: "";
  position: absolute;
  top: 70%;
  left: -15%;
  width: 103px;
  height: 30px;
  background: url("/images/riski.svg") center/cover no-repeat;
}
.home__img::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 56px;
  background: url("/images/plus.svg") center/cover no-repeat;
}
.home__img-border::after {
  content: "";
  position: absolute;
  top: 10px;
  left: -20px;
  height: 100%;
  width: 100%;
  background: transparent;
  border: var(--border);
  border-radius: 80% 60% 70% 70%;
}
.home__img-avatar {
  border-radius: 60% 50% 70% 50%;
}
@media (max-width: 767px) {
  .home {
    flex-direction: column-reverse;
    align-items: start;
    row-gap: 50px;
  }
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 68px;
  width: 300px;
  padding-inline: 35px;
  font-size: 20px;
  color: var(--color_blue-dark);
  background: var(--color_yellow-light);
}
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color_yellow);
  border-radius: 14px;
  transform: translate(7px, 7px);
}
.button::after {
  content: "Получить консультацию";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-top: 20px;
  text-align: center;
  border: var(--border);
  border-radius: 14px;
}
@media (hover: hover) {
  .button:hover {
    font-size: 22px;
    transition-duration: var(--transition-duration);
  }
}
@media (hover: none) {
  .button:active {
    font-size: 22px;
    transition-duration: var(--transition-duration);
  }
}

.about__title {
  font-size: clamp(40px, 6.9444444444vw, 100px);
  font-weight: 800;
  color: var(--color_yellow);
  padding-bottom: 10px;
}
.about__description {
  font-size: clamp(16px, 1.3888888889vw, 20px);
  font-weight: 400;
  padding-bottom: 32px;
}
.about__list {
  list-style-type: square;
}
.about__list > li {
  padding-block: 10px;
  font-weight: 600;
}
.about__p {
  text-indent: 10px;
  /* Размер отступа */
  margin-top: 0;
  /* Убираем отступ сверху */
  margin-bottom: 0;
  /* Отступ снизу */
}

.contacts-section {
  background: #2c3e50;
  color: white;
  padding: 40px 0;
  font-family: "Arial", sans-serif;
}

.contacts-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contacts-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  position: relative;
}

.contacts-title:after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: #3498db;
  margin: 15px auto 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.contact-item i {
  width: 30px;
  color: black;
  font-size: 20px;
}

.contact-item a {
  color: black;
  text-decoration: none;
  transition: color 0.3s;
}

.contact-item a:hover {
  color: #3498db;
}

.social-links {
  display: flex;
  justify-content: left;
  margin-top: 30px;
  gap: 20px;
}

.social-links a {
  color: black;
  font-size: 24px;
  transition: color 0.3s;
}

.social-links a:hover {
  color: #3498db;
}

.yandex {
  display: flex;
  justify-content: center;
  align-items: center;
  -moz-column-gap: 50px;
       column-gap: 50px;
}
.yandex__reviews {
  position: relative;
  overflow: hidden;
  width: 560px;
  height: 400px;
}
.yandex__reviews-iframe {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
}
.yandex__reviews-a {
  position: absolute;
  box-sizing: border-box;
  text-decoration: none;
  color: #b3b3b3;
  font-size: 10px;
  font-family: YS Text, sans-serif;
  padding: 0 20px;
  bottom: 8px;
  width: 100%;
  text-align: center;
  left: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  max-height: 14px;
  white-space: nowrap;
  padding: 0 16px;
}/*# sourceMappingURL=styles.css.map */