

:root {
    --font-main: "Plus Jakarta Sans", Arial, sans-serif;
    --color-accent: #ef5f16;
    --color-accent-hover: #ff895e;
    --color-ink: #332d2c;
    --color-text: #646665;
    --color-muted: #faf9f8;
    --color-sand: #b69980;
    --color-line: #d6d6d6;
    --color-white: #ffffff;
    --color-footer: #332d2c;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    color: var(--color-ink);
    background: var(--color-white);
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: clip;
}

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

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

a:hover:not(.btn) {
    text-decoration: underline;
}

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

h1,
.h1 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.3;
}

h2,
.h2 {
    font-size: 36px;
    font-weight: 600;
    line-height: 42px;
    text-align: center;
}

h3,
.h3 {
    font-size: 28px;
    font-weight: 600;
    line-height: 36px;
}

h4,
.h4 {
    font-size: 24px;
    font-weight: 500;
    line-height: 30px;
}

.h5 {
    font-size: 22px;
    font-weight: 400;
    line-height: 30px;
}

.h6 {
    font-size: 18px;
    font-weight: 400;
    line-height: 22px;
}

@media (max-width: 767px) {
    h1,
    .h1 {
        font-size: 29px;
        line-height: 38px;
    }

    h2,
    .h2 {
        font-size: 28px;
        line-height: 34px;
    }

    h3,
    .h3 {
        font-size: 24px;
        line-height: 30px;
    }

    h4,
    .h4 {
        font-size: 22px;
        line-height: 28px;
    }

    .h5 {
        font-size: 20px;
        line-height: 28px;
    }

    .h6 {
        font-size: 16px;
        line-height: 22px;
    }
}

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

.page {
    flex: 1 0 auto;
}

.page--legal-group {
    border-top: 1px solid #D0D0D0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #3a3d3f;
    border-radius: 7px;
    padding: 12px 27px;
    background: transparent;
    color: #3a3d3f;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 1.12px;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.btn:hover {
    color: var(--color-white);
    border-color: var(--color-accent);
    background: var(--color-accent);
}

.btn-primary {
    padding: 28px;
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
    font-size: 20px;
    min-width: 350px;
}

.btn-primary:hover {
    border-color: var(--color-accent-hover);
    background: var(--color-accent-hover);
}

@media (max-width: 575px) {
    .btn-primary {
        width: 100%;
        min-width: auto;
        padding: 18px;
    }
}

.check-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list {
    display: grid;
    gap: 8px;
}

.check-list li {
    position: relative;
    padding-left: 24px;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 12px;
    height: 7px;
    border-left: 2px solid var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
    transform: rotate(-45deg);
}

.site-header {
    position: relative;
    z-index: 10;
    padding: 32px 0;
    background: var(--color-white);
}

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

.site-logo,
.site-footer__logo {
    display: inline-flex;
    flex: 0 0 auto;
}

.site-logo img,
.site-footer__logo img {
    width: 160px;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 29px;
    margin: 0;
    padding: 0;
    color: var(--color-ink);
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    list-style: none;
    white-space: nowrap;
}

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

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

.site-header__cta {
    padding: 11px 15px;
    font-size: 12px;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .site-header {
        padding: 13px 0;
        border-bottom: 1px solid var(--color-line);
    }

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

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

    .site-nav {
        display: none;
    }
}

.hero {
    padding: 225px 0 261px;
    background:
            url("../imgs/hero-window.png") center top / auto 860px no-repeat,
            linear-gradient(-91deg, #FFF 1.28%, #FAE9D2 37.56%, #B2957B 100.45%) left / 30% no-repeat,
            linear-gradient(91deg, #FFF 1.28%, #FAE9D2 37.56%, #B2957B 100.45%) right / 30% no-repeat;
}

.hero h1 {
    color: #7E5A50;
}

.hero__content {
    max-width: 521px;
    margin: 0 auto;
    text-align: center;
}

.hero__content p {
    margin-top: 20px;
    color: var(--color-ink);
    font-size: 18px;
    line-height: 24px;
}

.hero__list {
    grid-template-columns: repeat(2, auto);
    justify-content: center;
    gap: 33px;
    margin-top: 20px;
    font-size: 22px;
    line-height: 41px;
}

.hero .btn {
    margin-top: 30px;
}

@media (max-width: 767px) {
    .hero {
        padding: 33px 0 123px;
        background: url("../imgs/hero-window-mobile.png") center bottom 48px / auto 308px no-repeat,
            linear-gradient(180deg, #FFF5E6 0%, #A7876A 100%);
    }

    .hero__content {
        max-width: 300px;
    }

    .hero__content p {
        margin-top: 21px;
        font-size: 16px;
        line-height: 24px;
    }

    .hero .btn {
        min-width: auto;
        width: auto;
        margin-top: 20px;
    }

    .hero__list {
        grid-template-columns: 1fr;
        gap: 0;
        justify-items: center;
        margin-top: 95px;
        font-size: 20px;
        line-height: 34px;
    }
}

.steps-section {
    padding: 142px 0;
    background: url("../imgs/steps-bg.png") bottom center / cover no-repeat;
}

.steps-section h2 {
    color: white;
}

.steps-slider {
    width: 100%;
    max-width: 100%;
    margin-top: 60px;
    overflow: visible;
}

.steps-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 0;
}

.steps-slider .step-card {
    display: flex;
    justify-content: center;
}

.step-card {
    text-align: center;
    min-width: 0;
}

.step-card__inner {
    width: 100%;
    max-width: 500px;
    padding: 48px 31px 42px;
    border: 1px solid #D8BABA;
    border-radius: 7px;
    background: linear-gradient(-91deg, #ffe6cf70 2.73%, #ffffff8c 101.9%);
    box-shadow: 0 10px 30px 0 rgba(77, 85, 89, 0.10);
    overflow: hidden;
}

@media (max-width: 900px) {
    .step-card__inner {
        box-shadow: none;
    }
}

.step-card:nth-child(even) .step-card__inner {
    background: linear-gradient(91deg, #ffe6cf70 2.73%, #ffffff8c 101.9%);
}

.step-card__icon {
    width: auto;
    height: 90px;
    margin: 0 auto 20px;
}

.step-card p {
    margin-top: 16px;
    color: var(--color-text);
    font-size: 18px;
    line-height: 22px;
}

.section-action {
    margin-top: 80px;
    text-align: center;
}

@media (min-width: 901px) {
    .steps-slider .steps-grid {
        width: auto !important;
        transform: none !important;
    }

    .steps-slider .step-card {
        width: auto !important;
        margin-right: 0 !important;
    }

    .steps-slider__pagination {
        display: none;
    }
}

@media (max-width: 900px) {
    .steps-section {
        padding: 70px 0;
        background-position: bottom left;
    }

    .steps-slider {
        margin: 40px auto 0;
        overflow: hidden;
    }

    .steps-grid {
        display: flex;
        gap: 0;
    }

    .steps-slider .step-card {
        flex: 0 0 100%;
        width: 100% !important;
        max-width: 100%;
    }

    .step-card__inner {
        width: calc(100% - 30px);
        box-shadow: 0 10px 30px rgba(77, 85, 89, 0.10);
    }

    .steps-slider__pagination {
        position: static;
        margin-top: 22px;
    }

    .steps-slider__pagination .swiper-pagination-bullet {
        width: 20px;
        height: 20px;
        border-radius: 50%;
        border: 2px solid #7E5A50;
        background-color: transparent;
    }

    .steps-slider__pagination .swiper-pagination-bullet-active {
        background: #7E5A50;
    }
}

.why-section {
    padding: 100px 0;
    background: var(--color-white);
    overflow-x: clip;
}

.why-section h2 {
    color: #7E5A50;
}

.why-section__layout {
    position: relative;
    display: grid;
    margin-top: 52px;
}

.why-section__media {
    grid-area: 1 / 1;
    width: 80.1%;
    border-radius: 12px;
    overflow: hidden;
}

.why-section__media img {
    width: 100%;
}

.why-card {
    grid-area: 1 / 1;
    align-self: start;
    justify-self: end;
    width: 57.2%;
    margin-top: 109px;
    padding: 78px 32px;
    border-radius: 7px;
    background: rgba(184, 158, 136, 0.9);
}

.why-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding-left: 36px;
    color: var(--color-white);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.6;
    list-style: disc;
}

.why-list li {
    padding-left: 0;
}

.why-card .btn {
    display: flex;
    max-width: 350px;
    margin: 50px auto 0;
    border-color: var(--color-white);
    background: var(--color-white);
    color: var(--color-accent);
}

.why-card .btn:hover {
    border-color: var(--color-accent);
    background: var(--color-accent);
    color: var(--color-white);
}

@media (max-width: 1000px) {
    .why-section {
        padding: 70px 0 0;
    }

    .why-section__layout {
        display: block;
        margin-inline: -15px;
    }

    .why-section__media {
        width: 100%;
    }

    .why-card {
        width: auto;
        margin-top: -5px;
        padding: 48px 28px;
        border-radius: 0;
        position: relative;
        z-index: 2;
    }

    .why-card .btn {
        width: 100%;
        max-width: 350px;
        min-width: auto;
        margin-top: 32px;
        border-color: var(--color-accent);
        background: var(--color-accent );
        color: var(--color-white);
    }

    .why-card .btn:hover {
        border-color: var(--color-accent-hover);
        background: var(--color-accent-hover);
        color: var(--color-white);
    }
}

@media (max-width: 767px) {
    .why-section__layout {
        margin-top: 32px;
    }

    .why-section__media {
        border-radius: 0;
    }

    .why-card {
        padding: 32px 20px;
    }

    .why-list {
        padding-left: 24px;
        font-size: 18px;
        line-height: 1.55;
    }
}

.faq-preview-section {
    position: relative;
    padding: 75px 0;
    overflow: hidden;
}

.faq-preview-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
            linear-gradient(180deg, rgba(156, 119, 84, 0.30) 0%, rgba(244, 230, 225, 0.30) 100%),
            url("../imgs/faq-bg.png") center bottom / 100% auto no-repeat;
    pointer-events: none;
}

.faq-section {
    position: relative;
    padding: 128px 0 167px;
    overflow: hidden;
}

.faq-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(-254deg, #BA9F85 9.38%, #FBF4EA 47.08%);
    pointer-events: none;
}

@media (max-width: 767px) {
    .faq-section {
        padding: 29px 0 142px;
    }

    .faq-section::before {
        background:
            linear-gradient(180deg, rgba(156, 119, 84, 0.30) 0%, rgba(244, 230, 225, 0.30) 100%),
            url("../imgs/faq-bg.png") center bottom / auto 232px no-repeat;
    }
}

.faq-preview-section .wrapper,
.faq-section .wrapper {
    position: relative;
    z-index: 1;
}

.faq-preview-section h2,
.faq-section h1,
.faq-section h2 { 
    color: #7E5A50;
    text-align: center;
}

.accordeon {
    display: grid;
    gap: 24px;
    max-width: 730px;
    margin: 54px auto 0;
}

.box-acc {
    border: 1px solid var(--color-line);
    border-radius: 12px;
    background: var(--color-white);
}

.box-acc.in {
    border-color: #5a8a79;
}

.ac-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 30px;
    cursor: pointer;
}

.ac-head h4 {
    color: var(--color-ink);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.ac-head__icon {
    order: 2;
    position: relative;
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
}

.ac-head__icon::before,
.ac-head__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-ink);
    transform: translateY(-50%);
}

.ac-head__icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.box-acc.in .ac-head__icon::after {
    opacity: 0;
}

.ac-body {
    padding: 0 30px 30px;
    color: var(--color-text);
    font-size: 20px;
    line-height: 27px;
}

@media (max-width: 767px) {
    .faq-preview-section {
        padding: 60px 0;
    }

    .accordeon {
        gap: 16px;
        margin-top: 35px;
    }

    .ac-head {
        padding: 20px;
    }

    .ac-head h4 {
        font-size: 22px;
    }

    .ac-body {
        padding: 0 20px 22px;
        font-size: 18px;
    }
}

.cta-section {
    padding: 129px 0 73px;
    background: var(--color-white);
}

.cta-section__layout {
    position: relative;
    padding: 65px;
    background: white;
    box-shadow: 0 4px 58px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid #DFDFDF;
}

.cta-section__content {
    position: relative;
    z-index: 1;
    max-width: 505px;
}

.cta-section h2 {
    text-align: left;
    color: #7E5A50;
}

.cta-section p {
    margin-top: 30px;
    color: #1F2A3A;
    font-size: 22px;
    line-height: 28px;
}

.cta-section__list {
    margin-top: 47px;
    font-size: 24px;
    line-height: 38px;
}

.cta-section .btn {
    margin-top: 34px;
}

.cta-section__media {
    position: absolute;
    right: 25px;
    bottom: 0;
    width: 489px;
}

@media (max-width: 1080px) {
    .cta-section__media {
        width: 360px;
    }
}

@media (max-width: 900px) {
    .cta-section__layout {
        display: flex;
        flex-direction: column;
        padding: 45px 25px 0;
        box-shadow: none;
        border: none;
    }

    .cta-section__content {
        max-width: none;
    }

    .cta-section__media {
        position: static;
        width: min(100%, 360px);
        margin: 35px auto 0;
    }

    .cta-section {
        padding: 60px 0 0;
    }

    .cta-section__layout {
        padding: 32px 20px 0;
    }

    .cta-section h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .cta-section p {
        margin-top: 20px;
        font-size: 18px;
        line-height: 24px;
    }

    .cta-section__list {
        margin-top: 32px;
        font-size: 20px;
        line-height: 32px;
    }

    .cta-section .btn {
        margin-top: 28px;
    }

    .cta-section__media {
        width: min(100%, 280px);
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .cta-section {
        text-align: center;
    }

    .cta-section h2 {
        text-align: center;
    }
    
    .cta-section__list {
        text-align: left;
    }
}

.contact-section {
    padding: 48px 0;
    background: linear-gradient(-254deg, #BA9F85 9.38%, #FBF4EA 47.08%);
}

.contact-section__layout {
    display: grid;
    grid-template-columns: 537px 491px;
    align-items: start;
    gap: 79px;
}

.contact-section__content {
    padding-top: 44px;
}

.contact-section h1 {
    color: #7E5A50;
    font-size: 42px;
    font-weight: 700;
    line-height: 45px;
}

.contact-section__lead {
    margin-top: 20px;
    color: #1F2A3A;
    font-size: 20px;
    line-height: 25px;
}

.contact-section__details {
    display: grid;
    gap: 20px;
    margin-top: 20px;
    color: #1F2A3A;
}

.contact-section__label {
    display: block;
    color: #1F2A3A;
    font-size: 20px;
    font-weight: 400;
    line-height: 25px;
    margin-block-end: 10px;
}

.contact-section__value {
    display: block;
    color: #1F2A3A;
    font-size: 22px;
    font-weight: 400;
    line-height: 34px;
}

.contact-section__phone {
    color: #F15A24;
}

.contact-section__map {
    overflow: hidden;
    width: 489px;
    height: 410px;
    padding: 17px 20px;
    background: var(--color-white);
}

.contact-section__map iframe {
    display: block;
}

@media (max-width: 1139px) {
    .contact-section {
        padding: 60px 0;
    }

    .contact-section__layout {
        grid-template-columns: 1fr;
        gap: 35px;
        justify-items: center;
        text-align: center;
    }

    .contact-section__content {
        padding-top: 0;
    }

    .contact-section__details {
        justify-items: center;
    }

    .contact-section__map {
        width: 100%;
        max-width: 489px;
    }
}

@media (max-width: 575px) {
    .contact-section h1 {
        font-size: 28px;
        line-height: 32px;
    }

    .contact-section__lead,
    .contact-section__label {
        font-size: 18px;
        line-height: 24px;
    }

    .contact-section__value {
        font-size: 18px;
        line-height: 28px;
    }

    .contact-section__map {
        height: 300px;
        padding: 12px;
    }
}

.site-footer {
    flex-shrink: 0;
    padding: 45px 0 43px;
    background: var(--color-footer);
    color: var(--color-white);
}

.site-footer__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.site-footer__nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: var(--color-white);
    font-size: 14px;
    line-height: normal;
}

.site-footer__nav a:hover,
.site-footer__nav a.active {
    color: var(--color-accent-hover);
}

.site-footer__text {
    margin: 0;
    max-width: 834px;
    font-size: 14px;
    line-height: normal;
    text-align: right;
}

.site-footer__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
    margin-top: 21px;
}

.copyright {
    margin: 0;
    width: max-content;
    min-width: 180px;
    font-size: 14px;
    line-height: normal;
}

@media (max-width: 767px) {
    .site-footer {
        padding: 29px 0;
        text-align: center;
    }

    .site-footer__top {
        display: grid;
        justify-items: center;
        justify-content: center;
        gap: 20px;
    }

    .site-footer__bottom {
        display: grid;
        justify-items: center;
        gap: 20px;
        margin: 20px auto 0;
    }

    .site-footer__text,
    .copyright {
        text-align: center;
    }

    .site-footer__text {
        order: 1;
    }

    .copyright {
        order: 2;
    }
}

.legal-content,
.embedded-form {
    padding: 70px 0;
}

.legal-content {
    padding-block: 43px 40px;
}

.legal-content h1 {
    margin-block-end: 43px;
}

.legal-content {
    font-size: 20px;
}

.legal-content p {
    margin-block-end: 24px;
}

.legal-content p > strong {
    font-size: 24px;
    font-weight: 700;
}

.legal-content a {
    color: #F15A24 ;
}

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