/* ===============================
MENU PRINCIPAL - by Josekus
================================ */

/* ===== TRANSICIÓN GLOBAL ===== */
header[data-elementor-type="header"] > div {
    transition: all 0.6s ease !important;
}



/* ===== Estado CON SCROLL - Glassmorphism + Acento ===== */
.header-scrolled header[data-elementor-type="header"] > div {
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(2px) !important;
    -webkit-backdrop-filter: blur(2px) !important;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.4),
        0 -2px 0 rgba(0, 212, 255, 0.3) inset !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.3) !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    width: 100%;
}



/* Logo más pequeño al hacer scroll */
.header-scrolled header .logo {
      width: 100px !important;
      transition: width 0.7s ease !important;
}

/* Botones de iniciar sesión/crear cuenta */
.header-scrolled header .elementor-button {
    background-color: rgba(0, 212, 255, 0.15) !important;
    border: 1px solid rgba(0, 212, 255, 0.4) !important;
    color: #ffffff !important;
}

.header-scrolled header .elementor-button:hover {
    background-color: rgba(0, 212, 255, 0.25) !important;
    border-color: rgba(0, 212, 255, 0.6) !important;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3) !important;
}

@media screen and (max-width:1024px)
{
    .header-scrolled header .elementor-nav-menu__container.elementor-nav-menu--dropdown{
        top: 16px !important;
    }
}


/* ===============================
BLOG LISTING - by Josekus
================================ */
/* Grid básico */
.blog-equal-height .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 20px !important;
}

@media (max-width: 1024px) {
    .blog-equal-height .jet-listing-grid__items {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .blog-equal-height .jet-listing-grid__items {
        grid-template-columns: 1fr !important;
    }
}

/* Todo dentro es flex y altura completa */
.blog-equal-height .jet-listing-grid__item,
.blog-equal-height .jet-listing-grid__item > *,
.blog-equal-height .jet-listing-grid__item > * > * {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: auto !important;
}

/* Resetear alturas mínimas de Elementor */
.blog-equal-height div[data-element_type] {
    min-height: auto !important;
}



/* ===== GRID DE 2 COLUMNAS CON ALTURAS IGUALES ===== */

/* Definir el grid con 2 columnas y altura uniforme */
.blog-2column-equal-height .jet-listing-grid__items {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 20px !important;
    align-items: stretch !important;
}

/* Responsive - 1 columna en tablet y móvil */
@media (max-width: 768px) {
    .blog-2column-equal-height .jet-listing-grid__items {
        grid-template-columns: 1fr !important;
    }
}

/* Cada item del grid */
.blog-2column-equal-height .jet-listing-grid__item {
    display: flex !important;
    height: 100% !important;
}

/* El enlace o div directo hijo */
.blog-2column-equal-height .jet-listing-grid__item > a,
.blog-2column-equal-height .jet-listing-grid__item > div {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: auto !important;
}

/* Resetear alturas mínimas de Elementor */
.blog-2column-equal-height [data-element_type="container"] {
    min-height: auto !important;
    height: auto !important;
}


/* ===== TÍTULOS CON MÁXIMO 3 LÍNEAS ===== */

/* Para los títulos h3 dentro de las tarjetas del blog */
.blog-equal-height .elementor-heading-title,
.blog-2column-equal-height .elementor-heading-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important; /* Ajusta según tu diseño */
}


/* Títulos - 3 líneas */
.blog-equal-height .elementor-heading-title,
.blog-2column-equal-height .elementor-heading-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

/* Descripciones - 3 líneas también */
.blog-equal-height .elementor-text-editor,
.blog-2column-equal-height .elementor-text-editor {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}



/* ===== HOVER PARA TARJETAS DEL BLOG ===== */
/* Estado normal */
.blog-equal-height .jet-listing-grid__item > div > a,
.blog-2column-equal-height .jet-listing-grid__item > div > a {
    background: #F0BB35 !important;
    border: 1px solid black !important;
    transition: all 0.35s ease !important;
     color: #F0BB35 !important;
}

/* Hover - sutil pero impactante */
.blog-equal-height .jet-listing-grid__item > div > a:hover,
.blog-2column-equal-height .jet-listing-grid__item > div > a:hover {
    background: #F0BB35 !important;
    border-color: rgba(0, 212, 255, 0.4) !important;
   color: #F0BB35 !important;
    /*transform: translateY(-3px) !important;*/
}

/* Suavizar el movimiento del contenido interno */
.blog-equal-height .jet-listing-grid__item > div > a *,
.blog-2column-equal-height .jet-listing-grid__item > div > a * {
    transition: all 0.35s ease !important;
}



/* ===== PAGINADOR - ESTILOS BASE ===== */

/* Contenedor con espacio */
.paginador .jet-filters-pagination{
  display:flex; 
  align-items:center; /* centra verticalmente los items */
  gap:15px
}

/* Base del item */
.paginador .jet-filters-pagination__item{
  position:relative; 
  z-index:0; /* faltaba el ; */
  display:grid; 
  place-items:center; /* centra contenido en ambos ejes */
  color:#fff; 
  text-decoration:none; 
  line-height:1;
  width:40px; 
  height:40px;
  text-align:center; /* refuerzo para texto/íconos */
}

/* Rombo con ::before */
.paginador .jet-filters-pagination__item::before{
  content:"";
  position:absolute; 
  inset:0;
  transform: rotate(45deg) scale(0.86);
  background:#FFFFFF1A;    /* fondo */
  z-index:-1;              /* detrás del número */
  pointer-events:none;     /* evita interferir con clics */
  box-sizing:border-box;
}

/* Estado actual con borde dorado */
.jet-filters-pagination__current::before{
  content:"";
  position:absolute; 
  inset:0;
  transform: rotate(45deg) scale(0.86);
  border:3px solid #F0BB35;  /* borde */
  background: transparent;   /* sin relleno */
  z-index:-1;
}

/* Prev / Next sin rombo */
.paginador .jet-filters-pagination__item.prev-next.next::before,
.paginador .jet-filters-pagination__item.prev-next.prev::before{
  content:none  /* elimina el ::before en flechas */
}
.paginador .jet-filters-pagination__item.prev-next.prev{
  width:85px; 
}


/* ===== BOTON CTA ===== */
/* Botón base mejorado */
/* Estado base con brillo constante */
#bigcta {
  background: url('/wp-content/uploads/2025/11/Frame-9.svg') !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  width: 300px;
  aspect-ratio: 35.5 / 10;   
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  animation: breathing 2s ease-in-out infinite !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
}
@media (max-width: 767px) { #bigcta{ width: min(85vw, 240px) !important; } }
@media (max-width: 480px) { #bigcta{ width: min(92vw, 210px) !important; } }

/* Animación de respiración sutil */
/*@keyframes breathing {
    0%, 100% {
        box-shadow: 
            0 0 25px rgba(68, 250, 89, 0.6),
            0 0 50px rgba(68, 250, 89, 0.4),
            0 5px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 15px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 35px rgba(68, 250, 89, 0.8),
            0 0 70px rgba(68, 250, 89, 0.6),
            0 5px 20px rgba(0, 0, 0, 0.3),
            inset 0 1px 15px rgba(255, 255, 255, 0.3);
    }
}*/

@keyframes breathing {
  0%, 100% {
    box-shadow:
      0 0 20px rgba(49,210,200,0.55),  /* #31D2C8 */
      0 0 35px rgba(52,220,190,0.45),  /* #34DCBE */
      0 0 55px rgba(61,252,159,0.35),  /* #3DFC9F */
      0 5px 20px rgba(0,0,0,0.30),
      inset 0 1px 12px rgba(255,255,255,0.30);
  }
  50% {
    box-shadow:
      0 0 28px rgba(49,210,200,0.85),  /* #31D2C8 */
      0 0 55px rgba(52,220,190,0.65),  /* #34DCBE */
      0 0 85px rgba(61,252,159,0.55),  /* #3DFC9F */
      0 5px 20px rgba(0,0,0,0.30),
      inset 0 1px 15px rgba(255,255,255,0.35);
  }
}

/* Hover explosivo */
/*#bigcta:hover {
    background: linear-gradient(135deg, 31D2C8 0%, #34DCBE 40% ,#3DFC9F 100%) !important;
    border-color: #70FF86 !important;
    box-shadow: 
        0 0 40px rgba(68, 250, 89, 1),
        0 0 80px rgba(68, 250, 89, 0.8),
        0 0 120px rgba(68, 250, 89, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 30px rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-8px) scale(1.05) !important;
    filter: brightness(1.3) saturate(1.2) !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 1) !important;
    animation: none !important;

}*/

#bigcta:hover{
  /*background: linear-gradient(135deg, #31D2C8 0%, #34DCBE 40%, #3DFC9F 100%) !important;*/
  border-color: #3DFC9F !important; /* puedes cambiarlo a #31D2C8 o #34DCBE si prefieres */

  /* Glow en capas usando tus tres tonos */
  box-shadow:
    0 0 40px rgba(49, 210, 200, 1),   /* #31D2C8 */
    0 0 80px rgba(52, 220, 190, 0.85),/* #34DCBE */
    0 0 120px rgba(61, 252, 159, 0.7),/* #3DFC9F */
    0 10px 40px rgba(0, 0, 0, 0.4),
    inset 0 0 30px rgba(255, 255, 255, 0.5) !important;

  transform: translateY(-8px) scale(1.05) !important;
  filter: brightness(1.3) saturate(1.2) !important;
  text-shadow: 0 0 20px rgba(255, 255, 255, 1) !important;
  animation: none !important;
}


/* Icono animado en hover */
#bigcta:hover svg {
    animation: shake 0.5s ease-in-out !important;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8)) !important;
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

/*MENU*/
.gt-lang-code{
    font-size:24px !important;
}


/*BODY FIX*/
  body {
    background-attachment: unset !important;
  }
  
  ul.uc-breadcrumbs-list.default {
    display: none !important;
}



/* ===== BLOG CONTAINER ===== 
.blogcontainer h1,
.blogcontainer h2,
.blogcontainer h3,
.blogcontainer h4,
.blogcontainer h5{
    color:white !important;
}*/