* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #fff;
    background: #2b1d10;
}

.hero {
    position: relative;
    min-height: 760px;
    overflow: hidden;
    padding: 48px 42px 80px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: -10px;
    background-image: url(girl.jpg);
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.04);
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.42);
    z-index: 1;
}

.header,
.hero__content {
    position: relative;
    z-index: 2;
}

.header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    margin-bottom: 190px;
    font-size: 30px;
}

.logo,
.city {
    color: #f4f1ee;
}

.nav a {
    color: #f4f1ee;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 90px;
}

.city {
    justify-self: end;
}

.hero__content {
    display: grid;
    grid-template-columns: 1.08fr 0.9fr;
    gap: 72px;
    align-items: stretch;
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 18px;
    background: rgba(20, 20, 20, 0.28);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 40px rgba(255, 255, 255, 0.03);
}

.hero__info {
    padding: 32px 28px 36px;
}

.hero__info h1 {
    margin: 0 0 42px;
    max-width: 660px;
    font-size: 40px;
    line-height: 1.22;
    font-weight: 700;
}

.hero__info h1 span {
    display: block;
}

.hero__info p {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.25;
}

.hero__underline {
    display: inline-block;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.hero__form {
    padding: 30px 48px 28px;
    text-align: center;
}

.hero__form h2 {
    margin: 0 0 16px;
    font-size: 29px;
    line-height: 1.18;
}

.hero__form p {
    margin: 0 auto 30px;
    max-width: 520px;
    font-size: 18px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.82);
}

.hero__form input[type="text"],
.hero__form input[type="tel"] {
    display: block;
    width: 100%;
    max-width: 440px;
    height: 48px;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(40, 24, 12, 0.55);
    color: #fff;
    font-size: 18px;
    text-align: center;
    outline: none;
}

.hero__form input::placeholder {
    color: rgba(255, 255, 255, 0.82);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 450px;
    margin: 4px auto 0;
    text-align: left;
    cursor: pointer;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkbox span {
    position: relative;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border: 2px solid #fff;
}

.checkbox span::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 8px;
    height: 14px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.checkbox input:checked+span::after {
    transform: rotate(45deg) scale(1);
}

.checkbox small {
    font-size: 11px;
    line-height: 1.2;
    color: #fff;
}

@media (max-width: 900px) {
    .hero {
        padding: 28px 18px 48px;
    }

    .header {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 80px;
        font-size: 22px;
        text-align: center;
    }

    .nav {
        justify-content: center;
        gap: 32px;
    }

    .city {
        justify-self: center;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero__info h1 {
        font-size: 30px;
    }

    .hero__info p,
    .hero__underline {
        font-size: 24px;
    }

    .hero__form {
        padding: 28px 22px;
    }
}

.trust {
    min-height: 900px;
    padding: 110px 42px 80px;
    background: #2b1b0f;
    color: #fff;
}

.trust__heading {
    max-width: 620px;
    margin: 0 auto 90px;
    text-align: center;
}

.trust__heading h2 {
    margin: 0 0 22px;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
}

.trust__heading p {
    margin: 0;
    font-size: 25px;
    line-height: 1.22;
    color: rgba(255, 255, 255, 0.86);
}

.trust__items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 88px;
    max-width: 1160px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 34px;
    max-width: 540px;
}

.trust-item--left {
    justify-self: start;
}

.trust-item--right {
    justify-self: end;
    margin-top: 70px;
}

.trust-item__icon {
    width: 58px;
    flex: 0 0 58px;
    font-size: 54px;
    line-height: 1;
    color: #fff;
}

.trust-item h3 {
    margin: 0 0 14px;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
}

.trust-item p {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 900px) {
    .trust {
        min-height: auto;
        padding: 70px 22px;
    }

    .trust__heading {
        margin-bottom: 60px;
    }

    .trust__heading h2 {
        font-size: 32px;
    }

    .trust__heading p {
        font-size: 21px;
    }

    .trust__items {
        grid-template-columns: 1fr;
        row-gap: 46px;
    }

    .trust-item,
    .trust-item--right {
        justify-self: start;
        margin-top: 0;
    }

    .trust-item {
        gap: 22px;
    }

    .trust-item__icon {
        width: 42px;
        flex-basis: 42px;
        font-size: 42px;
    }

    .trust-item h3 {
        font-size: 23px;
    }

    .trust-item p {
        font-size: 20px;
    }
}

.checkbox__link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.checkbox__link:hover {
    opacity: 0.8;
}

.steps {
    padding: 110px 42px 125px;
    background: #30302f;
    color: #fff;
}

.steps__heading {
    max-width: 760px;
    margin: 0 auto 145px;
    text-align: center;
}

.steps__heading h2 {
    margin: 0 0 24px;
    font-size: 42px;
    line-height: 1.15;
    font-weight: 700;
}

.steps__heading p {
    margin: 0;
    font-size: 25px;
    line-height: 1.22;
    color: rgba(255, 255, 255, 0.86);
}

.steps__scheme {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 110px;
    row-gap: 108px;
    max-width: 1160px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    min-height: 305px;
    padding: 52px 54px 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 54px;
    background: #30302f;
    box-shadow: 24px 24px 32px rgba(0, 0, 0, 0.18);
}

.step-card--form {
    grid-column: 1;
    grid-row: 1;
}

.step-card--manager {
    grid-column: 2;
    grid-row: 1;
}

.step-card--trial {
    grid-column: 1;
    grid-row: 2;
}

.step-card--photo {
    grid-column: 2;
    grid-row: 2;
}

.step-card--choice {
    grid-column: 1;
    grid-row: 3;
}

.step-card--form::after,
.step-card--trial::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -111px;
    width: 111px;
    height: 1px;
    background: rgba(255, 255, 255, 0.58);
}

.step-card--manager::after,
.step-card--trial::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -109px;
    width: 1px;
    height: 109px;
    background: rgba(255, 255, 255, 0.58);
}

.step-card__top {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-bottom: 34px;
}

.step-card__icon {
    width: 70px;
    height: 70px;
    flex: 0 0 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card__icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-card h3 {
    margin: 0;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    font-size: 22px;
    line-height: 1.22;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
    .steps {
        padding: 70px 22px;
    }

    .steps__heading {
        margin-bottom: 58px;
    }

    .steps__heading h2 {
        font-size: 32px;
    }

    .steps__heading p {
        font-size: 21px;
    }

    .steps__scheme {
        grid-template-columns: 1fr;
        row-gap: 28px;
    }

    .step-card,
    .step-card--form,
    .step-card--manager,
    .step-card--trial,
    .step-card--photo,
    .step-card--choice {
        grid-column: auto;
        grid-row: auto;
    }

    .step-card::before,
    .step-card::after {
        display: none;
    }

    .step-card {
        min-height: auto;
        padding: 34px 28px;
        border-radius: 30px;
    }

    .step-card__top {
        gap: 18px;
        margin-bottom: 24px;
    }

    .step-card__icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .step-card h3 {
        font-size: 24px;
    }

    .step-card p {
        font-size: 19px;
    }
}

.footer {
    padding: 62px 42px 64px;
    background: #2b1b0f;
    color: rgba(255, 255, 255, 0.82);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 110px;
    max-width: 720px;
    margin: 0 auto;
}

.footer p {
    margin: 0;
    font-size: 12px;
    line-height: 1.18;
}

.footer__right {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.footer__link {
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    line-height: 1.2;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer__link:hover {
    color: #fff;
}

@media (max-width: 700px) {
    .footer {
        padding: 42px 22px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        max-width: 360px;
    }

    .footer p {
        font-size: 12px;
    }

    .footer__link {
        font-size: 11px;
    }
}

html {
    scroll-behavior: smooth;
}

.hero__button {
    display: block;
    width: 100%;
    max-width: 440px;
    height: 48px;
    margin: 22px auto 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.hero__button:hover {
    background: rgba(255, 255, 255, 0.24);
}

body.modal-open {
    overflow: hidden;
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.privacy-modal.is-open {
    display: flex;
}

.privacy-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
}

.privacy-modal__content {
    position: relative;
    width: 100%;
    max-width: 760px;
    max-height: 82vh;
    overflow-y: auto;
    padding: 42px 46px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    background: #2b1b0f;
    color: #fff;
}

.privacy-modal__close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
}

.privacy-modal h2 {
    margin: 0 0 24px;
    font-size: 30px;
    line-height: 1.2;
}

.privacy-modal__text p {
    margin: 0 0 16px;
    font-size: 17px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.86);
}

.privacy-modal__text h3 {
    margin: 26px 0 12px;
    font-size: 20px;
    line-height: 1.3;
}

.privacy-modal__text h3:first-child {
    margin-top: 0;
}

.privacy-modal__text ul {
    margin: 0 0 16px;
    padding-left: 22px;
    color: rgba(255, 255, 255, 0.86);
}

.privacy-modal__text li {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.45;
}

@media (max-width: 700px) {
    .privacy-modal__content {
        padding: 34px 24px;
    }

    .privacy-modal h2 {
        font-size: 24px;
    }

    .privacy-modal__text p {
        font-size: 15px;
    }

    .privacy-modal__text h3 {
        font-size: 18px;
    }

    .privacy-modal__text li {
        font-size: 15px;
    }
}