/* 
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
*/

/* ===== Locomotive Scroll: evitar doble barra en móvil y ocultar scrollbar ===== */
html.has-scroll-smooth,
body.has-scroll-smooth {
    overflow: hidden; /* Evita que el body genere scroll nativo adicional */
}

.has-scroll-smooth [data-scroll-container] {
    scrollbar-width: none; /* Firefox: oculta scrollbar */
    -ms-overflow-style: none; /* IE/Edge legacy */
}

.has-scroll-smooth [data-scroll-container]::-webkit-scrollbar {
    display: none; /* WebKit: oculta scrollbar visual */
}

/* Refuerzo específico para móviles: que sólo scrollee el contenedor de Locomotive */
@media (max-width: 767px) {
    html,
    body {
        height: 100%;
    }
    body.has-scroll-smooth {
        position: relative;
        overflow: hidden; /* evita barra nativa durante el smooth */
    }
}

/* En el editor/preview de Elementor siempre permitir scroll */
.elementor-editor-active html,
.elementor-editor-active body {
    overflow: auto !important;
}

/* ========================================
   TABLA DE CONTENIDO
   ======================================== 
   1. BASE & RESET
   2. FUENTES
   3. ESTILOS GLOBALES
   4. TIPOGRAFÍA
   5. COMPONENTES
      - Botones
      - Navegación
      - Formularios
   6. SECCIONES
      - Header
      - Hero Banner
      - Ofertas de Trabajo
      - Reviews
      - Footer
   7. PÁGINAS
      - Single Post
      - Job Offers
      - Servicios
      - Training
   8. ANIMACIONES
   9. RESPONSIVE
   ======================================== */

/* ========================================
   1. BASE & RESET
   ======================================== */

/* Fix para imágenes SVG en Elementor */
.elementor-widget-image a img[src$=".svg"] { 
    width: auto !important; 
}

html {
    overflow-x: hidden !important;
    width: 100%;
}

body {
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Asegurar que contenedores principales no se salgan horizontalmente */
/* Excluir header para permitir que los submenús se vean en desktop */
body > div:not(.elementor-editor-active),
body > main,
body > section {
    max-width: 100%;
    overflow-x: hidden;
}

/* Solo aplicar overflow-x hidden al header en móvil (donde no hay submenús horizontales) */
@media (max-width: 767px) {
    body > header {
        max-width: 100%;
        overflow-x: hidden;
    }
}

/* Fix barra scroll Locomotive - SOLO DESKTOP */
@media (min-width: 768px) {
    html.has-scroll-smooth {
        height: 100%;
        overflow: hidden;
    }

    body.has-scroll-smooth {
        height: 100%;
        overflow: hidden;
    }
}

/* En móvil: NO overflow hidden para que Locomotive funcione */
@media (max-width: 767px) {
    html.has-scroll-smooth {
        overflow: visible !important;
    }

    body.has-scroll-smooth {
        overflow: visible !important;
    }
}




/* Fix para contenedores de Elementor */
.e-con,
.e-con-inner {
    max-width: 100%;
    box-sizing: border-box;
}

/* Compensar la altura del header solo en páginas single (solo desktop) */
@media (min-width: 768px) {
    .single #js-scroll {
        padding-bottom: 70px;
    }
}

/* ========================================
   2. FUENTES
   ======================================== */

@font-face {
    font-family: 'Aspekta';
    src: url('assets/fonts/Aspekta-300.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta';
    src: url('assets/fonts/Aspekta-350.woff2') format('woff2');
    font-weight: 350;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta';
    src: url('assets/fonts/Aspekta-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta';
    src: url('assets/fonts/Aspekta-450.woff2') format('woff2');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta';
    src: url('assets/fonts/Aspekta-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aspekta';
    src: url('assets/fonts/Aspekta-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   3. ESTILOS GLOBALES
   ======================================== */

body {
    font-family: 'Aspekta', sans-serif;

    color: #000;
    font-size: 20px;
}

.section {
    margin: 5rem 0;
  
}

.mt-0{
    margin-top: 0!important;
}

.mb-0{
    margin-bottom: 0!important;
}

/* Compensar el header fijo */
main {
    padding-top: 120px !important;
}

/* Quitar padding cuando estemos en admin o editando con Elementor */
body.admin-bar main,
body.elementor-editor-active main {
    padding-top: 0 !important;
}

/* ========================================
   4. TIPOGRAFÍA
   ======================================== */

/* Headings */
h1 {
    font-size: clamp(2.5rem, 2rem + 2vw, 4.4375rem);
    font-weight: 350;
    line-height: 1.2;
    margin: 0;
}

.home h1 {
    font-weight: 450;
}

h1 .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}

.elementor-editor-active h1 .word {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h1.animate .word {
    animation: wordSlideUp 0.6s ease forwards;
}

h2 {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.75rem);
    font-weight: 350;
    line-height: 52px;
    letter-spacing: 0;
}

h2 .word-h2 {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
}

.elementor-editor-active h2 .word-h2 {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h2.animate .word-h2 {
    animation: wordH2SlideUp 0.6s ease forwards;
}

h3 {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2.1875rem);
    font-weight: 250;
    margin: 0 0 1rem 0;
    letter-spacing: -0.5%;
}

.f-35 {
    font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.1875rem);
    font-weight: 250;
    letter-spacing: -0.005em;
    line-height: 100%;
}

/* Clases de texto personalizadas */
.hero-text {
    font-size: clamp(1.5rem, 1.25rem + 1.5vw, 2.1875rem);
    line-height: 101%;  
    font-weight: 250;
    letter-spacing: -0.5%;
}

.p-20 {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    line-height: 100%;
    letter-spacing: -0.005em;
}

/* Imágenes en headings */
h1 img, h2 img {
    display: inline-block;
    vertical-align: middle;
    margin: 0 5px;
    max-height: 1.2em;
    width: auto;
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.elementor-editor-active h1 img, 
.elementor-editor-active h2 img {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

h1.animate img, 
h2.animate img {
    opacity: 1;
    transform: translateY(0);
}

/* Section Labels */
.section-label p {
    background: transparent;
    border: 1px solid #23D8AE;
    border-radius: 20px;
    padding: 3px 25px;
    font-size: clamp(0.875rem, 0.8rem + 0.5vw, 1.25rem);
    margin-bottom: 0!important;}

.single .section-label p {
    padding: 6px 23px;
    font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);

}

/* Text Highlights */
.text-highlight {
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    padding: 1rem 0;
}

.text-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse clamp(10rem, 12rem + 3vw, 18rem) clamp(4em, 6rem + 2vw, 7rem) at center, rgba(33, 195, 204, 0.8), rgba(33, 195, 204, 0.3), rgba(255, 255, 255, 0));
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(0);
    transform-origin: center;
    transition: transform 1s ease-out;
    z-index: -1;
}

    .services-aux.text-highlight::before {

        background: radial-gradient(ellipse clamp(10rem, 12rem + 3vw, 18rem) clamp(4em, 6rem + 2vw, 6rem) at center, rgba(33, 195, 204, 0.8), rgba(33, 195, 204, 0.3), rgba(255, 255, 255, 0));

    }

.text-highlight.animate::before {
    transform: scale(1);
}

/* Versión mini del highlight - la mitad de tamaño */
.text-highlight.high-med::before {
    background: radial-gradient(ellipse clamp(12.6rem, 16.2rem + 3.6vw, 21.6rem) clamp(3em, 3.6rem + 2.4vw, 4.8rem) at center, rgba(33, 195, 204, 0.8), rgba(33, 195, 204, 0.3), rgba(255, 255, 255, 0));
}

/* Versión mini del highlight - la mitad de tamaño */
.text-highlight.high-mini::before {
    background: radial-gradient(ellipse clamp(5rem, 6rem + 1.5vw, 9rem) clamp(1em, 1.5rem + 1vw, 2.5rem) at center, rgba(33, 195, 204, 0.8), rgba(33, 195, 204, 0.3), rgba(255, 255, 255, 0));
}

.text-highlight h2 {
    font-weight: 350;
    font-size: clamp(1.3rem, 0.5rem + 7.5vw, 4rem);
    line-height: 1;
}

/* Floating Images */
.floating-image-1,
.floating-image-2,
.floating-image-3 {
    vertical-align: sub;
    display: inline-block;
    transform: translateY(10%);
    transition: all 0.6s ease;
}

.floating-image-1 {
    opacity: 0;
    margin-left: 10px;
    margin-right: 10px;
    transform: translateX(50px);
}

.floating-image-2 {
    opacity: 0;
    margin-left: -10px;
    margin-right: -30px;
    transform: translateX(50px);
}

.floating-image-3 {
    opacity: 0;
    margin-left: 10px;
    margin-right: -10px;
    transform: translateX(80px);
}

.elementor-editor-active .floating-image-1,
.elementor-editor-active .floating-image-2,
.elementor-editor-active .floating-image-3 {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.animate .floating-image-1 {
    z-index: 3;
    margin-left: 10px;
    margin-right: 10px;
    opacity: 1;
    transform: translateX(0) translateY(10%);
    transition-delay: 0.6s;
}

.animate .floating-image-2 {
    z-index: 2;
    margin-left: -10px;
    margin-right: -30px;
    opacity: 1;
    transform: translateX(0) translateY(10%);
    transition-delay: 0.4s;
}

.animate .floating-image-3 {
    z-index: 1;
    margin-left: 10px;
    margin-right: -10px;
    opacity: 1;
    transform: translateX(0) translateY(10%);
    transition-delay: 0.2s;
}

/* Forzar que las imágenes flotantes estén siempre en la misma línea */
/* Solución simple: Envolver las tres imágenes en un <span> con la clase "keep-images-together" */
.floating-images-wrapper,
.keep-images-together {
    white-space: nowrap;
    display: inline-block;
}

/* En móvil, reducir los márgenes negativos que causan que las imágenes se separen */
@media (max-width: 767px) {
    .floating-image-1 {
        margin-right: 5px;
    }
    
    .floating-image-2 {
        margin-right: -15px !important; /* Reducido de -30px para que no se separe tanto */
    }
    
    .floating-image-3 {
        margin-right: 0;
    }
    
    /* También para las imágenes animadas */
    .animate .floating-image-2 {
        margin-right: -15px !important;
    }
}

/* ========================================
   5. COMPONENTES
   ======================================== */

/* ----- BOTONES ----- */
.elementor-button {
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    border: transparent!important;
    border-radius: 27.4px;
    color: #000000 !important;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    font-weight: 250;
    cursor: pointer;
    width: 100%;
    position: relative;
    overflow: hidden;
}




.no-bg .elementor-button {
    background: transparent !important;
    border: 1px solid #000 !important;
}

/* Botones de mapas: transparente por defecto, gradiente verde en hover/active */
.btn-guinea .elementor-button,
.btn-bissau .elementor-button,
.btn-mauritania .elementor-button,
.btn-ourlocations .elementor-button,
.btn-partnernetwork .elementor-button {
    background: transparent !important;
    border: 1px solid #000 !important;
    color: #000 !important;
    transition: background 0.4s ease, color 0.4s ease, border 0.15s ease;
}

.btn-guinea .elementor-button:hover,
.btn-bissau .elementor-button:hover,
.btn-mauritania .elementor-button:hover,
.btn-ourlocations .elementor-button:hover,
.btn-partnernetwork .elementor-button:hover,
.btn-guinea.active .elementor-button,
.btn-bissau.active .elementor-button,
.btn-mauritania.active .elementor-button,
.btn-ourlocations.active .elementor-button,
.btn-partnernetwork.active .elementor-button,
.active.btn-guinea .elementor-button,
.active.btn-bissau .elementor-button,
.active.btn-mauritania .elementor-button,
.active.btn-ourlocations .elementor-button,
.active.btn-partnernetwork .elementor-button {
    background: linear-gradient(135deg, #23D8AE, #4ECDC4) !important;
    border: 1px solid transparent !important;
    color: #000 !important;
}

.elementor-button::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #000;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    z-index: 1 !important;
    color: #fff!important;
}

.elementor-button:focus::before,
.elementor-button:hover::before,
.elementor-button:active::before, 
.active .elementor-button::before {
    opacity: 1 !important;
}

.elementor-button:focus,
.elementor-button:hover,
.elementor-button:active,
.active .elementor-button {
    border: transparent!important;
    color: #fff !important;
}

/* Desactivar el hover negro para los botones de mapas */
.btn-guinea .elementor-button::before,
.btn-bissau .elementor-button::before,
.btn-mauritania .elementor-button::before,
.btn-ourlocations .elementor-button::before,
.btn-partnernetwork .elementor-button::before {
    display: none !important;
}

.btn-guinea .elementor-button:hover,
.btn-bissau .elementor-button:hover,
.btn-mauritania .elementor-button:hover,
.btn-ourlocations .elementor-button:hover,
.btn-partnernetwork .elementor-button:hover,
.btn-guinea.active .elementor-button,
.btn-bissau.active .elementor-button,
.btn-mauritania.active .elementor-button,
.btn-ourlocations.active .elementor-button,
.btn-partnernetwork.active .elementor-button,
.active.btn-guinea .elementor-button,
.active.btn-bissau .elementor-button,
.active.btn-mauritania .elementor-button,
.active.btn-ourlocations .elementor-button,
.active.btn-partnernetwork .elementor-button {
    color: #000 !important;
}

.elementor-button span {
    position: relative !important;
    z-index: 2 !important;
}

/* Botón con gradiente verde/turquesa - Clase reutilizable */
.button-gradient,
.button-green,
.job-apply-button,
.see-more-button,
.info_map .whatsapp,
a.whatsapp {
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    border-radius: 50px;
    padding: 7px 32px;
    color: #000;
    font-size: clamp(1.25rem, 0.875rem + 0.625vw, 1.25rem);
    font-weight: 250;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    isolation: isolate;
}

/* Asegurar que el contenido del botón quede por encima del pseudo-elemento */
.button-gradient > *,
.button-green > *,
.job-apply-button > *,
.see-more-button > *,
.info_map .whatsapp > *,
a.whatsapp > * {
    position: relative;
    z-index: 2;
}

/* Pseudo-elemento para la capa negra que se superpone en hover */
.button-gradient::before,
.button-green::before,
.job-apply-button::before,
.see-more-button::before,
.info_map .whatsapp::before,
a.whatsapp::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
    pointer-events: none;
}

.button-gradient:hover,
.button-green:hover,
.job-apply-button:hover,
.see-more-button:hover,
.info_map .whatsapp:hover,
a.whatsapp:hover {
    color: #fff;
}

.wpcf7-form-control.job-apply-button:hover {
    background: #000;
}

.button-gradient:hover::before,
.button-green:hover::before,
.job-apply-button:hover::before,
.see-more-button:hover::before,
.info_map .whatsapp:hover::before,
a.whatsapp:hover::before {
    opacity: 1;
}

/* Ajustar border-radius específico para WhatsApp */
.info_map .whatsapp::before,
a.whatsapp::before {
    border-radius: 25px;
}






.see-more-button .button-loader {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.see-more-button .button-loader svg {
    width: 20px;
    height: 20px;
}

.content-read-button {
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    border-radius: 50px;
    padding: 7px 32px;
    color: #000;
    font-size: clamp(1.25rem, 0.875rem + 0.625vw, 1.25rem);
    font-weight: 250;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: color 0.4s ease;
    isolation: isolate;
}

/* Asegurar que el contenido del botón quede por encima del pseudo-elemento */
.content-read-button > * {
    position: relative;
    z-index: 2;
}

/* Pseudo-elemento para la capa negra que se superpone en hover */
.content-read-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 50px;
    pointer-events: none;
}

.content-read-button:hover {
    color: #fff;
}

.content-read-button:hover::before {
    opacity: 1;
}

/* ----- NAVEGACIÓN ----- */
.elementor-nav-menu > li > a {
    padding: 6px 15px !important;
    display: inline-block;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
    border-radius: 25px;
    position: relative;
    background: transparent;
    overflow: hidden;
    font-size: clamp(0.9rem, 0.85rem + 0.25vw, 1rem);
}

.elementor-nav-menu > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 25px;
    z-index: -1;
}
@media (min-width: 1026px) {
    /* Pastilla en hover/activo para top-level, excluyendo el selector de idioma */
    .elementor-nav-menu > li.current-menu-item > a::before,
    .elementor-nav-menu > li.current-menu-ancestor:not(.pll-parent-menu-item):not(.lang-item) > a::before,
    .elementor-nav-menu > li.current-menu-parent:not(.pll-parent-menu-item):not(.lang-item) > a::before,
    .elementor-nav-menu > li:not(.pll-parent-menu-item):not(.lang-item) > a:hover::before {
        opacity: 1!important;
    }
}
/*

.elementor-nav-menu .current-menu-item > a::before,
.elementor-nav-menu > li > a:hover::before {
    opacity: 1;
}*/

/* Submenu Arrow */
.elementor-nav-menu .sub-arrow {
    display: inline-block;
    vertical-align: middle;
    margin-left: 5px;
}

.elementor-nav-menu .sub-arrow svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.elementor-nav-menu .menu-item-has-children:hover .sub-arrow svg {
    transform: rotate(180deg);
}

/* Submenu Dropdown */
.elementor-nav-menu .sub-menu {
    background: #fff;
    border: 1px solid #23D8AE !important;
    border-radius: 8px;
    padding: 6px 6px 6px 0 !important;
    margin-top: 5px;
    position: relative;
    z-index: 999;
    width: 100% !important;
    max-width: inherit !important;
    min-width: fit-content!important;
}

.elementor-nav-menu .sub-menu .elementor-sub-item {
    text-decoration: none;
    display: block;
    font-weight: 400;
    transition: all 0.2s ease;
    margin: 3px 0;
    padding: 5px;
    font-size: 1rem;
}

.elementor-nav-menu .sub-menu .elementor-sub-item:hover {
    background: none;
    padding: 5px;
    transform: translateX(5px);
    color: #000;
    text-decoration: underline;
}

/* Eliminar fondo del item activo del submenú */
.elementor-sub-item.elementor-item-active, .elementor-nav-menu--dropdown .elementor-item.elementor-item-active {
    background: none !important;
    background-color: transparent !important;
    color: inherit!important;
}

.pll-parent-menu-item .sub-menu {
    min-width: inherit !important;
}

.elementor-nav-menu > li.pll-parent-menu-item > a {
    border: 1px solid #23D8AE;
    padding: 6px 10px !important;
}

.elementor-nav-menu .pll-parent-menu-item .sub-arrow {
    margin-left: 0px;
    padding-left: 6px;
}

/* Mobile Menu Toggle */
.elementor-menu-toggle {
    background: none;
    z-index: 9999;
    border: 1pt solid #23D8AE;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: auto;
}

.elementor-menu-toggle svg {
    padding: .15rem .15rem 0rem;
}

.elementor-menu-toggle:hover {
    background: #23D8AE;
    border-color: #23D8AE;
}

.elementor-menu-toggle:hover i {
    color: #000;
}

.elementor-menu-toggle:not(.elementor-active) {
    background: none;
    border-color: #23D8AE;
}

.elementor-menu-toggle:not(.elementor-active) i {
    color: #23D8AE;
}

/* ----- FORMULARIOS ----- */
.form-wrapper {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    font-size: 20px;
    font-weight: 250;
    line-height: 110%;
}

.form-wrapper h3 {
    font-weight: 350;
}

.form-wrapper a {
    color: #21C3CC;
    text-decoration: underline;
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-col {
    flex: 1;
    max-width: 50%;
}

.form-col input,
.form-col select {
    width: 100%;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 6px 15px;
    font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
    font-weight: 250;
    color: #000;
}

/* Input de archivo oculto */
.form-col input[type="file"] {
    text-indent: -3000px;
    height: 100%;
    border: 0;
}

.file-upload-wrapper .wpcf7-form-control-wrap {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    height: 100%;
}

.file-upload-wrapper {
    position: relative;
    height: 80px;
    border-radius: 12px;
    background: #EFEFEF;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.file-upload-wrapper.has-file {
    background: linear-gradient(135deg, #23D8AE, #21C3CC);
}

.file-icon {
    width: 25%;
    height: 80%;
    background: white;
    border-radius: 4px;
    background-image: url('assets/img/add-cv.svg');
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 16px;
    flex-shrink: 0;
}

.file-upload-wrapper.has-file .file-icon {
    background-image: url('assets/img/added-cv.svg');
}

.file-text {
    flex: 1;
    color: #333;
    font-weight: 350;
    min-width: 0;
    p{margin: 0!important;}
}

.file-text .file-main-text {
  
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 15ch;
}

.file-text .file-sub-text {
    color: #ABABAB;
    font-size: 80%;
}

.has-file .file-text .file-sub-text {
    color: #fff;
}

.elementor-widget-theme-post-content ul{
    list-style: disc!important;   
}

/* Checkbox estilizado */
.form-wrapper input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0; /* Evita que el checkbox se comprima */
    margin-top: 0.25em; /* Centra el checkbox con la primera línea del texto */
}

.form-wrapper input[type="checkbox"]:checked {
    background: #fff;
    border-color: #000;
}

.form-wrapper input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 49%;
    transform: translate(-47%, -48%);
    width: 8px;
    height: 8px;
    background: #23D8AE;
    border-radius: 50%;
}

.wpcf7-list-item {
    display: block;
    margin: 2rem 0px;
}

.wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    flex: 1;
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    line-height: 1.4;
}

/* ========================================
   6. SECCIONES
   ======================================== */

/* ----- HEADER ----- */
header {
    margin: 0rem 0 2rem !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    transition: transform 0.3s ease !important;
}

header.header-hidden {
    transform: translateY(-150%) !important;
}

/* Desactivar header fijo en admin o editor */
body.admin-bar header,
body.elementor-editor-active header {
    position: relative !important;
}

.header_aux {
    background: #fff;
}

.header_aux > .e-con-inner {
    padding: 1rem 0 .5rem 0;
}

/* ----- HERO BANNER ----- */
.hero-text .elementor-button {
    width: 200px;
}

.image-rounded > .e-con-inner,
.image-rounded > .elementor-widget-image,
.aux-height-img img {
    border-radius: 10px;
    overflow: hidden;
}
.image-rounded img {
    border-radius: 10px;
    overflow: hidden;
}

/* Fix específico para imágenes en single posts con contenedor .image-rounded */
.single .image-rounded {
    position: relative;
    width: 100%;
}

.single .image-rounded img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

.aux-height-img{margin-bottom: 4rem;}


/* Parallax */
.parallax-image {
    overflow: hidden;
}

/* Parallax en desktop - más espacio para movimiento */
@media (min-width: 768px) {
    .parallax-image img {
        will-change: transform;
        width: 100%;
        height: calc(100% + 15%) !important; 
        object-fit: cover; 
        margin-top: -10%;
    }
}

/* Parallax en móvil - menos espacio, movimiento más suave */
@media (max-width: 767px) {
    .parallax-image img {
        will-change: transform;
        width: 100%;
        height: calc(100% + 30%) !important; 
        object-fit: cover; 
        margin-top: -15%;
    }
}

/* ----- OFERTAS DE TRABAJO ----- */
.bg-job-offers {
    border-radius: 10px;
    padding: 0.5rem 2rem .5rem 1rem;
}

.job-offers p {
    color: #ffffff;
    font-weight: 300;
    font-size: clamp(2.1875rem, 2rem + 2.5vw, 3.75rem);
    line-height: 1.01;
    letter-spacing: -0.005em;
    padding: 12px 24px;
    display: inline-block;
    margin: 1rem 0 0 0;
    overflow: hidden;
}

.job-offers p .word-job {
    display: inline-block;
    opacity: 0;
    transform: translateX(50px);
}

.elementor-editor-active .job-offers p .word-job {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.job-offers p.animate .word-job {
    animation: wordJobSlideIn 0.7s ease forwards;
}

.job-offers-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 2rem 0;
}

.job-offer-card {
    background: #fff;
    border-radius: 6px;
    padding: 1.8rem 1.5rem;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
}

body:not(.home) .job-offer-card {
    border: 1px solid #23D8AE;
}

body:not(.home) .job-offers-container {
    margin-top: 0;
}

.job-title {
    font-size: clamp(1.5rem, 1.25rem + 1vw, 2.5rem);
    font-weight: 350;
    color: #000;
    line-height: 101%;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.tag-icon-wrapper {
    border: 1px solid #000;
    border-radius: 100%;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tag-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-wrapper {
    border: 1px solid #000;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
    font-weight: 400;
}

.job-description {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem);
    margin:1rem 0 .8rem;
    line-height: 100%;
    letter-spacing: -0.5%;
    font-weight: 250;
}

.job-posted-date {
    font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1.125rem);
    color: #878787;
    line-height: 101%;
    margin-bottom: 2rem;
    font-weight: 350;
}

.job-offers-more {
    margin-top: 1.5rem;
}

/* Job Search Form */
.job-search-form {
    background-color: #EFEFEF;
    padding: 1.5rem;
    border-radius: 8px;
}

.job-search-title {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.1875rem); /* 24px min, 35px max */
    font-weight: 250;
    color: #000;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.job-search-form .search-filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-search-form select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #000;
    border-radius: 25px;
    font-weight: 250;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    background: none;
    letter-spacing: 0%;
    color: #939393;
    appearance: none;
    padding: .5rem 3rem .5rem 1.7rem;
    transition: all 0.3s ease;
    position: relative;
}

.job-search-form select:focus,
.job-search-form select:active {
    outline: none;
    border-color: #23D8AE;
    box-shadow: 0 0 0 2px rgba(35, 216, 174, 0.2);
}

.job-search-form select:focus + .select-arrow,
.job-search-form select:active + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.job-search-form .select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(16px, 1.5rem + 0.5vw, 30px);
    height: clamp(16px, 1.5rem + 0.5vw, 30px);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    transition: transform 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.job-search-form .job-apply-button {
    align-self: flex-start;
}

.home .job-search-form .job-apply-button {
    width: 100%;
}

/* Estilos para select personalizados dentro del formulario de job-search */
.job-search-form .custom-select-wrapper {
    width: 100%;
}

.job-search-form .custom-select {
    border-color: #000 !important;
    background: #fff;
}

.job-search-form .custom-select.open {
    border-color: #000 !important;
    border-radius: 30px 30px 0 0;
}

.job-search-form .custom-select-trigger {
    padding: .75rem 1.5rem;
}

.job-search-form .custom-select-value {
    color: #939393 !important;
}

.job-search-form .custom-select-arrow svg {
    width: 24px;
    height: 24px;
}

.job-search-form .custom-select.open .custom-select-arrow svg {
    transform: rotate(180deg);
}

.job-search-form .custom-select-options {
    position: absolute;
    top: 100%;
    left: -.5pt;
    right: -.5pt;
    background: #fff;
    border: 1px solid #000;
    border-top: none;
    border-radius: 0 0 30px 30px;
    margin-top: -1px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
    display: none !important;
    padding: 0;
}

.job-search-form .custom-select.open .custom-select-options {
    display: block !important;
}

.job-search-form .custom-select-option {
    padding: 12px 1.5rem;
    cursor: pointer;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    color: #1C1B1F;
    background: #fff;
}

.job-search-form .custom-select-option:hover {
    background: #f8f9fa;
}

.job-search-form .custom-select-option.selected {
    background: #23D8AE;
    color: #fff;
}

.image-mobile img{
    border-radius: 5px;
}

/* ----- REVIEWS ----- */
.reviews-slider-navigation {
    display: none;
}

.section-reviews > .e-con-inner {
    padding: 2rem;
    position: relative;
    background: #fff;
    border-radius: 10px;
}

.section-reviews > .e-con-inner::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg, #21C3CC, #23D8AE);
    border-radius: 10px;
    z-index: -1;
}

.reviews-container {
    display: grid;
    grid-template-columns: 35% 65%;
}

.reviews-list {
    display: grid;
    flex-direction: column;
    gap: 10px;
    height: 450px;
    overflow-y: auto;
    padding-right: 10px;
    
}

.review-item {
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background-color: #efefef;
    border-radius: 8px;
    display: flex; 
    gap: 14px;
    position: relative;
    overflow: hidden;
    padding: 6px;
    height: 105px;
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(35, 216, 174, 0.15);
    border-color: #23D8AE;
}

.review-item.active {
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    color: #000;
    border-color: #23D8AE;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(35, 216, 174, 0.25);
}

.review-photo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-photo img {
    width: 95px;
    height: 95px;
    border-radius: 5px;
    object-fit: cover;
    transition: all 0.3s ease;
}

.review-item:hover .review-photo img {
    transform: scale(1.05);
}

.review-info {
    position: relative;
    z-index: 1;
    flex: 1;
}

.review-info h3 {
    font-size: clamp(1.4rem, 1.2rem + 1vw, 1.6rem);
    font-weight: 500;
    margin: 5px 0 0px 0;
    color: #000;
    transition: color 0.3s ease;
}

.review-item:hover .review-info h3 {
    color: #000;
}

.review-position {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    margin: 0;
    font-weight: 400;
    transition: color 0.3s ease;
}

.review-item:hover .review-position {
    color: #333;
}

.review-item.active .review-position {
    color: #000;
    font-weight: 500;
}

/* Review Profile Detail */
.review-profile-detail {
    background: #ffffff;
    border: 1px solid #000;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    transition: all 0.4s ease;
}

.review-profile-detail:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.profile-content {
    display: none;
    animation: fadeInUp 0.6s ease forwards;
}

.profile-content.active {
    display: flex;
    gap: 30px;
    align-items: stretch;
    height: 100%;
}

.profile-content.loading {
    opacity: 0.6;
    pointer-events: none;
}

.profile-content.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #23D8AE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.profile-main-photo {
    flex: 0 0 auto;
    width: 45%;
    align-self: stretch;
    border-radius: 5px;
    overflow: hidden;
}

.profile-main-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.desktop-testimonial {
    margin-top: 20px;
}

.mobile-testimonial {
    display: none;
}

.profile-details h2 {
    font-size: clamp(2rem, 1.8rem + 1vw, 2.5rem);
    font-weight: 450;
    margin: 0 0 10px 0;
    color: #000;
}

.profile-role {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
    font-weight: 350;
    margin: 0 0 10px 0;
    line-height: 1.1;
}

.profile-role .position {
    color: #00BCD4;
    font-weight: 350;
}

.profile-role .company {
    color: #00BCD4;
    font-weight: 500;
}

.profile-testimonial {
    font-size: clamp(1.1rem, 1rem + 0.5vw, 1.5625rem);
    line-height: 110%;
    letter-spacing: -0.5%;
    font-weight: 250;
    margin-top: 10px;
    padding: 0;
}

/* Reviews List Animation */
.reviews-list .review-item {
    transition: opacity 0.8s ease, transform 0.8s ease;
    opacity: 0;
    transform: translateY(50px);
}

.elementor-editor-active .reviews-list .review-item {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reviews-list.animate .review-item {
    opacity: 1;
    transform: translateY(0);
}

/* Delay progresivo para los review-items */
.reviews-list.animate .review-item:nth-child(1) { transition-delay: 0.2s; }
.reviews-list.animate .review-item:nth-child(2) { transition-delay: 0.4s; }
.reviews-list.animate .review-item:nth-child(3) { transition-delay: 0.6s; }
.reviews-list.animate .review-item:nth-child(4) { transition-delay: 0.8s; }
.reviews-list.animate .review-item:nth-child(5) { transition-delay: 1.0s; }
.reviews-list.animate .review-item:nth-child(6) { transition-delay: 1.2s; }
.reviews-list.animate .review-item:nth-child(7) { transition-delay: 1.4s; }
.reviews-list.animate .review-item:nth-child(8) { transition-delay: 1.6s; }

/* Logos Animation */
.logos .elementor-widget {
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}

.elementor-editor-active .logos .elementor-widget {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
}

.logos.animate .elementor-widget {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.logos img{
    height: 50px;
    width: inherit;
}

/* Delay progresivo para los logos */
.logos.animate .elementor-widget:nth-child(1) { transition-delay: 0.1s; }
.logos.animate .elementor-widget:nth-child(2) { transition-delay: 0.2s; }
.logos.animate .elementor-widget:nth-child(3) { transition-delay: 0.3s; }
.logos.animate .elementor-widget:nth-child(4) { transition-delay: 0.4s; }
.logos.animate .elementor-widget:nth-child(5) { transition-delay: 0.5s; }
.logos.animate .elementor-widget:nth-child(6) { transition-delay: 0.6s; }
.logos.animate .elementor-widget:nth-child(7) { transition-delay: 0.7s; }
.logos.animate .elementor-widget:nth-child(8) { transition-delay: 0.8s; }
.logos.animate .elementor-widget:nth-child(9) { transition-delay: 0.9s; }
.logos.animate .elementor-widget:nth-child(10) { transition-delay: 1.0s; }
.logos.animate .elementor-widget:nth-child(11) { transition-delay: 1.1s; }
.logos.animate .elementor-widget:nth-child(12) { transition-delay: 1.2s; }

/* ----- FOOTER ----- */
footer {    
    margin-bottom: 10px;
}

.footer-main-container {
    background: linear-gradient(317.75deg, #21C3CC 1.72%, #23D8AE 98.28%);
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    font-weight: 350;
}

.footer-title p {
    font-size: clamp(1.0rem, 1.5rem + 1.5vw, 2.8125rem);
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.footer-title a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-title a:hover {
    text-decoration: underline;
}

.footer-header .footer-title a:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-links p,
.footer-links {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    color: #fff;
    margin: 0;
    line-height: 39px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright {
    font-size: clamp(0.8rem, 0.75rem + 0.375vw, 0.9375rem);
    color: #000;
}

.copyright a {
    color: #000;
    text-decoration: none;
    margin-left: 7rem;
}

.copyright a:first-child {
    margin-left: 0;
}

.copyright a:hover {
    text-decoration: underline;
}

.footer-header {
    position: relative;
}

.footer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #ffffff, transparent);
    transition: opacity 0.3s ease;
}

/* ========================================
   7. PÁGINAS ESPECÍFICAS
   ======================================== */

/* ----- SINGLE POST ----- */
.single .elementor-location-single {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    line-height: 115%;
    margin-bottom: 2rem;
}

/* Margen superior solo en móvil */
@media (max-width: 767px) {
    .single .elementor-location-single {
        margin-top: 5rem;
    }
}

.single h1 {
    font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
    position: relative;
    padding-bottom: 2.3rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem;
}

.single h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #23D8AE 50%, transparent);
}

.single h2 {
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2.1875rem);
    font-weight: 350;
    letter-spacing: -0.005em;
    line-height: 101%;
    margin-bottom: 1.75rem;
}

.single .elementor-location-single p {
    margin-bottom: 1.75rem;
    
}

.single .form-wrapper, .border-form {
    border: 1px solid #23D8AE;
}

.single .elementor-location-single ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.single .elementor-location-single ul li {
    position: relative;
    margin-bottom: 0.5rem;
}

.single .elementor-location-single ul a {
    color: #21C3CC;
    text-decoration: underline;
}

/* ----- PÁGINAS LEGALES (Privacy Policy, Cookies, Terms of Use) ----- */

.legal-page {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    line-height: 115%;
    margin-bottom: 3rem;

}

.legal-page h1 {
    font-size: clamp(1.5rem, 16px + 2.5vw, 60px);
    position: relative;
    padding-top: 2.3rem;
    font-weight: 350;
    margin-bottom: 1rem;
}

.legal-page .update-date::after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #23D8AE 30%, transparent);
}

@media (max-width: 768px) {
    .legal-page .update-date::after {
        left: 0;
    }
}

.legal-page h2 {
    font-size: clamp(1.5rem, 1rem + 1.5vw, 35px);
    font-weight: 350;
    margin-top: 2.5rem;
}


.intro-legal{
    font-size: clamp(1.5rem, 1rem + 1.5vw, 35px);
    line-height: 101%;
}

.legal-page p {
    margin-bottom: 1.75rem;
}

.legal-page .update-date {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.75rem;
    font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);

    font-weight: 350;
    width: 100%;
}

.legal-page ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.75rem;
}

.legal-page ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.legal-page a {
    color: #21C3CC;
    text-decoration: underline;
}

.legal-page a:hover {
    text-decoration: none;
}

/* ----- SERVICIOS ----- */
.service-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 6px;
    padding: 2.2rem 1.8rem 1.5rem;
    transition: all 0.4s ease, opacity 0.6s ease, transform 0.6s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    border: 1px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition-delay: 0s !important;
}

.service-card h2 {
    font-size: clamp(1.5rem, 1.30rem + 1vw, 2.5rem);
    font-weight: 350;
    margin: 1.5rem 0 0.7rem;
}

.service-card p {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.25rem); 
    line-height: 100%;
    letter-spacing: -0.5%;
    margin-bottom: 1.5rem;
    font-weight: 250;
}

.learn-more {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.learn-more span {
    font-size: clamp(1rem, 0.875rem + 0.5vw, 1.125rem);
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.animated-text span {
    transition: transform 0.8s cubic-bezier(1, 0, 0.25, 0.995);
}

.animated-text span::before {
    content: attr(data-text);
    display: block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, calc(-50% + 5rem));
    z-index: 2;
    white-space: nowrap;
    color: #000;
    font-size: inherit;
    font-weight: inherit;
}

.service-card:hover .animated-text span {
    transform: translateY(-5rem);
    transition-timing-function: cubic-bezier(1, 0, 0.25, 0.995);
}

.learn-more::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #000;
    transition: width 0.6s ease;
    z-index: 1;
}

.service-card:hover .learn-more::before {
    width: 100%;
}

.learn-more::after {
    content: "⟶";
    margin-left: 6px;
    font-size: 0.8em;
    letter-spacing: 2px;
    transition: all 0.4s ease;
    display: inline-block;
    transform: translateX(-30px);
    opacity: 0;
}

.elementor-editor-active .learn-more::after {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.scroll-trigger.animate .learn-more::after {
    transform: translateX(0);
    opacity: 1;
    transition-delay: 0.8s;
}

/* Service Cards Animation */
.elementor-editor-active .service-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Delay progresivo para las cards */
.service-card:nth-child(1) { transition-delay: 0.1s; }
.service-card:nth-child(2) { transition-delay: 0.2s; }
.service-card:nth-child(3) { transition-delay: 0.3s; }
.service-card:nth-child(4) { transition-delay: 0.4s; }
.service-card:nth-child(5) { transition-delay: 0.5s; }
.service-card:nth-child(6) { transition-delay: 0.6s; }

.services-col-aux > div {
    padding: 0;
}

.services-col-aux p {
    margin: 0;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    line-height: 100%;
}

.services-col-aux.service-innermetrix p {
    font-size: clamp(1.25rem, 1.25rem + 0vw, 1.25rem);
}


.services-aux img{
    width: 30px;
}

/* Service Page Columns - Solo en escritorio */
@media (min-width: 769px) {
    .services-aux img{
        width: 50px;
    }
    .services-col-aux > .e-con:first-child {
        border-right: 2px solid #000;
        padding-right: 1.5rem;
    }

    .services-col-aux > .e-con:nth-child(2) {
        padding-left: 2rem;
    }

    .services-col-aux.service-innermetrix > .e-con{
        line-height: 101%
    }

    .services-col-aux.service-innermetrix > .e-con:first-child {
        padding-right: 1rem;
    }

    .services-col-aux.service-innermetrix > .e-con:nth-child(2) {
        padding-left: 0.5rem;
        padding-right: 1rem;
        border-right: 2px solid #000;
    }

    .services-col-aux.service-innermetrix > .e-con:nth-child(3) {
        padding-left: 0.5rem;
    }
}

/* ----- TRAINING ----- */

.bg-trainning{
    border-radius: 10px;
    padding: 1.5rem;
}
.bg-training-list{
    border-radius: 5px;
    padding: 1.5rem 2rem 1.5rem;
}

.training-card {
    background-color: #EFEFEF;
    padding: clamp(1.25rem, 1.25rem + 0.5vw, 1.5625rem);
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);    
    letter-spacing: -0.005em;
    border-radius: 10px;
    /* Animación de aparición progresiva */
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.linked a{
    color: #21C3CC;
    text-decoration: underline;
}

/* Mostrar todos los elementos con animaciones en el editor de Elementor */
body.elementor-editor-active .training-card,
body.elementor-editor-active .word,
body.elementor-editor-active .word-h2,
body.elementor-editor-active .floating-image-1,
body.elementor-editor-active .floating-image-2,
body.elementor-editor-active .floating-image-3,
body.elementor-editor-active .content-card,
body.elementor-editor-active .job-offer-card,
body.elementor-editor-active .service-card {
    opacity: 1 !important;
    transform: translateY(0) translateX(0) scale(1) !important;
}

/* Cuando la tarjeta se anima, aparece suavemente */
.training-card.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Delay progresivo para las training-cards */
.training-card:nth-child(1) { transition-delay: 0.1s; }
.training-card:nth-child(2) { transition-delay: 0.3s; }
.training-card:nth-child(3) { transition-delay: 0.5s; }
.training-card:nth-child(4) { transition-delay: 0.7s; }
.training-card:nth-child(5) { transition-delay: 0.9s; }
.training-card:nth-child(6) { transition-delay: 1.1s; }

/* Estilo para el título del icon-box como botón */
.training-card .elementor-icon-box-title span {
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    border-radius: 50px;
    padding: 8px 24px;
    color: #000;
    font-size: clamp(1.5rem, 1.5rem + 1vw, 2.1875rem);
    font-weight: 300;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Hacer que el icono tenga la misma altura que el texto (con padding) */
.training-card .elementor-icon-box-icon {
    display: flex;
    align-items: center;
}

.training-card .elementor-icon-box-icon .elementor-icon {
    display: flex;
    align-items: center;
}

.training-card .elementor-icon-box-icon svg {
    height: clamp(3rem, 3rem + 1.5vw, 4.5rem);
    width: auto;
}



/* ----- CONTENT GRID (BLOG & CANDIDATES) ----- */
.content-grid-container {
    width: 100%;
    padding: 2rem 0;
}
    .single .content-grid-container {
        padding: 0;
    }
/* Barra de búsqueda */
.search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin-bottom: 2rem;
}

.search-input-wrapper .search-input {
    width: 100%;
    padding: 12px 50px 12px 16px;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    background: #EFEFEF;
    color: #878787;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    background: #EFEFEF;
}

.search-input::placeholder {
    color: #878787;
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-40%);
    color: #1C1B1F;
    pointer-events: none;
}

/* Grid de contenidos */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.content-card {
    background: #EFEFEF;
    border-radius: 8px;
    padding: 24px;
    transition: all 0.3s ease;
    border: none;
    opacity: 0;
    transform: translateY(30px);
    text-decoration: none;
    color: inherit;
    display: block;
}

.content-card:hover,
.content-card:focus,
.content-card:visited {
    text-decoration: none;
    color: inherit;
}

.content-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.content-card:hover {
    transform: translateY(-4px);
}

.content-card.animate:hover {
    transform: translateY(-4px);
}

.content-title {
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2.1875rem);
    font-weight: 350;
    letter-spacing: -0.5%;
    margin: 0 0 12px 0;
    line-height: 100%;
}

.content-description {
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content-description p {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    letter-spacing: -0.5%;
    line-height: 100%;
    margin: 0;
}

.content-posted-date {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.125rem);
    font-weight: 350;
    color: #878787;
    margin-bottom: 2rem;
}

.content-image {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    height: 250px;
    width: 100%;
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.candidate-content-card:hover .content-image img {
    transform: scale(1.05);
}

.content-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.content-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.content-tag {
    padding: 6px 23px;
    border-radius: 20px;
    font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
    font-weight: 250;
    letter-spacing: -0.5%;
    border: 1px solid #23D8AE;
}

.content-tag:not(.default-tag) {
    color: #23D8AE;
}

/* Filtros del blog */
.blog-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;    
}

/* Select personalizado */
.custom-select-wrapper {
    position: relative;
    width: 220px;
}

.custom-select {
    position: relative;
    border: 1px solid #23D8AE;
    border-radius: 30px;
    background: #fff;
    padding: .2rem .5rem 0 .5rem;
}

.custom-select.open {
    border-radius: 30px 30px 0 0;
}

.custom-select-trigger {
    padding: 12px 16px;
    border: none;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    color: #1C1B1F;
    border-radius: inherit;
    white-space: nowrap;
}

.custom-select-value {
    flex: 1;
}

.custom-select-arrow {
    display: inline-block;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.custom-select-arrow svg {
    width: 24px;
    height: 24px;
    color: #000;
    transition: transform 0.2s ease;
}

.custom-select.open .custom-select-arrow svg {
    transform: rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: -.5pt;
    right: -.5pt;
    background: #fff;
    border: 1px solid #23D8AE;
    border-top: none;
    border-radius: 0 0 30px 30px;
    margin-top: -1px;
    z-index: 1000;
    display: none;
    padding: 0 .5rem 1rem .5rem;
}

.custom-select.open .custom-select-options {
    display: block;
}

.custom-select-option {
    padding: 12px 16px;
    cursor: pointer;
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem);
    font-weight: 250;
    color: #1C1B1F;
    white-space: nowrap;
}

.custom-select-option:hover {
    background: #f8f9fa;
}

.custom-select-option.selected {
    background: #23D8AE;
    color: #fff;
    font-weight: 350;
}

.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.no-results-message {
    text-align: center;
    padding: 2rem;
    color: #666;
}

/* Post Tags Shortcode */
.post-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}

.post-tag {
    padding: 6px 23px;
    font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
    font-weight: 250;
    letter-spacing: -0.5%;
    border: 1px solid #23D8AE;
    /*color: #23D8AE;*/
    border-radius: 50px;
    display: inline-block;
    white-space: nowrap;
}

/* ----- MARQUESINA VERTICAL ----- */
.vertical-marquee {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: var(--marquee-height, 400px);
    width: 100%;
    padding: 0.8rem 0;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 80px, black calc(100% - 80px), transparent 100%);
}

.vertical-marquee-inner {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    animation: marqueeVertical var(--marquee-speed, 20s) linear infinite;
    will-change: transform;
    margin-right: 2rem;
    margin-bottom: 0.8rem;
}

.vertical-marquee-inner:first-child {
    margin-bottom: 0.8rem;
}

/* Pausar al hacer hover solo en dispositivos con capacidad de hover (desktop) */
@media (hover: hover) {
    .vertical-marquee:hover .vertical-marquee-inner {
        animation-play-state: paused;
    }
}

@keyframes marqueeVertical {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(calc(-100% - 0.8rem));
    }
}

/* Item individual de la marquesina */
.marquee-location-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 25px;
    padding: 0.7rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
    min-height: 50px;
}

/* Hover: fondo negro y letras blancas */
.marquee-location-item:hover {
    background: #000;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.marquee-location-name {
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
    font-weight: 450;
    color: #000;
    transition: color 0.3s ease;
}

.marquee-location-item:hover .marquee-location-name {
    color: #fff;
}

.marquee-location-year {
    font-size: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
    font-weight: 300;
    color: #939393;
    transition: color 0.3s ease;
}

.marquee-location-item:hover .marquee-location-year {
    color: #fff;
}

/* Responsive móvil para marquesina */
@media (max-width: 767px) {
    .vertical-marquee {
        height: 200px;
    }
    
    .vertical-marquee-inner {
        margin-right: 0;
    }
}

/* ----- SECTORES ----- */
.list-sector li.elementor-icon-list-item {
    font-size: clamp(1.25rem, 1rem + 0.5vw, 1.5rem);
    font-weight: 350;
    line-height: 100%;
    letter-spacing: -0.005em;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid #000;
    padding: 1rem 0;
    margin-bottom: 0;
}

.list-sector li.elementor-icon-list-item:last-child {
    border-bottom: none;
}

.list-sector li.elementor-icon-list-item svg {
    width: 41px;
    height: 41px;
}

body:not(.elementor-editor-active) .list-sector li.elementor-icon-list-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body:not(.elementor-editor-active) .list-sector li.elementor-icon-list-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ----- ABOUT US PAGE ----- */

/* Sticky Stacking Effect para Values Sections */

/* Wrapper con altura para crear scroll */
.values-wrapper {
    position: relative;
    height: 300vh;
}

/* Contenedor sticky con Locomotive */
.values-sticky-container {
    position: relative;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    z-index: 100;
    background: #fff;
    z-index: 0;
}


/* Las 3 secciones apiladas con grid */
.values1,
.values2,
.values3 {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease-in-out;
}

/* Centrar el contenido interno verticalmente - un poco arriba del centro */
.values1 > .e-con-inner,
.values2 > .e-con-inner,
.values3 > .e-con-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    flex-direction: column !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transform: translateY(-10%) !important;
}

.values1 {
    z-index: 3;
    opacity: 1;
}

.values2 {
    z-index: 2;
    opacity: 0;
}

.values3 {
    z-index: 10;
    opacity: 0;
}

/* Fix para image-locations en móvil */
@media (max-width: 767px) {
    .image-locations {
        transform: none !important;
    }
}

/* Accordion Section */

/* Estilos para cada item del accordion */
.e-n-accordion-item {
 
    border-bottom: 1px solid #000 !important;
   
    padding: 0 !important;
    margin: 0 !important;
}



/* Título del accordion (header) */
.e-n-accordion-item-title {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 2.5rem 0 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    width: 100% !important;
}


/* Contenedor del texto del título (número + título) */
.e-n-accordion-item-title-header {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    order: 1 !important;
}

/* Texto del título */
.e-n-accordion-item-title-text {
    font-size: clamp(1.5rem, 1rem + 2vw, 2.1875rem) !important;
    font-weight: 300 !important;
    line-height: 1.2 !important;
    color: #000 !important;
}

/* Extraer y estilizar el número del título */
.e-n-accordion-item-title-text::first-line {
    font-size: inherit !important;
    font-weight: 300 !important;
}

/* Contenedor del icono +/- */
.e-n-accordion-item-title-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 1.8125rem !important;
    height: 1.8125rem !important;
    border: 1px solid #000 !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    order: 2 !important;
    position: relative !important;
}

/* Línea horizontal del + (siempre visible) */
.e-n-accordion-item-title-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    width: 80%;
    height: 1px;
    background-color: #fff;
    transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Línea vertical del + (solo cuando está cerrado) */
.e-n-accordion-item-title-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scaleY(1);
    width: 1px;
    height: 80%;
    background-color: #fff;
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Ocultar SVGs por defecto */
.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon span,
.elementor-widget-n-accordion .e-n-accordion-item .e-n-accordion-item-title-icon svg {
    display: none !important;
}

/* Cuando el accordion está CERRADO - Mostrar símbolo + */
.e-n-accordion-item:not([open]) .e-n-accordion-item-title-icon {
    background: #000 !important;
}

/* Las líneas blancas ya están definidas arriba con ::before y ::after */

/* Cuando el accordion está ABIERTO - Mostrar símbolo - */
.e-n-accordion-item[open] .e-n-accordion-item-title-icon {
    background: transparent !important;
}

/* Cambiar línea horizontal a negro cuando está abierto */
.e-n-accordion-item[open] .e-n-accordion-item-title-icon::before {
    background-color: #000 !important;
}

/* Ocultar línea vertical cuando está abierto (solo queda el -) */
.e-n-accordion-item[open] .e-n-accordion-item-title-icon::after {
    transform: translate(-50%, -50%) scaleY(0) !important;
}

/* Efecto hover cuando está ABIERTO */
.e-n-accordion-item[open] .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon {
    background: #000 !important;
}

.e-n-accordion-item[open] .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon::before {
    background-color: #fff !important;
}

/* Efecto hover cuando está CERRADO */
.e-n-accordion-item:not([open]) .e-n-accordion-item-title:hover .e-n-accordion-item-title-icon {
    background: #000 !important;
}

/* Contenido del accordion */
.e-n-accordion-item > div[role="region"] {
    padding: 0 0 2.5rem 0 !important;
    animation: accordionSlideDown 0.4s ease !important;
    border: 0;
}

/* Texto dentro del contenido */
.e-n-accordion-item .elementor-widget-text-editor p {
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem) !important;
    font-weight: 250 !important;
    line-height: 1.5 !important;
    color: #000 !important;
    margin: 0 !important;
    padding-right: 6rem !important;
}



.bg-accordion{
    background: #EFEFEF;
    border-radius: 10px;
    padding: 0 1rem 3rem;
}

/* Values Section */
@media (min-width: 768px) {
    .about-values > .e-con:not(:last-child) {
        border-right: 1px solid #000;
        margin-right: 2rem;
    }
}

/* Values Section - Móvil con scroll horizontal */
@media (max-width: 767px) {
    .about-values {
        /* Activar scroll horizontal */
        overflow-x: auto !important;
        overflow-y: hidden !important;
        /* Evitar que las columnas se apilen */
        flex-wrap: nowrap !important;
        /* Scroll suave */
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        /* Padding para dar espacio al scroll */
        padding-bottom: 1rem;
        /* Ocultar scrollbar en algunos navegadores para estética */
        scrollbar-width: thin;
    }
    
    /* Cada columna hija mantiene su ancho */
    .about-values > .e-con {
        min-width: 75vw;
        max-width: 75vw;
        flex-shrink: 0;
        border-right: 1px solid #000;
        padding-right: 1rem;
        margin-right: .5rem;
    }
    
    /* Última columna sin borde ni margen derecho */
    .about-values > .e-con:last-child {
        border-right: none;
        margin-right: 0;
    }
    
    /* Tamaño de h3 dentro de values en móvil - 20px */
    .about-values h3 {
        font-size: clamp(1.125rem, 1rem + 0.5vw, 1.25rem);
    }
    
    /* Tamaño de texto/párrafo dentro de values en móvil - 16px */
    .about-values p,
    .about-values .elementor-widget-text-editor {
        font-size: clamp(0.875rem, 0.75rem + 0.5vw, 1rem);
    }
    
    /* Imágenes dentro de values al 75% en móvil */
    .about-values img {
        width: 50% !important;
        height: auto !important;
        max-height: 100%;
        margin-bottom: 20px;
    }
}


/* ----- STICKY ELEMENTS CON LOCOMOTIVE SCROLL ----- */
/* Solo funciona en desktop (>= 768px) donde Locomotive está activo */

/* Clase para hacer cualquier elemento sticky con Locomotive Scroll */
.sticky-scroll {
    position: relative;
    align-self: flex-start !important;
}

/* QUITAR TRANSICIÓN - esto evita el efecto chicle */
.sticky-scroll[data-scroll-sticky] {
    transition: none !important;
}

/* En móvil NO activar sticky SOLO para elementos con clase .sticky-scroll */
@media (max-width: 767px) {
    .sticky-scroll[data-scroll-sticky] {
        position: static !important;
    }
}

/* Margin cuando el sticky está activo (solo desktop) */
@media (min-width: 768px) {
    /* Elementos con data-scroll-sticky cuando están pegados */
    [data-scroll-sticky].sticky-scroll.sticky-active {
        margin-top: 2rem;
    }
    
    /* Sin margin cuando no está activo */
    [data-scroll-sticky].sticky-scroll:not(.sticky-active) {
        margin-top: 0;
    }
}


/* Atributo de Locomotive Scroll para elementos sticky */
/* SOLO funciona en desktop - deshabilitado en móvil */
[data-scroll-sticky] {
    position: sticky;
    top: 0;
}

/* Sin transición para evitar rebote */
[data-scroll-sticky] {
    transition: none !important;
}

/* Fix para que la imagen en sticky-scroll respete el ancho de su columna */
.single .sticky-scroll .elementor-widget-image {
    max-width: 100%;
}

.single .sticky-scroll img {
    max-width: 100%;
    height: auto;
}


/* Image Locations Background */
.image-locations {
    position: relative;
    overflow: auto;
    border-radius: 10px;
}

.img-rounded{
    border-radius: 10px;
}

.image-locations .e-con-inner {
    position: relative;
    z-index: 2;
    border-radius: 10px;
}

/* Imagen de fondo directamente en .image-locations */
.image-locations {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Ajuste para imágenes mini en móvil */
@media (max-width: 767px) {
    .image-locations {
        background-position: 50% calc(50% + 8rem)!important;
    }
}

/* ========================================
   8. ANIMACIONES
   ======================================== */

/* Keyframes */
@keyframes wordSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wordH2SlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes wordJobSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes textSlideIn {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(-100%);
        opacity: 0;
    }
    51% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textSlideOut {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(100%);
        opacity: 0;
    }
    51% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textFadeUp {
    0% {
        opacity: 0;
        transform: translateY(80px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Generic Animation Classes */
.reveal-up {
    transition: all 0.6s ease;
    transition-delay: calc(var(--item-index, 0) * 0.2s);
    opacity: 0;
    transform: translateY(30px);
}

.elementor-editor-active .reveal-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.reveal-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transition: all 0.6s ease;
    transition-delay: calc(var(--item-index, 0) * 0.2s);
    opacity: 0;
    transform: translateX(-30px);
}

.elementor-editor-active .reveal-left {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.reveal-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    transition: all 0.6s ease;
    transition-delay: calc(var(--item-index, 0) * 0.2s);
    opacity: 0;
    transform: translateX(30px);
}

.elementor-editor-active .reveal-right {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.reveal-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    transition: all 0.6s ease;
    transition-delay: calc(var(--item-index, 0) * 0.2s);
    opacity: 0;
    transform: scale(0.8);
}

.elementor-editor-active .reveal-scale {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.reveal-scale.animate {
    opacity: 1;
    transform: scale(1);
}

.text-words-vertical {
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.elementor-editor-active .text-words-vertical {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-words-vertical.animate {
    opacity: 1;
    transform: translateY(0);
}

.text-words-vertical .word {
    display: inline-block;
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.elementor-editor-active .text-words-vertical .word {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-words-vertical.animate .word {
    opacity: 1;
    transform: translateY(0);
}

.text-words-horizontal {
    transition: all 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.elementor-editor-active .text-words-horizontal {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-words-horizontal.animate {
    opacity: 1;
    transform: translateY(0);
}

.text-words-horizontal .word-job {
    display: inline-block;
    opacity: 0;
    transform: translateX(50px);
}

.elementor-editor-active .text-words-horizontal .word-job {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

.text-words-horizontal.animate .word-job {
    animation: wordJobSlideIn 0.7s ease forwards;
}

.text-fade-up {
    transition: all 1.2s ease;
    opacity: 0;
    transform: translateY(80px);
}

.elementor-editor-active .text-fade-up {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.text-fade-up.animate {
    opacity: 1;
    transform: translateY(0);
    animation: textFadeUp 1.2s ease forwards;
}

/* ========================================
   9. RESPONSIVE
   ======================================== */

/* Ocultar elementos de idioma individuales en desktop */
@media (min-width: 1026px) {
    .lang-item:not(.pll-parent-menu-item .lang-item) {
        display: none !important;
    }
}



/* ----- TABLET & MOBILE MENU (max-width: 1025px) ----- */
@media (max-width: 1025px) {

    /* Ocultar selector de idiomas padre en móvil */
    .pll-parent-menu-item {
        display: none !important;
    }
    .elementor-nav-menu--dropdown {
        background: linear-gradient(135deg, #23D8AE, #4ECDC4) !important;
        border-radius: 8px !important;
        padding: 10px 0 !important;
        z-index: 9999;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu li {
        border-bottom: none !important;
        position: relative !important;
        margin: 0 15px !important;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu li::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        right: 0;
        height: .5pt;
        background: #fff;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu li:last-child {
        border-bottom: none !important;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu li:last-child::after {
        display: none !important;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu .lang-item::after {
        display: none !important;
    }

    body.menu-open .header_aux > .e-con-inner {
        height: 100vh;
    }

    .header_aux .elementor-nav-menu--dropdown-tablet {
        height: 100%;
    }
    
    .header_aux .elementor-nav-menu--dropdown {
        height: calc(100vh - 85px);
    }
    
    .elementor-nav-menu--dropdown .elementor-nav-menu a {
        font-size: clamp(1rem, 1rem + 1vw, 1.25rem) !important;
        padding: 18px 15px 11px !important;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu a:hover {
        background: none !important;
        text-decoration: underline !important;
    }

    .elementor-nav-menu--dropdown .elementor-nav-menu a.highlighted {
        background: none !important;
    }
    
    .elementor-nav-menu--dropdown .elementor-nav-menu .lang-item {
        display: inline-block !important;
        border-bottom: none !important;
        margin: 0 !important;
    }
    
    .elementor-nav-menu--dropdown .elementor-nav-menu .lang-item a {
        color: #000 !important;
        text-decoration: none !important;
        padding-left: 15px !important;
        margin-left: 15px !important;
        padding-right: 0px !important;
    }

    .elementor-nav-menu .sub-menu {
        padding: 0 0 10px !important;
        margin: -5px 0 0 !important;
        height: inherit !important;
    }

    .elementor-nav-menu .sub-menu li::after {
        display: none !important;
    }

    .elementor-nav-menu .sub-menu a {
        padding: 10px !important;
    }
}

/* ----- MOBILE & TABLET (max-width: 768px) ----- */
@media (max-width: 768px) {
    .section {
        margin: 3rem 0;
    }
    
    .section:first-of-type {
        margin: 0 0 5rem;
    }
    
    .job-search-form {
        margin: 0 10px;
    }

    /* About Us Accordion - Mobile */
    .e-n-accordion-item-title {
        padding: 1.5rem 0 !important;
    }

    .e-n-accordion-item-title-text {
        font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem) !important;
    }

    .e-n-accordion-item-title-icon {
        width: 24px !important;
        height: 24px !important;
        margin-left: auto !important;
    }

    .e-n-accordion-item-title-icon svg {
        width: 16px !important;
        height: 16px !important;
    }

    .e-n-accordion-item .elementor-widget-text-editor p {
        font-size: clamp(0.9rem, 0.85rem + 0.5vw, 1.1rem) !important;
        padding-right: 0 !important;
    }

    .e-n-accordion-item > div[role="region"] {
        padding: 0 0 1.5rem 0 !important;
    }
    
    .form-wrapper {
        border: 1px solid #23D8AE;
        padding: 1.5rem;
        font-size: 1rem;
    }

    .row-half {
        padding-top: 1.5rem;
        font-size: .85rem;
    }
    
    .form-wrapper .form-row:not(.row-half) {
        display: block;
    }

    .form-wrapper .form-row:not(.row-half) .form-col {
        max-width: 100%;
    }

    .form-col label {width: 100%; min-height: 30px}

    .file-icon {
        width: 35%;
        height: 75%;
        background-size: 70%;
        margin-right: 8px;
    }

    .file-text {
        font-size: .8rem;
    }

    .content-grid-container {
        padding: 0rem;
    }
    
    /* Blog filters - Mobile: columna con 100% de ancho */
    .blog-filters {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .custom-select-wrapper {
        width: 100% !important;
    }
    
    .search-input-wrapper {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .content-card {
        padding: 20px;
    }
    
    .content-title {
        font-size: 1.25rem;
    }
    
    .content-card-footer {
       /* flex-direction: column;*/
        gap: 12px;
        align-items: flex-start;
    }
    
    .content-read-button {
        align-self: flex-end;
        font-size: 0.9375rem;
        padding: 7px 15px;
    }

    
}

/* ----- MOBILE (max-width: 767px) ----- */
@media (max-width: 767px) {
    h2 {
        font-size: clamp(1.5rem, 0.5rem + 7.5vw, 2.1875rem);
        line-height: 2.1875rem;
    }

    .hero-text .elementor-button {
        width: 100%;
        font-size: 20px;
    }

    .image-rounded > .elementor-widget-image {
        border-radius: 5px;
        overflow: hidden;
    }

    .elementor-button {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }

    .text-highlight::before {
        background: radial-gradient(ellipse clamp(7rem, 3rem + 1vw, 15rem) clamp(3em, 5rem + 1.5vw, 6rem) at center, rgba(33, 195, 204, 0.8), rgba(33, 195, 204, 0.3), rgba(255, 255, 255, 0));
    }

    /* Versión mini del highlight en móvil - la mitad de tamaño */
    .text-highlight.high-mini::before {
        background: radial-gradient(ellipse clamp(3.5rem, 1.5rem + 0.5vw, 7.5rem) clamp(1.5em, 2rem + 0.75vw, 3rem) at center, rgba(33, 195, 204, 0.8), rgba(33, 195, 204, 0.3), rgba(255, 255, 255, 0));
    }

    .job-offers p {
        color: #000;
        padding-left: 10px;
        margin: 0;
    }

    .bg-job-offers {
        background: none !important;
        padding: 1rem;
    }

    .job-offers-more {
        margin: 2rem .5rem 0;
    }

    .see-more-button {
        border: 1px solid #000;
    }

     /* Cuando el select está abierto, asegurar overflow visible en contenedores padre */
     .e-con:has(.custom-select.open),
     .e-con-inner:has(.custom-select.open) {
         overflow: visible !important;
         z-index: 1;
     }

    /* Deshabilitar fade-up y transiciones en móvil para service cards */
    .service-card {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    .service-card:hover {
        transform: none !important;
        transition: none !important;
    }

    .footer-title p {
        font-size: 1.5625rem; /* 25px */
        line-height: 1.6875rem;
    }

    .footer-links p,
    .footer-links {
        line-height: 155%;
    }

    .copyright {
        padding-top: 4rem;
    }

    .copyright a {
        margin: 0 .3rem !important;
    }

    .footer-header {
        padding-bottom: 2rem;
        margin-bottom: 1rem;
    }


    .elementor-nav-menu--dropdown-tablet {
        position: absolute;
        top: 0;
        right: 0;
    }

    /* Reviews en móvil */
    .reviews-container {
        position: relative;
        display: block;
        margin: 40px 0;
        padding: 0 15px 60px;
    }
    
    .reviews-list {
        display: none;
    }
    
    .review-profile-detail {
        position: relative;
        padding: 30px 20px;
        overflow: hidden;
    }
    
    .profile-content.active {
        display: block !important;
    }
    
    .profile-content.active .profile-main-photo {
        width: 140px;
        height: 150px;
        border-radius: 5px;
        overflow: hidden;
        display: inline-block;
        vertical-align: middle;
        margin-right: 15px;
    }
    
    .profile-content.active .profile-main-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 5px;
    }
    
    .profile-content.active .profile-details {
        display: inline-block;
        vertical-align: bottom;
        width: calc(100% - 155px);
        margin-top: 0 !important;
    }
    
    .profile-content.active .profile-details h2 {
        font-size: 1.4rem !important;
        margin-bottom: 5px !important;
        line-height: 1.2;
    }
    
    .profile-content.active .profile-role {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
    }
    
    .desktop-testimonial {
        display: none !important;
    }
    
    .mobile-testimonial {
        display: block !important;
        width: 100%;
        margin-top: 20px !important;
        font-size: 1rem !important;
        line-height: 1.4;
    }
    
    .section-reviews > .e-con-inner {
        padding: 2rem 0 !important;
    }
    
    .reviews-slider-navigation {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin-top: 30px;
    }
    
    .reviews-slider-arrow {
        width: 50px;
        height: 50px;
        background: white;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        font-size: 16px;
        color: #000;
        font-weight: bold;
    }
    
    .reviews-slider-arrow:hover {
        transform: scale(1.03);
    }
    
    .reviews-slider-arrow.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .reviews-slider-arrow.disabled:hover {
        background: white;
        color: #000;
        transform: none;
    }
    
    .content-tag {
        padding: 6px 10px;
        font-size: clamp(0.75rem, 0.7rem + 0.3vw, 1rem);
    }
    
    .training-card {
        padding: 0.8rem;
        margin-top: 1rem;
    }
    .training-card .elementor-icon-box-icon svg{
        height: clamp(3rem, 1.5rem + 1.5vw, 3rem);
    }
    .training-card .elementor-icon-box-title span {
        font-size: 1.4rem;
        padding: 6px 16px;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .profile-main-photo img {
        width: 100px;
        height: 100px;
    }
    
    .profile-testimonial::before,
    .profile-testimonial::after {
        font-size: 3rem;
    }
    
    .job-offers-container {
        grid-template-columns: 1fr;
        margin-top: 0;
    }

    .job-offer-card {
        border: 1px solid #000;
        margin: 0 10px;
    }
    
    .service-card {
        margin-bottom: 1rem;
    }

    /* Mobile Slider para Service Cards */
    .e-con:has(.services-slider-wrapper) {
        position: relative;
        overflow: hidden;
        padding-bottom: 60px;
    }
    
    .services-slider-wrapper {
        display: flex;
        transition: transform 0.3s ease;
        gap: 10px;
        width: 100%;
        overflow: visible;
        margin-bottom: 30px;
    }
    
    .service-card h2 {
        margin: .5rem 0 1.3rem;
    }

    .service-card.scroll-trigger {
        min-width: 45vw;
        max-width: 45vw;
        flex-shrink: 0;
        margin-bottom: 0;
        opacity: 0.6;
        transform: scale(0.9);
        transition: all 0.3s ease;
        padding: .5rem .5rem .9rem;
        background: #fff;
        border: 1px solid #000;
    }
    
    .service-card.scroll-trigger .elementor-widget-image {
        width: 40%;
        flex-shrink: 0;
        margin: 0;
        border: none !important;
    }
    
    .service-card.scroll-trigger.active {
        opacity: 1;
        transform: scale(1);
        background: linear-gradient(135deg, #23D8AE 0%, #1BC7AA 100%);
        border-color: transparent;
    }
    
    .service-card .elementor-widget-text-editor:not(.learn-more) p {
        display: none;
    }
    
    .service-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: .75rem;
    }
    
    .service-card .learn-more {
        margin: 0;
        align-self: flex-start;
    }

    .service-card.scroll-trigger .learn-more::before {
        width: 100%;
    }
    
    .slider-navigation {
        display: flex;
        justify-content: center;
        gap: 50px;
        margin-top: 60px;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }
    
    .slider-arrow img {
        width: 100%;
        height: 100%;
        transition: transform 0.3s ease;
    }
    
    .slider-arrow:hover img {
        transform: scale(1.03);
    }
    
    .slider-arrow.disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }
    
    .slider-arrow.disabled:hover img {
        transform: none;
    }
}

/* ----- MOBILE SMALL (max-width: 480px) ----- */
@media (max-width: 480px) {
    .reviews-container {
        margin: 20px 0;
        padding: 0 10px;
    }
    
    .review-item {
        padding: 15px;
        gap: 12px;
    }
    
    .review-photo img {
        width: 50px;
        height: 50px;
    }
    
    .review-profile-detail {
        padding: 20px 15px;
    }
    
    .profile-main-photo img {
        width: 80px;
        height: 80px;
    }
    
    .profile-details h2 {
        font-size: 1.5rem;
    }
    
    .profile-role {
        font-size: 1rem;
    }
    
    .mobile-testimonial {
        font-size: 0.9rem !important;
    }
    
    .profile-company {
        font-size: 0.9rem;
    }

    .service-card.scroll-trigger {
        min-width: 55vw;
        max-width: 55vw;
    }

    .search-input-wrapper {
        max-width: 100%;
    }
    
    .content-card {
        padding: 16px;
    }
    
    .content-image  {
        height: 150px;
    }
}

/* ----- MOBILE EXTRA SMALL (max-width: 360px) ----- */
@media (max-width: 360px) {
    .profile-content.active .profile-main-photo {
        width: 100%;
        height: 200px;
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .profile-content.active .profile-details {
        width: 100%;
        display: block;
    }

    .form-wrapper .form-row.row-half {
        display: block;
    }

    .form-wrapper .form-row.row-half .form-col {
        max-width: 100%;
    }

    .file-icon {
        background-size: 42%;
    }
}

/* ========================================
   GOOGLE MAPS - Estilos para los mapas
   ======================================== */

#\#map1,
#\#map2, #\#map3 {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
}

/* Ajuste responsive para tablets */
@media (max-width: 1025px) {
    #\#map1,
    #\#map2, #\#map3 {
        height: 350px;
    }
}

/* Ajuste responsive para móviles */
@media (max-width: 768px) {
    #\#map1,
    #\#map2, #\#map3 {
        height: 300px;
        border-radius: 4px;
    }
}


.block-contact{
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 1.5rem;
}

/* Solo en escritorio */
@media (min-width: 769px) {
    .block-contact:first-of-type{
        margin-right: .5rem;
    }
}
/* Estilos para la información del mapa */
.info_map p {
    line-height: 1.6;
    margin-bottom: 10px;
}

.info_map p:last-child {
    margin-bottom: 0;
}

.info_map a {
    color: #21C3CC; /* Color cyan/turquesa para los enlaces */


    text-decoration: underline;
    transition: color 0.3s ease;
    margin-bottom: 10px;
    display: block;
    .block-contact a{
        color: #21C3CC;
        text-decoration: underline;
        transition: color 0.3s ease;
        margin-bottom: 10px;
        display: block;
    }
}


/* Estilos para el botón de WhatsApp */
.info_map .whatsapp,
a.whatsapp {
    padding: 6px 20px;
    border-radius: 25px;
    margin: 10px 0 0;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
}


.info-map-text{
    font-size: clamp(0.95rem, 0.85rem + 0.4vw, 1.125rem);
    color: #939393;
}

/* Fix para los controles de Google Maps */
.gm-style .gm-style-iw-c {
    padding: 0 !important;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
}

/* Asegurar que los mapas tengan el tamaño correcto */
.gm-style img {
    max-width: none;
}

/* ===================================
   ANIMATED TEXT LINE (Línea vertical con texto animado)
   =================================== */

/* Contenedor principal */
.animated-text-line {
    display: flex;
    align-items: stretch; /* Cambiado para que la línea tome toda la altura */
    gap: 1rem;
    position: relative;
    min-height: 80px; /* Altura mínima para que la línea sea visible */
}

/* Línea vertical */
.animated-text-line-bar {
    width: 2px;
    height: 150px; /* Altura completa */
    background: #000;
    flex-shrink: 0;
    transform: scaleY(0); /* Empieza colapsada */
    transform-origin: bottom; /* Crece desde abajo hacia arriba */
    transition: transform 0.6s ease;
}

/* Contenedor del texto */
.animated-text-line-content {
    flex: 1;
    overflow: hidden;
}

/* Texto superior (grande) */
.animated-text-line-title {
    font-size: clamp(1.5rem, 1rem + 1.5vw, 2.1875rem); /* 35px aprox */
    font-weight: 350;
    line-height: 1.2;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease 0.7s, transform 0.6s ease 0.7s; /* Delay para que aparezca DESPUÉS de la línea */
}

/* Texto inferior (pequeño) */
.animated-text-line-subtitle {
    font-size: clamp(1rem, 0.8rem + 0.5vw, 1.25rem); /* 20px aprox */
    font-weight: 350;
    line-height: 1.2;
    margin: 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease 0.9s, transform 0.6s ease 0.9s; /* Delay aún mayor para que aparezca DESPUÉS del título */
}

/* Estado animado */
.animated-text-line.animate .animated-text-line-bar {
    transform: scaleY(1); /* Crece a tamaño completo desde abajo */
}

.animated-text-line.animate .animated-text-line-title {
    opacity: 1;
    transform: translateX(0);
}

.animated-text-line.animate .animated-text-line-subtitle {
    opacity: 1;
    transform: translateX(0);
}

/* Variante: Línea de altura fija */
.animated-text-line.fixed-height {
    min-height: 100px; /* Altura fija personalizable */
}

.animated-text-line.fixed-height .animated-text-line-bar {
    transform: scaleY(0);
}

.animated-text-line.fixed-height.animate .animated-text-line-bar {
    transform: scaleY(1);
}

/* Variante: Color personalizado - COMENTADO TEMPORALMENTE */
/* .animated-text-line.color-turquoise .animated-text-line-bar {
    background: linear-gradient(180deg, #23D8AE, #4ECDC4);
} */

/* Mostrar en el editor de Elementor sin animación */
.elementor-editor-active .animated-text-line .animated-text-line-bar {
    transform: scaleY(1) !important;
}

.elementor-editor-active .animated-text-line .animated-text-line-title,
.elementor-editor-active .animated-text-line .animated-text-line-subtitle {
    opacity: 1 !important;
    transform: translateX(0) !important;
}

/* Responsive */
@media (max-width: 767px) {
    .animated-text-line {
        gap: 0.75rem;
        min-height: 100px; /* Altura mínima mayor en móvil */
    }
    
    .animated-text-line-bar {
        width: 2.5px; /* Un poco más gruesa en móvil también */
    }
}


.country-display-content {
    min-height: 120px;
    display: flex;
    align-items: center;
    position: absolute;
    left: 55%;
    top: 36%;
    z-index: 10;
}

/* Posición específica para Guinea-Bissau */
.country-display-content[data-country="bissau"] {
    left: 50%;
    top: 34%;
}

/* Posición específica para Mauritania */
.country-display-content[data-country="mauritania"] {
    left: 60%;
    top: 35%;
    align-items: flex-end;
}

/* Alinear el contenido del texto en la parte inferior para Mauritania */
.country-display-content[data-country="mauritania"] .animated-text-line-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Alinear el texto al final de la línea */
}

/* Línea invertida para Mauritania (crece de arriba a abajo) */
.country-display-content[data-country="mauritania"] .animated-text-line-bar {
    transform-origin: top; /* Crece desde arriba hacia abajo */
}





/* ===================================
   COUNTRY SELECTOR - About Us Page
   =================================== */

/* Contenedor principal */
.country-selector-container {
    width: 100%;
    position: relative;
}

/* Botones de países (Desktop) */
.country-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.country-btn {
    padding: 0.75rem 1.5rem;
    background: #ffffff;
    border: 1px solid #000;
    border-radius: 50px;
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    font-weight: 250;
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.country-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.country-btn span {
    position: relative;
    z-index: 1;
}

.country-btn:hover::before,
.country-btn.active::before {
    opacity: 1;
}

.country-btn:hover,
.country-btn.active {
    border-color: transparent;
}

/* Contenedor del contenido del país */
.country-content {
    min-height: 150px;
    position: relative;
}

/* Navegación móvil */
.country-mobile-nav {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.country-nav-arrow {
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #000;
}

.country-nav-arrow:hover {
    transform: scale(1.05);
    background: linear-gradient(135deg, #23D8AE, #4ECDC4);
    border-color: transparent;
}

.country-nav-arrow.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.country-nav-arrow img {
    width: 24px;
    height: 24px;
}

/* Responsive - Móvil */
@media (max-width: 767px) {
    /* Ocultar botones en móvil */
    .country-buttons {
        display: none;
    }
    
    /* Mostrar navegación móvil */
    .country-mobile-nav {
        display: flex;
    }
    
    /* Centrar contenido */
    .country-content {
        text-align: left;
        min-height: 120px;
    }
    
    /* Ajustar espaciado */
    .country-selector-container {
        padding: 1rem 0;
    }
}

/* Transición suave del contenido */
.country-content .animated-text-line {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.country-content .animated-text-line:not(.animate) {
    opacity: 0;
    transform: translateY(10px);
}

/* ===================================
   IMAGE ANIMATION (fade suave entre frames)
   =================================== */

/* Contenedor de la animación - tamaño fijo de la imagen más grande */
.video-animation-container {
    position: relative;
    width: 389px;
    height: 392px;
    margin: 0 auto;
    max-width: 100%;
}

/* Todas las imágenes superpuestas y centradas */
.animation-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

/* Frame 1: 277x301 */
.animation-image[data-image-id="1"] {
    width: 277px;
    height: 301px;
}

/* Frame 2: 389x392 */
.animation-image[data-image-id="2"] {
    width: 389px;
    height: 392px;
}

/* Frame 3: 324x327 */
.animation-image[data-image-id="3"] {
    width: 324px;
    height: 327px;
}


/* Imagen activa - solo cambia opacity */
.animation-image.active {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    
    /* Reducir textos dentro de country-display-content en móvil (20% más pequeños) */
    .country-display-content .animated-text-line-title {
        font-size: clamp(1.2rem, 0.8rem + 1.2vw, 1.75rem) !important;
    }
    
    .country-display-content .animated-text-line-subtitle {
        font-size: clamp(0.8rem, 0.64rem + 0.4vw, 1rem) !important;
    }
    
    /* Posición de country-display-content en móvil */
    .country-display-content {
        left: 43%;
        top: 48%;
    }
    
    /* Posición específica para Guinea-Bissau en móvil */
    .country-display-content[data-country="bissau"] {
        left: 35%;
        top: 48%;
    }
    
    /* Posición específica para Mauritania en móvil */
    .country-display-content[data-country="mauritania"] {
        left: 45%;
        top: 52%;
        align-items: flex-end;
    }
}

/* Botón Volver Arriba */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(to right, #23D8AE, #4ECDC4);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top svg {
    width: 22px;
    height: 22px;
    stroke: #000;
    transition: stroke 0.3s ease;
}

#back-to-top:hover {
    background: #000 !important;
    background-image: none !important;
    background-color: #000 !important;
}

#back-to-top:hover svg {
    stroke: #fff;
}

@media (max-width: 767px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    #back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
