@charset "UTF-8";
/*--------------------------------------------------------------
# Reset
--------------------------------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  line-height: 1.15;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }
}
body {
  margin: 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: #dfe6e9;
}

a {
  background-color: transparent;
}

a:focus {
  outline: unset;
}

b,
strong {
  font-weight: 500;
}

small {
  font-size: 0.875em;
}

img {
  height: auto;
}

main img {
  max-width: 100%;
  border-style: none;
}

picture img {
  display: block;
}

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

button,
input {
  overflow: visible;
}

button {
  text-transform: none;
  -webkit-appearance: button;
}

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring {
  outline: 1px dotted #fff;
}

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

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

.screen-reader-text,
.screen-reader-text span,
.screen-reader-shortcut {
  position: absolute !important;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
  color: #333;
  background: #fff;
}

input[type=number] {
  -moz-appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

@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;
  }
}
/*--------------------------------------------------------------
# Body
--------------------------------------------------------------*/
body {
  font-family: "Onest", sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #000;
  line-height: 1.6;
}

/*--------------------------------------------------------------
# Headings
--------------------------------------------------------------*/
h1 {
  font-size: calc(1.5rem + 2vw);
  font-weight: 300;
  line-height: 1.1;
}
@media screen and (min-width: 1440px) {
  h1 {
    font-size: 50px;
  }
}

h2 {
  margin-block: 40px;
  font-size: calc(1.2rem + 1vw);
  font-weight: 300;
  line-height: 1.3;
}
@media screen and (min-width: 1440px) {
  h2 {
    font-size: 30px;
  }
}

h3 {
  font-size: calc(1.2rem + 0.8vw);
  font-weight: 300;
  line-height: 1.3;
}
@media screen and (min-width: 1440px) {
  h3 {
    font-size: 28px;
  }
}

h4 {
  font-size: calc(1.1rem + 0.7vw);
  font-weight: 300;
  line-height: 1.3;
}
@media screen and (min-width: 1440px) {
  h4 {
    font-size: 26px;
  }
}

/*--------------------------------------------------------------
# Paragraphs
--------------------------------------------------------------*/
p {
  margin-block: 20px;
}
p:empty {
  margin-block: 0;
}
p:last-child {
  margin-bottom: 0;
}
p:first-child {
  margin-top: 0;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
:where(a) {
  transition: 0.3s ease-in-out;
  text-decoration: none;
}

:where(a:not([class])) {
  color: #4254b1;
}

:where(a[class]) {
  color: #000;
}

:where(a:not([class]):hover) {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 20px;
  padding: 0;
  line-height: 1.2;
  white-space: nowrap;
  background-color: transparent;
  box-shadow: none;
  border: 0;
  border-radius: 10px;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  cursor: pointer;
}
.button:focus {
  outline: none;
}
.button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.button--big {
  padding: 15px 30px;
  font-size: 17px;
  font-weight: 600;
}
.button--default {
  padding: 15px 30px;
  font-size: 16px;
  font-weight: 500;
}
.button--small {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 300;
}
.button--square {
  width: 50px;
  height: 50px;
}
.button--square-big {
  width: 60px;
  height: 60px;
  border-radius: 15px;
}
@media screen and (max-width: 768px) {
  .button--square-big {
    width: 50px;
    height: 50px;
  }
}
.button--square-small {
  width: 45px;
  height: 45px;
}
.button--shadow {
  gap: 10px;
  padding: 15px 20px;
  font-size: 14px;
  color: #000;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border-radius: 10px;
}
.button--shadow:hover {
  background-color: #f4f235;
  box-shadow: unset;
}
.button--gray {
  background-color: #f6f8fa;
}
.button--gray:hover {
  background-color: #fff;
}
.button--blue {
  color: #000;
  stroke: #000;
  background-color: #a1c3d9;
}
.button--blue:not(:disabled):hover {
  background-color: #8ab0c9;
}
.button--white {
  color: #000;
  stroke: #000;
  background-color: #fff;
}
.button--white:not(:disabled):hover {
  background-color: #f4f235;
}
.button--yellow {
  color: #000;
  stroke: #000;
  background-color: #f4f235;
}
.button--yellow:not(:disabled):hover {
  background-color: #fff600;
}
.button--light {
  color: #fff;
  stroke: #fff;
  fill: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}
.button--light:not(:disabled):hover {
  background-color: rgba(255, 255, 255, 0.2);
}
@media screen and (max-width: 1024px) {
  .button--mobile-icon {
    padding: 0;
  }
  .button--mobile-icon .button__label {
    display: none;
  }
}
.button--mobile-icon .button__icon {
  display: none;
}
@media screen and (max-width: 1024px) {
  .button--mobile-icon .button__icon {
    display: flex;
  }
}
.button--big-arrow {
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
.button--big-arrow:hover {
  background-color: #f4f235;
}
.button--big-arrow .button__icon {
  stroke: #000;
  fill: #000;
}
@media screen and (max-width: 768px) {
  .button--big-arrow .button__icon {
    width: 25px;
  }
}
.button--arrow {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 500;
  color: #4254b1;
  line-height: 1;
  white-space: nowrap;
  fill: #4254b1;
}
.button--arrow:hover {
  gap: 30px;
}

/*--------------------------------------------------------------
# Grid and Container
--------------------------------------------------------------*/
:root {
  --global_padding: 3vw;
}

/* ## Container */
.site-container {
  position: relative;
  overflow: hidden;
}
.site-container__wrapper {
  display: flex;
  flex-direction: column;
  margin-inline: auto;
  min-height: 100vh;
  width: 1300px;
  max-width: 100%;
}
@media screen and (max-width: 1380px) {
  .site-container__wrapper {
    padding-inline: var(--global_padding);
    width: 100%;
  }
}
@media screen and (max-width: 1024px) {
  .site-container__wrapper {
    overflow: hidden;
  }
}

/* ## Main */
.site-main {
  margin-bottom: clamp(40px, 5vw, 70px);
}
.site-main__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.site-main__inner:not(:last-child) {
  margin-bottom: 70px;
}
.site-main__post {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.site-main__title {
  text-align: center;
}
.site-main__content {
  margin: 0 auto;
  width: 920px;
  max-width: 100%;
}
.site-main__content--full {
  margin: 0;
  width: 100%;
}

/* ## Section */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 70px;
}
@media screen and (max-width: 1280px) {
  .section {
    gap: clamp(30px, 4vw, 40px);
    margin-bottom: clamp(40px, 4vw, 70px);
  }
}
.section:last-child {
  margin-bottom: 0;
}
.section--columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1240px) {
  .section--columns {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.section--light {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px;
  background-color: #f6f8fa;
  border-radius: 30px;
}
@media screen and (max-width: 1280px) {
  .section--light {
    gap: clamp(25px, 4vw, 40px);
    padding: clamp(25px, 4vw, 50px);
  }
}
.section--wrapper .section__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-left: -50px;
  padding: 50px;
  width: 1400px;
  background-color: #f6f8fa;
  border-radius: 30px;
}
@media screen and (max-width: 1400px) {
  .section--wrapper .section__inner {
    margin-left: calc(-1 * var(--global_padding) / 2);
    width: calc(100% + var(--global_padding));
  }
}
@media screen and (max-width: 1280px) {
  .section--wrapper .section__inner {
    gap: clamp(25px, 4vw, 40px);
    padding: clamp(25px, 4vw, 50px);
  }
}
.section--shadow {
  padding: 50px;
  box-shadow: 0px 0px 16px 0px rgba(96, 121, 169, 0.08);
  border-radius: 30px;
}
@media screen and (max-width: 1280px) {
  .section--shadow {
    padding: clamp(25px, 4vw, 50px);
  }
}
.section--single {
  gap: 30px;
}
.section > *:first-child {
  margin-top: 0;
}
.section > *:last-child {
  margin-bottom: 0;
}
.section__column {
  display: flex;
  flex-direction: column;
}
.section__title {
  margin: 0;
  font-size: calc(1.8rem + 1.5vw);
  font-weight: 300;
  line-height: 1.2;
}
@media screen and (min-width: 1440px) {
  .section__title {
    font-size: 40px;
  }
}
.section__title--small {
  font-size: calc(1.2rem + 1vw);
}
@media screen and (min-width: 1440px) {
  .section__title--small {
    font-size: 30px;
  }
}
.section__header {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
}
.section__header--sb {
  justify-content: space-between;
}
.section__header--column {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.section__link {
  align-self: flex-start;
}

/* ## Overlay */
.site-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #000;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
}
.site-overlay--active {
  z-index: 10;
  opacity: 0.7;
  pointer-events: auto;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
/* ## Form general */
.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  /* ## Stars */
}
.form--inline {
  flex-direction: row;
  gap: 20px;
}
.form--inline > * {
  flex-grow: 1;
}
.form--col4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1280px) {
  .form--col4 {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}
.form--col5 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px 10px;
}
@media screen and (max-width: 1280px) {
  .form--col5 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.form--col6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px 10px;
}
@media screen and (max-width: 1280px) {
  .form--col6 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.form--g10 {
  gap: 10px;
}
.form--g10 .form__row {
  gap: 10px;
}
.form--g10 .form__grid {
  gap: 10px;
}
.form--g20 {
  gap: 20px;
}
.form--no-shadow .form__control {
  font-size: 14px;
  box-shadow: none;
}
.form--no-shadow .form__group--select .ts-control {
  font-size: 14px;
}
.form__row {
  display: flex;
  gap: 20px 15px;
}
@media screen and (max-width: 1280px) {
  .form__row {
    flex-wrap: wrap;
    gap: 15px;
  }
}
.form__row--sb {
  align-items: center;
  justify-content: space-between;
}
.form__row > * {
  flex-grow: 1;
}
@media screen and (max-width: 1024px) {
  .form__row:empty {
    display: none;
  }
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .form__grid {
    grid-template-columns: minmax(200px, 1fr);
  }
}
.form__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form__column--g20 {
  gap: 20px;
  margin-bottom: 10px;
}
.form__group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: 0.3s ease-in-out;
}
.form__group-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 30px;
}
.form__group--label-overlay .form__control {
  height: 50px;
}
.form__group--label-overlay .form__label {
  position: absolute;
  top: -13px;
  left: 20px;
  z-index: 1;
  display: flex;
  padding: 3px 10px;
  font-size: 14px;
  color: #000;
  line-height: 1;
  white-space: nowrap;
  background-color: #f4f235;
  border-radius: 10px;
}
.form__group--textarea {
  align-items: stretch;
  flex-grow: 1;
  min-height: 90px;
}
.form__group--rating {
  flex-direction: row;
  align-items: center;
  gap: 15px 25px;
}
@media screen and (max-width: 768px) {
  .form__group--rating {
    flex-direction: column;
    align-items: flex-start;
  }
}
.form__group--rating .form__label {
  min-width: 100px;
}
.form__group--upload {
  flex-direction: row;
}
.form__group--upload .form__label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  width: 100%;
  font-size: 14px;
  color: rgba(30, 50, 91, 0.7);
  line-height: 1;
  background-color: #eaeff4;
  border-radius: 10px;
  cursor: pointer;
}
.form__group--select {
  cursor: pointer;
}
.form__group--select .ts-wrapper {
  display: flex;
  align-items: center;
  padding: 0;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMyA2Ij48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMi4yNzcgMS40MTYgNy4wNzkgNC44ODFsLS4zNTYuNTM1LS4yMjMtLjE0OS0uMjIzLjE0OS0uMzU2LS41MzVMLjcyMyAxLjQxNmwuNTU0LS44MzJMNi41IDQuMDY2IDExLjcyMy41ODRsLjU1NC44MzJaIi8+PC9zdmc+);
  background-size: 13px;
  background-position: right 20px center;
  background-repeat: no-repeat;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.form__group--select .ts-wrapper.input-active {
  border-color: #a1c3d9;
}
.form__group--select .ts-control {
  padding: 13px 20px;
  font-size: 16px;
  background-color: transparent !important;
  border: unset;
  outline: unset;
}
.form__group--select .ts-dropdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border: unset;
}
.form__group--select .ts-dropdown .ts-dropdown-content::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.form__group--select .ts-dropdown .ts-dropdown-content::-webkit-scrollbar-button {
  display: none;
}
.form__group--select .ts-dropdown .ts-dropdown-content::-webkit-scrollbar-corner {
  background: transparent;
}
.form__group--select .ts-dropdown .ts-dropdown-content::-webkit-scrollbar-track {
  background-color: #eef2f5;
}
.form__group--select .ts-dropdown .ts-dropdown-content::-webkit-scrollbar-thumb {
  background-color: #a1c3d9;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.form__group--select .ts-dropdown .ts-dropdown-content::-webkit-resizer {
  display: none;
}
.form__group--select .ts-dropdown .option {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 7px 15px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.form__group--select .ts-dropdown .option:hover {
  background-color: #f4f235;
}
.form__group--select .ts-dropdown .selected {
  background-color: #f6f8fa;
}
.form__control {
  flex-grow: 1;
  padding: 15px 20px;
  width: 100%;
  font-size: 16px;
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border: 1px solid transparent;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.form__control:focus {
  outline: none;
  border-color: #a1c3d9;
}
.form__label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.7);
  line-height: 1;
}
.form__label--bold {
  font-size: 16px;
  font-weight: 700;
}
.form__image {
  flex-shrink: 0;
}
.form__link {
  font-size: 14px;
  line-height: 1;
  color: #4254b1;
}
@media screen and (max-width: 768px) {
  .form__link {
    font-size: 12px;
  }
}
.form__link:hover {
  text-decoration: underline;
}
.form__policy {
  position: relative;
  padding-left: 20px;
}
.form__policy-icon {
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
}
.form__policy-text {
  font-size: 12px;
  color: #9d9d9d;
  line-height: 1.5;
}
.form__policy-link {
  line-height: 1;
  color: #4254b1;
}
.form__policy-link:hover {
  text-decoration: underline;
}
.form__footer {
  display: flex;
  align-items: center;
  gap: 20px 30px;
}
@media screen and (max-width: 1024px) {
  .form__footer {
    flex-wrap: wrap;
  }
}
.form__footer .form__button {
  width: 250px;
  max-width: 100%;
}
.form__stars {
  display: flex;
  gap: 5px;
  padding-block: 5px;
  direction: rtl;
}
.form__stars-label {
  width: 25px;
  height: 7px;
  background-color: #eaeff4;
  border-radius: 3px;
  cursor: pointer;
  transition: 0.2s;
}
.form__stars-label:hover, .form__stars-label:hover ~ .form__stars-label {
  background-color: #b3ef3e;
}
.form__stars:not(:hover) .form__stars-control:checked ~ .form__stars-label {
  background-color: #b3ef3e;
}

/* ## Checkbox */
.checkbox {
  display: grid;
  grid-template-columns: 17px auto;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}
.checkbox--small .checkbox__label {
  font-size: 14px;
}
.checkbox__control {
  display: grid;
  place-content: center;
  width: 17px;
  height: 17px;
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border: unset;
  border-radius: 3px;
  transform: translateY(-0.075em);
  transition: 0.3s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.checkbox__control:before {
  content: "";
  width: 9px;
  height: 9px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMSA5Ij48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0xMCAxIDMuNTcxIDggMSA1LjIiLz48L3N2Zz4=);
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
}
.checkbox__control:checked {
  background-color: #4254b1;
  border-color: #4254b1;
}
.checkbox__control:checked:before {
  transform: scale(1);
}
.checkbox__label {
  font-size: 16px;
  line-height: 1.5625;
  cursor: pointer;
}

/* ## Radio */
.radio {
  display: grid;
  grid-template-columns: 17px auto;
  gap: 10px;
  cursor: pointer;
}
.radio--square .radio__control:before {
  content: "";
  width: 9px;
  height: 9px;
  background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAxMSA5Ij48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Ik0xMCAxIDMuNTcxIDggMSA1LjIiLz48L3N2Zz4=);
  background-repeat: no-repeat;
  background-position: center;
  transform: scale(0);
  transform-origin: bottom left;
  transition: 120ms transform ease-in-out;
}
.radio__control {
  display: grid;
  place-content: center;
  margin-top: 5px;
  width: 17px;
  height: 17px;
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border: unset;
  border-radius: 3px;
  transform: translateY(-0.075em);
  transition: 0.3s ease-in-out;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.radio__control:checked {
  background-color: #4254b1;
  border-color: #4254b1;
}
.radio__control:checked:before {
  transform: scale(1);
}
.radio__label {
  font-size: 16px;
  line-height: 1.5625;
  cursor: pointer;
}

/* ## Placeholder */
::placeholder {
  font-family: "Onest", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #1e325b;
  text-overflow: ellipsis;
  opacity: 0.7;
  transition: opacity ease 0.3s;
}

input:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0;
}

/*--------------------------------------------------------------
# Auth forms
--------------------------------------------------------------*/
.site-auth {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 50px;
  max-width: 470px;
  background-color: #f6f8fa;
  border-radius: 20px;
}
@media screen and (max-width: 1280px) {
  .site-auth {
    padding: clamp(30px, 5vw, 50px);
  }
}
.site-auth__title {
  margin: 0;
  font-size: calc(1.5rem + 2vw);
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .site-auth__title {
    font-size: 50px;
  }
}
@media screen and (max-width: 768px) {
  .site-auth__title {
    margin-top: 15px;
  }
}
.site-auth__link {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 14px;
  line-height: 1;
  color: #4254b1;
}
@media screen and (max-width: 768px) {
  .site-auth__link {
    font-size: 12px;
  }
}
.site-auth__link:hover {
  text-decoration: underline;
}

/*--------------------------------------------------------------
# Modal forms
--------------------------------------------------------------*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  transition: 0.3s ease-in-out;
  z-index: -1;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.modal--visible {
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.modal__content {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 30px;
  padding: 35px;
  width: 500px;
  max-width: 95%;
  background-color: #eef2f5;
  border-radius: 20px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
@media screen and (max-width: 768px) {
  .modal__content {
    padding: 25px;
    max-width: 95%;
  }
}
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__title {
  font-size: calc(1.2rem + 1vw);
  line-height: 1.3;
}
@media screen and (min-width: 1440px) {
  .modal__title {
    font-size: 30px;
  }
}
.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 20px;
  height: 20px;
  stroke: #000;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.modal__close:hover {
  stroke: #ff6000;
}
.modal__form {
  position: relative;
  display: flex;
  align-items: stretch;
  flex-direction: column;
}
.modal__meta {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
@media screen and (max-width: 1024px) {
  .modal__meta {
    gap: 20px;
  }
}
.modal__meta-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal__meta-label {
  font-size: 14px;
  line-height: 1;
  opacity: 0.5;
}
.modal__meta-value {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.1;
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* ## Search */
.search-form {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
@media screen and (max-width: 1024px) {
  .search-form {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: -1;
    padding: 10px 20px;
    width: 100%;
    list-style: none;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
    opacity: 0;
    transform: translateY(20%);
    transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
    pointer-events: none;
  }
}
.search-form-toggle:checked ~ .search-form {
  z-index: 10;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.search-form__input {
  position: relative;
  display: flex;
  align-items: center;
  flex-grow: 1;
  gap: 15px;
  padding: 15px 20px;
  height: 50px;
  stroke: #000;
  background-color: #fff;
  border-radius: 10px;
}
@media screen and (max-width: 1024px) {
  .search-form__input {
    padding: 0;
  }
  .search-form__input-icon {
    display: none;
  }
}
.search-form__input-control {
  width: 100%;
  height: 100%;
  font-size: 16px;
  background-color: transparent;
  border: 0;
}
.search-form__input-control:focus {
  outline: none;
}
.search-form__submit {
  flex-shrink: 0;
  width: 120px;
}
@media screen and (max-width: 1024px) {
  .search-form__submit {
    width: 50px;
  }
}
.search-form__filter {
  flex-shrink: 0;
}

/* ## Splide */
.splide__pagination {
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  list-style: none;
}
.splide__pagination li {
  display: flex;
}
.splide__pagination li:before {
  content: none;
}
.splide__pagination__page {
  width: 30px;
  height: 3px;
  background-color: #e5ebef;
  border-radius: 1.5px;
}
.splide__pagination__page.is-active {
  background-color: #b3ef3e;
  transform: none;
}
.splide__arrows {
  display: flex;
  align-items: center;
  gap: 40px;
}
.splide__arrow {
  position: initial;
  width: 45px;
  background-color: transparent;
  border-radius: unset;
  transform: unset;
  opacity: 1;
}
.splide__arrow svg {
  width: 45px;
  height: 8px;
  fill: #4254b1;
}

.cafe--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px 15px;
  margin: -10px;
}
@media screen and (max-width: 1240px) {
  .cafe--grid {
    gap: 10px;
  }
}
.cafe--small-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin: -10px;
}
.cafe__item {
  display: flex;
  padding: 10px;
  background-color: transparent;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.cafe__item:hover {
  background-color: #f6f8fa;
}
.cafe__item:hover .cafe__item-inner {
  box-shadow: unset;
}
.cafe__item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: inset 0 0 0 1px #e5ebef;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.cafe__slider {
  position: relative;
  padding-bottom: 15px;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.cafe__image {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}
.cafe__badge {
  position: absolute;
  top: 10px;
  right: 10px;
}
.cafe__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 10px;
  padding: 20px 25px 13px;
}
.cafe__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.47;
}
.cafe__info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 5px;
}
.cafe__phone {
  padding-left: 20px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
}
.cafe__stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #e5ebef;
}
.cafe__stats-item {
  display: flex;
  align-items: center;
  gap: 5px;
  fill: #000;
  stroke: #000;
  opacity: 0.5;
}
.cafe__stats-value {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

/* ## Workers */
.workers--carousel {
  position: relative;
  padding-bottom: 30px;
  margin: -10px;
}
.workers--carousel .splide__slide {
  padding: 10px;
  background-color: transparent;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.workers--carousel .splide__slide:hover {
  background-color: #a1c3d9;
}
.workers--carousel .splide__slide:hover .workers__item {
  background-color: #a1c3d9;
}
.workers--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 20px 0;
  margin: -10px;
}
.workers--shadows .splide__slide:hover {
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
.workers--shadows .workers__item--small:hover {
  background-color: #fff;
}
.workers__item {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.workers__item--bg {
  background-color: #f6f8fa;
}
.workers__item--small {
  align-items: center;
  flex-direction: row;
  gap: 20px;
  padding: 25px 10px 25px 25px;
  width: 330px;
  max-width: 100%;
  height: 100%;
}
@media screen and (max-width: 480px) {
  .workers__item--small {
    width: 100%;
    gap: 10px;
  }
}
.workers__item--small .workers__image-wrapper {
  width: 100px;
}
@media screen and (max-width: 768px) {
  .workers__item--small .workers__image-wrapper {
    width: 70px;
  }
}
.workers__item--small .workers__image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}
@media screen and (max-width: 768px) {
  .workers__item--small .workers__image {
    width: 70px;
    height: 70px;
  }
}
.workers__item--small .workers__badge {
  margin-top: -18px;
}
.workers__item--small .workers__content {
  gap: 5px;
}
.workers__item--big {
  padding: 10px;
  background-color: transparent;
}
.workers__item--big:hover {
  background-color: #f6f8fa;
}
.workers__item--big:hover .workers__item-inner {
  box-shadow: unset;
}
.workers__item--big:hover .workers__rating {
  background-color: #fff;
}
.workers__item--big:hover .workers__button {
  background-color: #fff;
}
.workers__item--big .workers__badge {
  position: absolute;
  top: 10px;
  right: 10px;
}
.workers__item--big .workers__premium {
  position: absolute;
  top: 10px;
  left: 10px;
}
.workers__item--big .workers__content {
  gap: 15px;
  padding: 20px 25px 13px;
}
.workers__item--big .workers__title {
  padding-right: 65px;
}
.workers__item--premium .workers__item-inner {
  box-shadow: inset 0 0 0 1px #ff6000;
}
.workers__item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: inset 0 0 0 1px #e5ebef;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.workers__image-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.workers__image {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}
.workers__content {
  position: relative;
  display: flex;
  flex-direction: column;
}
.workers__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.47;
}
.workers__position {
  font-size: 14px;
  line-height: 1.43;
  opacity: 0.7;
}
.workers__meta {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.workers__meta-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.workers__meta-label {
  font-size: 12px;
  line-height: 1;
  opacity: 0.5;
}
.workers__meta-value {
  font-size: 14px;
  line-height: 1.43;
}
.workers__rating {
  position: absolute;
  right: 25px;
  top: 30px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 8px;
  background-color: #f6f8fa;
  stroke: #000;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.workers__rating-value {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}
.workers__text {
  font-size: 14px;
  line-height: 1.43;
  opacity: 0.7;
}
.workers-price {
  display: flex;
  align-items: flex-start;
  gap: 5px;
}
.workers-price__value {
  font-size: 16px;
  font-weight: 400;
  color: #171a21;
  line-height: 1;
}
.workers-price__unit {
  font-size: 12px;
  line-height: 1;
  opacity: 0.5;
}
.workers-price__unit:before {
  content: "/";
  margin-right: 5px;
  font-size: 10px;
}

/* ## Trainings */
.courses--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
  margin: -10px;
}
@media screen and (max-width: 1240px) {
  .courses--grid {
    gap: 10px;
  }
}
.courses--grid .courses__image {
  height: 240px;
}
.courses--grid .courses__badges {
  left: 10px;
}
.courses--small-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  margin: -10px;
}
.courses--small-grid .courses__badges {
  right: 10px;
}
.courses__item {
  display: flex;
  padding: 10px;
  background-color: transparent;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.courses__item:hover {
  background-color: #f6f8fa;
}
.courses__item:hover .courses__item-inner {
  box-shadow: unset;
}
.courses__item-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-shadow: inset 0 0 0 1px #e5ebef;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.courses__image-wrapper {
  position: relative;
  display: flex;
}
.courses__image {
  width: 100%;
  height: 200px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}
.courses__badges {
  position: absolute;
  top: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.courses__rating {
  position: absolute;
  right: 10px;
  top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 8px;
  background-color: #f6f8fa;
  stroke: #000;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
}
.courses__rating-value {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}
.courses__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 25px;
  padding: 25px 25px 30px;
}
.courses__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.47;
}
.courses__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.courses__meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 14px;
  line-height: 1.1;
}
.courses__meta-label {
  opacity: 0.7;
}
.courses__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
}
.courses__button {
  flex-shrink: 0;
}

/* ## Promotions */
.promotions--carousel {
  margin: -10px;
}
.promotions--carousel .splide__slide {
  padding: 10px;
  background-color: #fff;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.promotions--carousel .splide__slide:hover {
  background-color: #f6f8fa;
}
.promotions--carousel .splide__slide:hover .promotions__item {
  border-color: transparent;
}
.promotions__item {
  display: flex;
  flex-direction: column;
  border: 1px solid #e5ebef;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
}
.promotions__item--inactive .promotions__image {
  filter: grayscale(1);
  opacity: 0.5;
}
.promotions__image-wrapper {
  position: relative;
}
.promotions__image {
  width: 100%;
  height: 240px;
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
}
.promotions__badges {
  position: absolute;
  top: 10px;
  right: 10px;
}
.promotions__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 25px;
}
.promotions__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.47;
}
.promotions__description {
  font-size: 14px;
  line-height: 1.43;
}

/* ## Articles */
.articles--shadow {
  display: flex;
  flex-direction: column;
  padding: 50px;
  box-shadow: 0px 0px 16px 0px rgba(96, 121, 169, 0.08);
  border-radius: 30px;
}
@media screen and (max-width: 1280px) {
  .articles--shadow {
    padding: clamp(25px, 4vw, 50px);
  }
}
.articles__item {
  display: flex;
  align-items: center;
  gap: 50px;
}
@media screen and (max-width: 1240px) {
  .articles__item {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
  }
}
@media screen and (max-width: 480px) {
  .articles__item {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
}
.articles__item:not(:first-child) {
  padding-top: 50px;
}
.articles__item:not(:last-child) {
  padding-bottom: 50px;
  border-bottom: 1px solid #e5ebef;
}
.articles__image-wrapper {
  display: flex;
  flex-shrink: 0;
  max-width: 550px;
}
.articles__image {
  width: 100%;
  height: 300px;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 480px) {
  .articles__image {
    height: 240px;
  }
}
.articles__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}
@media screen and (max-width: 480px) {
  .articles__content {
    gap: 20px;
  }
}
.articles__title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.46;
}
@media screen and (max-width: 480px) {
  .articles__title {
    font-size: 17px;
  }
}
.articles__description {
  font-size: 16px;
  line-height: 1.5625;
}
@media screen and (max-width: 480px) {
  .articles__description {
    font-size: 14px;
  }
}
.articles__button {
  align-self: flex-start;
}

/* ## Meta */
.meta {
  display: flex;
  align-items: center;
  gap: 15px 30px;
}
@media screen and (max-width: 768px) {
  .meta {
    flex-wrap: wrap;
  }
}
.meta__author {
  margin-right: auto;
}
.meta__date {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.5;
}
.meta__likes {
  display: flex;
  align-items: stretch;
  gap: 5px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  fill: rgba(0, 0, 0, 0.5);
}
.meta__comments {
  display: flex;
  align-items: stretch;
  gap: 5px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  stroke: rgba(0, 0, 0, 0.5);
}
.meta__comments-icon {
  margin-top: -1px;
}

/* ## Author */
.author {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media screen and (max-width: 480px) {
  .author {
    gap: 10px;
  }
}
.author__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 480px) {
  .author__avatar {
    width: 35px;
    height: 35px;
  }
}
.author__name {
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.7;
}
@media screen and (max-width: 480px) {
  .author__name {
    font-size: 12px;
  }
}

/* ## Prices */
.prices {
  display: flex;
  flex-direction: column;
}
.prices--small {
  gap: 5px;
}
.prices--small .prices__group {
  gap: 10px;
}
.prices--small .prices__new {
  font-size: calc(1rem + 0.4vw);
}
@media screen and (min-width: 1440px) {
  .prices--small .prices__new {
    font-size: 20px;
  }
}
.prices--small .prices__old {
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .prices--small .prices__old {
    font-size: 12px;
  }
}
.prices--small .prices__note {
  font-size: 11px;
  opacity: 0.5;
}
.prices--medium {
  gap: 5px;
}
.prices--medium .prices__group {
  gap: 13px;
}
.prices--medium .prices__new {
  font-size: calc(1.125rem + 0.5vw);
}
@media screen and (min-width: 1440px) {
  .prices--medium .prices__new {
    font-size: 26px;
  }
}
.prices--medium .prices__old {
  font-size: 14px;
}
@media screen and (max-width: 768px) {
  .prices--medium .prices__old {
    font-size: 12px;
  }
}
.prices--medium .prices__note {
  font-size: 11px;
  opacity: 0.5;
}
.prices--big {
  gap: 15px;
}
.prices--big .prices__group {
  gap: 20px;
}
.prices--big .prices__new {
  font-size: calc(2.25rem + 1.39vw);
}
@media screen and (min-width: 1440px) {
  .prices--big .prices__new {
    font-size: 56px;
  }
}
.prices--big .prices__old {
  margin-top: 8px;
  font-size: calc(1rem + 0.4vw);
}
@media screen and (min-width: 1440px) {
  .prices--big .prices__old {
    font-size: 20px;
  }
}
.prices--big .prices__note {
  font-size: 14px;
}
.prices__group {
  display: flex;
  align-items: flex-start;
}
.prices__new {
  color: #171a21;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}
.prices__old {
  position: relative;
  display: flex;
  align-items: center;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  line-height: 1;
}
.prices__old:after {
  content: "";
  position: absolute;
  left: -5px;
  width: calc(100% + 8px);
  border-top: 1px solid #f15b5b;
  transform: rotate(-12deg);
  transform-origin: center;
  pointer-events: none;
}
.prices__note {
  line-height: 1.1;
}
.prices__price-content {
  display: none;
}

/* ## Sort */
.sort {
  position: relative;
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 20px;
}
.sort__label {
  font-size: 14px;
  line-height: 1.3;
  opacity: 0.5;
}
.sort__current {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  line-height: 1.3;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.sort__current:hover {
  color: #4254b1;
  fill: #4254b1;
}
.sort__current-icon {
  transition: 0.3s ease-in-out;
}
.sort__list {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translate(-50%, 20%);
  z-index: -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin: 0;
  padding: 10px 20px;
  width: 100%;
  list-style: none;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}
.sort__toggle:checked ~ .sort__list {
  z-index: 999;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.sort__toggle:checked ~ .sort__current .sort__current-icon {
  transform: rotate(-180deg);
}
.sort__item {
  position: relative;
  display: flex;
  padding: 5px 15px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.sort__item--active, .sort__item:hover {
  background-color: #f4f235;
}

/* ## Tabs */
.tabs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.tabs--shadow .tabs__item {
  font-size: calc(0.75rem + 0.28vw);
  font-weight: 300;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
@media screen and (min-width: 1440px) {
  .tabs--shadow .tabs__item {
    font-size: 16px;
  }
}
.tabs--shadow .tabs__item--active, .tabs--shadow .tabs__item:hover {
  box-shadow: none;
}
.tabs--yellow .tabs__item {
  font-size: calc(0.75rem + 0.28vw);
  font-weight: 300;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
@media screen and (min-width: 1440px) {
  .tabs--yellow .tabs__item {
    font-size: 16px;
  }
}
.tabs--yellow .tabs__item--active, .tabs--yellow .tabs__item:hover {
  background-color: #f4f235;
  box-shadow: none;
}
.tabs__item {
  display: flex;
  padding: 14px 20px;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  line-height: 1;
  background-color: #fff;
  border: 0;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .tabs__item {
    padding: 12px 15px;
    font-size: 14px;
  }
}
.tabs__item--active, .tabs__item:hover {
  background-color: #a1c3d9;
}
.tabs-content__item {
  display: none;
}
.tabs-content__item--active {
  display: block;
}

/* ## Advantages */
.advantages--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}
.advantages__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px;
  box-shadow: 0px 0px 16px 0px rgba(96, 121, 169, 0.08);
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .advantages__item {
    padding: 25px 20px;
  }
}
.advantages__title {
  font-size: calc(1.125rem + 0.5vw);
  font-weight: 400;
  line-height: 1.25;
}
@media screen and (min-width: 1440px) {
  .advantages__title {
    font-size: 24px;
  }
}
.advantages__text {
  font-size: 14px;
  line-height: 1.43;
  opacity: 0.7;
}

/* ## Badges */
.badges {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 3px 5px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  border-radius: 5px;
}
.badge--green {
  background-color: #b3ef3e;
}
.badge--yellow {
  background-color: #f4f235;
}
.badge--orange {
  color: #fff;
  background-color: #ff6000;
}
.badge--certificate {
  padding: 10px 10px 10px 7px;
  font-size: 14px;
  color: #000;
  stroke: #000;
  background-color: #f4f235;
  border-radius: 10px;
}
.badge__icon {
  flex-shrink: 0;
}

/* ## Table */
.data-table {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin-bottom: 30px;
}
.data-table__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  padding-block: 10px;
  min-height: 60px;
}
.data-table__row:not(:last-child) {
  border-bottom: 1px solid #e5ebef;
}
@media screen and (max-width: 1024px) {
  .data-table__row {
    flex-wrap: wrap;
    gap: 10px 20px;
  }
}
.data-table__col {
  font-size: 14px;
  line-height: 1.43;
}
.data-table__col--title {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: calc(0.9rem + 0.4vw);
  line-height: 1.3;
}
@media screen and (min-width: 1440px) {
  .data-table__col--title {
    font-size: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .data-table__col--title {
    width: calc(50% - 10px);
  }
}
.data-table__col--description {
  margin-left: auto;
  max-width: 470px;
  font-size: calc(0.75rem + 0.28vw);
  text-align: right;
}
@media screen and (min-width: 1440px) {
  .data-table__col--description {
    font-size: 16px;
  }
}
@media screen and (max-width: 1024px) {
  .data-table__col--description {
    order: 4;
    max-width: unset;
    width: 100%;
    text-align: left;
  }
}
.data-table__col--meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  font-size: calc(0.9rem + 0.4vw);
  line-height: 1.3;
  text-align: right;
}
@media screen and (min-width: 1440px) {
  .data-table__col--meta {
    font-size: 20px;
  }
}
@media screen and (max-width: 1024px) {
  .data-table__col--meta {
    width: calc(50% - 10px);
  }
}
.data-table__link {
  display: flex;
  align-items: center;
  gap: 20px;
}
.data-table__link:hover .data-table__button {
  opacity: 1;
}
.data-table__button {
  flex-shrink: 0;
  opacity: 0;
}
@media screen and (max-width: 480px) {
  .data-table__button {
    display: none;
  }
}
.data-table__image {
  width: 80px;
  height: 50px;
  border-radius: 10px;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 480px) {
  .data-table__image {
    display: none;
  }
}

/* ## Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.accordion__item {
  display: flex;
  flex-direction: column;
}
.accordion__item--active .accordion__arrow {
  transform: rotate(-180deg);
}
.accordion__item--active .accordion__content {
  padding: 10px 20px;
  max-height: 1500px;
  opacity: 1;
}
.accordion__header {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 15px 30px;
  font-size: calc(0.8rem + 0.4vw);
  line-height: 1.5;
  background-color: #f6f8fa;
  border-radius: 10px;
  cursor: pointer;
}
@media screen and (min-width: 1440px) {
  .accordion__header {
    font-size: 20px;
  }
}
.accordion__arrow {
  margin-left: auto;
  transition: 0.3s ease-in-out;
}
.accordion__content {
  max-height: 0;
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}

/* ## Status */
.status {
  position: relative;
  display: flex;
  gap: 10px;
  padding-left: 20px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}
.status--yellow:before {
  background-color: #ebda1e;
}
.status--green:before {
  background-color: #b3ef3e;
}
.status--red:before {
  background-color: #f6a3c2;
}
.status:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

/* ## Map */
.map {
  height: 450px;
  width: 100%;
  border-radius: 30px;
  overflow: hidden;
}

.map .ymaps-2-1-79-ground-pane {
  filter: grayscale(100%) !important;
}


#map {
    transition: all 0.3s ease;
}

#map.hidden {
    height: 0;
    opacity: 0;
    overflow: hidden;
}


/* ## Certificate */
.certificate {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  max-width: 165px;
  height: 50px;
  font-size: 14px;
  line-height: 1.25;
  stroke: #000;
  background-color: #f4f235;
  border-radius: 10px;
}
.certificate__icon {
  flex-shrink: 0;
}

/* ## Features */
.features {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
}
.features--white .features__icon {
  background-color: #fff;
}
.features__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 5px;
  padding-top: 5px;
  min-height: 60px;
}
.features__item:not(:last-child) {
  border-bottom: 1px solid #e5ebef;
}
.features__text {
  font-size: calc(0.8rem + 1.39vw);
  line-height: 1.2;
}
@media screen and (min-width: 1440px) {
  .features__text {
    font-size: 24px;
  }
}
.features__text:last-child {
  text-align: right;
}
.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 100px;
  height: 50px;
  background-color: #f6f8fa;
  border-radius: 10px;
}
@media screen and (max-width: 768px) {
  .features__icon {
    width: 50px;
  }
}

/* ## Share buttons */
.share-buttons {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 1240px) {
  .share-buttons {
    flex-wrap: wrap;
  }
}
.share-buttons__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 14px;
  color: #000;
  line-height: 1;
  stroke: #000;
  white-space: nowrap;
  background-color: #fff;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  border: 0;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .share-buttons__item:not(.js-copy):not(.js-generate-qr) .share-buttons__label {
    display: none;
  }
}
.share-buttons__item-wrapper {
  position: relative;
}
.share-buttons__item:hover {
  background-color: #f4f235;
  box-shadow: none;
}

/* ## QR */
.qr-container {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translate(-50%, 20%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin: 0;
  padding: 10px 20px;
  width: 100%;
  list-style: none;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  z-index: -1;
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}
.qr-container--active {
  z-index: 999;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/* ## Lists */
.content ul {
  margin: 0 0 20px;
  padding: 0;
}
.content ul ul {
  margin: 10px 0;
  padding-left: 30px;
}
.content ul ol {
  margin: 10px 0;
}
.content ul li {
  position: relative;
  padding-left: 40px;
  margin-bottom: 5px;
  min-height: 23px;
  overflow: hidden;
}
.content ul li:last-child {
  margin-bottom: 0;
}
.content ul li:before {
  content: "";
  position: absolute;
  top: 9px;
  left: 10px;
  width: 10px;
  height: 10px;
  border: 2px solid #009b70;
  border-radius: 50%;
}

.content ol {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  counter-reset: listCounter;
}
.content ol[start] {
  counter-reset: listCounter calc(var(--start) - 1);
}
.content ol > li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 7px;
  overflow: hidden;
  counter-increment: listCounter;
}
.content ol > li:last-child {
  margin-bottom: 0;
}
.content ol > li:before {
  content: counter(listCounter);
  position: absolute;
  top: 3px;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  font-size: 13px;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  background-color: #009b70;
  border-radius: 50%;
}
@media screen and (max-width: 640px) {
  .content ol > li:before {
    top: 1px;
  }
}
.content ol ul,
.content ol ol {
  margin: 10px 0 0;
}

/* ## Blockquote, blocks */
.custom-quote {
  position: relative;
}
.custom-quote--bg {
  margin: 30px 0;
  padding: 30px 45px;
  font-size: calc(0.875rem + 0.21vw);
  background-color: #f6f8fa;
  border-left: 5px solid #a1c3d9;
  border-radius: 10px;
}
@media screen and (min-width: 1440px) {
  .custom-quote--bg {
    font-size: 17px;
  }
}
@media screen and (max-width: 768px) {
  .custom-quote--bg {
    padding: 25px 30px;
  }
}

/* ## Gallery */
.gallery {
  display: grid;
  gap: 20px 25px;
  margin-bottom: 30px;
}
.gallery--col3 {
  grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 768px) {
  .gallery--col3 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.gallery--col5 {
  grid-template-columns: repeat(5, 1fr);
}
@media screen and (max-width: 768px) {
  .gallery--col5 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}
.gallery--masonry .gallery__column:nth-child(even) .gallery__item {
  height: 200px;
}
.gallery--masonry .gallery__item {
  height: 240px;
}
.gallery--shadow {
  gap: 30px;
}
.gallery--shadow .gallery__item {
  padding: 25px;
  height: 450px;
  box-shadow: 0px 0px 16px 0px rgba(96, 121, 169, 0.08);
  border-radius: 30px;
}
.gallery--shadow .gallery__item:hover {
  box-shadow: unset;
}
.gallery__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.gallery__item {
  position: relative;
  display: flex;
  height: 260px;
  border-radius: 30px;
  overflow: hidden;
}
.gallery__item:hover {
  opacity: 0.7;
}
.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.site-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}
@media screen and (max-width: 1024px) {
  .site-header {
    margin-bottom: 20px;
  }
}
.site-header--front {
  margin-bottom: 50px;
}
@media screen and (max-width: 1024px) {
  .site-header--front {
    margin-bottom: 20px;
  }
}
.site-header__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 12px;
}
.site-header__main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 20px 40px;
  margin-left: -100px;
  width: 1500px;
  max-width: var(--viewport_width);
  background-color: #171a2a;
  border-radius: 20px;
}
@media screen and (max-width: 1500px) {
  .site-header__main {
    margin-left: calc(-1 * var(--global_padding) / 2);
    width: calc(100% + var(--global_padding));
  }
}
@media screen and (max-width: 1280px) {
  .site-header__main {
    gap: clamp(20px, 2vw, 50px);
  }
}
@media screen and (max-width: 1024px) {
  .site-header__main {
    gap: 10px;
    padding: 10px 20px;
  }
}
@media screen and (min-width: 1025px) {
  .site-header__search {
    flex-grow: 1;
  }
  .site-header__search-mobile {
    display: none;
  }
}
.site-header__auth {
  display: flex;
  flex-shrink: 0;
  height: 50px;
  min-width: 254px;
}
@media screen and (max-width: 1024px) {
  .site-header__auth {
    min-width: unset;
  }
}
.site-header__auth-button {
  flex-grow: 1;
}
@media screen and (max-width: 1280px) {
  .site-header__auth-button .button__label {
    display: none;
  }
}
@media screen and (max-width: 1024px) {
  .site-header__auth-button {
    padding: 0;
    width: 50px;
  }
}

/* ## Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}
@media screen and (max-width: 1024px) {
  .logo {
    margin-right: auto;
  }
}
@media screen and (max-width: 480px) {
  .logo {
    gap: 10px;
  }
  .logo__image {
    width: 40px;
  }
}
.logo__title {
  font-size: 20px;
  color: #fff;
  line-height: 1;
  text-transform: uppercase;
}
@media screen and (max-width: 480px) {
  .logo__title {
    display: flex;
    flex-direction: column;
    font-size: 15px;
    line-height: 1.2;
  }
}
.logo__title-bold {
  font-weight: 600;
}

/* ## Location */
.location {
  display: flex;
  align-items: center;
  gap: 10px;
}
.location__content {
  font-size: 14px;
  color: #a3a3a3;
  line-height: 1.43;
  cursor: pointer;
}
.location__link {
  color: #4254b1;
}
.location__link:hover {
  text-decoration: underline;
}

/* ## User panel */
.user-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-grow: 1;
  gap: 10px;
  padding: 5px 20px 5px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
@media screen and (max-width: 1024px) {
  .user-panel {
    position: absolute;
    top: 100%;
    right: 0;
    transform: translateY(20%);
    padding: 20px;
    width: 250px;
    background-color: #fff;
    box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
    z-index: -1;
    opacity: 0;
    transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
    pointer-events: none;
  }
}
.user-panel-mobtoggle:checked ~ .user-panel {
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.user-panel-mobile {
  display: none;
}
@media screen and (max-width: 1024px) {
  .user-panel-mobile {
    display: flex;
    padding: 0;
    width: 50px;
  }
}
.user-panel__info {
  display: flex;
  align-items: center;
  gap: 10px;
}
.user-panel__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}
.user-panel__name {
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
}
@media screen and (max-width: 1024px) {
  .user-panel__name {
    color: #000;
  }
}
.user-panel__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.user-panel__notifications {
  position: relative;
  display: flex;
  fill: #fff;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .user-panel__notifications {
    fill: #000;
  }
}
.user-panel__notifications:hover {
  fill: #f4f235;
}
.user-panel__notifications-badge {
  position: absolute;
  top: -7px;
  right: -11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  font-size: 12px;
  font-weight: 500;
  color: #000;
  line-height: 1;
  background-color: #f4f235;
  border-radius: 50%;
}
.user-panel__settings {
  position: relative;
  display: flex;
  fill: #fff;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .user-panel__settings {
    fill: #000;
  }
}
.user-panel__settings:hover {
  fill: #f4f235;
}
.user-panel__toggle-button {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.user-panel__toggle:checked ~ .user-panel__toggle-button {
  fill: #f4f235;
}
.user-panel__toggle-list {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 20%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 5px 10px;
  width: 115px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  z-index: -1;
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}
@media screen and (max-width: 1024px) {
  .user-panel__toggle-list {
    left: unset;
    right: 0;
    transform: translateY(20%);
  }
}
.user-panel__toggle:checked ~ .user-panel__toggle-list {
  z-index: 999;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
@media screen and (max-width: 1024px) {
  .user-panel__toggle:checked ~ .user-panel__toggle-list {
    transform: translateY(0);
  }
}
.user-panel__list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.user-panel__item {
  position: relative;
  display: flex;
}
.user-panel__link {
  padding: 5px 10px;
  font-size: 14px;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 10px;
}
.user-panel__link:hover {
  background-color: #f4f235;
}

/* ## Top menu */
.top-menu {
  display: flex;
}
.top-menu__list {
  display: flex;
  align-items: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 1024px) {
  .top-menu__list {
    flex-direction: column;
    gap: 1px;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 1px solid #e5ebef;
  }
}
.top-menu__item {
  position: relative;
  display: flex;
}
@media screen and (max-width: 1024px) {
  .top-menu__link {
    padding: 10px 15px;
    color: #000;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    border-radius: 10px;
  }
  .top-menu__link:hover {
    background-color: #f4f235;
  }
}
@media screen and (min-width: 1025px) {
  .top-menu__link {
    color: #051930;
  }
  .top-menu__link:hover {
    text-decoration: underline;
  }
}

/* ## Primary menu */
.primary-menu {
  display: flex;
}
@media screen and (min-width: 1025px) {
  .primary-menu__inner {
    position: relative;
  }
}
.primary-menu__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 15px 20px;
  width: 210px;
  height: 50px;
  font-size: 17px;
  font-weight: 600;
  color: #000;
  background-color: #f4f235;
  border-radius: 10px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
@media screen and (max-width: 1024px) {
  .primary-menu__button {
    justify-content: center;
    padding: 0;
    width: 50px;
  }
}
.primary-menu__button:hover {
  background-color: #f4ed34;
}
.primary-menu__burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.primary-menu__burger-line {
  width: 20px;
  height: 3px;
  background-color: #000;
  transition: 0.3s ease-in-out;
}
.primary-menu__toggle:checked ~ .primary-menu__button .primary-menu__burger-line:first-child {
  transform: translateY(3px) rotate(45deg);
}
.primary-menu__toggle:checked ~ .primary-menu__button .primary-menu__burger-line:last-child {
  transform: translateY(-5px) rotate(-45deg);
}
.primary-menu__toggle-list {
  position: absolute;
  top: calc(100% + 5px);
  left: 50%;
  transform: translate(-50%, 20%);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  width: 100%;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  z-index: -1;
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}
.primary-menu__toggle-list:after {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #fff;
  filter: drop-shadow(0px 0px 29px 0px rgba(101, 121, 165, 0.2));
}
@media screen and (max-width: 1024px) {
  .primary-menu__toggle-list:before {
    content: "Добавить:";
    margin-bottom: 5px;
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.5;
  }
}
.primary-menu__toggle:checked ~ .primary-menu__toggle-list {
  z-index: 999;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}
.primary-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.primary-menu__item {
  position: relative;
  display: flex;
}
.primary-menu__link {
  padding: 10px 15px;
  color: #000;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border-radius: 10px;
}
.primary-menu__link:hover {
  background-color: #f4f235;
}
@media screen and (max-width: 1024px) {
  .primary-menu__label {
    display: none;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
  position: relative;
  display: flex;
  gap: 45px;
  margin-top: auto;
  padding-top: 40px;
  padding-bottom: 40px;
  color: #fff;
}
@media screen and (max-width: 1024px) {
  .site-footer {
    flex-direction: column;
  }
}
.site-footer:before {
  content: "";
  background-color: #171a2a;
  position: absolute;
  left: calc(-50vw + 50%);
  top: 0;
  z-index: -1;
  width: 100vw;
  height: 100%;
}
.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.site-footer__column--small {
  width: 350px;
}
@media screen and (max-width: 1024px) {
  .site-footer__column--small {
    width: 100%;
  }
}
.site-footer__column--big {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 35px;
  flex-grow: 1;
}
.site-footer__copyright {
  font-size: 14px;
  line-height: 1.43;
  opacity: 0.3;
}

/* ## Social */
.social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.social__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  fill: #fff;
  stroke: #fff;
  border-radius: 10px;
  border: 1px solid rgba(163, 175, 185, 0.3);
}
.social__item:hover {
  border-color: rgba(163, 175, 185, 0.5);
}
.social__icon {
  opacity: 0.4;
}

/* ## Info menu */
.footer-menu {
  display: flex;
}
.footer-menu--markers {
  flex-direction: column;
  gap: 15px;
}
.footer-menu--markers .footer-menu__item {
  padding-left: 30px;
}
.footer-menu--markers .footer-menu__item:before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 20px;
  height: 1px;
  background-color: #b3ef3e;
}
.footer-menu--markers .footer-menu__link {
  padding-block: 5px;
}
@media screen and (max-width: 1024px) {
  .footer-menu--info .footer-menu__list {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.footer-menu__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}
.footer-menu__list {
  display: flex;
  flex-direction: column;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-menu__item {
  position: relative;
  display: flex;
}
.footer-menu__link {
  font-size: 14px;
  color: #fff;
  line-height: 1.3;
}
.footer-menu__link:hover {
  text-decoration: underline;
}

/* ## Location */
.location-dropdown {
  position: absolute;
  z-index: -1;
  display: flex;
  transform: translateY(20%);
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}
.location-dropdown--active {
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.location-dropdown__title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1;
}
.location-dropdown__regions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px 20px 25px;
  width: 240px;
  max-height: 350px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
.location-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex-grow: 1;
  gap: 1px;
  margin: 0 -10px;
  padding: 0;
  list-style: none;
  overflow-y: auto;
}
.location-list::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.location-list::-webkit-scrollbar-button {
  display: none;
}
.location-list::-webkit-scrollbar-corner {
  background: transparent;
}
.location-list::-webkit-scrollbar-track {
  background-color: #eef2f5;
}
.location-list::-webkit-scrollbar-thumb {
  background-color: #a1c3d9;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}
.location-list::-webkit-resizer {
  display: none;
}
.location-list__item {
  position: relative;
  display: flex;
}
.location-list__button {
  padding: 7px 10px;
  font-size: 14px;
  color: #000;
  line-height: 1.1;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}
.location-list__button--active, .location-list__button:hover {
  background-color: #b3ef3e;
}
.location-list__cities {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: -1;
  display: flex;
  flex-direction: column;
  padding: 25px 20px 25px;
  width: 240px;
  max-height: 350px;
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
  transform: translateY(20%);
  opacity: 0;
  transition: 0.6s cubic-bezier(0.615, 0, 0.07, 1);
  pointer-events: none;
}
@media screen and (max-width: 768px) {
  .location-list__cities {
    left: 50px;
  }
}
.location-list__cities--active {
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ## Cookies */
.cookie-popup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 30px;
  width: 615px;
  max-width: calc(100% - 40px);
  background-color: #000;
  border-radius: 20px;
  transition: 0.3s ease-in-out;
  z-index: -1;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.cookie-popup--visible {
  z-index: 999;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
@media screen and (max-width: 480px) {
  .cookie-popup {
    flex-direction: column;
    align-items: stretch;
  }
}
.cookie-popup__text {
  font-size: 14px;
  color: #fff;
}
.cookie-popup__link {
  color: #fff;
  text-decoration: underline;
}
.cookie-popup__link:hover {
  text-decoration: none;
}
.cookie-popup__button {
  flex-shrink: 0;
  width: 150px;
  height: 60px;
}
@media screen and (max-width: 480px) {
  .cookie-popup__button {
    width: 100%;
    height: 50px;
  }
}

/*--------------------------------------------------------------
# Front
--------------------------------------------------------------*/
.tariffs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media screen and (max-width: 1024px) {
  .tariffs {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.tariffs--small .tariffs__content {
  max-width: 350px;
  box-sizing: content-box;
}
@media screen and (max-width: 768px) {
  .tariffs--small .tariffs__content {
    max-width: 300px;
  }
}
@media screen and (max-width: 480px) {
  .tariffs--small .tariffs__content {
    max-width: 100%;
  }
}
.tariffs__item {
  position: relative;
  display: flex;
  justify-content: space-between;
  padding: 50px 40px;
  min-height: 350px;
  border-radius: 30px;
  overflow: hidden;
}
@media screen and (max-width: 1280px) {
  .tariffs__item {
    padding: clamp(25px, 4vw, 50px);
  }
}
@media screen and (max-width: 480px) {
  .tariffs__item {
    min-height: unset;
  }
}
.tariffs__item--business {
  background-color: #f0eef5;
}
.tariffs__item--business .tariffs__image {
  right: -10px;
}
@media screen and (max-width: 1240px) {
  .tariffs__item--business .tariffs__image {
    right: -70px;
  }
}
.tariffs__item--barista {
  background-color: #eef2f5;
}
.tariffs__item--barista .tariffs__image {
  right: 25px;
}
@media screen and (max-width: 1240px) {
  .tariffs__item--barista .tariffs__image {
    right: -45px;
  }
}
.tariffs__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.tariffs__title {
  font-size: calc(1.5rem + 2vw);
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .tariffs__title {
    font-size: 50px;
  }
}
.tariffs__description {
  font-size: calc(0.875rem + 0.2vw);
  line-height: 1.5625;
}
@media screen and (min-width: 1440px) {
  .tariffs__description {
    font-size: 16px;
  }
}
.tariffs__image {
  position: absolute;
  bottom: 0;
  z-index: 0;
}
@media screen and (max-width: 480px) {
  .tariffs__image {
    display: none;
  }
}
.tariffs__footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: auto;
}
@media screen and (max-width: 768px) {
  .tariffs__footer {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}
.tariffs__button {
  flex-shrink: 0;
}
.tariffs__stats {
  display: flex;
  align-items: center;
  gap: 15px;
}
.tariffs__number {
  font-size: calc(1.2rem + 1vw);
  color: #171a21;
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .tariffs__number {
    font-size: 30px;
  }
}
.tariffs__label {
  font-size: 12px;
  line-height: 1.33;
  opacity: 0.5;
}
.tariffs__cost {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: auto;
}
.tariffs__cost-title {
  font-size: calc(1.2rem + 1vw);
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .tariffs__cost-title {
    font-size: 30px;
  }
}
.tariffs__prices-group {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-top: 20px;
}
@media screen and (max-width: 1280px) {
  .tariffs__prices-group {
    margin-top: 0;
  }
}

/* ## Training filter */
.training-filter {
  position: relative;
  display: flex;
  align-items: center;
  flex-grow: 1;
  background-color: #e5f4f7;
  border-radius: 30px;
}
.training-filter__title {
  font-size: calc(1.5rem + 2vw);
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .training-filter__title {
    font-size: 50px;
  }
}
.training-filter__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 45px 25px 50px 40px;
  max-width: 260px;
  box-sizing: content-box;
}
@media screen and (max-width: 1240px) {
  .training-filter__content {
    padding: clamp(25px, 4vw, 50px);
    max-width: 100%;
    width: calc(100% - 300px);
  }
}
@media screen and (max-width: 768px) {
  .training-filter__content {
    width: 100%;
  }
}
.training-filter__image {
  position: absolute;
  bottom: 0;
  right: 15px;
  z-index: 0;
}
@media screen and (max-width: 768px) {
  .training-filter__image {
    right: -100px;
  }
}
@media screen and (max-width: 480px) {
  .training-filter__image {
    display: none;
  }
}

/* ## Content */
.content > *:first-child {
  margin-top: 0;
}
.content > *:last-child {
  margin-bottom: 0;
}
.content__columns {
  display: grid;
}
.content__columns--col2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 100px;
}
@media screen and (max-width: 1024px) {
  .content__columns--col2 {
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  .content__columns--col2 {
    grid-template-columns: minmax(250px, 1fr);
  }
}

/* ## TOC */
.toc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.toc__item {
  display: flex;
  padding: 15px 20px;
  font-size: calc(0.75rem + 0.28vw);
  color: #000;
  line-height: 1;
  border-radius: 10px;
  box-shadow: 0px 0px 29px 0px rgba(101, 121, 165, 0.2);
}
@media screen and (min-width: 1440px) {
  .toc__item {
    font-size: 16px;
  }
}
.toc__item:hover {
  background-color: #f4f235;
  box-shadow: none;
}

/*--------------------------------------------------------------
# Post, page, archive
--------------------------------------------------------------*/
.page-header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 35px;
}
.page-header__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 40px;
}
@media screen and (max-width: 1240px) {
  .page-header__row {
    flex-wrap: wrap;
  }
}
.page-header__row--left {
  justify-content: flex-start;
}
.page-header__title {
  margin: 0;
}
.page-header__filter {
  padding: 33px 30px 20px;
  background-color: #eef2f5;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .page-header__filter {
    padding: 25px 20px 20px;
  }
}

.page-subheading {
  display: flex;
  align-items: center;
  gap: 20px 30px;
  margin-bottom: 40px;
}
@media screen and (max-width: 1024px) {
  .page-subheading {
    flex-direction: column;
    align-items: flex-start;
  }
}
.page-subheading__title {
  margin: 0;
  font-size: calc(1.2rem + 1vw);
  line-height: 1.33;
}
@media screen and (min-width: 1440px) {
  .page-subheading__title {
    font-size: 30px;
  }
}

/* ## Post card */
.post-card {
  display: flex;
  gap: 50px;
}
@media screen and (max-width: 1240px) {
  .post-card {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
  }
}
@media screen and (max-width: 480px) {
  .post-card {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}
.post-card__image-wrapper {
  flex-shrink: 0;
}
.post-card__image {
  width: 100%;
  height: 300px;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 480px) {
  .post-card__image {
    height: 240px;
  }
}
.post-card__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}
.post-card__description {
  font-size: calc(1rem + 0.4vw);
  line-height: 1.75;
}
@media screen and (min-width: 1440px) {
  .post-card__description {
    font-size: 20px;
  }
}

/* ## Content footer */
.content-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 30px;
}
@media screen and (max-width: 1240px) {
  .content-footer {
    flex-wrap: wrap;
  }
}

/* ## Tags */
.tags {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}
.tags__icon {
  flex-shrink: 0;
  margin-top: 5px;
}
.tags__item {
  margin-right: 20px;
  font-size: 14px;
  color: #4254b1;
  line-height: 1;
}
.tags__item:hover {
  text-decoration: underline;
}

/* ## Page card */
.page-card {
  display: grid;
  grid-template-columns: minmax(250px, 700px) minmax(500px, 1fr);
  gap: 50px;
  margin-bottom: 30px;
}
@media screen and (max-width: 1240px) {
  .page-card {
    gap: 30px;
    margin-bottom: clamp(40px, 4vw, 70px);
  }
}
@media screen and (max-width: 1024px) {
  .page-card {
    grid-template-columns: minmax(250px, 1fr);
  }
}
.page-card__image-wrapper {
  flex-shrink: 0;
}
.page-card__image {
  width: 100%;
  height: 420px;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 480px) {
  .page-card__image {
    height: 240px;
  }
}
.page-card__content {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
}
.page-card__badges-block {
  display: flex;
  align-items: center;
  gap: 10px 20px;
}
@media screen and (max-width: 768px) {
  .page-card__badges-block {
    flex-wrap: wrap;
  }
}
.page-card__visit {
  font-size: 12px;
  line-height: 1.1;
  opacity: 0.5;
}
.page-card__school {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  line-height: 1.1;
}
.page-card__school-label {
  opacity: 0.5;
}
.page-card__info-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px 10px 30px;
  background-color: #f6f8fa;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .page-card__info-block {
    flex-wrap: wrap;
    padding: 10px 20px;
  }
}
.page-card__info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  stroke: #000;
  fill: #000;
}
.page-card__info-item:nth-child(2) {
  justify-content: center;
}
.page-card__info-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.page-card__info-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.5;
}
.page-card__info-value {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}
.page-card__work {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .page-card__work {
    flex-wrap: wrap;
  }
}
.page-card__work-block {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;
  padding-left: 35px;
  padding-right: 25px;
}
@media screen and (max-width: 768px) {
  .page-card__work-block {
    padding-left: 15px;
    padding-right: 15px;
  }
}
.page-card__work-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.page-card__work-label {
  font-size: 14px;
  line-height: 1;
}
.page-card__work-value {
  padding-bottom: 5px;
  font-size: 16px;
  line-height: 1.2;
}
.page-card__work-value--num {
  padding-bottom: 0;
  font-size: calc(1.3rem + 0.7vw);
  font-weight: 400;
}
@media screen and (min-width: 1440px) {
  .page-card__work-value--num {
    font-size: 26px;
  }
}
.page-card__history {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-card__history-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 30px 30px;
  border: 1px solid #e5ebef;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .page-card__history-block {
    padding: 20px;
  }
}
.page-card__history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.page-card__history-title {
  font-size: 14px;
  opacity: 0.5;
}
.page-card__history-place {
  font-size: 16px;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .page-card__history-place {
    font-size: 14px;
  }
}
.page-card__history-date {
  font-size: 12px;
  line-height: 1;
  opacity: 0.5;
}
@media screen and (max-width: 768px) {
  .page-card__history-date {
    font-size: 10px;
  }
}
.page-card__history-more {
  position: absolute;
  bottom: -9px;
  align-self: center;
  padding: 3px 10px;
  width: 110px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.7);
  background-color: #fff;
  border: 0;
  border-radius: 9px;
  box-shadow: 0px 0px 8px 0px rgba(101, 121, 165, 0.2);
  cursor: pointer;
}
.page-card__contact-block {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 35px;
}
.page-card__contact-icon {
  position: absolute;
  left: 1px;
  top: -1px;
}
.page-card__address-wrapper {
  display: flex;
  align-items: center;
  gap: 10px 30px;
}
@media screen and (max-width: 768px) {
  .page-card__address-wrapper {
    flex-wrap: wrap;
  }
}
.page-card__address {
  font-size: 16px;
  line-height: 1.25;
}
.page-card__phone {
  font-size: calc(1.3rem + 0.7vw);
  font-weight: 400;
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .page-card__phone {
    font-size: 26px;
  }
}
.page-card__site {
  font-size: 16px;
  color: #4254b1;
  line-height: 1;
}
.page-card__site:hover {
  text-decoration: underline;
}
.page-card__schedule {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .page-card__schedule {
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 5px;
  }
}
.page-card__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 70px;
  height: 70px;
  border: 1px solid #e5ebef;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .page-card__day {
    border-radius: 10px;
  }
}
.page-card__day-name {
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0.7;
}
.page-card__day-time {
  font-size: 16px;
  line-height: 1;
}
.page-card__vacancy {
  display: flex;
  align-items: center;
  gap: 10px 30px;
}
@media screen and (max-width: 480px) {
  .page-card__vacancy {
    flex-direction: column;
    align-items: stretch;
  }
}
.page-card__vacancy-label {
  font-size: calc(0.8rem + 1.39vw);
  line-height: 1.1;
}
@media screen and (min-width: 1440px) {
  .page-card__vacancy-label {
    font-size: 24px;
  }
}
.page-card__vacancy-button {
  flex-grow: 1;
}
.page-card__price-block {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-left: 35px;
  padding-right: 25px;
}
@media screen and (max-width: 768px) {
  .page-card__price-block {
    flex-wrap: wrap;
    padding-left: 15px;
    padding-right: 15px;
  }
}
.page-card__price-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.page-card__price-label {
  font-size: 14px;
  line-height: 1;
}
.page-card__price-value {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.page-card__price-value--num {
  font-size: calc(1.3rem + 0.7vw);
  font-weight: 400;
  line-height: 1;
}
@media screen and (min-width: 1440px) {
  .page-card__price-value--num {
    font-size: 26px;
  }
}
.page-card__price-status {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: -4px;
  max-width: 100px;
  font-size: 14px;
  line-height: 1.3;
  fill: #ff6000;
}
@media screen and (max-width: 768px) {
  .page-card__price-status {
    font-size: 12px;
  }
}
.page-card__price-icon {
  flex-shrink: 0;
}
.page-card__form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
  background-color: #f6f8fa;
  border-radius: 20px;
}
.page-card__form-title {
  font-size: 20px;
  line-height: 1.2;
}

/* ## Address */
.address {
  display: flex;
  align-items: center;
  gap: 20px;
}
.address--small {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.3;
}
.address--small .address__icon {
  position: absolute;
  top: 2px;
  left: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}
.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  line-height: 19.6px;
}
.breadcrumbs__link {
  color: #4254b1;
}
.breadcrumbs__link:hover {
  text-decoration: underline;
}
.breadcrumbs__last {
  opacity: 0.65;
}
.breadcrumbs__icon {
  fill: #4254b1;
}

.breadcrumbs__current {
  font-size: 14px;
}

/*--------------------------------------------------------------
# Pagination
--------------------------------------------------------------*/
.pagination {
  display: flex;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .pagination {
    flex-wrap: wrap;
    gap: 5px;
  }
}
.pagination__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  border: 1px solid #e5ebef;
  border-radius: 15px;
}
@media screen and (max-width: 768px) {
  .pagination__link {
    width: 40px;
    height: 40px;
    font-size: 12px;
    border-radius: 10px;
  }
}
.pagination__link:not(.pagination__link--arrow):hover, .pagination__link--current {
  background-color: #f4f235;
  border-color: transparent;
}
.pagination__link--arrow {
  width: auto;
  border: 0;
}
@media screen and (max-width: 768px) {
  .pagination__link--arrow {
    display: none;
  }
}
.pagination__link--arrow:hover .pagination__circle {
  color: #fff;
  background-color: #28598f;
}
.pagination__link--next {
  margin-left: 20px;
}
.pagination__link--prev {
  margin-right: 20px;
}
.pagination__link--prev .pagination__icon {
  transform: scale(-1);
}
.pagination__circle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background-color: #fff;
  border: 1px solid #28598f;
  border-radius: 50%;
  transition: 0.3s ease-in-out;
}
.pagination__icon {
  fill: #28598f;
}
.pagination__ellipsis {
  display: flex;
  align-items: flex-end;
}

/*--------------------------------------------------------------
# Comments
--------------------------------------------------------------*/
.comments {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}
.comments--reviews {
  gap: 40px;
}
.comments--reviews .comments__respond {
  margin-top: 10px;
}
.comments__header {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .comments__header {
    flex-direction: column;
    align-items: flex-start;
  }
}
.comments__title {
  margin: 0;
}
.comments__title--centered {
  text-align: center;
}
.comments__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.comments__respond {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px;
}
.comments__form {
  gap: 20px;
  margin: auto;
  padding: 50px;
  width: 855px;
  max-width: 100%;
  background-color: #f6f8fa;
  border-radius: 20px;
}
@media screen and (max-width: 1280px) {
  .comments__form {
    padding: clamp(25px, 4vw, 50px);
  }
}
.comments__rating {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
@media screen and (max-width: 1024px) {
  .comments__rating {
    margin-left: 0;
  }
}
.comments__rating-icon {
  flex-shrink: 0;
}
.comments__rating-value {
  font-size: 36px;
  line-height: 1;
}
.comments__rating-text {
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.7;
}

.comment {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.comment--depth-2 {
  margin-left: 30px;
}
.comment__container {
  display: flex;
  gap: 0 25px;
  padding: 10px;
  background-color: #f6f8fa;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .comment__container {
    flex-direction: column;
  }
}
.comment__container-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}
.comment__header {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 1024px) {
  .comment__header {
    flex-wrap: wrap;
    gap: 20px;
  }
}
.comment__author {
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}
.comment__time {
  font-size: 12px;
  line-height: 1;
  opacity: 0.5;
}
.comment__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}
@media screen and (max-width: 768px) {
  .comment__rating {
    margin-left: 0;
  }
}
.comment__rating-item {
  width: 25px;
  height: 7px;
  background-color: #eaeff4;
  border-radius: 3px;
}
.comment__rating-item--fill {
  background-color: #b3ef3e;
}
.comment__content {
  font-size: 16px;
  line-height: 1.5625;
}
@media screen and (max-width: 1024px) {
  .comment__content {
    font-size: 14px;
  }
}

/* ## Rating summary */
.rating-summary {
  display: flex;
  align-items: center;
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .rating-summary {
    flex-direction: column;
    align-items: flex-start;
  }
}
.rating-summary__left {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 180px;
}
@media screen and (max-width: 480px) {
  .rating-summary__left {
    max-width: 100%;
  }
}
.rating-summary__value {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 60px;
  line-height: 0.8;
}
.rating-summary__text {
  font-size: 12px;
  line-height: 1.67;
  opacity: 0.7;
}
.rating-summary__middle {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 170px;
}
@media screen and (max-width: 480px) {
  .rating-summary__middle {
    width: 100%;
  }
}
.rating-summary__bar {
  display: flex;
  align-items: center;
  gap: 5px;
}
.rating-summary__bar-icon {
  flex-shrink: 0;
}
.rating-summary__bar-value {
  width: 7px;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}
.rating-summary__bar-track {
  display: flex;
  flex-grow: 1;
  margin-left: 5px;
}
.rating-summary__bar-fill {
  height: 7px;
  min-width: 3px;
  background-color: #b3ef3e;
  border-radius: 3px;
}

/* ## Rating categories */
.rating-categories {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px 30px;
  width: 330px;
  max-width: 100%;
  background-color: #fff;
  border-radius: 20px;
}
@media screen and (max-width: 768px) {
  .rating-categories {
    gap: 10px;
    padding: 15px 20px;
  }
}
.rating-categories__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
@media screen and (max-width: 768px) {
  .rating-categories__item {
    gap: 10px;
  }
}
.rating-categories__label {
  font-size: 14px;
  line-height: 1;
}
@media screen and (max-width: 768px) {
  .rating-categories__label {
    font-size: 12px;
  }
}
.rating-categories__dots {
  display: flex;
  align-items: center;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .rating-categories__dots {
    gap: 3px;
  }
}
.rating-categories__dot {
  width: 25px;
  height: 7px;
  background-color: #eaeff4;
  border-radius: 3px;
}
@media screen and (max-width: 768px) {
  .rating-categories__dot {
    width: 15px;
    height: 5px;
  }
}
.rating-categories__dot--fill {
  background-color: #b3ef3e;
}

