@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500&display=swap');

html {
    background-color: #f0f0f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto';
    font-style: normal;
    color: #181818;
    font-weight: 400;
    font-size: 24px;
    max-width: 1280px;
    margin: 0 auto;
}


/* ===== HEADER ===== */
.header {
    background-image: url('../images/main.png');
    background-size: 1280px 700px;
    background-position: center;
    background-blend-mode: normal;

    width: 100%;
    min-height: 700px;  /* вся высота хедера */

    display: flex;
    flex-direction: column;  /* элементы друг под другом */
    position: relative;
}

/* Верхняя часть с меню (фиксированная высота 68px) */
.header-top {
    height: 68px;
    /* Полупрозрачный фон */
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(3px);

    /* Позиционирование */
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.nav-link {
    font-family: 'Jost', sans-serif;
    text-decoration: none;
    color: #666;
    font-size: 17px;
    line-height: 24px;
}

.email {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 110%;
    color: #161616;
}

.download-btn {
    font-family: 'Jost', sans-serif;
    color: white;
    border: none;
    padding: 8px 16px;
    background: #156FE2;
    border-radius: 50px;
    cursor: pointer;
}

/* ===== BLOCK-1 ===== */

.block-1 {
    background-image: url('../images/block_1.png');
    background-size: 1280px 800px;
    width: 100%;
    min-height: 800px;
}

.block-1-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 667px;
    min-height: 624px;
    padding: 60px 40px 0 40px;
}

.block-1-title {
    font-size: 36px;
    line-height: 44px;
    display: flex;
    align-items: center;
    color: #0751B8;
}

.block-1-icons {
    margin-top: 40px;
}

.block-1-text {
    margin-top: 40px;
    line-height: 32px;
}

/* ===== BLOCK-2 ===== */

.block-2 {
    background-image: url('../images/block_2.png');
    background-size: 1280px 800px;
    width: 100%;
    min-height: 800px;
}

.block-2-p1 {
    font-size: 45px;
    line-height: 52px;
    margin-top: 50px;
}

.block-2-p2 {
    font-size: 32px;
    line-height: 40px;
    color: #156FE2;
    margin-top: 60px;
}

.block-2-p3 {
    line-height: 32px;
    margin-top: 40px;
}

/* ===== BLOCK-3 ===== */

.block-3 {
    background-image: url('../images/block_3.png');
    background-size: 1280px 800px;
    width: 100%;
    min-height: 800px;
    margin-top: 20px;
}

.block-3-p1 {
    font-size: 32px;
    line-height: 40px;
    color: #156FE2;
    margin-top: 60px;
}

.block-3-p2 {
    line-height: 32px;
    margin-top: 40px;
}

.block-3-p3 {
    margin-top: 70px;
}

/* ===== BLOCK-4 ===== */

.block-4 {
    background-image: url('../images/block_4.png');
    background-size: 1280px 800px;
    width: 100%;
    min-height: 800px;
}

.block-4-p1 {
    font-size: 32px;
    line-height: 40px;
    color: #156FE2;
    margin-top: 30px;
}

.block-4-p2 {
    line-height: 32px;
    margin-top: 40px;
}

.block-4-ul {
    line-height: 32px;
    margin-top: 60px;
}

/* ===== BLOCK-5 ===== */

.block-5 {
    width: 100%;
    height: 756px;
    margin-top: 40px;
}

.block-5-div1 {
    font-size: 45px;
    line-height: 52px;
    height: 20%;
}

.block-5-div1 p {
    margin-top: 30px;
    margin-left: 30px;
}

.block-5-div2 {
    height: 60%;
}

.block-5-div3 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20%;
}

/* ===== BLOCK-6 ===== */

.block-6 {
    background-image: url('../images/block_6.png');
    background-size: 1280px 962px;
    width: 100%;
    height: 962px;
    margin-top: 30px;
}

.block-6-p1 {
    font-size: 45px;
    line-height: 52px;
    color: #CFA53A;
    margin-top: 60px;
}

.block-6-ul {
    line-height: 32px;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.block-6-but {
    width: 245px;
    height: 40px;
    padding: 10px 24px;
    margin-top: 40px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    box-shadow:
      0px 1px 2px rgba(0, 0, 0, 0.3),
      0px 1px 3px 1px rgba(0, 0, 0, 0.15);
      background-color: #fff;
      transition: box-shadow 0.2s ease-in-out;
}

.block-6-but:hover {
    box-shadow:
      0px 2px 4px rgba(0, 0, 0, 0.3),
      0px 2px 6px 2px rgba(0, 0, 0, 0.15);
}

.block-6-img {
    margin-top: 40px;
}

/* ===== BLOCK-7 ===== */

.block-7 {
    background-image: url('../images/block_7.png');
    background-size: 1280px 600px;
    width: 100%;
    height: 600px;
}

.card {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 36.6px -36.6px 36.6px rgba(170, 170, 170, 0.1), inset -36.6px 36.6px 36.6px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(23.55px);
    border-radius: 16px;
    max-width: 600px;
    padding: 0;
    transition: transform 0.2s ease;
}

.card:hover {
    transform: scale(1.01);
}

.title {
    font-family: 'Rubik';
    font-weight: 500;
    line-height: 28px;
    color: #ffffff;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    background: #0751B8;
    border-radius: 16px 16px 0 0;
    border: #0751B8;
    padding: 25px;
}

.subtitle {
    font-family: 'Jost';
    font-size: 16px;
    line-height: 22px;
    color: #ffffff;
}

.form-group {
    margin: 0 0 22px 0;
}

input, textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: 'Jost';
    font-size: 18px;
    line-height: 24px;
    color: black;
    transition: all 0.2s;
    outline: none;
    border: 1px solid #8D8D8D;
    border-radius: 8px;
}

input:focus, textarea:focus {
    border-color: #4f6af5;
    box-shadow: 0 0 0 4px rgba(79, 106, 245, 0.15);
}

input::placeholder, textarea::placeholder {
    font-family: 'Jost';
    font-size: 18px;
    line-height: 24px;
    color: #8D8D8D;
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.submit-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #156FE2;
    border-radius: 50px;
    color: white;
    border: none;
    padding: 16px 28px;
    font-family: 'Roboto';
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
    margin-top: 8px 22px;
    max-height: 48px;
}

.submit-btn:hover {
    background-color: #0751B8;
    box-shadow: 0 15px 30px -8px rgba(26, 30, 43, 0.3);
}

.submit-btn:active {
    transform: scale(0.98);
}

.agreement {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    margin-left: 15px;
    font-family: 'Jost';
    font-size: 12px;
    color: #181818;
    text-align: center;
    line-height: 14px;
    padding-bottom: 22px;
}

.agreement input {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 15px;
    height: 15px;
}

.agreement a {
    color: #156FE2;
    text-decoration: none;
    font-weight: 500;
}

.agreement a:hover {
    color: #0751B8;
}

/* ===== FOOTER ===== */

.copyright a {
    font-family: 'Jost';
    font-size: 12px;
    line-height: 14px;
    color: #161616;
    text-decoration: none;
}

.copyright a:hover {
    color: #0751B8;
}

