/*
Theme Name: arx
Theme URI: http://tusitio.com/arx
Author: Tu Nombre
Author URI: http://tusitio.com
Description: Tema básico y funcional para WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, responsive, personalizado
Text Domain: arx
*/

/* Estilos básicos */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    /* width: 70%; */
    max-width: 1329px;
    margin: 0 auto;
}


@media (max-width: 1024px) {
.container {
    /* width: 70%; */
    max-width: 1329px;
    margin: 0 auto;
}
}

/* 
 * Añade esto al archivo style.css de tu tema WordPress
 * Las fuentes deben estar en: /wp-content/themes/tunombretheme/assets/fonts/
 */

/* Fuente Bebas Neue - Regular */
@font-face {
  font-family: 'Bebas Neue';
  src: url('assets/fonts/BebasNeue-Regular.woff2') format('woff2'),
       url('assets/fonts/BebasNeue-Regular.woff') format('woff');
  font-weight: 400; /* Regular */
  font-style: normal;
  font-display: swap; /* Opcional: mejora el renderizado */
}

/* Fuente Century Gothic - Regular */
@font-face {
  font-family: 'Century Gothic';
  src: url('assets/fonts/centurygothic.woff2') format('woff2'),
       url('assets/fonts/centurygothic.woff') format('woff');
  font-weight: 400; /* Regular */
  font-style: normal;
  font-display: swap;
}

/* Fuente Century Gothic - Bold */
@font-face {
  font-family: 'Century Gothic';
  src: url('assets/fonts/centurygothic_bold.woff2') format('woff2'),
       url('assets/fonts/centurygothic_bold.woff') format('woff');
  font-weight: 700; /* Bold */
  font-style: normal;
  font-display: swap;
}

/* Ejemplo de cómo aplicar las fuentes */
body {
  font-family: 'Century Gothic', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-weight: 400; /* Bebas Neue solo tiene regular */
}

.bold-text {
  font-family: 'Century Gothic', Arial, sans-serif;
  font-weight: 700; /* Usará la versión bold */
}

::placeholder {
      font-family: 'Century Gothic', Arial, sans-serif;
}

 
/*Slider hero*/

.slider-imagenes-post-container {
    max-width: 740px; /* o el máximo que prefieras */
    margin: 0 auto;
    padding: 0 0px; /* espacio a los lados en móviles */
}

.slider-imagenes-post {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #f0f0f0; /* color de fondo mientras carga */
}

.slider-img {
    position: absolute;
    top: 0;
    left: 0;
    max-width: 100%;
    height: auto;
    
    transition: opacity 1s ease;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .slider-imagenes-post-container {
        padding: 0 10px;
    }
}



/*estilos footer con newsletter*/
.site-footer {
    background-color: #f5f5f5;
    padding: 40px 17px;
    color: #333;
}

.footer-logo-container {
    width: 100%;
    display: block;
    margin-bottom: 40px;
    padding: 0 10px;
}

.footer-logo {
    height: auto;
    max-width: 200px;
}

.footer-columns {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 20px;
}

.footer-column {
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Nuevas clases de proporciones */
.footer-column-small {
    flex: 1;
    min-width: 150px;
}

.footer-column-large {
    flex: 2;
    min-width: 250px;
}

.footer-heading {
    display: block;
    margin-bottom: 15px;
    font-size: 25px !important;
    color: #292929;
    line-height: 0.9;
}

.footer-column-contact .footer-heading,
.footer-column-social .footer-heading {
    font-size: 18px !important;
    font-weight: bold;
}

.footer-column p {
    margin: 10px 0;
    line-height: 1.5;
}

/* Redes sociales */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 20px;
}

.social-links a {
    display: block;
}

.social-icon {
    width: 30px;
    height: 30px;
    filter: brightness(0);
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: translateY(-3px);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
}

.newsletter-input-group {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.newsletter-input-group input {
    flex: 1;
    padding: 10px 7px;
    background: white;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
}

.newsletter-input-group input:focus {
    border-color: #292929;
}

.newsletter-input-group button {
    background-color: #292929;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.newsletter-input-group button:hover {
    background-color: #333;
}

.newsletter-checkbox {
    display: flex;
    align-items: center;
    font-size: 12px;
    gap: 5px;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.newsletter-checkbox input[type="checkbox"] {
    appearance: none;
    width: 15px;
    height: 15px;
    border: 1px solid #7e7e7e;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.newsletter-checkbox input[type="checkbox"]:checked {
    background-color: #292929;
    border-color: #292929;
}

.newsletter-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    font-size: 14px;
    gap: 10px;
}

.footer-bottom-left a {
    margin-right: 15px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

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

.footer-bottom-right {
    text-align: right;
}

/* Responsive */
/* Tablet: 2 columns layout */
@media (max-width: 1024px) and (min-width: 768px) {
    .footer-columns {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .footer-column-contact {
        flex: 1 1 48%;
        min-width: 48%;
    }

    .footer-column-social {
        flex: 1 1 48%;
        min-width: 48%;
    }

    .footer-column-newsletter {
        flex: 1 1 100%;
        min-width: 100%;
        order: 3;
    }
}

@media (max-width: 900px) {
    .footer-column {
        flex: 50% !important;
    }
}

@media (max-width: 767px) {
    .footer-columns {
        display: flex;
        flex-direction: column;
    }
    
    /* Reordenamos las columnas para móvil */
    .footer-column:nth-child(1) { /* Contacto */
        order: 1;
    }
    
    .footer-column:nth-child(4) { /* ¿Hablamos? */
        order: 2;
    }
    
    .footer-column:nth-child(3) { /* Newsletter */
        order: 3;
    }
    
    .footer-column:nth-child(2) { /* Síguenos */
        order: 4;
    }
    
    .footer-column {
        flex: 100% !important;
        padding-bottom:3px;
    }

    .footer-logo {
        max-width: 150px;
    }

    .newsletter-input-group button {
        padding: 0 15px;
        min-width: 70px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px;
    }

    .footer-bottom-right {
        text-align: left;
        width: 100%;
        margin-top: 10px;
    }
}

/*cf7*/

.custom-cf7-form {
    width: 100%;
    display: flex;
    flex-direction: column;
 
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 3%;
}

.form-field {
    flex: 1 1 48%;
    box-sizing: border-box;
}

.full-width {
    flex: 1 1 100%;
}




/*Filtro proyectos*/

/* Estilos generales del filtro */
.proyectos-filtro-mejorado-container {
    margin: 0 auto;
    padding: 20px;
  
    max-width: 1600px;
}

.proyectos-filtro-mejorado-bar {
background: #F4F4F4;
    padding: 15px;
    border-radius: 8px;
    max-width: 1000px;
    margin: 0px auto 90px auto;
}

.proyectos-filtro-mejorado-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 62px;
}

@media (max-width: 511px) {

   .proyectos-filtro-mejorado-list {
      
       gap: 10px;
   }

}


@media (max-width: 1000px) {
.proyectos-filtro-mejorado-bar {
 
    margin: 0px auto 47px auto;
}
}

.proyectos-filtro-mejorado-item {
    margin: 0;
}

.proyectos-filtro-mejorado-link {
    display: block;
    padding: 8px 15px;
 
    color: #292929;
    text-decoration: none;
   
    transition: all 0.3s ease;
}

.proyectos-filtro-mejorado-link:hover,
.proyectos-filtro-mejorado-link.active {
    background: none;
    color: #ffc000;
    font-weight: bold;
}

.proyectos-count {
    font-size: 0.9em;
    opacity: 0.7;
}

/* Estilos para los grupos de proyectos */
.grupo-proyectos {
    margin-bottom: 40px;
}

.grupo-proyectos h3 {
    margin-bottom: 10px;
    padding-bottom: 10px;
 font-family: 'Century Gothic';
 font-size: 22px;
}

/* Estilos para los diseños de grid */
.proyectos-mejorado-grid {
    display: grid;
    gap: 20px;
}

/* Diseño 1 - Primer proyecto ancho completo, resto en 2 columnas */
.proyectos-diseno-diseno1 {
    grid-template-columns: 1fr;
}

.proyectos-diseno-diseno1 .proyecto-destacado {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .proyectos-diseno-diseno1 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .proyectos-diseno-diseno1 .proyecto-destacado {
        grid-column: 1 / -1;
    }
}

/* Diseño 2 - Grid de 3 columnas (versión optimizada) */
.proyectos-diseno-diseno2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas para móvil */
    gap: 15px;
}

@media (min-width: 768px) {
    .proyectos-diseno-diseno2 {
        gap: 20px; /* Espaciado mayor para tablets */
    }
}

@media (min-width: 1024px) {
    .proyectos-diseno-diseno2 {
        grid-template-columns: repeat(3, 1fr); /* 3 columnas para desktop */
    }
}

/* Estilos de los items de proyecto */
.proyecto-mejorado-item {
    background: #fff;
  
    overflow: hidden;
 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proyecto-mejorado-item:hover {
   
    
}

.proyecto-imagen {
    height: 200px;
    overflow: hidden;
}

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

.proyecto-mejorado-item:hover .proyecto-imagen img {
    
}

.proyecto-titulo {
    margin: 0;
    padding: 15px;
    font-size: 1.1em;
    font-family: 'Century Gothic';
}

.proyecto-titulo a {
    color: #333;
    text-decoration: none;
}

.proyecto-titulo a:hover {
    color: #0073aa;
}

.proyectos-loading {
    text-align: center;
    padding: 30px;
    font-size: 1.2em;
}


/* Estilos para los ajustes del admin */
.proyectos-filtro-settings .form-table th {
    width: 200px;
}

.proyectos-filtro-settings .form-table td {
    padding: 15px 10px;
}

.proyectos-filtro-settings .checkbox-primero {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.proyectos-filtro-settings .checkbox-primero label {
    font-weight: bold;
    color: #2271b1;
}

/* Contenedor de la imagen */
.proyecto-imagen-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.proyecto-imagen-container img {
    width: 100%;
    height: auto;
    display: block;
     
}

.proyecto-mejorado-item:hover .proyecto-imagen-container img {
    
}

/* Contenedor del contenido */
.proyecto-contenido {
  
    background: #fff;
    border-radius: 0 0 8px 8px;
}

.proyecto-titulo {
    margin: 0;
    font-size: 1.1em;
    line-height: 1.3;
}

.proyecto-titulo a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.proyecto-titulo a:hover {
    color: #0073aa;
}

/* Ajustes para el proyecto destacado */
.proyecto-destacado .proyecto-imagen-container {
    border-radius: 8px;
}

.proyecto-destacado .proyecto-contenido {
 
}

/* Placeholder para imágenes faltantes */
.proyecto-imagen-placeholder {
    width: 100%;
    height: 200px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Responsividad */
@media (max-width: 767px) {

.proyectos-filtro-mejorado-link {
    display: block;
    padding: 8px 3px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .proyecto-imagen-container {
        border-radius: 6;
    }
    
    .proyecto-contenido {
        
    }
    
    .proyecto-destacado .proyecto-imagen-container,
    .proyecto-destacado .proyecto-contenido {
        border-radius: 6px;
    }
}

small {
    font-size: 13px;
    margin-top: -1px;
    position: absolute;
    margin-left: 3px;
}

/* Header sticky */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
}

body.admin-bar .site-header {
    top: 32px;
}

/* Ajuste para contenido principal */
main {
   
}

/* Menú dentro del header */
#mainMenu {
       padding: 10px 20px;
}

/*Proyectos*/

/* Estilos para la navegación entre proyectos */
.proyecto-navegacion {
    margin-top: 33px;
     padding: 19px 40px;
 
    margin-bottom: 40px;
}

.proyecto-navegacion .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.proyecto-navegacion .nav-previous,
.proyecto-navegacion .nav-next {
    flex: 0 0 auto;
}

.proyecto-navegacion .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.proyecto-navegacion .nav-link:hover {
    color: #0073aa;
}

.proyecto-navegacion .nav-arrow {
      width: 41px;
    height: auto;
    display: block;
}

/* Opcional: estilos para cuando solo hay un botón */
.proyecto-navegacion .nav-links:only-child {
    justify-content: center;
}

/* Estilos para enlace activo del menú */
.current-menu-item > a {
    color: #FF8C00 !important;
    font-weight: bold !important;
}

/* Transición para cambio de estado del menú */
#menuItems a,
#mobileMenu a {
    transition: color 0.3s ease, font-weight 0.3s ease;
}

/* Estilos para menú móvil */
#mobileMenu .px-4.py-2 {
    display: flex;
    flex-direction: column;
 
}

#mobileMenu a {
    display: block;
    width: 100%;
    font-size: 1.5rem; /* Tamaño más grande para enlaces */
}

/* Estilos para logos sociales en menú móvil */
#mobileMenu .flex.gap-6 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 1rem 1.5rem;
    margin-bottom: 1rem;
}

#mobileMenu .flex.gap-6 a {
    display: inline-block;
    margin-right: 1.5rem;
}

#mobileMenu .flex.gap-6 a:last-child {
    margin-right: 0;
}

/* Contacto footer responsive */
@media (max-width: 767px) {

    #mainMenu {
    padding: 10px 15px;
}

.custom-cf7-form input[type="checkbox"] {
    appearance: none;
    width: 22px!important;
    height: 16px;
    border: 1px solid #000000;
    border-radius: 50%;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: -3px!important;
}


  .footer-column.footer-column-small .footer-heading {
    font-size: 1rem;
  }
  .footer-column.footer-column-small p {
    display: none;
  }
  .footer-column.footer-column-small .footer-contact-mobile {
    display: block;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-top: 0.5em;
  }
}

@media (min-width: 601px) {
  .footer-column.footer-column-small .footer-contact-mobile {
    display: none;
  }
  .footer-column.footer-column-small p {
    display: block;
  }
}

/* ==========================================================================
   ESTILOS PARA FOOTER REORGANIZADO
   ========================================================================== */

/* Nuevas clases de columnas */
.footer-column-contact {
    flex: 2;
    min-width: 300px;
}

.footer-column-social {
    flex: 1;
    min-width: 150px;
}

.footer-column-newsletter {
    flex: 3;
    min-width: 250px;
}

/* Estructura de contacto en desktop */
.footer-contact-desktop {
    display: none;
}

.footer-contact-desktop .contact-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-desktop .contact-column p {
    margin: 5px 0;
    line-height: 1.5;
}

/* Mostrar versión desktop en pantallas grandes */
@media (min-width: 768px) {
    .footer-contact-desktop {
        display: flex;
        gap: 30px;
    }

    .footer-contact-mobile {
        display: none;
    }
}

/* Ajuste específico para tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .footer-contact-desktop {
        gap: 20px;
    }

    .footer-contact-desktop .contact-column {
        gap: 8px;
    }
}

/* Responsive para móvil */
@media (max-width: 767px) {
    .footer-contact-desktop {
        display: none;
    }
    
    .footer-contact-mobile {
        display: block;
        font-size: 0.85rem;
        line-height: 1.4;
        margin-top: 0.5em;
    }
    
    .footer-columns {
        flex-direction: column;
    }
    
    .footer-column-contact,
    .footer-column-social,
    .footer-column-newsletter {
        flex: 100% !important;
        min-width: auto;
    }
    
    /* Reordenar columnas en móvil */
    .footer-column-contact {
        order: 1;
    }
    
    .footer-column-social {
        order: 2;
    }
    
    .footer-column-newsletter {
        order: 3;
    }
}

/* ==========================================================================
   ESTILOS PARA MENÚ STICKY EN PÁGINA 1123
   ========================================================================== */

/* Estilos específicos para la página 1123 */
.page-id-1123 .site-header {
    transition: all 0.5s ease;
}

/* Estado inicial (transparente) para página 1123 */
.page-id-1123 .site-header {
    background-color: transparent;
}

.page-id-1123 #mainMenu {
    transition: all 0.5s ease;
}

/* Estado sticky para página 1123 */
.page-id-1123 .site-header.sticky-active {
    background-color: #f5f5f5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-id-1123 #mainMenu.sticky-active {
    background-color: transparent;
}

/* Transición suave para los enlaces del menú */
.page-id-1123 #menuItems a {
    transition: color 0.5s ease;
}

/* Estilos para los logos */
.page-id-1123 .logo-normal,
.page-id-1123 .logo-transparent {
    transition: opacity 0.5s ease;
}

/* Estilos base para los enlaces cuando no es sticky */
.page-id-1123 #menuItems a {
    color: white !important;
}

/* Estilos para los enlaces cuando es sticky */
.page-id-1123.sticky-active #menuItems a,
.page-id-1123 .sticky-active #menuItems a {
    color: black !important;
}

/* Hover states para ambos modos */
.page-id-1123 #menuItems a:hover {
    opacity: 0.8;
}

/* Asegurar que las transiciones sean suaves */
.page-id-1123 .site-header,
.page-id-1123 #mainMenu,
.page-id-1123 #menuItems a,
.page-id-1123 .logo-normal,
.page-id-1123 .logo-transparent {
    transition: all 0.5s ease-in-out;
}

/* ========================================
   EFECTOS HOVER PARA IMÁGENES - ELEMENTOR
   ======================================== */

/* Efecto hover: imagen se hace más pequeña */
.arx-hover-scale {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    overflow: hidden;
}

.arx-hover-scale:hover {
    transform: scale(0.95);
}

/* Variantes del efecto con diferentes intensidades */
.arx-hover-scale-light {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    overflow: hidden;
}

.arx-hover-scale-light:hover {
    transform: scale(0.98);
}

.arx-hover-scale-medium {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    overflow: hidden;
}

.arx-hover-scale-medium:hover {
    transform: scale(0.92);
}

.arx-hover-scale-strong {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center center;
    overflow: hidden;
}

.arx-hover-scale-strong:hover {
    transform: scale(0.88);
}

/* Variante con efecto adicional de opacidad */
.arx-hover-scale-fade {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s ease;
    transform-origin: center center;
    overflow: hidden;
}

.arx-hover-scale-fade:hover {
    transform: scale(0.95);
    opacity: 0.9;
}

/* Variante con efecto de sombra */
.arx-hover-scale-shadow {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s ease;
    transform-origin: center center;
    overflow: hidden;
}

.arx-hover-scale-shadow:hover {
    transform: scale(0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Soporte para contenedores de Elementor */
.elementor-widget-image .arx-hover-scale,
.elementor-image .arx-hover-scale,
.elementor-widget-image .arx-hover-scale-light,
.elementor-image .arx-hover-scale-light,
.elementor-widget-image .arx-hover-scale-medium,
.elementor-image .arx-hover-scale-medium,
.elementor-widget-image .arx-hover-scale-strong,
.elementor-image .arx-hover-scale-strong,
.elementor-widget-image .arx-hover-scale-fade,
.elementor-image .arx-hover-scale-fade,
.elementor-widget-image .arx-hover-scale-shadow,
.elementor-image .arx-hover-scale-shadow {
    display: block;
    width: 100%;
    height: auto;
}

/* Asegurar que funcione en imágenes dentro de enlaces */
a .arx-hover-scale,
a .arx-hover-scale-light,
a .arx-hover-scale-medium,
a .arx-hover-scale-strong,
a .arx-hover-scale-fade,
a .arx-hover-scale-shadow {
    display: block;
}

/* Responsive: reducir efecto en móviles */
@media (max-width: 768px) {
    .arx-hover-scale:hover,
    .arx-hover-scale-medium:hover {
        transform: scale(0.97);
    }

    .arx-hover-scale-light:hover {
        transform: scale(0.99);
    }

    .arx-hover-scale-strong:hover {
        transform: scale(0.94);
    }

    .arx-hover-scale-fade:hover {
        transform: scale(0.97);
        opacity: 0.95;
    }

    .arx-hover-scale-shadow:hover {
        transform: scale(0.97);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
}

/* ========================================
   EFECTO PARALLAX EN SCROLL
   ======================================== */

/* Efecto parallax: imagen se mueve verticalmente con el scroll */
.arx-scroll-parallax {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Variantes del efecto con diferentes intensidades */
.arx-scroll-parallax-light {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.arx-scroll-parallax-medium {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.arx-scroll-parallax-strong {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

/* Soporte para contenedores de Elementor */
.elementor-widget-image .arx-scroll-parallax,
.elementor-image .arx-scroll-parallax,
.elementor-widget-image .arx-scroll-parallax-light,
.elementor-image .arx-scroll-parallax-light,
.elementor-widget-image .arx-scroll-parallax-medium,
.elementor-image .arx-scroll-parallax-medium,
.elementor-widget-image .arx-scroll-parallax-strong,
.elementor-image .arx-scroll-parallax-strong {
    display: block;
    width: 100%;
    height: auto;
}

/* Asegurar que funcione en imágenes dentro de enlaces */
a .arx-scroll-parallax,
a .arx-scroll-parallax-light,
a .arx-scroll-parallax-medium,
a .arx-scroll-parallax-strong {
    display: block;
}

/* Reducir efecto en móviles */
@media (max-width: 768px) {
    .arx-scroll-parallax,
    .arx-scroll-parallax-light,
    .arx-scroll-parallax-medium,
    .arx-scroll-parallax-strong {
        transition: transform 0.2s ease-out;
    }
}

/* ========================================
   EFECTO PARALLAX EN BACKGROUNDS
   ======================================== */

/* Background parallax para secciones - efecto suave */
.arx-bg-parallax {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Background parallax - efecto medio */
.arx-bg-parallax-medium {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Background parallax - efecto fuerte */
.arx-bg-parallax-strong {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Parallax interno que SÍ funciona */
.arx-bg-parallax-transform {
    position: relative !important;
    overflow: hidden !important;
}

.arx-bg-parallax-transform::before {
    content: '';
    position: absolute !important;
    top: -30% !important;
    left: -10% !important;
    right: -10% !important;
    bottom: -30% !important;
    background-image: var(--original-bg-image, inherit) !important;
    background-size: 120% !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    will-change: transform;
    transform: translateY(var(--bg-parallax-y, 0px)) !important;
    z-index: 0 !important;
    transition: transform 0.1s ease-out !important;
}

/* El contenido debe estar por encima del pseudo-elemento */
.arx-bg-parallax-transform > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Ocultar el background original inmediatamente para evitar duplicados */
.arx-bg-parallax-transform {
    background-image: none !important;
}

/* Cuando esté inicializado, el pseudo-elemento maneja el background */
.arx-bg-parallax-transform.arx-parallax-initialized::before {
    opacity: 1 !important;
}

/* Soporte para Elementor */
.elementor-section .arx-bg-parallax,
.elementor-column .arx-bg-parallax,
.elementor-section .arx-bg-parallax-medium,
.elementor-column .arx-bg-parallax-medium,
.elementor-section .arx-bg-parallax-strong,
.elementor-column .arx-bg-parallax-strong {
    background-attachment: fixed !important;
}

/* Responsive - desactivar en móviles para mejor performance */
@media (max-width: 768px) {
    .arx-bg-parallax,
    .arx-bg-parallax-medium,
    .arx-bg-parallax-strong {
        background-attachment: scroll !important;
    }

    .arx-bg-parallax-transform::before {
        transform: none !important;
    }
}

/* ========================================
   EFECTO FOOTER ESTÁTICO AUTOMÁTICO - SOLO DESKTOP
   ======================================== */

/* Footer estático debajo del body - solo en desktop */
@media (min-width: 1025px) {
    footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: -1 !important; /* Debajo del body */
    }

    /* Container-body cubre completamente el footer hasta el final */
    .container-body {
        position: relative !important;
        z-index: 1 !important;
        background: white !important;
        margin-bottom: 386px !important;
        min-height: 100vh !important;
    }
}

/* Footer normal en tablet y mobile */
@media (max-width: 1024px) {
    footer {
        position: static !important;
        z-index: auto !important;
    }

    .container-body {
        position: static !important;
        z-index: auto !important;
        margin-bottom: 0 !important;
        min-height: auto !important;
        padding-bottom: 0 !important;
    }
}

/* Clase opcional para activar el efecto solo donde se desee - solo desktop */
@media (min-width: 1025px) {
    .arx-enable-footer-overlay footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: -1 !important;
    }

    .arx-enable-footer-overlay .container-body {
        position: relative !important;
        z-index: 1 !important;
        background: white !important;
        margin-bottom: -200px !important;
        min-height: 100vh !important;
        padding-bottom: 600px !important;
    }
}

