﻿/* Restored cinematic hero + services coverflow */
:root {
  --nav-h: 4.25rem;
  --service-movie-w: min(92vw, 1280px);
  --service-movie-h: min(78vh, 860px);
}

.hero--webgl,
.section--services-cinema {
  --accent: #00b4d8;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-hero: "Space Grotesk", system-ui, sans-serif;
  --glass-border: rgba(255, 255, 255, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero--webgl .hero__title {
  font-family: var(--font-hero);
  font-weight: 650;
  letter-spacing: -0.03em;
}

.hero--webgl .hero__lead {
  position: relative;
  z-index: 5;
}

/* Hero â€” cinematic 3D UI scene */
.hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 100vh;
    min-height: 100dvh;
    padding: calc(var(--nav-h) + 1.5rem) 0 clamp(2.5rem, 5vh, 4rem);
    overflow: hidden;
    background: #050a12;
}

.hero--cinematic,
.hero--webgl {
    isolation: isolate;
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    outline: none;
    pointer-events: none;
    opacity: 1;
}

.hero__atmosphere {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__vignette {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 10, 18, 0.94) 0%, rgba(5, 10, 18, 0.72) 28%, rgba(5, 10, 18, 0.18) 52%, rgba(5, 10, 18, 0.35) 100%),
        radial-gradient(ellipse 80% 70% at 62% 48%, transparent 18%, rgba(0, 0, 0, 0.55) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, transparent 26%, rgba(0, 0, 0, 0.82) 100%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
}

.hero__glow--red {
    width: 48vw;
    height: 48vw;
    top: 8%;
    left: 62%;
    transform: translateX(-50%);
    background: rgba(0, 180, 216, 0.26);
    animation: hero-glow-pulse 7s ease-in-out infinite;
}

.hero__glow--ember {
    width: 28vw;
    height: 28vw;
    bottom: 8%;
    right: 8%;
    background: rgba(56, 189, 248, 0.16);
    animation: hero-glow-pulse 9s ease-in-out infinite reverse;
}

.hero__glow--violet {
    width: 35vw;
    height: 35vw;
    bottom: 5%;
    right: -5%;
    background: rgba(100, 80, 220, 0.12);
}

.hero__grain {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    mix-blend-mode: overlay;
    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)'/%3E%3C/svg%3E");
}

.hero__loader {
    position: absolute;
    top: 52%;
    left: 62%;
    transform: translate(-50%, -50%);
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.hero--webgl.is-loading .hero__loader { opacity: 1; }
.hero--webgl.is-ready .hero__loader { opacity: 0; }

.hero__drag-zone {
    position: absolute;
    inset: 0;
    z-index: 3;
    touch-action: none;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}

.hero__drag-zone.is-dragging {
    cursor: grabbing;
}

@media (min-width: 861px) {
    .hero__drag-zone {
        left: 34%;
    }
}

@media (max-width: 860px) {
    .hero__drag-zone {
        /* Keep lower UI tappable; drag the horse in the upper area */
        bottom: 38%;
    }
}

.hero__loader-ring {
    display: block;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-top-color: var(--accent);
    animation: hero-spin 0.9s linear infinite;
}

.hero__scroll {
    position: relative;
    z-index: 12;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.15rem 0 0;
    width: fit-content;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto;
    transition: color 0.3s, transform 0.3s;
}

.hero__scroll:hover {
    color: #fff;
    transform: translateY(2px);
}

.hero__scroll-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    display: grid;
    place-items: start center;
    padding-top: 6px;
    background: rgba(0, 0, 0, 0.2);
}

.hero__scroll-mouse i {
    width: 3px;
    height: 7px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 10px rgba(0, 180, 216, 0.7);
    animation: hero-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes hero-spin {
    to { transform: rotate(360deg); }
}

@keyframes hero-glow-pulse {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

@keyframes hero-scroll-dot {
    0% { transform: translateY(0); opacity: 0.35; }
    45% { transform: translateY(10px); opacity: 1; }
    100% { transform: translateY(0); opacity: 0.35; }
}

.hero__file-tip {
    position: absolute;
    left: 50%;
    bottom: 4.5rem;
    z-index: 8;
    transform: translateX(-50%);
    width: min(520px, 90%);
    padding: 0.85rem 1.1rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 180, 216, 0.45);
    background: rgba(12, 8, 10, 0.92);
    color: #fff;
    font-size: 0.85rem;
    line-height: 1.45;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.hero__file-tip strong {
    color: #67e8f9;
}

.hero__grid {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 20%, transparent 75%);
    transform: perspective(800px) rotateX(68deg) scale(1.4);
    transform-origin: 50% 100%;
}

.hero__scene {
    position: absolute;
    inset: 0;
    z-index: 1;
    perspective: 1400px;
    perspective-origin: 50% 42%;
    pointer-events: none;
}

.hero__orbit {
    position: absolute;
    top: 50%;
    width: min(520px, 42vw);
    height: min(640px, 70vh);
    transform-style: preserve-3d;
}

.hero__orbit--left {
    left: -8%;
    transform: translateY(-48%) rotateY(38deg) rotateX(6deg) translateZ(-80px);
}

.hero__orbit--right {
    right: -8%;
    transform: translateY(-52%) rotateY(-38deg) rotateX(6deg) translateZ(-80px);
}

.hero-ui {
    position: absolute;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02)),
        rgba(12, 12, 18, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset,
        0 0 40px rgba(0, 180, 216, 0.08);
    overflow: hidden;
    transform-style: preserve-3d;
}

.hero-ui::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(125deg, rgba(255, 255, 255, 0.14), transparent 45%);
    pointer-events: none;
}

.hero-ui__chrome {
    display: flex;
    gap: 6px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-ui__chrome span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.hero-ui__chrome span:first-child { background: rgba(0, 180, 216, 0.7); }

.hero-ui--dash {
    top: 8%;
    left: 5%;
    width: 78%;
    padding-bottom: 0.5rem;
    transform: translateZ(40px);
}

.hero-ui__body {
    padding: 1rem 1.1rem 1.25rem;
}

.hero-ui__metric small {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-ui__metric strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
}

.hero-ui__bars {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 56px;
    margin-top: 0.75rem;
}

.hero-ui__bars i {
    flex: 1;
    height: var(--h);
    border-radius: 4px 4px 2px 2px;
    background: linear-gradient(180deg, var(--accent), rgba(0, 180, 216, 0.35));
    box-shadow: 0 0 16px rgba(0, 180, 216, 0.35);
}

.hero-ui--brand {
    bottom: 6%;
    right: -5%;
    width: 72%;
    aspect-ratio: 4 / 3;
    transform: translateZ(80px) rotateZ(-4deg);
}

.hero-ui--brand img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.hero-ui__label {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    padding: 0.35rem 0.65rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-ui--web {
    top: 12%;
    right: 0;
    width: 85%;
    transform: translateZ(60px);
}

.hero-ui--web img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    opacity: 0.85;
}

.hero-ui--glass {
    bottom: 8%;
    left: 0;
    width: 70%;
    padding: 1rem 1.1rem;
    transform: translateZ(100px) rotateZ(3deg);
}

.hero-ui__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.65rem;
}

.hero-ui__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.6);
}

.hero-ui__line {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.45rem;
}

.hero-ui__line--short { width: 62%; }

.hero-ui__pill {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    border-radius: 999px;
    box-shadow: 0 0 20px var(--accent-glow);
}

@keyframes hero-float-a {
    0%, 100% { transform: translateZ(40px) translateY(0); }
    50% { transform: translateZ(55px) translateY(-12px); }
}

@keyframes hero-float-b {
    0%, 100% { transform: translateZ(80px) rotateZ(-4deg) translateY(0); }
    50% { transform: translateZ(95px) rotateZ(-2deg) translateY(10px); }
}

@keyframes hero-float-c {
    0%, 100% { transform: translateZ(60px) translateY(0); }
    50% { transform: translateZ(75px) translateY(-10px); }
}

@keyframes hero-float-d {
    0%, 100% { transform: translateZ(100px) rotateZ(3deg) translateY(0); }
    50% { transform: translateZ(110px) rotateZ(5deg) translateY(8px); }
}

.hero-ui--float-a { animation: hero-float-a 7s var(--ease) infinite; }
.hero-ui--float-b { animation: hero-float-b 8.5s var(--ease) infinite 0.5s; }
.hero-ui--float-c { animation: hero-float-c 7.5s var(--ease) infinite 0.25s; }
.hero-ui--float-d { animation: hero-float-d 9s var(--ease) infinite 0.75s; }

/* Floating logo variants */
.hero__logos {
    position: absolute;
    inset: 0;
    z-index: 3;
    perspective: 1400px;
    perspective-origin: 50% 42%;
    transform-style: preserve-3d;
    pointer-events: none;
}

.hero-logo {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02)),
        rgba(10, 10, 16, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.55),
        0 0 48px rgba(0, 180, 216, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.06) inset;
    transform-style: preserve-3d;
    overflow: hidden;
}

.hero-logo__shine {
    position: absolute;
    inset: -40%;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.18) 50%,
        transparent 60%
    );
    animation: hero-logo-shine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-logo-shine {
    0%, 100% { transform: translateX(-30%) rotate(12deg); opacity: 0; }
    45%, 55% { opacity: 1; }
    100% { transform: translateX(30%) rotate(12deg); opacity: 0; }
}

.hero-logo img {
    position: relative;
    z-index: 1;
    width: auto;
    height: auto;
    max-width: 82%;
    max-height: 78%;
    object-fit: contain;
    opacity: 1;
    filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.65));
}

.hero-logo--alt {
    top: 12%;
    left: 14%;
    width: clamp(112px, 16vw, 180px);
    height: clamp(112px, 16vw, 180px);
    padding: 1.15rem;
    transform: rotateY(-18deg) rotateX(8deg) translateZ(120px);
    border-radius: 50%;
}

.hero-logo--mark {
    top: 18%;
    right: 12%;
    width: clamp(120px, 17vw, 190px);
    height: clamp(92px, 12vw, 140px);
    padding: 1rem 1.25rem;
    transform: rotateY(20deg) rotateX(6deg) translateZ(140px);
}

.hero-logo--ghost {
    top: 36%;
    left: 50%;
    width: clamp(220px, 30vw, 340px);
    height: clamp(220px, 30vw, 340px);
    padding: 1.75rem;
    margin-left: clamp(-110px, -15vw, -170px);
    transform: translateZ(-80px) rotateX(10deg);
    border-radius: 50%;
    border-color: rgba(255, 255, 255, 0.08);
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12), transparent 68%);
    box-shadow: 0 0 80px rgba(0, 180, 216, 0.08);
    opacity: 0.55;
}

.hero-logo--ghost img {
    max-width: 92%;
    max-height: 92%;
    opacity: 0.75;
    filter: drop-shadow(0 0 40px rgba(0, 180, 216, 0.25));
}

@keyframes hero-float-e {
    0%, 100% { transform: rotateY(-22deg) rotateX(8deg) translateZ(160px) translateY(0); }
    50% { transform: rotateY(-18deg) rotateX(10deg) translateZ(175px) translateY(-14px); }
}

@keyframes hero-float-f {
    0%, 100% { transform: rotateY(24deg) rotateX(6deg) translateZ(180px) translateY(0) rotateZ(0deg); }
    50% { transform: rotateY(28deg) rotateX(4deg) translateZ(195px) translateY(12px) rotateZ(2deg); }
}

@keyframes hero-float-g {
    0%, 100% { transform: translateZ(-120px) rotateX(12deg) scale(1); }
    50% { transform: translateZ(-100px) rotateX(10deg) scale(1.04); }
}

.hero-logo--float-e { animation: hero-float-e 8s var(--ease) infinite; }
.hero-logo--float-f { animation: hero-float-f 9.5s var(--ease) infinite 0.4s; }
.hero-logo--float-g { animation: hero-float-g 11s var(--ease) infinite 0.2s; }

.hero__inner {
    position: relative;
    z-index: 5;
    width: min(520px, 90%);
    max-width: 520px;
    margin: 0 0 0 clamp(1.25rem, 5vw, 4.5rem);
    text-align: left;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    pointer-events: none;
}

.hero__inner a,
.hero__inner .btn {
    pointer-events: auto;
}

.hero__spacer {
    display: none;
}

.hero__copy {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.hero__bootline {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.85rem;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(103, 232, 249, 0.75);
    opacity: 0;
    transform: translateY(8px);
}

.hero__bootline-bar {
    display: inline-block;
    width: 1.6rem;
    height: 2px;
    background: linear-gradient(90deg, #00b4d8, transparent);
    box-shadow: 0 0 12px rgba(0, 180, 216, 0.8);
}

.hero-anim {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(28px) skewX(-4deg);
    clip-path: inset(0 100% 0 0);
}

.hero__copy.is-booting .hero__bootline {
    animation: heroBootLine 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}

.hero__copy.is-booting .hero-anim:nth-child(2) {
    animation: heroTechIn 1.45s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

.hero__copy.is-booting .hero-anim:nth-child(3) {
    animation: heroTechIn 1.7s cubic-bezier(0.22, 1, 0.36, 1) 1.05s forwards;
}

.hero__copy.is-booting .hero-anim:nth-child(4) {
    animation: heroTechIn 1.5s cubic-bezier(0.22, 1, 0.36, 1) 1.7s forwards;
}

.hero__copy.is-booting .hero-anim:nth-child(5) {
    animation: heroTechIn 1.35s cubic-bezier(0.22, 1, 0.36, 1) 2.25s forwards;
}

.hero__title {
    font-family: var(--font-hero);
    font-size: clamp(2.1rem, 4.2vw, 3.35rem);
    font-weight: 650;
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
    max-width: 14ch;
    color: #f4f7fb;
    text-shadow:
      0 0 24px rgba(0, 180, 216, 0.25),
      0 12px 40px rgba(0, 0, 0, 0.55);
    position: relative;
}

.hero__title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #67e8f9, transparent);
    opacity: 0;
    pointer-events: none;
}

.hero__copy.is-booting .hero__title::after {
    animation: heroScan 1.6s ease-out 1.15s forwards;
}

.hero__eyebrow {
    display: inline-block;
    margin: 0 0 0.85rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(103, 232, 249, 0.9) !important;
}

.hero__lead {
    margin: 0 0 1.5rem;
    max-width: 34rem;
    color: rgba(244, 247, 251, 0.68);
    font-size: 1.02rem;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 0;
}

@keyframes heroBootLine {
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes heroTechIn {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(28px) skewX(-5deg);
        clip-path: inset(0 100% 0 0);
    }
    55% {
        opacity: 1;
        filter: blur(2px);
        transform: translateY(4px) skewX(-1deg);
        clip-path: inset(0 0 0 0);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: none;
        clip-path: inset(0 0 0 0);
    }
}

@keyframes heroScan {
    0% { top: 0; opacity: 0; }
    15% { opacity: 0.95; }
    100% { top: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-anim,
    .hero__bootline {
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        clip-path: none !important;
        animation: none !important;
    }
    .hero__title::after { display: none; }
}

.hero__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2.5rem;
    list-style: none;
    margin: 2.5rem 0 0;
    padding: 1.75rem 0 0;
    border-top: 1px solid var(--glass-border);
}

.hero__stats strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
}

.hero__stats span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Services â€” full-screen Netflix movie swipe rail
   ========================================================================== */

.section--services-cinema {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--nav-h) + 1rem) 0 3rem;
    background: #000;
    overflow: hidden;
}

.section--services-cinema .services-showcase__header {
    flex-shrink: 0;
    margin-bottom: 1.25rem;
    padding-left: max(4vw, calc((100vw - 1280px) / 2));
    padding-right: 4vw;
}

.section--services-cinema .section__title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.section--services-cinema .section__subtitle {
    max-width: 640px;
}

/* Almost full-viewport horizontal movie row */
.netflix-rail--cinema {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-height: min(82vh, 900px);
    padding-left: max(4vw, calc((100vw - 1280px) / 2));
    padding-right: 0;
}

.netflix-rail--cinema .services-swiper {
    width: 100%;
    height: var(--service-movie-h);
    overflow: visible;
    margin: 0;
    padding: 0;
}

.netflix-rail--cinema .swiper-wrapper {
    align-items: center;
    transition-timing-function: cubic-bezier(0.33, 1, 0.38, 1);
}

.netflix-rail--cinema .swiper-slide {
    width: var(--service-movie-w);
    height: var(--service-movie-h);
    transition: opacity 0.45s var(--ease);
}

/* Movie poster card â€” full bleed image */
.service-movie {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    transition:
        box-shadow 0.65s cubic-bezier(0.34, 1.2, 0.64, 1),
        border-color 0.65s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.service-movie:hover {
    border-color: rgba(0, 180, 216, 0.55);
}

.service-movie__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.services-swiper--coverflow .swiper-slide-active .service-movie:hover .service-movie__bg {
    transform: scale(1.05);
}

.service-movie__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, transparent 45%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, transparent 55%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 30%);
    pointer-events: none;
}

.service-movie__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    max-width: 90%;
}

.service-movie__tag {
    display: inline-block;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(0, 180, 216, 0.85);
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 180, 216, 0.4);
}

.service-movie__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 0.65rem;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.8);
}

.service-movie__desc {
    margin: 0 0 1.25rem;
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
    max-width: 52ch;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.service-movie__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s, background 0.25s;
    position: relative;
    z-index: 4;
}

.service-movie:hover .service-movie__cta,
.service-movie__cta:hover {
    background: var(--accent);
    color: #fff;
    transform: scale(1.04);
}

/* Carousel arrows */
.services-coverflow-stage .netflix-rail__arrow,
.netflix-rail--cinema .netflix-rail__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.75);
    backdrop-filter: blur(8px);
    color: #fff;
    cursor: pointer;
    opacity: 1;
    transition: background 0.25s, transform 0.25s;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.services-coverflow-stage .netflix-rail__arrow:hover,
.netflix-rail--cinema .netflix-rail__arrow:hover {
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    transform: translateY(-50%) scale(1.1);
}

.netflix-rail--cinema .netflix-rail__arrow--prev {
    left: max(1.5vw, calc((100vw - 1280px) / 2));
}

.netflix-rail--cinema .netflix-rail__arrow--next {
    right: max(1.5vw, 2rem);
}

/* Loop carousel: arrows always clickable (never disabled) */
.services-coverflow-stage .netflix-rail__arrow.swiper-button-disabled {
    opacity: 1 !important;
    pointer-events: auto !important;
    cursor: pointer;
}

.netflix-rail--cinema .netflix-rail__fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(180px, 22vw);
    background: linear-gradient(90deg, transparent, #000 90%);
    pointer-events: none;
    z-index: 8;
}

/* ==========================================================================
   Services â€” 3D Cover Flow stage
   ========================================================================== */

.services-coverflow-stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(78vh, 720px);
    margin-top: 0.5rem;
    perspective: 1600px;
    perspective-origin: 50% 42%;
}

.services-coverflow__bg {
    position: absolute;
    inset: 5% 10%;
    z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 20% 40%, rgba(0, 180, 216, 0.14), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 55%, rgba(14, 116, 144, 0.08), transparent 55%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(255, 255, 255, 0.04), transparent 50%);
    filter: blur(48px);
    opacity: 0.9;
    pointer-events: none;
}

.services-coverflow__floor-glow {
    position: absolute;
    left: 50%;
    bottom: 8%;
    width: min(70vw, 720px);
    height: 120px;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(0, 180, 216, 0.22), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
    z-index: 0;
}

.services-swiper--coverflow {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    height: min(62vh, 560px);
    overflow: visible;
    padding: 2rem 0 3rem;
}

.services-swiper--coverflow .swiper-wrapper {
    align-items: center;
    transition-timing-function: cubic-bezier(0.34, 1.25, 0.64, 1);
}

.services-swiper--coverflow .swiper-slide {
    width: min(56vw, 500px);
    height: min(58vh, 520px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.services-swiper--coverflow .service-movie {
    transform: none;
    border-radius: 16px;
    box-shadow:
        -24px 32px 64px rgba(0, 0, 0, 0.55),
        0 24px 48px rgba(0, 0, 0, 0.45);
}

.services-swiper--coverflow .swiper-slide-active .service-movie {
    border-color: rgba(0, 180, 216, 0.45);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 32px 80px rgba(0, 0, 0, 0.75),
        0 0 80px rgba(0, 180, 216, 0.2),
        0 0 140px rgba(0, 180, 216, 0.08);
}

.services-swiper--coverflow .swiper-slide:not(.swiper-slide-active) .service-movie {
    filter: brightness(0.72) saturate(0.85);
}

.services-swiper--coverflow .swiper-slide-active .service-movie {
    filter: brightness(1) saturate(1.05);
}

.service-movie__gloss {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(
            125deg,
            rgba(255, 255, 255, 0.22) 0%,
            rgba(255, 255, 255, 0.06) 22%,
            transparent 42%,
            transparent 58%,
            rgba(255, 255, 255, 0.04) 78%,
            rgba(255, 255, 255, 0.12) 100%
        );
    mix-blend-mode: soft-light;
}

.service-movie__edge-light {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35);
    border-radius: inherit;
}

.services-swiper--coverflow .swiper-slide-active .service-movie__gloss {
    opacity: 1;
}

.services-swiper--coverflow .swiper-slide:not(.swiper-slide-active) .service-movie__gloss {
    opacity: 0.65;
}

.services-coverflow-stage .netflix-rail__arrow--prev {
    left: max(1rem, 2vw);
}

.services-coverflow-stage .netflix-rail__arrow--next {
    right: max(1rem, 2vw);
}

.services-coverflow-stage::before,
.services-coverflow-stage::after {
    content: "";
    position: absolute;
    top: 10%;
    bottom: 10%;
    width: min(140px, 16vw);
    z-index: 5;
    pointer-events: none;
}

.services-coverflow-stage::before {
    left: 0;
    background: linear-gradient(90deg, #000 15%, transparent);
}

.services-coverflow-stage::after {
    right: 0;
    background: linear-gradient(270deg, #000 15%, transparent);
}

@media (max-width: 768px) {
    :root {
        --service-movie-w: 94vw;
        --service-movie-h: min(70vh, 620px);
    }

    .services-coverflow-stage {
        min-height: min(56vh, 460px);
        perspective: 1200px;
        margin-top: 0;
    }

    .services-swiper--coverflow {
        height: min(48vh, 400px);
        padding: 1rem 0 2rem;
    }

    .services-swiper--coverflow .swiper-slide {
        width: min(82vw, 340px);
        height: min(46vh, 380px);
    }

    .section--services-cinema {
        min-height: auto;
        padding: calc(var(--nav-h) + 0.5rem) 0 2rem;
    }

    .section--services-cinema .services-showcase__header {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .service-movie__content {
        padding: 1.15rem 1.15rem 1.35rem;
        max-width: 100%;
    }

    .service-movie__title {
        font-size: clamp(1.35rem, 6vw, 1.85rem);
    }

    .service-movie__desc {
        font-size: 0.92rem;
        margin-bottom: 0.85rem;
    }

    .netflix-rail--cinema {
        min-height: min(70vh, 620px);
    }

    .services-coverflow-stage .netflix-rail__arrow,
    .netflix-rail--cinema .netflix-rail__arrow {
        width: 44px;
        height: 44px;
    }

    .services-coverflow-stage .netflix-rail__arrow--prev {
        left: 0.35rem;
    }

    .services-coverflow-stage .netflix-rail__arrow--next {
        right: 0.35rem;
    }

    .services-coverflow-stage::before,
    .services-coverflow-stage::after {
        width: min(56px, 10vw);
    }
}

@media (max-width: 860px) {
    .hero__scroll {
        display: none !important;
    }

    .hero {
        min-height: 100svh;
        min-height: 100dvh;
        align-items: flex-end;
        justify-content: flex-start;
        padding: calc(var(--nav-h) + 0.5rem) 0 max(1.35rem, env(safe-area-inset-bottom));
    }

    .hero__inner {
        width: min(100% - 1.5rem, 400px);
        max-width: none;
        min-height: 0;
        margin: 0 auto;
        padding: 0;
        text-align: center;
    }

    .hero__spacer {
        display: none;
    }

    .hero__copy {
        padding-top: 0;
        margin-top: 0;
        flex: 0 0 auto;
        align-items: center;
        text-align: center;
    }

    .hero__bootline {
        justify-content: center;
        font-size: 0.62rem;
        margin-bottom: 0.65rem;
    }

    .hero__eyebrow {
        font-size: 0.64rem;
        margin-bottom: 0.65rem;
    }

    .hero__title {
        font-size: clamp(1.55rem, 6.2vw, 2.05rem);
        margin-bottom: 0.7rem;
        text-align: center;
        max-width: 18ch;
    }

    .hero__lead {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
        font-size: 0.92rem;
        max-width: 34ch;
        line-height: 1.5;
    }

    .hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        align-self: center;
        width: 100%;
        gap: 0.5rem;
        margin-bottom: 0;
    }

    .hero__actions .btn {
        display: inline-flex !important;
        width: auto;
        flex: 1 1 auto;
        min-width: min(100%, 9rem);
        max-width: 100%;
        min-height: 44px;
        justify-content: center;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0.7rem 0.9rem;
        font-size: 0.88rem;
    }

    .hero__vignette {
        background:
            linear-gradient(180deg, rgba(5, 10, 18, 0.35) 0%, transparent 28%, rgba(5, 10, 18, 0.55) 58%, rgba(5, 10, 18, 0.92) 100%),
            radial-gradient(ellipse 90% 70% at 50% 42%, transparent 18%, rgba(0, 0, 0, 0.45) 100%);
    }

    .hero__loader {
        top: 42%;
        left: 50%;
    }

    .hero__glow--red {
        left: 50%;
        width: 70vw;
        height: 70vw;
        top: 32%;
    }

    .hero__drag-zone {
        top: 0;
        bottom: 42%;
    }

    .section--services-cinema .services-showcase__header {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .service-movie__cta {
        padding: 0.65rem 1.1rem;
        font-size: 0.88rem;
        min-height: 44px;
    }
}

