/* OMP homepage — product-first hero, calm logistics */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Unbounded:wght@500;600;700&display=swap');

:root {
    --omp-ink: #071824;
    --omp-deep: #0f334c;
    --omp-glass: #1a7a9c;
    --omp-leaf: #2f9a62;
    --omp-warm: #e08a3c;
    --omp-mist: #e8f1f6;
    --omp-paper: #f4f8fb;
    --omp-line: rgba(18, 58, 86, 0.12);
}

main.py-4:has(.omp-hero) {
    padding-top: 0 !important;
    padding-bottom: 2rem;
}

.omp-hero {
    position: relative;
    isolation: isolate;
    min-height: min(92vh, 780px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #f4f8fb;
    margin: 0 0 1.75rem;
}

.omp-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.omp-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% 40%;
    transform: scale(1.1);
    filter: saturate(0.85) contrast(1.05);
    animation: omp-drift 24s ease-in-out infinite alternate;
    will-change: transform;
}

.omp-hero__veil {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 80% at 18% 55%, rgba(7, 24, 36, 0.92) 0%, rgba(7, 24, 36, 0.55) 55%, transparent 75%),
        linear-gradient(115deg, rgba(5, 18, 28, 0.94) 0%, rgba(8, 32, 48, 0.78) 38%, rgba(12, 50, 62, 0.35) 68%, rgba(20, 70, 58, 0.28) 100%),
        linear-gradient(to top, rgba(5, 16, 26, 0.7) 0%, transparent 40%);
}

.omp-hero__grain {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

.omp-hero__inner {
    width: min(1160px, calc(100% - 2.5rem));
    margin: 0 auto;
    padding: 5rem 0 3.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 2rem 3rem;
    align-items: center;
}

.omp-hero__brand {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(2.35rem, 7vw, 4.5rem);
    letter-spacing: -0.04em;
    line-height: 0.92;
    margin: 0 0 1.1rem;
    animation: omp-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.omp-hero__brand span {
    display: block;
    font-size: 0.22em;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.72;
    margin-bottom: 0.7rem;
}

.omp-hero__title {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 700;
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
    line-height: 1.28;
    max-width: 18ch;
    margin: 0 0 0.9rem;
    animation: omp-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.omp-hero__lead {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: clamp(0.98rem, 1.5vw, 1.08rem);
    line-height: 1.55;
    max-width: 40ch;
    opacity: 0.9;
    margin: 0 0 1.25rem;
    animation: omp-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.omp-hero__price {
    font-family: 'Unbounded', system-ui, sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 0.85rem;
    margin: 0 0 1.5rem;
    font-size: clamp(1.55rem, 3.2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #fff;
    animation: omp-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.26s both;
}

.omp-hero__price b {
    color: #7de0a8;
}

.omp-hero__price span {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 0.45em;
    font-weight: 600;
    opacity: 0.75;
    letter-spacing: 0;
}

.omp-hero__price em {
    font-family: 'Manrope', system-ui, sans-serif;
    font-style: normal;
    font-size: 0.42em;
    font-weight: 600;
    opacity: 0.7;
    letter-spacing: 0;
    padding-left: 0.35rem;
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.omp-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    animation: omp-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.34s both;
}

.omp-btn {
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.45rem;
    border-radius: 3px;
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.omp-btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.omp-btn--primary {
    background: linear-gradient(135deg, #2f9a62 0%, #1f7a8c 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(20, 90, 70, 0.35);
}

.omp-btn--primary:hover {
    background: linear-gradient(135deg, #38ad6f 0%, #2490a4 100%);
    color: #fff;
}

.omp-btn--ghost {
    color: #f4f8fb;
    border: 1px solid rgba(244, 248, 251, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.omp-btn--ghost:hover {
    border-color: #f4f8fb;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Product metaphor: stacked customs docs */
.omp-hero__stage {
    position: relative;
    min-height: 320px;
    display: grid;
    place-items: center;
    animation: omp-rise 1s cubic-bezier(0.22, 1, 0.36, 1) 0.28s both;
}

.omp-pack {
    position: relative;
    width: min(100%, 340px);
    height: 300px;
    perspective: 900px;
}

.omp-pack__sheet {
    position: absolute;
    inset: auto;
    width: 86%;
    height: 72%;
    left: 7%;
    top: 14%;
    padding: 1.15rem 1.2rem;
    border-radius: 4px 10px 4px 4px;
    background: linear-gradient(160deg, #fbfcfd 0%, #e7eef3 100%);
    color: var(--omp-deep);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    transform-origin: 50% 100%;
}

.omp-pack__sheet span {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    display: block;
    margin-bottom: 0.85rem;
    color: var(--omp-deep);
}

.omp-pack__sheet i {
    display: block;
    height: 8px;
    border-radius: 2px;
    background: rgba(15, 51, 76, 0.12);
    margin-bottom: 0.45rem;
}

.omp-pack__sheet i:nth-child(2) { width: 92%; }
.omp-pack__sheet i:nth-child(3) { width: 78%; }
.omp-pack__sheet i:nth-child(4) { width: 86%; }
.omp-pack__sheet i:nth-child(5) { width: 64%; }

.omp-pack__sheet b {
    position: absolute;
    right: 1rem;
    bottom: 0.95rem;
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #1a7a9c;
}

.omp-pack__sheet--1 {
    z-index: 3;
    animation: omp-float 5.5s ease-in-out infinite;
}

.omp-pack__sheet--2 {
    z-index: 2;
    transform: rotate(-7deg) translate(-10px, 8px);
    background: linear-gradient(160deg, #f7faf8 0%, #dde8e2 100%);
    animation: omp-float 5.5s ease-in-out 0.35s infinite;
}

.omp-pack__sheet--3 {
    z-index: 1;
    transform: rotate(8deg) translate(14px, 4px);
    background: linear-gradient(160deg, #f8f6f2 0%, #ebe4d8 100%);
    animation: omp-float 5.5s ease-in-out 0.7s infinite;
}

.omp-hero__route {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    overflow: hidden;
    pointer-events: none;
}

.omp-hero__route span {
    display: block;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, transparent, var(--omp-leaf), var(--omp-glass), transparent);
    animation: omp-route 4.5s ease-in-out infinite;
}

.omp-home {
    animation: omp-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.omp-strip {
    background:
        linear-gradient(135deg, rgba(30, 106, 140, 0.08), rgba(47, 122, 85, 0.08)),
        var(--omp-paper);
    border-top: 1px solid var(--omp-line);
    border-bottom: 1px solid var(--omp-line);
    padding: 1.25rem 1.1rem;
    margin-bottom: 1.25rem;
}

.omp-strip h2 {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--omp-deep);
    margin: 0 0 0.55rem;
    letter-spacing: -0.02em;
}

.omp-strip p {
    font-family: 'Manrope', system-ui, sans-serif;
    color: #334e63;
    margin: 0 0 0.9rem;
    text-align: justify;
    line-height: 1.55;
}

.omp-strip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.omp-feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
}

.omp-feature {
    height: 100%;
    padding: 1rem 0.85rem 1.1rem;
    border-bottom: 1px solid var(--omp-line);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.omp-feature:hover {
    background: linear-gradient(180deg, rgba(30, 106, 140, 0.05), transparent);
    border-bottom-color: rgba(30, 106, 140, 0.35);
}

.omp-feature a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.omp-feature h3 {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--omp-deep);
    margin: 0 0 0.55rem;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.omp-feature small {
    font-family: 'Manrope', system-ui, sans-serif;
    display: block;
    color: #405868;
    line-height: 1.5;
    text-align: left;
}

.omp-news-title {
    font-family: 'Unbounded', system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--omp-deep);
    margin: 1.5rem 0 0.75rem;
    letter-spacing: -0.02em;
}

.omp-news-title a {
    color: inherit;
    text-decoration: none;
}

.omp-news-title a:hover {
    color: var(--omp-glass);
}

@keyframes omp-rise {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes omp-drift {
    from {
        transform: scale(1.1) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.16) translate3d(-1.4%, -0.9%, 0);
    }
}

@keyframes omp-route {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(320%); }
}

@keyframes omp-float {
    0%, 100% { translate: 0 0; }
    50% { translate: 0 -10px; }
}

@media (max-width: 991.98px) {
    .omp-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 4.25rem 0 2.75rem;
    }

    .omp-hero__stage {
        order: -1;
        min-height: 240px;
    }

    .omp-pack {
        height: 240px;
        width: min(100%, 280px);
    }

    .omp-hero__title {
        max-width: 28ch;
    }
}

@media (max-width: 767.98px) {
    .omp-hero {
        min-height: min(88vh, 760px);
    }

    .omp-hero__media img {
        object-position: 70% center;
    }

    .omp-hero__veil {
        background:
            linear-gradient(180deg, rgba(5, 18, 28, 0.55) 0%, rgba(5, 18, 28, 0.88) 48%, rgba(5, 16, 26, 0.96) 100%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .omp-hero__media img,
    .omp-hero__brand,
    .omp-hero__title,
    .omp-hero__lead,
    .omp-hero__price,
    .omp-hero__actions,
    .omp-hero__stage,
    .omp-home,
    .omp-hero__route span,
    .omp-pack__sheet {
        animation: none !important;
    }

    .omp-hero__media img {
        transform: scale(1.05);
    }

    .omp-btn:hover {
        transform: none;
    }
}
