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

:root {
    /* Color Palette */
    --primary: #fbbf24; /* Amarillo neón */
    --primary-dark: #f59e0b;
    --secondary: #8b5cf6; /* Morado eléctrico */
    --accent: #10b981; /* Verde lima */
    
    /* Dark Theme Colors */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --bg-card: #1f1f1f;
    --bg-overlay: rgba(0, 0, 0, 0.8);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a3a3a3;
    --text-muted: #737373;
    
    /* Borders and Shadows */
    --border: #2a2a2a;
    --border-light: #404040;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.5);
    
    /* Typography */
    --font-heading: 'Bueno', Impact, "Din Condensed", sans-serif;
    --font-body: 'Montserrat', Arial, sans-serif;
    
    /* Spacing */
    --container-padding: 2rem;
    --section-padding: 6rem 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 0;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
    animation-name: float1;
    animation-timing-function: ease-in-out;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 60%;
    right: 15%;
    animation-delay: -8s;
    animation-duration: 18s;
    animation-name: float2;
    animation-timing-function: ease-in-out;
}

.circle-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 20%;
    left: 50%;
    animation-delay: -15s;
    animation-duration: 22s;
    animation-name: float3;
    animation-timing-function: ease-in-out;
}

.circle-4 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: 80%;
    left: 20%;
    animation-delay: -5s;
    animation-duration: 18s;
    animation-name: float4;
    opacity: 0.2;
}

.circle-5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 30%;
    right: 5%;
    animation-delay: -12s;
    animation-duration: 22s;
    animation-name: float5;
    opacity: 0.25;
}

.circle-6 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 60%;
    left: 80%;
    animation-delay: -20s;
    animation-duration: 28s;
    animation-name: float6;
    opacity: 0.2;
}

@keyframes float1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    16% {
        transform: translate(200px, -100px) scale(1.3) rotate(60deg);
    }
    32% {
        transform: translate(-150px, 150px) scale(0.7) rotate(120deg);
    }
    48% {
        transform: translate(120px, -200px) scale(1.2) rotate(180deg);
    }
    64% {
        transform: translate(-180px, 100px) scale(0.8) rotate(240deg);
    }
    80% {
        transform: translate(100px, -150px) scale(1.1) rotate(300deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes float2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-120px, 100px) scale(1.15) rotate(90deg);
    }
    50% {
        transform: translate(100px, -120px) scale(0.85) rotate(180deg);
    }
    75% {
        transform: translate(-80px, -100px) scale(1.05) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes float3 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(130px, 80px) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-90px, -130px) scale(0.9) rotate(240deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes float4 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, -60px) scale(1.3) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes float5 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-60px, 80px) scale(0.8) rotate(90deg);
    }
    50% {
        transform: translate(100px, -40px) scale(1.2) rotate(180deg);
    }
    75% {
        transform: translate(-40px, -80px) scale(0.9) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

@keyframes float6 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    40% {
        transform: translate(-70px, 90px) scale(1.1) rotate(144deg);
    }
    80% {
        transform: translate(60px, -70px) scale(0.8) rotate(288deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

/* Hover effects for circles */
.circle:hover {
    opacity: 0.5;
    filter: blur(40px);
    transition: all 0.3s ease;
}

/* Wave effect */
.wave {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    border-radius: 0;
    pointer-events: none;
    z-index: 9999;
    animation: waveExpand 1s ease-out forwards;
    transform: translate(-50%, -50%);
}

@keyframes waveExpand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* Particles */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 0;
    opacity: 0.6;
    animation: particleFloat 15s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(251, 191, 36, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.6), 0 0 30px rgba(139, 92, 246, 0.4);
    }
}

@keyframes morphShape {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    50% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.floating-element {
    position: absolute;
    font-size: 2rem;
    opacity: 0.7;
    animation: floatElement 20s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.fe-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.fe-2 {
    top: 25%;
    right: 15%;
    animation-delay: -3s;
    animation-duration: 30s;
}

.fe-3 {
    top: 60%;
    left: 20%;
    animation-delay: -8s;
    animation-duration: 22s;
}

.fe-4 {
    top: 70%;
    right: 25%;
    animation-delay: -12s;
    animation-duration: 28s;
}

.fe-5 {
    top: 40%;
    left: 60%;
    animation-delay: -5s;
    animation-duration: 35s;
}

.fe-6 {
    top: 80%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 18s;
}

.fe-7 {
    top: 10%;
    left: 80%;
    animation-delay: -10s;
    animation-duration: 32s;
}

.fe-8 {
    top: 50%;
    right: 10%;
    animation-delay: -18s;
    animation-duration: 26s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: translate(100px, -50px) rotate(90deg) scale(1.2);
    }
    50% {
        transform: translate(-50px, 100px) rotate(180deg) scale(0.8);
    }
    75% {
        transform: translate(50px, -100px) rotate(270deg) scale(1.1);
    }
}

/* Responsive adjustments for animated background */
@media (max-width: 768px) {
    .circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .circle-2 {
        width: 200px;
        height: 200px;
    }
    
    .circle-3 {
        width: 220px;
        height: 220px;
    }
    
    .circle {
        filter: blur(40px);
    }
}

@media (max-width: 480px) {
    .circle-1 {
        width: 180px;
        height: 180px;
    }
    
    .circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .circle-3 {
        width: 160px;
        height: 160px;
    }
    
    .circle {
        filter: blur(30px);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Asegurar que todas las secciones ocupen el 100% del ancho */
section {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    color: var(--bg-primary);
    box-shadow: var(--shadow);
    animation: gradientFlow 3s ease-in-out infinite;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    animation-play-state: paused;
}

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

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
    position: relative;
    overflow: hidden;
    font-weight: 400;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary:hover::before {
    opacity: 0.1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-light);
    position: relative;
    overflow: hidden;
    font-weight: 400;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-outline:hover {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline:hover::before {
    opacity: 0.1;
}

/* Estados activos para botones */
.btn:active {
    transform: translateY(0);
    transition: transform 0.1s ease;
}

.btn-primary:active {
    animation-play-state: running;
}

/* Mejorar la apariencia general de los botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--background, #0a0a0a);
    z-index: 100;
    border-bottom: 1.5px solid rgba(255,255,255,0.08);
    font-family: 'Space Grotesk', 'Fira Mono', 'Menlo', monospace;
    transition: background 0.3s;
    /* Borde degradado animado */
}
.navbar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradientFlow 8s ease-in-out infinite;
    z-index: 101;
    pointer-events: none;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    border-left: 1.5px solid rgba(255,255,255,0.08);
    border-right: 1.5px solid rgba(255,255,255,0.08);
}
.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 2rem;
    border-right: 1.5px solid rgba(255,255,255,0.08);
}
.logo-img {
    height: 38px;
    width: auto;
}
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex: 1;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.08rem;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-right: 1.5px solid rgba(255,255,255,0.08);
    border-left: 1.5px solid rgba(255,255,255,0.08);
    transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.nav-menu li {
    position: relative;
}
.nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 18px;
    background: rgba(255,255,255,0.08);
}
.nav-menu a {
    color: var(--text-primary, #fff);
    text-decoration: none;
    padding: 0.5rem 0.2rem;
    transition: color 0.2s;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.04em;
}
.nav-menu a:hover {
    color: var(--primary, #ffde59);
}
.nav-icons {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-left: 2rem;
    border-left: 1.5px solid rgba(255,255,255,0.08);
}
.nav-icon {
    background: none;
    border: none;
    color: var(--text-primary, #fff);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}
.nav-icon:hover {
    color: var(--primary, #ffde59);
}

/* --- HAMBURGUESA --- */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
    margin-left: 1.2rem;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--text-primary, #fff);
    margin: 4px 0;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(.77,0,.18,1);
}

/* --- RESPONSIVE & SLIDE --- */
@media (max-width: 1100px) {
    .nav-container {
        padding: 0 1rem;
    }
    .nav-menu {
        gap: 1.2rem;
        font-size: 1rem;
    }
    .nav-icons {
        padding-left: 1rem;
    }
}
/* Reglas de navegación móvil movidas a responsive-fixes.css */
/* --- SLIDE AL HACER SCROLL EN DESKTOP --- */
.navbar.scrolled .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--background, #0a0a0a);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 150;
    transform: translateX(-100vw);
    opacity: 0;
    pointer-events: none;
    border: none;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1), opacity 0.3s;
}
.navbar.scrolled .nav-menu.open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
.navbar.scrolled .nav-toggle {
    display: flex;
}

/* --- ANIMACIÓN HAMBURGUESA --- */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 90vh;
    z-index: 0;
    background: transparent;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 90vh;
    background: linear-gradient(120deg,rgba(10,10,10,0.7) 60%,rgba(10,10,10,0.2) 100%);
    z-index: 1;
}

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

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    margin-bottom: 2rem;
    font-weight: 200;
    line-height: 1.1;
    letter-spacing: -0.02em;
    transform-style: preserve-3d;
    transition: transform 0.1s cubic-bezier(.25,.46,.45,.94);
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
    animation: gradientFlow 4s ease-in-out infinite;
}

.hero-icon-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transform-style: preserve-3d;
    transition: transform 0.1s cubic-bezier(.25,.46,.45,.94);
}

.hero-icon-text i {
    color: var(--primary);
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.hero-icon-text span {
    color: var(--text-secondary);
    font-weight: 200;
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    transform-style: preserve-3d;
    transition: transform 0.1s cubic-bezier(.25,.46,.45,.94);
}

.hero-content {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    transition: transform 0.1s cubic-bezier(.25,.46,.45,.94);
}

.hero-content > * {
    transition: all 0.8s ease-out;
}

.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Services Slider */
.hero-services-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.95) 100%);
    padding: 1rem 0;
    overflow: hidden;
    z-index: 10;
    max-height: 15vh;
}

.services-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.services-slider-track {
    display: flex;
    animation: slideServices 30s linear infinite;
    width: max-content;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.5rem;
    margin: 0 1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

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

.service-item i {
    display: none;
}

.service-item span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Pausar animación en hover */
.services-slider-container:hover .services-slider-track {
    animation-play-state: paused;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
    animation: float 8s ease-in-out infinite;
    min-width: 200px;
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--primary);
    opacity: 0.8;
}

.floating-card span {
    font-weight: 300;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.card-1 {
    top: 15%;
    left: 5%;
    animation-delay: 0s;
    animation: float 8s ease-in-out infinite;
}

.card-2 {
    top: 45%;
    right: 10%;
    animation-delay: 3s;
    animation: float 8s ease-in-out infinite;
}

.card-3 {
    bottom: 15%;
    left: 25%;
    animation-delay: 6s;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Animaciones de degradados para bordes */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientRotate {
    0% {
        background: linear-gradient(0deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    }
    25% {
        background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    }
    50% {
        background: linear-gradient(180deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    }
    75% {
        background: linear-gradient(270deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    }
    100% {
        background: linear-gradient(360deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    }
}

@keyframes borderPulse {
    0%, 100% {
        border-image: linear-gradient(45deg, var(--primary), var(--secondary)) 1;
        border-image-slice: 1;
    }
    50% {
        border-image: linear-gradient(225deg, var(--secondary), var(--accent)) 1;
        border-image-slice: 1;
    }
}

@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    }
    33% {
        background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 50%, var(--primary) 100%);
    }
    66% {
        background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 50%, var(--secondary) 100%);
    }
    100% {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent) 100%);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Scroll-based Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* 3D Section Animations */
@keyframes section3DReveal {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateX(15deg) translateY(100px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateX(0deg) translateY(0);
    }
}

@keyframes section3DRevealLeft {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(-15deg) translateX(-100px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0);
    }
}

@keyframes section3DRevealRight {
    from {
        opacity: 0;
        transform: perspective(1000px) rotateY(15deg) translateX(100px);
    }
    to {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateX(0);
    }
}

/* Animation Classes */
[data-animation] {
    opacity: 0;
    transform: translateY(30px);
}

[data-animation="fadeInLeft"] {
    transform: translateX(-30px);
}

[data-animation="fadeInRight"] {
    transform: translateX(30px);
}

[data-animation="scaleIn"] {
    transform: scale(0.8);
}

[data-animation="slideUp"] {
    transform: translateY(50px);
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slideUp {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Section 3D Effects */
.section-3d {
    opacity: 0;
    transform: perspective(1000px) rotateX(15deg) translateY(100px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center bottom;
}

.section-3d-revealed {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0);
}

/* Alternate 3D effects for different sections */
.section-3d:nth-child(even) {
    transform: perspective(1000px) rotateY(-15deg) translateX(-100px);
}

.section-3d:nth-child(even).section-3d-revealed {
    transform: perspective(1000px) rotateY(0deg) translateX(0);
}

.section-3d:nth-child(3n) {
    transform: perspective(1000px) rotateY(15deg) translateX(100px);
}

.section-3d:nth-child(3n).section-3d-revealed {
    transform: perspective(1000px) rotateY(0deg) translateX(0);
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        border-color: transparent;
    }
    51%, 100% {
        border-color: var(--primary);
    }
}

/* Animated Elements */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fade-in-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slide-up {
    animation: slideInFromBottom 0.8s ease-out forwards;
}

/* Typewriter Effect */
.typewriter {
    overflow: hidden;
    border-right: 2px solid var(--primary);
    white-space: nowrap;
    animation: typewriter 3s steps(40, end), blink 0.75s step-end infinite;
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}



/* Loading Animation */
body {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

body.loaded {
    opacity: 1;
}

/* Parallax Elements */
.parallax {
    will-change: transform;
}

/* Reveal Text */
.reveal-text {
    overflow: hidden;
}

/* Enhanced Hover Effects */
.combo-card:hover,
.category-item:hover,
.process-step:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
    opacity: 0;
}

.custom-cursor.hover {
    transform: scale(2);
    background: var(--secondary);
}

/* Floating Animation Enhancement */
.floating-card {
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

/* Counter Section */
.counter-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 800px;
    margin: 0 auto;
}

.counter-item {
    text-align: center;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.counter-item {
    text-align: center;
}

.counter-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 300;
}

/* Sections */
.section-title {
    text-align: center;
    margin-bottom: 6rem;
    position: relative;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 200;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: gradientFlow 3s ease-in-out infinite;
}

/* Why Section */
.why-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.manifesto {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 3rem;
    margin-top: 2rem;
    position: relative;
}

.manifesto::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 30px;
    font-size: 4rem;
    color: var(--primary);
    font-family: serif;
}

.manifesto-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 300;
}

/* Client Categories */
.client-categories {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.category-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientFlow 4s ease-in-out infinite;
}

.category-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

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

.category-item h3 {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.category-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 200;
}

/* Process Section */
.process-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
    min-height: 80vh;
    height: auto;
}

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

.process-content h2 {
    margin-bottom: 3rem;
    font-weight: 200;
    line-height: 1.3;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.process-step {
    text-align: center;
}

.step-number {
    font-size: 4rem;
    font-weight: 200;
    color: var(--primary);
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 200;
    line-height: 1.6;
}

/* Combos Section */
.combos-section {
    padding: var(--section-padding);
    min-height: 80vh;
    height: auto;
}

.combos-section .container {
    max-width: 1600px;
}

.combos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    width: 100%;
}

@media (max-width: 1200px) {
    .combos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .combos-grid {
        grid-template-columns: 1fr;
    }
}

.combo-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.combo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientFlow 2s ease-in-out infinite;
}

.combo-card:hover::before {
    opacity: 1;
}

.combo-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.combo-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card), rgba(251, 191, 36, 0.05));
}

.combo-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 300;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.combo-icon {
    /* Quitar fondo y gradiente */
    background: none !important;
    /* Mantener el centrado y tamaño */
    width: 80px;
    height: 80px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    /* Quitar animación de brillo */
    animation: none !important;
}

.combo-icon i {
    font-size: 2.5rem;
    color: var(--primary, #ffde59) !important; /* Color principal o el que prefieras */
    background: none !important;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .combo-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
    }
    .combo-icon i {
        font-size: 1.7rem;
    }
}

.combo-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.combo-card p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.combo-price {
    font-size: 1.5rem;
    font-weight: 300;
    font-family: var(--font-heading);
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Testimonials */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    min-height: 80vh;
    height: auto;
}

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

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientFlow 6s ease-in-out infinite;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-tertiary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
    animation: morphShape 8s ease-in-out infinite;
}

.author-avatar i {
    color: var(--primary);
    font-size: 1.25rem;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.author-info span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-secondary));
    text-align: center;
}

.cta-content {
    width: 100%;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Portfolio */
.portfolio-section {
    padding: var(--section-padding);
}

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

.portfolio-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientFlow 7s ease-in-out infinite;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.portfolio-image {
    height: 250px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    text-align: center;
    color: var(--text-muted);
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portfolio-info p {
    color: var(--text-secondary);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
}

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

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text > p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
}

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

.value-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: gradientFlow 5s ease-in-out infinite;
}

.value-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

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

.value-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.value-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.value-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-placeholder {
    width: 200px;
    height: 200px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-placeholder i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.team-placeholder p {
    color: var(--text-secondary);
}

/* Contact Section */
.contact-section {
    padding: var(--section-padding);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info > p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.contact-methods {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    color: var(--primary);
}

.contact-method.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

.contact-method.email:hover {
    background: rgba(59, 130, 246, 0.1);
}

.contact-method i {
    font-size: 1.25rem;
}

/* Alert Messages */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 0;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-family: var(--font-body);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--accent);
    color: var(--accent);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
}

.alert i {
    font-size: 1.25rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 0;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 300;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 3rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: gradientFlow 10s ease-in-out infinite;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo {
    height: 35px;
    width: auto;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

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

.footer-brand p {
    color: var(--text-secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
/* ===== RESPONSIVE DESIGN - TABLET & MOBILE ===== */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    :root {
        --container-padding: 1.5rem;
        --section-padding: 4rem 0;
    }
    
    /* Navigation Improvements - CORREGIDO */
    .nav-container {
        padding: 0 1rem;
        position: relative;
    }
    
    .logo-img {
        height: 32px;
        max-width: 100%;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px); /* Safari support */
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1rem 0;
        opacity: 0;
        transform: translateY(20px);
        animation: slideInFromTop 0.3s ease forwards;
        list-style: none;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-menu li:nth-child(1) { animation-delay: 0.1s; }
    .nav-menu li:nth-child(2) { animation-delay: 0.2s; }
    .nav-menu li:nth-child(3) { animation-delay: 0.3s; }
    .nav-menu li:nth-child(4) { animation-delay: 0.4s; }
    .nav-menu li:nth-child(5) { animation-delay: 0.5s; }
    .nav-menu li:nth-child(6) { animation-delay: 0.6s; }
    
    .nav-menu a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
        display: block;
        border-radius: 10px;
        margin: 0 1rem;
        transition: all 0.3s ease;
        text-decoration: none;
        color: var(--text-primary);
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu a:hover {
        background: rgba(251, 191, 36, 0.1);
        color: var(--primary);
        transform: translateX(10px);
    }
    
    .nav-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1000;
        position: relative;
    }
    
    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--text-primary, #fff);
        margin: 4px 0;
        border-radius: 2px;
        transition: all 0.35s cubic-bezier(.77,0,.18,1);
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .nav-icons {
        display: none !important;
    }
    
    /* Hero Section Improvements - CORREGIDO */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height */
        padding: 6rem 0 0;
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Hero Services Slider - Solo en desktop */
    .hero-services-slider {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(10px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1.5rem;
        max-width: 100%;
        width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .hero-icon-text {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        margin: 1.5rem 0;
        flex-wrap: wrap;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        margin-top: 2rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Services Slider Section - NUEVA SECCIÓN */
.services-slider-section {
    background: var(--bg-primary);
    padding: 1rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-top: 0;
}

/* Estilos específicos para móviles */
@media (max-width: 768px) {
    .services-slider-section {
        padding: 0.8rem 0;
        background: var(--bg-secondary);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }
}

.services-slider-container {
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.services-slider-track {
    display: flex;
    animation: slideServices 20s linear infinite;
    width: max-content;
}

.service-item {
    padding: 0.8rem 1.5rem;
    margin: 0 0.8rem;
    min-width: 160px;
    font-size: 0.9rem;
    border-radius: 25px;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.service-item:hover {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Services Slider Improvements - CORREGIDO */
    .hero-services-slider {
        display: none; /* Ocultar en móviles */
    }
    
    .services-slider-section {
        padding: 0.8rem 0;
    }
    
    .services-slider-container {
        overflow: hidden;
        width: 100%;
    }
    
    .services-slider-track {
        display: flex;
        animation: slideServices 20s linear infinite;
        width: max-content;
    }
    
    .service-item {
        padding: 0.5rem 1rem;
        margin: 0 0.5rem;
        min-width: 140px;
        font-size: 0.8rem;
        border-radius: 20px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    /* Counter Section - CORREGIDO */
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1rem;
        display: grid;
    }
    
    .counter-item {
        text-align: center;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .counter-number {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
        line-height: 1;
    }
    
    .counter-label {
        font-size: 0.9rem;
        line-height: 1.2;
    }
    
    /* Categories Grid - CORREGIDO */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
        display: grid;
    }
    
    .category-item {
        padding: 1.5rem 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 120px;
    }
    
    .category-item h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    
    .category-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    /* Process Section */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .process-step {
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .step-number {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .step-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }
    
    /* Combos Section */
    .combos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .combo-card {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .combo-card h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .combo-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .combo-price {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .testimonial-card {
        padding: 2rem 1.5rem;
    }
    
    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* CTA Section */
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 1rem 2rem;
    }
    
    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .value-item p {
        font-size: 0.9rem;
    }
    
    /* Contact Section - CORREGIDO */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
        display: grid;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 1rem;
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
        border-radius: 8px;
        border: 1px solid var(--border);
        background: var(--bg-secondary);
        color: var(--text-primary);
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        outline: none;
        border-color: var(--primary);
        box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
    }
    
    .contact-methods {
        flex-direction: column;
        gap: 1rem;
        display: flex;
        width: 100%;
    }
    
    .contact-method {
        width: 100%;
        padding: 1.5rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 80px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .footer-brand {
        align-items: center;
    }
    
    .footer-logo {
        height: 30px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Section Titles */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        line-height: 1.2;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 var(--container-padding);
    }
    
    /* Button improvements */
    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
        border-radius: 10px;
        transition: all 0.3s ease;
    }
    
    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    }
}

/* Mobile (480px and below) - CORREGIDO */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
        --section-padding: 3rem 0;
    }
    
    /* Navigation for small mobile - CORREGIDO */
    .nav-container {
        padding: 0 0.5rem;
        position: relative;
    }
    
    .logo-img {
        height: 28px;
        max-width: 100%;
    }
    
    .nav-menu {
        top: 65px;
        padding: 1.5rem 0;
        height: calc(100vh - 65px);
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
        margin: 0 0.5rem;
        min-height: 44px;
    }
    
    .nav-toggle {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
    
    .nav-toggle span {
        width: 22px;
        height: 2px;
        display: block;
    }
    
    /* Hero Section for small mobile */
    .hero {
        padding: 5rem 0 0;
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .hero-container {
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: clamp(2rem, 10vw, 2.8rem);
        line-height: 1.1;
        margin-bottom: 1rem;
    }
    
    .hero-icon-text {
        font-size: 0.9rem;
        margin: 1rem 0;
    }
    
    .hero-buttons {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Services Slider for small mobile */
    .hero-services-slider {
        padding: 0.5rem 0;
        max-height: 8vh;
    }
    
    .service-item {
        padding: 0.4rem 0.8rem;
        margin: 0 0.3rem;
        min-width: 110px;
        font-size: 0.7rem;
        border-radius: 15px;
    }
    
    .service-item span {
        font-size: 0.65rem;
    }
    
    /* Counter Section for small mobile */
    .counter-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .counter-item {
        padding: 1.2rem;
    }
    
    .counter-number {
        font-size: 2.2rem;
        margin-bottom: 0.3rem;
    }
    
    .counter-label {
        font-size: 0.8rem;
    }
    
    /* Categories Grid for small mobile */
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }
    
    .category-item {
        padding: 1.2rem 0.8rem;
    }
    
    .category-item h3 {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }
    
    .category-item p {
        font-size: 0.75rem;
    }
    
    /* Process Section for small mobile */
    .process-steps {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .process-step {
        padding: 1.5rem 0.8rem;
    }
    
    .step-number {
        font-size: 2.5rem;
        margin-bottom: 0.8rem;
    }
    
    .step-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .step-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    /* Combos Section for small mobile */
    .combos-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .combo-card {
        padding: 1.5rem 1rem;
    }
    
    .combo-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .combo-card p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    
    .combo-price {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    /* Testimonials for small mobile */
    .testimonials-grid {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem 1rem;
    }
    
    .testimonial-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* CTA Section for small mobile */
    .cta-buttons {
        gap: 0.8rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 260px;
        padding: 0.9rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* About Section for small mobile */
    .about-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .value-item {
        padding: 1.2rem 0.8rem;
    }
    
    .value-item h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .value-item p {
        font-size: 0.8rem;
    }
    
    /* Contact Section for small mobile */
    .contact-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .contact-method {
        padding: 1.2rem;
    }
    
    /* Footer for small mobile */
    .footer-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .footer-logo {
        height: 25px;
    }
    
    /* Section Titles for small mobile */
    .section-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
        line-height: 1.2;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    /* Manifesto for small mobile */
    .manifesto {
        padding: 1.5rem 1rem;
        margin: 0 0.5rem;
    }
    
    .manifesto-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Button improvements for small mobile */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    
    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(251, 191, 36, 0.25);
    }
    
    /* Container adjustments for small mobile */
    .container {
        padding: 0 var(--container-padding);
    }
    
    /* Floating cards adjustments */
    .floating-card {
        padding: 0.8rem;
        font-size: 0.8rem;
    }
    
    .floating-card i {
        font-size: 1.2rem;
    }
    
    /* Portfolio adjustments */
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .portfolio-item {
        padding: 1rem;
    }
    
    .portfolio-info h3 {
        font-size: 1rem;
    }
    
    .portfolio-info p {
        font-size: 0.8rem;
    }
}

section,
.slider-proyectos-section {
    scroll-snap-align: start;
    min-height: 80vh;
    height: auto;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

/* Ajuste para que el contenido siga centrado y responsivo */
section > .container {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 600px) {
    section, .slider-proyectos-section {
        min-height: auto;
        display: block;
    }
}

.about-agency-section {
    min-height: 80vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    flex-direction: column;
    scroll-snap-align: start;
    padding: 6rem 0;
}
.about-agency-section .container {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
}
.about-agency-section .counter-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}
@media (max-width: 900px) {
    .about-agency-section .counter-grid {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
    .about-agency-section .container {
        gap: 2rem;
    }
}

.hero {
    scroll-snap-align: start;
    height: 90vh;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-proyectos-section,
.about-agency-section,
.combos-section,
.process-section,
.testimonials-section {
    scroll-snap-align: start;
    height: auto;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

/* Quitar scroll snap de secciones pequeñas */
.cta-section,
.client-categories,
.about-section,
.contact-section {
    scroll-snap-align: none;
    height: auto;
    min-height: auto;
    display: block;
    width: 100%;
    max-width: 100%;
}

/* Secciones que deben estar centradas (no ocupar 100% del ancho) */
.contact-section,
.cta-section,
.about-section,
.testimonials-section {
    width: 100%;
    max-width: 100%;
}

.contact-section .container,
.cta-section .container,
.about-section .container,
.testimonials-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 6rem;
    right: 2rem;
    z-index: 1000;
    pointer-events: none;
}

.whatsapp-button {
    position: relative;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: whatsappPulse 2s infinite;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    will-change: transform;
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-button:hover::before {
    opacity: 1;
}

.whatsapp-icon {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.whatsapp-button:hover .whatsapp-icon {
    transform: scale(1.1);
}

.whatsapp-tooltip {
    position: absolute;
    right: 85px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-tooltip::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid rgba(0, 0, 0, 0.9);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.whatsapp-button:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(-10px);
}

@keyframes whatsappPulse {
    0% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6), 0 0 0 20px rgba(37, 211, 102, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
    }
}

/* Responsive para WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 5rem;
        right: 1.5rem;
    }
    
    .whatsapp-button {
        width: 60px;
        height: 60px;
    }
    
    .whatsapp-icon {
        font-size: 1.75rem;
    }
    
    .whatsapp-tooltip {
        right: 75px;
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 4rem;
        right: 1rem;
    }
    
    .whatsapp-button {
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        font-size: 1.5rem;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* Animaciones de entrada para textos del hero */
.hero-animate-in {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    pointer-events: none;
}
.hero-animate-in.hero-in {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.8s cubic-bezier(.25,.46,.45,.94), transform 0.8s cubic-bezier(.25,.46,.45,.94);
}
.hero-animate-in.hero-in.delay-1 {
    transition-delay: 0.2s;
}
.hero-animate-in.hero-in.delay-2 {
    transition-delay: 0.5s;
}
.hero-animate-in.hero-in.delay-3 {
    transition-delay: 0.8s;
}

@keyframes heroInUp {
  0% { opacity: 0; transform: translateY(40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heroInDown {
  0% { opacity: 0; transform: translateY(-40px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-inUp {
  opacity: 1 !important;
  animation: heroInUp 0.8s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-inDown {
  opacity: 1 !important;
  animation: heroInDown 0.8s cubic-bezier(.25,.46,.45,.94) forwards;
}
.hero-animate-in {
  opacity: 0;
  pointer-events: none;
} 

/* Ajuste de peso de fuente y estilo para menú minimalista */
.nav-menu {
    font-weight: 300;
    font-family: 'Space Grotesk', 'Fira Mono', 'Menlo', monospace;
    letter-spacing: 0.03em;
}
.nav-menu a {
    font-weight: 300;
    font-family: inherit;
    letter-spacing: 0.03em;
}
.nav-icons {
    font-weight: 300;
}

.nav-menu, .nav-menu a {
    text-transform: uppercase;
}

.nav-menu.open, .navbar.scrolled .nav-menu.open {
    font-size: 2.2rem !important;
    letter-spacing: 0.08em;
}
.nav-menu.open a, .navbar.scrolled .nav-menu.open a {
    font-size: 2.2rem !important;
    letter-spacing: 0.08em;
}

@keyframes navbarSlideDown {
  0% { opacity: 0; transform: translateY(-60px); }
  100% { opacity: 1; transform: translateY(0); }
}
.navbar {
  opacity: 0;
  transform: translateY(-60px);
  transition: none;
}
.navbar.navbar-animate-in {
  animation: navbarSlideDown 0.8s cubic-bezier(.25,.46,.45,.94) forwards;
}

.nav-menu.open a, .navbar.scrolled .nav-menu.open a {
    position: relative;
    transition: color 0.2s, transform 0.2s cubic-bezier(.25,.46,.45,.94);
}
.nav-menu.open a::after, .navbar.scrolled .nav-menu.open a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -8px;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(.77,0,.18,1), background-position 1.5s linear;
    z-index: 1;
}
.nav-menu.open a:hover, .navbar.scrolled .nav-menu.open a:hover {
    color: var(--primary, #ffde59);
    transform: scale(1.12) translateY(-2px);
}
.nav-menu.open a:hover::after, .navbar.scrolled .nav-menu.open a:hover::after {
    width: 100%;
    background-position: 100% 0;
}

/* === PORTFOLIO MODERNO === */
.portfolio-section-modern {
    width: 100vw;
    min-height: 80vh;
    background: var(--background, #0a0a0a);
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 2.2fr 2fr;
    width: 100vw;
    max-width: 1800px;
    min-height: 70vh;
    margin: 0 auto;
    border-top: 1.5px solid rgba(255,255,255,0.12);
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    background: transparent;
}
.portfolio-particles-col {
    background: transparent;
    border-right: 1.5px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 120px;
    min-height: 300px;
}
#portfolioParticles {
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
}
.portfolio-list-col {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border-right: 1.5px solid rgba(255,255,255,0.12);
    padding: 0 2vw;
}
.portfolio-list {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.portfolio-list li {
    font-size: 2.2rem;
    font-family: 'Space Grotesk', 'Fira Mono', 'Menlo', monospace;
    font-weight: 400;
    color: var(--text-primary, #fff);
    border-bottom: 1.5px solid rgba(255,255,255,0.12);
    padding: 2.2rem 0 1.2rem 0;
    cursor: pointer;
    letter-spacing: 0.01em;
    transition: color 0.2s, background 0.2s;
    position: relative;
    background: transparent;
}
.portfolio-list li:last-child {
    border-bottom: none;
}
.portfolio-list li:hover, .portfolio-list li.active {
    color: var(--primary, #ffde59);
    background: rgba(255,255,255,0.03);
}
.portfolio-image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    min-width: 220px;
    min-height: 300px;
    position: relative;
}
.portfolio-image-preview {
    width: 90%;
    max-width: 420px;
    min-height: 320px;
    aspect-ratio: 4/3;
    background: #181818;
    border-radius: 1.2rem;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(.25,.46,.45,.94), background-image 0.2s;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%) scale(0.98);
}
.portfolio-image-preview.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%,-50%) scale(1);
}
@media (max-width: 1100px) {
    .portfolio-grid {
        grid-template-columns: 1fr 2.5fr 2.5fr;
    }
    .portfolio-list li {
        font-size: 1.3rem;
        padding: 1.2rem 0 0.7rem 0;
    }
    .portfolio-image-preview {
        min-height: 180px;
        max-width: 260px;
    }
}
@media (max-width: 700px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 120px auto 220px;
    }
    .portfolio-particles-col, .portfolio-list-col, .portfolio-image-col {
        border: none;
        min-width: 0;
    }
    .portfolio-list-col {
        padding: 0 1vw;
    }
    .portfolio-image-col {
        min-height: 120px;
    }
    .portfolio-image-preview {
        min-height: 120px;
        max-width: 90vw;
        border-radius: 0.7rem;
    }
}

/* Blog Section Styles - Compact Design */
.blog-section {
    padding: var(--section-padding);
    background: var(--bg-secondary);
    position: relative;
}

.blog-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.blog-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blog-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Featured Post - Compact */
.featured-post-compact {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.featured-post-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.featured-post-compact .featured-post-image {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.featured-post-compact .featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-post-compact:hover .featured-post-image img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-post-compact:hover .featured-overlay {
    opacity: 1;
}

.featured-read-btn {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.featured-read-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--bg-primary);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.featured-post-compact .featured-post-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-category {
    background: var(--secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-date, .post-read-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.featured-post-compact .featured-post-title {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.featured-post-compact .featured-post-excerpt {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.featured-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Blog Cards Grid - Compact */
.blog-cards-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card-compact {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.blog-card-compact .blog-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card-compact .blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card-compact:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-compact .blog-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card-compact:hover .blog-card-overlay {
    opacity: 1;
}

.blog-card-compact .read-more-btn {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.blog-card-compact .read-more-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.blog-card-compact .blog-card-content {
    padding: 1.5rem;
}

.blog-card-compact .blog-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.blog-card-compact .blog-card-excerpt {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-card-compact .blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.8rem;
    border-top: 1px solid var(--border);
}

.blog-card-compact .read-more-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.blog-card-compact .read-more-link:hover {
    color: var(--primary-dark);
}

/* Blog CTA - Compact */
.blog-cta-compact {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive Blog - Compact */
@media (max-width: 900px) {
    .blog-content-wrapper {
        padding: 0 1rem;
    }
    
    .featured-post-compact {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 600px;
    }
    
    .featured-post-compact .featured-post-image {
        min-height: 250px;
    }
    
    .featured-post-compact .featured-post-content {
        padding: 1.5rem;
    }
    
    .featured-post-compact .featured-post-title {
        font-size: 1.3rem;
    }
    
    .blog-cards-compact {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
        max-width: 600px;
    }
}

@media (max-width: 600px) {
    .blog-cards-compact {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .featured-post-compact .featured-post-content {
        padding: 1.2rem;
    }
    
    .blog-card-compact .blog-card-content {
        padding: 1.2rem;
    }
    
    .post-meta {
        gap: 0.5rem;
    }
    
    .featured-post-compact .featured-post-title {
        font-size: 1.2rem;
    }
    
    .blog-card-compact .blog-card-title {
        font-size: 1rem;
    }
}

/* Blog Post Page Styles */
.blog-post-main {
    padding-top: 120px;
    min-height: 100vh;
    background: var(--bg-primary);
}

.blog-post {
    padding: var(--section-padding);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.breadcrumb .separator {
    color: var(--text-muted);
}

.breadcrumb .current {
    color: var(--text-secondary);
}

/* Post Header */
.post-header {
    margin-bottom: 3rem;
    text-align: center;
}

.post-header .post-meta {
    justify-content: center;
    margin-bottom: 2rem;
}

.post-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.post-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-primary);
}

.post-excerpt {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.post-header .post-tags {
    justify-content: center;
}

/* Featured Image */
.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Content */
.post-content {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    line-height: 1.8;
    color: var(--text-primary);
}

.post-content h2 {
    font-size: 2rem;
    margin: 3rem 0 1.5rem 0;
    color: var(--text-primary);
}

.post-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem 0;
    color: var(--text-primary);
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.post-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.post-content blockquote {
    background: var(--bg-card);
    border-left: 4px solid var(--primary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    font-style: italic;
    position: relative;
}

.post-content blockquote p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-content blockquote cite {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Share Buttons */
.post-share {
    text-align: center;
    margin-bottom: 4rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.post-share h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Related Posts */
.related-posts {
    margin-bottom: 4rem;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--text-primary);
}

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

.related-post-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-primary);
}

/* Post CTA */
.post-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.post-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.post-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Blog Post */
@media (max-width: 900px) {
    .post-title {
        font-size: 2.5rem;
    }
    
    .post-content {
        padding: 0 1rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .share-btn {
        width: 200px;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .blog-post-main {
        padding-top: 100px;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-excerpt {
        font-size: 1.1rem;
    }
    
    .post-content h2 {
        font-size: 1.5rem;
    }
    
    .post-content h3 {
        font-size: 1.3rem;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .post-cta {
        padding: 2rem 1rem;
    }
    
    .post-cta h3 {
        font-size: 1.5rem;
    }
}

/* Blog Main Page Styles */
.blog-header {
    padding: 120px 0 4rem 0;
    background: var(--bg-secondary);
    text-align: center;
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
    pointer-events: none;
}

.blog-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.blog-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.blog-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.blog-main {
    padding: 4rem 0;
    background: var(--bg-primary);
}

/* Featured Posts Section */
.featured-posts-section {
    margin-bottom: 4rem;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-post-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.featured-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.featured-post-card .featured-post-image {
    height: 250px;
    position: relative;
}

.featured-post-card .featured-post-content {
    padding: 2rem;
}

.featured-post-card .featured-post-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.featured-post-card .featured-post-excerpt {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Categories Filter */
.categories-filter {
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border);
}

.filter-container h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.filter-btn:hover {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary);
}

/* All Posts Section */
.all-posts-section {
    margin-bottom: 4rem;
}

.all-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Newsletter Section */
.newsletter-section {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.newsletter-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: var(--text-secondary);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.2);
}

.newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* Responsive Blog Main */
@media (max-width: 900px) {
    .blog-title {
        font-size: 3rem;
    }
    
    .featured-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .blog-header {
        padding: 100px 0 3rem 0;
    }
    
    .blog-title {
        font-size: 2.5rem;
    }
    
    .blog-subtitle {
        font-size: 1.2rem;
    }
    
    .blog-description {
        font-size: 1rem;
    }
    
    .newsletter-section {
        padding: 2rem 1rem;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .categories-filter {
        padding: 1.5rem;
    }
}

/* ===== BLOG RESPONSIVE IMPROVEMENTS ===== */

/* Blog responsive improvements for mobile */
@media (max-width: 600px) {
    .blog-cards-compact {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .featured-post-compact .featured-post-content {
        padding: 1.5rem;
    }
    
    .blog-card-compact .blog-card-content {
        padding: 1.5rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .featured-post-compact .featured-post-title {
        font-size: 1.3rem;
        line-height: 1.3;
    }
    
    .blog-card-compact .blog-card-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .featured-post-compact .featured-post-excerpt {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .blog-card-compact .blog-card-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .post-tags {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Mobile blog improvements */
@media (max-width: 480px) {
    .blog-content-wrapper {
        gap: 2rem;
        padding: 0 0.5rem;
    }
    
    .featured-post-compact {
        margin-bottom: 2rem;
    }
    
    .featured-post-compact .featured-post-content {
        padding: 1.2rem;
    }
    
    .featured-post-compact .featured-post-title {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .featured-post-compact .featured-post-excerpt {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .blog-cards-compact {
        gap: 1.2rem;
    }
    
    .blog-card-compact .blog-card-content {
        padding: 1.2rem;
    }
    
    .blog-card-compact .blog-card-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .blog-card-compact .blog-card-excerpt {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .post-meta {
        font-size: 0.75rem;
    }
    
    .post-category {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }
    
    .featured-read-btn,
    .read-more-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .blog-cta-compact {
        padding: 1.5rem 1rem;
        text-align: center;
    }
    
    .blog-cta-compact h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .blog-cta-compact p {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
}

/* ===== MOBILE NAVIGATION ANIMATIONS ===== */

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

/* ===== TOUCH IMPROVEMENTS FOR MOBILE ===== */

@media (max-width: 768px) {
    /* Improve touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-toggle {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Improve scrolling performance */
    .hero-services-slider {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .btn:hover {
            transform: none;
            box-shadow: none;
        }
        
        .category-item:hover {
            transform: none;
        }
        
        .combo-card:hover {
            transform: none;
        }
        
        .testimonial-card:hover {
            transform: none;
        }
        
        .portfolio-item:hover {
            transform: none;
        }
        
        .value-item:hover {
            transform: none;
        }
        
        .contact-method:hover {
            transform: none;
        }
        
        .floating-card:hover {
            transform: none;
        }
    }
}

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

@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 70vh;
        padding: 4rem 0 2rem;
    }
    
    .hero-container {
        gap: 1rem;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    
    .hero-services-slider {
        max-height: 6vh;
    }
    
    .nav-menu {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */

@media (max-width: 768px) {
    /* Improve focus indicators */
    .btn:focus,
    .nav-menu a:focus,
    .nav-toggle:focus {
        outline: 2px solid var(--primary);
        outline-offset: 2px;
    }
    
    /* Improve color contrast for better readability */
    .hero-icon-text {
        color: var(--text-primary);
    }
    
    .counter-label {
        color: var(--text-secondary);
    }
    
    /* Ensure sufficient text size */
    .hero-icon-text,
    .counter-label,
    .category-item p,
    .step-description,
    .combo-card p,
    .testimonial-content p,
    .value-item p {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }
}

/* ===== HERO & SERVICES MOBILE FIXES ===== */

/* Clases de visibilidad */
.desktop-only {
    display: none;
}

.mobile-only {
    display: block;
}

/* Mostrar elementos desktop en pantallas grandes */
@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }
    
    .mobile-only {
        display: none !important;
    }
}

/* Mostrar elementos móviles en pantallas pequeñas */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}

/* ===== CRITICAL MOBILE FIXES ===== */

/* Fix for iOS Safari issues */
@supports (-webkit-touch-callout: none) {
    .nav-menu {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .hero-container {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .btn {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Fix for Android Chrome issues */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .nav-menu {
        will-change: transform;
    }
    
    .hero-services-slider {
        will-change: transform;
    }
}

/* Fix for viewport height issues on mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height */
    }
    
    .nav-menu {
        height: calc(100vh - 70px);
        height: calc(100dvh - 70px);
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }
    
    .nav-menu {
        height: calc(100vh - 65px);
        height: calc(100dvh - 65px);
    }
}

/* Fix for touch scrolling issues */
@media (max-width: 768px) {
    body {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    .nav-menu {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
}

/* Fix for button touch targets */
@media (max-width: 768px) {
    .btn,
    .nav-toggle,
    .nav-menu a,
    .contact-method,
    .category-item {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Fix for text rendering */
@media (max-width: 768px) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
}

/* Fix for grid layout issues */
@media (max-width: 768px) {
    .counter-grid,
    .categories-grid,
    .combos-grid,
    .testimonials-grid,
    .values-grid,
    .contact-content {
        display: grid !important;
    }
}

/* Fix for flexbox issues */
@media (max-width: 768px) {
    .hero-buttons,
    .hero-icon-text,
    .contact-methods,
    .cta-buttons {
        display: flex !important;
    }
}

/* Fix for overflow issues */
@media (max-width: 768px) {
    .container {
        overflow-x: hidden;
        max-width: 100vw;
    }
    
    section {
        overflow-x: hidden;
    }
}

/* Fix for z-index issues */
@media (max-width: 768px) {
    .navbar {
        z-index: 1000;
    }
    
    .nav-menu {
        z-index: 999;
    }
    
    .nav-toggle {
        z-index: 1001;
    }
}

.desktop-only { display: block; }
.mobile-only { display: none; }

/* Reglas de navegación móvil movidas a responsive-fixes.css */
@media (max-width: 768px) {
  .combos-section,
  .slider-proyectos-section,
  .about-agency-section,
  .process-section,
  .testimonials-section {
    height: auto !important;
    min-height: auto !important;
    display: block !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .combos-section .container {
    padding-top: 0 !important;
  }
}

/* Modal de Asesoría */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.modal-body {
    padding: 2rem;
}

.modal-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.asesoria-form .form-group {
    margin-bottom: 1.5rem;
}

.asesoria-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.asesoria-form input,
.asesoria-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.asesoria-form input:focus,
.asesoria-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.asesoria-form input::placeholder,
.asesoria-form textarea::placeholder {
    color: var(--text-secondary);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

/* Font ultra light para inputs y p en formularios */
.asesoria-form input,
.asesoria-form textarea,
.asesoria-form select,
.asesoria-form input::placeholder,
.asesoria-form textarea::placeholder,
.asesoria-form p,
.form-group input,
.form-group textarea,
.form-group select,
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group p {
    font-weight: 200 !important;
}

/* Forzar font ultra light en inputs y textarea, incluyendo hijos */
.asesoria-form textarea,
.asesoria-form textarea *,
.asesoria-form input,
.asesoria-form input *,
.form-group textarea,
.form-group textarea *,
.form-group input,
.form-group input * {
    font-weight: 200 !important;
    font-family: var(--font-body), Arial, sans-serif !important;
}

/* Importar Montserrat con peso 200 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;700&display=swap');

:root {
  --font-body: 'Montserrat', Arial, sans-serif;
}

/* Forzar font ultra light en inputs y textarea, usando Montserrat 200 */
.asesoria-form input,
.asesoria-form textarea,
.asesoria-form select,
.asesoria-form input::placeholder,
.asesoria-form textarea::placeholder,
.form-group input,
.form-group textarea,
.form-group select,
.form-group input::placeholder,
.form-group textarea::placeholder {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 200 !important;
    letter-spacing: 0.01em !important;
}

@media (max-width: 768px) {
  /* Desactivar animaciones de entrada SOLO en las secciones principales en móvil */
  .about-agency-section[data-animation],
  .combos-section[data-animation],
  .process-section[data-animation],
  .testimonials-section[data-animation],
  .slider-proyectos-section[data-animation],
  section[data-animation],
  .about-agency-section.animate-fadeInUp,
  .combos-section.animate-fadeInUp,
  .process-section.animate-fadeInUp,
  .testimonials-section.animate-fadeInUp,
  .slider-proyectos-section.animate-fadeInUp,
  section.animate-fadeInUp {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Si hay otras clases de entrada de sección, agrégalas aquí */
}

@media (max-width: 768px) {
  /* Desactiva TODAS las animaciones de entrada dentro de las secciones principales en móvil */
  .about-agency-section [data-animation],
  .combos-section [data-animation],
  .process-section [data-animation],
  .testimonials-section [data-animation],
  .slider-proyectos-section [data-animation],
  .about-agency-section .animate-fadeInUp,
  .combos-section .animate-fadeInUp,
  .process-section .animate-fadeInUp,
  .testimonials-section .animate-fadeInUp,
  .slider-proyectos-section .animate-fadeInUp,
  .about-agency-section .animate-fadeInLeft,
  .combos-section .animate-fadeInLeft,
  .process-section .animate-fadeInLeft,
  .testimonials-section .animate-fadeInLeft,
  .slider-proyectos-section .animate-fadeInLeft,
  .about-agency-section .animate-fadeInRight,
  .combos-section .animate-fadeInRight,
  .process-section .animate-fadeInRight,
  .testimonials-section .animate-fadeInRight,
  .slider-proyectos-section .animate-fadeInRight,
  .about-agency-section .animate-scaleIn,
  .combos-section .animate-scaleIn,
  .process-section .animate-scaleIn,
  .testimonials-section .animate-scaleIn,
  .slider-proyectos-section .animate-scaleIn {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  #mejores-trabajos-mobil .section-3d-revealed,
  .about-agency-section .section-3d-revealed,
  #combos .section-3d-revealed,
  .process-section .section-3d-revealed,
  .section-3d-revealed {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .hero-buttons .btn.btn-primary {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

.portfolio-list-btn {
  color: #fff !important;
  text-decoration: none !important;
  font: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.portfolio-list-btn:hover, .portfolio-list-btn:focus {
  color: var(--primary, #ffde59) !important;
  text-decoration: none !important;
}

@media (max-width: 900px) {
  .slider-proyectos-section {
    width: 100%;
    min-height: unset;
    left: 0;
    right: 0;
    margin-left: 0;
    margin-right: 0;
    background: #000;
    overflow: visible;
    z-index: 1;
    display: block;
    transform: none !important;
    opacity: 1 !important;
    transition: none !important;
    will-change: unset;
    padding: 0;
  }
}
