.hero-home {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #EEF2F6 0%, #DFE7EE 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(196,30,42,0.14), transparent 24%),
        radial-gradient(circle at 85% 18%, rgba(255,255,255,0.7), transparent 28%),
        linear-gradient(135deg, rgba(255,255,255,0.82) 0%, rgba(226,234,241,0.56) 100%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 85%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding: 54px 20px 72px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.hero-media-card {
    position: relative;
    background: rgba(255,255,255,0.82);
    border: 1px solid rgba(102,115,131,0.16);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-media-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

.hero-headline {
    font-size: clamp(2.3rem, 5.6vw, 4.2rem);
    color: var(--color-dark);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-headline-accent {
    color: var(--color-primary);
    display: block;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.16rem);
    color: var(--color-gray);
    line-height: 1.75;
    margin-bottom: 38px;
    max-width: 620px;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-ctas .btn {
    width: 100%;
}

.hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
}

.hero-trust-badges li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gray);
    font-size: 0.88rem;
}

.hero-trust-badges li svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(36,31,27,0.28);
    animation: bounce 2s ease infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
    body.motion-enhanced .hero-bg {
        animation: heroGlowDrift 18s ease-in-out infinite alternate;
        transform-origin: center;
    }

    body.motion-enhanced .hero-overlay {
        animation: heroGridDrift 24s linear infinite;
    }

    body.motion-enhanced .hero-headline {
        opacity: 0;
        animation: heroRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.08s;
    }

    body.motion-enhanced .hero-subheadline {
        opacity: 0;
        animation: heroRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.2s;
    }

    body.motion-enhanced .hero-ctas {
        opacity: 0;
        animation: heroRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.32s;
    }

    body.motion-enhanced .hero-trust-badges {
        opacity: 0;
        animation: heroRevealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.44s;
    }

    body.motion-enhanced .hero-scroll-hint {
        opacity: 0;
        animation:
            heroHintIn 1s ease forwards 1s,
            bounce 2.6s ease-in-out infinite 1.8s;
    }

    @keyframes heroRevealUp {
        from {
            opacity: 0;
            transform: translateY(28px);
            filter: blur(8px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
            filter: blur(0);
        }
    }

    @keyframes heroGlowDrift {
        from {
            transform: scale(1) translate3d(0, 0, 0);
            filter: saturate(1);
        }
        to {
            transform: scale(1.04) translate3d(0, -10px, 0);
            filter: saturate(1.05);
        }
    }

    @keyframes heroGridDrift {
        from {
            transform: translate3d(0, 0, 0);
        }
        to {
            transform: translate3d(-14px, 10px, 0);
        }
    }

    @keyframes heroHintIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
}

@media (min-width: 620px) {
    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .hero-ctas .btn {
        width: auto;
    }
}

@media (max-width: 619px) {
    .hero-media {
        order: -1;
    }

    .hero-ctas {
        display: none;
    }

    .hero-subheadline {
        margin-bottom: 24px;
    }
}

@media (min-width: 940px) {
    .hero-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(440px, 0.9fr);
        gap: 64px;
        align-items: center;
        padding: 88px 24px;
    }

    .hero-media-image {
        min-height: 540px;
    }
}
