/* Estilos específicos para nuevo_3.html */

body {
    background: #f8f8f8;
}

.top-bar {
    background: #263238;
    color: #fff;
    font-size: 13px;
    padding: 4px 0;
}

.main-menu {
    background: #263238;
    padding: 0;
}

.main-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    display: block;
    padding: 16px 32px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.2s;
}

.main-menu .active,
.main-menu a:hover {
    background: #8bc34a;
    color: #263238;
}

/* Estilos del menú hamburguesa */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(38, 50, 56, 0.98);
    z-index: 9999;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 50px 0 0 0;
}

.mobile-menu li {
    margin: 15px 0;
    border-bottom: 1px solid #455a64;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: block;
    padding: 15px 0;
}

.mobile-submenu {
    display: none;
    padding-left: 20px;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu a {
    font-size: 14px;
    color: #8bc34a;
    padding: 10px 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
}

/* Media Queries para Responsive Design */
@media (max-width: 1024px) {
    .main-menu ul {
        display: none !important;
    }
    
    .main-menu {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 50px;
    }
    
    .hamburger-menu {
        display: block !important;
    }
}

.header-contact {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 18px 0 10px 0;
    flex-wrap: wrap;
}

.header-logo {
    width: 260px;
}

.header-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
}

.header-info-block {
    background: #eaf6e2;
    color: #263238;
    border-radius: 6px;
    padding: 10px 18px;
    min-width: 210px;
    margin-bottom: 6px;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.header-info-block i {
    color: #8bc34a;
    font-size: 1.5em;
    margin-top: 2px;
}

.header-info-block .fa-envelope {
    color: #2196f3;
}

.header-info-block .fa-phone {
    color: #388e3c;
}

.header-info-block .fa-map-marker {
    color: #8bc34a;
}

.submenu-parent {
    position: relative;
}

.submenu {
    display: none !important;
    position: absolute;
    background: #263238;
    margin: 0;
    padding: 0;
    list-style: none;
    min-width: 180px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 1000;
    top: 100%;
    left: 0;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.submenu li a {
    color: #fff !important;
    padding: 12px 24px;
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #37474f;
}

.submenu li:last-child a {
    border-bottom: none;
}

.submenu li a:hover {
    background: #8bc34a !important;
    color: #263238 !important;
}

/* Mostrar submenú al hacer hover en escritorio */
.submenu-parent:hover .submenu {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

/* Mostrar submenú cuando se activa con JavaScript */
.submenu.show {
    display: block !important;
    visibility: visible;
    opacity: 1;
}

/* Clase para ocultar completamente el submenú */
.submenu.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .submenu {
        position: static !important;
        box-shadow: none !important;
        min-width: 0 !important;
        display: none !important;
    }
    
    .submenu.show {
        display: block !important;
    }
    
    .submenu-parent:hover .submenu {
        display: none;
    }
}

/* Clases específicas para elementos */
.container-custom {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.header-contact-centered {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-logo-centered {
    margin-bottom: 10px;
}

.header-logo-img {
    max-width: 250px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.header-info-centered {
    justify-content: center;
    align-items: center;
}

.header-info-block-inline {
    margin: 0 auto;
    display: inline-flex;
}

.header-info-block-spaced {
    margin: 20px auto;
    display: inline-flex;
}

/* Estilos para submenú específicos */
.submenu-link {
    color: #fff !important;
    padding: 12px 24px !important;
    display: block !important;
}

/* Estilos para colores específicos en el header */
.email-link {
    color: #2196f3 !important;
}

.phone-number {
    color: #388e3c !important;
}

.website-text {
    color: #2196f3 !important;
}

/* Estilo para el ícono de LinkedIn */
.linkedin-icon {
    font-size: 1.5em !important;
}

/* Estilo para la flecha del submenú */
.submenu-arrow {
    font-size: 0.8em !important;
}

/* Estilos para el footer */
.social-link-italic {
    font-style: italic !important;
}

/* Estilos específicos para la página "Soporte" */
.soporte-container {
    margin-top: 30px;
    margin-bottom: 40px;
    background: #f9f9f9;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 1200px;
}

.soporte-title {
    font-size: 2.5em;
    font-weight: bold;
    color: #1976d2;
    text-align: center;
    margin-bottom: 20px;
}

.soporte-subtitle {
    font-size: 1.5em;
    font-weight: 500;
    color: #444;
    text-align: center;
    margin-bottom: 30px;
}

.soporte-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.soporte-section-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 20px;
}

.soporte-services {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.soporte-services-col {
    flex: 1;
    list-style: none;
    padding: 0;
}

.soporte-service-item {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.soporte-service-icon {
    color: #1976d2;
    margin-right: 10px;
}

.soporte-advantages-title {
    font-size: 1.8em;
    font-weight: bold;
    color: #1976d2;
    margin-bottom: 20px;
}

.soporte-advantages-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.soporte-advantages-list li {
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.soporte-advantage-icon {
    color: #388e3c;
    margin-right: 10px;
}

.soporte-final-text {
    font-size: 1.2em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    text-align: justify;
}

.soporte-cta {
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    color: #1976d2;
    margin-top: 20px;
}

.soporte-contact-link {
    color: #388e3c;
    text-decoration: none;
}

.soporte-contact-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .header-contact {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-info {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    .header-logo {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
}
