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


.elementor-text-editor p:last-child, .textwidget p:last-child, .elementor-widget-container p:last-child, .elementor-widget-text-editor p:last-child{ margin-bottom:0px;}  

p:last-child{ margin-bottom:0px;}  

.img-backcover-effect {
    flex: 1;
	position: relative;
   	display: flex;
   	align-items: stretch;
	& img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
    		object-fit: cover;
	}
}


.head-fix {
    background-color: transparent !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.head-fix.scroleando {
    background-color: #fff !important;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.08);
}

.head-fix .menu a,
.head-fix .toggle-menu-movil {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
}

.head-fix.scroleando .menu a,
.head-fix.scroleando .toggle-menu-movil {
    -webkit-filter: none;
    filter: none;
}

/*Estilos Menu */
.head-fix.scroleando .e-n-menu .e-n-menu-title a,
.head-fix.scroleando .e-n-menu .e-n-menu-title span,
.head-fix.scroleando .e-n-menu .e-n-menu-dropdown-icon svg {
    filter: none !important;
    color: #000 !important;
	background-color: transparent;
}

.head-fix .e-n-menu .e-n-menu-title a,
.head-fix .e-n-menu .e-n-menu-title span,
.head-fix .e-n-menu .e-n-menu-dropdown-icon svg {
    filter: brightness(0) invert(1);
    color: #fff;
	background-color: transparent;
}

/* Estado al hacer scroll: botones negros */
.head-fix.scroleando .elementor-button {
    background-color: transparent !important;
    color: #000 !important;
}

/* Hover al hacer scroll */
.head-fix.scroleando .elementor-button:hover {
    background-color: transparent !important;
    color: #FFD33A !important;
}

.head-fix.scroleando .btnContacto .elementor-button {
    background-color: transparent !important;
    color: #000 !important;
    border-color: #000 !important;
}

.head-fix.scroleando .btnContacto .elementor-button:hover {
    background-color: #FFD33A !important;
    color: #000 !important;
    border-color: #000 !important;
}

/* SVG en negro */
.head-fix.scroleando .btnContacto svg path {
    fill: #000 !important;
}

.head-fix img {
    filter: none;
}

/* Logo negro al hacer scroll */
.head-fix.scroleando img {
	filter: brightness(0) invert(0);
    
}

/* Estado inicial: iconos blancos */
.head-fix .elementor-menu-toggle svg path {
   filter: none;
}

/* Al hacer scroll: iconos negros */
.head-fix.scroleando .elementor-menu-toggle svg path {
	filter: brightness(0) invert(0);
}

@media (max-width: 767px) {
  .elementor-loop-container.elementor-grid {
    display: block !important;
  }

  .elementor-loop-container .e-loop-item:not(:last-child) {
    display: block !important;
    height: auto !important;
    margin-bottom: 20px !important;
  }

  .elementor-loop-container .e-loop-item:last-child {
    display: block !important;
    height: auto !important;
    margin-bottom: 0 !important;
  }
}

*::selection {
  background: var(--e-global-color-primary) !important;
  color: #ffffff !important;
}
*::-moz-selection {
  background: var(--e-global-color-primary) !important;
  color: #ffffff !important;
}
