:root {
    --bg-1: #1C1C1C;
    --bg-2: #0E0E0E; /* графит (второй можно оставить на будущее) */
    --text: #EAEAEA;
    --muted: #C9CDD6;
    --card: #FFFFFF;
    --stroke: rgba(0, 0, 0, .10);
    --accent: #4B5DFF; /* акцент кнопки/таба */
}

* {
    box-sizing: border-box
}

html, body {
    height: auto;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Montserrat, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial;
    background: var(--bg-1); /* единый фон для всего сайта */
    overflow-x: hidden;
}

/* ===== HERO (экран 1) ===== */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--bg-1); /* тот же единый фон под изображением */
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 800px at 15% 20%, rgba(0, 0, 0, .35), transparent 60%),
    url("../img/phon1.png") center/cover no-repeat; /* путь от assets/css/ */
    filter: saturate(1.05);
    z-index: 0;
}

.hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .30) 40%, rgba(0, 0, 0, .10) 60%, rgba(0, 0, 0, 0) 75%);
}

.nav {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
    gap: 32px;
    padding: 22px 36px;
    font-weight: 700;
    letter-spacing: .02em;
}

.nav a {
    color: #fff;
    text-decoration: none;
    opacity: .9
}

.nav a:hover {
    opacity: 1
}

.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:1.1fr .9fr;
    align-items: center;
    gap: 36px;
    padding: 64px clamp(16px, 4vw, 56px) 96px;
    margin: auto 0;
}

.headline h1 {
    margin: 0 0 16px 0;
    font-weight: 800;
    line-height: 1.05;
    font-size: clamp(32px, 5vw, 56px)
}

.headline p {
    margin: 0;
    font-weight: 300;
    font-size: clamp(18px, 2.4vw, 28px);
    line-height: 1.25;
    color: var(--muted);
    max-width: 28ch
}

.card {
    background: var(--card);
    color: #111;
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    border: 1px solid var(--stroke);
    max-width: 520px;
    justify-self: end;
}

.card h3 {
    margin: 0 0 18px 0;
    font-size: 28px;
    font-weight: 800;
    color: #111
}

.field {
    width: 100%;
    height: 52px;
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 10px;
    background: #EDEFF2;
    padding: 0 14px;
    font: 600 16px Montserrat, sans-serif;
    outline: none
}

.field + .field {
    margin-top: 14px
}

.cta {
    margin-top: 18px;
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font: 800 20px Montserrat, sans-serif;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(75, 93, 255, .45)
}

.cta:hover {
    filter: brightness(1.05)
}

.legal {
    margin-top: 14px;
    font-size: 12.5px;
    color: #4B5563;
    line-height: 1.4
}

.legal a {
    color: #374151
}

.legal a:hover {
    text-decoration: none
}

/* ===== WHO WE ARE (экран 2) ===== */
.who {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    padding: clamp(72px, 10vw, 140px) clamp(16px, 4vw, 56px);
    background: var(--bg-1); /* единый фон */
}

.who__container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%
}

.who__title {
    font: 800 clamp(28px, 4.2vw, 44px) Montserrat, sans-serif;
    letter-spacing: .01em;
    margin: 0 0 12px 0
}

.who__lead {
    max-width: 68ch;
    color: var(--muted);
    font: 400 clamp(16px, 2vw, 22px) Montserrat, sans-serif;
    line-height: 1.45;
    margin: 0 0 clamp(28px, 4vw, 40px) 0
}

.who__grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: clamp(16px, 3vw, 32px);
    margin-bottom: clamp(28px, 4vw, 40px)
}

.who-card {
    position: relative;
    background: var(--card);
    color: #111;
    border-radius: 28px;
    padding: 28px 28px 32px;
    padding-top: 56px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
    border: 1px solid var(--stroke)
}

.who-card__tab {
    position: absolute;
    top: -18px;
    left: 22px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font: 800 18px Montserrat, sans-serif;
    box-shadow: 0 6px 18px rgba(75, 93, 255, .45)
}

.who-card__list {
    margin: 0;
    padding-left: 1.2em;
    font: 500 18px/1.6 Montserrat, sans-serif
}

.who-card__list li {
    margin: .25em 0
}

.who__para {
    max-width: 80ch;
    color: var(--muted);
    font: 400 clamp(15px, 2vw, 20px) Montserrat, sans-serif;
    line-height: 1.5;
    margin: 0 0 14px 0
}

/* ===== ЭКРАН 3: GRID + нижний арт ===== */
.features3 {
    position: relative;
    min-height: 100vh;
    padding: clamp(72px, 7vw, 120px) clamp(16px, 4vw, 56px) clamp(120px, 12vw, 180px);
    background: var(--bg-1); /* единый фон */
    overflow: hidden;
}

.features3__container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.features3__title {
    margin: 0 0 12px 0;
    font: 800 clamp(28px, 4.6vw, 44px) Montserrat, sans-serif;
    letter-spacing: .01em;
    color: var(--text);
}

.features3__lead {
    margin: 0 0 clamp(28px, 4vw, 40px) 0;
    max-width: 72ch;
    color: var(--muted);
    font: 400 clamp(16px, 2vw, 22px) Montserrat, sans-serif;
    line-height: 1.45;
}

/* декоративный арт снизу (оставили) */
.features3__art {
    position: absolute;
    inset: auto 0 0 0;
    height: min(62vh, 700px);
    background: url("../img/phon2.png") center bottom / cover no-repeat;
    opacity: .9;
    filter: saturate(1.05);
    z-index: 1;
    pointer-events: none;
}

.features3__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 3vw, 28px);
    margin-top: clamp(20px, 3vw, 32px);
}

.fcard {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    border: 1px solid var(--stroke);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fcard__body {
    color: #111;
    font: 600 18px/1.4 Montserrat, sans-serif;
    padding: 22px;
    text-align: center;
}

/* ===== ЭКРАН 4: TESTIMONIALS ===== */
.t4 {
    position: relative;
    min-height: 100vh;
    background: var(--bg-1); /* единый фон */
    padding: clamp(72px, 8vw, 120px) clamp(16px, 4vw, 56px);
}

.t4__container {
    max-width: 1200px;
    margin: 0 auto;
}

.t4__title {
    margin: 0 0 clamp(24px, 3vw, 32px) 0;
    font: 800 clamp(28px, 4.6vw, 44px) Montserrat, sans-serif;
    letter-spacing: .01em;
    color: var(--text);
}

.tcard {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 22px;
    background: #fff;
    color: #111;
    border-radius: 28px;
    padding: 22px;
    border: 1px solid var(--stroke);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    margin-bottom: clamp(18px, 3vw, 28px);
}

.tcard__avatar {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    background: url("../img/user-1.jpg") center/cover no-repeat;
}

.tcard__body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tcard__name {
    display: inline-block;
    align-self: flex-start;
    background: var(--accent);
    color: #fff;
    font: 800 18px/1 Montserrat, sans-serif;
    padding: 10px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(75, 93, 255, .45);
}

.tcard__text {
    margin: 0;
    font: 500 18px/1.6 Montserrat, sans-serif;
    color: #111;
}

/* ===== ЭКРАН 5: TRUST & VERIFIED DATA ===== */
.trust5 {
    position: relative;
    min-height: 100vh;
    background: var(--bg-1); /* единый фон */
    padding: clamp(72px, 8vw, 120px) clamp(16px, 4vw, 56px);
}

.trust5__container {
    max-width: 1200px;
    margin: 0 auto;
}

.trust5__title {
    margin: 0 0 clamp(24px, 3vw, 32px) 0;
    font: 800 clamp(28px, 4.6vw, 44px) Montserrat, sans-serif;
    letter-spacing: .01em;
    color: var(--text);
}

.trust5__grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(20px, 4vw, 40px);
}

.trust5__content {
    color: var(--text);
    font: 400 clamp(16px, 2vw, 20px) Montserrat, sans-serif;
    line-height: 1.6;
}

.trust5__list {
    margin: 10px 0 24px 0;
    padding-left: 1.2em;
}

.trust5__list li {
    margin: .3em 0;
}

.trust5__card {
    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    min-height: 380px;
}

/* ===== ЭКРАН 6: CTA (с фоновым изображением) — FIX ===== */
.cta6 {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: var(--bg-1);
    isolation: isolate; /* свой стек слоёв, чтобы оверлеи не конфликтовали */
}

/* Фоновый слой: КАРТИНКА + радиальный свеч */
.cta6__bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(1000px 700px at 20% 25%, rgba(0, 0, 0, .35), transparent 55%),
    url("../img/phon3.png");
    background-position: center, center;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
    z-index: -2; /* ниже всего */
    filter: saturate(1.05);
    pointer-events: none; /* чтобы не перехватывал события */
    will-change: transform; /* сглаживаем на скроллах */
}

/* Слой‑затемнитель */
.cta6__scrim {
    position: absolute;
    inset: 0;
    z-index: -1; /* над фоном, под контентом */
    background: linear-gradient(90deg,
    rgba(0, 0, 0, .55) 0%,
    rgba(0, 0, 0, .35) 40%,
    rgba(0, 0, 0, .10) 60%,
    rgba(0, 0, 0, 0) 75%
    );
    pointer-events: none;
}

/* Контентный контейнер: ставим такую же ширину, как на других экранах */
.cta6__container {
    position: relative;
    z-index: 0; /* над оверлеями */
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 36px;

    /* ЕДИНЫЕ отступы + ширина, как в остальных секциях */
    padding: 64px clamp(16px, 4vw, 56px);
    max-width: 1200px;
    margin: 0 auto; /* центрируем */
    width: 100%;
}

/* Текст и форма */
.cta6__text h2 {
    margin: 0 0 12px 0;
    font: 800 clamp(32px, 5vw, 56px) Montserrat, sans-serif;
    line-height: 1.05;
    color: #fff;
}

.cta6__text p {
    margin: 0;
    color: var(--muted);
    font: 300 clamp(18px, 2.4vw, 28px) Montserrat, sans-serif;
    line-height: 1.25;
}

.cta6__form {
    justify-self: end;
    max-width: 520px;
}

/* Адаптив */
@media (max-width: 1024px) {
    .cta6__container {
        grid-template-columns:1fr;
    }

    .cta6__form {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .cta6__text h2 {
        font-size: clamp(28px, 7vw, 40px);
    }
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-1); /* единый фон */
    color: var(--text);
    padding: clamp(40px, 6vw, 64px) clamp(16px, 4vw, 56px) 0;
    border-top: 1px solid var(--stroke);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__brand h3 {
    margin: 0 0 8px;
    font: 800 22px/1.2 Montserrat, sans-serif;
}

.footer__brand p {
    margin: 0;
    font: 400 16px/1.4 Montserrat, sans-serif;
    color: var(--muted);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer__nav a {
    color: var(--text);
    text-decoration: none;
    font: 500 16px Montserrat, sans-serif;
    transition: color .25s
}

.footer__nav a:hover {
    color: var(--accent);
}

.footer__socials {
    display: flex;
    gap: 12px;
}

.footer__socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: background .25s;
}

.footer__socials a:hover {
    background: #3f4de8;
}

.footer__bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid var(--stroke);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font: 400 14px Montserrat, sans-serif;
    color: var(--muted);
}

.footer__bottom a {
    color: var(--muted);
    text-decoration: none;
    transition: color .25s
}

.footer__bottom a:hover {
    color: var(--accent);
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns:1fr
    }

    .card {
        justify-self: start;
        max-width: 560px
    }

    .headline p {
        max-width: 34ch
    }

    .who__grid {
        grid-template-columns:1fr
    }

    .trust5__grid {
        grid-template-columns:1fr;
    }

    .cta6__container {
        grid-template-columns:1fr;
    }

    .cta6__form {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .nav {
        justify-content: center;
        gap: 20px;
        padding: 18px 16px
    }

    .card {
        padding: 22px;
        border-radius: 22px
    }

    .card h3 {
        font-size: 22px
    }

    .cta {
        height: 52px;
        font-size: 18px
    }

    .who-card {
        padding: 22px;
        border-radius: 22px
    }

    .who-card__tab {
        font-size: 16px;
        left: 18px
    }

    .features3 {
        padding-bottom: 120px;
    }

    .features3__grid {
        grid-template-columns: 1fr;
    }

    .fcard {
        border-radius: 20px;
        min-height: 150px;
    }

    .features3__art {
        height: min(48vh, 520px);
        opacity: .85;
    }

    .tcard {
        grid-template-columns: 72px 1fr;
        border-radius: 22px;
        padding: 18px;
    }

    .tcard__avatar {
        width: 72px;
        height: 72px;
        border-radius: 14px;
    }

    .tcard__name {
        font-size: 16px;
        padding: 8px 14px;
    }

    .tcard__text {
        font-size: 16px;
    }

    .trust5__card {
        border-radius: 22px;
        min-height: 300px;
    }

    .cta6__bg {
        background-position: 60% center;
    }
}

/* ==== CTA6 HOTFIX (в конец файла) ==== */

/* 1) Правильная слоистость и один фон */
.cta6 {
    position: relative !important;
    overflow: hidden !important;
    background: var(--bg-1) !important;
}

.cta6 > .cta6__bg {
    position: absolute !important;
    inset: 0 !important;
    background-image: radial-gradient(1000px 700px at 20% 25%, rgba(0, 0, 0, .35), transparent 55%),
    url("../img/phon3.png") !important;
    background-position: center, center !important;
    background-size: cover, cover !important;
    background-repeat: no-repeat, no-repeat !important;
    z-index: 0 !important;
    pointer-events: none !important;
    filter: saturate(1.05) !important;
}

.cta6 > .cta6__scrim {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .35) 40%, rgba(0, 0, 0, .10) 60%, rgba(0, 0, 0, 0) 75%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 2) Контейнер с нормальной шириной как везде */
.cta6__container {
    position: relative !important;
    z-index: 2 !important;
    min-height: 100vh !important;
    display: grid !important;
    grid-template-columns: 1.1fr .9fr !important;
    align-items: center !important;
    gap: 36px !important;
    padding: 64px clamp(16px, 4vw, 56px) !important;
    max-width: 1200px !important;
    width: 100% !important;
    margin: 0 auto !important;
}

/* 3) Адаптив как был */
@media (max-width: 1024px) {
    .cta6__container {
        grid-template-columns: 1fr !important;
    }
}

.cta6, .cta6__container {
    background: transparent !important;
}
@media(max-width:600px) {
    .footer__socials {
        flex-direction: column;
    }
}