.hero {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

@supports (height: 100svh) {
    .hero {
        height: 100svh;
        min-height: 100svh;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;

    filter: brightness(0.7) contrast(1.25) saturate(0.85);
    transform: scale(1.05);

    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to right,
            rgba(0,0,0,0.9) 0%,
            rgba(0,0,0,0.75) 35%,
            rgba(0,0,0,0.3) 70%,
            rgba(0,0,0,0.1) 100%
        );

    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;

    background: radial-gradient(
        circle at 70% 60%,
        transparent 50%,
        rgba(0,0,0,0.55) 100%
    );

    z-index: 1;
}

.hero-inner {
    flex-wrap: wrap;
    position: relative;
    z-index: 2;

    gap: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    min-width: 0;
}

.hero-content {
    max-width: 560px;
}

.hero-title img {
    width: 380px;
    max-width: 100%;
    display: block;
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 900;
    color: #f04e30;
    margin: 10px 0 20px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(240, 78, 48, 0.25);
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 420px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.hero-title,
.hero h2,
.hero p,
.hero .btn-primary,
.hero-image img {
    opacity: 0;
    transform: translateY(30px);
}

.hero .btn-primary {
    display: inline-block;
    background: #ED5437;
    color: #fff;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.25s ease;
    position: relative;
    overflow: hidden;
}

.hero .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.4),
        transparent
    );
    transition: 0.6s;
}

.hero .btn-primary:hover::after {
    left: 100%;
}

.hero .btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(240, 78, 48, 0.35);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

@media (max-width: 1200px) {
    .hero-image {
        right: -30px;
    }
}

@media (max-width: 1024px) {
    .hero-image {
        right: 0;
    }
}

.hero-image img {
    width: 100%;
    max-width: 580px;
    min-width: 380px;
    height: auto;

    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
    will-change: transform;
}

.hero-image img:hover {
    transform: scale(1.03);
    transition: transform 0.3s ease;
}

/* HERO LOADED ANIMATIONS */
.hero.loaded .hero-title {
    animation: fadeUp 0.7s ease forwards;
}

.hero.loaded h2 {
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.15s;
}

.hero.loaded p {
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.3s;
}

.hero.loaded .btn-primary {
    animation: fadeUp 0.7s ease forwards;
    animation-delay: 0.45s;
}

.hero.loaded .hero-image img {
    animation: productReveal 1s cubic-bezier(.22,.61,.36,1) forwards,
            floatProduct 6s ease-in-out infinite 1.2s;
}

@keyframes productReveal {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.92) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

@keyframes floatProduct {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* TEXT ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* IMAGE ENTRANCE */
@keyframes imageEnter {
    from {
        opacity: 0;
        transform: translateX(60px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* ------------------ RESPONSIVE ------------------ */

@media (max-width: 1024px) {
    .hero-inner {
        padding: 0 30px;
    }

    .hero-title img {
        width: 300px;
    }

    .hero h2 {
        font-size: 42px;
    }

    .hero-image img {
        max-width: 480px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: auto;
        padding: 100px 20px 60px;
    }

    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 0;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title img {
        width: 200px;
        margin: 0 auto 16px;
    }

    .hero h2 {
        font-size: 28px;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.5;
        margin: 0 auto 24px;
        max-width: 320px;
    }

    .hero .btn-primary {
        padding: 14px 28px;
        font-size: 14px;
    }

    .hero-image {
        margin-top: 20px;
        justify-content: center;
    }

    .hero-image img {
        max-width: 300px;
        min-width: 0;
    }

    .hero-bg {
        background-position: center;
        transform: scale(1.1);
    }

    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.85) 0%,
            rgba(0,0,0,0.75) 50%,
            rgba(0,0,0,0.6) 100%
        );
    }

    .hero-image img {
        transform: translateY(20px);
    }
}