@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --color-main: #ffffff;
    --color-background: #f8fafc;
    --color-background-second: #dcecff;
    --color-text: #0f172a;
    --color-accent: #4896ff;
    --color-text-second: #64748b;
    --border-color: #e2e8f0;
    --gradient-main: #4896ff;
    --gradient-second: #67e9eb;
    --border-radius: 8px;
    --box-shadow: 0 12px 30px rgba(15, 23, 42, .09);
    --btn-border-radius: 9px;
    --h1-size-main: clamp(40px, 4.2vw, 64px);
    --form-background: rgba(255, 255, 255, .74);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #f8fafc;
    color: #0f172a;
    font-family: Manrope, Arial, sans-serif;
    overflow-x: hidden;
}

.container, .header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: 32px;
}

h1, h2, h3, .logo-text {
    letter-spacing: -.035em;
}

.header {
    background: rgba(248, 250, 252, .5);
    border-bottom: 1px solid rgba(226, 232, 240, .75);
    backdrop-filter: blur(5px);
    padding: 0;
}

.header-content {
    min-height: 72px;
}

.header-content_logo, .footer-logo {
    gap: 0;
}

.header-content_logo .logo-icon, .footer-logo .logo-icon {
    width: 142px;
    max-width: none;
    height: auto;
}

.header-content_logo .logo-icon img, .footer-logo .logo-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.header-content_logo .logo-text, .footer-logo .logo-text {
    display: none !important;
}

.header-content_nav {
    gap: 28px;
}

.language-dropdown {
    display: none !important;
}

.nav-link {
    color: #475569;
    font-weight: 500;
}

.nav-link.active {
    color: #887cfc;
    font-weight: 700;
}

.nav-link::after {
    background: #887cfc;
}

.nav-link.active:not(:hover)::after {
    width: 0;
}

.page-home .nav-link[href="index.html"], .page-about .nav-link[href="about.html"], .page-contact .nav-link[href="contact.html"] {
    color: #887cfc;
    font-weight: 700;
}

.btn-register, .btn_submit {
    background: linear-gradient(105deg, #4896ff 0%, #67e9eb 100%);
    box-shadow: none;
    font-weight: 700;
}

.btn-register {
    border-radius: 9px;
    padding: 12px 24px;
}

.intro {
    padding: 72px 0 64px;
    border-radius: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.page-home > .intro:first-of-type {
    background-image: url('../img/bg-index-header.webp');
}

.page-about > .intro:first-of-type {
    background-image: url('../img/about-bg-header.webp');
}

.page-contact > .intro:first-of-type {
    background-image: url('../img/contact-bg-header.webp');
}

.intro_block {
    gap: 80px;
    min-height: 430px;
}

.intro_content {
    max-width: 650px;
}

.intro_title {
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 24px;
}

.intro_description {
    color: #64748b;
    opacity: 1;
    font-size: 17px;
    line-height: 1.65;
}

.intro_features {
    gap: 14px 28px;
}

.intro_features li {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 600;
}

.intro_features svg {
    flex: 0 0 22px;
    padding: 3px;
    border-radius: 3px;
    background: #67e9eb;
    width: 22px;
    height: 22px;
}

.intro_form {
    max-width: 440px;
}

.form_card {
    padding: 34px 32px;
    background: rgba(248, 250, 252, .1);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 10px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, .13);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.form_title {
    font-size: 22px;
    font-weight: 800;
}

.form_body {
    gap: 12px;
}

.form_group input {
    min-height: 50px;
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
}

.btn_submit {
    min-height: 52px;
    border-radius: 8px;
}

.form_privacy {
    color: #64748b;
    opacity: 1;
}
.form_privacy a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.form_privacy a:hover,
.form_privacy a:focus-visible {
    color: #4896ff;
}

.list-block, .cards, .numbre, .textimg, .text-block, .image-block, .cols {
    padding-block: 70px;
}

.list-block_title, .cards_title, .numbre_title, .cols_title, .textimg_title, .faq_title {
    color: #0f172a;
    font-size: clamp(34px, 3.2vw, 50px);
    font-weight: 800;
    line-height: 1.15;
}

.list-block_title, .cards_title, .numbre_title, .cols_title, .faq_title {
    text-align: center;
}

.cards_subtitle {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.list-block_items {
    align-items: stretch;
    gap: 24px;
}

.list-block_list {
    gap: 14px;
}

.list-block_item {
    background: linear-gradient(105deg, #67e9eb 0%, #4896ff 100%);
    border-left: 4px solid #887cfc;
    border-radius: 9px;
    padding: 20px 22px;
    box-shadow: none;
}

.list-block_number {
    background: #887cfc;
    color: #fff;
}

.list-block_item-title {
    color: #0f172a;
    font-weight: 800;
}

.list-block_item-desc {
    color: #18324f;
}

.list-block_img {
    border-radius: 9px;
    overflow: hidden;
}

.list-block_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.numbre_grid {
    background: linear-gradient(180deg, #9fcaff 0%, #efffff 100%);
    border-radius: 8px;
    overflow: hidden;
    gap: 0;
}

.numbre_item {
    border: 0;
    background: transparent;
    text-align: center;
    padding: 28px;
}

.numbre_number {
    color: #0f172a;
    font-size: clamp(32px, 3vw, 48px);
    font-weight: 800;
}

.numbre_label {
    color: #334155;
}

.calc-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #4896FF 100%);
    padding-block: 34px 60px;
}

.calc-section__container > h2, .calc-section__container > p {
    color: #0f172a !important;
}

.calc-form, .calc-results__final, .calc-results__profit {
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(36, 95, 180, .12);
    background-color: #eeffff;
}

.calc-results__final {
    background: linear-gradient(120deg, #4896ff, #67e9eb);
}

.image-block_container {
    background: url('../img/technology.webp') center/cover no-repeat !important;
    border-radius: 9px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

.cards_block {
    gap: 20px;
}

.card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .05);
}

.card_img {
    background: linear-gradient(135deg, #67e9eb, #4896ff);
    border-radius: 5px;
}

.card_text_head {
    color: #0f172a;
    font-weight: 800;
}

.card_text_text {
    color: #64748b;
}

.text-block {
    padding-block: 18px 55px;
}

.text-block_items {
    /*border-left: 3px solid #4896ff;*/
}

.text-block_items_element {
    padding-left: 18px;
}

.text-block_items_head {
    font-weight: 800;
}

.page-home > .intro:nth-of-type(9) {
    background: #fff;
}

.faq {
    padding: 52px 0 65px;
    background: url('../img/footer-bg.webp') center/cover no-repeat;
}

.faq_list {
    max-width: 900px;
    margin: 26px auto 0;
}

.faq_item {
    border: 1px solid #67e9eb;
    background: rgba(255, 255, 255, .9);
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}

.cols {
    background: url('../img/about-section-bg.webp') center/cover no-repeat;
}

.cols_block_element {
    background: #EEFFFF;
    border: 3px solid #E2E8F0;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .07);
}

.textimg_wrapper {
    gap: 54px;
    align-items: center;
}

.textimg_text {
    color: #64748b;
    line-height: 1.7;
}

.textimg_image img {
    border-radius: 8px;
    /*box-shadow: 0 12px 34px rgba(15, 23, 42, .09);*/
}

.page-contact .intro_content {
    max-width: 560px;
}

.page-contact .list-block {
    padding-block: 60px 80px;
}

.footer {
    margin-top: 0;
    padding: 48px 0 24px;
    border-top: 1px solid #67e9eb;
    background: linear-gradient(180deg, #F9FAFC 0%, #4896FF 128.83%);
}

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

.footer-tagline, .footer-disclaimer, .footer-nav ul li a, .footer-legal ul li a, .footer-bottom {
    color: #0f172a;
}

@media (max-width: 1024px) {
    .intro_block {
        gap: 42px;
        min-height: auto;
    }

    .intro_form {
        width: min(100%, 560px);
    }

    .list-block_items {
        flex-direction: column;
    }

    .list-block_img {
        min-height: 320px;
    }
}

@media (max-width: 660px) {
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .header-content_btns {
        margin-left: auto;
    }

    .burger-btn {
        display: flex !important;
        margin-left: 0;
    }

    .container, .header-container {
        padding-inline: 18px;
    }

    .header-content {
        min-height: 64px;
    }

    .header-content_logo .logo-icon {
        width: 118px;
    }

    .intro {
        padding: 44px 0;
        background-position: 58% center;
    }

    .intro_block, .intro_content, .intro_form {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .intro_block {
        align-items: stretch;
        gap: 34px;
    }

    .intro_title {
        font-size: clamp(30px, 8.7vw, 34px);
    }

    .intro_title, .intro_description, .list-block_title, .cards_title, .cards_subtitle, .numbre_title {
        overflow-wrap: anywhere;
    }

    .intro_features {
        grid-template-columns: 1fr;
    }

    .intro_features li, .list-block_content {
        min-width: 0;
    }

    .form_card {
        padding: 26px 18px;
    }

    .list-block, .cards, .numbre, .textimg, .text-block, .image-block, .cols {
        padding-block: 48px;
    }

    .list-block_title, .cards_title, .numbre_title, .cols_title, .textimg_title, .faq_title {
        font-size: 30px;
    }

    .numbre_grid {
        grid-template-columns: 1fr;
    }

    .numbre_item {
        border-bottom: 1px solid rgba(255, 255, 255, .55);
    }

    .cards_block {
        grid-template-columns: 1fr;
    }

    .list-block_items, .list-block_list, .list-block_img, .list-block_item {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .list-block_img {
        min-height: 220px;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}
