/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*Estilos del botón*/
.elementor-button:hover {
    opacity: 0.85;
    transition: transform 0.3s ease;
    transform: scale(1.05);
}

.elementor-nav-menu .sub-arrow {
    padding: 0;
}

/*Estilos formulario*/

.hs-button {
    width: 100%;
    color: var(--Blanco, #FFF);
    text-align: center;
    font-family: "Source Sans Pro" !important;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 28px;
    /* 155.556% */
    border: none;
}

/* Estilos para el botón del formulario */
.hs-form .hs-submit .hs-button,
.hs-form input[type="submit"],
.hs-form .hs-button.primary {
    color: var(--Blanco, #FFF);
    text-align: center;
    font-family: "Source Sans Pro" !important;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 600 !important;
    line-height: 28px;
    /* 155.556% */
}

.hs-button:hover {
    opacity: 85%;
}

fieldset {
    width: 100%;
}

.hs-fieldtype-textarea {
    border-radius: 12px;
}

/* Separación entre checkbox y label en TODOS los formularios de HubSpot */
.hs-form .hs-form-checkbox-display span {
    margin-left: 10px !important;
    display: inline-block;
}

/* Fieldsets al 100% en TODOS los formularios de HubSpot */
.hbspt-form fieldset,
.hs-form fieldset {
    max-width: 100% !important;
}

/*------FORMULARIO ES------*/
/* Utiliza la ID del formulario (más específica) y !important para anular el estilo de HubSpot. */
#hsForm_a2433872-2eef-4ad5-99ac-b14ac73470de fieldset {
    max-width: 100% !important;
}

/* Opcional: Si el selector anterior no funciona, prueba el selector de clase de HubSpot con !important: */
.hs-form-a2433872-2eef-4ad5-99ac-b14ac73470de fieldset {
    max-width: 100% !important;
}

/* Selector para el texto de cada opción en la sección "Solución de interés" */
#hsForm_a2433872-2eef-4ad5-99ac-b14ac73470de .hs_solucion_de_interes .hs-form-checkbox-display span {
    /* Mueve el texto 10px a la derecha del checkbox */
    margin-left: 10px !important;

    /* Opcional, asegura que se comporte como un elemento de bloque para respetar el margen */
    display: inline-block;
}

#hsForm_a2433872-2eef-4ad5-99ac-b14ac73470de .inputs-list li::marker {
    content: none;
}

/*------FORMULARIO CA------*/

/* Utiliza la ID del formulario (más específica) y !important para anular el estilo de HubSpot. */
#hsForm_99d40b25-b4f2-4d18-abef-09f96ffcc202 fieldset {
    max-width: 100% !important;
}

/* Opcional: Si el selector anterior no funciona, prueba el selector de clase de HubSpot con !important: */
.hs-form-99d40b25-b4f2-4d18-abef-09f96ffcc202 fieldset {
    max-width: 100% !important;
}

/* Selector para el texto de cada opción en la sección "Solución de interés" */
#hsForm_99d40b25-b4f2-4d18-abef-09f96ffcc202 .hs_solucion_de_interes .hs-form-checkbox-display span {
    /* Mueve el texto 10px a la derecha del checkbox */
    margin-left: 10px !important;

    /* Opcional, asegura que se comporte como un elemento de bloque para respetar el margen */
    display: inline-block;
}

#hbspt-form-00a71811-d453-4e41-8372-382f89bfde33 fieldset {
    max-width: 100% !important;
}

/* Opcional: Si el selector anterior no funciona, prueba el selector de clase de HubSpot con !important: */
.hbspt-form-00a71811-d453-4e41-8372-382f89bfde33 fieldset {
    max-width: 100% !important;
}

#hsForm_99d40b25-b4f2-4d18-abef-09f96ffcc202 .inputs-list li::marker {
    content: none;
}

/*------FORMULARIO EN------*/

/* Utiliza la ID del formulario (más específica) y !important para anular el estilo de HubSpot. */
#hbspt-form-e75db10b-332e-4348-96ba-416906acaeb3 fieldset {
    max-width: 100% !important;
}

/* Opcional: Si el selector anterior no funciona, prueba el selector de clase de HubSpot con !important: */
.hsForm_4ff70e0e-915d-471d-a717-74435dd6a0fb fieldset {
    max-width: 100% !important;
}

/*------FIN----*/

.hs-richtext a {
    color: #0DCAF0;

}

span a {
    color: #0DCAF0;
}

.hs-richtext {
    color: #fff;
}

/*Aquí terminan los estilos*/

/* Tipografía global del formulario */
.hbspt-form {
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    font-family: "Source Sans Pro" !important;
}

/* Labels (etiquetas) en color blanco con separación */
.hbspt-form label {
    color: white !important;
    display: block;
    margin-bottom: 5px !important;
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Separación entre fieldsets */
.hbspt-form fieldset {
    margin-bottom: 24px !important;
}

/* Inputs de texto, email, tel, url */
.hbspt-form input[type="text"],
.hbspt-form input[type="email"],
.hbspt-form input[type="tel"],
.hbspt-form input[type="url"],
.hbspt-form textarea {
    background: transparent !important;
    border: 1px solid white !important;
    color: #FFF !important;
    border-radius: 48px !important;
    padding: 12px 10px !important;
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Selects (desplegables) */
.hbspt-form select {
    background: transparent !important;
    border: 1px solid white !important;
    color: #fff !important;
    border-radius: 48px !important;
    padding: 12px 10px !important;
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Options de los selects */
.hbspt-form select option {
    background: #333 !important;
    color: #fff !important;
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Placeholder */
.hbspt-form input::placeholder,
.hbspt-form textarea::placeholder {
    color: rgba(139, 140, 141, 0.6) !important;
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Estado focus */
.hbspt-form input:focus,
.hbspt-form select:focus,
.hbspt-form textarea:focus {
    outline: none !important;
    border-color: white !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5) !important;
}

/* Select del campo teléfono */
.hbspt-form .hs-fieldtype-intl-phone select {
    background: transparent !important;
    border: 1px solid white !important;
    color: #FFF !important;
    border-radius: 48px !important;
    padding: 12px 5px !important;
}

/* Textarea (campo de comentarios) - border radius de 12px */
.hbspt-form textarea {
    border-radius: 12px !important;
}

/* Eliminar padding izquierdo de todas las listas de inputs */
.hbspt-form .inputs-list {
    padding-left: 0 !important;
    margin-left: 0 !important;
    list-style: none !important;
}

/* Eliminar padding de los items de checkbox */
.hbspt-form .hs-form-checkbox,
.hbspt-form .hs-form-booleancheckbox {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Checkboxes labels */
.hbspt-form .hs-form-checkbox-display span,
.hbspt-form .hs-form-booleancheckbox-display span {
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: white !important;
}

/* Enlaces dentro de checkboxes */
.hbspt-form .hs-form-checkbox-display a,
.hbspt-form .hs-form-booleancheckbox-display a {
    color: white !important;
    text-decoration: underline !important;
}

/* Texto de rich text (políticas de privacidad) */
.hbspt-form .hs-richtext {
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
    color: white !important;
    margin: 10px 0 !important;
}

.hbspt-form .hs-richtext a {
    color: white !important;
    text-decoration: underline !important;
}

/* Botón de envío */
.hbspt-form input[type="submit"] {
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Mensajes de error en color rojo */
.hbspt-form .hs-error-msgs,
.hbspt-form .hs-error-msg {
    color: #FF6E6E !important;
    font-family: "Source Sans Pro" !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 18px !important;
}

/* Borde rojo para inputs con error */
.hbspt-form input.error,
.hbspt-form input.invalid,
.hbspt-form select.error,
.hbspt-form select.invalid,
.hbspt-form textarea.error,
.hbspt-form textarea.invalid {
    border-color: #FF6E6E !important;
}

/*Estilos menú header*/
/* Hover en items principales del menú */
.elementor-nav-menu--main .elementor-item:hover {
    color: #0DCAF0 !important;
}

/* Hover en items del submenú */
.elementor-nav-menu--dropdown .elementor-sub-item:hover {
    color: #0DCAF0 !important;
}

/* Hover en el SVG de la flecha del menú desplegable */
.elementor-nav-menu--main .elementor-item:hover .sub-arrow svg path {
    fill: #0DCAF0 !important;
}

/* Hover en el texto del submenú */
.elementor-nav-menu--dropdown .elementor-sub-item:hover .menu-item-text {
    color: #0DCAF0 !important;
}

/*Ocultar item del menú en desktop*/

li.hide-item a {
    display: none !important;
}

@media screen and (max-width: 600px) {
    li.hide-item a {
        display: block !important;
    }
}

/*Estilos para el form en movil*/

/* CSS solo para móvil - Formulario HubSpot */
@media (max-width: 767px) {

    /* Forzar campos al 100% del ancho del contenedor */
    .hs-form .hs-form-field,
    .hs-form .field,
    .hs-form .input,
    .hs-form .hs-input {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Eliminar el margin de 8px a la derecha en todos los campos */
    .hs-form .hs-form-field,
    .hs-form .field {
        margin-right: 0 !important;
    }

    /* Eliminar padding/margin interno que pueda estar causando el problema */
    .hs-form .input {
        margin-right: 0 !important;
        padding-right: 0 !important;
    }

    /* Asegurar que los inputs ocupen todo el ancho */
    .hs-form input[type="text"],
    .hs-form input[type="email"],
    .hs-form input[type="tel"],
    .hs-form select,
    .hs-form textarea {
        width: 100% !important;
        margin-right: 0 !important;
    }

    /* Gap de 12px entre fieldsets */
    .hs-form fieldset {
        gap: 12px !important;
        margin-bottom: 12px;
    }

    /* Si los fieldsets tienen form-columns, forzar columna única en móvil */
    .hs-form .form-columns-2,
    .hs-form .form-columns-1 {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* Campo de teléfono internacional - ajuste específico */
    .hs-form .hs-fieldtype-intl-phone {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .hs-form .hs-fieldtype-intl-phone select,
    .hs-form .hs-fieldtype-intl-phone input {
        margin-right: 0 !important;
    }

    /* MANTENER comportamiento original de checkboxes */
    .hs-form .hs-fieldtype-checkbox,
    .hs-form .hs-fieldtype-booleancheckbox,
    .hs-form .hs-form-checkbox,
    .hs-form .hs-form-booleancheckbox {
        width: auto !important;
        text-align: left !important;
    }

    .hs-form .hs-fieldtype-checkbox .input,
    .hs-form .hs-fieldtype-booleancheckbox .input {
        width: auto !important;
    }

    .hs-form .inputs-list,
    .hs-form .inputs-list.multi-container {
        text-align: left !important;
        display: block !important;
    }

    .hs-form input[type="checkbox"] {
        width: auto !important;
        margin-right: 0px !important;
    }

    /* IGUALAR ALTURA DE SELECT CON INPUTS */
    .hs-form select.hs-input,
    .hs-form .hs-fieldtype-select select {
        height: 46px !important;
        min-height: 46px !important;
        padding: 10px 16px !important;
        line-height: normal !important;
    }

}

/*Estilos banner cookies*/
.cky-notice-btn-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
    gap: 12px;
}

/* 1. Target específico para los labels y los spans dentro de ellos */
.hbspt-form .hs-form label,
.hbspt-form .hs-form label span {
    font-family: 'Source Sans Pro', sans-serif !important;
    font-weight: 400;
    /* Ajusta según necesites */
}


/*NUEVOS ESTILOS*/
.elementor .elementor-element.elementor-widget-n-tabs:not(:has(>.elementor-widget-container))>.e-n-tabs>.e-n-tabs-heading .e-n-tab-title[aria-selected=true],
.elementor .elementor-element.elementor-widget-n-tabs:not(:has(>.elementor-widget-container))>.e-n-tabs[data-touch-mode=true]>.e-n-tabs-heading .e-n-tab-title[aria-selected=false]:hover,
.elementor .elementor-element.elementor-widget-n-tabs>.elementor-widget-container>.e-n-tabs>.e-n-tabs-heading .e-n-tab-title[aria-selected=true],
.elementor .elementor-element.elementor-widget-n-tabs>.elementor-widget-container>.e-n-tabs[data-touch-mode=true]>.e-n-tabs-heading .e-n-tab-title[aria-selected=false]:hover {
    background-color: white !important;
    background-image: none;
}

.elementor .elementor-element.elementor-widget-n-tabs:not(:has(>.elementor-widget-container))>.e-n-tabs[data-touch-mode=false]>.e-n-tabs-heading .e-n-tab-title[aria-selected=false]:hover,
.elementor .elementor-element.elementor-widget-n-tabs>.elementor-widget-container>.e-n-tabs[data-touch-mode=false]>.e-n-tabs-heading .e-n-tab-title[aria-selected=false]:hover {
    background-color: white !important;
    background-image: none;
}