@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter/InterVariable.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

.plata-landing {
    --home-background: #f1f4ff;
    --home-accent: #5d6bf0;
    --home-radius: 25px;
    background: var(--home-background);
    color: #222;
    font-family: Inter, Arial, sans-serif;
}

:where(.plata-landing :is(.home-header, .plata-home, .home-footer), .plata-landing :is(.home-header, .plata-home, .home-footer) *) {
    font-family: inherit;
    font-size: inherit;
}

.home-shell {
    width: min(1300px, calc(100% - 48px));
    margin-inline: auto;
}

.home-header {
    padding: 18px 0 0;
}

.home-header-bar {
    display: grid;
    grid-template-columns: 119px minmax(0, 1fr) 188px 89px;
    align-items: center;
    gap: clamp(16px, 2.2vw, 31px);
    width: min(1306px, calc(100% - 48px));
    min-height: 57px;
    padding: 2px clamp(24px, 6.65vw, 93px) 2px 28px;
    border-radius: 10px;
    background: #fff;
}

.home-header-logo img,
.home-footer .footer__top-logo {
    display: block;
}

.home-header-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-left: clamp(8px, 2.85vw, 40px);
    font-size: 14px;
}

.home-header-nav a,
.home-contact {
    color: #171717;
}

.home-header-nav a:hover,
.home-contact:hover {
    color: #3f4cca;
}

.home-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.home-header .home-contact {
    justify-content: flex-start;
    font-size: 18px;
}

.home-header-contacts {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.home-header .home-header-email,
.home-header .home-header-email:visited,
.home-header .home-header-email:hover {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: #171717;
    font-size: 12px;
    line-height: 1.2;
}

.home-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 89px;
    min-height: 29px;
    padding: 4px 12px;
    border-radius: 10px;
    background: #111;
    color: #fff;
    font-size: 14px;
}

.home-header-login:hover {
    background: #40477f;
    color: #fff;
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 565fr) minmax(0, 679fr);
    align-items: start;
    gap: clamp(20px, 3.3vw, 46px);
    margin: clamp(32px, 5.3vw, 74px) -4px 0 14px;
}

.home-calculator,
.home-promo {
    min-height: 551px;
    border-radius: var(--home-radius);
}

.home-calculator {
    padding: 36px clamp(20px, 2.1vw, 29px) 40px;
    background: #fff;
    box-shadow: 4px 6px 20px rgba(137, 172, 146, .3);
}

.home-range {
    border-radius: 12px;
    background: var(--home-background);
}

.home-range label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 63px;
    margin: 0;
    padding: 0 20px;
    font-size: 17px;
    cursor: pointer;
}

.home-range-input {
    display: block;
    width: 100%;
    height: 8px;
    margin: 0;
    appearance: none;
    border: 0;
    border-radius: 0 0 12px 12px;
    background: linear-gradient(to right, #7380f3 var(--range-progress, 0%), #bac3fc var(--range-progress, 0%));
    cursor: pointer;
}

.home-range-input::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    appearance: none;
    border: 5px solid #7380f3;
    border-radius: 50%;
    background: #fff;
}

.home-range-input::-moz-range-thumb {
    box-sizing: border-box;
    width: 28px;
    height: 28px;
    border: 5px solid #7380f3;
    border-radius: 50%;
    background: #fff;
}

.home-range-limits {
    display: flex;
    justify-content: space-between;
    margin: 10px 0 0;
    color: #666;
    font-size: 13px;
    line-height: 16px;
}

.home-range-limits + .home-range {
    margin-top: 18px;
}

.home-calculator-totals {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 42px 12px 42px;
}

.home-calculator-totals div {
    display: flex;
    align-items: baseline;
    gap: 11px;
}

.home-calculator-totals dt {
    color: #666;
    font-size: clamp(15px, 1.35vw, 19px);
    font-weight: 400;
}

.home-calculator-totals dd {
    margin: 0;
    font-size: clamp(16px, 1.43vw, 20px);
    line-height: 24px;
}

.home-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 68px;
    padding: 10px 14px;
    border: 0;
    border-radius: 10px;
    background: var(--home-accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.home-button:hover {
    background: #4b58d5;
    color: #fff;
}

.home-button--yellow {
    background: #ffdd2d;
    color: #222;
    gap: 5px;
    cursor: default;
}

.home-button--yellow:hover {
    background: #ffdd2d;
    color: #222;
}

.home-application {
    margin-top: 13px;
}

.home-application summary::-webkit-details-marker,
.home-faq-list summary::-webkit-details-marker {
    display: none;
}

.home-application-fields {
    display: grid;
    gap: 16px;
    margin-top: 20px;
}

.home-phone-field {
    display: grid;
    gap: 5px;
}

.home-phone-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #b3bce5;
    border-radius: 8px;
}

.home-agreements {
    display: grid;
    gap: 8px;
    font-size: 14px;
}

.home-agreements > div {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.home-agreements input {
    accent-color: var(--home-accent);
}

.home-agreements input.-error,
.home-phone-field.-error input {
    outline: 2px solid #b42318;
}

.home-form-error {
    margin: 0;
    color: #b42318;
    font-size: 14px;
}

.home-promo {
    position: relative;
    overflow: hidden;
    padding: 28px clamp(20px, 2.9vw, 41px) 28px clamp(20px, 2.36vw, 33px);
    background: #7380f3 url('../img/home/hero-bg.jpg') center / cover no-repeat;
    color: #fff;
    text-align: right;
}

.home-promo-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.home-promo-link {
    flex-shrink: 0;
    display: grid;
    min-width: 163px;
    min-height: 60px;
    padding: 8px 16px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 15px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

.home-promo-link:hover {
    background: #fff;
    color: #3f4cca;
}

.home-promo h1 {
    margin: 0;
    font-size: clamp(34px, 4.88vw, 68.22px);
    font-weight: 600;
    line-height: 1.027;
}

.home-promo p {
    position: relative;
    z-index: 1;
    margin: 28px 0 0;
    font-size: clamp(16px, 1.7vw, 24px);
}

.home-promo-coin,
.home-promo-watch {
    position: absolute;
    pointer-events: none;
}

.home-promo-coin {
    top: 37px;
    left: 35.6%;
}

.home-promo-watch {
    top: 160px;
    left: 8.3%;
}

.home-section {
    margin-top: clamp(56px, 7.72vw, 108px);
}

.home-hero + .home-section {
    margin-top: clamp(60px, 9.15vw, 128px);
}

.home-section h2 {
    margin: 0 0 29px;
    font-size: clamp(28px, 3.15vw, 40px);
    font-weight: 500;
    line-height: 1.2;
}

#about h2 {
    margin-bottom: 36px;
}

#faq {
    margin-top: clamp(56px, 7.15vw, 100px);
}

#faq h2 {
    margin-bottom: 40px;
}

#documents {
    margin-top: clamp(56px, 7.5vw, 105px);
}

#documents h2 {
    margin: 0 0 44px 16px;
}

.home-steps,
.home-benefits {
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-inline: 16px -6px;
}

.home-steps li {
    position: relative;
    overflow: hidden;
    min-height: 346px;
    padding: 25px clamp(16px, 2.1vw, 30px) 120px;
    border-radius: 15px;
    background: #fff;
}

.home-steps li > span {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 100px;
    background: linear-gradient(90deg, #4fa4f3, #747ff3);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.home-steps h3 {
    margin: 33px 0 10px;
    font-size: 20px;
    font-weight: 600;
}

.home-steps li:first-child h3 {
    max-width: 208px;
    margin-top: 21px;
    margin-bottom: 22px;
}

.home-steps p {
    margin: 0;
    color: #444;
    font-size: 14px;
    line-height: 20px;
}

.home-steps img {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(100%, 311px);
    height: auto;
}

.home-about,
.home-faq,
.home-documents {
    display: grid;
    gap: clamp(16px, 2.6vw, 37px);
}

.home-about {
    grid-template-columns: minmax(0, 672fr) minmax(0, 590fr);
    gap: clamp(16px, 2.72vw, 38px);
}

.home-about-banner {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-height: 484px;
    padding: clamp(24px, 3.8vw, 52px) clamp(24px, 3.8vw, 52px) 27px;
    border-radius: var(--home-radius);
    background: #7380f3 url('../img/home/trust-bg.jpg') center / cover no-repeat;
    color: #fff;
    text-align: right;
}

.home-about-banner span {
    font-size: clamp(24px, 2.43vw, 34px);
    line-height: 1.15;
}

.home-about-banner div {
    align-self: stretch;
    font-size: clamp(24px, 3.55vw, 50px);
    line-height: 1.2;
}

.home-about-banner strong {
    display: block;
    font-size: clamp(64px, 9.7vw, 136px);
    font-weight: 500;
    line-height: 1.06;
    letter-spacing: clamp(0px, .29vw, 4px);
    text-transform: uppercase;
    white-space: nowrap;
}

.home-benefits {
    display: grid;
    align-content: space-between;
    gap: 24px;
    padding: 38px clamp(20px, 2.6vw, 36px) 58px;
    border-radius: var(--home-radius);
    background: #fff;
}

.home-benefits li {
    display: grid;
    grid-template-columns: 46px 1fr;
    align-items: start;
    gap: 12px;
}

.home-benefits img {
    justify-self: center;
}

.home-benefits h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 500;
}

.home-benefits p {
    margin: 0;
    color: #444;
    font-size: 16px;
}

.home-faq {
    grid-template-columns: minmax(0, 866fr) minmax(0, 380fr);
    gap: clamp(16px, 2.29vw, 32px);
    margin-left: 22px;
}

.home-faq-list,
.home-faq-contact {
    border-radius: 30px;
    background-color: #fff;
}

.home-faq-list {
    min-height: 589px;
    padding: 32px 21px 27px 0;
    box-shadow: 0 6px 14px rgba(64, 71, 127, .08);
}

.home-faq-list details + details {
    border-top: 1px solid #edf0f8;
}

.home-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 72px;
    padding: 12px clamp(20px, 3vw, 42px) 12px clamp(20px, 3.43vw, 48px);
    font-size: clamp(17px, 1.6vw, 22px);
    cursor: pointer;
}

.home-faq-list summary::after {
    content: '+';
    color: #40477f;
    font-size: 28px;
    font-weight: 400;
}

.home-faq-list details[open] summary {
    color: #3f4cca;
    font-weight: 600;
}

.home-faq-list details:first-child[open] summary {
    min-height: 50px;
    font-size: clamp(18px, 1.72vw, 24px);
}

.home-faq-list details[open] summary::after {
    content: '−';
}

.home-faq-list p {
    margin: 0 clamp(20px, 7.2vw, 101px) 24px clamp(20px, 3.43vw, 48px);
    color: #555;
    font-size: clamp(15px, 1.29vw, 18px);
    line-height: 1.65;
}

.home-faq-contact {
    position: relative;
    overflow: hidden;
    min-height: 589px;
    padding: 32px 18px;
    background-image: url('../img/home/faq-pattern.png');
    background-position: -306px 278px;
    background-repeat: no-repeat;
    text-align: center;
}

.home-faq-contact h3 {
    margin: 0 0 10px;
    font-size: clamp(22px, 2.1vw, 28px);
    font-weight: 600;
}

.home-faq-contact p {
    margin: 0 0 38px;
    font-size: clamp(15px, 1.34vw, 19px);
}

.home-faq-contact .home-contact {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 500;
    gap: 11px;
}

.home-faq-question {
    position: absolute;
    right: 6%;
    bottom: 9%;
    max-width: 48%;
    height: auto;
}

.home-documents {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-left: 16px;
}

.home-documents a {
    position: relative;
    display: grid;
    align-items: center;
    min-height: 172px;
    overflow: hidden;
    padding: 16px clamp(16px, 2.5vw, 36px) 16px 51%;
    border-radius: 20px;
    background: linear-gradient(90deg, #7281f4, #549ef4);
    color: #fff;
}

.home-documents a:nth-child(2) {
    padding-left: 50.25%;
}

.home-documents a:hover strong {
    text-decoration: underline;
}

.home-documents img {
    position: absolute;
    top: 5px;
    left: 4.6%;
    width: min(44%, 218px);
    height: auto;
}

.home-documents a:nth-child(2) img {
    top: 2px;
}

.home-documents a > span {
    display: grid;
    gap: 13px;
    font-size: clamp(16px, 1.43vw, 20px);
}

.home-documents strong {
    font-size: clamp(17px, 1.43vw, 20px);
    line-height: 1.2;
}

.home-disclosure {
    margin: 40px 0 0;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.extra-services-notice p {
    margin: 0;
}

.extra-services-notice p + p {
    margin-top: 12px;
}

.home-footer.footer {
    margin: 100px 0 0;
    padding: 65px 0 44px;
    background: #40477f;
    color: #fff;
}

.home-footer .footer-body {
    width: min(1148px, calc(100% - 48px));
    max-width: none;
    padding: 0;
}

.home-footer .footer__top {
    display: grid;
    grid-template-columns: 155px minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 16px clamp(20px, 4.8vw, 68px);
    padding: 0;
    background: none;
}

.home-footer .footer__top-logo {
    width: 155px;
    height: 68px;
}

.home-footer .footer__top-phones,
.home-footer .footer__top-worktime {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
}

.home-footer .footer__top p {
    margin: 0;
}

.home-footer .footer__top-phones-item,
.home-footer .footer__top-worktime-item {
    font-size: 21px;
}

.home-footer .footer__top-phones-text,
.home-footer .footer__top-worktime-text {
    color: #c5c9ea;
    font-size: 17px;
}

.home-footer-icon {
    display: inline-grid;
    width: 23px;
    height: 23px;
    place-items: center;
    border-radius: 50%;
    background: #7380f3;
    vertical-align: middle;
}

.home-footer .footer__docs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 24px;
}

.home-footer .footer__docs-item {
    align-items: baseline;
}

.home-footer .footer__docs-item img {
    display: none;
}

.home-footer .footer__docs-item::before {
    content: '•';
    color: #adc9fb;
}

.home-footer .footer__docs-item a,
.home-footer .footer__bottom *,
.home-footer .footer__bottom a {
    color: #ebedff !important;
}

.home-footer .footer__docs-item a,
.home-footer .footer__bottom {
    font-size: 12px;
    line-height: 1.45;
}

.home-footer a:hover {
    text-decoration: underline;
}

.plata-landing :is(.home-header, .plata-home, .home-footer) :focus-visible {
    outline: 3px solid #303cae;
    outline-offset: 3px;
}

.plata-landing .home-footer a:focus-visible {
    outline-color: #fff;
}

@media (min-width: 1151px) {
    .plata-landing--inner .home-header-bar {
        width: min(1200px, calc(100% - 48px));
        padding-inline: 20px 19px;
    }

    .plata-landing--inner .home-header-nav {
        padding-left: 18px;
    }
}

@media (max-width: 1150px) {
    .home-header-bar {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-block: 8px 12px;
        row-gap: 6px;
    }

    .home-header-nav {
        order: 1;
        flex-basis: 100%;
        justify-content: center;
        padding-left: 0;
    }

    .home-promo-content {
        flex-direction: column;
        align-items: flex-end;
    }

    .home-steps {
        margin-inline: 0;
    }

    .home-steps li {
        min-height: 310px;
    }

    .home-faq,
    .home-documents {
        margin-inline: 0;
    }

    #documents h2 {
        margin-left: 0;
    }

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

@media (max-width: 760px) {
    .home-shell,
    .home-footer .footer-body {
        width: calc(100% - 32px);
    }

    .home-hero,
    .home-about,
    .home-faq,
    .home-documents {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-hero {
        margin-inline: 0;
    }

    .home-calculator,
    .home-promo,
    .home-about-banner,
    .home-faq-list {
        min-height: 0;
    }

    .home-calculator {
        padding-block: 24px;
    }

    .home-calculator-totals {
        margin-block: 20px 24px;
    }

    .home-button {
        min-height: 52px;
    }

    .home-promo,
    .home-about-banner,
    .home-faq-contact {
        min-height: 340px;
    }

    .home-promo-content {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .home-promo h1 {
        margin-left: auto;
    }

    .home-promo-watch {
        top: auto;
        bottom: 22px;
        left: 15%;
        width: 66px;
        height: auto;
    }

    .home-promo-coin {
        top: 33%;
        left: 11%;
    }

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

    .home-faq-contact {
        background-position: -306px 160px;
    }

    .home-faq-question {
        width: 125px;
        bottom: 12px;
    }

    .home-footer.footer {
        margin-top: 56px;
        padding: 35px 0;
    }

    .home-footer .footer__top {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 420px) {
    .home-header-bar {
        justify-content: center;
    }

    .home-header .home-contact {
        font-size: 13px;
    }

    .home-header-email {
        font-size: 11px;
    }

    .home-header-login {
        min-width: 0;
    }

    .home-about-banner strong {
        font-size: clamp(48px, 15vw, 64px);
    }

    .home-steps li {
        min-height: 255px;
        padding-bottom: 78px;
    }

    .home-steps h3 {
        margin-top: 16px;
        font-size: 17px;
    }

    .home-steps p {
        font-size: 14px;
    }
}
