/* Main-page design layer. Scoped to .home-v2 so product pages keep their stable layout. */
body.home-v2 {
    --home-bg: #07070a;
    --home-bg-soft: #0d0d12;
    --home-card: #111116;
    --home-card-strong: #16161c;
    --home-gold: #dfc184;
    --home-gold-light: #f2dba7;
    --home-text: #f7f4ed;
    --home-muted: #a7a4ab;
    --home-line: rgba(223, 193, 132, 0.2);
    background: var(--home-bg);
    color: var(--home-text);
    overflow-x: hidden;
}

.home-v2 .container {
    width: calc(100% - 48px);
    max-width: 1180px;
    padding: 0;
}

.home-v2 .wrapper {
    padding-top: 88px;
    overflow: clip;
}

.home-v2 .header {
    height: 88px;
    background: rgba(7, 7, 10, 0.9);
    border-bottom: 1px solid rgba(223, 193, 132, 0.14);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.home-v2 .header .container,
.home-v2 .header__inner {
    height: 100%;
}

.home-v2 .header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 0;
}

.home-v2 .header__aside {
    display: contents;
}

.home-v2 .header__top {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    text-align: left;
}

.home-v2 .header__logo {
    width: 42px;
    height: 42px;
    margin: 0;
}

.home-v2 .header__logo img {
    object-fit: contain;
}

.home-v2 .header__text {
    margin: 0;
    font-size: 24px;
    letter-spacing: 0.04em;
}

.home-v2 .header__nav {
    gap: 10px;
    margin-left: auto;
}

.home-v2 .header__nav-item > a {
    padding: 12px 10px;
    font-size: 17px;
    letter-spacing: 0.035em;
}

.home-v2 .header__nav-item.dropdown::before {
    bottom: -20px;
}

.home-v2 .header__dropdown {
    top: 58px;
    background: rgba(12, 12, 16, 0.98);
    border: 1px solid rgba(223, 193, 132, 0.38);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.home-v2 .header__dropdown a {
    border-radius: 8px;
}

.home-v2 .header__dropdown a:hover {
    background: rgba(223, 193, 132, 0.12);
    color: var(--home-gold-light);
}

.home-v2 .header__social {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    text-align: left;
}

.home-v2 .header__icons {
    margin: 0;
}

.home-v2 .header__icons a {
    align-items: center;
}

.home-v2 .header__icons img.soc-header {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.home-v2 .header__call {
    padding: 10px 18px;
    border: 1px solid var(--home-gold);
    border-radius: 10px;
    line-height: 1;
    font-size: 16px;
    letter-spacing: 0.04em;
}

.home-v2 .header__call:hover {
    border-width: 1px;
    background: var(--home-gold);
}

.home-hero {
    min-height: 690px;
    position: relative;
    display: flex;
    align-items: center;
    isolation: isolate;
    background-image:
        linear-gradient(90deg, rgba(7, 7, 10, 0.99) 0%, rgba(7, 7, 10, 0.91) 42%, rgba(7, 7, 10, 0.26) 77%, rgba(7, 7, 10, 0.7) 100%),
        linear-gradient(180deg, rgba(7, 7, 10, 0.08) 0%, #07070a 100%),
        url("../images/home-hero-v2.png");
    background-position: center;
    background-size: cover;
    border-bottom: 1px solid var(--home-line);
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 72%);
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.home-hero__glow {
    position: absolute;
    width: 420px;
    height: 420px;
    left: 12%;
    top: 18%;
    z-index: -1;
    border-radius: 50%;
    background: rgba(223, 193, 132, 0.09);
    filter: blur(90px);
}

.home-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 82px;
    align-items: end;
    padding-top: 84px !important;
    padding-bottom: 84px !important;
}

.home-hero__content {
    max-width: 760px;
}

.home-eyebrow {
    color: var(--home-gold);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.home-hero__title {
    max-width: 760px;
    margin: 20px 0 24px;
    color: var(--home-text);
    font-size: clamp(54px, 5.2vw, 78px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: 0.012em;
    text-wrap: balance;
}

.home-hero__text {
    max-width: 630px;
    margin: 0 0 34px;
    color: #c7c4c9;
    font: 400 18px/1.65 Arial, sans-serif;
}

.home-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.home-button,
.home-contact__form-button {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0.045em;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.home-button:hover,
.home-contact__form-button:hover {
    transform: translateY(-2px);
}

.home-button--gold {
    background: var(--home-gold);
    color: #121116;
    box-shadow: 0 12px 36px rgba(223, 193, 132, 0.16);
}

.home-button--gold:hover {
    background: var(--home-gold-light);
}

.home-button--ghost {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(10, 10, 14, 0.4);
    color: var(--home-text);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.home-button--ghost:hover {
    border-color: var(--home-gold);
    color: var(--home-gold-light);
}

.home-hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-top: 42px;
    color: #bcb9bf;
    font: 400 13px/1.45 Arial, sans-serif;
}

.home-hero__features li {
    position: relative;
    padding-left: 18px;
}

.home-hero__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 7px;
    height: 7px;
    border: 1px solid var(--home-gold);
    transform: rotate(45deg);
}

.home-hero__panel {
    position: relative;
    padding: 30px;
    overflow: hidden;
    border: 1px solid rgba(223, 193, 132, 0.35);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(24, 24, 30, 0.76), rgba(8, 8, 12, 0.9));
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.home-hero__panel-number {
    position: absolute;
    right: 18px;
    top: 6px;
    color: rgba(223, 193, 132, 0.1);
    font-size: 100px;
    line-height: 1;
    font-weight: 700;
}

.home-hero__panel-label {
    position: relative;
    color: var(--home-gold);
    font-size: 14px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.home-hero__panel h2 {
    position: relative;
    margin: 48px 0 14px;
    font-size: 33px;
    line-height: 1.08;
    font-weight: 500;
}

.home-hero__panel > p:last-of-type {
    position: relative;
    margin-bottom: 26px;
    color: #b7b4bb;
    font: 400 15px/1.6 Arial, sans-serif;
}

.home-hero__panel a {
    position: relative;
    color: var(--home-gold-light);
    font-size: 17px;
    letter-spacing: 0.04em;
}

.home-hero__panel a span {
    display: inline-block;
    margin-left: 6px;
    transition: transform 180ms ease;
}

.home-hero__panel a:hover span {
    transform: translateX(5px);
}

.home-systems {
    position: relative;
    padding: 110px 0 88px;
    background:
        radial-gradient(circle at 50% 0%, rgba(223, 193, 132, 0.07), transparent 34%),
        var(--home-bg);
}

.home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 42px;
}

.home-section-heading h2,
.home-v2 .systems__title {
    margin: 10px 0 0;
    padding: 0;
    text-align: left;
    color: var(--home-text);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    font-weight: 500;
}

.home-section-heading > p {
    max-width: 430px;
    color: var(--home-muted);
    font: 400 16px/1.65 Arial, sans-serif;
}

.home-v2 .systems__items {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.home-v2 .systems__item {
    min-width: 0;
    height: auto;
    aspect-ratio: auto;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 18px;
    background: linear-gradient(145deg, #15151b, #0d0d12);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.2);
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.home-v2 .systems__item:hover {
    transform: translateY(-6px);
    border-color: rgba(223, 193, 132, 0.62);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(223, 193, 132, 0.08);
}

.home-v2 .systems__media {
    position: relative;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    padding: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 40%, rgba(223, 193, 132, 0.12), transparent 48%),
        linear-gradient(145deg, #1a1a20, #0b0b0f);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.home-v2 .systems__media::after {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(223, 193, 132, 0.12);
    border-radius: 10px;
    pointer-events: none;
}

.home-v2 .systems__media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    filter: saturate(0.92) contrast(1.04);
    transition: transform 300ms ease, filter 300ms ease;
}

.home-v2 .systems__item:hover .systems__media img {
    transform: scale(1.035);
    filter: saturate(1.05) contrast(1.06);
}

.home-v2 .systems__body {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
}

.home-v2 .systems__body strong {
    min-width: 0;
    font-size: 23px;
    line-height: 1.08;
    font-weight: 500;
    letter-spacing: 0.025em;
    overflow-wrap: anywhere;
}

.home-v2 .systems__body span {
    flex: 0 0 auto;
    color: var(--home-gold);
    font-size: 13px;
    line-height: 1.2;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.home-v2 .systems__item--more {
    border-color: rgba(223, 193, 132, 0.32);
}

.home-v2 .systems__text {
    max-width: 900px;
    margin: 34px auto 0;
    color: #88858d;
    text-align: center;
    font: 400 13px/1.6 Arial, sans-serif;
}

.home-process {
    padding: 105px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(135deg, rgba(223, 193, 132, 0.045), transparent 42%),
        #0a0a0e;
}

.home-process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-process__card {
    min-height: 260px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(24, 24, 30, 0.92), rgba(13, 13, 18, 0.94));
}

.home-process__card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 50px;
    border: 1px solid var(--home-line);
    border-radius: 50%;
    color: var(--home-gold);
    font-size: 17px;
}

.home-process__card h3 {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 500;
}

.home-process__card p {
    color: var(--home-muted);
    font: 400 15px/1.62 Arial, sans-serif;
}

.home-contact {
    margin: 0;
    padding: 110px 0;
    background: var(--home-bg);
}

.home-v2 .contacts__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
    align-items: stretch;
    gap: 28px;
}

.home-v2 .contacts__info,
.home-v2 .contacts__block {
    min-width: 0;
    border-radius: 22px;
}

.home-v2 .contacts__info {
    padding: 52px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 10% 0%, rgba(223, 193, 132, 0.12), transparent 42%),
        #101015;
}

.home-v2 .contacts__title {
    margin: 14px 0 20px;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 0.98;
    font-weight: 500;
}

.home-v2 .contacts__text {
    max-width: 570px;
    margin-bottom: 30px;
}

.home-v2 .contacts__text p {
    color: #b6b3ba;
    font: 400 17px/1.65 Arial, sans-serif;
}

.home-v2 .contacts__telega,
.home-contact__form-button {
    margin: 0 10px 0 0;
    padding: 15px 22px;
    border: 1px solid var(--home-gold);
    border-radius: 12px;
    background: var(--home-gold);
    color: #111116;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.045em;
}

.home-v2 .contacts__telega:hover {
    border-color: var(--home-gold-light);
    background: var(--home-gold-light);
}

.home-contact__form-button {
    background: transparent;
    color: var(--home-text);
}

.home-v2 .contacts__block {
    width: auto;
    padding: 52px;
    background: linear-gradient(145deg, #d7b777, #94753f);
    color: #17140f;
}

.home-v2 .contacts__subtitle {
    margin-bottom: 22px;
    color: #17140f;
    font-size: 34px;
    line-height: 1.06;
    font-weight: 500;
}

.home-v2 .contacts__description,
.home-v2 .contacts__label,
.home-v2 .contacts__list li {
    color: rgba(23, 20, 15, 0.82);
    font: 600 15px/1.6 Arial, sans-serif;
}

.home-v2 .contacts__description {
    margin-bottom: 30px;
}

.home-v2 .contacts__label {
    margin-bottom: 12px;
    color: #17140f;
}

.home-v2 .contacts__list {
    padding-left: 20px;
}

.home-v2 .contacts__list li {
    margin-bottom: 8px;
}

.home-v2 .footer {
    padding: 36px 0 26px;
    border-top: 1px solid rgba(223, 193, 132, 0.16);
    background: #0a0a0d;
}

.home-v2 .footer__inner {
    align-items: center;
}

.home-v2 .footer__logo img {
    max-width: 130px;
}

.home-v2 .footer__polytical,
.home-v2 .footer__policy {
    margin-bottom: 12px;
    color: #98959d;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.home-v2 .footer__telega {
    color: var(--home-gold-light);
}

.home-v2 .footer__company {
    max-width: 620px;
    margin: 0 0 12px auto;
    color: #b7b4bb;
    font: 400 13px/1.55 Arial, sans-serif;
}

.home-v2 .footer__company a {
    color: var(--home-gold-light);
}

@media (max-width: 1100px) {
    .home-v2 .header__text {
        font-size: 20px;
    }

    .home-v2 .header__nav {
        gap: 0;
    }

    .home-v2 .header__nav-item > a {
        padding-inline: 7px;
        font-size: 15px;
    }

    .home-v2 .header__call {
        padding-inline: 12px;
        font-size: 14px;
    }

    .home-hero__grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
        gap: 36px;
    }

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

@media (max-width: 767px) {
    .home-v2 .container {
        width: 100%;
        padding-right: 18px;
        padding-left: 18px;
    }

    .home-v2 .wrapper {
        padding-top: 72px;
    }

    .home-v2 .header {
        height: 72px;
    }

    .home-v2 .header__inner {
        gap: 12px;
    }

    .home-v2 .header__logo {
        width: 34px;
        height: 34px;
    }

    .home-v2 .header__text {
        display: block;
        font-size: 18px;
    }

    .home-v2 .header__social {
        margin-left: auto;
    }

    .home-v2 .header__social .header__icons,
    .home-v2 .header__call {
        display: none;
    }

    .home-v2 .header__burger {
        position: relative;
        right: auto;
        top: auto;
        display: block;
        flex: 0 0 auto;
    }

    .home-v2 .header__nav {
        display: none;
    }

    .home-v2 .header__nav.show {
        display: block;
        position: fixed;
        inset: 72px 0 0;
        width: 100%;
        min-height: calc(100vh - 72px);
        height: calc(100vh - 72px);
        padding: 28px 20px 60px;
        overflow-y: auto;
        background: rgba(8, 8, 12, 0.98);
    }

    .home-v2 .header__nav-item > a {
        margin-bottom: 12px;
        padding: 12px 0;
        font-size: 22px;
    }

    .home-v2 .header__dropdown {
        max-height: none;
        padding: 0 0 12px 14px;
        box-shadow: none;
    }

    .home-hero {
        min-height: auto;
        background-image:
            linear-gradient(180deg, rgba(7, 7, 10, 0.55) 0%, rgba(7, 7, 10, 0.92) 58%, #07070a 100%),
            url("../images/home-hero-v2.png");
        background-position: 62% center;
    }

    .home-hero::before {
        background-size: 44px 44px;
    }

    .home-hero__grid {
        grid-template-columns: 1fr;
        gap: 34px;
        align-items: start;
        padding-top: 68px !important;
        padding-bottom: 56px !important;
    }

    .home-eyebrow {
        font-size: 13px;
        letter-spacing: 0.14em;
    }

    .home-hero__title {
        margin: 16px 0 20px;
        font-size: clamp(42px, 13vw, 58px);
        line-height: 0.98;
    }

    .home-hero__text {
        margin-bottom: 26px;
        font-size: 16px;
        line-height: 1.58;
    }

    .home-hero__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-button {
        width: 100%;
        min-height: 52px;
    }

    .home-hero__features {
        display: grid;
        gap: 10px;
        margin-top: 30px;
    }

    .home-hero__panel {
        padding: 24px;
    }

    .home-hero__panel h2 {
        margin-top: 42px;
        font-size: 29px;
    }

    .home-systems,
    .home-process,
    .home-contact {
        padding: 72px 0;
    }

    .home-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }

    .home-section-heading h2,
    .home-v2 .systems__title {
        font-size: 44px;
    }

    .home-section-heading > p {
        font-size: 15px;
    }

    .home-v2 .systems__items,
    .home-process__grid,
    .home-v2 .contacts__inner {
        grid-template-columns: 1fr;
    }

    .home-v2 .systems__items {
        gap: 14px;
    }

    .home-v2 .systems__body {
        min-height: 78px;
        padding: 17px 18px;
    }

    .home-v2 .systems__body strong {
        font-size: 21px;
    }

    .home-process__card {
        min-height: 220px;
        padding: 26px;
    }

    .home-process__card > span {
        margin-bottom: 38px;
    }

    .home-v2 .contacts__inner {
        gap: 16px;
    }

    .home-v2 .contacts__info,
    .home-v2 .contacts__block {
        padding: 30px 24px;
    }

    .home-v2 .contacts__title {
        font-size: 48px;
    }

    .home-v2 .contacts__telega,
    .home-contact__form-button {
        width: 100%;
        min-height: 52px;
        margin: 0 0 10px;
    }

    .home-v2 .footer {
        padding: 30px 0;
    }

    .home-v2 .footer__company {
        margin-right: auto;
    }
}

@media (max-width: 420px) {
    .home-v2 .header__text {
        font-size: 16px;
    }

    .home-hero__title {
        font-size: 40px;
    }

    .home-v2 .systems__body {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-v2 *,
    .home-v2 *::before,
    .home-v2 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
