.pe-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

.header-idiomas {
    margin: 10px 20px 0px 20px;
}

.pe-header-content {
    max-width: 1240px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.pe-logo-link {
    display: flex;
    align-items: center;
}
.pe-logo-img {
    height: 40px;
    width: auto;
}

.pe-nav-menu {
    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

.pe-nav-item {
    font-family: 'REM', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: #2F2F2F;
    transition: color 0.2s;
}
.pe-nav-item:hover {
    color: #007bbf;
}

.pe-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pe-flag {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 4px;
    cursor: pointer;
}

.pe-flag-img {
    width: 45px;
    height: auto;
    border-radius: 2px;
}

.pe-flag:hover .pe-flag-img {
    border-color: #009fe3;
}

.pe-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.pe-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.pe-hamburger span {
    width: 24px;
    height: 3px;
    background-color: #1c1c3b;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.pe-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    /* background-color: #FFFFFF; */
    background-image: url('../img/responsive-menu-background.png');
    background-repeat: repeat;
    background-size: contain;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;

    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    transition: all 0.35s ease;
}

.pe-mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pe-mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pe-mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pe-mobile-item {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.pe-mobile-item:hover {
    color: #007ac2;
}

.pe-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pe-close-menu {
    margin-top: 24px;
    background-color: #FFEAEA;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    width: 64px;
    height: 64px;
    align-self: center;
    transition: background 0.2s ease;
}

.pe-close-menu:hover {
    background-color: #F150501A;
}

.pe-close-menu i {
    font-size: 28px;
    color: #F15050;
}


@media (max-width: 950px) {
  .pe-nav-menu,
  .pe-header-actions {
    display: none;
  }

  .pe-hamburger {
    display: flex;
  }

  .pe-header-content {
    justify-content: space-between;
  }
}
