/* Paleta de Colores (Aproximada a los códigos neón) */
:root {
    --color-bg-dark: #0A0A2A; /* Azul muy oscuro/casi negro */
    --color-neon-blue: #00BFFF; /* Azul vibrante */
    --color-neon-magenta: #FF1493; /* Rosa fuerte/Magenta */
    --color-text-light: #FFFFFF;
    --color-purple-accent: #8A2BE2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Tipografía y Encabezados */
h1, h2, h3 {
    font-weight: 700;
    color: var(--color-text-light);
}

h1 { font-size: 3rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 2rem; text-align: center; }
h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

/* Header y Navegación */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: rgba(10, 10, 42, 0.95); /* Semi-transparente */
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-purple-accent);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-neon-blue);
    letter-spacing: 1px;
}

nav a {
    color: var(--color-text-light);
    text-decoration: none;
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--color-neon-magenta);
}

.menu-toggle {
    display: none; /* Ocultar por defecto en escritorio */
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 2rem;
    cursor: pointer;
}

/* Botón CTA general */
.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--color-neon-blue), var(--color-neon-magenta));
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.5); /* Sombra de neón */
}

/* Estilos de Sección de Contenido */
.content-section {
    padding: 80px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section y Carrusel (Fondo de IA) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    width: 300%; /* Para 3 banners */
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.banner {
    width: 33.333%; /* Ancho de cada banner */
    height: 100%;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: rgba(0, 0, 0, 0.6); /* Oscurece el fondo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-shadow: 0 0 10px var(--color-neon-magenta), 0 0 20px var(--color-neon-blue);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 30px;
    border-radius: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Sobre Nosotros */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background-color: #1a1a3a;
    padding: 30px;
    border-radius: 8px;
    border-left: 5px solid var(--color-neon-blue);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-left: 5px solid var(--color-neon-magenta);
}

/* Servicios */
.services {
    background-color: #0d0d33;
    border-top: 1px solid var(--color-purple-accent);
}

.enfoque-item {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}

.enfoque-item h3 {
    color: var(--color-neon-blue);
}

/* Testimonios */
.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.testimonial-card {
    flex: 1 1 45%;
    background-color: #1a1a3a;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--color-neon-magenta);
    font-style: italic;
    min-width: 300px;
}

.testimonial-card footer {
    margin-top: 15px;
    font-weight: 600;
    color: var(--color-neon-magenta);
}

/* Contacto y Agenda */
.cta-agenda {
    text-align: center;
    background: var(--color-bg-dark);
}

.contact-form-section {
    background-color: #121236;
    text-align: center;
    border-top: 5px double var(--color-neon-blue);
}

#contact-form {
    max-width: 500px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact-form input, #contact-form textarea {
    padding: 15px;
    border: 1px solid var(--color-purple-accent);
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    border-radius: 5px;
    font-size: 1rem;
}

#contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #00001a;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--color-neon-blue);
}

/* Media Queries para Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    nav { display: none; flex-direction: column; width: 100%; position: absolute; top: 70px; left: 0; background-color: #0A0A2A; padding-bottom: 10px; }
    nav.active { display: flex; }
    nav a { margin: 10px 0; padding: 10px 5%; width: 100%; }
    .menu-toggle { display: block; }

    .hero-content { padding: 20px; }
    .hero-content p { font-size: 1rem; }

    .testimonial-card { flex: 1 1 100%; }
}