* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    /* Elimina el destello azul al tocar en iOS/Android */
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display+SC:ital,wght@0,400;0,700&display=swap');

:root {
    --color-primary: #062021;
    --footer-background: #245448;
    --gold-yelow: #EAC966;
    --text: #33333A;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
    background-color: #f8f9fa;
    color: var(--color-primary);
    overflow-x: hidden;
    overscroll-behavior-y: contain;
}

/* Desktop Topbar */
#desktop_topbar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 40px;
    background-color: var(--color-primary);
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 999;
}

#desktop_topbar_left {
    display: flex;
    align-items: center;
    gap: 15px;
}

#desktop_topbar_left a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 12px;
    transition: color 0.2s ease;
}

#desktop_topbar_left a:hover {
    color: var(--gold-yelow);
}

.topbar_divider {
    width: 1px;
    height: 20px;
    background-color: var(--gold-yelow);
}

#desktop_topbar_right {
    color: var(--gold-yelow);
    font-family: 'Playfair Display SC';
    font-weight: 700;
    font-size: 14px;
}

/* navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
    background-color: var(--color-primary);
    padding: 0 40px;
    height: 70px;
    z-index: 1000;
}

.navbar_menu,
#navbar_center,
#navbar_lan {
    display: flex;
    align-items: center;
}

#navbar_center {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.navbar_menu_icon-icon {
    width: 16px;
    height: 10px;
}

#navbar_center_title {
    color: var(--gold-yelow);
    font-family: 'Playfair Display SC';
    font-weight: 400;
    font-size: 14px;
}

#navbar_center_logo {
    width: 50px;
    height: 50px;
}

#navbar_lan {
    position: relative;
    display: flex;
    margin-left: auto;
}

#navbar_lang_btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #EDEDED;
    border-radius: 4px;
    padding: 5px 10px;
    border: none;
    cursor: pointer;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 10px;
    color: var(--text);
    transition: background-color 0.2s ease;
}

#navbar_lang_btn:hover {
    background-color: #D0D0D0;
}

#navbar_lang_btn>* {
    margin: 0;
    padding: 0;
}

#navbar_lang_globe {
    width: 12px;
    height: 12px;
}

#navbar_lang_current {
    color: var(--text);
    font-family: 'Inter';
    font-weight: 400;
    font-size: 10px;
}

#navbar_lang_arrow {
    width: 10px;
    height: 10px;
}

/* Language Menu */
#language_menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #EDEDED;
    border-radius: 4px;
    margin-top: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 1001;
    min-width: 150px;
}

#language_menu.language_menu_open {
    max-height: 300px;
}

.language_menu_list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.language_menu_list li {
    border-bottom: 1px solid #E0E0E0;
}

.language_menu_list li:last-child {
    border-bottom: none;
}

.language_menu_list a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    text-decoration: none;
    font-family: 'Inter';
    font-weight: 400;
    font-size: 12px;
    transition: background-color 0.2s ease;
}

.language_menu_list a:hover {
    background-color: #D0D0D0;
}

#body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    background-color: var(--color-primary);
    margin-top: 70px;
}


/* footer */
#footer {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 15px;
    background-color: var(--footer-background);
}

#footer p {
    color: #EDEDED;
}

#footer_title {
    display: flex;
    gap: 10px;
}

#footer_logo {
    width: 70px;
    height: 60px;
}

#footer_title {
    display: flex;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Playfair Display SC';
    color: var(--gold-yelow);
    text-decoration: none;
    cursor: pointer;
}

.accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.accordion:hover {
    opacity: 0.8;
}

.accordion p {
    font-size: 16px;
    font-weight: 500;
    font-family: "Poppins";
}

.accordion_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion_content.open {
    max-height: 500px;
}

.accordion_content p {
    font-size: 14px;
    font-weight: 400;
    font-family: "Poppins";
    padding: 10px 0;
    margin: 0;
    color: #EDEDED;
}

#footer_policies {
    display: flex;
    justify-content: center;
    gap: 40px;
}

#footer_policies p {
    font-size: 14px;
    font-weight: 500;
    font-family: "Inter";
}

.footer_container_dropdown_icon {
    width: 10px;
    height: 14px;
}

#footer_social_net {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#footer_social_net_container {
    display: flex;
    gap: 30px;
}

#footer_social_net_container img {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#footer_social_net_container img:hover {
    transform: scale(1.15) translateY(-4px);
    filter: brightness(1.2);
}

/* Desktop Footer */
#footer_desktop {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 40px 80px;
    background-color: var(--footer-background);
}

#footer_desktop_row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#footer_desktop_logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    cursor: pointer;
}

#footer_desktop_logo img {
    width: 60px;
    height: 60px;
}

#footer_desktop_logo h1 {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Playfair Display SC';
    color: var(--gold-yelow);
    margin: 0;
}

#footer_desktop_search {
    display: flex;
    gap: 8px;
}

#footer_desktop_search input {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    font-family: "Poppins";
    font-size: 12px;
    min-width: 200px;
}

#footer_desktop_search input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#footer_desktop_search button {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFFFFF;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

#footer_desktop_search button:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

#footer_desktop_row2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer_desktop_column {
    display: flex;
    flex-direction: column;
}

.footer_desktop_column h3 {
    font-size: 14px;
    font-weight: 600;
    font-family: "Poppins";
    color: #FFFFFF;
    margin: 0 0 15px 0;
}

.footer_desktop_column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer_desktop_column a {
    color: #D4D4D4;
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer_desktop_column a:hover {
    color: var(--gold-yelow);
}

#footer_desktop_social {
    display: flex;
    gap: 20px;
}

#footer_desktop_social a img {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#footer_desktop_social a img:hover {
    transform: scale(1.15) translateY(-4px);
    filter: brightness(1.2);
}

#footer_desktop_row3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
}

#footer_desktop_copyright {
    font-size: 12px;
    font-family: "Poppins";
    color: #D4D4D4;
    margin: 0;
}

#footer_desktop_links {
    display: flex;
    gap: 25px;
}

#footer_desktop_links a {
    color: #D4D4D4;
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 12px;
    transition: color 0.2s ease;
}

#footer_desktop_links a:hover {
    color: var(--gold-yelow);
}

/* Mobile Menu */
#mobile_menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: var(--color-primary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 999;
}

#mobile_menu.mobile_menu_open {
    max-height: 900px;
}

.mobile_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile_menu_item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile_menu_item a {
    display: block;
    padding: 16px 32px;
    color: #FFFFFF;
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.mobile_menu_item a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile_menu_submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile_menu_submenu.open {
    max-height: 300px;
}

.mobile_menu_submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile_menu_submenu a {
    display: block;
    padding: 12px 32px 12px 48px;
    color: #D4D4D4;
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.mobile_menu_submenu a:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

#navbar_menu_icon {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

/* Desktop Menu */
#desktop_menu {
    display: none;
}

.desktop_menu_list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 30px;
    align-items: center;
}

.desktop_menu_list>li {
    position: relative;
}

.desktop_menu_list a {
    color: #FFFFFF;
    text-decoration: none;
    font-family: "Poppins";
    font-weight: 400;
    font-size: 14px;
    transition: color 0.2s ease;
    display: block;
    padding: 8px 0;
}

.desktop_menu_list a:hover {
    color: var(--gold-yelow);
}

.desktop_menu_submenu_toggle>a::after {
    content: '▼';
    font-size: 10px;
    margin-left: 6px;
}

.desktop_menu_submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    min-width: 160px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-top: 4px;
    z-index: 1002;
    visibility: hidden;
}

.desktop_menu_submenu.open {
    max-height: 300px;
    visibility: visible;
}

.desktop_menu_submenu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.desktop_menu_submenu li:last-child {
    border-bottom: none;
}

.desktop_menu_submenu a {
    padding: 10px 16px;
    font-size: 13px;
    color: #D4D4D4;
    display: block;
}

.desktop_menu_submenu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--gold-yelow);
}

/* Estilos para Tablets en adelante */
@media (min-width: 1024px) {
    #desktop_topbar {
        display: flex;
    }

    #footer_desktop {
        display: flex;
    }

    #footer {
        display: none;
    }

    #navbar {
        top: 40px;
        margin-top: 0;
    }

    #body {
        margin-top: 110px;
    }

    #desktop_menu {
        display: flex;
        align-items: center;
    }

    .navbar_menu {
        display: none;
    }

    #mobile_menu {
        display: none !important;
    }
}

/* Estilos para Tablets en adelante */
@media (min-width: 768px) {
    #navbar_center {
        display: flex;
    }

    #mobile_menu {
        display: none;
    }
}