.home-page {
    width: 100%;
    background: #ffffff;
    color: #00114f;
    overflow: hidden;
}

.home-page svg {
    display: inline-block;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* HERO */

.home-hero-new {
    width: 100%;
    padding: 0 0 46px;
    background: #ffffff;
    overflow: hidden;
}

.home-hero-inner {
    width: 100%;
    min-height: 700px;
    padding: 0 clamp(42px, 5.5vw, 110px);
    display: flex;
    align-items: center;
    background-image:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 31%,
            rgba(255, 255, 255, 0.94) 43%,
            rgba(255, 255, 255, 0.72) 55%,
            rgba(255, 255, 255, 0.14) 75%,
            rgba(255, 255, 255, 0) 100%
        ),
        url("/assets/images/hero-home.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: cover, auto 100%;
}

.home-hero-content {
    position: relative;
    z-index: 3;
    width: min(100%, 720px);
}

.home-hero-content h1 {
    color: #07165a;
    font-size: clamp(54px, 5vw, 88px);
    line-height: 1.02;
    font-weight: 950;
    letter-spacing: -0.065em;
    text-transform: uppercase;
}

.home-hero-content h1 span {
    color: #0044d8;
}

.home-hero-content p {
    max-width: 650px;
    margin-top: 30px;
    color: #061d76;
    font-size: clamp(17px, 1.1vw, 22px);
    line-height: 1.7;
    font-weight: 750;
}

.home-hero-actions {
    margin-top: 44px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.home-btn {
    min-height: 60px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 950;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.home-btn:hover {
    transform: translateY(-2px);
}

.home-btn-primary {
    color: #ffffff;
    background: linear-gradient(135deg, #0054ff, #002fb7);
    box-shadow: 0 18px 34px rgba(0, 63, 210, 0.25);
}

.home-btn-outline {
    color: #002db4;
    background: #ffffff;
    border: 2px solid rgba(0, 68, 216, 0.62);
}

/* GLOBAL */

.diagnostic-section,
.home-products-section,
.how-section,
.home-advantages,
.newsletter-section {
    width: 100%;
    padding-left: clamp(42px, 5.5vw, 110px);
    padding-right: clamp(42px, 5.5vw, 110px);
    background: #ffffff;
}

/* DIAGNOSTIC */

.diagnostic-section {
    padding-bottom: 42px;
}

.diagnostic-inner {
    width: 100%;
    min-height: 142px;
    padding: 28px clamp(24px, 4vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%);
}

.diagnostic-left {
    display: flex;
    align-items: center;
    gap: 34px;
}

.diagnostic-icon,
.product-drop-icon {
    width: 78px;
    height: 78px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #002fb7;
    background: #ffffff;
}

.diagnostic-icon svg {
    width: 56px;
    height: 56px;
}

.diagnostic-left h2 {
    color: #0034be;
    font-size: clamp(22px, 1.8vw, 30px);
    font-weight: 950;
}

.diagnostic-left p {
    margin-top: 8px;
    color: #061d76;
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
}

.diagnostic-btn {
    min-width: 360px;
    min-height: 64px;
    padding: 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 7px;
    color: #ffffff;
    background: linear-gradient(135deg, #0054ff, #002fb7);
    font-size: 15px;
    font-weight: 950;
    text-transform: uppercase;
    box-shadow: 0 16px 30px rgba(0, 63, 210, 0.22);
    transition: 0.2s ease;
}

.diagnostic-btn:hover {
    transform: translateY(-2px);
}

.diagnostic-btn svg {
    width: 28px;
    height: 28px;
}

/* PRODUCTS */

.home-products-section {
    padding-bottom: 42px;
}

.home-section-title {
    margin: 0 auto 30px;
    text-align: center;
}

.home-section-title h2,
.how-inner h2 {
    color: #0034be;
    font-size: clamp(24px, 2vw, 32px);
    line-height: 1.1;
    font-weight: 950;
    text-transform: uppercase;
}

.home-section-title p {
    margin-top: 8px;
    color: #061d76;
    font-size: 15px;
    font-weight: 700;
}

.home-products-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.home-product-card {
    min-height: 390px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    border: 1px solid #dce5f5;
    border-radius: 10px;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 42%, rgba(255, 255, 255, 0.56) 100%);
    box-shadow: 0 14px 34px rgba(2, 30, 90, 0.05);
}

.home-product-content {
    position: relative;
    z-index: 2;
    padding: 38px 0 38px 36px;
}

.product-drop-icon {
    width: 74px;
    height: 74px;
    margin-bottom: 44px;
    background: #f3f7ff;
}

.product-drop-icon svg {
    width: 46px;
    height: 46px;
}

.home-product-content h3 {
    color: #0034be;
    font-size: clamp(24px, 2vw, 31px);
    font-weight: 950;
    text-transform: uppercase;
}

.home-product-content p {
    max-width: 300px;
    margin-top: 13px;
    color: #061d76;
    font-size: 15px;
    line-height: 1.7;
    font-weight: 750;
}

.product-card-btn {
    width: min(390px, 100%);
    min-height: 58px;
    margin-top: 34px;
    padding: 0 26px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 2px solid rgba(0, 68, 216, 0.55);
    border-radius: 6px;
    color: #002fb7;
    background: #ffffff;
    font-size: 15px;
    font-weight: 950;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.product-card-btn:hover {
    background: #f4f8ff;
    transform: translateY(-2px);
}

.product-card-btn svg {
    width: 27px;
    height: 27px;
}

.home-product-image {
    height: 100%;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 26px 24px 0;
}

.home-product-image img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.packs-link-wrap {
    margin: 36px auto 0;
    display: flex;
    justify-content: center;
}

.packs-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    color: #0034be;
    font-size: 17px;
    font-weight: 950;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.packs-link:hover {
    transform: translateY(-2px);
}

.packs-link svg {
    width: 30px;
    height: 30px;
}

.packs-link span {
    font-size: 32px;
    line-height: 1;
}

/* HOW */

.how-section {
    padding-bottom: 30px;
}

.how-inner {
    width: 100%;
    padding: 26px 34px 34px;
    border: 1px solid #dce5f5;
    border-radius: 10px;
    background: #ffffff;
}

.how-inner h2 {
    margin-bottom: 28px;
    text-align: center;
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
}

.how-step {
    position: relative;
    display: grid;
    grid-template-columns: 44px 56px 1fr;
    gap: 18px;
    align-items: start;
}

.how-step:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 12px;
    right: -26px;
    color: #9badca;
    font-size: 30px;
    font-weight: 400;
}

.how-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, #0054ff, #002fb7);
    font-size: 21px;
    font-weight: 950;
}

.how-icon {
    width: 54px;
    height: 54px;
    color: #002fb7;
}

.how-icon svg {
    width: 54px;
    height: 54px;
    stroke-width: 1.9;
}

.how-text h3 {
    color: #061d76;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 950;
}

.how-text p {
    margin-top: 10px;
    color: #061d76;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 650;
}

/* ADVANTAGES */

.home-advantages {
    padding-bottom: 46px;
}

.advantages-grid {
    width: 100%;
    padding: 30px 36px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f7faff 0%, #eef5ff 100%);
}

.advantage-item {
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 18px;
    align-items: start;
}

.advantage-item svg {
    width: 58px;
    height: 58px;
    color: #002fb7;
}

.advantage-item h3 {
    color: #061d76;
    font-size: 15px;
    font-weight: 950;
    text-transform: uppercase;
}

.advantage-item p {
    margin-top: 8px;
    color: #061d76;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 650;
}

/* NEWSLETTER */

.newsletter-section {
    padding-bottom: 70px;
}

.newsletter-inner {
    width: 100%;
    padding: 44px 52px;
    display: grid;
    grid-template-columns: 1fr minmax(420px, 560px);
    gap: 36px;
    align-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #00114f 0%, #002fb7 100%);
    box-shadow: 0 22px 46px rgba(0, 31, 112, 0.18);
}

.newsletter-inner h2 {
    color: #ffffff;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.1;
    font-weight: 950;
}

.newsletter-inner p {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 650;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    min-height: 58px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    outline: none;
    background: #ffffff;
    color: #061d76;
    font-size: 15px;
    font-weight: 700;
}

.newsletter-form button {
    min-height: 58px;
    padding: 0 26px;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    color: #00114f;
    background: #ffffff;
    font-size: 15px;
    font-weight: 950;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
}

/* RESPONSIVE */

@media (min-width: 1700px) {
    .home-hero-inner {
        min-height: 760px;
        padding-left: 7vw;
        padding-right: 7vw;
        background-position: left center, right center;
        background-size: cover, auto 104%;
    }

    .home-hero-content h1 {
        font-size: clamp(72px, 4.8vw, 96px);
    }
}

@media (max-width: 1550px) {
    .home-hero-inner {
        min-height: 620px;
        padding-left: 64px;
        padding-right: 42px;
        background-position: left center, right center;
        background-size: cover, auto 100%;
    }

    .home-hero-content {
        width: 610px;
        max-width: 610px;
    }

    .home-hero-content h1 {
        font-size: clamp(54px, 4.8vw, 76px);
        letter-spacing: -0.06em;
    }

    .home-hero-content p {
        max-width: 570px;
        font-size: 17px;
        line-height: 1.65;
    }

    .home-hero-actions {
        margin-top: 38px;
    }

    .home-btn {
        min-height: 56px;
        padding: 0 28px;
        font-size: 14px;
    }

    .diagnostic-section,
    .home-products-section,
    .how-section,
    .home-advantages,
    .newsletter-section {
        padding-left: 64px;
        padding-right: 64px;
    }
}

@media (max-width: 1380px) {
    .home-hero-inner {
        min-height: 590px;
        padding-left: 54px;
        padding-right: 32px;
        background-position: left center, right -80px center;
        background-size: cover, auto 100%;
    }

    .home-hero-content {
        width: 560px;
        max-width: 560px;
    }

    .home-hero-content h1 {
        font-size: clamp(48px, 4.6vw, 66px);
    }

    .home-hero-content p {
        max-width: 530px;
        font-size: 16px;
    }

    .diagnostic-section,
    .home-products-section,
    .how-section,
    .home-advantages,
    .newsletter-section {
        padding-left: 54px;
        padding-right: 54px;
    }
}

@media (max-width: 1180px) {
    .home-hero-inner {
        min-height: 560px;
        background-image:
            linear-gradient(
                90deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.95) 46%,
                rgba(255, 255, 255, 0.72) 66%,
                rgba(255, 255, 255, 0.38) 100%
            ),
            url("/assets/images/hero-home.png");
        background-position: left center, right -160px center;
        background-size: cover, auto 100%;
    }

    .home-products-grid {
        grid-template-columns: 1fr;
    }

    .diagnostic-inner,
    .newsletter-inner {
        display: grid;
        grid-template-columns: 1fr;
    }

    .diagnostic-btn {
        width: 100%;
        min-width: 0;
    }

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

    .how-step::after {
        display: none;
    }
}

@media (max-width: 900px) {
    .home-hero-inner {
        min-height: auto;
        padding: 56px 6%;
        background-image:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(255, 255, 255, 0.94) 100%
            ),
            url("/assets/images/hero-home.png");
        background-position: center, center right;
        background-size: cover, cover;
    }

    .home-hero-content {
        width: 100%;
        max-width: 100%;
    }

    .home-hero-content h1 {
        font-size: clamp(38px, 10vw, 58px);
    }

    .home-hero-content p {
        font-size: 16px;
        line-height: 1.65;
    }

    .home-hero-actions {
        flex-direction: column;
        gap: 14px;
    }

    .home-btn {
        width: 100%;
        min-height: 56px;
        font-size: 13px;
    }

    .diagnostic-section,
    .home-products-section,
    .how-section,
    .home-advantages,
    .newsletter-section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .diagnostic-inner,
    .diagnostic-left {
        display: grid;
        text-align: center;
        justify-items: center;
    }

    .home-product-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-product-content {
        padding: 30px 22px 0;
    }

    .product-drop-icon {
        margin-bottom: 24px;
    }

    .home-product-image {
        min-height: 230px;
        padding: 8px 22px 28px;
    }

    .home-product-image img {
        max-height: 230px;
    }

    .how-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .how-step {
        grid-template-columns: 44px 54px 1fr;
    }

    .newsletter-inner {
        padding: 34px 22px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .home-hero-inner {
        padding: 44px 6%;
    }

    .home-hero-content h1 {
        font-size: 38px;
    }

    .home-hero-content p {
        font-size: 15px;
    }

    .diagnostic-inner {
        padding: 26px 18px;
    }

    .how-step {
        grid-template-columns: 44px 1fr;
    }

    .how-icon {
        grid-column: 1;
        grid-row: 2;
    }

    .how-text {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .newsletter-inner h2 {
        font-size: 25px;
    }
}