/* =============================================
   1. FONTS
   ============================================= */
@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');
}

/* =============================================
   2. RESET & BASE STYLES
   ============================================= */
*,
*::after,
*::before {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a.phone {
  text-decoration: none;
}

/* =============================================
   3. LAYOUT & COMMON COMPONENTS
   ============================================= */
.container {
  margin: 0 auto;
  padding: 64px 300px;
  max-width: 1920px;
}

.col-7 {
  width: calc(100% / 12 * 7);
}
.col-5 {
  width: calc(100% / 12 * 5);
}

.highlight {
  color: #f0ca00;
}

/* Owl Carousel Nav Styles */
.owl-nav button {
  border-radius: 50% !important;
}

.owl-nav button img {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 99;
}

.owl-nav button span::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%;
}

.owl-nav button.owl-prev span {
  transform: rotateZ(-45deg);
  padding: 15px;
  display: block;
}

.owl-nav button.owl-next span {
  transform: rotateZ(135deg);
  padding: 15px !important;
  display: block;
}

button.owl-prev,
button.owl-next {
  position: absolute;
  display: block;
  top: 45%;
  z-index: 2;
  color: #fff;
  text-transform: uppercase;
  padding: 9px 12px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1);
  text-shadow: 0 0.25em 0.5em rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: opacity 150ms ease, border 300ms ease-in-out;
  transform: translateY(-50%);
}

button.owl-prev {
  left: 15px;
}
button.owl-next {
  right: 15px;
}

/* Glide Carousel Styles */
.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%;
  object-fit: cover;
}

/* Popups */
#popup,
#popup-success {
  display: none;
  position: fixed;
  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);
  min-width: 300px;
  max-width: 500px;
}
#popup .personal,
#popup-success .personal {
  display: flex;
  justify-content: center;
  flex-direction: column;
  width: 100%;
  height: 100%;
  row-gap: 20px;
}
#popup .personal span,
#popup-success .personal span {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 24px;
  text-align: center;
}
#popup-success .personal span {
  justify-content: center;
  display: flex;
}
#popup .personal .soglasie span,
#popup .personal .soglasie span a {
  font-size: 1.2rem;
  font-family: 'Istok Web';
}
#popup #close-popup-btn,
#popup-success #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;
}

/* Mobile Menu */
.menu-btn {
  position: fixed;
  z-index: 9999;
  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 {
  background-color: #f0ca00;
}
.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;
}

.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.active {
  transform: translateY(0);
}
.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('/assets/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;
}

/* Buttons & Forms */
#send-request-2,
#send-request {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 24px;
  cursor: pointer;
  padding: 30px 60px;
  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::after,
#send-request::after {
  content: '';
  background-image: url('/assets/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);
}
#send-request-2:hover::after,
#send-request:hover::after {
  transform: scale(1.01) rotateZ(90deg);
}
.apply-for-appointment {
    background-color: #f0ca00;
}
.apply-for-appointment-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  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;
  background: linear-gradient(to bottom, #454545, #212121);
  border: none;
  border-radius: 50px;
  padding: 23px;
  height: 75px;
  transition: 0.3s;
}
.apply-for-appointment-form .button:hover {
  transform: scale(1.01);
}
.apply-for-appointment-form .button:hover::after {
  transform: scale(1.01) rotateZ(90deg);
}

/* =============================================
   4. SECTIONS
   ============================================= */

/* Section: Price */
section#price {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 22px;
    padding-bottom: 60px;
    line-height: 130%;
    padding-top: 40px;
}
section#price .text {
  display: flex;
  flex-wrap: wrap;
  padding: 0 15px;
}
section#price .sert {
  margin-left: 25px;
  width: calc(100% - 25px);
}
h1#pagetitle {
  font-family: 'Days One';
  font-weight: 400;
  color: #000;
  font-size: 50px;
  text-transform: uppercase;
  margin-bottom: 70px;
  line-height: 130%;
}
section#price p,
section#price ol,
section#price ul {
  margin-bottom: 15px;
}
section#price ol,
section#price ul {
  padding-left: 30px;
}
section#price ol li,
section#price ul li {
  margin-bottom: 15px;
}

/* Section: Main */
.main {
  position: relative;
  background-image: url('/assets/pictures/main-bg2.webp');
  background-size: cover;
  background-position: center right;
}
.main::after {
  content: '';
  background-color: rgba(5, 3, 3, 0.5);
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
}
.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;
  z-index: 10;
}
.main .header .logo {
  width: 150px;
  z-index: 1;
}
.main .header .phone,
.main .header .schedule,
.main .header .address {
  text-transform: uppercase;
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 15px;
  z-index: 1;
  display: flex;
  align-items: center;
}
.main .header .phone {
  font-size: 20px;
}
.main .header .phone::before {
  content: url('/assets/pictures/call.svg');
  padding-right: 4px;
}
.main .header .address::before {
  content: url('/assets/pictures/location-2.svg');
  padding-right: 4px;
  padding-top: 3px;
}
.main .header .schedule::before {
  content: url('/assets/pictures/Vector.svg');
  padding-right: 4px;
  padding-top: 3px;
}
a.email {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #fff;
  font-size: 18px;
  position: relative;
  z-index: 10;
  text-decoration: none;
  top: 5px;
}
a.email::before {
  content: url(/assets/pictures/mail2.svg);
  padding-right: 8px;
  padding-top: 10px;
  top: 4px;
  position: relative;
}
.main .title {
  font-family: 'Days One';
  font-weight: 400;
  color: #fff;
  font-size: 50px;
  text-transform: uppercase;
  margin: auto;
  padding: 65px 0 80px 0px;
}
.main .subtitle-container {
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
}
.main .subtitle-container .subtitle {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  width: 50%;
}
.free-diagnostic-wrapper {
  width: 50%;
  text-align: center;
  display: flex;
  justify-content: flex-end;
  height: 100%;
  align-items: flex-start;
}
.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;
  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;
  column-gap: 5px;
}
.main .appointment .phone::before {
  content: url('/assets/pictures/Phone.svg');
}

/* Section: Price Table */
.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: fit-content;
}
.price .title-container .subtitle::before {
  content: url('/assets/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 {
  color: #f0ca00;
}
.price .services table th:first-child p::before {
  content: url('/assets/pictures/setting.svg');
  margin-right: 16px;
}
.price .services table th:nth-child(2) p::before {
  content: url('/assets/pictures/calendar.svg');
}
.price .services table th:nth-child(3) p::before {
  content: url('/assets/pictures/shield-tick.svg');
}
.price .services table th:nth-child(4) p::before {
  content: url('/assets/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: 'Istok Web';
  font-weight: 400;
  font-size: 20px;
  color: #000;
  padding: 15px 30px;
  display: block;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 50px;
  border: 3px solid #f0ca00;
  transition: 0.3s;
  cursor: pointer;
}
.price .services .button:hover,
.price .services-mobile .button:hover {
  transform: scale(1.01);
}

/* Section: Process */
.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: attr(data-step);
  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('/assets/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%;
}

/* Section: Service */
.service {
  padding-bottom: 70px;
  padding-top: 60px;
}
section#service2 {
  padding-bottom: 40px;
  padding-top: 0px;
}
.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('/assets/pictures/service.svg');
  margin-right: 20px;
  background-color: #f0ca00;
  padding: 14px;
  width: 75px;
  border-radius: 50%;
}
#service2 .service-inner .subtitle::before {
  content: url('/assets/pictures/check-.svg');
  margin-right: 20px;
  background-color: #f0ca00;
  padding: 14px;
  width: 75px;
  height: 75px;
  border-radius: 50%;
}
.service .service-inner .subtitle strong {
  font-family: 'Istok Web';
  font-weight: 700;
  color: #000;
  font-size: 24px;
}

/* Section: Clients */
.clients {
  padding-top: 60px;
  padding-bottom: 60px;
}
.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;
}
.item.description_mobile {
  display: none !important;
}
.clients .list .item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  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 .description {
  font-family: 'Istok Web';
  font-weight: 400;
  font-size: 22px;
  color: #000;
  display: block;
  width: 400px;
  position: relative;
  flex: 1;
  left: 60px;
  top: 20px;
}
.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 .name {
  right: 42%;
  bottom: 25%;
  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;
}

/* Section: Partner */
section#partner {
  padding-bottom: 90px;
}
.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%;
  top: 320px;
}
.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 {
  height: 870px;
}
section#partner .col-lg-4 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  position: relative;
}
.partner .content .col-lg-4 .image:nth-child(1) {
  position: absolute;
  width: max-content;
  margin: 0 auto;
  margin-top: 10%;
  top: 130px;
  left: 6%;
}

/* Section: Location */
.location {
  overflow: hidden;
}
.location .content {
  background-color: #212121;
}
.location .container {
  padding-bottom: 60px;
}
.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('/assets/pictures/location.svg');
  margin-right: 5px;
}
.location .pictures {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.location .pictures iframe,
.location .pictures img {
  position: relative;
}
.location .pictures img {
  width: 100%;
}
.location .pictures iframe {
  height: 100%;
}
.location .apply-for-appointment-form {
  background-image: url('/assets/pictures/bg8.webp');
  background-position: bottom;
  padding-top: 200px;
  padding-bottom: 140px;
}
.location .apply-for-appointment-form .form-title {
  color: #f0ca00;
}
.location .apply-for-appointment-form .button {
  color: #000;
  background: #f0ca00;
}

/* Section: Contacts */
.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-size: 36px;
}
.contacts .list .item:first-child a {
  font-size: 36px;
}
.contacts .list .item:first-child::before {
  padding-top: 15px;
  content: url('/assets/pictures/contacts1.svg');
}
.contacts .list .item:nth-child(2)::before {
  content: url('/assets/pictures/contacts2.svg');
}
.contacts .list .item:nth-child(3)::before {
  content: url('/assets/pictures/clock.svg');
}
.contacts .list .item:nth-child(4)::before {
  content: url('/assets/pictures/gps.svg');
}
.contacts .list .item:nth-child(5)::before {
  content: url('/assets/pictures/mail.svg');
}
.contacts .list .item:nth-child(6)::before {
  content: url('/assets/pictures/gps.svg');
}
section#contacts li a {
  font-weight: 400;
  font-size: 24px;
  color: #000;
  display: flex;
  align-items: center;
  list-style: none;
}
.contacts .map iframe {
  width: 100%;
}

/* Section: Footer */
.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('/assets/pictures/region-promo.svg');
  margin-right: 10px;
}

.sert {
  cursor: pointer;
}

/* Base Container Adjustments */
@media (max-width: 1750px) {
  .container {
    padding: 50px 130px;
  }
}
@media (max-width: 1280px) {
  .container {
    padding: 40px 100px;
  }
}
@media (max-width: 800px) {
  .container {
    padding: 30px 60px;
  }
  .menu-btn {
    display: block;
  }
}
@media (max-width: 600px) {
  .container {
    padding: 20px 40px;
  }
}
@media (max-width: 500px) {
  .container {
    padding: 15px 30px;
  }
  .location .container {
    padding: 15px 20px;
    padding-bottom: 30px;
  }
}

/* Components Media Queries */
@media (max-width: 1280px) {
  #send-request-2,
  #send-request {
    padding: 15px 30px;
    font-size: 20px;
  }
  .apply-for-appointment-form .button {
    padding: 15px 30px;
    font-size: 20px;
  }
  .price .services .button,
  .price .services-mobile .button {
    padding: 15px 30px;
    font-size: 20px;
  }
}
@media (max-width: 430px) {
  #send-request-2,
  #send-request {
    padding: 20px;
  }
  .apply-for-appointment-form .button {
    padding: 20px;
  }
  .price .services .button,
  .price .services-mobile .button {
    padding: 20px;
  }
}
@media (max-width: 420px) {
  #send-request-2,
  #send-request {
    padding: 15px;
  }
  .apply-for-appointment-form .button {
    padding: 15px;
  }
  .price .services .button,
  .price .services-mobile .button {
    padding: 15px;
  }
}
@media (max-width: 400px) {
  #send-request-2,
  #send-request {
    font-size: 16px;
  }
  .apply-for-appointment-form .button {
    font-size: 16px;
  }
  .price .services .button,
  .price .services-mobile .button {
    font-size: 16px;
  }
}

/* Apply Form Media Queries */
@media (max-width: 1750px) {
  .apply-for-appointment-form .form-title {
    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 {
    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: flex;
    grid-template-columns: auto;
    grid-template-areas: 'title title' 'input button';
    column-gap: 15px;
    row-gap: 20px;
    flex-direction: column;
  }
  section.apply-for-appointment .apply-for-appointment-form .soglasie,
  section.location .apply-for-appointment-form .soglasie {
    margin-top: 0px !important;
  }
  .apply-for-appointment-form .form-title {
    font-size: 22px;
    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;
  }
}

/* Mobile Menu Media Queries */
@media (max-width: 800px) {
  #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 12px 15px;
    text-align: left;
    justify-content: start;
    font-size: 18px;
  }
  .mobile-menu-nav #send-request-2 {
    width: 270px;
  }
}
@media (max-width: 410px) {
  .mobile-menu-nav #send-request-2 {
    width: 230px;
  }
}

/* Section: Price Media Queries */
@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: 768px) {
  section#price .text {
    flex-direction: column;
    gap: 25px;
  }
  .col-7,
  .col-5 {
    width: 100%;
  }
  section#price .sert {
    margin: 0;
    width: 100%;
  }
  section#price {
    font-size: 18px;
  }
}
@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) {
    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('/assets/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) {
    padding: 10px 30px;
  }
  .price .services-mobile .list p:last-child {
    padding-bottom: 15px;
  }
}

/* Section: Main Media Queries */
@media (min-width: 1921px) {
  .main .appointment {
    justify-content: center;
    column-gap: 100px;
  }
  .main .subtitle-container {
    justify-content: space-around;
  }
}
@media (max-width: 1750px) {
  .main .title {
    font-size: 40px;
  }
}
@media (max-width: 1280px) {
  .main .title {
    font-size: 36px;
    padding: 35px 0 30px 0px;
  }
  .main .header .logo {
    width: 180px;
  }
  .main .header .phone,
  .main .header .schedule,
  .main .header .address,
  a.email {
    font-size: 15px;
  }
  .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: 100px;
  }
}
@media (max-width: 1000px) {
  .main .title {
    font-size: 30px;
    padding-left: 0px;
  }
  .main .appointment .plain-text {
    display: none;
  }
  .footer {
    grid-template-columns: 1fr;
    row-gap: 15px;
  }
}
@media (max-width: 900px) {
  .main .title {
    padding: 50px 0 60px 0px;
  }
  .main .header {
    column-gap: 14px;
    align-items: center;
  }
}
@media (max-width: 800px) {
  .main {
    height: auto;
    background-size: 1200px;
    background-repeat: no-repeat;
    background-position: -150px 0;
  }

  .main .main-inner {
    height: 100%;
    grid-template-rows: auto;
  }
  .main .container {
    padding: 0;
  }
  .main .header {
    padding: 30px 60px;
    justify-content: center;
    text-align: center;
    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;
    column-gap: 40px;
  }
  .main .subtitle-container .free-diagnostic-wrapper .free-diagnostic {
    width: 160px;
    height: 100px;
  }
  .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: fit-content;
    margin: 0 auto;
    grid-area: button;
  }
  .main .appointment .phone {
    grid-area: phone-num;
  }
  .soglasie span {
    margin-left: 10px;
    color: #000;
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .main {
    background-size: 1100px;
    background-position: -250px 0;
  }
  .main .title {
    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;
  }
  .footer p {
    font-size: 16px;
  }
}
@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-size: 24px;
    padding: 30px;
    margin-bottom: 0;
  }
  .main .subtitle-container {
    padding: 15px 30px;
  }
  .main .subtitle-container .free-diagnostic-wrapper {
    column-gap: 20px;
    margin-bottom: 20px;
  }
  .main .subtitle-container .subtitle {
    margin-bottom: 20px;
    width: auto;
  }
  .main .subtitle-container .subtitle > li {
    margin-left: 30px;
  }
  .footer p {
    font-size: 14px;
  }
}
@media (max-width: 431px) {
      .main {
    background-size: 1000px;
    background-position: -250px 0;
  }
  .main .main-inner {
    height: auto;
  }
  .main .header {
    padding: 20px;
    padding-bottom: 0;
  }
  .main .header .logo {
    width: 50px;
  }
  .main .title {
    font-size: 22px;
    padding: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .main .content .subtitle-container {
    padding: 10px 20px;
  }
  .main .content .subtitle-container .free-diagnostic-wrapper {
    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;
    text-align: left;
  }
  .main .appointment #send-request {
    margin-bottom: 10px;
  }
  .main .appointment #send-request::after {
    width: 40px;
    height: 40px;
  }
}
@media (max-width: 420px) {
  .main {
    background-size: auto 500px;
    background-position: -450px 0;
  }
  .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;
    text-align: left;
  }
  .main .appointment {
    padding: 20px;
  }
}

/* Section: Process Media Queries */
@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('/assets/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: auto;
    aspect-ratio: 1;
  }
  .process .carousel-inner {
    justify-content: center;
  }
  .process .carousel-inner .item {
    width: 200px;
    margin: 0 auto;
    margin-bottom: 80px;
  }

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

/* Section: Service Media Queries */
@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;
    margin-bottom: 0px !important;
  }
}

/* Section: Clients Media Queries */
@media (max-width: 1750px) {
  .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;
    padding-bottom: 0px;
  }
  .service {
    padding-bottom: 40px;
    padding-top: 20px;
  }
  .clients .list {
    display: grid;
    row-gap: 20px;
  }
  .clients .list .title {
    margin-bottom: 20px;
  }
  .clients .list .item .name {
    padding: 10px;
    font-size: 19px;
    width: 170px;
    right: auto;
    bottom: 5%;
    left: 0;
  }
  .clients .list .item .description {
    font-size: 19px;
    order: 1;
    left: 30px;
    top: 0px;
  }
  .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,
  .clients .list .item:last-child .description {
    width: 100%;
  }
  #popup,
  #popup-success {
    padding: 20px;
  }
}

/* Section: Partner Media Queries */
@media (min-width: 1921px) {
  /* .partner .content .image:nth-child(2) { right:-20%; } */
}
@media (max-width: 1750px) {
  .partner {
    overflow: hidden;
  }
  .partner .content .title {
    font-size: 40px;
  }
}
@media (max-width: 1600px) {
  .partner .content .title {
    top: 0;
  }
}
@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;
    margin-top: 10%;
    top: 180px;
    left: 6%;
  }
}
@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%;
  }
}

/* Section: Location Media Queries */
@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;
  }
}
@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;
    position: relative;
  }
}

/* Section: Contacts Media Queries */
@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 .title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  .contacts .list {
    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;
  }
}

/* Major Layout Adjustments for Tablets and Mobiles */
@media (max-width: 991px) {
  section#partner .row {
    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: 1;
  }
  .clients .list .item.description_mobile {
    display: block !important;
    order: 2 !important;
  }
  .clients .list .item:nth-child(3) {
    order: 3;
  }
  .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;
  }
  section#partner .col-lg-8 {
    height: 700px;
    order: 2;
    margin-top: -50px;
  }
  .partner .content .col-lg-4 .image:nth-child(1) {
    margin-top: 0px;
    top: 0px;
    left: 0px;
    z-index: 10;
    max-width: max-content;
    left: 40px;
    margin: 0 auto;
    top: 40px;
  }
  .partner .content .image:nth-child(2) {
    display: none;
  }
  .partner .content .image:nth-child(3) {
    top: 40%;
  }
  section#partner .col-lg-8 {
    height: auto;
  }
  .partner .content .title {
    top: unset;
    position: relative;
  }
  section#partner .col-lg-4 {
    margin-top: 10px;
  }
  section#partner {
    padding: 50px;
  }
  section#partner .container.content {
    max-width: 540px;
  }
  .partner .content .apply-for-appointment-form {
    left: 0;
    bottom: 120px;
    position: relative;
    top: 0px;
    margin: 0 auto;
    margin-top: -330px;
    max-width: 460px;
  }
}

@media (max-width: 640px) {
  section#partner input.phone-input {
    max-width: 100%;
  }
  .location .pictures {
    display: flex;
    flex-direction: column;
  }
  .location .content {
    order: 2;
    padding-top: 30px;
  }
  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) {
    width: 270px;
    left: 20px;
    top: 10px;
  }
  section#contacts li a {
    font-size: 20px;
  }
  .partner .content .title {
    font-size: 21px;
    padding: 10px 0px;
  }
  section#partner {
    padding: 40px 20px;
  }
  section#partner .container.content {
    max-width: 350px;
  }
  .partner .content .apply-for-appointment-form {
    margin-top: -160px;
    max-width: 320px;
  }
  section#partner .col-lg-8 img.image {
    max-width: 100%;
  }
}
