@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Inter:wght@200;300;400;500;600&display=swap');

:root {
    --bg-dark: #050505; 
    --card-bg: rgba(15, 15, 15, 0.65);
    --brand-violet: #6366f1;
    --light-violet: #a78bfa;
    --deep-violet: #4338ca;
    --glow-violet: #8b5cf6;
    --weather-sun: #fbbf24;
    --weather-rain: #60a5fa;
    --weather-cloud: #94a3b8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 12rem;
    opacity: 0;
}

.font-mont { font-family: 'Montserrat', sans-serif; }
.font-800 { font-family: 'Montserrat', sans-serif; font-weight: 800; }

#main-loader {
    position: fixed; inset: 0; background: var(--bg-dark);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
}

.ambient-bg { position: fixed; inset: 0; z-index: -3; pointer-events: none;}
.blob { position: absolute; filter: blur(80px); opacity: 0.25; border-radius: 50%; }
.blob-1 { background: var(--brand-violet); width: 120vw; height: 120vw; top: -30%; left: -20%; }
.blob-2 { background: #312e81; width: 120vw; height: 120vw; bottom: -15%; right: -25%; }

@media (min-width: 1024px) {
    .blob { filter: blur(130px); opacity: 0.15; }
    .blob-1 { width: 60vw; height: 60vw; top: -15%; left: -15%; }
    .blob-2 { width: 50vw; height: 50vw; bottom: -5%; right: -5%; }
}

.glass-pro {
    background: var(--card-bg);
    backdrop-filter: blur(35px); -webkit-backdrop-filter: blur(35px);
    border-radius: 2.2rem; 
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -15px rgba(0,0,0,0.9), inset 0 1px 1px 0 rgba(255,255,255,0.05);
}

.weather-liquid {
    background: rgba(30, 30, 45, 0.4);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    padding: 6px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px -5px rgba(0,0,0,0.5), inset 0 2px 5px rgba(255,255,255,0.05);
    transition: all 0.5s ease;
}

.weather-liquid.sunny i { color: var(--weather-sun); filter: drop-shadow(0 0 8px var(--weather-sun)); }
.weather-liquid.cloudy i { color: var(--weather-cloud); filter: drop-shadow(0 0 8px var(--weather-cloud)); }
.weather-liquid.rainy i { color: var(--weather-rain); filter: drop-shadow(0 0 8px var(--weather-rain)); }

.weather-text-main { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 10px; color: #fff; letter-spacing: 0.05em; text-transform: uppercase;}
.weather-text-sub { font-size: 8px; font-weight: 500; color: #a1a1aa; letter-spacing: 0.02em; }

.card-flash-border { position: relative; }
.card-flash-border::after {
    content: '';
    position: absolute; inset: 0; border-radius: 2.2rem; padding: 0.5px;
    background: linear-gradient(90deg, transparent 20%, var(--brand-violet) 40%, var(--light-violet) 50%, var(--brand-violet) 60%, transparent 80%);
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    animation: shimmer-border 3s linear infinite;
    pointer-events: none; z-index: 1; opacity: 0.8;
}
@keyframes shimmer-border {
    0% { background-position: 150% 0; }
    100% { background-position: -50% 0; }
}

.unified-badge { 
    background: var(--brand-violet); 
    border-radius: 9999px; 
    padding: 0.4rem 0.4rem 0.4rem 1.2rem; 
    display: inline-flex; 
    align-items: center; 
    font-size: 9px; 
    font-family: 'Montserrat', sans-serif; 
    font-weight: 700; 
    color: white;
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.5);
    transition: all 0.3s ease;
}
.unified-badge:hover { transform: translateY(-1px); box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.6); }

.dock-glass {
    position: fixed; bottom: 35px; left: 50%; transform: translateX(-50%);
    background: rgba(20, 20, 35, 0.35); backdrop-filter: blur(50px); -webkit-backdrop-filter: blur(50px);
    border-radius: 9999px; padding: 10px 20px;
    display: flex; align-items: center; gap: 12px; z-index: 100;
    border: 1px solid rgba(99, 102, 241, 0.25);
    box-shadow: 0 25px 80px -10px rgba(0,0,0,0.9);
}

.dock-item { display: flex; align-items: center; text-decoration: none; padding: 10px 14px; border-radius: 9999px; transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); }
.dock-item i { font-size: 22px; color: #6b7280; transition: all 0.4s ease; }
.dock-text { max-width: 0; opacity: 0; overflow: hidden; white-space: nowrap; font-family: 'Montserrat', sans-serif; font-size: 10px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.12em; transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1); }
.dock-item:hover { background: rgba(99, 102, 241, 0.2); gap: 10px; }
.dock-item:hover i { color: #fff; filter: drop-shadow(0 0 12px var(--brand-violet)); }
.dock-item:hover .dock-text { max-width: 130px; opacity: 1; margin-left: 6px; }

.home-center-btn {
    width: 62px; height: 62px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 35%, var(--light-violet) 0%, var(--brand-violet) 50%, var(--deep-violet) 100%);
    margin: 0 5px; margin-top: -1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.4);
    box-shadow: inset -6px -6px 15px rgba(0,0,0,0.6), inset 6px 6px 12px rgba(255,255,255,0.15);
    transition: all 0.4s ease-out;
    animation: spectrum-glow 3s infinite ease-in-out;
}

@keyframes spectrum-glow {
    0%, 100% { box-shadow: 0 0 35px 5px rgba(99, 102, 241, 0.6); }
    50% { box-shadow: 0 0 85px 20px rgba(139, 92, 246, 0.9); }
}

.bar-container { height: 2px; background: rgba(255,255,255,0.05); overflow: hidden; flex: 1; margin: 0 8px 10px 8px; border-radius: 99px; }
.bar-fill { height: 100%; width: 0%; background: var(--brand-violet); box-shadow: 0 0 15px var(--brand-violet); }

.start-dot { 
    width: 10px; height: 10px; background: var(--brand-violet); border-radius: 50%; 
    box-shadow: 0 0 15px var(--brand-violet); animation: dotBreathe 2s infinite ease-in-out; 
}
@keyframes dotBreathe { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.3); } }

.live-tag { background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.2); padding: 4px 10px; border-radius: 9999px; display: flex; align-items: center; gap: 6px; font-family: 'Montserrat', sans-serif; }
.live-dot { width: 6px; height: 6px; background: #10b981; border-radius: 50%; box-shadow: 0 0 10px #10b981; animation: dotBreathe 2s infinite ease-in-out; }

.icon-sphere { background: #0a0a0a; border-radius: 50%; width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; margin-left: 1rem; }
.nota-text { font-size: 9.5px; font-weight: 500; line-height: 1.6; color: #6b7280; font-style: italic; letter-spacing: -0.01em; }
@keyframes drive { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(2px); } }
.animate-drive { display: inline-block; animation: drive 1.2s infinite ease-in-out; }

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* =========================================
   SECCIÓN EMPRESA - ESTILOS ESPECÍFICOS
   ========================================= */

/* Fondo Scrolleable con luces integradas (PC y Móvil) */
.bg-empresa-hero {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    z-index: -2;
    background-image: 
        linear-gradient(to right, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 40%, rgba(5,5,5,0.2) 100%),
        url('servi_sign.jpg'); 
    background-size: cover;
    background-position: center right; 
    background-repeat: no-repeat;
    filter: saturate(0.85) contrast(1.1); 
}

/* Tarjetas Modulares Glass */
.apple-glass {
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
    backdrop-filter: blur(35px) saturate(140%);
    -webkit-backdrop-filter: blur(35px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    border-right: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 2rem;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

.google-pill {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

/* Botón de Acción (Call to Action) */
.btn-system {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4), inset 0 2px 5px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.btn-system:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.6);
}

/* Responsive Celulares */
@media (max-width: 768px) {
    .bg-empresa-hero {
        background-image: 
            linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.8) 50%, rgba(5,5,5,0.2) 100%),
            url('servi_sign_m_v2.jpg'); 
        background-position: top center;
    }
    .content-wrapper { padding-top: 50vh !important; }
    .apple-glass { border-radius: 1.5rem; padding: 1.5rem !important; }
}


/* =========================================
   BASE DE CONOCIMIENTO 
   ========================================= */

/* Fondo ahumado */
.bg-faq-hero {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -2;
    /* Sombra negra horizontal (PC) + tu foto */
    background-image: linear-gradient(to right, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.7) 40%, rgba(5,5,5,0.2) 100%), url('https://servigraphic.com.ar/tiempo-de-desarrollo/bg_cnc.jpg'); 
    background-size: cover; background-position: center right;
    opacity: 0.25;
}

@media (max-width: 768px) {
    .bg-faq-hero {
        /* Sombra negra vertical (Celular) + LA MISMA FOTO */
        background-image: linear-gradient(to top, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.8) 50%, rgba(5,5,5,0.2) 100%), url('https://servigraphic.com.ar/tiempo-de-desarrollo/bg_cnc.jpg');
        background-position: center; height: 100dvh;
        opacity: 0.32;
    }
}



/* 2. El Glow (Luz) en la punta superior izquierda  */
.bg-faq-hero::after {
    content: ''; 
    position: absolute; top: -20%; left: -10%;
    width: 60vw; height: 80vw;
    /* Solo es una bola de luz violeta difuminada, la foto queda intacta */
    background: radial-gradient(circle, rgba(79, 70, 229, 0.85) 0%, transparent 75%);
    pointer-events: none; z-index: -1;
}

@media (max-width: 768px) {
    .bg-faq-hero::after {
    content: ''; 
    position: absolute; top: -20%; left: -10%;
    width: 60vw; height: 80vw;
    /* Solo es una bola de luz violeta difuminada, la foto queda intacta */
    background: radial-gradient(circle, rgba(79, 70, 229, 0.25) 0%, transparent 75%);
    pointer-events: none; z-index: -1;
}
}



/* Migas de Pan (Breadcrumbs) */
.breadcrumbs {
    font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; color: #6b7280;
}
.breadcrumbs a { color: #9ca3af; transition: color 0.3s; }
.breadcrumbs a:hover { color: #818cf8; }

/* Filtros Rápidos (Píldoras) */
.faq-filter-btn {
    padding: 0.5rem 1.2rem; border-radius: 2rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.02); color: #9ca3af; transition: all 0.3s; cursor: pointer;
}
.faq-filter-btn.active, .faq-filter-btn:hover {
    background: rgba(129, 140, 248, 0.15); border-color: #818cf8; color: #fff;
}

/* Acordeón Glass con Efecto Magnético */
.faq-glass {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); overflow: hidden;
}

/* El resplandor que sigue al mouse */
.faq-glass::before {
    content: ''; position: absolute; top: var(--mouse-y, 0); left: var(--mouse-x, 0);
    width: 400px; height: 400px;
    background: radial-gradient(circle closest-side, rgba(129, 140, 248, 0.15), transparent);
    transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 0.3s; z-index: 0;
}
.faq-glass:hover::before { opacity: 1; }

.faq-trigger {
    position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem; cursor: pointer; text-align: left;
}
.faq-icon { color: #818cf8; transition: transform 0.4s ease; }
.faq-content {
    position: relative; z-index: 1; max-height: 0; opacity: 0; padding: 0 1.5rem; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-glass.active { border-color: rgba(129, 140, 248, 0.5); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.faq-glass.active .faq-icon { transform: rotate(45deg); color: #fff; }
/* CORRECCIÓN PM: max-height a 1000px para que las respuestas largas no se corten en celulares */
.faq-glass.active .faq-content { max-height: 1000px; opacity: 1; padding-bottom: 1.5rem; }

/* Botón Copiar Link y Feedback */
.faq-action-btn {
    color: #6b7280; transition: color 0.3s; cursor: pointer; font-size: 1.2rem;
}
.faq-action-btn:hover { color: #818cf8; }
.feedback-btn { font-size: 0.7rem; text-transform: uppercase; font-weight: bold; padding: 0.3rem 0.8rem; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.1); color: #9ca3af; transition: all 0.3s; }
.feedback-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.feedback-btn.voted { background: rgba(129, 140, 248, 0.2); color: #818cf8; border-color: #818cf8; }

/* Ocultar elementos en búsqueda */
.hidden-faq { display: none !important; }

    /* =========================================
       MENU (Láser Outline)
       ========================================= */
    .dock-item.active {
        color: #818cf8 !important; /* Lila/Índigo corporativo */
        position: relative;
    }

    /* Brillo Neon en el ícono (Outline, no relleno) */
    .dock-item.active i {
        /* Múltiples capas de drop-shadow para sombra violeta densa */
        filter: 
            drop-shadow(0 0 2px rgba(129, 140, 248, 0.9)) /* Núcleo brillante */
            drop-shadow(0 0 10px rgba(129, 140, 248, 0.7)) /* Sombra violeta media */
            drop-shadow(0 0 20px rgba(129, 140, 248, 0.4)); /* Aura amplia */
    }

    /* Línea inferior estilo láser CNC */
    .dock-item.active::after {
        content: '';
        position: absolute;
        bottom: -8px; 
        left: 50%;
        transform: translateX(-50%);
        width: 18px;
        height: 3px;
        background: #818cf8;
        border-radius: 4px;
        box-shadow: 0 0 8px #818cf8, 0 0 15px rgba(129, 140, 248, 0.5);
        animation: laserPulse 2s infinite ease-in-out;
    }

    /* Animación de "respiración" de la luz */
    @keyframes laserPulse {
        0%, 100% { opacity: 0.7; width: 18px; }
        50% { opacity: 1; width: 24px; box-shadow: 0 0 12px #818cf8, 0 0 20px rgba(129, 140, 248, 0.8); }
    }