/*
Theme Name: mars
Author: You
Version: 1.0
*/

* {
	padding: 0px;
	margin: 0px;
	border: none;
        scroll-behavior: smooth
}

body{
    color: #4D4D4D;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    overflow-x: hidden;

}

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

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

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

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

h1, h2, h3, h4, h5, h6{
    font-family: 'Montserrat', sans-serif;
}

h2{
    margin-bottom: 40px;
    font-weight: 600;
    font-size: 45px;
}

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

img {
	vertical-align: top;
}

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

address {
  font-style: normal;
}

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;
}

input[type='file'] {
	max-width: 100%;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
}

.blue-text{
    color: #619AC2;
}

.header{
    position: absolute;
    width: 100%;
}

.header__header-top{

}

.header__header-top{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 0;
}

.header__header-top, .header__header-top a{
    color: #FFFFFF;
    font-size: 14px;
}

.header__contacts-box{
    display: flex;
    gap:40px;
}

.form__popup{
    text-decoration: underline;
}

.header__header-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__header-bottom-left{
    display: flex;
    align-items: center;
}

.header__header-menu{
    display: flex;
    align-items: center;
}

.header__header-menu li{
    padding-left: 0;
    margin-bottom: 0;
}

.header__header-menu li a{
    padding: 20px 18px;
    font-size: 15px;
    background-color: #fff;
    border-radius: 150px;
    white-space: nowrap;
    display: block;
    color: #4D4D4D;
    transition: all ease 0.3s;
}

.header__header-menu li a:hover{
    background-color: #FF4500;
    color: #fff;
}

.hero{
    max-height: 820px;
    overflow: hidden;
}


.hero img{
    width: 100%;
}

.form__popup--button{
    border-radius: 150px;
    padding: 20px 30px;
    background-color: #FF4500;
    color: #fff;
    text-align: center;
    display: block;
    position: relative;

    transition: all ease 0.3s;
}

.form__popup--button:hover{
    background-color: #ca3600;
    color: #fff !important;
}

.teeth__label{
    cursor: pointer;
    transition: all ease 0.3s;
}
.teeth__label:hover{
    color: #fff;
    background-color: #619AC2;
}

.hero{
    position: relative;
    z-index: -1;
}

.footer-under__box-right img{
    transition: all ease 0.3s;
    cursor: pointer;
}

.footer-under__box-right img:hover{
    transform: scale(1.1);
}


.hero-second:before{
    content: "";
    width: 1500px;
    height: 310px;
    position: absolute;
    z-index: 1;
    right: calc(100% - 1100px);
    top: 17px;
    background-color: #fff;
    border-top-right-radius: 35px;
}

.hero-second{
    padding-top: 60px;
    position: relative;
    margin-top: -320px;
}

.hero-second h1{
    font-weight: 600;
    font-size:55px;
    margin-bottom: 30px;
    z-index: 99;
    position: relative;
}

.hero-second p{
    font-weight: 500;
    font-size:20px;
    z-index: 99;
    position: relative;
}

.adventages{
    padding-top: 132px;
}

.adventages__items{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.adventages__item, .faq-item{
    background-color: #EFF3F5;
    padding: 40px 35px 60px 35px;
    border-radius: 35px;
    position:relative;
        align-self: normal;
}

.adventages__item h3{
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 10px;
}

.adventages__box{
    display: flex;
    align-items: center;
    gap: 20px;
}

.adventages__item::before, .faq-item::before{
    content: "";
    /* background-image: url(img/prove.png);
    width: 40px;
    height: 40px; */
    right: 0;
    top: 0;
    position: absolute;

    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23619AC2'/%3E%3Cpath d='M26.0985 13.3982L18.6978 20.7989L15.9014 18.0026L13 20.904L15.7964 23.7004L18.6978 26.6017L21.5992 23.7004L29 16.2996L26.0985 13.3982Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    background-color: #fff;
    border-radius: 50%;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
    z-index: 1;
}

.adventages__item::after, .faq-item::after{
    content: "";
    background-color: #fff;
    width: 50px;
    height: 50px;
    border-bottom-left-radius: 33px;
    right: 0;
    top: 0;
    position: absolute;
}

.adventages__item--first{
    flex: 0 0 calc(55% - 20px);
    max-width: 530px;
}

.adventages__item--second{
    flex: 0 0 45%;
}

.adventages__items--right{
    background-color: #619AC2;
    align-self: stretch;
    padding: 40px 35px;
    border-radius: 35px;
    color: #fff;


    display: flex;
    flex-direction: column;
    justify-content: space-between;

    position: relative;
}

.adventages__items--right::before, .review__right::before{
    content: "";
    width: 212px;
    height: 212px;
    position: absolute;
    background-image: url(img/moon1.png);
    right: 0;
    top: 0;
}

.adventages__items--right h3{
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}


.mars{
    padding-top: 120px;
    position: relative;
}

.mars p{
text-align: center;
    max-width: 860px;
    width: 100%;
    margin: auto;
    margin-bottom: 15px;
}

.abs{
    position: absolute;
    position: absolute;
    right: -70px;
    bottom: -195px;
    z-index: -1;
}

.logo-mars{
    
    margin: auto;
    margin-bottom: 45px;
}
.mars__img-box{
    width: 100%;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.adventages__item--th{
    flex: 0 0 calc(33.3333333% - 15px);
}

.adventages__item--ft{
    flex: 0 0 calc(45% - 20px);
}

.adventages__items--right-sec{
    flex: 0 0 55%;
    flex-direction: row;
    align-items: center;
}

ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 12px;
}

ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 11px;
  height: 11px;
  background-image: url("data:image/svg+xml,%3Csvg width='11' height='11' viewBox='0 0 11 11' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle opacity='0.3' cx='5.5' cy='5.5' r='5.5' fill='%23619AC2'/%3E%3Ccircle cx='5.5' cy='5.5' r='2.5' fill='%23619AC2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}


.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  top: 50%;
  transform: translateY(-50%);
}

.swiper-button-prev {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' transform='matrix(-1 0 0 1 40 0)' fill='%23EFF3F5'/%3E%3Cpath d='M18.4645 20L23.3335 15.199L21.1033 13L16.2343 17.801L16.2303 17.797L14.0002 19.9961L14.0042 20L14.0002 20.0039L16.2304 22.203L16.2343 22.199L21.1033 27L23.3335 24.801L18.4645 20Z' fill='%23619AC2'/%3E%3C/svg%3E");
}

.swiper-button-next {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23619AC2'/%3E%3Cpath d='M21.869 20L17 15.199L19.2302 13L24.0992 17.801L24.1031 17.797L26.3333 19.9961L26.3293 20L26.3333 20.0039L24.1031 22.203L24.0992 22.199L19.2302 27L17 24.801L21.869 20Z' fill='white'/%3E%3C/svg%3E");
}

.swiper-button-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.title-slider{
    position: relative;
}

.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
    content: "" !important;
}
.swiper-button-next:after, .swiper-rtl .swiper-button-prev:after{
    content: "" !important;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev{
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
}
.swiper-button-prev, .swiper-rtl .swiper-button-next{
    position: relative !important;
    width: 40px !important;
    height: 40px !important;
}

.teeth{
    margin-top: 130px;
}

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

.title-navigation-box{
    display: flex;
    gap: 30px;
}

.teeth__labels{
    display: flex;
    margin: 40px 0;
}

.teeth__label{
    padding: 20px;
    background-color: #EFF3F5;
    border-radius: 150px;
}

.teeth__label.active{
    color: #fff;
    background-color: #619AC2;
}





.faq {
  font-family: 'Inter', sans-serif;
  margin: 0 auto;
  margin-top: 130px;
}

/* .faq-item {
  background: #f3f7f9;
  border-radius: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
  transition: 0.3s;
} */

.faq-header {
  cursor: pointer;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 22px;
  position: relative;
}

/* .faq-item::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 12px;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3Csvg width='28' height='28' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23619AC2'/%3E%3Cpath d='M26.0985 13.3982L18.6978 20.7989L15.9014 18.0026L13 20.904L15.7964 23.7004L18.6978 26.6017L21.5992 23.7004L29 16.2996L26.0985 13.3982Z' fill='white'/%3E%3C/svg%3E");
  background-size: cover;
  background-repeat: no-repeat;
} */

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 24px;
}

.faq-item.active .faq-content {
  max-height: fit-content;
  padding-bottom: 16px;
}

.faq-item{
    margin-bottom: 10px;
    padding-bottom: 40px;
}


.faq__box{
    display: flex;
    gap: 40px;
}

.faq__box img{
    height: fit-content;
}

.swiper-persone .swiper-slide img, .swiper-action .swiper-slide img{
    margin-bottom: 20px;
    border-radius:35px;
}


.swiper-persone .swiper-slide h3, .swiper-action h3{
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

.swiper-persone, .swiper-rewiew, .swiper-action{
   overflow: hidden; 
}
.work{
    margin-top: 130px;
}


.review__item{
    background-color: #EFF3F5;
    padding: 35px;
    border-radius: 35px;
        height: 100%;
}

.author{
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
}

.review{
    margin-top:130px;
}

.swiper-slide{
    align-self: stretch;
    height: auto !important;
}

.review__right{
    padding: 40px 35px;
    background-color: #619AC2;
    flex: 1;
    color: #fff;
    max-width: 410px;
    height: auto;
    align-self: stretch;
    border-radius: 35px;
    position: relative;
}

.review__right h3{
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
}

.review__box{
    display: flex;
    align-items: center;
    gap: 20px;
}


.swiper-rewiew{
    flex: 1;
    min-width: 0;
}

.review__right p{
    margin-bottom: 20px;
}

.mars__text{
    margin-bottom: 30px !important;
}

.mars .form__popup--button{
    width: fit-content;
    margin: auto;
}

.mars-2 .abs{
    bottom: -125px;
}

.clinic{
    margin-top: 130px;
}

.swiper-clinic{
    overflow: hidden;
}

.contacts .adventages__items{
    width: 100%;
}

.footer-under{
    margin-top: 130px;
}

.footer-under__box{
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 50px;
}

.footer-under__box-right{
    background-color: #EFF3F5;
    position: absolute;
    right: -450px;
    height: 186px;
    width: 1000px;
    border-top-left-radius: 35px;
}

.footer{
    background-color: #EFF3F5;
    padding-top: 60px;
    padding-bottom: 60px;
}

.footer h3{
    font-weight: 700;
    margin-bottom: 20px;
}

.footer ul li::before{
    background-image: none;
}

.footer ul li{
    padding-left: 0;
}

.footer__menu{
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer__menu-item .form__popup--button{
    margin-top: 25px;
}

.footer__contacts{
    display: flex;
    gap: 7px;
}

.footer__copy-box{
    display: flex;
    gap: 40px;
}

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

.footer-under__box-right img{
    position: absolute;
    left: -75px;
    bottom: -55px;
}

.header ul li::before{
    background-image: none !important;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  gap: 5px;
  z-index: 1002;
}
.burger span {
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.4s;
}

.mobile-menu{
    display: none;
}

.hero-second{
    padding-top: 60px;
    position: relative;
    margin-top: -350px;
}

.hero-second:before {
    content: "";
    width: 1500px;
    height: 350px;
    position: absolute;
    z-index: 1;
    right: calc(100% - 1100px);
    top: 0px;
    background-color: #fff;
    border-top-right-radius: 35px;
    opacity: 0.6;
}

@media (max-width: 1230px){
    .mobile-menu{
        display: block;
    }   
    .header__header-bottom .form__popup--button{
        display: none;
    }
    .footer-under__box-right img{
        display: none;
    }

    .footer-under__box-right{
        display: none;
    }

    .faq__box img{
        display: none;
    }

    .faq__left{
        width: 100%;
    }
    .hero-second:before{
        width: 0;
    }

    .hero-second img{
        display: none;
    }

    .hero-second{
        margin-top: 0;
    }

    .abs{
        display: none;
    }


    .burger {
    display: flex;
  }

  .header__header-menu {
    display: none;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 300px;
    background: white;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1001;
    padding: 140px 20px;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }

  .mobile-menu ul li {
    padding: 15px 0;
    font-size: 18px;
    border-bottom: 1px solid #eee;
  }

  .mobile-menu.active {
    right: 0;
  }

  .burger.open span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }

  .burger.open span:nth-child(2) {
    opacity: 0;
  }

  .burger.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
  }
}   

@media (max-width:1000px){
    .adventages__box{
        flex-direction: column;
    }
    .adventages__items--right{
        gap: 30px;
    }

    .adventages__items--right-sec, .adventages__item--first, .adventages__item--second, .adventages__item--th, .adventages__item--ft{
        flex: 0 0 100%;
        max-width: none;
    }

    .adventages__items--right-sec{
        flex-direction: column;
        align-items: start;
    }

    .adventages__items--right-sec .form__popup--button{
        width: 100%;
    }
    .footer__menu-item{
        margin-bottom: 40px;
    }

    .review__box{
        display: block;

    }
    .review__right{
        margin-top: 40px;
        width: 100%;
        max-width: none;
    }
    .hero-second h1{
        /* font-size: 32px; */
        text-align: center;
        font-size: clamp(26px, 4vw, 60px);
    }
    .hero-second p{
        text-align: center;
    }

    h2{
        font-size: 32px;
        text-align: center;
    }

    .teeth__labels{
        flex-direction: column;
        gap: 20px;
    }

    .footer-under__box{
        justify-content: center;
    }

    .footer__menu-bottom, .footer__copy-box{
        flex-direction: column;
        gap: 20px;
                text-align: center;
    }



}

@media (max-width: 600px){



    .faq-header{
        padding: 5px 5px;
        font-size: 14px;
    }
    .footer__menu{
        flex-direction: column;
    }

    .header__header-top{
        display: none;
    }

    .header__header-bottom{
        margin-top: 40px;
    }

    .title-navigation-box{
        justify-content: space-between;
    }

    .title-slider{
        flex-direction: column;
        gap: 20px;
    }

    .work .swiper-slide img{
        width: 100%;
    }

    .header__header-logo{
        max-width: 150px;
    }

    
}

@media (max-width: 350px ){
    .adventages__item, .faq-item{
        padding: 60px 10px 35px 15px;
    }
}


.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.popup {
  background: white;
  border-radius: 20px;
  padding: 42px;
  width: 100%;
  max-width: 600px;
  position: relative;
  animation: popup-show 0.3s ease;
}

.popup h2 {
    text-align: center;
}

@keyframes popup-show {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.popup form input {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 15px;
  border-radius: 40px;
  border: none;
  background-color: #f3f6f9;
  font-size: 16px;
  outline: none;
}

.popup form .wpcf7-submit {
  width: 100%;
  padding: 14px 16px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(to right, #ff4e00, #ec2600);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.popup .policy {
  font-size: 12px;
  margin-top: 10px;
  text-align: center;
}

.popup .policy a {
  color: #444;
  text-decoration: underline;
}

.footer__menu-item a, .footer__copy-box a{
    color: #4D4D4D;
    transition: all ease 0.3s;
}

.header__contacts-box a{
    color: #fff;
    transition: all ease 0.3s;
}

.footer__menu-item a:hover, .footer__copy-box a:hover, .header__contacts-box a:hover{
    color: #FF4500;
}

.form__popup--button.form__popup{
    color: #fff;
}

.wpcf7-submit{
    transition: all ease 0.3s;
}

.wpcf7-submit:hover{
    background-color: #dc3b00 !important;
    color: #fff !important;
}

.swiper-action p{
    margin-bottom: 10px;
}

.swiper-action .swiper-slide{
    justify-content: flex-start !important;
    gap: 20px;
}

.swiper-persone .swiper-slide, .swiper-action .swiper-slide{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clinic img{
    border-radius: 35px;
}

.popup-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}
.popup-content {
  background: white;
  padding: 30px;
  max-width: 600px;
  border-radius: 10px;
  position: relative;
}
.popup-close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}
.btn-popup {

  cursor: pointer;
}

.btn__box{
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.mars .btn__box .form__popup--button{
    margin: 0;
}

.popup-content h2{
    text-align: center;
}

.popup-content p{
    margin-bottom: 10px;
}


.popup-overlay {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.popup-content {
  background: white;
  padding: 30px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 10px;
  position: relative;
  box-sizing: border-box;
}


.faq-content ul li{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-content ul li span{
    margin-left: 30px;
    white-space: nowrap;
}

.faq-item.active .faq-header{
    margin-bottom:20px;
}

@media (max-width: 480px) {
  .popup-content {
    padding: 20px;
    font-size: 15px;
  }

  .faq-content{
    padding-left: 0;
  }

  .faq-content ul li{
    flex-direction: column;
    align-items: start;
    gap: 20px;
  }
    .faq-content ul li span{
        margin-left: 0;
        margin-bottom: 30px;
  }
}

.author img{
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.footer__contacts a svg{
    transition: all ease 0.3s;
}

.footer__contacts a:hover svg{
    transform: scale(1.1);
}

/* html body a[href^="https://dzen.ru"] {
    all: unset !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
} */


html body a[href^="https://dzen.ru"] {
    all: unset !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
    clip: auto !important;
    clip-path: none !important;
    height: auto !important;
    width: auto !important;
    overflow: visible !important;
}
