        /* --- Variables de Color (Basadas en la imagen provista) --- */
        :root {
            --color-primary-dark: #00264d; /* Azul oscuro del degradado */
            --color-primary-light: #00509e; /* Azul más claro del degradado */
            --color-accent: #fddc5c; /* Dorado/Amarillo del logo y texto */
            --color-text-white: #ffffff;
            --color-text-muted: #e0e0e0;
            --bg-form: rgba(0, 20, 40, 0.8); /* Fondo semitransparente para el formulario */
        }

        /* --- Reset y Estilos Globales --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
            color: var(--color-text-white);
            line-height: 1.6;
            min-height: 100vh;
        }

        h1, h2, h3 {
            font-weight: 700;
            line-height: 1.2;
        }

        a {
            text-decoration: none;
            color: var(--color-accent);
        }

        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .text-accent {
            color: var(--color-accent);
        }

        /* --- Header / Navegación --- */
        header {
            padding: 20px 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* Simulación del Logo (Reemplazar con <img src="logo.png"> si lo tienes) */
        .logo-container {
            display: flex;
            align-items: center;
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-accent);
            letter-spacing: 2px;
        }
        
        .logo-icon {
            font-size: 2.5rem;
            margin-right: 10px;
             /* Un icono simple que se asemeja al de la imagen */
            display: inline-block;
        }

        /* --- Hero Section (Área Principal y Formulario) --- */
        .hero {
            padding: 60px 0;
            min-height: 85vh; /* Ocupa la mayor parte de la pantalla */
            display: flex;
            align-items: center;
        }

        .hero-content {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-start;
            gap: 40px;
        }

        .hero-text {
            flex: 1 1 500px; /* Ocupa espacio pero permite encogerse */
            padding-right: 20px;
        }

        .hero-text h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            text-transform: uppercase;
        }

        .hero-motto {
            font-size: 1.2rem;
            color: var(--color-text-muted);
            margin-bottom: 30px;
            border-left: 4px solid var(--color-accent);
            padding-left: 20px;
        }

        .motto-highlight {
            color: var(--color-text-white);
            font-weight: 600;
        }

        /* --- Estilos del Formulario de Captura de Leads --- */
        .lead-form-container {
            flex: 1 1 400px;
            max-width: 480px;
            background: var(--bg-form);
            padding: 40px;
            border-radius: 12px;
            border: 1px solid rgba(253, 220, 92, 0.2); /* Borde dorado sutil */
            box-shadow: 0 15px 35px rgba(0,0,0,0.3);
            backdrop-filter: blur(10px); /* Efecto de cristal */
        }

        .lead-form-container h3 {
            color: var(--color-accent);
            text-align: center;
            margin-bottom: 25px;
            font-size: 1.5rem;
        }

        .forms-group {
            margin-bottom: 20px;
            position: relative;
        }

        .forms-group i {
            position: absolute;
            top: 50%;
            left: 15px;
            transform: translateY(-50%);
            color: var(--color-accent);
        }

        .forms-control {
            width: 100%;
            padding: 15px 15px 15px 45px; /* Espacio para el icono */
            background: rgba(255, 255, 255, 0.1);
            border: 2px solid transparent;
            border-radius: 8px;
            color: var(--color-text-white);
            font-family: 'Poppins', sans-serif;
            transition: all 0.3s ease;
        }
        
        .forms-control::placeholder {
            color: rgba(255,255,255,0.5);
        }

        .forms-control:focus {
            outline: none;
            border-color: var(--color-accent);
            background: rgba(255, 255, 255, 0.15);
        }

        select.forms-control {
             /* Estilo específico para el select para que se vean las opciones en navegadores */
            color: var(--color-accent);
        }
        select.forms-control option {
            background-color: var(--color-primary-dark);
            color: var(--color-text-white);
        }

        .btn-submit {
            width: 100%;
            padding: 15px;
            background-color: var(--color-accent);
            color: var(--color-primary-dark);
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            box-shadow: 0 5px 15px rgba(253, 220, 92, 0.3);
        }

        .btn-submit:hover {
            background-color: #e5c345;
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(253, 220, 92, 0.5);
        }

        /* --- Sección de Servicios --- */
        .services-section {
            padding: 80px 0;
            background: rgba(0,0,0,0.2); /* Un poco más oscuro para diferenciar */
            text-align: center;
        }

        .section-title {
            font-size: 2.5rem;
            margin-bottom: 60px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            gap: 30px;
            justify-content: center;
        }

        .service-card {
            background: rgba(255, 255, 255, 0.05);
            padding: 40px 20px;
            border-radius: 12px;
            transition: transform 0.3s ease, border-color 0.3s ease;
            border: 1px solid transparent;
        }

        .service-card:hover {
            transform: translateY(-10px);
            border-color: var(--color-accent);
        }

        .service-icon {
            font-size: 3rem;
            color: var(--color-accent);
            margin-bottom: 25px;
        }

        .service-card h4 {
            font-size: 1.2rem;
            margin-bottom: 15px;
            color: var(--color-text-white);
        }

        /* --- Footer --- */
        footer {
            padding: 40px 0;
            text-align: center;
            border-top: 1px solid rgba(253, 220, 92, 0.2);
            font-size: 0.9rem;
            color: var(--color-text-muted);
        }
        
        footer i {
            color: var(--color-accent);
            margin-right: 5px;
        }
        
        .footer-contact {
            margin-bottom: 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }

        /* --- Responsive Design --- */
        @media (max-width: 992px) {
            .hero-text h1 { font-size: 2.8rem; }
        }

        @media (max-width: 768px) {
             header { flex-direction: column; gap: 15px; }
            .hero-text h1 { font-size: 2.2rem; text-align: center;}
            .hero-motto { text-align: center; border-left: none; border-top: 4px solid var(--color-accent); padding-top: 20px; padding-left: 0;}
            .hero-text { padding-right: 0; text-align: center;}
            .lead-form-container { width: 100%; }
            .footer-contact { flex-direction: column; gap: 10px; }
        }
        
        /* --- Estilos nuevos para el logo principal en el Hero --- */

        .hero-main-logo {
        width: 600px;          /* Tamaño base del logo */
        height: auto;          /* Mantiene la proporción */
        margin-bottom:10px;   /* Espacio entre el logo y el título H1 */
        display: block;        /* Asegura que ocupe su propia línea */
       }

     /* Ajuste para móviles para que se vea centrado y un poco más pequeño */
    @media (max-width: 768px) {
    .hero-main-logo {
        width: 300px;
        /* Margen automático a los lados para centrarlo */
        margin: 0 auto 10px auto; 
      }
   }
        
    /* Componente Asistente AI */
           :root {
            /* Variables de color basadas en tu sitio */
            --primary-blue: #2A7EBC;
            --accent-yellow: #F7D002;
            --text-dark: #333333;
            --bg-light: #f7f7f7;
            --shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }

        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--bg-light);
        }

        /* -------------------------------------- */
        /* Estilos del Botón Flotante */
        /* -------------------------------------- */
        .chatbot-toggle {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: var(--primary-blue);
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            transition: transform 0.3s ease;
            /* ** NUEVO: Ocultar el icono por defecto para usar la imagen ** */
            overflow: hidden; 
        }

        .chatbot-toggle:hover {
            transform: scale(1.05);
        }
        
        /* ** NUEVO: Estilo para la imagen del logo dentro del botón ** */
        .chatbot-toggle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        /* -------------------------------------- */
        /* Estilos de la Ventana de Chat */
        /* -------------------------------------- */
        .chatbot-window {
            position: fixed;
            bottom: 100px;
            right: 30px;
            width: 350px;
            height: 480px; 
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 30px rgba(0, 0, 0, 0.4);
            display: flex;
            flex-direction: column;
            overflow: hidden;
            z-index: 999;
            transform: scale(0);
            transform-origin: bottom right;
            transition: transform 0.3s ease;
        }

        .chatbot-window.active {
            transform: scale(1);
        }

        /* Header de la ventana con tabs */
        .chatbot-header {
            background-color: var(--primary-blue);
            color: white;
            padding: 10px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-weight: 600;
            border-top-left-radius: 12px;
            border-top-right-radius: 12px;
        }

        /* ** NUEVO: Estilos para el contenedor del título y logo en el header ** */
        .chatbot-title-group {
            display: flex;
            align-items: center;
        }
        .header-logo {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            margin-right: 10px;
            /* Usamos un placeholder con colores de ITACLOUD si la imagen no carga */
            background-color: var(--accent-yellow); 
            border: 2px solid white;
            object-fit: cover;
        }

        
        .tab-button {
            background: none;
            border: none;
            color: white;
            padding: 5px 10px;
            cursor: pointer;
            font-size: 0.9rem;
            opacity: 0.7;
            transition: opacity 0.2s;
            border-radius: 5px;
        }
        .tab-button:hover, .tab-button.active {
            opacity: 1;
            background-color: rgba(255, 255, 255, 0.2);
        }
        .close-btn { cursor: pointer; padding: 5px; }

        /* Contenedores de vistas */
        .view-container {
            flex-grow: 1;
            display: none;
            flex-direction: column;
            overflow: hidden;
        }
        .view-container.active {
            display: flex;
        }

        /* Estilos para la vista de chat */
        .chatbot-messages {
            flex-grow: 1;
            padding: 15px;
            overflow-y: auto;
            background-color: var(--bg-light);
            scroll-behavior: smooth;
        }
        /* Estilos de mensajes */
        .message { margin-bottom: 10px; max-width: 80%; padding: 8px 12px; border-radius: 15px; line-height: 1.4; word-wrap: break-word; font-size: 0.9rem; }
        .user-message { background-color: var(--accent-yellow); color: var(--text-dark); margin-left: auto; border-bottom-right-radius: 3px; }
        .bot-message { background-color: #e0e0e0; color: var(--text-dark); margin-right: auto; border-bottom-left-radius: 3px; }
        .sources-list { list-style: none; padding: 0; margin-top: 5px; font-size: 0.7rem; color: #555; border-top: 1px dashed #ccc; padding-top: 5px; }
        .sources-list li a { color: var(--primary-blue); text-decoration: none; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .loading-dots { text-align: center; padding: 10px 0; color: var(--primary-blue); }
        .loading-dots span { display: inline-block; width: 8px; height: 8px; margin: 0 2px; background-color: var(--primary-blue); border-radius: 50%; animation: bounce 1.4s infinite ease-in-out both; }
        .loading-dots span:nth-child(1) { animation-delay: -0.32s; }
        .loading-dots span:nth-child(2) { animation-delay: -0.16s; }
        .loading-dots span:nth-child(3) { animation-delay: 0s; }

        @keyframes bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1.0); } }
        
        .chatbot-input { border-top: 1px solid #ccc; padding: 10px; display: flex; }
        .chatbot-input input { flex-grow: 1; padding: 10px; border: 1px solid #ddd; border-radius: 20px; margin-right: 10px; font-size: 0.9rem; }
        .chatbot-input button { background-color: var(--primary-blue); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; font-size: 1rem; transition: background-color 0.2s; }
        .chatbot-input button:hover { background-color: #206599; }

        /* -------------------------------------- */
        /* Estilos para la vista de Formulario */
        /* -------------------------------------- */
        .contact-form-view {
            padding: 20px;
            flex-grow: 1;
            overflow-y: auto;
            background-color: white;
        }
        .contact-form-view h4 {
            color: var(--primary-blue);
            margin-top: 0;
            margin-bottom: 10px;
            font-weight: 700;
        }
        .form-group { margin-bottom: 15px; }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-size: 0.9rem;
            color: var(--text-dark);
            font-weight: 600;
        }
        .form-group input[type="text"],
        .form-group input[type="email"],
        .form-group textarea {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 8px;
            box-sizing: border-box;
            font-size: 0.9rem;
        }
        .form-group textarea { resize: none; height: 80px; }

        .form-submit-button {
            width: 100%;
            padding: 12px;
            background-color: var(--accent-yellow);
            color: var(--text-dark);
            border: none;
            border-radius: 8px;
            font-weight: 700;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        .form-submit-button:hover { background-color: #ffd833; }

        /* Mensajes de feedback */
        .form-message {
            padding: 10px;
            border-radius: 8px;
            margin-top: 10px;
            font-size: 0.9rem;
            text-align: center;
            display: none;
        }
        .form-message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
        .form-message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

        /* Media Query para móviles */
        @media (max-width: 500px) {
            .chatbot-window { width: 90%; right: 5%; bottom: 80px; height: 80%; }
            .chatbot-toggle { bottom: 20px; right: 20px; width: 50px; height: 50px; }
        }
                