/* --- Variables y Estilos Globales --- */
:root {
    --primary-dark: #000000;
    --card-bg: #1f1f1f;
    --accent-gradient: linear-gradient(90deg, #d71204, #f9bf00, #03c0aa);
    --text-light: #f0f4f8;
    --text-secondary: #a0b2c2;
    --text-dark: #333;
    --bg-light: #ffffff;
}
body { font-family: 'Inter', sans-serif; margin: 0; background-color: var(--primary-dark); color: var(--text-light); }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 2.8rem; text-align: center; margin-bottom: 0.5rem; font-weight: 800; }
.section-subtitle { font-size: 1.2rem; text-align: center; color: var(--text-secondary); max-width: 600px; margin: 0 auto 4rem auto; }

/* --- Navbar --- */
.navbar { background: rgba(18, 18, 18, 0.8); backdrop-filter: blur(10px); padding: 1.2rem 0; border-bottom: 1px solid #333; position: sticky; top: 0; z-index: 1000; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.logo {
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 1001;
    display: flex;
    align-items: center;
}
.logo-img {
    height: 40px;
    filter: brightness(0) invert(1);
    -webkit-mask-image: var(--accent-gradient);
    mask-image: var(--accent-gradient);
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
.nav-links { list-style: none; display: flex; align-items: center; gap: 2rem; margin: 0; }
.nav-links a { text-decoration: none; color: var(--text-light); font-weight: 600; }

/* Botón de Nav mejorado */
.cta-button-nav { 
    background: var(--accent-gradient); 
    color: var(--primary-dark); 
    padding: 0.6rem 1.2rem; 
    border-radius: 5px; 
    font-weight: 700; 
    box-shadow: 0 2px 10px rgba(246, 208, 84, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cta-button-nav:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(246, 208, 84, 0.4);
}

.nav-toggle { display: none; }

/* --- Hero --- */
.hero { text-align: center; padding: 7rem 0; }
.hero h1 { font-size: 3.8rem; line-height: 1.2; margin-bottom: 1rem; font-weight: 800; }
.subtitle { font-size: 1.5rem; color: var(--text-secondary); margin-bottom: 2.5rem; }
.dynamic-text { color: transparent; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; font-weight: 700; border-right: 3px solid #F7D054; padding-right: 5px; animation: blink 0.7s infinite; }
@keyframes blink { 50% { border-color: transparent; } }

.cta-button-main { background: var(--accent-gradient); color: var(--primary-dark); padding: 1rem 2.5rem; border-radius: 5px; text-decoration: none; font-weight: 700; font-size: 1.1rem; transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(246, 208, 84, 0.3); border: none; cursor: pointer; }
.cta-button-main:hover { transform: translateY(-5px); box-shadow: 0 6px 25px rgba(246, 208, 84, 0.5); }

/* Grupo de botones del Hero */
.hero-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap; /* Para móviles */
}

/* Nuevo estilo de botón secundario */
.cta-button-secondary {
    background: transparent;
    color: var(--text-light);
    padding: calc(1rem - 2px) calc(2.5rem - 2px); 
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid #444; 
    transition: all 0.3s ease;
    cursor: pointer;
}
.cta-button-secondary:hover {
    background: var(--card-bg); 
    border-color: var(--card-bg);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


/* ========= CLASE DE UTILIDAD ========= */
.gradient-text {
    color: transparent;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 700;
}

/* --- Services (ESTILOS ANTIGUOS - AHORA USADOS POR LA NUEVA SECCIÓN) --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.service-card { background: var(--card-bg); padding: 2.5rem 2rem; border-radius: 10px; border-top: 4px solid; border-image: var(--accent-gradient) 1; transition: transform 0.3s ease; display: flex; flex-direction: column; }
.service-card:hover { transform: translateY(-10px); }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.service-card p { flex-grow: 1; }
.card-action-button { background: var(--accent-gradient); border: none; color: var(--primary-dark); padding: 0.7rem 1.5rem; border-radius: 5px; font-weight: 700; font-size: 0.9rem; cursor: pointer; margin-top: 1.5rem; transition: all 0.3s ease; }
.card-action-button:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(246, 208, 84, 0.4); }

/* --- Alliances (LOGOS EN LÍNEA Y TAMAÑO REDUCIDO) --- */
.alliances { padding: 6rem 0; background: var(--card-bg); }
.alliance-logos { display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 2rem; overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none; padding-bottom: 20px; }
.alliance-logos::-webkit-scrollbar { display: none; }
.alliance-logo-container { display: flex; justify-content: center; align-items: center; height: 65px; min-width: 180px; flex-shrink: 0; transition: all 0.3s ease; }
.logo-item { max-height: 100%; max-width: 100%; filter: brightness(0) invert(1); opacity: 0.7; transition: all 0.3s ease; }
.alliance-logo-container:hover { transform: scale(1.1); }
.alliance-logo-container:hover .logo-item { opacity: 1; }

/* --- Methodology (CON DISEÑO 2x2 Y HOVER) --- */
.methodology { padding: 6rem 0; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2.5rem; }
.step-card { background: var(--card-bg); padding: 2.5rem; border-radius: 10px; border: 2px solid transparent; background-clip: padding-box; transition: all 0.3s ease; }
.step-card:hover { transform: translateY(-5px); border-image: var(--accent-gradient) 1; }
.step-card h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 1rem; margin-top: 0; margin-bottom: 1rem; }
.step-card h3 span { color: transparent; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; font-size: 2.5rem; font-weight: 800; }
.step-card p { font-size: 1rem; line-height: 1.6; margin-bottom: 0; }

/* --- Animación de Scroll --- */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* --- Animación de pulso para Chat Bubble (NUEVA) --- */
@keyframes pulse-chat {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(246, 208, 84, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 25px rgba(246, 208, 84, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(246, 208, 84, 0.3);
    }
}

/* ==============================================
--- CHATBOT (ESTILOS TOTALMENTE RENOVADOS) ---
==============================================
*/
.chat-bubble { 
    position: fixed; 
    bottom: 25px; 
    right: 25px; 
    width: 60px; 
    height: 60px; 
    background: var(--accent-gradient); 
    border-radius: 50%; 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    cursor: pointer; 
    color: var(--primary-dark); 
    transition: transform 0.3s ease; 
    z-index: 1001; 
    /* Animación de pulso */
    animation: pulse-chat 2s infinite ease-in-out;
}
.chat-bubble:hover { 
    transform: scale(1.1); /* Mantenemos el hover por si la animación se quita */
}

.chat-window { 
    position: fixed; 
    bottom: 100px; 
    right: 25px; 
    width: 350px; 
    max-width: 90vw; 
    height: 500px; 
    /* Usamos los colores de la marca */
    background: var(--card-bg); 
    border-radius: 15px; 
    box-shadow: 0 5px 35px rgba(0,0,0,0.5); 
    display: none; 
    flex-direction: column; 
    overflow: hidden; 
    /* Animación de entrada */
    transform: translateY(20px); 
    opacity: 0; 
    transition: all 0.3s ease-in-out; 
    z-index: 1000; 
    transform-origin: bottom right; 
    border: 1px solid #333;
}
.chat-window.open { 
    display: flex; 
    transform: translateY(0); 
    opacity: 1; 
}

.chat-header { 
    background: var(--primary-dark); 
    color: var(--text-light); 
    padding: 1rem; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    /* Borde gradiente */
    border-bottom: 2px solid;
    border-image: var(--accent-gradient) 1;
}
.chat-header h3 { 
    margin: 0; 
    font-size: 1.1rem;
    font-weight: 600;
}
/* El botón de cerrar 'X' ya existe en 'app.js', 
   solo necesita estar en el header */
.chat-header .modal-close-btn {
    position: static;
    width: 28px;
    height: 28px;
    font-size: 16px;
    background: var(--card-bg);
    border: 1px solid #444;
}

.chat-body { 
    flex-grow: 1; 
    padding: 1rem; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 0.75rem;
    background: var(--primary-dark); /* Fondo más oscuro para contraste */
}

/* --- Estilos de Mensajes Renovados --- */
.chat-message { 
    padding: 0.75rem 1rem; 
    border-radius: 20px; 
    max-width: 80%; 
    line-height: 1.4; 
    color: var(--text-dark);
    transition: transform 0.2s ease, opacity 0.2s ease;
    /* Animación de entrada */
    transform: scale(0.95);
    opacity: 0;
    animation: pop-in 0.3s forwards;
}

@keyframes pop-in {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.chat-message.user { 
    /* El usuario usa el gradiente */
    background: var(--accent-gradient); 
    color: var(--primary-dark);
    font-weight: 600;
    align-self: flex-end; 
    border-bottom-right-radius: 5px; 
}
.chat-message.lumi { 
    /* Lumi usa el estilo de tarjeta */
    background: var(--card-bg); 
    color: var(--text-light);
    align-self: flex-start; 
    border-bottom-left-radius: 5px; 
    border: 1px solid #333;
}
.chat-message.lumi.typing { 
    font-style: italic; 
    color: var(--text-secondary);
    border: none;
    background: transparent;
}

/* --- Footer Renovado --- */
.chat-footer { 
    display: flex; 
    padding: 1rem; 
    border-top: 2px solid;
    border-image: var(--accent-gradient) 1;
    background: var(--primary-dark);
    gap: 0.75rem;
}
#chatInput { 
    flex-grow: 1; 
    border: 1px solid #444; 
    background: var(--card-bg);
    border-radius: 20px; 
    padding: 0.75rem 1.25rem; 
    font-size: 1rem;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    transition: border 0.3s ease;
}
#chatInput::placeholder {
    color: var(--text-secondary);
    opacity: 0.8;
}
#chatInput:focus {
    outline: none;
    border-width: 1px;
    border-style: solid;
    border-image: var(--accent-gradient) 1;
    box-shadow: 0 0 10px rgba(246, 208, 84, 0.3);
}

#sendButton { 
    background: var(--accent-gradient); 
    color: var(--primary-dark); 
    border: none; 
    border-radius: 50%; 
    width: 45px; 
    height: 45px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#sendButton:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(246, 208, 84, 0.4);
}
#sendButton svg {
    margin-left: -2px; /* Ajuste visual del ícono */
}

/* --- Ventanas Modales --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); display: none; justify-content: center; align-items: center; z-index: 2000; opacity: 0; transition: opacity 0.3s ease; }
.modal-overlay.open { display: flex; opacity: 1; }
.modal-content { background-color: #fff; padding: 20px; border-radius: 10px; width: 90%; max-width: 800px; max-height: 90vh; position: relative; transform: scale(0.9); transition: transform 0.3s ease; display: flex; flex-direction: column; }
.modal-overlay.open .modal-content { transform: scale(1); }
/* Botón de cerrar por defecto, usado por Modales Y Chat */
.modal-close-btn { position: absolute; top: -15px; right: -15px; background: var(--primary-dark); color: white; border: 2px solid white; border-radius: 50%; width: 35px; height: 35px; font-size: 20px; cursor: pointer; display: flex; justify-content: center; align-items: center; line-height: 1; z-index: 10; }
.modal-body { flex-grow: 1; overflow-y: auto; }
.modal-body iframe { width: 100%; height: 100%; min-height: 550px; }

/* --- Footer (DISEÑO OSCURO) --- */
.dark-footer { background-color: var(--card-bg); color: var(--text-secondary); padding: 5rem 0 2rem 0; border-top: 4px solid; border-image: var(--accent-gradient) 1; }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 3rem; margin-bottom: 4rem; }
.footer-col h4 { color: var(--text-light); font-weight: 600; margin-bottom: 1.5rem; font-size: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a, .footer-col a { text-decoration: none; color: var(--text-secondary); transition: all 0.3s ease; }
.footer-links a:hover { color: var(--text-light); padding-left: 5px; }
.footer-tagline { margin-top: 1rem; font-size: 0.9rem; max-width: 250px; }
.footer-logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
    -webkit-mask-image: var(--accent-gradient);
    mask-image: var(--accent-gradient);
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
}
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid #333; font-size: 0.9rem; color: #888; }

/* --- Burbuja Flotante de Redes Sociales --- */
.social-bubble-container { position: fixed; bottom: 25px; left: 25px; z-index: 1001; }
.social-trigger { display: flex; justify-content: center; align-items: center; width: 60px; height: 60px; background: var(--accent-gradient); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.2); color: var(--primary-dark); transition: transform 0.3s ease; }
.social-trigger svg { width: 32px; height: 32px; transition: transform 0.3s ease; }
.social-bubble-container.active .social-trigger svg { transform: rotate(45deg); }
.social-links-menu { position: absolute; bottom: 75px; left: 5px; display: flex; flex-direction: column; gap: 1rem; opacity: 0; transform: translateY(10px); transition: all 0.3s ease; pointer-events: none; }
.social-bubble-container.active .social-links-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.social-link { display: flex; justify-content: center; align-items: center; width: 50px; height: 50px; border-radius: 50%; color: white; box-shadow: 0 2px 10px rgba(0,0,0,0.2); transition: transform 0.3s ease; }
.social-link:hover { transform: scale(1.1); }
.social-link.whatsapp { background: #25D366; }
.social-link.instagram { background: #E4405F; }

/* ==============================================
--- ESTILOS PARA LA HERRAMIENTA DE CV (LUMI CAREER) ---
============================================== */
.cv-tool-page {
    padding: 4rem 0;
}
.intro-section {
    padding: 6rem 0;
    text-align: center;
}
.intro-section .section-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

/* CARACTERÍSTICAS (2X2) - ADAPTADO AL ESTILO DE "NUESTRA FORMA DE TRABAJAR" */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas fijas */
    gap: 1.5rem; /* Usamos el gap estándar de la metodología */
    margin-top: 4rem;
    text-align: left;
}

.feature-item {
    /* --- IMITANDO STYLE.CSS > .step-card --- */
    background: var(--card-bg);
    padding: 2.5rem; /* Usamos padding estándar de la metodología */
    border-radius: 10px;
    /* Aplicamos hover y estilos de borde de step-card */
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
    
    /* Mantenemos el flex para la estructura interna */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-item:hover {
    transform: translateY(-5px);
    /* Aplicamos el hover con gradiente como en la metodología */
    border-image: var(--accent-gradient) 1;
}

.feature-icon {
    /* Ocultamos el ícono original ya que usamos el número */
    display: none; 
}

/* Estilo para el título de la tarjeta (ahora con el número) */
.feature-item h3 {
    font-size: 1.5rem; /* Tamaño del título de metodología */
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-light);
    display: flex; /* Para alinear el número y el texto */
    align-items: center;
    gap: 0.75rem;
}

.feature-item h3 span.step-number {
    /* Estilo del número (01., 02., etc.) */
    color: transparent; 
    background: var(--accent-gradient); 
    -webkit-background-clip: text; 
    background-clip: text; 
    font-size: 2.5rem; /* Tamaño del número de metodología */
    font-weight: 800;
}

.feature-item p {
    font-size: 1rem; /* Tamaño de texto de metodología */
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}


/* AJUSTE RESPONSIVO PARA features-grid */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
        gap: 1.5rem; 
    }
    .feature-item {
        aspect-ratio: unset; 
    }
}
@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr; 
    }
}


.cta-intro-wrapper {
    margin-top: 5rem;
}
.cv-tool-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-top: 4rem;
}
.cv-tool-header .section-title {
    color: var(--text-light);
}
.cv-uploader-box, .status-box, .results-box {
    background-color: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    margin: 0 auto;
    text-align: center;
}
.cv-uploader-box {
    max-width: 700px;
}
.results-box {
    max-width: 1100px;
}
.customization-step {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #333;
}
.customization-step h3 {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.option-group {
    text-align: left;
}
.option-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.option-group select, .option-group input, #jobDescription {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-dark);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    box-sizing: border-box;
}
#jobDescription {
    min-height: 120px;
    resize: vertical;
}
.upload-area {
    border: 2px dashed var(--text-secondary);
    border-radius: 10px;
    padding: 3rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.upload-area.active, .upload-area:hover {
    border-color: var(--accent-gradient);
    background-color: rgba(255, 255, 255, 0.05);
}
.upload-area p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-secondary);
}
#fileName {
    display: block;
    margin-top: 1rem;
    color: var(--text-light);
}
.cta-button-main:disabled {
    background: #555;
    background-image: none;
    color: #999;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    opacity: 0.5;
    transition: background-color 0.3s ease, opacity 0.3s ease;
}
.status-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: 600px;
}
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--text-secondary);
    border-top-color: var(--text-light);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

.results-box h2 {
    font-size: 1.8rem;
    color: var(--text-light);
}
.cv-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.cv-preview-card {
    background-color: var(--primary-dark);
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}
.cv-preview-card:hover {
    transform: translateY(-10px);
}
.preview-image-container {
    background-color: #555;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    height: 300px;
    overflow: hidden;
    border: 1px solid #444;
}
.preview-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.cv-preview-card h3 {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}
.cta-button-main.small {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}
.extra-content-box {
    text-align: left;
    margin-top: 4rem;
    border-top: 1px solid #333;
    padding-top: 2rem;
}
.extra-content-section {
    background: var(--primary-dark);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 1px solid #333;
}
.extra-content-section h3 {
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 1rem;
}
.extra-content-section ul {
    padding-left: 20px;
    margin: 0;
}
.extra-content-section li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

/* ==============================================
--- ESTILOS NUEVOS PARA SERVICIOS INTERACTIVOS ---
==============================================
*/
.interactive-services {
    padding: 6rem 0;
}

.service-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.tab-button {
    background-color: var(--card-bg);
    color: var(--text-secondary);
    border: 1px solid #333;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--text-light);
    background-color: #2a2a2a;
    transform: translateY(-3px);
}

.tab-button.active {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(246, 208, 84, 0.3);
}

.tab-content-wrapper {
    position: relative;
    min-height: 350px; /* Evita saltos de layout */
}

.tab-content {
    opacity: 0;
    position: absolute;
    width: 100%;
    transform: translateY(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
    pointer-events: none;
}

.tab-content.active {
    opacity: 1;
    transform: translateY(0);
    position: relative; /* Ocupa espacio en el layout */
    pointer-events: auto;
}

.sub-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sub-service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sub-service-card:hover {
    transform: translateY(-8px);
    border-top: 4px solid;
    border-image: var(--accent-gradient) 1;
    padding-top: calc(2.5rem - 4px); /* Compensa el borde */
}

.sub-service-card h4 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.sub-service-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.6;
    flex-grow: 1; /* Empuja el botón hacia abajo */
}

.sub-service-card.with-button p {
    margin-bottom: 1.5rem; 
    flex-grow: 0; /* No empuja el botón */
}

/* ===== NUEVO BOTÓN "MÁS INFORMACIÓN" ===== */
.card-action-button-details {
    background-color: transparent;
    border: 1px solid #444;
    color: var(--text-secondary);
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
}
.card-action-button-details:hover {
    background-color: var(--primary-dark);
    color: var(--text-light);
    border-color: #555;
}


/* --- ESTILOS PARA MODAL DE TRANSPARENCIA --- */
.transparency-modal-content {
    background-color: var(--card-bg);
    color: var(--text-light);
    border: 1px solid #333;
    max-width: 500px;
    padding-top: 40px;
    text-align: center;
}
.transparency-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}
.transparency-logo {
    height: 40px;
    filter: brightness(0) invert(1) opacity(0.8);
}
.transparency-logo.dreamlum-logo {
    -webkit-mask-image: var(--accent-gradient);
    mask-image: var(--accent-gradient);
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
    filter: none;
}
.logo-separator {
    font-size: 2rem;
    color: var(--text-secondary);
    font-weight: 600;
}
.transparency-modal-content h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}
.transparency-modal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1rem;
}
.transparency-modal-content p strong {
    color: var(--text-light);
    font-weight: 600;
}
#continueToTuuBtn {
    margin-top: 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

/* --- ESTILOS PARA PÁGINA DE CONFIRMACIÓN (de confirmacion.html) --- */
.confirmation-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    padding: 4rem 0;
}
.confirmation-box {
    background-color: var(--card-bg);
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    max-width: 600px;
    border-top: 4px solid;
    border-image: var(--accent-gradient) 1;
}
.confirmation-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}
.confirmation-box .section-title {
    font-size: 2.5rem;
}
.fallback-link {
    color: var(--text-light);
    text-decoration: underline;
    font-weight: 600;
    margin-top: 2rem;
    display: inline-block;
}

/* ======================================================
--- ESTILOS SECCIÓN INDUSTRIAS (ACTUALIZADOS) ---
======================================================
*/
.industries-section {
    padding: 6rem 0 8rem 0; 
    background: var(--primary-dark); 
    text-align: center;
    overflow-x: hidden; /* Evita scroll horizontal */
}

.words-cloud-container {
    position: relative;
    height: 350px; /* Altura fija para el área de animación */
    margin-top: 3rem;
}

/* --- Animación de Flotación --- */
@keyframes float-up {
    0% {
        transform: translateY(0px);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-350px);
        opacity: 0;
    }
}

.word-bubble {
    position: absolute;
    bottom: -20px; 
    display: block;
    padding: 0.5rem 1.2rem;
    border-radius: 30px; 
    background: var(--accent-gradient); 
    color: var(--primary-dark); 
    border: none; 
    box-shadow: 0 4px 15px rgba(246, 208, 84, 0.3); 
    font-weight: 700; 
    font-size: 1.1rem;
    animation: float-up 10s linear infinite;
    opacity: 0; 
}

/* Estilos individuales para cada burbuja */
.word-bubble.w1 { font-size: 1.5rem; left: 5%; animation-duration: 8s; animation-delay: 0s; }
.word-bubble.w2 { font-size: 1rem; left: 12%; animation-duration: 12s; animation-delay: -3s; }
.word-bubble.w3 { font-size: 1.8rem; left: 18%; animation-duration: 7s; animation-delay: -5s; }
.word-bubble.w4 { font-size: 1.2rem; left: 26%; animation-duration: 10s; animation-delay: -1s; }
.word-bubble.w5 { font-size: 1.6rem; left: 33%; animation-duration: 8s; animation-delay: -8s; }
.word-bubble.w6 { font-size: 1.1rem; left: 40%; animation-duration: 11s; animation-delay: -4s; }
.word-bubble.w7 { font-size: 1.4rem; left: 48%; animation-duration: 9s; animation-delay: -2s; }
.word-bubble.w8 { font-size: 1.2rem; left: 55%; animation-duration: 13s; animation-delay: -6s; }
.word-bubble.w9 { font-size: 1.7rem; left: 62%; animation-duration: 8s; animation-delay: -10s; }
.word-bubble.w10 { font-size: 1.3rem; left: 70%; animation-duration: 10s; animation-delay: -7s; }
.word-bubble.w11 { font-size: 1.1rem; left: 78%; animation-duration: 14s; animation-delay: -9s; }
.word-bubble.w12 { font-size: 1.6rem; left: 85%; animation-duration: 9s; animation-delay: -11s; }
.word-bubble.w13 { font-size: 1.4rem; left: 2%; animation-duration: 10s; animation-delay: -6s; }
.word-bubble.w14 { font-size: 1.7rem; left: 90%; animation-duration: 7s; animation-delay: -1s; }
.word-bubble.w15 { font-size: 1.2rem; left: 75%; animation-duration: 13s; animation-delay: -8s; }
.word-bubble.w16 { font-size: 1.5rem; left: 58%; animation-duration: 9s; animation-delay: -3s; }
.word-bubble.w17 { font-size: 1.8rem; left: 43%; animation-duration: 8s; animation-delay: -12s; }
.word-bubble.w18 { font-size: 1.3rem; left: 22%; animation-duration: 11s; animation-delay: -9s; }


/* ==============================================
--- ESTILOS FORMULARIO DE CONTACTO (NUEVO) ---
==============================================
*/
.contact-form-section {
    padding: 6rem 0;
    background-color: var(--card-bg);
    border-top: 1px solid #333;
}

.form-container-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--primary-dark);
    padding: 2.5rem;
    border-radius: 10px;
    border: 1px solid #333;
    position: relative; /* Para la animación */
    overflow: hidden; /* Para la animación */
}

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: var(--card-bg); /* Fondo más oscuro que el contenedor */
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.phone-group {
    display: flex;
    gap: 0.5rem;
}

.phone-group select {
    width: 120px;
    flex-shrink: 0;
}

.phone-group input[type="tel"] {
    width: 100%;
}

.form-submit-wrapper {
    text-align: center;
    margin-top: 1rem;
}

/* --- Animación de Envío --- */
#contactForm.form-submitting {
    opacity: 0;
    transform: scale(0.9);
}
#formSuccessMessage {
    text-align: center;
    color: var(--text-light);
}
#formSuccessMessage h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: transparent;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
}
#formSuccessMessage p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

#contactSubmitBtn {
    position: relative;
    transition: all 0.3s ease;
}
#contactSubmitBtn .btn-text {
    transition: opacity 0.3s ease;
}
#contactSubmitBtn.loading {
    background: var(--card-bg);
    color: transparent;
    cursor: wait;
}
#contactSubmitBtn.loading .btn-text {
    opacity: 0;
}
#contactSubmitBtn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #F55348; 
    border-right-color: #F7D054;
    border-bottom-color: #48F5E1;
    animation: spin 0.8s linear infinite;
}


/* ======================================================
--- ESTILOS PARA NUEVAS PÁGINAS DE SERVICIOS ---
======================================================
*/

/* --- Hero de Página de Servicio --- */
.service-hero {
    padding: 6rem 0;
    text-align: center;
    border-bottom: 4px solid;
    border-image: var(--accent-gradient) 1;
    background-size: cover;
    background-position: center;
    background-color: var(--primary-dark);
    background-blend-mode: overlay;
}
.service-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}
.service-hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Fondos de Hero Específicos (Opcional) --- */
/* (Puedes añadir URLs de imágenes de fondo aquí) */
.personas-hero { background-image: url('httpsf://via.placeholder.com/1500x500/121212/111111?text=Gestión+de+Personas'); }
.marketing-hero { background-image: url('httpsf://via.placeholder.com/1500x500/121212/111111?text=Marketing+y+Ventas'); }
.diseno-hero { background-image: url('httpsf://via.placeholder.com/1500x500/121212/111111?text=Diseño+Creativo'); }
.tecnologia-hero { background-image: url('httpsf://via.placeholder.com/1500x500/121212/111111?text=Tecnología+TUU'); }
.cv-hero { background-image: url('httpsf://via.placeholder.com/1500x500/121212/111111?text=Lumi+Career'); } 


/* --- Contenedor de Contenido de Servicio --- */
.service-content {
    padding: 6rem 0;
}
.service-detail-block {
    max-width: 800px;
    margin: 0 auto 5rem auto;
    padding: 2.5rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    border-top: 4px solid;
    border-image: var(--accent-gradient) 1;
}
/* Hacer que el ID del ancla se alinee correctamente */
.service-detail-block {
    scroll-margin-top: 100px; 
}
.service-detail-block h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.5rem;
}
.service-detail-block .service-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}
.service-detail-block h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    border-bottom: 1px solid #444;
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

/* --- Lista de Servicios Enumerada --- */
.service-feature-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    counter-reset: item-feature; 
}
.service-feature-list li {
    position: relative;
    padding-left: 50px;
    font-size: 1.1rem;
    line-height: 1.6;
}
/* Estilo de número llamativo */
.service-feature-list li::before {
    content: counter(item-feature, decimal-leading-zero);
    counter-increment: item-feature;
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 1.8rem;
    font-weight: 800;
    color: transparent;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
}
.service-feature-list li strong {
    display: block;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* ======================================================
--- ESTILOS PÁGINA TECNOLOGÍA (TUU) ---
======================================================
*/
.tuu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.tuu-card {
    background-color: var(--primary-dark);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}
.tuu-card:hover {
    transform: translateY(-5px);
    border-color: #555;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.tuu-image-container {
    position: relative;
    margin-bottom: 2rem;
    animation: float-animation 6s infinite ease-in-out;
}
.tuu-image-container img {
    width: 100%;
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.4));
}
/* Animación de "flotación" */
@keyframes float-animation {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Animación de "brillo" */
.tuu-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    box-shadow: 0 0 25px rgba(247, 208, 84, 0.5);
    opacity: 0;
    animation: glow-animation 6s infinite ease-in-out;
}
@keyframes glow-animation {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Retrasos de animación para cada tarjeta */
.tuu-card:nth-child(2) .tuu-image-container {
    animation-delay: -2s;
}
.tuu-card:nth-child(2) .tuu-image-container::after {
    animation-delay: -2s;
}
.tuu-card:nth-child(3) .tuu-image-container {
    animation-delay: -4s;
}
.tuu-card:nth-child(3) .tuu-image-container::after {
    animation-delay: -4s;
}


.tuu-card h4 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}
.tuu-card .service-feature-list li::before {
    /* Hacemos los números más pequeños para las tarjetas */
    font-size: 1.5rem;
    top: 0;
}
.tuu-card .service-feature-list li {
    font-size: 1rem;
    text-align: left;
}


/*
==============================================
--- ESTILOS RESPONSIVOS PARA MÓVILES ---
==============================================
*/
@media (max-width: 768px) {
    /* --- AJUSTES GENERALES --- */
    .section-title { font-size: 2.2rem; }
    .section-subtitle { font-size: 1.1rem; }
    /* --- MENÚ DE NAVEGACIÓN (HAMBURGUESA) --- */
    .nav-toggle { display: block; background: transparent; border: none; cursor: pointer; z-index: 1001; }
    .hamburger { display: block; position: relative; width: 25px; height: 2px; background: var(--text-light); transition: all 0.2s ease-in-out; }
    .hamburger::before, .hamburger::after { content: ''; position: absolute; width: 25px; height: 2px; background: var(--text-light); transition: all 0.2s ease-in-out; }
    .hamburger::before { top: -8px; }
    .hamburger::after { bottom: -8px; }
    .nav-toggle.active .hamburger { background: transparent; }
    .nav-toggle.active .hamburger::before { transform: rotate(45deg) translate(5px, 6px); }
    .nav-toggle.active .hamburger::after { transform: rotate(-45deg) translate(5px, -6px); }
    .nav-links { position: fixed; top: 0; right: 0; width: 100%; height: 100vh; background: var(--primary-dark); flex-direction: column; justify-content: center; align-items: center; transform: translateX(100%); transition: transform 0.3s ease-in-out; }
    .nav-links.active { transform: translateX(0); }
    .nav-links a { font-size: 1.5rem; }
    .cta-button-nav { font-size: 1.2rem; padding: 0.8rem 1.5rem; }
    
    /* --- SECCIONES --- */
    .hero { padding: 5rem 0; }
    .hero h1 { font-size: 2.5rem; }
    .subtitle { font-size: 1.2rem; }
    /* Ajuste para grupo de botones en móvil */
    .hero-cta-group { gap: 1rem; }
    .cta-button-main, .cta-button-secondary {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    .cta-button-secondary {
        padding: calc(0.8rem - 2px) calc(1.5rem - 2px);
    }

    .alliances, .methodology, .dark-footer, .intro-section, .interactive-services, .contact-form-section, .industries-section { padding: 4rem 0; }
    .industries-section { padding-bottom: 6rem; } /* Ajuste de padding en móvil */

    /* --- CUADRÍCULAS --- */
    .steps-grid, .features-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo { display: flex; flex-direction: column; align-items: center; }
    .footer-links a:hover { padding-left: 0; }
    .logo-img { height: 35px; }
    .footer-logo-img { height: 45px; }

    /* Ajuste de burbujas en móviles para evitar solapamiento */
    .chat-bubble { bottom: 20px; right: 20px; width: 50px; height: 50px; }
    .chat-bubble svg { width: 26px; height: 26px; }
    .social-bubble-container { 
        bottom: 90px;
        left: 20px;
    }
    .social-trigger { width: 50px; height: 50px; }
    .social-trigger svg { width: 26px; height: 26px; }
    .social-links-menu {
        bottom: 60px;
        left: 0;
    }

    /* --- Chatbot (Responsivo) --- */
    .chat-window {
        width: 100%;
        height: 100%;
        bottom: 0;
        right: 0;
        border-radius: 0;
        border: none;
    }

    /* --- Formulario de Contacto (Responsivo) --- */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .form-container-wrapper {
        padding: 1.5rem;
    }

    /* --- Sección Industrias (Responsivo) --- */
    .words-cloud-container {
        height: 300px; 
    }
    .word-bubble.w1 { font-size: 1.3rem; }
    .word-bubble.w3 { font-size: 1.5rem; }
    .word-bubble.w5 { font-size: 1.4rem; }
    .word-bubble.w9 { font-size: 1.5rem; }
    .word-bubble.w14 { font-size: 1.5rem; }
    .word-bubble.w17 { font-size: 1.6rem; }

    @keyframes float-up {
        100% {
            transform: translateY(-300px);
            opacity: 0;
        }
    }

    /* --- Páginas de Servicio (Responsivo) --- */
    .service-hero {
        padding: 4rem 1rem;
    }
    .service-hero h1 {
        font-size: 2.5rem;
    }
    .service-hero p {
        font-size: 1.1rem;
    }
    .service-content {
        padding: 4rem 0;
    }
    .service-detail-block {
        padding: 2rem 1.5rem;
        margin: 0 auto 3rem auto;
    }

    /* --- Grilla de Fuentes (Responsivo) --- */
    .fuentes-grid {
        grid-template-columns: 1fr;
    }

    /* --- Responsivo para el Chooser --- */
    .chooser-container {
        grid-template-columns: 1fr;
    }
    
    .chooser-card {
        padding: 2.5rem 2rem;
    }

    .chooser-card h3 {
        font-size: 1.5rem;
    }
}

/* ==============================================
--- ESTILOS PARA LA IMAGEN DE CARGA PERSONALIZADA (GATO) ---
==============================================
*/

.loading-image-container {
    width: 150px; /* Ajusta el tamaño del contenedor si es necesario para el gato */
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center; /* Corregido de 'align: center' */
    margin: 0 auto 15px auto;
    position: relative;
    overflow: hidden; 
}

.loading-animation-image {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    animation: 
        pulse-glow 2.5s infinite ease-in-out; /* Mantiene el pulso en el gato */
    filter: drop-shadow(0 0 8px rgba(247, 208, 84, 0.6)); 
    transform-origin: center center;
    position: relative; /* Para poder usar pseudo-elementos */
    z-index: 2; /* Gato por encima del aura de fondo */
}

/* Animación de Pulso/Brillo (mantener) */
@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 5px rgba(247, 208, 84, 0.4));
    }
    50% {
        transform: scale(1);
        opacity: 1;
        filter: drop-shadow(0 0 15px rgba(247, 208, 84, 0.9));
    }
    100% {
        transform: scale(0.95);
        opacity: 0.8;
        filter: drop-shadow(0 0 5px rgba(247, 208, 84, 0.4));
    }
}

/* SPINNER EN LA CABEZA DEL GATO
   ¡IMPORTANTE! Ajusta 'top', 'left', 'width', 'height' 
   para que el efecto se superponga perfectamente al icono en la cabeza del gato.
*/
.loading-animation-image::before {
    content: '';
    position: absolute;
    
    /* === AJUSTA ESTOS VALORES === */
    top: 5%;    /* % desde arriba (ej: 5%) */
    left: 45%;   /* % desde la izquierda (ej: 45%) */
    width: 15%;  /* % del ancho (ej: 15%) */
    height: 15%; /* % de la altura (ej: 15%) */
    /* === FIN DE AJUSTES === */
    
    border-radius: 50%; /* Forma circular */
    border: 3px solid transparent; /* Borde transparente */
    border-top-color: rgba(247, 208, 84, 0.7); /* Color del spinner */
    border-right-color: rgba(247, 208, 84, 0.5); /* Color del spinner */
    animation: spin-thinking 1.2s linear infinite; /* Animación de giro */
    z-index: 3; /* Por encima del gato */
}

@keyframes spin-thinking {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Animación de Gradiente de fondo (efecto "aura")
   Este es el ::before del CONTENEDOR (.loading-image-container)
*/
.loading-image-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--accent-gradient);
    border-radius: 50%;
    animation: gradient-swirl 8s infinite linear;
    mix-blend-mode: screen; /* Efecto de luz */
    opacity: 0.3;
    z-index: 1; /* Detrás del gato (z-index: 2) */
}

/* Animación de Gradiente Swirl (mantener) */
@keyframes gradient-swirl {
    0% { transform: translate(0%, 0%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* Ajustes para el texto de carga (mantener) */
.status-box p#statusText {
    font-size: 1.2rem;
    color: var(--text-secondary);
    animation: fade-pulse 2.5s infinite ease-in-out;
}

@keyframes fade-pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

/* ==============================================
--- ESTILOS PARA TARJETAS INFO FINIQUITO ---
==============================================
*/

.finiquito-info-section {
    padding: 6rem 0;
    border-top: 1px solid #333; /* Separa de la calculadora */
}

.finiquito-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.finiquito-info-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: padding-box;
    transition: all 0.3s ease;
    text-align: left;
}

.finiquito-info-card:hover {
    transform: translateY(-10px);
    /* ¡Aquí usamos el gradiente que pediste! */
    border-image: var(--accent-gradient) 1;
}

.finiquito-info-card h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.finiquito-info-card p,
.finiquito-info-card li {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

.finiquito-info-card p strong {
    color: var(--text-light);
    font-size: 1rem;
    display: block;
    margin-bottom: 0.25rem;
}

.finiquito-info-card ul {
    padding-left: 20px;
    margin-top: 1rem;
}

/* ==============================================
--- ESTILOS PARA SECCIÓN FAQ (NUEVO) ---
==============================================
*/
.faq-section {
    padding: 6rem 0;
    background-color: var(--card-bg); /* Fondo oscuro para contrastar */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.faq-item {
    background-color: var(--primary-dark);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.faq-item h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.faq-item p strong {
    color: #F7D054; /* Usamos un color del gradiente para destacar */
    font-weight: 600;
}

/* ==============================================
--- ESTILOS PARA SECCIÓN FUENTES (BIBLIOGRAFÍA) ---
==============================================
*/
.finiquito-fuentes-section {
    padding: 6rem 0;
    border-top: 1px solid #333;
}

.fuentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 3rem auto 0 auto;
}

.fuente-card {
    display: block;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fuente-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-secondary);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fuente-card h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.fuente-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.fuente-card span {
    color: #F7D054; /* Color acento */
    font-weight: 600;
    font-size: 0.9rem;
}

/* ==============================================
--- ESTILOS PARA PAGINA DE SELECCIÓN (CHOOSER) ---
==============================================
*/
.finiquito-chooser-section {
    padding: 4rem 0;
}

.chooser-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 3rem;
}

.chooser-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--card-bg);
    padding: 3rem 2.5rem;
    border-radius: 10px;
    border: 2px solid #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.chooser-card:hover {
    transform: translateY(-10px);
    border-image: var(--accent-gradient) 1;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.chooser-card .chooser-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
}

.chooser-card h3 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.chooser-card p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1; /* Para alinear botones */
}

.chooser-card p strong {
    color: var(--text-light);
    font-weight: 600;
}

.chooser-card span {
    color: #F7D054; /* Color acento */
    font-weight: 600;
    font-size: 1rem;
}
/* =========================================
   ESTILOS DREAMLUM CAREER 360° (NUEVO)
   ========================================= */

/* 1. IMPACT DASHBOARD */
.impact-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.impact-card {
    background: linear-gradient(145deg, #1a1a1a, #252525);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border: 1px solid #333;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    border-color: #03c0aa;
}

/* Circular Chart SVG */
.circular-chart { width: 80px; height: 80px; flex-shrink: 0; }
.circular-chart-svg { display: block; max-width: 100%; max-height: 100%; }
.circle-bg { fill: none; stroke: #333; stroke-width: 3.8; }
.circle { 
    fill: none; stroke-width: 2.8; stroke-linecap: round; 
    stroke: #03c0aa; animation: progress 1.5s ease-out forwards; 
}
@keyframes progress { 0% { stroke-dasharray: 0, 100; } }
.percentage { fill: #fff; font-family: 'Inter', sans-serif; font-weight: bold; font-size: 0.5em; text-anchor: middle; }

.impact-text h4 { color: #a0b2c2; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 0.5rem 0; }
.impact-text p { margin: 0; color: #fff; font-size: 0.95rem; line-height: 1.4; }

/* Salary Card */
.icon-salary { font-size: 2.5rem; }
.salary-range { font-size: 1.3rem !important; font-weight: 800; color: #F5A623 !important; }
.salary-tip { font-size: 0.8rem !important; color: #888 !important; font-style: italic; margin-top: 5px !important; }

/* 2. LINKEDIN & COPY BOXES */
.linkedin-box { border-left: 4px solid #0077b5; }
.copy-group { margin-bottom: 1rem; }
.copy-group label { display: block; color: #a0b2c2; margin-bottom: 0.5rem; font-size: 0.9rem; }
.copy-input-wrapper { display: flex; gap: 10px; }
.copy-input-wrapper input { flex-grow: 1; background: #111; border: 1px solid #444; color: #fff; padding: 0.6rem; border-radius: 5px; }
.copy-input-wrapper button, .copy-btn-mini { 
    background: #333; border: 1px solid #555; color: #fff; 
    padding: 0 1rem; border-radius: 5px; cursor: pointer; transition: background 0.3s; 
}
.copy-input-wrapper button:hover, .copy-btn-mini:hover { background: #555; }

.copy-box {
    width: 100%; background-color: #111; color: var(--text-secondary);
    border: 1px solid #444; padding: 1.5rem; border-radius: 5px;
    resize: none; font-family: 'Inter', sans-serif; font-size: 0.95rem; line-height: 1.6;
    box-sizing: border-box; min-height: 300px;
}
.copy-box.small { min-height: 100px; height: 100px; }

/* 3. SOFT SKILLS RADAR (Bars) */
.skills-radar-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.skill-bar-item { margin-bottom: 0.5rem; }
.sb-info { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-light); margin-bottom: 5px; }
.sb-track { width: 100%; height: 8px; background: #333; border-radius: 4px; overflow: hidden; }
.sb-fill { height: 100%; background: var(--accent-gradient); border-radius: 4px; transition: width 1s ease-out; }

/* 4. NETWORKING CARDS */
.networking-box { border-left: 4px solid #8e44ad; }
.networking-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1rem; }
.message-card { background: rgba(255,255,255,0.05); padding: 1.2rem; border-radius: 8px; border: 1px solid #444; }
.message-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; font-weight: 700; font-size: 0.9rem; }
.message-card.formal .message-header span { color: #48F5E1; }
.message-card.casual .message-header span { color: #F7D054; }
.message-card p { font-style: italic; color: #ccc; font-size: 0.95rem; margin: 0; }
.copy-btn-mini { font-size: 0.7rem; padding: 2px 8px; }

/* 5. INTERVIEW CARDS (Gradient Border) */
.interview-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.gradient-border-card {
    position: relative; background: #1f1f1f; border-radius: 10px; padding: 2px; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.3); overflow: hidden;
}
.gradient-border-card::before {
    content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent 0deg, #d71204 90deg, transparent 180deg, #03c0aa 270deg, transparent 360deg);
    animation: rotate 4s linear infinite; z-index: 0;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.card-inner {
    position: relative; background: var(--card-bg); border-radius: 8px; padding: 1.5rem; 
    height: 100%; z-index: 1; display: flex; flex-direction: column; box-sizing: border-box;
}
.card-inner h4 { color: var(--text-light); margin: 0 0 1rem 0; border-bottom: 1px solid #333; padding-bottom: 0.5rem; }
.question-text { font-style: italic; font-size: 1.1rem; color: #fff; margin-bottom: 1.5rem; }
.answer-tip { background: rgba(255, 255, 255, 0.05); padding: 1rem; border-radius: 5px; border-left: 3px solid #03c0aa; font-size: 0.9rem; color: var(--text-secondary); }

/* ======================================================
   --- AJUSTES PARA LUMI CAREER (CV.HTML) ---
   ====================================================== */

/* 1. Clases de Resaltado Sutil (Basado en el color de acento) */
.highlight-text {
    color: #03c0aa; /* Color de acento de Dreamlum (Cian) */
    font-weight: 600; 
}
.highlight-text-warning {
    color: #f9bf00; /* Color de acento de Dreamlum (Amarillo/Naranja) para advertencias */
    font-weight: 600; 
}

/* 2. Ajuste de Listas de Servicios (service-feature-list) en Lumi Career */

/* Aseguramos que la lista se reinicie correctamente para usar el contador 01, 02... */
.service-feature-list {
    counter-reset: item-feature; 
}

/* Modificamos el contador para usar '01', '02', etc. y el estilo de las páginas de servicio */
.service-feature-list li::before {
    content: counter(item-feature, decimal-leading-zero); /* Esto genera 01, 02, 03 */
    counter-increment: item-feature;
    /* Los demás estilos de tamaño, color y animación ya están definidos arriba, 
       pero se asegura que use el gradiente. */
}

/* 3. Asegurar que el FODA use el estilo de tarjetas de metodología (step-card)
      La clase step-card ya existe, solo necesitamos los estilos internos para FODA
*/
.steps-grid { 
    /* La grilla se mantiene igual, definida en la sección Methodology */
    gap: 2.5rem; 
}

.steps-grid .step-card {
    /* Mantenemos el estilo base de la metodología */
    border: 2px solid #333; /* Borde de tarjeta base oscuro */
}

/* Estilos internos de las tarjetas FODA */
.steps-grid .step-card p strong {
    color: var(--text-light);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 0.5rem;
}
.steps-grid .step-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}
/* ==============================================
   --- ESTILOS CSROZAS (VERSIÓN FINAL CORREGIDA) ---
   ============================================== */

/* 1. VARIABLES Y COLORES */
:root {
    /* Gradiente Turquesa -> Morado -> Fucsia */
    --cs-gradient: linear-gradient(135deg, #00C2FF 0%, #7A2B9E 50%, #FF0080 100%); 
    --cs-gradient-text: linear-gradient(90deg, #00C2FF 0%, #E100FF 50%, #FF0080 100%);
    --cs-black: #000000;
    --cs-dark-gray: #0a0a0a;
    --cs-font-main: 'Montserrat', sans-serif;
    --cs-font-sec: 'Inter', sans-serif;
}

/* 2. CONFIGURACIÓN GENERAL */
.cs-body {
    background-color: var(--cs-black);
    color: white;
    font-family: var(--cs-font-sec);
    margin: 0;
    overflow-x: hidden;
}

/* =========================================
   ESTILOS PARA EL "TEASER" EN INDEX.HTML (Arreglo Imagen 6)
   ========================================= */
.cs-teaser-wrapper {
    background-color: var(--cs-black);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Importante: Borde superior para separar del resto de Dreamlum */
    border-top: 1px solid #222; 
}

/* El brillo ambiental detrás del logo */
.cs-teaser-wrapper::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(122, 43, 158, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0; pointer-events: none;
}

.cs-teaser-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; align-items: center;
    max-width: 800px; margin: 0 auto;
}

.cs-logo-reveal {
    width: 130px; height: 130px;
    border-radius: 50%;
    margin-bottom: 2.5rem;
    padding: 3px; /* Grosor del borde gradiente */
    background: var(--cs-gradient); 
    box-shadow: 0 0 50px rgba(0, 194, 255, 0.4); /* Resplandor Cian */
    display: flex; align-items: center; justify-content: center;
}

.cs-logo-reveal img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--cs-black); /* Anillo negro interno */
    background: var(--cs-black);
}

.cs-teaser-title {
    font-family: var(--cs-font-main);
    font-weight: 900; font-style: italic;
    font-size: 3.5rem; line-height: 1;
    color: white; margin-bottom: 1.5rem; text-transform: uppercase;
}
.cs-teaser-title span {
    background: var(--cs-gradient-text);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    display: block; font-size: 4rem;
}
.cs-teaser-p {
    color: #b0b0b0; font-size: 1.1rem; max-width: 600px;
    margin-bottom: 3rem; font-family: 'Inter', sans-serif;
}

/* Botón Universal CSROZAS */
.cs-btn-hype {
    background: var(--cs-gradient); color: white;
    font-family: var(--cs-font-main); font-weight: 800;
    text-transform: uppercase; padding: 1rem 3rem; font-size: 1rem;
    border: none; text-decoration: none; display: inline-block;
    border-radius: 4px; transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.3); letter-spacing: 1px;
}
.cs-btn-hype:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 194, 255, 0.5);
}

/* =========================================
   ESTILOS ESPECÍFICOS PARA CSROZAS.HTML
   ========================================= */
/* NAVBAR */
.cs-navbar {
    position: fixed; top: 0; width: 100%; padding: 1.5rem 0;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px);
    z-index: 1000; border-bottom: 1px solid rgba(255,0,128,0.1);
}
.cs-logo-text { font-family: var(--cs-font-main); font-weight: 900; font-style: italic; font-size: 1.8rem; text-decoration: none; }

/* HERO */
.cs-hero {
    height: 90vh; display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; text-align: center; padding-top: 60px;
}
.cs-hero-blob {
    position: absolute; width: 700px; height: 700px;
    background: radial-gradient(circle, #7A2B9E 0%, #00C2FF 100%);
    opacity: 0.2; filter: blur(120px); border-radius: 50%; z-index: 1;
}
.cs-hero-content { position: relative; z-index: 10; max-width: 800px; }
.cs-hero-title {
    font-family: var(--cs-font-main); font-size: 5rem; font-weight: 900;
    font-style: italic; line-height: 0.9; margin-bottom: 2rem; text-transform: uppercase;
}
.cs-hero-title span { background: var(--cs-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* MARQUEE */
.marquee-container { background: var(--cs-gradient); padding: 0.8rem 0; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-block; animation: marquee 20s linear infinite; }
.marquee-item { font-family: var(--cs-font-main); font-weight: 800; color: white; text-transform: uppercase; font-size: 1rem; margin: 0 2rem; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* GRILLA PRODUCTOS */
.cs-grid-section { padding: 6rem 0; }
.cs-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; border-bottom: 1px solid #333; padding-bottom: 1.5rem; }
.cs-heading { font-family: var(--cs-font-main); font-size: 3rem; font-weight: 900; margin: 0; line-height: 1; font-style: italic; }
.drop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; }
.drop-card { background: var(--cs-dark-gray); border: 1px solid #222; position: relative; transition: all 0.3s ease; overflow: hidden; border-radius: 8px; }
.drop-card:hover { transform: translateY(-10px); border-color: #555; box-shadow: 0 20px 40px rgba(0,0,0,0.6); }
.drop-image { width: 100%; height: 400px; object-fit: cover; display: block; filter: grayscale(30%); transition: filter 0.3s; }
.drop-card:hover .drop-image { filter: grayscale(0%); }
.drop-tag { position: absolute; top: 15px; left: 15px; background: var(--cs-gradient); color: white; padding: 5px 12px; font-family: var(--cs-font-main); font-weight: 700; font-size: 0.8rem; border-radius: 4px; }
.drop-info { padding: 1.5rem; }
.drop-title { font-size: 1.3rem; margin: 0 0 1.5rem 0; font-weight: 700; }
.drop-price { font-family: var(--cs-font-main); font-size: 1.5rem; font-weight: 800; color: white; }
.drop-btn { background: transparent; border: 1px solid white; color: white; padding: 0.5rem 1.2rem; font-family: var(--cs-font-main); font-weight: 700; cursor: pointer; transition: all 0.3s ease; }
.drop-btn:hover { background: var(--cs-gradient); border-color: transparent; }

/* --- NUEVA SECCIÓN MANIFIESTO (Arreglo Imagen 7) --- */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dos columnas: texto e imagen */
    gap: 5rem;
    align-items: center;
}

/* Contenedor de la nueva imagen visual */
.cs-visual-container {
    position: relative;
    padding: 15px; /* Espacio entre la foto y el marco */
    border: 3px solid #333; /* Marco industrial oscuro */
    background: #050505;
    z-index: 2;
}

/* El efecto "glitch" o sombra de color desplazada detrás */
.cs-visual-container::before {
    content: '';
    position: absolute;
    top: -15px; /* Desplazamiento hacia arriba e izquierda */
    left: -15px;
    width: 100%;
    height: 100%;
    /* Usamos el gradiente de la marca */
    background: var(--cs-gradient);
    z-index: -1; /* Detrás del contenedor principal */
    opacity: 0.4; /* Semitransparente */
}

/* La imagen en sí */
.cs-manifesto-img {
    width: 100%;
    height: auto;
    display: block;
    /* Filtros: Escala de grises al 100% + Alto contraste + un poco oscura */
    filter: grayscale(100%) contrast(130%) brightness(90%);
    border: 1px solid #222;
}


/* RESPONSIVE */
@media (max-width: 900px) {
    .cs-hero-title, .cs-teaser-title { font-size: 3rem; }
    .cs-teaser-title span { font-size: 3.5rem; }
    .manifesto-grid { grid-template-columns: 1fr; gap: 3rem; } /* Pasa a 1 columna en móvil */
    .cs-visual-container { max-width: 400px; margin: 0 auto; } /* Centrar imagen en móvil */
}
/* ==============================================
   --- ACTUALIZACIÓN FINAL ESTILOS CSROZAS ---
   ============================================== */

/* --- 1. NUEVO LOGO DE TEXTO PARA INDEX.HTML --- */
/* Eliminamos los estilos viejos del círculo de imagen si existen */
.cs-logo-reveal, .cs-logo-reveal img {
    display: none !important;
}

/* Nuevo contenedor del nombre de marca */
.cs-brand-container {
    margin-bottom: 2rem;
    display: inline-block;
}

/* El texto "CSROZAS" */
.cs-brand-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-style: italic;
    font-size: 3rem; /* Tamaño grande tipo logo */
    color: white;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin: 0;
    position: relative; /* Necesario para la línea */
    padding-bottom: 10px; /* Espacio para la línea */
}

/* La "raya gradiante" debajo del texto */
.cs-brand-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%; /* Ocupa todo el ancho del texto */
    height: 6px; /* Grosor de la línea */
    /* El gradiente de la marca */
    background: linear-gradient(135deg, #00C2FF 0%, #7A2B9E 50%, #FF0080 100%);
    border-radius: 3px; /* Bordes redondeados suaves */
}

/* --- 2. ESTILOS PARA LA IMAGEN DEL MANIFIESTO (CSROZAS.HTML) --- */
/* Contenedor de la nueva imagen visual */
.cs-visual-container {
    position: relative;
    /* El marco industrial */
    padding: 15px; /* Espacio entre la foto y el marco */
    border: 4px solid #222; /* Marco oscuro y grueso */
    background: #050505;
    z-index: 2;
    max-width: 500px; /* Limitar ancho máximo */
    margin: 0 auto; /* Centrar si sobra espacio */
}

/* El efecto "glitch" de color desplazado detrás */
.cs-visual-container::before {
    content: '';
    position: absolute;
    top: -15px; /* Desplazamiento hacia arriba e izquierda */
    left: -15px;
    width: 100%;
    height: 100%;
    /* Usamos el gradiente de la marca */
    background: linear-gradient(135deg, #00C2FF 0%, #7A2B9E 50%, #FF0080 100%);
    z-index: -1; /* Detrás del contenedor principal */
    opacity: 0.5; /* Semitransparente para que brille */
    filter: blur(5px); /* Un poco de desenfoque para el efecto neón */
}

/* La imagen en sí: Blanco y Negro + Alto Contraste */
.cs-manifesto-img {
    width: 100%;
    height: auto;
    display: block;
    /* La magia: Escala de grises 100% y aumento de contraste */
    filter: grayscale(100%) contrast(120%);
    border: 1px solid #111; /* Borde fino interno */
}

/* Asegurar que el grid funcione */
.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Responsive para móvil */
@media (max-width: 900px) {
    .manifesto-grid { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
    .cs-brand-name { font-size: 2.5rem; }
}

/* === HERO PARALLAX & MODERNIZATION === */
.hero {
    position: relative;
    padding: 8rem 0; /* Aumentado para dar aire */
    text-align: center;
    overflow: hidden; /* Importante para contener partículas y orbes */
    background-color: var(--primary-dark); /* Fondo base */
    min-height: 80vh; /* Ocupa buena parte de la pantalla */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Contenedor de partículas (detrás de todo) */
#particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Capas Parallax (Orbes de color difuso) */
.hero-parallax-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: floatOrb 10s infinite ease-in-out;
}

.layer-1 {
    width: 300px;
    height: 300px;
    background: #d71204;
    top: -50px;
    left: -100px;
    animation-delay: 0s;
}

.layer-2 {
    width: 400px;
    height: 400px;
    background: #03c0aa;
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px); }
}

/* Contenedor Glassmorphism */
.glass-container {
    position: relative;
    z-index: 10; /* Por encima de partículas */
    background: rgba(255, 255, 255, 0.03); /* Transparencia extrema */
    backdrop-filter: blur(10px); /* El efecto borroso */
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    max-width: 900px;
    margin: 0 1rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Ajustes de texto para mejor lectura sobre partículas */
.hero h1 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
/* === CARRUSEL 3D SERVICIOS === */
.services-carousel-3d {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
    perspective: 1000px;
}

.swiper-slide.service-card-3d {
    background: var(--card-bg); /* O un color oscuro sólido si prefieres */
    background: linear-gradient(145deg, #1f1f1f, #2a2a2a);
    width: 300px;
    height: 420px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    /* Efecto Glassmorphism sutil */
    backdrop-filter: blur(5px);
}

/* Efecto al estar activo (centro) */
.swiper-slide-active.service-card-3d {
    border: 1px solid rgba(249, 191, 0, 0.5); /* Color acento */
    box-shadow: 0 0 30px rgba(249, 191, 0, 0.2);
}

.card-content {
    padding: 2rem;
    text-align: center;
    z-index: 2;
}

.card-icon-3d {
    font-size: 4rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.service-card-3d:hover .card-icon-3d {
    transform: scale(1.1) rotate(5deg);
}

.service-card-3d h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.service-card-3d p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Badge "Más Solicitado" */
.card-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--accent-gradient);
    color: var(--primary-dark);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 10;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(45deg) scale(1.05); }
    100% { transform: rotate(45deg) scale(1); }
}

/* Estadísticas animadas */
.card-stats {
    margin-bottom: 1.5rem;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.swiper-slide-active .card-stats {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    display: block;
    font-weight: 800;
    font-size: 1.2rem;
    color: #f9bf00; /* Color amarillo de marca */
}

.stat-label {
    font-size: 0.8rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Botón CTA */
.cta-button-card {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--text-secondary);
    border-radius: 30px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cta-button-card:hover {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(249, 191, 0, 0.4);
}

/* Controles Swiper (Personalización) */
.swiper-pagination-bullet {
    background: var(--text-secondary);
}
.swiper-pagination-bullet-active {
    background: #f9bf00;
}
.swiper-button-prev, .swiper-button-next {
    color: #f9bf00;
}
/* === CARRUSEL 3D FUTURISTA === */
.services-carousel-3d {
    width: 100%;
    padding-top: 60px;
    padding-bottom: 60px;
    perspective: 1000px;
    overflow: visible; /* Permite que el glow sobresalga */
}

/* Estilo Base de la Tarjeta */
.swiper-slide.service-card-3d {
    background: rgba(20, 20, 25, 0.7); /* Muy oscuro y translúcido */
    width: 300px;
    height: 400px; /* Altura ajustada sin los stats */
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Efecto Glassmorphism Premium */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Efecto TARJETA ACTIVA (Centro) */
.swiper-slide-active.service-card-3d {
    background: rgba(30, 30, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.6),
        0 0 0 1px rgba(249, 191, 0, 0.1); /* Borde sutil amarillo */
    transform: scale(1.05); /* Ligeramente más grande */
    z-index: 10;
}

/* Contenedor Interno */
.card-content-futuristic {
    padding: 2.5rem 1.5rem;
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

/* --- ICONOS GRADIENTES FUTURISTAS --- */
.icon-wrapper {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

/* El brillo detrás del icono */
.icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    filter: blur(25px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.swiper-slide-active .icon-wrapper::after {
    opacity: 0.4; /* Más brillo en la activa */
}

.gradient-icon {
    font-size: 3.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.service-card-3d:hover .gradient-icon {
    transform: scale(1.1);
}

/* Tipografía */
.service-card-3d h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.8rem 0;
    letter-spacing: -0.5px;
}

.service-card-3d p {
    font-size: 0.95rem;
    color: #a0a0b0; /* Gris azulado tech */
    line-height: 1.6;
    margin-bottom: auto; /* Empuja el botón al fondo */
}

/* Badge Neon "Más Solicitado" */
.card-badge-neon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(249, 191, 0, 0.15);
    border: 1px solid #f9bf00;
    color: #f9bf00;
    font-weight: 700;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(249, 191, 0, 0.2);
    z-index: 10;
}

/* Botón Futurista */
.cta-button-futuristic {
    margin-top: 1.5rem;
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    /* Borde gradiente simulado */
    border: 1px solid rgba(255,255,255,0.2);
}

/* Fondo del botón al hover (Gradiente suave) */
.cta-button-futuristic::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.cta-button-futuristic:hover {
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(215, 18, 4, 0.4);
    transform: translateY(-2px);
}

.cta-button-futuristic:hover::before {
    opacity: 1;
}

/* Paginación Swiper */
.swiper-pagination-bullet {
    background: #555;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    background: #f9bf00;
    opacity: 1;
    width: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
}
<section class="alliances-galaxy" id="alianzas">
    <div class="container">
        <h2 class="section-title">Nuestro Ecosistema de Alianzas</h2>
        <p class="section-subtitle">Conectamos tu negocio con las mejores soluciones del mercado.</p>
        
        <div class="galaxy-wrapper">
            <canvas id="galaxy-canvas"></canvas>
            
            <div class="alliance-nodes">
                
                <div class="alliance-node center-node" id="node-dreamlum" data-tippy-content="Tu Partner Estratégico">
                    <img src="logos/dreamlum.png" alt="Dreamlum">
                </div>

                <div class="alliance-node orbit-node" id="node-buk" data-partner="buk" 
                     data-tippy-content="<strong>BUK</strong><br>Gestión integral de personas y nómina automatizada.">
                    <img src="logos/buk.png" alt="BUK">
                </div>

                <div class="alliance-node orbit-node" id="node-tuu" data-partner="tuu"
                     data-tippy-content="<strong>TUU</strong><br>Tecnología de pagos, POS y abono inmediato.">
                    <img src="logos/tuu.webp" alt="TUU">
                </div>

                <div class="alliance-node orbit-node" id="node-wix" data-partner="wix"
                     data-tippy-content="<strong>WIX Studio</strong><br>Desarrollo web avanzado y presencia digital.">
                    <img src="logos/wix.png" alt="WIX">
                </div>

                <div class="alliance-node orbit-node" id="node-mp" data-partner="mp"
                     data-tippy-content="<strong>Mercado Público</strong><br>Expertos en licitaciones y compras estatales.">
                    <img src="logos/mercado-publico.png" alt="Mercado Público">
                </div>

                <div class="alliance-node orbit-node" id="node-propyme" data-partner="propyme"
                     data-tippy-content="<strong>PROPYME</strong><br>Red de apoyo y financiamiento para PYMEs.">
                    <img src="logos/propyme.svg" alt="PROPYME">
                </div>

            </div>
        </div>
    </div>
</section>
/* ==============================================
   --- GALAXY ALIANZAS (NEON UPGRADE) ---
   ============================================== */

.alliances-galaxy {
    padding: 8rem 0 10rem 0; /* Más espacio vertical */
    /* Fondo espacial profundo */
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Efecto de Estrellas (Fondo) */
.alliances-galaxy::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    opacity: 0.4;
    z-index: 0;
}

.galaxy-wrapper {
    position: relative;
    width: 100%;
    height: 650px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    z-index: 2;
}

/* Canvas para las líneas */
#galaxy-canvas {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
    /* Efecto de brillo en las líneas */
    filter: drop-shadow(0 0 5px rgba(0, 194, 255, 0.5));
}

.alliance-nodes {
    position: relative;
    width: 100%; height: 100%;
    z-index: 2;
}

/* --- ESTILO DE LOS NODOS (CÍRCULOS) MEJORADO --- */
.alliance-node {
    position: absolute;
    border-radius: 50%;
    /* Fondo más sólido para que el logo resalte */
    background: rgba(20, 20, 25, 0.8); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    /* Borde brillante */
    border: 2px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote */
    /* Sombra suave */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* LOGOS: MÁS GRANDES Y BRILLANTES */
.alliance-node img {
    width: 70% !important; /* Aumentado de 60% a 70% */
    height: auto !important;
    object-fit: contain;
    /* Blanco puro y brillante por defecto */
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255,255,255,0.5));
    transition: all 0.3s ease;
    display: block;
}

/* --- NODO CENTRAL (DREAMLUM) --- */
.center-node {
    width: 140px; /* Más grande */
    height: 140px;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    /* Borde Gradiente */
    border: 2px solid transparent;
    background-image: linear-gradient(#111, #111), var(--accent-gradient);
    background-origin: border-box;
    background-clip: content-box, border-box;
    /* Resplandor central */
    box-shadow: 0 0 50px rgba(249, 191, 0, 0.2);
    animation: pulse-center 3s infinite ease-in-out;
}
.center-node img {
    filter: none; /* Logo original */
    width: 80% !important;
}

/* Animación latido corazón */
@keyframes pulse-center {
    0% { box-shadow: 0 0 30px rgba(249, 191, 0, 0.1); transform: translate(-50%, -50%) scale(1); }
    50% { box-shadow: 0 0 60px rgba(249, 191, 0, 0.3); transform: translate(-50%, -50%) scale(1.05); }
    100% { box-shadow: 0 0 30px rgba(249, 191, 0, 0.1); transform: translate(-50%, -50%) scale(1); }
}

/* --- NODOS ORBITALES (PARTNERS) --- */
.orbit-node {
    width: 100px; /* Aumentado de 90px */
    height: 100px;
}

/* HOVER: MUESTRA EL COLOR REAL Y BRILLA */
.alliance-node:hover {
    background: #ffffff; /* Fondo blanco al hacer hover */
    border-color: #fff;
    transform: scale(1.2) translate(-50%, -50%) !important; 
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); /* Glow fuerte */
    z-index: 20;
}

/* --- CORRECCIÓN VISIBILIDAD LOGOS --- */

/* Al hacer hover, forzamos el logo a ser NEGRO para que se vea sobre el fondo blanco */
.alliance-node:hover img {
    filter: brightness(0) !important; /* Fuerza el color negro */
    opacity: 1;
    transform: scale(1.15); /* Un poco más de zoom */
}

/* Tooltips */
.tippy-box[data-theme~='galaxy'] {
    background: linear-gradient(135deg, #1a1a2e 0%, #000 100%);
    border: 1px solid rgba(3, 192, 170, 0.5); /* Borde Cian */
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    color: white;
}
.tippy-content strong { color: #03c0aa; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .galaxy-wrapper { height: auto; flex-direction: column; padding: 2rem 0; }
    #galaxy-canvas { display: none; }
    .alliance-nodes { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
    .alliance-node { position: relative !important; transform: none !important; margin: 10px; }
    .center-node { width: 120px; height: 120px; margin-bottom: 2rem; animation: none; }
}
/* ==============================================
   --- CHATBOT LUMI 2.0 (UPGRADE) ---
   ============================================== */

/* Ajustes Generales de la Ventana */
.chat-window {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 25, 0.95); /* Más oscuro y elegante */
    backdrop-filter: blur(15px); /* Glassmorphism */
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
}

/* --- HEADER CON AVATAR --- */
.chat-header-extended {
    background: linear-gradient(135deg, #1a1a2e 0%, #0d0d12 100%);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.chat-avatar-container {
    position: relative;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(249, 191, 0, 0.2), transparent);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(249, 191, 0, 0.3);
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #03c0aa; /* Verde online */
    border-radius: 50%;
    border: 2px solid #1a1a2e;
    box-shadow: 0 0 5px #03c0aa;
}

.chat-header-info h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 700;
}

.chat-header-info .status-text {
    font-size: 0.75rem;
    color: #a0b2c2;
}

.modal-close-btn-chat {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}
.modal-close-btn-chat:hover { color: #fff; }


/* --- QUICK REPLIES (BOTONES) --- */
.quick-replies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    animation: fadeIn 0.5s ease;
}

.qr-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.qr-btn:hover {
    background: var(--accent-gradient);
    color: var(--primary-dark);
    border-color: transparent;
    transform: translateY(-2px);
}

/* --- RICH CARDS (TARJETAS DENTRO DEL CHAT) --- */
.rich-card {
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 10px;
    margin-top: 5px;
    max-width: 100% !important; /* Sobreescribe el max-width de mensajes normales */
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.rich-card h4 {
    margin: 0 0 5px 0;
    color: #f9bf00;
    font-size: 1rem;
}

.rich-card p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
}

.rich-card-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #333;
    color: white;
    padding: 8px 0;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
}
.rich-card-btn:hover {
    background: #444;
}

/* --- INDICADOR DE ESCRIBIENDO (TYPING) --- */
.typing-indicator {
    display: inline-flex;
    gap: 4px;
    padding: 10px;
    background: var(--card-bg);
    border-radius: 15px;
    width: fit-content;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ==============================================
   --- WIZARD GAMIFICADO (FORMULARIO) ---
   ============================================== */

.wizard-wrapper {
    max-width: 800px;
    margin: 3rem auto;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

/* HEADER Y PROGRESO */
.wizard-header {
    margin-bottom: 3rem;
    text-align: center;
}

.progress-container {
    position: relative;
    width: 80%;
    margin: 0 auto 1.5rem auto;
    height: 30px; /* Altura para contener los círculos */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-bar-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #333;
    transform: translateY(-50%);
    z-index: 0;
    border-radius: 2px;
}

.progress-bar-fill {
    height: 100%;
    background: var(--accent-gradient);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.step-indicator {
    width: 35px;
    height: 35px;
    background: #1a1a2e;
    border: 2px solid #555;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #555;
    z-index: 1;
    transition: all 0.4s ease;
}

.step-indicator.active {
    border-color: #f9bf00;
    color: #fff;
    box-shadow: 0 0 10px rgba(249, 191, 0, 0.3);
}

.step-indicator.completed {
    background: #f9bf00;
    border-color: #f9bf00;
    color: #000;
}

.wizard-motivation {
    color: #f9bf00;
    font-weight: 600;
    font-size: 1.1rem;
    min-height: 1.5rem;
    transition: opacity 0.3s ease;
}

/* PASOS DEL FORMULARIO */
.wizard-step {
    display: none;
    animation: slideInRight 0.5s ease;
}
.wizard-step.active {
    display: block;
}

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

.wizard-step h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* PASO 1: CARDS SELECCIONABLES */
.wizard-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.wizard-card-option input { display: none; }

.card-inner-select {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid transparent;
    border-radius: 15px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.card-icon { font-size: 2.5rem; }

.wizard-card-option input:checked + .card-inner-select {
    background: rgba(249, 191, 0, 0.1);
    border-color: #f9bf00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(249, 191, 0, 0.15);
}

/* PASO 2: SLIDER PERSONALIZADO */
.range-slider-container {
    padding: 1rem 0;
    text-align: center;
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: #333;
    border-radius: 5px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: #f9bf00;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(249, 191, 0, 0.5);
    transition: transform 0.2s;
}

.range-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* PASO 3: TIMELINE OPTIONS */
.timeline-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-option input { display: none; }

.timeline-content {
    background: #1a1a2e;
    border: 1px solid #444;
    padding: 1.2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timeline-content .icon { font-size: 1.8rem; }
.timeline-content strong { display: block; color: var(--text-light); font-size: 1.1rem; }
.timeline-content small { color: var(--text-secondary); }

.timeline-option input:checked + .timeline-content {
    border-color: #03c0aa;
    background: rgba(3, 192, 170, 0.1);
}

/* MENSAJE DE ÉXITO */
.wizard-success-message {
    display: none;
    text-align: center;
    padding: 3rem 1rem;
    animation: popIn 0.5s ease;
}
.success-icon { font-size: 5rem; margin-bottom: 1.5rem; }

/* BOTONES DE NAVEGACIÓN */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.wizard-btn {
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
}

.wizard-btn.primary {
    background: var(--accent-gradient);
    color: var(--primary-dark);
}
.wizard-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(249, 191, 0, 0.3);
}

.wizard-btn.secondary {
    background: transparent;
    border: 1px solid #555;
    color: var(--text-secondary);
}
.wizard-btn.secondary:hover {
    border-color: #fff;
    color: #fff;
}
.wizard-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
    display: none;
}
/* ==============================================
   --- CORRECCIÓN CAMPOS DEL WIZARD ---
   ============================================== */

/* Asegurar que el contenedor del grupo ocupe todo el ancho */
.wizard-step .form-group {
    width: 100%;
    margin-bottom: 1.5rem;
}

/* Estilos para Inputs y Textareas dentro del Wizard */
.wizard-step input[type="text"],
.wizard-step input[type="email"],
.wizard-step textarea {
    width: 100%; /* Ocupar todo el ancho disponible */
    background: rgba(255, 255, 255, 0.05); /* Fondo oscuro translúcido */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Borde sutil */
    border-radius: 12px; /* Bordes redondeados modernos */
    padding: 1rem; /* Espacio interno cómodo */
    color: #fff; /* Color del texto */
    font-family: 'Inter', sans-serif; /* Asegurar la fuente correcta */
    font-size: 1rem;
    box-sizing: border-box; /* CRUCIAL: Incluye padding y borde en el ancho total */
    transition: all 0.3s ease;
}

/* Estilo específico para el área de texto */
.wizard-step textarea {
    resize: vertical; /* Permitir redimensionar solo verticalmente */
    min-height: 120px; /* Altura mínima para que se vea bien */
}

/* Efecto al hacer foco (clic) en el campo */
.wizard-step input:focus,
.wizard-step textarea:focus {
    outline: none;
    border-color: #f9bf00; /* Color de acento amarillo */
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(249, 191, 0, 0.1);
}

/* Corrección para el Summary Box que se ve abajo */
.summary-box {
    background: rgba(3, 192, 170, 0.1); /* Fondo cian suave */
    border: 1px solid #03c0aa;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}
/* --- CORRECCIÓN GRID DE TARJETAS (Paso 1) --- */

.wizard-cards-grid {
    display: flex;             /* Cambiamos Grid por Flex */
    flex-wrap: wrap;           /* Permite que bajen a otra línea */
    justify-content: center;   /* CENTRA las tarjetas (la clave del arreglo) */
    gap: 1.5rem;               /* Espacio entre tarjetas */
    margin-top: 1rem;
}

.wizard-card-option {
    /* Flex-grow: 1 (crece), Flex-shrink: 1 (se encoge), Flex-basis: 160px (ancho base) */
    flex: 1 1 160px;
    
    /* Límites para que no se vean ni muy delgadas ni muy anchas */
    min-width: 150px; 
    max-width: 220px; 
    
    /* Aseguramos que la etiqueta se comporte como bloque */
    display: block; 
    position: relative;
}

/* Ajuste para que todas las tarjetas tengan la misma altura visual */
.card-inner-select {
    height: 100%; 
    min-height: 160px; /* Altura mínima uniforme */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Estilos previos (mantener) */
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255,255,255,0.1); /* Borde sutil por defecto */
    border-radius: 15px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
/* --- MEJORA VISUAL WIZARD (Paso 1: Grid Equilibrado) --- */

.wizard-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centra los elementos en la fila */
    gap: 1.5rem;
    margin-top: 2rem;
}

.wizard-card-option {
    /* AJUSTE CLAVE: Ancho base del 30%. 
       Al tener gap, esto fuerza a que entren máximo 3 por fila (30% * 3 + gaps > 100%)
       Resultado: Fila 1 = 3 tarjetas, Fila 2 = 2 tarjetas (centradas) */
    flex: 1 1 calc(33.333% - 1.5rem); 
    
    min-width: 200px; /* Ancho mínimo para no colapsar en móviles */
    max-width: 260px; /* Ancho máximo para que no se vean gigantes */
    
    position: relative;
    cursor: pointer;
}

/* Estilo de la Tarjeta Interior */
.card-inner-select {
    height: 100%;
    min-height: 180px; /* Un poco más altas para mejor presencia */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    
    /* Fondo más sofisticado */
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-icon {
    font-size: 3rem; /* Iconos más grandes */
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); /* Sombra al icono */
    transition: transform 0.3s ease;
}

.card-inner-select span:last-child {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* --- ESTADOS DE INTERACCIÓN (Hover y Checked) --- */

/* --- CORRECCIÓN DEFINITIVA DE ESPACIADO (Grid Flexible) --- */

.wizard-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* PRIMER VALOR: Espacio Vertical (arriba/abajo) aumentado a 2rem
       SEGUNDO VALOR: Espacio Horizontal (lados) en 1.5rem */
    gap: 2.5rem 1.5rem; 
    margin-top: 2.5rem;
    width: 100%;
    height: auto; /* Asegura que el contenedor crezca según el contenido */
}

.wizard-card-option {
    /* Ajuste de ancho para asegurar 3 arriba y 2 abajo */
    flex: 0 1 calc(33% - 1.5rem); 
    
    min-width: 210px; 
    max-width: 260px;
    
    /* CRUCIAL: display block para que respete el flujo vertical */
    display: block; 
    position: relative;
    
    /* Seguridad extra: margen inferior por si el navegador no soporta gap antiguo */
    margin-bottom: 0.5rem; 
}

/* El estilo de la tarjeta interna se mantiene igual */
.card-inner-select {
    height: 100%;
    min-height: 180px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box; /* Asegura que el padding no rompa el tamaño */
}
/* --- ICONOS GRADIENTES EN WIZARD --- */
.card-icon {
    font-size: 3rem; /* Tamaño grande */
    margin-bottom: 1rem;
    
    /* El truco del gradiente */
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* Sombra y transición */
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3)); 
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Efecto al pasar el mouse sobre la tarjeta */
.wizard-card-option:hover .card-icon {
    transform: scale(1.15) rotate(-5deg); /* Pequeña rotación dinámica */
    filter: drop-shadow(0 0 15px rgba(249, 191, 0, 0.4)); /* Brillo extra */
}
/* ==============================================
   --- SISTEMA GLOBAL DE GLASSMORPHISM ---
   ============================================== */

/* --- CLASES DE UTILIDAD (NIVELES DE VIDRIO) --- */

/* Nivel 1: Sutil (Para fondos grandes o paneles traseros) */
.glass-light {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Nivel 2: Medio (Para tarjetas estándar y secciones flotantes) */
.glass-medium {
    background: rgba(30, 30, 35, 0.6); /* Un poco más oscuro para legibilidad */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* Nivel 3: Intenso (Para elementos importantes: Navbar, Modales, Chat) */
.glass-strong {
    background: rgba(20, 20, 25, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* --- APLICACIÓN AL NAVBAR (DINÁMICO) --- */
/* Estado inicial (Transparente) */
.navbar {
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: all 0.4s ease;
    padding: 1.5rem 0; /* Más alto al inicio */
}

/* Estado Scrolled (Efecto Vidrio activado por JS) */
.navbar.scrolled {
    background: rgba(10, 10, 15, 0.7); /* Vidrio oscuro */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0; /* Se compacta al bajar */
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* --- APLICACIÓN A MODALES (Calendar, Transparencia, etc.) --- */
.modal-content, 
.transparency-modal-content {
    /* Reemplazamos el fondo blanco sólido por vidrio fuerte */
    background: rgba(25, 25, 30, 0.95) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--text-light) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7) !important;
}

/* Ajustes de texto dentro de modales (por si tenían fondo blanco antes) */
.modal-content h3, 
.modal-content p, 
.transparency-modal-content p {
    color: #f0f4f8;
}

/* --- TOOLTIPS (Mejora visual) --- */
/* Ya definimos .tippy-box[data-theme~='galaxy'] antes, 
   pero esto asegura que todos los tooltips tengan vidrio */
.tippy-box {
    background-color: rgba(30, 30, 35, 0.9) !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* --- 1. TEXTURA DE FONDO (Efecto Premium) --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- 2. HERO: Scroll Indicator --- */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    animation: bounce 2s infinite;
}
.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}
.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-light);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 1.5s infinite;
}
@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); } 40% { transform: translate(-50%, -10px); } 60% { transform: translate(-50%, -5px); } }

/* --- 3. NUEVO: Marquee de Industrias (Reemplaza las burbujas) --- */
.marquee-section {
    padding: 4rem 0;
    background: var(--primary-dark);
    overflow: hidden;
    position: relative;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}
.marquee-track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}
.marquee-item {
    font-size: 3rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.marquee-item:hover {
    color: var(--text-light);
    -webkit-text-stroke: 0;
    text-shadow: 0 0 20px rgba(249, 191, 0, 0.5);
}
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* --- 4. NUEVO: Sección de Estadísticas (Social Proof) --- */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--primary-dark) 0%, #111 100%);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat-card h3 {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.stat-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}
/* =========================================
   TIPOGRAFÍA ESTILO CSROZAS (Añadir a style.css)
   ========================================= */

/* 1. Definir la fuente en variables (Opcional, pero ordenado) */
:root {
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 2. Aplicar el estilo a TODOS los títulos */
h1, h2, h3, h4, .section-title, .logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;       /* Peso máximo (Black) */
    font-style: italic;     /* El toque distintivo de CSROZAS */
    text-transform: uppercase; /* Todo en mayúsculas para impacto */
    letter-spacing: -0.5px; /* Un poco más apretado */
}

/* 3. Ajustes Específicos para el Hero (Título Principal) */
.hero h1 {
    font-size: 4.5rem;      /* Más grande */
    line-height: 0.9;       /* Más compacto */
    margin-bottom: 1.5rem;
    /* Efecto de borde opcional estilo CSROZAS (comenta si no te gusta) */
    /* -webkit-text-stroke: 1px rgba(255,255,255,0.1); */ 
}

/* 4. Ajuste para Subtítulos de Sección */
.section-title {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(180deg, #fff 0%, #ccc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; /* Efecto metálico sutil */
}

/* 5. Ajuste para Tarjetas (Servicios/Pasos) */
.service-card h3, 
.step-card h3,
.stat-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
}

/* 6. Botones con la nueva fuente */
.cta-button-main, 
.cta-button-secondary, 
.cta-button-nav,
.wizard-btn {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 7. Ajuste del Marquee (Cinta infinita) para que coincida */
.marquee-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-style: italic;
}
/* =========================================
   MEJORA HERO: IMPACTO INICIAL
   ========================================= */

/* Layout Flex para Desktop */
.hero-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    text-align: left; /* Cambiamos de centrado a izquierda para más seriedad */
    position: relative;
    z-index: 10;
}

.hero-content-left { flex: 1; }
.hero-content-right { flex: 1; display: flex; justify-content: center; perspective: 1000px; }

/* 1. Badge de Estado en Vivo */
.live-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}
.pulse-dot {
    width: 8px; height: 8px;
    background-color: #03c0aa;
    border-radius: 50%;
    box-shadow: 0 0 10px #03c0aa;
    animation: livePulse 2s infinite;
}
@keyframes livePulse { 0% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.2); } 100% { opacity: 1; transform: scale(1); } }

/* 2. Efecto Glitch Controlado */
.glitch-wrapper {
    position: relative;
    font-size: 4.5rem; /* Más grande para impacto */
    line-height: 1;
}
.glitch-text {
    position: relative;
    color: #fff;
    display: inline-block;
}
/* Capas del glitch (pseudo-elementos) */
.glitch-text::before, .glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--primary-dark);
}
.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 #d71204;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}
.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #03c0aa;
    clip-path: inset(0 0 0 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0%, 95% { clip-path: inset(50% 0 30% 0); transform: translate(0); }
    96% { clip-path: inset(10% 0 60% 0); transform: translate(-2px, 2px); }
    97% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    98% { clip-path: inset(20% 0 50% 0); transform: translate(-1px, 1px); }
    100% { clip-path: inset(50% 0 30% 0); transform: translate(0); }
}
@keyframes glitch-anim-2 {
    0%, 95% { clip-path: inset(10% 0 60% 0); transform: translate(0); }
    96% { clip-path: inset(80% 0 5% 0); transform: translate(2px, -2px); }
    97% { clip-path: inset(20% 0 50% 0); transform: translate(-1px, 1px); }
    98% { clip-path: inset(50% 0 30% 0); transform: translate(2px, 2px); }
    100% { clip-path: inset(10% 0 60% 0); transform: translate(0); }
}

/* 3. Botón Magnético */
.magnetic-btn {
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.btn-fill {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--accent-gradient);
    border-radius: 50px;
    z-index: -1;
    transition: transform 0.1s ease;
}

/* 4. Mini Dashboard Flotante 3D */
.glass-dashboard-card {
    width: 380px;
    background: rgba(20, 20, 25, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    transform-style: preserve-3d;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.1s ease;
    position: relative;
    overflow: hidden;
}

.dash-header { display: flex; gap: 8px; align-items: center; margin-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #ff5f56; }
.dash-dot.yellow { background: #ffbd2e; }
.dash-dot.green { background: #27c93f; }
.dash-header span { margin-left: auto; font-size: 0.8rem; color: #888; font-family: monospace; }

.metric-row { margin-bottom: 1.2rem; }
.metric-label { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 5px; }
.metric-bar { height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; overflow: hidden; }
.metric-fill { height: 100%; background: var(--accent-gradient); border-radius: 3px; animation: loadBar 2s ease-out forwards; }
.metric-value { font-size: 1.5rem; font-weight: 800; color: #fff; text-align: right; }
.text-accent { color: #03c0aa; }

.dash-graph-line { stroke-dasharray: 100; stroke-dashoffset: 100; animation: drawLine 3s ease forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes loadBar { from { width: 0; } }

.avatar-stack img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #111; margin-left: -10px; }
.avatar-stack img:first-child { margin-left: 0; }
.dash-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; }

/* Scan Line Effect */
.scan-line {
    position: absolute; top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(to right, transparent, rgba(3, 192, 170, 0.8), transparent);
    opacity: 0.3;
    animation: scanDown 4s linear infinite;
    pointer-events: none;
}
@keyframes scanDown { 0% { top: -10%; } 100% { top: 110%; } }

/* Responsive Adjustments */
@media (max-width: 900px) {
    .hero-container-flex { flex-direction: column; text-align: center; }
    .hero-content-right { display: none; /* Ocultar dashboard complejo en móvil para performance */ }
    .glitch-wrapper { font-size: 3rem; }
}
/* ==============================================
   --- CORRECCIÓN ESPECÍFICA: CALENDARIO BLANCO ---
   ============================================== */

/* Apuntamos solo al contenido dentro de #calendarModal */
#calendarModal .modal-content {
    background: #ffffff !important;  /* Fondo Blanco Sólido */
    color: #333333 !important;       /* Texto oscuro */
    backdrop-filter: none;           /* Quitamos el efecto borroso */
    -webkit-backdrop-filter: none;
    border: none !important;         /* Quitamos bordes brillantes */
    box-shadow: 0 25px 50px rgba(0,0,0,0.5) !important; /* Sombra suave */
}

/* Ajustamos el botón de cerrar para que contraste con el blanco */
#calendarModal .modal-close-btn {
    background: #333;    /* Botón oscuro */
    color: #fff;         /* X blanca */
    border-color: #333;
    top: -15px;          /* Ajuste de posición si es necesario */
    right: -15px;
}
/* Hacer que los iconos tengan el gradiente maestro */
.step-card i {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Hace transparente el relleno para mostrar el fondo */
    font-size: 2rem;
    filter: drop-shadow(0 0 10px rgba(249, 191, 0, 0.3)); /* Resplandor suave */
    transition: transform 0.3s ease;
}

.step-card:hover i {
    transform: scale(1.2) rotate(-5deg); /* Movimiento al pasar el mouse */
    filter: drop-shadow(0 0 15px rgba(249, 191, 0, 0.6)); /* Más brillo */
}
/* --- ESTILOS PARA TABLA EXPANDIBLE (DESGLOSE) --- */
.btn-expand {
    background: transparent; border: 1px solid #444; color: #F7D054;
    width: 30px; height: 30px; border-radius: 50%; cursor: pointer;
    transition: all 0.2s; display: flex; align-items: center; justify-content: center;
}
.btn-expand:hover { background: rgba(247, 208, 84, 0.1); border-color: #F7D054; }
.btn-expand.open { transform: rotate(180deg); background: #F7D054; color: #000; }

/* Fila de detalle oculta */
.detail-row { display: none; background-color: #1a1a20; }
.detail-row.visible { display: table-row; animation: fadeIn 0.3s ease; }
.detail-row td { padding: 0 !important; border-bottom: 1px solid #444; }

/* Contenedor del desglose */
.breakdown-container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    border-left: 3px solid #F7D054;
}

/* Tarjetas de pasos matemáticos */
.math-step {
    background: rgba(255,255,255,0.03);
    padding: 15px; border-radius: 8px; border: 1px solid #333;
}
.math-step h5 { margin: 0 0 10px 0; color: #aaa; font-size: 0.8rem; text-transform: uppercase; }
.math-equation { font-family: 'Courier New', monospace; font-size: 0.95rem; color: #fff; line-height: 1.6; }
.math-highlight { color: #F7D054; font-weight: bold; }
.math-sub { display: block; font-size: 0.8rem; color: #777; margin-top: 5px; }

/* Ajuste tabla principal para alinear íconos */
.retro-table th:first-child, .retro-table td:first-child { text-align: center; width: 50px; }
/* --- ESTILOS WIZARD (FORMULARIO PASO A PASO) --- */
.wizard-wrapper {
    background-color: var(--card-bg, #1a1a2e);
    border-radius: 20px;
    padding: 3rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.wizard-header { margin-bottom: 2rem; text-align: center; }

/* Barra de Progreso */
.progress-container {
    position: relative; width: 60%; margin: 0 auto 1.5rem auto; height: 4px; background: #333; border-radius: 2px;
}
.progress-bar-fill {
    height: 100%; 
    background: linear-gradient(90deg, #F7D054, #F5A623); 
    width: 33%; 
    transition: width 0.5s ease; 
    border-radius: 2px;
}

/* Pasos */
.wizard-step { display: none; animation: fadeIn 0.5s ease; }
.wizard-step.active { display: block; }
.wizard-step h3 { font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; color: #fff; }

/* Inputs Modernos */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.8rem; color: #ccc; font-size: 1rem; }
input, select { 
    width: 100%; padding: 15px; 
    background: rgba(255,255,255,0.05); 
    border: 1px solid rgba(255,255,255,0.1); 
    border-radius: 10px; 
    color: #fff; font-size: 1.1rem; 
    box-sizing: border-box; transition: 0.3s; 
}
input:focus, select:focus { outline: none; border-color: #F7D054; background: rgba(255,255,255,0.1); }

/* Botones de Navegación */
.wizard-actions { display: flex; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }
.wizard-btn { 
    padding: 12px 30px; border-radius: 30px; 
    font-weight: 700; cursor: pointer; border: none; 
    font-size: 1rem; transition: 0.3s; display: flex; align-items: center; gap: 8px; 
}
.btn-prev { background: transparent; border: 1px solid #555; color: #aaa; }
.btn-prev:hover { border-color: #fff; color: #fff; }
.btn-next { background: linear-gradient(90deg, #F7D054, #F5A623); color: #000; }
.btn-next:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(247, 208, 84, 0.3); }

/* Cajas de Resultado */
.result-box { 
    text-align: center; padding: 25px; 
    background: rgba(3, 192, 170, 0.1); 
    border-radius: 15px; border: 1px solid rgba(3, 192, 170, 0.3); 
    margin-top: 1rem; 
}
.result-box h2 { 
    font-size: 3.5rem; font-weight: 900; 
    color: #03c0aa; margin: 5px 0; line-height: 1; 
    font-family: 'Montserrat', sans-serif; font-style: italic; 
}

/* Animación */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
/* --- SECCIÓN IMPACTO COMUNITARIO (Marketing) --- */
.community-impact-section {
    padding: 6rem 0 4rem 0;
    border-top: 1px solid #333;
    margin-top: 4rem;
}

.impact-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

/* Grilla de Ventajas */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.advantage-card.highlight-border {
    border: 1px solid #F7D054; /* Borde dorado para resaltar "Gratis" */
    box-shadow: 0 0 20px rgba(247, 208, 84, 0.1);
}

.adv-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.advantage-card h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
    font-weight: 800;
}

.advantage-card p {
    color: #a0b2c2;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Manifiesto Dreamlum (Box Central) */
.dreamlum-pledge-box {
    display: flex;
    align-items: stretch;
    background: linear-gradient(145deg, #1a1a2e 0%, #0d0d12 100%);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.pledge-content {
    padding: 3.5rem;
    flex: 2;
}

.pledge-tag {
    background: rgba(3, 192, 170, 0.15);
    color: #03c0aa;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.pledge-content h3 {
    font-size: 2rem;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
}

.pledge-content p {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pledge-signature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
    opacity: 0.8;
}

.signature-logo {
    height: 30px;
    filter: brightness(0) invert(1);
}

.pledge-visual {
    flex: 1;
    background: var(--accent-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.pledge-visual i {
    font-size: 8rem;
    color: rgba(0,0,0,0.2);
    transform: rotate(-15deg);
}

/* Guía Rápida Grid */
.guide-title {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.guide-item {
    background: rgba(0,0,0,0.2);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid #333;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: border-color 0.3s ease;
}

.guide-item:hover {
    border-color: #555;
}

.guide-item i {
    color: #F7D054;
    font-size: 1.2rem;
    margin-top: 3px;
}

.guide-item strong {
    display: block;
    color: #fff;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.guide-item small {
    color: #888;
    line-height: 1.4;
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    .dreamlum-pledge-box {
        flex-direction: column;
    }
    .pledge-content {
        padding: 2rem;
    }
    .pledge-visual {
        padding: 3rem;
    }
    .impact-header h2 {
        font-size: 2rem;
    }
}
/* Alternativa: Más espacio entre campos con select */
.form-group:has(select) {
    margin-bottom: 3rem; /* En lugar de 1.5rem */
}

/* O específicamente en los input-grid */
.input-grid .form-group:has(select) {
    margin-bottom: 2.5rem;
}
/* Asegura que el contenedor del select ocupe exactamente el espacio disponible */
.custom-select-container {
    position: relative; /* Importante para que las opciones no se pierdan */
    width: 100%;        /* Forza a que no sea más ancho que su columna */
    box-sizing: border-box; /* Asegura que el padding no aumente el ancho total */
}

/* Estila el disparador (la cajita visible que dice "Indefinido") */
.custom-select-trigger {
    display: block;      /* Asegura comportamiento de bloque */
    width: 100%;         /* Ancho total del padre */
    box-sizing: border-box;
    /* Aquí mantienes tus estilos visuales (bordes, padding, etc.) */
    padding: 0.5rem;     /* Ejemplo de ajuste */
    cursor: pointer;
}

/* Corrección para el Grid Padre (Opcional, si lo de arriba no basta) */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide en 2 columnas iguales */
    gap: 20px; /* Espacio entre las columnas */
}
/* ==============================================
   --- SISTEMA DE CARGA "LUMI QUANTUM" ---
   ============================================== */

/* Contenedor Principal de Carga */
.quantum-loader-container {
    display: none; /* Oculto por defecto */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: radial-gradient(circle at center, rgba(10, 10, 15, 0.95) 0%, rgba(0,0,0,1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 243, 255, 0.2);
    box-shadow: inset 0 0 50px rgba(0, 243, 255, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

/* Fondo de Red Cibernética */
.quantum-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 200%; height: 200%;
    background-image: 
        linear-gradient(rgba(0, 243, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}
@keyframes gridMove { 0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); } 100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); } }

/* Núcleo Central (El Cerebro) */
.core-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    z-index: 2;
}

.core-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

/* Anillo Externo */
.core-outer {
    width: 100%; height: 100%;
    border-top-color: var(--neon-cyan);
    border-bottom-color: var(--neon-purple);
    animation: spin 2s linear infinite;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

/* Anillo Medio */
.core-mid {
    width: 70%; height: 70%;
    top: 15%; left: 15%;
    border-left-color: #fff;
    border-right-color: var(--neon-pink);
    animation: spin-reverse 1.5s linear infinite;
}

/* Núcleo Interno Pulsante */
.core-inner {
    width: 40%; height: 40%;
    top: 30%; left: 30%;
    background: var(--dream-gradient);
    box-shadow: 0 0 30px rgba(249, 191, 0, 0.6);
    animation: corePulse 1s infinite alternate;
}

@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes spin-reverse { 0% { transform: rotate(360deg); } 100% { transform: rotate(0deg); } }
@keyframes corePulse { 0% { transform: scale(0.8); opacity: 0.7; } 100% { transform: scale(1.1); opacity: 1; } }

/* Texto de Estado */
.loading-status-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

/* Barra de Progreso Cyber */
.cyber-progress-container {
    width: 80%;
    max-width: 500px;
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
    z-index: 2;
}

.cyber-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--dream-gradient);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.8);
    transition: width 0.3s ease-out;
    position: relative;
}

/* Destello en la punta de la barra */
.cyber-progress-bar::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 5px; height: 100%;
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

/* Terminal de Logs (Hackerman style) */
.cyber-console {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    height: 100px;
    overflow: hidden;
    text-align: center;
    opacity: 0.8;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texto aparece desde abajo */
}

.console-line {
    margin: 2px 0;
    animation: fadeUp 0.3s ease-out;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* Partículas de Datos (Bits flotando) */
.data-particle {
    position: absolute;
    color: rgba(255,255,255,0.3);
    font-size: 10px;
    font-family: monospace;
    user-select: none;
    animation: floatUp 2s linear infinite;
}
@keyframes floatUp { 0% { transform: translateY(0); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(-100px); opacity: 0; } }

/* --- ESTILOS PODCAST PLAYER --- */

.podcast-player-card {
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .podcast-player-card {
        flex-direction: row;
        align-items: center;
        gap: 2rem;
    }
}

.podcast-cover {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 2px solid #333;
}

.podcast-info {
    flex: 1;
}

.podcast-tag {
    background: rgba(3, 192, 170, 0.2);
    color: #03c0aa;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.podcast-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin: 10px 0;
    color: #fff;
    line-height: 1.1;
}

.podcast-desc {
    color: #a0b2c2;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Controles Reproductor */
.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.play-btn-large {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    color: #000;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 20px rgba(249, 191, 0, 0.4);
}

.play-btn-large:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(249, 191, 0, 0.6);
}

.player-progress-bar {
    flex: 1;
    height: 6px;
    background: #333;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.player-progress-fill {
    height: 100%;
    background: #03c0aa;
    width: 0%;
    border-radius: 3px;
    position: relative;
}

.player-progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: -4px;
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.player-progress-bar:hover .player-progress-fill::after {
    opacity: 1;
}

/* Grid de Episodios */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.episode-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s;
    cursor: pointer;
    position: relative;
}

.episode-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    border-color: #f9bf00;
}

.episode-date {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.episode-mini-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1rem;
}

.play-mini-btn {
    background: transparent;
    border: 1px solid #555;
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    transition: all 0.3s;
}

.episode-card:hover .play-mini-btn {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* Animación Visualizador (Barras de sonido) */
.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
    margin-left: auto;
}
.bar {
    width: 3px;
    background: #03c0aa;
    animation: sound 0ms -800ms linear infinite alternate;
}
.playing .bar { animation-duration: 400ms; }
@keyframes sound { 0% { height: 3px; opacity: .35; } 100% { height: 20px; opacity: 1; } }

/* CTA BANNER PARA FINIQUITO.HTML */
.podcast-cta-banner {
    background: linear-gradient(90deg, #1a1a2e 0%, #000 100%);
    border: 1px solid #333;
    border-left: 5px solid #d71204; /* Color rojo Dreamlum */
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.podcast-cta-content h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-style: italic;
    margin: 0 0 0.5rem 0;
    color: #fff;
}

.podcast-cta-content p {
    margin: 0;
    color: #a0b2c2;
}

.podcast-cta-icon {
    font-size: 3rem;
    color: #d71204;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .podcast-cta-banner { flex-direction: column; text-align: center; }
}

/* --- MEJORAS VISUALES PODCAST --- */

/* Vinilo y Carátula: Ajuste Perfecto */
.cover-container {
    position: relative;
    width: 260px;
    height: 260px;
    flex-shrink: 0;
    margin: 0 auto;
    display: flex; /* Centrado */
    justify-content: center;
    align-items: center;
}

.album-art {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6); /* Sombra más fuerte */
    position: relative;
    z-index: 5; /* Siempre encima del vinilo */
}

/* El Disco de Vinilo (Detrás de la carátula) */
.vinyl-record {
    position: absolute;
    width: 250px; height: 250px;
    border-radius: 50%;
    /* Textura de vinilo realista */
    background: radial-gradient(
        #111 20%, 
        #222 21%, #111 22%, 
        #111 30%, #222 31%, #111 32%, 
        #000 70%
    );
    z-index: 1; 
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    display: flex; justify-content: center; align-items: center;
}

/* Etiqueta central del vinilo */
.vinyl-label {
    width: 90px; height: 90px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 4px solid #111;
    position: relative;
}
/* Agujero del vinilo */
.vinyl-label::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 15px; height: 15px;
    background: #000; /* Agujero negro */
    border-radius: 50%;
}

/* Animación: El disco sale hacia la derecha */
.glass-player.playing .vinyl-record {
    transform: translateX(50%) rotate(0deg); 
    animation: spinVinyl 5s linear infinite;
    animation-delay: 0.6s;
}
@keyframes spinVinyl { 100% { transform: translateX(50%) rotate(360deg); } }


/* --- LISTA DE EPISODIOS (Ajustes de layout) --- */
.episodes-grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); /* Tarjetas más anchas */
    gap: 2rem;
    padding-bottom: 2rem;
}

.episode-card {
    display: flex; gap: 1.5rem; align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 1.2rem;
    transition: all 0.3s; cursor: pointer;
}

/* Imagen pequeña en la lista */
.card-image-wrapper { 
    position: relative; 
    width: 70px; height: 70px; 
    flex-shrink: 0; 
}
.card-thumb { 
    width: 100%; height: 100%; 
    object-fit: cover; border-radius: 8px; 
}

/* Estado activo de la tarjeta */
.episode-card.active-card {
    border-color: #03c0aa;
    background: linear-gradient(90deg, rgba(3, 192, 170, 0.1), transparent);
}

