/* ═══════════════════════════════════════
   DWC — Estilos Compartidos
   ═══════════════════════════════════════ */

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Plus Jakarta Sans', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; }

/* Sidebar nav */
.sidebar-nav { transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.sidebar-nav:hover { width: 16rem; }
.sidebar-nav .nav-label {
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.sidebar-nav:hover .nav-label {
    opacity: 1;
    transform: translateX(0);
}

/* Editorial shadow */
.editorial-shadow { box-shadow: 16px 16px 0px 0px #d4e6fb; }
.editorial-shadow-sm { box-shadow: 8px 8px 0px 0px #d4e6fb; }

/* Scroll animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #00ABE4 0%, #0088b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile menu */
.mobile-overlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-panel {
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-overlay.active .mobile-panel {
    transform: translateX(0);
}

/* Decorative grid pattern */
.grid-pattern {
    background-image:
        linear-gradient(rgba(0,171,228,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,171,228,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f6f9fc; }
::-webkit-scrollbar-thumb { background: #00ABE4; border-radius: 3px; }

/* CTA pulse */
@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}
.cta-pulse::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: #25d366;
    animation: pulse-ring 2s ease-out infinite;
    z-index: -1;
}

/* ═══════════════════════════════════════
   Index — Estilos específicos
   ═══════════════════════════════════════ */

/* Service card hover lift */
.service-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
}

/* Marquee */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track {
    animation: marquee 30s linear infinite;
}
.marquee-track:hover {
    animation-play-state: paused;
}

/* ═══════════════════════════════════════
   Nosotros — Estilos específicos
   ═══════════════════════════════════════ */

/* Pillar card hover */
.pillar-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.pillar-card:hover {
    transform: translateY(-10px);
}

/* Counter animation */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Diagonal stripe background */
.diagonal-stripes {
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 30px,
        rgba(0,171,228,0.03) 30px,
        rgba(0,171,228,0.03) 60px
    );
}

/* ═══════════════════════════════════════
   Blog — Estilos específicos
   ═══════════════════════════════════════ */

/* Blog card hover */
.blog-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,171,228,0.12);
}

/* ═══════════════════════════════════════
   Soporte — Estilos específicos
   ═══════════════════════════════════════ */

/* FAQ animation */
.faq-item {
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
    border-color: #00ABE4;
    box-shadow: 0 4px 20px rgba(0,171,228,0.08);
}

/* ═══════════════════════════════════════
   Portafolio — Estilos específicos
   ═══════════════════════════════════════ */

/* Portfolio item hover */
.portfolio-item {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}
.portfolio-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,171,228,0.12);
}
