.gtranslate_wrapper a {
    padding-left: 15px !important;
	font-weight: 600 !important;
    text-decoration: none !important;
    color: var(--quaternary);
}

.gt_switcher_wrapper .gt-current-lang{
    color: var(--secondary) !important;
}

.gtranslate_wrapper a:hover{
    color: var(--secondary) !important;
}


.gtranslate_wrapper > div {
  position: static !important;
}

.gt_switcher_wrapper{
	padding-right: 0px !important;
	padding-top: 0px !important;
	padding-left: 100px !important;
	
}

@media (max-width: 991px){
	.gt_switcher_wrapper{
		padding-left: 0px !important;
		margin-right: 20px !important;
	}
}


#servicios .thumb-info-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}


/* BestGest logo: PNG used as mask, grey2 (white on hover) */
#logo-bg{
	display: inline-block;
	width: 20px;
	height: 23px;
	vertical-align: middle;
	background-color: var(--grey2);
	transition: background-color 0.2s ease;
	-webkit-mask: url('../img/main/logo-bg.png') center / contain no-repeat;
	mask: url('../img/main/logo-bg.png') center / contain no-repeat;
}

.footer-copyright a:hover #logo-bg{
	background-color: var(--light);
}

/*-----------------------------------*/
/*------ 76. bombita de WhatsApp ------*/
/*-----------------------------------*/

.whatsapp-bubble {
	position: fixed;
	bottom: 30px; /* Distancia desde abajo */
	right: 30px; /* Distancia desde la derecha */
	z-index: 9999; /* Asegura que esté sobre otros elementos */
  }
  
.whatsapp-bubble img {
	width: 60px; /* Tamaño de la imagen de WhatsApp */
	border-radius: 50%; /* Forma circular */
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Sombra */
	transition: transform 0.3s ease; /* Efecto de transición */
}
  
.whatsapp-bubble:hover img {
	transform: scale(1.1); /* Efecto de escala al pasar el mouse */
}

.whatsapp:active,
.whatsapp:focus,
.whatsapp {
	position:fixed;
	width:60px;
	height:60px;
	bottom:60px;
	left:40px;
	background-color:#25d366;
	color:#FFF;
	border-radius:50px;
	text-align:center;
	font-size:30px;
	z-index:100;
}
  
.whatsapp-icon {
	margin-top: 11px;
	font-size: 36px;
}
  
.whatsapp-icon:hover, .whatsapp:hover {
	color: #9af9bd !important;
	transition: color 0.3s ease-in-out;
}
  

.custom-tabs-style-1.tabs .nav-tabs .nav-link h4 {
  color: var(--primary);
}

.custom-tabs-style-1.tabs .nav-tabs .nav-link.active h4 {
  color: var(--tertiary);
}



#footer{
    background-color: var(--primary);
}


.custom-section-background .container::before{
    background-color: var(--secondary);
}

.custom-svg-1-line {
    position: absolute;
    left: 0;
    top: -100px;
    width: 640px;
}

@media (min-width: 992px) {
    #inicio {
        min-height: 650px;
        display: flex;
        flex-direction: column;
    }

    #inicio > .container {
        flex: 1 0 auto;
        display: flex;
        align-items: center;
    }

    #inicio .custom-svg-1,
    #inicio .custom-svg-1-line {
        transform: scale(1.47);
        transform-origin: 100% 0%;
    }
}

@media (min-width: 992px) {
  #header .header-nav.header-nav-links nav > ul:not(:hover) > li > a.active {
    color: var(--secondary) !important;
  }
}

.brightness-120{
    filter: brightness(120%);
}

@media (max-width: 575px) {
  .custom-background-style-1 {
    background-color: var(--quaternary);
  }

  #servicios .thumb-info-wrapper img{
    object-position: top;
  }
}

/* REVIEWS: tarjetas de opiniones con la misma altura */
.custom-carousel-box-shadow-1 .owl-stage {
    display: flex;
    align-items: stretch;
}

.custom-carousel-box-shadow-1 .owl-item {
    display: flex;
    height: auto;
}

.custom-carousel-box-shadow-1 .owl-item > div {
    display: flex;
    width: 100%;
}

.custom-carousel-box-shadow-1 .owl-item .card {
    width: 100%;
    height: 100%;
}

.custom-carousel-box-shadow-1 .owl-item .card-body {
    display: flex;
    flex-direction: column;
}

.custom-carousel-box-shadow-1 .owl-item .custom-testimonial-style-1 {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom-carousel-box-shadow-1 .owl-item .custom-testimonial-style-1 blockquote {
    flex: 1;
}
/* Why choose us: Font Awesome icons (the theme rules only target inline SVGs) */
.custom-icon-style-1 .advantages-icon {
    position: relative;
    z-index: 1;
    transition: ease color 300ms;
}

.custom-icon-box-style-1:hover .custom-icon-style-1 .advantages-icon {
    color: var(--light) !important;
}

/* CTA gallery: same height for all images (sources differ by a few px) */
.cta-gallery-img {
    display: block;
    width: 100%;
    aspect-ratio: 650 / 366;
    object-fit: cover;
}

.text-grey-2{
    color: var(--grey2) !important;
}

/* Footer SVG icons (location, WhatsApp): SVG used as mask, coloured with --grey2 */
.footer-svg-icon {
    display: inline-block;
    background-color: var(--grey2);
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.footer-svg-icon-location {
    width: 45px;
    height: 45px;
    -webkit-mask-image: url('../img/icons/icon-location.svg');
    mask-image: url('../img/icons/icon-location.svg');
}

.footer-svg-icon-whatsapp {
    width: 50px;
    height: 50px;
    -webkit-mask-image: url('../img/icons/wha.svg');
    mask-image: url('../img/icons/wha.svg');
}

/* Stats: typewriter effect without the blinking cursor */
.counters .typeWriter {
    display: none;
}


/* Responsive: icon-only header logo and WhatsApp bubble closer to the edge */
@media (max-width: 991px) {
    /* Mobile: icon-only logo (see <picture> in partials/header.php) */
    #header .header-logo img {
        width: 60px !important;
        height: auto !important;
    }

    .whatsapp {
        left: 15px;
    }

    /* Hamburger button and mobile menu highlight in quaternary */
    #header .header-btn-collapse-nav,
    #header .header-btn-collapse-nav:hover,
    #header .header-btn-collapse-nav:focus {
        background: var(--quaternary) !important;
        color: var(--light) !important;
    }

    #header .header-nav-main nav > ul > li > a.active,
    #header .header-nav-main nav > ul > li > a:hover,
    #header .header-nav-main nav > ul > li > a:focus,
    #header .header-nav-main nav > ul > li > a:active {
        background: var(--quaternary) !important;
        color: var(--light) !important;
    }
}
