/* ========== Hero — match UI mockup ========== */
.hero {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 48px 0 64px;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 24px;
    min-height: 420px;
}

.hero__content {
    position: relative;
    z-index: 3;
    max-width: 480px;
    padding-left: 12px;
}

.hero__title {
    font-size: clamp(1.9rem, 3.6vw, 2.55rem);
    color: #151b26;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 18px;
}

.hero__subtitle .accent {
    color: var(--color-primary);
}

.hero__desc {
    color: var(--color-text-muted);
    font-size: 0.92rem;
    margin-bottom: 28px;
    line-height: 1.95;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero__visual {
    position: relative;
    z-index: 1;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__image-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0 0 0 40px;
}

.hero__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

/* Soft white fade from right (text side) into image — RTL */
.hero__image-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        #fff 0%,
        rgba(255, 255, 255, 0.92) 12%,
        rgba(255, 255, 255, 0.55) 32%,
        rgba(255, 255, 255, 0.1) 55%,
        transparent 72%
    );
    z-index: 1;
    pointer-events: none;
}

.hero__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 30%, transparent 70%, rgba(255, 255, 255, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero__logo-float {
    position: relative;
    z-index: 2;
    width: min(220px, 42%);
    opacity: 0.92;
    filter: drop-shadow(0 18px 40px rgba(0, 70, 180, 0.35));
    animation: floatLogo 5s ease-in-out infinite;
}

.hero__logo-float img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@media (max-width: 900px) {
    .hero {
        padding: 28px 0 48px;
    }

    .hero__inner {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: auto;
    }

    .hero__content {
        max-width: 100%;
        text-align: center;
        order: 1;
        padding: 0;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__visual {
        order: 0;
        min-height: 260px;
    }

    .hero__image-wrap {
        border-radius: 16px;
    }

    .hero__image-wrap::before {
        background: linear-gradient(180deg, transparent 40%, rgba(255, 255, 255, 0.85) 100%);
    }

    .hero__logo-float {
        width: 140px;
    }
}
