*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --blue-deep:  #0B1F3A;   
    --blue-mid:   #1E3A5F;   
    --blue-light: #3B5F8A;  
    --teal:       #4B6584;  
    --sky:        #CBD5E1;  

    --white:      #FFFFFF;

    --gray-50:    #F8FAFC;
    --gray-100:   #F1F5F9;
    --gray-200:   #E2E8F0;
    --gray-400:   #94A3B8;
    --gray-600:   #475569;
    --gray-800:   #1E293B;

    --green:      #15803D;
    --purple:     #6D28D9;
    --orange:     #C2410C;
}
header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: var(--blue-deep);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);

}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
    padding: 0 2rem;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 24px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    text-decoration: none;
}

.logo-mark {
    display: flex;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.925rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

#nav-icon3 {
    display: none;
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

#nav-icon3 span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    position: absolute;
    transition: 0.25s ease-in-out;
}

#nav-icon3 span:nth-child(1) { top: 0; }
#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) { top: 9px; }
#nav-icon3 span:nth-child(4) { top: 18px; }

#nav-icon3.open span:nth-child(1) { top: 9px; width: 0; left: 50%; }
#nav-icon3.open span:nth-child(2) { transform: rotate(45deg); }
#nav-icon3.open span:nth-child(3) { transform: rotate(-45deg); }
#nav-icon3.open span:nth-child(4) { top: 9px; width: 0; left: 50%; }

.hero {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    background: var(--blue-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-inner {
    position: relative;
    max-width: 1280px;
    padding: 4rem 2rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 0 auto;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--sky);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.hero-content h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.hero-content h1 em {
    font-style: normal;
    background: linear-gradient(90deg, var(--teal), var(--sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    color: rgba(255,255,255,0.7);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    max-width: 540px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

@keyframes entrace {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .eyebrow {
    animation: entrace 0.7s ease-out both;
}

.hero h1 {
  animation: entrace 0.7s ease-out both;
  animation-delay: 0.15s;
}

.hero .hero-sub {
  animation: entrace 0.7s ease-out both;
  animation-delay: 0.3s;
}

.buttom-departament {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin:2rem auto;
}

.filtro_btn {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 10px 15px;
    border-radius: 20px;
    border-width: 1px;
    cursor: pointer;
    background: var(--white);
    color: var(--gray-800);

    transition: all 0.2s ease;
}

.filtro_btn.active {
    background: var(--blue-deep);
    color: var(--gray-100);
    transform: scale(1.05);
}

.vacantes {
    justify-content: center;
    max-width: 1280px;
    margin: 30px auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.card {    
    font-family: 'Inter', sans-serif;
    background: #fff;
    border-radius: 18px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    border: 1px solid rgba(0, 119, 182, .08);
    box-shadow: inset 0 0 0 0 #3498db; 
    transition: all 0.5s ease;
}

.tag {
    display: inline-block;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    background: rgba(0, 119, 182, .12);
    color: var(--blue-deep);
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.3rem;
    color: var(--blue-deep);
    margin-bottom: 12px;
}

.card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 8px;
}

.card strong {
    color: #023E8A;
}

.apply {
    margin-top: auto;
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg,
            vAR(--blue-mid),
            var(--blue-deep));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: #fff;
    width: 100%;
    max-width: 650px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
    position: relative;
}

.modal-content::-webkit-scrollbar {
    display: none;
}

.modal-header h2 {
    color: var(--blue-deep);
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Exo 2', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}

.modal-header p {
    font-family: 'Inter', sans-serif;
    text-align: center;
    margin-bottom: 10px;
}

.cerrar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    transition: .3s;
}

.cerrar:hover {
    color: #e63946;
}

.Two-opciones-form {
    display: flex;
    justify-content: start;
}

.form-izquierda {
    width: 100%;
    max-width: 250px;
    margin-right: 10px;
}

.form-derecha {
    width: 100%;
    max-width: 280px;
    margin-left: 3rem;
}

#formAplicacion {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-family: 'Inter', sans-serif;
}

#formAplicacion label {
    font-weight: 600;
    color: var(--blue-deep);
    margin-bottom: -8px;
}

#formAplicacion input,
#formAplicacion select,
#formAplicacion textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #d4d4d4;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: .3s;
}

#formAplicacion input:focus,
#formAplicacion select:focus,
#formAplicacion textarea:focus {
    border-color: var(--blue-deep);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, .15);
}

#formAplicacion textarea {
    resize: vertical;
    min-height: 100px;
}

#campoExperiencia {
    display: none;
}

#formAplicacion input[type="file"] {
    padding: 10px;
    background: #f8f9fa;
}

#formAplicacion button {
    margin-top: 10px;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg,
            var(--blue-mid),
            var(--blue-deep));
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

#formAplicacion button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 119, 182, .3);
}

footer {
    background-color: var(--blue-deep);
    color: var(--white);
}

.footer-main {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    width: 80px;
    height: auto;
}

.footer-logo span {
    font-family: 'Exo 2', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.65);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 340px;
}

.footer-brand,
.footer-col {
    border-right: 1px solid var(--teal);
}

.footer-col h4 {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.2rem;
}

.footer-pages {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-contacto-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer-pages a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.3s ease;
}

.footer-contacto-list li {
    display: flex;
    gap: 1rem;
}

.footer-contacto-list svg {
    width: 16px;
    height: 16px;
    color: var(--teal);
    flex-shrink: 0;
}

.footer-contacto-list p {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.25rem 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.45);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--blue-mid);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-deep);
}

@media (hover: hover) {
    .filtro_btn:not(.active):hover {
        border-color: var(--blue-light);
        color: var(--blue-light);
    }

    .card:hover {
        transform: translateY(-10px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
        box-shadow: inset 0 3px 0 0 var(--blue-light); 
        transition: all 0.3s ease;
    }

    .apply:hover {
        background: linear-gradient(90deg,
                var(--blue-light),
                var(--blue-deep));

        transform: scale(1.02);
    }

    .footer-pages a:hover {
        color: var(--teal);
    }
}

@media (max-width: 1024px) {
    .vacantes {
        padding: 0 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.75rem;
    }

    .form-derecha {
        margin-left: 1.5rem;
    }

    .footer-brand,
    .footer-col {
        border-right: 0px;
    }
}

@media (max-width: 768px) {
    @keyframes entrace {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    
    .hero .eyebrow {
        animation: entrace 0.5s ease-out both;
    }

    .hero h1 {
        animation: entrace 0.5s ease-out both;
        animation-delay: 0.15s;
    }

    .hero .hero-sub {
        animation: entrace 0.5s ease-out both;
        animation-delay: 0.3s;
    }

    .nav-links {
        margin-right: 0px;
        position: fixed;
        top: 68px;
        right: -250px;
        width: 180px;
        background: var(--blue-deep);
        flex-direction: column;
        gap: 0;
        border-radius: 0 0 0 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        z-index: 9999;
        transition: right 0.3s ease;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.1);
    }

    .nav-links li:not(:last-child) a {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    #nav-icon3 {
        display: block;
    }

    .hero-inner{
        padding:2rem 1rem;
    }

    .hero-content h1{
        font-size:2rem;
        line-height:1.2;
    }

    .hero-sub{
        font-size:1rem;
    }

    .buttom-departament{
        margin:20px;
        display:flex;
        flex-wrap:wrap;
        justify-content:center;
    }

    .filtro_btn{
        margin:5px;
    }

    .vacantes{
        display:grid;
        grid-template-columns:1fr;
        gap:20px;
        margin:20px auto;
        padding:0 1rem;
    }

    .card{
        width:100%;
    }

    .modal-content{
        width:95%;
        padding:20px;
    }

    .Two-opciones-form{
        flex-direction:column;
    }

    .form-izquierda,
    .form-derecha{
        max-width:100%;
        margin:0;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem 1.5rem 2rem;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-tagline {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-pages,
    .footer-contacto-list {
        align-items: center;
    }
}