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

/* Add your custom styles here */




/**
 * List Blog Styles - Con imagen en hover
 */

/* Contenedor principal */
.list-blog {
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	position: relative;
}

/* Items de post */
.list-blog .elementor-post {
	position: relative;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	padding: 24px 0;
	transition: background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
	            padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	cursor: pointer;
}

.list-blog .elementor-post:last-child {
	border-bottom: none;
}

/* Contenedor de imagen en hover - se crea dinámicamente */
.list-blog .elementor-post__hover-image {
	position: fixed;
	width: 400px;
	height: 400px;
	top: 50%;
	right: 10%;
	transform: translateY(-50%) scale(0.8);
	opacity: 0;
	pointer-events: none;
	z-index: 1000;
	overflow: hidden;

	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	background: #000;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.list-blog .elementor-post__hover-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Estado hover - mostrar imagen */
.list-blog .elementor-post:hover .elementor-post__hover-image,
.list-blog .elementor-post.is-hovering .elementor-post__hover-image {
	opacity: 1;
	transform: translateY(-50%) scale(1);
}

/* Título del post */
.list-blog .elementor-post__title {
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.6;
	letter-spacing: -0.01em;
	text-transform:uppercase;
}

.list-blog .elementor-post__title a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
	            padding-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	display: block;
	position: relative;
	z-index: 1;
}

/* Hover effect */
.list-blog .elementor-post:hover {
	background-color: rgba(255, 255, 255, 0.03);
	padding-left: 12px;
}

.list-blog .elementor-post__title a:hover {
	color: #ffffff;
	padding-left: 0;

}

/* Ocultar imágenes originales */
.list-blog .elementor-post__thumbnail,
.list-blog .elementor-post__thumbnail img:not(.elementor-post__hover-image img),
.list-blog img:not(.elementor-post__hover-image img),
.list-blog .wp-post-image:not(.elementor-post__hover-image img) {
	display: none !important;
}

/* Meta information - ocultar */
.list-blog .elementor-post__meta,
.list-blog .elementor-post__excerpt,
.list-blog .elementor-post__read-more {
	display: none !important;
}

/* Asegurar una sola columna */
.list-blog .elementor-posts-container,
.list-blog .elementor-posts {
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Responsive - ocultar imagen en móvil */
@media (max-width: 1024px) {
	.list-blog .elementor-post__hover-image {
		display: none;
	}
}

@media (max-width: 768px) {
	.list-blog .elementor-post {
		padding: 20px 0;
	}
	
	.list-blog .elementor-post__title {
		font-size: 16px;
	}
	
	.list-blog .elementor-post:hover {
		padding-left: 8px;
	}
}



/**
 * Blog Category Filters - Slider de Pills
 */

.blog-category-filters {
	position: relative;
	margin-bottom: 48px;
	padding-bottom: 24px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-category-filters-scroll {
	display: flex;
	flex-wrap: nowrap;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 4px 0;
}

.blog-category-filters-scroll::-webkit-scrollbar {
	display: none;
}

.blog-category-filters-scroll .filter-pill {
	flex: 0 0 auto;
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.7);
	padding: 10px 24px;
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	position: relative;
	overflow: hidden;
	text-transform: capitalize;
	white-space: nowrap;
	user-select: none;
}

.blog-category-filters-scroll .filter-pill::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
	transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}

.blog-category-filters-scroll .filter-pill:hover::before {
	left: 100%;
}

.blog-category-filters-scroll .filter-pill:hover {
	border-color: rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.9);
	background-color: rgba(255, 255, 255, 0.05);
	transform: translateY(-2px);
}

.blog-category-filters-scroll .filter-pill.active {
	background-color: rgba(255, 255, 255, 0.15);
	border-color: rgba(255, 255, 255, 0.4);
	color: #ffffff;
	font-weight: 500;
}

.blog-category-filters-scroll .filter-pill.active::before {
	display: none;
}

.blog-category-filters-scroll .filter-pill > span {
	position: relative;
	z-index: 1;
}

.list-blog .elementor-post.filtered-out {
	display: none;
}

.list-blog .elementor-post.filtered-in {
	display: block;
	animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

@media (max-width: 768px) {
	.blog-category-filters {
		margin-bottom: 32px;
		padding-bottom: 20px;
	}
	
	.blog-category-filters-scroll {
		gap: 8px;
	}
	
	.blog-category-filters-scroll .filter-pill {
		padding: 8px 18px;
		font-size: 13px;
	}
}



/**
 * Clients Carousel - Blur Effect Orgánico en Costados
 * Efecto de difuminación más natural y orgánico
 */

.clients-carrusel {
	position: relative;
	overflow: hidden;
}

/* Overlay izquierdo - blur orgánico de entrada */
.clients-carrusel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 150px;
	height: 100%;
	background: 
		radial-gradient(ellipse at left center, rgba(0, 0, 0, 0.98) 0%, transparent 70%),
		linear-gradient(to right, 
			rgba(0, 0, 0, 0.92) 0%,
			rgba(0, 0, 0, 0.75) 15%,
			rgba(0, 0, 0, 0.55) 30%,
			rgba(0, 0, 0, 0.35) 45%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0.08) 75%,
			transparent 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	pointer-events: none;
	z-index: 10;
	mask-image: linear-gradient(to right, black 0%, transparent 100%);
	-webkit-mask-image: linear-gradient(to right, black 0%, transparent 100%);
}

/* Overlay derecho - blur orgánico de salida */
.clients-carrusel::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 150px;
	height: 100%;
	background: 
		radial-gradient(ellipse at right center, rgba(0, 0, 0, 0.98) 0%, transparent 70%),
		linear-gradient(to left, 
			rgba(0, 0, 0, 0.92) 0%,
			rgba(0, 0, 0, 0.75) 15%,
			rgba(0, 0, 0, 0.55) 30%,
			rgba(0, 0, 0, 0.35) 45%,
			rgba(0, 0, 0, 0.2) 60%,
			rgba(0, 0, 0, 0.08) 75%,
			transparent 100%);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	pointer-events: none;
	z-index: 10;
	mask-image: linear-gradient(to left, black 0%, transparent 100%);
	-webkit-mask-image: linear-gradient(to left, black 0%, transparent 100%);
}

/* Asegurar que el contenido del carrusel esté por debajo */
.clients-carrusel > * {
	position: relative;
	z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
	.clients-carrusel::before,
	.clients-carrusel::after {
		width: 80px;
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}
}


/**
 * Clients Carousel - Opacidad en Logos
 */

.clients-carrusel img {
	opacity: 0.6;
	transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.clients-carrusel img:hover {
	opacity: 0.9;
}



/**
 * Wave Container - Efecto de ondas al hover
 */

.wave-container {
	position: relative;
	overflow: hidden;
}

.wave-container::before,
.wave-container::after {
	content: '';
	position: absolute;
	border-radius: 50%;
	background: radial-gradient(circle, 
		rgba(255, 255, 255, 0.3) 0%,         /* Cambiar de 0.15 a 0.3 */
		rgba(255, 255, 255, 0.15) 30%,       /* Cambiar de 0.08 a 0.15 */
		rgba(255, 255, 255, 0.08) 60%,       /* Cambiar de 0.03 a 0.08 */
		transparent 100%);
	pointer-events: none;
	opacity: 0;
	transform: scale(0);
	transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
	            transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}

.wave-container::before {
	width: 200px;
	height: 200px;
	transition-delay: 0s;
}

.wave-container::after {
	width: 300px;
	height: 300px;
	transition-delay: 0.1s;
}

.wave-container:hover::before,
.wave-container:hover::after {
	opacity: 1;
	transform: scale(1);
}

.wave-container > * {
	position: relative;
	z-index: 1;
}


.wave-ripple {
	position: absolute;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: radial-gradient(circle, 
		rgba(255, 255, 255, 0.5) 0%,        /* Cambiar de 0.2 a 0.5 */
		rgba(255, 255, 255, 0.3) 40%,        /* Cambiar de 0.1 a 0.3 */
		rgba(255, 255, 255, 0.15) 70%,      /* Cambiar de 0.05 a 0.15 */
		transparent 100%);
	pointer-events: none;
	transform: translate(-50%, -50%);
	z-index: 0;
}

@keyframes waveRipple {
	0% {
		width: 0;
		height: 0;
		opacity: 1;                          /* Cambiar de 0.8 a 1 */
	}
	50% {
		opacity: 0.6;                        /* Cambiar de 0.4 a 0.6 */
	}
	100% {
		width: 600px;                        /* Cambiar de 400px a 600px */
		height: 600px;                       /* Cambiar de 400px a 600px */
		opacity: 0;
	}
}

/**
 * Glass FAB — Dark glassmorphism + breathing glow
 */

.glass-fab a {
	background: rgba(10, 10, 10, 0.65) !important;
	color: #fff !important;;
	backdrop-filter: blur(16px) saturate(1.2) !important;
	-webkit-backdrop-filter: blur(16px) saturate(1.2) !important;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	box-shadow:
		0 0 12px rgba(255, 255, 255, 0.04),
		0 4px 16px rgba(0, 0, 0, 0.4) !important;
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.glass-fab a:hover {
	background: rgba(10, 10, 10, 0.78) !important;
	border-color: rgba(255, 255, 255, 0.22) !important;
	box-shadow:
		0 0 32px rgba(255, 255, 255, 0.1),
		0 0 64px rgba(255, 255, 255, 0.04),
		0 8px 24px rgba(0, 0, 0, 0.5) !important;
}

.glass-fab {
	opacity: 0;
	transform: translateY(20px);
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-fab.scrolled-down {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
	pointer-events: all;
	animation: stg-fab-float 4s ease-in-out 0.6s infinite;
}

.glass-fab.scrolled-down a {
	animation: stg-fab-glow 3s ease-in-out 0.5s infinite;
}

/* Float — subtle levitation on the container */
@keyframes stg-fab-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-6px); }
}

/* Glow — breathing light on the button */
@keyframes stg-fab-glow {
	0%, 100% {
		box-shadow:
			0 0 14px rgba(255, 255, 255, 0.06),
			0 6px 20px rgba(0, 0, 0, 0.45);
		border-color: rgba(255, 255, 255, 0.1);
	}
	50% {
		box-shadow:
			0 0 28px rgba(255, 255, 255, 0.12),
			0 0 56px rgba(255, 255, 255, 0.05),
			0 8px 28px rgba(0, 0, 0, 0.55);
		border-color: rgba(255, 255, 255, 0.2);
	}
}


/**
 * Contact Modal — Glassmorphism popup
 * Applied via JS (elementor/popup/show event) + CSS class toggle.
 * Elementor popups load dynamically with inline styles,
 * so pure CSS selectors alone can't reliably override them.
 */
.contact-modal-glass .dialog-widget-content {
	background: rgba(64, 64, 64, 0.36) !important;
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
	backdrop-filter: blur(11.5px) !important;
	-webkit-backdrop-filter: blur(11.5px) !important;
	border: 1px solid rgba(64, 64, 64, 0.3) !important;
}

.contact-modal-glass .dialog-widget-content,
.contact-modal-glass .dialog-message,
.contact-modal-glass .dialog-widget {
	overflow: visible !important;
}

.contact-modal-glass .dialog-lightbox-close-button {
	color: rgba(255, 255, 255, 0.7) !important;
}

.contact-modal-glass .dialog-lightbox-close-button:hover {
	color: #fff !important;
}

