@font-face {
    font-family: 'Inter';
    src: url("./assets/fonts/Inter.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    font-family: 'Inter', sans-serif;
}

.header {
    width: 100%;
    height: 55px;

    background-color: #eaeaea;
}

.header-content {
    width: 100%;
    max-width: 1200px;
    height: 100%;

    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* Логотип */

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img {
    width: 40px;
    height: 40px;

    border-radius: 8px;
}

.logo-text {
    margin: 0 0 0 5px;
    font-size: 20px;
}

/* Навигация */

.navbar {
    display: flex;
    align-items: center;

    margin-left: 150px;
    gap: 30px;
}

.navbar a {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

/* Кнопка */

.login-button {
    margin-left: 150px;

    padding: 8px 20px;

    color: white;
    background-color: #567cee;

    border-radius: 8px;
    text-decoration: none;

    white-space: nowrap;

    transition: background-color 0.2s ease;
}

.login-button:hover {
    background-color: #4669d1;
}


/* ========================= */
/*       МОБИЛЬНАЯ ВЕРСИЯ    */
/* ========================= */

@media (max-width: 900px) {

    .header {
        height: auto;
    }

    .header-content {
        padding: 15px 20px;

        flex-direction: column;
        gap: 20px;
    }

    .navbar {
        margin-left: 0;
        gap: 25px;
    }

    .login-button {
        margin-left: 0;
    }
}

.hero {
    width: 100%;
    min-height: 470px;

    position: relative;

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.65),
            rgba(0, 0, 0, 0.65)
        ),
        url("./assets/images/hero.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    min-height: 470px;

    margin: 0 auto;
    padding: 40px 20px;

    box-sizing: border-box;

    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 600px;

    color: white;
}

.hero-subtitle {
    margin: 0 0 10px;

    font-size: 16px;
    font-weight: 400;

    opacity: 0.7;
}

.hero h2 {
    margin: 0;

    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.hero-description {
    margin: 10px 0 25px;

    font-size: 21px;
    line-height: 1.3;
}

.hero-features {
    margin: 0 0 30px;
    padding-left: 20px;

    font-size: 17px;
    line-height: 1.4;
}

.hero-button {
    display: inline-block;

    padding: 14px 22px;

    color: white;
    background-color: #567cee;

    border-radius: 10px;

    font-size: 17px;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hero-button:hover {
    background-color: #4669d1;
    transform: translateY(-1px);
}

.offers {
    width: 100%;
    padding: 45px 20px 60px;

    box-sizing: border-box;

    background-color: #eaeaea;
}

.section-title {
    margin: 0 0 40px;

    text-align: center;

    font-size: 32px;
    line-height: 1.2;
}

/* Карточки */

.offers-list {
    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.offer-card {
    min-height: 170px;

    padding: 18px;

    box-sizing: border-box;

    display: flex;
    align-items: flex-start;
    gap: 12px;

    background-color: white;

    border-radius: 14px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.offer-card img {
    width: 38px;
    height: 38px;

    flex-shrink: 0;
}

.offer-content {
    flex: 1;
}

.offer-content h3 {
    margin: 0;

    min-height: 42px;

    font-size: 18px;
    line-height: 1.15;
}

.offer-content p {
    margin: 18px 0 0;

    font-size: 15px;
    line-height: 1.25;
}

@media (max-width: 900px) {

    .offers {
        padding: 30px 20px 50px;
    }

    .section-title {
        margin-bottom: 30px;

        font-size: 25px;
    }

    .offers-list {
        grid-template-columns: 1fr;

        gap: 30px;

        max-width: 400px;
    }

    .offer-card {
        min-height: 145px;

        padding: 18px;
    }

    .offer-card img {
        width: 38px;
        height: 38px;
    }

    .offer-content h3 {
        min-height: 44px;
        font-size: 19px;
    }

    .offer-content p {
        margin-top: 16px;
        font-size: 15px;
    }
}

.how-it-works {
    width: 100%;
    padding: 0 20px 60px;
    box-sizing: border-box;

    background-color: #eaeaea;
}

.steps {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;

    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;

    flex-shrink: 0;
}

.step-number {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: white;
    border-radius: 50%;

    font-size: 22px;
    font-weight: 700;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.step-card {
    width: 150px;
    min-height: 105px;

    margin-top: 10px;
    padding: 12px;

    box-sizing: border-box;

    background-color: white;
    border-radius: 14px;

    text-align: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.step-card h3 {
    margin: 0;

    font-size: 16px;
}

.step-card p {
    margin: 12px 0 0;

    font-size: 15px;
    line-height: 1.2;
}

.step-line {
    width: 130px;
    height: 1px;

    margin-top: 25px;

    background-color: #000;
}

@media (max-width: 900px) {

    .how-it-works {
        padding: 10px 20px 50px;
    }

    .steps {
        max-width: 400px;

        display: flex;
        flex-direction: column;
        align-items: center;

        gap: 30px;
    }

    .step-number,
    .step-line {
        display: none;
    }

    .step {
        width: 100%;

        display: flex;
        align-items: center;
    }

    .step-card {
        width: 160px;
        min-height: 100px;

        margin-top: 0;

        padding: 12px;
    }

    .step-card h3 {
        font-size: 17px;
    }

    .step-card p {
        margin-top: 15px;

        font-size: 16px;
    }
}
.faq {
    width: 100%;
    padding: 10px 20px 70px;
    box-sizing: border-box;

    background-color: #eaeaea;
}

.faq-list {
    width: 100%;
    max-width: 620px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-card {
    padding: 18px 28px;

    background-color: white;
    border-radius: 12px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.faq-card h3 {
    margin: 0;

    font-size: 18px;
    line-height: 1.2;
}

.faq-card p {
    margin: 18px 0 0;

    font-size: 18px;
    line-height: 1.25;
}

@media (max-width: 900px) {

    .faq {
        padding: 10px 20px 50px;
    }

    .faq-list {
        max-width: 400px;
        gap: 25px;
    }

    .faq-card {
        padding: 15px 18px;
    }

    .faq-card h3 {
        font-size: 15px;
    }

    .faq-card p {
        margin-top: 12px;

        font-size: 15px;
    }
}

/* ========================= */
/*       ЗАИНТЕРЕСОВАЛИСЬ    */
/* ========================= */

.cta {
    width: 100%;
    padding: 20px 20px 60px;

    box-sizing: border-box;

    background-color: #eaeaea;

    text-align: center;
}

.cta h2 {
    margin: 0;

    font-size: 28px;
}

.cta p {
    margin: 5px 0 20px;

    font-size: 18px;
}

.cta-button {
    display: inline-block;

    padding: 14px 22px;

    color: white;
    background-color: #567cee;

    border-radius: 10px;

    font-size: 17px;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #4669d1;
}


/* ========================= */
/*          КОНТАКТЫ         */
/* ========================= */

.contacts {
    width: 100%;
    padding: 0 20px 70px;

    box-sizing: border-box;

    background-color: #eaeaea;

    text-align: center;
}

.contacts h2 {
    margin: 0;

    font-size: 28px;
    font-weight: 400;
}

.contacts p {
    margin: 5px 0 20px;

    font-size: 18px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.contact-link {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: white;
    border-radius: 10px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

    transition: transform 0.2s ease;
}

.contact-link:hover {
    transform: translateY(-2px);
}

.contact-link img {
    width: 32px;
    height: 32px;
}


/* ========================= */
/*           FOOTER           */
/* ========================= */

.footer {
    width: 100%;

    background-color: #000;
    color: white;
}

.footer-content {
    max-width: 1200px;

    margin: 0 auto;
    padding: 18px 20px;

    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer p {
    margin: 0 0 2px;

    font-size: 13px;
}

.footer a {
    color: white;

    font-size: 13px;

    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {

    .cta {
        padding: 10px 20px 50px;
    }

    .cta h2 {
        font-size: 22px;
    }

    .cta p {
        font-size: 14px;
    }

    .cta-button {
        padding: 12px 18px;
        font-size: 15px;
    }


    .contacts {
        padding-bottom: 55px;
    }

    .contacts h2 {
        font-size: 22px;
    }

    .contacts p {
        font-size: 14px;
    }

    .contact-links {
        gap: 20px;
    }


    .footer-content {
        padding: 10px 10px;

        gap: 5px;
    }

    .footer p,
    .footer a {
        font-size: 10px;
    }
}

.bonuses {
    width: 100%;

    padding: 45px 20px 60px;

    box-sizing: border-box;

    background-color: #eaeaea;
}

.bonuses-list {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 30px;
}

.bonus-card {
    min-height: 180px;

    padding: 25px;

    display: flex;
    align-items: center;

    gap: 25px;

    background-color: white;

    border-radius: 14px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bonus-amount {
    flex-shrink: 0;

    font-size: 32px;
    line-height: 1;

    font-weight: 700;
}

.bonus-content {
    flex: 1;
}

.bonus-content h3 {
    margin: 0;

    font-size: 20px;
    line-height: 1.2;
}

.bonus-content p {
    margin: 14px 0 0;

    font-size: 15px;
    line-height: 1.4;

    color: #444;
}

@media (max-width: 900px) {

    .bonuses {
        padding: 30px 20px 50px;
    }

    .bonuses-list {
        grid-template-columns: 1fr;

        gap: 30px;

        max-width: 400px;
    }

    .bonus-card {
        min-height: 145px;

        padding: 20px;

        gap: 18px;
    }

    .bonus-amount {
        font-size: 28px;
    }

    .bonus-content h3 {
        font-size: 19px;
    }

    .bonus-content p {
        margin-top: 12px;

        font-size: 15px;
    }
}