/*
Theme Name:   Salient Child
Theme URI:    https://themenectar.com/salient
Description:  Tema hijo para AECOC ScanQR
Template:     salient
Author:       ThemeNectar (Customized for AECOC)
Version:      1.0.0
License:      Custom license
License URI:  https://themeforest.net/licenses/terms/regular
Text Domain:  salient-child
*/

/* ==========================================================================
   CARDS DE SOLUCIONES / CUMPLIMIENTO NORMATIVO
   ========================================================================== */
section#solution-card-container ul,
section#solution-card-container ol,
section#solution-card-container li,
.solution-card-wrapper ul,
.solution-card-wrapper ol,
.solution-card-wrapper li,
.solution-card ul,
.solution-card ol,
.solution-card li,
.solution-card-header,
.solution-card-header ul,
.solution-card-header ol,
.solution-card-header li,
ul.url-list,
ul.url-list li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

section#solution-card-container li:before,
section#solution-card-container li:after,
.solution-card li:before,
.solution-card li:after,
.solution-card-header li:before,
.solution-card-header li:after,
ul.url-list li:before,
ul.url-list li:after {
    content: none !important;
    display: none !important;
}

/* Enlaces y botón "Saber más" en las cards: verde/turquesa corporativo (#27CCC0) */
section#solution-card-container .solution-card a,
section#solution-card-container .solution-card a.more-button,
section#solution-card-container .solution-card ul.url-list a,
.solution-card a,
.solution-card a.more-button,
.solution-card ul.url-list a,
a.more-button {
    color: #27CCC0 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

section#solution-card-container .solution-card a:hover,
section#solution-card-container .solution-card a.more-button:hover,
section#solution-card-container .solution-card ul.url-list a:hover,
.solution-card a:hover,
.solution-card a.more-button:hover,
.solution-card ul.url-list a:hover,
a.more-button:hover {
    color: #20B3A8 !important;
}

/* Enlaces editoriales en párrafos de contenido (sin alterar menús, botones ni componentes globales) */
.wpb_text_column p a:not([class*="btn"]):not([class*="button"]),
article p a:not([class*="btn"]):not([class*="button"]),
.post-content p a:not([class*="btn"]):not([class*="button"]) {
    color: #27cfc3;
    text-decoration: none;
    transition: color 0.2s linear;
}

.wpb_text_column p a:not([class*="btn"]):not([class*="button"]):hover,
article p a:not([class*="btn"]):not([class*="button"]):hover,
.post-content p a:not([class*="btn"]):not([class*="button"]):hover {
    color: #0080c5;
}

/* Asegurar que todos los botones sólidos tengan fondo turquesa corporativo y letras blancas en reposo y hover */
.btn-green,
a.btn-green,
section#qr-container .btn-green,
section#qr-container a.btn-green,
.green-button,
a.green-button,
.black-button,
a.black-button,
.line-button,
a.line-button,
.btn:not(.outline),
.btn:not(.outline) *,
a.btn:not(.outline),
a.btn:not(.outline) *,
button.btn:not(.outline),
button.btn:not(.outline) *,
.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline),
.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline) *,
a.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline),
a.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline) *,
.button_solid_color > a,
.button_solid_color > a *,
.vc_btn3:not(.vc_btn3-style-outline),
a.vc_btn3:not(.vc_btn3-style-outline),
.vc_btn3:not(.vc_btn3-style-outline) *,
a.vc_btn3:not(.vc_btn3-style-outline) *,
.button:not(.outline),
a.button:not(.outline),
.button:not(.outline) *,
a.button:not(.outline) * {
    color: #ffffff !important;
}

.btn-green,
a.btn-green,
section#qr-container .btn-green,
section#qr-container a.btn-green {
    background-color: #35ccc0 !important;
    color: #ffffff !important;
}

.btn-green *,
a.btn-green *,
section#qr-container .btn-green *,
section#qr-container a.btn-green * {
    color: #ffffff !important;
}

.btn-green:hover,
a.btn-green:hover,
section#qr-container .btn-green:hover,
section#qr-container a.btn-green:hover,
.green-button:hover,
a.green-button:hover,
.btn:not(.outline):hover,
.btn:not(.outline):hover *,
a.btn:not(.outline):hover,
a.btn:not(.outline):hover *,
button.btn:not(.outline):hover,
button.btn:not(.outline):hover *,
.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline):hover,
.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline):hover *,
a.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline):hover,
a.nectar-button:not(.see-through):not(.see-through-2):not(.see-through-3):not(.outline):hover *,
.button_solid_color > a:hover,
.button_solid_color > a:hover *,
.vc_btn3:not(.vc_btn3-style-outline):hover,
a.vc_btn3:not(.vc_btn3-style-outline):hover,
.vc_btn3:not(.vc_btn3-style-outline):hover *,
a.vc_btn3:not(.vc_btn3-style-outline):hover * {
    background-color: #20b3a8 !important;
    color: #ffffff !important;
}

.btn-green:hover *,
a.btn-green:hover *,
section#qr-container .btn-green:hover *,
section#qr-container a.btn-green:hover * {
    color: #ffffff !important;
}

/* Botones outline y see-through (transparentes con borde) */
.btn.outline,
.btn.outline *,
a.btn.outline,
a.btn.outline *,
.nectar-button.see-through,
.nectar-button.see-through *,
a.nectar-button.see-through,
a.nectar-button.see-through *,
.nectar-button.see-through-2,
.nectar-button.see-through-2 *,
a.nectar-button.see-through-2,
a.nectar-button.see-through-2 *,
.nectar-button.see-through-3,
.nectar-button.see-through-3 *,
a.nectar-button.see-through-3,
a.nectar-button.see-through-3 * {
    color: #27cfc3 !important;
    background: transparent !important;
    border-color: #27cfc3 !important;
}

.btn.outline:hover,
.btn.outline:hover *,
a.btn.outline:hover,
a.btn.outline:hover *,
.nectar-button.see-through:hover,
.nectar-button.see-through:hover *,
a.nectar-button.see-through:hover,
a.nectar-button.see-through:hover *,
.nectar-button.see-through-2:hover,
.nectar-button.see-through-2:hover *,
a.nectar-button.see-through-2:hover,
a.nectar-button.see-through-2:hover *,
.nectar-button.see-through-3:hover,
.nectar-button.see-through-3:hover *,
a.nectar-button.see-through-3:hover,
a.nectar-button.see-through-3:hover * {
    color: #ffffff !important;
    background-color: #27cfc3 !important;
    border-color: #27cfc3 !important;
}

/*-------------------------------------------------------------------------*/
/* Overlay blanco con animacion fade para el slider */
/*-------------------------------------------------------------------------*/
.tp-caption.white-overlay,
.rev_slider .slotholder:after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(255, 255, 255, 0.4) !important;
    z-index: 2 !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease-in-out !important;
}

.tp-simpleresponsive .slotholder:after {
    animation: fadeInOverlay 0.6s ease-in-out !important;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Ocultar flecha del desplegable en el menú principal */
#header-outer header nav ul.buttons li.menu-item-has-children > a .sf-sub-indicator,
#header-outer header nav ul.buttons li.menu-item-has-children > a > i,
#header-outer header nav ul li.menu-item-has-children > a i,
header#top nav > ul > li.menu-item-has-children > a > i,
header#top nav > ul > li.menu-item-has-children > a .sf-sub-indicator {
    display: none !important;
}

/* Eliminar flecha del desplegable de Mas Informacion en Salient */
#header-outer header nav ul li.menu-item-has-children > a i,
#header-outer header nav ul li.menu-item-has-children > a span.sf-sub-indicator,
#header-outer header nav ul.sf-menu > li.menu-item-has-children > a:after,
.material #header-outer header nav ul li.menu-item-has-children > a:after,
#header-outer header nav > ul > li.menu-item-has-children > a:after,
header#top nav > ul > li.menu-item-has-children > a:after {
    display: none !important;
    content: "" !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

/* ==========================================================================
   AJUSTES VISUALES ESPECÍFICOS PARA AECOC SCANQR
   ========================================================================== */

/* Hero Banner */
.hero-scanqr {
    background-color: #0b1a30 !important;
    background-image: url('/wp-content/uploads/2024/06/Background-home-banner-aecocscanqr.png') !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
}

/* Botón CONTRATAR (Turquesa Sólido Relleno) */
.btn-contratar-solid {
    background-color: #27ccc0 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-right: 15px !important;
    text-decoration: none !important;
}

/* Botón SABER MÁS (Borde Blanco Transparente) */
.btn-saber-mas-outline {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 10px 26px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    display: inline-block !important;
    text-decoration: none !important;
}

.btn-blanco-transparente {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 10px 26px !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    display: inline-block !important;
    text-decoration: none !important;
}

/* Eliminar la superposición azul por defecto en las cabeceras */
.page-header-no-bg,
.carousel-wrap[data-full-width="true"] .carousel-heading {
    background: transparent !important;
}

/* Ajustes para botones corporativos AECOC */
.nectar-button.regular-button.accent-color {
    background-color: #27cfc3 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
}

.nectar-button.regular-button.accent-color *,
.nectar-button.regular-button.accent-color span {
    color: #ffffff !important;
}

.nectar-button.regular-button.accent-color:hover {
    background-color: #20b3a8 !important;
    color: #ffffff !important;
}

.nectar-button.regular-button.accent-color:hover *,
.nectar-button.regular-button.accent-color:hover span {
    color: #ffffff !important;
}

/* Estilo para los bloques de QR destacados */
.qr-feature-box {
    border: 1px solid #e1e6eb !important;
    border-radius: 8px !important;
    padding: 24px !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 45, 114, 0.05) !important;
    margin-bottom: 20px !important;
    transition: all 0.3s ease !important;
}

.qr-feature-box:hover {
    box-shadow: 0 8px 24px rgba(0, 45, 114, 0.12) !important;
    transform: translateY(-2px) !important;
}

/* Ajuste de formulario para el generador/validador */
.escan-qr-form {
    max-width: 600px !important;
    margin: 0 auto !important;
    padding: 30px !important;
    background-color: #f8fafc !important;
    border-radius: 8px !important;
}

.escan-qr-form input[type="text"],
.escan-qr-form select {
    width: 100% !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 4px !important;
    padding: 10px 14px !important;
    margin-bottom: 15px !important;
}

.escan-qr-form button[type="submit"] {
    width: 100% !important;
    background-color: #00a3e0 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.escan-qr-form button[type="submit"]:hover {
    background-color: #0082b3 !important;
}

/* ==========================================================================
   UTILIDADES DE CABECERA (EMAIL Y TELÉFONO)
   ========================================================================== */

.aecoc-header-utils {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 20px !important;
    margin-left: auto !important;
    padding-right: 15px !important;
}

.aecoc-header-utils .header-email,
.aecoc-header-utils .header-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #18233f !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.aecoc-header-utils .header-email i,
.aecoc-header-utils .header-phone i {
    color: #0080c5 !important;
    font-size: 15px !important;
}

.aecoc-header-utils .header-email:hover,
.aecoc-header-utils .header-phone:hover {
    color: #0080c5 !important;
}

@media only screen and (max-width: 999px) {
    .aecoc-header-utils {
        display: none !important;
    }
}

/* ==========================================================================
   PRE-FOOTER Y FOOTER CORPORATIVO
   ========================================================================== */

#pre-footer {
    padding: 35px 20px !important;
    background-color: #0c2340 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
}

#pre-footer .prefooter-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    display: block !important;
    margin-bottom: 10px !important;
}

#pre-footer p {
    margin: 0 !important;
    color: #cbd5e1 !important;
    font-size: 15px !important;
}

#pre-footer a {
    color: #00a3e0 !important;
    text-decoration: underline !important;
}

#footer-outer {
    background-color: #0c2340 !important;
    color: #ffffff !important;
}

#footer-outer a {
    color: #00a3e0 !important;
}

#footer-outer #copyright {
    padding: 20px 0 !important;
    background-color: #0c2340 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    text-align: center !important;
}

#footer-outer #copyright p {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    width: 100% !important;
}

#footer-outer #copyright .textoLegal a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: underline !important;
    font-size: 13px !important;
    margin-left: 10px !important;
    transition: color 0.2s ease !important;
}

#footer-outer #copyright .textoLegal a:hover,
#footer-outer #copyright .textoLegal a:focus {
    color: #ffffff !important;
}

/* ==========================================================================
   CABECERA Y NAVEGACIÓN AECOC SCANQR
   ========================================================================== */

/* Eliminar el espacio en blanco superior innecesario de header-space en todas las paginas */
#header-space {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Asegurar que las páginas interiores tengan espaciado superior y no queden bajo la cabecera */
.container-wrap {
    margin-top: 0 !important;
    padding-top: 40px !important;
    background-color: #f8f8f8;
}

#header-outer {
    background-color: #ffffff !important;
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.15) !important;
}

/* ==========================================================================
   PÁGINA DE TARIFAS (Restauración completa exacta)
   ========================================================================== */
.tabbed > ul,
.wpb_content_element .tabbed .wpb_tabs_nav {
    margin-left: 0 !important;
    margin-bottom: 24px !important;
    padding: 0 !important;
    list-style: none !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    text-align: center !important;
}

.tabbed[data-alignment="center"] .wpb_tabs_nav {
    text-align: center !important;
    justify-content: center !important;
}

.tabbed > ul li,
.wpb_tabs_nav li {
    display: inline-block !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.tabbed > ul li a,
.wpb_tabs_nav li a,
a.tab-link {
    display: inline-block !important;
    padding: 12px 28px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #17193e !important;
    background-color: #e9ecef !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.tabbed > ul li a:hover,
.wpb_tabs_nav li a:hover,
a.tab-link:hover {
    background-color: #dee2e6 !important;
    color: #17193e !important;
}

.tabbed > ul li a.active-tab,
.wpb_tabs_nav li a.active-tab,
a.tab-link.active-tab {
    color: #ffffff !important;
    background-color: #27cfc3 !important;
    border-color: #27cfc3 !important;
}

.tabbed > ul li a.active-tab *,
.wpb_tabs_nav li a.active-tab *,
a.tab-link.active-tab * {
    color: #ffffff !important;
}

/* Ocultar elementos condicionales de tarifas por defecto hasta que JS muestre la tabla activa */
.gform_wrapper ul#gform_fields_4 > li[data-if] {
    display: none;
}

.gform_wrapper ul#gform_fields_4 > h2[data-if] {
    display: none;
}

/* Tablas de tarifas */
.gform_body table.table {
    width: 100% !important;
    margin: 0 auto 2rem auto !important;
    border-collapse: collapse !important;
    background-color: #ffffff !important;
}

.gform_body table.table th,
.gform_body table.table td {
    padding: 12px 14px !important;
    border: 1px solid #dee2e6 !important;
    vertical-align: middle !important;
}

.gform_body table td p {
    margin: 0 !important;
    padding: 0 !important;
}

/* Selectores de Tarifas (Sectores y Facturación) */
#sectores,
#billing_selector {
    width: 100% !important;
    max-width: 500px !important;
    height: 48px !important;
    padding: 10px 16px !important;
    font-size: 16px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    color: #17193e !important;
    display: block !important;
    margin: 0 auto !important;
}

#sectores_selector_li,
#billing_selector_li {
    text-align: center !important;
    margin-bottom: 2rem !important;
    list-style: none !important;
}

#sectores_selector_li label,
#billing_selector_li label {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #17193e !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* ==========================================================================
   SLIDER Y CABECERA (Espaciado de botones)
   ========================================================================== */
.header-button-wrapper,
section#header-banner .header-button-wrapper {
    margin-top: 2rem !important;
}

/* ==========================================================================
   CALCULADORA DE TARIFAS (section#tarifa-calculator-container)
   ========================================================================== */
section#tarifa-calculator-container .tarifa-calculator-wrapper {
    max-width: 1250px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 380px 1fr !important;
    grid-template-areas:
        "title center"
        "title right" !important;
    align-items: center !important;
    gap: 24px 50px !important;
}

@media screen and (max-width: 950px) {
    section#tarifa-calculator-container .tarifa-calculator-wrapper {
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "title"
            "center"
            "right" !important;
        gap: 30px !important;
    }
}

section#tarifa-calculator-container .left-column {
    grid-area: title !important;
    width: 100% !important;
}

section#tarifa-calculator-container .center-column {
    grid-area: center !important;
    width: 100% !important;
}

section#tarifa-calculator-container .center-column .row {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
}

@media screen and (max-width: 600px) {
    section#tarifa-calculator-container .center-column .row {
        flex-direction: column !important;
    }
}

section#tarifa-calculator-container .center-column .row > div {
    flex: 1 !important;
    width: 100% !important;
}

section#tarifa-calculator-container .center-column .row > div > select {
    width: 100% !important;
    height: 50px !important;
    border: 1px solid #18193E !important;
    font-size: 18px !important;
    font-family: Roboto, sans-serif !important;
    line-height: 26px !important;
    padding: 0 14px !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
}

section#tarifa-calculator-container .right-column {
    grid-area: right !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

section#tarifa-calculator-container .price-card-container {
    display: none;
    width: 100% !important;
    max-width: 380px !important;
    justify-content: center !important;
    margin-bottom: 15px !important;
}

section#tarifa-calculator-container .price-card.rates {
    width: 100% !important;
    border-top: 6px solid #27ccc0 !important;
    background-color: #ffffff !important;
    padding: 20px 24px !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    text-align: center !important;
}

section#tarifa-calculator-container .price-card .h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #18233f !important;
    margin-bottom: 6px !important;
    letter-spacing: 1px !important;
}

section#tarifa-calculator-container .price-card .price {
    font-size: 54px !important;
    font-weight: 800 !important;
    color: #27ccc0 !important;
    line-height: 1.1 !important;
    margin: 10px 0 !important;
}

section#tarifa-calculator-container .price-card .price span.small {
    font-size: 32px !important;
}

section#tarifa-calculator-container .price-card .iva {
    font-size: 13px !important;
    color: #717070 !important;
}

section#tarifa-calculator-container .right-column a.contratar.btn {
    width: 100% !important;
    max-width: 380px !important;
    font-size: 18px !important;
    padding: 14px 24px !important;
    font-family: Roboto, sans-serif !important;
    background-color: #27CCC0 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    display: block !important;
    text-align: center !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    transition: background-color 0.2s ease !important;
}

section#tarifa-calculator-container .right-column a.contratar.btn:hover {
    background-color: #20b3a8 !important;
    color: #ffffff !important;
}

#header-outer header#top {
    max-width: 100% !important;
    width: 100% !important;
}

#header-outer header#top .container.header-top-container,
#header-outer header#top .container {
    max-width: 1425px !important;
    width: 100% !important;
    padding: 0 20px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
}

#header-outer header#top #logo img,
header a img#site-logo {
    height: 75px !important;
    max-height: 75px !important;
    width: auto !important;
    margin: 4px 0 !important;
    display: block !important;
}

.desktop-header {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 16px 0 !important;
}

.desktop-header .header-logo {
    display: flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
}

.desktop-header .header-utilities {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 0 0 auto !important;
}

.header-login-form {
    display: flex !important;
    flex-direction: row !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 24px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-login-form .header-email,
.header-login-form .header-phone {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #242e36 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: color 0.2s ease !important;
}

.header-login-form .header-email:hover,
.header-login-form .header-phone:hover {
    color: #27cfc3 !important;
}

.header-login-form i {
    color: #0080c5 !important;
    font-size: 16px !important;
}

/* Barra de navegación inferior completa (centrada al medio y más alta) */
.nav_bg {
    background-color: #17193e !important;
    width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 1000 !important;
    text-align: center !important;
    min-height: 60px !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
}

#header-outer header#top .nav_bg .nav-container,
#header-outer header#top .span_9.nav_bg .nav-container {
    max-width: 1425px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
    text-align: center !important;
}

#header-outer header#top .nav_bg nav,
#header-outer header#top .span_9.nav_bg nav {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    text-align: center !important;
}

#header-outer header#top .nav_bg nav > ul.sf-menu,
#header-outer header#top .span_9.nav_bg nav > ul.sf-menu {
    display: flex !important;
    justify-content: center !important;
    align-items: stretch !important;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: wrap !important;
}

/* Items de primer nivel sin separación horizontal y ocupando todo el alto */
#header-outer header#top .nav_bg nav > ul.sf-menu > li,
#header-outer header#top .span_9.nav_bg nav > ul.sf-menu > li {
    position: relative !important;
    display: flex !important;
    align-items: stretch !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#header-outer header#top .nav_bg nav > ul.sf-menu > li > a,
#header-outer header#top .span_9.nav_bg nav > ul.sf-menu > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px 22px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    text-transform: uppercase !important;
    font-size: 20px !important;
    line-height: 24px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}

/* Hover sin huecos entre botones: cubre de borde a borde del botón */
#header-outer header#top .nav_bg nav > ul.sf-menu > li:hover > a,
#header-outer header#top .nav_bg nav > ul.sf-menu > li.current-menu-item > a,
#header-outer header#top .nav_bg nav > ul.sf-menu > li.sfHover > a,
#header-outer header#top .span_9.nav_bg nav > ul.sf-menu > li:hover > a,
#header-outer header#top .span_9.nav_bg nav > ul.sf-menu > li.current-menu-item > a,
#header-outer header#top .span_9.nav_bg nav > ul.sf-menu > li.sfHover > a {
    color: #27ccc0 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* Ocultar flechas en primer nivel */
#header-outer header nav ul.sf-menu > li.menu-item-has-children > a i,
#header-outer header nav ul.sf-menu > li.menu-item-has-children > a:after,
#header-outer header nav ul.sf-menu > li.menu-item-has-children > a .sf-sub-indicator {
    display: none !important;
}

/* Botón destacado SOLICITAR DEMO */
#header-outer header#top nav > ul.sf-menu > li.menu-demo,
#header-outer header#top nav > ul.sf-menu > li.btn-free-demo {
    display: flex !important;
    align-items: center !important;
    padding: 0 8px !important;
}

#header-outer header#top nav > ul.sf-menu > li.menu-demo > a,
#header-outer header#top nav > ul.sf-menu > li.btn-free-demo > a,
#header-outer header#top nav > ul.sf-menu > li[class*="button_solid"] > a,
#header-outer header#top nav > ul.sf-menu > li[class*="button_bordered"] > a,
#header-outer header#top nav > ul.sf-menu > li.button_solid_color > a {
    background-color: #27ccc0 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 10px 22px !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: none !important;
    text-transform: uppercase !important;
    line-height: 20px !important;
    transition: background-color 0.2s ease, transform 0.15s ease !important;
}

#header-outer header#top nav > ul.sf-menu > li.menu-demo > a:hover,
#header-outer header#top nav > ul.sf-menu > li.btn-free-demo > a:hover,
#header-outer header#top nav > ul.sf-menu > li[class*="button_solid"] > a:hover,
#header-outer header#top nav > ul.sf-menu > li[class*="button_bordered"] > a:hover,
#header-outer header#top nav > ul.sf-menu > li.button_solid_color > a:hover {
    background-color: #20b3a8 !important;
    color: #ffffff !important;
}

/* Evitar que pseudo-elementos de Salient (animated_underline / button backgrounds) deformen el botón */
#header-outer header#top nav > ul.sf-menu > li.menu-demo > a:before,
#header-outer header#top nav > ul.sf-menu > li.menu-demo > a:after,
#header-outer header#top nav > ul.sf-menu > li.btn-free-demo > a:before,
#header-outer header#top nav > ul.sf-menu > li.btn-free-demo > a:after,
#header-outer header#top nav > ul.sf-menu > li[class*="button_"] > a:before,
#header-outer header#top nav > ul.sf-menu > li[class*="button_"] > a:after {
    display: none !important;
}

/* Ajuste para pantallas intermedias (1000px a 1250px) para evitar saltos de línea */
@media only screen and (min-width: 1000px) and (max-width: 1250px) {
    #header-outer header#top .nav_bg nav > ul.sf-menu > li > a,
    #header-outer header#top .span_9.nav_bg nav > ul.sf-menu > li > a {
        padding: 16px 12px !important;
        font-size: 16px !important;
    }

    #header-outer header#top nav > ul.sf-menu > li.menu-demo > a,
    #header-outer header#top nav > ul.sf-menu > li.btn-free-demo > a,
    #header-outer header#top nav > ul.sf-menu > li[class*="button_"] > a {
        padding: 8px 16px !important;
        font-size: 15px !important;
    }
}

/* ==========================================================================
   SUBMENÚS DESPLEGABLES (Ocultos por defecto, visibles en hover)
   ========================================================================== */

/* 1er Nivel Desplegable */
#header-outer header#top nav > ul.sf-menu > li > ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 280px !important;
    width: max-content !important;
    background-color: #17193e !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
    border-radius: 0 0 4px 4px !important;
    z-index: 9999 !important;
}

#header-outer header#top nav > ul.sf-menu > li:hover > ul.sub-menu,
#header-outer header#top nav > ul.sf-menu > li.sfHover > ul.sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Enlaces del submenú */
#header-outer header#top nav > ul.sf-menu ul.sub-menu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    float: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#header-outer header#top .nav_bg nav ul.sf-menu ul.sub-menu li a,
#header-outer header#top .span_9.nav_bg nav ul.sf-menu ul.sub-menu li a,
#header-outer header#top nav > ul.sf-menu ul.sub-menu li a,
header#top .sf-menu li ul li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    color: #ffffff !important;
    background-color: transparent !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 400 !important;
    text-transform: none !important;
    padding: 10px 22px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    text-decoration: none !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}

#header-outer header#top .nav_bg nav ul.sf-menu ul.sub-menu li:last-child > a,
#header-outer header#top .span_9.nav_bg nav ul.sf-menu ul.sub-menu li:last-child > a,
#header-outer header#top nav > ul.sf-menu ul.sub-menu li:last-child > a {
    border-bottom: none !important;
}

#header-outer header#top .nav_bg nav ul.sf-menu ul.sub-menu li:hover > a,
#header-outer header#top .nav_bg nav ul.sf-menu ul.sub-menu li.sfHover > a,
#header-outer header#top .nav_bg nav ul.sf-menu ul.sub-menu li.current-menu-item > a,
#header-outer header#top .span_9.nav_bg nav ul.sf-menu ul.sub-menu li:hover > a,
#header-outer header#top .span_9.nav_bg nav ul.sf-menu ul.sub-menu li.sfHover > a,
#header-outer header#top .span_9.nav_bg nav ul.sf-menu ul.sub-menu li.current-menu-item > a,
header#top .sf-menu li ul li:hover > a {
    color: #27ccc0 !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
}

/* 2º Nivel Desplegable (Sub-submenús) */
#header-outer header#top nav > ul.sf-menu ul.sub-menu li > ul.sub-menu {
    display: none !important;
    position: absolute !important;
    top: 0 !important;
    left: 100% !important;
    min-width: 280px !important;
    width: max-content !important;
    background-color: #121435 !important;
    padding: 8px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    border-radius: 4px !important;
    z-index: 10000 !important;
}

#header-outer header#top nav > ul.sf-menu ul.sub-menu li:hover > ul.sub-menu,
#header-outer header#top nav > ul.sf-menu ul.sub-menu li.sfHover > ul.sub-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Indicador de flecha para submenús */
#header-outer header#top nav > ul.sf-menu ul.sub-menu li.menu-item-has-children > a .sf-sub-indicator {
    display: inline-block !important;
    margin-left: 10px !important;
    color: inherit !important;
}

#header-outer header#top nav > ul.sf-menu ul.sub-menu li.menu-item-has-children > a .sf-sub-indicator i {
    font-size: 13px !important;
    color: inherit !important;
}

/* ==========================================================================
   MENÚ MÓVIL Y RESPONSIVE
   ========================================================================== */

/* Toggle móvil oculto estrictamente por defecto y en desktop */
#toggle-nav {
    display: none !important;
}

@media only screen and (min-width: 1000px) {
    #toggle-nav {
        display: none !important;
    }

    #mobile-menu {
        display: none !important;
    }
}

@media only screen and (max-width: 999.98px) {
    .desktop-header .hide-mobile,
    .desktop-header .header-utilities {
        display: none !important;
    }

    .desktop-header {
        justify-content: center !important;
    }

    .desktop-header .header-logo {
        margin: 0 auto !important;
    }

    .nav_bg {
        min-height: 52px !important;
        height: 52px !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
    }

    .nav_bg .nav-container {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        height: 100% !important;
        position: relative !important;
    }

    #toggle-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #ffffff !important;
        font-size: 24px !important;
        width: 44px !important;
        height: 44px !important;
        line-height: 1 !important;
        cursor: pointer !important;
        text-decoration: none !important;
        z-index: 10001 !important;
    }

    #toggle-nav i {
        color: #ffffff !important;
        font-size: 22px !important;
    }

    /* Ocultar menú desktop en responsive con máxima especificidad */
    #header-outer header#top .nav_bg nav,
    #header-outer header#top .nav_bg nav > ul.sf-menu,
    #header-outer header#top .span_9.nav_bg nav,
    #header-outer header#top .span_9.nav_bg nav > ul.sf-menu,
    #header-outer header#top nav > ul.sf-menu,
    #header-outer header#top .span_9.nav_bg .nav-container,
    #header-outer header#top nav,
    header#top nav > ul.sf-menu {
        display: none !important;
    }

    #mobile-menu {
        display: none;
        background-color: #17193e !important;
        width: 100% !important;
        position: relative !important;
        padding: 15px 0 20px 0 !important;
        z-index: 10000 !important;
    }

    #mobile-menu .container {
        padding: 0 15px !important;
    }

    #mobile-menu .header-login-form {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        padding: 14px 15px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        margin-bottom: 12px !important;
        width: 100% !important;
    }

    #mobile-menu .header-login-form .header-email,
    #mobile-menu .header-login-form .header-phone {
        color: #ffffff !important;
        font-size: 14px !important;
        text-decoration: none !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    #mobile-menu .header-login-form i {
        color: #27ccc0 !important;
    }

    #mobile-menu ul {
        list-style: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #mobile-menu ul li {
        display: block !important;
        width: 100% !important;
        position: relative !important;
    }

    #mobile-menu ul li a {
        color: #ffffff !important;
        padding: 12px 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        font-size: 15px !important;
        font-family: 'Poppins', sans-serif !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        text-decoration: none !important;
        transition: color 0.15s ease !important;
    }

    #mobile-menu ul li a:hover {
        color: #27ccc0 !important;
    }

    #mobile-menu ul li ul.sub-menu {
        display: none;
        background-color: rgba(0, 0, 0, 0.25) !important;
        padding-left: 15px !important;
        margin: 0 !important;
    }

    #mobile-menu ul li.open > ul.sub-menu {
        display: block !important;
    }

    #mobile-menu ul li ul.sub-menu li a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 13.5px !important;
        padding: 10px 15px !important;
    }
}

/* ==========================================================================
   BOTÓN VOLVER ARRIBA (#to-top)
   ========================================================================== */
#to-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    border-radius: 4px !important;
    z-index: 100000 !important;
    height: 42px !important;
    width: 42px !important;
    background-color: rgba(24, 35, 63, 0.75) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease !important;
    text-decoration: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

#to-top:hover {
    background-color: #27cfc3 !important;
    color: #ffffff !important;
    transform: translateY(-3px) !important;
}

#to-top i,
#to-top i.icon-angle-up {
    color: #ffffff !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
}
