:root {
    --header-offset: 86px;
    /* Одна колонка с контентом лендинга (как блок «Оптимизируем процессы…») */
    --landing-rail-max: 86%;
    --landing-rail-gap: clamp(1.15rem, 3.5vw, 2.25rem);
    /* Внутри цветных/рамочных полос — от текста до границы блока */
    --landing-block-pad-x: clamp(2rem, 3.6vw, 2.75rem);
}

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

html {
    scroll-behavior: smooth;
}

[id] {
    scroll-margin-top: var(--header-offset);
}

body {
    margin: 0;
    font-family: system-ui, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    color: #1a1f26;
    background: #f6f7f9;
}

body.lightbox-open {
    overflow: hidden;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 650;
}

h1 {
    font-size: clamp(1.6rem, 2.5vw + 1rem, 2.35rem);
    margin: 0 0 0.75rem;
}

h2 {
    font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem);
    margin: 0 0 0.75rem;
}

h3 {
    font-size: 1.1rem;
    margin: 0 0 0.35rem;
}

p {
    margin: 0 0 0.85rem;
}

.lead {
    font-size: 1.05rem;
    color: #2c3540;
}

.muted {
    color: #5c6673;
    font-size: 0.95rem;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.72rem;
    font-weight: 700;
    color: #5c6673;
    margin: 0 0 0.5rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(246, 247, 249, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e2e6ec;
}

.site-header__inner {
    max-width: min(94vw, 1600px);
    margin: 0 auto;
    padding: 0.75rem 1.25rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

.brand--logo {
    align-items: center;
    padding: 0.15rem 0;
}

.brand--logo img {
    height: 40px;
    width: auto;
    display: block;
}

.brand__mark {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 6px;
    background: #0f3d7a;
    color: #fff;
    font-size: 0.85rem;
}

.brand__name {
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    flex-wrap: nowrap;
    justify-content: center;
    min-width: 0;
}

.site-nav a {
    color: #243041;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 0.35rem 0.25rem;
}

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

.site-nav__dropdown {
    position: relative;
}

.site-nav__dropbtn {
    border: 0;
    background: transparent;
    font: inherit;
    color: #243041;
    cursor: pointer;
    padding: 0.35rem 0.25rem;
    list-style: none;
}

.site-nav__dropbtn::-webkit-details-marker {
    display: none;
}

.site-nav__menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0.2rem;
    min-width: 280px;
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(15, 25, 40, 0.12);
    padding: 0.5rem;
}

.site-nav__menu a {
    display: block;
    padding: 0.45rem 0.5rem;
    border-radius: 8px;
}

.site-nav__menu a:hover {
    background: #f0f4fa;
    text-decoration: none;
}

.site-nav__dropdown[open] > .site-nav__menu {
    display: block;
}

.site-header__cta {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.site-nav-toggle__check,
.site-nav-toggle {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    border: 1px solid #0f3d7a;
    background: #0f3d7a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn:hover {
    filter: brightness(1.05);
}

.btn--ghost {
    background: #fff;
    color: #0f3d7a;
}

.btn--compact {
    padding: 0.46rem 0.72rem;
    font-size: 0.88rem;
}

main {
    max-width: min(94vw, 1520px);
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

/* Вариант 1 (page-v1): заголовки и вводные секций по центру */
main.page-v1 .hero__text {
    text-align: center;
}

main.page-v1 .hero__actions {
    justify-content: center;
}

main.page-v1 .split--flow .split__text > h2,
main.page-v1 .split--flow .split__text > .lead {
    text-align: center;
}

main.page-v1 .sell-card__title {
    text-align: center;
}

main.page-v1 .sell-card p {
    text-align: center;
}

main.page-v1 .step-row__title,
main.page-v1 .step-row__eyebrow {
    text-align: center;
}

main.page-v1 .step-row__emphasis {
    text-align: center;
}

main.page-v1 .how-banner--inset {
    text-align: center;
}

main.page-v1 .trust-layout__main > h2,
main.page-v1 .trust-layout__main > .lead,
main.page-v1 .trust-layout__main > p {
    text-align: center;
}

main.page-v1 .trust-layout__main > ul.trust-bullets {
    text-align: left;
    max-width: 38rem;
    margin-left: auto;
    margin-right: auto;
}

main.page-v1 .trust-cta-bar .trust-actions.trust-actions--split {
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: none;
}

main.page-v1 .trust-cta-bar .trust-actions.trust-actions--solo {
    justify-content: center;
    width: 100%;
}

main.page-v1 .trust-kpi-card {
    text-align: center;
}

main.page-v1 .kpi-tile {
    text-align: center;
}

main.page-v1 .contacts-split__content > h2,
main.page-v1 .contacts-split__content > .lead,
main.page-v1 .contacts-split__content > .contacts-split__demo {
    text-align: center;
}

main.page-v1 .contacts-split__list {
    text-align: left;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

main.page-v1 .card--visual .card__title {
    text-align: center;
}

main.page-v1 .card--visual > p,
main.page-v1 .card--visual .card__effect {
    text-align: center;
}

main.page-v1 .card--visual .card__more {
    display: inline-block;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

main.page-v1 + .site-footer {
    text-align: center;
}

/* Вариант 2 (page-v2): тот же контент, заголовки и вводные слева */
main.page-v2 .section-head {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

main.page-v2 .section-head__sub--narrow {
    margin-left: 0;
    margin-right: 0;
    max-width: 48rem;
}

main.page-v2 .value-split__intro {
    text-align: left;
    margin-left: 0;
    max-width: none;
}

main.page-v2 .value-split__cta {
    text-align: left;
}

main.page-v2 .hero__text {
    text-align: left;
}

main.page-v2 .hero__actions {
    justify-content: flex-start;
}

main.page-v2 .split--flow .split__text > h2,
main.page-v2 .split--flow .split__text > .lead {
    text-align: left;
}

main.page-v2 .sell-card__title,
main.page-v2 .sell-card p {
    text-align: left;
}

main.page-v2 .step-row__title,
main.page-v2 .step-row__eyebrow,
main.page-v2 .step-row__emphasis,
main.page-v2 .how-banner--inset {
    text-align: left;
}

main.page-v2 .trust-layout__main > h2,
main.page-v2 .trust-layout__main > .lead,
main.page-v2 .trust-layout__main > p {
    text-align: left;
}

main.page-v2 .trust-kpi-card,
main.page-v2 .kpi-tile {
    text-align: left;
}

main.page-v2 .contacts-split__content > h2,
main.page-v2 .contacts-split__content > .lead,
main.page-v2 .contacts-split__content > .contacts-split__demo {
    text-align: left;
}

main.page-v2 .contacts-split__list {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
}

main.page-v2 .card--visual .card__title,
main.page-v2 .card--visual > p,
main.page-v2 .card--visual .card__effect {
    text-align: left;
}

main.page-v2 .card--visual .card__more {
    display: inline-block;
    width: auto;
    text-align: left;
    box-sizing: border-box;
}

main.page-v2 + .site-footer {
    text-align: left;
}

/* Варианты 2–3: одна ширина колонки и отступы, как у .value-split--framed (без скачка hero → «Оптимизируем…») */
body:has(main.page-v2) .site-header__inner {
    max-width: calc(var(--landing-rail-max) + 2 * var(--landing-rail-gap));
    padding-left: var(--landing-rail-gap);
    padding-right: var(--landing-rail-gap);
}

body:has(main.page-v2) .site-footer {
    max-width: calc(var(--landing-rail-max) + 2 * var(--landing-rail-gap));
    padding-left: var(--landing-rail-gap);
    padding-right: var(--landing-rail-gap);
    box-sizing: border-box;
}

main.page-v2 {
    box-sizing: border-box;
    width: 100%;
    max-width: calc(var(--landing-rail-max) + 2 * var(--landing-rail-gap));
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--landing-rail-gap) 3rem;
}

main.page-v2 .value-split--framed {
    max-width: 100%;
}

main.page-v2 > section.hero {
    padding-left: var(--landing-block-pad-x);
    padding-right: var(--landing-block-pad-x);
}

main.page-v2 > section.band {
    padding-left: var(--landing-block-pad-x);
    padding-right: var(--landing-block-pad-x);
}

main.page-v2 .band--value {
    padding-top: clamp(2rem, 4.5vw, 2.85rem);
    padding-bottom: clamp(2rem, 4.5vw, 2.85rem);
}

main.page-v2 .band--muted,
main.page-v2 .band--trust {
    margin-left: 0;
    margin-right: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

main.page-v2 .band--audience {
    padding-top: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

main.page-v2 .split--audience {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

main.page-v2 .how-acc {
    max-width: none;
}

main.page-v2 .how-banner--inset {
    max-width: none;
}

main.page-v2 .modules-acc {
    max-width: none;
}

/* Вариант 3: аккордеоны, FAQ, «наверх», блок «для кого», подправка первого экрана */
html:has(main.page-v3) {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html:has(main.page-v3) {
        scroll-behavior: auto;
    }
}

main.page-v3 .hero--v3 {
    padding-top: 1.5rem;
    padding-bottom: 1.75rem;
}

main.page-v3 .hero__grid--v3 {
    align-items: start;
}

main.page-v3 .hero__media--duo img {
    min-height: 0;
    max-height: min(52vh, 380px);
    object-fit: cover;
    object-position: center;
}

@media (max-width: 900px) {
    main.page-v3 .hero__grid--v3 {
        grid-template-columns: 1fr;
    }

    main.page-v3 .hero__media--duo {
        grid-template-columns: 1fr 1fr;
        max-width: 100%;
    }

    main.page-v3 .hero__media--duo img {
        max-height: min(40vh, 280px);
    }
}

@media (max-width: 520px) {
    main.page-v3 .hero__media--duo {
        grid-template-columns: 1fr;
    }

    main.page-v3 .hero__media--duo img {
        max-height: min(38vh, 240px);
    }
}

.band--audience {
    background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.75rem);
    margin-bottom: 0.5rem;
}

.split--audience {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1rem, 3vw, 2.5rem);
    align-items: start;
    max-width: min(100%, 1100px);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .split--audience {
        grid-template-columns: 1fr;
    }
}

.split__text--why .why-bullets {
    margin: 0.5rem 0 0;
    padding-left: 1.15rem;
    line-height: 1.55;
}

.split__text--why .why-bullets li {
    margin-bottom: 0.45rem;
}

.compact-note {
    margin-top: 1rem;
    font-size: 0.92rem;
    line-height: 1.45;
}

.split__media--single-v3 img {
    width: 100%;
    height: auto;
    max-height: min(70vh, 520px);
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid #e2e6ec;
    box-shadow: 0 12px 32px rgba(15, 25, 40, 0.08);
}

.modules-acc-hint,
.how-acc-hint {
    margin-top: 0.5rem;
    max-width: 42rem;
}

.modules-acc {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-width: min(100%, 920px);
}

.modules-acc__item {
    border: 1px solid #d8e0ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.modules-acc__item[open] {
    box-shadow: 0 8px 28px rgba(15, 40, 80, 0.07);
}

.modules-acc__summary {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.35rem 1rem;
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #0f2744;
}

.modules-acc__summary::-webkit-details-marker {
    display: none;
}

.modules-acc__title {
    flex: 1 1 12rem;
    min-width: 0;
}

.modules-acc__meta {
    flex: 2 1 16rem;
    font-weight: 500;
    font-size: 0.88rem;
    color: #3d4f66;
    text-align: right;
}

@media (max-width: 600px) {
    .modules-acc__meta {
        text-align: left;
        flex-basis: 100%;
    }
}

.modules-acc__body {
    padding: 0 1rem 1rem;
    border-top: 1px solid #edf1f7;
}

.modules-acc__row {
    display: grid;
    grid-template-columns: min(280px, 42vw) 1fr;
    gap: 1rem;
    align-items: start;
    padding-top: 0.85rem;
}

.modules-acc__row img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #e8edf4;
}

@media (max-width: 640px) {
    .modules-acc__row {
        grid-template-columns: 1fr;
    }
}

.module-infographic svg {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
}

/* var3: «Вопросы и ответы» — аккордеон на всю ширину полосы контента */
main.page-v3 #faq .faq-acc {
    max-width: none;
    width: 100%;
}

.how-acc {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    max-width: min(100%, 920px);
}

.how-acc__item {
    border: 1px solid #d8e0ec;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.how-acc__item[open] {
    box-shadow: 0 8px 28px rgba(15, 40, 80, 0.07);
}

.how-acc__summary {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    cursor: pointer;
    list-style: none;
}

.how-acc__summary::-webkit-details-marker {
    display: none;
}

.how-acc__badge {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0f3d7a;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.how-acc__headings {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.how-acc__title {
    font-weight: 700;
    font-size: 1.02rem;
    color: #0f2744;
}

.how-acc__eyebrow {
    font-size: 0.88rem;
    font-weight: 500;
    color: #5a6b82;
}

.how-acc__body {
    padding: 0 1rem 1rem 3.35rem;
    border-top: 1px solid #edf1f7;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #2a3544;
}

.how-acc__body p {
    margin: 0.65rem 0 0;
}

.how-acc__body p:first-child {
    margin-top: 0.75rem;
}

.how-acc__micro {
    margin: 0.65rem 0 0;
    padding-left: 1.1rem;
}

.how-acc__micro li {
    margin-bottom: 0.35rem;
}

.how-acc__emphasis {
    margin-top: 0.75rem;
}

@media (max-width: 520px) {
    .how-acc__body {
        padding-left: 1rem;
    }
}

.faq-acc {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: min(100%, 720px);
}

.faq-acc__item {
    border: 1px solid #d8e0ec;
    border-radius: 12px;
    background: #fafbfd;
    overflow: hidden;
}

.faq-acc__item[open] {
    background: #fff;
    box-shadow: 0 6px 22px rgba(15, 40, 80, 0.06);
}

.faq-acc__summary {
    padding: 0.85rem 1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    color: #0f2744;
}

.faq-acc__summary::-webkit-details-marker {
    display: none;
}

.faq-acc__body {
    padding: 0 1rem 1rem;
    border-top: 1px solid #edf1f7;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3d4f66;
}

.faq-acc__body p {
    margin: 0.65rem 0 0;
}

.back-to-top {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 40;
    padding: 0.5rem 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: #0f3d7a;
    border-radius: 999px;
    box-shadow: 0 6px 20px rgba(15, 61, 122, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.back-to-top:hover {
    background: #143a8f;
    color: #fff;
}

@media (max-width: 600px) {
    .back-to-top {
        right: 0.65rem;
        bottom: 0.65rem;
        padding: 0.45rem 0.7rem;
    }
}

@media print {
    .back-to-top {
        display: none;
    }
}

main.page-v2.page-v3 .how-banner--inset {
    text-align: left;
}

.hero {
    padding: 2rem 0 2.5rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.75rem;
    align-items: center;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.hero__media img {
    width: 100%;
    height: auto;
    min-height: 340px;
    border-radius: 14px;
    border: 1px solid #e2e6ec;
    box-shadow: 0 18px 40px rgba(15, 25, 40, 0.12);
    object-fit: cover;
}

.hero__media--duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    align-items: stretch;
}

.hero__media--duo img {
    min-height: 200px;
    height: 100%;
    max-height: 420px;
    object-fit: cover;
}

.band--value {
    margin: 1.75rem 0 2rem;
    padding: clamp(2rem, 4.5vw, 2.85rem) clamp(1.15rem, 3.5vw, 2.25rem);
    background: linear-gradient(165deg, #f8fafc 0%, #ffffff 42%, #f3f6fb 100%);
    border: 1px solid #cdd8ea;
    border-radius: 20px;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 14px 48px rgba(15, 40, 80, 0.09),
        0 4px 12px rgba(15, 40, 80, 0.04);
}

.value-split {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-split--framed {
    max-width: min(100%, 1180px);
    margin: 0 auto;
}

.value-split__intro {
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 0.35rem;
}

.value-split__intro h2 {
    margin-bottom: 0.5rem;
}

.value-split__intro .lead {
    margin-bottom: 0;
}

.value-split__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 1.35rem;
    align-items: start;
}

.value-split__cta {
    margin: 0.35rem 0 0;
    text-align: center;
}

.hero-visual {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e6ec;
    box-shadow: 0 14px 36px rgba(15, 25, 40, 0.1);
}

.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 280px;
    object-fit: cover;
    filter: brightness(0.92);
}

.hero-marker {
    position: absolute;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 0.28rem 0.45rem;
    border-radius: 999px;
    background: rgba(15, 61, 122, 0.92);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    white-space: nowrap;
}

.hero-marker--route {
    top: 18%;
    left: 12%;
}

.hero-marker--box {
    top: 42%;
    right: 22%;
}

.hero-marker--status {
    bottom: 28%;
    left: 20%;
    background: rgba(14, 116, 88, 0.94);
}

.hero-marker--kpp {
    top: 62%;
    right: 10%;
    background: rgba(180, 83, 9, 0.94);
}

.sell-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sell-card {
    --sell-accent: #0f3d7a;
    --sell-accent-soft: rgba(15, 61, 122, 0.12);
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.2rem 1.25rem 1.25rem 1.4rem;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 8px 28px rgba(15, 40, 80, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: hidden;
}

.sell-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--sell-accent), #1a2d44);
    border-radius: 16px 0 0 16px;
}

.sell-card:nth-child(1)::before {
    background: linear-gradient(180deg, #0f3d7a, #082952);
}

.sell-card:nth-child(2)::before {
    background: linear-gradient(180deg, #0d7a62, #064e3f);
}

.sell-card:nth-child(3)::before {
    background: linear-gradient(180deg, #c2410c, #7c2d12);
}

.sell-card::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -15%;
    width: 42%;
    height: 120%;
    background: radial-gradient(circle at center, var(--sell-accent-soft), transparent 68%);
    pointer-events: none;
}

.sell-card:nth-child(1) {
    --sell-accent: #0f3d7a;
    --sell-accent-soft: rgba(15, 61, 122, 0.14);
}

.sell-card:nth-child(2) {
    --sell-accent: #0d7a62;
    --sell-accent-soft: rgba(13, 122, 98, 0.14);
}

.sell-card:nth-child(3) {
    --sell-accent: #c2410c;
    --sell-accent-soft: rgba(194, 65, 12, 0.12);
}

.sell-card:hover {
    transform: translateY(-3px);
    border-color: #c5d0e2;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 16px 40px rgba(15, 40, 80, 0.12);
}

.sell-card__title {
    position: relative;
    margin: 0 0 0.5rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0f1a2a;
    letter-spacing: -0.01em;
}

.sell-card p {
    position: relative;
    margin: 0;
    color: #3d4d62;
    font-size: 0.98rem;
    line-height: 1.55;
}

.section-head__lead {
    font-size: 1.12rem;
    font-weight: 650;
    color: #1a2430;
    margin: 0.35rem 0 0.5rem;
}

.section-head--left {
    text-align: left;
    max-width: none;
    margin: 0 0 1.25rem;
}

.section-head--center {
    text-align: center;
    max-width: none;
    margin: 0 auto 2rem;
}

.section-head__sub--narrow {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.band--how {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.kpi-tile {
    background: #fff;
    border: 1px solid #d5deeb;
    border-radius: 14px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 10px 28px rgba(15, 40, 80, 0.08);
}

.kpi-tile__value {
    margin: 0 0 0.35rem;
    font-size: clamp(1.65rem, 2.2vw + 1rem, 2.25rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    color: #0f3d7a;
    line-height: 1.1;
}

.kpi-tile__label {
    margin: 0 0 0.55rem;
    font-weight: 650;
    font-size: 1.02rem;
}

.kpi-tile__desc {
    margin: 0;
    font-size: 0.94rem;
    color: #44556b;
}

.steps-timeline {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 0.25rem;
}

.step-row {
    display: grid;
    grid-template-columns: 3.25rem minmax(0, 1fr);
    gap: 0 1.25rem;
    align-items: stretch;
    margin-bottom: 0.25rem;
}

.step-row:last-child {
    margin-bottom: 0;
}

.step-row__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.35rem;
}

.step-row__badge {
    flex-shrink: 0;
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #0f3d7a 0%, #1e5cad 55%, #2563c9 100%);
    color: #fff;
    font-weight: 750;
    font-size: 1rem;
    display: grid;
    place-items: center;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.22) inset,
        0 6px 18px rgba(15, 61, 122, 0.35);
    z-index: 1;
}

.step-row__line {
    flex: 1;
    width: 4px;
    min-height: 1.25rem;
    margin-top: 0.45rem;
    border-radius: 4px;
    background: linear-gradient(180deg, #9eb6dc 0%, #d2dff3 55%, #e8eef8 100%);
}

.step-row:last-child .step-row__line {
    display: none;
}

.step-row__card {
    background: #fff;
    border: 1px solid #dfe6f0;
    border-radius: 16px;
    padding: 1.2rem 1.35rem 1.35rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 32px rgba(15, 25, 40, 0.07);
}

.step-row:last-child .step-row__card {
    margin-bottom: 0;
}

.step-row__title {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
    font-weight: 700;
    color: #101820;
    letter-spacing: -0.02em;
}

.step-row__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #5c6673;
    font-weight: 700;
}

.step-row__text {
    font-size: 0.98rem;
    margin: 0 0 0.75rem;
    color: #2c3540;
    line-height: 1.58;
    max-width: 65ch;
}

.step-row__text:last-of-type {
    margin-bottom: 0;
}

.step-row__micro {
    margin: 0.65rem 0 0.5rem;
    padding: 0.65rem 0.85rem 0.65rem 1.35rem;
    font-size: 0.9rem;
    color: #2a3a4d;
    background: #f4f7fc;
    border: 1px solid #e2e9f4;
    border-radius: 10px;
    line-height: 1.45;
}

.step-row__micro li {
    margin-bottom: 0.35rem;
}

.step-row__micro li:last-child {
    margin-bottom: 0;
}

.step-row__emphasis {
    margin: 0.85rem 0 0;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    color: #0b2f5e;
    background: linear-gradient(135deg, #e8f1fc 0%, #f0f5fd 100%);
    border: 1px solid #c5d8ef;
    border-radius: 10px;
}

.how-banner {
    margin: 1.75rem 0 0;
    padding: 1.2rem 1.35rem 1.2rem 1.5rem;
    border: 0;
    border-radius: 0 16px 16px 0;
    border-left: 5px solid #0f3d7a;
    background: linear-gradient(105deg, rgba(15, 61, 122, 0.09) 0%, rgba(248, 250, 252, 0.98) 42%, #f1f5f9 100%);
    font-weight: 600;
    font-size: 1.03rem;
    line-height: 1.5;
    color: #1a3354;
    box-shadow: 0 6px 28px rgba(15, 40, 80, 0.07);
}

.how-banner--inset {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.trust-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.trust-layout__main .lead {
    margin-bottom: 0.85rem;
}

.trust-bullets {
    margin: 0.5rem 0 1rem;
    padding-left: 1.2rem;
    color: #2c3540;
}

.trust-bullets li {
    margin-bottom: 0.25rem;
}

.trust-kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.15rem 0 1.35rem;
}

/* KPI-карточки вынесены из .trust-layout — полоса на всю ширину секции, сетка по центру */
.trust-kpi-band {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 0.65rem;
    padding: 1.35rem 0;
    border-top: 1px solid rgba(52, 96, 166, 0.15);
    box-sizing: border-box;
}

.trust-kpi-band .trust-kpi-grid {
    width: min(100%, 56rem);
    max-width: 56rem;
    margin-top: 0;
    margin-bottom: 0.25rem;
    box-sizing: border-box;
}

main.page-v2 .trust-layout__main > ul.trust-bullets {
    margin-left: 0;
    max-width: none;
}

.trust-kpi-card {
    --trust-kpi-accent: #0f3d7a;
    position: relative;
    background: linear-gradient(180deg, #fafcfe 0%, #ffffff 50%, #f4f7fc 100%);
    border: 0;
    border-radius: 16px;
    padding: 1.35rem 1.15rem 1.2rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.85) inset,
        0 10px 32px rgba(15, 35, 65, 0.08);
    overflow: hidden;
}

.trust-kpi-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--trust-kpi-accent), var(--trust-kpi-accent-mid, var(--trust-kpi-accent)));
    border-radius: 16px 16px 0 0;
    opacity: 0.95;
}

.trust-kpi-grid .trust-kpi-card:nth-child(1) {
    --trust-kpi-accent: #0f3d7a;
    --trust-kpi-accent-mid: #2563eb;
}

.trust-kpi-grid .trust-kpi-card:nth-child(2) {
    --trust-kpi-accent: #0d7a62;
    --trust-kpi-accent-mid: #14b8a6;
}

.trust-kpi-grid .trust-kpi-card:nth-child(3) {
    --trust-kpi-accent: #b45309;
    --trust-kpi-accent-mid: #ea580c;
}

.trust-kpi-grid .trust-kpi-card:nth-child(4) {
    --trust-kpi-accent: #5b21b6;
    --trust-kpi-accent-mid: #8b5cf6;
}

.trust-kpi-card__value {
    position: relative;
    margin: 0 0 0.5rem;
    font-weight: 750;
    font-size: 1.08rem;
    letter-spacing: -0.02em;
    color: #0c1f3d;
    line-height: 1.28;
}

.trust-kpi-card__label {
    position: relative;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #5c6b7e;
}

.trust-layout__media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #dfe8f4;
}

.trust-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
    margin-top: 0.25rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(52, 96, 166, 0.18);
}

.trust-actions--split {
    flex-wrap: nowrap;
    gap: 1rem;
}

.trust-actions--split .trust-actions__link,
.trust-actions--split .trust-actions__contacts {
    flex-shrink: 0;
}

/* Полоса под двухколоночным блоком: кнопки на всю ширину секции, по центру (var3) */
.trust-cta-bar {
    width: 100%;
    margin-top: 0.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(52, 96, 166, 0.18);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

    .trust-cta-bar .trust-actions {
        margin-top: 0;
        padding-top: 0;
        border-top: none;
        justify-content: space-evenly;
        width: 100%;
    }

.trust-cta-bar .trust-actions--split {
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-cta-bar .trust-actions--solo {
    justify-content: center;
}

.trust-cta-bar__hint {
    margin: 0;
    text-align: center;
    max-width: 36rem;
}

.contacts-split__demo {
    margin: 0.75rem 0 1rem;
}

.band {
    padding: 2.25rem 0;
}

.band--muted {
    background: #eef1f6;
    border-radius: 16px;
    padding: 2rem 1.25rem;
    margin: 0 -0.25rem;
}

.band--trust {
    background: linear-gradient(180deg, #e9f0fb 0%, #f6f7f9 100%);
    border-radius: 16px;
    padding: 2rem 1.25rem;
    margin: 0 -0.25rem;
}

.section-head {
    max-width: 820px;
    margin: 0 auto 1.25rem;
    text-align: center;
}

.section-head__sub {
    margin: 0;
    color: #3d4a5a;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.split--reverse .split__text {
    order: 2;
}

.split--reverse .split__media {
    order: 1;
}

.split__media img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid #e2e6ec;
    background: #fff;
}

.split__media--stack {
    display: grid;
    gap: 0.85rem;
    align-content: start;
}

.split__media--stack img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.split--flow {
    display: block;
}

.split--flow .split__text::after {
    content: "";
    display: table;
    clear: both;
}

.float-image {
    float: right;
    width: min(46%, 700px);
    margin: -0.25rem 0 0.9rem 1.1rem;
    border-radius: 12px;
    border: 1px solid #e2e6ec;
    background: #fff;
}

.float-image--left {
    float: left;
    margin: -0.25rem 1.1rem 0.9rem 0;
}

.flow-row::after {
    content: "";
    display: table;
    clear: both;
}

/* 6 колонок: первый ряд — 3 карточки; второй — осмотр и площадка пополам на всю ширину */
.cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.cards > article {
    grid-column: span 2;
}

.cards > article.card--inspection,
.cards > article.card--yard {
    grid-column: span 3;
}

.card {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 14px;
    padding: 1rem 1.05rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.card--visual {
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 24px rgba(15, 25, 40, 0.12);
}

.card__cover {
    width: 100%;
    height: 150px;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.86);
    display: block;
    border-bottom: 1px solid darkgray;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}


.card--inspection .card__cover {
    object-position: 0 28%;
}

.card__cover--infographic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    min-height: 150px;
    padding: 0.4rem;
    box-sizing: border-box;
    background: linear-gradient(180deg, #eef2f9 0%, #fafcfe 100%);
    border-bottom: 1px solid darkgray;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
    filter: none;
    object-fit: unset;
}

.card--infographic .card__cover--infographic .module-infographic {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card--infographic .card__cover--infographic .module-infographic svg {
    max-width: min(100%, 260px);
    max-height: 124px;
    width: auto;
    height: auto;
    margin: 0;
    border-radius: 8px;
}

.card--visual .card__title,
.card--visual p,
.card--visual .card__more {
    padding-left: 0.95rem;
    padding-right: 0.95rem;
}

.card--visual .card__title {
    margin-top: 0.75rem;
}

.card--visual .card__effect {
    margin-top: 0.2rem;
    margin-bottom: 0.55rem;
}

.card__effect {
    margin-top: auto;
    font-size: 0.95rem;
}

.card__more {
    margin-top: 0.35rem;
    font-weight: 600;
    color: #0f3d7a;
    text-decoration: none;
    margin-bottom: 1.35rem;
}

.card__more:hover {
    text-decoration: underline;
}

.trust-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.contacts-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    background: #edf1f6;
    color: #1a1f26;
    border-radius: 14px;
    overflow: hidden;
    min-height: 0;
}

.contacts-split__content {
    padding: clamp(1.35rem, 2.6vw, 2rem);
}

.contacts-split__accent {
    padding: clamp(1.2rem, 2.2vw, 1.8rem);
    border-left: 1px solid #d7dfec;
    display: grid;
    align-content: center;
    gap: 0.6rem;
    background: #f7f9fd;
}

.contacts-split__accent h3 {
    margin: 0;
}

.contacts-split__accent p {
    margin: 0;
    color: #44556b;
}

.contacts-split__accent img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #dfe5ef;
}

.contacts-split--v1 .contacts-split__accent {
    background: #0f1a2f;
    color: #e7efff;
    border-left-color: transparent;
    margin: 0.55rem;
    border-radius: 12px;
}

.contacts-split--v1 .contacts-split__accent img {
    max-height: 220px;
    width: auto;
    margin: auto;
    border: 0;
    background: transparent;
    border-radius: 12px;
}

.contacts-split--v1 .contacts-split__accent img,
.contacts-split--v2 .contacts-split__accent img {
    max-height: 300px;
    margin: auto;
    background: transparent;
}

.contacts-split--v2 .contacts-split__accent {
    background: linear-gradient(180deg, #eef3ff 0%, #f8fbff 100%);
}

.contacts-split--v3 .contacts-split__accent {
    background: #0f1a2f;
    color: #e7efff;
    border-left-color: rgba(255, 255, 255, 0.2);
}

.contacts-split--v3 .contacts-split__accent p {
    color: #c9d7f5;
}

.contacts-split__list {
    display: grid;
    gap: 0.95rem;
    margin-top: 1rem;
}

.contacts-split__item {
    display: grid;
    gap: 0.25rem;
}

.contacts-split__role {
    color: #4f5e72;
    font-size: 0.9rem;
}

.contacts-split__name {
    font-weight: 650;
}

.contacts-split__item a {
    color: #0f3d7a;
    text-decoration: none;
    width: fit-content;
}

.contacts-split__item a:hover {
    text-decoration: underline;
}

.zoomable-image {
    cursor: zoom-in;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(10, 14, 24, 0.86);
    z-index: 1200;
}

.image-lightbox.is-open {
    display: flex;
}

.image-lightbox img {
    max-width: min(96vw, 1400px);
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}


.site-footer {
    max-width: min(98vw, 1520px);
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
    color: #5c6673;
    font-size: 0.9rem;
    border-top: 1px solid #e2e6ec;
}

@media (max-width: 900px) {
    :root {
        --header-offset: 108px;
    }

    .hero__media--duo {
        grid-template-columns: 1fr;
    }

    .value-split__grid {
        grid-template-columns: 1fr;
    }

    .trust-layout {
        grid-template-columns: 1fr;
    }

    .hero__grid,
    .split,
    .contacts-split {
        grid-template-columns: 1fr;
    }

    .float-image {
        float: none;
        width: 100%;
        margin: 0.35rem 0 0.9rem;
    }

    .split--reverse .split__text,
    .split--reverse .split__media {
        order: unset;
    }

    .site-header__inner {
        grid-template-columns: 1fr;
        align-items: flex-start;
        padding: 0.45rem 0.85rem;
        gap: 0.5rem;
    }

    .site-header__cta,
    .site-nav {
        width: 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .site-nav {
        gap: 0.25rem 0.55rem;
    }

    .site-nav a,
    .site-nav__dropbtn {
        font-size: 0.9rem;
        padding: 0.25rem 0.2rem;
    }

    .site-header__cta {
        gap: 0.35rem;
    }

    .brand--logo img {
        height: 32px;
    }

    .contacts-split__accent {
        border-left: 0;
        border-top: 1px solid #d7dfec;
    }
}

@media (max-width: 1200px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Сброс span у всех карточек (у .card--inspection / .card--yard иначе остаётся span 3) */
    .cards > article,
    .cards > article.card--inspection,
    .cards > article.card--yard {
        grid-column: auto;
    }
}

/* Узкие экраны и «мобильный» viewport: одна колонка, карточки строго друг под другом */
@media (max-width: 900px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .kpi-grid,
    .trust-kpi-grid {
        grid-template-columns: 1fr;
    }

    .card__cover {
        height: 175px;
    }

    .site-header {
        position: sticky;
        top: 0;
    }

    .site-header__inner {
        grid-template-columns: auto auto auto;
        grid-template-areas:
            "brand toggle cta"
            "nav nav nav";
        padding: 0.34rem 0.62rem;
        gap: 0.34rem 0.5rem;
        align-items: center;
    }

    .brand--logo {
        grid-area: brand;
    }

    .site-nav-toggle {
        grid-area: toggle;
        display: inline-flex;
        width: 34px;
        height: 30px;
        border: 1px solid #d3dceb;
        border-radius: 8px;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 4px;
        background: #fff;
        cursor: pointer;
        justify-self: center;
    }

    .site-nav-toggle span {
        width: 14px;
        height: 2px;
        background: #0f3d7a;
        border-radius: 2px;
        display: block;
    }

    .site-nav-toggle__check {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .site-header__cta {
        grid-area: cta;
        justify-self: end;
        width: auto;
    }

    .site-nav {
        grid-area: nav;
        display: none;
        grid-template-columns: 1fr;
        gap: 0.18rem;
        width: 100%;
        padding-top: 0.25rem;
    }

    .site-nav-toggle__check:checked ~ .site-nav {
        display: grid;
    }

    .site-nav-toggle__check:checked + .site-nav-toggle {
        background: #edf3ff;
    }

    .site-nav a,
    .site-nav__dropbtn {
        font-size: 0.85rem;
        line-height: 1.15;
        padding: 0.18rem 0.12rem;
    }

    .site-nav__dropdown {
        width: 100%;
    }

    .site-nav__menu {
        position: static;
        margin-top: 0.25rem;
        margin-bottom: 0.35rem;
        box-shadow: none;
        border: 0;
        border-left: 2px solid #d3dceb;
        border-radius: 0;
        padding: 0.15rem 0 0.25rem 0.65rem;
        min-width: 0;
    }

    .site-header__cta .btn {
        padding: 0.34rem 0.55rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .hero {
        padding-top: 1.2rem;
    }

    .contacts-split--v1 .contacts-split__accent {
        margin: 0.4rem;
        padding: 0.75rem;
        justify-items: center;
    }

    .contacts-split--v1 .contacts-split__accent img {
        width: min(66vw, 320px);
        max-height: none;
        height: auto;
        margin: 0 auto;
        object-fit: contain;
    }

    body:has(main.page-v2) .site-header__inner {
        padding-left: var(--landing-rail-gap);
        padding-right: var(--landing-rail-gap);
    }
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.landing-switch {
    max-width: 980px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.landing-switch__hero {
    text-align: center;
    margin-bottom: 2rem;
}

.landing-switch__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.landing-switch__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.landing-switch__card {
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 14px;
    padding: 1.1rem;
}

.v2-page {
    max-width: min(94vw, 1500px);
    margin: 0 auto;
    padding: 0 1.25rem 3rem;
}

.v2-topbar {
    position: sticky;
    top: 0;
    z-index: 15;
    display: grid;
    grid-template-columns: auto 1fr auto;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0.9rem;
    margin-top: 0.5rem;
    border-radius: 12px;
    background: #111826;
}

.v2-brand {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
}

.v2-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.v2-nav a {
    color: #dbe4f3;
    text-decoration: none;
    font-size: 0.92rem;
}

.v2-nav a:hover {
    text-decoration: underline;
}

.v2-hero {
    margin-top: 1rem;
    min-height: clamp(280px, 54vh, 520px);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
}

.v2-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v2-hero__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1rem, 4vw, 2.3rem);
    background: linear-gradient(90deg, rgba(10, 14, 24, 0.94) 0%, rgba(10, 14, 24, 0.82) 52%, rgba(10, 14, 24, 0.2) 100%);
    color: #fff;
    max-width: 52%;
}

.v2-topbar__cta {
    white-space: nowrap;
}

.v2-block {
    margin-top: 1rem;
    background: #fff;
    border: 1px solid #e2e6ec;
    border-radius: 14px;
    padding: 1rem;
}

.v2-block--muted {
    background: #eff3f9;
}

.v2-block--trust {
    background: #e8edf6;
    color: #1a1f26;
}

.v2-block--trust img {
    width: 100%;
    border-radius: 12px;
    margin-top: 0.8rem;
}

.v2-block__head {
    margin-bottom: 0.8rem;
}

.v2-two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.v2-two-cols img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dfe5ef;
}

.v2-component-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.v2-component-card {
    border: 1px solid #d7deea;
    border-radius: 10px;
    background: #fff;
    padding: 1rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    box-shadow: 0 6px 16px rgba(15, 25, 40, 0.08);
    min-height: 230px;
}

.v2-component-card__head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-bottom: 0.15rem;
}

.v2-component-card h3 {
    margin: 0;
    text-align: center;
    font-size: 1.2rem;
}

.v2-component-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #f3f7ff;
    border: 1px solid #dbe6fb;
    color: #2563eb;
}

.v2-component-card__icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.v2-component-card__effect {
    color: #35507a;
    font-weight: 600;
    text-align: center;
    margin: 0;
}

.v2-component-card__summary {
    color: #2f3b4c;
    text-align: center;
    margin: 0.1rem 0 0.3rem;
}

.v2-component-card__action {
    margin-top: auto;
    width: fit-content;
    align-self: center;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 0.86rem;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.16);
}

.v2-component-card__action:hover {
    filter: brightness(1.07);
}

.v2-component-card__arrow {
    font-size: 0.95rem;
}

.v2-component-card__action--yard {
    background: #4f46e5;
}

.v2-component-card__action--forklift {
    background: #0284c7;
}

.v2-component-card__action--client {
    background: #0f766e;
}

.v2-component-card__action--kpp {
    background: #ea580c;
}

.v2-component-card__action--inspection {
    background: #dc2626;
}

.v2-module {
    display: grid;
    grid-template-columns: minmax(260px, 34%) 1fr;
    gap: 1rem;
}

.v2-module--reverse {
    grid-template-columns: 1fr minmax(260px, 34%);
}

.v2-module--reverse img {
    order: 2;
}

.v2-module img:not(.v2-float-image):not(.v2-flow-row__img) {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dfe5ef;
}

.v2-module--flow {
    display: block;
}

.v2-module__title {
    font-size: clamp(1.35rem, 1.2vw + 1rem, 1.75rem);
    margin-bottom: 0.6rem;
}

.v2-float-image {
    float: right;
    width: min(44%, 600px);
    margin: 0.2rem 0 0.9rem 1rem;
    border-radius: 12px;
    border: 1px solid #dfe5ef;
}

.v2-module img.v2-float-image {
    width: min(44%, 600px);
}

.v2-float-image--left {
    float: left;
    margin: 0.2rem 1rem 0.9rem 0;
}

.v2-float-image--narrow-app {
    width: min(26%, 260px);
}

.v2-module img.v2-float-image--narrow-app {
    width: min(26%, 260px);
}

.v2-float-image--small {
    width: min(44%, 600px);
}

.v2-module img.v2-float-image--small {
    width: min(44%, 600px);
}

.v2-module--stacked {
    display: block;
}

.v2-flow-row {
    margin-top: 0.65rem;
}

.v2-flow-row::after {
    content: "";
    display: table;
    clear: both;
}

.v2-flow-row__img {
    float: right;
    width: min(44%, 600px);
    margin: 0.2rem 0 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid #dfe5ef;
    object-fit: cover;
    background: #fff;
}

.v2-module img.v2-flow-row__img {
    width: min(44%, 600px);
}

.v2-flow-row--reverse .v2-flow-row__img {
    float: left;
    margin: 0.2rem 1rem 0.8rem 0;
}

.trust-links--wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    align-items: stretch;
    justify-items: center;
    margin: 1.35rem 0;
}

@media (max-width: 900px) {
    .landing-switch__grid,
    .v2-two-cols,
    .v2-module,
    .v2-module--reverse {
        grid-template-columns: 1fr;
    }

    .v2-hero__overlay {
        max-width: 100%;
    }

    .v2-topbar {
        grid-template-columns: 1fr;
    }

    .trust-links--wide {
        grid-template-columns: 1fr 1fr;
    }

    .v2-float-image {
        float: none;
        width: 100%;
        margin: 0.3rem 0 0.8rem;
    }

    .v2-float-image--left {
        float: none;
        margin: 0.3rem 0 0.8rem;
    }

    .v2-float-image--narrow-app {
        width: min(72vw, 280px);
    }

    .v2-flow-row__img,
    .v2-flow-row--reverse .v2-flow-row__img {
        float: none;
        width: 100%;
        margin: 0.3rem 0 0.8rem;
    }

    .v2-module--reverse img {
        order: unset;
    }
}

@media (max-width: 1200px) {
    .landing-switch__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v2-component-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .landing-switch__grid {
        grid-template-columns: 1fr;
    }

    .v2-component-grid {
        grid-template-columns: 1fr;
    }

    .trust-links--wide {
        grid-template-columns: 1fr;
    }
}

.v3-page {
    max-width: none;
    margin: 0;
    padding: 0;
}

.v3-header {
    position: sticky;
    top: 0;
    z-index: 25;
    margin-top: 0;
    padding: 0.75rem 0.9rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    background: rgba(8, 13, 22, 0.88);
    backdrop-filter: blur(8px);
}

.v3-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fff;
    font-weight: 700;
}

.v3-nav {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.v3-nav a {
    color: #dbe7ff;
    text-decoration: none;
}

.v3-nav a:hover {
    text-decoration: underline;
}

.v3-screen {
    position: relative;
    min-height: 100svh;
    margin-top: 0;
    border-radius: 0;
    overflow: hidden;
    border: 0;
}

.v3-screen--hero,
.v3-screen--module {
    background-image: var(--v3-bg);
    background-size: cover;
    background-position: center;
}

.v3-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 13, 24, 0.84) 0%, rgba(7, 13, 24, 0.54) 52%, rgba(7, 13, 24, 0.25) 100%);
}

.v3-content,
.v3-panel {
    position: relative;
    z-index: 2;
    padding: clamp(1.1rem, 3vw, 2.2rem);
}

.v3-content {
    max-width: 1000px;
}

.v3-content--wide {
    max-width: none;
    width: min(96vw, 1700px);
    margin: 0 auto;
}

.v3-screen--hero .v3-content {
    color: #f5f8ff;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: min(70ch, 56%);
}

.v3-screen--hero .lead {
    color: #eef4ff;
}

.v3-screen--plain {
    background: #f7f9fd;
}

.v3-screen--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #eef2f9;
}

.v3-screen--about {
    grid-template-columns: 2fr 3fr;
}

.v3-side {
    padding: clamp(1.1rem, 2.8vw, 2.2rem);
}

.v3-side--image {
    background-image: var(--v3-bg);
    background-size: cover;
    background-position: center;
    min-height: 40svh;
}

.v3-side--text {
    background: #f8faff;
}

.v3-highlight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-top: 0.85rem;
}

.v3-highlight {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(103, 148, 227, 0.45);
    background: linear-gradient(135deg, #0f2a52 0%, #1a3f79 55%, #245395 100%);
    color: #eef5ff;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(20, 44, 84, 0.26);
    letter-spacing: 0.01em;
}

.v3-component-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

.v3-component-card {
    background: #fff;
    border: 1px solid #d9e2f4;
    border-radius: 12px;
    padding: 0.9rem;
    box-shadow: 0 10px 24px rgba(14, 30, 58, 0.08);
}

.v3-component-grid .v3-component-card {
    grid-column: span 2;
}

.v3-component-grid .v3-component-card:nth-child(4),
.v3-component-grid .v3-component-card:nth-child(5) {
    grid-column: span 3;
}

.v3-component-card__effect {
    font-weight: 600;
    color: #35507a;
}

.v3-screen--module .v3-panel {
    max-width: min(900px, 62%);
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    background: rgba(9, 17, 33, 0.78);
    border: 1px solid rgba(176, 198, 238, 0.25);
    color: #f2f6ff;
    border-radius: 14px;
    backdrop-filter: blur(3px);
}

.v3-panel--left {
    margin-left: 1.2rem;
    margin-right: auto;
}

.v3-panel--right {
    margin-left: auto;
    margin-right: 1.2rem;
}

.v3-screen--module .lead {
    color: #d8e5ff;
}

.v3-screen--module-cyan .v3-overlay {
    background: linear-gradient(90deg, rgba(6, 32, 46, 0.84) 0%, rgba(9, 62, 93, 0.58) 55%, rgba(9, 62, 93, 0.22) 100%);
}

.v3-screen--module-light .v3-overlay {
    background: linear-gradient(90deg, rgba(244, 249, 255, 0.88) 0%, rgba(231, 242, 255, 0.76) 58%, rgba(231, 242, 255, 0.35) 100%);
}

.v3-screen--module-light .v3-panel {
    background: rgba(255, 255, 255, 0.9);
    color: #1a2c44;
    border-color: rgba(52, 96, 166, 0.26);
}

.v3-screen--module-light .v3-panel .lead {
    color: #2a4772;
}

.v3-screen--module-parallax {
    background-attachment: fixed;
}

.v3-screen--module-parallax .v3-overlay {
    background: linear-gradient(90deg, rgba(44, 18, 8, 0.84) 0%, rgba(87, 40, 17, 0.58) 52%, rgba(87, 40, 17, 0.22) 100%);
}

.v3-screen--module-warm .v3-overlay {
    background: linear-gradient(90deg, rgba(48, 13, 20, 0.84) 0%, rgba(92, 22, 39, 0.56) 55%, rgba(92, 22, 39, 0.2) 100%);
}

.v3-trust-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1rem 0;
}

.v3-note-box {
    padding: 1rem 1.1rem;
    border-left: 5px solid #2a67c9;
    background: linear-gradient(135deg, #0e2a53 0%, #1a4380 62%, #24579f 100%);
    color: #f3f8ff;
    border-radius: 10px;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(26, 60, 114, 0.28);
}

.v3-trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 68svh;
}

.v3-trust-media {
    min-height: 380px;
}

.v3-trust-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.v3-screen--fit {
    min-height: auto;
}

#v3-components .v3-content h2,
#v3-components .v3-content .lead {
    text-align: center;
}

@media (max-width: 1200px) {
    .v3-component-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v3-component-grid .v3-component-card,
    .v3-component-grid .v3-component-card:nth-child(4),
    .v3-component-grid .v3-component-card:nth-child(5) {
        grid-column: span 1;
    }

    .v3-highlight-grid {
        grid-template-columns: 1fr;
    }
}

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

    .v3-screen--split {
        grid-template-columns: 1fr;
    }

    .v3-screen--about {
        grid-template-columns: 1fr;
    }

    .v3-trust-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .v3-screen--hero .v3-content,
    .v3-screen--module .v3-panel {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 760px) {
    .v3-component-grid {
        grid-template-columns: 1fr;
    }
}
