@charset "UTF-8";

@font-face {
  font-family: "Acrom";
  font-display: swap;
  src: url(../fonts/Acrom-Regular.woff2) format("woff2"), url(../fonts/Acrom-Regular.woff) format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Acrom";
  font-display: swap;
  src: url(../fonts/Acrom-Medium.woff2) format("woff2"), url(../fonts/Acrom-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Acrom";
  font-display: swap;
  src: url(../fonts/Acrom-Bold.woff2) format("woff2"), url(../fonts/Acrom-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Acrom";
  font-display: swap;
  src: url(../fonts/Acrom-ExtraBold.woff2) format("woff2"), url(../fonts/Acrom-ExtraBold.woff) format("woff");
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: "Gilroy";
  font-display: swap;
  src: url(../fonts/Gilroy-Semibold.woff2) format("woff2"), url(../fonts/Gilroy-Semibold.woff) format("woff");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  font-display: swap;
  src: url(../fonts/Roboto-Bold.woff2) format("woff2"), url(../fonts/Roboto-Bold.woff) format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  font-display: swap;
  src: url(../fonts/Roboto-Medium.woff2) format("woff2"), url(../fonts/Roboto-Medium.woff) format("woff");
  font-weight: 500;
  font-style: normal;
}

/*! 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;
}

/**
   * Render the `main` element consistently in IE.
   */
main {
  display: block;
}

/**
   * 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 {
  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 */
  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 {
  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] {
  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;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  background: initial;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: #04394e;
}

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

a:hover,
button:hover {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #1e2326;
}

body {
  font-family: "Acrom";
  scrollbar-width: 5px;
}

body::-webkit-scrollbar {
  width: 5px;
}

body::-webkit-scrollbar-thumb {
  background-color: gray;
  border-radius: 20px;
}

body::-webkit-scrollbar-track {
  background: white;
}

.page {
  color: #04394e;
  background-color: #f0f4f8;
  overflow: hidden;
}

.page_inner {
  background-color: white;
}

.page_inner .footer {
  background-color: #f0f4f8;
}

.page_inner .footer .footer__social a:hover {
  background: white;
}

.page__container {
  margin: 0 auto;
  max-width: 1170px;
}

.page__container_right {
  margin-right: 0;
  max-width: 1545px;
}

.page__container_left {
  margin-left: 0;
  max-width: 1545px;
}

@media (min-width: 1921px) {
  .page__container_left {
    margin-left: auto;
  }
}

@media (max-width: 1220px) {
  .page__container {
    padding: 0 30px;
  }
}

@media (max-width: 767px) {
  .page__container {
    padding: 0 24px;
  }
}

.page__title {
  color: #6c3e2a;
  line-height: 36px;
  font-family: "__Circe Bold_5";
  font-weight: 700;
  font-size: 30px;
  margin-bottom: 50px;
}

/* TwentyTwenty */
.twentytwenty-handle:before,
.twentytwenty-handle:after {
  content: " ";
  display: block;
  width: 3px;
  background: white;
  height: 9999px;
  position: absolute;
  left: 50%;
  margin-left: -1.5px;
  z-index: 30;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-before-label,
.twentytwenty-after-label,
.twentytwenty-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.twentytwenty-before-label,
.twentytwenty-after-label,
.twentytwenty-overlay {
  -webkit-transition-duration: 0.5s;
  -moz-transition-duration: 0.5s;
  transition-duration: 0.5s;
}

.twentytwenty-before-label,
.twentytwenty-after-label {
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  transition-property: opacity;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
  color: white;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.twentytwenty-before-label:before,
.twentytwenty-after-label:before {
  background: rgba(255, 255, 255, 0.2);
  position: absolute;
  top: 50%;
  margin-top: -19px;
  line-height: 38px;
  padding: 0 20px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.twentytwenty-left-arrow,
.twentytwenty-right-arrow {
  width: 0;
  height: 0;
  border: 6px inset transparent;
  position: absolute;
  top: 50%;
  margin-top: -6px;
}

.twentytwenty-container {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  overflow: hidden;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.twentytwenty-container img {
  position: absolute;
  top: 0;
  display: block;
}

.twentytwenty-container.active .twentytwenty-overlay,
.twentytwenty-container.active :hover.twentytwenty-overlay {
  background: rgba(0, 0, 0, 0);
}

.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active .twentytwenty-overlay .twentytwenty-after-label,
.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-before-label,
.twentytwenty-container.active :hover.twentytwenty-overlay .twentytwenty-after-label {
  opacity: 0;
}

.twentytwenty-container * {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}

.twentytwenty-before-label {
  opacity: 0;
}

.twentytwenty-before-label:before {
  content: "Before";
  left: 10px;
}

.twentytwenty-after-label {
  opacity: 0;
}

.twentytwenty-after-label:before {
  content: "After";
  right: 10px;
}

.twentytwenty-overlay {
  -webkit-transition-property: background;
  -moz-transition-property: background;
  transition-property: background;
  background: rgba(0, 0, 0, 0);
  z-index: 25;
  display: none;
}

.twentytwenty-overlay:hover {
  background: rgba(0, 0, 0, 0.5);
}

.twentytwenty-overlay:hover .twentytwenty-after-label {
  opacity: 1;
}

.twentytwenty-overlay:hover .twentytwenty-before-label {
  opacity: 1;
}

.twentytwenty-before {
  z-index: 20;
}

.twentytwenty-after {
  z-index: 10;
}

.twentytwenty-handle {
  height: 38px;
  width: 38px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -22px;
  margin-top: -22px;
  border: 3px solid white;
  -webkit-border-radius: 1000px;
  -moz-border-radius: 1000px;
  border-radius: 1000px;
  -webkit-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0px 0px 12px rgba(51, 51, 51, 0.5);
  z-index: 40;
}

.twentytwenty-handle:before {
  bottom: 50%;
  margin-bottom: 22px;
  -webkit-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-handle:after {
  top: 50%;
  margin-top: 22px;
  -webkit-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  -moz-box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
  box-shadow: 0 -3px 0 white, 0px 0px 12px rgba(51, 51, 51, 0.5);
}

.twentytwenty-left-arrow {
  border-right: 6px solid white;
  left: 50%;
  margin-left: -17px;
}

.twentytwenty-right-arrow {
  border-left: 6px solid white;
  right: 50%;
  margin-right: -17px;
}

/* Другое */
.section {
  padding: 65px 0;
}

@media (max-width: 1024px) {
  .section {
    padding: 25px 0;
  }
}

.section__title {
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -0.05em;
  color: #1e2326;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .section__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 15px;
  }

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

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section__head>* {
  flex-basis: 48%;
}

.section__head .section__title {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .section__head {
    margin-bottom: 15px;
    flex-direction: column;
    align-items: start;
  }
}

.section__subtitle {
  max-width: 564px;
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  color: #1e2326;
}

@media (max-width: 767px) {
  .section__subtitle {
    font-size: 12px;
    line-height: 14px;
    margin-top: 8px;
  }
}

.section_white {
  background-color: #ffffff;
  border-radius: 60px;
}

@media (max-width: 1024px) {
  .section_white {
    border-radius: 33px;
  }
}

.section_gray {
  background-color: #f0f4f8;
  border-radius: 60px;
}

@media (max-width: 1024px) {
  .section_gray {
    border-radius: 33px;
  }
}

.logo {
  display: block;
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.triangle {
  position: absolute;
  width: 10px;
  height: 10px;
  background-image: url(../img/triangle.svg);
  background-size: 100%;
  background-repeat: no-repeat;
}

.social {
  display: grid;
  grid-template-columns: repeat(auto-fit, 35px);
  gap: 5px;
  min-width: 115px;
}

.social a {
  border-radius: 50%;
  height: 35px;
  width: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease-out;
}

.social a:hover {
  background: #f0f4f8;
}

.social a svg {
  fill: white;
  width: 18px;
  height: 18px;
}

.social .viber {
  background: #7f3cd3;
}

.social .viber svg {
  transform: translate(0, 1px);
}

.social .viber:hover svg {
  fill: #7f3cd3;
}

.social .whatsapp {
  background: #3cd382;
}

.social .whatsapp:hover svg {
  fill: #3cd382;
}

.social .vk {
  background: #0077ff;
}

.social .vk:hover svg {
  fill: #0077ff;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  color: white;
  font-weight: 700;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  padding: 16px 22px;
  border-radius: 999px;
  position: relative;
  cursor: pointer;
}

.btn::after {
  position: absolute;
  content: "";
  display: block;
  background: linear-gradient(121.12deg, #6ad474 -10.29%, #62ff71 105.05%), linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  opacity: 0;
  left: 0;
  width: 101%;
  height: 101%;
}

.btn:hover,
.btn:active {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.btn:hover::after,
.btn:active::after {
  opacity: 1;
  transition: opacity 0.2s ease-out;
  z-index: -1;
}

.btn_all {
  border: 2px solid #00adef;
  background: white;
  color: #1e2326;
  font-size: 20px;
  line-height: 25px;
  justify-content: space-between;
  padding: 0 35px;
  transition: border-color 0.2s ease-out;
  max-width: 330px;
  min-height: 50px;
  margin: 0 auto;
  text-transform: uppercase;
}

.btn_all svg {
  width: 24px;
  height: 24px;
}

.btn_all::after {
  content: initial;
}

.btn_all:hover,
.btn_all:active {
  border-color: #67df73;
}

@media (max-width: 767px) {
  .btn_all {
    font-size: 15px;
    line-height: 40px;
    padding: 0 20px;
    width: max-content;
  }

  .btn_all svg {
    width: 13px;
    height: 13px;
    margin-left: 37px;
  }
}

.btn-up {
  position: fixed;
  background: linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  right: 20px;
  bottom: 20px;
  border-radius: 22px;
  cursor: pointer;
  width: 44px;
  height: 44px;
  z-index: 20;
  transition: background-color 0.3s ease-out;
}

.btn-up::before {
  content: "";
  text-align: center;
  position: absolute;
  width: 20px;
  height: 20px;
  left: 12px;
  top: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 17V4M3 10l7-7 7 7'/%3E%3C/g%3E%3C/svg%3E");
}

.btn-up_hide {
  display: none;
}

@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background: #67df73;
    /* цвет заднего фона при наведении */
  }
}

.magnifier {
  width: 64px;
  height: 64px;
  position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);
  background-image: url(../img/lupa.svg);
  background-size: 64px 64px;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  transition: background-image 0.2s ease-out;
}

.magnifier:hover {
  background-image: url(../img/lupa-green.svg);
}

.icon-download {
  background-image: url(../img/download.svg);
  width: 20px;
  height: 20px;
  background-size: 20px 20px;
  background-repeat: no-repeat;
  display: block;
  transform: translateY(3px);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .icon-download {
    width: 15px;
    height: 15px;
    background-size: 15px 15px;
  }
}

main {
  min-height: 100px;
}

.page__404 {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.page__404 h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
  margin: 35px 0;
}

.page__404 .btn_all {
  width: 100%;
  max-width: 390px;
}

@media (max-width: 767px) {
  .page__404 img {
    max-width: 80%;
  }

  .page__404 h1 {
    font-size: 24px;
    line-height: 28px;
    margin: 25px 0;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .page__404 img {
    max-width: 100%;
  }
}

[data-src],
[data-srcset] {
  background-image: url(../img/loader.gif);
  min-height: 70px;
  background-size: 30px 30px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
}

/* Контент */
.content h3 {
  font-size: 28px;
  line-height: 32px;
  margin-top: 20px;
}

.content p {
  margin-top: 10px;
  font-size: 18px;
  line-height: 24px;
}

.content li {
  font-size: 18px;
}

.content_agreement ol,
.content_agreement ul {
  padding-left: 30px;
  margin-top: 8px;
}

.content_agreement p,
.content_agreement li {
  line-height: 30px;
  margin: 0 0 8px;
}

.content_agreement h3 {
  font-size: 25px;
  margin-top: 10px;
  color: #04394e;
}

.content_service img {
  border-radius: 32px;
  margin-top: 15px;
  width: 100%;
}

.content_service p {
  line-height: 30px;
}

.content_service h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
  margin-bottom: 20px;
}

.content_service ul {
  list-style: initial;
  padding-left: 20px;
}

.content_sovet h2 {
  font-size: 36px;
}

.content_sovet h3 {
  font-size: 24px;
  line-height: 30px;
  color: #04394e;
}

.content_sovet p {
  font-weight: 500;
  line-height: 30px;
}

@media (max-width: 767px) {
  .content h3 {
    font-size: 18px;
    line-height: 18px;
  }

  .content p {
    font-size: 13px;
    line-height: 130%;
  }

  .content li {
    font-size: 13px;
  }

  .content_service br {
    display: none;
  }

  .content_service h2 {
    font-size: 18px;
    line-height: 130%;
  }

  .content_service img {
    border-radius: 16px;
  }

  .content_agreement p,
  .content_agreement li {
    font-size: 14px;
    line-height: 25px;
  }

  .content_agreement ol,
  .content_agreement ul {
    padding-left: 20px;
  }
}

@media (max-width: 560px) {
  .content_sovet {
    margin-bottom: 10px;
  }

  .content_sovet h2 {
    font-size: 24px;
    line-height: 28px;
  }

  .content_sovet br {
    display: none;
  }

  .content_sovet h3 {
    margin-bottom: 15px;
  }
}

/* Модалки */
.popup {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(30, 35, 38, 0.7);
  overflow: auto;
}

.popup.popup_opened {
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
  z-index: 999999999999;
}

.popup__container {
  position: relative;
  padding-top: 10px;
}

.popup__close {
  position: absolute;
  top: 22px;
  cursor: pointer;
  right: 12px;
  font-size: 30px;
  color: black;
  background-image: url(../img/close.svg);
  width: 27px;
  height: 27px;
  background-repeat: no-repeat;
  background-size: 100%;
  transition: filter 0.2s ease-out;
}

.popup__close:hover {
  filter: brightness(0.1);
}

@media (max-width: 560px) {
  .popup__close {
    width: 20px;
    height: 20px;
  }
}

.popup__img {
  max-width: 50vw;
  max-height: 70vh;
  object-fit: contain;
  object-position: top center;
  border-radius: 5px;
  padding: 10px;
  background: white;
}

@media (max-width: 1180px) {
  .popup__img {
    max-width: 70vw;
  }
}

@media (max-width: 768px) {
  .popup__img {
    max-width: 85vw;
  }
}

.popup#photo .popup__close {
  filter: brightness(0.1);
}

/* Спойлеры */
.spoiler .with-arrow svg {
  transform: rotate(0);
  transition: transform 0.2s ease-in-out;
}

.spoiler * {
  user-select: none;
}

.spoiler-top {
  cursor: pointer;
}

.spoiler-bottom {
  overflow: hidden;
  visibility: hidden;
  max-height: 0;
  transition: 0.2s ease-in-out;
  transition-property: visibility, max-height, padding;
}

.spoiler-bottom:not(.spoiler-open .spoiler-bottom) {
  padding-top: 0;
  padding-bottom: 0;
}

.spoiler-bottom:not(.spoiler-open .spoiler-bottom).popular__item-bottom {
  padding-top: 15px;
  padding-bottom: 15px;
}

.spoiler-open .spoiler-bottom {
  overflow: visible;
  visibility: visible;
  max-height: initial;
}

.spoiler-open .with-arrow svg {
  transform: rotate(180deg);
  transition: transform 0.2s ease-in-out;
}

/* Шапка */
.header {
  position: relative;
}

.header__top {
  border-radius: 0px 0px 60px 60px;
  background-color: white;
}

.header__top .page__container {
  padding-top: 30px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  background-image: url(../img/logo-header.svg);
  width: 258px;
  height: 50px;
}

.header__block {
  display: flex;
}

.header__block svg {
  flex-shrink: 0;
  fill: #00adef;
  width: 18px;
  height: 18px;
}

.header__block p {
  margin-left: 5px;
  color: #1e2326;
  font-weight: 500;
  font-size: 20px;
  text-align: right;
  line-height: 18px;
}

.header__block span {
  font-size: 14px;
  line-height: 17px;
  color: #04394e;
  padding-bottom: 2px;
  border-bottom: 1px solid #00adef;
  cursor: pointer;
  transition-property: border-color;
  transition: 0.2s ease-out;
}

.header__block span:hover {
  border-color: #67df73;
}

.header__block_phone {
  position: relative;
  cursor: pointer;
}

.header__block_phone .triangle {
  right: -15px;
  top: 2px;
  cursor: pointer;
}

.header__bottom {
  border-bottom: 1px solid rgba(12, 74, 98, 0.1);
}

.header__nav {
  padding: 12px 0;
}

.header__nav>ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.header__nav>ul a {
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #04394e;
  transition: color 0.2s ease-out;
}

.header__nav>ul a:hover {
  color: #67df73;
}

.header__nav>ul>li {
  margin-right: 40px;
}

.header__nav>ul>li:last-child {
  margin-right: 0;
}

.header__nav .link-dropdown {
  position: relative;
  z-index: 300;
}

.header__nav .link-dropdown>a {
  display: flex;
  align-items: center;
}

.header__nav .link-dropdown>a::after {
  content: "";
  background-image: url(../img/triangle.svg);
  opacity: 0.65;
  width: 10px;
  height: 10px;
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
  margin-left: 4px;
  flex-shrink: 0;
}

.header__nav .link-dropdown>a::before {
  opacity: 0;
  visibility: 0;
  transition-property: opacity, visibility;
  transition: 0.2s ease-in-out;
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  background: white;
  top: 120%;
  left: calc(50% - 9px);
  transform: rotate(45deg);
  position: absolute;
}

@media (min-width: 1024px) {
  .header__nav .link-dropdown>div {
    opacity: 0;
    visibility: hidden;
    transition-property: opacity, visibility;
    transition: 0.2s ease-in-out;
    position: absolute;
    padding-top: 10px;
    width: max-content;
    left: -50%;
  }
}

.header__nav .link-dropdown ul {
  background: white;
  border-radius: 8px;
  padding: 8px 0;
}

.header__nav .link-dropdown li a {
  padding: 10px 25px;
  font-weight: 500;
  font-size: 15px;
  line-height: 120%;
  color: #04394e;
  background: white;
  display: block;
  min-width: 350px;
  max-width: 400px;
}

.header__nav .link-dropdown li a:hover {
  position: relative;
  background: linear-gradient(0deg, rgba(128, 214, 247, 0.15), rgba(128, 214, 247, 0.15)), #f0f4f8;
  font-weight: 700;
  color: #050505;
}

.header__nav .link-dropdown li a:hover::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: #00adef;
  display: block;
}

.header__nav .link-dropdown:hover div {
  opacity: 1;
  visibility: visible;
}

.header__nav .link-dropdown:hover>a {
  color: #67df73;
}

.header__nav .link-dropdown:hover>a::before {
  opacity: 1;
  visibility: visible;
}

.header__nav .link-reviews span {
  margin-left: 2px;
  border-radius: 9999px;
  padding: 2px 4px;
  background-color: #00adef;
  font-size: 11px;
  line-height: 12px;
  color: white;
}

.header__nav .link-stocks {
  position: relative;
}

.header__nav .link-stocks::after {
  content: "%";
  font-weight: 800;
  font-size: 58px;
  line-height: 70px;
  color: #04394e;
  opacity: 0.1;
  position: absolute;
  top: -125%;
  left: 0;
}

.header__nav .selected {
  color: #00adef;
}

.header::after {
  content: "";
  display: block;
  width: 100vw;
  height: 5000vh;
  background: rgba(4, 57, 78, 0.7);
  z-index: -1;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease-out;
  transition-property: opacity, visibility;
}

@media (max-width: 1023px) {
  .header.menu-open::after {
    opacity: 1;
    visibility: visible;
    z-index: 99;
  }
}

.header.menu-open .burger span:first-child {
  transform: rotate(45deg) translateX(5px);
}

.header.menu-open .burger span:nth-child(2) {
  display: none;
}

.header.menu-open .burger span:last-child {
  transform: rotate(-45deg) translateX(6px);
}

.header.menu-open .header__mobile {
  visibility: visible;
  transform: translateY(-1px) translateX(0);
}

.header__mobile-phone svg {
  flex-shrink: 0;
  fill: #00adef;
  width: 21px;
  height: 21px;
  display: block;
}

.header__mobile {
  position: absolute;
  z-index: 100;
  background-color: #f0f4f8;
  width: 100%;
  border-radius: 0 0 16px 16px;
  transform: translateY(-1px) translateX(-100%);
  visibility: hidden;
  transition: 0.2s ease-out;
  transition-property: visibility, max-height, transform;
}

@media (min-width: 1024px) {
  .header__mobile {
    display: none;
  }
}

.header__mobile .header__social {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__mobile .header__social a {
  margin-right: 40px;
  width: 39px;
  height: 39px;
}

.header__mobile .header__social a svg {
  width: 22px;
  height: 22px;
}

.header__mobile .header__social a:last-child {
  margin-right: 0;
}

.header__mobile .header__block {
  background-color: white;
  padding: 15px 24px 3px;
}

.header__mobile .header__block p {
  text-align: left;
  margin-left: 8px;
}

.header__mobile .header__block svg {
  width: 25px;
  height: 25px;
}

.header__mobile .header__nav {
  background-color: white;
  border-radius: 16px 16px 0 0;
  padding: 10px 0;
}

.header__mobile .header__nav>ul {
  flex-direction: column;
  align-items: flex-start;
}

.header__mobile .header__nav>ul a {
  width: 100%;
  padding: 8px 24px;
  display: flex;
  justify-content: space-between;
}

.header__mobile .header__nav>ul>li {
  margin-right: 0;
  width: 100%;
}

.header__mobile .header__nav::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: calc(100% - 48px);
  height: 2px;
  background-color: #0c4a62;
  opacity: 0.1;
  margin-top: 10px;
}

.header__mobile .header__nav .link-stocks::after {
  content: initial;
}

.header__mobile .header__nav .link-dropdown.open div {
  max-height: initial;
  transform: translateY(0);
  opacity: 1;
}

.header__mobile .header__nav .link-dropdown.open>a::after {
  transform: rotate(0);
}

.header__mobile .header__nav .link-dropdown div {
  max-height: 0;
  overflow: hidden;
  transform: translateY(-50%);
  opacity: 0;
  transition: 0.2s ease-out;
  transition-property: max-height, transform, opacity;
}

.header__mobile .header__nav .link-dropdown ul {
  padding: 0;
  overflow: hidden;
}

.header__mobile .header__nav .link-dropdown li a {
  max-width: 100%;
  padding: 5px 36px;
}

.header__mobile .header__nav .link-dropdown li a:hover {
  background: #f0f4f8;
}

.header__mobile .header__nav .link-dropdown li a:hover::after {
  content: initial;
}

.header__mobile .header__nav .link-dropdown>a::after {
  background-image: url(../img/arrow-blue.svg);
  transform: rotate(180deg);
  transition: transform 0.2s ease-out;
}

.header__mobile .header__nav .link-dropdown>a::before {
  content: initial;
}

.header__mobile .header__nav .link-reviews span {
  display: none;
}

.header__mobile-btn {
  padding: 25px 24px;
  background-color: white;
}

.header__mobile-btn .btn {
  margin-top: 0;
  max-width: 100%;
  min-width: 272px;
}

@media (max-width: 460px) {
  .header__mobile-btn .btn {
    width: 100%;
  }
}

.header__mobile>*:last-child {
  border-radius: 0 0 16px 16px;
}

@media (min-width: 1024px) {
  .header__mobile-right {
    display: none;
  }
}

@media (max-width: 1150px) {
  .header__logo {
    width: 20%;
  }

  .header__block p {
    font-size: 16px;
  }

  .header__block span {
    font-size: 12px;
  }
}

@media (max-width: 1023px) {
  .header__top .page__container>*:not(.header__logo, .header__mobile-right) {
    display: none;
  }

  .header__bottom {
    display: none;
  }

  .header__logo {
    width: 256px;
  }

  .header__mobile-right {
    display: flex;
    align-items: center;
  }

  .header__top {
    border-radius: 0px 0px 16px 16px;
  }

  .header__top .page__container {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

@media (max-width: 768px) {
  .header__logo {
    background-image: url(../img/logo-footer.svg);
    width: 114px;
    height: 36px;
  }
}

.burger {
  width: 26px;
  flex-direction: column;
  margin-left: 18px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #1e2326;
  margin-bottom: 6px;
  transform: rotate(0) translate(0);
  transition: transform 0.3s ease-in;
}

.burger span:last-child {
  margin-bottom: 0;
}

.page_inner .link-dropdown>a::before {
  background: #f0f4f8;
}

.page_inner .link-dropdown ul {
  background: #f0f4f8;
}

.page_inner .link-dropdown ul a {
  background: #f0f4f8;
}

/* Хлебные крошки */
.breadcrumbs {
  padding: 30px 0;
}

.breadcrumbs ul {
  display: flex;
  align-items: center;
  overflow-x: auto;
}

.breadcrumbs ul::-webkit-scrollbar {
  width: 5px;
  height: 3px;
}

.breadcrumbs ul::-webkit-scrollbar-thumb {
  background-color: gray;
  border-radius: 20px;
}

.breadcrumbs ul::-webkit-scrollbar-track {
  background: white;
}

.breadcrumbs li {
  margin-right: 15px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.breadcrumbs li::after {
  content: "/";
  color: rgb(213, 231, 240);
  transform: translateX(8px);
  display: inline-block;
}

.breadcrumbs li:last-child {
  margin-right: 0;
}

.breadcrumbs li:last-child::after {
  content: initial;
}

.breadcrumbs li:last-child a {
  color: #00adef;
  pointer-events: none;
}

.breadcrumbs li:last-child a:hover {
  color: #00adef;
}

.breadcrumbs li:first-child {
  white-space: initial;
}

.breadcrumbs a {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  transition: color 0.2s ease-out;
}

.breadcrumbs a:hover {
  color: #67df73;
}

.breadcrumbs__back {
  border: 1px solid #e7edf0;
  background-color: white;
  border-radius: 6px;
  width: 46px;
  height: 38px;
  cursor: pointer;
  margin-right: 20px !important;
  transition-property: border-color, background-color;
  transition: 0.2s ease-out;
  position: relative;
}

.breadcrumbs__back svg {
  width: 18px;
  height: 17px;
  transform: scaleX(-1);
  position: absolute;
  left: calc(50% - 9px);
}

.breadcrumbs__back:hover {
  background-color: #67df73;
  border-color: #67df73;
}

.breadcrumbs__back:hover svg {
  fill: white;
}

.breadcrumbs__back::after {
  transform: translateX(55px) !important;
}

@media (max-width: 767px) {
  .breadcrumbs {
    padding: 15px 0 5px;
  }

  .breadcrumbs ul {
    padding-bottom: 10px;
  }

  .breadcrumbs a {
    font-size: 14px;
  }

  .breadcrumbs__back {
    min-width: 46px;
  }
}

/* Баннеры */
.banners {
  user-select: none;
  padding-bottom: 65px;
}

.banners__swiper {
  overflow: visible;
}

.banners__swiper .swiper-slide:not(.swiper-slide-active) {
  opacity: 0.5;
}

.banners__swiper .swiper-slide:not(.swiper-slide-active) .banners__columns {
  visibility: hidden;
}

.banners__swiper>.swiper-slide {
  height: auto;
}

.banners__swiper>.swiper-wrapper {
  padding: 40px 0 0;
  z-index: 12;
  position: relative;
}

.banners__swiper>.swiper-button-next {
  right: -70px;
}

.banners__swiper>.swiper-button-prev {
  left: -70px;
}

.banners__swiper>.swiper-button-next,
.banners__swiper>.swiper-button-prev {
  top: 310px;
  color: #1e2326;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: white;
  transition: 0.2s ease-out;
  transition-property: color, background-color;
}

.banners__swiper>.swiper-button-next:hover,
.banners__swiper>.swiper-button-next:active,
.banners__swiper>.swiper-button-prev:hover,
.banners__swiper>.swiper-button-prev:active {
  background-color: #67df73;
  color: white;
}

.banners__swiper>.swiper-button-next::after,
.banners__swiper>.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.banners__columns {
  margin-top: 4%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 4%;
}

.banners__columns h3 {
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
}

.banners__columns p {
  margin-top: 11px;
  font-size: 18px;
  line-height: 24px;
}

@media (max-width: 1230px) {
  .banners__columns h3 {
    font-size: calc(22px + 23.8 * (100vw - 768px) / 1230);
    line-height: calc(26px + 20.4 * (100vw - 768px) / 1230);
  }

  .banners__columns p {
    font-size: calc(12px + 10.2 * (100vw - 768px) / 1230);
    line-height: calc(14px + 17 * (100vw - 768px) / 1230);
    margin-top: calc(8px + 5.1 * (100vw - 768px) / 1230);
  }
}

.banners .swiper-pagination {
  bottom: 30px;
  z-index: 20;
}

.banners .swiper-pagination-bullet {
  background: linear-gradient(0deg, #04394e, #04394e), linear-gradient(0deg, #c0cdd1, #c0cdd1);
  opacity: 1;
  transition: background-color 0.2s ease-out;
}

.banners .swiper-pagination-bullet:hover {
  background: #67df73;
}

.banners .swiper-pagination-bullet-active {
  width: 30px;
  height: 9px;
  background: #00adef;
  border-radius: 10px;
}

@media (max-width: 560px) {
  .banners .swiper-pagination {
    position: static;
    margin-top: 12px;
  }

  .banners .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .banners .swiper-pagination-bullet-active {
    width: 22px;
    height: 8px;
  }
}

@media (max-width: 900px) {
  .banners__columns {
    gap: 3%;
  }
}

@media (max-width: 560px) {
  .banners__columns {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .banners__columns h3 {
    font-size: 22px;
    line-height: 26px;
  }

  .banners__columns p {
    font-size: 12px;
    line-height: 14px;
  }
}

.banner {
  border-radius: 60px;
  overflow: hidden;
  background: #ffffff;
  border-radius: 60px;
  padding: 0 8.5%;
  position: relative;
  overflow: hidden;
  height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner .swiper-pagination {
  bottom: 30px;
}

.banner .swiper-pagination-bullet {
  background: linear-gradient(0deg, #04394e, #04394e), linear-gradient(0deg, #c0cdd1, #c0cdd1);
  opacity: 1;
  transition: background-color 0.2s ease-out;
}

.banner .swiper-pagination-bullet:hover {
  background: #67df73;
}

.banner .swiper-pagination-bullet-active {
  width: 30px;
  height: 9px;
  background: #00adef;
  border-radius: 10px;
}

.banner::before {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(90deg, #ffffff 67.04%, rgba(255, 255, 255, 0.77) 79.25%, rgba(255, 255, 255, 0.42) 89.62%, rgba(255, 255, 255, 0) 100%);
  z-index: 2;
  width: 55%;
  height: 100%;
  left: 0;
  top: 0;
}

.banner__title {
  max-width: 402px;
  font-size: 42px;
  line-height: 50px;
  letter-spacing: -0.05em;
  z-index: 5;
  position: relative;
}

.banner__subtitle {
  font-size: 20px;
  line-height: 30px;
  margin-top: 20px;
  max-width: 430px;
  z-index: 5;
  position: relative;
}

.banner__btn {
  margin-top: 55px;
  max-width: 310px;
  font-size: 15px;
  line-height: 18px;
  text-transform: uppercase;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  z-index: 5;
  position: relative;
  min-height: 68px;
}

.banner__btn svg {
  fill: white;
  width: 18px;
  height: 18px;
}

.banner__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  z-index: 1;
}

@media (max-width: 1230px) {
  .banner {
    height: calc(245px + 535.5 * (100vw - 560px) / 1230);
  }

  .banner__title {
    max-width: calc(330px + 122.4 * (100vw - 768px) / 1230);
    font-size: calc(26px + 27.2 * (100vw - 768px) / 1230);
    line-height: calc(34px + 27.2 * (100vw - 768px) / 1230);
  }

  .banner__subtitle {
    max-width: calc(330px + 170 * (100vw - 768px) / 1230);
    font-size: calc(15px + 8.5 * (100vw - 768px) / 1230);
    line-height: calc(22px + 13.6 * (100vw - 768px) / 1230);
  }

  .banner__btn {
    margin-top: calc(25px + 51 * (100vw - 768px) / 1230);
    max-width: calc(280px + 51 * (100vw - 768px) / 1230);
    min-height: calc(50px + 30.6 * (100vw - 768px) / 1230);
  }
}

@media (max-width: 560px) {
  .banner {
    height: 440px;
    justify-content: end;
    padding-bottom: 8px;
    border-radius: 33px;
    padding: 0 6% 5%;
  }

  .banner::before {
    background: linear-gradient(0deg, #ffffff 42.92%, rgba(255, 255, 255, 0.93) 45.49%, rgba(255, 255, 255, 0) 83.18%);
    width: 100%;
  }

  .banner__img {
    object-position: top right;
    object-fit: cover;
    height: 59.3181818182%;
  }

  .banner__title {
    font-size: 26px;
    line-height: 28px;
  }

  .banner__subtitle {
    font-size: 14px;
    line-height: 18px;
    margin-top: 10px;
    max-width: 100%;
  }

  .banner__btn {
    font-size: 12px;
    line-height: 14px;
  }

  .banner__btn svg {
    width: 13px;
    height: 13px;
  }
}

/* Преимущества */
.advantages {
  display: flex;
  align-items: center;
  padding: 40px 46px 40px 0;
  background-color: white;
  border-radius: 0px 60px 60px 0px;
  max-width: 1545px;
  overflow: hidden;
}

@media (min-width: 1921px) {
  .advantages {
    border-radius: 60px;
  }
}

@media (max-width: 1220px) {
  .advantages {
    border-radius: 60px;
    flex-direction: column-reverse;
  }
}

@media (max-width: 767px) {
  .advantages {
    padding: 30px 0;
    background-color: initial;
    overflow: initial;
  }
}

.advantages .section__title {
  color: #00adef;
  margin-bottom: 20px !important;
}

.advantages .swiper-scrollbar {
  position: static;
  margin-top: 20px;
}

.advantages .swiper-scrollbar-drag {
  background-color: #00adef;
}

@media (min-width: 768px) {
  .advantages .swiper-scrollbar {
    display: none;
  }
}

.advantages .swiper-slide {
  height: auto;
}

.advantages .swiper-slide img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .advantages .swiper-slide {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
  }

  .advantages .swiper-slide img {
    max-height: 75%;
    border-radius: 16px 16px 0 0;
  }

  .advantages .swiper-slide .content {
    padding: 0 20px 20px;
  }
}

@media (max-width: 560px) {
  .advantages .swiper-slide img {
    max-height: 55%;
  }
}

.advantages .swiper-pagination {
  bottom: 30px;
}

.advantages .swiper-pagination-bullet {
  background: linear-gradient(0deg, #04394e, #04394e), linear-gradient(0deg, #c0cdd1, #c0cdd1);
  opacity: 1;
  transition: background-color 0.2s ease-out;
}

.advantages .swiper-pagination-bullet:hover {
  background: #67df73;
}

.advantages .swiper-pagination-bullet-active {
  width: 30px;
  height: 9px;
  background: #00adef;
  border-radius: 10px;
}

.advantages__swiper {
  border-radius: 0px 33px 33px 0px;
  max-width: 100%;
}

@media (max-width: 767px) {
  .advantages__swiper {
    border-radius: 0;
    overflow: visible;
  }
}

.advantages__info {
  margin-left: 54px;
  width: 37%;
  flex-shrink: 0;
}

@media (max-width: 1220px) {
  .advantages__info {
    width: 100%;
    margin-bottom: 35px;
  }
}

@media (max-width: 767px) {
  .advantages__info {
    margin-left: 0;
    margin-bottom: 0;
  }

  .advantages__info .content {
    display: none;
  }
}

/* Популярные услуги */
.popular__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, 370px);
  gap: 15px 30px;
}

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

.popular__list_service .popular__item-top {
  padding: 10px 0;
}

.popular__list_service .popular__item-top a {
  font-size: 25px;
  line-height: 90%;
}

.popular__list_service .popular__item-top div {
  min-width: 84px;
  min-height: 84px;
}

.popular__item {
  background: rgba(240, 244, 248, 0.5);
  border-radius: 33px;
  transition: background-color 0.2s ease-out;
  position: relative;
}

.popular__item_active .popular__item-top,
.popular__item:hover .popular__item-top {
  /*  background: $linear-green; */
  z-index: 2;
}

.popular__item_active .popular__item-top::after,
.popular__item:hover .popular__item-top::after {
  opacity: 1;
  transition: opacity 0.2s ease-out;
  z-index: -1;
}

.popular__item_services {
  margin-bottom: 10px;
}

.popular__item_services .popular__item-top {
  padding: 10px 0;
}

.popular__item_services .popular__item-top>div {
  min-width: 84px;
  min-height: 84px;
}

.popular__item_services:last-child {
  margin-bottom: 0;
}

.popular__item-top {
  position: relative;
  z-index: 2;
  padding: 20px 0;
  border-radius: 33px;
  background: #00adef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.popular__item-top::after {
  position: absolute;
  content: "";
  display: block;
  background: linear-gradient(121.12deg, #6ad474 -10.29%, #62ff71 105.05%), linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  opacity: 0;
  left: 0;
  top: 0;
  width: 101%;
  height: 101%;
}

.popular__item-top a {
  font-weight: 700;
  font-size: 30px;
  line-height: 90%;
  color: white;
  padding-left: 48px;
  word-break: break-word;
}

.popular__item-top a.with-arrow {
  display: flex;
  padding-left: 45px;
}

.popular__item-top a.with-arrow svg {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 5px;
}

.popular__item-top div {
  background-position: right center;
  background-size: contain;
  min-width: 90px;
  min-height: 90px;
  background-repeat: no-repeat;
}

.popular__item-bottom {
  padding: 55px 30px 30px;
  margin-top: -30px;
  position: relative;
  z-index: 1;
}

.popular__item-bottom li {
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 12px;
}

.popular__item-bottom li:last-child {
  margin-bottom: 0;
}

.popular__item-bottom a {
  padding-bottom: 2px;
  border-bottom: 1px solid #00adef;
}

.popular__item-bottom a.active {
  border-color: #00adef;
  color: #00adef;
}

.popular__item-bottom a:hover {
  color: #67df73;
}

.popular__all {
  margin-top: 30px;
}

@media (max-width: 820px) {
  .popular__list {
    grid-template-columns: 1fr;
  }

  .popular__item-top a.with-arrow {
    padding-left: 8%;
  }
}

@media (max-width: 767px) {
  .popular {
    padding-bottom: 20px;
  }

  .popular__item {
    border-radius: 24px;
  }

  .popular__item-top {
    padding: 18px 0;
    border-radius: 24px;
  }

  .popular__item-top a {
    padding-left: 35px;
    font-size: 20px;
  }

  .popular__item-top div {
    min-width: 64px;
    min-height: 64px;
  }

  .popular__item-bottom {
    padding: 45px 16px 20px;
  }

  .popular__item-bottom li {
    font-size: 12px;
    line-height: 15px;
  }

  .popular__all {
    margin-top: 15px;
  }
}

/* Врачи */
.doctors_white .doctor {
  background-color: white;
}

.doctors .swiper-slide {
  height: auto;
}

.doctors .swiper-scrollbar {
  position: static;
  margin-top: 40px;
  cursor: pointer;
  width: 100%;
}

.doctors .swiper-scrollbar-drag {
  background-color: #00adef;
}

@media (max-width: 767px) {
  .doctors .swiper {
    overflow: visible;
  }

  .doctors .swiper-slide {
    max-width: 264px;
  }

  .doctors .swiper-scrollbar {
    margin-top: 25px;
  }
}

.doctor {
  border-radius: 32px;
  overflow: hidden;
  background: #f0f4f8;
  height: 100%;
}

.doctor__photo {
  height: 380px;
  width: 100%;
  object-fit: contain;
  object-position: center bottom;
}

.doctor__info {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 380px);
}

@media (max-width: 767px) {
  .doctor__info {
    padding: 15px 14px;
  }
}

.doctor__info-top {
  padding-left: 20px;
}

@media (max-width: 767px) {
  .doctor__info-top {
    padding-left: 15px;
  }
}

.doctor__experience {
  margin-bottom: 14px;
  background: linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  border-radius: 0px 15px 15px 0px;
  width: max-content;
  padding: 5px 14px;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  color: white;
  transform: translateX(-40px);
}

@media (max-width: 767px) {
  .doctor__experience {
    font-size: 12px;
    line-height: 14px;
    transform: translateX(-30px);
  }
}

.doctor__name {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #1e2326;
  margin-bottom: 12px;
  display: block;
}

@media (max-width: 767px) {
  .doctor__name {
    font-size: 18px;
    line-height: 20px;
  }
}

.doctor__spec {
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 767px) {
  .doctor__spec {
    font-size: 12px;
    line-height: 17px;
  }
}

.doctor__btn {
  margin-top: 32px;
  width: 100%;
}

@media (max-width: 767px) {
  .doctor__photo {
    height: 271px;
  }
}

/* Остались сомнения? */
.ask {
  position: relative;
}

.ask h2 {
  font-weight: 700;
  font-size: 36px;
  line-height: 38px;
  letter-spacing: -0.05em;
  color: #1e2326;
  margin-bottom: 10px;
}

.ask p {
  font-size: 18px;
  line-height: 24px;
}

.ask__left {
  background: #f0f4f8;
  padding: 77px 70px;
  max-width: 50.4%;
  min-height: 350px;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ask__left_white {
  background: white;
}

.ask__right {
  z-index: 1;
  padding: 77px 76px 77px 139px;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  position: absolute;
  right: 0;
  top: 12px;
  width: 55.8%;
}

.ask__right * {
  color: white !important;
}

.ask__right p {
  max-width: 95%;
}

.ask__left,
.ask__right {
  border-radius: 60px;
}

.ask__btn {
  margin-top: 31px;
  width: max-content;
  font-size: 15px;
  display: flex;
  align-items: center;
}

.ask__btn svg {
  fill: white;
  width: 20px;
  height: 20px;
  margin-left: 35px;
}

@media (max-width: 1220px) {
  .ask__right {
    padding: 5% 6% 5% 11%;
  }
}

@media (max-width: 1024px) {
  .ask {
    margin-top: 20px;
  }

  .ask__right {
    position: static;
    max-width: 100%;
    width: 100%;
    border-radius: 0 0 16px 16px;
    padding: 8% 6% 5%;
    transform: translateY(-20%);
  }

  .ask__left {
    max-width: 100%;
    padding: 5% 6%;
    min-height: initial;
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .ask h2 {
    font-size: 20px;
    line-height: 105%;
    margin-bottom: 7px;
  }

  .ask__right h2 {
    font-size: 16px;
  }

  .ask p {
    font-size: 12px;
    line-height: 130%;
    max-width: 85%;
  }

  .ask__btn {
    font-size: 12px;
    margin-top: 15px;
  }

  .ask__btn svg {
    width: 14px;
    height: 14px;
    margin-left: 20px;
  }
}

@media (max-width: 560px) {
  .ask__left {
    padding: 25px 6%;
  }

  .ask__right {
    padding: 14% 6% 6%;
  }

  .ask h2,
  .ask p {
    padding-left: 5%;
  }
}

@media (max-width: 360px) {
  .ask__right {
    padding: 18% 6% 8%;
  }
}

/* Контактная информация */
.contacts {
  display: flex;
  align-items: center;
  background-color: #f0f4f8;
  padding: 37px 0;
  border-radius: 60px 0 0 60px;
  overflow: hidden;
  width: 100vw;
  max-width: 1545px;
}

@media (min-width: 1921px) {
  .contacts {
    border-radius: 60px;
  }
}

.contacts_reverse {
  flex-direction: row-reverse;
  width: 100%;
  max-width: initial;
}

@media (min-width: 768px) {
  .contacts_reverse .contacts__pass {
    display: none;
  }
}

@media (min-width: 768px) {
  .contacts_reverse .contacts__info {
    padding: 0 0 0 30px;
  }
}

@media (max-width: 767px) {
  .contacts_reverse .contacts__info {
    padding-bottom: 24px;
    background-color: #F0F4F8;
    border-radius: 0 0 16px 16px;
  }
}

.contacts_reverse .contacts__info .btn_all {
  margin: 0;
}

@media (min-width: 768px) {
  .contacts_reverse .contacts__map {
    border-radius: 33px;
  }

  .contacts_reverse .contacts__map iframe {
    height: 580px !important;
  }
}

.contacts_white {
  background-color: white;
}

.contacts__info {
  max-width: 470px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 74px;
}

.contacts__block {
  margin-bottom: 20px;
}

.contacts__block h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 32px;
  color: #1e2326;
  margin-bottom: 10px;
}

.contacts__block p,
.contacts__block a {
  font-size: 18px;
  line-height: 24px;
}

.contacts__block:last-child {
  margin-bottom: 0;
}

.contacts__block a {
  display: block;
}

.contacts__block .btn {
  width: 100%;
}

.contacts__map {
  position: relative;
  border-radius: 33px 0 0 33px;
  width: 100%;
  overflow: hidden;
}

.contacts__map iframe {
  height: 626px !important;
}

.contacts__pass {
  position: absolute;
  overflow: hidden;
  padding-left: 25px;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(../img/pass.png);
  background-repeat: no-repeat;
  width: 183px;
  height: 172px;
  transition: background-image 0.2s ease-out;
  color: white;
  font-size: 20px;
  line-height: 20px;
}

.contacts__pass:hover {
  background-image: url(../img/pass-green.png);
}

.contacts__pass::before {
  content: "";
  display: block;
  width: 39px;
  height: 41px;
  background-size: contain;
  background-image: url(../img/chelovek.svg);
  background-repeat: no-repeat;
  margin-bottom: 6px;
}

.contacts__pass svg {
  fill: white;
  width: 18px;
  height: 17px;
}

.contacts__pass span {
  max-width: 120px;
}

.contacts .section__title {
  margin-bottom: 30px;
}

.contacts__btn {
  margin-top: 26px;
}

@media (max-width: 1024px) {
  .contacts {
    flex-direction: column-reverse;
    width: initial;
    border-radius: 16px;
    padding: 0 0 25px;
    overflow: hidden;
  }

  .contacts .section__title {
    display: none;
  }

  .contacts__info {
    max-width: initial;
    width: 100%;
    padding: 24px 30px 0;
  }

  .contacts__btn {
    margin-left: 0;
    margin-top: 10px;
  }

  .contacts__map {
    border-radius: 0;
  }

  .contacts__map iframe {
    height: 400px !important;
  }
}

@media (max-width: 767px) {
  .contacts__map iframe {
    height: 309px !important;
  }

  .contacts__pass {
    width: 103px;
    height: 95px;
    font-size: 12px;
    line-height: 13px;
    padding-left: 13px;
    background-size: 100%;
  }

  .contacts__pass svg {
    width: 10px;
    height: 10px;
  }

  .contacts__pass::before {
    width: 22px;
    height: 22px;
  }

  .contacts__pass span {
    max-width: 70px;
  }

  .contacts__block {
    margin-bottom: 16px;
  }

  .contacts__block h3 {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 8px;
  }

  .contacts__block p {
    font-size: 12px;
    line-height: 17px;
  }
}

/* О клинике */
.clinic {
  display: flex;
  justify-content: space-between;
}

.clinic__left {
  width: 43.6%;
}

.clinic__title {
  margin-bottom: 24px;
}

.clinic__subtitle {
  font-size: 22px;
  line-height: 28px;
}

.clinic__img {
  width: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 32px;
  margin-top: 24px;
}

.clinic__right {
  width: 51.8%;
}

.clinic__right ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
}

.clinic__right h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 35px;
}

.clinic__right h3 span {
  border-bottom: 4px solid #67df73;
}

.clinic__right p {
  margin-top: 12px;
  font-size: 18px;
  line-height: 24px;
}

@media (max-width: 1024px) {
  .clinic {
    display: block;
  }

  .clinic__subtitle,
  .clinic__img {
    display: none;
  }

  .clinic__right {
    width: 100%;
    max-width: 650px;
    padding-bottom: 30px;
  }

  .clinic__right ul {
    gap: 30px;
  }

  .clinic__left {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .clinic__right ul {
    gap: 22px 16px;
  }

  .clinic__right h3 {
    font-size: 18px;
    line-height: 22px;
  }

  .clinic__right p {
    font-size: 12px;
    line-height: 14px;
  }
}

/* Лицензии и сертификаты */
.licenses__swiper .swiper-scrollbar {
  position: static;
  margin-top: 55px;
  cursor: pointer;
}

.licenses__swiper .swiper-scrollbar-drag {
  background: #00adef;
}

@media (max-width: 1024px) {
  .licenses__swiper {
    overflow: visible;
  }

  .licenses__swiper .swiper-scrollbar {
    margin-top: 25px;
  }

  .licenses__swiper .swiper-slide {
    max-width: 264px;
    height: auto;
  }
}

.licence {
  display: flex;
  flex-direction: column;
  width: 370px;
  padding: 25px;
  background: linear-gradient(0deg, rgba(240, 244, 248, 0.5), rgba(240, 244, 248, 0.5)), #ffffff;
  border-radius: 33px;
}

.licence__img {
  position: relative;
  cursor: pointer;
}

.licence__img img {
  width: 100%;
  height: 460px;
  object-fit: contain;
}

.licence__download {
  display: flex;
  margin-top: 23px;
  justify-content: space-between;
}

.licence__name {
  margin-right: 15px;
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  color: #1e2326;
}

@media (max-width: 1220px) {
  .licence {
    width: 99%;
  }

  .licence__img img {
    height: calc(327px + 226.1 * (100vw - 1024px) / 1220);
  }
}

@media (max-width: 1024px) {
  .licence {
    width: 100%;
    border-radius: 23.5px;
    justify-content: space-between;
    height: 100%;
    padding: 16px;
  }

  .licence__img img {
    height: initial;
  }

  .licence__name {
    font-size: 18px;
    line-height: 20px;
  }

  .licence__download {
    margin-top: 16px;
  }
}

/* Как к нам пройти */
.passage {
  display: grid;
  grid-template-columns: repeat(4, 300px);
}

.passage__step:first-child img {
  border-radius: 33px 0 0 33px;
}

.passage__step:last-child img {
  border-radius: 0 33px 33px 0;
}

.passage__step img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
}

.passage__info {
  margin-top: 42px;
  padding: 0 30px 0 10px;
}

.passage__info h3 {
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 12px;
}

.passage__info h3 span {
  margin-right: 13px;
  font-weight: 700;
  font-size: 48px;
  line-height: 56px;
  color: #00adef;
}

.passage__info p {
  font-size: 18px;
  line-height: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(127, 127, 127, 0.2);
}

@media (max-width: 1220px) {
  .passage {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1220px) {
  .passage {
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
  }

  .passage__step img {
    border-radius: 16px !important;
    height: 350px;
  }

  .passage__info {
    margin-top: 15px;
  }
}

@media (max-width: 767px) {
  .passage {
    display: none;
  }

  .passage__step {
    background: #f0f4f8;
    overflow: hidden;
    border-radius: 16px;
    height: 100%;
  }

  .passage__step img {
    border-radius: 16px 16px 0px 0px !important;
    height: 210px;
  }

  .passage__info {
    margin-top: 17px;
    padding: 0 20px 23px;
  }

  .passage__info h3 {
    font-size: 18px;
    line-height: 18px;
    max-width: 95%;
  }

  .passage__info h3 span {
    font-size: 30px;
    line-height: 32px;
  }

  .passage__info p {
    font-size: 12px;
    line-height: 130%;
  }
}

@media (min-width: 768px) {
  .passage-swiper {
    display: none;
  }
}

.passage-swiper .swiper-slide {
  max-width: 264px;
  height: auto;
}

.passage-swiper .swiper-scrollbar {
  position: static;
  margin-top: 25px;
}

.passage-swiper .swiper-scrollbar-drag {
  background: #00adef;
}

/* Стоматолог */
.dentist {
  max-width: 1360px;
  background: linear-gradient(0deg, #f0f4f8, #f0f4f8), #ffffff;
  border-radius: 32px;
  margin: 0 auto 65px;
}

.dentist__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
}

.dentist__title {
  margin-bottom: 0;
}

.dentist__info {
  max-width: 402px;
}

.dentist__photo {
  transform: scaleX(-1);
  width: 485px;
}

.dentist__spec {
  margin-top: 20px;
  font-size: 20px;
  line-height: 30px;
}

.dentist__experience {
  margin-bottom: 20px;
  border-radius: 15px;
  transform: initial;
}

@media (min-width: 768px) and (max-width: 820px) {
  .dentist__container {
    padding-top: 45px;
  }

  .dentist__info {
    margin-bottom: 45px;
  }
}

@media (max-width: 767px) {
  .dentist__photo {
    width: 290px;
  }
}

@media (max-width: 580px) {
  .dentist {
    max-width: calc(100vw - 48px);
    margin-bottom: 25px;
  }

  .dentist__container {
    flex-direction: column-reverse;
    align-items: start;
    padding-bottom: 15px;
    padding-top: 15px;
  }

  .dentist__info {
    max-width: 100%;
    margin-top: 15px;
  }

  .dentist__photo {
    align-self: center;
    max-height: 270px;
    object-fit: contain;
  }

  .dentist__experience {
    border-radius: 0 15px 15px 0;
    transform: translateX(-24px);
  }

  .dentist__title,
  .dentist__spec {
    padding-left: 12px;
  }

  .dentist__title {
    font-size: 18px;
    line-height: 20px;
  }

  .dentist__spec {
    margin-top: 8px;
    font-size: 12px;
    line-height: 17px;
  }
}

/* Образование */
.education .swiper-scrollbar {
  position: static;
  margin-top: 40px;
  cursor: pointer;
}

.education .swiper-scrollbar-drag {
  background-color: #00adef;
}

.education__item {
  padding: 24px;
  background: #f0f4f8;
  border-radius: 33px;
  position: relative;
  transition: background-color 0.2s ease-out;
  overflow: hidden;
}

.education__item:hover {
  background: #f1f8f0;
}

.education__item-top {
  display: flex;
  align-items: center;
}

.education__item-top a {
  transition: color 0.2s ease-out;
}

.education__item-top a:hover {
  color: #67df73;
}

.education__year {
  border: 1px solid #00adef;
  border-radius: 45px;
  padding: 5px 15px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.05em;
  color: #1e2326;
  margin-right: 10px;
  width: max-content;
}

.education__show {
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  text-decoration: underline;
}

.education__photo {
  height: 100px;
  position: absolute;
  top: 32px;
  right: 0;
  border-radius: 8px 0 0 8px;
  max-width: 140px;
  transform: translateX(60%);
}

.education__item-bottom {
  margin-top: 10px;
  max-width: 270px;
}

.education__title {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 5px;
}

.education__description {
  font-size: 16px;
  line-height: 24px;
}

@media (max-width: 767px) {
  .education {
    overflow: visible;
  }

  .education .swiper-scrollbar {
    margin-top: 25px;
  }
}

@media (max-width: 650px) {
  .education .swiper-slide {
    max-width: 264px;
  }

  .education__item {
    padding: 17px;
  }

  .education__year {
    font-size: 14px;
    line-height: 17px;
    padding: 4px 11px;
    margin-right: 7px;
  }

  .education__show {
    font-size: 14px;
    line-height: 17px;
  }

  .education__item-bottom {
    max-width: 193px;
  }

  .education__title {
    font-size: 14px;
    line-height: 17px;
  }

  .education__description {
    font-size: 12px;
    line-height: 17px;
  }

  .education__photo {
    top: 18px;
  }
}

/* Работы врача */
.works {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 31px;
}

.works__btn {
  margin-top: 40px;
}

@media (max-width: 820px) {
  .works {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .works {
    gap: 15px;
  }

  .works__btn {
    margin-top: 15px;
  }
}

.work {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.work::before,
.work::after {
  position: absolute;
  top: 0;
  width: 84px;
  height: 55px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f0f4f8;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: black;
  z-index: 100;
}

.work::before {
  content: "до";
  left: 0;
  border-bottom-right-radius: 10px;
}

.work::after {
  content: "после";
  right: 0;
  border-bottom-left-radius: 10px;
}

.work__top img {
  width: 100%;
  object-fit: cover;
  object-position: center;
  height: 298px;
  border-radius: 10px 10px 0 0;
}

.work__bottom {
  padding: 25px 30px;
  background: #f0f4f8;
  height: calc(100% - 298px);
}

.work__bottom h3 {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
}

.work__bottom h3:not(:first-child) {
  margin-top: 10px;
}

.work__bottom p {
  font-size: 18px;
  line-height: 24px;
  margin-top: 7px;
}

.work .twentytwenty-handle {
  background: linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  border: 1px solid white;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.work .twentytwenty-handle:hover {
  background: linear-gradient(121.12deg, #6ad474 -10.29%, #62ff71 105.05%), linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
}

.work .twentytwenty-handle:hover::after,
.work .twentytwenty-handle:hover::before {
  background: #67df73;
}

.work .twentytwenty-handle::before,
.work .twentytwenty-handle::after {
  transition: background-color 0.2s ease-out;
  background: #00adef;
  box-shadow: none;
}

.work .twentytwenty-handle .twentytwenty-left-arrow,
.work .twentytwenty-handle .twentytwenty-right-arrow {
  border: none;
  background-image: url(../img/twenty-arrow.svg);
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
  margin-top: -10px;
}

.work .twentytwenty-handle .twentytwenty-left-arrow {
  margin-left: -20px;
}

.work .twentytwenty-handle .twentytwenty-right-arrow {
  margin-right: -20px;
  transform: scaleX(-1);
}

@media (max-width: 820px) {
  .work__top img {
    height: initial;
  }

  .work__bottom {
    height: fit-content;
  }
}

@media (max-width: 560px) {
  .work {
    background-color: #f0f4f8;
  }

  .work__bottom {
    padding: 20px;
  }

  .work__bottom h3 {
    font-size: 18px;
    line-height: 22px;
  }

  .work__bottom p {
    font-size: 12px;
    line-height: 130%;
  }

  .work .twentytwenty-wrapper {
    overflow: hidden;
    border-radius: 0 0 16px 16px;
  }
}

/* Услуги */
.services {
  display: flex;
  justify-content: space-between;
}

.services__left {
  width: 31.6%;
}

.services__left .popular__item .popular__item-top a {
  font-size: 27px;
}

.services__left .popular__item_services {
  cursor: pointer;
}

.services__list li {
  display: grid;
  grid-template-columns: 1fr 20%;
  gap: 20px;
  padding: 32px 25px;
  border-radius: 15px;
  transition: background-color 0.2s ease-out;
  font-size: 16px;
  line-height: 19px;
}

.services__list li:hover:not(:first-child) {
  background: #f1f8f0 !important;
}

.services__list li:hover:not(:first-child) .price {
  color: #67df73;
}

.services__list li:nth-child(odd) {
  background: white;
}

.services__list li:nth-child(even) {
  background: #f0f4f8;
}

.services__list li:first-child {
  font-weight: 700;
  color: #1e2326;
  padding-top: 0;
}

.services__list li:first-child p {
  transform: translateX(2px);
}

.services__list li a {
  font-weight: 500;
  padding-top: 1px;
  text-decoration: underline;
  text-decoration-color: #00adef;
  text-underline-offset: 5px;

  transition-property: border-color, color;
  transition: 0.2s ease-out;
}

.services__list li a:hover {
  color: #67df73;
  border-color: #67df73;
}

.services .services__list {
  width: 65.8%;
}

@media (max-width: 1180px) {
  .services {
    flex-direction: column;
  }

  .services__left {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .services .services__list {
    width: 100%;
    margin-top: 35px;
  }

  .services__list li a {
    width: initial;
    text-decoration: underline;
    text-decoration-color: #00adef;
    text-underline-offset: 5px;
    border-bottom: 0;
  }
}

@media (max-width: 819px) {
  .services__list li {
    grid-template-columns: 1fr 30%;
  }

  .services .popular__item_services {
    margin-bottom: 0;
  }

  .services .popular__item_services .popular__item-top {
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
  }

  .services .popular__item_services .popular__item-top a {
    padding: 0 12px;
    text-align: center;
    letter-spacing: -0.05em;
  }
}

@media (max-width: 560px) {
  .services__left {
    gap: 8px;
  }

  .services__list li {
    font-size: 13px;
    line-height: 130%;
    padding: 14px 12px;
  }

  .services .popular__item_services .popular__item-top {
    align-items: flex-start;
    padding: 16px 0;
  }

  .services .popular__item_services .popular__item-top>div {
    min-width: 55px;
    min-height: 55px;
    align-self: end;
    transform: translateY(8px);
  }

  .services .popular__item_services .popular__item-top a {
    text-align: left;
    font-size: 16px;
  }

  .services .price {
    align-self: center;
  }

  .services .services__list {
    width: calc(100% + 24px);
    transform: translateX(-12px);
  }
}

.price {
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  color: #00adef;
  font-family: "Roboto";
}

@media (max-width: 560px) {
  .price {
    font-size: 14px;
    line-height: 16px;
  }
}

/* Услуга */
.service__grid {
  display: grid;
  grid-template-columns: 65.8% 1fr;
  gap: 30px;
}

.service__top {
  max-width: 1360px;
  background: linear-gradient(0deg, #f0f4f8, #f0f4f8), #ffffff;
  border-radius: 32px;
  margin: 0 auto 65px;
  position: relative;
  overflow: hidden;
}

.service__top::before {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(86.21deg, #f0f4f8 42.3%, rgba(240, 244, 248, 0.93) 54.59%, rgba(240, 244, 248, 0) 68.07%);
  z-index: 2;
  width: 110%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.service__top-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0;
  min-height: 420px;
}

.service__top-info {
  max-width: 603px;
  z-index: 2;
  position: relative;
}

.service__top-info_no-img {
  padding-top: 20px !important;
}


.service__top-title {
  margin-bottom: 0;
}

.service__top-subtitle {
  margin-top: 20px;
  font-size: 20px;
  line-height: 30px;
  max-width: 470px;
}

.service__top-photo {
  width: 700px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  height: 100%;
}

.service__top-price {
  margin-bottom: 20px;
}

@media (max-width: 1400px) {
  .service__top {
    max-width: 1170px;
    padding: 0 40px;
  }
}

@media (max-width: 1220px) {
  .service__top {
    max-width: calc(100vw - 60px);
  }

  .service__top::before {
    width: 95%;
  }

  .service__grid {
    grid-template-columns: 0.75fr 0.5fr;
  }
}

@media (max-width: 1023px) {
  .service__grid {
    grid-template-columns: 1fr;
  }

  .service .service__aside {
    display: none;
  }
}

@media (max-width: 767px) {
  .service__top {
    max-width: calc(100vw - 48px);
    margin-bottom: 30px;
  }
}

@media (max-width: 560px) {
  .service__top {
    padding: 0;
  }

  .service__top-container {
    flex-direction: column-reverse;
    padding-top: 0;
    min-height: 0;
    align-items: initial;
    padding: 0;
  }

  .service__top-info {
    padding: 0 15px 15px;
  }

  .service__top-photo {
    position: static;
  }

  .service__top::before {
    background: linear-gradient(0deg, #f0f4f8 42.3%, rgba(240, 244, 248, 0.93) 48%, rgba(240, 244, 248, 0) 68.07%);
    width: 100%;
    height: 102%;
  }

  .service__top-photo {
    width: 100%;
    height: 286px;
  }

  .service__top-price {
    margin-bottom: 15px;
    width: max-content;
    background: #00adef;
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 1px 12px 1px 17px;
    border-radius: 0px 10px 10px 0px;
    transform: translateX(-15px);
  }

  .service__top-subtitle {
    font-size: 14px;
    line-height: 17px;
    margin-top: 10px;
    max-width: 100%;
    padding-right: 20px;
  }

  .service__top-title,
  .service__top-subtitle {
    padding-left: 12px;
  }

  .service__top .banner__btn {
    margin-top: 25px;
  }
}

@media (max-width: 360px) {
  .service__top::before {
    height: 65%;
  }
}

@media (min-width: 1024px) {
  #for-aside {
    display: none;
  }
}

#for-aside .popular__list_service {
  grid-template-columns: 1fr 1fr;
}

#for-aside .popular__item {
  background: none;
}

#for-aside .popular__item-bottom {
  background-color: rgba(240, 244, 248, 0.5);
}

@media (max-width: 767px) {
  #for-aside .popular__list_service {
    grid-template-columns: 1fr;
  }
}

/* Совет доктора */
.sovet {
  margin-top: 40px;
  padding: 30px 40px 24px 0;
  background: rgba(240, 244, 248, 0.5);
  border-left: 5px solid #00adef;
  border-radius: 0px 32px 32px 0px;
  display: flex;
  justify-content: space-between;
}

.sovet .doctor {
  background: transparent;
  width: 31.6%;
  margin-right: 30px;
  flex-shrink: 0;
}

.sovet .doctor>a {
  position: relative;
}

.sovet .doctor>a::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 130px;
  display: block;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 70.05%, #f8fafc 94.87%);
}

.sovet .doctor__experience {
  transform: translateX(-46px);
}

.sovet .doctor__info {
  padding-left: 46px;
}

.sovet .doctor__info-top {
  padding-left: 0;
}

@media (max-width: 1024px) {
  .sovet .doctor {
    width: 36%;
    align-self: flex-end;
  }
}

@media (max-width: 900px) {
  .sovet {
    flex-direction: column-reverse;
    border-left: none;
    padding: 30px;
    width: calc(100% + 60px);
    transform: translateX(-30px);
  }

  .sovet .doctor {
    overflow: initial;
    width: 100%;
    display: flex;
    position: relative;
    margin-right: 0;
    align-self: initial;
  }

  .sovet .doctor>a {
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    display: block;
    width: max-content;
  }

  .sovet .doctor__photo {
    transform: scaleX(-1);
    height: 100%;
    display: block;
    object-position: right;
    max-width: 200px;
  }

  .sovet .doctor__info {
    height: initial;
    padding-left: 0;
  }

  .sovet .doctor__btn {
    min-height: 45px;
    margin-left: 0;
  }

  .sovet .doctor__experience {
    transform: translateX(-10px);
    border-radius: 15px;
  }
}

@media (max-width: 560px) {
  .sovet {
    padding: 15px 30px;
    margin-top: 25px;
  }

  .sovet .doctor>a {
    right: -15px;
  }

  .sovet .doctor>a::after {
    bottom: initial;
    top: 8px;
  }

  .sovet .doctor__info {
    width: 100%;
    padding-top: 10px;
  }

  .sovet .doctor__btn {
    max-width: 100%;
    margin-top: 22px;
  }

  .sovet .doctor__photo {
    height: 131px;
  }

  .sovet .doctor__name,
  .sovet .doctor__spec {
    max-width: 206px;
  }
}

/* Акции */
.stocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
}

@media (max-width: 820px) {
  .stocks {
    gap: 20px;
  }
}

@media (max-width: 560px) {
  .stocks {
    grid-template-columns: 1fr;
  }
}

.stock {
  position: relative;
  background: #f7f7f7;
  border-radius: 32px;
  padding: 40px 37px 34px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}





.stock::before,
.stock::after {
  content: "";
  position: absolute;
  display: block;
  background: linear-gradient(90deg, #f0f4f8 15.63%, rgba(240, 244, 248, 0.93) 40.12%, rgba(240, 244, 248, 0) 71.55%);
  z-index: 2;
  width: 140%;
  height: 100%;
  left: 0;
  top: 0;
  opacity: 1;
}

.stock::after {
  background: linear-gradient(90deg, #f1f8f0 15.63%, rgba(241, 248, 240, 0.93) 40.12%, rgba(241, 248, 240, 0) 71.55%);
  opacity: 0;
  z-index: 3;
}

.stock:hover::before {
  opacity: 0;
}

.stock:hover::after {
  opacity: 1;
}

@media (min-width: 1025px) {
  .stock:hover .stock__time {
    position: relative;
    overflow: hidden;
    z-index: 2;
  }

  .stock:hover .stock__time::after {
    opacity: 1;
    transition: opacity 0.2s ease-out;
    z-index: -1;
  }
}

.stock__info {
  max-width: 345px;
  z-index: 5;
}

.stock__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stock__time {
  border-radius: 15px;
  background: linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  padding: 5px 14px;
  text-align: center;
  font-size: 16px;
  line-height: 16px;
  margin-bottom: 15px;
  width: max-content;
  color: white;
  position: relative;
}

.stock__time::after {
  position: absolute;
  content: "";
  display: block;
  background: linear-gradient(121.12deg, #6ad474 -10.29%, #62ff71 105.05%), linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  opacity: 0;
  left: 0;
  width: 101%;
  height: 101%;
  top: 0;
}

.stock__title {
  font-weight: 700;
  font-size: 28px;
  line-height: 32px;
  margin-bottom: 12px;
}

.stock__description {
  font-size: 18px;
  line-height: 24px;
}

.stock__prices {
  display: flex;
  align-items: center;
  margin-top: 35px;
  z-index: 5;
}

.stock__prices span {
  font-family: "Roboto";
}

.stock__price {
  font-weight: 500;
  font-size: 36px;
  line-height: 34px;
  color: #1e2326;
}

.stock__price-old {
  font-weight: 500;
  font-size: 18px;
  line-height: 34px;
  text-decoration-line: line-through;
  margin-left: 22px;
}

@media (max-width: 1024px) {
  .stock {
    padding: 0 0 34px;
  }

  .stock_no-img {
    padding-top: 32px;
  }

  .stock__info,
  .stock__prices {
    padding: 0 37px;
  }

  .stock__img {
    position: static;
    height: 233px;
  }

  .stock__time {
    position: absolute;
    top: 25px;
  }

  .stock::before,
  .stock::after {
    content: initial;
  }

  .stock__info::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: calc((100vw - 48px) / 2 - 10px);
    height: 125%;
    z-index: 1;
    background: linear-gradient(0deg, #f0f4f8 13.7%, #f0f4f8 21.34%, rgba(240, 244, 248, 0.93) 67%, rgba(240, 244, 248, 0) 84.02%);
  }

  .stock__title,
  .stock__description {
    position: relative;
    z-index: 2;
    transform: translateY(-10px);
  }

  .stock_no-img .stock__title,
  .stock_no-img .stock__description {
    transform: translateY(0);
  }

  .stock_no-img .stock__time {
    position: static;
  }

  .stock__prices {
    margin-top: 20px;
  }
}

@media (max-width: 820px) {
  .stock {
    padding-bottom: 25px;
  }





  .stock__info,
  .stock__prices {
    padding: 0 15px;
  }

  .stock__title {
    font-size: 18px;
    line-height: 130%;
  }

  .stock__description {
    font-size: 14px;
    line-height: 130%;
  }

  .stock__price {
    font-size: 18px;
    line-height: 22px;
  }

  .stock__price-old {
    font-size: 12px;
    line-height: 16px;
    margin-left: 20px;
  }

  .stock__prices {
    margin-top: 5px;
  }

  .stock__info::after {
    height: 150%;
  }

  .stock__time {
    font-size: 12px;
    line-height: 17px;
    padding: 1px 10px;
  }
}

@media (max-width: 560px) {
  .stock__info::after {
    width: 100%;
  }
}

/* Вопрос-ответ */
.faq {
  max-width: 770px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid #e7edf0;
}

.faq__item:first-child {
  border-top: 1px solid #e7edf0;
}

.faq__item-question {
  font-weight: 500;
  font-size: 24px;
  line-height: 24px;
  color: black;
  display: flex;
  justify-content: space-between;
  padding: 32px 5px 32px 0;
}

.faq__item-question::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url(../img/close2.svg);
  background-size: 14px 14px;
  transform: translateY(6px) rotate(135deg);
  transition: transform 0.2s ease-out;
}

.faq__item-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.2s ease-in-out;
  transition-property: visibility, max-height, padding;
}

.faq .spoiler-open .faq__item-question::after {
  transform: translateY(6px) rotate(0);
}

.faq .spoiler-open .faq__item-answer {
  max-height: initial;
  padding: 0 0 32px 0;
  visibility: visible;
}

.faq .content {
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
}

@media (max-width: 560px) {
  .faq__item-question {
    padding: 20px 5px 20px 0;
    font-size: 18px;
    line-height: 125%;
  }

  .faq .content {
    font-size: 12px;
    line-height: 180%;
  }

  .faq .spoiler-open .faq__item-answer {
    padding-bottom: 20px;
  }
}

/* Формы */
.form {
  max-width: 576px;
  background: white;
  border-radius: 15px;
}

.form__success {
  display: none;
}

.form__error {
  display: none;
  font-size: 14px;
  color: red;
  margin-top: 20px;
  padding: 5px;
  border: 1px solid red;
}

.form_error .form__error {
  display: block;
}

.form_success .form__main {
  display: none;
}

.form_success .form__success {
  display: block;
}

.form__container {
  padding: 45px 60px;
}

.form__container_waves {
  background-image: url(../img/waves.svg);
  background-size: 60% 100px;
  background-repeat: no-repeat;
  background-position: 0 44px;
}

.form__container_waves .form__title {
  margin-top: 44px;
}

.form__title {
  font-weight: 800;
  font-size: 30px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 23px;
}

.form__subtitle {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  text-align: center;
  letter-spacing: 0.02em;
  margin-bottom: 36px;
}

.form__row {
  position: relative;
  margin-bottom: 10px;
}

.form__row:last-child {
  margin-bottom: 0;
}

.form__row::after {
  content: "";
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
  position: absolute;
  top: 26px;
  right: 22px;
}

.form__row_person::after {
  background-image: url(../img/form/person.svg);
  width: 16px;
  height: 16px;
}

.form__row_phone::after {
  content: "";
  background-image: url(../img/form/phone.svg);
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  display: block;
}

.form__input {
  padding: 23px 20px;
  background: #f0f4f8;
  border: 1px solid #f0f4f8;
  border-radius: 6px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #1e2326;
  width: 100%;
}

.form__input.invalid {
  border-color: red;
}

.form__input.valid {
  border-color: #67df73;
}

.form__input:focus+.form__placeholder {
  display: none;
}

.form__placeholder {
  position: absolute;
  top: 23px;
  left: 23px;
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #1e2326;
}

.form__btn {
  margin-top: 23px;
  width: 100%;
  padding: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  color: white;
  font-weight: 700;
  font-size: 20px;
  line-height: 48px;
  letter-spacing: 0.02em;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  position: relative;
}

.form__btn::after {
  position: absolute;
  content: "";
  display: block;
  background: linear-gradient(121.12deg, #6ad474 -10.29%, #62ff71 105.05%), linear-gradient(121.12deg, #00adef -10.29%, #66d3fd 105.05%);
  opacity: 0;
  left: 0;
  width: 101%;
  height: 101%;
}

.form__btn:hover,
.form__btn:active {
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.form__btn:hover::after,
.form__btn:active::after {
  opacity: 1;
  transition: opacity 0.2s ease-out;
  z-index: -1;
}

.form__agree {
  margin-top: 24px;
  display: flex;
}

.form__agree input {
  opacity: 0;
  position: absolute;
  cursor: pointer;
}

.form__agree input:checked+.form__checkbox {
  background: #11b3f1;
}

.form__agree input.invalid+.form__checkbox+label {
  color: red !important;
}

.form__agree a {
  border-bottom: 1px solid #00adef;
  transition-property: color, border-color;
  transition: 0.2s ease-out;
}

.form__agree a:hover {
  color: #67df73;
  border-color: #67df73;
}

.form__checkbox {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 4.27088px solid #f0f4f8;
  border-radius: 8.54177px;
  margin-right: 7px;
  cursor: pointer;
}

.form label:not(.form__placeholder) {
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.01em;
  color: #1e2326;
  cursor: pointer;
}

.reviews__title {
  font-weight: 700;
  font-size: 42px;
  line-height: 50px;
  margin-bottom: 40px;
  text-align: center;
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px;
  background: #FFFFFF;
  border-radius: 33px;
  margin-bottom: 22px;
}

.reviews__agregator {
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
}

.reviews__agregator:not(:last-child) {
  border-right: 1px solid #E7EDF0;
}

.reviews__rating__star {
  font-size: 36px;
  font-weight: 700;
}

.reviews__rating__star span {
  font-size: 25px;
  font-weight: 500;
}

.reviews__rating {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  color: #1E2326;
}

.reviws__card__top {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-bottom: 12px;
}

.reviws__card__top img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}

.reviews__data {
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #04394E;
}

.reviews__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #1E2326;
}

.reviews__card {
  padding: 22px 24px;
  background: #FFFFFF;
  border-radius: 33px;
  max-width: 370px;
  height: fit-content;
}

.gray__template {
  padding-top: 65px;
}

.gray__template>.reviews__list {
  background-color: #F0F4F8;
}

.gray__template>.reviews__container>.reviews__card {
  background-color: #F0F4F8;
}

.reviews__container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.reviews__more {
  font-weight: 700;
  font-size: 20px;
  line-height: 20px;
  text-transform: uppercase;
  color: #1E2326;
  gap: 36px;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 20px 30px;
  border: 2px solid #00ADEF;
  border-radius: 999px;
  margin: auto;
  transition: 0.3s;
  margin-top: 20px;
}

.reviews__card--invisible {
  opacity: 0;
  visibility: hidden;
  max-height: 0;
  padding: 0 30px;
  transition: 0.5s;
}

.reviews__card--invisible.active {
  opacity: 1;
  max-height: 5000px;
  padding: 20px 30px;
  visibility: visible;
}

.reviews__more:hover {
  border: 2px solid #67DF73;
}

.reviews__more::after {
  background-color: transparent;
  background-image: url(../img/reviews/reviews_more.svg);
  content: '';
  background-size: 24px;
  width: 24px;
  height: 24px;
}

.reviews {
  margin-bottom: 45px;
}

@media(max-width: 1150px) {
  .reviews__list {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
  }

  .reviews__agregator:not(:last-child) {
    border-right: none;
  }

  .reviews__agregator:nth-child(2n-1) {
    border-right: 1px solid #E7EDF0;
  }

  .reviews__container {
    gap: 15px;
  }
}

@media (max-width: 767px) {
  
  .reviews__container {
    display: flex;
    width: 100%;
    overflow-x: scroll;
    padding-bottom: 20px;
  }

  .reviews__card--invisible {
    max-height: 5000px;
    opacity: 1;
    visibility: visible;
    padding: 15px 20px;
  }

  .reviews__list {
    background-color: transparent;
    gap: 8px;
    padding: 0px;
  }

  .reviews__more {
    display: none;
  }

  .reviws__card__top img {
    width: 41px;
    height: 41px;
  }

  .reviews__agregator {
    background: #FFFFFF;
    border-radius: 16px;
    flex-direction: column;
    padding: 10px 20px;
    gap: 8px;
  }

  .gray__template>.reviews__list {
    background-color: transparent;
  }

  .gray__template>.reviews__list>.reviews__agregator {
    background-color: #F0F4F8;

  } 

  .reviews__text {
    font-size: 12px;
    line-height: 15px;
  }

  .reviews__name {
    font-size: 14px;
    line-height: 17px;
  }

  .reviews__data {
    font-size: 14px;
    line-height: 14px;
  }

  .reviews__card {
    padding: 15px 20px;
    max-width: 264px;
    min-width: 264px;
  }

  .reviews__rating__star img {
    width: 19px;
    height: 19px;
  }

  .reviews__title {
    font-size: 24px;
    line-height: 28px;
  }

  .reviews__rating__star {
    font-size: 22px;
  }

  .reviews__rating__star span {
    font-size: 16px;
  }

  .reviews__rating {
    font-size: 12px;
  }

  .form {
    max-width: 95vw;
    max-height: 75vh;
  }

  .form__container {
    padding: 25px 30px;
  }

  .form__container_waves .form__title {
    margin-top: 25px;
  }

  .form__title {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .form__subtitle {
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .form__input {
    font-size: 12px;
    line-height: 14px;
    padding: 13px 12px;
  }

  .form__placeholder {
    font-size: 12px;
    line-height: 14px;
    top: 13px;
    left: 12px;
  }

  .form__row {
    margin-bottom: 5px;
  }

  .form__row::after {
    top: 13px;
    right: 12px;
  }

  .form__btn {
    margin: 10px auto 0;
    padding: 7px;
    max-width: 236px;
    border-radius: 69px;
    font-size: 15px;
    line-height: 25px;
  }

  .form__agree {
    margin-top: 20px;
    max-width: 400px;
  }
}

/* Подвал */
.footer {
  border-radius: 60px 60px 0px 0px;
  background-color: white;
  margin-top: 70px;
  padding-top: 95px;
}

.footer_gray {
  background-color: #f0f4f8;
}

.footer__top {
  display: grid;
  grid-template-columns: max-content max-content 1fr;
  gap: 30px 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(12, 74, 98, 0.1);
}

.footer__logo {
  background-image: url(../img/logo-footer.svg);
  width: 220px;
  height: 70px;
}

.footer__social {
  gap: 20px;
}

.footer__nav {
  margin-left: 18%;
  grid-row: 1/3;
  grid-column: 3/4;
  max-width: 500px;
}

.footer__nav ul {
  display: grid;
  grid-template-columns: 1fr max-content;
  gap: 15px;
}

.footer__nav a {
  font-size: 18px;
  line-height: 22px;
  transition: color 0.2s ease-out;
}

.footer__nav a:hover {
  color: #67df73;
}

.footer__nav p {
  color: #1e2326;
  font-weight: 700;
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 23px;
}

.footer__additionally {
  grid-column: 1/3;
}

.footer__additionally a {
  font-size: 18px;
  line-height: 22px;
  padding-bottom: 2px;
  border-bottom: 1px solid #00adef;
  transition-property: color, border-color;
  transition: 0.2s ease-out;
}

.footer__additionally a:hover {
  color: #67df73;
  border-color: #67df73;
}

.footer__additionally li {
  margin-bottom: 15px;
}

.footer__additionally li:last-child {
  margin-bottom: 0;
}

.footer__copyright {
  margin-top: 35px;
}

.footer__copyright_mobile {
  display: none;
}

.footer__center {
  padding: 29px 0;
  border-bottom: 1px solid rgba(12, 74, 98, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__center>div {
  font-size: 16px;
  line-height: 22px;
}

.footer__dev {
  display: flex;
  flex-direction: column;
}

.footer__dev:hover img {
  opacity: 1;
  filter: none;
}

.footer__dev span {
  font-size: 16px;
  line-height: 19px;
  text-align: right;
  margin-bottom: 8px;
}

.footer__dev img {
  max-width: 266px;
  opacity: 0.5;
  transition: opacity 0.2s ease-out;
  filter: grayscale(1);
}

.footer__bottom {
  padding: 20px 0;
  font-weight: 500;
  font-size: 28.8px;
  text-align: center;
  letter-spacing: -0.03em;
  opacity: 0.2;
}

@media (max-width: 1023px) {
  .footer {
    margin-top: 30px;
    padding-top: 40px;
    border-radius: 16px 16px 0 0;
  }

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

  .footer__top>* {
    grid-row: initial;
    grid-column: initial;
  }

  .footer__top>*.footer__additionally {
    grid-row: 3/4;
  }

  .footer__nav {
    margin-left: 0;
  }

  .footer__copyright {
    display: none;
  }

  .footer__copyright_mobile {
    display: block;
    color: #1e2326;
    font-weight: 500;
    font-size: 14px;
  }
}

@media (max-width: 767px) {
  .footer__logo {
    width: 156px;
    height: 49px;
  }

  .footer__center {
    display: block;
  }

  .footer__dev {
    margin-top: 30px;
  }

  .footer__dev span {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .footer__nav ul {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    font-size: 16px;
    line-height: 22px;
    text-align: left;
  }
}


.vh {
  visibility: hidden;
}