/*
  theme name: YANScleaning
 */
 /*
   theme name: YANScleaning
  */


 html {
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
     scroll-behavior: smooth;
 }

 *,
 *::before,
 *::after {
     margin: 0;
     padding: 0;
     -webkit-box-sizing: inherit;
     box-sizing: inherit;
 }

 :root {
     --white: #fff;
     --black: #000;
     --black-light: #333;
     --bg-header: #b8f0ff99;

     --default: #0B4A9E;
     --hover: #B8F0FF;
     --active: #073269;
 }

 @font-face {
     font-family: 'Rubik';
     src: url('fonts/Rubik-Bold.woff') format('woff');
     font-style: normal;
     font-weight: 700;
 }

 @font-face {
     font-family: 'Rubik';
     src: url('fonts/Rubik-Regular.woff') format('woff');
     font-style: normal;
     font-weight: 400;
 }

 body {
     font-family: 'Rubik', Helvetica, sans-serif;
     color: var(--black-light);
     display: flex;
     flex-direction: column;
     justify-content: space-between;
     min-height: 100vh;
     line-height: 1.2;
 }

 a {
     display: block;
     color: inherit;
     text-decoration: none;
 }

 svg {
     display: block;
 }

 img {
     max-width: 100%;
     display: block;
 }

 li {
     list-style: none;
 }

 /* Global */
 .container {
     max-width: 1440px;
     padding: 0 15px;
     margin: 0 auto;
 }

 .main {
     overflow: hidden;
 }

 .focus-visible {
     border-radius: 1px;
 }

 .focus-visible:focus-visible {
     outline: 0;
     outline: 2px solid var(--default);
     outline-offset: 4px;
 }

 .btn-reset {
     border: none;
     background-color: transparent;
     cursor: pointer;
 }

 .btn {
     padding: 12px 20px;
     border-radius: 15px;
     background-color: var(--default);
     border: 2px solid var(--default);
     color: var(--white);
     font-size: 16px;
     font-weight: 700;
     text-align: center;
     transition: color .3s, background-color .3s;
 }

 .btn:hover {
     background-color: var(--hover);
     color: var(--default);
 }

 .btn:active {
     background-color: var(--active);
     color: var(--white);
 }

 .stop-scroll {
     overflow: hidden;
 }

 .title {
     font-size: 60px;
     line-height: 1.2;
     font-weight: 700;
     text-align: center;
 }

 .section-offset {
     display: block;
     padding: 124px 0 40px;
 }

 /* header */
 .header {
     border-bottom: 4px solid var(--default);
     background-color: var(--white);
     position: absolute;
     top: 0;
     right: 0;
     left: 0;
     z-index: 11;
 }

 .header.scrolled {
     position: fixed;
     background-color: var(--bg-header);
     backdrop-filter: blur(10px);
     transition: background-color .3s;
 }

 .header__top {
     background-color: var(--default);
     padding: 6px 0;
 }

 .header.scrolled .header__top {
     display: none;
 }

 .header__inner {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 30px;
 }

 .header__phone {
     margin-right: auto;
 }

 .header__adres-link,
 .header__phone-link {
     display: flex;
     align-items: center;
     gap: 10px;
     font-size: 16px;
     color: var(--white);
     transition: color .3s;
 }

 .header__adres-link:hover,
 .header__phone-link:hover {
     color: var(--hover);
 }

 .header__adres-link:active,
 .header__phone-link:active {
     color: var(--active);
 }

 .messages {
     display: flex;
     gap: 25px;
 }

 .messages-link {
     transition: background-color .3s;
 }

 .svg,
 .header__svg {
     background-color: var(--white);
     border-radius: 10px;
     display: block;
     transition: background-color .3s;
 }

 .header__adres-link:hover .header__svg,
 .header__phone-link:hover .header__svg,
 .messages-link:hover .svg {
     background-color: var(--hover);
 }

 .header__adres-link:active .header__svg,
 .header__phone-link:active .header__svg,
 .messages-link:active .svg {
     background-color: var(--active);
 }

 .header__center {
     padding: 5px 0;
 }

 .logo {
     transform: translateY(-3px);
 }

 .logo__img {
     width: 120px;
     height: 70px;
 }

 .header .menu {
     margin-left: auto;
 }

 .menu__btn {
     display: none;
 }

 .menu__list {
     display: flex;
     gap: 30px;
 }

 .menu__item-mobile {
     display: none;
 }

 .menu__link {
     font-size: 16px;
     font-weight: 700;
 }

 .menu__link:hover {
     color: var(--default);
 }

 .menu__link:active {
     color: var(--active);
 }

 /* intro */
 .intro {
     margin-top: 124px;
 }

 .intro__inner {
     padding: 30px 0;
     display: flex;
     align-items: center;
     gap: 30px;
     height: calc(100vh - 124px);
     min-height: 656px;
     max-height: 956px;
 }

 .intro__left {
     width: calc((100% - 30px) / 12 * 7);
 }

 .intro__right {
     width: calc((100% - 30px) / 12 * 5);
 }

 .intro__title {
     font-size: 50px;
     text-align: left;
 }

 .intro__descr {
     font-size: 24px;
     margin-top: 15px;
 }

 .intro__btns {
     display: flex;
     align-items: center;
     gap: 24px;
     margin-top: 30px;
 }

 .intro__btn-white {
     background-color: transparent;
     color: var(--default);
 }

 .intro__img {
     border-radius: 30px;
 }

 /* advantages */
 .advantages__inner {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 40px;
 }

 .advantages__list {
     display: flex;
     flex-wrap: wrap;
     gap: 30px;
     justify-content: center;
 }

 .advantages__item {
     width: calc((100% - 90px) / 4);
     text-align: center;
     display: flex;
     flex-direction: column;
     gap: 20px;
     padding: 30px;
     background-color: var(--default);
     border-radius: 30px;
     color: var(--white);
 }

 .advantages__icon {
     width: 100px;
     height: 100px;
     border-radius: 50%;
     background-color: var(--hover);
     margin: 0 auto;
 }

 .advantages__item-title {
     font-size: 28px;
     padding: 0 40px;
 }

 .advantages__item-descr {
     font-size: 24px;
 }

 /* about */
 .about {
     background-color: var(--default);
     margin-top: 84px;
     padding-top: 40px;
 }

 .about__inner {
     display: flex;
     align-items: center;
     gap: 30px;
 }

 .about__left,
 .about__right {
     width: calc((100% - 30px) / 2);
 }

 .about__img {
     border-radius: 30px;
 }

 .about__right {
     color: var(--white);
     display: flex;
     flex-direction: column;
     gap: 30px;
 }

 .about__title {
     text-align: left;
 }

 .about__descr {
     font-size: 28px;
 }

 /* services */
 .services__inner {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 40px;
 }

 .services__list {
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 30px;
 }

 .services__item {
     width: calc((100% - 90px) / 4);
     padding: 10px;
     border-radius: 30px;
     background-color: var(--default);
     color: var(--white);
     display: flex;
     flex-direction: column;
     gap: 15px;
     position: relative;
 }

 .services__item-block {
     border-radius: 20px;
     overflow: hidden;
 }

 .services__item-img {
     border-radius: 20px;
     transition: transform .3s;
 }

 .services__item:hover .services__item-img {
     transform: scale(1.1);
 }

 .services__item-title {
     font-size: 24px;
     min-height: 66px;
     padding: 0 20px;
     position: relative;
 }

 .services__item-title::after {
     content: '';
     position: absolute;
     left: 3px;
     top: 50%;
     border-radius: 2px;
     transform: translateY(-50%);
     height: 0;
     opacity: 0;
     width: 4px;
     background-color: var(--white);
     transition: height .3s, opacity .3s;
 }

 .services__item:hover .services__item-title::after {
     height: 100%;
     opacity: 1;
 }

 .services__item-descr {
     font-size: 20px;
     padding: 0 20px;
 }

 .services__item-btn {
     margin: auto 10px 10px;
     background-color: var(--hover);
     color: var(--default);
     border-radius: 10px;
     padding: 15px;
     font-size: 20px;
     font-weight: 700;
     text-align: center;
     transition: color .3s, background-color .3s, margin .3s, border-radius .3s;
 }

 .services__item-btn::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     border-radius: 30px;
 }

 .services__item:hover .services__item-btn {
     background-color: var(--white);
     color: var(--default);
 }

 /* process */
 .process {
     margin-top: 84px;
     padding-top: 40px;
     background-color: var(--default);
 }

 .process__inner {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 40px;
 }

 .process__title {
     color: var(--white);
 }

 .process__list {
     list-style-type: none;
     counter-reset: my-counter;
     padding: 0;
     display: flex;
     gap: 30px;
 }

 .process__item {
     position: relative;
     width: calc((100% - 90px) / 4);
     display: flex;
     flex-direction: column;
     gap: 20px;
 }

 .process__item:nth-child(2n) {
     padding-top: 100px;
 }

 .process__item::after {
     counter-increment: my-counter;
     content: counter(my-counter);
     position: absolute;
     top: -43px;
     left: -20px;
     font-size: 150px;
     font-weight: bold;
     line-height: 1;
     font-family: 'Rubik', Helvetica, sans-serif;
     color: transparent;
     -webkit-text-stroke: 1px var(--hover);
     opacity: .5;
 }

 .process__item:nth-child(2n)::after {
     top: 57px;
 }

 .process__item-title {
     position: relative;
     z-index: 1;
     font-size: 32px;
     color: var(--white);
 }

 .process__item-descr {
     position: relative;
     z-index: 1;
     font-size: 20px;
     color: var(--white);
 }

 /* footer */
 .footer {
     padding-top: 124px;
 }

 .footer__inner {
     margin-top: 30px;
     display: flex;
     flex-wrap: wrap;
     gap: 30px;
 }

 .footer__left {
     width: calc((100% - 30px) / 2);
 }

 .footer__list {
     display: flex;
     flex-wrap: wrap;
     gap: 30px;
 }

 .footer__item {
     width: calc((100% - 30px) / 2);
     border-left: 4px solid var(--default);
     border-radius: 20px;
     padding-bottom: 20px;
     display: flex;
     position: relative;
 }

 .footer__item:last-child {
     padding: 0;
 }

 .footer__item-icon {
     width: 90px;
     height: 90px;
     border-radius: 20px;
     position: relative;
     z-index: 1;
 }

 .footer__item-content {
     padding-top: 20px;
     position: relative;
     z-index: 1;
 }

 .footer__item-title {
     font-size: 22px;
     font-weight: 700;
     color: var(--default);
 }

 .footer__item-descr {
     font-size: 18px;
     color: var(--black-light);
     margin-top: 10px;
     transition: color .3s;
 }

 .footer__item-descr::after {
     content: '';
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     border-radius: 20px;
 }

 .footer__item-descr:hover {
     color: var(--default);
 }

 .footer__item-descr:active {
     color: var(--black);
 }

 .footer__right {
     width: calc((100% - 30px) / 2);
     background-color: var(--default);
     padding: 20px;
     border-radius: 30px;
 }

 /* form {
     display: flex;
     flex-direction: column;
     gap: 20px;
 } */

.wpcf7 form .wpcf7-response-output {
    padding: 10px 15px;
    text-align: center;
    margin: 10px;
}

.wpcf7-response-output {
    border-radius: 20px;
}

.wpcf7-response-output {
    color: var(--white);
}

 .form__input-text {
     color: var(--white);
     padding-left: 3px;
     margin-bottom: 7px;
     margin-top: 10px;
 }

 .form__input {
     border-radius: 10px;
     background-color: var(--white);
     border: none;
     color: var(--default);
     width: 100%;
     padding: 16px;
     font-size: 18px;
 }

 .form__input::placeholder {
     color: var(--default);
 }

 .form__btn {
     display: block;
     font-size: 18px;
     font-weight: 700;
     padding: 16px;
     width: 50%;
     margin: 20px auto 0;
     border-radius: 20px;
     background-color: #fff;
     border: none;
     cursor: pointer;
     transition: color .3s, background-color .3s;
 }

 .form__btn:hover {
     background-color: var(--hover);
     color: var(--default);
 }

 .form__btn:active {
     background-color: var(--active);
     color: var(--white);
 }

 .footer__bottom {
     margin-top: 60px;
     background-color: var(--hover);
     padding: 10px;
 }

 .footer__bottom-inner {
     display: flex;
     justify-content: space-between;
     align-items: center;
     gap: 30px;
 }

 .footer__dev {
     text-align: right;
     font-size: 18px;
     color: var(--black-light);
 }

 .footer__dev-link {
     font-weight: 700;
     color: var(--default);
     display: inline-block;
 }

 /* popup */
 /* popup */
 .popup__bg {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100vh;
     background: rgba(0, 0, 0, 0.8);
     opacity: 0;
     pointer-events: none;
     transition: 0.5s all;
     z-index: 20;
 }

 .popup__bg.active {
     opacity: 1;
     pointer-events: all;
     transition: 0.5s all;
 }

 .popup {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%) scale(0);
     background-color: var(--default);
     padding: 50px;
     max-width: 700px;
     border-radius: 30px;
     transition: 0.5s all;
     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
     box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
 }

 .popup.active {
     transform: translate(-50%, -50%) scale(1);
     transition: 0.5s all;
 }

 .close-popup {
     width: 30px;
     height: 30px;
     position: absolute;
     top: 15px;
     right: 15px;
     display: flex;
     align-items: center;
     justify-content: center;
     cursor: pointer;
 }

 .close-popup::before,
 .close-popup::after {
     content: '';
     position: absolute;
     background-color: var(--white);
     height: 4px;
     width: 100%;
     border-radius: 2px;
     transform: rotate(45deg);
 }

 .close-popup::after {
     transform: rotate(-45deg);
 }

 @media (max-width: 1440px) {
     .footer__left {
         width: calc((100% - 30px) * .6);
     }

     .footer__right {
         width: calc((100% - 30px) * .4);
     }

     .advantages__item-title {
         font-size: 24px;
         padding: 0 20px;
     }

     .advantages__item-descr {
         font-size: 20px;
     }

     .title {
         font-size: 50px;
     }

     .intro__title {
         font-size: 42px;
     }

     .intro__descr {
         font-size: 20px;
     }

     .services__inner {
         gap: 20px;
     }

 }

 @media (max-width: 1200px) {
     .footer__left {
         width: 100%;
     }

     .footer__right {
         width: 70%;
         margin: 0 auto;
     }

     .process__item-title {
         font-size: 28px;
     }

     .process__item-descr {
         font-size: 18px;
     }

     .about__right {
         gap: 20px;
     }

     .about__title {
         font-size: 36px;
     }

     .about__descr {
         font-size: 20px;
     }

     .advantages__inner {
         gap: 20px;
     }

     .advantages__item {
         gap: 10px;
         padding: 20px;
     }

     .advantages__icon {
         width: 80px;
         height: 80px;
     }

     .advantages__item-title {
         font-size: 20px;
         padding: 0;
     }

     .advantages__item-descr {
         font-size: 16px;
     }

     .intro__inner {
         min-height: 560px;
     }

     .intro__title {
         font-size: 36px;
     }

     .intro__descr {
         font-size: 18px;
     }

     .services__item {
         width: calc((100% - 30px) / 2);
     }
 }

 @media (max-width: 992px) {
     .about__descr {
         font-size: 18px;
     }

     .advantages__list {
         flex-wrap: wrap;
     }

     .advantages__item {
         width: calc((100% - 30px) / 2);
     }

     .intro {
         margin-top: 84px;
     }

     .intro__inner {
         min-height: 465px;
     }

     .intro__title {
         font-size: 30px;
     }

     .intro__descr {
         font-size: 16px;
     }

     .header__btn {
         margin-left: auto;
     }

     .header__top {
         display: none;
     }

     .header .menu {
         order: 1;
         margin-left: 0;
     }

     .menu__btn {
         display: block;
         width: 50px;
         height: 50px;
         display: flex;
         justify-content: center;
         align-items: center;
         border: none;
         cursor: pointer;
         position: relative;
         background-color: transparent;
         z-index: 11;
     }

     .menu__btn-span {
         position: absolute;
         left: 10px;
         top: 23px;
         width: 30px;
         height: 4px;
         border-radius: 2px;
         background-color: var(--default);
         transition: transform .5s, background-color .2s;
     }

     .menu__btn::before,
     .menu__btn::after {
         content: '';
         position: absolute;
         left: 10px;
         width: 30px;
         height: 4px;
         border-radius: 2px;
         background-color: var(--default);
         transition: transform .5s, background-color .2s;
     }

     .menu__btn::before {
         top: 12px;
     }

     .menu__btn::after {
         bottom: 12px;
     }

     .menu--active .menu__btn::before {
         transform: rotate(-45deg) translate(-8px, 8px);
         background-color: #fff;
     }

     .menu--active .menu__btn::after {
         transform: rotate(-45deg) translate(8px, -8px);
         background-color: #fff;
     }

     .menu--active .menu__btn span {
         transform: rotate(45deg);
         background-color: #fff;
     }

     .menu__list {
         position: absolute;
         z-index: 10;
         top: 0px;
         left: 0;
         right: 0;
         height: 100vh;
         min-height: 600px;
         background-color: #000d;
         display: flex;
         flex-direction: column;
         gap: 20px;
         justify-content: center;
         align-items: center;
         transform-origin: top;
         transform: scale(0);
         opacity: 0;
         transition: transform .3s, opacity .4s;
     }

     .menu__link {
         color: #fff;
     }

     .menu--active .menu__list {
         transform: scale(1);
         opacity: 1;
     }

     .menu__item-mobile {
         display: block;
     }
 }

 @media (max-width: 768px) {
     .popup {
         padding: 50px 20px 20px;
     }

     .popup .form__input-text {
         font-size: 14px;
     }

     .popup .form__input {
         font-size: 16px;
         padding: 10px;
     }

     .popup .form__btn {
         font-size: 16px;
         padding: 10px 12px;
         border-radius: 10px;
     }

     .footer__item-icon {
         width: 60px;
         height: 60px;
     }

     .footer__item-content {
         padding-top: 10px;
     }

     .footer__item-title {
         font-size: 18px;
     }

     .footer__item-descr {
         font-size: 16px;
     }

     .footer .messages {
         gap: 5px;
     }

     .footer__right {
         width: 90%;
     }

     .messages-item svg {
         width: 50px;
         height: 50px;
     }

     .process__list {
         flex-wrap: wrap;
     }

     .process__item {
         width: calc((100% - 30px) / 2);
     }

     .about__inner {
         flex-direction: column;
     }

     .about__left {
         width: 80%;
     }

     .about__right {
         width: 100%;
         text-align: center;
         align-items: center;
     }

     .intro {
         margin-top: 74px;
     }

     .intro__inner {
         min-height: 370px;
     }

     .intro__title {
         font-size: 24px;
     }

     .intro__descr {
         font-size: 14px;
     }

     .intro__btns {
         flex-direction: column;
         align-items: start;
         gap: 15px;
         margin-top: 20px;
     }

     .intro__img {
         border-radius: 20px;
     }

     .btn {
         padding: 6px 10px;
         font-size: 14px;
         border-radius: 10px;
     }

     .logo__img {
         width: 102px;
         height: 60px;
     }

     .footer__dev {
         font-size: 12px;
     }
 }

 @media (max-width: 576px) {

     .footer__right,
     .footer__item {
         width: 100%;
     }

     .services__item {
         width: 100%;
     }

     .intro {
         margin-top: 74px;
     }

     .intro__inner {
         min-height: 675px;
         height: calc(100vh - 99px);
         flex-direction: column;
         position: relative;
         gap: 20px;
     }

     .intro__title {
         font-size: 32px;
     }

     .intro__descr {
         font-size: 18px;
     }

     .intro__left,
     .intro__right {
         width: 100%;
     }

     .intro__right {
         width: 300px;
         height: 300px;
         margin-left: auto;
     }

     .intro__img {
         width: 100%;
         height: 100%;
     }

     .about__inner {
         gap: 15px;
     }

     .about__title.title {
         font-size: 32px;
     }
 }

 @media (max-width: 480px) {
     .popup {
         width: 90%;
     }

     .process__list {
         gap: 50px;
     }

     .process__item {
         width: 100%;
     }

     .process__item:nth-child(2n) {
         padding: 0;
     }

     .process__item:nth-child(2n)::after {
         top: -43px;
         left: auto;
         right: -20px;
     }

     .title {
         font-size: 36px;
     }

     .advantages__item {
         width: 100%;
         border-radius: 20px;
     }

     .intro {
         margin-top: 99px;
     }

     .intro__inner {
         min-height: 675px;
         height: calc(100vh - 99px);
         flex-direction: column;
         position: relative;
         gap: 20px;
     }

     .about__left,
     .intro__right {
         width: 100%;
     }

     .intro__title {
         font-size: 24px;
     }

     .intro__descr {
         font-size: 16px;
     }

     .logo__img {
         width: 84px;
         height: 49px;
     }

     .header__center {
         padding: 5px 0 40px;
         position: relative;
     }

     .header__btn-link {
         position: absolute;
         right: 25px;
         bottom: 5px;
         width: max-content;
     }
 }
