/* --- ESTILOS GENERALES Y DE FONDO --- */
body { 
    background: linear-gradient(135deg, #00132f 0%, #000a1a 100%); 
    overflow-x: hidden; 
}
.glass-card { 
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px); 
    border: 1px solid rgba(255, 255, 255, 0.15); 
}
.floating-logo { 
    position: absolute; 
    color: rgba(197, 40, 40, 0.1); 
    z-index: 0; 
    will-change: transform; 
}
main { 
    z-index: 10; 
}

/* --- NUEVO: ESTILOS SHOWCASE DE SERVICIOS --- */
.services-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem; /* Aumentado para más espacio */
    margin-bottom: 2.5rem; /* Aumentado para más separación */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}
.service-icon-link {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.75rem; /* 28px */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.service-icon-link:hover {
    color: #c52828;
    transform: translateY(-5px) scale(1.1);
}
.service-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #00132f;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    font-size: 0.8rem;
    line-height: 1.4;
    width: max-content;
    max-width: 220px;
    text-align: center;
    white-space: normal;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}
.service-icon-link:hover .service-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* --- ESTILOS DEL WIZARD --- */
.step { display: none; }
.step.active { display: block; }
#progressBar { 
    background: linear-gradient(90deg, #e02d2d, #c52828); 
    transition: width 0.6s cubic-bezier(0.65, 0, 0.35, 1); 
}
.tooltip-container { position: relative; display: inline-block; }
.tooltip-trigger { cursor: pointer; color: rgba(255, 255, 255, 0.6); transition: color 0.3s; margin-left: 8px; }
.tooltip-trigger:hover { color: white; }
.tooltip-content { 
    position: absolute; bottom: 125%; left: 50%; transform: translateX(-50%); 
    background-color: #00132f; color: #fff; padding: 12px; border-radius: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 4px 15px rgba(0,0,0,0.3); 
    width: 280px; z-index: 20; opacity: 0; visibility: hidden; 
    transition: opacity 0.3s, visibility 0.3s; font-size: 0.875rem; line-height: 1.4; 
}
.tooltip-content.visible { opacity: 1; visibility: visible; }
.tooltip-content::after { 
    content: ''; position: absolute; top: 100%; left: 50%; margin-left: -5px; 
    border-width: 5px; border-style: solid; border-color: #00132f transparent transparent transparent; 
}

/* --- ESTILOS BOTONES DE DIAGNÓSTICO --- */
.btn-crystal {
    display: inline-block; padding: 0.75rem 1.5rem; border-radius: 9999px; font-weight: bold;
    transition: all 0.3s ease; transform-origin: center;
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    color: white; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-crystal:hover { 
    transform: scale(1.05); box-shadow: 0 6px 25px rgba(197, 40, 40, 0.3); 
    border-color: rgba(197, 40, 40, 0.5);
}
.btn-crystal-red {
    background: linear-gradient(45deg, #c52828, #a12020); border-color: #c52828;
}
.btn-crystal-red:hover {
    background: linear-gradient(45deg, #e02d2d, #b82525);
}
.btn-crystal-whatsapp { 
    background: linear-gradient(45deg, #25D366, #128C7E); border-color: #25D366; 
}
.btn-crystal-whatsapp:hover { 
    background: linear-gradient(45deg, #29e870, #15a591); 
}

/* --- ESTILOS BOTÓN FLOTANTE WHATSAPP --- */
@keyframes shake-animation { 0%, 100% { transform: translateX(0); } 10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); } 20%, 40%, 60%, 80% { transform: translateX(5px); } }
#whatsapp-float { position: fixed; right: 20px; bottom: 20px; z-index: 1000; animation: shake-animation 1.5s ease-in-out 5s infinite; }
#whatsapp-float .bubble { position: absolute; right: 70px; bottom: 10px; background: white; color: #00132f; padding: 8px 12px; border-radius: 15px; font-size: 0.9rem; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,0.2); white-space: nowrap; opacity: 0; visibility: hidden; transition: all 0.3s; transform: translateX(10px); }
#whatsapp-float .bubble::after { content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%); width: 0; height: 0; border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 6px solid white; }
#whatsapp-float:hover .bubble { opacity: 1; visibility: visible; transform: translateX(0); }
#whatsapp-float:hover { animation-play-state: paused; }

/* --- ESTILOS BANNER DE COOKIES --- */
#cookie-consent { display: none; position: fixed; bottom: 0; left: 0; width: 100%; z-index: 2000; background: rgba(0, 19, 47, 0.9); backdrop-filter: blur(5px); color: white; padding: 1rem; }
#acceptCookieConsent { background-color: #c52828; color: white; }
#acceptCookieConsent:hover { background-color: #e02d2d; }