/* styles.css */
:root {
    --primary-color: #31D041;
    --secondary-color: #AF57AE;
    --text-color: #3E3E3E;
    --font-family: Gotham Pro, Arial, sans-serif;
}

body {
    font-family: Gotham Pro, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #3E3E3E;
    min-width: auto;
    overflow-x: hidden;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 25px;
    font-weight: bold;
    gap: 5px;
    color: #000;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    overflow-x: hidden;
}

a {
    color: #3E3E3E;
}

a:hover {
    color: #673CCC;
}

.section-gray {
    background: #f2e3f2;
}

.section-welcome {
    padding-top: 50px;
    background: linear-gradient(137deg, #31D041 0%, #71CD7A 100%);
}

.notice-block {
    background: #fff4e5; /* мягкий фон */
    border: 1px solid #ffd699;
    padding: 30px 20px;
    margin-top: 20px;
    text-align: center;
    border-radius: 8px;
}

.notice-block h2 {
    color: #cc6600;
    margin-bottom: 15px;
}

.notice-block p {
    max-width: 800px;
    margin: 0 auto 10px;
    color: #333;
    line-height: 1.6;
}


.section-welcome__block h1 {
    font-size: 40px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    color: white;
}

.section-welcome__block > span {
    display: block;
    font-size: 20px;
    font-weight: 300;
    width: 100%;
    max-width: 700px;
    margin: 0;
    margin-top: 20px;
    color: white;
}

.section-welcome__content {
    display: flex;
    gap: 50px;
}

.section-welcome__content img {
    width: 100%;
    max-width: 500px;
}

.section-welcome__calculator {
    width: 50%;
    margin-top: 40px;
}

.calculator {
    color: white;
    user-select: none;
}

.calculator__request-money-link {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    width: 270px;
    background: #AF57AE;
    margin-top: 60px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 300;
    transition: background-color .1s;
}

.calculator__request-money-link:hover {
    background: #ad4cab;
    color: white;
}

.calculator__guarantee-text {
    margin-top: 50px;
    font-weight: 300;
}

.calculator-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calculator-item__title {
    font-weight: bold;
    font-size: 20px;
}

.calculator-item__amount {
    font-weight: bold;
    font-size: 30px;
}

.calculator-item__values {
    display: flex;
    justify-content: space-between;
    font-weight: 300;
    font-size: 14px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.calculator-slider {
    padding: 10px 0;
}

.calculator-slider__line {
    height: 6px;
    background: #FFFFFF;
    border-radius: 10px;
}

.calculator-slider__progress {
    width: 50%;
    height: 100%;
    background: #AF57AE;
    position: relative;
    border-radius: 10px;
}

.calculator-slider__progress::after {
    content: '';
    position: absolute;
    right: -15px;
    top: -12px;
    width: 30px;
    height: 30px;
    background: #AF57AE;
    border-radius: 50%;
}

.section-timer {
    padding: 70px 0;
}

.section-timer__block {
    background: #AF57AE;
    border-radius: 0 50px 0 50px;
    color: white;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.10);
}

.section-timer__block h2 {
    margin: 0;
    font-weight: lighter;
    font-size: 40px;
}

.section-timer__text .percent {
    font-weight: 700;
}

.section-timer__text .percent-number {
    font-size: 60px;
}

.section-timer__block span {
    font-weight: 700;
    font-size: 30px;
}

.section-timer__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 15px 0 35px 60px;
}

.section-timer__timer {
    display: flex;
    align-items: center;
    padding: 0 50px;
    font-size: 100px;
    background: #31D041;
    padding: 25px 0;
    padding-left: 60px;
    border-radius: 0 50px 0 50px;
    font-weight: 500;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.10);
    width: 320px;
}

.section-steps {
    padding-bottom: 90px;
    padding-top: 60px;
}

.section-steps__block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-steps__block h2 {
    font-size: 40px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 10px;
}

.section-steps__steps {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    gap: 30px;
    width: 100%;
}

.section-steps-stepItem {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    width: 220px;
    height: 190px;
}

.section-steps-stepItem__number {
    display: flex;
    justify-content: center;
    align-items: center;

    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;

    color: white;
    font-size: 30px;
    font-weight: bold;
    background: #31D041;
    border-radius: 0 50% 0 50%;
}

.section-steps-stepItem__image {
    width: 83px;
}

.section-steps-stepItem__name {
    font-weight: 700;
    font-size: 20px;
    margin-top: 25px;
}


header {
    display: flex;
    justify-content: space-between;
    text-align: center;
    padding: 15px 0;
}



footer {
    color: #fff;
    background: #F9F9F9;
    text-align: center;
    padding: 45px 0;
    overflow-x: hidden;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-top-block {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    width: 100%;
}

.footer-payment-systems {
    display: flex;
    align-items: center;
    gap: 25px;
}

.footer-company {
    display: flex;
    align-items: center;
}

.footer-company__name {
    color: #ACACAC;
}

.section-instant-loan {
    background: url('../img/akvarius/instant-background.png') no-repeat center #31D041;
    padding: 100px 0;
    color: #fff;
}

.section-instant-loan__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
}

.section-instant-loan__block h1 {
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    max-width: 600px;
}

.section-instant-loan__block span {
    font-size: 30px;
    max-width: 850px;
    font-weight: 300;
}

.section-instant-loan__block a {
    padding: 30px 70px;
    font-weight: bold;
    font-size: 30px;
    color: #3E3E3E;
    border: none;
    cursor: pointer;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
    text-decoration: none;
}

.section-instant-loan__block a:hover {
    background: #F2E3F2;
}

.section-about__block {
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    gap: 30px;
}

.section-about__block h2 {
    text-transform: uppercase;
    font-size: 30px;
    margin: 0;
}

.section-about__block span {
    line-height: 28px;
    display: block;
}

.section-documents__block {
    display: flex;
    flex-direction: column;
    padding: 60px 0;
    gap: 30px;
}

.section-documents ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    list-style-type: none;
    padding: 0;
}

.section-documents__block h2 {
    text-transform: uppercase;
    font-size: 30px;
    margin: 0;
}

.divider {
    height: 55px;
    width: 1px;
    margin: 0 20px;
    background: #ACACAC;
}

.section-company-info {
    padding: 50px 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.section-company-info span {
    display: block;
}


@media (max-width: 1200px) {
    .container {
        width: 90%;
    }

    .section-welcome__block h1 {
        font-size: 32px;
    }

    .section-welcome__block > span {
        width: 100%;
    }

    .section-welcome__content {
        flex-direction: column;
        align-items: center;
    }

    .section-welcome__content img {
        width: 80%;
    }

    .section-welcome__calculator {
        width: 100%;
    }
}

.burger-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0 15px;
}

nav li {
    display: inline;
    margin-right: 20px;
    margin-left: 20px;
}

nav a {
    text-decoration: none;
}




@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .section-welcome__block h1 {
        font-size: 28px;
    }

    .section-welcome__block > span {
        font-size: 16px;
        width: 100%;
    }

    .section-welcome__content {
        flex-direction: column;
        align-items: center;
    }

    .section-welcome__content img {
        width: 100%;
        max-width: 500px;
    }

    .section-welcome__calculator {
        width: 100%;
    }

    .section-timer__block {
        flex-direction: column;
        text-align: center;
    }

    .section-timer__text {
        padding: 15px 20px;
    }

    .section-timer__timer {
        width: 100%;
        font-size: 50px;
    }

    .section-steps__steps {
        flex-direction: column;
        align-items: center;
    }

    .section-steps-stepItem {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-top-block {
        flex-direction: column;
        align-items: center;
    }

    .footer-payment-systems {
        margin-top: 20px;
    }

    .burger-menu {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    nav ul li {
        margin: 0;
        padding: 10px 20px;
        border-bottom: 1px solid #eee;
    }

    nav ul li a {
        color: #3E3E3E;
        text-decoration: none;
    }

    nav ul li a:hover {
        color: #673CCC;
    }

    nav ul.active {
        display: flex;
    }
}

/* Медиазапрос для экранов меньше 480px */
@media (max-width: 480px) {
    .section-welcome__block h1 {
        font-size: 24px;
    }

    .section-welcome__block > span {
        font-size: 16px;
    }

    .section-instant-loan__block h1 {
        font-size: 30px;
    }

    .section-instant-loan__block span {
        font-size: 18px;
    }

    .section-instant-loan__block a {
        padding: 20px 40px;
        font-size: 20px;
    }

    .section-timer__block h2 {
        font-size: 24px;
    }

    .section-timer__block span {
        font-size: 20px;
    }

    .section-timer__timer {
        font-size: 40px;
        padding: 10px;
    }
}