/* =========================================
   CREATIVE HERO - GLOBAL DESIGN (FULL RESPONSIVE)
   ========================================= */

.creative-hero {
    position: relative;
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at top right, #001d3d 0%, #050505 60%);
    padding: 80px 0; /* Espacio para la navbar */
}

/* Efectos de Fondo */
.cursor-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
}

.hero-background-waves {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 145, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 145, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    perspective: 1000px;
    transform: rotateX(60deg) translateY(-20%) scale(1.2);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 20%, transparent 80%);
    z-index: 2;
    animation: moveGrid 40s linear infinite;
}

@keyframes moveGrid {
    from { background-position: 0 0; }
    to { background-position: 0 1000px; }
}

/* Contenedor Principal */
.hero-container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 60px;
}

/* Columna Izquierda: Texto */
.hero-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeIn 1s forwards 0.5s;
}

.hero-tagline { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
    margin-bottom: 20px;
}

.here-text { 
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary); 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 5px; 
    font-size: 0.8rem; 
}

.hero-title { 
    font-family: 'Montserrat', sans-serif; 
    line-height: 1.1;
    margin-bottom: 20px;
}

.we-are { 
    font-size: 1.5rem; 
    font-weight: 300; 
    color: #888; 
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.main-text { 
    font-size: clamp(2rem, 4.5vw, 3.8rem); 
    font-weight: 900; 
    text-transform: uppercase;
    letter-spacing: -1px;
}

.blue-text { 
    color: var(--primary); 
    text-shadow: 0 0 30px var(--primary-glow);
}

.services-scroll {
    color: #888;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-transform: uppercase;
    max-width: 500px;
}

.hero-actions { 
    display: flex; 
    gap: 20px; 
}

.btn {
    padding: 18px 35px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

/* Columna Derecha: Slider */
.hero-right {
    position: relative;
    opacity: 0;
    animation: fadeIn 1s forwards 0.8s;
}

.slider-window {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    position: relative;
    box-shadow: 0 50px 80px rgba(0,0,0,0.6);
    overflow: hidden;
}

.png-slider {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.png-slide {
    position: absolute;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    opacity: 0;
    filter: brightness(0.8) blur(5px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.8);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.png-slide.active {
    opacity: 1;
    filter: brightness(1) blur(0);
    transform: translate(-50%, -55%) scale(1);
}

.slider-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 5;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    font-size: 1.2rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

/* Social Switcher (Flotante) */
.social-switcher {
    position: absolute;
    right: -110px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.social-btn.insta:hover { background: var(--instagram); box-shadow: 0 0 20px var(--instagram); transform: scale(1.1); }
.social-btn.fb:hover { background: var(--facebook); box-shadow: 0 0 20px var(--facebook); transform: scale(1.1); }
.social-btn.wa:hover { background: var(--whatsapp); box-shadow: 0 0 20px var(--whatsapp); transform: scale(1.1); }

@keyframes fadeIn { to { opacity: 1; transform: translate(0); } }

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */

@media (max-width: 1250px) {
    .social-switcher { right: -60px; }
}

@media (max-width: 1100px) {
    .social-switcher {
        position: relative;
        right: 0; top: 0;
        transform: none;
        flex-direction: row;
        justify-content: center;
        margin: 40px auto 0;
        width: fit-content;
    }
}

@media (max-width: 992px) {
    .creative-hero { padding: 120px 0 60px; }
    .hero-content { grid-template-columns: 1fr; text-align: center; gap: 50px; }
    .hero-tagline, .hero-actions { justify-content: center; }
    .hero-left { order: 1; }
    .hero-right { order: 2; width: 100%; max-width: 500px; margin: 0 auto; }
    .services-scroll { margin: 0 auto 30px; }
    .slider-window { height: 400px; }
}

@media (max-width: 768px) {
    .hero-container { padding: 0 20px; }
    .main-text { font-size: 2.2rem; }
    .hero-background-waves { opacity: 0.5; transform: rotateX(60deg) translateY(-10%) scale(1.5); }
    .cursor-glow { width: 300px; height: 300px; }
    .slider-window { height: 350px; border-radius: 20px; }
    .slider-caption { font-size: 1rem; bottom: 20px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .main-text { font-size: 1.8rem; }
    .we-are { font-size: 1.1rem; }
    .services-scroll { font-size: 0.65rem; }
}