h1 {
    color: #ffffff;
    margin-bottom: 0;
}
h2{
    text-align: center;
    margin-bottom: 2.8rem;
    margin-top: 0.62rem;
}
h1 span {
    color: #333333;
}

section, section.container {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
}

.home-hero .sub-title {
    line-height: 1.2;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: underline;
    color: #333333;
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 1.25rem;
}
.home-hero .sub-title:after {
    content: "";
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: url(/frontend/theme/assets/images/right-arrow.svg) no-repeat center center;
    line-height: 1;
    margin: 0 0 0 0.625rem;
    transform: translateY(0.625rem);

}
.free-banner {
    padding-top: 1rem;
    padding-bottom: 1rem;
}
.free-banner .banner{
    background: #F5F4BF;
    padding: 1rem 1rem;
    margin: 1.8rem auto 1.8rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 0.5rem;
}
.free-banner .banner .icon{
    width: 10rem;
    flex: 10rem;
    margin: -2rem auto -2rem;
}
.free-banner .banner .text {
    line-height: 1.8;
    font-size: 16px;
    flex: 100%;
}
.free-banner .banner .text b{
    font-size: 18px;
}
.loan-types {
    padding-top: 0;
}
.loan-types-row{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}
.loan-types-row .loan{
    flex: 1 1 0;
    background: #FFFFFF;
    box-shadow: 0 0 14px rgba(102, 111, 116, 0.2);
    border-radius: 1rem;
    padding: 2.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    text-align: center;
}
.loan-types-row .loan h3 {
    font-weight: 600;
    font-size: 1.4rem;
    margin-top: 0;
    line-height: 1;
}
.loan-types-row .loan .amount {
    font-weight: 600;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}
.loan-types-row .loan .marked {
    font-weight: 600;
    font-size: 22px;
    color: #828282;
}
.loan-types-row .loan .description {
    font-weight: 500;
    font-size: 1rem;
    color: #828282;
}
.loan-types-row .loan img{
    width: 8.75rem;
    display: block;
    margin: 0 auto 1rem;
}
.loan-types-row .loan .button{
    margin-top: auto;
}
.loan-types-row .loan.highlight {
    background: #46CB58;
    box-shadow: 0 0 14px 0 rgba(18, 204, 92, 0.30);
    color: #fff;
}
.loan-types-row .loan.highlight *{
    color: #fff;
}
.loan-types-row .loan.highlight .button{
    background: #ffffff;
    box-shadow: 0 0 14px rgba(18, 204, 92, 0.3);
    color: #333333;
}
.loan-types-row .loan.highlight .button:hover{
    color: #828282;
}
.process{
    background: #F5F5F5;
}
.process .process-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.85rem;
}
.process .process-row .stage{
    flex: 1 1 0;
    background: #FFFFFF;
    border-radius: 0.625rem;
    padding: 1.85rem 1.25rem;
    display: flex;
    flex-direction: column;
    height: auto;
}
.process .stage h3{
    font-size: 1.12rem;
    font-weight: 600;
    color: #333333;
    line-height: 1.4;
    margin: 0 0 1.25rem;
}
.process .stage h3 span{
    font-size: 3.25rem;
    font-weight: 700;
    color: #3EBF1F;
    display: block;
}
.process .stage p{
    font-size: 0.9rem;
    font-weight: 500;
    color: #4F4F4F;
    line-height: 1.3;
    margin: 0;
}
.process .button{
    margin: 3.75rem auto 0;
    font-size: 1.15rem;
}
.first-loan{
    background: #4FC35B;
}
.first-loan .row{
    justify-content: space-between;
}
.first-loan .infoBlock{
    max-width: 493px;
}
.first-loan h2 {
    font-size: 35px;
    line-height: 1.4;
    text-align: left;
    color: #fff;
    margin: 0 0 16px;
}
.first-loan p {
    font-size: 20px;
    line-height: 1.3;
    text-align: left;
    color: #2C2C2C;
    font-weight: 500;
    margin: 0 0 30px;
}
.first-loan button.outline {
    border-radius: 6px;
    background: #F67B09;
    box-shadow: 0 6px 10px 0 rgba(130, 130, 130, 0.20);
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border: 0;
    display: flex;
    padding: 16px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: background-color 100ms;
}
.first-loan button.outline svg{
    width: 20px;
    height: 20px;
}
.first-loan button.outline:hover {
    background: #FF9330;
    box-shadow: 0 6px 10px 0 rgba(130, 130, 130, 0.20);
}
.questions {
    background-color: #F5F5F5;
}
.questions h2 {
    color: var(--color-primary);
}

.creditors {
    background: #ffffff;
}
.creditors .creditors-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}
.creditors .creditors-grid .creditor{
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    height: auto;
    box-shadow: 0 0 14px rgba(102, 111, 116, 0.2);
}
.creditors .creditors-grid .creditor img {
    max-width: 100%;
    max-height: 50px;
    width: auto;
    display: block;
    margin: auto;
}
.creditors .creditors-grid .creditor p {
    font-size: 14px;
    line-height: 1.3;
    color: #828282;
}
.about {
    background: #F5F5F5;
}

.home-useful {
    background: #ffffff;
    border-top: 1px solid #eeeeee;
}

.home-useful h2 {
    color: #2c2c2c;
}

.home-useful__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    max-width: 1120px;
    margin: 0 auto;
}

.home-useful__links a {
    display: block;
    padding: 8px 16px;
    border: 2px solid var(--color-primary);
    border-radius: 6px;
    color: #2c2c2c;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
}

.home-useful__links a:hover,
.home-useful__links a:focus-visible {
    color: #ffffff;
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .home-useful__links {
        align-items: stretch;
        flex-direction: column;
    }

    .home-useful__links a {
        width: 100%;
    }
}
