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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e3c72;
    letter-spacing: 2px;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #1e3c72;
}

.menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #1e3c72;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    line-height: 1.6;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #1e3c72;
}

.btn-primary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1e3c72;
    transform: translateY(-2px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Nosotros Section */
.nosotros-container {
    padding: 100px 2rem;
    background: #f8f9fa;
}

.intro, .valores, .equipo {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.valores h3, .equipo h3 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 2rem;
}

.valores ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.valores li {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.valores li:hover {
    transform: translateY(-5px);
}

.valores li i {
    color: #1e3c72;
    font-size: 1.5rem;
}

.equipo p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Servicios Section */
.servicios-container {
    padding: 100px 2rem;
    background: white;
}

.servicios-container .intro {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.servicios-container .intro h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.servicios-container .intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.areas {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.areas h3 {
    font-size: 2rem;
    color: #1e3c72;
    margin-bottom: 2rem;
}

.areas ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.areas li {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #1e3c72;
    font-size: 1.1rem;
    font-weight: 500;
    text-align: left;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.areas li:hover {
    background: #1e3c72;
    color: white;
    transform: translateX(10px);
}

.areas li i {
    font-size: 1.3rem;
}

.areas li:hover i {
    color: white;
}

.detalle {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 3rem;
    border-radius: 20px;
}

.detalle h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.detalle p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

/* Contacto Section */
.contacto-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(rgba(30, 60, 114, 0.9), rgba(42, 82, 152, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 2rem;
}

.contacto-overlay {
    background: white;
    border-radius: 20px;
    padding: 4rem;
    max-width: 1000px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

#form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contacto-info h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.contacto-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon {
    color: #1e3c72;
    width: 20px;
}

.contacto-formulario h3 {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 2rem;
}

.contacto-formulario form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e3c72;
}

.submit-btn {
    background: #1e3c72;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #2a5298;
    transform: translateY(-2px);
}

/* Confirmación */
.confirmacion {
    text-align: center;
    padding: 4rem 2rem;
}

.confirmacion-content {
    max-width: 500px;
    margin: 0 auto;
}

.confirmacion-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

.confirmacion h2 {
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.confirmacion p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.footer p {
    margin: 0.5rem 0;
    opacity: 0.8;
}

.footer p:first-child {
    font-weight: 600;
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    #form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacto-overlay {
        padding: 2rem;
    }
    
    .contacto-info h2 {
        font-size: 2rem;
    }
    
    .valores li, .areas li {
        padding: 1.5rem;
    }
    
    .detalle {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
    
    .valores ul, .areas ul {
        grid-template-columns: 1fr;
    }
}