:root {
    --sans: "Open Sans", serif;
    --oswald: "Oswald", serif;

    --black: #363636;
    --white: #fff;
    --blue: #4A65DF;
    --green: #6FDF4A;
    --blue-white: #F5FCFF;
}

body, html {
    font-family: var(--sans);
    font-size: 20px;
    font-weight: 400;
    color: var(--black);
    background-color: var(--blue-white);
    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    scroll-behavior: smooth;
}

* {
    padding: 0;
    margin: 0;
    transition: all .5s ease;
    box-sizing: border-box;
}

.container {
    max-width: 1250px;
    margin-right: auto;
    margin-left: auto;
}

/* header */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0; 
    right: 0;
    z-index: 9991;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
    padding: 35px 50px;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0 0 16px 2px rgba(0, 0, 0, 0.03);
}

.header-logo {
    width: 300px;
}

.header-nav {
    display: flex;
    align-items: center;
}

.comm img {
    height: 60vh;
    margin-right: auto;
    margin-left: auto;
}

.comm {
    margin-right: auto;
    margin-left: auto;
    display: flex;
    justify-content: center;
    /* margin-right: 30px; */
}

.header-nav a {
    margin-right: 25px;
    text-decoration: none;
    color: var(--black);
}

.header-nav a:last-of-type {
    margin-right: 0;
}

.header-nav a:hover {
    color: var(--blue);
}

.header-soc img {
    width: 40px;
    height: 40px;
}

.header-soc img:hover {
    opacity: 0.5;
}

#button-burger img {
    width: 45px;
    height: 35px;
}

#button-burger {
    background-color: transparent;
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    cursor: pointer;

    display: none;
}

#mobile-menu {
    backdrop-filter: blur(0px);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9999;

    display: none;
}

.mobile-open {
    display: block !important;
    opacity: 0;
    animation: mobileOpen 0.8s ease forwards 1;
}

.mobile-close {
    display: block;
    opacity: 1;
    animation: mobileClose 0.8s ease forwards 1;
}

@keyframes mobileOpen {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    100% {
        opacity: 1;
        backdrop-filter: blur(3px);
    }
}

@keyframes mobileClose {
    0% {
        opacity: 1;
        backdrop-filter: blur(3px);
    }

    100% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

.mobile-inner {
    background-color: var(--white);
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    position: absolute;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 30px;
}

.mobile-inner a {
    color: var(--black);
    font-size: 20px;
    margin-bottom: 10px;
    text-decoration: none;
}

.mobile-inner a:last-of-type {
    margin-bottom: 20px;
}

.mobile-inner a img {
    width: 40px;
    height: 40px;
}

.mobile-inner a:hover {
    color: var(--green);
}

#close-mobile {
    width: 30px;
    height: 30px;
    margin-bottom: 20px;
}

/* main */

main {
    background-image: url(../images/main-bg.png);
    background-position: bottom;
    background-size: contain;
    width: 100%;
    height: fit-content;
    padding-top: 200px;
    padding-bottom: 100px;
}

.main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.main-inner div {
    margin-right: 100px;
}

.main-inner div h1 {
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 82px;
    line-height: 109%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.main-button {
    background-color: var(--blue);
    padding: 15px 32px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 700;
    font-size: 20px;
    display: block;
    width: fit-content;
    margin-top: 10px;
}

.main-inner img {
    width: 45%;
}

.main-button:hover {
    background-color: var(--green);
}

/* premium */

.premium-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.premium-block {
    flex: 1 1 26%; /* Позволяет блокам занимать 28% ширины и растягиваться */
    padding: 25px;
    border: 1px solid #707070;
    border-radius: 10px;
    /* margin-bottom: 12px; */
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box; /* Учитываем отступы и границы */
    /* min-height: 200px; */
}

.premium-block h2 {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 17px;
    line-height: 91%;
    letter-spacing: -0.02em;
}

.premium-block p {
    font-weight: 400;
    font-size: 13px;
    line-height: 125%;
    letter-spacing: -0.02em;
    opacity: 0.42;
}

.premium-block img {
    width: 48px;
    height: 48px;
    margin-left: 10px;
}

/* calc */

.calc {
    margin-top: 90px;
    padding-bottom: 90px;
}

.title-section {
    font-family: var(--oswald);
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.calc-form {
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    background: #fff;
    padding: 37px;
    width: fit-content;
    border-radius: 18px;
}

.calc-input {
    width: 460px;
    border: 1px solid rgba(191, 191, 191, 0.46);
    border-radius: 10px;
    background-color: var(--blue-white);
    padding: 12px 20px;
    font-weight: 300;
    font-size: 21px;
    line-height: 109%;
    letter-spacing: 0.01em;
    outline: none;
    margin-bottom: 23px;
}

.calc-input-dop {
    position: relative;
}

.calc-input-dop img {
    position: absolute;
    right: 20px;
    bottom: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 12px;
}


.suggestions {
    border: 1px solid #ccc;
    max-height: 450px;
    overflow-y: auto;
    position: absolute;
    background: white;
    z-index: 1000;
    width: 100%;
    top: 60px;
    border-radius: 10px;
}
.suggestion-item {
    padding: 10px;
    cursor: pointer;
}
.suggestion-item:hover {
    background-color: #f0f0f0;
}


datalist {
    position: absolute;
    max-height: 150px;
    border: 0 none;
    z-index: 99;
    overflow-x: hidden;
    overflow-y: auto;
    top: 59px;
    border-radius: 15px;

    box-shadow: 0px 0px 11px -3px rgba(34, 60, 80, 0.2);
}

datalist::-webkit-scrollbar-thumb {
    background-color: var(--orange);
    border-radius: 6px;
}

datalist::-webkit-scrollbar {
    width: 10px;
}
  
  datalist option {
    font-size: 16px;
    padding: 0.3em 1em;
    background-color: var(--blue-white);
    /* border: 1px solid #FEEEE0; */
    color: var(--blue-gray);
    cursor: pointer;
  }
  
  /* option active styles */
  datalist option:hover, datalist option:focus {
    color: #000000;
    background-color: var(--purple);
    outline: 0 none;
  }

.optionsc {
    position: relative;
}

.calc-inner {
    display: flex;
    gap: 20px;
}

.calc-form button {
    padding: 12px;
    text-align: center;
    width: 460px;
    display: block;
    outline: none;
    border: none;
    font-family: var(--sans);
    background-color: var(--blue);
    color: var(--white);
    border-radius: 10px;
    margin-bottom: 11px;
    font-size: 20px;
    cursor: pointer;
}

.calc-form button:hover {
    background-color: var(--green);
}

.calc-form p {
    width: 460px;
    font-style: italic;
    font-weight: 300;
    font-size: 13px;
    line-height: 109%;
    letter-spacing: 0.01em;
}

.calc-form h2 {
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
    width: 460px;
}

.result-cities {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 460px;
    margin-bottom: 30px;
}

.result-cities span {
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 24px;
    line-height: 109%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.result-cities img {
    width: 18px;
    height: 15px;
}

.calc-form form {
    width: 460px;
}

.result-calc {
    display: none;
}

.calcGo {
    display: block !important;
    animation: calcResult 1s ease forwards 1;
}

@keyframes calcResult {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* etaps */

.etaps {
    padding-bottom: 100px;
}

.etaps-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.etaps-block {
    width: 350px;
    display: flex;
    align-items: start;
    position: relative;
    z-index: 9;
}

.etaps-block p {
    font-weight: 300;
    font-size: 19px;
    line-height: 140%;
    letter-spacing: 0.02em;
    margin-right: 10px;
}

.etaps-block h3 {
    font-weight: 600;
    font-size: 96px;
    line-height: 79%;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.13);
    font-family: var(--oswald);
}

.etaps-block:hover {
    transform: scale(1.06);
}

.etaps-img {
    width: 100%;
    max-width: 1250px;
    position: absolute;

    animation: etaps 2s ease infinite;
}

@keyframes etaps {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(1);
    }
}

.etaps-block:nth-child(1) {
    margin-top: 400px;
}

.etaps-block:nth-child(2) {
    margin-top: 200px;
}

/* faq */

.faq {
    padding-bottom: 100px;
}

.faq-inner {
    display: flex;
    gap: 15px;
    justify-content: space-between;

    margin-top: 72px;
}

.faq-inner-basa {
    /* width: 49%; */
    gap: 15px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    height: fit-content;
    border: 1px solid #c8c8c8;
    border-radius: 15px;
    padding: 18px 20px;
    background-color: var(--white);
}

.faq-start {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.faq-start h2 {
    font-weight: 600;
    font-size: 16px;
    line-height: 109%;
    letter-spacing: 0.01em;
}

.faq-start img {
    width: 15px;
}

.content {
    font-weight: 300;
    font-size: 16px;
    line-height: 129%;
    letter-spacing: 0.01em;

    max-height: 0;
    overflow: hidden;
    transition: max-height .5s ease;
}

.rotate {
    transform: rotate(180deg);
}


/* contacts */

.contacts {
    position: relative;
}

.block-contacts {
    width: 500px;
    background-color: var(--white);
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99;

    display: flex;
    flex-direction: column;
}

.block-contacts h2 {
    margin-bottom: 20px;
    font-weight: 300;
    font-size: 36px;
    line-height: 109%;
    letter-spacing: 0.01em;
}

.block-contacts a,
.adress {
    font-family: var(--oswald);
    font-weight: 700;
    font-size: 32px;
    line-height: 109%;
    letter-spacing: 0.04em;
    color: var(--blue);
    text-decoration: none;
    margin-bottom: 10px;
}

.adress {
    margin-bottom: 20px;
}

.block-contacts a:hover {
    color: var(--green);
}

.block-contacts p {
    font-weight: 400;
    font-size: 16px;
    line-height: 109%;
    margin-bottom: 20px;
}

.block-contacts button {
    background-color: var(--blue);
    padding: 15px 32px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 20px;
    display: block;
    width: 100%;
    outline: none;
    border: none;
}

.block-contacts button:hover {
    background-color: var(--green);
    cursor: pointer;
}

/* footer */

footer {
    background-color: #485386;
    padding: 40px 0px;
}

.footer-menu {
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;
}

.footer-menu a {
    color: var(--white);
    font-weight: 400;
    font-size: 20px;
    text-decoration: none;
    margin-right: 35px;
}

.footer-menu a:last-of-type {
    margin-right: 0;
}

.footer-menu a:hover {
    color: var(--green);
}

footer p {
    font-weight: 600;
    font-size: 20px;
    line-height: 130%;
    color: var(--white);
    text-align: center;
    margin-bottom: 25px;
}

footer h4 {
    font-weight: 400;
    font-size: 20px;
    color: var(--white);
    text-align: center;
}

/* uspeh */

.uspeh {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.pop {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid rgba(191, 191, 191, 0.46);
    font-size: 28px;
    font-weight: 500;
    background-color: var(--white);
    min-width: 360px;
    text-align: center;
}

.disabled {
    display: none !important;
}


.popik {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.comentForm {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.coment-pop {
    background-color: var(--blue);
    padding: 15px 32px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 20px;
    display: block;
    /* width: 100%; */
    outline: none;
    border: none;
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    cursor: pointer;
}

#comentForm {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#comentForm button {
    background-color: var(--blue);
    padding: 15px 32px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 20px;
    display: block;
    width: 100%;
    outline: none;
    border: none;
    cursor: pointer;
}

#comentForm button:hover {
    background-color: var(--green);
}

.coment-pop button:hover {
    opacity: 0.5;
}

.pop h2 {
    line-height: 100%;
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 10px;
}

.popik h2 {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 10px;
}

.popik button {
    background-color: var(--blue);
    padding: 15px 32px;
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    font-size: 20px;
    display: block;
    width: 100%;
    outline: none;
    border: none;
    cursor: pointer;
}

.popik button:hover {
    background-color: var(--green);
}

.popik input {
    width: 100%;
}

.close-pop {
    width: 23px;
    height: 23px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* about */

.about {
    background-image: url(../images/about-bg.png);
    background-position: top;
    background-size: contain;
    padding-top: 200px;
    padding-bottom: 100px;
    background-repeat: no-repeat;
}

.about-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.about-inner-right {
    width: 50%;
    margin-left: 50px;
}

.about-inner-right h1 {
    margin-bottom: 40px;
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 82px;
    line-height: 109%;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.about-inner-right p {
    font-weight: 300;
    font-size: 28px;
    line-height: 120%;
    letter-spacing: 0.01em;

    margin-bottom: 26px;
}

.about-inner-right button {
    background-color: var(--blue);
    padding: 12px 80px;
    border-radius: 10px;
    color: var(--white);
    font-weight: 600;
    font-size: 24px;
    line-height: 109%;
    letter-spacing: 0.01em;
    font-family: var(--sans);
    cursor: pointer;
    border: none;
    outline: none;
}

.about-inner-right button:hover {
    background-color: var(--green);
}

.about-inner-left {
    width: 50%;
    height: 600px;
    position: relative;
}

.about-dot {
    width: 350px;
    height: 350px;
    border-radius: 100%;

    position: absolute;
}

.about-dot-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    text-align: center;
}

.about-dot-inner h2 {
    margin-bottom: 28px;
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 63px;
    line-height: 109%;
    letter-spacing: 0.01em;
    color: var(--black);
}

.about-dot-inner p {
    font-weight: 600;
    font-size: 24px;
    line-height: 109%;
    letter-spacing: 0.01em;
}

@keyframes dot {
    0% {
        transform: scale(1.00);
        opacity: 1;
    }

    50% {
        transform: scale(1.04);
        opacity: 0.89;
    }

    100% {
        transform: scale(1.00);
        opacity: 1;
    }
}

.about-dot:nth-child(1) {
    background-color: var(--white);
    z-index: 3;
    /* top: 0;
    right: 0; */
    top: 0;
    right: 32px;
    animation: dot 3s ease 1s infinite;
}

.about-dot:nth-child(2) {
    background-color: var(--green);
    z-index: 4;
    top: 187px;
    right: 254px;
    animation: dot 3s ease 1.3s infinite;
}

.about-dot:nth-child(3) {
    background-color: var(--blue);
    z-index: 3;
    top: 300px;
    right: 0px;
    animation: dot 3s ease 1.6s infinite;
}

.about-dot:nth-child(3) h2,
.about-dot:nth-child(3) p {
    color: var(--white);
}

/* rec */

.rec {
    padding-bottom: 100px;
}

.rec-inner p {
    line-height: 180%;
    font-size: 25px;
    font-weight: 500;
}



/* photo */

.photo {
    padding-bottom: 60px;
    padding-top: 60px;
}

.photo-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.photo-inner img {
    width: 40%;
    border-radius: 10px;
    height: 200px;
    object-fit: cover;
}

/* coments */

.coments {
    padding-top: 200px;
    background-image: url(../images/about-bg.png);
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
}

.coments-title {
    font-family: var(--oswald);
    font-weight: 600;
    font-size: 82px;
    line-height: 109%;
    letter-spacing: 0.01em;
    text-transform: uppercase;

    margin-bottom: 20px;
}

.coments-start {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 50px !important;
    height: 40px !important;
}

.swiper-button-prev {
    margin-right: 30px;
}

.coments-start div {
    display: flex;
    align-items: center;
}

.coments-item {
    padding: 15px;
    border-radius: 15px;
    position: relative;
    margin-top: 69px;
}

.coments-item h3 {
    margin-top: 40px;
    font-weight: 600;
    font-size: 20px;
    line-height: 109%;
    letter-spacing: 0.01em;
    margin-bottom: 10px;
    color: var(--white);
}

.coments-item p {
    font-weight: 600;
    font-size: 15px;
    line-height: 109%;
    letter-spacing: 0.01em;
    color: var(--white);
}

.coment-left {
    background-color: var(--blue);
    transform: rotate(-8deg);
    margin-bottom: 40px;
    margin-left: 30px;
    margin-right: 30px;
}

.coment-right {
    background-color: #525870;
    transform: rotate(8deg);
    margin-bottom: 40px;
    margin-right: 30px;
    margin-left: 30px;
}

.polygon-left {
    position: absolute;
    top: -30px;
    left: 25px;
    transform: rotate(10deg);
    width: 100px;
}

.photo-coment-left {
    position: absolute;
    top: -30px;
    right: 25px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.photo-coment-right {
    position: absolute;
    top: -30px;
    right: 25px;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
}

.polygon-right {
    position: absolute;
    top: -30px;
    left: 25px;
    transform: rotate(-50deg);
    width: 100px;
}
