@import url(https://fonts.googleapis.com/css?family=Rubik:500);
@import url(https://fonts.googleapis.com/css?family=Montserrat:100,200,300,regular,500,600,700,800,900,100italic,200italic,300italic,italic,500italic,600italic,700italic,800italic,900italic);
@import url('./css-constants.css');


* {
    padding: 0;
    margin: 0;
    border: 0;
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

:focus,
:active {
    outline: none;
}

a:focus,
a:active {
    outline: none;
}

nav,
footer,
header,
aside {
    display: block;
}


html,
body {
    color: var(--text-color-main);
    height: 100%;
    width: 100%;
    font-size: 100%;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
}

input,
button,
textarea {
    font-family: inherit;
    resize: none;
}

input::-ms-clear {
    display: none;
}

button {
    cursor: poMontserrat;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

a,
a:visited {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

ul li {
    list-style: none;
}

img {
    vertical-align: top;
}


/*-----------------------------*/


::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-button {
    display: none;
}

::-webkit-scrollbar-thumb {
    background-color: var(--bg-color-main);
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--bg-color-main);
}

[class*=__container] {
    max-width: 1690px;
    padding: 0 15px;
    margin: 0 auto;
    overflow: hidden;
}

.no-scroll {
    overflow: hidden;
}

.wrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.btn {
    cursor: pointer;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--subtext-color);
    font-size: 18px;
    font-weight: 900;
    padding: 10px;
    width: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn a {
    color: var(--subtext-color);
    width: 100%;
}

.btn:hover {
    color: var(--text-color-main);
    background-color: var(--bg-color-main);
}

/*-----------------------------*/

/* Header section styles */
.header {
    background-color: var(--bg-color-main);
    height: 79px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;

    @media screen and (max-width: 767px) {
        height: 60px;
    }
}


.logo {
    display: flex;
    font-size: 24px;
    font-family: 'Montserrat';
    gap: 15px;
    font-weight: 900;
    justify-content: center;
    width: fit-content;
}

.logo p {
    color: var(--text-color-main);
}

.logo-icon {
    background-color: #4255FF;
    height: 30px;
    width: 30px;
}



.menu__link {
    cursor: pointer;
    display: flex;
    gap: 96px;
    font-family: 'Montserrat';
    font-size: 24px;
    font-weight: 500;
    color: var(--text-color-main);

    @media screen and (max-width: 1030px) {
        gap: 45px;
    }
}

.menu__links {
    display: flex;
    gap: 27.5px;
}

.menu__link:hover {
    color: #fffb00;
}

.menu__link.active {
    text-decoration: underline;
}

.header__container {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header__menu-burger {
    display: none;
    margin-left: auto;
    flex: 0 33%;
    max-width: 16px;
    height: 12px;
    cursor: poMontserrat;
    position: relative;
    z-index: 100;

    @media screen and (max-width: 1110px) {
        display: block;
    }
}

.header__menu-burger::after,
.header__menu-burger::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 1.8px;
    background-color: #fff;
    bottom: 0;
    left: 0;
    z-index: 3;
    transition: all .3s;
}

.header__menu-burger span {
    position: absolute;
    width: 16px;
    height: 1.4px;
    background-color: #fff;
    left: 0;
    top: 5px;

}

.header__menu-burger::after {
    content: '';
    top: 0;
}

.burger__menu_opened::after {
    transform: rotate(-45deg);
    top: 5.5px;
}

.burger__menu_opened::before {
    transform: rotate(45deg);
    bottom: 5px;
}

.burger__menu_opened span {
    display: none;

}

.header__burger {
    display: flex;
    position: absolute;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: calc(100dvh - 60px);
    z-index: 4;
    left: 0;
    top: -100dvh;
    background-color: var(--bg-color-main);
    transition: all 0.5s;
    opacity: 0;
}

.header__burger_open {
    top: 60px;
    opacity: 1;
}

.header__burger-list {
    text-align: center;
}

.header__burger-list li {
    margin-bottom: 30px;
    font-size: 25px;

}

.header__burger-link {
    color: var(--text-color-main);
    font-size: 18px;
    font-weight: 500;

}

.header__link {
    @media screen and (max-width: 1110px) {
        display: none;
    }
}

/* Main section styles */
.main {
    margin-top: 60px;
}

/* Introduction section */

.introduction__container {
    background-color: var(--bg-color-main);
    align-items: center;
    display: flex;
    gap: 40px;
    padding: 100px;
    max-width: none;
    width: 100%;

    @media screen and (max-width:1010px) {
        flex-direction: column;
        padding: 50px;
    }

    @media screen and (max-width: 767px) {
        flex-direction: column-reverse;
        gap: 10px;
        padding: 20px 10px;
    }
}

.introduction__body {
    position: relative;

    @media screen and (max-width:1010px) {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    a {
        width: 100% !important;
    }
}

.introduction__body,
.introduction__img {
    flex: 50%;
}

.introduction__body-title {
    font-size: 64px;
    font-weight: 900;
    max-width: 488px;

    @media screen and (max-width:1010px) {
        text-align: center;
    }

    @media screen and (max-width: 767px) {
        font-size: 32px;
    }
}

.introduction__body-subtitle {
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    margin-top: 30px;
    margin-bottom: 30px;

    @media screen and (max-width:1010px) {
        text-align: center;
    }

    @media screen and (max-width: 767px) {
        margin-bottom: 15px;
        margin-top: 15px;
        font-size: 18px;
        line-height: 22px;
    }
}

.introduction__btn {
    cursor: pointer;
    background-color: #fff;
    display: flex;
    color: var(--subtext-color);
    align-items: center;
    justify-content: center;
    font-size: 36px;
    height: 64px;
    width: 100%;
    max-width: 460px;
    border-radius: 10px;
    font-size: 36px;
    font-weight: 900;
    color: var(--subtext-color);
    text-transform: uppercase;

    @media screen and (max-width: 767px) {
        width: 100%;
    }
}

.introduction__btn:active {
    box-shadow: 3px 3px 5px 5px rgba(66, 68, 90, 1);
}

.introduction__img {
    img {
        object-fit: cover;
        width: 100%;
    }
}

/* Advantages section */

.advantages__container {
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    display: flex;
    margin-top: 100px;

    @media screen and (max-width: 767px) {
        margin-top: 90px;
    }
}

.advantages__card {
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 400px;
}

.advantages__card-header {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: var(--bg-color-main);
    padding: 13.5px;
    border-radius: 10px;
    font-size: 20px;
    text-transform: uppercase;
    font-weight: 700;
}

.advantages__card-description {
    font-size: 18px;
    font-weight: 500;
    color: var(--subtext-color);
}

/* Why section */

.why__container {
    text-align: center;
    margin-top: 120px;
}

.why__title {
    color: var(--subtext-color);
    font-size: 24px;
    font-weight: 700;
}

.why__items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.why__item {
    text-align: center;
    background-color: var(--bg-color-main);
    border-radius: 10px;
    padding: 10px;
    max-width: 540px;
    width: 100%;
    transition: transform 0.3s ease;
}

.why__item:hover {
    transform: scale(1.04);
}

.why__item-header {
    font-size: 32px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    display: flex;
    gap: 7px;
}

.why__item-title {
    font-size: 20px;
    font-weight: 500;
    margin-top: 5px;
}

.why__img {
    margin-top: 100px;
    object-fit: cover;
    max-width: 1100px;
    width: 100%;
}

/* Price section */

.price__container {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 23px;
}

.price__card {
    background-color: var(--bg-color-main);
    border-radius: 10px;
    padding: 10px;
    font-size: 18px;
    font-weight: 500;
    max-width: 400px;
    width: 100%;
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}


.price__card.visible {
    opacity: 1;
    transform: translateX(0);
}

.price__card-type {
    text-align: center;
}

.price__card-method {
    margin-top: 5px;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px auto;
    font-size: 32px;
    font-weight: 500;
    text-align: center;
    border-radius: 10px;
}

.price__card-services {
    margin: 20px 0;
}

.price__card-service {
    position: relative;
    padding-left: 20px;
}

.price__card-service:not(:last-child) {
    margin-bottom: 10px;
}

.price__card-service::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    background-color: #fff;
    height: 12px;
    width: 12px;
    border-radius: 50%;
}

.price__card-price {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 40px;
}

.price__card-premium {
    background: radial-gradient(188.81% 96.74% at 97.06% 98.63%, #38FCE4 0%, #1B4FD7 100%);
}

/* Contacts section */

.contacts__title {
    color: var(--subtext-color);
    margin: 0 10px 0 0;
    font-size: 40px;
    text-align: center;
}

.contacts__description {
    text-align: center;
    font-size: 14;
    font-weight: 700;
    color: var(--subtext-color);
}

.contacts__description-secondary {
    margin-top: 50px;
}

.contacts {
    margin: 160px 0 100px 0;
}

.contacts__container {
    display: flex;
    justify-content: center;
}

.contacts__wrapper {
    color: var(--text-color-main);
    max-width: 540px;
    width: 100%;
}

.contacts__title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.contact__form {
    position: relative;
    background-color: var(--bg-color-main);
    padding: 40px;
    border-radius: 10px;
    margin-top: 50px;
}

.contact__form-item {
    display: flex;
    gap: 5px;
    flex-direction: column;
    width: 100%;
    max-height: 90px;
}

.contact__form-inputs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;

    @media screen and (max-width: 767px) {
        flex-direction: column;
    }
}

.message-complete {
    background-color: #fff;
    box-shadow: 8px 8px 24px 14px rgba(66, 68, 90, 1);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    display: none;
    position: absolute;
    top: 50%;
    font-size: 20px;
    font-family: 'Rubik';
    font-weight: 700;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
}

.contact__form-label {
    color: var(--subtext-color);
}

.input {
    color: var(--text-color-main);
    background-color: var(--bg-color-main);
    padding: 10px 12px;
    border: 1px solid #fff;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
}

.input::placeholder {
    color: var(--text-color-main);
}

.contacts__info {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact__form-contacts {
    margin-top: 16px;
    justify-content: center;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    line-height: 15.8px;
    font-size: 13px;

}

/* FAQ sectin */

.faq {
    margin-top: 100px;

    @media screen and (max-width: 767px) {
        margin-top: 50px;
    }
}

.faq__container {
    background-color: var(--bg-color-main);
    max-width: none;
    width: 100%;
}

.faq__title {
    text-align: center;
    color: var(--subtext-color);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
}

.faq__accordion {
    display: flex;
    gap: 10px;
    flex-direction: column;
    padding: 40px;
    margin: auto;
    max-width: 860px;
    width: 100%;

    @media screen and (max-width: 767px) {
        padding: 40px 5px;
    }
}

.faq__accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background-color: var(--bg-color-tertiary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.faq__accordion-header__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color-main);
    text-transform: uppercase;
    width: 90%;
}

.faq__accordion-content__text {
    color: var(--text-color-main);
    font-size: 16px;
    line-height: 19.5px;
    width: 90%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq__accordion-content.open .faq__accordion-content__text {
    opacity: 1;
}

.faq__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.1s ease-out 0.2s, visibility 0.1s ease-out 0.2s;
    opacity: 0;
    visibility: hidden;
    padding: 0 15px;
}

.faq__accordion-content.open {
    background-color: var(--bg-color-tertiary);
    height: auto;
    padding: 12px 12px 30px 12px;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out, opacity 0.1s ease-out 0.2s, visibility 0.1s ease-out 0.2s;
}

.faq__accordion-header__icon {
    background-color: #fff;
    width: 30px;
    height: 30px;
    position: relative;
    border-radius: 50%;
}

.faq__accordion-header__icon::before,
.faq__accordion-header__icon::after {
    content: '';
    position: absolute;
    background-color: var(--subtext-color);
    left: 50%;
    top: 50%;
    height: 3px;
    width: 15px;
    transform: translate(-50%, -50%);
}

.faq__accordion-header__icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.faq__accordion-header.open .faq__accordion-header__icon::before {
    transform: translate(-50%, -50%) rotate(0deg);
}

/* About section */

.about {
    margin-top: 100px;
}

.about__wrapper {
    margin: auto;
    background-color: var(--bg-color-main);
    padding: 30px 60px;
    display: flex;
    gap: 30px;
    color: var(--text-color-main);
    border-radius: 10px;
    max-width: 1100px;
    width: 100%;

    @media screen and (max-width: 767px) {
        flex-wrap: wrap;
    }
}

.about__block-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.about__block-description {
    font-size: 16px;
    line-height: 19.5px;
    font-weight: 500;
}

/* Partners section */

.partners {
    margin: 120px 0;

    @media screen and (max-width: 767px) {
        margin: 90px 0;
    }
}

.partners__container {
    @media screen and (max-width: 767px) {
        max-width: none;
        padding: 0;
    }
}

.partners__wrapper {
    align-items: center;
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    border-radius: 10px;
    padding: 20px;
    margin: 0 auto;
    background-color: var(--bg-color-main);
    width: 540px;

    @media screen and (max-width: 767px) {
        border-radius: 0;
        width: 100%;
    }
}

.partners__list {
    align-items: center;
    display: flex;
    gap: 20px;

    @media screen and (max-width: 450px) {
        flex-direction: column;
    }
}

.partners__age {
    width: 100%;
}

/* Footer */

.footer {
    padding: 40px 30px;
    background-color: var(--bg-color-main);
    color: var(--text-color-main);
}

.footer-navigation__container {
    align-items: flex-start;
    display: flex;
    gap: 50px;
    justify-content: space-between;
    width: 100%;
    height: 100%;

    @media screen and (max-width: 1160px) {
        flex-wrap: wrap;
    }

    @media screen and (max-width:900px) {
        flex-direction: column-reverse;
        gap: 40px;
        justify-content: flex-start;
        padding: 0;
    }
}

.footer__description {
    margin: auto;
}

.footer__description-text {
    font-size: 18px;
    font-weight: 500;
    font-family: 'Rubik';
    text-align: center;
    max-width: 868px;
    width: 100%;

    @media screen and (max-width:900px) {
        text-align: start;
    }
}

.footer__body {
    gap: 100px;
    display: flex;

    @media screen and (max-width:860px) {
        margin-bottom: 30px;
    }
}

.footer__body-title {
    font-size: 24px;
    font-weight: 800;
    text-wrap: nowrap;
    margin-bottom: 30px;
}

.footer__description-logo {
    justify-content: flex-start;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Rubik';
}

.footer-navigation {
    display: flex;
    gap: 15px;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    background-color: var(--bg-color-tertiary);
}

.footer__links {
    @media screen and (max-width: 900px) {
        flex-direction: column;
        gap: 15px;
    }
}

.footer__copyright {
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    font-family: 'Rubik';

    @media screen and (max-width: 767px) {
        padding-inline: 15px;
        text-align: start;
    }
}

/* Contacts Page */


.map {
    width: 100%;
}

/* Secondary pages styles */

.secondary__container {
    margin-top: 160px;
    margin-bottom: 120px;
    max-width: 890px;
    color: var(--subtext-color);

    @media screen and (max-width: 767px) {
        margin-top: 80px;
        margin-bottom: 60px;
    }
}

.secondary__title {
    margin: 35px 20px 50px 20px;
    font-size: 40px;
    text-align: center;

    @media screen and (max-width: 767px) {
        font-size: 32px;
        margin: 15px 10px 20px 10px;
    }
}

.secondary__image {
    object-fit: cover;
    width: 100%;
}

.secondary__text {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;

    @media screen and (max-width: 767px) {
        font-size: 18px;
    }
}

.secondary__list {
    margin: 10px 0;
}

.secondary__list li {
    position: relative;
    padding-left: 20px;
}

.secondary__list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1em;
    line-height: 1em;
}


.secondary__text:not(:last-child) {
    margin-bottom: 10px;
}

.highlight-text {
    font-weight: 900;
}