/* 🌍 Estilos globales */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #333;
    overflow-x: hidden;
}

/* 🔝 Header con menú hamburguesa */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #e1dce5;
    position: relative;
}

.logo img {
    height: 50px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6a0dad;
    z-index: 1001;
}

/* Menú horizontal */
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    font-weight: bold;
    color: #151217;
}

nav ul li a:hover {
    color: #6a0dad;
}

/* 🎬 HERO */
.hero-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    background: black;
}

.hero-section video,
.hero-section img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 90%;
}

.btn-primary {
    background: #6a0dad;
    padding: 12px 25px;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2rem;
    margin-top: 20px;
    display: inline-block;
}

/* 💡 INNOVACIÓN */
.innovacion-section {
    padding: 60px 20px;
    text-align: center;
}

.innovacion-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 📈 IMPACTO */
.impacto-section {
    background: #6a0dad;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.impacto-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
}

.stat h3 {
    font-size: 2.5rem;
}

/* ⭐ TESTIMONIOS */
.testimonios-section {
    padding: 60px 20px;
    text-align: center;
}

.carousel {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

/* 📩 CTA CONTACTO */
.contacto-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #6a0dad, #9b5de5);
    color: white;
    text-align: center;
}

.btn-secondary {
    background: white;
    color: #6a0dad;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1rem;
}

/* 🧾 Footer */
footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 15px 0;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* 📱 Responsive Mobile */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 20px;
        background: white;
        border-radius: 10px;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
        width: 200px;
        z-index: 1000;
    }

    nav.show {
        display: block;
    }

    nav ul {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }

    .innovacion-grid,
    .impacto-stats {
        grid-template-columns: 1fr;
        display: grid;
        gap: 20px;
    }

    .hero-section {
        height: auto;
        min-height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        .hero-section {
            height: 100vh;
            min-height: 100dvh;
        }

        .hero-content h1 {
            font-size: 1.8rem;
        }

        .hero-content p {
            font-size: 1rem;
        }
    }

}

/* 📌 Soluciones - subtítulo y descripción */
.soluciones-subtitulo-serv {
    font-size: 1.4rem;
    font-weight: bold;
    text-align: center;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.soluciones-descripcion-serv {
    font-size: 1.2rem;
    text-align: center;
    color: #555;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 🧩 Card-serv (usada en servicios) */
.card-serv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.card-serv {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card-serv h3 {
    color: #8E44AD;
    font-size: 1.2rem;
}

.card-serv p {
    color: #555;
    font-size: 1rem;
}

.card-serv:hover {
    transform: translateY(-5px);
}

/* 👥 Equipo */
.equipo-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.equipo-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.equipo-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.equipo-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.beneficio {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #ffffff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.beneficio img {
    width: 50px;
    height: 50px;
}

.beneficio h3 {
    font-size: 1.2rem;
    color: #8E44AD;
}

.beneficio p {
    font-size: 1rem;
    color: #555;
}

.btn-equipo {
    display: inline-block;
    background: #8E44AD;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1.1rem;
    transition: 0.3s ease;
}

.btn-equipo:hover {
    background: #7D3C98;
}

/* ✉️ Contacto - formulario */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #f3e8fc;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    display: block;
    margin-top: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form button {
    width: 100%;
    background: #8E44AD;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    margin-top: 15px;
    cursor: pointer;
}

.contact-form button:hover {
    background: #7D3C98;
}