/**
 * Theme Name:     Grupo Puebla
 * Author:         Mauro Lopreste
 * Template:       hello-elementor
 * Text Domain:	   Grupo Puebla
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

.scroll-arrow {
    animation: scroll-arrow-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-arrow-bounce {
    0%, 100% {
        transform: translateY(0);
		opacity: .5
    }

    50% {
        transform: translateY(10px);
		opacity: 1
    }
}

/* Ocultar el texto de Intranet */
@media (min-width: 1025px) {
	.menu-extranet {
		border: 1px solid #333;
		border-width: 0 1px;
	}

	.menu-extranet > a {
		width: 60px;
		height: 100%;
		font-size: 0 !important;
	}

	/* Mostrar el ícono de mundo */
	.menu-extranet > a::before {
		content: "\f500";
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		font-size: 22px;
		display: inline-block;
		opacity: 1 !important;
		background: transparent !important;
		line-height: 1;
	}

	/* Efecto hover */
	.menu-extranet > a:hover {
		opacity: 0.7;
	}
}

/* Estilos generales */
.columna-hover {
    position: relative;
    overflow: hidden;
}

/* Desktop: efecto hover */
@media (min-width: 1025px) {

    /* Capa oscura */
    .columna-hover::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
        pointer-events: none;
    }

    /* Ocultar título y texto */
    .columna-hover .elementor-widget-heading,
    .columna-hover .elementor-widget-text-editor {
        opacity: 0;
        transform: translateY(15px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    /* Mostrar contenido y oscurecer */
    .columna-hover:hover::before {
        opacity: 1;
    }

    .columna-hover:hover .elementor-widget-heading,
    .columna-hover:hover .elementor-widget-text-editor {
        opacity: 1;
        transform: translateY(0);
    }

    /* Texto por encima de la capa oscura */
    .columna-hover .elementor-widget-heading,
    .columna-hover .elementor-widget-text-editor {
        position: relative;
        z-index: 2;
    }
}

/* Mobile y tablet: contenido siempre visible */
@media (max-width: 1024px) {

    .columna-hover::before {
        display: none;
    }

    .columna-hover .elementor-widget-heading,
    .columna-hover .elementor-widget-text-editor {
        opacity: 1;
        transform: none;
        position: relative;
        z-index: 2;
        transition: none;
    }
}

/* WP Forms */
.wpforms-field-large,
.wpforms-submit {
	font-family: 'Helvetica', Arial, sans-serif !important;
}

/* Deshabilitar animaciones en mobile */
@media (max-width: 767px) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (min-width: 1025px) {
	.elementor-element h2 { 
		font-size: 22px;
		font-weight: 500;
	}
}

.contador-secuencial {
    opacity: 0 !important;
    transition: opacity 0.8s ease-in-out !important;
}

.contador-secuencial.contador-visible {
    opacity: 1 !important;
}

#sucursales-map {
    width: 100% !important;
    height: 500px !important;
    overflow: hidden;
}