* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }

/* FONDO AZUL OSCURO GENERAL */
body { background-color: #0b132b; color: #e0e0e0; }

/* BARRA DE NAVEGACIÓN UNIFICADA */
header { background-color: #1c2541; border-bottom: 2px solid #d4af37; position: sticky; top: 0; z-index: 1000; }
nav { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; }

.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-brand img.brand-logo { height: 68px; width: auto; object-fit: contain; }
.nav-brand img.brand-text { height: 38px; width: auto; object-fit: contain; }

.nav-links { list-style: none; display: flex; gap: 15px; align-items: center; }
.nav-links li { position: relative; }
.nav-links a { color: #fff; text-decoration: none; padding: 10px 14px; display: block; transition: color 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: #d4af37; }

/* ESTILO ESPECIAL PARA EL BOTÓN "TU e-QSL" */
.nav-btn-eqsl {
    background-color: #d4af37 !important;
    color: #0b132b !important;
    font-weight: bold;
    border-radius: 4px;
    padding: 8px 14px !important;
    transition: background-color 0.3s, transform 0.2s !important;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.3);
}
.nav-btn-eqsl:hover {
    background-color: #f3c623 !important;
    color: #000 !important;
    transform: translateY(-1px);
}

/* MENÚ DESPLEGABLE */
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background-color: #1c2541; min-width: 260px; box-shadow: 0px 8px 16px rgba(0,0,0,0.5); border: 1px solid #3a506b; border-radius: 4px; z-index: 1000; }
.dropdown-content a { padding: 12px 16px; color: #ddd; border-bottom: 1px solid #28385e; display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover { background-color: #28385e; color: #d4af37; }
.dropdown-divider { height: 1px; background-color: #3a506b; margin: 4px 0; }
.dropdown:hover .dropdown-content { display: block; }

/* TRADUCTOR */
.translate-bar-container { max-width: 1200px; margin: 12px auto 0 auto; padding: 0 20px; display: flex; justify-content: flex-end; }
.translate-floating-box { background-color: #1c2541; color: #d4af37; padding: 4px 10px; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.4); display: inline-flex; align-items: center; border: 1px solid #3a506b; font-size: 0.8rem; }
.translate-floating-box select { background-color: #0b132b; color: #ffffff; border: 1px solid #3a506b; padding: 3px 6px; border-radius: 3px; font-family: inherit; font-size: 0.8rem; cursor: pointer; outline: none; margin-left: 6px; }

/* BANNER PRINCIPAL */
.main-banner-container { max-width: 1200px; margin: 15px auto; padding: 0 20px; text-align: center; }
.main-banner-container img { width: 100%; max-height: 480px; object-fit: contain; border-radius: 8px; box-shadow: 0 8px 25px rgba(0,0,0,0.7); border: 2px solid #3a506b; background-color: #000; }

/* CARRUSEL */
.carousel-section { max-width: 1200px; margin: 25px auto; padding: 0 20px; }
.section-title { color: #d4af37; text-align: center; margin-bottom: 20px; font-size: 1.8rem; text-transform: uppercase; letter-spacing: 2px; border-bottom: 1px solid #3a506b; padding-bottom: 10px; }
.carousel-container { position: relative; background: #1c2541; border-radius: 8px; overflow: hidden; border: 1px solid #3a506b; box-shadow: 0 4px 15px rgba(0,0,0,0.5); padding: 25px; }
.carousel-content-wrapper { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; min-height: 350px; }
.carousel-left-img { flex: 1.2; min-width: 300px; text-align: center; }
.carousel-left-img img { max-width: 100%; max-height: 340px; object-fit: contain; border-radius: 6px; border: 1px solid #3a506b; box-shadow: 0 4px 15px rgba(0,0,0,0.6); }
.carousel-right-info { flex: 1.5; min-width: 300px; background-color: #0b132b; padding: 20px; border-radius: 8px; border-left: 4px solid #d4af37; }
@keyframes fadeIn { from { opacity: 0.4; } to { opacity: 1; } }
.fade-anim { animation: fadeIn 0.8s ease-in-out; }
.carousel-dots { text-align: center; padding: 15px; background: #141d33; margin-top: 20px; border-radius: 6px; }
.dot { display: inline-block; width: 12px; height: 12px; margin: 0 5px; background-color: #3a506b; border-radius: 50%; cursor: pointer; transition: background-color 0.3s; }
.dot.active { background-color: #d4af37; }

/* TARJETAS */
.widgets-section { max-width: 1200px; margin: 30px auto; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: stretch; }
.widget-card { background-color: #1c2541; border: 1px solid #3a506b; border-radius: 8px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.5); display: flex; flex-direction: column; justify-content: space-between; text-align: center; }
.widget-card:hover { border-color: #d4af37; }
.widget-card h3 { color: #d4af37; font-size: 1.1rem; margin-bottom: 15px; border-bottom: 1px solid #28385e; padding-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.widget-img-container { background-color: #0b132b; border: 1px solid #28385e; border-radius: 6px; padding: 12px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; min-height: 120px; overflow: hidden; }
.widget-img-container img { max-width: 100%; max-height: 90px; object-fit: contain; border-radius: 4px; transition: transform 0.2s; }
.btn-card { display: block; background-color: #d4af37; color: #0b132b; padding: 12px 15px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.95rem; transition: background-color 0.3s, color 0.3s, transform 0.2s; }
.btn-card:hover { background-color: #fff; color: #000; transform: translateY(-2px); }

/* FOOTER */
footer { background-color: #000000; border-top: 1px solid #3a506b; padding: 25px 30px; margin-top: 50px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 0.9rem; color: #a0aec0; }