/* ========================================
   ENHANCED CSS VARIABLES & BASE
   ======================================== */
:root {
    --primary-dark: #0A0A0A;
    --primary-base: #212121;
    --accent-subtle: #2A2A2A;
    --text-primary: #E8E8E8;
    --text-secondary: #999999;
    --accent-color: #FAA026;
    --accent-cool: #D4871F;
    --accent-muted: #FFBB5C;
    --accent-hover: #FFB347;
}

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

body {
    background-color: var(--primary-base);
    font-family: 'Lexend', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

/* ========================================
   CUSTOM CURSOR
   ======================================== */
.custom-cursor {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10000;
    mix-blend-mode: difference;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease-out;
}

.cursor-hover .cursor-dot {
    width: 15px;
    height: 15px;
    background-color: var(--accent-color);
}

.cursor-hover .cursor-outline {
    width: 50px;
    height: 50px;
    border-color: var(--accent-color);
}

/* ========================================
   SCROLL PROGRESS INDICATOR
   ======================================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-muted));
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ========================================
   SECTION COUNTER
   ======================================== */
.section-counter {
    position: absolute;
    top: 30px;
    right: 40px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 300;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    opacity: 0.5;
    z-index: 10;
}

/* ========================================
   PRELOADER - ENHANCED WITH MORPHING
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--primary-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.preloader-container {
    width: 300px;
    position: relative;
}

.preloader-morphing {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    position: relative;
}

.morph-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-muted));
    border-radius: 50%;
    animation: morphAnimation 3s ease-in-out infinite;
}

@keyframes morphAnimation {
    0%, 100% {
        border-radius: 50%;
        transform: rotate(0deg) scale(1);
    }
    25% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(45deg) scale(1.1);
    }
    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(90deg) scale(0.9);
    }
    75% {
        border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
        transform: rotate(135deg) scale(1.05);
    }
}

.preloader-percentage {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 300;
    color: #666;
    letter-spacing: 0.2em;
    margin-bottom: 25px;
    text-align: center;
    opacity: 0;
    animation: fadeInSoft 0.8s ease 0.2s forwards;
}

.preloader-bar-container {
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.preloader-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, 
        var(--accent-color) 0%,
        var(--accent-muted) 50%,
        var(--accent-color) 100%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#preloader.fade-out {
    opacity: 0;
    pointer-events: none;
}

body.loading {
    overflow: hidden;
}

body.loading > *:not(#preloader) {
    opacity: 0;
}

body:not(.loading) > *:not(#preloader) {
    animation: revealContent 1s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: transparent;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    transition: all 0.3s ease;
}

/* Navbar con scroll - añade background */
.navbar.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-navbar {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.logo-navbar:hover {
    opacity: 1;
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 0;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

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

.menu-toggle {
    display: none;
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #ffffff;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 0px;
}

.menu-toggle span:nth-child(2) {
    top: 10px;
}

.menu-toggle span:nth-child(3) {
    top: 20px;
}

.menu-toggle.open span:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.menu-toggle.open span:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* ========================================
   HERO SECTION - ENHANCED
   ======================================== */
/* ========================================
   HERO SECTION - VIDEO BACKGROUND
   ======================================== */
.hero-section {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Video Background Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Overlay oscuro sobre video para mejorar legibilidad */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Video Background Container */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Overlay oscuro sobre el video para mejor contraste */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.5) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

/* Grain Texture Overlay */
.grain-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,.03) 2px, rgba(255,255,255,.03) 4px);
    opacity: 0.3;
    pointer-events: none;
    animation: grainMove 8s steps(10) infinite;
    z-index: 2;
}

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

/* Grid Lines */
.hero-grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    z-index: 3;
}

.grid-line {
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        transparent 100%);
    transform: translateY(100%);
    animation: slideDown 2s ease-out forwards;
}

.grid-line:nth-child(2) {
    animation-delay: 0.2s;
}

.grid-line:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes slideDown {
    to {
        transform: translateY(0);
    }
}

.logo-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
    z-index: 10;
}

.logo-text {
    font-size: clamp(3.5rem, 15vw, 10rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 2;
    
    /* INVISIBLE por defecto */
    opacity: 0;
    color: transparent;
    
    /* Sin animación que interfiera */
    transition: all 0.5s ease;
}

@keyframes logoGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo-container:hover .logo-text {
    /* APARECE en hover con gradiente blanco */
    opacity: 1 !important;
    
    background: linear-gradient(135deg, 
        #ffffff 0%, 
        #f5f5f5 25%, 
        #ffffff 50%, 
        #f0f0f0 75%, 
        #ffffff 100%
    );
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    transform: scale(1.02);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.4));
}

.subtitle {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-size: clamp(0.6rem, 1.8vw, 0.9rem);
    font-weight: 300;
    font-family: 'JetBrains Mono', monospace;
    text-align: center;
    letter-spacing: 0.25em;
    opacity: 1;
    visibility: visible;
    white-space: nowrap;
    transition: all 0.4s ease;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInScroll 1s ease 2.5s forwards;
    z-index: 10;
}

.scroll-arrow {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, #ffffff);
    position: relative;
    animation: scrollMove 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    transform: translateX(-50%) rotate(45deg);
}

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

@keyframes scrollMove {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(8px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   ABOUT SECTION - WITH DECORATIVE NUMBERS
   ======================================== */
.about-section {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    padding: 120px 0;
    position: relative;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    min-height: 70vh;
    position: relative;
    width: 100%;
}

.about-left {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 480px;
    opacity: 0;
    transform: translateY(-50%) translateX(-30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-left.animate {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.about-right {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 480px;
    text-align: left;
    opacity: 0;
    transform: translateY(-50%) translateX(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-right.animate {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

/* Decorative Numbers */
.decorative-number {
    position: absolute;
    top: -60px;
    left: -20px;
    font-size: 140px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    z-index: 0;
    font-family: 'Lexend', sans-serif;
    user-select: none;
    pointer-events: none;
}

.about-right .decorative-number {
    left: auto;
    right: -20px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.section-title {
    color: #212121;
    font-size: 18px;
    font-weight: 900;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.section-line {
    width: 50px;
    height: 1px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
}

.section-header:hover .section-line {
    width: 80px;
}

.section-subtitle {
    color: #666;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.about-text {
    color: #333;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.about-text-secondary {
    color: #666;
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    font-weight: 200;
    line-height: 1.7;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
}

/* About Bullets - Minimal Style */
.about-bullets {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.bullet-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.bullet-dot {
    width: 6px;
    height: 6px;
    background-color: #212121;
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.bullet-text {
    color: #666;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* About CTA - Black Version */
.about-cta {
    display: inline-block;
    text-decoration: none;
    margin-top: 30px;
    transition: transform 0.3s ease;
}

.cta-circle-black {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #212121;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.cta-circle-black:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    background: #000000;
}

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

.cta-circle-black:hover::before {
    left: 100%;
}

.cta-text-black {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

.cta-icon-black {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-circle-black:hover .cta-icon-black {
    transform: translate(3px, -3px);
    color: rgba(255, 255, 255, 1);
}

/* Animated Stats */
.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--accent-color);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 11px;
    font-weight: 300;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Vertical Separator */
.vertical-separator {
    position: absolute;
    left: 50%;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 100%);
    transform: translateX(-50%);
}

/* Text Reveal Animation */
.reveal-text {
    opacity: 0;
    transform: translateY(20px);
    animation: revealText 0.8s ease forwards;
}

.about-left.animate .reveal-text:nth-child(2) {
    animation-delay: 0.3s;
}

.about-left.animate .reveal-text:nth-child(3) {
    animation-delay: 0.5s;
}

.about-right.animate .reveal-text:nth-child(2) {
    animation-delay: 0.3s;
}

.about-right.animate .reveal-text:nth-child(3) {
    animation-delay: 0.5s;
}

.about-right.animate .reveal-text:nth-child(4) {
    animation-delay: 0.7s;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================================
   MISSION SECTION - WITH GLASSMORPHISM
   ======================================== */
.expertise-section {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
    padding: 100px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Spotlight Effect */
.spotlight-effect {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(250, 160, 38, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.expertise-section:hover .spotlight-effect {
    opacity: 1;
}

.floating-element {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    opacity: 0;
    animation: floatElement 10s ease-in-out infinite;
}

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(50px, -50px) rotate(180deg);
        opacity: 0.6;
    }
}

.expertise-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
    min-height: 70vh;
    position: relative;
    z-index: 2;
}

.expertise-content {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.expertise-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.expertise-label {
    color: #666;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.expertise-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

.expertise-title {
    color: #212121;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.expertise-description {
    color: #333;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin-bottom: 40px;
}

/* Magnetic CTA Button */
.expertise-cta {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cta-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-muted));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(250, 160, 38, 0.3);
}

.cta-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 50px rgba(250, 160, 38, 0.5);
}

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

.cta-circle:hover::before {
    left: 100%;
}

.cta-text {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-transform: lowercase;
    letter-spacing: 0.08em;
    position: relative;
    z-index: 1;
}

.cta-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    transition: all 0.3s ease;
}

.cta-circle:hover .cta-icon {
    transform: translate(3px, -3px);
    color: rgba(255, 255, 255, 1);
}

/* Glass Container for Image */
.glass-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.glass-container.animate {
    opacity: 1;
    transform: translateX(0);
}

.expertise-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-image img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: all 0.6s ease;
}

.glass-container:hover img {
    transform: scale(1.05) translateY(-10px);
}

/* Parallax Image Effect */
.parallax-image {
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Mission Video - llena completamente el contenedor glass */
.mission-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    transition: all 0.6s ease;
}

.glass-container:hover .mission-video {
    transform: scale(1.05) translateY(-10px);
    filter: brightness(1.1);
}


/* ========================================
   RESPONSIVE DESIGN SECTION
   ======================================== */
.responsive-section {
    width: 100%;
    min-height: 100vh;
    background-color: #F9F9F9;
    padding: 100px 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.responsive-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 100px;
    min-height: 70vh;
}

.responsive-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.responsive-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.responsive-label {
    color: #666666;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.responsive-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

.responsive-title {
    color: #212121;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
}

.responsive-description {
    color: #333333;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.01em;
    margin-bottom: 30px;
    max-width: 480px;
}

.responsive-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.responsive-features li {
    color: #666666;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    font-weight: 300;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.6s ease;
}

.responsive-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.responsive-content.animate .responsive-features li {
    opacity: 1;
    transform: translateX(0);
}

.responsive-content.animate .responsive-features li:nth-child(1) {
    transition-delay: 0.8s;
}

.responsive-content.animate .responsive-features li:nth-child(2) {
    transition-delay: 1s;
}

.responsive-content.animate .responsive-features li:nth-child(3) {
    transition-delay: 1.2s;
}

.responsive-content.animate .responsive-features li:nth-child(4) {
    transition-delay: 1.4s;
}

.responsive-image-container {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.responsive-image-container.animate {
    opacity: 1;
    transform: translateX(0);
}

.responsive-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 40px;
    transition: all 0.6s ease;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

/* Video responsivo - llena completamente el contenedor */
.responsive-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    padding: 0;
    transition: all 0.6s ease;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
    border-radius: 12px;
}

.responsive-image-container:hover .responsive-image,
.responsive-image-container:hover .responsive-video {
    transform: scale(1.02);
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.15));
}

.floating-dot {
    position: absolute;
    top: 15%;
    right: -3%;
    width: 60px;
    height: 60px;
    border: 2px solid rgba(102, 102, 102, 0.2);
    border-radius: 50%;
    opacity: 0;
    animation: floatDot 8s ease-in-out infinite;
}

@keyframes floatDot {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
        opacity: 0.6;
    }
}

/* ========================================
   GSAP VIDEO ANIMATIONS - SECTION 004
   ======================================== */
#video-container-gsap {
    perspective: 1000px;
    transform-style: preserve-3d;
}

#pixelfox-video-gsap {
    will-change: transform;
    transform-origin: center center;
}

/* Asegurar que el grid mantenga el orden correcto */
.responsive-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

/* Forzar el orden: contenido a la izquierda, video a la derecha */
#responsive-content-gsap {
    order: 1;
}

#video-container-gsap {
    order: 2;
}

/* Animaciones suaves para el contenedor del video */
#video-container-gsap {
    transition: transform 0.3s ease;
}

/* ========================================
   QUOTE SECTION
   ======================================== */
.quote-section {
    width: 100%;
    background-color: var(--primary-base);
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.quote-container.animate {
    opacity: 1;
    transform: translateY(0);
}

.quote-marks {
    color: var(--accent-color);
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    opacity: 0.8;
}

.quote-line {
    width: 60px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.quote-text {
    color: var(--text-primary);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    font-style: italic;
}

/* Quote Section 2 - Fondo Amarillo */
.quote-section-2 {
    background: linear-gradient(135deg, #FAA026 0%, #FFB347 100%) !important;
}

.quote-section-2 .quote-marks {
    color: rgba(0, 0, 0, 0.9) !important;
}

.quote-section-2 .quote-line {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

.quote-section-2 .quote-text {
    color: #1a1a1a !important;
}

/* ========================================
   SERVICES SECTION - WITH TILT CARDS
   ======================================== */
.services-section {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.services-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Tilt Card Effect */
.tilt-card {
    perspective: 1000px;
    cursor: pointer;
}

.service-card {
    background-color: #F8F8F8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Service Number - MINIMALISTA - Solo visible en hover */
.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(102, 102, 102, 0.6);
    font-family: 'JetBrains Mono', monospace;
    line-height: 1;
    letter-spacing: 0.05em;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-number {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    color: rgba(102, 102, 102, 0.8);
}

/* Card Shine Effect */
.card-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.6s ease;
}

.service-card:hover .card-shine {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

.service-card:hover {
    background-color: #FFFFFF;
    border-color: rgba(250, 160, 38, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #6B6B6B;
    font-size: 32px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.1);
    color: #505050;
}

.service-title {
    color: #212121;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

.coming-soon {
    display: inline-block;
    font-size: 0.55em;
    font-weight: 300;
    color: rgba(250, 160, 38, 0.7);
    text-transform: lowercase;
    letter-spacing: 0.03em;
    margin-left: 5px;
}

.service-description {
    color: #666;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 2;
}

/* ========================================
   PRICING SECTION
   ======================================== */
.pricing-section {
    display: none !important; /* Hidden temporarily - will be enabled later */
    width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}

.pricing-header {
    text-align: center;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

/* Pricing Card */
.pricing-card {
    background: #F8F8F8;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card:hover {
    background: #FFFFFF;
    border-color: rgba(250, 160, 38, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.pricing-featured {
    background: linear-gradient(135deg, #FAA026 0%, #FFB347 100%);
    border: none;
}

.pricing-featured:hover {
    background: linear-gradient(135deg, #FFB347 0%, #FAA026 100%);
    box-shadow: 0 15px 50px rgba(250, 160, 38, 0.3);
}

.pricing-badge {
    display: inline-block;
    background: rgba(250, 160, 38, 0.15);
    color: var(--accent-color);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    width: fit-content;
}

.pricing-featured .pricing-badge {
    background: rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
}

.pricing-title {
    color: #212121;
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 12px;
}

.pricing-featured .pricing-title {
    color: #FFFFFF;
}

.pricing-concept {
    color: #666;
    font-size: clamp(0.9rem, 1.4vw, 1rem);
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 30px;
    min-height: 48px;
}

.pricing-featured .pricing-concept {
    color: rgba(255, 255, 255, 0.95);
}

.pricing-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: auto;
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-label {
    color: #999;
    font-size: 11px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pricing-featured .price-label {
    color: rgba(255, 255, 255, 0.8);
}

.price-value {
    color: #212121;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 900;
    line-height: 1;
}

.pricing-featured .price-value {
    color: #FFFFFF;
}

.price-note {
    font-size: 0.5em;
    font-weight: 400;
    color: #666;
    margin-left: 4px;
}

.pricing-featured .price-note {
    color: rgba(255, 255, 255, 0.7);
}

.price-description {
    color: #999;
    font-size: 13px;
    font-weight: 300;
    margin-top: 4px;
}

.pricing-featured .price-description {
    color: rgba(255, 255, 255, 0.85);
}

.price-divider {
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
}

.pricing-featured .price-divider {
    background: rgba(255, 255, 255, 0.2);
}

.pricing-footer {
    text-align: center;
    color: #999;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* ========================================
   CLIENTS SECTION - WITH MAGNETIC EFFECT
   ======================================== */
.clients-section {
    width: 100%;
    min-height: 100vh;
    background-color: var(--primary-base);
    padding: 80px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.clients-header {
    text-align: center;
    margin-bottom: 80px;
}

.clients-title {
    color: #d3d3d3;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: lowercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInTitle 1s ease 0.5s forwards;
}

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

.clients-category {
    margin-bottom: 80px;
}

.clients-category:last-child {
    margin-bottom: 0;
}

.category-subtitle {
    color: #666;
    font-size: 12px;
    font-weight: 300;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInCategory 1s ease 0.8s forwards;
}

.category-subtitle::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

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

.clients-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    width: 100%;
}

/* Client Link - sin estilos de link por defecto */
.client-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.client-link:hover {
    transform: translateY(-5px);
}

/* Magnetic Item Effect */
.magnetic-item {
    transition: transform 0.3s ease;
}

.client-item {
    text-align: center;
    padding: 25px 15px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.client-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.client-logo {
    width: 100%;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    margin-bottom: 15px;
}

.logo-img {
    max-width: 120px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 1;
    filter: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.client-item:hover .logo-img {
    transform: translateY(-8px) scale(1.05);
}

.client-item:hover .client-logo {
    transform: translateY(-5px);
}

.client-name {
    color: #909090;
    font-size: clamp(0.85rem, 1.4vw, 1rem);
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: 0.08em;
    transition: all 0.4s ease;
}

.client-item:hover .client-name {
    color: #FFFFFF;
    letter-spacing: 0.12em;
}

.client-services {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.client-item:hover .client-services {
    opacity: 1;
    transform: translateY(0);
}

.service-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
    font-weight: 300;
    padding: 4px 10px;
    border-radius: 12px;
    letter-spacing: 0.05em;
    text-transform: lowercase;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.service-tag:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}


/* ========================================
   CONTACT SECTION - ENHANCED FORM
   ======================================== */
.contact-section {
    width: 100%;
    min-height: 100vh;
    background-color: #FFFFFF;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.decorative-pattern {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, transparent 40%, rgba(250, 160, 38, 0.05) 100%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    position: relative;
    z-index: 2;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-title {
    color: #212121;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
}

.contact-subtitle {
    color: #666;
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    font-weight: 300;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.contact-form {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 50px;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

.form-group label {
    display: block;
    color: #666;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 300;
    padding: 12px 0;
    outline: none;
    transition: all 0.3s ease;
}

/* Enhanced Focus Line */
.input-focus-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-cool));
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus ~ .input-focus-line,
.form-group textarea:focus ~ .input-focus-line {
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    border-bottom-color: transparent;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    color: var(--accent-color);
}

.form-group textarea {
    resize: none;
    min-height: 80px;
    padding: 12px 0;
    line-height: 1.5;
}

.form-group:last-of-type {
    margin-bottom: 60px;
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Liquid Button Effect */
.liquid-button {
    position: relative;
    background-color: var(--primary-base);
    border: none;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    padding: 18px 60px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: lowercase;
    overflow: hidden;
    z-index: 1;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-liquid {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-muted));
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.liquid-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(250, 160, 38, 0.3);
}

.liquid-button:hover .btn-liquid {
    width: 300px;
    height: 300px;
}

.liquid-button:active {
    transform: translateY(0);
}

/* ========================================
   CONTACT FORM - ADDITIONAL STYLES
   ======================================== */

/* Select Dropdowns */
.form-group select {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    color: #333;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 300;
    padding: 12px 0;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
}

.form-group select:focus {
    border-bottom-color: transparent;
}

.form-group select option {
    background-color: #fff;
    color: #333;
    padding: 10px;
}

/* ========================================
   CUSTOM SELECT - PREMIUM MINIMAL
   ======================================== */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

/* Ocultar el select nativo pero mantenerlo accesible */
.custom-select-hidden {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.custom-select {
    position: relative;
    width: 100%;
    font-family: 'Lexend', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: #999;
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

.custom-select.has-value {
    color: #333;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.custom-select.open .custom-select-trigger {
    border-bottom-color: #333;
}

.custom-select-arrow {
    color: #999;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 0;
    flex-shrink: 0;
}

.custom-select.open .custom-select-arrow {
    transform: rotate(180deg);
    color: #333;
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 4px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 100;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-select.open .custom-select-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.custom-select-option {
    padding: 12px 16px;
    font-family: 'Lexend', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: #666;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    letter-spacing: 0.02em;
}

.custom-select-option:first-child {
    display: none; /* Ocultar el placeholder en la lista */
}

.custom-select-option:hover {
    background: #f5f5f5;
    color: #111;
}

.custom-select-option.selected {
    color: #111;
    font-weight: 400;
}

/* Character Counter */
.char-counter {
    position: absolute;
    bottom: -25px;
    right: 0;
    font-size: 11px;
    color: #999;
    font-weight: 300;
}

/* Error Messages */
.error-msg {
    display: block;
    color: #e74c3c;
    font-size: 11px;
    font-weight: 300;
    margin-top: 8px;
    opacity: 0;
    height: 0;
    transition: all 0.3s ease;
}

.form-group.error .error-msg {
    opacity: 1;
    height: auto;
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border-bottom-color: #e74c3c;
}

.form-group.error label {
    color: #e74c3c;
}

/* Success/Error Messages */
.form-message {
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 400;
    animation: slideDown 0.5s ease;
}

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

.success-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.success-message i {
    font-size: 20px;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.error-message i {
    font-size: 20px;
}

/* Honeypot (invisible) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

/* Turnstile Widget */
.cf-turnstile {
    margin: 30px 0;
    display: flex;
    justify-content: center;
}

/* Loading State */
.btn-loading {
    position: relative;
    z-index: 2;
}

.btn-loading i {
    margin-right: 8px;
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* ========================================
   FOOTER - MINIMALISTA PREMIUM
   ======================================== */
.footer {
    width: 100%;
    background-color: var(--accent-color);
    padding: 60px 0;
    position: relative;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 40px;
}

/* Left - Links */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

.footer-link {
    color: #212121;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #212121;
    transition: width 0.3s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

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

/* Center - Logo & Site */
.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(0);
}

.footer-logo:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.footer-site {
    color: #212121;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Right - Year */
.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-year {
    color: #212121;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* ========================================
   RESPONSIVE DESIGN - TABLET & MOBILE
   ======================================== */
@media (max-width: 1024px) {
    .section-counter {
        top: 20px;
        right: 20px;
        font-size: 10px;
    }

    .expertise-container,
    .responsive-container {
        gap: 60px;
    }

    .about-left,
    .about-right {
        max-width: 400px;
    }

    .decorative-number {
        font-size: 100px;
    }
}

@media (max-width: 768px) {
    /* Disable cursor on mobile */
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }

    .section-counter {
        display: none;
    }

    /* Navbar */
    .navbar {
        padding: 0 20px;
        height: 60px;
    }
    
    .logo-navbar {
        height: 32px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 30px 0;
        gap: 0;
        backdrop-filter: blur(10px);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 15px 0;
    }
    
    .nav-menu a {
        font-size: 13px;
        padding: 12px 0;
        display: block;
    }

    /* Hero */
    .hero-section {
        padding: 20px;
        height: 100dvh; /* dynamic viewport height - accounts for browser chrome */
    }

    /* Hero video optimizado para móvil */
    .hero-video {
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        object-fit: cover;
        object-position: center center;
    }

    .hero-grid-lines .grid-line:nth-child(2) {
        display: none;
    }

    .logo-text {
        font-size: clamp(2.5rem, 17vw, 7rem);
    }
    
    .subtitle {
        bottom: -35px;
        font-size: clamp(0.5rem, 2.5vw, 0.8rem);
    }

    /* About */
    .about-section {
        padding: 80px 0;
    }
    
    .about-container {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
    }
    
    .about-left {
        position: static;
        margin-bottom: 60px;
        max-width: none;
        transform: none;
    }
    
    .about-left.animate {
        transform: none;
    }
    
    .about-right {
        position: static;
        max-width: none;
        transform: none;
    }

    .about-right.animate {
        transform: none;
    }

    .decorative-number {
        font-size: 80px;
        top: -40px;
        left: -10px;
    }

    .vertical-separator {
        display: none;
    }

    .about-stats {
        justify-content: flex-start;
        gap: 30px;
    }

    .about-bullets {
        margin-top: 25px;
        gap: 15px;
    }

    .bullet-text {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }

    .cta-circle-black {
        width: 100px;
        height: 100px;
    }

    .cta-text-black {
        font-size: 14px;
    }

    .cta-icon-black {
        bottom: 15px;
        right: 15px;
        font-size: 14px;
    }

    /* Expertise & Responsive sections */
    .expertise-container,
    .responsive-container {
        grid-template-columns: 1fr;
        gap: 50px;
        padding: 0 20px;
    }

    .expertise-section,
    .responsive-section {
        padding: 80px 0;
    }

    .glass-container,
    .responsive-image-container {
        height: 50vh;
        min-height: 400px;
    }

    /* Video optimizado para móvil - llena completamente el contenedor */
    .responsive-video,
    .mission-video {
        padding: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Mission container en móvil - centrado y sin clip circular */
    #mission-video-container-gsap {
        clip-path: none !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        translate: none !important;
        justify-self: center;
        align-self: center;
        margin: 0 auto;
        order: -1; /* Video aparece antes del texto en móvil */
    }

    #mission-video-container-gsap .mission-video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center;
    }

    .floating-element,
    .floating-dot,
    .decorative-pattern {
        display: none;
    }

    /* Services */
    .services-section {
        padding: 80px 0;
    }

    .services-container {
        padding: 0 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        min-height: 240px;
        padding: 30px 20px;
    }

    /* Quote */
    .quote-section {
        padding: 60px 0;
    }
    
    .quote-container {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .quote-marks {
        font-size: 3rem;
    }

    .quote-line {
        width: 60px;
        height: 1px;
    }

    /* Clients */
    .clients-section {
        padding: 80px 0;
    }
    
    .clients-container {
        padding: 0 20px;
    }

    /* Pricing - Responsive */
    .pricing-section {
        padding: 80px 0;
    }

    .pricing-container {
        padding: 0 20px;
    }

    .pricing-header {
        margin-bottom: 50px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .pricing-card {
        padding: 35px 25px;
    }

    .pricing-title {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    .price-value {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
    }

    .clients-header {
        margin-bottom: 60px;
    }

    .clients-category {
        margin-bottom: 60px;
    }

    .category-subtitle {
        font-size: 11px;
        margin-bottom: 35px;
    }
    
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .client-item {
        padding: 20px 15px;
        min-height: auto;
    }

    /* Contact */
    .contact-section {
        padding: 80px 0;
    }
    
    .contact-container {
        padding: 0 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }
    
    .form-group:last-of-type {
        margin-bottom: 60px;
    }
    
    .liquid-button {
        padding: 16px 50px;
        font-size: 13px;
    }

    /* Footer */
    .footer {
        padding: 40px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        padding: 0 30px;
        gap: 35px;
        text-align: center;
    }

    .footer-left {
        align-items: center;
        order: 2;
    }

    .footer-center {
        order: 1;
    }

    .footer-right {
        justify-content: center;
        order: 3;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: clamp(2rem, 19vw, 5.5rem);
    }
    
    .subtitle {
        bottom: -25px;
        font-size: clamp(0.5rem, 2.8vw, 0.7rem);
    }

    .about-section {
        padding: 60px 0;
    }
    
    .about-container {
        padding: 0 15px;
    }

    .decorative-number {
        font-size: 60px;
    }

    .expertise-section,
    .responsive-section,
    .services-section,
    .clients-section,
    .contact-section {
        padding: 60px 0;
    }

    .expertise-container,
    .responsive-container,
    .services-container,
    .clients-container,
    .contact-container {
        padding: 0 15px;
    }

    .glass-container,
    .responsive-image-container {
        height: 40vh;
        min-height: 300px;
    }

    .service-card {
        padding: 25px 20px;
        min-height: 220px;
    }

    .service-number {
        font-size: 12px;
        top: 15px;
        right: 15px;
        opacity: 0;
        visibility: hidden;
    }

    .quote-marks {
        font-size: 2.5rem;
    }

    .quote-line {
        width: 40px;
    }

    .footer {
        padding: 35px 0;
    }

    .footer-container {
        padding: 0 20px;
        gap: 25px;
    }

    .footer-link {
        font-size: 13px;
    }

    .footer-logo {
        height: 30px;
    }

    .footer-site {
        font-size: 12px;
    }

    .footer-year {
        font-size: 13px;
    }

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

    .back-to-top i {
        font-size: 11px;
    }
}

/* ========================================
   ANIMATIONS & UTILITIES
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}
