/* =========================================================
   lom Hero — ultra modern first viewport
   ========================================================= */

.lom-hero {
    --lom-h-orange: #ff532b;
    --lom-h-orange-deep: #e84720;
    --lom-h-ink: #141414;
    --lom-h-muted: #5a5a5a;
    --lom-h-soft: #f6f7fb;
    --lom-h-ease: cubic-bezier(0.22, 1, 0.36, 1);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 40px 0 48px;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgba(255, 83, 43, 0.1), transparent 55%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(255, 83, 43, 0.05), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, var(--lom-h-soft) 100%);
}

.lom-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.lom-hero__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.55;
    animation: lomHeroOrb 10s ease-in-out infinite alternate;
}

.lom-hero__orb--1 {
    width: 340px;
    height: 340px;
    top: -80px;
    inset-inline-end: -60px;
    background: rgba(255, 83, 43, 0.22);
}

.lom-hero__orb--2 {
    width: 260px;
    height: 260px;
    bottom: 10%;
    inset-inline-start: -80px;
    background: rgba(255, 140, 90, 0.16);
    animation-delay: -3s;
}

.lom-hero__grid {
    display: none !important;
}

.lom-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px 48px;
    align-items: center;
    min-height: min(78vh, 720px);
}

.lom-hero__content {
    max-width: 560px;
    text-align: start;
    direction: inherit;
}

html[dir="rtl"] .lom-hero__content {
    text-align: right;
}

html[dir="ltr"] .lom-hero__content {
    text-align: left;
}

.lom-hero__badge,
.lom-hero__title,
.lom-hero__text,
.lom-hero__actions,
.lom-hero__points {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.75s var(--lom-h-ease),
        transform 0.75s var(--lom-h-ease);
}

.lom-hero.is-ready .lom-hero__badge { opacity: 1; transform: none; transition-delay: 0.05s; }
.lom-hero.is-ready .lom-hero__title { opacity: 1; transform: none; transition-delay: 0.14s; }
.lom-hero.is-ready .lom-hero__text { opacity: 1; transform: none; transition-delay: 0.24s; }
.lom-hero.is-ready .lom-hero__actions { opacity: 1; transform: none; transition-delay: 0.34s; }
.lom-hero.is-ready .lom-hero__points { opacity: 1; transform: none; transition-delay: 0.44s; }

.lom-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 8px 14px 8px 12px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(20, 20, 30, 0.05);
    backdrop-filter: blur(8px);
}

.lom-hero__badge-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--lom-h-muted);
    white-space: nowrap;
}

.lom-hero__badge-logo {
    display: block;
    height: 28px;
    width: auto;
    max-width: 150px;
}

.lom-hero__title {
    margin: 0 0 18px;
    color: var(--lom-h-ink);
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.02em;
    text-align: inherit;
}

.lom-hero__text {
    margin: 0 0 28px;
    color: var(--lom-h-muted);
    font-size: clamp(16px, 1.7vw, 19px);
    line-height: 1.85;
    max-width: 34em;
    text-align: inherit;
}

html[dir="rtl"] .lom-hero__content,
html[dir="rtl"] .lom-hero__title,
html[dir="rtl"] .lom-hero__text,
html[dir="rtl"] .lom-hero__actions,
html[dir="rtl"] .lom-hero__points {
    direction: rtl;
    text-align: right !important;
}

html[dir="rtl"] .lom-hero__actions,
html[dir="rtl"] .lom-hero__points,
html[dir="rtl"] .lom-hero__badge {
    justify-content: flex-start;
}

.lom-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 18px;
    margin-bottom: 28px;
}

.lom-hero__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--lom-h-orange);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(255, 83, 43, 0.28);
    overflow: hidden;
    transition:
        background 0.25s ease,
        transform 0.3s var(--lom-h-ease),
        box-shadow 0.3s ease;
}

.lom-hero__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.28) 50%, transparent 65%);
    transform: translateX(120%);
    transition: transform 0.65s var(--lom-h-ease);
}

.lom-hero__cta:hover,
.lom-hero__cta:focus-visible {
    background: var(--lom-h-orange-deep);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(255, 83, 43, 0.4);
}

.lom-hero__cta:hover::before,
.lom-hero__cta:focus-visible::before {
    transform: translateX(-120%);
}

.lom-hero__cta svg {
    transition: transform 0.3s var(--lom-h-ease);
}

html[dir="rtl"] .lom-hero__cta svg {
    transform: scaleX(-1);
}

html[dir="rtl"] .lom-hero__cta:hover svg {
    transform: scaleX(-1) translateX(3px);
}

html[dir="ltr"] .lom-hero__cta:hover svg {
    transform: translateX(3px);
}

.lom-hero__link {
    color: var(--lom-h-ink);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(20, 20, 30, 0.2);
    padding-bottom: 2px;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.lom-hero__link:hover,
.lom-hero__link:focus-visible {
    color: var(--lom-h-orange);
    border-color: var(--lom-h-orange);
    text-decoration: none;
}

.lom-hero__points {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
}

.lom-hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lom-h-muted);
    font-size: 13px;
    font-weight: 600;
}

.lom-hero__point-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 83, 43, 0.12);
    color: var(--lom-h-orange);
    flex-shrink: 0;
}

/* Visual */
.lom-hero__visual {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transform: translateY(28px) scale(0.98);
    transition:
        opacity 0.9s var(--lom-h-ease) 0.2s,
        transform 0.9s var(--lom-h-ease) 0.2s;
}

.lom-hero.is-ready .lom-hero__visual {
    opacity: 1;
    transform: none;
}

.lom-hero__glow {
    position: absolute;
    width: 78%;
    height: 55%;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(255, 83, 43, 0.28), transparent 70%);
    filter: blur(18px);
    z-index: 0;
    animation: lomHeroGlow 5s ease-in-out infinite alternate;
}

.lom-hero__frame {
    position: relative;
    z-index: 1;
    width: min(100%, 560px);
    animation: lomHeroFloat 6.5s ease-in-out infinite;
    filter: drop-shadow(0 28px 50px rgba(20, 20, 40, 0.16));
}

.lom-hero__img {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(68vh, 640px);
    object-fit: contain;
    object-position: bottom center;
}

@keyframes lomHeroOrb {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(18px, 24px, 0) scale(1.08); }
}

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

@keyframes lomHeroGlow {
    from { opacity: 0.55; transform: translateX(-50%) scale(0.95); }
    to { opacity: 0.9; transform: translateX(-50%) scale(1.08); }
}

@media (max-width: 992px) {
    .lom-hero {
        padding: 28px 0 36px;
    }

    .lom-hero__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
        text-align: center;
    }

    .lom-hero__content {
        max-width: 640px;
        margin: 0 auto;
        order: 1;
        text-align: center;
    }

    html[dir="rtl"] .lom-hero__content,
    html[dir="ltr"] .lom-hero__content {
        text-align: center;
    }

    .lom-hero__visual {
        order: 2;
    }

    .lom-hero__badge,
    .lom-hero__actions,
    .lom-hero__points {
        justify-content: center;
    }

    .lom-hero__text {
        margin-left: auto;
        margin-right: auto;
    }

    .lom-hero__frame {
        width: min(100%, 420px);
        animation-duration: 7.5s;
    }

    .lom-hero__img {
        max-height: 420px;
    }
}

@media (max-width: 560px) {
    .lom-hero__title {
        font-size: 28px;
    }

    .lom-hero__text {
        font-size: 15px;
    }

    .lom-hero__badge {
        flex-direction: column;
        gap: 6px;
        border-radius: 18px;
        padding: 10px 14px;
    }

    .lom-hero__points {
        justify-content: center;
        gap: 8px 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lom-hero__orb,
    .lom-hero__frame,
    .lom-hero__glow {
        animation: none !important;
    }

    .lom-hero__badge,
    .lom-hero__title,
    .lom-hero__text,
    .lom-hero__actions,
    .lom-hero__points,
    .lom-hero__visual {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
