/* ===========================================
   TIPOGRAFÍA
=========================================== */
@font-face {
    font-family: 'Cocogoose';
    src: url('../fonts/cocogoosev2.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    margin: 0;
    font-family: 'Cocogoose', sans-serif;
    background: #F2F2F2;
}

/* PALETA
   #A68568  (café claro)
   #F2E0D0  (crema)
   #F2F2F2  (gris claro)
   #464B59  (gris azulado)
   #1E2126  (gris oscuro)
*/


/* ===========================================
   NAVBAR BASE
=========================================== */
.uns-navbar {
    width: 100%;
    background: #F2E0D0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: height .3s ease, padding .3s ease, box-shadow .3s ease;
    padding: 12px 0;
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

.uns-navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.uns-logo-img {
    height: 58px;
    transition: height .3s ease;
}

/* SHRINK */
.uns-navbar.shrink {
    padding: 6px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.uns-navbar.shrink .uns-logo-img {
    height: 40px;
}

/* LINKS */
.uns-menu {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.uns-menu li a {
    text-decoration: none;
    color: #1E2126;
    font-size: 17px;
    transition: color .3s ease, opacity .3s ease;
}

.uns-menu li a:hover {
    opacity: 0.7;
}


/* ===========================================
   MENÚ MÓVIL (BURGER)
=========================================== */

.uns-burger {
    width: 34px;
    height: 26px;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.uns-burger span {
    display: block;
    height: 4px;
    border-radius: 3px;
    background: #1E2126;
    transition: transform .3s ease, opacity .3s ease;
}

.uns-burger.open span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}
.uns-burger.open span:nth-child(2) {
    opacity: 0;
}
.uns-burger.open span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}


/* ===========================================
   RESPONSIVE
=========================================== */

@media (max-width: 820px) {

    .uns-burger {
        display: flex;
    }

    .uns-menu {
        position: fixed;
        top: var(--navbar-height);
        right: 0;
        width: 70%;
        height: calc(100vh - var(--navbar-height));
        background: #F2E0D0;
        flex-direction: column;
        gap: 22px;
        padding: 30px 20px;
        transform: translateX(100%);
        transition: transform .35s ease;
        box-shadow: -8px 0 20px rgba(0,0,0,0.15);
    }

    .uns-menu.open {
        transform: translateX(0);
    }

}
