

:root {
    --color-primary: #4b3f8d;
    --color-primary-dark: #31285f;
    --color-primary-soft: rgba(75, 63, 141, 0.14);
    --color-heading: #1a1a1a;
    --color-copy: #5d6160;
    --color-accent: #22b573;
    --color-line: #e7e9ef;
    --color-surface: #f9fafb;
    --color-white: #ffffff;
    --color-cream: #fcf3df;
    --color-rose: #f7e5ee;
    --color-blue: #e4f3fb;
    --shadow-card: 0 24px 60px rgba(25, 28, 49, 0.08);
    --shadow-button: 0 14px 21px rgba(75, 63, 141, 0.3);
    --shadow-float: 0 70px 150px -50px rgba(26, 64, 72, 0.2);
    --radius-xl: 24px;
    --radius-lg: 18px;
    --radius-md: 14px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-copy);
    font: 500 16px/1.6 "Plus Jakarta Sans", sans-serif;
    background: var(--color-white);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

p,
ul,
ol,
h1,
h2,
h3,
h4 {
    margin: 0;
}

ul,
ol {
    padding: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.wrapper {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 112px;
}

.wrapper--center {
    max-width: 1280px;
}

.wrapper--narrow {
    max-width: 1184px;
}

.wrapper--faq {
    max-width: 960px;
}

.wrapper--cta {
    max-width: 1040px;
}

.wrapper--form {
    max-width: 1180px;
}

.wrapper--legal {
    max-width: 1440px;
}

.page {
    overflow: hidden;
}

.page-title,
.section-title {
    color: var(--color-heading);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.page-title {
    font-size: 56px;
}

.page-title--hero,
.page-title--loan {
    font-size: 56px;
}

.page-title__accent {
    color: var(--color-primary);
}

.page-title--legal {
    color: var(--color-primary);
    font-family: "Onest", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
}

.section-title {
    font-size: 40px;
    text-align: center;
}

.section-title--compact {
    font-size: 36px;
}

.section-title--band {
    font-size: 34px;
}

.section-title--cta {
    color: var(--color-primary);
    font-size: 48px;
}

.section-copy,
.page-hero__copy,
.loan-summary p {
    max-width: 620px;
    margin: 16px auto 0;
    color: var(--color-copy);
    font-size: 16px;
    text-align: center;
}

.section-cta {
    margin-top: 48px;
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 14px;
    font-family: "Onest", sans-serif;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}
@media screen and (max-width: 760px) {
    .btn {
        border-radius: 8px;
    }
}
.btn-primary {
    min-width: 220px;
    min-height: 54px;
    padding: 16px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: var(--shadow-button);
}
@media screen and (max-width: 760px) {
    .btn-primary {
        padding: 25px  12px;
    }
}
.btn-primary:hover {
    background: #3f3479;
}

.btn-primary--compact {
    min-width: 246px;
    min-height: 60px;
    padding: 18px 28px;
}

.btn-arrow {
    position: relative;
    width: 16px;
    height: 10px;
}

.btn-arrow::before,
.btn-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    background: currentColor;
    transform-origin: center;
}

.btn-arrow::before {
    width: 14px;
    height: 2px;
    margin-top: -1px;
}

.btn-arrow::after {
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    background: transparent;
    transform: translateY(-50%) rotate(45deg);
}

.text-link {
    color: var(--color-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.text-link:hover {
    text-decoration: none;
}

@media screen and (max-width: 1200px) {
    .wrapper {
        padding: 0 64px;
    }

    .page-title,
    .page-title--hero,
    .page-title--loan {
        font-size: 48px;
    }
}

@media screen and (max-width: 760px) {
    .wrapper {
        padding: 0 28px;
    }

    .page-title,
    .page-title--hero,
    .page-title--loan {
        font-size: 38px;
    }

    .page-title--legal {
        max-width: 341px;
        color: #4133bf;
        font-size: 24px;
        line-height: 1.35;
    }

    .section-title,
    .section-title--compact,
    .section-title--band,
    .section-title--cta {
        font-size: 32px;
    }

    .section-copy,
    .page-hero__copy,
    .loan-summary p {
        font-size: 15px;
    }
}

/* Header */

.site-header {
    position: relative;
    z-index: 1;
    padding: 25px 0;
    background: #ffffff;
    border-bottom: 1px solid #F3F4F6;
}

.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
}

.site-logo img {
    width: 100%;
    height: auto;
    max-width: 204px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    color: var(--color-heading);
    list-style: none;
}

.site-nav__item {
    margin-left: 28px;
}

.site-nav__item--cta {
    margin-left: 40px;
}

.site-nav a,
.site-footer__nav a {
    position: relative;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-heading);
    white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
    color: var(--color-primary);
}

.site-footer__nav a:hover,
.site-footer__nav a.active {
    color: #d7d2f4;
}

.site-nav a:not(.site-header__cta):hover,
.site-footer__nav a:hover {
    text-decoration: underline;
}

.site-header__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 20px;
    border: 0;
    border-radius: 6px;
    background: var(--color-primary);
    color: #fafafa;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 20px;
    text-align: center;
    text-transform: none;
}

.site-nav .site-header__cta,
.site-nav .site-header__cta:hover,
.site-nav .site-header__cta:focus-visible {
    color: #fafafa;
}

.site-header__cta:hover {
    background: #4133bf;
    color: #fafafa;
}

.site-header__cta-arrow {
    position: relative;
    width: 10.5px;
    height: 12px;
    flex: 0 0 10.5px;
}

.site-header__cta-arrow::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 10px;
    height: 2px;
    background: currentColor;
    transform: translateY(-50%);
}

.site-header__cta-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
}

.site-header.is-form-page .site-header__row {
    justify-content: center;
}

@media screen and (max-width: 1100px) {
    .site-nav__item {
        margin-left: 20px;
    }

    .site-nav a {
        font-size: 14px;
    }

    .site-nav__item--cta {
        margin-left: 20px;
    }

    .site-header__cta {
        padding: 10px 18px;
    }
}

@media screen and (max-width: 950px) {
    .site-header {
        padding: 17px 0;
        box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.15);
    }

    .site-nav {
        display: none;
    }

    .site-header__row {
        justify-content: center;
    }

    .site-logo img {
        width: 135px;
    }
}

/* Hero */
.hero {
    padding: 96px 0 112px;
}

.hero__layout {
    display: grid;
    grid-template-columns: minmax(468px, 1fr) 1fr;
    align-items: center;
    gap: 32px;
}

.hero__layout--loan {
    grid-template-columns: minmax(0, 1fr) 592px;
}

.hero__content {
    max-width: 592px;
}

.hero__list {
    list-style: none;
    margin-top: 24px;
}

.hero__list li {
    position: relative;
    padding-left: 40px;
    color: rgba(23, 29, 28, 0.8);
    font-family: "Onest", sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.28;
}

.hero__list li + li {
    margin-top: 12px;
}

.hero__list li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #3cb878;
}

.hero__list li::after {
    content: "";
    position: absolute;
    top: 13px;
    left: 8px;
    width: 6px;
    height: 10px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
}

.hero .btn {
    min-width: 320px;
    min-height: 86px;
    margin-top: 24px;
    padding: 22px 46px;
    border-radius: 20px;
    font-size: 24px;
    letter-spacing: 0;
}
@media (max-width: 1180px) {
    .hero .btn {
        display: none;
    }
}

.hero .btn-arrow {
    display: none;
}
.hero .btn.mobile {
    display: none;
}
@media (max-width: 1180px) {
    .hero .btn.mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 592px;
        margin: 32px auto 0;
    }
}

.hero-media {
    width: 100%;
    max-width: 592px;
    justify-self: end;
}

.hero-media picture {
    display: block;
    width: 100%;
}

.hero-media img {
    width: 100%;
    height: auto;
}

.hero-collage {
    display: grid;
    gap: 16px;
}

.hero-collage__item {
    overflow: hidden;
    border-radius: 30px;
}

.hero-collage__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero--home .hero-collage {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 184px 184px 184px;
}

.hero--home .hero-collage__item--blue {
    grid-column: 1;
    grid-row: 1 / 3;
}

.hero--home .hero-collage__item--pink {
    grid-column: 2 / 4;
    grid-row: 1;
}

.hero--home .hero-collage__item--yellow {
    grid-column: 2;
    grid-row: 2;
}

.hero--home .hero-collage__item--keys {
    grid-column: 3;
    grid-row: 2 / 4;
}

.hero--home .hero-collage__item--green {
    grid-column: 1 / 3;
    grid-row: 3;
}

@media screen and (max-width: 1180px) {
    .hero__layout,
    .hero__layout--loan {
        grid-template-columns: 1fr;
    }

    .hero__content {
        max-width: none;
    }

    .hero-media {
        margin: 0 auto;
    }

    .hero-collage {
        max-width: 592px;
    }

    .hero__list li {
        font-size: 24px;
    }
    .hero--home .hero-collage {
        margin: 0 auto;
    }
}

@media screen and (max-width: 760px) {
    .hero--home,
    .hero--loan {
        padding: 36px 0 28px;
    }

    .hero__list li {
        padding-left: 34px;
        font-size: 18px;
    }

    .hero__list li::before {
        top: 2px;
        width: 20px;
        height: 20px;
    }

    .hero__list li::after {
        top: 6px;
        left: 7px;
        width: 5px;
        height: 8px;
    }

    .hero .btn {
        min-width: 100%;
        min-height: 64px;
        padding: 18px 24px;
        font-size: 18px;
        border-radius: 16px;
    }

    .hero--home .hero-collage {
        max-width: none;
        grid-template-rows: auto;
    }
    .hero--home .hero-collage__item--blue {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .hero--home .hero-collage__item--pink {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .hero--home .hero-collage__item--yellow {
        grid-column: 2;
        grid-row: 2;
    }

    .hero--home .hero-collage__item--keys {
        display: none;
    }

    .hero--home .hero-collage__item--green {
        grid-column: 3;
        grid-row: 2;
    }
    .hero-collage__item--green img {
        object-position: left;
    }
    .hero-media {
        max-width: 361px;
    }
}

/* Loan Cards */

.loan-cards {
    padding: 40px 0 40px;
    background: #F9FAFB;
}

.loan-cards .wrapper {
    padding: 0 116px;
}

.loan-cards__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

.loan-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 31px;
    grid-template-rows: auto auto;
    row-gap: 25px;
    column-gap: 20px;
    min-height: 180px;
    padding: 24px 12px;
    border: 0;
    border-radius: 12px;
    background: var(--color-primary);
}

.loan-card:hover {
    background: #40367a;
    transform: translateY(-2px);
}

.loan-card__icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 74.55px;
    height: 74.55px;
    border-radius: 21.3px;
    background: rgba(255, 255, 255, 0.12);
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.loan-card__icon-wrap img {
    filter: brightness(0) invert(1);
}

.loan-card__title {
    color: var(--color-white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}

.loan-card__arrow {
    position: relative;
    align-self: center;
    justify-self: end;
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 50%;
    background: var(--color-white);
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.loan-card__arrow::before,
.loan-card__arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
}

.loan-card__arrow::before {
    width: 15px;
    height: 2px;
    background: var(--color-primary);
}

.loan-card__arrow::after {
    width: 10px;
    height: 10px;
    margin-top: -4px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    transform: rotate(45deg);
}

@media screen and (max-width: 1180px) {
    .loan-cards .wrapper {
        padding: 0 64px;
    }

    .loan-cards__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .loan-cards {
        padding-bottom: 36px;
    }

    .loan-cards .wrapper {
        padding: 0 28px;
    }

    .loan-cards__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .loan-card {
        min-height: auto;
        grid-template-columns: 75px 1fr 31px;
        grid-template-rows: auto;
        align-items: center;
    }

    .loan-card__icon-wrap,
    .loan-card__title,
    .loan-card__arrow {
        grid-column: auto;
        grid-row: auto;
    }

    .loan-card__title {
        font-size: 18px;
    }
}

/* Steps */

.steps {
    padding: 80px 0;
}

.steps .section-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.steps .section-copy {
    max-width: 672px;
    margin-top: 24px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.56;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 40px;
}

.step-card {
    min-height: 388px;
    padding: 32px;
    border-radius: 30px;
    background: var(--color-surface);
    text-align: center;
}

.step-card--cream {
    background: var(--color-surface);
}

.step-card--rose {
    background: var(--color-surface);
}

.step-card--blue {
    background: var(--color-surface);
}

.step-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 309px;
    height: 192px;
    margin: 0 auto 51px;
    border-radius: 16px;
}

.step-card__icon img {
    height: 117px;
}

.step-card--cream .step-card__icon {
    background: rgba(255, 209, 102, 0.2);
    transform: rotate(3deg);
}

.step-card--cream .step-card__icon img {
    width: 123.335px;
    transform: rotate(-3deg);
}

.step-card--rose .step-card__icon {
    background: rgba(247, 127, 152, 0.2);
    transform: rotate(-3deg);
}

.step-card--rose .step-card__icon img {
    width: 141px;
    transform: rotate(3deg);
}

.step-card--blue .step-card__icon {
    background: rgba(77, 185, 230, 0.2);
    transform: rotate(3deg);
}

.step-card--blue .step-card__icon img {
    width: 140px;
    transform: rotate(-3deg);
}

.step-card__text {
    color: var(--color-heading);
    max-width: 260px;
    padding: 0 20px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.step-card__text span {
    display: inline;
}

@media screen and (max-width: 1024px) {
    .steps__grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        display: flex;
        align-items: center;
        min-height: auto;
        text-align: left;
    }

    .step-card:nth-child(even) {
        justify-content: flex-end;
    }


    .step-card__icon {
        margin-bottom: 0;
    }

    .step-card__text {
        max-width: 100%;
    }

    .step-card:nth-child(even) .step-card__text {
        order: -1;
        margin-right: auto;
    }
}

@media screen and (max-width: 760px) {
    .steps {
        padding-bottom: 48px;
    }

    .step-card__icon {
        height: 80px;
        width: 140px;
        margin: 0;
    }

    .step-card__icon img {
        height: 45px;
    }

    .step-card__text {
        font-size: 18px;
    }

    .steps .section-title {
        font-size: 32px;
    }

    .steps .section-copy {
        font-size: 15px;
        line-height: 1.5;
    }
}

/* FAQ */

.faq-preview,
.faq-page-section {
    padding: 16px 0 80px;
}

.accordeon {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.box-acc {
    overflow: hidden;
    border: 1px solid var(--color-primary);
    border-radius: 16px;
    /*background: var(--color-primary);*/
}

.box-acc.in {
    border-width: 2px;
    border-radius: 16px;
    background: var(--color-white);
    box-shadow: var(--shadow-float);
}

.ac-head {
    position: relative;
    padding: 20px 48px 20px 24px;
    cursor: pointer;
    background: var(--color-primary);
    transition: .3s;
}

.box-acc.in .ac-head {
    padding: 30px 56px 30px 30px;
    background: var(--color-white);
}

.ac-head h4 {
    color: var(--color-white);
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.box-acc.in .ac-head h4 {
    color: #1a4048;
    font-family: "Onest", sans-serif;
    font-size: 22px;
    line-height: 1.25;
}

.ac-head::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 24px;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    color: var(--color-white);
    transform: translateY(-70%) rotate(45deg);
}

.box-acc.in .ac-head::before {
    width: 12px;
    height: 2px;
    border: 0;
    background: var(--color-primary);
    color: transparent;
    transform: translateY(-50%);
}

.ac-body {
    margin-top: 31px;
    padding: 0 30px 30px;
    color: var(--color-copy);
    font-family: "Onest", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 2;
}

.ac-body p + ul,
.ac-body p + ol,
.ac-body ul + p,
.ac-body ol + p {
    margin-top: 16px;
}

.ac-body p + p {
    margin-top: 0;
}

.list-accord {
    margin-left: 22px;
}

.list-accord li + li {
    margin-top: 8px;
}

.dots {
    list-style: disc;
}

.faq-preview__link {
    display: block;
    width: fit-content;
    margin: 35px auto 0;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 700;
    text-decoration: underline;
}

.faq-page {
    padding: 71px 0 84px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.faq-page .wrapper {
    max-width: 1098px;
}

.faq-page__title {
    color: #1a1a1a;
    font-family: "Onest", sans-serif;
    font-size: 64px;
    font-weight: 700;
    line-height: 1.05;
}

.faq-page .accordeon {
    gap: 16px;
    margin-top: 71px;
}

.faq-page-section .section-cta {
    margin-top: 40px;
}

@media screen and (max-width: 760px) {
    .faq-preview,
    .faq-page-section {
        padding-bottom: 48px;
    }

    .accordeon {
        margin-top: 28px;
    }

    .ac-head {
        padding: 16px 46px 16px 20px;
    }

    .box-acc.in .ac-head {
        padding: 16px 44px 0 20px;
    }

    .ac-head h4,
    .box-acc.in .ac-head h4 {
        font-family: "Onest", sans-serif;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.5;
    }

    .box-acc.in .ac-head h4 {
        color: #292f2c;
    }

    .ac-head::before {
        right: 20px;
    }

    .box-acc.in .ac-head::before {
        width: 12px;
        height: 2px;
    }

    .ac-body {
        margin-top: 12px;
        padding: 0 20px 16px;
        font-size: 13px;
        line-height: 1.6;
    }

    .ac-body p + p,
    .ac-body p + ul,
    .ac-body p + ol,
    .ac-body ul + p,
    .ac-body ol + p {
        margin-top: 8px;
    }

    .faq-page {
        padding: 30px 0 48px;
    }

    .faq-page__title {
        max-width: 233px;
        margin: 0 auto;
        font-size: 28px;
        line-height: 1.5;
        text-align: center;
    }

    .faq-page .accordeon {
        max-width: 361px;
        margin: 30px auto 0;
        gap: 12px;
    }
}

/* Trust */

.trust {
    padding: 40px 0 80px;
    background: var(--color-surface);
}

.trust .wrapper {
    padding: 0 80px;
}

.trust__layout {
    display: grid;
    grid-template-columns: 395px minmax(0, 885px);
    gap: 32px;
    align-items: stretch;
}

.trust .section-title {
    font-size: 36px;
    line-height: 1.11;
    text-align: left;
}

.trust__intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
}

.trust__media {
    display: grid;
    grid-template-columns: 37% 63%;
    gap: 11px 16px;
}

.trust-card {
    position: relative;
    overflow: hidden;
    min-height: 296.824px;
    border-radius: 14px;
}

.trust-card--people {
    grid-column: 1 / 3;
    min-height: 310px;
}

.trust-card img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trust-card__overlay {
    position: absolute;
    left: 23px;
    right: 23px;
    bottom: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 65px;
    padding: 8px 24px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
}

.trust-card__overlay img {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.trust-card__overlay span {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}
.trust-btn {
    align-self: flex-start;
}
@media screen and (max-width: 1200px) {
    .trust-btn {
        display: none;
    }
}
.trust-btn.mobile {
    display: none;
}
@media (max-width: 1200px) {
    .trust-btn.mobile {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 460px;
        margin: 32px auto 0;
    }
}
@media screen and (max-width: 1200px) {
    .trust .wrapper {
        padding: 0 64px;
    }

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

    .trust .section-title {
        text-align: center;
    }

    .trust__media {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 760px) {
    .trust {
        padding-bottom: 48px;
    }

    .trust .wrapper {
        padding: 0 28px;
    }

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

    .trust-card--people {
        grid-column: auto;
    }

    .trust-card {
        min-height: auto;
        height: 296px;
    }

    .trust-card__overlay span {
        font-size: 16px;
    }
}

/* CTA Panel */

.cta-panel {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--color-surface) 0%, rgba(75, 63, 141, 0.2) 160%);
}

.cta-panel__form {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: fit-content;
    margin: 24px auto 0;
    padding: 24px;
    border-radius: 12px;
    background: var(--color-white);
    box-shadow: 0 0 79px rgba(0, 91, 150, 0.1);
}

.cta-panel__form .btn {
    margin-top: -5px;
}

.text-req {
    color: red;
    font-size: 14px;
}

.cta-panel__form input,
.cta-panel__form select {
    height: 50px;
    padding: 0 16px;
    border: 1px solid #a9a9a9;
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-heading);
    font-weight: 700;
}

.cta-panel__form input {
    width: 242px;
}

.cta-panel__form select {
    width: 188px;
    appearance: auto;
}

@media screen and (max-width: 980px) {
    .cta-panel__form {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 420px;
    }

    .cta-panel__form input,
    .cta-panel__form select,
    .cta-panel__form .btn {
        width: 100%;
    }

    .section-title--cta {
        color: #1A4048;
    }
}

@media screen and (max-width: 760px) {
    .cta-panel {
        padding: 48px 0;
    }
}

/* Inner Pages */

.how-it-works-hero {
    padding: 71px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.how-it-works-hero__layout {
    display: grid;
    grid-template-columns: 537px 592px;
    align-items: center;
    justify-content: space-between;
    gap: 48px 83px;
}

.how-it-works-hero__content {
    color: #292f2c;
}

.how-it-works-hero__title {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.35;
}

.how-it-works-hero__copy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 541px;
    margin-top: 30px;
}

.how-it-works-hero__copy p {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.39;
}

.how-it-works-hero__media {
    width: 100%;
    max-width: 592px;
    justify-self: end;
}

.how-it-works-hero__media picture {
    display: block;
    width: 100%;
}

.how-it-works-hero__media img {
    width: 100%;
    height: auto;
}

.how-it-works-hero .hero-btn {
    display: none;
    margin: 30px auto 0;
    text-align: center;
}

@media screen and (max-width: 1200px) {
    .how-it-works-hero {
        padding: 56px 0 64px;
    }

    .how-it-works-hero__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .how-it-works-hero__content,
    .how-it-works-hero__copy {
        max-width: none;
    }

    .how-it-works-hero__media {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 760px) {
    .how-it-works-hero {
        padding: 32px 0 48px;
    }

    .how-it-works-hero__title {
        font-size: 32px;
        line-height: 1.31;
        text-align: center;
    }

    .how-it-works-hero__copy {
        margin-top: 20px;
        gap: 16px;
    }

    .how-it-works-hero__copy p {
        font-size: 16px;
        line-height: 1.5;
        text-align: left;
    }

    .how-it-works-hero__media {
        max-width: 361px;
    }

    .how-it-works-hero .hero-btn {
        display: block;
    }
}

.page-hero {
    padding: 64px 0 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.page-hero__copy {
    max-width: 720px;
}

.page-hero__columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.page-hero__columns p {
    color: var(--color-copy);
}

.loan-summary {
    padding: 28px 0 28px;
    background: #F9FAFB;
}

.loan-summary p {
    max-width: 100%;
    margin-top: 10px;
}

@media screen and (max-width: 760px) {
    .page-hero {
        padding: 40px 0 28px;
    }

    .page-hero__columns {
        grid-template-columns: 1fr;
    }
}

/* Contact */

.contact-page {
    padding: 48px 0 96px;
    background: #f9fafb;
}

.contact-page .wrapper {
    max-width: 1110px;
    padding: 0;
}

.contact-page__title {
    max-width: 537px;
    margin-bottom: 32px;
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.35;
}

.contact-page__layout {
    display: grid;
    grid-template-columns: 389.333px minmax(0, 652px);
    gap: 59px;
    align-items: start;
}

.contact-page__aside {
    display: flex;
    flex-direction: column;
    gap: 31px;
}

.contact-page__gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-page__gallery-card {
    aspect-ratio: 186.667 / 394.667;
    overflow: hidden;
    border-radius: 30px;
    background: #ffd166;
}

.contact-page__gallery-card--blue {
    background: rgba(77, 185, 230, 0.2);
}

.contact-page__gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-page__gallery-card:first-child img {
    object-position: 68% center;
}

.contact-page__gallery-card--blue img {
    object-position: center;
}

.contact-page__info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-page__info-card {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    background: #ffffff;
}

.contact-page__info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 45.893px;
    width: 45.893px;
    height: 45.893px;
    border-radius: 13.112px;
}

.contact-page__info-icon--email {
    background: rgba(75, 63, 141, 0.13);
}

.contact-page__info-icon--phone {
    background: rgba(54, 179, 126, 0.13);
}

.contact-page__info-icon img {
    width: 22.947px;
    height: 22.947px;
}

.contact-page__info-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.contact-page__info-copy h2 {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 16.391px;
    font-weight: 700;
    line-height: 1.5;
}

.contact-page__info-copy a,
.contact-page__info-copy div {
    color: var(--color-primary);
    font-family: "Onest", sans-serif;
    font-size: 13.112px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-page__info-copy p {
    color: rgba(41, 47, 44, 0.6);
    font-family: "Onest", sans-serif;
    font-size: 11.473px;
    line-height: 1.5;
}

.contact-page__form-card {
    min-height: 718px;
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 30px;
    background: #ffffff;
}

.contact-page__form-intro h2 {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.5;
}

.contact-page__form-intro p {
    max-width: 544px;
    margin-top: 8px;
    color: rgba(41, 47, 44, 0.6);
    font-family: "Onest", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.contact-form {
    margin-top: 32px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form__field > span {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    background: #ffffff;
    color: #0a0a0a;
    font-family: "Onest", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.contact-form input {
    height: 50px;
    padding: 12px 16px;
}

.contact-form textarea {
    height: 170px;
    padding: 12px 16px;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(10, 10, 10, 0.5);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #d94f4f;
}

.contact-form input.valid,
.contact-form textarea.valid {
    border-color: var(--color-primary);
}

.box-captcha {
    margin-top: 8px;
}

.contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 59px;
    margin-top: 24px;
    padding: 15px 24px;
    border: 0;
    border-radius: 20px;
    background: var(--color-primary);
    box-shadow: 0 14px 21px rgba(75, 63, 141, 0.3), 0 5px 8px rgba(75, 63, 141, 0.3);
    color: #ffffff;
    font-family: "Onest", sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-form__submit:hover {
    background: #3f3479;
}

.contact-form__submit img {
    width: 20px;
    height: 20px;
}

.feedCaptcha-error {
    margin-top: 8px;
    color: #d94f4f;
    font-size: 13px;
}

.succes-message {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 638px;
    text-align: center;
}

.succes-message .desc {
    margin-bottom: 12px;
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
}

.succes-message p:last-of-type {
    max-width: 360px;
    color: rgba(41, 47, 44, 0.6);
    font-family: "Onest", sans-serif;
    line-height: 1.5;
}

@media screen and (max-width: 1180px) {
    .contact-page .wrapper {
        padding: 0 24px;
    }

    .contact-page__layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contact-page__aside {
        order: 2;
        max-width: 80%;
        margin: 0 auto;
    }

    .contact-page__form-card {
        order: 1;
    }
}

@media screen and (max-width: 760px) {
    .contact-page {
        padding: 21px 0 48px;
    }

    .contact-page .wrapper {
        padding: 0 24px;
    }

    .contact-page__layout {
        gap: 31px;
    }

    .contact-page__title {
        max-width: 233px;
        margin: 0 auto 21px;
        font-size: 32px;
        line-height: 1.31;
        text-align: center;
    }

    .contact-page__aside {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        gap: 31px;
    }

    .contact-page__form-card {
        min-height: auto;
        margin: 0 auto;
        padding: 41px 16px;
    }

    .contact-page__form-intro h2 {
        font-size: 28px;
        line-height: 1.4;
    }

    .contact-page__form-intro p {
        font-size: 16px;
    }

    .contact-form__submit {
        min-height: 57px;
        font-size: 18px;
    }

    .succes-message {
        min-height: 520px;
    }

    .succes-message .desc {
        font-size: 28px;
    }
}

@media screen and (max-width: 389px) {
    .contact-form__grid {
        grid-template-columns: 1fr;
    }
}

/* Embedded Form */

.embedded-form {
    padding: 56px 0 96px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.embedded-form__shell {
    padding: 24px;
    border-radius: var(--radius-xl);
    background: var(--color-white);
    box-shadow: var(--shadow-card);
}

/* Legal */

.page--legal {
    background: var(--color-surface);
}

.legal-hero {
    padding: 48px 0 54px;
    background: #fafafa;
}

.legal-content {
    padding: 0 0 122px;
    background: var(--color-surface);
}

.legal-content h1 {
    display: none;
}

.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5,
.legal-content strong,
.legal-content b {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-weight: 700;
}

.legal-content h2,
.legal-content h3,
.legal-content h4,
.legal-content h5 {
    margin-top: 0;
    font-size: 18px;
    line-height: 1.4;
}

.legal-content p,
.legal-content li,
.legal-content a {
    color: #292f2c;
    font-family: "Onest", sans-serif;
    font-size: 18px;
    line-height: 1.4;
}

.legal-content a {
    color: var(--color-primary);
}

.legal-content p + p,
.legal-content p + ul,
.legal-content p + ol,
.legal-content ul + p,
.legal-content ol + p {
    margin-top: 18px;
}

.legal-content ul,
.legal-content ol {
    margin-left: 24px;
}

.legal-content li + li {
    margin-top: 10px;
}

.legal-content a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-content a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 760px) {
    .wrapper--legal {
        padding: 0 16px;
    }

    .page--legal {
        background: #fafafa;
    }

    .legal-hero {
        padding: 54px 0 49px;
        background: #fafafa;
    }

    .legal-content {
        padding-bottom: 99px;
        background: #fafafa;
    }

    .legal-content h2,
    .legal-content h3,
    .legal-content h4,
    .legal-content h5,
    .legal-content strong,
    .legal-content b,
    .legal-content p,
    .legal-content li,
    .legal-content a {
        font-size: 14px;
    }

    .legal-content ul,
    .legal-content ol {
        margin-left: 20px;
    }

    .legal-content li + li {
        margin-top: 8px;
    }
}

/* Footer */

.site-footer {
    position: relative;
    z-index: 1;
    padding: 56px 0 30px;
    background: var(--color-primary-dark);
}

.site-footer__top {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    max-width: 220px;
}

.site-footer__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.site-footer__nav a {
    color: var(--color-white);
    font-family: "Onest", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.site-footer .material {
    margin: 32px 0 0;
}

.site-footer .material h3,
.site-footer .material p {
    color: #fff;
}

.site-footer .material h3 {
    font-size: 24px;
}

.site-footer .material p {
    margin: 30px 0;
    font-size: 14px;
}

.site-footer strong.title {
    display: block;
}

.site-footer .material .table {
    width: 900px;
    font-size: 16px;
    color: #fff;
    border-left: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.site-footer .material .table .tr {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-top: 1px solid #fff;
}

.site-footer .material .table .tr .td {
    width: 20%;
    padding: 10px;
    border-right: 1px solid #fff;
}

.site-footer strong {
    font-weight: 600;
}

.copyright {
    margin-top: 35px;
    color: var(--color-white);
    font-size: 14px;
    text-align: center;
}

@media screen and (max-width: 1000px) {
    .site-footer .material .table {
        width: 100%;
    }
}

@media screen and (max-width: 980px) {
    .site-footer__top {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer .material .table {
        width: 100%;
    }
}


@media screen and (max-width: 700px) {
    .site-footer .material .table {
        font-size: 14px;
        display: flex;
        justify-content: stretch;
        align-items: stretch;
        border: none;
        border-left: 1px solid #445254;
        border-bottom: 1px solid #445254;
    }

    .site-footer .material .table .tr {
        width: 20%;
        display: block;
        border: none;
        border-right: 1px solid #445254;
    }

    .site-footer .material .table .tr:first-child {
        width: 40%;
    }

    .site-footer .material .table .tr .td {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
        padding: 5px;
        border: none;
        border-top: 1px solid #445254;
        text-align: center;
    }
}

@media screen and (max-width: 400px) {
    .site-footer .material .table {
        font-size: 12px;
    }
}

.hero-btn {
    border-radius: 16px;

}

@media screen and (max-width: 1024px) {
    .hero-btn {
        width: 100%;
        max-width: 400px;
    }
}

.box-acc ol {
    list-style: auto;
}
