@font-face {
  font-family: 'Days One';
  font-weight: normal;
  font-style: normal;
  src: url('../fonts/DaysOne-Regular.ttf');
}

@font-face {
  font-family: 'Istok Web';
  font-weight: bold;
  font-style: normal;
  src: url('../fonts/IstokWeb-Bold.ttf');
}

@font-face {
  font-family: 'Istok Web';
  font-weight: 400;
  font-style: normal;
  src: url('../fonts/IstokWeb-Regular.ttf');
}

*,
*::after,
*::before {
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
}
html {
  scroll-behavior: smooth;
}

body {
  counter-reset: item;
  font-size: 16px;
  font-family: sans-serif;
}

.container {
  margin: 0 auto;
  padding: 64px 300px;
}

a.phone {
  text-decoration: none;
}

@media (min-width: 1921px) {
  .container {
    padding: 64px 540px;
  }
}

@media (max-width: 1750px) {
  .container {
    padding: 50px 130px;
  }
}

@media (max-width: 1280px) {
  .container {
    padding: 40px 100px;
  }
}

@media (max-width: 800px) {
  .container {
    padding: 30px 60px;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 20px 40px;
  }
}

@media (max-width: 500px) {
  .container {
    padding: 15px 30px;
  }
}

#popup {
  display: none;
  position: fixed;
  justify-content: center;
  flex-direction: column;
  row-gap: 20px;
  left: 50%;
  z-index: 999;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #f0ca00;
  padding: 40px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#popup #close-popup-btn {
  font-family: 'Days One';
  font-weight: 400;
  color: #fff;
  font-size: 20px;
  position: absolute;
  right: -15px;
  top: -15px;
  width: 35px;
  cursor: pointer;
  border-radius: 50%;
  background-color: #212121;
}

.highlight {
  color: #f0ca00;
}

.apply-for-appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  -moz-column-gap: 35px;
  column-gap: 35px;
  align-items: center;
}

.apply-for-appointment-form .form-title,
.apply-for-appointment-form input,
.apply-for-appointment-form .button {
  width: 100%;
}

.apply-for-appointment-form .form-title {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 32px;
  text-transform: uppercase;
}

.apply-for-appointment-form input {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 32px;
  color: #868686;
  border-radius: 50px;
  padding: 24px 60px;
  border: none;
  width: 340px;
  height: 75px;
  text-align: center;
}

.apply-for-appointment-form .button {
  font-family: 'Days One';
  font-weight: 400;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 30px 60px;
  color: #fff;
  background-color: #000;
  border-radius: 50px;
  border: 3px solid #000;
  transition: 0.3s;
  background: linear-gradient(to bottom, #454545, #212121);
  border: none;
  padding: 23px;
  height: 75px;
}

.apply-for-appointment-form .button:hover {
  transform: scale(1.01);
}

.apply-for-appointment-form .button:hover::after {
  transform: scale(1.01) rotateZ(90deg);
}

@media (max-width: 1280px) {
  .apply-for-appointment-form .button {
    padding: 15px 30px;
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  .apply-for-appointment-form .button {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .apply-for-appointment-form .button {
    padding: 15px;
  }
}

@media (max-width: 400px) {
  .apply-for-appointment-form .button {
    font-size: 16px;
  }
}

@media (max-width: 1750px) {
  .apply-for-appointment-form .form-title {
    font-family: 'Days One';
    font-weight: 400;
    color: #000;
    font-size: 24px;
  }

  .apply-for-appointment-form input,
  .apply-for-appointment-form .button {
    font-size: 18px;
  }
}

@media (max-width: 1000px) {
  .apply-for-appointment-form .form-title {
    font-size: 20px;
  }

  .apply-for-appointment-form .button {
    font-size: 16px;
  }

  .apply-for-appointment-form input {
    width: 250px;
  }
}

@media (max-width: 900px) {
  .apply-for-appointment-form {
    -moz-column-gap: 20px;
    column-gap: 20px;
  }

  .apply-for-appointment-form .form-title {
    font-size: 20px;
  }

  .apply-for-appointment-form input {
    width: 250px;
  }
}

@media (max-width: 700px) {
  .apply-for-appointment-form {
    display: grid;
    grid-template-columns: auto;
    grid-template-areas: 'title title' 'input button';
    -moz-column-gap: 15px;
    column-gap: 15px;
    row-gap: 20px;
  }

  .apply-for-appointment-form .form-title {
    font-size: 16px;
    grid-area: title;
  }

  .apply-for-appointment-form input {
    grid-area: input;
  }

  .apply-for-appointment-form input,
  .apply-for-appointment-form .button {
    padding: 14px 20px;
    font-size: 16px;
    height: 60px;
  }

  .apply-for-appointment-form .button {
    margin: 0 auto;
    grid-area: button;
    padding: 15px 5px;
  }
}

@media (max-width: 520px) {
  .apply-for-appointment-form {
    grid-template-areas: 'title' 'input' 'button';
    row-gap: 15px;
    justify-content: center;
  }
}

.carousel .glide__arrows .glide__arrow {
  border: none;
  padding: 15px;
}

.carousel .glide__arrows .glide__arrow img {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 99;
}

.carousel .glide__arrows .glide__arrow::before {
  content: '';
  background-color: #f0ca00;
  opacity: 0.7;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.carousel .glide__arrows .glide__arrow--left {
  transform: rotateZ(-45deg);
}

.carousel .glide__arrows .glide__arrow--right {
  transform: rotateZ(135deg);
}

.carousel .carousel-item {
  height: 450px;
}

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

#send-request-2,
#send-request {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  padding: 30px 60px;
  color: #000;
  background-color: #f0ca00;
  border-radius: 50px;
  border: 3px solid #f0ca00;
  transition: 0.3s;
  display: flex;
  align-items: center;
  position: relative;
  padding-right: 110px;
}

#send-request-2:hover,
#send-request:hover {
  transform: scale(1.01);
}

#send-request-2:hover::after,
#send-request:hover::after {
  transform: scale(1.01) rotateZ(90deg);
}

@media (max-width: 1280px) {
  #send-request-2,
  #send-request {
    padding: 15px 30px;
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  #send-request-2,
  #send-request {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  #send-request-2,
  #send-request {
    padding: 15px;
  }
}

@media (max-width: 400px) {
  #send-request-2,
  #send-request {
    font-size: 16px;
  }
}

#send-request-2::after,
#send-request::after {
  content: '';
  background-image: url('../pictures/arrow.svg');
  background-size: 35px;
  font-weight: 700;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  width: 10px;
  height: 20px;
  position: absolute;
  right: 14px;
  font-size: 200px;
  display: block;
  background-color: #fff;
  color: #000;
  border-radius: 50%;
  height: 75px;
  width: 75px;
  transform: rotateZ(90deg);
}

.mobile-menu-nav {
  transform: translateY(-100%);
  transition: 0.5s;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 99;
  background-color: #fff;
  padding: 20px 25px;
}

.mobile-menu-nav .phone {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #000;
  font-size: 20px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mobile-menu-nav .phone::before {
  content: url('../pictures/call.svg');
  margin-right: 10px;
}

.mobile-menu-nav .list {
  list-style: none;
  padding: 20px 0;
  text-align: center;
}

.mobile-menu-nav .list .item {
  margin-bottom: 15px;
}

.mobile-menu-nav .list .item a {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 16px;
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #f0ca00;
}

.mobile-menu-nav .list .item a.active,
.mobile-menu-nav .list .item a:focus,
.mobile-menu-nav .list .item a:active {
  color: #616161;
  border-bottom: 2px solid #af9605;
}

@media (max-width: 800px) {
  .mobile-menu-nav.active {
    transform: translateY(0);
  }

  #send-request-2 {
    width: 300px;
    margin: 0 auto;
  }

  #send-request-2::after {
    background-size: 25px;
    height: 45px;
    width: 45px;
    right: 5px;
  }
}

@media (max-width: 500px) {
  .mobile-menu-nav .phone,
  .mobile-menu-nav .list {
    padding: 12px 50px;
    text-align: left;
    justify-content: start;
  }

  .mobile-menu-nav #send-request-2 {
    width: 270px;
  }
}

@media (max-width: 410px) {
  .mobile-menu-nav #send-request-2 {
    width: 230px;
  }
}

.menu-btn {
  position: fixed;
  z-index: 100;
  right: 15px;
  top: 15px;
  display: none;
  width: 50px;
  height: 50px;
  background-color: #f0ca00;
  border-radius: 50%;
  border: 2px solid #000;
}

.menu-btn span,
.menu-btn span::before,
.menu-btn span::after {
  position: absolute;
  top: 50%;
  margin-top: -1px;
  left: 50%;
  margin-left: -10px;
  width: 20px;
  height: 2px;
  background-color: #000;
}

.menu-btn span::before,
.menu-btn span::after {
  content: '';
  display: block;
  transition: 0.2s;
}

.menu-btn span::before {
  transform: translateY(-5px);
}

.menu-btn span::after {
  transform: translateY(5px);
}

.menu-btn_active span:before {
  transform: rotate(-45deg) translate(0px, 10px);
  transform-origin: left bottom;
  left: 7px;
}

.menu-btn_active span:after {
  transform: rotate(45deg) translate(0px, -10px);
  transform-origin: left top;
  left: 7px;
}

.menu-btn_active span {
  background-color: #f0ca00;
}

@media (max-width: 800px) {
  .menu-btn {
    display: block;
  }
}

.main {
  position: relative;
  background-image: url('../pictures/main-bg.webp');
  background-size: cover;
}

.main .main-inner {
  display: flex;
  flex-direction: column;
  padding-top: 25px;
  position: relative;
}

.main .content {
  z-index: 1;
}

.main .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main .header .logo {
  width: 250px;
  z-index: 1;
}

.main .header .phone {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 24px;
}

.main .header .schedule,
.main .header .address {
  text-transform: uppercase;
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 15px;
}

.main .header .phone,
.main .header .schedule,
.main .header .address {
  z-index: 1;
  display: flex;
  align-items: center;
}

.main .header .phone {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  position: relative;
}
a.email {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  position: relative;
  z-index: 10;
  text-decoration: none;
  top: 5px;
}
.main .header a.email::before {
  content: url(../pictures/mail2.svg);
  padding-right: 8px;
  padding-top: 10px;
  top: 4px;
  position: relative;
}
.main .header .phone::before {
  content: url('../pictures/call.svg');
  padding-right: 4px;
}

.main .header .address {
  position: relative;
}

.main .header .address::before {
  content: url('../pictures/location-2.svg');
  padding-right: 4px;
  padding-top: 3px;
}

.main .header .schedule {
  position: relative;
}

.main .header .schedule::before {
  content: url('../pictures/Vector.svg');
  padding-right: 4px;
  padding-top: 3px;
}

.main::after {
  content: '';
  background-color: rgba(5, 3, 3, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}

.main::before {
  content: '';
  background-color: #000;
  opacity: 0.6;
  width: 50%;
  height: 100%;
  position: absolute;
}

.main .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #fff;
  font-size: 50px;
  text-transform: uppercase;
  margin: auto;
  padding: 65px 0 80px 225px;
}

.main .subtitle-container {
  display: flex;
  justify-content: space-between;
  padding: 0 140px;
}

.main .subtitle-container .subtitle {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  width: 400px;
}

.main .subtitle-container .subtitle > li {
  position: relative;
}

.main .subtitle-container .subtitle > li:not(:last-child) {
  padding-bottom: 20px;
}

.main .subtitle-container .subtitle > li::marker {
  font-size: 1.5em;
  color: #f0ca00;
}

.main .subtitle-container .free-diagnostic {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #000;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  width: 215px;
  height: 215px;
}

.main .subtitle-container .free-diagnostic img {
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.main .subtitle-container .free-diagnostic span {
  z-index: 1;
  width: 80%;
}

.main .subtitle-container .free-diagnostic::after {
  content: '';
  position: absolute;
  background-color: #f0ca00;
  opacity: 0.9;
  z-index: 0;
  width: 120%;
  padding-top: 120%;
  border-radius: 50%;
  overflow: hidden;
}

.main .subtitle-container .mobile-text {
  display: none;
}

.main .appointment {
  display: flex;
  justify-content: center;
  -moz-column-gap: 40px;
  column-gap: 40px;
  align-items: center;
  padding-top: 70px;
}

.main .appointment .plain-text {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  margin-left: 30px;
}

.main .appointment .phone {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  -moz-column-gap: 5px;
  column-gap: 5px;
}

.main .appointment .phone::before {
  content: url('../pictures/Phone.svg');
}

@media (min-width: 1921px) {
  .main .appointment {
    justify-content: center;
    -moz-column-gap: 100px;
    column-gap: 100px;
  }

  .main .subtitle-container {
    justify-content: space-around;
  }
}

@media (max-width: 1750px) {
  .main .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #fff;
    font-size: 40px;
  }

  .main .subtitle-container {
    justify-content: space-around;
  }
}

@media (max-width: 1400px) {
  .main .title {
    padding-left: 200px;
  }

  .main .header .phone,
  .main .header .schedule,
  .main .header .address {
    font-family: 'Istok Web';
    font-weight: 700;
    color: #fff;
    font-size: 15px;
  }
  a.email {
    font-size: 15px;
  }

  .main .header .logo {
    width: 180px;
  }
}

@media (max-width: 1280px) {
  .main .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #fff;
    font-size: 36px;
    padding-left: 180px;
  }

  .main .header .logo {
    width: 180px;
  }

  .main .header .phone,
  .main .header .schedule,
  .main .header .address {
    font-family: 'Istok Web';
    font-weight: 700;
    color: #fff;
    font-size: 15px;
  }
  a.email {
    font-size: 15px;
  }
  .main .subtitle-container {
    padding: 0;
  }

  .main .appointment #send-request {
    padding-right: 80px;
  }

  .main .appointment #send-request::after {
    background-size: 25px;
    width: 50px;
    height: 50px;
  }

  .main .header {
    display: grid;
    grid-template-areas: 'logo logo logo' 'phone address schedule';
    row-gap: 25px;
  }

  .main .header .phone {
    grid-area: phone;
  }

  .main .header .address {
    grid-area: address;
  }

  .main .header .schedule {
    grid-area: schedule;
  }

  .main .header .logo {
    grid-area: logo;
    margin: 0 auto;
    width: 300px;
  }
}

@media (max-width: 1000px) {
  .main .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #fff;
    font-size: 30px;
    padding-left: 100px;
  }

  .main .header {
    display: grid;
    grid-template-areas: 'logo logo logo' 'phone address schedule';
    row-gap: 25px;
  }

  .main .header .phone {
    grid-area: phone;
  }

  .main .header .address {
    grid-area: address;
  }

  .main .header .schedule {
    grid-area: schedule;
  }

  .main .header .logo {
    grid-area: logo;
    margin: 0 auto;
    width: 300px;
  }

  .main .appointment .plain-text {
    display: none;
  }
}

@media (max-width: 900px) {
  .main .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #fff;
    font-size: 30px;
    padding: 50px 0 60px 80px;
  }

  .main .header {
    -moz-column-gap: 14px;
    column-gap: 14px;
    align-items: center;
  }
}

@media (max-width: 800px) {
  .main {
    height: auto;
    background-size: 1000px;
    background-repeat: no-repeat;
    background-position-x: -170px;
  }

  .main::before {
    width: 100%;
  }

  .main::after {
    content: none;
  }

  .main .main-inner {
    height: 100%;
    grid-template-rows: auto;
  }

  .main .container {
    padding: 0;
  }

  .main .header {
    padding: 30px 60px;
    justify-content: center;
    text-align: center;
    -moz-column-gap: 30px;
    column-gap: 30px;
    row-gap: 20px;
    grid-template-areas: 'logo logo logo logo' 'phone phone address address' 'schedule schedule schedule schedule';
  }

  .main .header .schedule {
    margin: 0 auto;
  }

  .main .content {
    grid-template-rows: auto;
  }

  .main .title,
  .main .appointment,
  .main .subtitle-container {
    padding: 0 60px;
  }

  .main .title {
    margin-bottom: 30px;
  }

  .main .subtitle-container {
    padding-top: 30px;
    background-color: #212121;
    flex-direction: column;
  }

  .main .subtitle-container .subtitle > li:not(:last-child) {
    font-size: 20px;
    padding-bottom: 15px;
  }

  .main .subtitle-container .subtitle {
    margin-bottom: 40px;
    padding: 0 50px;
  }

  .main .subtitle-container .desktop-text {
    display: none;
  }

  .main .subtitle-container .mobile-text {
    font-family: 'Istok Web';
    font-weight: 700;
    color: #f0ca00;
    font-size: 26px;
    display: inline-block;
  }

  .main .subtitle-container .free-diagnostic-wrapper {
    background-color: #212121;
    order: -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
    -moz-column-gap: 40px;
    column-gap: 40px;
  }

  .main .subtitle-container .free-diagnostic-wrapper .free-diagnostic {
    width: 160px;
    height: 130px;
  }

  .main .subtitle-container .free-diagnostic-wrapper .free-diagnostic img {
    margin: 0;
  }

  .main .appointment {
    background-color: #212121;
    row-gap: 35px;
    padding-bottom: 40px;
    display: grid;
    grid-template-areas: 'button button' 'text phone-num';
  }

  .main .appointment .plain-text {
    grid-area: text;
    display: block;
  }

  .main .appointment #send-request {
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
    grid-area: button;
  }

  .main .appointment .phone {
    grid-area: phone-num;
  }
}

@media (max-width: 600px) {
  .main {
    background-size: 900px;
  }

  .main .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #fff;
    font-size: 26px;
  }

  .main .header {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .main .header .logo {
    margin: 0;
  }

  .main .header .schedule {
    margin: 0;
  }

  .main .header .phone {
    font-size: 20px;
  }

  .main .header .phone::before {
    margin-right: 2px;
  }

  .main .header .address,
  .main .header .schedule {
    font-size: 16px;
  }

  .main .header .address::before,
  .main .header .schedule::before {
    margin-right: 2px;
  }

  .main .subtitle-container .free-diagnostic .img-wrapper img {
    width: 50px;
  }

  .main .subtitle-container .free-diagnostic::after {
    width: 100%;
    padding-top: 100%;
  }

  .main .subtitle-container .subtitle > li:not(:last-child) {
    font-size: 20px;
    padding-bottom: 10px;
  }

  .main .subtitle-container .subtitle > li {
    margin-left: 50px;
  }

  .main .subtitle-container .subtitle {
    padding: 0;
  }

  .main .subtitle-container .mobile-text {
    font-size: 22px;
  }

  .main .appointment {
    row-gap: 20px;
  }

  .main .appointment .phone,
  .main .appointment .plain-text {
    font-size: 16px;
  }

  .main .appointment .phone::before {
    content: none;
  }
}

@media (max-width: 500px) {
  .main .header {
    padding: 30px;
  }

  .main .header .phone {
    font-size: 20px;
  }

  .main .header .address,
  .main .header .schedule {
    font-size: 15px;
  }

  .main .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #fff;
    font-size: 24px;
    padding: 30px;
    margin-bottom: 0;
  }

  .main .subtitle-container {
    padding: 15px 30px;
  }

  .main .subtitle-container .free-diagnostic-wrapper {
    -moz-column-gap: 20px;
    column-gap: 20px;
    margin-bottom: 20px;
  }

  .main .subtitle-container .subtitle {
    margin-bottom: 20px;
    width: auto;
  }

  .main .subtitle-container .subtitle > li {
    margin-left: 30px;
  }
}

@media (max-width: 431px) {
  .main .main-inner {
    height: auto;
  }

  .main .header {
    padding: 20px;
    padding-bottom: 0;
  }

  .main .header .logo {
    width: 250px;
  }

  .main .title {
    font-size: 22px;
    padding: 20px;
    padding-top: 40px;
  }

  .main .content .subtitle-container {
    padding: 10px 20px;
  }

  .main .content .subtitle-container .free-diagnostic-wrapper {
    -moz-column-gap: 20px;
    column-gap: 20px;
    margin-bottom: 0;
  }

  .main .content .subtitle-container .free-diagnostic-wrapper .free-diagnostic::after {
    width: 80%;
    padding-top: 80%;
  }

  .main .content .subtitle-container .subtitle > li {
    margin-left: 30px;
  }

  .main .content .subtitle-container .mobile-text {
    font-size: 18px;
  }

  .main .appointment #send-request {
    margin-bottom: 10px;
  }

  .main .appointment #send-request::after {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .main {
    background-size: 800px;
  }

  .main .content .subtitle-container .subtitle > li {
    margin-left: 30px;
    font-size: 18px;
  }

  .main .appointment .plain-text {
    margin: 0;
  }

  .main .appointment #send-request {
    margin-bottom: 10px;
  }

  .main .appointment #send-request::after {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .main .content .title {
    font-size: 20px;
  }

  .main .content .subtitle-container .subtitle > li {
    margin-left: 30px;
    font-size: 18px;
  }

  .main .appointment #send-request {
    width: 250px;
    margin-bottom: 10px;
  }

  .main .appointment #send-request::after {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 390px) {
  .main .header {
    row-gap: 10px;
  }

  .main .header .phone {
    font-size: 17px;
  }

  .main .header .schedule,
  .main .header .address {
    font-size: 13px;
  }

  .main .content .subtitle-container .mobile-text {
    font-size: 16px;
  }

  .main .appointment {
    padding: 20px;
  }
}

.price .title-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
}

.price .title-container .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 50px;
  text-transform: uppercase;
}

.price .title-container .subtitle {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 24px;
  color: #000;
  display: flex;
  align-items: center;
  height: -moz-fit-content;
  height: fit-content;
}

.price .title-container .subtitle::before {
  content: url('../pictures/ava.svg');
  margin-right: 25px;
  background-color: #f0ca00;
  width: 75px;
  height: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.price .title-container .subtitle strong {
  font-weight: 700;
}

.price .services table {
  margin-bottom: 40px;
  width: 100%;
  text-align: left;
}

.price .services table th {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  text-transform: uppercase;
  background-color: #212121;
}

.price .services table th p {
  display: flex;
  align-items: center;
}

.price .services table th p::before {
  margin-right: 8px;
}

.price .services table th:first-child {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #f0ca00;
  font-size: 20px;
}

.price .services table th:first-child p::before {
  content: url('../pictures/setting.svg');
  margin-right: 16px;
}

.price .services table th:nth-child(2) p::before {
  content: url('../pictures/calendar.svg');
}

.price .services table th:nth-child(3) p::before {
  content: url('../pictures/shield-tick.svg');
}

.price .services table th:nth-child(4) p::before {
  content: url('../pictures/tag-2.svg');
}

.price .services table th,
.price .services table td {
  padding: 12px 28px;
}

.price .services table th:first-child,
.price .services table td:first-child {
  width: 50%;
}

.price .services table th:not(:first-child),
.price .services table td:not(:first-child) {
  width: 16.6667%;
}

.price .services table tr:nth-child(2n + 1) {
  background-color: rgba(64, 64, 64, 0.1019607843);
}

.price .services-mobile {
  display: none;
}

.price .services .button,
.price .services-mobile .button {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  padding: 30px 60px;
  color: #000;
  background-color: #fff;
  border-radius: 50px;
  border: 3px solid #f0ca00;
  transition: 0.3s;
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 20px;
  color: #000;
  padding: 15px 30px;
  display: block;
  margin: 0 auto;
}

.price .services .button:hover,
.price .services-mobile .button:hover {
  transform: scale(1.01);
}

.price .services .button:hover::after,
.price .services-mobile .button:hover::after {
  transform: scale(1.01) rotateZ(90deg);
}

@media (max-width: 1280px) {
  .price .services .button,
  .price .services-mobile .button {
    padding: 15px 30px;
    font-size: 20px;
  }
}

@media (max-width: 430px) {
  .price .services .button,
  .price .services-mobile .button {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  .price .services .button,
  .price .services-mobile .button {
    padding: 15px;
  }
}

@media (max-width: 400px) {
  .price .services .button,
  .price .services-mobile .button {
    font-size: 16px;
  }
}

@media (max-width: 1150px) {
  .price .title-container .subtitle {
    font-size: 22px;
  }

  .price .services table tr th:first-child,
  .price .services table tr td:first-child {
    width: 40%;
  }

  .price .services table tr th:not(:first-child),
  .price .services table tr td:not(:first-child) {
    width: 20%;
  }
}

@media (max-width: 1000px) {
  .price .title-container {
    row-gap: 20px;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .price .services table tr th:first-child,
  .price .services table tr td:first-child {
    width: 40%;
  }

  .price .services table tr th:not(:first-child),
  .price .services table tr td:not(:first-child) {
    width: 30%;
  }

  .price .services table tr th:nth-child(2),
  .price .services table tr td:nth-child(2),
  .price .services table tr th:nth-child(4),
  .price .services table tr td:nth-child(4) {
    width: 15%;
  }
}

@media (max-width: 900px) {
  .price .title-container {
    row-gap: 20px;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .price .services table tr th,
  .price .services table tr td {
    padding: 10px 15px;
  }
}

@media (max-width: 800px) {
  .price .title-container .title {
    font-size: 36px;
  }

  .price .title-container .subtitle {
    font-size: 20px;
  }
}

@media (max-width: 660px) {
  .price .title-container {
    row-gap: 20px;
    flex-direction: column;
    margin-bottom: 40px;
  }

  .price .services table tr th,
  .price .services table tr td {
    font-size: 14px;
  }
}

@media (max-width: 570px) {
  .price {
    padding: 0;
  }

  .price .title-container {
    padding: 20px 40px;
    margin-bottom: 0;
  }

  .price .title-container .title {
    font-size: 28px;
  }

  .price .title-container .subtitle {
    font-size: 18px;
  }

  .price .services {
    display: none;
  }

  .price .services-mobile {
    display: block;
    padding-bottom: 20px;
  }

  .price .services-mobile .list {
    list-style: none;
  }

  .price .services-mobile .list p {
    font-family: 'Istok Web';
    font-weight: 400;
    font-size: 16px;
    color: #000;
    padding: 3px 40px;
    margin-left: 40px;
  }

  .price .services-mobile .list p:nth-child(1) {
    font-family: 'Istok Web';
    font-weight: 400;
    font-size: 16px;
    color: #f0ca00;
    position: relative;
    display: flex;
    background-color: #212121;
    align-items: center;
    padding: 10px 40px;
    margin: 0;
  }

  .price .services-mobile .list p:nth-child(1)::before {
    content: url('../pictures/setting.svg');
    margin-right: 15px;
  }

  .price .services-mobile .list p:nth-child(2) {
    padding-top: 10px;
  }

  .price .services-mobile .list p:last-child {
    font-weight: 700;
    padding-bottom: 20px;
  }
}

@media (max-width: 500px) {
  .price .title-container {
    padding: 15px 30px;
  }

  .price .title-container .title {
    font-size: 26px;
  }

  .price .title-container .subtitle {
    font-size: 16px;
  }

  .price .title-container .subtitle::before {
    width: 60px;
    height: 60px;
    padding: 10px;
  }

  .price .services-mobile {
    padding-bottom: 15px;
  }

  .price .services-mobile .list p {
    padding: 3px 30px;
    margin-left: 30px;
  }

  .price .services-mobile .list p:nth-child(1) {
    font-family: 'Istok Web';
    font-weight: 400;
    font-size: 16px;
    color: #f0ca00;
    padding: 10px 30px;
  }

  .price .services-mobile .list p:nth-child(1)::before {
    margin-right: 15px;
  }

  .price .services-mobile .list p:nth-child(2) {
    padding-top: 10px;
  }

  .price .services-mobile .list p:last-child {
    padding-bottom: 15px;
  }
}

.apply-for-appointment {
  background-color: #f0ca00;
}

.process {
  background-color: #212121;
  padding-bottom: 95px;
}

.process .mobile {
  display: none;
}

.process .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #fff;
  font-size: 50px;
  margin-bottom: 130px;
}

.process .content {
  display: flex;
  justify-content: space-between;
}

.process .content .item {
  counter-increment: item;
  display: flex;
  align-items: center;
  flex-direction: column;
  flex: 1;
  position: relative;
}

.process .content .item::before {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 50px;
  content: counter(item);
  position: absolute;
  background-color: #f0ca00;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process .content .item:not(:last-child)::after {
  content: url('../pictures/arrow-yellow.svg');
  z-index: 3;
  color: #f0ca00;
  position: absolute;
  right: -6%;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
}

.process .content .item:nth-child(2n + 1)::before {
  bottom: -15px;
}

.process .content .item:nth-child(2n + 1) .text {
  top: -105%;
}

.process .content .item:nth-child(2n)::before {
  top: -15px;
}

.process .content .item:nth-child(2n)::after {
  transform: rotateZ(90deg);
  top: 30%;
}

.process .content .item:nth-child(2n) .text {
  bottom: -15px;
}

.process .content .item:nth-child(2n) img {
  margin-bottom: 12px;
}

.process .content .item .text {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  position: absolute;
  text-align: center;
  left: 50%;
  width: 100%;
  transform: translateX(-50%);
  height: 100%;
  display: flex;
  flex-direction: column-reverse;
}

.process .content .item img {
  border-radius: 50%;
}

@media (min-width: 1921px) {
  .process .content .item:not(:last-child)::after {
    right: -5%;
  }
}

@media (max-width: 1400px) {
  .process {
    padding-bottom: 110px;
  }

  .process .content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 65px;
  }

  .process .content .item:nth-child(2n + 1)::before,
  .process .content .item:nth-child(2n)::before {
    top: auto;
    bottom: -15px;
  }

  .process .content .item:nth-child(2n + 1) .text,
  .process .content .item:nth-child(2n) .text {
    top: auto;
    bottom: -40px;
  }

  .process .content .item:nth-child(3) .text {
    bottom: -58px;
  }

  .process .content .item:nth-child(3)::after {
    content: none;
  }
}

@media (max-width: 1000px) {
  .process .title {
    margin-bottom: 70px;
  }

  .process .content {
    grid-template-columns: 1fr 1fr;
    row-gap: 70px;
  }

  .process .content .item:nth-child(2)::after,
  .process .content .item:nth-child(4)::after {
    content: none;
  }

  .process .content .item:nth-child(3) .text {
    bottom: -58px;
  }

  .process .content .item:nth-child(3)::after {
    content: url('../pictures/arrow-yellow.svg');
  }
}

@media (max-width: 800px) {
  .process .title {
    font-size: 36px;
  }
}

@media (max-width: 650px) {
  .process {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .process .desktop {
    display: none;
  }

  .process .mobile {
    display: block;
  }

  .process .mobile .content {
    display: flex;
  }

  .process .title {
    text-align: center;
    margin-bottom: 60px;
  }

  .process .carousel .carousel-item img {
    width: 80%;
    height: 80%;
  }

  .process .carousel-inner {
    justify-content: center;
  }

  .process .carousel-inner .item {
    width: 200px;
    margin: 0 auto;
    margin-bottom: 80px;
  }

  .process .carousel-inner .item:nth-child(1)::after,
  .process .carousel-inner .item:nth-child(2)::after,
  .process .carousel-inner .item:nth-child(3)::after,
  .process .carousel-inner .item:nth-child(4)::after,
  .process .carousel-inner .item:nth-child(5)::after,
  .process .carousel-inner .item:nth-child(6)::after,
  .process .carousel-inner .item:nth-child(7)::after,
  .process .carousel-inner .item:nth-child(8)::after {
    content: none;
  }

  .process .carousel-inner .item:nth-child(1)::before {
    content: '1';
  }

  .process .carousel-inner .item:nth-child(2)::before {
    content: '2';
  }

  .process .carousel-inner .item:nth-child(3)::before {
    content: '3';
  }

  .process .carousel-inner .item:nth-child(4)::before {
    content: '4';
  }

  .process .carousel-inner .item:nth-child(7)::before {
    content: '7';
  }

  .process .carousel-inner .item:nth-child(6)::before {
    content: '6';
  }

  .process .carousel-inner .item:nth-child(5)::before {
    content: '5';
  }

  .process .carousel-inner .item:nth-child(5) .text {
    bottom: -60px;
  }
}

@media (max-width: 500px) {
  .process .title {
    margin-bottom: 30px;
    font-size: 26px;
  }
}

.service {
  padding-bottom: 70px;
}

.service .service-inner {
  display: flex;
  padding-top: 0;
}

.service .service-inner .title,
.service .service-inner .subtitle {
  flex: 1;
}

.service .service-inner .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 50px;
  text-transform: uppercase;
}

.service .service-inner .subtitle {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 24px;
  color: #000;
  position: relative;
  display: flex;
  align-items: center;
}

.service .service-inner .subtitle::before {
  content: url('../pictures/service.svg');
  margin-right: 20px;
  background-color: #f0ca00;
  padding: 14px;
  width: 75px;
  border-radius: 50%;
}

.service .service-inner .subtitle strong {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #000;
  font-size: 24px;
}

@media (max-width: 1280px) {
  .service .service-inner {
    row-gap: 30px;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .service .service-inner {
    padding-top: 30px;
  }

  .service .service-inner .title {
    font-size: 36px;
  }
}

@media (max-width: 700px) {
  .service .service-inner .subtitle {
    font-size: 20px;
  }

  .service .service-inner .subtitle strong {
    font-size: 20px;
  }
}

@media (max-width: 500px) {
  .service .service-inner .title {
    font-size: 26px;
  }

  .service .service-inner .subtitle {
    font-size: 16px;
  }

  .service .service-inner .subtitle strong {
    font-size: 16px;
  }

  .carousel .carousel-item {
    height: 340px;
  }
}

.clients {
  padding-top: 90px;
}

.clients .list {
  position: relative;
}

.clients .list .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 40px;
  position: absolute;
  background-color: #fff;
  width: 50%;
  right: 0;
  padding: 15px 25px;
  z-index: 1;
}

.clients .list .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  -moz-column-gap: 75px;
  column-gap: 75px;
  position: relative;
}

.clients .list .item .name {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #000;
  font-size: 24px;
  text-transform: uppercase;
  position: absolute;
  background-color: #f0ca00;
  padding: 24px;
  width: 300px;
  bottom: -30px;
  right: 67%;
  z-index: 1;
}

.clients .list .item img {
  flex: 1;
}

.clients .list .item .description {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 24px;
  color: #000;
  display: block;
  width: 400px;
  position: relative;
  flex: 1;
}

.clients .list .item .description::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  background-color: #f0ca00;
  height: 98%;
}

.clients .list .item:last-child {
  top: -100px;
}

.clients .list .item:last-child .name {
  right: 42%;
  bottom: 25%;
  width: -moz-fit-content;
  width: fit-content;
  padding: 40px;
}

.clients .list .item:last-child .description {
  order: -1;
  padding-left: 30px;
}

.clients .list .item:last-child .description::before {
  content: none;
}

@media (max-width: 1750px) {
  .clients .list .item:last-child .name {
    bottom: 5%;
  }
}

@media (max-width: 1400px) {
  .clients .list .item {
    display: flex;
  }

  .clients .list .item:last-child .name {
    bottom: 5%;
  }
}

@media (max-width: 1000px) {
  .clients {
    padding-top: 40px;
  }

  .clients .list .title {
    position: relative;
  }

  .clients .list .item {
    display: grid;
  }

  .clients .list .item img {
    width: 110%;
  }

  .clients .list .item:last-child {
    top: 0;
  }

  .clients .list .item:last-child .name {
    right: 10%;
    bottom: 5%;
  }
}

@media (max-width: 900px) {
  .clients {
    padding-top: 40px;
  }

  .clients .list {
    display: grid;
    row-gap: 20px;
  }

  .clients .list .title {
    margin-bottom: 20px;
  }

  .clients .list .item {
    display: grid;
  }

  .clients .list .item img {
    width: 110%;
  }

  .clients .list .item .name {
    padding: 10px;
    font-size: 19px;
    width: 150px;
    right: auto;
    bottom: 5%;
    left: 0;
  }

  .clients .list .item .description {
    font-size: 19px;
    order: 1;
  }

  .clients .list .item:last-child {
    top: 0;
  }

  .clients .list .item:last-child .name {
    right: auto;
    bottom: 5%;
    left: 0;
    padding: 8px;
  }

  .clients .list .item:last-child .description {
    font-size: 19px;
    order: 1;
    padding-left: 0;
  }

  .clients .list .item:last-child .description::before {
    content: '';
  }
}

@media (max-width: 780px) {
  .clients .list .item {
    display: flex;
    flex-direction: column;
  }

  .clients .list .item img {
    width: 100%;
    margin-bottom: 25px;
  }

  .clients .list .item .name {
    bottom: auto;
    top: 15%;
  }

  .clients .list .item:last-child .name {
    bottom: auto;
    top: 15%;
  }
}

@media (max-width: 500px) {
  .clients .list .title {
    width: 100%;
    font-size: 26px;
    margin-bottom: 0;
  }

  .clients .list .item .description {
    width: 100%;
  }

  .clients .list .item:last-child .description {
    width: 100%;
  }
}

/*
.partner {
    padding-bottom: 0;
}

.partner .content {
    position: relative;
    display: grid;
    grid-template-areas: 'bg1 .' 'bg1 palfinger' 'bg1 bg2' '. bg2';
    grid-template-rows: 2fr 1fr 3fr 3fr;
}

.partner .content .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #000;
    font-size: 50px;
    position: absolute;
    z-index: 4;
    right: 0;
    text-transform: uppercase;
    width: 82%;
    background-color: #fff;
    padding: 50px 40px;
}

.partner .content .image:nth-child(4) {
    position: relative;
    z-index: 3;
    left: -1%;
    grid-area: bg2;
}

.partner .content .image:nth-child(3) {
    margin: 0 auto;
    grid-area: palfinger;
}

.partner .content .image:nth-child(2) {
    position: relative;
    right: -5%;
    grid-area: bg1;
}

.partner .content .apply-for-appointment-form {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    width: 540px;
    padding: 40px 30px;
    position: absolute;
    bottom: 18%;
    left: 10%;
    z-index: 5;
    background-color: #f0ca00;
}

.partner .content .apply-for-appointment-form input {
    text-align: center;
}

.partner .content .apply-for-appointment-form .button,
.partner .content .apply-for-appointment-form input {
    width: 330px;
}

.partner .content .apply-for-appointment-form .form-title {
    width: -webkit-fill-available;
    text-align: center;
}

@media (min-width: 1921px) {
    .partner .content .image:nth-child(2) {
        right: -20%;
    }
}

@media (max-width: 1750px) {
    .partner {
        overflow: hidden;
    }

    .partner .content .title {
        font-family: 'Days One';
        font-weight: 400;
        color: #000;
        font-size: 40px;
    }
}

@media (max-width: 1600px) {
    .partner .content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .partner .content .title {
        top: 0;
    }
    .partner .content .image:nth-child(2) {
        right: 0;
        margin-bottom: 120px;
    }
    .partner .content .image:nth-child(3) {
        position: absolute;
        z-index: 11;
        top: 180px;
        right: 0;
    }

    .partner .content .image:nth-child(4) {
        top: 275px;
        right: 0;
        position: absolute;
        left: unset;
    }

    .partner .content .apply-for-appointment-form {
        right: 5%;
        left: 60px;
        bottom: 0;
    }
}
@media (max-width: 1200px) {
    .partner .content .image:nth-child(4) {
        width: 60%;
        top: 305px;
    }
    .partner .content .image:nth-child(3) {
        top: 220px;
    }
}
@media (max-width: 1000px) {
    .partner .content .title {
        width: 100%;
    }

    
    .partner .content .image:nth-child(3) {
        top: 40%;
    }
}

@media (max-width: 800px) {
    .partner .content .title {
        font-size: 36px;
    }

    .partner .content .image:nth-child(3) {
        top: 208px;
    }

    .partner .content .apply-for-appointment-form {
        row-gap: 22px;
        width: auto;
        padding: 30px 20px;
    }
    .partner .content .image:nth-child(2) {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .partner .content .title {
        width: 100%;
        font-size: 24px;
        padding: 15px;
    }
    .phone_block {
        margin-bottom: 10px;
    }

    .partner .content .image {
        width: 90%;
    }

    .partner .content .image:nth-child(3) {
        top: 126px;
        right: -8%;
        width: 60%;
    }

    .partner .content .apply-for-appointment-form {
        row-gap: 15px;
        width: 100%;
        padding: 30px 20px;
        right: auto;
        left: auto;
    }
    .partner .content .image:nth-child(4) {
        top: 30%;
    }
}

@media (max-width: 400px) {
    .partner .content .title {
        font-size: 20px;
    }

    .partner .content .image:nth-child(3) {
        top: 21%;
          right: -9%;
    }
}
*/

.partner {
  padding-bottom: 0;
}

.partner .content {
  position: relative;
  display: grid;
  grid-template-areas: 'bg1 .' 'bg1 palfinger' 'bg1 bg2' '. bg2';
  grid-template-rows: 2fr 1fr 3fr 3fr;
}

.partner .content .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 50px;
  position: absolute;
  z-index: 4;
  right: 0;
  text-transform: uppercase;
  width: 82%;
  background-color: #fff;
  padding: 30px 40px;
}

.partner .content .image:nth-child(4) {
  position: relative;
  z-index: 3;
  left: -1%;
  grid-area: bg2;
}

.partner .content .image:nth-child(3) {
  margin: 0 auto;
  grid-area: palfinger;
}

.partner .content .image:nth-child(2) {
  position: relative;
  right: 15%;
  /* grid-area: bg1; */
  top: 320px;
  /* bottom: -40%; */
}

.partner .content .apply-for-appointment-form {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  width: 540px;
  padding: 40px 30px;
  position: relative;
  bottom: 18%;
  left: 10%;
  z-index: 5;
  background-color: #f0ca00;
  top: -270px;
}

.partner .content .apply-for-appointment-form input {
  text-align: center;
}

.partner .content .apply-for-appointment-form .button,
.partner .content .apply-for-appointment-form input {
  width: 330px;
}

.partner .content .apply-for-appointment-form .form-title {
  width: -webkit-fill-available;
  text-align: center;
}

section#partner .row {
  display: flex;
  position: relative;
  align-items: flex-start;
}

section#partner .container.content {
  display: block;
  padding: 0px;
  max-width: 1170px;
}

section#partner .col-lg-8 {
  /* max-width: 50%; */
  height: 870px;
}

section#partner .col-lg-4 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  position: relative;
}

section#partner {
  padding-bottom: 90px;
}

.partner .content .col-lg-4 .image:nth-child(1) {
  position: absolute;
  width: max-content;
  margin: 0 auto;
  margin-top: 10%;
  top: 130px;
  left: 6%;
  /* bottom: 20px; */
}

@media (min-width: 1921px) {
  /*/  .partner .content .image:nth-child(2) {
    right: -20%;
  }*/
  .partner .content .title {
    min-width: 940px;
    left: 18%;
    right: unset;
  }
}

@media (max-width: 1750px) {
  .partner {
    overflow: hidden;
  }

  .partner .content .title {
    font-family: 'Days One';
    font-weight: 400;
    color: #000;
    font-size: 40px;
  }
}

@media (max-width: 1600px) {
  .partner .content {
    /* display:flex; */ /* justify-content: center; */ /* align-items: center; */
  }

  .partner .content .title {
    top: 0;
  }

  .partner .content .image:nth-child(3) {
    /* position: absolute; */
    /* z-index: 11; */
    /* top: 36%; */
    /* right: 5%; */
  }

  .partner .content .image:nth-child(4) {
    /* z-index: -1; */
    /* left: -10%; */
  }

  .partner .content .apply-for-appointment-form {
    right: 0;
    left: 14px;
    bottom: 120px;
    /* position: absolute; */
  }
}

@media (max-width: 1200px) {
  .partner .content {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .partner .content .col-lg-4 .image:nth-child(1) {
    position: absolute;
    width: max-content;
    margin: 0 auto;
    left: unset;
    right: 0;
    top: 180px;
    z-index: 3;
    /* bottom: 20px; */
  }
  .partner .content .image:nth-child(2) {
    top: 270px;
    bottom: unset;
    z-index: 2;
  }
}

@media (max-width: 1000px) {
  .partner .content .title {
    width: 100%;
  }
}

@media (max-width: 800px) {
  .partner .content .title {
    font-size: 36px;
  }

  .partner .content .image:nth-child(3) {
    top: 40%;
  }

  .partner .content .apply-for-appointment-form {
    row-gap: 22px;
    width: auto;
    padding: 30px 20px;
  }
}

@media (max-width: 500px) {
  .partner .content .title {
    width: 100%;
    font-size: 24px;
    padding: 15px;
  }

  .phone_block {
    margin-bottom: 10px;
  }

  .partner .content .image {
    width: 100%;
  }

  .partner .content .image:nth-child(3) {
    top: 20%;
    right: -8%;
    width: 50%;
  }

  .partner .content .apply-for-appointment-form {
    row-gap: 15px;
    width: auto;
    padding: 30px 20px;
    right: auto;
    left: auto;
    bottom: 0%;
  }
}

@media (max-width: 400px) {
  .partner .content .title {
    font-size: 20px;
  }

  .partner .content .image:nth-child(3) {
    top: 21%;
    right: -9%;
  }
}

.location {
  overflow: hidden;
}

.location .content {
  background-color: #212121;
}

.location .container {
  padding-bottom: 0;
}

.location .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #f0ca00;
  font-size: 50px;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.location .subtitle {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 24px;
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
}

.location .subtitle::before {
  content: url('../pictures/location.svg');
  margin-right: 5px;
}

.location .pictures {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.location .pictures iframe,
.location .pictures img {
  position: relative;
}

.location .pictures img {
  bottom: -50px;
  width: 100%;
}

.location .pictures iframe {
  bottom: -30px;
  width: 105%;
  height: 110%;
}

.location .apply-for-appointment-form {
  background-image: url('../pictures/bg8.webp');
  background-position: bottom;
  padding-top: 200px;
  padding-bottom: 200px;
}

.location .apply-for-appointment-form .form-title {
  color: #f0ca00;
}

.location .apply-for-appointment-form .button {
  color: #000;
  background: #f0ca00;
}

@media (max-width: 900px) {
  .location .apply-for-appointment-form {
    grid-template-columns: auto;
    grid-template-areas: 'title title' 'input button';
    padding: 100px;
    row-gap: 30px;
  }

  .location .apply-for-appointment-form .form-title {
    grid-area: title;
  }

  .location .apply-for-appointment-form .phone-input {
    grid-area: input;
  }

  .location .apply-for-appointment-form .button {
    grid-area: button;
  }
}

@media (max-width: 800px) {
  .location .content .title {
    font-size: 36px;
  }

  .location .pictures img:nth-child(2) {
    left: 0;
  }
}

@media (max-width: 550px) {
  .location .apply-for-appointment-form {
    grid-template-areas: 'title' 'input' 'button';
  }

  .location .apply-for-appointment-form .phone-input,
  .location .apply-for-appointment-form .button,
  .location .apply-for-appointment-form .form-title {
    margin: 0 auto;
    width: 100%;
    text-align: center;
  }
  .apply-for-appointment-form .form-title {
    font-size: 22px;
  }
}

@media (max-width: 500px) {
  .location .content .title {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .location .content .subtitle {
    font-size: 18px;
  }

  .location .apply-for-appointment-form {
    padding: 80px 60px 60px 60px;
  }
  .location .pictures {
    display: flex;
    margin-top: 15px;
  }

  .location .pictures iframe {
    bottom: -0;
    width: 100%;
    height: 100%;
  }
}

.contacts .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 50px;
  text-transform: uppercase;
  margin-bottom: 70px;
}

.contacts .container {
  padding-top: 0;
}

.contacts .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 0 60px;
  row-gap: 40px;
}

.contacts .list .item {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 24px;
  color: #000;
  display: flex;
  align-items: center;
  list-style: none;
}

.contacts .list .item::before {
  margin-right: 15px;
  background-color: #f0ca00;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 15px;
  padding-left: 18px;
  padding-top: 18px;
}

.contacts .list .item:first-child {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 36px;
  color: #000;
  position: relative;
}

.contacts .list .item:first-child a {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 36px;
  color: #000;
}

.contacts .list .item:first-child::before {
  padding-top: 15px;
  content: url('../pictures/contacts1.svg');
}

.contacts .list .item:nth-child(2)::before {
  content: url('../pictures/contacts2.svg');
}

.contacts .list .item:nth-child(3)::before {
  content: url('../pictures/clock.svg');
}

.contacts .list .item:nth-child(4)::before {
  content: url('../pictures/gps.svg');
}

.contacts .list .item:nth-child(5)::before {
  content: url('../pictures/mail.svg');
}

.contacts .map iframe {
  width: 100%;
}
.item.description_mobile {
  display: none !important;
}
@media (max-width: 1600px) {
  .contacts {
    padding-top: 30px;
  }
}

@media (max-width: 1150px) {
  .contacts {
    padding-top: 30px;
  }

  .contacts .list {
    justify-content: space-between;
    padding: 0;
  }

  .contacts .list .item:first-child,
  .contacts .list .item {
    font-size: 24px;
  }

  .contacts .list .item:first-child a,
  .contacts .list .item a {
    font-size: 24px;
  }
}

@media (max-width: 800px) {
  .contacts {
    padding-top: 30px;
  }

  .contacts .title {
    font-size: 36px;
    margin-bottom: 40px;
  }

  .contacts .list {
    justify-content: space-between;
    padding: 0;
    grid-template-columns: repeat(1, 1fr);
    row-gap: 20px;
  }

  .contacts .list .item:first-child,
  .contacts .list .item {
    font-size: 20px;
  }

  .contacts .list .item:first-child a,
  .contacts .list .item a {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .contacts .map iframe {
    height: 300px;
  }
}

@media (max-width: 500px) {
  .contacts .title {
    font-size: 26px;
    margin-bottom: 30px;
  }

  .contacts .list {
    row-gap: 15px;
  }

  .contacts .list .item:first-child,
  .contacts .list .item {
    font-size: 18px;
  }

  .contacts .list .item:first-child a,
  .contacts .list .item a {
    font-size: 18px;
  }
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
}

.footer .region-promo,
.footer p {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 18px;
  color: #000;
}

.footer a {
  color: #5a5a5a;
}

.footer a:focus,
.footer a:visited,
.footer a:active {
  color: #5a5a5a;
}

.footer .region-promo {
  display: flex;
  align-items: top;
  text-decoration: none;
}

.footer .region-promo:focus,
.footer .region-promo:visited,
.footer .region-promo:active {
  color: #000;
}

.footer .region-promo::before {
  content: url('../pictures/region-promo.svg');
  margin-right: 10px;
}

@media (max-width: 1000px) {
  .footer {
    grid-template-columns: 1fr;
    row-gap: 15px;
  }
}

@media (max-width: 600px) {
  .footer p {
    font-size: 16px;
  }
}

@media (max-width: 500px) {
  .footer p {
    font-size: 14px;
  }
}
@media (max-width: 991px) {
  section#partner .row {
    display: flex;
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }
  .main .subtitle-container .subtitle {
    width: 100%;
    margin-bottom: 50px;
  }

  .free-diagnostic-wrapper {
    width: 100%;
  }

  .main .subtitle-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .clients .list .title {
    order: 0;
  }
  .clients .list .item.description_mobile {
    display: block !important;
    order: 2 !important;
  }

  .clients .list .item:nth-child(3) {
    order: 3;
    /* padding-top: 10px; */
  }

  .clients .list .item:nth-child(4) {
    order: 2;
  }
  .clients .list .item:nth-child(4) img {
    margin-bottom: 5px;
  }
  .clients .list .item:nth-child(3) p.description {
    display: none;
  }

  .clients .list .item.description_mobile {
    display: block !important;
    order: 2 !important;
  }

  section#partner .col-lg-8 {
    /* max-width: 50%; */
    height: 700px;
    order: 2;
    margin-top: -50px;
  }

  .partner .content .col-lg-4 .image:nth-child(1) {
    position: absolute;
    width: max-content;
    margin: 0 auto;
    margin-top: 0px;
    top: 0px;
    left: 0px;
    /* bottom: 20px; */
    /* top: 200px; */
    z-index: 10;
    /* width: 230px; */
    /* height: 110px; */
    max-width: max-content;
    left: 40px;
    /* display: none; */
    /* left: unset; */
    margin: 0 auto;
    top: 40px;
  }

  .partner .content .image:nth-child(2) {
    position: relative;
    right: 15%;
    /* grid-area: bg1; */
    top: 320px;
    /* bottom: -40%; */
    display: none;
  }

  .partner .content .image:nth-child(3) {
    top: 40%;
  }

  section#partner .col-lg-8 {
    /* max-width: 50%; */
    height: auto;
  }

  .partner .content .title {
    top: unset;
    position: relative;
  }

  section#partner .col-lg-4 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    margin-top: 10px;
  }

  section#partner .col-lg-8 img.image {
    /* max-width: 380px; */
  }

  section#partner {
    padding: 50px;
  }

  section#partner .container.content {
    display: block;
    padding: 0px;
    max-width: 540px;
  }

  .partner .content .apply-for-appointment-form {
    right: 0;
    left: 0;
    bottom: 120px;
    position: relative;
    top: 0px;
    margin: 0 auto;
    margin-top: -330px;
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  section#partner .row {
    display: flex;
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  section#partner .col-lg-8 {
    /* max-width: 50%; */
    height: 700px;
    order: 2;
    margin-top: -50px;
  }

  section#partner input.phone-input {
    max-width: 100%;
  }
  .location .pictures {
    display: flex;
    flex-direction: column;
  }

  .pictures img {
    /* display: none; */
  }

  .location .content {
    order: 2;
    padding-top: 30px;
    /* padding-bottom: 40px; */
  }

  section#location {
    display: flex;
    flex-direction: column;
  }

  .location .pictures iframe {
    bottom: 0px;
    margin-top: 30px;
    min-height: 360px;
  }

  .location .pictures img {
    bottom: 0px;
  }
  section#partner button.button {
    max-width: 100%;
  }

  .partner .content .col-lg-4 .image:nth-child(1) {
    position: absolute;
    width: 270px;
    margin: 0 auto;
    margin-top: 0px;
    top: 0px;
    left: 0px;
    /* bottom: 20px; */
    /* top: 200px; */
    z-index: 10;
    /* width: 230px; */
    /* height: 110px; */
    max-width: max-content;
    left: 20px;
    /* display: none; */
    /* left: unset; */
    margin: 0 auto;
    top: 10px;
  }

  .partner .content .image:nth-child(2) {
    position: relative;
    right: 15%;
    /* grid-area: bg1; */
    top: 320px;
    /* bottom: -40%; */
    display: none;
  }
  section#contacts li a {
    font-size: 20px;
  }
  .partner .content .image:nth-child(3) {
    top: 40%;
  }

  section#partner .col-lg-8 {
    /* max-width: 50%; */
    height: auto;
  }

  .partner .content .title {
    top: unset;
    position: relative;
    font-size: 21px;
    padding: 10px 0px;
  }

  section#partner .col-lg-4 {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    position: relative;
    margin-top: 10px;
  }

  section#partner .col-lg-8 img.image {
    max-width: 100%;
  }

  section#partner {
    padding: 40px 20px;
  }

  section#partner .container.content {
    display: block;
    padding: 0px;
    max-width: 350px;
  }

  .partner .content .apply-for-appointment-form {
    right: 0;
    left: 0px;
    bottom: 120px;
    position: relative;
    top: 0px;
    margin: 0 auto;
    margin-top: -160px;
    max-width: 320px;
  }
  .apply-for-appointment-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  section.apply-for-appointment .apply-for-appointment-form .soglasie {
    margin-top: 0 !important;
  }
}
