

:root {
    --font-main: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
    --color-white: #ffffff;
    --color-ink: #1f2a3a;
    --color-text: #646665;
    --color-soft: #f7f7f7;
    --color-line: #d6d6d6;
    --color-yellow: #fece2f;
    --color-yellow-hover: #ffc300;
    --color-blue: #0074c2;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

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: 14px;
    font-weight: 400;
    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;
}

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

h1,
.h1 {
    color: var(--color-ink);
    font-size: 38px;
    font-weight: 600;
    line-height: 1.22;
}

.h2 {
    color: var(--color-ink);
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
}

.h3 {
    color: rgba(41, 47, 44, 0.95);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
}

.h4 {
    color: var(--color-text);
    font-size: 22px;
    font-weight: 400;
    line-height: 28px;
}

.h5 {
    color: var(--color-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
}

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

    .h2 {
        font-size: 20px;
        line-height: 30px;
    }

    .h3 {
        font-size: 20px;
        line-height: 34px;
    }

    .h4,
    .h5 {
        font-size: 18px;
        line-height: 21px;
    }
}

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

.page {
    flex: 1 0 auto;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    padding: 28px 68px;
    color: #21272b;
    background: var(--color-yellow);
    font-size: 24px;
    letter-spacing: 0.03em;
}

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

@media (max-width: 767px) {
    .btn-primary {
        padding: 15px 32px;
        font-size: 18px;
    }
}

@media (max-width: 450px) {
    .btn-primary {
        width: 100%;
    }
}

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

.check-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 20px;
    align-items: center;
}

.check-list li::before {
    content: "";
    display: block;
    inline-size: 12px;
    block-size: 7px;
    color: var(--color-blue);
    border-inline-start: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(-45deg);
}

@media (max-width: 767px) {
    .check-list li {
        gap: 16px;
    }
}

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

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

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

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

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

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

.site-header__cta {
    padding: 9px 18px;
    border-color: var(--color-ink);
    border-radius: 2px;
    background: transparent;
    font-size: 14px;
    font-weight: 800;
    margin-left: 13px;
}

.site-header__cta:hover {
    color: white;
    background: var(--color-yellow);
    border-color: var(--color-yellow);
}

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

@media (max-width: 967px) {
    .site-header {
        padding-block: 13px;
    }

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

    .site-nav {
        display: none;
    }
}

.hero-decor {
    position: relative;
    overflow-x: clip;
}

.hero-decor:before {
    content: '';
    display: block;
    position: absolute;
    width: 835px;
    height: 286px;
    bottom: -12px;
    left: 50%;
    transform: translateX(calc(-100% - 795px));
    background-image: url(../imgs/hero-home-decor.png);
    background-repeat: no-repeat;
    background-size: auto;
}

.hero {
    padding-block: 62px 92px;
}

.hero--home {
    border-top: 1px solid #21272B;
    border-bottom: 1px solid #21272B;
}

.hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(28px, 4vw, 78px);
}

.hero__content {
    position: relative;
    z-index: 1;
}

.hero__text {
    margin-block-start: 32px;
    color: var(--color-ink);
}

.hero__list {
    margin-block-start: 52px;
}

.hero__content .btn {
    margin-block-start: 35px;
}

@media (min-width: 400px) {
    .hero__content h1 span {
        display: block;
        white-space: nowrap;
    }
}

.hero__media {
    margin-block: -65px -92px;
    height: calc(100% + 62px + 92px);
    overflow-y: clip;
}

.hero__media img {
    max-width: none;
}

@media (max-width: 992px) {
    .hero--home {
        border: none;
    }
    .hero {
        padding-block: 15px 36px;
        text-align: center;
    }

    .hero__layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__text {
        margin-block-start: 44px;
    }

    .hero__list {
        margin-block-start: 36px;
        text-align: left;
    }

    .hero__content .btn {
        margin-block-start: 32px;
    }

    .hero__media {
        position: relative;
        margin-block: 0;
        height: auto;
        width: 30%;
    }

    .hero__media:before,
    .hero__media:after {
        content: '';
        position: absolute;
        height: 1px;
        background-color: #21272B;
        width: 1200px;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero__media:before {
        top: 0;
    }
    .hero__media:after {
        bottom: 0;
    }

    .hero__media img {
        width: 173%;
    }
}

@media (max-width: 567px) {
    .hero__media {
        width: 50%;
    }
}

@media (max-width: 450px) {
    .hero__list {
        align-self: flex-start;
    }

    .hero__media {
        width: 70%;
    }

    .hero__media img {
        width: 192%;
    }
}

.steps-section {
    padding-block: 120px 82px;
}

.steps-section__title {
    margin-block-end: 60px;
}

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

.step-card {
    display: flex;
    flex-direction: column;
    padding: 32px 37px 34px;
    border-radius: 24px;
    background: var(--color-white);
    box-shadow: 0 0 79.5px rgba(163, 163, 163, 0.15);
}

.step-card__icon {
    align-self: flex-end;
    margin-block-end: 52px;
}

@media (min-width: 901px) {
    .step-card .h2 {
        min-height: 70px;
    }
}


.step-card .h4 {
    margin-block-start: 26px;
}

@media (max-width: 900px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .steps-section {
        padding-block: 50px;
    }

    .steps-section__title {
        margin-block-end: 28px;
    }

    .steps-grid {
        gap: 20px;
    }

    .step-card {
        padding: 27px 30px 28px;
        border-radius: 16px;
    }

    .step-card__icon {
        margin-block-end: 47px;
    }

    .step-card .h4 {
        margin-block-start: 11px;
    }
}

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

@media (max-width: 1400px) {
    .why-section-decor {
        overflow: clip;
    }
}

.why-section-decor:after {
    content: '';
    display: block;
    position: absolute;
    width: 282px;
    height: 206px;
    bottom: -12px;
    right: 50%;
    transform: translateX(calc(100% + 679px));
    background-image: url(../imgs/why-section-decor.png);
    background-repeat: no-repeat;
    background-size: auto;
}

.why-section {
    padding-block: 40px 112px;
    border-bottom: 1px solid #21272B;
}

.why-section__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 30px;
}

.why-section__media {
    transform: translateX(-168px) translateY(7%) scale(1.72);
}

.why-section__content .h1 {
    margin-block-end: 44px;
}

.benefit-list {
    display: grid;
    gap: 24px;
}

.benefit-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 25px;
    align-items: start;
}

.benefit-item img {
    margin-block-start: 10px;
}

.benefit-item .h5 {
    margin-block-start: 8px;
}

@media (max-width: 1350px) {
    .why-section__media {
        transform: translateX(-168px) translateY(28%) scale(1.5);
    }
}

@media (max-width: 1100px) {
    .why-section__media {
        transform: translateX(-168px) translateY(40%) scale(1.5);
    }
}


@media (max-width: 1000px) {
    .why-section {
        padding-block: 0;
        border-bottom: none;
    }
    .why-section__layout {
        grid-template-columns: 1fr;
    }

    .why-section__content {
        order: 1;
    }

    .why-section__media {
        order: 2;
        transform: scale(1.05);
        width: 70%;
    }
}

@media (max-width: 767px) {
    .why-section__layout {
        gap: 24px;
    }

    .why-section__content .h1 {
        margin-block-end: 58px;
        text-align: center;
    }

    .benefit-list {
        gap: 30px;
    }

    .benefit-item {
        gap: 22px;
    }

    .benefit-item img {
        margin-block-start: 3px;
    }

    .benefit-item .h5 {
        margin-block-start: 10px;
    }

    .why-section__media {
        transform: translateX(-35%) scale(1.25);
        transform-origin: left top;
    }
}

@media (max-width: 567px) {
    .why-section__media {
        width: 100%;
        transform: translateX(-18%);
    }
}

.faq-hero {
    padding-block: 52px;
    overflow: hidden;
}

.faq-hero__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.faq-hero__media {
    align-self: end;
    transform: translateX(-110px) translateY(10px) scale(1.4);
}

@media (max-width: 1400px) {
    .faq-hero__media {
        transform: translateX(-110px) translateY(20px) scale(1.4);
    }
}

@media (max-width: 767px) {
    .faq-hero {
        padding-block-start: 44px;
        padding-block-end: 0;
        border-bottom: none;
    }

    .faq-hero__layout {
        display: flex;
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .faq-hero__media {
        transform: none;
    }

    .faq-hero__media img {
        width: 525px;
        height: auto;
        max-width: none;
        transform: translateX(-5%);
    }
}

@media (max-width: 375px) {
    .faq-hero__media img {
        transform: translateX(0);
    }
}

@media (max-width: 320px) {
    .faq-hero__media img {
        transform: translateX(8%);
    }
}

.faq-section {
    padding-block: 120px;
    background: var(--color-soft);
}

.faq-section .accordeon {
    padding-inline: 150px;
}

@media (max-width: 967px) {
    .faq-section .accordeon {
        padding-inline: 0;
    }
}

@media (max-width: 767px) {
    .faq-section {
        padding-block: 40px 50px;
    }
}

.faq-preview-section {
    padding-block: 92px 104px;
    background: var(--color-soft);
}

.faq-preview-section .accordeon {
    padding-inline: 150px;
}

@media (max-width: 967px) {
    .faq-preview-section .accordeon {
        padding-inline: 0;
    }
}

.faq-preview-section .section-title {
    margin-block-end: 45px;
}

.accordeon {
    display: grid;
    gap: 16px;
}

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

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

.ac-head {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 19px 30px;
    cursor: pointer;
}

.ac-head h4 {
    flex: 1 1 auto;
}

.ac-head__icon {
    order: 2;
    flex: 0 0 auto;
}

.ac-head__icon::before {
    content: "";
    display: inline-block;
    inline-size: 9px;
    block-size: 9px;
    color: var(--color-ink);
    border-inline-end: 2px solid currentColor;
    border-block-end: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.box-acc.in .ac-head__icon::before {
    transform: rotate(225deg);
}

.ac-body {
    padding: 0 30px 22px;
    color: var(--color-text);
}

.ac-body:empty {
    padding: 0;
}

@media (max-width: 767px) {
    .faq-preview-section {
        padding-block: 40px 50px;
    }

    .faq-preview-section .section-title {
        margin-block-end: 44px;
    }

    .accordeon {
        gap: 10px;
    }

    .box-acc {
        border-radius: 8px;
    }

    .ac-head {
        padding: 10px 20px;
    }

    .ac-body {
        padding: 0 20px 16px;
    }
}

.contact-section {
    padding-block: 112px 190px;
    overflow-x: clip;
}

.contact-section__layout {
    display: grid;
    grid-template-columns: 0.42fr 0.58fr;
    align-items: center;
}

.contact-section__content {
    display: grid;
    gap: 20px;
}

.contact-section__details {
    display: grid;
    gap: 20px;
}

.contact-section__item {
    display: grid;
    gap: 12px;
}

.contact-section__item .h4 {
    color: var(--color-ink);
}

.contact-section__item a:hover {
    color: var(--color-blue);
}

.contact-section__map {
    position: relative;
    width: 100%;
    height: 458px;
    padding: 24px;
    border: 1px solid #21272B;
    background-color: #fff;
}

.contact-section__map:before {
    content: '';
    display: block;
    position: absolute;
    width: 1070px;
    height: 1px;
    top: 0;
    left: 0;
    background-color: #21272B;
}

.contact-section__map-bg {
    position: absolute;
    width: 1207px;
    height: calc(100% + 136px);
    top: 0;
    left: -136px;
    background-image: url(../imgs/contact-section-decor-desktop.png);
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: auto;
    z-index: -1;
}

.contact-section__map:after {
    content: '';
    display: block;
    position: absolute;
    width: 1195px;
    height: calc(100% + 137px);
    top: 0;
    left: -125px;
    border-right: 1px solid #21272B;
    border-bottom: 1px solid #21272B;
}

.contact-section__map iframe {
    display: block;
    border: 0;
}

@media (max-width: 1228px) {
    .contact-section__layout {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 967px) {
    .contact-section {
        padding-block: 44px 70px;
    }

    .contact-section * {
        color: var(--color-ink);
    }

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

    .contact-section__map {
        height: 263px;
        padding: 17px;
        border: 1px solid #DFDFDF;
        box-shadow: 0 4px 58px 0 rgba(0, 0, 0, 0.15);
    }

    .contact-section__map:before,
    .contact-section__map:after {
        content: none;
    }

    .contact-section__map-bg {
        position: absolute;
        width: 355px;
        height: 156px;
        bottom: -78px;
        top: auto;
        left: 85px;
        background-image: url(../imgs/contact-section-decor-mobile.png);
        background-repeat: no-repeat;
        background-position: left bottom;
        background-size: auto;
        z-index: -1;
    }

    .contact-section .h5 {
        font-size: 16px;
    }
}

.cta-section {
    padding-block: 120px;
    overflow: hidden;
}

.cta-section__layout {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    align-items: center;
}

.cta-section__content .h1 {
    margin-block-end: 34px;
}

.cta-section__content .btn {
    margin-block-start: 35px;
}

.cta-section__media {
    transform: translateX(151px) translateY(24%) scale(2.9);
}

@media (max-width: 1328px) {
    .cta-section__media {
        transform: translateX(54px) translateY(64%) scale(2);
    }
}

@media (max-width:  1160px) {
    .cta-section {
        padding-block: 44px 0;
        text-align: center;
    }

    .cta-section__layout {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .cta-section__content {
        display: flex;
        flex-direction: column;
    }

    .cta-section__content .h1 {
        margin-block-end: 30px;
    }

    .cta-section .check-list {
        align-self: flex-start;
        margin-inline-start: 33px;
        text-align: left;
    }

    .cta-section__content .btn {
        margin-block-start: 30px;
        align-self: center;
    }

    .cta-section__media {
        transform: translateX(31%);
        transform-origin: left top;
        justify-self: flex-end;
        width: 60%;
    }
}

@media (max-width:  767px) {
    .cta-section__media {
        transform: translateX(13%);
    }
}

@media (max-width:  567px) {
    .cta-section__media {
        width: auto;
    }
}

.site-footer {
    background: var(--color-ink);
    color: var(--color-white);
    font-size: 14px;
    line-height: 1.35;
}

.site-footer .wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
        "brand nav"
        "copyright text";
    gap: 42px 32px;
    padding-block: 52px 36px;
}

.site-footer__top {
    display: contents;
}

.site-footer__logo {
    grid-area: brand;
    display: flex;
}

.site-footer__nav {
    grid-area: nav;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    text-align: right;
}

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

.site-footer__nav a:hover {
    text-decoration: underline;
}

.site-footer__text {
    grid-area: text;
    text-align: right;
}

.copyright {
    grid-area: copyright;
}

@media (max-width: 767px) {
    .site-footer .wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding-block: 40px;
        text-align: center;
    }

    .site-footer__top {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .site-footer__nav {
        justify-content: center;
        text-align: center;
    }

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

.legal-content {
    padding-block: 50px 100px;
}

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

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

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

.legal-content p > strong {
    font-size: 22px;
}

.legal-content a {
    color: #0074C2;
}

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

.embedded-form {
    padding-block: 80px;
}
