/* =====================================================================
   Design "sport-video" — the classic (sports) look of the site, with a hero video that plays
   with the scroll (sv-*) and, under it, products turning around a navy arch (oc-*).
   Loaded after assets/css/style.css on every page while this design is active
   (includes/header.php); only the sv-* and oc-* blocks are new, so every other page keeps
   the classic look.
   ===================================================================== */

.oc-hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(700px 420px at 85% 10%, rgba(111, 181, 47, .16), transparent 65%),
        radial-gradient(640px 420px at 5% 100%, rgba(42, 82, 180, .10), transparent 60%),
        var(--cream-50);
}
.oc-grid {
    display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.5rem; align-items: center;
    min-height: min(78vh, 680px); padding-block: 2rem 1rem;
}
.oc-title { font-size: 52px; font-weight: 800; margin: 1rem 0 .8rem; }
[dir="rtl"] .oc-title { font-weight: 900; }
.oc-lead { color: var(--ink-60); max-width: 30rem; }
.oc-trust { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; }
.oc-trust li { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: 14px; color: var(--navy); }
.oc-trust li::before {
    content: ""; width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
    background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---------- stage: arch + turning products ---------- */
.oc-stage {
    position: relative; height: min(70vh, 600px); min-height: 460px;
    user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: grab;
}
.oc-stage:active { cursor: grabbing; }
.oc-arch {
    position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
    width: min(86%, 620px); height: 88%; border-radius: 9999px 9999px 0 0; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 15%, #2A52B4 0%, var(--navy) 42%, var(--navy-deep) 100%);
    box-shadow: inset 0 40px 80px rgba(255, 255, 255, .07), 0 -24px 70px rgba(23, 53, 111, .18);
}
.oc-arch::after {
    content: ""; position: absolute; inset: 0;
    background: repeating-radial-gradient(circle at 50% 100%, rgba(255, 255, 255, .04) 0 2px, transparent 2px 44px);
}
.oc-ring { position: absolute; left: 50%; top: 0; width: 100%; height: auto; aspect-ratio: 1; transform: translateX(-50%); animation: oc-spin 60s linear infinite; }
.oc-ring text { direction: ltr; font-family: 'Sora', 'Cairo', sans-serif; font-weight: 800; font-size: 50px; letter-spacing: .1em; fill: var(--leaf-bright); opacity: .85; }
@keyframes oc-spin { to { transform: translateX(-50%) rotate(-360deg); } }

.oc-car { position: absolute; left: 50%; top: 54%; width: 0; height: 0; }
.oc-item { position: absolute; left: 0; top: 0; transform-origin: 50% 100%; will-change: transform, opacity; color: inherit; }
.oc-item img { display: block; width: auto; height: 340px; max-width: none; pointer-events: none; filter: drop-shadow(0 24px 26px rgba(14, 33, 72, .35)); }
.oc-buy {
    position: absolute; top: 30%; left: 84%; white-space: nowrap;
    background: #fff; color: var(--navy); font-weight: 800; font-size: 13px;
    padding: 8px 14px 8px 12px; border-radius: 99px; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 10px 26px rgba(14, 33, 72, .22); opacity: 0; transform: scale(.7);
    transition: opacity .35s, transform .45s cubic-bezier(.34, 1.56, .64, 1); pointer-events: none;
}
.oc-buy i { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf-bright); box-shadow: 0 0 0 4px rgba(111, 181, 47, .28); }
.oc-item.on .oc-buy { opacity: 1; transform: scale(1); }

.oc-cap { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 200; text-align: center; color: #fff; pointer-events: none; }
.oc-brand { display: block; font-size: 12px; font-weight: 800; letter-spacing: .2em; color: var(--leaf-bright); min-height: 1.2em; }
.oc-name { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 900; line-height: 1.3; min-height: 1.3em; padding-inline: 1rem; }
.oc-row { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 12px; pointer-events: auto; }
.oc-wa { background: var(--leaf-bright); color: var(--forest); font-weight: 800; }
.oc-wa:hover { background: #8ACB4A; color: var(--forest); }
.oc-arrow {
    width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
    border: 1.5px solid rgba(255, 255, 255, .4); background: transparent; color: #fff; font-size: 20px; line-height: 1;
}
.oc-arrow:hover { background: rgba(255, 255, 255, .12); }
.oc-count { position: absolute; top: 8px; inset-inline-end: 4px; z-index: 200; font-weight: 800; color: var(--ink-60); font-size: 14px; }
.oc-count b { font-family: 'Sora', sans-serif; font-size: 30px; color: var(--navy); }

@media (max-width: 1023px) {
    .oc-title { font-size: 42px; }
}
@media (max-width: 860px) {
    .oc-grid { grid-template-columns: 1fr; min-height: 0; padding-block: 1.25rem 0; gap: 0; }
    .oc-title { margin: .6rem 0 .4rem; }
    .oc-lead { display: none; }
    .oc-text .hero-ctas { margin-top: .9rem; }
    .oc-trust { margin-top: .9rem; }
    .oc-count { display: none; }
    .oc-text { text-align: center; }
    .oc-text .hero-ctas, .oc-trust { justify-content: center; }
    .oc-lead { margin-inline: auto; }
    .oc-stage { height: 430px; min-height: 0; margin: -1.5rem -1rem 0; }
    .oc-arch { width: 112%; height: 82%; }
    .oc-ring text { font-size: 64px; }
}
@media (max-width: 767px) {
    .oc-title { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) {
    .oc-ring { animation: none; }
}

/* =====================================================================
   Scroll-scrubbed video hero (sv-*). The video's own background is a warm beige;
   the section uses the same colour and the picture's edges fade into it.
   ===================================================================== */
.sv { --sv-bg: #E6D0B4; position: relative; height: 320vh; background: var(--sv-bg); }
.sv-pin { position: sticky; top: var(--nav-h, 80px); height: calc(100vh - var(--nav-h, 80px)); height: calc(100svh - var(--nav-h, 80px)); overflow: hidden; }
.sv-pin::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(900px 500px at 75% 55%, rgba(255, 255, 255, .14), transparent 70%);
}
.sv-grid { position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.sv-media { position: relative; height: 100%; aspect-ratio: 9 / 16; }
.sv-canvas, .sv-poster {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    -webkit-mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, #000 62%, transparent 100%);
            mask-image: radial-gradient(ellipse 62% 58% at 50% 52%, #000 62%, transparent 100%);
}
.sv-text { position: relative; min-height: 22rem; }
.sv-step {
    position: absolute; inset: 0 0 auto 0; top: 50%; transform: translateY(-40%); opacity: 0; visibility: hidden;
    transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1), visibility .5s;
}
.sv-step.on { opacity: 1; visibility: visible; transform: translateY(-50%); }
.sv-title { font-size: 54px; font-weight: 800; margin: .8rem 0 .8rem; line-height: 1.2; }
[dir="rtl"] .sv-title { font-weight: 900; }
.sv-lead { color: var(--ink-60); font-size: 18px; max-width: 32rem; margin: 0 0 1.4rem; }
.sv-kicker { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .16em; color: #9A6B1F;
    background: rgba(201, 152, 64, .16); border: 1px solid rgba(154, 107, 31, .3); padding: .35rem .85rem; border-radius: 99px; }
.sv-facts { list-style: none; padding: 0; margin: .4rem 0 1.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.sv-facts li { background: rgba(255, 255, 255, .55); border: 1px solid rgba(23, 53, 111, .1); border-radius: 18px; padding: .8rem 1.2rem; min-width: 7rem; }
.sv-facts b { display: block; font-family: 'Sora', 'Cairo', sans-serif; font-size: 30px; line-height: 1.1; color: var(--navy); }
.sv-facts b small { font-size: 15px; margin-inline-start: 2px; }
.sv-facts span { font-size: 13.5px; font-weight: 700; color: var(--ink-60); }
.sv-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 12.5px; font-weight: 800; color: var(--navy); opacity: .75; transition: opacity .4s; pointer-events: none; }
.sv-hint i { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; }
.sv-hint i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: currentColor; animation: sv-wheel 1.6s ease-in-out infinite; }
@keyframes sv-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }
.sv-hint.off { opacity: 0; }
.sv-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(23, 53, 111, .08); }
.sv-bar i { display: block; height: 100%; background: var(--leaf); transform-origin: left center; transform: scaleX(0); }
[dir="rtl"] .sv-bar i { transform-origin: right center; }

/* the products section now comes after the video */
.oc-after .oc-grid { min-height: 0; padding-block: 3.5rem 2rem; }

@media (max-width: 1023px) {
    .sv-title { font-size: 42px; }
}
@media (max-width: 860px) {
    .sv { height: 300vh; }
    .sv-grid { grid-template-columns: 1fr; grid-template-rows: 1fr auto; gap: 0; align-items: stretch; padding-inline: 0; }
    .sv-media { order: 1; height: auto; width: auto; min-height: 0; aspect-ratio: auto; }
    .sv-canvas, .sv-poster { object-fit: contain;
        -webkit-mask-image: radial-gradient(closest-side, #000 58%, transparent 100%);
                mask-image: radial-gradient(closest-side, #000 58%, transparent 100%); }
    .sv-text { order: 2; min-height: 19rem; text-align: center; padding-inline: 1.25rem; }
    .sv-step[data-step="1"] .sv-lead { display: none; }
    .sv-step { top: 0; transform: translateY(12px); }
    .sv-step.on { transform: translateY(0); }
    .sv-step .eyebrow { display: none; }
    .sv-title { font-size: 30px; margin: .3rem 0 .4rem; }
    .sv-lead { font-size: 15px; margin: 0 auto .9rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
    .sv-step .hero-ctas, .sv-facts { justify-content: center; }
    .sv-facts { gap: .5rem; margin-bottom: .9rem; }
    .sv-facts li { min-width: 0; padding: .45rem .8rem; border-radius: 14px; }
    .sv-facts b { font-size: 22px; }
    .sv-hint { display: none; }
    .oc-after .oc-grid { padding-block: 2rem 0; }
}
