/* Visual rhythm shared with /services/, /expert/, /about/ and /contact/. */
.home-page {
    --home-ink: #10182d;
    --home-text: #405071;
    --home-muted: #74809b;
    --home-line: #e7e8f3;
    --home-violet: #5e13ef;
    --home-pink: #ed3f8d;
    --home-gradient: linear-gradient(110deg, #5512ef, #8524ed 52%, #ed3f8d);
    --home-section-gap: clamp(82px, 9vw, 132px);
    width: 100%;
    color: var(--home-ink);
}

.home-page *,
.home-page *::before,
.home-page *::after { box-sizing: border-box; }

/* Hero */
.home-page .first-screen-wrap {
    padding: clamp(24px, 3vw, 42px) 0 0;
    background: #fff;
}

/*.home-page .first-screen-wrap > .container > .row {*/
/*    display: grid;*/
/*    grid-template-columns: minmax(0, .98fr) minmax(410px, 1.02fr);*/
/*    gap: clamp(28px, 4vw, 58px);*/
/*    align-items: center;*/
/*    min-height: 535px;*/
/*    margin: 0;*/
/*    padding: clamp(36px, 4.5vw, 58px);*/
/*    overflow: hidden;*/
/*    background:*/
/*        radial-gradient(circle at 87% 17%, rgba(237, 63, 141, .14), transparent 28%),*/
/*        radial-gradient(circle at 67% 88%, rgba(94, 19, 239, .13), transparent 33%),*/
/*        linear-gradient(135deg, #fff, #faf8ff);*/
/*    border: 1px solid var(--home-line);*/
/*    border-radius: 28px;*/
/*    box-shadow: 0 28px 80px rgba(36, 27, 81, .07);*/
/*}*/

/*.home-page .first-screen-wrap > .container > .row > [class*="col-"] {*/
/*    width: 100%;*/
/*    max-width: none;*/
/*    padding: 0;*/
/*}*/

/*.home-page .first-screen-title { margin: 0 0 24px; }*/

/*.home-page .first-screen-title h1 {*/
/*    max-width: 820px;*/
/*    margin: 0;*/
/*    color: var(--home-ink);*/
/*    font-size: clamp(44px, 4.45vw, 62px);*/
/*    font-weight: 650;*/
/*    line-height: 1.04;*/
/*    letter-spacing: -.047em;*/
/*}*/

/*.home-page .first-screen-subtitle {*/
/*    max-width: 740px;*/
/*    color: var(--home-text);*/
/*    font-size: clamp(17px, 1.45vw, 20px);*/
/*    line-height: 1.65;*/
/*}*/

/*.home-page .first-screen-cta-wrap { gap: 12px; margin-top: 30px; }*/

/*.home-page .first-screen-cta-wrap .main-header__cta-btn,*/
/*.home-page .first-screen-cta-wrap .main-header__cta-audit {*/
/*    min-height: 52px;*/
/*    padding: 13px 23px;*/
/*    font-size: 14px;*/
/*    font-weight: 700;*/
/*    border-radius: 12px;*/
/*}*/

/*.home-page .first-screen-cta-wrap .main-header__cta-audit {*/
/*    background: #fff;*/
/*    border-width: 1px;*/
/*    box-shadow: none;*/
/*}*/

/*.home-page .first-screen__features {*/
/*    gap: 14px;*/
/*    margin-top: 34px;*/
/*    padding-top: 26px;*/
/*    border-top: 1px solid var(--home-line);*/
/*}*/

/*.home-page .first-screen__feature { grid-template-rows: 52px 1fr; row-gap: 9px; }*/
/*.home-page .first-screen__feature-icon { width: 52px; height: 52px; }*/
/*.home-page .first-screen__feature-icon img { max-width: 52px; max-height: 52px; }*/
/*.home-page .first-screen__feature-title { color: var(--home-ink); font-size: 13px; }*/
/*.home-page .first-screen__feature-subtitle { color: var(--home-muted); font-size: 11px; line-height: 1.4; }*/

/*.home-page .main-banner { min-height: 390px; margin: -18px -22px; }*/
/*.home-page .main-banner img { width: 112%; max-width: 112%; max-height: 535px; object-fit: contain; filter: drop-shadow(0 28px 35px rgba(48, 26, 94, .14)); }*/

/*.home-page .main-hero-advanced {*/
/*    margin-top: 18px;*/
/*    border-color: var(--home-line);*/
/*    border-radius: 18px;*/
/*    box-shadow: 0 18px 48px rgba(30, 22, 70, .055);*/
/*}*/

/*.home-page .main-hero-advanced-item,*/
/*.home-page .main-hero-advanced-item-nikovit { min-height: 140px; padding: 23px 20px; }*/
/*.home-page .main-hero-advanced-item-title,*/
/*.home-page .main-hero-advanced-item-nikovit-title { color: var(--home-ink); font-size: 14px; }*/
/*.home-page .main-hero-advanced-item-subtitle,*/
/*.home-page .main-hero-advanced-item-nikovit-subtitle { color: var(--home-muted); line-height: 1.5; }*/

/* Shared section typography and spacing */
.home-page .main-section { margin-top: var(--home-section-gap); }

.home-page .main-section-subtitle {
    margin-bottom: 15px;
    color: #5a698e;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-page .main-section-title h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: clamp(36px, 4.3vw, 57px);
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.home-page .main-h2-title {
    color: inherit;
    font: inherit;
    line-height: inherit;
    letter-spacing: inherit;
}

.home-page .main-section-title-description {
    max-width: 760px;
    margin-top: 18px;
    color: var(--home-text);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
}

.home-page .main-section > .container > .row:first-child { align-items: center; }

/* Cards */
.home-page .main-service-list { margin-top: 42px; }

.home-page .main-service-list-item {
    min-height: 285px;
    margin-bottom: 18px;
    padding: 30px;
    border-color: var(--home-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(30, 22, 70, .055);
}

.home-page .main-service-list-item:hover,
.home-page .main-service-list-item:focus-visible {
    border-color: rgba(94, 19, 239, .25);
    box-shadow: 0 22px 52px rgba(30, 22, 70, .1);
}

.home-page .main-service-list-item-title h3 {
    margin-bottom: 13px;
    color: var(--home-ink);
    font-size: 22px;
    letter-spacing: -.015em;
}

.home-page .main-service-list-item-subtitle { color: var(--home-text); font-size: 15px; line-height: 1.6; }

.home-page .main-service-footer {
    margin-top: 2px;
    padding: 26px 30px;
    border-color: var(--home-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 15px 42px rgba(30, 22, 70, .055);
}

.home-page .main-service-footer-cta { min-height: 48px; border-radius: 11px; }

/* Dark cases follows the same full-width sections used on content pages. */
.home-page .main-section-cases {
    margin-top: var(--home-section-gap);
    padding: clamp(65px, 8vw, 110px) 0;
    background: radial-gradient(circle at 84% 12%, rgba(109, 34, 236, .3), transparent 28%), #111526;
}

.home-page .main-section-cases::before,
.home-page .main-section-cases::after { opacity: .45; box-shadow: none; }

.home-page .main-section-cases .main-section-title h2 { color: #fff; }
.home-page .main-section-cases .main-section-subtitle { color: #bca6ff; }
.home-page .main-section-cases .main-section-title-description { color: rgba(255, 255, 255, .68); }
.home-page .main-cases-list { gap: 18px; margin-top: 42px; }
.home-page .main-case-card { border-radius: 18px; }

/* Articles and about */
.home-page .main-section-article .row:last-child { margin-top: 42px; }
.home-page .main-about-advantages { margin-top: 42px; }

.home-page .main-about-advantages-item,
.home-page .main-sert,
.home-page .main-ico-technologies {
    border-color: var(--home-line);
    border-radius: 18px;
    box-shadow: 0 15px 42px rgba(30, 22, 70, .055);
}

.home-page .main-about-advantages-item { padding: 24px; }
.home-page .main-about-advantages-text-title { color: var(--home-ink); font-size: 17px; }
.home-page .main-about-advantages-text-txt { color: var(--home-text); font-size: 14px; line-height: 1.6; }
.home-page .main-about-nikolaev { border-radius: 22px 22px 0 0; }
.home-page .main-about-nikolaev-telegram { border-radius: 0 0 22px 22px; }
.home-page .main-sert { margin-top: 42px; padding: 30px; }
.home-page .main-ico-technologies { margin-top: 18px; padding: 30px; }
.home-page .main-ico-technologies-title { font-size: 25px; letter-spacing: -.02em; }

/* Process and final CTA */
.home-page .main-work-process .container {
    padding: clamp(40px, 5vw, 62px);
    border-color: var(--home-line);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(30, 22, 70, .06);
}

.home-page .main-work-process-list { margin-top: 42px; }
.home-page .main-work-process-title { color: var(--home-ink); font-size: 20px; }
.home-page .main-work-process-text,
.home-page .main-work-process-points li { color: var(--home-text); line-height: 1.6; }

.home-page .main-cta {
    min-height: 430px;
    padding: clamp(44px, 6vw, 72px);
    border-radius: 26px;
    background: radial-gradient(circle at 75% 10%, rgba(255,255,255,.16), transparent 25%), var(--home-gradient);
    box-shadow: 0 28px 70px rgba(94, 19, 239, .2);
}

.home-page .main-cta-title { font-size: clamp(36px, 4.2vw, 52px); font-weight: 650; letter-spacing: -.035em; }
.home-page .main-cta-subtitle { margin-top: 10px; font-size: clamp(23px, 2.6vw, 32px); }
.home-page .main-cta-text { margin-top: 20px; font-size: 17px; line-height: 1.65; }
.home-page .main-cta-button { border-radius: 14px; }

@media (max-width: 1199.98px) {
    .home-page .first-screen-wrap > .container > .row { grid-template-columns: minmax(0, 1fr) 390px; gap: 26px; min-height: 510px; padding: 38px 34px; }
    .home-page .first-screen-title h1 { font-size: clamp(43px, 4.8vw, 56px); }
    .home-page .main-hero-advanced { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-page .main-hero-advanced__cell--nikovit { grid-column: span 2; }
}

@media (max-width: 991.98px) {
    .home-page .first-screen-wrap > .container > .row { grid-template-columns: minmax(0, 1fr) 310px; min-height: 485px; padding: 34px 28px; }
    .home-page .first-screen-title h1 { font-size: clamp(40px, 5.4vw, 49px); }
    .home-page .first-screen-subtitle { font-size: 16px; }
    .home-page .main-banner { min-height: 330px; margin: -12px -18px; }
    .home-page .main-service-list-item { grid-template-columns: minmax(0, 1fr) 210px; }
}

@media (max-width: 767.98px) {
    .home-page { --home-section-gap: 72px; }
    .home-page .first-screen-wrap { padding-top: 18px; }
    .home-page .first-screen-wrap > .container > .row { display: flex; min-height: 0; flex-direction: column; align-items: stretch; padding: 32px 21px; border-radius: 20px; }
    .home-page .first-screen-title h1 { font-size: clamp(39px, 11vw, 50px); }
    .home-page .first-screen-cta-wrap { flex-direction: column; }
    .home-page .first-screen-cta-wrap > * { width: 100%; }
    .home-page .main-banner { min-height: 230px; max-height: 290px; margin: -12px 0 0; order: -1; }
    .home-page .main-banner img { width: 100%; max-width: 100%; max-height: 290px; }
    .home-page .main-hero-advanced { grid-template-columns: 1fr; }
    .home-page .main-hero-advanced__cell--nikovit { grid-column: auto; }
    .home-page .main-section-title h2 { font-size: clamp(34px, 10vw, 46px); }
    .home-page .main-section-title-description { font-size: 15px; }
    .home-page .main-service-list { margin-top: 32px; }
    .home-page .main-service-list-item { grid-template-columns: 1fr; min-height: 0; padding: 24px; }
    .home-page .main-service-list-item-img { margin-top: 24px; }
    .home-page .main-section-cases { padding: 58px 0 66px; }
    .home-page .main-about-advantages { grid-template-columns: 1fr; }
    .home-page .main-work-process .container { padding: 34px 22px; border-radius: 20px; }
    .home-page .main-cta { padding: 36px 22px; border-radius: 20px; }
}
