﻿/* ==========================================================
   EMPLEOIA
   CORE LAYOUT v1.0
========================================================== */

/* ---------- Contenedor principal ---------- */

.container{

    width:100%;

    max-width:1280px;

    margin:0 auto;

    padding:0 24px;

}

/* ---------- Página ---------- */

body{

    display:flex;

    flex-direction:column;

    min-height:100vh;

    background:#f8fafc;

}

/* ---------- Contenido ---------- */

main{

    flex:1;

    width:100%;

    min-height:70vh;

}

/* ---------- Cabecera ---------- */

.site-header{

    width:100%;

}

/* ---------- Footer ---------- */

.site-footer{

    width:100%;

    margin-top:80px;

    padding:60px 0 30px;

    background:#ffffff;

    border-top:1px solid #e5e7eb;

}

/* ---------- Contenido del footer ---------- */

.footer-content{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:40px;

    flex-wrap:wrap;

}

.footer-links{

    display:flex;

    gap:24px;

    flex-wrap:wrap;

}

.footer-links a{

    text-decoration:none;

    color:#64748b;

    transition:.25s;

}

.footer-links a:hover{

    color:#2563eb;

}

.copyright{

    margin-top:40px;

    text-align:center;

    color:#94a3b8;

    font-size:14px;

}

/* ---------- Responsive ---------- */

@media (max-width:992px){

    .container{

        padding:0 20px;

    }

}

@media (max-width:768px){

    .footer-content{

        flex-direction:column;

        gap:25px;

    }

    .footer-links{

        gap:16px;

    }

}

@media (max-width:576px){

    .container{

        padding:0 16px;

    }

}


/* ==========================================================
   CORRECCION POSICION FOOTER
   ========================================================== */

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
    flex-shrink: 0;
}

