/* =====================================
   RESET BASICO
===================================== */

* {
    box-sizing: border-box;
}


/* =====================================
   BARRA SUPERIOR
===================================== */

.topbar {

    height: 34px;

    background: linear-gradient(
        90deg,
        #29496c,
        #1d3551
    );

    color: white;

    font-family: Arial, sans-serif;

}


.topbar-container {

    max-width: 1500px;

    height: 100%;

    margin: auto;

    padding: 0 45px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.topbar-left {

    font-size: 11px;

    letter-spacing: 0.5px;

    color: #dce7f1;

}


.topbar-right {

    display: flex;

    gap: 25px;

}


.topbar-right a {

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;

    transition: 0.3s;

}


.topbar-right a:hover {

    color: #ff7518;

}


/* =====================================
   HEADER PRINCIPAL
===================================== */

.header-pymevi {

    width: 100%;

    height: 90px;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 1px solid #e8edf2;

    position: sticky;

    top: 0;

    z-index: 9999;

    transition: 0.3s;

}


/* CONTENEDOR */

.header-contenido {

    max-width: 1500px;

    height: 100%;

    margin: auto;

    padding: 0 45px;

    display: flex;

    align-items: center;

}


/* =====================================
   LOGO
===================================== */

.logo-pymevi {

    display: flex;

    align-items: center;

    margin-right: 60px;

}


.logo-pymevi img {

    height: 100px;

    width: auto;

    display: block;

    object-fit: contain;

}


/* =====================================
   MENU
===================================== */

.menu-pymevi {

    display: flex;

    align-items: center;

    gap: 34px;

    height: 100%;

}


.menu-pymevi > a,
.menu-dropdown > a {

    height: 90px;

    display: flex;

    align-items: center;

    text-decoration: none;

    color: #29496c;

    font-family: Arial, sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    position: relative;

    white-space: nowrap;

}


/* LINEA ACTIVA */

.menu-pymevi > a::after,
.menu-dropdown > a::after {

    content: "";

    position: absolute;

    bottom: 0;

    left: 0;

    width: 0;

    height: 3px;

    background: #ff7518;

    transition: 0.3s;

}


.menu-pymevi > a:hover::after,
.menu-pymevi > a.activo::after,
.menu-dropdown:hover > a::after {

    width: 100%;

}


.menu-pymevi a:hover {

    color: #ff7518;

}


.flecha {

    margin-left: 6px;

    font-size: 15px;

    transition: 0.3s;

}


.menu-dropdown:hover .flecha {

    transform: rotate(180deg);

}


/* =====================================
   DROPDOWN
===================================== */

.menu-dropdown {

    position: relative;

    height: 100%;

    display: flex;

    align-items: center;

}


.dropdown-contenido {

    position: absolute;

    top: 82px;

    left: -20px;

    width: 290px;

    background: white;

    border-radius: 10px;

    padding: 12px;

    box-shadow:
        0 15px 45px rgba(31, 63, 96, 0.16);

    border: 1px solid #edf0f3;

    opacity: 0;

    visibility: hidden;

    transform: translateY(10px);

    transition: all 0.25s ease;

}


.menu-dropdown:hover .dropdown-contenido {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}


.dropdown-contenido a {

    display: flex;

    flex-direction: column;

    text-decoration: none;

    padding: 14px 15px;

    border-radius: 7px;

    transition: 0.2s;

}


.dropdown-contenido a:hover {

    background: #f4f7fa;

}


.dropdown-contenido strong {

    color: #29496c;

    font-family: Arial, sans-serif;

    font-size: 13px;

    margin-bottom: 4px;

}


.dropdown-contenido span {

    color: #8493a3;

    font-family: Arial, sans-serif;

    font-size: 11px;

}


/* =====================================
   ACCIONES
===================================== */

.header-acciones {

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 15px;

}


/* BOTON INGRESAR */

.btn-login {

    color: #29496c;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.8px;

    padding: 12px 10px;

    transition: 0.3s;

}


.btn-login span {

    color: #ff7518;

    margin-right: 5px;

}


.btn-login:hover {

    color: #ff7518;

}


/* BOTON HABLEMOS */

.btn-hablemos {

    min-width: 145px;

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    background: linear-gradient(
        135deg,
        #ff7b22,
        #f3640b
    );

    color: white;

    text-decoration: none;

    font-family: Arial, sans-serif;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    border-radius: 7px;

    box-shadow:
        0 6px 16px rgba(255, 117, 24, 0.22);

    transition: all 0.25s;

}


.btn-hablemos:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(255, 117, 24, 0.35);

}


/* =====================================
   BOTON MOBILE
===================================== */

.menu-mobile {

    display: none;

    border: none;

    background: none;

    font-size: 28px;

    color: #29496c;

    cursor: pointer;

}


/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1100px) {

    .menu-pymevi {

        gap: 18px;

    }


    .logo-pymevi {

        margin-right: 30px;

    }


    .logo-pymevi img {

        height: 65px;

    }

}


@media (max-width: 900px) {

    .topbar {

        display: none;

    }


    .header-pymevi {

        height: 75px;

    }


    .header-contenido {

        padding: 0 20px;

    }


    .logo-pymevi img {

        height: 58px;

    }


    .menu-pymevi {

        display: none;

    }


    .header-acciones {

        display: none;

    }


    .menu-mobile {

        display: block;

        margin-left: auto;

    }

}