/*
Theme Name: Inits
Theme URI: 
Author: 
Author URI: 
Description: Tema WordPress con Tailwind CSS
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inits
*/

/* Variables CSS personalizadas */
:root {
    --color-fondo: #353535;
    --color-fondo-secundario: #2f2d2d;
    --color-titulo: #89c4ff;
    --color-texto: #fff;
    --color-accent: #89c4ff;
    --color-hover: #89c4ff;
    --font-family: 'Poppins', sans-serif;
}

/* Etiqueta de Tipo de Viaje en Hero */
.viaje-tipo-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white !important;
    color: #000 !important;
    padding: 6px 20px;
    border-radius: 99px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 35px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.viaje-tipo-tag span {
    color: #000 !important;
}

.viaje-tipo-tag svg {
    color: #000 !important;
    width: 16px;
    height: 16px;
    min-width: 16px;
}

/* Tooltip de información de precio */
.precio-info-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 2px;
    vertical-align: middle;
}

.boton-conocenos span {

    color: #353535;
    font-weight: 600;
    font-size: 12px;
    padding: 0px;

}

.precio-info-icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    color: #89c4ff;
    /* Azul corporativo */
    transition: opacity 0.3s;
}

.precio-info-icon:hover {
    opacity: 0.8;
}

.precio-info-tooltip {
    position: absolute;
    bottom: 100%;
    right: 0;
    transform: translateY(-10px);
    background: #fff;
    /* Fondo blanco */
    color: #000;
    /* Texto negro */
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
    width: 378px;
    max-width: calc(100vw - 40px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    font-weight: normal;
    text-transform: none;
}

/* Flecha del bocadillo */
.precio-info-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 15px;
    border-width: 5px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
}

.precio-info-container:hover .precio-info-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .precio-info-tooltip {
        width: 300px;
        max-width: calc(100vw - 40px);
    }
}

.text-negro-enlace span {
    color: #000 !important;
}

/* Estilos base del tema - Override de Tailwind */
html {
    font-family: var(--font-family) !important;
}

* {
    font-family: var(--font-family) !important;
}

body {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    font-family: var(--font-family) !important;
}

.margin-top-negativo {
    margin-top: -20px !important;
}

/* Títulos */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-titulo);
    font-family: var(--font-family) !important;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

/* 40px - Títulos principales de página */
h2 {
    font-size: 1.8rem;
}

/* 28.8px - Títulos de sección */
h3 {
    font-size: 1.5rem;
}

/* 24px - Subtítulos importantes */
h4 {
    font-size: 1.3rem;
}

/* 20.8px - Subtítulos de subsección */
h5 {
    font-size: 1.1rem;
}

/* 17.6px - Títulos menores */
h6 {
    font-size: 1rem;
}

/* 16px - Títulos base */

/* Enlaces */
a {
    color: var(--color-titulo);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-accent);
}

.abrir-popup-contacto:hover,
#abrir-popup-contacto:hover,
a[href="#popup-contacto"]:hover {
    cursor: pointer;
}


/* Párrafos y texto general */
main p,
main span {
    color: white;
    font-family: var(--font-family) !important;
}

.material-symbols-outlined {
    font-family: 'Material Symbols Outlined' !important;
}

/* Botones base */
.btn {
    background-color: var(--color-titulo);
    color: var(--color-fondo);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    font-family: var(--font-family) !important;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-accent);
    color: var(--color-texto);
    transform: translateY(-1px);
}

/* Header personalizado */
.site-header {
    background-color: var(--color-fondo);

}

/* Estilos Checkout Responsive */
@media (max-width: 768px) {
    .checkout-columns {
        grid-template-columns: 1fr !important;
    }

    .persona-fields-group>div {
        grid-template-columns: 1fr !important;
    }

    .persona-fields-group>div>div {
        grid-template-columns: 1fr !important;
    }
}

/* Main content */
main {
    background-color: var(--color-fondo);
    min-height: calc(100vh - 200px);
}

/* Footer */
footer {
    background-color: var(--color-fondo);
    color: var(--color-texto);
}

/* Formularios */
input,
textarea,
select {
    background-color: rgba(189, 216, 235, 0.1);
    border: 1px solid rgba(189, 216, 235, 0.3);
    color: var(--color-texto);
    font-family: var(--font-family) !important;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-titulo);
    background-color: rgba(189, 216, 235, 0.15);
    outline: none;
}

/* Cards y contenedores */
.card {
    background-color: rgba(189, 216, 235, 0.05);

}

/* Utilidades de color para usar con clases */
.bg-custom-fondo2 {
    background-color: var(--color-fondo-secundario);
}

.bg-custom-fondo {
    background-color: var(--color-fondo);
}

.bg-custom-titulo {
    background-color: var(--color-titulo);
}

.bg-custom-texto {
    background-color: var(--color-texto);
}

.text-custom-fondo {
    color: var(--color-fondo);
}

.text-custom-titulo {
    color: var(--color-titulo);
}

.text-custom-texto {
    color: var(--color-texto);
    font-size: 16px;
}

/* Eliminar outline de botones en focus */
button:focus {
    outline: none;
}

.art-header button:focus,
.art-sidebar button:focus {
    outline: none;
}

.ti-widget.ti-goog .ti-widget-container .ti-name {
    font-weight: 600;
    font-size: 15px;
    overflow: hidden;
    padding-right: 25px;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #bdd8eb !important;
}

.ti-widget.ti-goog .ti-widget-container .ti-date {
    color: #ffffff !important;
    font-size: 13px;
}

/* Estilos para el Acordeón de FAQ - Diseño de Burbuja */
.faq-accordion .faq-item {
    background-color: rgba(189, 216, 235, 0.07);
    border: 1px solid rgba(189, 216, 235, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    /* Para que el borde redondeado afecte a los hijos */
}

.faq-accordion .faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background-color: rgba(189, 216, 235, 0.1);
}

.faq-accordion .faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-accordion .faq-question span {
    font-size: 1.125rem;
    /* 18px */
    font-weight: 600;
    color: var(--color-titulo);
    transition: color 0.3s ease;
}

@media (max-width: 480px) {
    .faq-accordion .faq-question span {
        font-size: 0.9rem;
    }
}


.faq-accordion .faq-question:hover span {
    color: var(--color-accent);
}

.faq-accordion .faq-icon {
    font-size: 1.5rem;
    /* 24px */
    font-weight: 300;
    color: var(--color-titulo);
    transition: transform 0.4s cubic-bezier(0.2, 1, 0.3, 1);
}

.faq-accordion .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.2, 1, 0.3, 1), padding 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    padding: 0 1.5rem;
}

.faq-accordion .faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--color-texto);
    opacity: 0.9;
    line-height: 1.7;
}

/* Estado activo del acordeón */
.faq-accordion .faq-item.active {
    background-color: rgba(189, 216, 235, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.faq-accordion .faq-item.active .faq-question span {
    color: var(--color-accent);
}

.faq-accordion .faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-accordion .faq-item.active .faq-answer {
    max-height: 500px;
    /* Ajustar si las respuestas son muy largas */
    transition: max-height 0.6s cubic-bezier(0.2, 1, 0.3, 1), padding 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Estilos para el bloque de Contacto Dudas */
.btn-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    /* fully rounded */
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid transparent;
}

.btn-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white !important;
}

.btn-whatsapp:hover svg {
    color: #25D366 !important;
}

.btn-mail {
    background-color: white;
    border: 1px solid var(--color-titulo);
}

.btn-mail span,
.btn-mail svg {
    color: var(--color-fondo) !important;
}

.btn-mail:hover {
    background-color: var(--color-titulo);
}

.btn-mail:hover span,
.btn-mail:hover svg {
    color: var(--color-fondo) !important;
}



.wpcf7-form-control-wrap {
    position: relative;
    margin-top: 3px;
}

@media (max-width: 600px) {
    #btn-anterior {
        margin-right: 10px;
    }

}


/*Mi cuenta menus*/
.woocommerce-MyAccount-navigation-link--downloads,
.woocommerce-MyAccount-navigation-link--edit-address {
    display: none;
}

/* ===================================
   LISTAS EN BLOQUES ELEMENTOR
   =================================== */

/* Listas no ordenadas (ul) en Elementor */
.elementor-element ul:not(.elementor-editor-element-settings) {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.elementor-element ul:not(.elementor-editor-element-settings) li:not(.splide__slide):not(.elementor-editor-element-setting) {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--color-texto);
    font-size: 16px;
    line-height: 1.7;
    font-family: var(--font-family) !important;
}

/* Bullet personalizado con color azul */
.elementor-element ul:not(.elementor-editor-element-settings) li:not(.splide__slide):not(.elementor-editor-element-setting)::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-titulo);
    font-size: 1.2rem;
    line-height: 1.7;
    transition: all 0.3s ease;
}

/* Efecto hover en items de lista */
.elementor-element ul:not(.elementor-editor-element-settings) li:not(.splide__slide):not(.elementor-editor-element-setting):hover::before {
    color: var(--color-accent);
    transform: scale(1.2);
}

/* Listas ordenadas (ol) en Elementor */
.elementor-element ol {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
    margin: 1.5rem 0;
}

.elementor-element ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-texto);
    font-size: 16px;
    line-height: 1.7;
    counter-increment: item;
    font-family: var(--font-family) !important;
}

/* Numeración personalizada con fondo azul */
.elementor-element ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    background-color: var(--color-titulo);
    color: var(--color-fondo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.elementor-element ol li:hover::before {
    background-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(137, 196, 255, 0.3);
}

/* Listas anidadas */
.elementor-element ul ul,
.elementor-element ol ul {
    margin: 0.5rem 0 0.5rem 1rem;
}

.elementor-element ul ul li::before {
    content: '○';
    font-size: 1rem;
}

.elementor-element ul ul ul li::before {
    content: '▪';
    font-size: 0.8rem;
}

/* Listas dentro de widgets de texto de Elementor */
.elementor-widget-text-editor ul,
.elementor-text-editor ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.elementor-widget-text-editor ul li:not(.splide__slide),
.elementor-text-editor ul li:not(.splide__slide) {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--color-texto);
    font-size: 16px;
    line-height: 1.7;
}

.elementor-widget-text-editor ul li:not(.splide__slide)::before,
.elementor-text-editor ul li:not(.splide__slide)::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--color-titulo);
    font-size: 1.2rem;
    line-height: 1.7;
}

.elementor-widget-text-editor ol,
.elementor-text-editor ol {
    list-style: none;
    counter-reset: item;
    padding-left: 0;
    margin: 1.5rem 0;
}

.elementor-widget-text-editor ol li,
.elementor-text-editor ol li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-texto);
    font-size: 16px;
    line-height: 1.7;
    counter-increment: item;
}

.elementor-widget-text-editor ol li::before,
.elementor-text-editor ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8rem;
    height: 1.8rem;
    background-color: var(--color-titulo);
    color: var(--color-fondo);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Enlaces dentro de listas */
.elementor-element ul:not(.elementor-editor-element-settings) li:not(.elementor-editor-element-setting) a,
.elementor-element ol li a {
    color: var(--color-titulo);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.elementor-element ul:not(.elementor-editor-element-settings) li:not(.elementor-editor-element-setting) a:hover,
.elementor-element ol li a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

/* Responsive para móviles */
@media (max-width: 768px) {

    .elementor-element ul:not(.elementor-editor-element-settings) li:not(.elementor-editor-element-setting),
    .elementor-element ol li {
        font-size: 15px;
        padding-left: 1.8rem;
        margin-bottom: 0.8rem;
    }

    .elementor-element ul:not(.elementor-editor-element-settings) li:not(.elementor-editor-element-setting)::before {
        font-size: 1rem;
    }

    .elementor-element ol li::before {
        width: 1.5rem;
        height: 1.5rem;
        font-size: 0.8rem;
    }
}

/* ===================================
   SPLIDE AUTOPLAY PROGRESS BAR
   =================================== */
.splide__progress {
    background: rgba(0, 0, 0, 0.05); /* Fina capa casi transparente */
    border-radius: 2px;
    overflow: hidden;
    height: 3px;
    max-width: 80%;
    margin: 30px auto 20px auto; /* Aumentada la separación superior e inferior */
}

.splide__progress__bar {
    background: var(--color-titulo);
    height: 100%;
    width: 0;
}

@media (max-width: 768px) {
    .splide__progress {
        margin: 40px auto 25px auto; /* Aún más espacio en móviles */
    }
}