/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&amp;family=Roboto+Mono:wght@400;500;700&amp;family=Source+Code+Pro:wght@400;500;600;700&amp;family=Inter:wght@100;200;300;400;500;600;700;800;900&amp;family=Space+Grotesk:wght@300;400;500;600;700&amp;display=swap");

/* =========================
   CSS RESET
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

img, video {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
}

/* =========================
   FONT SYSTEM
========================= */
:root {
    --font-main: "Instrument Sans", system-ui, sans-serif;
    --font-mono: "Roboto Mono", monospace;
    --font-source: "Source Code Pro", monospace;
    --font-inter: "Inter", system-ui, sans-serif;
    --font-space: "Space Grotesk", system-ui, sans-serif;
    --font-georgia: Georgia, "Times New Roman", serif;
    /* Menlo font */
    --font-menlo: Menlo, monospace;
    --primary: #e50914;
    --secondary: #000000;
    --yellow: #ffc000;
    --text: #111827;
    --white: #ffffff;
    --gray: #333333;
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* =========================
   BASE STYLES
========================= */
body {
    font-family: var(--font-main);
    background: #050505;
    color: var(--white);
    line-height: 1.5;
}

/* =========================
   TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-main);
    font-weight: 600;
}

code,
pre {
    font-family: var(--font-mono);
    font-size: 0.95rem;
}

/* =========================
   ELEMENT RESET
========================= */
ul,
ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

img,
video {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

::selection {
    background: #e40000;
    color: var(--secondary);
}

/* =========================
   LAYOUT
========================= */
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100dvh;
    padding: clamp(130px, 10vh, 220px) 0 0;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-section .container {
    transform: translateY(-50px);
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-element,
.video-bg iframe,
.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(58.96% 94.34% at 50% 50%,
            rgba(5, 5, 5, 0) 0%,
            rgba(5, 5, 5, 0.86) 100%);
}

.label-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
    padding: 4px 16px;
    border-radius: 30px;
    width: fit-content;
    background: var(--color-black-40, #00000066);
    border-top: 1px solid var(--color-white-10, #ffffff1a);
    box-shadow: 0px 0px 15px 0px #ffc0001a;
    backdrop-filter: blur(12px);
}

.red-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0px 0px 10px 0px var(--yellow);
    animation: dotPulse 2.5s ease-in-out infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px var(--yellow);
    }

    50% {
        transform: scale(1.3);
        opacity: 0.6;
        box-shadow: 0 0 18px var(--yellow);
    }

    100% {
        transform: scale(1);
        opacity: 1;
        box-shadow: 0 0 10px var(--yellow);
    }
}

.label-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #ffffffe5;
    font-family: var(--font-mono);
}

.hero-title {
    font-size: clamp(2.2rem, 8vw, 8.5rem);
    line-height: 130px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: var(--white);
}

.highlight {
    color: var(--primary);
}

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: center;
    width: fit-content;
}

.btn-solid {
    background: var(--primary);
    color: var(--white);
    padding: 16px 32px;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    height: 48px;
    z-index: 11;
    font-family: var(--font-menlo);
    transition: var(--transition);
}

.btn-solid:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(229, 9, 20, 0.4);
}

.btn-outline {
    background: transparent;
    border: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-weight: 700;
    line-height: 16px;
    font-size: 12px;
    letter-spacing: 1.2px;
    font-family: var(--font-menlo);
    transition: color 0.3s ease;
}

.btn-outline:hover {
    color: #E50914;
}

.btn-outline:hover .icon-play {
    border-color: #E50914;
    background: #E50914;
}

.icon-play {
    border: 1px solid #ffffff4d;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11;
    transition: all 0.3s ease;
}

.hero-footer {
    display: flex;
    justify-content: space-between;
    width: 58%;
    padding: 60px 0;
}

.sub-text-hy {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    font-family: var(--font-source);
}

.scroll-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.scroll-text {
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
    color: #FFFFFF80;
    letter-spacing: 1px;
    font-family: var(--font-menlo);
    animation: blink 1.8s infinite ease-in-out;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: var(--primary);
    position: relative;
}

.scroll-line::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    transform: translateX(-50%) rotate(45deg);
    opacity: 0.8;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--secondary);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal-video-bg iframe,
.modal-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    z-index: 2100;
}

.modal-close:hover {
    background: #e61919;
}

.ui-scroll-wrap {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.ui-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ui-video-layer video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.ui-video-layer video.is-active {
    opacity: 1;
}

.ui-dark-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(58.96% 94.34% at 50% 50%,
            rgba(5, 5, 5, 0) 0%,
            #050505 100%);
    z-index: 1;
}

.ui-content {
    position: relative;
    z-index: 2;
    display: flex;
    height: 100%;
    align-items: center;
}

.ui-left {
    width: 40%;
}

.ui-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 48px;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-family: var(--font-menlo);
}

.ui-index {
    color: var(--primary);
}

.ui-title h1 {
    font-size: clamp(3rem, 4.5vw, 4.4rem);
    line-height: 70px;
    font-weight: 700;
    letter-spacing: -1.5px;
    font-family: var(--font-inter);
    margin-bottom: 80px;
}

.ui-nav {
    margin-top: 60px;
}

.ui-nav-item {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1.4px;
    font-weight: 400;
    margin: 24px 0;
    color: #595b5d;
    align-items: center;
    display: flex;
    gap: 16px;
    transition: var(--transition);
    font-family: var(--font-menlo);
}

.ui-nav-item::before {
    content: "";
    width: 20px;
    height: 1px;
    background: var(--gray);
}

.ui-nav-item.is-active {
    color: var(--primary);
    transform: translateX(16px);
}

.ui-nav-item.is-active::before {
    width: 64px;
    background: var(--primary);
}

.ui-right {
    width: 60%;
    position: relative;
    height: 300px;
}

.ui-step {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    opacity: 0;
}

.ui-step.is-active {
    opacity: 1;
}

.ui-bg-number {
    font-family: var(--font-inter);
    position: absolute;
    font-size: 10rem;
    line-height: 128px;
    font-weight: 700;
    color: #ffffff0d;
    top: -80px;
    left: -76px;
}

.ui-step h2 {
    font-size: 3.8rem;
    line-height: 60px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-inter);
    margin: 0 0 32px 0;
}

.ui-step-red.is-active h2 {
    color: var(--primary);
}

.ui-step p {
    color: #ffffffb2;
    font-size: 20px;
    line-height: 27px;
    padding: 16px 33px;
}

.ui-line {
    width: 2px;
    background: #ae1d1d;
}

.ui-step-row {
    display: flex;
}

.ui-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 11;
}

.flex-main-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 160px 0 190px 0;
}

.flex-content-left h1 {
    font-size: 60px;
    line-height: 64px;
    letter-spacing: -1.28px;
    font-family: var(--font-inter);
    font-weight: 600;
}

.flex-content-right {
    text-align: right;
    margin-left: auto;
    max-width: 400px;
}

.flex-content-right h2 {
    font-size: 22px;
    line-height: 23px;
    font-weight: 300;
    text-transform: uppercase;
    font-family: var(--font-inter);
    margin: 0 0 6px 0;
}

.flex-content-right {
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    color: #ffffffb2;
    font-family: var(--font-menlo);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.video-item {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-item:hover video {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 0 58px 0;
    color: #f1f1f1;
    font-size: 32px;
    font-weight: 400;
    line-height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    gap: 10px;
}

.svg-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 40px;
    height: 49px;
    width: 56px;
    background: var(--color-black-20, #00000033);
    border-top: 1px solid #ffffff1a;
}

.cine-main {
    padding: 160px 0;
}

.section-header span {
    font-family: var(--font-menlo);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
}

.section-header h1 {
    font-family: var(--font-space);
    font-weight: 700;
    font-size: 128px;
    line-height: 128px;
    letter-spacing: -6.4px;
    text-transform: uppercase;
    margin: 24px 0 96px 0;
}

.cine-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background: var(--secondary);
}

.cine-video-layer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cine-video-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(58.96% 94.34% at 50% 50%,
            rgba(5, 5, 5, 0) 0%,
            #050505 100%);
    pointer-events: none;
}

.cine-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transform: translateY(100%);
    transition: 0.8s ease;
}

.cine-video.active {
    transform: translateY(0%);
}

.cine-video.prev {
    transform: translateY(-100%);
}

.swiper {
    position: relative;
    z-index: 2;
    height: 100vh;
}

.swiper-slide {
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.cine-flex {
    display: flex;
    gap: 132px;
    padding: 10% 0 0 0;
}

.cine-num {
    font-family: var(--font-space);
    font-weight: 700;
    font-size: 192px;
    line-height: 192px;
    color: var(--primary);
    margin: -40px 0 0 0;
}

.cine-text {
    margin-top: 110px;
}

.cine-text h2 {
    font-family: var(--font-space);
    font-weight: 700;
    font-size: 96px;
    line-height: 98px;
    letter-spacing: -2.4px;
    transition: var(--transition);
    color: #FFFFFF;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    padding-right: 20px;
}

.highlight-cine {
    background: transparent;
    color: white !important;
    display: inline;
    padding: 4px 8px;
    line-height: 1.2;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    white-space: normal;
    word-wrap: break-word;
    position: relative;
    overflow: visible;
}

.highlight-cine::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #E50914;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
}

/* Animation will be triggered by JavaScript on scroll */
.highlight-cine.animate::before {
    animation: slideInServiceRed 0.8s ease-out 0.2s forwards;
}

.highlight-cine.animate {
    animation: textToBlack 0.8s ease-out 0.2s forwards;
}

@keyframes textToBlack {
    0% {
        color: white;
    }
    100% {
        color: #000;
    }
}

@keyframes slideInServiceRed {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

/* Titles are white by default */
.cine-text h2 {
    color: white;
    margin-bottom: 24px;
}

.cine-text p {
    font-family: var(--font-menlo);
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0.2px;
    max-width: 700px;
    margin: 24px 0 32px 0;
    color: rgba(255, 255, 255, 0.7);
}

.cine-progress {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cine-dot {
    width: 3px;
    height: 24px;
    background: #d9d9d9;
    cursor: pointer;
    transition: var(--transition);
}

.cine-dot.active {
    background: #da291c;
    height: 54px;
}

.title-sequence {
    display: flex;
    align-items: center;
    font-family: var(--font-menlo);
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

.title-sequence::before {
    content: "";
    width: 48px;
    height: 1px;
    background-color: #E50914;
    margin-right: 16px;
    display: inline-block;
}

.portfolio {
    width: -webkit-fill-available;
    overflow: hidden;
    margin: 0 auto;
    min-height: 100vh;
    will-change: transform;
    max-width: 94%;
}

.portfolio__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.portfolio__item {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    align-items: center;
    gap: 30px;
    padding: 50px 0 0 0;
    border-top: 1px solid #1a1a1a;
    transition: all 0.6s ease;
    opacity: 0.25;
    filter: blur(6px);
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.portfolio__item.is-active {
    opacity: 1;
    filter: blur(0);
}

.portfolio__media {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: transform 0.6s ease;
    will-change: transform;
    transform: translateZ(0);
}

.portfolio-banner {
    transition: transform 0.6s ease;
    transform: translateZ(0);
}

.portfolio__media img {
    width: 100%;
    display: block;
}

.portfolio__item.is-active .portfolio__media {
    transform: scale(1.02);
}

.portfolio__item.is-active .portfolio-banner {
    transform: scale(1.08);
}

.portfolio__play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 77px;
    height: 77px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
    transition: 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.portfolio__play::after {
    content: "";
    width: 0;
    height: 0;
    border-left: 18px solid var(--white);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-40%, -50%);
}

.portfolio__play::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(228, 0, 0, 0.8);
    animation: pulseRing 2.8s ease-out infinite;
}

/* active state */
.portfolio__item.is-active .portfolio__play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* smoother subtle pulse */
@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 0.35;
    }

    70% {
        transform: scale(1.6);
        opacity: 0;
    }

    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

.portfolio__item.is-blurred {
    opacity: 0.15;
    filter: blur(6px);
    transform: scale(0.98);
    transition: all 0.5s ease;
}

/* First portfolio item always visible */
.portfolio__item:first-child {
    opacity: 1 !important;
    filter: blur(0) !important;
}

.portfolio__item:hover {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: scale(1.02);
    z-index: 5;
}

.portfolio__content h2 {
    font-size: 32px;
    color: var(--white);
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    font-family: var(--font-inter);
}

.portfolio__item.is-active .portfolio__content h2 {
    color: var(--primary);
}

.portfolio__content h2::after {
    content: "/";
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
    color: #ffffff33;
    display: inline-block;
    margin-left: 16px;
}

.portfolio__content h3 {
    font-size: 24px;
    font-weight: 300;
    font-family: var(--font-inter);
    line-height: 32px;
    color: #ffffffcc;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 8px 0 12px 0;
}

.portfolio__meta {
    border-left: 1px solid #ffffff1a;
    padding: 0 0 0 32px;
    font-size: 16px;
    color: #9ca3af;
    line-height: 24px;
    font-weight: 300;
    font-family: var(--font-inter);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.portfolio__label {
    font-size: 10px;
    line-height: 15px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    display: block;
    letter-spacing: 1px;
    font-family: var(--font-menlo);
}

.status-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-inter);
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #cc0000;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.5s infinite;
}

.status-text {
    color: #e0e0e0;
    font-weight: 700;
    letter-spacing: 1.2px;
    font-size: 12px;
}

@keyframes pulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 0 0px rgba(204, 0, 0, 0.7);
    }

    50% {
        opacity: 0.4;
        box-shadow: 0 0 0 5px rgba(204, 0, 0, 0);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 0 0px rgba(204, 0, 0, 0);
    }
}

.portfolio__meta a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 16px;
    color: #ffffff;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: var(--transition);
}

.portfolio__meta a:hover {
    color: var(--primary);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.4s;
    z-index: 999;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal__inner {
    width: 90%;
    max-width: 1200px;
    position: relative;
}

.modal__inner video {
    width: 100%;
    height: 80vh;
    object-fit: cover;
    border-radius: 12px;
}

.modal__close {
    opacity: 0;
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 28px;
    cursor: pointer;
    color: var(--white);
    background: transparent;
    border: none;
}

.hero-section {
    position: relative;
}

.hero-section-5 {
    display: block;
}

.hero-section .flex-main-1 {
    padding: 0 0 136px 0;
}

.glow-effect {
    position: absolute;
    width: 790px;
    height: 790px;
    border-radius: 9999px;
    background: #ae1d1d29;
    z-index: 1;
    pointer-events: none;
}

.container {
    position: relative;
    z-index: 2;
}

.glow-effect {
    background: radial-gradient(circle,
            rgba(174, 29, 29, 0.2) 0%,
            rgba(174, 29, 29, 0) 70%);
}

.glow-effect-right {
    top: 50px;
    right: -200px;
}

.glow-effect-left {
    position: absolute;
    top: 50%;
    left: -300px;
    transform: translateY(-10%);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 23px 20px;
    max-width: 94%;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    background: #111;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    z-index: 3;
}

.fancybox__backdrop {
    background: #0000009e !important;
    backdrop-filter: blur(6px) !important;
}

.fancybox__nav button svg {
    width: 16px !important;
    height: 16px !important;
}

.f-button.is-close-btn {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
}

.f-button.is-close-btn,
.fancybox__nav button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 4px 12px;
    transform: scale(1);
}

.f-button.is-close-btn,
.fancybox__nav button:hover {
    background: var(--gray) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    width: 46px;
    height: 46px;
}

.f-button svg {
    width: 20px !important;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    transition: opacity 0.4s ease;
    filter: brightness(0.85);
}

.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transform: scale(1);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
    will-change: transform, opacity;
}

.gallery-item:hover img {
    opacity: 0;
}

.gallery-item:hover video {
    opacity: 1;
    transform: scale(1.08);
}

.gallery-item {
    transition: box-shadow 0.4s ease;
}

.gallery-item:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8);
}

.fancybox__container {
    --fancybox-bg: rgba(0, 0, 0, 0.98);
}

.trust-section {
    position: relative;
    padding: 180px 0;
}

.cm-wrapper {
    text-align: center;
}

.cm-title {
    color: #f2f2f2;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 42px;
    letter-spacing: 0.64px;
    font-family: var(--font-inter);
}

.cm-slider {
    margin: 0 auto;
    width: 80%;
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right,
            transparent,
            black 15%,
            black 85%,
            transparent);
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 15%,
            black 85%,
            transparent);
}

.cm-track {
    display: flex;
    width: 3360px;
    animation: cm-scroll 35s linear infinite;
}

.cm-slide {
    margin: 0 64px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cm-slide img {
    max-width: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.cm-slide img:hover {
    transform: scale(1.1);
}

.cm-slider:hover .cm-track {
    animation-play-state: paused;
}

@keyframes cm-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-1680px);
    }
}

.team-members-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 80px 0 214px 0;
}

.member {
    flex: 1 1 calc(25% - 20px);
    min-width: 200px;
    max-width: 100%;
    box-sizing: border-box;
}

.member-img {
    width: 100%;
    height: 372px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 18px;
    margin-bottom: 22px;
    padding: 5px;
    background: #141414;
}

.member-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    display: block;
    border-radius: 16px;
    transition:
        transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        filter 0.5s ease;
}

.member-content {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.member-content h2 {
    color: #dcdcdc;
    font-size: 16px;
    text-transform: uppercase;
    line-height: 16px;
    letter-spacing: -0.3px;
    font-family: var(--font-inter);
}

.member-content p {
    font-family: var(--font-menlo);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--primary);
    transition: var(--transition);
}

/* .member:hover .member-img img {
    transform: scale(1.01);
    filter: grayscale(0%);
} */
.faq-container {
    border-top: 1px solid #2d2d2d;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.faq-container h1 {
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 30px;
    line-height: 31.92px;
    letter-spacing: -1.12px;
    margin: 18px 0 56px 0;
    color: var(--white);
}

.faq-item {
    background-color: #131313;
    border: 1px solid #2d2d2d;
    border-radius: 10px;
    margin-bottom: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 32px;
    color: #6f6f6f;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 28px;
    line-height: 31.92px;
    letter-spacing: -1.12px;
}

.faq-item.active .faq-question {
    color: #ff0000;
}

.faq-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.faq-item .faq-icon {
    transform: rotate(0deg);
}

/* active state (expanded → icon flips) */
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer-content {
    overflow: hidden;
}

.faq-text {
    padding: 0 32px 32px 32px;
    font-family: var(--font-inter);
    font-weight: 500;
    font-size: 16px;
    line-height: 21.92px;
    letter-spacing: -0.64px;
    color: #686a74;
}

.inquery-main h1 {
    font-size: clamp(2.2rem, 8vw, 8.5rem);
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 40px;
    color: #eeece6;
    font-family: var(--font-inter);
    letter-spacing: -4px;
    margin: 24px 0 16px 0;
}

.inquery-main p {
    font-family: var(--font-inter);
    font-weight: 300;
    font-size: 18px;
    line-height: 29.25px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: #9ca3af;
}

.grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid #282727;
    margin: 50px 0 70px 0;
}

.form-group {
    padding: 40px;
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #282727;
    transition: var(--transition);
}

.form-group:hover {
    background: #090908;
}

.border-right {
    border-right: 1px solid #282727;
}

.full-width {
    grid-column: span 2;
    border-bottom: none;
}

label {
    color: var(--primary);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
}

input,
textarea {
    background: transparent;
    border: none;
    color: var(--white);
    font-style: italic;
    font-size: 1.2rem;
    outline: none;
    width: 100%;
    padding: 5px 0;
    font-family: var(--font-inter);
}

input::placeholder,
textarea::placeholder {
    color: #5b5b57;
}

select {
    background: transparent;
    border: none;
    font-family: var(--font-inter);
    font-style: italic;
    font-size: 1.2rem;
    outline: none;
    width: 100%;
    padding: 5px 0;
    appearance: none;
    cursor: pointer;
    color: #5b5b57;
}

select.has-value {
    color: var(--white);
}

select option {
    background-color: #1a1a1a;
    color: var(--white);
    font-style: normal;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.contact-info p {
    font-size: 12px;
    color: #888880;
    margin: 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.contact-info a {
    color: #e40a17;
    text-decoration: none;
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #e40a17;
    color: var(--white);
    padding: 20px 50px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-inter);
}

.inquery-section {
    padding: 0 0 100px 0;
}

.submit-btn:hover {
    opacity: 0.8;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 50px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #2C2C2C;
    color: #5B5A5A;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    pointer-events: none;
    transition: all 0.4s ease;
    z-index: 999;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--primary);
    color: #ffffff;
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(229, 9, 20, 0.3);
}

@media (max-width: 1100px) {
    .container {
        padding: 0 30px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-section {
        padding: 80px 20px 0 20px;
        height: auto;
        min-height: 50vh;
    }

    .cine-flex {
        height: 100%;
        padding: 0;
        flex-direction: column;
        justify-content: center;
        gap: 100px;
    }

    .height-100 {
        height: 100%;
    }

    .hero-footer {
        width: 100%;
        padding: 40px 0 100px 0;
        flex-direction: column;
    }

    .back-to-top {
        height: 50px;
        width: 50px;
    }

    .hero-title {
        line-height: 90px;
    }

    .cine-text {
        margin-top: 0;
    }
}

/* =========================
   TABLET (<=992px)
========================= */
@media (max-width: 992px) {
    .flex-main-1 {
        flex-direction: column;
        gap: 30px;
    }

    .trust-section,
    .flex-main-1,
    .cine-main {
        padding: 100px 0;
    }

    .flex-content-left,
    .flex-content-right {
        width: 100%;
    }

    .flex-content-left h1 {
        font-size: 48px;
    }

    .section-header h1 {
        font-size: 100px;
        line-height: 100px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 5.5rem);
        margin-bottom: 24px;
    }

    .hero-footer {
        width: 100%;
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .button-group {
        gap: 16px;
    }

    .ui-title br {
        display: none;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .overlay {
        font-size: 18px;
        padding: 15px;
    }

    .grid-layout {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }

    .border-right {
        border-right: none;
    }

    .form-footer {
        align-items: flex-start;
        gap: 30px;
    }
}

/* =========================
   MOBILE (<=768px)
========================= */
@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 0 20px;
        align-items: flex-start;
    }

    .hero-footer {
        padding: 30px 0 130px 0;
    }

    .section-header h1 {
        font-size: 80px;
        line-height: 80px;
    }

    .cine-flex {
        gap: 50px;
        padding: 0;
    }

    .cine-text h2 {
        font-size: 70px;
        line-height: 72px;
    }

    .cine-num {
        font-size: 160px;
    }

    .label-wrapper {
        padding: 4px 12px;
        margin-bottom: 18px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 12vw, 4rem);
        line-height: 1.15;
    }

    .sub-text-hy {
        font-size: 14px;
        line-height: 22px;
    }

    .button-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .btn-solid,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .ui-title h1 {
        font-size: 2.2rem;
        line-height: 40px;
    }

    .ui-step h2 {
        font-size: 1.8rem;
    }

    .ui-step p {
        font-size: 13px;
    }

    .portfolio__list {
        width: 90%;
        margin: 0 auto;
    }

    .member {
        flex: 1 1 calc(50% - 20px);
    }

    .cm-track {
        width: 2280px;
    }

    .cm-slide {
        width: 150px;
        margin: 0 20px;
    }

    @keyframes cm-scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-1140px);
        }
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__item {
        padding: 25px 0;
        grid-template-columns: repeat(1, 1fr);
    }

    .back-to-top {
        height: 40px;
        width: 40px;
    }
}

@media (max-width: 600px) {
    .sub-text-hy br {
        display: none;
    }

    .team-members-main,
    .trust-section,
    .flex-main-1,
    .cine-main {
        padding: 80px 0;
    }

    .hero-section {
        padding: 70px 0 0 0;
    }

    .ui-scroll-indicator {
        bottom: -5px;
    }

    .form-footer,
    .ui-content {
        flex-direction: column;
    }

    .ui-content {
        padding: 80px 20px;
    }

    .ui-right,
    .ui-left {
        width: 100%;
    }

    .ui-title h1 {
        margin-bottom: 40px;
    }

    .ui-step {
        left: 0;
    }

    .ui-step h2 {
        margin-bottom: 20px;
    }

    .ui-nav-item {
        margin: 14px 0;
    }

    .ui-bg-number {
        left: unset;
    }

    .flex-content-left h1 {
        font-size: 30px;
        line-height: 39px;
    }

    .portfolio {
        margin: 0 16px;
        padding: 0 12px;
    }

    .portfolio__content h2 {
        font-size: 20px;
    }

    .flex-content-right h2 {
        font-size: 20px;
    }

    .flex-content-right p {
        font-size: 16px;
    }

    .video-item {
        height: 300px;
    }

    .section-header h1 {
        font-size: 70px;
        letter-spacing: -2px;
    }

    .cine-num {
        font-size: 100px;
        line-height: 100px;
    }

    .cine-flex {
        gap: 20px;
    }

    .cine-text h2 {
        font-size: 40px;
        line-height: 48px;
    }

    .cine-text p {
        font-size: 13px;
    }

    .title-sequence {
        font-size: 12px;
    }

    .title-sequence::before {
        width: 30px;
    }

    .portfolio__play {
        height: 50px;
        width: 50px;
    }

    .portfolio__content h3 {
        font-size: 18px;
    }

    .portfolio__meta p {
        font-size: 14px;
    }

    .team-members-main {
        gap: 24px;
    }

    .member-content {
        gap: 20px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .label-text {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .btn-solid {
        height: 44px;
        font-size: 11px;
    }

    .icon-play {
        width: 28px;
        height: 28px;
    }

    .member {
        flex: 1 1 100%;
    }

    .member-img {
        height: auto;
    }

    .faq-container h1 {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .faq-question {
        font-size: 19 px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-text {
        padding: 0 20px 20px 20px;
    }

    .faq-text {
        font-size: 14px;
    }

    .inquery-main h1 {
        letter-spacing: unset;
    }

    .inquery-main p {
        font-size: 16px;
        line-height: 24px;
    }

    .submit-btn {
        padding: 20px 30px;
    }
}

/* =========================
   SMALL MOBILE (<=480px)
========================= */
@media (max-width: 380px) {
    .ui-title h1 {
        font-size: 28px;
    }

    .ui-step h2 {
        font-size: 23px;
    }

    .ui-title h1,
    .ui-head {
        margin-bottom: 22px;
    }

    .flex-content-left h1 {
        font-size: 28px;
    }

    .flex-content-right h2 {
        font-size: 18px;
    }

    .flex-content-right p {
        font-size: 13px;
    }

    .section-header h1 {
        font-size: 60px;
        line-height: 60px;
    }

    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .member-content {
        flex-direction: column;
        align-items: self-start;
        gap: 10px;
    }
}

/* =========================
   MOBILE OPTIMIZATIONS
========================= */

/* Fix parallax on mobile (background-attachment: fixed doesn't work on iOS/Android) */
@media (max-width: 768px) {
    .parallax-section,
    .hero-section,
    .cine-section {
        background-attachment: scroll !important;
        background-position: center;
    }

    /* Vision section subtext - larger and higher on mobile */
    .vision-subtext,
    .vision-section .subtext,
    .vision-content p,
    .ui-step p {
        font-size: 18px !important;
        line-height: 1.5;
        margin-top: -20px;
        max-width: 85%;
        text-shadow: 0 2px 10px rgba(0,0,0,0.6);
    }

    /* Services subtext - same optimization */
    .cine-text p {
        font-size: 18px !important;
        line-height: 1.5;
        max-width: 85%;
    }

    /* Services titles - smaller on mobile for better red box fit */
    .cine-text h2 {
        font-size: 48px !important;
        line-height: 52px !important;
        letter-spacing: -1.2px !important;
    }

    /* Red box padding - tighter on mobile */
    .highlight-cine {
        padding: 2px 6px !important;
        font-size: 48px !important;
    }

    /* Services section - add scroll hint */
    .cine-section::after {
        content: 'Swipe to navigate ↕';
        position: fixed;
        bottom: 100px;
        right: 20px;
        background: rgba(229, 9, 20, 0.8);
        color: white;
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        z-index: 1000;
        pointer-events: none;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0%, 100% { opacity: 0.7; }
        50% { opacity: 1; }
    }

    /* Hero section - move text slightly up for balance */
    .hero-content,
    .hero-text,
    .flex-content-left,
    .flex-content-right {
        transform: translateY(-15px);
    }
}