:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0a;
    --text-primary: #fafafa;
    --text-secondary: rgba(255, 255, 255, 0.65);
    --text-tertiary: rgba(255, 255, 255, 0.4);
    --accent: #fafafa;
    --gradient-hero: linear-gradient(180deg, transparent 40%, rgba(5, 5, 5, 0.6) 100%);
    --gradient-subtle: linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.3) 100%);
    --ease-cinematic: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-slow: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-spring: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
    --duration-cinematic: 1.2s;
    --glow-primary: 0 0 30px rgba(255, 255, 255, 0.15);
    --shadow-lift: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.title-hover {
    display: inline-block; position: relative; color: var(--text-primary);
    transition: transform 0.3s ease; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.title-hover::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: #e63946;
}
@keyframes underlineLoop {
    0% { width: 0; left: 0; }
    40% { width: 100%; left: 0; }
    60% { width: 100%; left: 0; }
    100% { width: 0; left: 100%; }
}
.title-hover:hover::after, .title-hover:active::after, .title-hover.title-visible::after {
    animation: underlineLoop 2.5s ease-in-out infinite;
}
.title-hover:hover, .title-hover:active { color: #e63946 !important; transform: scale(1.08); }
@keyframes titleColorEffect {
    0% { color: var(--text-primary); }
    40% { color: var(--text-primary); }
    60% { color: #e63946; }
    100% { color: var(--text-primary); }
}
.title-hover.title-visible { animation: titleColorEffect 2.5s ease forwards; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary); color: var(--text-primary);
    line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--text-primary); color: var(--bg-primary);
    padding: 12px 24px; z-index: 10000; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 2px solid var(--text-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
}

/* GALLERY SITE HEADER */
.gallery-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.gallery-header.scrolled {
    background: rgba(5, 5, 5, 0.96);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.gallery-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.gallery-header .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    text-decoration: none;
}
.gallery-header .logo-img {
    width: 100px;
    height: 50px;
    object-fit: contain;
}
.gallery-header .logo-tagline {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
}
.gallery-header .nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}
.gallery-header .nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    position: relative;
    padding: 8px 0;
    text-decoration: none;
    transition: color 0.25s ease;
}
.gallery-header .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e63946;
    transition: width 0.25s ease;
}
.gallery-header .nav-link:hover,
.gallery-header .nav-link.active {
    color: rgba(255, 255, 255, 1);
}
.gallery-header .nav-link:hover::after,
.gallery-header .nav-link.active::after {
    width: 100%;
}
.gallery-header .btn-quote {
    background: #e63946;
    color: white !important;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.25s ease;
}
.gallery-header .btn-quote:hover {
    background: #c5303c;
    transform: translateY(-2px);
}
.gallery-header .btn-quote::after {
    display: none;
}
.gallery-header .header-actions {
    display: none;
    align-items: center;
}
.gallery-header .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}
.gallery-header .hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    transition: all 0.25s ease;
}
.gallery-header .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.gallery-header .hamburger.active span:nth-child(2) {
    opacity: 0;
}
.gallery-header .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
    .gallery-header .header-actions { display: flex; }
    .gallery-header .hamburger { display: flex; }
    .gallery-header .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: rgba(5, 5, 5, 0.98); backdrop-filter: blur(20px); padding: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
    .gallery-header .nav.open { display: block; }
    .gallery-header .nav-list { flex-direction: column; gap: 16px; }
    .gallery-header .nav-link { font-size: 1.1rem; }
}

/* PRELOADER */
.preloader {
    position: fixed; inset: 0; background: var(--bg-primary);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader-logo {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    overflow: hidden;
    animation: logoPulse 1.5s ease-in-out infinite;
}
.preloader-logo span {
    font-size: 1rem; font-weight: 600; letter-spacing: 0.2em;
}
.preloader-img {
    width: 180px; height: auto;
    max-width: 100%;
    display: block;
}
@keyframes logoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(0.98); }
}

/* HOOK */
.hook {
    position: relative; height: 100vh; min-height: 700px;
    display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.hook-visual { position: absolute; inset: 0; z-index: 0; }
.hook-visual img {
    width: 100%; height: 100%; object-fit: cover;
    transform: scale(1.15); opacity: 0;
    transition: transform 10s var(--ease-cinematic), opacity 1.5s var(--ease-cinematic);
}
.hook.loaded .hook-visual img { transform: scale(1); opacity: 1; }
.hook-gradient { position: absolute; inset: 0; background: var(--gradient-hero); pointer-events: none; }
.hook-content {
    position: relative; z-index: 1; text-align: center;
    padding: 0 24px 120px; max-width: 800px;
}
.hook-headline {
    font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 600;
    letter-spacing: -0.045em; line-height: 1.1; margin-bottom: 28px;
    opacity: 0; transform: translateY(40px);
    transition: opacity 1.4s var(--ease-cinematic) 1.2s, transform 1.4s var(--ease-cinematic) 1.2s;
}
.hook.loaded .hook-headline { opacity: 1; transform: translateY(0); }
.hook-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; color: var(--text-secondary);
    opacity: 0; transform: translateY(30px);
    transition: opacity 1.4s var(--ease-cinematic) 1.5s, transform 1.4s var(--ease-cinematic) 1.5s;
}
.hook.loaded .hook-sub { opacity: 1; transform: translateY(0); }
.hook-scroll {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    opacity: 0; transition: opacity 1s var(--ease-cinematic) 2s;
}
.hook.loaded .hook-scroll { opacity: 1; }
.hook-scroll span { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--text-tertiary); }
.hook-scroll-line {
    width: 1px; height: 50px;
    background: linear-gradient(180deg, var(--text-tertiary) 0%, transparent 100%);
    animation: scrollEase 2.5s var(--ease-slow) infinite;
}
@keyframes scrollEase { 0%, 100% { transform: scaleY(1); opacity: 1; } 50% { transform: scaleY(0.6); opacity: 0.5; } }

/* VIDEO SHOWCASE */
.video-showcase {
    position: relative; height: 80vh; min-height: 500px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: var(--bg-primary);
}
.video-showcase video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7;
}
.video-showcase::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(5,5,5,0.8) 100%);
    pointer-events: none;
}
.video-showcase-content {
    position: relative; z-index: 1; text-align: center;
    max-width: 700px; padding: 0 24px;
}
.video-showcase-title {
    font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 600;
    letter-spacing: -0.03em; margin-bottom: 16px;
}
.video-showcase-sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem); font-weight: 300; color: var(--text-secondary);
}

/* SERVICES */
.services { padding: 80px 48px; background: var(--bg-primary); }
.services-header { text-align: center; margin-bottom: 60px; }
.services-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.services-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.services-item { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 4px; cursor: pointer; }
.services-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-cinematic); }
.services-item:hover img { transform: scale(1.08); }
.services-item-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.8) 100%); display: flex; align-items: flex-end; padding: 24px; }
.services-item-title { font-size: 1.1rem; font-weight: 500; opacity: 0; transform: translateY(10px); transition: all 0.4s var(--ease-smooth); }

/* IMMERSION */
.immersion { padding: 80px 0; overflow: hidden; background: var(--bg-primary); }
.immersion-header { padding: 0 48px 24px; display: flex; justify-content: space-between; align-items: center; }
.immersion-title { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 500; letter-spacing: -0.02em; padding-left: 20px; position: relative; }
.immersion-title::before {
    content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
    width: 4px; height: 70%; background: linear-gradient(180deg, var(--text-primary), var(--text-secondary)); border-radius: 2px;
}
.immersion-nav { display: flex; gap: 8px; }
.immersion-nav-btn {
    width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15); color: var(--text-primary); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease-spring); opacity: 0.7;
}
.immersion-nav-btn:hover { background: rgba(255,255,255,0.15); transform: scale(1.1); opacity: 1; }
.immersion-nav-btn:active { transform: scale(0.95); }
.immersion-scroll-indicator { padding: 0 48px 16px; }
.immersion-progress-bar { height: 3px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.immersion-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, var(--text-secondary), var(--text-primary)); border-radius: 3px; transition: width 0.3s ease; }
.immersion-container {
    display: flex; gap: 24px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 16px 48px 60px; -webkit-overflow-scrolling: touch; cursor: grab;
}
.immersion-container::-webkit-scrollbar { display: none; }
.immersion-container:active { cursor: grabbing; }
.immersion-item {
    flex: 0 0 auto; width: clamp(320px, 45vw, 700px);
    scroll-snap-align: center; position: relative; opacity: 0.9; transition: all 0.5s ease;
}
.immersion-item:hover { opacity: 1; }
.immersion-item a { display: block; text-decoration: none; color: inherit; }
.immersion-item img {
    width: 100%; height: auto; aspect-ratio: 21/10; object-fit: cover;
    border-radius: 4px; transition: all 0.6s var(--ease-cinematic); box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.immersion-item:hover img { transform: scale(1.02); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.immersion-caption {
    position: absolute; left: 16px; bottom: 16px; font-size: 0.85rem;
    color: var(--text-primary); background: rgba(0,0,0,0.7); padding: 8px 16px;
    border-radius: 4px; backdrop-filter: blur(8px);
}

/* PROCESS */
.process { padding: 0; }
.process-scene { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 48px; }
.process-scene.split { padding: 30px 48px; }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1300px; margin: 0 auto; width: 100%; }
.process-grid.reverse { direction: rtl; }
.process-grid.reverse > * { direction: ltr; }
.process-text { opacity: 0; transform: translateY(60px); transition: all 1.2s var(--ease-cinematic); }
.process-scene.visible .process-text { opacity: 1; transform: translateY(0); }
.process-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 24px; }
.process-title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.15; margin-bottom: 24px; }
.process-desc { font-size: 1.05rem; font-weight: 300; color: var(--text-secondary); line-height: 1.75; }
.process-image { position: relative; overflow: hidden; border-radius: 3px; opacity: 0; transform: scale(0.96); transition: all 1.2s var(--ease-cinematic) 0.2s; }
.process-scene.visible .process-image { opacity: 1; transform: scale(1); }
.process-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 1.5s var(--ease-cinematic); }
.process-image:hover img { transform: scale(1.02); }

/* PROOF */
.proof { padding: 120px 48px; background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(20,20,20,0.4) 50%, var(--bg-primary) 100%); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; max-width: 1100px; margin: 0 auto; text-align: center; }
.proof-item { opacity: 0; transform: translateY(40px); transition: all 1s var(--ease-cinematic); }
.proof-item.visible { opacity: 1; transform: translateY(0); }
.proof-stat { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.04em; margin-bottom: 8px; }
.proof-label { font-size: 0.8rem; color: var(--text-tertiary); text-transform: uppercase; letter-spacing: 0.12em; }

/* WHY CHOOSE US */
.why-us { padding: 120px 48px; background: var(--bg-secondary); }
.why-us-header { text-align: center; margin-bottom: 60px; }
.why-us-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.why-us-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.why-us-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 1000px; margin: 0 auto; }
.why-us-item { text-align: center; padding: 32px 24px; background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid rgba(255,255,255,0.08); }
.why-us-icon { width: 64px; height: 64px; margin: 0 auto 20px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border-radius: 50%; }
.why-us-icon svg { width: 28px; height: 28px; color: var(--text-primary); }
.why-us-item-title { font-size: 1.1rem; font-weight: 600; margin-bottom: 12px; }
.why-us-item-desc { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.6; }

/* OUTCOME */
.outcome { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 100px 48px; overflow: hidden; }
.outcome-visual { position: absolute; inset: 0; z-index: 0; }
.outcome-visual img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; min-width: 100%; }
.outcome-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,0.1) 0%, rgba(5,5,5,0.6) 100%); z-index: 1; pointer-events: none; }
.outcome-content { position: relative; z-index: 1; text-align: center; max-width: 650px; opacity: 0; transform: translateY(50px); transition: all 1.4s var(--ease-cinematic); padding: 0 20px; }
.outcome.loaded .outcome-content { opacity: 1; transform: translateY(0); }
.outcome-headline { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.2; margin-bottom: 24px; }
.outcome-sub { font-size: clamp(0.95rem, 1.3vw, 1.1rem); font-weight: 300; color: var(--text-secondary); }

/* PORTFOLIO */
.portfolio { padding: 80px 48px; background: var(--bg-secondary); }
.portfolio-header { text-align: center; margin-bottom: 60px; }
.portfolio-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.portfolio-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 500px; margin: 0 auto; }
.portfolio-filters { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; flex-wrap: wrap; }
.filter-btn {
    padding: 12px 24px; background: transparent; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 100px; color: var(--text-secondary); font-size: 0.9rem;
    font-family: inherit; cursor: pointer; transition: all 0.3s ease;
}
.filter-btn:hover { border-color: rgba(255,255,255,0.4); color: var(--text-primary); }
.filter-btn.active { background: var(--text-primary); color: var(--bg-primary); border-color: var(--text-primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1400px; margin: 0 auto; }
.portfolio-item {
    position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 4px;
    cursor: pointer; opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.portfolio-item.visible { opacity: 1; transform: translateY(0); }
.portfolio-item.hidden { display: none; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.6s var(--ease-cinematic); }
.portfolio-item:hover img { transform: scale(1.08); filter: brightness(1.1); }
.portfolio-item-overlay {
    position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.8) 100%);
    display: flex; align-items: flex-end; padding: 24px;
    opacity: 0; transform: translateY(20px); transition: all 0.4s var(--ease-smooth);
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; transform: translateY(0); }
.portfolio-item-info { font-size: 0.9rem; opacity: 0; transform: translateY(10px); transition: all 0.4s var(--ease-smooth) 0.1s; }
.portfolio-item:hover .portfolio-item-info { opacity: 1; transform: translateY(0); }
.portfolio-item-info span {
    display: inline-block; font-size: 0.7rem; color: var(--text-tertiary);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
    padding: 4px 10px; background: rgba(255,255,255,0.1); border-radius: 4px;
}

/* TESTIMONIALS */
.testimonials { padding: 80px 48px; background: var(--bg-primary); }
.testimonials-header { text-align: center; margin-bottom: 60px; }
.testimonials-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -0.03em; margin-bottom: 16px; }
.testimonials-sub { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.testimonial-card { background: var(--bg-secondary); border-radius: 8px; padding: 24px; border: 1px solid rgba(255,255,255,0.08); }
.testimonial-text { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--text-primary); color: var(--bg-primary); display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 0.9rem; }
.testimonial-name { font-size: 0.95rem; font-weight: 500; }
.testimonial-role { font-size: 0.8rem; color: var(--text-tertiary); }

/* FOOTER */
.footer { padding: 60px 48px 32px; background: var(--bg-secondary); text-align: center; }
.footer-bottom { padding: 20px 10%; border-top: 2px solid transparent; border-image: linear-gradient(90deg, transparent, #e63946, transparent) 1; }
.footer-bottom-content { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-copyright { font-size: 0.9rem; color: var(--text-secondary); font-weight: 500; letter-spacing: 0.02em; }
.footer-divider { color: var(--text-tertiary); opacity: 0.5; }
.footer-developed { font-size: 0.8rem; color: var(--text-tertiary); }
.footer-developed a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s ease; }
.footer-developed a:hover { color: #e63946; }

/* LIGHTBOX */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0, 0, 0, 0); backdrop-filter: blur(0px);
    opacity: 0; visibility: hidden;
    transition: background 0.5s ease, opacity 0.7s var(--ease-cinematic), visibility 0.7s var(--ease-cinematic);
}
.lightbox.active { opacity: 1; visibility: visible; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(30px); }
.lightbox-content {
    position: relative; max-width: 90vw; max-height: 85vh;
    transform: scale(0.92); opacity: 0;
    transition: all 0.6s var(--ease-spring);
}
.lightbox.active .lightbox-content { transform: scale(1); opacity: 1; }
.lightbox-image { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: 4px; box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5); }
.lightbox-close {
    position: absolute; top: 20px; right: 20px; width: 52px; height: 52px;
    background: rgba(255,255,255,0.08); border: none; border-radius: 50%;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: all 0.4s var(--ease-slow); z-index: 1001;
}
.lightbox-close:hover { background: rgba(255,255,255,0.15); transform: scale(1.08); }
.lightbox-close svg { width: 18px; height: 18px; color: white; }
.lightbox-caption { position: absolute; bottom: -50px; left: 0; right: 0; text-align: center; }
.lightbox-caption h3 { font-size: 1.2rem; font-weight: 500; margin-bottom: 4px; }
.lightbox-caption p { font-size: 0.9rem; color: var(--text-secondary); }

/* Back to Top */
.back-to-top {
    position: fixed; bottom: 30px; right: 30px; width: 50px; height: 50px;
    border-radius: 50%; background: var(--bg-secondary);
    border: 1px solid rgba(255,255,255,0.1); color: var(--text-primary);
    cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.4s var(--ease-smooth); z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #e63946; border-color: #e63946; transform: scale(1.1); }
.back-to-top svg { width: 24px; height: 24px; transition: transform 0.3s ease; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .immersion-header { padding: 0 32px 20px; }
    .immersion-title { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
    .immersion-nav-btn { width: 40px; height: 40px; }
    .immersion-container { padding: 16px 32px 40px; gap: 20px; }
    .immersion-item { width: clamp(280px, 50vw, 500px); }
    .outcome { min-height: 80vh; padding: 80px 32px; }
}
@media (max-width: 768px) {
    .hook-content { padding: 0 20px 100px; }
    .process-scene { padding: 80px 20px; }
    .process-grid { grid-template-columns: 1fr; gap: 32px; }
    .process-grid.reverse { direction: ltr; }
    .process-text { order: 1; }
    .process-image { order: 0; }
    .proof { padding: 80px 24px; }
    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .portfolio { padding: 80px 24px; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .portfolio-filters { gap: 6px; }
    .filter-btn { padding: 10px 16px; font-size: 0.8rem; }
    .services { padding: 80px 24px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .why-us { padding: 80px 24px; }
    .why-us-grid { grid-template-columns: 1fr; gap: 20px; }
    .testimonials { padding: 80px 24px; }
    .testimonials-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer { padding: 48px 24px 24px; }
    .immersion-header { padding: 0 20px 16px; }
    .immersion-title { font-size: 1.25rem; padding-left: 14px; }
    .immersion-container { padding: 12px 20px 48px; gap: 16px; }
    .immersion-item { width: clamp(240px, 85vw, 360px); min-width: 240px; }
    .lightbox-close { width: 44px; height: 44px; }
    .outcome { min-height: 70vh; padding: 60px 24px; }
    .outcome-headline { font-size: clamp(1.5rem, 6vw, 2.5rem); }
}
@media (max-width: 480px) {
    .hook { min-height: 600px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .services-grid { grid-template-columns: 1fr; }
    .proof-stat { font-size: 1.75rem; }
    .footer { padding: 40px 20px 20px; }
    .footer-bottom-content { flex-direction: column; gap: 6px; text-align: center; }
    .footer-divider { display: none; }
    .outcome { min-height: 60vh; padding: 48px 20px; }
    .outcome-headline { font-size: clamp(1.3rem, 7vw, 2rem); margin-bottom: 16px; }
}

/* Additional Keyframes */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulseGlow { 0%, 100% { box-shadow: var(--glow-primary); } 50% { box-shadow: 0 0 50px rgba(255, 255, 255, 0.25); } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes slideUpFade { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }

.hook-scroll-line { animation: float 3s var(--ease-smooth) infinite, scrollEase 2.5s var(--ease-slow) infinite; }
.hook-gradient { background: linear-gradient(180deg, transparent 30%, rgba(5, 5, 5, 0.5) 70%, rgba(5, 5, 5, 0.8) 100%); background-size: 200% 200%; animation: gradientShift 8s ease infinite; }
.video-showcase::before {
    content: ''; position: absolute; inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03; pointer-events: none; z-index: 1;
}
.services-item { perspective: 1000px; position: relative; transition: all 0.5s var(--ease-spring); }
.services-item::before {
    content: ''; position: absolute; inset: 0; border-radius: 4px; padding: 2px;
    background: linear-gradient(135deg, transparent 30%, rgba(230,57,70,0.6) 50%, transparent 70%);
    background-size: 300% 300%; animation: gradientShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.services-item:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); }
.services-item-overlay { transform: translateY(20px); opacity: 0; transition: all 0.5s var(--ease-smooth); }
.services-item:hover .services-item-overlay { transform: translateY(0); opacity: 1; }
.services-item-title { opacity: 0; transform: translateY(10px); transition: all 0.5s var(--ease-smooth) 0.1s; }
.services-item:hover .services-item-title { opacity: 1; transform: translateY(0); }

.why-us-item { transition: all 0.5s var(--ease-spring); position: relative; }
.why-us-item:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.why-us-item::before {
    content: ''; position: absolute; inset: 0; border-radius: 8px; padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
    background-size: 300% 300%; animation: gradientShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.why-us-icon { transition: all 0.4s var(--ease-spring); }
.why-us-item:hover .why-us-icon { transform: scale(1.1) rotate(5deg); }

.testimonial-card { transition: all 0.5s var(--ease-spring); position: relative; }
.testimonial-card::before {
    content: ''; position: absolute; inset: 0; border-radius: 8px; padding: 1px;
    background: linear-gradient(135deg, transparent 40%, rgba(230,57,70,0.4) 50%, transparent 60%);
    background-size: 300% 300%; animation: gradientShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.testimonial-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.testimonial-text::before {
    content: '"'; position: absolute; top: -10px; left: 20px;
    font-size: 80px; font-family: Georgia, serif; color: rgba(255, 255, 255, 0.05); line-height: 1;
}

.immersion-item { transition: all 0.5s var(--ease-spring); position: relative; }
.immersion-item::before {
    content: ''; position: absolute; inset: 0; border-radius: 4px; padding: 2px;
    background: linear-gradient(135deg, transparent 30%, rgba(230,57,70,0.6) 50%, transparent 70%);
    background-size: 300% 300%; animation: gradientShift 4s ease infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.immersion-item:hover { filter: brightness(1.1) contrast(1.02); transform: translateY(-5px) scale(1.02); }

.process-image { clip-path: inset(0 100% 0 0); }
.process-scene.visible .process-image { clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-cinematic) 0.3s; }
.process-label { position: relative; }
.process-label::before {
    content: ''; position: absolute; left: -20px; top: 50%; width: 10px; height: 10px;
    border-radius: 50%; background: currentColor; transform: translateY(-50%) scale(0); opacity: 0;
}
.process-scene.visible .process-label::before { animation: labelDot 0.6s var(--ease-bounce) 0.5s forwards; }
@keyframes labelDot { to { transform: translateY(-50%) scale(1); opacity: 1; } }
@keyframes iconBounce { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes proofBounce { 0% { opacity: 0; transform: translateY(60px) scale(0.8); } 60% { transform: translateY(-10px) scale(1.02); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

.proof-item.visible { animation: proofBounce 0.8s var(--ease-spring); }
.proof-item:hover { transform: translateY(-5px) scale(1.02); }

.outcome-visual { transform: translateZ(-1px) scale(1.1); }
.outcome-gradient { background: linear-gradient(180deg, rgba(5,5,5,0.2) 0%, rgba(5,5,5,0.4) 50%, rgba(5,5,5,0.7) 100%); background-size: 200% 200%; animation: gradientShift 6s ease infinite; }

.filter-btn { transition: all 0.4s var(--ease-spring); }
.filter-btn.active { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,255,255,0.2); }

.video-showcase video { animation: kenBurns 20s ease-in-out infinite alternate; }
@keyframes kenBurns { 0% { transform: scale(1) translate(0, 0); } 100% { transform: scale(1.1) translate(-2%, -1%); } }
