@charset "UTF-8";
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

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

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
   ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
  font-family: "Proxima Nova", sans-serif;
  font-weight: 400;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
  margin-bottom: 60px;
  overflow: hidden;
}
@media (max-width: 768px) {
  main {
    margin-bottom: 30px;
  }
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  -webkit-box-sizing: border-box;
          box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

.container {
  max-width: 1430px;
  padding-left: 15px;
  padding-right: 15px;
  margin: auto;
}

.section-first {
  padding-top: 60px;
}

.main-title {
  text-align: center;
  color: #192c28;
  font-family: "Montserrat";
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .section-first {
    padding-top: 30px;
  }
  .main-title {
    color: #192c28;
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 30px;
  }
}
.category-cards {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
@media (max-width: 992px) {
  .category-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 15px;
    -webkit-column-gap: 15px;
       -moz-column-gap: 15px;
            column-gap: 15px;
  }
}

.cards-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.row-odd {
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}

.row-even {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.cards-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

/* Стили для нечетных рядов (3 карточки) */
.row-odd .card {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 calc(33.333% - 14px);
          flex: 0 1 calc(33.333% - 14px);
  max-width: calc(33.333% - 14px);
}

/* Стили для четных рядов (4 карточки) */
.row-even .card {
  -webkit-box-flex: 0;
      -ms-flex: 0 1 calc(25% - 15px);
          flex: 0 1 calc(25% - 15px);
  max-width: calc(25% - 15px);
}

@media (max-width: 992px) {
  .row-odd .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 14px);
            flex: 0 1 calc(50% - 14px);
    max-width: calc(50% - 14px);
  }
  .row-even {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: start;
  }
  .row-even .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 14px);
            flex: 0 1 calc(50% - 14px);
    max-width: calc(50% - 14px);
  }
}
.card {
  border-radius: 5px;
  background: #f5f5f5;
  padding: 20px 10px 10px 20px;
  overflow: hidden;
  max-height: 220px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 768px) {
  .card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    max-height: 180px;
  }
  .card-info {
    text-align: center;
  }
}

.card-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .card-title {
    color: #192c28;
    font-size: 14px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 14px;
  }
}

.card-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  text-align: left;
  text-decoration-line: underline;
  text-transform: capitalize;
}
@media (max-width: 768px) {
  .card-link {
    color: #270c01;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
  }
}

.card-image {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}
@media (max-width: 480px) {
  .card-image {
    max-height: 100px;
  }
  .card-image img {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .row-odd .card,
  .row-even .card {
    -webkit-box-flex: 0;
        -ms-flex: 0 1 calc(50% - 10px);
            flex: 0 1 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  .cards-row {
    gap: 10px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
.breadcrumbs {
  margin-top: 20px;
  margin-bottom: 20px;
}
.breadcrumbs__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 576px) {
  .breadcrumbs__list {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media (max-width: 400px) {
  .breadcrumbs__list {
    font-size: 14px;
  }
}
.breadcrumbs__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.breadcrumbs__item:not(:last-child) {
  margin-right: 20px;
}
@media (max-width: 400px) {
  .breadcrumbs__item:not(:last-child) {
    margin-right: 10px;
  }
}
.breadcrumbs__item:not(:last-child) a {
  padding-right: 20px;
}
@media (max-width: 400px) {
  .breadcrumbs__item:not(:last-child) a {
    padding-right: 10px;
  }
}
.breadcrumbs__item--active {
  color: #9786f8;
  text-decoration-line: underline;
}
@media (max-width: 768px) {
  .breadcrumbs__item--active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
}
@media (max-width: 400px) {
  .breadcrumbs__item--active {
    white-space: nowrap;
  }
}
.breadcrumbs__item:not(:last-child) .breadcrumbs__separator {
  display: block;
}
.breadcrumbs__separator {
  width: 20px;
  height: 1px;
  background-color: #DCDCDC;
  display: none;
}
@media (max-width: 400px) {
  .breadcrumbs__separator {
    width: 10px;
  }
}

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

.button-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 30px;
}

.button-back {
  color: #9786F8;
  font-size: 18px;
  padding-right: 20px;
  border-right: 1px solid #dcdcdc;
}

.button-proceed {
  padding-left: 20px;
  color: #fc9888;
  font-size: 18px;
  line-height: 100%;
}

.btn-primary {
  background: #6366F1;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
}

.no-found {
  margin-bottom: 100px;
}
.no-found__container {
  max-width: 590px;
  margin: 0 auto;
  text-align: center;
}
.no-found__img {
  max-width: 193px;
  width: 100%;
  margin-bottom: 20px;
}
.no-found__text {
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  color: rgb(100, 100, 100);
  margin-bottom: 40px;
}
.no-found .search__block {
  height: 50px;
}

.error-404 {
  margin-top: 90px;
}
.error-404__container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.error-404__img {
  max-width: 310px;
  width: 100%;
  margin-bottom: 20px;
}
.error-404__title {
  color: rgb(25, 44, 40);
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 20px;
}
.error-404__text {
  color: rgb(100, 100, 100);
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 40px;
}
.error-404 .search__block {
  margin: 0 auto;
  height: 50px;
}

.contant__body {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contant__text {
  color: #646464;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
}

.form-contact {
  background: #fff;
  padding: 30px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .form-contact {
    padding: 15px;
  }
}

.form-contact__title {
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 30px;
}

.form-contact__field {
  position: relative;
  margin-bottom: 20px;
}

.form-contact__field .form-contact__input,
.form-contact__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 16px;
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
  height: 50px;
  padding-left: 20px;
}

.form-contact__input:focus,
.form-contact__textarea:focus {
  border-color: #6366F1;
  outline: none;
}

.form-contact__input.error,
.form-contact__textarea.error {
  border-color: #EF4444;
}

.form-contact__textarea {
  min-height: 120px;
  resize: none;
  background: #f5f5f5;
}

.form-contact__error {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #EF4444;
  font-size: 14px;
}

.form-contact__submit {
  background: #9786f8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 60px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}

.form-contact__submit:hover {
  background: #826ef7;
}

.form-contact__thank-you {
  font-size: 16px;
  color: #28a745;
  margin-top: 20px;
}

.section-compare {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .section-compare {
    margin-bottom: 30px;
  }
}
.section-compare__title {
  color: rgb(25, 44, 40);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .section-compare__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
  }
}

.open-quiz {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .open-quiz {
    margin-bottom: 30px;
  }
}
.open-quiz__body {
  border: 1px solid #dcdcdc;
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  border-radius: 3px;
}
@media (max-width: 768px) {
  .open-quiz__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 15px;
    padding-bottom: 30px;
    text-align: center;
  }
}
.open-quiz__img {
  max-width: 450px;
  width: 100%;
}
.open-quiz__info {
  max-width: 800px;
}
.open-quiz__title {
  color: rgb(25, 44, 40);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .open-quiz__title {
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    margin-bottom: 15px;
  }
}
.open-quiz__text {
  color: #646464;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .open-quiz__text {
    line-height: 150%;
    margin-bottom: 30px;
  }
}
.open-quiz__btn {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  padding: 15px 30px;
  cursor: pointer;
  border: none;
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 768px) {
  .open-quiz__btn {
    border-radius: 5px;
    text-align: center;
    margin: 0 auto;
  }
}

.qsm-result {
  display: none; /* По умолчанию все скрыты */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 50px;
}

/* Отображаем нужный блок, если у родителя есть соответствующий класс */
.qsm-results-wrapper.qsm-score-1 .qsm-score-3,
.qsm-results-wrapper.qsm-score-2 .qsm-score-3,
.qsm-results-wrapper.qsm-score-3 .qsm-score-3 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.qsm-results-wrapper.qsm-score-4 .qsm-score-6,
.qsm-results-wrapper.qsm-score-5 .qsm-score-6,
.qsm-results-wrapper.qsm-score-6 .qsm-score-6 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.qsm-results-wrapper.qsm-score-7 .qsm-score-9,
.qsm-results-wrapper.qsm-score-8 .qsm-score-9,
.qsm-results-wrapper.qsm-score-9 .qsm-score-9 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.qsm-results-wrapper.qsm-score-10 .qsm-score-10 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.qsm-result:before {
  background-image: url("../img/result-1.png");
  content: "";
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 200px;
  height: 200px;
  display: block;
}

.qmn_results_page form {
  text-align: right;
}

.attention-block {
  margin-bottom: 30px;
}

.attention-block:last-child {
  margin-bottom: 30px;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal__actions .compare-notification {
  position: absolute;
  margin: 10px auto;
  background: #86a7ff;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  z-index: 999;
  max-width: 335px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: block;
}

.modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal__body {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  max-width: 460px;
  width: 100%;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.modal__close:hover {
  opacity: 0.7;
}

.modal__title {
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 20px;
  text-align: left;
  padding-bottom: 30px;
  border-bottom: 1px solid #dcdcdc;
}

.modal__info {
  text-align: center;
  border: 1px solid #fc9888;
  border-radius: 5px;
  background: rgba(252, 152, 136, 0.1019607843);
  padding: 15px;
  margin-bottom: 50px;
  position: relative;
}

.modal__info::before {
  content: "";
  position: absolute;
  top: calc(100% + 30px);
  height: 1px;
  width: 100%;
  background-color: #dcdcdc;
  left: 0;
}

.modal__info img {
  margin-bottom: 15px;
  max-width: 100%;
}

.modal__info-text {
  margin-bottom: 10px;
  color: #646464;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
}

.modal__icon {
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  width: 40px;
  height: 40px;
  background-color: #fff;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  margin: 0 auto;
}

.modal .btn-primary {
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.btn-primary {
  display: block;
  padding: 12px 24px;
  background: #9786F8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

.btn-primary:hover {
  background: #8673e7;
}

.compare-company {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.compare-companies {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dcdcdc;
  margin-bottom: 20px;
}

.compare-company__name {
  text-decoration: underline;
  color: #270c01;
  font-size: 18px;
  font-weight: 400;
  line-height: 100%;
}

.compare-company__remove {
  padding: 0;
  background-color: inherit;
  border: none;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin-top: 0;
}

.header {
  position: relative;
}
.header-top {
  position: relative;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
  background-color: #fff;
  z-index: 4;
}
@media (max-width: 768px) {
  .header-top {
    padding-bottom: 0;
    border: none;
  }
}
.header::before {
  content: "";
  position: absolute;
  bottom: 0;
  height: 1px;
  background-color: #DCDCDC;
  width: 100%;
}
.header__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 100%;
}
.header__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: end;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .header__top {
    display: none;
  }
}
.header__top-link {
  font-size: 16px;
  line-height: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.header__top-link__mail {
  text-decoration: underline;
}
.header__top-link:not(:last-child) {
  padding-right: 40px;
}
.header__top-link:not(:last-child)::after {
  content: "";
  width: 1px;
  background-color: #DCDCDC;
  height: 20px;
  display: block;
  margin-left: 40px;
}
.header__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: clamp(15px, 2vw, 40px);
}
@media (max-width: 1100px) {
  .header__body {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media (max-width: 992px) {
  .header__body .header__end {
    display: none;
  }
}
.header__logo {
  width: 200px;
  max-height: 50px;
}
@media (max-width: 768px) {
  .header__logo {
    width: 170px;
  }
}
.header__logo img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
@media (min-width: 992px) {
  .header__logo img {
    -webkit-transform: translateY(-55%);
        -ms-transform: translateY(-55%);
            transform: translateY(-55%);
  }
}
.header__start {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: clamp(10px, 2vw, 65px);
}
@media (max-width: 1100px) {
  .header__start {
    width: 100%;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.header__end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media (max-width: 480px) {
  .header__end {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .header__end .like-btn {
    width: 100%;
  }
}

.menu-katalog {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: 50px;
  cursor: pointer;
}

.menu-btn-burger {
  background-color: #FC9888;
  background-image: url('data:image/svg+xml,<svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 1H20" stroke="white" stroke-width="2"/><path d="M0 8.00011H20" stroke="white" stroke-width="2"/><path d="M0 15.0002H20" stroke="white" stroke-width="2"/></svg>');
  background-position: center;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  border-radius: 3px 0px 0px 3px;
}

@media (max-width: 768px) {
  .menu-btn-burger {
    border-radius: 3px;
  }
}
.menu-katalog.open .menu-btn-burger {
  background-image: url('data:image/svg+xml,<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 15.0712L15.1421 0.929077M15.1421 15.0713L1 0.929164" stroke="white" stroke-width="2"/></svg>');
}

.menu-btn {
  border-radius: 0px 3px 3px 0px;
  background: #9786f8;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  height: 50px;
  color: #fff;
  -webkit-transform: translateX(-1px);
      -ms-transform: translateX(-1px);
          transform: translateX(-1px);
  padding: 0 18px;
}

@media (max-width: 768px) {
  .menu-btn {
    display: none;
  }
}
.search__block {
  max-width: 590px;
  width: 100%;
}

.search__block {
  border: 1px solid rgb(220, 220, 220);
  border-radius: 3px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  max-height: 50px;
}
@media (max-width: 992px) {
  .search__block {
    height: 50px;
    margin: 0 auto;
    max-width: 100%;
  }
}

#search-select {
  font-family: "Montserrat";
  background-color: #F5F5F5;
  padding: 0 25px 0 15px;
  width: 140px;
  border-radius: 3px 0px 0px 3px;
  height: 98%;
  color: #9786f8;
  font-size: 14px;
  font-weight: 400;
  outline: none;
  border: none;
  word-wrap: break-word;
  overflow: hidden;
  cursor: pointer;
  text-overflow: ellipsis;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background: url("../img/select-arrow.svg") no-repeat right 10px center;
  background-color: #F5F5F5;
  background-size: 10px;
}

@media (max-width: 1200px) {
  #search-select {
    width: 120px;
  }
}
@media (max-width: 992px) {
  #search-select {
    width: 200px;
  }
}
@media (max-width: 768px) {
  #search-select {
    display: none;
  }
}
.search__block .input-search {
  height: 100%;
  border: none;
  padding-left: 15px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  outline: none;
  font-family: "Montserrat";
}

.search__block .input-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.glass-svg {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 15px;
}

.btn-header {
  background-color: #fff;
  height: 50px;
  max-width: 150px;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  border: 1px solid rgb(220, 220, 220);
  border-radius: 3px;
}
@media (max-width: 480px) {
  .btn-header {
    max-width: 100%;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.btn-header svg {
  width: 20px;
}

.btn-header__icon {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.btn-header-count {
  line-height: 1.15;
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 10px;
  border-radius: 50%;
  background-color: #9786F8;
  width: 12px;
  height: 12px;
  color: #fff;
  text-align: center;
}

.scales-btn {
  cursor: pointer;
}

.scales-btn-count {
  display: none;
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 10px;
  border-radius: 50%;
  background-color: #9786F8;
  width: 12px;
  height: 12px;
  color: #fff;
}

.menu-header {
  position: absolute;
  padding-top: 40px;
  visibility: hidden; /* Делаем меню полностью невидимым */
  opacity: 0; /* Устанавливаем прозрачность */
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease; /* Анимация для всех изменяющихся свойств */
  width: 100%;
  top: -100vh;
  z-index: 3;
}
@media (max-width: 992px) {
  .menu-header {
    padding-top: 20px;
  }
}
.menu-header.open {
  background-color: #fff;
  top: 100%;
  visibility: visible;
  opacity: 1;
  border-bottom: 1px solid #dcdcdc;
  border-radius: 5px;
}
.menu-header .container {
  position: relative;
}
.menu-header__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 40px;
  position: relative;
  margin-top: 20px;
  padding-top: 20px;
}
@media (max-width: 992px) {
  .menu-header__title::before {
    content: "";
    position: absolute;
    width: calc(100% + 40px);
    top: 0;
    left: 0;
    height: 1px;
    background-color: #dcdcdc;
    -webkit-transform: translateX(-20px);
        -ms-transform: translateX(-20px);
            transform: translateX(-20px);
  }
}
.menu-header__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.menu-header__nav-top {
  display: none;
}
.menu-header__nav-top li {
  list-style: none;
}
@media (max-width: 768px) {
  .menu-header__nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .menu-header__nav-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    padding-top: 30px;
    position: relative;
  }
  .menu-header__nav-top::before {
    content: "";
    position: absolute;
    top: 0;
    left: -15px;
    width: calc(100% + 30px);
    height: 1px;
    background: rgb(220, 220, 220);
  }
  .menu-header__nav-top a {
    text-decoration: underline;
  }
  .menu-header__nav-top .footer__mail-link {
    height: 50px;
    text-decoration: none;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
  .menu-header__nav-top .footer__mail-link a {
    color: #fff;
  }
}
@media (max-width: 480px) {
  .menu-header__nav {
    grid-template-columns: repeat(1, 1fr);
  }
}
.menu-header__nav ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}
@media (max-width: 480px) {
  .menu-header__nav ul {
    margin-bottom: 20px;
  }
}
.menu-header__nav ul li {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-header__nav ul li a {
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  text-decoration-line: underline;
}
.menu-header__nav ul li a.nav-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
  color: #192C28;
  text-decoration: none;
}

a.nav-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.menu-header__close {
  position: absolute;
  right: 20px;
  top: 0;
  cursor: pointer;
  z-index: 3;
}
@media (max-width: 480px) {
  .menu-header__close {
    display: none;
  }
}

input[type=hidden] {
  opacity: 0;
  display: none;
}

@media (max-width: 768px) {
  .pswp__ui.pswp__ui--fit:not(.pswp__ui--hidden) .pswp__preloader {
    display: none;
  }
}
.companies {
  padding: 60px 0;
}
@media (max-width: 768px) {
  .companies {
    padding: 30px 0;
  }
}
.companies__tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto 40px;
}
@media (max-width: 768px) {
  .companies__tabs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.companies__tab {
  padding: 12px 40px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border-radius: 0px 5px 5px 0px;
  border: 1px solid #E5E7EB;
}
@media (max-width: 768px) {
  .companies__tab {
    border-radius: 5px;
  }
}
@media (min-width: 768px) {
  .companies__tab:first-child {
    border-right: none;
    border-radius: 5px 0px 0px 5px;
  }
}
@media (max-width: 768px) {
  .companies__tab:first-child {
    border-radius: 5px;
  }
}
.companies__tab--active {
  border-radius: 0px 5px 5px 0px;
  background: #fc9888;
  color: #fff;
  border: 1px solid #fc9888;
}
.companies__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 30px;
  gap: 30px;
  position: relative;
}
.companies__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  color: #000;
  margin-bottom: 0;
}
.companies__select {
  padding: 10px 40px 10px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  cursor: pointer;
  width: 240px;
}
@media (max-width: 768px) {
  .companies__select {
    width: 100%;
  }
}
.companies__content {
  position: relative;
  padding: 0 20px;
  -webkit-transform: translateX(-10px);
      -ms-transform: translateX(-10px);
          transform: translateX(-10px);
}
@media (max-width: 992px) {
  .companies__content {
    -webkit-transform: translateX(-10px);
        -ms-transform: translateX(-10px);
            transform: translateX(-10px);
  }
}
@media (max-width: 768px) {
  .companies__content {
    padding: 0;
    -webkit-transform: translateX(-5px);
        -ms-transform: translateX(-5px);
            transform: translateX(-5px);
  }
}
.companies__category-select {
  position: relative;
}
@media (max-width: 768px) {
  .companies__category-select {
    width: 100%;
  }
}
.companies__category-select svg {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 18px;
  width: 15px;
}
.companies__slider {
  position: relative;
  padding: 0 0px;
  padding-bottom: 50px;
}
.companies__slider-btn {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  cursor: pointer;
  z-index: 2;
  padding: 0;
  margin: 0;
  background-color: inherit;
  border: none;
}
.companies__slider-btn svg {
  width: 15px;
  height: 30px;
}
.companies__slider-btn--prev {
  left: 0;
}
@media (max-width: 768px) {
  .companies__slider-btn--prev {
    display: none;
  }
}
.companies__slider-btn--next {
  right: -20px;
}
@media (max-width: 768px) {
  .companies__slider-btn--next {
    display: none;
  }
}
.companies__slider-btn--next svg {
  -webkit-transform: rotate(-180deg);
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
}

.company-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  -webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
          box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  position: relative;
}
.company-card__badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #6366F1;
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
}
.company-card__logo {
  text-align: center;
  margin-bottom: 20px;
}
.company-card__image {
  max-width: 120px;
  height: auto;
}
.company-card__name {
  font-size: 24px;
  font-weight: 700;
  color: #1F2937;
  text-align: center;
  margin-bottom: 10px;
}
.company-card__category {
  color: #6B7280;
  text-align: center;
  margin-bottom: 20px;
}
.company-card__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.company-card__stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2px;
}
.company-card__score {
  font-weight: 700;
  color: #1F2937;
}
.company-card__stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  padding: 15px 0;
  border-top: 1px solid #E5E7EB;
  border-bottom: 1px solid #E5E7EB;
}
.company-card__stat {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.company-card__stat-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.company-card__stat-icon--positive {
  background: #10B981;
}
.company-card__stat-icon--negative {
  background: #EF4444;
}
.company-card__stat-icon--neutral {
  background: #6B7280;
}
.company-card__contacts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
.company-card__link, .company-card__email, .company-card__phone {
  color: #6B7280;
  text-decoration: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
.company-card__link:hover, .company-card__email:hover, .company-card__phone:hover {
  color: #1F2937;
}

.rating-company {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border: 1px solid #192c28;
  border-radius: 5px;
  height: 40px;
}

.rating-company__stars {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 4px 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 100%;
}

.rating-company__value {
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
  color: #fff;
  background: #192c28;
  height: 100%;
  width: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.rating-company__count {
  color: #270c01;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  text-decoration-line: underline;
  cursor: pointer;
}
@media (min-width: 992px) {
  .rating-company__count {
    white-space: nowrap;
  }
}

.stars-outer {
  position: relative;
  display: inline-block;
}

.stars-outer::before {
  content: "";
  width: 145px; /* 29px * 5 звезд */
  height: 24px;
  background: url("../img/star-empty.svg") repeat-x;
  background-size: 29px 24px;
  display: block;
}

.stars-inner {
  position: absolute;
  top: 0;
  left: 0;
  white-space: nowrap;
  overflow: hidden;
  height: 24px;
  background: url("../img/star-filled.svg") repeat-x;
  background-size: 29px 24px;
}

.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #E5E7EB;
  opacity: 1;
}
.swiper-pagination-bullet-active {
  background: #6366F1;
}

@media (max-width: 1024px) {
  .companies__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
  .company-card__name {
    font-size: 20px;
  }
}
@media (max-width: 768px) {
  .companies__tabs {
    width: 100%;
  }
  .companies__tab {
    padding: 10px 20px;
  }
  .company-card {
    padding: 15px;
  }
}
@media (max-width: 480px) {
  .companies__title {
    font-size: 24px;
  }
  .companies__slider {
    padding: 0;
  }
  .company-card__stats {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.companies__slider-wrapper {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
@media (max-width: 768px) {
  .companies__slider-wrapper {
    padding-bottom: 20px;
  }
}

.companies__slider-wrapper .swiper-slide {
  height: auto;
}
.companies__slider-wrapper .swiper-slide .card-item {
  margin-left: 20px;
}
@media (max-width: 768px) {
  .companies__slider-wrapper .swiper-slide .card-item {
    margin-left: 10px;
  }
}
.companies__slider-wrapper .swiper-slide .card-item .company-preview__header .compare-notification {
  top: 50px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.card-item {
  height: 100%;
}
.card-item .fake-review-icon {
  position: absolute;
  width: 90px;
  padding: 6px;
  -webkit-transform: translateX(-30px);
      -ms-transform: translateX(-30px);
          transform: translateX(-30px);
  text-align: center;
  color: #ffffff;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}
.card-item .fake-review-icon.scam {
  background: #fc9888;
}
.card-item .fake-review-icon svg {
  width: 10px;
  height: 10px;
}

.card-mini__item .company-preview__terms {
  text-decoration: underline;
  color: #9786F8;
}
.card-mini__item .company-contacts a {
  text-decoration: underline;
}
.card-mini__item .company-contacts .company-contacts__item {
  max-width: 100%;
}

.custom-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}
@media (max-width: 768px) {
  .custom-author {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.custom-author .custom-author-avatar {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  width: 240px;
  height: 240px;
}
.custom-author .custom-author-avatar img {
  border-radius: 50%;
  overflow: hidden;
}
@media (min-width: 768px) and (max-width: 1200px) {
  .custom-author .custom-author-avatar {
    max-width: 20%;
    width: 100%;
    height: auto;
  }
  .custom-author .custom-author-avatar img {
    -o-object-fit: contain;
       object-fit: contain;
  }
}
.custom-author .custom-author-avatar img {
  width: 100%;
}
.custom-author .custom-author__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 768px) {
  .custom-author .custom-author__head {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.custom-author .custom-author__head h3 {
  color: #444444;
  font-family: "Montserrat";
  font-size: 24px;
  font-weight: 700;
  line-height: 30px;
  margin: 0;
}
.custom-author .custom-author__head .author-position {
  color: #ffffff;
  font-family: "Montserrat";
  font-size: 14px;
  font-weight: 600;
  line-height: 100%;
  border-radius: 3px 10px 3px 3px;
  padding: 5px 10px;
  background: #fc9888;
  margin: 0;
}
.custom-author .custom-author__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.custom-author .custom-author__description {
  color: #646464;
  font-family: "Montserrat";
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  margin: 0;
}

.single-company__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  color: #000;
}
@media (max-width: 768px) {
  .single-company__title {
    font-size: 24px;
  }
}
.single-company__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .single-company__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.single-company__main {
  width: 66.7%;
}
@media (max-width: 768px) {
  .single-company__main {
    width: 100%;
  }
}
.single-company__main p {
  color: #444444;
  font-size: 18px;
  font-weight: 400;
  line-height: 24px;
  word-break: break-word;
}
.single-company__main ul li {
  font-size: 18px;
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.single-company__main ul li::before {
  content: url("../img/arrow-marker.svg");
}
.single-company__main ol {
  counter-reset: custom-counter;
  margin: 0;
  padding: 0;
}
.single-company__main ol li {
  counter-increment: custom-counter;
  font-size: 18px;
  margin-bottom: 30px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 768px) {
  .single-company__main ol li {
    gap: 15px;
  }
}
.single-company__main ol li::before {
  font-family: "Montserrat";
  font-weight: 700;
  content: counter(custom-counter);
  min-width: 40px;
  height: 40px;
  background-color: #9786F8;
  border-radius: 3px;
  border-top-right-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  color: #fff;
}
.single-company__sidebars {
  width: 33.3%;
}
@media (max-width: 768px) {
  .single-company__sidebars {
    width: 100%;
  }
  .single-company__sidebars .sidebar-single {
    display: none;
  }
}
.single-company__sidebar {
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  padding: 20px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  margin-bottom: 20px;
}

.single-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .single-card {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .single-card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.single-card__logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 40px 50px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}
@media (max-width: 992px) {
  .single-card__logo {
    padding: 20px;
  }
}
.single-card__logo img {
  max-width: 256px;
}
@media (max-width: 992px) {
  .single-card__logo img {
    max-width: 220px;
  }
}
.single-card__center {
  max-width: 450px;
  width: 100%;
}
@media (max-width: 768px) {
  .single-card__center {
    max-width: 100%;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.single-card__btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .single-card__btns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    width: 100%;
  }
}
.single-card__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 23px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .single-card__rating {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.single-card__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
}
.pros-cons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .pros-cons {
    grid-template-columns: repeat(1, 1fr);
  }
}
.pros-cons__section {
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.pros-cons__section--pros .pros-cons__title::before {
  background-color: #86F896;
}
.pros-cons__section--pros .pros-cons__item::before {
  content: url("../img/zalety-icon.svg");
}
.pros-cons__section--cons .pros-cons__title::before {
  background-color: #FC9888;
}
.pros-cons__section--cons .pros-cons__item::before {
  content: url("../img/wady-icon.svg");
}
.pros-cons__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 40px;
}
.pros-cons__title::before {
  content: "";
  height: 5px;
  width: 60px;
}
.pros-cons__item {
  width: 100%;
  color: #646464;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}
.pros-cons__item::before {
  width: 25px;
  height: 25px;
}
.pros-cons__item:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid #DCDCDC;
  margin-bottom: 20px;
}

.company-criteria h2 {
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
  width: 100%;
}

.criteria-item {
  width: 100%;
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
  margin-bottom: 20px;
}
.criteria-item .criteria-label {
  color: #9a9a9a;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 10px;
}
.criteria-item .criteria-value {
  color: #9786F8;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0%;
}

.company-contacts {
  width: 100%;
}
.btn {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  border-radius: 5px;
  max-width: 220px;
  width: 100%;
  padding: 12px 10px;
  display: block;
  text-align: center;
  cursor: pointer;
}
.btn--primary {
  /* Purple */
  background: #9786F8;
}
.btn--secondary {
  background: #FC9888;
}

.review-form {
  background: #fff;
  padding: 30px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .review-form {
    padding: 15px;
  }
}
.review-form__title {
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  margin: 0;
}
.review-form__head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}
.review-form__head .review-form__field {
  margin-bottom: 0;
}
@media (max-width: 480px) {
  .review-form__head {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0;
  }
}
.review-form__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media (max-width: 480px) {
  .review-form__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 0;
  }
}
.review-form__field {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  position: relative;
  margin-bottom: 30px;
}
.review-form__field input {
  padding-left: 15px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  background: #f5f5f5;
  height: 50px;
  color: #646464;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}
.review-form__field input[name=author] {
  max-width: 420px;
}
.review-form__field--avatar {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.review-form__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #dcdcdc;
  margin-bottom: 30px;
  position: relative;
}
.review-form__rating .review-form__error {
  bottom: 5px;
}
.review-form__label {
  width: 240px;
}
@media (max-width: 992px) {
  .review-form__label {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}
.review-form__opinion {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 30px;
  border-bottom: 1px solid #dcdcdc;
}
.review-form__opinion .review-form__error {
  bottom: -15px;
}
@media (max-width: 768px) {
  .review-form__opinion {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}
.review-form__policy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  position: relative;
}
.review-form__policy .review-form__error {
  bottom: -20px;
}
@media (max-width: 768px) {
  .review-form__policy {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
}
.review-form__policy-text a {
  color: #9786F8;
}
.review-form__input, .review-form__textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-size: 16px;
  -webkit-transition: border-color 0.2s ease;
  transition: border-color 0.2s ease;
}
.review-form__input:focus, .review-form__textarea:focus {
  border-color: #6366F1;
  outline: none;
}
.review-form__input.error, .error.review-form__textarea {
  border-color: #EF4444;
}
.review-form__textarea {
  min-height: 120px;
  resize: none;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  background: #f5f5f5;
}
.review-form__avatar-label {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 12px 20px;
  background: #F3F4F6;
  border-radius: 8px;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.review-form__avatar-label:hover {
  background: #E5E7EB;
}
.review-form__avatar-input {
  display: none;
}
.review-form__error {
  position: absolute;
  bottom: -20px;
  left: 0;
  color: #EF4444;
  font-size: 14px;
}
.review-form__submit {
  background: #9786F8;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  -webkit-transition: background 0.2s ease;
  transition: background 0.2s ease;
}
.review-form__submit:hover {
  background: #4c4fef;
}

.review-form__avatar-filename {
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}

.rating-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.rating-stars input {
  display: none;
}
.rating-stars input:checked ~ .star-label {
  background-image: url("../img/star-filled.svg");
}
.rating-stars .star-label {
  width: 29px;
  height: 24px;
  cursor: pointer;
  background: url("../img/star-empty.svg") center/contain no-repeat;
}
.rating-stars:hover .star-label {
  background-image: url("../img/star-empty.svg");
}
.rating-stars .star-label:hover, .rating-stars .star-label:hover ~ .star-label {
  background-image: url("../img/star-filled.svg");
}

.opinion-options {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
@media (max-width: 992px) {
  .opinion-options {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    margin-left: auto;
  }
}
@media (max-width: 768px) {
  .opinion-options {
    margin-left: 0;
  }
}

.opinion-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
  cursor: pointer;
}
.opinion-option input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  background-color: #9786F8;
}
.opinion-option input:checked ~ .opinion-text {
  color: #444444;
  font-size: 16px;
  font-weight: 700;
}
.opinion-option .opinion-icon {
  font-size: 24px;
  opacity: 0.5;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.opinion-option input:checked ~ .opinion-icon {
  opacity: 1;
}

.rating-distribution {
  background: #fff;
  border-radius: 8px;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  min-width: 270px;
}

.rating-bar-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
  gap: 10px;
}

.rating-bar {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  height: 8px;
  background-color: #E9ECEF;
  border-radius: 4px;
  overflow: hidden;
}

.rating-bar-fill {
  height: 100%;
  background-color: #FF8B7B;
  border-radius: 4px;
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}

.rating-label {
  min-width: 70px;
  color: #666;
  font-size: 14px;
}

/* Стили для тултипа при наведении */
.rating-bar-wrapper {
  position: relative;
}

.rating-bar-wrapper:hover::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  top: -30px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.like-btn {
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 0 20px;
}

.highlight {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
  background-color: rgba(151, 134, 248, 0.2); /* Используем цвет из вашего SVG */
}

.single-card__like {
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  width: 40px;
  height: 40px;
  background-color: #fff;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}

.single-card__like:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.single-card__like svg {
  -webkit-transition: fill 0.2s ease;
  transition: fill 0.2s ease;
}

.single-card__like:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}

.single-card__like.is-liked {
  background-color: #9786F8;
}

.single-card__like.is-liked svg {
  display: none;
}

.single-card__like.is-liked {
  background-color: #9786F8;
}

.single-card__like.is-liked::after {
  content: url("../img/close-icon-like.svg");
}

.remove-favorite {
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  width: 40px;
  height: 40px;
  background-color: #fff;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}

.company-preview__compare {
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.2s ease;
  transition: -webkit-transform 0.2s ease;
  transition: transform 0.2s ease;
  transition: transform 0.2s ease, -webkit-transform 0.2s ease;
  width: 40px;
  height: 40px;
  background-color: #fff;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
}
.company-preview__compare:hover {
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
.company-preview__compare:active {
  -webkit-transform: scale(0.95);
      -ms-transform: scale(0.95);
          transform: scale(0.95);
}
.company-preview__compare svg {
  -webkit-transition: fill 0.2s ease;
  transition: fill 0.2s ease;
}
.company-preview__compare.is-compared {
  background-color: #9786F8;
}
.company-preview__compare.is-compared svg {
  display: none;
}
.company-preview__compare.is-compared::after {
  content: url("../img/close-icon-compare.svg");
}

.companies .company-preview__compare {
  display: none;
}

.opinion-counts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
}

.opinion-count {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}

.opinion-count span {
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

.opinion-count:hover::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  top: -30px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
}

.company-contacts {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.company-contacts:not(:last-child) {
  margin-bottom: 20px;
}

.company-contacts .company-contacts__item {
  display: block;
  padding-left: 45px;
  max-width: 23vw;
}
@media (max-width: 768px) {
  .company-contacts .company-contacts__item {
    max-width: 200px;
  }
}
@media (max-width: 576px) {
  .company-contacts .company-contacts__item {
    max-width: 80vw;
  }
}
@media (max-width: 380px) {
  .company-contacts .company-contacts__item {
    max-width: 245px;
  }
}

.company-contacts__site {
  color: #FC9888;
  position: relative;
  word-wrap: break-word;
}

.company-contacts__site::before {
  position: absolute;
  left: 0;
  max-height: 25px;
  height: 23px;
  width: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: url("../img/link-site.svg") 0 0 no-repeat;
  background-size: contain;
  content: "";
}

.company-contacts__telefon {
  color: #444;
  position: relative;
  word-wrap: break-word;
}

.company-contacts__telefon::before {
  position: absolute;
  left: 0;
  width: 16px;
  height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: url("../img/phone.svg") 0 0 no-repeat;
  background-size: contain;
  content: "";
}

.company-contacts__e-mail {
  color: #FC9888;
  position: relative;
  word-wrap: break-word;
}

.company-contacts__e-mail::before {
  position: absolute;
  left: 0;
  width: 25px;
  height: 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  background: url("../img/email.svg") 0 0 no-repeat;
  background-size: contain;
  content: "";
}

.fake-review-icon {
  display: block;
  color: rgb(255, 255, 255);
  font-size: 13px;
  font-weight: 700;
  line-height: 100%;
  background-color: #9786F8;
  -webkit-transform: translateX(-37px);
      -ms-transform: translateX(-37px);
          transform: translateX(-37px);
  margin-right: -20px;
  text-transform: uppercase;
  padding: 10px;
  position: relative;
  white-space: nowrap;
}
@media (max-width: 1024px) {
  .fake-review-icon {
    position: absolute;
    top: 20px;
  }
}

@media (max-width: 768px) {
  .review.fake-review .fake-review-icon {
    top: 0;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
  }
  .review.fake-review .fake-review-icon svg {
    display: none;
  }
}

.fake-review-icon svg {
  position: absolute;
  top: 100%;
  left: 0;
}

.sidebar-single {
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  margin-bottom: 20px;
}
.sidebar-single__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  color: #192c28;
  margin-bottom: 20px;
}
.sidebar-single__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
}
.sidebar-single__list-najgorsze .company-preview__rating {
  display: none;
}
.sidebar-single__item:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid #DCDCDC;
}

.company-preview__header {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 1200px) {
  .company-preview__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.company-preview__header:not(:last-child) {
  margin-bottom: 20px;
}
.company-preview__header .compare-notification {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  background: #86a7ff;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  z-index: 999;
  max-width: 335px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.company-preview__logo {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  overflow: hidden;
}
.company-preview__logo img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.company-preview__info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.company-preview__title {
  color: #270c01;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 10px;
}
@media (max-width: 1200px) {
  .company-preview__title {
    text-align: center;
  }
}
.company-preview__title a {
  color: #1A1A1A;
  text-decoration: none;
}
.company-preview__title a:hover {
  color: #9786F8;
}
.company-preview__category {
  color: #9786F8;
  font-size: 14px;
}
.company-preview__btns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
@media (max-width: 1200px) {
  .company-preview__btns {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.company-preview__rating {
  margin-bottom: 10px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
}
@media (max-width: 1200px) {
  .company-preview__rating {
    margin: 0 auto;
    margin-bottom: 10px;
  }
}
.company-preview__rating .rating-stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 8px;
}
.company-preview__rating .rating-value {
  padding: 4px 8px;
  background: #F5F5F5;
  border-radius: 4px;
  font-weight: 600;
  color: #1A1A1A;
}
.company-preview__stats {
  margin-bottom: 16px;
}
.company-preview__stats .opinion-counts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
}
.company-preview__stats .opinion-count {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 4px;
  font-size: 14px;
  color: #666666;
}
.company-preview__stats .opinion-count img {
  width: 16px;
  height: 16px;
}
.company-preview__stats .opinion-count--positive img {
  -webkit-filter: invert(76%) sepia(24%) saturate(1103%) hue-rotate(67deg) brightness(89%) contrast(86%);
          filter: invert(76%) sepia(24%) saturate(1103%) hue-rotate(67deg) brightness(89%) contrast(86%);
}
.company-preview__stats .opinion-count--neutral img {
  -webkit-filter: invert(83%) sepia(16%) saturate(15%) hue-rotate(169deg) brightness(93%) contrast(90%);
          filter: invert(83%) sepia(16%) saturate(15%) hue-rotate(169deg) brightness(93%) contrast(90%);
}
.company-preview__stats .opinion-count--negative img {
  -webkit-filter: invert(39%) sepia(89%) saturate(2242%) hue-rotate(330deg) brightness(100%) contrast(90%);
          filter: invert(39%) sepia(89%) saturate(2242%) hue-rotate(330deg) brightness(100%) contrast(90%);
}
.company-preview__actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
}
.company-preview__actions button {
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.company-preview__actions button:hover {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
.company-preview__actions button.adding-to-compare, .company-preview__actions button.adding-to-favorites {
  -webkit-animation: addToAction 1s ease-out;
          animation: addToAction 1s ease-out;
}
.company-preview__actions .btn--primary {
  padding: 8px 16px;
  background: #9786F8;
  color: #FFFFFF;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  margin-left: auto;
}
.company-preview__actions .btn--primary:hover {
  background: #826ef7;
}
@media (max-width: 768px) {
  .company-preview .company-contacts {
    overflow: hidden;
  }
}
.company-preview .company-contacts:not(:last-child) {
  margin-bottom: 15px;
}
.company-preview .company-contacts .company-contacts__site {
  color: #000;
}
.company-preview .company-contacts .company-contacts__e-mail {
  color: #000;
}
.reviews-notification {
  position: absolute;
  left: 0;
  bottom: calc(100% + 10px);
  background: #86a7ff;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  z-index: 9999;
  max-width: 335px;
  font-size: 14px;
  line-height: 1.4;
  width: 335px;
  text-align: center;
  -webkit-box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

@-webkit-keyframes addToAction {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1) translateY(-20px);
            transform: scale(1) translateY(-20px);
    opacity: 0;
  }
}

@keyframes addToAction {
  0% {
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.2);
            transform: scale(1.2);
  }
  100% {
    -webkit-transform: scale(1) translateY(-20px);
            transform: scale(1) translateY(-20px);
    opacity: 0;
  }
}
.faq-block {
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  margin-bottom: 20px;
}

.faq-block__title {
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  color: #192c28;
  margin-bottom: 20px;
}

.accordion {
  margin: 0 auto;
}

.accordion-item {
  background-color: #fff;
  color: #111;
  margin: 1rem 0;
  border-radius: 0.5rem;
  -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
          box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.25);
}

.accordion-item-header {
  padding: 0.5rem 3rem 0.5rem 1rem;
  min-height: 3.5rem;
  line-height: 1.25rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  cursor: pointer;
  font-weight: 600;
  color: #000000;
}

.accordion-item-header::after {
  content: "+";
  font-size: 2rem;
  position: absolute;
  right: 1rem;
}

.accordion-item-header.active::after {
  content: "−";
}

.accordion-item-body {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.2s ease-out;
  transition: max-height 0.2s ease-out;
}

.accordion-item-body-content {
  padding: 1rem;
  line-height: 1.5rem;
  border-top: 1px solid;
  -o-border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
     border-image: -webkit-gradient(linear, left top, right top, from(transparent), color-stop(#34495e), to(transparent)) 1;
     border-image: linear-gradient(to right, transparent, #34495e, transparent) 1;
}

/* CSS стили */
.review {
  width: 100%;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}
@media (max-width: 768px) {
  .review {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.reviews__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.reviews__sort {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-decoration: underline;
  cursor: pointer;
}

.reviews__sort svg {
  width: 10px;
}

.reviews__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.review__user {
  min-width: 180px;
  padding: 10px;
  width: 200px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-align: center;
  border-right: 1px solid rgb(220, 220, 220);
  gap: 15px;
}
@media (max-width: 992px) {
  .review__user {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .review__user {
    width: 100%;
    border-bottom: 1px solid #dcdcdc;
    padding-bottom: 30px;
  }
}

.review__avatar {
  margin-top: 10%;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0f0f0;
}
@media (max-width: 768px) {
  .review__avatar {
    margin-top: 20px;
  }
}

.review__avatar-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.review__username {
  color: #192c28;
  font-size: 16px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 15px;
}

.review__status {
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
}
@media (max-width: 992px) {
  .review__status {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.review__status.Neutralny {
  color: #9786F8;
}

.review__status.Polecam {
  color: #3DCD51;
}

.review__status.Nie-Polecam-Tego {
  color: #fc9888;
}

.review__status--positive {
  color: #4CAF50;
}

.review__content {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  padding: 20px;
  position: relative;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .review__content {
    padding-top: 60px;
  }
}
@media (max-width: 768px) {
  .review__content {
    text-align: center;
    padding-top: 30px;
  }
}

.review__title {
  color: #192c28;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  word-break: break-word;
}

.review__text {
  color: #646464;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

.review__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .review__header {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .review__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.review__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  align-items: center;
  border: 1px solid #192c28;
  border-radius: 5px;
  height: 40px;
}
@media (max-width: 1200px) {
  .review__rating {
    gap: 0;
  }
}

.review__date {
  margin-left: auto;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .review__date {
    margin-left: 0;
  }
}
@media (max-width: 768px) {
  .review__date {
    margin-left: 0;
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
}

.stars {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2px;
}

.review__footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 768px) {
  .review__footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}

.review__actions {
  margin-top: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .review__actions {
    margin: 20px auto 0 auto;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }
}

.replies-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
}
.replies-item:not(:last-child) {
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .replies-item__img {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 60px;
    width: 40px;
    -o-object-fit: contain;
       object-fit: contain;
  }
}

.review__reply-btn {
  background-color: inherit;
  padding: 0;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  color: #9786F8;
  word-break: break-word;
}

.review__vote {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  height: 30px;
}

.review__vote-count {
  height: 100%;
  border: 1px solid #dcdcdc;
  width: 51px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-right: none;
  border-radius: 3px 0px 0px 3px;
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

.review__vote-btn {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 5px;
  padding-right: 5px;
  border: none;
  cursor: pointer;
  border-radius: 0px 3px 3px 0px;
}

.review__vote-btn svg {
  width: 20px;
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
}

.review__vote-btn--up {
  background: #3dcd51;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .review__vote-btn--up {
    background-color: #86F896;
  }
}

.review__vote-btn--down {
  background: #9C27B0;
  opacity: 0.5;
}
@media (max-width: 768px) {
  .review__vote-btn--down {
    background-color: #9786f8;
  }
}

.review__vote-btn--up.active {
  opacity: 1;
}

.review__vote-btn--down.active {
  opacity: 1;
}

.reviews__title {
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
}

.reviews-filters {
  position: absolute;
  top: 100%;
  right: 0;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  background: #ffffff;
  padding: 15px;
  max-width: 270px;
  z-index: 3;
  display: none;
}

.reviews-filters.active {
  display: block;
}

.reviews-filter:not(:last-child) {
  padding-bottom: 20px;
  border-bottom: 1px solid #dcdcdc;
  margin-bottom: 20px;
}

.filter-header {
  font-weight: 500;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: pointer;
}

.filter-header svg {
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.filter-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
}

.filter-content__date {
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.filter-content__text {
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}

.filter-content__rating {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.filter-content input[type=date] {
  width: 115px;
  height: 44px;
}

.filter-content {
  height: 0;
  opacity: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.filter-content label {
  cursor: pointer;
}

.reviews-filter.active .filter-content {
  opacity: 1;
}

.reviews-filter.active .filter-header {
  color: #9786F8;
}

.reviews-filter.active .filter-header svg {
  -webkit-transform: rotate(-180deg);
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
}

.reviews-filter.active .filter-header svg path {
  stroke: #9786F8;
}

.date-filter .filter-content {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.rating-option {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  cursor: pointer;
  gap: 25px;
}

.rating-option input {
  display: none;
}

.custom-checkbox {
  width: 25px;
  height: 25px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  position: relative;
}

input.custom-input-checkbox {
  display: none;
}

input.custom-input-checkbox:checked ~ .custom-checkbox::after {
  content: "";
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background-color: #9786F8;
}

.rating-option .rating-option__custom-checkbox {
  width: 25px;
  height: 25px;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  position: relative;
}

.rating-option input:checked ~ .rating-option__custom-checkbox::after {
  content: "";
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 2px;
  background-color: #9786F8;
}

.filter-apply {
  padding: 10px 30px;
  background: #9786F8;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.filter-apply:hover {
  background: #5f4dd1;
}

.recommendation-filter .filter-content input[name=recommendation] {
  display: none;
}

.recommendation-filter .filter-content {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.recommendation-filter .filter-content label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

input[name=recommendation]:checked ~ svg path {
  fill: #9786F8;
}

input[name=recommendation]:checked ~ div {
  color: #9786F8;
}

#combinedFilter {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}
@media (max-width: 768px) {
  #combinedFilter {
    width: 100%;
  }
}

.top-filters {
  margin-bottom: 20px;
}

.category-content__title {
  color: #192c28;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 37px;
}
@media (max-width: 768px) {
  .category-content__title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 20px;
  }
}

.open-filter-icon {
  background-color: #FC9888;
  background-image: url("../img/open-filter.png");
  background-position: center;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  border-radius: 3px 0px 0px 3px;
}

.open-filter-text {
  border-radius: 0px 3px 3px 0px;
  background: #9786f8;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  height: 50px;
  color: #fff;
  -webkit-transform: translateX(-1px);
  -ms-transform: translateX(-1px);
  transform: translateX(-1px);
  padding: 0 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 480px) {
  .open-filter-text {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}

.open-filter-category {
  display: none;
}
@media (max-width: 768px) {
  .open-filter-category {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-height: 50px;
    cursor: pointer;
    margin: 0 auto;
  }
}
@media (max-width: 480px) {
  .open-filter-category {
    width: 100%;
  }
}
.open-filter-category.active .open-filter-icon {
  background-image: url("../img/close-filter.png");
}

.category-content__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .category-content__wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}
.category-content__filter {
  max-width: 335px;
  width: 100%;
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
@media (min-width: 768px) {
  .category-content__filter {
    min-width: 240px;
  }
}
@media (max-width: 768px) {
  .category-content__filter {
    max-width: none;
    display: none;
  }
  .category-content__filter.active {
    display: block;
  }
}

.filter-category__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.filter-category__header .question-icon {
  position: relative;
  height: 30px;
  width: 30px;
}
.filter-category__header .question-icon:hover::after {
  content: attr(title);
  position: absolute;
  width: 335px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  word-wrap: break-word;
  left: -10px;
  top: calc(100% + 5px);
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  padding: 20px;
  z-index: 4;
  border-radius: 5px;
  background: #86a7ff;
  font-size: 12px;
}
.filter-category__title {
  color: #1e1e31;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  word-wrap: break-word;
  max-width: 90%;
}

.content-category__items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 1200px) {
  .content-category__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .content-category__items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .content-category__items {
    grid-template-columns: repeat(1, 1fr);
  }
}
.content-category__items-ulubione {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
  .content-category__items-ulubione {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .content-category__items-ulubione {
    grid-template-columns: repeat(1, 1fr);
  }
}

.card-item {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  padding: 20px;
}
.card-item .company-preview__header {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.card-item .company-preview__btns {
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  width: 100%;
}
.card-item .company-preview__logo {
  width: 100%;
  height: 150px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
  border: none;
  margin: 0 auto;
  padding: 0;
}
@media (max-width: 768px) {
  .card-item .company-preview__logo {
    max-width: 330px;
  }
}
.card-item .company-preview__title {
  text-align: center;
  margin-bottom: 0px;
  height: 40.4px;
}
.card-item .company-preview__terms {
  text-decoration: underline;
  color: #270c01;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 20px;
  display: block;
  text-align: center;
}
.card-item .opinion-counts {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 20px;
}
.card-item .company-preview__rating {
  margin: 0 auto;
}

.filter-group {
  margin-bottom: 20px;
}
.filter-group.type-checkbox .checkbox-group {
  height: 0;
  opacity: 0;
  overflow: hidden;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.filter-group.type-checkbox h4 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  position: relative;
  cursor: pointer;
}
.filter-group.type-checkbox h4::after {
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M11 1.5L6 6.5L1 1.5' stroke='%23646464' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 8px;
  padding-right: 16px; /* Чтобы текст не налезал на иконку */
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}
.filter-group.type-checkbox.open .checkbox-group {
  opacity: 1;
  overflow: visible;
}
.filter-group.type-checkbox.open h4::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M11 1.5L6 6.5L1 1.5' stroke='%239786F8' stroke-width='2'/%3E%3C/svg%3E");
  -webkit-transform: rotate(-180deg);
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
  color: #9786F8;
}
.filter-group .checkbox-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #646464;
  gap: 15px;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  cursor: pointer;
}
.filter-group .checkbox-label:not(:last-child) {
  margin-bottom: 15px;
}
.filter-group input.custom-input-checkbox:checked ~ span {
  color: #9786f8;
  font-weight: 700;
}
.filter-group h4 {
  color: #1e1e31;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 20px;
}

.filter-buttons #showResults {
  padding: 15px 30px 15px 30px;
  border-radius: 5px;
  background: #9786f8;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  width: 100%;
  margin-bottom: 30px;
  cursor: pointer;
}
.filter-buttons #resetFilters {
  cursor: pointer;
  padding: 0;
  background-color: #fff;
  color: #fc9888;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: left;
  text-decoration-line: underline;
  border: none;
}

.custom-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none; /* Убирает стандартную стрелку */
  background: url("../img/select-arrow.svg") no-repeat right center; /* Кастомная стрелка */
  background-position: calc(100% - 15px) center;
}

.category-description {
  color: #646464;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  margin-bottom: 20px;
}

.active-filters {
  padding: 20px;
  overflow-x: auto;
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  margin-bottom: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
@media (max-width: 768px) {
  .active-filters {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 10px;
  }
}

.active-filters:not(:has(*)) {
  display: none;
}

.active-filter-tag {
  padding: 5px 15px;
  border-radius: 3px;
  background: #9786f8;
  color: rgb(255, 255, 255);
  font-size: 12px;
  font-weight: 400;
  line-height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.active-filter-tag b {
  font-weight: 700;
  margin-left: 5px;
}
.active-filter-tag .remove-filter {
  border: none;
  background-color: inherit;
  padding: 0;
  margin-left: 15px;
  cursor: pointer;
}
@media (max-width: 768px) {
  .active-filter-tag .remove-filter {
    margin-left: auto;
  }
}
.active-filter-tag .remove-filter svg {
  width: 15px;
}

.content-category__pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 30px;
  margin-bottom: 20px;
}

.pagination-prev {
  width: 40px;
  height: 40px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  background-image: url("../img/arrow-left.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

.pagination-next {
  width: 40px;
  height: 40px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
  background-image: url("../img/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 8px;
}

.pagination-current {
  font-size: 16px;
  font-weight: 700;
  color: #DCDCDC;
}

.pagination-current b {
  color: #9786F8;
}

.recommended-company .sidebar-single__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1200px) {
  .recommended-company .sidebar-single__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .recommended-company .sidebar-single__list {
    grid-template-columns: repeat(1, 1fr);
  }
}

.companies__scrollbar {
  -webkit-transform: translateX(10px);
      -ms-transform: translateX(10px);
          transform: translateX(10px);
}
.companies__scrollbar .swiper-scrollbar-drag {
  background-color: #9786F8;
}

.button-search {
  cursor: pointer;
  position: absolute;
  height: 100%;
  width: 50px;
  right: 0px;
  top: 0;
  background-color: #fff;
  border: none;
}

.compare-container {
  padding: 20px;
  max-width: 100%;
  overflow-x: auto; /* Добавляем горизонтальный скролл */
}

.compare-table-wrapper {
  display: block;
  overflow-x: auto; /* Скролл при необходимости */
  white-space: nowrap;
}

.compare-table-wrapper::-webkit-scrollbar {
  height: 5px;
  background: #f5f5f5;
  border-radius: 10px;
}

.compare-table-wrapper::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background-color: #9786F8;
}
@media (max-width: 768px) {
  .compare-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #FC9888;
  }
}

.compare-table-wrapper {
  margin-top: 20px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .compare-table-wrapper {
    margin-top: 30px;
  }
}

.compare-table {
  border-collapse: collapse;
  margin-top: 0px;
  width: auto; /* Подстраивается под контент */
  min-width: 100%; /* Минимальная ширина */
  table-layout: fixed; /* Фиксированная ширина колонок */
  margin-bottom: 20px;
}

.compare-table th img {
  max-width: 180px;
}
@media (max-width: 768px) {
  .compare-table th img {
    max-width: 128px;
  }
}

.compare-table th,
.compare-table td {
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  overflow: hidden;
  background-color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
  min-width: 349.8px;
}
@media (max-width: 992px) {
  .compare-table th,
  .compare-table td {
    min-width: 250px;
  }
}
@media (max-width: 768px) {
  .compare-table th,
  .compare-table td {
    min-width: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 100%;
  }
}

.compare-table th a {
  width: 100%;
  display: block;
}

.compare-table th img {
  max-height: -webkit-fit-content;
  max-height: -moz-fit-content;
  max-height: fit-content;
  display: block;
  margin: 0 auto 5px;
  cursor: pointer;
}

.no-compare {
  background-color: #ffefef;
  padding: 15px;
  border: 1px solid #fc9888;
  border-radius: 5px;
  background: rgba(252, 152, 136, 0.1019607843);
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: start;
  color: #646464;
  font-size: 18px;
  font-weight: 400;
  line-height: 36px;
  gap: 30px;
}
@media (max-width: 768px) {
  .no-compare {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 15px;
  }
}
@media (min-width: 768px) {
  .no-compare img {
    padding-right: 30px;
    border-right: 1px solid #dcdcdc;
  }
}

.modal__icon {
  margin-left: 4px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}

.no-compare__body {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  max-width: 75%;
  text-align: left;
}
@media (max-width: 768px) {
  .no-compare__body {
    font-size: 16px;
    font-weight: 400;
    line-height: 21px;
    text-align: center;
  }
  .no-compare__body span {
    display: block;
  }
  .no-compare__body .modal__icon {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 auto;
    margin-top: 10px;
  }
}

.page-compare__title {
  color: #192c28;
  font-size: 36px;
  font-weight: 700;
  text-align: left;
}
@media (max-width: 768px) {
  .page-compare__title {
    font-size: 24px;
  }
}

.compare-table tbody tr:nth-child(odd) td {
  background-color: rgb(247, 250, 255);
  font-weight: 700;
  font-size: 18px;
}
@media (max-width: 768px) {
  .compare-table tbody tr:nth-child(odd) td {
    font-size: 16px;
  }
}

.compare-table tbody tr:nth-child(even) td {
  font-size: 16px;
}

.compare-table tbody tr td {
  white-space: pre-wrap;
}

.compare-table tbody tr td.green {
  color: #3dcd51 !important;
  font-weight: 700;
}

.compare-table tbody tr td.red {
  color: #fc9888 !important;
  font-weight: 700;
}

.about-first {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .about-first {
    margin-bottom: 30px;
  }
}
.about-first__title {
  color: #192c28;
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 40px;
}
@media (max-width: 768px) {
  .about-first__title {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 30px;
  }
}
.about-first__body {
  border: 1px solid rgb(220, 220, 220);
  border-radius: 5px;
  padding: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 40px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
@media (max-width: 768px) {
  .about-first__body {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    padding: 15px;
    gap: 30px;
  }
}
.about-first__img {
  max-width: 290px;
  width: 100%;
}
@media (max-width: 992px) {
  .about-first__img {
    -ms-flex-negative: 0;
        flex-shrink: 0;
    max-width: 200px;
  }
}
@media (max-width: 768px) {
  .about-first__img {
    max-width: 290px;
  }
}
.about-first__img img {
  width: 100%;
}
.about-first__subtitle {
  color: #192c28;
  font-size: 24px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 20px;
}
.about-first__text {
  color: #646464;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.team {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .team {
    margin-bottom: 30px;
  }
}
.team__title {
  color: #192c28;
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .team__title {
    margin-bottom: 30px;
  }
}
.team__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
}
.team__wrap--title {
  display: none;
}
@media (max-width: 768px) {
  .team__wrap--title {
    color: #192c28;
    display: block;
    font-size: 36px;
    font-weight: 700;
    line-height: 100%;
  }
}
@media (max-width: 992px) {
  .team__wrap {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .team__wrap {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
}
.team__card img {
  width: 100%;
  margin-bottom: 30px;
  max-height: 414px;
  -o-object-fit: contain;
     object-fit: contain;
}
.team__name {
  color: #646464;
  font-size: 24px;
  font-weight: 600;
  line-height: 30px;
  margin-bottom: 15px;
}
.team__text {
  color: #646464;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.advantages {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .advantages {
    margin-bottom: 30px;
  }
}
.advantages__title {
  color: #192c28;
  font-size: 36px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .advantages__title {
    font-size: 24px;
  }
}
.advantages_wrap {
  display: grid;
  gap: 60px;
  grid-template-columns: repeat(3, 1fr);
  padding: 30px 20px;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .advantages_wrap {
    gap: 30px;
    grid-template-columns: repeat(1, 1fr);
  }
}
.advantages__img {
  max-width: 264px;
  width: 100%;
  margin: 0 auto;
  max-height: 264px;
  margin-bottom: 20px;
}
@media (max-width: 992px) {
  .advantages__img {
    max-width: 180px;
    max-height: 180px;
  }
}
@media (max-width: 768px) {
  .advantages__img {
    max-width: 135px;
    max-height: 135px;
  }
}
.advantages__img img {
  width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.advantages__text {
  color: rgb(100, 100, 100);
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
  text-align: center;
}
.advantages__desc {
  color: #444444;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

.social {
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .social {
    margin-bottom: 30px;
  }
}
.social__title {
  color: rgb(25, 44, 40);
  font-size: 36px;
  font-weight: 700;
  line-height: 100%;
  margin-bottom: 60px;
}
@media (max-width: 768px) {
  .social__title {
    margin-bottom: 30px;
    font-size: 24px;
  }
}
.social_wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
}
.social__link {
  max-width: 60px;
  width: 100px;
  height: 60px;
  width: 60px;
  background-color: #9786F8;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 50%;
}
@media (max-width: 768px) {
  .social__link {
    max-width: 50px;
    max-height: 50px;
  }
  .social__link img {
    max-width: 60%;
    max-height: 60%;
  }
}
.social__link.x-social img {
  width: 40px;
}

.final__top {
  margin-bottom: 40px;
  width: 100%;
  text-align: center;
}
.final__top img {
  max-width: 80%;
}
@media (max-width: 768px) {
  .final__top {
    display: none;
  }
}
.final__slider .swiper-pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 5px;
}
.final__slider .swiper-pagination-bullet {
  width: 15px;
  height: 15px;
}
.final__slider .swiper-pagination-bullet-active {
  width: 20px;
  height: 20px;
  background-color: #FC9888;
}
.final__wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .final__wrap {
    gap: 20px;
  }
}
@media (max-width: 768px) {
  .final__wrap {
    gap: 0;
  }
}
.final__item {
  text-align: center;
}
.final__item-num {
  display: none;
}
@media (max-width: 768px) {
  .final__item-num {
    display: block;
    margin-bottom: 30px;
  }
}
.final__image {
  max-height: 240px;
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .final__image {
    max-height: 140px;
    margin-bottom: 30px;
  }
}
.final__text {
  text-align: center;
  color: #444444;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}
.final__text p {
  margin-top: 0;
}
.final__bottom {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
  padding: 15px 30px;
}

.popular-reviews {
  margin-bottom: 60px;
}
.popular-reviews__title {
  color: rgb(25, 44, 40);
  font-size: 36px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .popular-reviews__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 30px;
  }
}
.popular-reviews__wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .popular-reviews__wrap {
    grid-template-columns: repeat(1, 1fr);
  }
}
.item-popular {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 20px;
  border: 1px solid #dcdcdc;
  border-radius: 5px;
}
@media (max-width: 992px) {
  .item-popular {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    gap: 20px;
  }
}
.item-popular .company-preview__header {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.item-popular .company-preview__logo {
  border: none;
}
.item-popular .opinion-counts {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.item-popular .company-preview__title {
  margin-bottom: 5px;
}
.item-popular .company-preview__terms {
  text-decoration: underline;
  color: #270c01;
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  margin-bottom: 20px;
  display: block;
}
.item-popular .company-preview__rating {
  margin-bottom: 0;
}
.item-popular__body {
  max-width: 235px;
  text-align: center;
  padding-right: 20px;
  border-right: 1px solid #dcdcdc;
}
@media (max-width: 992px) {
  .item-popular__body {
    border: none;
  }
}
.item-popular__reviews {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding-left: 20px;
  gap: 20px;
}
@media (max-width: 992px) {
  .item-popular__reviews {
    padding-left: 0;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
@media (max-width: 768px) {
  .item-popular__reviews {
    width: 100%;
    text-align: left;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
  .item-popular__reviews::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #dcdcdc;
  }
}
.item-popular__reviews .review__username {
  margin-bottom: 0;
  color: #192c28;
  font-size: 18px;
  font-weight: 700;
  line-height: 100%;
  cursor: pointer;
  display: block;
}
@media (max-width: 768px) {
  .item-popular__reviews .review__username {
    text-align: left;
  }
}
.item-popular__reviews .review__text p {
  margin-top: 0;
  margin-bottom: 0;
  color: #646464;
  font-size: 16px;
  font-weight: 400;
  line-height: 100%;
}
@media (max-width: 768px) {
  .item-popular__reviews .review__text p {
    text-align: left;
  }
}
.item-popular__reviews .review__actions {
  position: relative;
  margin-top: 0;
}
.item-popular__reviews .review__actions .review__vote-btn--up {
  opacity: 1;
}
.item-popular__reviews .review__actions .review__vote-btn--down {
  opacity: 1;
}

.footer {
  padding-top: 40px;
  border-top: 1px solid #dcdcdc;
}
.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}
@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}
@media (min-width: 768px) and (max-width: 992px) {
  .footer__item:nth-child(2) {
    -webkit-box-ordinal-group: -1;
        -ms-flex-order: -2;
            order: -2;
  }
  .footer__item:nth-child(3) {
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
}
.footer__logo {
  margin-bottom: 20px;
  max-width: 200px;
  display: block;
}
.footer__text {
  color: #646464;
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 768px) {
  .footer__text {
    line-height: 100%;
  }
}
.footer__title {
  color: rgb(25, 44, 40);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 40px;
}
@media (max-width: 992px) {
  .footer__title {
    margin-bottom: 20px;
  }
}
.footer__list-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  color: #646464;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 5px;
}
.footer__list-item::before {
  width: 10px;
  height: 10px;
  background-color: #9786F8;
  content: "";
}
.footer__mail-link {
  padding: 10px 16px;
  border-radius: 5px;
  background: #9786f8;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  display: block;
  width: 100%;
}
.footer__error {
  display: block;
  border: 1px solid rgb(220, 220, 220);
  border-radius: 5px;
  padding: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.footer__error textarea {
  color: rgb(100, 100, 100);
  font-size: 14px;
  font-weight: 400;
  line-height: 100%;
  outline: none;
  height: 60px;
  border: none;
  resize: none;
}

@media (max-width: 768px) {
  .contant-footer {
    padding-top: 30px;
    border-top: 1px solid #dcdcdc;
  }
}