/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Importar fuentes profesionales de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    /* Colores principales - Azul y Morado Corporativo */
    --primary-color: #1e3a8a; /* Azul oscuro profesional */
    --secondary-color: #7c3aed; /* Morado elegante */
    --accent-color: #3b82f6; /* Azul brillante */
    --accent-purple: #a855f7; /* Morado claro */
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #3b82f6 0%, #a855f7 100%);
    --gradient-hero: linear-gradient(135deg, rgba(30, 58, 138, 0.95) 0%, rgba(124, 58, 237, 0.95) 100%);
    
    /* Textos */
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    
    /* Fondos */
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --bg-dark: #111827;
    --border-color: #e5e7eb;
    
    /* Colores de estado */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    
    /* Sombras elegantes */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15), 0 10px 10px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Transiciones suaves */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


.seccion-azul {
    background: linear-gradient(135deg, #1a2a6c 0%, #0f1b4d 50%, #0a1335 100%);
    color: white;
    padding: 60px 0;
    text-align: left;
    max-height: 10vh; /* Máximo 30% de altura */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Header / Navigation - CORREGIDO */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.navbar {
    padding: 0.5rem 0; /* Reducido de 1.25rem a 0.75rem */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem; /* Aumentado de 0.75rem a 1rem */
}

.logo-img {
    height: 80px; /* Aumentado de 45px a 65px */
    width: auto;
    margin: -10px 0; /* Ajuste para centrar verticalmente */
}

.logo h1 {
    font-size: 1.75rem;
    background: #1e3a8a;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0; /* Asegura que no tenga márgenes extra */
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0; /* Asegura que no tenga márgenes extra */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0; /* Elimina márgenes del ul */
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0; /* Añade padding vertical para el área clickeable */
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0; /* Cambiado de -5px a 0 */
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: url('../img/warehouse.png') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    text-align: left;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
}

.hero h1::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: white;
    margin-top: 20px;
}

.hero button {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero button:hover {
    background: white;
    color: #000;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--bg-white);
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    border-radius: 14px;
}

/* Stats Section */
.stats {
    background-color: var(--bg-light);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/*about*/

.about {
    background: url('../img/image2.jpg') center/cover no-repeat;
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.1) 0%,      /* Muy claro a la izquierda */
        rgba(0, 0, 0, 0.3) 30%,     /* Poco oscuro */
        rgba(0, 0, 0, 0.6) 60%,     /* Medio oscuro */
        rgba(0, 0, 0, 0.85) 100%    /* Muy oscuro a la derecha */
    );
    z-index: 1;
}

/* Asegura que todo el contenido esté encima */
.about .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.about h1 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.about-card {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.25);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.about-card p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: white;
    padding: 80px 0;
    text-align: left;
}


.cta h2 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 200; /* Asegura que el párrafo también sea normal */
}

.cta .btn {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

.cta .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 5px;
    font-weight: 400;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.footer-section p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--bg-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

/* Vacantes Page */

.vacantes-header {
    background: url('../img/vacantes.png') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 300px; /* Mínimo en pantallas pequeñas */
    height: 40vh;
    max-height: 40vh; /* Máximo 40% */
    display: flex;
    align-items: center;
    justify-content: center;
}

.vacantes-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.75) 40%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}


.vacantes-header .container {
    position: relative;
    z-index: 2;
}

.vacantes-header h1 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 40px;
    color: white; /* Asegura el color blanco */
}

.vacantes-header p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: white; /* Asegura el color blanco */
}

.vacantes-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.info-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.625rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.vacantes-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #c5c5c5 0%, #e2e2e2 100%);
}

.vacantes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2rem;
}

.vacante-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.vacante-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.vacante-card:hover::before {
    transform: scaleX(1);
}

.vacante-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.vacante-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: inline-block;
}

.vacante-header {
    margin-bottom: 1.5rem;
}

.vacante-tag {
    display: inline-block;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--primary-color);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(30, 58, 138, 0.2);
}

.vacante-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.vacante-info {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.875rem;
    font-size: 0.9375rem;
}

.info-item span:first-child {
    font-size: 1.25rem;
}

.vacante-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.9375rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1a2a6c 0%, #0f1b4d 50%, #0a1335 100%);
    color: #ffffff;
}

.btn-vacante:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Formulario de Aplicación */
.aplicar-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.form-container h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-container .subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="file"] {
    padding: 0.5rem;
    cursor: pointer;
}

.form-group input.input-readonly {
    background-color: var(--bg-light);
    color: var(--text-dark);
    cursor: not-allowed;
    font-weight: 600;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.quiz-section {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.quiz-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.question {
    margin-bottom: 1.5rem;
}

.question p {
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.radio-option input[type="radio"] {
    width: auto;
}

.submit-btn {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    font-size: 1.125rem;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}