body { margin: 0; font-family: 'Poppins', sans-serif; overflow-x: hidden; }
body { top: 0px !important; position: static !important; }

.main-header {
    filter: brightness(1.1);
    position: relative; width: 100%; height: 450px;
    display: flex; flex-direction: column; align-items: center; justify-content: center; color: white;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    border-bottom: 5px solid #4da3ff;
}
.hero-text h1 {
    text-shadow: 0px 2px 10px rgba(0,0,0,0.8);
}

.navbar {
    position: absolute; top: 0; width: 100%;
    height: 75px !important; max-height: 75px !important;
    display: flex; justify-content: space-between; align-items: center !important;
    padding: 10px 40px; box-sizing: border-box;
    background: rgba(36, 79, 139, 0.95); z-index: 1000;
}

.logo { width: 101px !important; height: 55px !important; flex-shrink: 0 !important; overflow: hidden !important; aspect-ratio: 101 / 55 !important; }
.logo img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: left center !important; display: block !important; }

.nav-links { display: flex !important; align-items: center !important; list-style: none; margin: 0; padding: 0; height: 55px !important; }
.nav-item { position: relative; margin-left: 15px; }

.nav-link { color: white; text-decoration: none; font-weight: 600; font-size: 12px; display: flex; align-items: center; gap: 7px; padding: 12px 8px; transition: 0.3s; cursor: pointer; }
.nav-link i { color: #4da3ff; font-size: 15px; }
.nav-link:hover { color: #4da3ff; }

.currency-container { display: flex; align-items: center; background: rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 2px 5px; border: 1px solid rgba(77, 163, 255, 0.3); margin-right: 10px; }
.curr-option { text-decoration: none; color: #fff; font-size: 12px; font-weight: 800; padding: 4px 8px; display: flex; align-items: center; gap: 5px; opacity: 0.5; border-radius: 15px; transition: 0.3s; }
.curr-option.active { opacity: 1; color: #4da3ff; background: rgba(255, 255, 255, 0.05); }
.curr-option:hover { opacity: 1; }

.lang-selector { display: flex; gap: 8px; margin-right: 10px; }
.lang-btn { text-decoration: none; border: 1px solid rgba(255,255,255,0.2); padding: 4px 8px; border-radius: 4px; color: white; font-size: 12px; transition: 0.3s; }
.lang-btn:hover { background: #4da3ff; border-color: #4da3ff; }

.dropdown-menu { 
    position: absolute; top: 100%; right: 0; 
    background: #fff; min-width: 260px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    border-radius: 4px; display: none; list-style: none; padding: 5px 0; 
    z-index: 999999 !important; 
}
.dropdown-menu.show { display: block !important; }
.nav-item:hover .dropdown-menu { display: block !important; }

.dropdown-menu li a { 
    color: #333; padding: 10px 15px; text-decoration: none; display: flex; 
    align-items: center; gap: 10px; font-size: 11px; font-weight: 600;
}
.dropdown-menu li a i { color: #4da3ff; width: 20px; text-align: center; font-size: 12px; }
.dropdown-menu li a:hover { background-color: #f8f9fa; color: #4da3ff; }

.logout-item { color: #d63031 !important; border-top: 1px solid #eee; margin-top: 5px; }

.hero-text { text-align: center; z-index: 5; padding: 0 20px; position: relative; width: 100%; max-width: 95%; height: auto; overflow: hidden; box-sizing: border-box; }
.hero-text h1 { margin: 0; text-transform: none; letter-spacing: 3px; font-weight: 800; text-shadow: 3px 3px 15px rgba(0,0,0,0.8); display: block; white-space: normal !important; word-wrap: break-word !important; font-family: var(--f-family, 'Poppins', sans-serif) !important; color: var(--f-color, #ffffff) !important; font-size: var(--f-size, 3.5rem) !important; line-height: 1.2 !important; }
.hero-text p { font-size: 1.4rem; margin-top: 10px; font-weight: 300; text-shadow: 1px 1px 5px rgba(0,0,0,0.5); margin-bottom: 0; }

.user-info-box { margin-left: 15px; padding: 5px 12px; background: rgba(255, 255, 255, 0.05); border-left: 2px solid #4da3ff; min-width: 170px; }
.info-circle { background: #4da3ff; color: #1a222d; width: 16px; height: 16px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: bold; margin-right: 5px; }

@media (max-width: 812px) {
    .navbar { padding: 5px 10px !important; }
    .logo { width: 70px !important; height: 40px !important; }
    .nav-link { font-size: 9px !important; padding: 5px 2px !important; }
    .nav-item { margin-left: 5px !important; }
    .lang-btn { padding: 2px 4px !important; font-size: 10px !important; }
}

@media (max-width: 812px) and (orientation: portrait) {
    .user-info-box { display: none !important; }
}

@media (max-width: 812px) and (orientation: landscape) {
    .user-info-box { display: block !important; font-size: 8px !important; }
}

.goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, #goog-gt-hover-badge, .skiptranslate { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background-color: transparent !important; }
body { top: 0 !important; }

/* Clase requerida para que Bingbot encuentre el H1 sin alterar visualmente tu diseño */
.h1-seo-oculto {
    display: block !important;
    visibility: hidden !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    z-index: -999 !important;
}

/* Este estilo hace que el H1 aparezca visualmente DENTRO del banner tal como lo tenías antes, 
   pero para el robot de SEO está ubicado al inicio del código */
.hero-text-seo {
    position: absolute;
    top: 225px; /* La mitad de los 450px de alto de tu .main-header */
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 95%;
    box-sizing: border-box;
    color: white;
}

.hero-text-seo h1 { 
    margin: 0; 
    text-transform: none; 
    letter-spacing: 3px; 
    font-weight: 800; 
    text-shadow: 3px 3px 15px rgba(0,0,0,0.8); 
    display: block; 
    white-space: normal; 
    word-wrap: break-word; 
    font-family: var(--db-font-family); 
    color: var(--db-font-color); 
    font-size: var(--db-font-size); 
    line-height: 1.2; 
}


.hero-text-seo p {
    font-size: 1.4rem;
    margin-top: 10px;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    margin-bottom: 0;
}

/* --- Ajuste responsivo para el banner en móviles --- */
/* --- Forzar tamaño de texto proporcional solo en celulares --- */
@media (max-width: 812px) {
    .main-header {
        height: 280px !important;
    }
    
    .hero-text-seo {
        top: 140px !important;
        padding: 0 10px !important;
        width: 100% !important;
    }
    
    /* En celulares forzamos un tamaño compacto y legible, sin importar lo que mida en la PC */
    .hero-text-seo h1,
    .hero-text h1 {
        font-size: 1.8rem !important; 
        letter-spacing: 1px !important;
        line-height: 1.2 !important;
    }
    
    .hero-text-seo p,
    .hero-text p {
        font-size: 1rem !important;
        margin-top: 5px !important;
    }
}