:root{
    --main-bg-color: #35363A;
    --second-bg-color: #F2EDD680;
    --third-bg-color: #ffffff;

    --main-text-color: #ffffff;
    --third-text-color: #000000;
    --four-text-color: #F5F5F5;

    --primary-color: #EAB847;
    --service-color: #D9D9D9;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Стиль затемнения */
#overlay {
    position: fixed;
    display: none; /* Скрыто по умолчанию */
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5); /* Цвет фона */
    z-index: 9; /* Указывает на слой над другими элементами */
    cursor: pointer; /* Изменение курсора */
}

/* Стиль модального окна */
.modal {
    display: none; /* Скрыто по умолчанию */
    position: fixed;
    z-index: 10; /* Слой над затемнением */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    width: fit-content; /* Можно изменить по желанию */
    min-width: 350px;
}

.modal-content, #thankYouMessage {
    transition: opacity 0.5s ease;
    z-index: 100;
}

.modal-form {
    background: rgba(217, 217, 217, 1) !important;
}

.modal-form.unvisible .form-cont {
    display: none !important;
}

.thank-message {
    display: none;
    opacity: 0;
    transition: 0.5s;
    font-size: 20px;
    text-align: center;
    font-weight: 500;
}

.thank-message-2 {

}

.thank-message.visible {
    display: block;
    opacity: 1;
}

.form-second.unvisible .form-first-header,
.form-second.unvisible .form-inputs-container,
.form-second.unvisible .form-text-small {
    display: none;
}

.calc-form.unvisible .form-page.active .form-input-header,
.calc-form.unvisible .form-page.active .form-inputs {
    display: none;
}

.calc-form.unvisible .form-page.active {
    margin: auto 0;
}

.thank-message-3.visible {
    margin: auto 0;
}

    /* Стиль кнопки закрытия */
.close {
    position: absolute;
    top: 24px;
    right: 38px;
    color: #aaa;
    float: right;
    font-size: 42px;
    font-weight: bold;
    transition: 0.25s;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.preloader-logo {
    width: 170px;
}

.header-logo{
    width: 170px;
}

.text-primary-color {
    color: var(--primary-color);
    background: none;
}

.preloader {
    position: fixed;
    height: 100%;
    width: 100%;
    background: var(--main-bg-color);
    display: flex;
    align-items: center;
    z-index: 100;
}

.preloader-logo {
    opacity: 0;
    margin: 0 auto;
    padding: 0 0 8px 0;
    position: absolute;
    left: calc(50% - 85px);
    animation: entrance 2s both;
    -webkit-animation: entrance 2s both;
    animation-delay: 0.75s;
}

.preloader-molot {
    padding-right: 55px;
    width: 110px;
    height: auto;
    margin: 0 auto;
    transform: rotate(180deg);
    -webkit-animation: rotate-tr 0.5s cubic-bezier(0.895, 0.030, 0.685, 0.220) both;
    animation: rotate-tr 0.5s cubic-bezier(0.895, 0.030, 0.685, 0.220) both;
}

.preloader {
    animation: exit-preloader 1.25s both;
    -webkit-animation: exit-preloader 1.25s both;
    -o-animation: exit-preloader 1.25s both;
    -ms-animation: exit-preloader 1.25s both;
    animation-delay: 2.5s;
}

/* ----------------------------------------------
 * Generated by Animista on 2024-2-5 14:8:40
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info.
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation rotate-tr
 * ----------------------------------------
 */
@-webkit-keyframes rotate-tr {
    0% {
        -webkit-transform: rotate(240deg);
        transform: rotate(240deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }
}
@keyframes rotate-tr {
    0% {
        -webkit-transform: rotate(240deg);
        transform: rotate(240deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
        -webkit-transform-origin: top left;
        transform-origin: top left;
    }
}

@-webkit-keyframes entrance {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes entrance {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes exit-preloader {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

@keyframes exit-preloader {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}


html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
}

main section:not(:first-child):nth-child(odd) {
    background: var(--second-bg-color);
}

header {
    width: 100%;
    position: fixed;
    top: 36px;

    border-radius: 50px;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);

    z-index: 20;
    transition: 0.25s;
}

header.scrolled {
    top: 0px;
}

.thank-message-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    align-items: center;
    justify-content: center;
    width: fit-content;
}

.thank-message-modal .thank-message {
    opacity: 1;
    position: relative;
    width: max-content;
    max-width: 400px;
    padding: 76px 76px;
    border-radius: 25px;
    box-shadow: 0px 4px 10.2px 0px rgba(0, 0, 0, 0.05);
    background: rgb(217, 217, 217);
    height: fit-content;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

@media (max-width: 690px) {
    .thank-message-modal .thank-message {
        max-width: 300px;
    }
}

.thank-message-modal .thank-message .close {
    top: 12px;
    right: 24px;
}

.thank-message-modal .thank-message p{
    margin: 0;
}

@media (max-width: 490px) {
    .thank-message-modal .thank-message {
        max-width: 300px;
        padding: 56px 48px;
    }
}

@media (max-width: 410px) {
    .thank-message-modal .thank-message {
        max-width: 300px;
        padding: 56px 24px;
        font-size: 16px;
    }
}

.header-wrapper {
    padding: 8px 2rem;
    margin: 0 auto;
    max-width: 1155px;
    display: flex;
    justify-content: space-between;
    color: var(--main-text-color);
}

.header-logo {
    height: 100%;
    margin: auto 0;
}

.header-contacts {
    display: none;
    gap: 36px;
    align-items: center;
}

.header-contacts img {
    min-width: 26px;
    max-height: 26px;
}

nav ul {
    display: flex;
    gap: 2.35rem;
}

nav ul li {
    margin: auto 0;
    color: rgb(245, 245, 245);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 20px;
    text-align: left;
    text-decoration: none;
    list-style: none;
    cursor: pointer;
    transition: 0.25s;
}

nav ul li:hover {
    color: var(--primary-color);
}

.nav-item-number {
    margin: 0 clamp(0rem, -7.2794rem + 10.5882vw, 2.25rem);
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    color: var(--primary-color);
    gap: 5px;
    transition: 0.25s;
}

.nav-item-link-active {
    color: var(--primary-color) !important;
}

.nav-item-number:hover {
    color: rgb(255, 255, 255);
    fill: white;
}

.nav-item-number:hover a {
    color: rgb(255, 255, 255);
}

.nav-item-number a {
    display: flex;
    flex-direction: row;
}

.nav-item-number a svg {

    fill: var(--primary-color);
    transition: 0.25s;
}

.nav-item-number:hover a svg {
    fill: #F5F5F5;
}

.nav-item-number a {
    margin: auto 0;
    color: var(--primary-color);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    transition: 0.25s;
}


.nav-item-icons {
    display: flex;
    gap: 10px;
}

.nav-item-icons a img {
    display: block;
    margin: 0 auto;
    width: 21px;
    height: 21px;
}

.nav-item-link {
    text-decoration: none;
    color: white;
    transition: 0.25s;
}

.nav-item-link:hover {
    color: var(--primary-color);
}

/* MAIN */

.hero-section {
    min-height: 900px;
    /*background: linear-gradient(to bottom, rgb(53 54 58 / 70%), rgb(53 54 58 / 70%)), url("assets/hero-img.jpg");*/
    background-image: url("assets/hero-bg.jpg");
    background-position: bottom;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 1500px) {
    .hero-wrapper {
        max-width: 1450px!important;
    }
    .hero-section {
        background-image: linear-gradient(to bottom, rgb(53 54 58 / 25%), rgb(53 54 58 / 25%)), url("assets/hero-bg-last1.jpg");
        background-position: center;
        background-size: cover;
    }
}

.mobile-map {
    display: none;
}

.section-wrapper{
    padding: 2rem;
    margin: 0 auto;
    max-width: 1185px;
    display: flex;
    flex-direction: column;
}

.hero-wrapper {
    /*padding: 170px 2rem 276px;*/
    padding: 0 2rem;
}

.hero__container {
    margin-top: 220px;
    display: flex;
    flex-direction: column;
}

h1 {
    margin-top: 0;
    max-width: 900px;
    color: rgb(255, 255, 255);
    font-family: 'Montserrat', sans-serif;
    font-size: 55px;
    font-weight: 700;
    line-height: 60px;
    text-align: left;
    text-transform: capitalize;
}

.hero__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero__list-item {
    display: flex;
    gap: 5px;
}

.hero__list-item-mobile {
    display: none;
}

.hero__list-img {
    pointer-events: none;
}

.hero__list-text {
    margin: 0;
    color: rgb(255, 255, 255);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

.hero-button {
    margin-top: 66px;
    padding: 16px 33px;
    max-width: 550px;
    box-shadow: 0px 10px 8.7px 0px rgba(0, 0, 0, 0.15);
    border-radius: 100px;
    background: rgb(234, 184, 71);
    border: none;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s;
}

.hero-button:hover {
    color: rgb(255, 255, 255);
    /* актив */
    box-shadow: 0px 0px 16.3px 7px rgba(242, 237, 214, 0.5);
    background: rgb(234, 184, 71);
}

@media (max-width: 460px) {
}

.footer-button:hover {
    color: rgb(255, 255, 255);
    /* актив */
    box-shadow: 0px 0px 16.3px 7px rgba(242, 237, 214, 0.5);
    background: rgb(234, 184, 71);
}

.footer-policy {
    color: #EAB847;
}

.hero-number {
    display: none;
    margin: 64px auto 0;
    padding: 1rem;
    width: fit-content;
    text-decoration: none;
    color: white;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: 0.25s
}

.hero-number:hover {
    background: var(--primary-color);
}

.hero-number:active {
    background: #d9a224;
}

.stat-wrapper {
    padding: 34px 2rem 66px;
}

.anim-text {
    display: flex;
    position: relative;
    max-height: 1em;
    overflow: hidden;
}

.footer-adress{
    display: flex;

}
.footer-phone-mobile {
    display: none;
}
.footer-phone {
    display: flex;
    color: white;
    text-decoration: none;
}

.footer-phone svg {
    margin: auto 10px auto 0;
    fill: var(--primary-color);
    transition: 0.25s;
}
.footer-phone {
    margin: auto 0;
    color: white;
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    transition: 0.25s;
}

.footer-phone:hover {
    color: var(--primary-color);
}

.footer-email {
    display: flex;
    gap: 5px;
}

/*.footer-phone:hover svg {*/
/*    fill: white;*/
/*}*/

.anim-text-item {
    display: flex;
    flex-direction: column;
    gap: 1em;
    transition: 1.5s ease-in-out;
    transition-delay: 0.25s;
    line-height: 0;
    text-align: center;
}

.anim-text-item:nth-child(2) {
    transform: translateY(1.6em);
}
.anim-text-item:nth-child(3) {
    transform: translateY(1.6em);
}
.anim-text-item:nth-child(4) {
    transform: translateY(1.6em);
}
.anim-text-item:nth-child(5) {
    transform: translateY(0.6em);
}

.anim-text.animate .anim-text-item:nth-child(2) {
    transform: translateY(-8.4em);
}
.anim-text.animate .anim-text-item:nth-child(3) {
    transform: translateY(-9.4em);
}
.anim-text.animate .anim-text-item:nth-child(4) {
    transform: translateY(-9.4em);
}
.anim-text.animate .anim-text-item:nth-child(5) {
    transform: translateY(-9.4em);
}


.anim-text-3-col .anim-text-item:nth-child(4) {
    transform: translateY(0.6em);
}

.small-margin-right {
    margin-right: 12px;
}

.small-margin-left {
    margin-left: 12px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 50px;
    font-weight: 600;
    line-height: 61px;
    letter-spacing: 0%;
    text-align: left;
}

h3 {
    font-family: 'Montserrat', sans-serif;
    color: rgb(0, 0, 0);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0%;
    text-align: left;
}

.grid-text-primary {
    margin: 0px 0 40px;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    font-size: 70px;
    font-weight: 900;
    line-height: 85px;
    text-align: left;
}

.grid-text-secondary {
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
}

.stat-content {
    margin: 75px 0 0 0;
    display: flex;
    text-align: center;
    gap: 2rem;
}

.stat-cursed-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    row-gap: 3rem;

}

.grid-item:nth-child(3) {
    width: 100%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}

.grid-item:nth-child(1) .grid-text-secondary {
    max-width: 320px;
}
.grid-item:nth-child(2) .grid-text-secondary {
    max-width: 345px;
}
.grid-item:nth-child(3) .grid-text-secondary {
    max-width: 265px;
}

.grid-item:nth-child(3) .grid-text-primary {
    margin: 0;
}

/*FORM*/

.form-wrapper {
    padding: 66px 2rem 66px;
}

.form-content {
    padding: 80px 0 0 0;
    display: flex;
    justify-content: space-between;
}


.shadow1 {

}

.form-item:nth-child(2) {
    max-width: 650px;
}

.form-wrapper h2 {
    margin: 0;
    font-size: 51px;
    font-weight: 700;
    line-height: 62px;
    text-align: left;
    text-transform: uppercase;
}

.form-item h3 {
    margin-bottom: 36px;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 27px;
    text-align: left;
}

.form-img {
    position: relative;
    max-width: 500px;
    z-index: 1;
}
/*
.form-img::after {
    content: url("assets/shadow-1.png");
    position: absolute;
    bottom: 0;
}


.form-img::before {
    content: url("assets/shadow-2.png");
    position: absolute;
    top: 0;
}
*/
.form-text {
    margin-bottom: 40px;
    font-size: 23px;
    font-weight: 700;
    line-height: 28px;
    text-align: right;
}

.form-first {
    max-width: 400px;
    padding: 36px 75px;
    border-radius: 25px;
    box-shadow: 0px 4px 10.2px 0px rgba(0, 0, 0, 0.05);
    background: rgb(217, 217, 217);

    display: flex;
    justify-content: space-between;
    flex-direction: column;
    gap: 36px;
}

.form-first-header {
    margin: 0;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
    text-align: center;
}
input {
    text-align: center !important;
}

input::placeholder {
    text-align: center;
}
/* or, for legacy browsers */
input::-webkit-input-placeholder {
    text-align: center;
}
input:-moz-placeholder { /* Firefox 18- */
    text-align: center;
}
input::-moz-placeholder {  /* Firefox 19+ */
    text-align: center;
}
input:-ms-input-placeholder {
    text-align: center;
}

form input {
    padding: 17px;
    border-radius: 22px;
    background: var(--third-bg-color);
    border: none;

    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
}

.form-inputs-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-wrapper input {
    box-sizing: border-box;
    border: 1px solid rgb(217, 217, 217);
    border-radius: 100px;

    background: rgb(255, 255, 255);

    transition: 0.25s;

}

.form-button {
    padding: 19px 32px;
    border-radius: 100px;
    box-shadow: 0px 5px 8.7px 0px rgba(0, 0, 0, 0.15);
    background: rgb(234, 184, 71);    border: none;
    cursor: pointer;

    color: rgb(53, 54, 58);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
    transition: 0.25s;
}

.form-button:hover {
    color: #F5F5F5;
    border-radius: 100px;
    box-shadow: 0px 0px 16.3px 7px rgba(242, 237, 214, 0.5);
    background: rgb(234, 184, 71);
}

.form-text-small {
    opacity: 0.7;
    font-size: 13px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
}

.form-text-small a {
    color: unset;
}

.underline {
    background: none;
    text-decoration: underline;
    cursor: pointer;
}

/*SERVICE*/

.service-wrapper {
    padding-bottom: 66px;

}

.service-wrapper h2 {
    margin-bottom: 66px;
    font-size: 51px;
    font-weight: 700;
    line-height: 62px;
    text-align: left;
    text-transform: uppercase;
}

.service-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 2rem;
    row-gap: 2rem;
}

.service-item {
    display: flex;
    flex-direction: column;
    padding: 2rem 2rem;
    width: 300px;
    height: 240px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.35s;
    align-items: center;
    justify-content: space-between;
}

.service-item img {
    width: 132px;

}

.service-item:hover {
    transform: scale(1.05);
}

.service-item:nth-child(odd) {
    background: var(--primary-color);
}

.service-item:nth-child(even) {
    background: rgb(217, 217, 217);
}

.service-text {
    display: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    line-height: 1.9rem;
    font-weight: 500;
    opacity: 0;
    transition: 0.35s;
}

.service-item h3 {
    margin: 0;
    max-width: 220px;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    transition: 0.25s;
    -moz-opacity: 0;
}

.service-grid-desktop .service-item:hover h3 {
    animation: service-text-hide 0.15s both;
    -webkit-animation: service-text-hide 0.15s both;
    -moz-animation: service-text-hide 0s 0s both;
    transition: 0.25s;
    -moz-transition: 0s;
    -moz-opacity: 0;
    visibility: hidden;

}

.service-grid-desktop .service-item:hover img {
    animation: service-text-hide 0.15s both;
    -webkit-animation: service-text-hide 0.15s both;
    -moz-animation: service-text-hide 0s 0s both;
    transition: 0.25s;
    -moz-transition: 0s;
    visibility: hidden;

}

.service-grid-desktop .service-item:hover p {
    display: block;
    opacity: 1;

    animation: service-text-show 0.15s 0.15s both;
    -moz-animation: service-text-show 0.5s 0s both;
    -webkit-animation: service-text-show 0.15s 0.15s both;
}

@-moz-keyframes service-text-hide {
    from {
        -moz-opacity: 1;
        opacity: 1;
    }
    1% {
        opacity: 0;
        -moz-opacity: 0;
        visibility: hidden;

    }
    to {
        opacity: 0;
        -moz-opacity: 0;
        visibility: hidden;

    }
}

@-webkit-keyframes service-text-hide {
    from {
        opacity: 1;
    }
    99% {
        opacity: 0;
    }
    to {
        display: none;
    }
}

@keyframes service-text-hide {
    from {
        opacity: 1;
    }
    99% {
        opacity: 0;
    }
    to {
        display: none;
    }
}

@-moz-keyframes service-text-show {
    from {
        display: none;
        opacity: 0;
    }

    50% {
        display: block;
        opacity: 0;
    }

    to {
        display: block;
        opacity: 1;
    }
}

@-webkit-keyframes service-text-show {
    0% {
        display: none;
        opacity: 0;
    }

    50% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

@keyframes service-text-show {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

/*.service-item h3 {*/
/*    position: absolute;*/
/*    bottom: 12px;*/
/*    left: 48px;*/
/*    max-width: 260px;*/
/*    !*margin: 180px 0 0 0;*!*/
/*    font-size: 24px;*/
/*    font-weight: 600;*/
/*    line-height: 29px;*/
/*    text-align: center;*/
/*    transition: 0.25s;*/
/*}*/

/*.service-item-5 h3 {*/
/*    left: 62px;*/
/*}*/

/*.service-item:hover .service-text {*/
/*    opacity: 1;*/
/*}*/

/*.service-item:hover h3 {*/
/*    opacity: 0;*/
/*}*/

/*CALC*/

.calc-wrapper h2 {
    font-size: 51px;
    font-weight: 700;
    line-height: 62px;
    text-align: left;
    text-transform: uppercase;
}

.calc-wrapper {
    padding-bottom: 66px;
}

.calc-content {
    position: relative;
}

.calc-form {
    max-width: 780px;
    width: 100%;
    min-height: 490px;
    margin: 48px auto;
    display: flex;
    flex-direction: column;
    padding: 60px 80px;
    border-radius: 40px;
    background: rgb(255, 255, 255);
    position: relative;
}

.second-form-button {
    position: absolute;
    width: fit-content;
    padding: 18px 48px;
    display: block;
    margin: 24px 0 0 auto;
    bottom: 48px;
    right: 64px;
}

.calc-form-extra {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    border-radius: 40px;
}

.calc-form-extra-1 {
    transform: rotate(7deg);
    background: rgb(234, 184, 71);
    transition: 0.25s;
}

.calc-form-extra-1.revert {
    transform: rotate(-7deg);
}

.calc-form-extra-2 {
    transform: rotate(-7deg);
    background: rgb(217, 217, 217);
    transition: 0.25s;
}

.calc-form-extra-2.revert {
    transform: rotate(7deg);
}

.calc-form-extra-3 {
    background: inherit;
}

.calc-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-form input {
    display: none;
    z-index: 5;
}

.form-page {
    display: none;
    z-index: 5;
}

.form-page.active {
    display: block;
}

.calc-form .form-page h3 {
    margin: 0 0 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 34px;
    text-align: left;
    z-index: 5;
}

.calc-form .form-page .form-subheader {
    margin-top: 0;
    margin-bottom: 2.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 22px;
    text-align: left;
    z-index: 5;
}

.calc-form .input-container label {
    display: flex;
    gap: 20px;

    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;

    cursor: pointer;
    z-index: 5;
}

.calc-form .input-container label span {
    margin: auto 0;
    z-index: 5;
}

.form-inputs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.form-inputs .form-input-name,
.form-inputs .form-input-tel {
    display: block;
    border: 2px solid gray;
}

.radio-circle {
    margin: auto 0;
    min-width: 36px;
    width: 36px;
    height: 36px;
    box-sizing: border-box;
    border: 1px solid rgb(44, 33, 7);

    border-radius: 100px;
    display: inline-block;
    cursor: pointer;
    user-select: none;
    transition: 0.25s;
    z-index: 5;
}


/* Checked */
.input-container input[type=radio]:checked + label .radio-circle,
.input-container input[type=checkbox]:checked + label .radio-circle{
    background: rgb(234, 184, 71);
}

/* Hover */
.input-container label:hover .radio-circle {
    background: rgb(255, 220, 165);
}

.form-inputs-last {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 300px;
    margin: 0 auto;
}

/*FAQ*/

.faq-section {
    background: var(--second-bg-color);
}

.faq-wrapper h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 51px;
    font-weight: 700;
    margin: 34px 0 66px;
}

.faq-content {
    display: grid;
    /*flex-wrap: wrap;*/
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 20px;
}

.faq-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /*padding: 24px 72px 24px 32px;*/
    /*border-radius: 24px;*/
    /*background: rgb(255, 255, 255);*/
    /*cursor: pointer;*/
    /*position: relative;*/
    /*overflow: hidden;*/
    /*height: 85px;*/
    height: fit-content;
    text-align: left;
    overflow: hidden;
    position: relative;
    border-radius: 24px;
    background: rgb(255, 255, 255);
    cursor: pointer;
    /*transition: height 0.5s ease, background-color 0.3s ease;*/
    transition: 0.5s;
}



.faq-item::after {
    padding: 12px 12px 8px 12px;
    content: url("assets/faq-plus.svg");
    position: absolute;
    right: 20px;
    top: 40px;
    border-radius: 100px;
    transition: 0.5s;
}

.faq-item:hover::after {
    background: lightgray;
}

.faq-item.active::after {
    transform: rotate(45deg);
}

.faq-item-header {
    display: block;
    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    line-height: 24px;
    text-align: left;
}

.faq-item-text {
    display: block;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    line-height: 1.75rem;
}

.faq-item-text-container {
    padding: 0 32px 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
.faq-item-text {
    padding-bottom: 24px;
}
.faq-item.active .faq-item-text-container {
    max-height: 300px;
    transition: max-height 0.25s ease-out;
}

.faq-item-text.hidden {
    display: none;
    max-height: 0;
}

.faq-item-header-container {
    padding: 24px 72px 24px 32px;
    min-height: 90px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;

    /*margin-bottom: 24px;*/
}

/*FOOTER*/

.footer-wrapper {
    padding-bottom: 16px;
}

.footer-section {
    position: relative;
    background: var(--main-bg-color);
    color: white;
}

.footer-wrapper h2 {
    margin-bottom: 86px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-item-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
    color: rgb(255, 255, 255);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
}

.footer-item-text p {
    margin: 0;
}

.footer-item-map {
    width: 100%;
}

.footer-work-time {
    display: flex;
    gap: 12px;
}

.footer-work-time-text-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.primar-color-text {
    color: var(--primary-color)
}

.footer-adress::before {
    content: url("assets/locate.svg");
    width: 14px;
    height: 20px;
    margin: auto 10px auto 0;
}

/*.footer-phone::before {*/
/*    content: url("assets/phone.svg");*/
/*    width: 21px;*/
/*    height: 21px;*/
/*    margin: auto 10px auto 0;*/
/*}*/

.footer-icon-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.footer-icon img {
    width: 24px;
    height: 24px;
    fill: gray;
}

.footer-button {
    margin-top: 16px;
    padding: 19px 33px;

    border-radius: 100px;
    box-shadow: 0px 10px 8.7px 0px rgba(0, 0, 0, 0.15);
    background: rgb(234, 184, 71);
    border: none;

    color: rgb(0, 0, 0);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition: 0.25s;
}

.footer-footer {
    margin: 87px auto 0;

    color: rgb(255, 255, 255);
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: center;
}

.footer-contacts-container {
    display: flex;
    gap: 1rem;
    font-size: 16px;
}

@media (max-width: 768px) {
    .footer-contacts-container {
        font-size: 14px;
    }
}

.nav-mobile {
    display: none;
}

/*ADAPTIVE*/
.grid-item:nth-child(3) {
    width: 100%;
    display: block;
    flex-direction: row-reverse;
    justify-content: space-between;
    text-align: center;
    align-items: center;
}

@media (max-width: 1100px) {
    .hero-number {
        display: block;
    }
    nav {
        display: none;
    }

    .header-contacts {
        display: none;
    }

    .nav-item-number:before {
        content: url("assets/phone-mobile.svg");
        margin-top: auto;
        margin-bottom: auto;
    }



    .form-content {
        gap: 2rem;
    }

    .form-img {
        max-width: none;
        width: auto;
        max-height: 500px;
    }


    .header-wrapper {
        padding: 10px 2rem;
    }

    .stat-wrapper h2 {
        margin: 0;
    }

    .header-logo {
        margin: 0 auto;
        padding-left: 20px;
    }

    .burger-button {
        padding: 0 6px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
    }

    .burger-item {
        background: var(--primary-color);
        width: 20px;
        height: 2px;
        border-radius: 2px;
        transition: 0.5s
    }


    .burger-button.active .burger-item:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .burger-button.active .burger-item:nth-child(2) {
        opacity: 0;
    }
    .burger-button.active .burger-item:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .header {
        width: 100%;
        max-height: 72px;
        overflow: hidden;
        left: 50%;
        transform: translate(-50%, 0);
        transition: all 0.25s 0.25s, max-height 0.5s ease-in-out;
    }

    .header.active {
        max-height: 800px;
        padding: 36px 0 16px 0;
        position: fixed;
        top: 0;
        backdrop-filter: none;
        background: rgba(53, 54, 58, 1);
        border-radius: 0px 0px 25px 25px;
        z-index: 20;
        transition: all 0.25s, max-height 0.5s 0.25s ease;

    }

    .header.active .header-wrapper {

    }

    .nav-mobile {
        padding: 12px 12px 20px;
        display: flex;
        flex-direction: column;
    }

    .nav-mobile .footer-work-time-text-container {
        gap: 5px;
    }

    .header-work-time {
        display: flex;
        flex-direction: row;
        gap: 5px;
    }

    .header-work-time,
    .header-adress,
    .header-work-time-text-container,
    .header-name{
        color: rgb(255, 255, 255);
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 300;
        line-height: 17px;
        text-align: left;
    }

    .header-adress {
        display: flex;
    }

    .header-adress::before {
        content: url("assets/locate-mobile.svg");
        width: 12px;
        height: 17px;
        margin: auto 5px auto 0;
    }

    .header-name {
        margin-top: 20px;
    }

    .header-work-time-text-container {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .header-work-time .primar-color-text {
        margin: 0;
    }

    .header-work-time-text-container p {
        margin: 0;
    }

    .nav-mobile ul {
        padding: 0;
    }
    .nav-mobile ul .nav-container li a,
    .nav-mobile ul .nav-container li {
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        font-weight: 500;
        line-height: 17px;
        text-align: left;
    }


    .nav-mobile ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .nav-container:nth-child(1) {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .nav-item-icons {
        margin: 10px 0 0 0;
        justify-content: end;
    }

}

.footer-button-mobile {
    display: none;
}

@media (max-width: 1024px) {

    .form-item h3 {
        margin-bottom: 68px;
        font-size: 28px;
        font-weight: 400;
        line-height: 34px;
        text-align: left;
    }

    form {
        display: flex;
        justify-content: space-evenly;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    /*.form-item:nth-child(1) {*/
    /*    display: none;*/
    /*}*/

    /*.form-item:nth-child(2) {*/
    /*    max-width: none;*/
    /*}*/

    .calc-form {
        max-width: none;
        width: 80%;
        padding: 48px 48px;
    }
}

@media (max-width: 850px) {

    .hero-section {
        height: unset;
        min-height: 100svh;
        background-size: cover;
    }

    /*.grid-text-primary {*/
    /*    margin: 0px 0 40px;*/
    /*    font-family: 'Montserrat', sans-serif;*/
    /*    color: var(--primary-color);*/
    /*    font-size: 70px;*/
    /*    font-weight: 900;*/
    /*    line-height: 85px;*/
    /*    text-align: left;*/
    /*}*/

    .stat-content {
        margin: 75px 0 0 0;
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 2rem;
    }

    .stat-wrapper h3 {
        margin: 0 0 24px;
        font-size: 30px;
        line-height: 2.5rem;
    }

    .grid-item .grid-text-secondary {
        max-width: none !important;
    }

    .form-img {
        max-width: none;
        width: auto;
        max-height: 380px;
    }

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

    .service-item {
        padding: 1rem 2rem;
        width: 260px;
        height: 260px;
    }

    .service-item h3 {
        text-align: center;
    }
    .form-item:nth-child(1) {
        display: none;
    }

    .form-first {
        border-radius: 25px;

        box-shadow: 0px 4px 10.2px 0px rgba(0, 0, 0, 0.05);
        background: rgba(217, 217, 217, 0.8);

    }

    .form-item:nth-child(2) {
        max-width: unset;
        background-image: url("assets/femida-mob.webp");
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    .form-item {
        margin: 0 auto;
    }

    .form-wrapper h3 {
        font-size: clamp(1rem, 0.3636rem + 3.1818vw, 1.875rem);
        line-height: clamp(1.25rem, 0.6136rem + 3.1818vw, 2.125rem);;
    }

    .footer-button {
        display: none;
    }

    .footer-button-mobile {
        margin-top: 36px;
        display: block;
    }

    .footer-item-text {
        gap: 15px;
    }
    .footer-work-time-text-container {
        gap: 5px;
    }

}

.footer-arrow {
    display: none;
}

@media (max-width: 760px) {

    .section-wrapper {
        padding-top: 42px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .grid-text-primary {
        margin: 0px 0 40px;
        font-size: clamp(2.8rem, 1.6545rem + 5.7273vw, 4.375rem);
        font-weight: 900;
        line-height: clamp(3rem, 1.3273rem + 8.3636vw, 5.3rem);
        text-align: left;
    }
    .faq-wrapper h2,
    .calc-wrapper h2,
    .form-wrapper h2{
        font-size: clamp(1rem, -0.6rem + 8vw, 3.2rem);
        line-height: clamp(1.5rem, -0.3182rem + 9.0909vw, 4rem);
    }

    .service-wrapper h2 {
        font-size: clamp(1.5rem, 0.2727rem + 6.1364vw, 3.1875rem);
    }

    .stat-wrapper h2 {
        font-size: clamp(1.25rem, -0.75rem + 10vw, 4rem);
        line-height: clamp(1.5rem, -0.3182rem + 9.0909vw, 4rem);
    }

    .faq-content {
        grid-template-columns: 1fr;
    }

    h1 {
        margin-bottom: 64px;
        font-size: clamp(1.25rem, -0.2237rem + 7.3684vw, 3rem);
        line-height: clamp(1.875rem, 0.2961rem + 7.8947vw, 3.75rem);
    }

    .footer-arrow {
        display: block;
        position: absolute;
        width: 20px;
        height: 38px;
        top: 26px;
        right: 26px;
    }

}

.service-grid-mobile {
    display: none;
}

@media (max-width: 600px) {

    .hero-wrapper {
        min-height: unset;
        height: 100%;
    }
    h1 {
    }

    .form-first {
        padding: 36px 16px;
    }

    .form-inputs-container {
        margin: 0 auto;
        max-width: 350px;
        width: 85%;
    }

    .form-first-header {
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        line-height: 24px;
    }
    .form-text-small {
        text-align: center;
    }

    .service-grid {
        display: none;
    }

    .service-grid-mobile {
        display: flex;
        flex-direction: column;
        align-content: center;
    }

    .service-item:hover {
        transform: none;
    }

    .service-item {
        display: flex;
        flex-direction: column;
        padding: 13px 30px;
        max-width: 342px;
        max-height: 147px;
        height: 121px;
        width: 85%;
        animation: none;
        border-radius: 25px;
        gap: 20px;
    }

    .service-item img {
        width: 50px;
        height: 50px;
    }

    .service-item-container {
        display: flex;
        gap: 20px;
        align-items: center;
    }

    .service-item-container h3 {
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        text-align: center;
    }

    .service-grid-mobile .service-item .service-text {
        margin: 0;
        display: block;
        font-size: 14px;
        font-weight: 400;
        line-height: 17px;
        text-align: center;
        opacity: 1;
    }

    .service-item:nth-child(2) {
        transform: translateY(-100px);
    }
    .service-item:nth-child(3) {
        transform: translateY(-200px);
    }
    .service-item:nth-child(4) {
        transform: translateY(-300px);
    }
    .service-item:nth-child(5) {
        transform: translateY(-400px);
    }
    .service-item:nth-child(6) {
        transform: translateY(-500px);
    }

    .service-item.active:nth-child(1) {
        margin-bottom: 100px;
    }
    .service-item.active:nth-child(2) {
        margin-bottom: 100px;
        transform: translateY(-150px);
    }
    .service-item.active:nth-child(3) {
        margin-bottom: 100px;
        transform: translateY(-300px);
    }
    .service-item.active:nth-child(4) {
        margin-bottom: 100px;
        transform: translateY(-450px);
    }
    .service-item.active:nth-child(5) {
        margin-bottom: 100px;
        transform: translateY(-600px);
    }
    .service-item.active:nth-child(6) {
        margin-bottom: 100px;
        transform: translateY(-750px);
    }

    .service-item.blur {
        filter: blur(3px);
    }

    .service-item.blur:nth-child(1) {
    }
    .service-item.blur:nth-child(2) {
        transform: translateY(-150px);
    }
    .service-item.blur:nth-child(3) {
        transform: translateY(-300px);
    }
    .service-item.blur:nth-child(4) {
        transform: translateY(-450px);
    }
    .service-item.blur:nth-child(5) {
        transform: translateY(-600px);
    }
    .service-item.blur:nth-child(6) {
        transform: translateY(-750px);
    }


    .service-item.notblur2:nth-child(3) {
        transform: translateY(-250px);
    }
    .service-item.notblur2:nth-child(4) {
        transform: translateY(-350px);
    }
    .service-item.notblur2:nth-child(5) {
        transform: translateY(-450px);
    }
    .service-item.notblur2:nth-child(6) {
        transform: translateY(-550px);
    }

    .service-item.notblur3:nth-child(4) {
        transform: translateY(-400px);
    }
    .service-item.notblur3:nth-child(5) {
        transform: translateY(-500px);
    }
    .service-item.notblur3:nth-child(6) {
        transform: translateY(-600px);
    }

    .service-item.notblur4:nth-child(5) {
        transform: translateY(-550px);
    }
    .service-item.notblur4:nth-child(6) {
        transform: translateY(-650px);
    }


    .service-item.notblur5:nth-child(6) {
        transform: translateY(-700px);
    }

    .service-wrapper {
        max-height: 730px;
    }

}

@media (max-width: 360px) {
    .form-inputs-container {
        margin: 0 auto;
        max-width: 230px;
        width: 100%;
    }


}

@media (max-width: 575px) {

    .stat-content {
        margin: 1.5rem 0 0;
    }

    .hero-button {
        font-size: 20px;
        font-weight: 700;
    }

    .form-content {
        padding-top: 0;
    }

    .form-wrapper h3 {
        text-align: center;
        margin: 42px 0 36px;
    }

    form input {
        padding: 13px;
    }

    .form-button {
        padding: 14px 32px;
    }

    .calc-form {
        max-width: none;
        width: 80%;
        padding: 48px 32px;
    }

    .second-form-button {
        bottom: 24px;
        right: 32px;
    }

    .calc-form .input-container label {
        display: flex;
        gap: 20px;
        font-size: 18px;
    }

    .calc-form .form-page h3 {
        font-size: clamp(1.25rem, 0.3088rem + 4.7059vw, 2rem);
        line-height: clamp(1.875rem, 0.933rem + 4.186vw, 2.438rem);
    }

    .faq-wrapper h2 {
        text-align: center;
    }

    .form-text {
        text-align: center;
    }

}

@media (max-width: 520px) {
    .hero-section {
        background: url("assets/hero-bg-mob.jpg");
        /*background-position: -650px 0;*/
        background-position: center;
        background-repeat: no-repeat;
    }

    .hero-wrapper {
        background: linear-gradient(177.27deg, rgba(255, 255, 255, 0) 58.718%,rgba(0, 0, 0, 0.42) 77.273%,rgb(0, 0, 0) 100.373%);
    }
}

@media (max-width: 500px) {
    .footer-wrapper {
        padding-left: 24px;
        padding-right: 24px;
    }

    .footer-wrapper h2 {
        margin-bottom: 36px;
    }

    .footer-item-text {
        font-size: 14px;
        font-weight: 500;
        line-height: 18px;
        text-align: left;
    }

    .footer-wrapper h2 {
        font-family: 'Montserrat', sans-serif;
        font-size: 24px;
        font-weight: 700;
        line-height: 29px;
        text-align: left;
        text-transform: uppercase;
    }

    .footer-item-text {
        gap: 16px;
    }
    .footer-button {
        font-size: 14px;
        font-weight: 600;
        line-height: 17px;
        text-align: center;
    }
    .footer-adress::before {
        content: url("assets/locate-mobile.svg");
        width: unset;
        height: unset;
        margin: auto 3px auto 0;
    }
    .footer-phone {
        display: none;
    }
    .footer-phone-mobile {
        display: flex;
        justify-content: left;
        color: var(--primary-color);
        text-decoration: none;
    }
    .footer-phone-mobile::before {
        content: url("assets/phone-mobile.svg");
        width: unset;
        height: unset;
        margin: auto 5px auto 0;
    }
}

@media (max-width: 460px) {
    .hero__list-item-mobile {
        display: flex;
    }

    .hero__list-item-desktop {
        display: none;
    }

    .desktop-map {
        display: none;
    }

    .mobile-map {
        display: block;
    }

    .calc-wrapper {
        padding-bottom: 24px;
    }

    .preloader-logo {
        opacity: 0;
        margin: 0 auto;
        padding: 0 0 8px 0;
        position: absolute;
        left: calc(50% - 85px);
        animation: entrance 2s both;
        animation-delay: 0.75s;
    }

    .preloader-molot {
        padding-right: 56px;
    }

    .calc-form .form-page .form-input-header {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 32px;
    }
    .calc-form .form-page .form-subheader {
        margin-top: 0;
        margin-bottom: 36px;
        font-size: 14px;
        font-weight: 500;
        line-height: 17px;
        text-align: left;
        z-index: 5;
    }

    .radio-circle {
        min-width: 25px;
        width: 25px;
        height: 25px;
    }

    .faq-item-header {
        display: block;
        margin: auto 0;
        color: rgb(0, 0, 0);
        font-family: 'Montserrat', sans-serif;
        font-size: 19px;
        font-weight: 700;
        line-height: 24px;
        text-align: left;
    }

    .faq-item-text {
        font-size: 16px;
        line-height: 1.4rem;
    }

    .hero-wrapper {
        height: 100%;
        padding-top: 0;
        padding-bottom: 0;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
    }
    .hero__container {
        margin: 0;
        height: 100%;
        justify-content: space-between;
    }
    h1 {
        margin-top: 145px;
        text-align: center;
        color: rgb(255, 255, 255);
        font-size: 32px;
        font-weight: 600;
        line-height: 43px;
    }

    .grid-text-primary {
        margin: 0;
    }
    .stat-cursed-grid {
        gap: 24px;
    }

    .grid-text-secondary {
        font-size: 18px;
    }
    .stat-wrapper {
        padding-bottom: 64px;
    }

    .stat-wrapper h3 {
        margin: 0 0 1rem;
        font-size: 14px;
        font-weight: 500;
        line-height: 17px;
        text-align: left;
    }

    .grid-text-primary {
        font-size: 40px;
        font-weight: 900;
        line-height: 49px;
        text-align: left;
    }

    .grid-text-secondary {
        font-size: 14px;
        font-weight: 500;
        line-height: 17px;
        text-align: left;
    }

    .service-text {
        font-size: 19px;
        line-height: 1.6rem;
        font-weight: 500;
    }

    .form-text {
        margin-bottom: 40px;
        font-size: 20px;
        font-weight: 700;
        line-height: 24px;
    }

    .form-wrapper h2 {
        text-align: left;
    }

    .form-item h3 {
        font-size: 14px;
        font-weight: 300;
        line-height: 17px;
        text-align: left;
    }

    .hero-button {
        margin: 26px 0 66px;
        width: 100%;
        max-width: unset;
        font-size: 14px;
        font-weight: 600;
        line-height: 18px;
        text-align: center;
    }
    
    @media (max-height: 790px) {
        .header {
            top: 16px;
        }
        h1 {
            margin-top: 100px;
        }
        .hero-button {
            margin-bottom: 32px;
        }
    }

    .hero__list {
        gap: 10px;
    }

    .stat-wrapper h2 {
        font-size: 25px;
        font-weight: 600;
        line-height: 30px;
        text-align: left;
    }

    h2 {
        font-family: 'Montserrat', sans-serif !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 30px !important;
        text-align: left !important;
        text-transform: uppercase !important;
    }

    .stat-wrapper h2 {
        font-size: 24px !important;
        font-weight: 600 !important;
        line-height: 30px !important;
        text-align: left !important;
        text-transform: unset !important;
    }

    input {
        font-family: 'Montserrat', sans-serif;
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 22px !important;
        text-align: center;
    }

    .calc-form .form-page h3 {
        margin-bottom: 36px;

        font-size: 20px;
        font-weight: 500;
        line-height: 24px;
        text-align: left;
    }
    .calc-form {
        min-height: 410px;
    }

    .nav-item nav-item-number {
        display: flex;
    }



    .service-wrapper {
        max-height: 670px;
    }

    .modal {
        width: 350px;
    }

    .modal-form {
    }

}



@media (max-width: 440px) {

    .calc-form .input-container label {
        font-size: 16px;
        font-weight: 400;
        line-height: 19px;
        text-align: left;
    }

    .calc-form {
        padding: 48px 24px 48px 32px;
    }
    .hero-button {
        padding: 0.75rem 1rem;
    }

    .form-inputs-last {
        margin: 0 auto;
    }

    .form-inputs-last input {
        font-size: 18px;
        font-weight: 500;
        line-height: 22px;
        text-align: center;
    }

    .faq-wrapper h2 {
        text-align: left;
        margin-bottom: 36px;
    }

    .faq-item-header {
        font-size: 16px;
        font-weight: 500;
        line-height: 22px;
        text-align: left;
        margin: 0;
    }

    .faq-item-header-container {
        padding-top: 15px;
        padding-bottom: 15px;

        min-height: 70px;

        font-size: 14px;
        font-weight: 500;
        line-height: 17px;
    }

    .faq-item::after {
        right: 16px;
        top: 24px;
    }

}

@media (max-width: 410px) {
    .thank-message {
        font-size: 18px;
    }
}

@media (max-width: 400px) {

    .modal {
        width: 300px;
        min-width: unset;
    }

    .service-wrapper {
        max-height: 710px;
    }

    .calc-form {
        padding: 48px 18px 48px 32px;
    }

    .form-inputs-last input {
        margin: 0 auto;
        width: 80%;
    }

    .service-item {
        padding: 13px 15px;
        max-height: 147px;
        height: 137px;
        width: 90%;
    }

    .service-item:nth-child(2) {
        transform: translateY(-110px);
    }
    .service-item:nth-child(3) {
        transform: translateY(-220px);
    }
    .service-item:nth-child(4) {
        transform: translateY(-330px);
    }
    .service-item:nth-child(5) {
        transform: translateY(-440px);
    }
    .service-item:nth-child(6) {
        transform: translateY(-550px);
    }

    .service-item.notblur2:nth-child(3) {
        transform: translateY(-250px);
    }
    .service-item.notblur2:nth-child(4) {
        transform: translateY(-350px);
    }
    .service-item.notblur2:nth-child(5) {
        transform: translateY(-450px);
    }
    .service-item.notblur2:nth-child(6) {
        transform: translateY(-560px);
    }

    .service-item.notblur3:nth-child(4) {
        transform: translateY(-400px);
    }
    .service-item.notblur3:nth-child(5) {
        transform: translateY(-500px);
    }
    .service-item.notblur3:nth-child(6) {
        transform: translateY(-610px);
    }

    .service-item.notblur4:nth-child(5) {
        transform: translateY(-550px);
    }
    .service-item.notblur4:nth-child(6) {
        transform: translateY(-660px);
    }


    .service-item.notblur5:nth-child(6) {
        transform: translateY(-710px);
    }
}

@media (max-width: 360px) {
    .stat-wrapper h2 {
        font-size: clamp(1.25rem, 0.1071rem + 5.7143vw, 1.5rem) !important;
        line-height: clamp(1.625rem, 0.4821rem + 5.7143vw, 1.875rem) !important;
    }
    h2 {
        font-size: clamp(1.25rem, 0.1071rem + 5.7143vw, 1.5rem) !important;
        line-height: clamp(1.625rem, 0.4821rem + 5.7143vw, 1.875rem) !important;
    }
    .header-logo {
        padding: 0;
    }
}

/* main.css */

.parent-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Spacing between cards */
    padding: 20px;
    background-color: #f5f5f5; /* Default background color */
    border: 1px solid #ddd; /* Border for the parent block */
}

.card {
    flex: 0 1 calc(33.333% - 10px); /* Three cards per row, accounting for the gap */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Simple shadow for depth */
    border-radius: 5px; /* Rounded corners for the cards */
    padding: 20px;
    background-color: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transition for interaction */
}

.card:hover {
    transform: translateY(-5px); /* Slight raise effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Additional CSS for active card state */
.card.active {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #ffd700; /* Highlight color for active card */
}


/* Additional classes for active states will be added later */


/*@import url('https://fonts.googleapis.com/css2?family=Fira+Mono:wght@400;500&family=PT+Mono&family=PT+Serif:wght@400;700&family=Roboto:wght@400;500;700&display=swap');*/
/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Montserrat:wght@400;500;600;700&family=Raleway:wght@300;400&display=swap');*/

/*!* Как применять подключённые шрифты:*/
/*font-family: 'Fira Mono', monospace;*/
/*font-family: 'PT Mono', monospace;*/
/*font-family: 'PT Serif', serif;*/
/*font-family: 'Roboto', sans-serif;*/

/*font-family: 'Inter', sans-serif;*/
/*font-family: 'Raleway', sans-serif;*/
/*font-family: 'Montserrat', sans-serif;*/
/**!*/

/*:root {*/
/*    --main-button-color: #0E77FF;*/
/*    --main-bg-color: #f4eed6;*/
/*    --main-text-color: #231f20*/
/*}*/

/*html {*/
/*    scroll-behavior: smooth;*/
/*}*/

/*.header-name,*/
/*.header-prof {*/
/*    margin: 0;*/
/*    font-family: 'Roboto', sans-serif;*/
/*    font-size: 20px;*/
/*}*/

/*.header-name {*/
/*    font-weight: 700;*/
/*    font-size: 22px;*/
/*}*/

/*body {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    flex-direction: column;*/
/*}*/

/*header {*/
/*    width: 100%;*/
/*    background: white;*/
/*    position: sticky;*/
/*    top: 0;*/
/*    box-shadow: 0px 12px 12px -3px rgba(0,0,0,0.1);*/
/*    z-index: 1;*/
/*}*/

/*.header-wrapper {*/
/*    margin: 0 auto;*/
/*    padding: 1rem 2rem;*/
/*    max-width: 1200px;*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: space-between;*/
/*}*/

/*.header-container {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*}*/

/*.header-container:nth-child(1) {*/
/*    align-self: center;*/
/*    text-align: left;*/
/*    gap: 12px;*/
/*}*/

/*.header-container:nth-child(1) img {*/
/*    max-width: 200px;*/
/*    height: auto;*/
/*}*/

/*.nav-list {*/
/*    margin-top: 1.5rem;*/
/*    padding: 0;*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    justify-content: center;*/
/*    gap: 2.5rem;*/
/*    list-style: none;*/
/*    font-family: 'Fira Mono', monospace;*/
/*}*/

/*.nav-list li {*/
/*    cursor: pointer;*/
/*    border-radius: 100px;*/
/*    transition: 0.25s;*/
/*}*/

/*.link {*/
/*    text-decoration: none;*/
/*    color: black;*/
/*}*/

/*.nav-list li:hover {}*/

/*.header-container__item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 24px;*/
/*}*/

/*.header-container__item span {*/
/*    font-size: 20px;*/
/*    font-family: 'PT Mono', monospace;*/
/*}*/

/*.header-container__item button {*/
/*    padding: 12px 24px;*/
/*    color: #d9e8ff;*/
/*    text-align: center;*/
/*    font-size: 20px;*/
/*    font-style: normal;*/
/*    font-weight: 500;*/
/*    border-radius: 100px;*/
/*    background: var(--main-button-color);*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    transition: 0.25s;*/
/*}*/

/*.header-container__item button:hover {*/
/*    color: #f4f6ff;*/
/*    background: #0062e3;*/
/*}*/

/*.header-container__item button:active {*/
/*    color: #ffffff;*/
/*    background: #0045a6;*/
/*}*/

/*!* MAIN *!*/

/*main {*/
/*    width: 100%;*/
/*}*/

/*main .main-container {*/
/*    margin: 0 auto;*/
/*    padding: 4rem 2rem;*/
/*    max-width: 1200px;*/
/*}*/

/*main section:not(:first-child):nth-child(odd) {*/
/*    background: var(--main-bg-color);*/
/*}*/

/*.hero{*/
/*    width: 100%;*/
/*    color: white;*/
/*    background-image: linear-gradient(60deg, #29323c 0%, #485563 100%);*/
/*}*/

/*.hero-wrapper{*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 4rem;*/
/*}*/

/*.hero-item:nth-child(1){*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 4rem;*/
/*}*/

/*.hero-wrapper h1{*/
/*    margin: 0;*/
/*    font-size: 48px;*/
/*    font-weight: 400;*/
/*    font-family: 'PT Serif', serif;*/
/*    line-height: 4rem;*/
/*}*/

/*.hero-wrapper h2,*/
/*.hero-wrapper p{*/
/*    margin: 12px 0 0 0;*/
/*    font-weight: 400;*/
/*    font-family: 'Raleway', sans-serif;*/
/*    font-size: 20px;*/
/*    line-height: 1.9rem;*/
/*}*/

/*.hero-img {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    display: flex;*/
/*    align-content: center;*/
/*    align-items: center;*/
/*    align-self: center;*/
/*}*/

/*.hero-img img {*/
/*    width: 100%;*/
/*    height: auto;*/

/*}*/

/*.main-button {*/
/*    width: fit-content;*/
/*    padding: 12px 36px;*/
/*    color: #d9e8ff;*/
/*    text-align: center;*/
/*    font-size: 20px;*/
/*    font-style: normal;*/
/*    font-weight: 500;*/
/*    border-radius: 100px;*/
/*    background: var(--main-button-color);*/
/*    border: none;*/
/*    cursor: pointer;*/
/*    transition: 0.25s;*/
/*}*/

/*.main-button:hover {*/
/*    color: #f4f6ff;*/
/*    background: #0062e3;*/
/*}*/

/*.main-button:active {*/
/*    color: #ffffff;*/
/*    background: #0045a6;*/
/*}*/

/*.stat-wrapper{*/
/*    display: flex;*/
/*    justify-content: space-around;*/
/*    gap: 2rem;*/
/*    flex-wrap: wrap;*/
/*}*/

/*.stat-text-first{*/
/*    font-size: 40px;*/
/*    font-weight: 700;*/
/*    font-family: 'Montserrat', sans-serif;*/
/*    text-align: center;*/
/*    margin: 0;*/
/*}*/

/*.stat-text-second{*/
/*    font-size: 16px;*/
/*    font-weight: 500;*/
/*    font-family: 'Montserrat', sans-serif;*/
/*    text-align: center;*/
/*}*/

/*.meet {*/
/*    color: #231f20;*/
/*    text-align: center;*/
/*}*/

/*h3 {*/
/*    margin: 0 0 72px 0;*/
/*    font-size: 40px;*/
/*    font-weight: 500;*/
/*    font-family: 'PT Serif', serif;*/
/*    line-height: 50px;*/
/*}*/

/*.meet-container{*/
/*    display: flex;*/
/*    gap: 128px;*/
/*    text-align: left;*/
/*}*/

/*.meet-item-img {*/
/*    width: 33%;*/
/*}*/

/*.meet-item-img img {*/
/*    width: 100%;*/
/*}*/

/*.meet-item-text {*/
/*    padding: 1rem 0 0 0;*/
/*    width: 67%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1.5rem;*/
/*    font-family: 'Roboto', sans-serif;*/
/*    font-size: 18px;*/
/*}*/

/*h4{*/
/*    font-size: 20px;*/
/*    line-height: 0;*/
/*}*/

/*.meet-item-text h4 {*/
/*    margin: 0 0 1.5rem 0;*/
/*}*/

/*.meet-item-text__container p{*/
/*    line-height: 150%;*/
/*}*/

/*.meet-item-form:nth-child(1) {*/
/*    display: flex;*/
/*    gap: 2rem;*/
/*}*/

/*.meet-item-form:nth-child(1) input {*/
/*    padding: 0.9rem 1rem;*/
/*    border: 1px solid var(--main-text-color);*/
/*    background: white;*/
/*    border-radius: 0.4rem;*/
/*    transition: 0.25s;*/
/*}*/

/*.meet-item-form:nth-child(1) input:focus {*/
/*    outline: none;*/
/*    box-shadow: 0.2rem 0.8rem 1.6rem rgba(0,0,0,0.1);*/
/*}*/

/*.meet-button {*/
/*    padding: 1rem 2rem;*/
/*    font-size: 1rem;*/
/*}*/

/*.meet form {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 2rem;*/
/*}*/

/*.checkbox {*/
/*    position:relative;*/
/*    display:block;*/
/*    width:100%;*/
/*    height:60px;*/
/*    background:#E0DCDC;*/
/*    overflow:hidden;*/
/*}*/

/*.checkbox:not(:last-child){*/
/*    border-bottom:2px solid white;*/
/*}*/

/*.checkbox:not(:last-child){*/
/*    border-bottom:2px solid white;*/
/*}*/
/*.check {*/
/*    width:50px;*/
/*    height:50px;*/
/*    position:absolute;*/
/*    opacity:0;*/
/*    cursor: pointer;*/
/*}*/

/*.label{*/
/*    cursor: pointer;*/
/*}*/

/*.label span {*/
/*    position:absolute;*/
/*    margin-top:15px;*/
/*}*/

/*.path1{*/
/*    stroke-dasharray:400;*/
/*    stroke-dashoffset:400;*/
/*    transition:.5s all;*/
/*}*/
/*.path2{*/
/*    stroke-dasharray:1800;*/
/*    stroke-dashoffset:1800;*/
/*    transition:.5s all;*/
/*}*/
/*.check:checked + label svg g path {*/
/*    stroke-dashoffset:0;*/
/*}*/

/*.num-wrapper {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    gap: 2rem;*/
/*}*/

/*.contacts-container {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 4rem;*/
/*}*/

/*.contacts-item-text {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 0.75rem;*/
/*}*/

/*.contacts-item {*/
/*}*/

/*.contacts-text {*/
/*    display: flex;*/
/*    gap: 0.5rem;*/
/*    font-size: 18px;*/
/*    font-family: 'Roboto', sans-serif;*/
/*    width: max-content;*/
/*}*/

/*.contacts-text svg {*/
/*    margin: auto 0;*/
/*    width: 1.5rem;*/
/*    height: auto;*/
/*    fill: #0E77FF;*/
/*}*/

/*footer {*/
/*    width: 100%;*/
/*    !*background: var(--main-bg-color);*!*/
/*}*/

/*.footer-wrapper {*/
/*    margin: 0 auto;*/
/*    padding: 2rem;*/
/*    max-width: 1200px;*/
/*    font-family: 'Roboto', sans-serif;*/
/*}*/

/*.form-wrapper {*/
/*    text-align: center;*/
/*}*/

/*.form-wrapper h3 {*/
/*    margin: 0 auto;*/
/*}*/

/*.form-wrapper p {*/
/*    font-family: 'Roboto', sans-serif;*/
/*    line-height: 1.75rem;*/
/*}*/

/*.form-wrapper-item p {*/
/*    font-size: 20px;*/
/*}*/

/*.form-wrapper-form {*/
/*    margin: 3rem auto 0 auto;*/
/*    padding: 2rem;*/
/*    width: 100%;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 2rem;*/
/*    background: white;*/
/*    border-radius: 2rem;*/
/*}*/

/*.special-text {*/
/*    width: fit-content;*/
/*    margin: 0 auto;*/
/*    padding: 1rem 8rem;*/
/*}*/

/*.form-wrapper form p {*/
/*    margin: 0;*/
/*}*/

/*.form-item {*/
/*    text-align: center;*/
/*}*/

/*.form-item-header p {*/
/*    font-size: 22px;*/
/*}*/

/*.form-item-subheader p{*/
/*    font-size: 16px;*/
/*    color: #757575;*/
/*}*/

/*.form-radio-container{*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1.5rem;*/
/*}*/

/*.form-wrapper-form input {*/
/*    display: none;*/
/*}*/

/*.form-wrapper-form label {*/
/*    display: block;*/
/*    padding: 1rem 0;*/
/*    width: 100%;*/
/*    background: var(--main-button-color);*/
/*    color: #d9e8ff;*/
/*    text-align: center;*/
/*    font-family: 'Roboto', sans-serif;*/
/*    font-size: 20px;*/
/*    font-style: normal;*/
/*    font-weight: 400;*/
/*    cursor: pointer;*/
/*    transition: 0.25s;*/
/*}*/

/*.form-wrapper-form label:hover {*/
/*    background: #0062e3;*/
/*    color: white;*/
/*}*/

/*.form-item-number {*/
/*    position: absolute;*/
/*    font-size: 24px;*/
/*}*/

/*.form-item-number span {*/
/*    padding: 0 100px 0 0;*/
/*    color: #7e7e7e;*/
/*    font-size: 14px;*/
/*    font-weight: 500;*/
/*}*/

/*.service h3 {*/
/*text-align: center*/
/*}*/

/*.service-card__container {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr 1fr 1fr;*/
/*    gap: 2rem;*/
/*    color: white;*/

/*}*/

/*.service-card {*/
/*    padding: 1.5rem;*/
/*    background: var(--main-text-color);*/
/*    border-radius: 12px;*/
/*}*/

/*.service-card h5 {*/
/*    font-size: 20px;*/
/*    font-family: 'Raleway', sans-serif;*/
/*}*/

/*.service-card p {*/
/*    font-size: 16px;*/
/*    font-family: 'Inter', sans-serif;*/
/*    line-height: 1.5rem;*/
/*}*/