* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

:focus,
:active {
  /*outline: none;*/
}

a:focus,
a:active {
  /* outline: none;*/
}

/* Links */

a, a:link, a:visited  {
  /* color: inherit; */
  text-decoration: none;
  /* display: inline-block; */
}

a:hover  {
  /* color: inherit; */
  text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
  display: block;
}

h1, h2, h3, h4, h5, h6, p {
  font-size: inherit;
  font-weight: inherit;
}

ul, ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

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

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button, input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #030303;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  background: #ffffff;
  font-family: "Ubuntu", sans-serif;
}

.container .tab {
  text-transform: uppercase;
  margin-bottom: 30px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: #000;
}

.container {
  width: 1440px;
  max-width: 100%;
  padding: 0 60px;
  margin: 0 auto;
}

.main {
  min-height: calc(100vh - 180px);
}

.primary-button {
  font-size: 20px;
  font-weight: 300;
  padding: 10px 24px;
  background: #234393;
  border: 2px solid #234393;
  border-radius: 6px;
  color: #fff;
  display: block;
  transition: all 0.3s;
}

.primary-button:hover {
  background: transparent;
}

.ghost-button {
  font-size: 20px;
  font-weight: 300;
  padding: 10px 24px;
  background: transparent;
  border: 2px solid #234393;
  border-radius: 6px;
  color: #fff;
  display: block;
  transition: all 0.3s;
}

.ghost-button:hover {
  background: #234393;
}

.header {
  background: #fff;
  border-bottom: 1px solid #070B35;
  position: fixed;
  z-index: 999;
  left: 0;
  right: 0;
  top: 0;
}

.header.scrolled {
  background: #EFF9FF;
}

.header__wrapper {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__wrapper .logo {
  height: 50px;
}

.header__wrapper .logo img {
  height: 100%;
}

.header .menu-list ul {
  font-size: 14px;
  font-weight: 300;
  display: flex;
  gap: 16px;
}

.header .menu-list ul li a {
  color: #070B35;
  text-transform: uppercase;
}

.header .contacts a.phone {
  color: #070B35;
  font-size: 16px;
  font-weight: 500;
}

main {
    margin-top: 74px;
}

.intro {
  padding: 150px 0;
}

.intro h1 {
  font-size: 50px;
  line-height: 60px;
  margin-bottom: 50px;
  color: #070B35;
}

.intro .form-container {
  display: flex;
  max-width: 400px;
}
.intro .phone-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
}
.intro .submit-btn {
  background-color: #082D7D;
  color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.intro .submit-btn:hover {
  background-color: #082D7D;
}

.about {
  background: #EFF9FF;
  height: max-content;
}

.about__wrapper {
  display: flex;
  padding-top: 50px;
  padding-bottom: 50px;
  flex-wrap: wrap;
}

.about__text {
  color: #070B35;
  padding-right: 100px;
  width: 60%;
}

.about.assist .about__text {
  padding-right: 0px;
  padding-left: 100px;
}

.about.assist h2 {
  width: 100%;
}


.about__text h2 {
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 30px;
}

.about__text p {
  margin-bottom: 30px;
}

.about__image {
  width: 40%;
}

.services {
  padding: 50px 0;
}

.services .tab {
  margin-bottom: 30px;
}

.services .services-list {
  width: 100%;
}

.services .services-list li a {
  display: block;
  width: 100%;
  font-size: 32px;
  line-height: 40px;
  padding: 30px 10px;
  border-top: 1px solid #070B35;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.services .services-list li a:after {
  content: '';
  background: url("../images/right-arrow-svgrepo-com.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
}

.plan {
  background: #fff;
  padding: 50px 0;
}

.plan .tab {
  margin-bottom: 30px;
}

.plan .plan-list {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.plan .plan-item {
  text-align: center;
  position: relative;
}

.plan .plan-item h3 {
  font-size: 22px;
  line-height: 28px;
  margin-bottom: 10px;
}

.plan .plan-item:after {
  content: '';
  position: absolute;
  background: url("../images/plan-arrow.svg");
  width: 40px;
  height: 20px;
  background-size: contain;
  background-repeat: no-repeat;
  top: 30px;
  right: -30px;
}

.plan .plan-item:last-child:after {
  content: none;
}

.reviews {
  background: #070B35;
  position: relative;
  color: #ffffff;
  padding: 50px 0;
}

.reviews__title {
  margin-bottom: 40px;
  color: #fff;
  font-size: 42px;
  line-height: 1.23;
  font-weight: 600;
  text-align: center;
  @media (max-width: 992px) {
    font-size: 36px;
    margin-bottom: 30px;
  }
  @media (max-width: 768px) {
    font-size: 28px;
    margin-bottom: 20px;
  }
}
.reviews__background {
  opacity: 0.25;
  height: 100%;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 0;
}
.reviews__wrapper {
  position: relative;
  z-index: 1;
}

.reviews__slider {
  width: 80%;
  margin: 0 auto;
}

.reviews .slick-dots {
  button {
    &::before {
      color: #fff;
    }
  }
  .slick-active {
    button {
      &::before {
        color: #fff;
      }
    }
  }
}

.reviews__slide {
  padding-bottom: 40px;
}

.reviews .review {
  font-size: 26px;
  line-height: 1.5;
  text-align: center;
  padding: 20px 40px;
  @media (max-width: 992px) {
    font-size: 20px;
  }
  @media (max-width: 768px) {
    font-size: 16px;
  }
}

.reviews .review p {
  margin-bottom: 25px;
  @media (max-width: 768px) {
    margin-bottom: 10px;
  }
}

.reviews .person {
  text-align: center;
}

.reviews .person-picture {
  width: 100px;
  height: 100px;
  margin: 0 auto;
  display: block;
  border-radius: 50%;
  overflow: hidden;
}

.reviews .person-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews .person-name {
  margin-top: 14px;
  margin-bottom: 5px;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}
.reviews .person-job {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 8px;
}

.reviews .tab {
  margin-bottom: 30px;
  text-transform: uppercase;
}

.appointment {
  padding: 50px 0;
  padding-bottom: 100px;
}

.appointment .tab {
  margin-bottom: 50px;
}

.appointment__wrapper .form-container {
  width: 300px;
  margin: 0 auto;
}

.appointment__wrapper .phone-input {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #030303;
  border-radius: 5px;
  padding: 10px;
}

.appointment__wrapper .submit-btn {
  width: 100%;
  background-color: #082D7D;
  color: white;
  border: none;
  padding: 10px;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.appointment__wrapper {
  text-align: center;
}

.appointment__wrapper h2 {
  max-width: 500px;
  margin: 0 auto;
  font-size: 22px;
  line-height: 26px;
  margin-bottom: 20px;
}

.footer {
  color: #070B35;
  background: #EFF9FF;
  position: relative;
  padding: 50px 0;
}

.footer__wrapper {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.footer__logo {
  height: 50px;
}

.footer__logo img {
  height: 100%;
}

.footer__wrapper .menu {
    text-transform: uppercase;
    text-align: center;
}

.footer__wrapper .menu ul li {
  margin-bottom: 10px;
}

.contacts .container {
  border-top: 1px solid #082D7D;
  padding-top: 50px;
  padding-bottom: 50px;
}

.contacts__wrapper {
  display: flex;
  align-items: flex-start;
  width: 100%;
  justify-content: space-between;
}

.contacts__wrapper .map {
    width: 40%;
}

.contacts__wrapper .social {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.contacts__wrapper .social a {
    width: 40px;
}

.contacts__wrapper h2 {
  font-weight: 700;
}

.contacts__wrapper .contacts__text {
  text-align: right;
}

.contacts__wrapper .contacts__text p {
  margin-bottom: 10px;
}

.contacts__wrapper .contacts__text a {
  font-weight: 700;
}

.burger-button, .close-button {
  display: none;
  width: 40px;
}

.burger-button.hide {
  display: none;
}

.close-button.show {
  display: block;
}

.menu-list-mob {
  height: calc(100% - 74px);
  background: #fff;
  position: fixed;
  top: 74px;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  padding: 40px;
  align-items: center;
}

.menu-list-mob ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-transform: uppercase;
  gap: 20px;
}

.menu-list-mob.show {
  transform: translateX(0);
}

.menu-list-mob .contacts {
  margin-top: auto;
}

.modal-contact {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(86, 86, 86, 0.3);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-contact.show {
  display: flex;
}

.modal-contact .close-button {
  display: block;
  height: 20px;
  width: 20px;
  position: absolute;
  right: 10px;
  top: 10px;
}


.modal-contact .close-button img {
  width: 100%;
  height: 100%;
}

.modal-contact__content {
  background: #fff;
  padding: 20px;
  padding-top: 40px;
  border-radius: 6px;
  width: 400px;
  margin-bottom: 20%;
  position: relative;
}

.modal-contact__content .wpcf7-submit {
    color: #fff;
    background: #082D7D;
    text-transform: uppercase;
}

.modal-contact__content input,
.modal-contact__content textarea {
    border: 1px solid #000;
    margin-top: 6px;
    margin-bottom: 10px;
    padding: 8px 4px;
    width: 100%;
    border-radius: 6px;
}

.service_text {
    padding: 50px 0;
}

.service_text h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  margin-bottom: 1rem;
}

.service_text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

.service_text h2 {
  font-size: 2rem;
  line-height: 1.3;
}

.service_text h3 {
  font-size: 1.75rem;
  line-height: 1.4;
}

.service_text h4 {
  font-size: 1.5rem;
  line-height: 1.5;
}

.service_text h5 {
  font-size: 1.25rem;
  line-height: 1.6;
}

.service_text h6 {
  font-size: 1rem;
  line-height: 1.7;
}

/* Стили для параграфов */
.service_text p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
}

/* Стили для списков */
.service_text ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.service_text ul li, ol li {
  margin-bottom: 0.5rem;
}

.service_text ul li {
    list-style-type: disc;
}

.service_text ol li {
    list-style-type: decimal;
}

/* Стили для ссылок */
.service_text a {
  color: #007BFF;
  text-decoration: none;
}

.service_text a:hover {
  text-decoration: underline;
}

.service_page .advantages {
    background: #082D7D;
    padding: 40px 0;
}

.service_page .advantages__list {
    background: #082D7D;
    padding: 40px 0;
    display: flex;
    flex-wrap: wrap;
}

.service_page .advantages .advantages__item {
    width: 25%;
    padding: 10px;
    color: #fff;
}

.service_page .advantages .advantages__item .name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 10px;
}


.service_page .service_image {
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service_page .service_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service_page .service_image h2 {
    position: absolute;
    font-size: 42px;
    line-height: 42px;
    color: #fff;
}

   
@media (max-width: 992px) {
  .intro h1 {
    font-size: 40px;
    line-height: 42px;
  }
  .about__wrapper {
    flex-wrap: wrap;
  }
  .about__image, .about__text {
    width: 100%;
    padding-right: 0;
  }
  .about.assist .about__image {
    order: 1;
  }
  .about.assist .about__text {
    padding-left: 0;
  }
  .service_page .advantages .advantages__item {
      width: 50%;
  }
} 

@media (max-width: 756px) {
  .contacts__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  .contacts__wrapper {
      width: 100%;
  }
  .contacts__wrapper .map {
    width: 100%;
    }
  .service_page .service_image {
      height: 300px;
  }
  .service_page .advantages .advantages__item {
     width: 100%; 
     text-align: center;
  }
  .service_page .service_image h2 {
      font-size: 24px;
      line-height: 28px;
      padding: 0 10px;
      text-align: center;
  }
  .intro {
      padding: 50px 0;
  }
  .intro__wrapper {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
  .about__text h2 {
    font-size: 24px;
    line-height: 28px;
  }
  .burger-button {
    display: block;
  }
  .header__wrapper .menu-list, .header__wrapper .contacts {
    display: none;
  }
  .container {
    padding: 0 20px !important;
  }
  .contacts .container {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .plan .plan-list {
    flex-direction: column;
    gap: 50px;
  }
  .plan .plan-item:after {
    transform: rotate(90deg);
    top: auto;
    bottom: -40px;
    right: calc(50% - 19px);
  }
  .services .services-list li a {
    font-size: 20px;
    line-height: 24px;
    padding-right: 40px;
  }
  .footer__wrapper {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }
  .modal-contact {
      width: 100%;
  }
}