/* Base y Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #0a0a0a;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    color: #ffffff;
}

p {
    margin-bottom: 15px;
}

/* Header y Navegación */
header {
    background-color: #8a70e8;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-style: italic;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav a {
    transition: color 0.3s;
}

nav a:hover {
    color: #e9e9e9;
}

.btn-contacto {
    background-color: #27148f;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-contacto:hover {
    background-color: #1d0e69;
}

/* Sección Héroe */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('./imgs/1.png');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
}

.hero h2 {
    font-size: 1.5rem;
    color: #8a70e8;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #e0e0e0;
}

.btn-primary {
    display: inline-block;
    background-color: #8a70e8;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #7359da;
}

/* Quiénes Somos */
.quienes-somos {
    background-color: #f2f2f2;
    padding: 80px 0;
}

.quienes-somos-content {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quienes-somos-text {
    flex: 1;
}

.quienes-somos-text h2 {
    color: #4a2eb3;
}

.quienes-somos-imagen {
    flex: 1;
}

/* Servicios */
.servicios {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #e0e0e0;
}

.servicios h2 {
    text-align: center;
    color: #8a70e8;
    margin-bottom: 50px;
}

.servicios-list {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px;
    border-left: 5px solid #8a70e8;
}

.servicio-item {
    margin-bottom: 30px;
}

.servicio-item h3 {
    color: #8a70e8;
    margin-bottom: 10px;
}

/* Pensamiento Estratégico */
.pensamiento-estrategico {
    background-color: #292929;
    color: #e0e0e0;
    padding: 80px 0;
}

.pensamiento-content {
    max-width: 800px;
    margin: 0 auto;
}

.pensamiento-estrategico h2 {
    color: #8a70e8;
    margin-bottom: 30px;
}

/* Testimonios */
.testimonios {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #e0e0e0;
}

.testimonios h2 {
    text-align: center;
    color: #8a70e8;
    margin-bottom: 50px;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonio-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.testimonio-autor img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.testimonio-texto {
    font-style: italic;
}

/* Ventajas */
.ventajas {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #e0e0e0;
}

.ventajas h2 {
    text-align: center;
    color: white;
    margin-bottom: 50px;
}

.ventajas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ventaja-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 20px;
}

.ventaja-card h3 {
    color: #8a70e8;
    margin-bottom: 10px;
}

/* Contacto */
.contacto {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #e0e0e0;
}

.contacto h2 {
    text-align: center;
    color: #8a70e8;
    margin-bottom: 50px;
}

.contacto-form-container {
    max-width: 500px;
    margin: 0 auto 40px;
    background-color: #2a2a42;
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-enviar {
    background-color: #4a2eb3;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: auto;
    display: block;
}

.btn-enviar:hover {
    background-color: #371e8b;
}

.contacto-info {
    text-align: center;
    margin-top: 40px;
}

.contacto-info p {
    margin-bottom: 10px;
}

/* Gracias Modal */
.gracias-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(137, 112, 232, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.gracias-modal {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
    max-width: 500px;
    width: 90%;
}

.gracias-modal h2 {
    color: #4a2eb3;
    font-style: italic;
    margin-bottom: 10px;
}

.gracias-modal p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #333;
}

.btn-regresar {
    background-color: #4a2eb3;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-regresar:hover {
    background-color: #371e8b;
}

.hidden {
    display: none;
}

/* Footer */
footer {
    background-color: #121212;
    color: #888;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: bold;
    font-style: italic;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 992px) {
    .testimonios-grid, .ventajas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .quienes-somos-content {
        flex-direction: column;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.2rem;
    }
    
    .testimonios-grid, .ventajas-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
    }
    
    .servicio-item h3 {
        font-size: 1.1rem;
    }
}