@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
    --primary: #0052FF;
    --primary-dark: #0041CC;
    --primary-light: #EBF2FF;
    --secondary: #0A2540;
    --secondary-dark: #061626;
    --accent: #00D2FF;
    --accent-glow: rgba(0, 210, 255, 0.35);
    --whatsapp: #25D366;
    --whatsapp-dark: #1EBE5D;
    --text-main: #0A2540;
    --text-muted: #52667D;
    --bg-light: #F8FAFC;
    --border-color: #E2E8F0;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background-color: #FFFFFF;
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

/* Glassmorphism & Cards */
.glass-nav {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px -10px rgba(10, 37, 64, 0.06);
}

.glass-card-dark {
    background: rgba(10, 37, 64, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Glows & Gradients */
.bg-gradient-brand {
    background: linear-gradient(135deg, #0A2540 0%, #0052FF 60%, #00D2FF 100%);
}

.bg-gradient-hero {
    background: radial-gradient(circle at 80% 20%, rgba(0, 82, 255, 0.08) 0%, transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(0, 210, 255, 0.08) 0%, transparent 60%),
                #FFFFFF;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #0052FF 0%, #0084FF 100%);
}

.text-gradient {
    background: linear-gradient(135deg, #0052FF 0%, #00D2FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #0A2540 0%, #0052FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Shadows */
.shadow-brand {
    box-shadow: 0 12px 30px -6px rgba(0, 82, 255, 0.35);
}

.shadow-brand-hover:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 82, 255, 0.45);
    transform: translateY(-3px);
}

.shadow-wa {
    box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.45);
}

/* Interactive Buttons */
.btn-primary {
    background: linear-gradient(135deg, #0052FF 0%, #0070FF 100%);
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0041CC 0%, #0052FF 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(0, 82, 255, 0.4);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #20BA5C 100%);
    color: #FFFFFF;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #1EBE5D 0%, #179E4E 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -6px rgba(37, 211, 102, 0.45);
}

/* Audio Wave Visualizer */
.audio-bar {
    width: 4px;
    background: #00D2FF;
    border-radius: 999px;
    animation: bounce 1.2s ease-in-out infinite alternate;
}

.audio-bar:nth-child(2) { animation-delay: 0.2s; }
.audio-bar:nth-child(3) { animation-delay: 0.4s; }
.audio-bar:nth-child(4) { animation-delay: 0.1s; }
.audio-bar:nth-child(5) { animation-delay: 0.3s; }
.audio-bar:nth-child(6) { animation-delay: 0.5s; }

@keyframes bounce {
    0% { height: 6px; }
    100% { height: 28px; }
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 82, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(0, 82, 255, 0);
    }
}

.animate-pulse-glow {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseWa {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }
}

.animate-pulse-wa {
    animation: pulseWa 2s infinite;
}

/* Service Card Hover */
.service-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 82, 255, 0.4);
    box-shadow: 0 20px 40px -15px rgba(0, 82, 255, 0.15);
}

/* Floating WhatsApp Widget */
.wa-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 99;
}

.wa-popup {
    transform-origin: bottom right;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wa-popup.hidden-popup {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85) translateY(20px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #F1F5F9;
}

::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94A3B8;
}

/* Admin Dashboard Specific Styles */
.admin-sidebar-item {
    transition: all 0.2s ease;
}

.admin-sidebar-item.active {
    background: rgba(0, 82, 255, 0.1);
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.admin-sidebar-item:hover:not(.active) {
    background: #F8FAFC;
    color: var(--text-main);
}

.badge-status {
    padding: 3px 10px;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pendiente {
    background-color: #FEF3C7;
    color: #92400E;
}

.badge-contactado {
    background-color: #DBEAFE;
    color: #1E40AF;
}

.badge-cerrado {
    background-color: #D1FAE5;
    color: #065F46;
}

/* Toast Notifications */
#toast-container {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast-item {
    animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
