/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Geist', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    /* Ocultar scrollbar pero mantener funcionalidad */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

body::-webkit-scrollbar {
    display: none; /* Safari y Chrome */
}

/* Film Grain Effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0.8px, transparent 0.8px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.12) 0.6px, transparent 0.6px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.18) 0.7px, transparent 0.7px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 0.5px, transparent 0.5px),
        radial-gradient(circle at 10% 60%, rgba(255, 255, 255, 0.14) 0.6px, transparent 0.6px),
        radial-gradient(circle at 90% 40%, rgba(255, 255, 255, 0.11) 0.7px, transparent 0.7px);
    background-size: 80px 80px, 100px 100px, 60px 60px, 90px 90px, 70px 70px, 110px 110px;
    animation: filmGrain 4s linear infinite;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
    opacity: 1;
}

@keyframes filmGrain {
    0% {
        transform: translate(0, 0);
    }
    10% {
        transform: translate(-1px, 1px);
    }
    20% {
        transform: translate(1px, -1px);
    }
    30% {
        transform: translate(-1px, -1px);
    }
    40% {
        transform: translate(1px, 1px);
    }
    50% {
        transform: translate(-1px, 0);
    }
    60% {
        transform: translate(1px, -1px);
    }
    70% {
        transform: translate(0, 1px);
    }
    80% {
        transform: translate(-1px, -1px);
    }
    90% {
        transform: translate(1px, 0);
    }
    100% {
        transform: translate(0, 0);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(15px) saturate(1.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.2);
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.01) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.005) 2px,
            rgba(255, 255, 255, 0.005) 4px
        );
    pointer-events: none;
    mix-blend-mode: overlay;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo-text {
    font-size: 12px;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: 'Geist Mono', monospace;
}

.logo a.logo-link,
.logo-right a.logo-right-link {
    text-decoration: none;
    color: inherit;
}

.header-right {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-btn {
    background: transparent;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-family: 'Geist Mono', monospace;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    opacity: 1;
}

.contact-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.02);
    transform: translateY(-0.5px);
}

.contact-btn svg {
    opacity: 0.6;
    transition: all 0.4s ease;
    width: 12px;
    height: 12px;
}

.contact-btn:hover svg {
    opacity: 1;
    transform: translateY(-0.5px);
}

.contact-btn-text {
    font-size: 9px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

/* Hide contact button when in contact section */
.contact-btn.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
}

.language-toggle {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 6px 12px;
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-toggle:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.lang-active {
    color: #ffffff;
    opacity: 1;
}

.lang-inactive {
    color: rgba(255, 255, 255, 0.4);
    opacity: 0.6;
}

.lang-separator {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

.logo-right {
    display: flex;
    align-items: center;
}

.logo-svg {
    height: 24px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #cccccc;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000000;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        radial-gradient(circle at 75% 60%, rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        radial-gradient(circle at 15% 80%, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
    background-size: 400px 400px, 500px 500px, 300px 300px;
    animation: floatParticles 30s linear infinite;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

@keyframes floatParticles {
    0% {
        transform: translateY(0) translateX(0);
    }
    33% {
        transform: translateY(-3px) translateX(2px);
    }
    66% {
        transform: translateY(-1px) translateX(-1px);
    }
    100% {
        transform: translateY(0) translateX(0);
    }
}



/* Camera Focus Elements */
.camera-focus {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    animation: focusReveal 3s ease-out 2s forwards;
}

.focus-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-style: dashed;
    border-spacing: 5px;
    animation: focusRing 6s ease-in-out infinite;
}

.focus-corners {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    animation: cornerPulse 3s ease-in-out infinite;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    animation: cornerPulse 3s ease-in-out infinite 0.5s;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    animation: cornerPulse 3s ease-in-out infinite 1s;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    animation: cornerPulse 3s ease-in-out infinite 1.5s;
}

.focus-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    animation: gridFade 5s ease-in-out infinite;
}

.grid-h1 {
    top: 33.33%;
    left: 0;
    width: 100%;
    height: 1px;
}

.grid-h2 {
    top: 66.66%;
    left: 0;
    width: 100%;
    height: 1px;
    animation-delay: 0.5s;
}

.grid-v1 {
    top: 0;
    left: 33.33%;
    width: 1px;
    height: 100%;
    animation-delay: 1s;
}

.grid-v2 {
    top: 0;
    left: 66.66%;
    width: 1px;
    height: 100%;
    animation-delay: 1.5s;
}

/* Motion Graphics Layers */
.motion-layers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.layer-1 {
    position: absolute;
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: layerFloat1 8s ease-in-out infinite;
}

.layer-2 {
    position: absolute;
    bottom: 30%;
    left: 15%;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(45deg);
    animation: layerFloat2 6s ease-in-out infinite;
}

.layer-3 {
    position: absolute;
    top: 40%;
    left: 5%;
    width: 2px;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    animation: layerFloat3 10s ease-in-out infinite;
}

/* Animations */
@keyframes focusReveal {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes focusRing {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

@keyframes cornerPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes gridFade {
    0%, 100% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
}

@keyframes layerFloat1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.3;
    }
}

@keyframes layerFloat2 {
    0%, 100% {
        transform: translateX(0) rotate(45deg);
        opacity: 0.05;
    }
    50% {
        transform: translateX(15px) rotate(225deg);
        opacity: 0.15;
    }
}

@keyframes layerFloat3 {
    0%, 100% {
        transform: translateY(0) scaleY(1);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-10px) scaleY(1.3);
        opacity: 0.4;
    }
}

/* Documentation Overlay */
.doc-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 4;
    opacity: 0;
    animation: docReveal 4s ease-out 3s forwards;
}

/* Additional Animations */
@keyframes docReveal {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Camera Info Overlay */
.camera-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.info-top-left {
    position: absolute;
    top: 15px;
    left: 15px;
}

.camera-mode {
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
    animation: infoFadeIn 2s ease-out 3s forwards;
    opacity: 0;
}

.focus-mode {
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: infoFadeIn 2s ease-out 3.5s forwards;
    opacity: 0;
}

.info-top-right {
    position: absolute;
    top: 15px;
    right: 15px;
}

.counter {
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: infoFadeIn 2s ease-out 4s forwards;
    opacity: 0;
}

.current-slide {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.info-bottom {
    position: absolute;
    bottom: 15px;
    left: 15px;
}

.render-info {
    font-family: 'Geist Mono', monospace;
    font-size: 9px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: infoFadeIn 2s ease-out 4.5s forwards;
    opacity: 0;
}

.render-type {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.separator {
    margin: 0 8px;
    opacity: 0.4;
}

.camera-specs {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    font-family: 'Geist Mono', monospace;
    font-size: 8px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.focal-length,
.shutter-speed,
.samples {
    animation: infoFadeIn 0.8s ease-out forwards;
    animation-delay: 4.5s;
    opacity: 0;
}

@keyframes infoFadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animated Text Effect */
.animated-text {
    position: relative;
    font-family: 'Geist Mono', monospace;
    letter-spacing: 0.05em;
}

.animated-text::after {
    content: '_';
    color: rgba(255, 255, 255, 0.8);
    animation: cursorBlink 1s infinite;
    margin-left: 2px;
}

.animated-text.typing::after {
    animation: cursorBlink 0.5s infinite;
}

@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.text-changing {
    color: rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    max-width: none;
    margin: 0;
}

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

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    transform: translateY(60px);
}

.hero-image.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0.8) 40%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(0px) brightness(0.4);
    transition: filter 2s ease-in-out;
}

.hero-image.active img {
    filter: blur(0px) brightness(0.6);
}



.hero-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    position: relative;
    z-index: 10;
    text-align: center;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.1rem, 5.6vw, 5.6rem);
    font-weight: 100;
    font-family: 'Geist', sans-serif;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-align: center;
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    filter: blur(10px);
    animation: heroTitleReveal 2s ease-out 0.5s forwards;
    max-width: 90vw;
    color: #ffffff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.hero-bottom-text {
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
}

.hero-description {
    font-size: 12px;
    font-weight: 300;
    font-family: 'Geist Mono', monospace;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
    transition: opacity 0.8s ease, transform 0.8s ease, filter 0.8s ease;
    text-transform: none;
    letter-spacing: 0.01em;
}

.hero-location {
    margin-top: 0;
    z-index: 20;
    position: relative;
}

.hero-location span {
    font-size: 8px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-50px);
    transition: opacity 2s ease-out, filter 2s ease-out, transform 2s ease-out;
    z-index: 20;
    position: relative;
}

.hero-location span.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

/* Removed typewriter effect - using blur effect instead */



@keyframes heroTitleReveal {
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0px);
    }
}

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

@keyframes blurToFocusLeft {
    to {
        opacity: 1;
        filter: blur(0px);
        transform: translateX(0);
    }
}

/* Services Section */
.services {
    padding: 120px 0;
    background: #0a0a0a;
}

.services-title {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 60px;
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-50px);
    transition: opacity 2s ease-out, filter 2s ease-out, transform 2s ease-out;
}

.services-title.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

.services-content {
    display: grid;
    grid-template-columns: 349px 1fr 300px;
    gap: 60px;
    align-items: start;
}

.services-image {
    position: relative;
}

.service-img {
    width: 349px;
    height: 548px;
    object-fit: cover;
    border-radius: 8px;
}

.services-text {
    padding-top: 40px;
}

.services-intro {
    margin-bottom: 40px;
}

.services-description {
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 20px;
    text-transform: uppercase;
}

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

.service-item h3 {
    font-size: 10px;
    font-weight: 500;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.service-item p {
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #cccccc;
    line-height: 1.5;
    text-transform: uppercase;
}

.services-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 548px;
}

.services-quote {
    position: absolute;
    top: -60px;
    right: 0;
    width: 100%;
    z-index: 2;
    pointer-events: none;
}

.services-quote p {
    font-size: 16px;
    font-weight: 300;
    font-family: 'Geist', sans-serif;
    color: #ffffff;
    line-height: 1.4;
    text-align: right;
}

.services-image-right {
    position: relative;
    z-index: 1;
}

.service-img-right {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    filter: grayscale(100%);
}

/* About Section */
.about {
    padding: 120px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #ffffff;
    text-align: right;
    letter-spacing: -0.02em;
}

/* Gallery Section */
.gallery {
    padding: 120px 0;
    background: #0a0a0a;
    overflow: hidden;
}

.gallery-header {
    padding: 0 50px;
    margin-bottom: 60px;
}

.gallery-subtitle {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    /*text-align: center;*/
    /*margin:0;*/
    opacity: 0;
    margin-left: 330px;
    filter: blur(10px);
    transform: translateX(-50px);
    transition: opacity 2s ease-out, filter 2s ease-out, transform 2s ease-out;
}

.gallery-subtitle.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

.gallery-featured {
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /*margin-bottom: 20px;/*        /* Cambié de 10px a 20px para más espacio */
    /*margin-top: 15px;/*           /* Agregué margen superior */
    padding-left: 50px;         /* Agregué padding izquierdo */
    text-align: left;
}

.gallery-description {
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 50px;
    /*text-align: left;*/
}

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin: 0 0;
    padding: 0 80px;
    transition: all 0.3s ease;
    /* Deshabilitar scroll por defecto */
    overscroll-behavior: none;
    touch-action: pan-x;
}

.gallery-carousel-wrapper:hover {
    background: rgba(0, 0, 0, 0.02);
}

/* Gallery Navigation Buttons - REMOVIDAS POR SOLICITUD DEL USUARIO */

.gallery-carousel-wrapper::before,
.gallery-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 10;
    pointer-events: none;
}

.gallery-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, 
        #0a0a0a 0%, 
        #0a0a0a 20%, 
        rgba(10, 10, 10, 0.8) 40%, 
        rgba(10, 10, 10, 0.4) 70%, 
        transparent 100%);
    transition: opacity 0.3s ease;
}

.gallery-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, 
        #0a0a0a 0%, 
        #0a0a0a 20%, 
        rgba(10, 10, 10, 0.8) 40%, 
        rgba(10, 10, 10, 0.4) 70%, 
        transparent 100%);
    transition: opacity 0.3s ease;
}

.gallery-carousel-wrapper:hover::before,
.gallery-carousel-wrapper:hover::after {
    opacity: 0.7;
}

/* Indicadores sutiles de zona de movimiento */
.gallery-carousel-wrapper:hover::before {
    box-shadow: inset -20px 0 20px -20px rgba(255, 255, 255, 0.03);
}

.gallery-carousel-wrapper:hover::after {
    box-shadow: inset 20px 0 20px -20px rgba(255, 255, 255, 0.03);
}

.gallery-carousel {
    display: flex;
    gap: 20px;
    padding: 0 20px;
    cursor: default;
    user-select: none;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: auto; /* Cambiado para mejor control manual */
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Deshabilitar scroll por defecto */
    overscroll-behavior: none;
    touch-action: pan-x;
}

.gallery-carousel::-webkit-scrollbar {
    display: none;
}

/* Ocultar scrollbar en toda la página */
html {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

html::-webkit-scrollbar {
    display: none; /* Safari y Chrome */
}

.gallery-carousel:active {
    cursor: grabbing;
}

.gallery-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                filter 0.3s ease,
                box-shadow 0.3s ease;
    position: relative;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.01) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.gallery-item.featured {
    width: 600px;
    height: 300px;
    border: 2px solid rgba(0, 123, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover::before {
    opacity: 1;
}

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

/* Gallery Progress Indicator */
.gallery-progress {
    padding: 0 50px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.progress-bar {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.6) 50%, 
        rgba(255, 255, 255, 0.3) 100%);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 1px;
}

.gallery-footer {
    padding: 0 50px;
    margin-top: 60px;
    margin-left: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-footer-text {
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    max-width: 400px;
}

.gallery-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 300;
    color: #D4AF37;
    letter-spacing: -0.02em;
}

/* Projects Section */
.projects {
    padding: 120px 0;
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 30px;
}

.projects-subtitle {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-50px);
    transition: opacity 2s ease-out, filter 2s ease-out, transform 2s ease-out;
}

.projects-subtitle.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

.projects-filters {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #888888;
    padding: 8px 16px;
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.filter-btn.active {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.projects-grid {
    position: relative;
    margin-top: 40px;
    min-height: 400px;
}

.project-item {
    position: absolute;
    width: calc((100% - 60px) / 3); /* 3 columns with 30px gaps */
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.project-item.featured {
    width: calc((100% - 30px) / 2); /* Featured items take 2 columns */
    aspect-ratio: 2/1;
}

.project-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    z-index: 0;
}

.project-item.moving {
    z-index: 2;
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .project-item {
        width: calc((100% - 30px) / 2); /* 2 columns on medium screens */
    }
    .project-item.featured {
        width: 100%; /* Featured items take full width */
    }
}

@media (max-width: 768px) {
    .project-item {
        width: 100%; /* 1 column on small screens */
    }
    .project-item.featured {
        width: 100%;
        aspect-ratio: 4/3; /* Square on mobile */
    }
}

.project-item.featured {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-overlay h4 {
    font-size: 12px;
    font-weight: 500;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 5px 0;
}

.project-overlay p {
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.project-item:hover {
    transform: scale(1.02) translateY(-5px);
}

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

.project-item:hover .project-overlay {
    transform: translateY(0);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px) saturate(1.3) brightness(0.8);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.015) 0%, transparent 60%),
        radial-gradient(circle at 70% 70%, rgba(255, 255, 255, 0.01) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.012) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.008) 0%, transparent 50%),
        repeating-linear-gradient(
            30deg,
            transparent,
            transparent 3px,
            rgba(255, 255, 255, 0.003) 3px,
            rgba(255, 255, 255, 0.003) 6px
        );
    pointer-events: none;
    z-index: -1;
    mix-blend-mode: overlay;
}

.image-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    animation: modalZoom 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content img {
    display: block;
    width: auto;
    height: 95vh;
    max-width: 95vw;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1002;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-hint {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Geist Mono', monospace;
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 1002;
    opacity: 0;
    animation: hintFadeIn 0.5s ease-out 0.5s forwards;
}

@keyframes hintFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes modalZoom {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
        filter: blur(10px);
    }
    50% {
        transform: scale(0.95) translateY(10px);
        opacity: 0.8;
        filter: blur(5px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
        filter: blur(0px);
    }
}

/* Gallery item cursor */
.gallery-item {
    flex-shrink: 0;
    width: 400px;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.02);
}

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

/* Contact Section */
.contact {
    padding: 120px 0;
    background: #0a0a0a;
}

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

.contact-text {
    margin-bottom: 60px;
}

.contact-title {
    font-size: 24px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
    opacity: 0;
    filter: blur(10px);
    transform: translateX(-50px);
    transition: opacity 2s ease-out, filter 2s ease-out, transform 2s ease-out;
}

.contact-title.visible {
    opacity: 1;
    filter: blur(0px);
    transform: translateX(0);
}

.contact-description {
    font-size: 14px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #cccccc;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    max-width: 500px;
    margin: 0 auto;
}

.contact-form {
    margin-bottom: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    text-align: left;
    margin-bottom: 20px;  /* Agregado espacio entre grupos */
}

.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;  /* Reducido de 8px a 5px */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Geist Mono', monospace;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    resize: vertical;
    margin-top: 0px;  /* Eliminado el margin-top de 8px */
}

.form-group textarea {
    min-height: 80px;
    max-height: 150px;
    padding-top: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.9);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.submit-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 30px;
    font-size: 10px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
}

.contact-email {
    display: block;
    font-size: 12px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: #cccccc;
}

.contact-phone {
    font-size: 12px;
    font-weight: 400;
    font-family: 'Geist Mono', monospace;
    color: #888888;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* Footer */
.footer {
    background: #000000;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer p {
    color: #888888;
    font-size: 12px;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 30px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888888;
    text-decoration: none;
    font-size: 10px;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
}

.footer-phone {
    color: #888888;
    font-size: 10px;
    font-family: 'Geist Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        margin-left: 600px;
        margin-top: -100px;
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .nav-list {
        gap: 20px;
    }
    
    .nav-link {
        font-size: 14px;
    }
    
        .header-right {
        right: 15px;
        gap: 15px;
    }

    .language-toggle {
        padding: 4px 8px;
        font-size: 9px;
        gap: 6px;
    }

    .logo-text {
        font-size: 10px;
    }
    
    .hero-content {
        padding: 0 20px;
        align-items: center;
    }
    
    .hero-images {
        width: 100%;
        max-width: 500px;
        height: 250px;
    }
    
    .hero-image,
    .hero-image img,
    .hero-image::after {
        width: 100%;
        height: 250px;
    }
    
    .hero-title {
        font-size: 24px;
        margin-left: 0;
        margin-top: 20px;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-img {
        width: 100%;
        height: 400px;
    }
    
    .services-right {
        padding-top: 40px;
    }
    
    .services-quote p {
        text-align: center;
    }
    
    .contact-content {
        padding: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .carousel-slide img {
        height: 400px;
    }
    
    .carousel-controls {
        padding: 0 10px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-item.featured {
        grid-column: span 1;
        aspect-ratio: 4/3;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-social {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-images {
        width: 100%;
        height: 200px;
    }
    
    .hero-image,
    .hero-image img,
    .hero-image::after {
        width: 100%;
        height: 200px;
    }
    
    .hero-title {
        font-size: 20px;
        margin-left: 0;
        margin-top: 15px;
        text-align: center;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about,
    .gallery,
    .contact {
        padding: 80px 0;
    }
    
    .carousel-slide img {
        height: 300px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scroll fade effects */
.hero-description.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    filter: blur(5px);
}

.hero-location.fade-out {
    opacity: 0;
    transform: translateY(-20px);
    filter: blur(3px);
}

.hero-description.fade-partial {
    opacity: 0.3;
    transform: translateY(-10px);
    filter: blur(2px);
}

.hero-location.fade-partial {
    opacity: 0.5;
    transform: translateY(-10px);
    filter: blur(1px);
}

/* Form Message Styles */
.form-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 20px 30px;
    border-radius: 8px;
    z-index: 10000;
    font-family: 'Geist Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    min-width: 300px;
    opacity: 0;
    animation: slideUp 0.4s ease-out forwards;
}

.form-message.success {
    border-color: #E6AD4A;
    background: rgba(230, 173, 74, 0.1);
}

.form-message.error {
    border-color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Submit Button Loading State */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.05);
} 

/* OPTIMIZACIONES ESPECÍFICAS PARA LA GALERÍA EN HOSTINGER */
.gallery-carousel-wrapper {
    /* Optimizaciones de rendimiento */
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    
    /* Aislar la galería del resto del sitio */
    contain: layout style paint;
    
    /* Deshabilitar scroll por defecto */
    overscroll-behavior: none;
    touch-action: pan-x;
    
    /* Reducir repaints */
    isolation: isolate;
}

.gallery-carousel {
    /* Optimizaciones de rendimiento críticas */
    will-change: scroll-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    
    /* Aislar completamente */
    contain: layout style paint;
    
    /* Deshabilitar scroll por defecto */
    overscroll-behavior: none;
    touch-action: pan-x;
    
    /* Optimizar el scroll */
    scroll-behavior: auto !important;
    
    /* GPU acceleration */
    transform: translate3d(0, 0, 0);
}

.gallery-item {
    /* Optimización de imágenes */
    will-change: transform;
    backface-visibility: hidden;
    
    /* Evitar reflows */
    contain: layout style;
}

.gallery-item img {
    /* Optimización de renderizado de imágenes */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    will-change: transform;
    backface-visibility: hidden;
}

/* Forzar compositing layer para mejor rendimiento */
.gallery-carousel-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
} 



/* Hero Text */ 