/* ===================================
   CSS VARIABLES & RESET
   =================================== */
:root {
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #1a1a1a;
    --color-text-primary: #ffffff;
    --color-text-secondary: #e0e0e0;
    --color-text-tertiary: #cccccc;
    --color-overlay: rgba(10, 10, 10, 0.7);
    --font-title: 'Bebas Neue', 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-secondary);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===================================
   TYPOGRAPHY - CINEMATIC STYLE
   =================================== */
.section-title,
.hero-title,
.logo {
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    line-height: 0.85;
    font-stretch: condensed;
}

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: 0.15em;
    position: relative;
    font-weight: 900;
    z-index: 2;
    /* Cinematic glow effect */
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: cinematicTextGlow 4s ease-in-out infinite, subtleFloat 6s ease-in-out infinite;
    /* Dynamic shadows */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.section-title::before {
    content: attr(data-en);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(5rem, 15vw, 12rem);
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.1));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
    letter-spacing: 0.15em;
    z-index: -1;
    white-space: nowrap;
    pointer-events: none;
    animation: cinematicBackgroundGlow 6s ease-in-out infinite;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, transparent 70%);
    z-index: -2;
    animation: cinematicPulse 8s ease-in-out infinite;
    pointer-events: none;
}

[lang="es"] .section-title::before {
    content: attr(data-es);
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.8);
    font-family: var(--font-title);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    line-height: 0.85;
    font-stretch: condensed;
    opacity: 0;
    animation: heroTextFade 10s ease-in-out 2s forwards;
}

@keyframes heroTextFade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 0;
    }
    70% {
        opacity: 0.3;
    }
    100% {
        opacity: 0.3;
    }
}

/* ===================================
   LOADING SCREEN
   =================================== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    color: var(--color-text-primary);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.loading-bar {
    width: 200px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-color: var(--color-text-primary);
    animation: loadingProgress 1.5s ease-in-out infinite;
}

@keyframes loadingProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   HEADER NAVIGATION
   =================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 2rem 0;
}

#header.scrolled {
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    transition: var(--transition-fast);
    font-family: var(--font-title);
    text-transform: uppercase;
    line-height: 0.85;
    font-stretch: condensed;
}

.logo:hover {
    opacity: 0.7;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-menu a {
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-btn {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--color-text-tertiary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0.25rem 0.5rem;
}

.lang-btn:hover {
    color: var(--color-text-primary);
}

.lang-btn.active {
    color: var(--color-text-primary);
    position: relative;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-text-primary);
}

.lang-separator {
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: var(--transition-fast);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#hero-vimeo-player {
    width: 100%;
    height: 100%;
}

#hero-vimeo-player iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.6));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: fadeIn 1.5s ease;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    color: var(--color-text-secondary);
    margin-top: 1rem;
    opacity: 0;
    animation: heroTextFade 10s ease-in-out 2s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 2s ease 1s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--color-text-primary));
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-family: var(--font-title);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: var(--color-text-secondary);
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   CONTAINER & SECTIONS
   =================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
    position: relative;
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
    background-color: var(--color-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--color-text-tertiary);
}

.about-image {
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.1);
    transition: var(--transition-smooth);
}

.about-image:hover img {
    transform: scale(1.05);
    filter: grayscale(80%) contrast(1.1);
}

/* ===================================
   WORK SECTION
   =================================== */
.work-section {
    background-color: var(--color-bg-primary);
}

.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: transparent;
    transition: var(--transition-fast);
    cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-text-primary);
    border-color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.loading-videos {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 0;
    font-family: var(--font-title);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
}

.video-item {
    position: relative;
    cursor: pointer;
    overflow: visible;
    background-color: var(--color-bg-secondary);
    transition: var(--transition-smooth);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.video-item:nth-child(1) { animation-delay: 0.1s; }
.video-item:nth-child(2) { animation-delay: 0.2s; }
.video-item:nth-child(3) { animation-delay: 0.3s; }
.video-item:nth-child(4) { animation-delay: 0.4s; }
.video-item:nth-child(5) { animation-delay: 0.5s; }
.video-item:nth-child(6) { animation-delay: 0.6s; }

.video-item.hidden {
    display: none;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    z-index: 1;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 10, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.play-icon {
    width: 60px;
    height: 60px;
    border: 2px solid var(--color-text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.8);
    transition: var(--transition-smooth);
}

.play-icon::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 15px solid var(--color-text-primary);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 4px;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.1);
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-item:hover .play-icon {
    transform: scale(1);
}

.video-info {
    padding: 1.5rem;
    position: relative;
    overflow: visible;
}

.video-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    margin-bottom: 0.5rem;
    line-height: 0.9;
    font-stretch: condensed;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 2.4em;
}

.video-title-special {
    font-size: clamp(2rem, 5vw, 3.5rem);
    position: relative;
    z-index: 1;
    font-weight: 900;
    line-height: 1.1;
    padding: 0.5rem 0;
    transition: letter-spacing 0.4s ease, transform 0.4s ease;
    display: inline-block;
}

/* Eliminated the old static shadow ::before */

/* Cinematic Glitch Effect on Hover */
.video-item:hover .video-title-special {
    letter-spacing: 0.2em;
    transform: scale(1.05);
    animation: cinematicGlitch 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both infinite;
    color: #fff;
    text-shadow: 2px 0 rgba(255, 0, 0, 0.8), -2px 0 rgba(0, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Enhanced Cinematic Glitch Animation */
/* ===================================
   CINEMATIC TITLE EFFECTS
   =================================== */

/* Cinematic Text Glow Animation */
@keyframes cinematicTextGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    }
    25% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
    }
    50% {
        background-position: 50% 100%;
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
    }
    75% {
        background-position: 0% 100%;
        filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.15));
    }
}

/* Subtle Float Animation for Titles */
@keyframes subtleFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

/* Cinematic Background Glow */
@keyframes cinematicBackgroundGlow {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 0.8;
    }
    33% {
        background-position: 100% 50%;
        opacity: 1;
    }
    66% {
        background-position: 50% 100%;
        opacity: 0.9;
    }
}

/* Cinematic Pulse Effect */
@keyframes cinematicPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.6;
    }
}

@keyframes cinematicGlitch {
    0% {
        text-shadow: 
            3px 0 rgba(255, 0, 0, 0.8), 
            -3px 0 rgba(0, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.3);
        transform: translateX(0) scale(1.05);
    }
    10% {
        text-shadow: 
            4px -2px rgba(255, 0, 0, 0.9), 
            -4px 2px rgba(0, 255, 255, 0.9),
            1px 0 rgba(255, 255, 0, 0.5);
        transform: translateX(-1px) scale(1.05);
    }
    20% {
        text-shadow: 
            -2px 3px rgba(255, 0, 0, 0.7), 
            2px -3px rgba(0, 255, 255, 0.7),
            -1px 0 rgba(255, 255, 0, 0.4);
        transform: translateX(1px) scale(1.05);
    }
    30% {
        text-shadow: 
            5px 0 rgba(255, 0, 0, 0.8), 
            -5px 0 rgba(0, 255, 255, 0.8),
            2px -1px rgba(255, 255, 0, 0.6);
        transform: translateX(-2px) scale(1.05);
    }
    40% {
        text-shadow: 
            -3px 2px rgba(255, 0, 0, 0.9), 
            3px -2px rgba(0, 255, 255, 0.9),
            0 1px rgba(255, 255, 0, 0.5);
        transform: translateX(2px) scale(1.05);
    }
    50% {
        text-shadow: 
            2px -3px rgba(255, 0, 0, 0.7), 
            -2px 3px rgba(0, 255, 255, 0.7),
            1px 0 rgba(255, 255, 0, 0.4);
        transform: translateX(-1px) scale(1.05);
    }
    60% {
        text-shadow: 
            -4px -1px rgba(255, 0, 0, 0.8), 
            4px 1px rgba(0, 255, 255, 0.8),
            -2px 0 rgba(255, 255, 0, 0.6);
        transform: translateX(1px) scale(1.05);
    }
    70% {
        text-shadow: 
            3px 2px rgba(255, 0, 0, 0.9), 
            -3px -2px rgba(0, 255, 255, 0.9),
            0 -1px rgba(255, 255, 0, 0.5);
        transform: translateX(-2px) scale(1.05);
    }
    80% {
        text-shadow: 
            -1px -4px rgba(255, 0, 0, 0.7), 
            1px 4px rgba(0, 255, 255, 0.7),
            2px 1px rgba(255, 255, 0, 0.4);
        transform: translateX(2px) scale(1.05);
    }
    90% {
        text-shadow: 
            4px 1px rgba(255, 0, 0, 0.8), 
            -4px -1px rgba(0, 255, 255, 0.8),
            -1px 2px rgba(255, 255, 0, 0.6);
        transform: translateX(-1px) scale(1.05);
    }
    100% {
        text-shadow: 
            3px 0 rgba(255, 0, 0, 0.8), 
            -3px 0 rgba(0, 255, 255, 0.8),
            0 0 20px rgba(255, 255, 255, 0.3);
        transform: translateX(0) scale(1.05);
    }
}

.video-item-special .video-info {
    padding: 2.5rem 1.5rem;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden; /* Clean edges */
    z-index: 10;
}

.video-duration {
    display: none;
}

/* ===================================
   VIDEO MODAL
   =================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16 / 9;
    position: relative;
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#modal-vimeo-player {
    width: 100%;
    height: 100%;
}

#modal-vimeo-player iframe {
    width: 100%;
    height: 100%;
}

.modal-logo {
    position: absolute;
    top: -80px;
    left: 0;
    font-family: var(--font-title);
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    line-height: 0.85;
    font-stretch: condensed;
    animation: modalLogoFade 0.5s ease;
    z-index: 10001;
}

/* Mobile adjustments for modal logo */
@media (max-width: 768px) {
    .modal-logo {
        top: -100px;
    }
}

@keyframes modalLogoFade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: -80px;
    right: 0;
    font-size: 3rem;
    color: var(--color-text-primary);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    z-index: 10001;
}

.modal-close:hover {
    opacity: 0.6;
    transform: rotate(90deg);
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    background-color: var(--color-bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    transition: var(--transition-smooth);
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--color-text-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-item h3 {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-stretch: condensed;
    line-height: 0.9;
}

.service-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-tertiary);
}

/* ===================================
   CLIENTS SECTION - INFINITE MARQUEE
   =================================== */
.clients-section {
    background-color: var(--color-bg-primary);
    overflow: hidden;
}

.clients-section .section-title {
    margin-bottom: 4rem;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.clients-track {
    display: flex;
    gap: 4rem;
    animation: marqueeScroll 40s linear infinite;
    width: fit-content;
}

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

.client-logo {
    font-family: var(--font-title);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: 0.15em;
    color: var(--color-text-tertiary);
    white-space: nowrap;
    transition: all 0.3s ease;
    cursor: default;
    user-select: none;
}

.client-logo:hover {
    color: var(--color-text-primary);
    transform: scale(1.1);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
    background-color: var(--color-bg-secondary);
}

.contact-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-text-tertiary);
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.contact-email {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--color-text-primary);
    display: inline-block;
    margin-bottom: 2rem;
    position: relative;
}

.contact-email::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text-primary);
    transition: width 0.3s ease;
}

.contact-email:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--transition-fast);
}

.social-links a:hover {
    border-color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ===================================
   FOOTER
   =================================== */
#footer {
    background-color: var(--color-bg-primary);
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-content p {
    font-size: 0.9rem;
    color: var(--color-text-tertiary);
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social a {
    font-family: var(--font-title);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--color-text-tertiary);
    transition: var(--transition-fast);
}

.footer-social a:hover {
    color: var(--color-text-primary);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
    .section-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
        margin-bottom: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        padding: 2rem;
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: clamp(3rem, 10vw, 6rem);
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

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

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

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .modal-content {
        width: 95%;
    }

    .modal-logo {
        top: -100px;
        font-size: 1.5rem;
    }

    .modal-close {
        top: -100px;
        font-size: 2rem;
    }
    
    .video-title {
        font-size: 1.1rem;
        letter-spacing: 0.1em;
    }
    
    .video-title-special {
        font-size: clamp(1.5rem, 3.5vw, 2rem);
        padding: 0.3rem 0;
    }
    
    .video-title-special::before {
        font-size: clamp(2rem, 5vw, 3rem);
        letter-spacing: 0.15em;
        opacity: 0.5;
    }
    
    .video-item-special .video-info {
        padding: 2rem 1rem;
        min-height: 100px;
        overflow: visible;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .filter-container {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }

    .contact-email {
        font-size: 1.2rem;
    }

    .submit-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.fade-in {
    animation: fadeIn 0.6s ease;
}

.slide-up {
    animation: fadeInUp 0.6s ease;
}

/* Smooth scroll offset for fixed header */
section {
    scroll-margin-top: 80px;
}