

:root {
    --wrapper-width: 100%;

    --font-body: "Roboto", system-ui, sans-serif;
    --font-heading: "Figtree", system-ui, sans-serif;

    --Black-Text: #252525;
    --Grey-Dark: #A6A6A6;
    --Grey-Text: #626262;
    --Grey: #D2D2D2;
    --CTA: linear-gradient(98deg, #02347D 2.72%, #045EE3 100.33%);
    --Blue: #02347D;
    --Blue-Dark: #031836;
    --Blue-Light: #73A1E5;
    --Blue-Bright-Light: #3A86FF;
    --Blue-Background: #F5F7FB;
    --Red: #BC152A;
}

:where(a[href], button, summary, [role="button"], [tabindex]):not(:where([tabindex="-1"], form[class^="om"] *, form[class*=" om"] *)):focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #111;
}
:where(a, button, input, select, textarea) {
    font: inherit;
    color: inherit;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    font-family: var(--font-body);
    color: var(--Black-Text);
}

img {
    vertical-align: middle;
}

/*<editor-fold desc="Common components">*/
.page {
    flex: 1 0 auto;
}

.section {
    position: relative;
    overflow-x: clip;
}

.wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    max-width: var(--wrapper-width);
}
@media (min-width: 576px) {
    :root {
        --wrapper-width: 540px;
    }
}
@media (min-width: 768px) {
    :root {
        --wrapper-width: 720px;
    }
}
@media (min-width: 992px) {
    :root {
        --wrapper-width: 960px;
    }
}
@media (min-width: 1200px) {
    :root {
        --wrapper-width: 1140px;
    }
}

/* Headings */
h1, .h1 {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1.2px;
}
h2, .h2 {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 500;
    line-height: normal;
    letter-spacing: -1px;
}
h3, .h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    line-height: 120%;
}
h4, .h4 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
}
.text-subheading {
    font-size: 24px;
    font-weight: 400;
    line-height: 120%;
}
.text-body {
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}
.text-body-s {
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
}
.text-cta-primary {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: normal;
}
.text-cta-link {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: normal;
}
@media (max-width: 767px) {
    h1, .h1 {
        font-size: 33px;
        font-weight: 500;
        line-height: normal;
        letter-spacing: -0.66px;
    }
    h2, .h2 {
        font-size: 28px;
        font-weight: 500;
        line-height: normal;
        letter-spacing: -0.56px;
    }
    h3, .h3 {
        font-size: 20px;
        font-weight: 600;
        line-height: 120%;
    }
    h4, .h4 {
        font-size: 17px;
        font-weight: 500;
        line-height: normal;
    }
    .text-subheading {
        font-size: 18px;
        font-weight: 400;
        line-height: 120%;
    }
    .text-body {
        font-size: 17px;
        font-weight: 400;
        line-height: 22px;
    }
    .text-body-s {
        font-size: 15px;
        font-weight: 400;
        line-height: normal;
    }
    .text-cta-primary {
        font-size: 18px;
    }
    .text-cta-link {
        font-size: 14px;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 4px;
}
a.btn {
    text-decoration: none;
}

.btn-primary {
    padding: 18px 50px;
    color: white;
    background: var(--CTA);
    transition: .2s;
}
.btn-primary:hover {
    background: var(--Black-Text);
}

.btn-secondary {
    padding: 18px 50px;
    color: var(--Red);
    background: white;
    transition: .2s;
}
.btn-secondary:hover {
    color: white;
    background: var(--Black-Text);
}

.link-cta {
    padding-block: 10px;
}

/* Logo */
.site-logo-image {
    height: 37px;
}

/* Material disclosures */
.material {
    --text-color: #fff;
    --table-border-color: #ffffff;
    --table-text-color: #fff;
    --h3-font-size: 18px;
    --h3-font-weight: 400;
    --title-font-size: --p-font-size;
    --strong-font-weight: 400;
    --p-font-size: 13px;
    --p-font-weight: 400;
    --table-font-size: 13px;
    --p-margin-top: 27px;
}
@media (max-width: 767px) {
    .material {
        --h3-font-size: 16px;
        --p-font-size: 12px;
        --table-font-size: 8px;
        --p-margin-top: 16px;
    }
}
.material h3,
.material p {
    color: var(--text-color);
}
.material h3 {
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: normal;
}
.material p {
    margin-top: var(--p-margin-top);
    font-size: var(--p-font-size);
    font-weight: var(--p-font-weight);
    line-height: 1.2;
}
.material strong {
    font-weight: var(--strong-font-weight);
}
.material strong.title {
    display: block;
    margin-bottom: 12px;
    font-size: var(--title-font-size);
}
.material .table {
    width: 900px;
    font-size: var(--table-font-size);
    border-left: 1px solid var(--table-border-color);
    border-bottom: 1px solid var(--table-border-color);
    color: var(--table-text-color);
}
.material .table .tr {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    border-top: 1px solid var(--table-border-color);
}
.material .table .tr .td {
    width: 20%;
    padding: 10px;
    border-right: 1px solid var(--table-border-color);
}
@media (max-width: 1000px) {
    .material .table {
        width: 100%;
    }
}
@media (max-width: 700px) {
    .material .table {
        display: flex;
        justify-content: stretch;
        align-items: stretch;
    }
    .material .table .tr {
        width: 20%;
        display: block;
        border-top: none;
        border-right: 1px solid var(--table-border-color);
    }
    .material .table .tr:first-child {
        width: 40%;
    }
    .material .table .tr .td {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 60px;
        padding: 5px;
        border-right: none;
        border-top: 1px solid var(--table-border-color);
        text-align: center;
    }
}

/* Accordion */
.accordion {
    display: grid;
    gap: 16px;
    max-width: 920px;
    margin-inline: auto;
}
.box-acc {
    display: grid;
    gap: 39px;
    padding: 30px 40px;
    border-radius: 8px;
    border: 1px solid var(--Grey-Dark);
    background: white;
    transition: .2s;
}
.box-acc.in {
    background: var(--Blue-Background);
    border-color: var(--Blue-Bright-Light);
}
.ac-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.ac-head h3 {
    max-width: 785px;
}
.ac-head__icon {
    width: 14px;
    height: 8px;
    flex-shrink: 0;
    background-color: var(--Black-Text);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M0.750001 0.749999L6.75 6.75L12.75 0.75' stroke='currentColor' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
        center / 14px 8px no-repeat;
    transition: all .2s;
}
.box-acc.in .ac-head__icon {
    background-color: var(--Blue-Bright-Light);
    transform: rotate(180deg);
}
.ac-body {
    color: var(--Grey-Text);
}
.ac-body:before {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background-color: #B3C2D8;
    top: -21px;
    position: relative;
}
.ac-body > *:not(:first-child) {
    margin-top: 16px;
}
.ac-body ol {
    list-style: auto;
    margin-left: 24px;
}
@media (max-width: 767px) {
    .box-acc {
        padding-block: 20px 30px;
    }
}

/* Hero background */
.hero-section-bg {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    min-width: 1920px;
    width: 100%;
}
/* mobile layout */
@media (max-width: 767px) {
    .hero-section-bg {
        left: -545px;
        transform: none;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Site header">*/
.site-header {
    position: relative;
    padding-block: 30px;
    background-color: #fff;
    box-shadow:
            0 990px 250px 0 rgba(221, 138, 148, 0.00),
            0 634px 250px 0 rgba(221, 138, 148, 0.01),
            0 356px 214px 0 rgba(221, 138, 148, 0.05),
            0 158px 158px 0 rgba(221, 138, 148, 0.09),
            0 40px 87px 0 rgba(221, 138, 148, 0.10);
    z-index: 20;
}
.site-header__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.is-form-page .site-header__row {
    justify-content: center;
}
.site-nav-container,
.site-nav-wrapper {
    display: contents;
}
.site-nav {
    display: contents;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    white-space: nowrap;
}
.site-nav > .site-nav {
    display: flex;
}
.site-menu-toggle {
    display: none;
}
.site-nav__item-link {
    font-size: 16px;
    font-weight: 600;
    line-height: 120%;
    text-decoration: none;
}
.site-nav__item-link:hover {
    text-decoration: underline;
}
.site-nav__item a.active {
    color: var(--Blue-Light);
}
.site-header__cta {
    padding: 12px 37px;
    border: 2px solid var(--Blue-Light);
    background-color: white;
    border-radius: 4px;
    color: var(--Blue-Light);
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    transition: .2s;
}
.site-header__cta:hover {
    background-color: var(--Blue-Background);
}
/* tablet layout */
@media (max-width: 991px) {
    body.is-menu-open .site-menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.25);
        z-index: 10;
    }
    .site-header {
        padding-block: 20px;
        z-index: 20;
    }
    .site-header__row {
        padding: 0;
    }
    .site-nav-container {
        display: block;
        position: absolute;
        padding-bottom: 22px;
        z-index: 2;
        top: 100%;
        inset-inline: 0;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-20px);
        border-radius: 0 0 12px 12px;
        background-color: #fff;
        box-shadow: 0 10px 16px 0 rgba(159, 160, 167, 0.20);
    }
    .site-header.is-menu-open .site-nav-container {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform .2s ease;
    }
    .site-nav-wrapper {
        display: block;
    }
    .site-nav {
        display: contents;
    }
    .site-nav > .site-nav {
        display: grid;
        justify-content: stretch;
        gap: 2px;
        padding: 30px 0 20px;
    }
    .site-nav__item-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
        padding: 15px 10px 15px 0;
        font-size: 16px;
        font-weight: 600;
        line-height: 120%;
        border-bottom: 1px solid var(--Grey);
    }
    .site-nav__item-link:after {
        content: url(../assets/images/chevron-icon.svg);
    }
    .site-header__cta {

    }
    .site-menu-toggle {
        display: inline-flex;
        width: 40px;
        height: 40px;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        cursor: pointer;
        background-color: white;
        border-radius: 8px;
        border: none;
        padding: 0;
    }
    .site-menu-toggle span {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: var(--Black-Text);
        transition: transform .2s ease, opacity .2s ease;
    }
    .site-header.is-menu-open .site-menu-toggle span:nth-child(1) {
        transform: translateY(5px) rotate(45deg);
    }
    .site-header.is-menu-open .site-menu-toggle span:nth-child(2) {
        opacity: 0;
    }
    .site-header.is-menu-open .site-menu-toggle span:nth-child(3) {
        transform: translateY(-5px) rotate(-45deg);
    }
}
/* mobile layout */
@media (max-width: 575px) {
    .site-header__cta {
        width: 100%;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Hero group section">*/
.hero-group-section {
    display: grid;
    gap: 188px;
    padding-block: 157px 80px;
}
@media (max-width: 1199px) {
    .hero-group-section {
        gap: 90px;
        padding-block: 80px 40px;
    }
}
/* mobile layout */
@media (max-width: 767px) {
    .hero-group-section {
        gap: 30px;
        padding-block: 30px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Hero section">*/
.hero-section {
    padding-block: 157px 211px;
}
@media (max-width: 1199px) {
    .hero-section {
        padding-block: 80px;
    }
}
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.hero--home {
    grid-template-columns: minmax(0, 643px) 1fr;
}
.hero--dept-consolidation {
    grid-template-columns: minmax(0, 643px) 1fr;
}
.hero--bad-credit {
    grid-template-columns: minmax(0, 643px) 1fr;
}
.hero--emergency-loans {
    grid-template-columns: minmax(0, 697px) 1fr;
}
.hero--personal-credit {
    grid-template-columns: minmax(0, 542px) 1fr;
}
.hero__content {
    display: grid;
    justify-items: flex-start;
    gap: 35px;
}
.hero__points {
    display: grid;
    gap: 15px;
    color: var(--Grey-Text);
}
.hero__points li {
    display: flex;
    align-items: center;
}
.hero__points li:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 14px;
    background: url(../assets/images/checkmark-icon.svg) center / cover;
    margin-right: 14px;
}
.hero__actions {
    display: grid;
    justify-items: flex-start;
    gap: 12px;
}
.hero__image-container {
    contain: size;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (max-width: 1199px) {
    .hero__image-container {
        justify-content: flex-end;
        align-items: flex-end;
    }
    .hero__image {
        min-width: 350px;
    }
}
@media (max-width: 991px) {
    .hero__image {
        min-width: 250px;
    }
}
.hero__image {
    width: 127%;
}
/* mobile layout */
@media (max-width: 767px) {
    .hero-section {
        padding-block: 30px 55px;
    }
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 390px;
        margin-inline: auto;
    }
    .hero__content {
        justify-items: center;
        text-align: center;
    }
    .hero__points li:before {
        width: 12px;
        height: 8px;
    }
    .hero__image-container {
        contain: none;
        margin-inline: -15px;
    }
    .hero__actions {
        justify-items: center;
    }
}
@media (max-width: 400px) {
    .hero {
        max-width: none;
    }
    .hero__content {
        justify-items: left;
        text-align: left;
    }
    .hero__actions {
        justify-items: stretch;
        width: 100%;
        text-align: center;
    }
    .hero__image-container {
        contain: none;
        margin-inline: -15px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Loan options">*/
.loan-options-wrapper {
    overflow-x: auto;
}
.loan-options {
    display: grid;
    grid-template-columns: repeat(4, 255px);
    justify-content: space-between;
    width: 1110px;
}
.loan-options__item {
    border: 1px solid var(--Grey);
    border-radius: 16px;
    background-color: white;
    text-decoration: none;
    overflow: clip;
}
.loan-options__item-text {
    min-height: 110px;
    padding: 26px 55px 22px 26px;
    background: url(../assets/images/45-arrow-icon.svg) top 28px right 25px / auto no-repeat;
}
.loan-options__item-image {
    width: 100%;
}
/* mobile layout */
@media (max-width: 575px) {
    .loan-options__item-text {
        min-height: 86px;
        padding: 20px 95px 18px 26px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Steps section">*/
.steps-section {
    padding-block: 58px 64px;
    background: var(--CTA);
    color: white;
}
.steps {
    max-width: 484px;
    margin-left: auto;
}
.steps-title {
    max-width: 372px;
}
.steps-grid {
    display: grid;
    gap: 50px;
    padding-block: 56px 44px;
}
.step-card {
    position: relative;
    display: grid;
    grid-template-columns: 65px 1fr;
    text-align: left;
    gap: 21px;
}
.step-card:not(:last-child):after {
    content: '';
    display: block;
    position: absolute;
    width: 2px;
    height: 50px;
    bottom: -50px;
    left: 31px;
    background-color: #fff;
}
.steps-image {
    position: absolute;
    bottom: 0;
    right: calc((100vw - var(--wrapper-width)) / 2 + 484px + 65px);
}
/* tablet layout */
@media (max-width: 991px) {
    .steps {
        padding-bottom: 32px;
        margin-inline: auto;
    }
    .steps-section {
        padding-block: 38px 0;
    }
    .steps-grid {
        padding-block: 39px 32px;
    }
    .step-card {
        grid-template-columns: 53px 1fr;
    }
    .steps-image {
        position: static;
        display: block;
        max-width: 345px;
        margin-inline: auto;
        transform: translateX(-28px);
    }
}
/* mobile layout */
@media (max-width: 400px) {
    .steps-section .btn {
        width: 100%;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="FAQ preview section">*/
.faq-preview-section {
    padding-block: 80px;
    background-color: white;
}
.faq-preview__title {
    text-align: center;
}
.faq-preview__accordion {
    padding-block: 24px;
}
.faq-preview__link {
    text-align: center;
}
/* mobile layout */
@media (max-width: 767px) {
    .faq-preview-section {
        padding-block: 40px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Advantages section">*/
.advantages-section {
    padding-block: 80px;
    background-color: var(--Blue-Background);
}
.advantages-layout {
    display: grid;
    gap: 49px;
    text-align: center;
}
.advantages {
    display: grid;
    gap: 43px 30px;
    grid-template:
        "a c" 233px
        "b c" 233px
        / 1fr 1fr;
    width: 100%;
    text-align: left;
}
.advantage {
    position: relative;
    border-radius: 16px;
    border: 1px solid var(--Grey);
    background: #FFF;
}
.advantage:nth-child(1) {
    grid-area: a;
}
.advantage:nth-child(2) {
    grid-area: b;
}
.advantage:nth-child(3) {
    grid-area: c;
}
.advantage__image {
    position: absolute;
    bottom: 0;
}
.advantage:nth-child(1) .advantage__image {
    left: 13px;
}
.advantage:nth-child(2) .advantage__image {
    right: 0;
    border-bottom-right-radius: 16px;
}
.advantage:nth-child(3) .advantage__image {
    right: 27px;
}
@media (min-width: 992px) and (max-width: 1199px) {
    .advantage:nth-child(2) .advantage__image {
        width: 61%;
    }
    .advantage:nth-child(3) .advantage__image {
        width: 67%;
    }
}
.advantage__body {
    display: grid;
    gap: 6px;
    color: var(--Grey-Text);
}
.advantage:nth-child(1) .advantage__body {
    max-width: 194px;
    margin-top: 56px;
    margin-left: 270px;
}
.advantage:nth-child(2) .advantage__body {
    max-width: 250px;
    margin-top: 56px;
    margin-left: 37px;
}
.advantage:nth-child(3) .advantage__body {
    max-width: 204px;
    margin-top: 46px;
    margin-left: 43px;
}
/* tablet layout */
@media (max-width: 991px) {
    .advantages-section {
        padding-block: 40px;
    }
    .advantages-layout {
        gap: 27px;
    }
    .advantages {
        grid-template:
            "a" 233px
            "b" 233px
            "c" 233px
            / 1fr;
        gap: 45px;
    }
    .advantage:nth-child(3) .advantage__image {
        width: 188px;
        right: auto;
        left: 0;
    }
    .advantage:nth-child(2) .advantage__body {
        max-width: 221px;
    }
    .advantage:nth-child(3) .advantage__body {
        margin-left: 220px;
    }
}
/* mobile layout */
@media (max-width: 575px) {
    .advantages {
        grid-template:
            "a" auto
            "b" auto
            "c" auto
            / 1fr;
        max-width: 290px;
        margin-inline: auto;
    }
    .advantage {
        display: grid;
        align-items: center;
        padding: 18px;
        min-height: 72px;
    }
    .advantage:nth-child(1) .advantage__image {
        width: 88px;
        left: 2px;
    }
    .advantage:nth-child(2) .advantage__image {
        width: 138px;
    }
    .advantage:nth-child(3) .advantage__image {
        width: 99px;
    }
    .advantage__body {
        grid-template-columns: 20px 1fr;
        margin-top: 0 !important;
    }
    .advantage:nth-child(1) .advantage__body {
        margin-left: 91px;
    }
    .advantage:nth-child(2) .advantage__body {
        max-width: 185px;
        margin-left: 0;
    }
    .advantage:nth-child(3) .advantage__body {
        margin-left: 88px;
    }
    .advantage__body img {
        width: 100%;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Loan summary section">*/
.loan-summary-section {
    padding-block: 80px;
    background-color: #fff;
}
.loan-summary {
    display: grid;
    gap: 24px;
    text-align: center;
}
.loan-summary p {
    color: var(--Grey-Text);
}
/* tablet layout */
@media (max-width: 767px) {
    .loan-summary-section {
        padding-block: 40px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="How it works section">*/
.hiw-section {
    padding-block:  100px;
}
.hiw {
    display: grid;
    grid-template-columns: repeat(2, auto);
    align-items: center;
    gap: 122px;
}
.hiw__body {
    display: grid;
    gap: 20px;
    color: var(--Blue-Dark);
}
/* tablet layout */
@media (max-width: 991px) {
    .hiw-section {
        padding-block: 40px;
    }
    .hiw {
        grid-template-columns: 1fr;
        gap: 26px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="FAQ section">*/
.faq-section {
    padding-block: 80px;
}
.faq {
    display: grid;
    gap: 24px;
    text-align: center;
}
.faq__accordion {
    text-align: left;
}
/* tablet layout */
@media (max-width: 991px) {
    .faq-section {
        padding-block: 40px;
    }
}
@media (max-width: 400px) {
    .faq__link {
        width: 100%;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Legal group">*/
.page--legal-group {
    padding-block: 80px;
    position: relative;
    overflow-x: clip;
}
.legal-hero__title {
    text-align: center;
}
.legal-content {
    margin-top: 40px;
    color: var(--Grey-Text);
}
.legal-content h1 {
    display: none;
}
.legal-content :where(strong, p) {
    margin-top: 30px;
}
.legal-content a {
    color: var(--Blue-Bright-Light);
}
.legal-content a:hover {
    text-decoration: none;
}
.legal-content ol {
    list-style: auto;
    margin-left: 36px;
}
.legal-content ol li {
    color: var(--Blue-Bright-Light);
    margin-top: 16px;
}
/* tablet layout */
@media (max-width: 991px) {
    .page--legal-group {
        padding-block: 40px;
    }
}
/* mobile layout */
@media (max-width: 575px) {
    .legal-content {
        margin-top: 24px;
    }
    .legal-content :where(strong, p) {
        margin-top: 24px;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Contact section">*/
.contact-section {
    padding-block: 80px;
}
.contact {
    display: grid;
    grid-template-columns: minmax(0, 491px) 541px;
    gap: 34px;
    justify-content: space-between;
}
.contact__aside {
    display: grid;
    gap: 65px;
}
.contact__aside img {
    width: 100%;
    align-self: flex-end;
}
.list-info {
    display: grid;
    align-content: flex-end;
    gap: 37px;
    max-width: 371px;
}
.list-info__item {
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    gap: 18px;
}
.list-info__item-icon {
    width: 100%;
}
.list-info__item-label {
    margin-bottom: 3px;
}
.list-info__item-text {
    color: var(--Blue);
}
.contact-text {
    margin-block: 15px 45px;
    color: var(--Grey-Text);
}
/* form */
.contact-form__grid {
    display: grid;
    gap: 29px;
}
.contact-form__required {
    color: var(--Grey-Text);
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}
.contact-form__field-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.contact-form__field {
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}
.contact-form input,
.contact-form textarea {
    margin-top: 8px;
    width: 100%;
    padding: 16px;
    border: 1px solid var(--Grey);
    border-radius: 8px;
    background-color: white;
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--Blue);
}
.contact-form input.error,
.contact-form textarea.error {
    border-color: var(--Red);
}
/*.contact-form input.valid,
.contact-form textarea.valid {
    border-color: var();
}*/
.contact-form textarea  {
    height: 164px;
}
.contact-form__footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
.contact-form__footer button {
    min-width: 255px;
}
.contact-form div.error {
    color: var(--Red);
}
.contact__form-container .success-message {
    text-align: center;
}
/* tablet layout */
@media (max-width: 991px) {
    .contact-section {
        padding-block: 40px;
    }
    .contact {
        display: flex;
        flex-direction: column-reverse;
    }
    .contact__aside {
        display: flex;
        flex-direction: column-reverse;
        gap: 30px;
    }
    .contact__body {
        text-align: center;
    }
    .contact-text {
        margin-block: 15px 24px;
    }
    .contact-form {
        text-align: left;
    }
    .list-info {
        max-width: none;
    }
    .list-info__item {
        grid-template-columns: 39px 1fr;
    }
    .contact-form__field {
        font-size: 12px;
    }
    .contact-form__footer {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 15px;
    }
}
/* mobile layout */
@media (max-width: 575px) {
    .contact-form__field-group {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}
@media (max-width: 400px) {
    .contact-form__footer button {
        width: 100%;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="Footer">*/
.site-footer {
    padding-block: 40px;
    background-color: var(--Blue-Dark);
    color: white;
}
.site-footer__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 34px;
}
.site-footer__nav {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px 34px;
}
.site-footer__nav-link {
    font-size: 16px;
    font-weight: 600;
    line-height: normal;
    letter-spacing: -0.32px;
    text-decoration: none;
}
.site-footer__nav-link:hover {
    text-decoration: underline;
}
.site-footer__nav-link.active {
    color: var(--Blue-Light);
}
.material {
    margin-block: 27px;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.40);
    background: rgba(255, 255, 255, 0.05);
}
.copyright {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.32px;
}
/* tablet layout */
@media (max-width: 991px) {
    .site-footer__top {
        align-items: flex-start;
    }
    .site-footer__nav {
        display: grid;
        grid-template-columns: repeat(2, auto);
        gap: 24px;
    }
}
/* mobile layout */
@media (max-width: 767px) {
    .site-footer__top {
        flex-direction: column;
        gap: 27px;
    }
    .site-footer__nav {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .site-footer__nav-link {
        font-size: 14px;
        font-weight: 600;
        line-height: normal;
        letter-spacing: -0.28px;
    }
    .material {
        padding: 20px 8px;
    }
    .copyright {
        font-size: 12px;
        letter-spacing: -0.24px;
        text-align: center;
    }
}
/*</editor-fold>*/

/*<editor-fold desc="">*/

/* tablet layout */
@media (max-width: 991px) {

}
/* mobile layout */
@media (max-width: 575px) {

}
/*</editor-fold>*/
