section:not(:has(article)), section.compare article, section.hero article {
  padding: 60px 0;
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  color: #383838;
}
section h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 43.88px;
}
section h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 24.38px;
}

section.hero {
  background: #D6DEF1;
  position: relative;
}
section.hero article {
  z-index: 10;
  position: relative;
  display: flex;
  flex-direction: column;
  color: #383838;
}
section.hero article label {
  font-size: 20px;
  font-weight: 700;
  line-height: 24.46px;
  text-align: left;
  color: #E50E19;
}
section.hero article h1 {
  font-size: 64px;
  font-weight: 700;
  line-height: 78.27px;
  text-align: left;
  margin-top: 22.5px;
}
section.hero article h1 span {
  color: #529BEF;
}
section.hero article p.subheader {
  font-size: 24px;
  font-weight: 400;
  line-height: 29.35px;
  text-align: left;
  margin-top: 22.5px;
}
section.hero article p.label {
  font-size: 20px;
  font-weight: 400;
  line-height: 24.46px;
  text-align: left;
  margin-top: 40px;
}
section.hero article p.note {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.57px;
  text-align: left;
  margin-top: 40px;
}
section.hero article .search {
  box-shadow: 0px 10px 40px 0px #0000001A;
  padding: 16px;
  width: 100%;
  box-sizing: border-box;
  background: white;
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 16px;
}
section.hero article .search input {
  background: white;
  outline: none;
  border: #E3E8ED solid 1px;
  padding: 16px;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: left;
  color: #383838;
  font-family: Montserrat;
}
section.hero article .search .selector {
  position: relative;
}
section.hero article .search .selector .title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
  box-sizing: border-box;
  border: #E3E8ED solid 1px;
  padding: 16px;
  cursor: pointer;
}
section.hero article .search .selector .title p {
  overflow: hidden;
  height: 20px;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: left;
}
section.hero article .search .selector .title svg {
  margin-left: 16px;
  transition: all 350ms;
}
section.hero article .search .selector .title input.selector-search-field {
  display: none;
  height: 20px;
  padding: 0;
  background: white;
  outline: none;
  border: none;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: left;
  width: calc(100% - 36px);
}
section.hero article .search .selector.active .title svg {
  transform: rotate(180deg);
}
section.hero article .search .selector.active .title p {
  display: none;
}
section.hero article .search .selector.active .title input.selector-search-field {
  display: block;
}
section.hero article .search .selector .autocomplete {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 24px;
  width: 100%;
  max-height: 0;
  z-index: 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  background: white;
  box-shadow: 0px 10px 40px 0px #0000001A;
  transition: max-height 350ms;
}
section.hero article .search .selector.active .autocomplete {

  overflow: auto;
  max-height: 250px;

}
section.hero article .search .selector .autocomplete .item {
  padding: 10px;
  margin: 0 8px;
  cursor: pointer;
  color: #383838;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: left;
  transition: all 350ms;
}
section.hero article .search .selector .autocomplete .item:first-child {
  margin-top: 8px;
}
section.hero article .search .selector .autocomplete .item:last-child {
  margin-bottom: 8px;
}
section.hero article .search .selector .autocomplete .item:hover,
section.hero article .search .selector .autocomplete .item.active {
  background: #529BEF30;
}

section.hero .gradient {
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: 0px;
}
section.hero .person {
  position: absolute;
  right: 8%;
  bottom: 0;
  z-index: 3;
  transition: all 350ms;
}
section.hero .person-mobile {
  display: none;
}
section.hero .plus-big {
  position: absolute;
  right: 0;
  bottom: 50px;
  z-index: 2;
}
section.hero .plus-medium {
  position: absolute;
  right: 15%;
  top: 40%;
  z-index: 2;
}
section.hero .plus-small {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, 0);
  z-index: 2;
}
section.hero .dashed-big {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
}
section.hero .dashed-small {
  position: absolute;
  left: 50%;
  top: 50px;
  transform: translate(-90%, 0);
  z-index: 2;
}


section.how .grid, section.compare .grid, section.clinics .grid, section.articles .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 34px;
  margin-top: 40px;
  transition: all 350ms;
}
section.how .grid .element {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: #E3E8ED solid 1px;
  box-shadow: 0px 0px 0px 0px #00000000;
  transition: all 350ms;
  cursor: pointer;
}
section.how .grid .element:hover {
  border-color: transparent;
  box-shadow: 0px 10px 36px 0px #00000014;
}
section.how .grid .element .number {
  font-size: 24px;
  font-weight: 400;
  line-height: 20px;
  color: #529BEF;
}
section.how .grid .element .name {
  font-size: 16px;
  font-weight: 400;
  line-height: 22.4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 24px;
}
section.how .grid .element .name svg {
  min-width: 20px;
  min-height: 20px;
}

section.compare {
  background: #FAFAFA;
}
section.compare .grid .element {
  border: #E3E8ED solid 1px;
  background: white;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  row-gap: 8px;
}
section.compare .grid .element p {
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;
  text-align: left;
}
section.compare .grid .element span {
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
}
section.compare .grid .element a {
  color: #529BEF;
}

section.clinics .clinics-selector {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 40px;
}
section.clinics .clinics-selector button:not(:first-child) {
  margin-left: 16px;
}
section.clinics .grid .element {
  border: #E3E8ED solid 1px;
  background: white;
  padding: 16px;
  display: flex;
  flex-direction: row;
  cursor: pointer;
}
section.clinics .grid .element .logo, section.clinics .grid .element .logo img {
  height: 40px;
  width: 40px;
  min-height: 40px;
  min-width: 40px;
  margin-right: 18px;
}
section.clinics .grid .element .text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #383838;
}
section.clinics .grid .element .text p {
  font-size: 16px;
  line-height: 19.5px;
}
section.clinics .grid .element .text label  {
  font-size: 12px;
  line-height: 14.63px;
  opacity: .5;
  margin-top: 8px;
}
section.clinics .grid ~ .button, section.compare .grid ~ .button {
  display: none;
}

section.helper .card {
  padding: 40px;
  box-sizing: border-box;
  background: #FAFAFA;
  display: flex;
  flex-direction: row;
  position: relative;
}
section.helper .card .image {
  min-width: 29%;
  margin-left: 10px;
}
section.helper .card .image img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 29%;
  height: auto;
  max-height: calc(100% - 20px);
}
section.helper .card .text {
  display: flex;
  flex-direction: column;
}
section.helper .card .text p {
  font-size: 20px;
  line-height: 24.38px;
  text-align: left;
  margin-top: 24px;
}
section.helper .card .text button {
  width: 276px;
  margin-top: 40px;
}

section.about .card {
  display: flex;
  flex-direction: row;
  position: relative;
}
section.about .card .image {
  position: relative;
  margin-left: 10px;
  flex: 1;
}
section.about .card .image img {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 100%;
  height: auto;
}
section.about .card .text {
  display: flex;
  flex-direction: column;
  max-width: 55%;
}
section.about .card .text p {
  font-size: 16px;
  line-height: 24px;
  text-align: left;
  margin-top: 24px;
}
section.about .card .text p:first-child {
  margin-top: 40px;
}
section.about .card .text p a {
  cursor: pointer;
  text-decoration: underline;
}
section.about .card .text .button {
  width: 276px;
  margin-top: 40px;
}
section.about .numeric {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 246px;
  row-gap: 30px;
  padding: 40px;
  background: #FAFAFA;
  margin-top: 80px;
}
section.about .numeric .item {
  display: flex;
  flex-direction: column;
  row-gap: 10px;
}
section.about .numeric .item .number {
  font-size: 36px;
  font-weight: 700;
  line-height: 43.88px;
  text-align: left;
  color: #529BEF;
  white-space: nowrap;
}
section.about .numeric .item p {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: left;
}
section.about .paragraph {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  text-align: left;
  margin-top: 80px;
}
section.about .advantages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 40px;
  margin-top: 40px;
}
section.about .advantages .advantage {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
}
section.about .advantages .advantage .logo {
  height: 60px;
  min-height: 60px;
}
section.about .advantages .advantage p {
  font-size: 20px;
  font-weight: 400;
  line-height: 24.38px;
}

section.faq .question {
  cursor: pointer;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: all 350ms;
  border-top: #E3E8ED solid 1px;
  padding: 16px 0;
}
section.faq .question.first {
  margin-top: 40px;
}
section.faq .question:last-child {
  border-bottom: #E3E8ED solid 1px;
}
section.faq .question .title {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
section.faq .question .title svg {
  fill: #383838;
  transition: all 350ms;
  min-width: 40px;
  min-height: 40px;
}
section.faq .question.active .title h3 {
  color: #529BEF;
}
section.faq .question.active .title svg {
  fill: #529BEF;
  rotate: 180deg;
}
section.faq .question .content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 350ms;
}
section.faq .question.active .content {
  grid-template-rows: 1fr;
}
section.faq .question .answer {
  overflow: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.5px;
  text-align: left;
  display: flex;
  flex-direction: column;
}
section.faq .question .answer ol {
  margin: 0;
  padding-left: 18px;
}
section.faq .question .answer p:first-child {
  margin-top: 16px;
}

section.articles .grid .element {
  border: #E3E8ED solid 1px;
  display: flex;
  flex-direction: column;
}
section.articles .grid .element .cover {
  height: 220px;
  max-height: 220px;
}
section.articles .grid .element .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -o-object-fit: cover;
}
section.articles .grid .element .text {
  padding: 27px 24px;
  overflow: hidden;
}
section.articles .grid .element .text label {
  font-size: 12px;
  font-weight: 400;
  line-height: 14.63px;
  text-align: left;
  opacity: .5;
}
section.articles .grid .element .text h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  margin-top: 24px;
}
section.articles .grid .element .text p {
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: left;
  margin-top: 8px;
}
section.articles .button {
  width: 378px;
  margin: 40px auto 0;
}

@media screen and (max-width: 1280px) {
  section:not(:has(article)), section.compare article, section.hero article {
    margin: 0px 24px;
    width: auto;
  }

  section.about .numeric {
    column-gap: 200px;
  }
  section.hero .person {
    right: 0;
  }
}
@media screen and (max-width: 1150px) {
  section.helper .card .image {
    min-width: 39%;
  }
  section.helper .card .image img {
    max-width: 39%;
  }

  section.about .numeric {
    column-gap: 130px;
  }

  section.hero .person {
    right: -10%;
  }
}
@media screen and (max-width: 1000px) {
  .button {
    height: 64px;
    max-height: 64px;
  }
  section:not(:has(article)), section.compare article {
    padding: 35px 0;
  }
  section h2 {
    font-size: 24px;
    line-height: 31.2px;
  }
  section h2.tight {
    line-height: 29.26px;
  }
  section h3 {
    font-size: 16px;
    line-height: 19.5px;
  }

  section.how .grid, section.compare .grid, section.clinics .grid, section.articles .grid,
  section.about .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  section.how .grid {
    row-gap: 30px;
    column-gap: 30px;
  }
  section.compare .grid, section.clinics .grid {
    row-gap: 20px;
    column-gap: 20px;
  }

  section.clinics .clinics-selector, section.faq .question.first {
    margin-top: 30px;
  }
  section.clinics .clinics-selector button {
    font-size: 14px;
    line-height: 17.07px;
    height: 49px;
    max-height: 49px;
  }

  section.about .numeric {
    column-gap: 100px;
    padding: 24px;
  }
  section.about .numeric .item .number {
    font-size: 24px;
    line-height: 29.26px;
  }
  section.about .paragraph, section.about .numeric {
    margin-top: 40px;
  }

  section.faq .question .title svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }
}
@media screen and (max-width: 900px) {
  section.helper .card {
    flex-direction: column;
    padding: 24px;
  }
  section.helper .card .image {
    width: 100%;
    min-width: unset;
  }
  section.helper .card .image img {
    position: relative;
    margin-left: 50%;
    margin-bottom: -24px;
    transform: translate(-50%, 0);
    width: calc(85%);
    max-width: 350px;
  }
  section.helper .card .text p {
    margin-top: 20px;
    font-size: 16px;
    line-height: 19.5px;
  }
  section.helper .card .text button, section.about .card .text .button {
    width: 100%;
    height: 64px;
    margin-top: 30px;
  }

  section.about .card .text {
    max-width: 100%;
  }
  section.about .card .text p:first-child {
    margin-top: 20px;
  }
  section.about .card .image {
    display: none;
  }

  section.about .numeric {
    column-gap: 40px;
  }

  section.hero {
    background: linear-gradient(180deg, #D7DFF1 0%, #F5F8FF 29.5%, #D6DEF1 100%);
  }
  section.hero .person, section.hero .gradient,
  section.hero .plus-big, section.hero .plus-medium, section.hero .plus-small,
  section.hero .dashed-small, section.hero .dashed-big {
    display: none;
  }
  section.hero .person-mobile {
    display: block;
    height: 360px;
    min-height: 360px;
    margin: 0 auto;
  }
  section.hero article {
    text-align: center;
    align-items: center;
    padding-top: 0 !important;
  }
  section.hero article label {
    height: 16px;
    line-height: 19.57px;
  }
  section.hero article h1 {
    line-height: 39.14px;
    font-size: 32px;
    margin-top: 16px;
    text-align: center;
  }
  section.hero article p.subheader {
    font-size: 20px;
    line-height: 24.46px;
    text-align: center;
    margin-top: 30px;
  }
  section.hero article p.label {
    font-size: 16px;
    line-height: 19.57px;
    text-align: center;
    margin-top: 40px;
  }
  section.hero article p.note {
    font-size: 12px;
    line-height: 16.8px;
    text-align: center;
    margin-top: 30px;
  }
  section.hero article .search {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    row-gap: 16px;
  }
  section.hero article .search .button {
    width: 100%;
  }
}
@media screen and (max-width: 800px) {
  section:not(:has(article)), section.compare article, section.hero article {
    margin: 0px 20px;
  }
  .button {
    width: 100%;
  }

  section h2 br {
    display: none;
  }

  section.how .grid, section.compare .grid, section.clinics .grid, section.articles .grid,
  section.about .numeric,
  section.about .advantages {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    overflow: hidden;
  }
  section.clinics .clinics-selector button {
    width: auto;
  }
  section.clinics .grid ~ .button, section.compare .grid ~ .button {
    display: block;
    margin-top: 40px;
  }

  section.articles .grid {
    row-gap: 20px;
  }
}

@media screen and (max-width: 500px) {
  section.clinics .clinics-selector {
    justify-content: space-between;
  }
  section.clinics .clinics-selector button:not(:first-child) {
    margin-left: 0;
  }
}


@media screen and (max-width: 400px) {
  .button {
    padding: 16px 26px;
  }
}
