/* --- Google Fonts: Inter + Montserrat (cyberpunk titles) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Montserrat:ital,wght@1,800;1,900&display=swap');

/* --- Variables y Estilos Globales --- */
:root {
    --primary-dark: #000000;
    --card-bg: #1f1f1f;
    --accent-gradient: linear-gradient(90deg, #d71204, #f9bf00, #03c0aa);
    --gold-gradient: linear-gradient(135deg, #f9bf00 0%, #ffd966 35%, #e8a000 65%, #f9bf00 100%);
    --text-light: #f0f4f8;
    --text-secondary: #a0b2c2;
    --text-dark: #333;
    --bg-light: #ffffff;
    --font-cyber: 'Montserrat', 'Inter', sans-serif;
}
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; }

/* ================================================================
   TIPOGRAFÍA CYBERPUNK — Solo section-title y service-detail-block h2
   Montserrat 900 italic, sin tocar el index ni elementos genéricos
================================================================ */
.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 0.5rem;
    font-weight: 900;
    font-family: var(--font-cyber);
    font-style: italic;
    letter-spacing: -1.5px;
    line-height: 1.1;
    /* Color por defecto: blanco (heredado). Solo las que tienen
       .gradient-text dentro o inline style aplican el gradiente) */
    color: var(--text-light);
}

/* Clase auxiliar explícita: solo cuando se aplica manualmente a un elemento */
.cyber-title {
    font-family: var(--font-cyber) !important;
    font-style: italic !important;
    font-weight: 900 !important;
    letter-spacing: -1px !important;
    line-height: 1.15 !important;
}

/* NOTA: NO redefinir .gradient-text aquí — se usa en index.html
   para animación de texto con accent-gradient. Cada uso tiene
   sus propios estilos inline o locales. */

.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);
}

/* Botón CTA hero de páginas de servicio */
.cta-button {
    background: var(--accent-gradient);
    color: #000;
    font-weight: 700;
    padding: .85rem 1.8rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: .95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(246, 208, 84, 0.25);
    cursor: pointer;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(246, 208, 84, 0.4);
}

.nav-toggle { display: none; }

/* --- Dropdown Nav v2 — Modern Click-Based --- */
.has-dropdown { position: relative; }

/* Trigger link */
.nav-dd-trigger {
    display: flex !important;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    position: relative;
}
.nav-dd-trigger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-dd-trigger:hover::after,
.has-dropdown.open .nav-dd-trigger::after { width: 100%; }

/* Chevron */
.dd-chevron { transition: transform 0.25s ease; flex-shrink: 0; }
.has-dropdown.open .dd-chevron { transform: rotate(180deg); }

/* Dropdown panel — base */
.dropdown {
    position: absolute;
    top: calc(100% + 18px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.97);
    transform-origin: top center;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    background: rgba(7, 7, 18, 0.94);
    backdrop-filter: blur(28px) saturate(1.5);
    -webkit-backdrop-filter: blur(28px) saturate(1.5);
    border: 1px solid rgba(249, 191, 0, 0.14);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0,0,0,0.75), 0 0 0 1px rgba(255,255,255,0.03) inset;
    z-index: 1100;
    list-style: none;
    padding: 0;
    margin: 0;
}
.dropdown::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--accent-gradient);
}
.has-dropdown.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* --- Services dropdown --- */
.dropdown-services { left: 0; min-width: 288px; }

.dd-section-label {
    padding: 0.85rem 1.1rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(249,191,0,0.65);
}
.dd-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.55rem 0.9rem;
    margin: 0 0.45rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.16s ease;
}
.dd-card:hover { background: rgba(255,255,255,0.06); }
.dd-card:hover .dd-card-arrow { opacity: 1; transform: translateX(4px); }
.dd-card-icon {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    border-radius: 8px;
    background: rgba(249,191,0,0.1);
    color: #f9bf00;
    font-size: 0.82rem;
    flex-shrink: 0;
}
.dd-card-body { display: flex; flex-direction: column; gap: 0.12rem; flex: 1; }
.dd-card-name { color: var(--text-light); font-size: 0.88rem; font-weight: 600; }
.dd-card-desc { color: var(--text-secondary); font-size: 0.73rem; line-height: 1.3; }
.dd-card-arrow { color: var(--text-secondary); font-size: 0.8rem; opacity: 0; transition: all 0.16s ease; }

/* ── Industry expandable button in navbar ── */
.dd-industry-btn {
    width: calc(100% - 0.9rem);
    margin: 0 0.45rem;
    background: rgba(249,191,0,0.07);
    border: 1px solid rgba(249,191,0,0.22);
    border-radius: 10px;
    padding: 9px 14px;
    display: flex; align-items: center; justify-content: space-between;
    cursor: pointer;
    color: #e8d5a3;
    font-size: 0.86rem; font-weight: 600;
    font-family: inherit;
    transition: background 0.18s, border-color 0.18s;
    box-sizing: border-box;
}
.dd-industry-btn:hover {
    background: rgba(249,191,0,0.14);
    border-color: rgba(249,191,0,0.45);
    color: #f9bf00;
}
.dd-industry-btn .dd-ind-chev {
    transition: transform 0.24s ease;
    font-size: 0.7rem;
    color: rgba(249,191,0,0.55);
}
.dd-industry-btn.dd-active .dd-ind-chev { transform: rotate(90deg); }
.dd-industry-list {
    display: none;
    flex-direction: column;
    gap: 1px;
    margin: 5px 0.45rem 0 calc(0.45rem + 14px);
    border-left: 2px solid rgba(249,191,0,0.18);
    padding-left: 10px;
}
.dd-industry-list.dd-open { display: flex; }
.dd-ind-item {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 9px; border-radius: 7px;
    color: #b8c4d0; font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.dd-ind-item i { color: rgba(249,191,0,0.55); width: 14px; text-align: center; font-size: 0.77rem; flex-shrink: 0; }
.dd-ind-item:hover { background: rgba(255,255,255,0.05); color: #f9bf00; }
.dd-ind-item:hover i { color: #f9bf00; }

.dd-cta-row {
    margin: 0.5rem 0.45rem 0.6rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}
.dd-cta-row a {
    color: #f9bf00; font-size: 0.8rem; font-weight: 600;
    text-decoration: none; transition: letter-spacing 0.2s;
}
.dd-cta-row a:hover { letter-spacing: 0.03em; }

/* --- Tools mega dropdown --- */
.dropdown-tools {
    left: 50%;
    transform: translateX(-50%) translateY(-10px) scale(0.97);
    transform-origin: top center;
    min-width: 560px;
}
.has-dropdown.open .dropdown-tools {
    transform: translateX(-50%) translateY(0) scale(1);
}
.dd-mega-grid { display: grid; grid-template-columns: 1fr 1fr; }
.dd-mega-col { padding: 1rem; }
.dd-mega-col + .dd-mega-col { border-left: 1px solid rgba(255,255,255,0.06); }
.dd-col-label {
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
    text-transform: uppercase; color: rgba(3,192,170,0.75);
    padding: 0 0.4rem; margin-bottom: 0.4rem;
}
.dd-tool-item {
    display: flex; align-items: center; gap: 0.6rem;
    padding: 0.42rem 0.6rem; border-radius: 8px;
    text-decoration: none; font-size: 0.85rem; font-weight: 500;
    color: var(--text-secondary); transition: all 0.15s ease;
}
.dd-tool-item:hover { color: var(--text-light); background: rgba(255,255,255,0.05); padding-left: 0.9rem; }
.dd-tool-item i { width: 15px; text-align: center; color: #f9bf00; font-size: 0.8rem; flex-shrink: 0; }
.dd-mega-footer {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 0.6rem 1.5rem;
    display: flex; justify-content: flex-end;
}
.dd-mega-cta {
    font-size: 0.8rem; font-weight: 600; color: #f9bf00;
    text-decoration: none; transition: letter-spacing 0.2s;
}
.dd-mega-cta:hover { letter-spacing: 0.03em; }

/* --- 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: 1.6fr repeat(4, 1fr); gap: 2.5rem; 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; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.2rem; }
.footer-social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.07); color: var(--text-secondary); font-size: 0.95rem; transition: all 0.25s ease; text-decoration: none; }
.footer-social-link:hover { background: var(--accent-gradient); color: #000; transform: translateY(-2px); }

/* ================================================================
   TOOL INFO SECTIONS — Shared Design (ti-*)
   Replica el diseño premium del Optimizador de CV y Ley Karin
   para todas las herramientas. Prefijo: ti- (tool-info)
================================================================ */
.ti-wrap { background: #050505; border-top: 1px solid #1a1a1a; padding-bottom: 1rem; }

/* Stats bar */
.ti-stats-bar { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; border-bottom: 1px solid #111; }
.ti-stat { flex: 1; min-width: 140px; text-align: center; padding: 2.2rem 1rem; border-right: 1px solid #111; }
.ti-stat:last-child { border-right: none; }
.ti-stat-num { font-size: 2rem; font-weight: 900; font-family: 'Montserrat', sans-serif; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; margin-bottom: .3rem; }
.ti-stat-label { font-size: .72rem; color: #555; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }

/* Section wrappers */
.ti-section { padding: 5rem 0; }
.ti-section-title { text-align: center; font-size: 1.9rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: #fff; margin-bottom: .5rem; }
.ti-section-sub { text-align: center; color: #555; font-size: .9rem; max-width: 620px; margin: 0 auto 3rem; }

/* Steps (cómo funciona) */
.ti-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; }
.ti-step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.5rem; position: relative; }
.ti-step::after { content: '→'; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: #f9bf00; font-weight: 900; }
.ti-step:last-child::after { display: none; }
.ti-step-num { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg,#d71204,#f9bf00); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; color: #000; font-family: 'Montserrat', sans-serif; margin-bottom: 1rem; flex-shrink: 0; box-shadow: 0 4px 20px rgba(249,191,0,.25); }
.ti-step h4 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.ti-step p { font-size: .82rem; color: #666; line-height: 1.5; }

/* Feature cards */
.ti-feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.ti-feat-card { background: #0d0d0d; border: 1px solid #1a1a1a; border-top: 3px solid transparent; border-radius: 14px; padding: 1.8rem 1.5rem; transition: transform .3s, border-color .3s; }
.ti-feat-card:hover { transform: translateY(-6px); border-top-color: #f9bf00; border-color: #2a2a2a; }
.ti-feat-icon { font-size: 2rem; margin-bottom: 1rem; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ti-feat-card h3 { font-size: .95rem; font-weight: 700; color: #eee; margin-bottom: .4rem; }
.ti-feat-card p { font-size: .82rem; color: #666; line-height: 1.55; }
.ti-feat-badge { display: inline-block; font-size: .68rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; background: rgba(3,192,170,.12); color: #03c0aa; border: 1px solid rgba(3,192,170,.2); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .04em; }

/* Advantage cards */
.ti-adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 3rem; }
.ti-adv-card { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 2rem; transition: transform .3s, background .3s; }
.ti-adv-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.05); }
.ti-adv-card.ti-gold { border-color: rgba(249,191,0,.35); box-shadow: 0 0 20px rgba(249,191,0,.07); }
.ti-adv-card.ti-teal { border-color: rgba(3,192,170,.35); box-shadow: 0 0 20px rgba(3,192,170,.07); }
.ti-adv-icon { font-size: 2.2rem; margin-bottom: 1rem; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ti-adv-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.ti-adv-card p { font-size: .83rem; color: #666; line-height: 1.55; }

/* Pledge box */
.ti-pledge { display: flex; align-items: stretch; background: linear-gradient(135deg,#0e0e0e,#080808); border: 1px solid #1f1f1f; border-radius: 18px; overflow: hidden; margin-bottom: 4rem; }
.ti-pledge-body { flex: 2; padding: 3rem; }
.ti-pledge-tag { display: inline-block; background: rgba(3,192,170,.12); color: #03c0aa; font-size: .72rem; font-weight: 700; letter-spacing: .08em; padding: 4px 12px; border-radius: 4px; text-transform: uppercase; margin-bottom: 1.2rem; }
.ti-pledge-body h3 { font-size: 1.5rem; font-weight: 800; color: #fff; font-family: 'Montserrat', sans-serif; margin-bottom: .8rem; }
.ti-pledge-body p { font-size: .88rem; color: #777; line-height: 1.7; margin-bottom: .6rem; }
.ti-pledge-sig { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; }
.ti-pledge-sig img { height: 26px; filter: brightness(0) invert(.6); }
.ti-pledge-sig span { font-size: .8rem; color: #555; }
.ti-pledge-visual { flex: 0 0 180px; background: linear-gradient(135deg,#d71204,#f9bf00,#03c0aa); display: flex; align-items: center; justify-content: center; }
.ti-pledge-visual i { font-size: 5rem; color: rgba(0,0,0,.25); transform: rotate(-15deg); }

/* FAQ */
.ti-faq-wrap { max-width: 820px; margin: 0 auto 2rem; }
.ti-faq-item { border-bottom: 1px solid #1a1a1a; }
.ti-faq-item summary { padding: 1.3rem 0; cursor: pointer; font-family: 'Montserrat', sans-serif; font-weight: 700; color: #ddd; font-size: .98rem; display: flex; justify-content: space-between; align-items: center; list-style: none; transition: color .2s; }
.ti-faq-item summary::-webkit-details-marker { display: none; }
.ti-faq-item summary:hover { color: #fff; }
.ti-faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #f9bf00; transition: transform .3s, color .3s; font-size: .8rem; }
.ti-faq-item[open] summary::after { transform: rotate(180deg); color: #d71204; }
.ti-faq-ans { padding-bottom: 1.2rem; color: #666; line-height: 1.7; font-size: .9rem; }
.ti-faq-ans strong { color: #03c0aa; }

@media (max-width: 640px) {
    .ti-step::after { display: none; }
    .ti-pledge { flex-direction: column; }
    .ti-pledge-visual { height: 100px; flex: none; }
    .ti-pledge-visual i { font-size: 3rem; }
    .ti-stats-bar { flex-direction: column; }
    .ti-stat { border-right: none; border-bottom: 1px solid #111; }
}

/* ================================================================
   E-E-A-T — Bloques de Autoridad y Confianza
================================================================ */
.eeat-section { padding: 5rem 0; background: #050505; border-top: 1px solid #111; border-bottom: 1px solid #111; }
.eeat-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid #1a1a1a; border-radius: 16px; overflow: hidden; margin-bottom: 3rem; }
.eeat-metric { text-align: center; padding: 2rem 1rem; border-right: 1px solid #1a1a1a; }
.eeat-metric:last-child { border-right: none; }
.eeat-metric-num { font-size: 2.4rem; font-weight: 900; font-family: 'Montserrat', sans-serif; background: var(--accent-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.eeat-metric-label { font-size: .78rem; color: #555; text-transform: uppercase; letter-spacing: .06em; margin-top: .4rem; font-weight: 600; }
.eeat-creds { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }
.eeat-badge { display: flex; align-items: center; gap: .5rem; background: rgba(249,191,0,.06); border: 1px solid rgba(249,191,0,.2); border-radius: 8px; padding: .6rem 1.2rem; font-size: .82rem; font-weight: 600; color: #f9bf00; }
.eeat-badge i { color: #f9bf00; }

/* E-E-A-T pills bar (for service pages) */
.eeat-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; padding: 1.2rem 0 2rem; }
.eeat-pill { display: inline-flex; align-items: center; gap: .4rem; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 20px; padding: .35rem .9rem; font-size: .78rem; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
.eeat-pill i { font-size: .75rem; color: #f9bf00; }

/* Hero trust signal */
.hero-trust { margin-top: 1.5rem; font-size: .82rem; color: #555; text-align: center; letter-spacing: .02em; }
.hero-trust strong { color: #888; }

/* ================================================================
   NICHO LANDING PAGES — Shared CSS
================================================================ */
.nicho-chips { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 1.5rem; }
.nicho-chip { background: rgba(249,191,0,.1); border: 1px solid rgba(249,191,0,.25); border-radius: 20px; padding: .4rem 1rem; font-size: .8rem; font-weight: 700; color: #f9bf00; }

.nicho-pain-grid, .nicho-solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.nicho-pain-card { background: rgba(215,18,4,.06); border: 1px solid rgba(215,18,4,.2); border-radius: 14px; padding: 1.8rem 1.5rem; }
.nicho-pain-card .pain-icon { font-size: 1.8rem; color: #d71204; margin-bottom: .8rem; }
.nicho-pain-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.nicho-pain-card p { font-size: .83rem; color: #777; line-height: 1.55; }
.nicho-sol-card { background: rgba(3,192,170,.06); border: 1px solid rgba(3,192,170,.2); border-radius: 14px; padding: 1.8rem 1.5rem; }
.nicho-sol-card .sol-icon { font-size: 1.8rem; color: #03c0aa; margin-bottom: .8rem; }
.nicho-sol-card h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .4rem; }
.nicho-sol-card p { font-size: .83rem; color: #777; line-height: 1.55; }

.nicho-tools-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 2rem; }
.nicho-tool-link { display: flex; align-items: center; gap: .7rem; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 1rem 1.2rem; text-decoration: none; color: var(--text-light); font-size: .88rem; font-weight: 600; transition: all .2s ease; }
.nicho-tool-link:hover { background: rgba(249,191,0,.07); border-color: rgba(249,191,0,.3); transform: translateY(-2px); }
.nicho-tool-link i { color: #f9bf00; font-size: 1rem; }

.nicho-cta-section { padding: 6rem 0; text-align: center; background: linear-gradient(135deg, #050505, #0a0a0a); border-top: 1px solid #1a1a1a; }
.nicho-cta-section h2 { font-size: 2.2rem; font-weight: 900; font-family: 'Montserrat', sans-serif; color: #fff; margin-bottom: 1rem; }
.nicho-cta-section p { color: #666; font-size: 1rem; max-width: 500px; margin: 0 auto 2rem; }
.nicho-cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.nicho-cta-wa { display: inline-flex; align-items: center; gap: .5rem; background: #25D366; color: #fff; padding: .85rem 1.8rem; border-radius: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.nicho-cta-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.3); }

@media (max-width: 768px) {
    .eeat-metrics { grid-template-columns: repeat(2, 1fr); }
    .eeat-metric:nth-child(2) { border-right: none; }
}

/* --- 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: 900;
    font-family: var(--font-cyber);
    font-style: italic;
    letter-spacing: -1.5px;
    line-height: 1.1;
}
.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: 900;
    font-family: var(--font-cyber);
    font-style: italic;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-top: 0;
    margin-bottom: 0.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.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; overflow-y: auto; gap: 0.8rem; }
    .nav-links.active { transform: translateX(0); }
    .nav-links > li { width: 100%; text-align: center; }
    .nav-links a { font-size: 1.5rem; }
    .cta-button-nav { font-size: 1.2rem; padding: 0.8rem 1.5rem; }
    /* Mobile dropdowns */
    .has-dropdown { position: static; }
    .nav-dd-trigger { font-size: 1.4rem !important; justify-content: center; }
    .nav-dd-trigger::after { display: none; }
    .dropdown {
        display: none; position: static !important;
        opacity: 1 !important; visibility: visible !important;
        transform: none !important; backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: rgba(255,255,255,0.04);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 12px; margin: 0.4rem 1rem 0;
        box-shadow: none; min-width: unset; overflow: visible;
    }
    .dropdown::before { display: none; }
    .has-dropdown.open .dropdown { display: block; }
    .has-dropdown.open .dd-chevron { transform: rotate(180deg); }
    .dropdown-tools { left: auto !important; transform: none !important; min-width: unset; }
    .dd-mega-grid { grid-template-columns: 1fr; }
    .dd-mega-col + .dd-mega-col { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); }
    .dd-card { justify-content: center; }
    .dd-card-desc, .dd-card-arrow { display: none; }
    .dd-section-label, .dd-cta-row, .dd-mega-footer { display: none; }
    .dd-tool-item { justify-content: center; font-size: 0.95rem; }
    .dd-col-label { text-align: center; }
    /* Mobile footer */
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    
    /* --- 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;
}
/* === 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;
    width: 44px;
    height: 44px;
    background: rgba(249, 191, 0, 0.12);
    border-radius: 50%;
    border: 1px solid rgba(249, 191, 0, 0.3);
    --swiper-navigation-size: 20px;
    transition: background 0.2s ease;
}
.swiper-button-prev:hover, .swiper-button-next:hover {
    background: rgba(249, 191, 0, 0.25);
}
@media (max-width: 768px) {
    .swiper-button-prev, .swiper-button-next {
        display: flex;
        width: 40px;
        height: 40px;
        --swiper-navigation-size: 16px;
    }
    .swiper-button-prev { left: 4px; }
    .swiper-button-next { right: 4px; }
}
/* === 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;
}
/* =========================================
   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 { display: flex; flex-direction: row; align-items: center; }
.avatar-stack img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid #111; margin-left: -10px; object-fit: cover; }
.avatar-stack img:first-child { margin-left: 0; }
.dash-footer { display: flex; flex-direction: row; align-items: center; justify-content: space-between; margin-top: 1rem; gap: 0.5rem; }

/* 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);
}


/* ===============================================================
   MEJORAS AVANZADAS DE RESPONSIVIDAD MÓVIL
   Adaptabilidad total para todos los dispositivos
   =============================================================== */

/* --- PREVENCIÓN DE SCROLL HORIZONTAL GLOBAL --- */
html {
    overflow-x: hidden;
}

/* --- IMÁGENES SIEMPRE RESPONSIVAS --- */
img {
    max-width: 100%;
    height: auto;
}

/* ================================================================
   COMPLEMENTO AL BREAKPOINT MÓVIL (max-width: 768px)
   Mejoras adicionales a lo ya existente
   ================================================================ */
@media (max-width: 768px) {

    /* Hero: altura mínima automática para que no ocupe toda la pantalla */
    .hero {
        min-height: auto;
        padding: 4.5rem 0 3rem 0;
    }

    /* Glitch wrapper: escala mejor en pantallas medianas */
    .glitch-wrapper {
        font-size: 2.2rem;
    }

    /* CTA botones del hero: columna vertical para mejor usabilidad táctil */
    .hero-cta-group {
        flex-direction: column;
        align-items: stretch;
    }
    .cta-button-main {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    .cta-button-secondary {
        text-align: center;
        width: 100%;
        box-sizing: border-box;
        padding: calc(0.8rem - 2px) calc(1.5rem - 2px);
    }

    /* Estadísticas: números más pequeños */
    .stat-card h3 {
        font-size: 2.5rem;
    }
    .stats-section {
        padding: 4rem 0;
    }

    /* Marquee: fuente más pequeña en móvil */
    .marquee-item {
        font-size: 1.8rem;
    }

    /* Orbit nodes: más pequeños para la vista de alianzas en móvil */
    .orbit-node {
        width: 80px;
        height: 80px;
    }

    /* Modales: tamaño adaptado al viewport */
    .modal-content {
        width: 95%;
        max-height: 85vh;
        overflow-y: auto;
    }

    /* Pledge box: padding reducido */
    .pledge-content {
        padding: 2rem 1.5rem;
    }

    /* Service hero h1 */
    .service-hero h1 {
        font-size: 2.2rem;
    }

    /* Confirmation box */
    .confirmation-box {
        padding: 2.5rem 1.5rem;
    }

    /* Wizard: 2 tarjetas por fila en pantallas medianas */
    .wizard-card-option {
        flex: 1 1 calc(50% - 1.5rem);
        min-width: 130px;
        max-width: none;
    }
    .wizard-wrapper {
        padding: 2.5rem 1.5rem;
    }

    /* Podcast cover: centrado y ajustado */
    .cover-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    .vinyl-record {
        width: 185px;
        height: 185px;
    }

    /* Nav links: mejor área táctil y espaciado */
    .nav-links li {
        width: 100%;
        text-align: center;
    }
    .nav-links a {
        padding: 0.5rem 0;
        display: block;
    }

    /* Podcast CTA Banner: ya tiene media query, refuerzo padding */
    .podcast-cta-banner {
        gap: 1.5rem;
        padding: 1.5rem;
    }

    /* Steps gap reducido en móvil */
    .steps-grid {
        gap: 1.5rem;
    }
}

/* ================================================================
   BREAKPOINT EXTRA PEQUEÑO: TELÉFONOS (max-width: 480px)
   ================================================================ */
@media (max-width: 480px) {

    /* Títulos de sección */
    .section-title {
        font-size: 1.75rem;
        letter-spacing: -0.3px;
    }
    .section-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2.5rem;
    }

    /* Hero */
    .hero {
        padding: 3.5rem 0 2.5rem 0;
    }
    .glitch-wrapper {
        font-size: 1.85rem;
    }
    .hero h1 {
        font-size: 1.85rem;
    }
    .subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    .live-status-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
    }
    /* Scroll indicator: ocultar en pantallas muy pequeñas */
    .scroll-indicator {
        display: none;
    }

    /* Stats: 2 columnas en vez de 4 */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    .stat-card h3 {
        font-size: 2rem;
    }
    .stats-section {
        padding: 3rem 0;
    }

    /* Marquee: muy reducido */
    .marquee-item {
        font-size: 1.3rem;
    }
    .marquee-section {
        padding: 2.5rem 0;
    }

    /* Secciones: padding reducido */
    .alliances,
    .methodology,
    .interactive-services,
    .contact-form-section {
        padding: 3rem 0;
    }
    .industries-section {
        padding: 3rem 0 4rem 0;
    }

    /* Service hero */
    .service-hero {
        padding: 3rem 1rem;
    }
    .service-hero h1 {
        font-size: 1.9rem;
    }
    .service-hero p {
        font-size: 1rem;
    }

    /* Service detail block */
    .service-detail-block {
        padding: 1.5rem 1rem;
    }
    .service-detail-block h2 {
        font-size: 1.5rem;
    }

    /* Steps grid */
    .steps-grid {
        gap: 1.2rem;
    }

    /* Footer */
    .dark-footer {
        padding: 3rem 0 1.5rem 0;
    }
    .footer-tagline {
        max-width: 100%;
    }

    /* Wizard: 1 tarjeta por fila en pantallas muy pequeñas */
    .wizard-card-option {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .wizard-wrapper {
        padding: 1.8rem 1rem;
    }
    .form-container-wrapper {
        padding: 1rem;
    }

    /* Alliance nodes en móvil pequeño */
    .orbit-node {
        width: 65px;
        height: 65px;
    }
    .center-node {
        width: 95px;
        height: 95px;
    }

    /* Podcast */
    .podcast-title {
        font-size: 1.4rem;
    }
    .cover-container {
        width: 150px;
        height: 150px;
    }
    .vinyl-record {
        width: 140px;
        height: 140px;
    }
    .episode-card {
        flex-direction: column;
        gap: 1rem;
    }
    .episodes-grid {
        grid-template-columns: 1fr;
    }

    /* Confirmation */
    .confirmation-box {
        padding: 2rem 1.2rem;
    }
    .confirmation-box .section-title {
        font-size: 1.7rem;
    }

    /* Chooser cards */
    .chooser-card {
        padding: 2rem 1.5rem;
    }
    .chooser-card h3 {
        font-size: 1.5rem;
    }

    /* Pledge */
    .pledge-content {
        padding: 2rem 1rem;
    }
    .pledge-visual {
        padding: 2rem;
    }
    .pledge-visual i {
        font-size: 5rem;
    }

    /* FAQ */
    .faq-item h3 {
        font-size: 1.2rem;
    }

    /* Fuente cards */
    .fuente-card {
        padding: 1.5rem;
    }
    .fuente-card h3 {
        font-size: 1.2rem;
    }

    /* Impact cards (Lumi Career) */
    .impact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    /* Nav button: tamaño ajustado en menú móvil */
    .cta-button-nav {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    /* Finiquito info grid */
    .finiquito-info-grid {
        gap: 1.5rem;
    }

    /* Alliances gap */
    .alliance-nodes {
        gap: 1rem !important;
    }
}

/* ================================================================
   ORIENTACIÓN LANDSCAPE EN MÓVIL
   ================================================================ */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    .nav-links {
        gap: 0.8rem;
        overflow-y: auto;
        padding: 3rem 1rem 2rem 1rem;
        justify-content: flex-start;
        align-content: center;
    }
    .nav-links a {
        font-size: 1.1rem;
    }
    .scroll-indicator {
        display: none;
    }
}

/* ================================================================
   DISPOSITIVOS TÁCTILES: MEJORAR ÁREA DE TOQUE
   ================================================================ */
@media (hover: none) and (pointer: coarse) {

    /* Área mínima de toque para todos los controles interactivos */
    .cta-button-main,
    .cta-button-secondary,
    .cta-button-nav,
    .tab-button,
    .wizard-btn,
    .btn-next,
    .btn-prev,
    .play-btn-large,
    .play-mini-btn,
    .social-trigger,
    .chat-bubble {
        min-height: 44px;
    }

    /* Wizard cards: feedback táctil mejor */
    .wizard-card-option:active .card-inner-select {
        background: rgba(249, 191, 0, 0.08);
        border-color: rgba(249, 191, 0, 0.5);
        transform: scale(0.97);
    }

    /* Tab buttons: feedback táctil */
    .tab-button:active {
        transform: scale(0.97);
    }

    /* Quitar hover en tarjetas que causarían saltos en táctil */
    .step-card:hover {
        transform: none;
    }
    .faq-item:hover {
        transform: none;
        box-shadow: none;
    }
    .sub-service-card:hover {
        transform: none;
        border-top: none;
        padding-top: 2.5rem;
    }
}

/* ================================================================
   CALCULADORAS Y HERRAMIENTAS: MEJORAS ESPECÍFICAS
   ================================================================ */
@media (max-width: 768px) {

    /* Tablas de resultados: permitir scroll horizontal */
    .retro-table,
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    /* Grillas de input en calculadoras */
    .input-grid,
    .input-grid-3 {
        grid-template-columns: 1fr !important;
    }

    /* Botones wizard en calculadoras */
    .user-type-selector {
        flex-wrap: wrap;
        gap: 10px;
    }
    .type-label {
        flex: 1 1 40%;
        justify-content: center;
    }

    /* Currency input group */
    .currency-input-group {
        flex-direction: column;
        gap: 0.8rem;
    }
    .currency-selector,
    .currency-value {
        flex: none;
        width: 100%;
    }

    /* Result box */
    .result-box {
        padding: 1.5rem 1rem;
    }
    .result-title {
        font-size: 2.8rem;
    }

    /* Breakdown container */
    .breakdown-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    /* Resultado muy grande: reducir en pantallas pequeñas */
    .result-title,
    .result-box h2 {
        font-size: 2.2rem;
    }

    /* Wizard step h3 */
    .wizard-step h3 {
        font-size: 1.4rem;
    }

    /* Progress bar: más ancho en pequeño */
    .progress-container {
        width: 95%;
    }

    /* Wizard actions: botones más pequeños */
    .wizard-actions {
        gap: 1rem;
    }
    .wizard-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ============================================================
   GARANTIA SECTION
   ============================================================ */
.garantia-section {
    background: linear-gradient(180deg, #000 0%, #0a0a18 50%, #000 100%);
    padding: 5rem 0;
    border-top: 1px solid rgba(249,191,0,0.12);
    border-bottom: 1px solid rgba(249,191,0,0.12);
}
.garantia-section .section-title { margin-bottom: 0.5rem; }
.garantia-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.garantia-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
    overflow: hidden;
}
.garantia-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s;
}
.garantia-card:hover { border-color: rgba(249,191,0,0.3); transform: translateY(-4px); }
.garantia-card:hover::before { opacity: 1; }
.garantia-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(249,191,0,0.08);
    border: 1px solid rgba(249,191,0,0.2);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem auto;
    font-size: 1.5rem;
}
.garantia-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 0.7rem;
}
.garantia-text {
    font-size: 0.9rem;
    color: #a0b2c2;
    line-height: 1.6;
}
.garantia-badge {
    display: inline-block;
    margin-top: 2.5rem;
    background: rgba(3,192,170,0.1);
    border: 1px solid rgba(3,192,170,0.3);
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #03c0aa;
    letter-spacing: 0.5px;
}
@media (max-width: 768px) {
    .garantia-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CASOS SECTION (mini case studies)
   ============================================================ */
.casos-section {
    padding: 5rem 0;
    background: #000;
}
.casos-section .section-title { margin-bottom: 0.5rem; }
.casos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}
.caso-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.8rem 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
.caso-card:hover { border-color: rgba(249,191,0,0.25); transform: translateY(-4px); }
.caso-tag {
    display: inline-block;
    background: rgba(249,191,0,0.1);
    border: 1px solid rgba(249,191,0,0.25);
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #f9bf00;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}
.caso-problem-label, .caso-sol-label, .caso-res-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.caso-problem-label { color: #d71204; }
.caso-sol-label { color: #f9bf00; }
.caso-res-label { color: #03c0aa; }
.caso-problem, .caso-sol, .caso-res {
    font-size: 0.88rem;
    color: #b0c0d0;
    line-height: 1.5;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 2px solid rgba(255,255,255,0.07);
}
.caso-res {
    color: #e8f4f0;
    border-left-color: rgba(3,192,170,0.35);
    font-weight: 600;
}
.caso-res-num {
    font-size: 1.5rem;
    font-weight: 900;
    color: #03c0aa;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.2rem;
    display: block;
}
.casos-disclaimer {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #555;
    font-style: italic;
}
@media (max-width: 768px) {
    .casos-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   USAGE COUNTER BADGE (tool pages)
   ============================================================ */
.uso-counter-wrap {
    text-align: center;
    padding: 0.8rem 0 0 0;
}
.uso-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(3,192,170,0.08);
    border: 1px solid rgba(3,192,170,0.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #03c0aa;
}
.uso-counter-badge .uso-num {
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}
.uso-pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #03c0aa;
    animation: usoPulse 2s infinite;
    flex-shrink: 0;
}
@keyframes usoPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

/* ============================================================
   INVERSION PAGE STYLES
   ============================================================ */
.inv-hero {
    background: linear-gradient(135deg, #000 0%, #080818 60%, #000 100%);
    padding: 6rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid rgba(249,191,0,0.1);
    position: relative;
    overflow: hidden;
}
.inv-hero::before {
    content: '';
    position: absolute;
    top: -60px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(249,191,0,0.06) 0%, transparent 70%);
    pointer-events: none;
}
.inv-hero-eyebrow {
    display: inline-block;
    background: rgba(249,191,0,0.1);
    border: 1px solid rgba(249,191,0,0.3);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f9bf00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.inv-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1rem;
    line-height: 1.1;
}
.inv-hero p {
    font-size: 1.15rem;
    color: #a0b2c2;
    max-width: 560px;
    margin: 0 auto 2rem;
}
.inv-why-section { padding: 5rem 0; background: #050510; }
.inv-factors-section { padding: 5rem 0; background: #000; }
.inv-anchor-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #0a0918 0%, #050510 100%);
    text-align: center;
}
.inv-areas-section { padding: 5rem 0; background: #000; }
.inv-faq-section { padding: 5rem 0; background: #050510; }
.inv-cta-section {
    padding: 5rem 0;
    text-align: center;
    background: linear-gradient(180deg, #000 0%, #080818 100%);
    border-top: 1px solid rgba(249,191,0,0.1);
}

.inv-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}
.inv-why-text p {
    color: #a0b2c2;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.inv-why-card {
    background: rgba(249,191,0,0.04);
    border: 1px solid rgba(249,191,0,0.15);
    border-radius: 16px;
    padding: 2rem;
}
.inv-why-card p { color: #c0d0e0; font-size: 1.05rem; line-height: 1.7; margin: 0; }
.inv-why-card .inv-quote-icon {
    font-size: 2.5rem;
    color: rgba(249,191,0,0.3);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.inv-factors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}
.inv-factor-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.inv-factor-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.inv-factor-title {
    font-weight: 700;
    color: #f0f4f8;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}
.inv-factor-desc { font-size: 0.85rem; color: #8090a0; line-height: 1.5; }

.inv-anchor-box {
    max-width: 700px;
    margin: 3rem auto 0;
    background: rgba(3,192,170,0.06);
    border: 1px solid rgba(3,192,170,0.2);
    border-radius: 20px;
    padding: 3rem 2.5rem;
}
.inv-anchor-box .inv-anchor-num {
    font-size: 4rem;
    font-weight: 900;
    font-family: 'Montserrat', sans-serif;
    color: #03c0aa;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.inv-anchor-box p { color: #a0b2c2; max-width: 500px; margin: 0 auto; line-height: 1.7; }

.inv-areas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    margin-top: 3rem;
}
.inv-area-card {
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    transition: border-color 0.3s, transform 0.3s;
}
.inv-area-card:hover { border-color: rgba(249,191,0,0.25); transform: translateY(-3px); }
.inv-area-icon { font-size: 1.5rem; margin-bottom: 0.8rem; }
.inv-area-title {
    font-weight: 700;
    color: #f0f4f8;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.inv-area-desc { font-size: 0.85rem; color: #8090a0; line-height: 1.5; margin-bottom: 1rem; }
.inv-area-tag {
    display: inline-block;
    background: rgba(249,191,0,0.08);
    border: 1px solid rgba(249,191,0,0.2);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #f9bf00;
    letter-spacing: 0.5px;
}

.inv-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 1.2rem 0;
}
.inv-faq-item summary {
    font-weight: 600;
    color: #e0ecf8;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}
.inv-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: #f9bf00;
    transition: transform 0.3s;
}
.inv-faq-item[open] summary::after { transform: rotate(45deg); }
.inv-faq-item p {
    margin: 0.8rem 0 0;
    color: #8090a0;
    font-size: 0.88rem;
    line-height: 1.6;
}
.inv-cta-box {
    max-width: 600px;
    margin: 0 auto;
}
.inv-cta-box p { color: #a0b2c2; font-size: 1.05rem; margin-bottom: 2rem; }
.inv-cta-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-gradient);
    color: #000;
    font-weight: 800;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}
.inv-cta-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(249,191,0,0.3); }
.inv-cta-secondary {
    display: inline-block;
    margin-top: 1rem;
    color: #6080a0;
    font-size: 0.85rem;
    text-decoration: none;
}
.inv-cta-secondary:hover { color: #a0b2c2; }
@media (max-width: 768px) {
    .inv-why-grid { grid-template-columns: 1fr; }
    .inv-factors-grid { grid-template-columns: 1fr; }
    .inv-areas-grid { grid-template-columns: 1fr; }
    .inv-hero h1 { font-size: 2.2rem; }
    .inv-anchor-box .inv-anchor-num { font-size: 3rem; }
}

/* ================================================================
   RESPONSIVE GLOBAL + MOBILE 10000% — Dreamlum 2026
   Compatibilidad total: Safari iOS, Chrome Android, Firefox
   Todos los dispositivos: 360px → 1440px
================================================================ */

/* ---- BASE: Resets cross-browser ---- */
*, *::before, *::after { box-sizing: border-box; }

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, video, iframe { max-width: 100%; height: auto; display: block; }

p, li, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Quitar tap highlight en móvil */
a, button { -webkit-tap-highlight-color: transparent; }

/* Prevenir zoom en inputs iOS */
input, textarea, select { font-size: 16px; }

/* Focus accesible */
a:focus-visible, button:focus-visible {
    outline: 2px solid #f9bf00;
    outline-offset: 3px;
    border-radius: 4px;
}

/* Safe area iOS (notch / Dynamic Island) */
.navbar {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: -webkit-sticky;
    position: sticky;
}

.dark-footer, .footer {
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

/* Cyberpunk typography - section titles en service pages inline (h2 con gradient inline) */
.service-content h2,
.service-detail-block h2 {
    font-family: var(--font-cyber);
    font-style: italic;
    font-weight: 900;
}

/* ================================================================
   BREAKPOINT: TABLET GRANDE 900px
================================================================ */
@media (max-width: 900px) {
    .section-title { font-size: 2.2rem; letter-spacing: -1px; }
    .service-content { padding: 4rem 0; }
}

/* ================================================================
   BREAKPOINT: TABLET / MÓVIL GRANDE 768px
================================================================ */
@media (max-width: 768px) {

    /* Container */
    .container { width: 92%; }

    /* Titles */
    .section-title { font-size: 1.9rem; letter-spacing: -0.8px; }
    .section-subtitle { font-size: 1rem; margin-bottom: 2.5rem; }

    /* Service hero */
    .service-hero { padding: 5rem 0 3rem !important; }
    .service-hero h1 { font-size: clamp(1.8rem, 6vw, 2.8rem); letter-spacing: -0.8px; }
    .service-hero p { font-size: 1rem; padding: 0 0.5rem; }

    /* Chips/pills row en hero — envuelve */
    .service-hero .container > div[style*="display:flex"] {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }

    /* Service content */
    .service-content { padding: 3rem 0; }

    /* Service detail block */
    .service-detail-block {
        padding: 1.8rem 1.2rem;
        margin-bottom: 3rem;
        max-width: 100%;
        border-radius: 8px;
    }
    .service-detail-block h2 {
        font-size: 1.55rem;
        letter-spacing: -0.5px;
    }
    .service-detail-block h3 { font-size: 1.15rem; }
    .service-detail-block .service-description { font-size: 0.95rem; }

    /* Grids → 1 columna */
    .ti-feat-grid,
    .ti-adv-grid { grid-template-columns: 1fr !important; }

    .ti-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem;
    }
    .ti-step::after { display: none !important; }
    .ti-step { padding: 1.5rem; }
    .ti-step-num { font-size: 2.5rem; }

    .ti-feat-card,
    .ti-adv-card { padding: 1.5rem; }
    .ti-adv-icon,
    .ti-feat-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }

    /* E-E-A-T bar */
    .eeat-bar { padding: 0.6rem 0 1rem; }
    .eeat-pill {
        white-space: normal;
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    /* Stats inline grids */
    .service-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Callout flexible y beneficios */
    div[style*="display:flex"][style*="gap:1.5rem"],
    .beneficios-callout {
        flex-direction: column !important;
    }

    /* Botones CTA — stack vertical */
    div[style*="display:flex"][style*="gap:1rem"][style*="justify-content:center"] {
        flex-wrap: wrap !important;
    }

    /* Chips del hero — wrap */
    div[style*="display:flex"][style*="flex-wrap:wrap"][style*="gap:.7rem"] {
        justify-content: center !important;
    }

    /* Modal calendario */
    .modal-overlay { padding: 0; }
    .modal-content {
        width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
        border-radius: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .modal-body iframe { height: 480px !important; width: 100% !important; }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem;
    }
    .footer-col.footer-logo-col { grid-column: 1 / -1; }
    .footer-social { justify-content: center; }

    /* Chatbot full-screen en móvil */
    #lumi-chat-window,
    .lumi-window {
        width: 100vw !important;
        right: 0 !important;
        bottom: 0 !important;
        border-radius: 0 !important;
        max-height: 85vh;
    }

    /* Sección BUK (personas.html) */
    .buk-hero-grid {
        grid-template-columns: 1fr !important;
        padding: 2rem !important;
        gap: 1.5rem !important;
    }

    /* Wix partner section (diseno.html) */
    .wix-partner-section {
        grid-template-columns: 1fr !important;
        padding: 1.8rem !important;
        gap: 1.5rem !important;
    }

    /* web-compare-grid (diseno.html) */
    .web-compare-grid {
        grid-template-columns: 1fr !important;
    }

    /* Nicho pain/sol grids */
    .nicho-pain-grid,
    .nicho-solution-grid { grid-template-columns: 1fr !important; }

    /* Nicho CTA */
    .nicho-cta-section h2 { font-size: 1.5rem; }
    .nicho-cta-btns { flex-direction: column; align-items: center; }
    .nicho-cta-wa { width: 100%; max-width: 280px; justify-content: center; }

    /* inversion.html grids */
    .inv-why-grid,
    .inv-factors-grid,
    .inv-areas-grid { grid-template-columns: 1fr !important; }
    .inv-hero h1 { font-size: 1.9rem; }
}

/* ================================================================
   BREAKPOINT: MÓVIL 480px
================================================================ */
@media (max-width: 480px) {

    .container { width: 94%; }

    /* Titles */
    .section-title { font-size: 1.65rem; letter-spacing: -0.5px; }

    /* Service hero */
    .service-hero { padding: 4rem 0 2rem !important; }
    .service-hero h1 { font-size: clamp(1.6rem, 8vw, 2.2rem); }

    /* Chips */
    .eeat-pill { font-size: 0.65rem; padding: 0.2rem 0.5rem; }

    /* Cards */
    .ti-feat-card { padding: 1.3rem 1rem; }
    .ti-adv-card { padding: 1.3rem 1rem; }
    .ti-step { padding: 1.3rem 1rem; }

    /* Stats → 1 columna en 480 */
    .service-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px"] {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    /* Service detail block */
    .service-detail-block { padding: 1.4rem 0.9rem; }
    .service-detail-block h2 { font-size: 1.35rem; }

    /* Sección sections con background inline — padding de container */
    .service-content .container,
    section > .container { padding-left: 1rem; padding-right: 1rem; }

    /* Botones full-width */
    a.cta-button,
    .cta-button { display: flex !important; width: 100%; justify-content: center; }
    
    /* Par de botones apilado */
    div[style*="display:flex"][style*="gap:1rem"][style*="justify-content:center"] {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100%;
    }
    div[style*="display:flex"][style*="gap:1rem"][style*="justify-content:center"] > a {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr !important; text-align: center; }
    .footer-links { display: flex; flex-direction: column; align-items: center; }

    /* Modal */
    .modal-body iframe { height: 360px !important; }

    /* Comparador WIX/nativo */
    .compare-ideal { font-size: 0.75rem; }

    /* Nicho chips */
    .nicho-chip { font-size: 0.7rem; padding: 0.25rem 0.7rem; }
    .nicho-chips { gap: 0.4rem; }

    /* BUK feature grid */
    .buk-features-grid { grid-template-columns: 1fr !important; }

    /* Inversion anchor */
    .inv-anchor-box .inv-anchor-num { font-size: 2.5rem; }
}

/* ================================================================
   BREAKPOINT: MÓVIL PEQUEÑO 360px
================================================================ */
@media (max-width: 360px) {

    .container { width: 96%; }
    .logo-img { height: 30px; }
    .section-title { font-size: 1.45rem; }

    .service-detail-block { padding: 1.2rem 0.75rem; }
    .service-detail-block h2 { font-size: 1.2rem; }

    .navbar .container { padding-left: 0.6rem; padding-right: 0.6rem; }

    /* Hero h1 extra compacto */
    .service-hero h1 { font-size: 1.5rem; letter-spacing: -0.3px; }

    /* Ti cards */
    .ti-feat-card, .ti-adv-card, .ti-step { padding: 1.1rem 0.9rem; }

    /* Modal */
    .modal-body iframe { height: 300px !important; }
}

/* ================================================================
   CYBERPUNK TYPOGRAPHY — Solo service-detail-block h2 y .section-title
   Los h2 inline de secciones de servicio heredan el estilo
   solamente a través de .service-detail-block (selector preciso)
================================================================ */
/* service-detail-block h2 ya tiene el estilo definido más arriba (~línea 1550) */

/* Nicho landing page titles */
.nicho-cta-section h2 {
    font-family: var(--font-cyber);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -1px;
}


/* === Mobile.py patches === */
/* patch: touch-action manipulation */
a, button, [role="button"] { touch-action: manipulation; }
