/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/*************** ADD CUSTOM CSS HERE.   ***************/
@font-face {
    font-family: 'Haskoy';
    src: url('/wp-content/fonts/haskoy/Haskoy-variable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Evolve Early';
    src: url('/wp-content/fonts/evolve-early/EvolveEarly-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Evolve Early';
    src: url('/wp-content/fonts/evolve-early/EvolveEarly-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style:italic;
    font-display: swap;
}

@font-face {
    font-family: 'Evolve Early';
    src: url('/wp-content/fonts/evolve-early/EvolveEarly-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Evolve Early';
    src: url('/wp-content/fonts/evolve-early/EvolveEarly-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style:italic;
    font-display: swap;
}

@font-face {
    font-family: 'Evolve Early';
    src: url('/wp-content/fonts/evolve-early/EvolveEarly-News.woff2') format('woff2');
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Evolve Early';
    src: url('/wp-content/fonts/evolve-early/EvolveEarly-NewsItalic.woff2') format('woff2');
    font-weight: 450;
    font-style:italic;
    font-display: swap;
}



body {
	font-family:'Haskoy', sans-serif;
	font-weight: 300;
}


body.framed {
	margin:0 auto;
}

.dark, .dark p, .dark td {
  color:#fff;
}
.txt-m-0 > *:last-child, .txt-m-0 > *:not(style):last-of-type {
  margin: 0 !important;
}

.txt-mb-0 * {
  margin-bottom: 0;
}

.button-m-0 {
  margin: 0 !important;
}

.overflow-hidden {
  overflow: hidden;
}

h1,
.banner h1,
h2,
.banner h2,
h3,
.banner h3,
h4,
.banner h4,
h5,
.banner h5,
h6,
.banner h6 {
  font-family: 'Evolve Early',serif;
  font-size: 1em;
  line-height: inherit;
  font-weight: 300;
}

.titles-font {
	font-family: 'Evolve Early',serif!important;
}

.base-font {
	font-family: 'Haskoy', sans-serif!important;
}

.banner {
  background: none;
}

.banner a.fill {
  z-index: 9;
}

.banner:has(a.fill) .text-box {
  z-index: 5;
}

.banner-height-fit {
  height: 100%;
}

.balance {
  text-wrap: balance;
}

.pretty {
  text-wrap: pretty;
}

.uppercase {
  letter-spacing: 0;
}

.fw-300,
.fw-300 > * {
  font-weight: 300 !important;
}

.fw-400,
.fw-400 > * {
  font-weight: 400 !important;
}

.fw-450,
.fw-450 > * {
  font-weight: 450 !important;
}

.fw-500,
.fw-500 > * {
  font-weight: 500 !important;
}

.fw-600,
.fw-600 > * {
  font-weight: 600 !important;
}

.fw-700,
.fw-700 > * {
  font-weight: 700 !important;
}

.fw-800,
.fw-800 > * {
  font-weight: 800 !important;
}

.fw-900,
.fw-900 > * {
  font-weight: 900 !important;
}

.doubled-font > * {
  font-size: clamp(1.5em, 4.5vw, 2em) !important;
}

.tripled-font > * {
  font-size: clamp(1.75em, 8vw, 3em) !important;
}

.image-height-fit .col-inner,
.image-height-fit .img:not(.logo),
.image-height-fit .img:not(.logo) > div,
.image-height-fit .img:not(.logo) .img-inner {
  height: 100%;
}

.image-height-fit .img:not(.logo) .img-inner > img {
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.image-height-fit .img.logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.image-height-fit .img.logo img {
  margin: 0 auto;
}

.logo.centered-image img {
  margin: 0 auto;
}

.logo.right-image img {
  margin: 0 0 0 auto;
}

.pad-left-col > .col-inner {
  padding-left: max(15px, calc((100vw - 1820px) / 2)) !important;
}

.pad-right-col > .col-inner {
  padding-right: max(15px, calc((100vw - 1820px) / 2)) !important;
}

.ux-logo .ux-logo-link {
  padding: 0 !important;
}

.ux-logo img {
  max-height: fit-content;
}

.col:first-child .col-inner {
  margin-left: 0 !important;
}

.tab-panels {
  position: relative;
}

.tab-panels .panel:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
  height: 100% !important;
  width: 100%;
  visibility: visible !important;
}

.tab-panels .panel {
  transition: 0.3s opacity ease-in;
}

.is-border {
  z-index: 2;
}


.button + .button {
  margin-left: 20px;
}

@media (min-width: 851px) {
  .row > .custom-width-col-centered > .col-inner {
      margin: 0 auto !important;
  }

  .row > .custom-width-col-right > .col-inner {
    margin: 0 0 0 auto!important;
  }
}


/*buttons general*/
.button:not(.is-link) {
  font-size: unset;
  line-height: 1 !important;
  min-height: unset;
  letter-spacing: 0;
  box-shadow: unset !important;
  padding: 12px 24px;
  border: none;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  border-radius:99px;
  margin-bottom: 0;
  background-color:transparent;
  overflow: visible;
  position: relative;
  margin-right: 63px!important;
}

.button:not(.is-link):after {
  content:"";
  position: absolute;
  top: 0;
  left:0;
  width: 100%;
  height: 100%;
  border-radius:99px;
  transition:.3s width cubic-bezier(0, 0, 0.15, 1);
}

.button:not(.is-link) span {
	font-size: 18px;
	font-style: normal;
	font-weight: 500;
	line-height: 130%;
	text-transform: none;
   position: relative;
  z-index: 2;
}


.button:not(.is-link) span:before {
  content:"";
  width:47px;
  aspect-ratio: 1 / 1;
  z-index: 1;
  border-radius:99px;
  position: absolute;
  left: calc(100% + 28px);
  top: -12px;
  transition: .3s transform cubic-bezier(0, 0, 0.15, 1);
}

.button:not(.is-link) span:after {
  content:"";
  width:47px;
  aspect-ratio: 1 / 1;
  z-index: 2;
  border-radius:99px;
  position: absolute;
  left: calc(100% + 28px);
  top: -12px;
  transition: .3s transform linear;
}

.button:not(.is-link):hover:after {
  width: calc(100% + 51px);
}

.button:not(.is-link):hover span:after {
  transform:rotate(45deg);
}

.button:not(.is-link):hover span:before {
 transform: scale(0);
}

/*buttons primary*/
.button:not(.is-link).primary span {
  color:#EDECE9;
}

.button:not(.is-link).primary:after {
  background: var(--fs-color-primary);
} 

.button:not(.is-link).primary span:after {
  background: url(/wp-content/uploads/2026/10/arrow-up-right-white.svg) center center no-repeat;
}

.button:not(.is-link).primary span:before {
  background: var(--fs-color-primary);
}

/*buttons white*/

.button:not(.is-link).white {
  background-color:transparent!important;
}

.button:not(.is-link).white span {
  color:var(--fs-color-primary);
}

.button:not(.is-link).white:after {
  background: #fff;
} 

.button:not(.is-link).white span:after {
  background: url(/wp-content/uploads/2026/10/arrow-up-right.svg) center center no-repeat;
}

.button:not(.is-link).white span:before {
  background: #fff;
}

.displaced-title > * > span {
  display: block;
}

.displaced-title > * > span:first-child {
  position: relative;
  left: -.5em;
}
.displaced-title > * > span:nth-child(2) {
  position: relative;
  right: -.5em;
}




.equal-buttons-stack > .button:not(:last-of-type) {
margin:0 20px 20px 0!important;
}

/*header*/
.header-wrapper.stuck {
	box-shadow: none;
}

.header .header-inner {
	padding: 0 clamp(24px,1.2vw,48px)!important;
	background: rgba(107, 107, 108, 0.16);
	backdrop-filter: blur(12px);
}
.header .header-nav .menu-item {
	margin:0 clamp(16px,2vw,35px);
}
.header .header-nav .menu-item a {
	font-size: 15px;
	font-style: normal;
	font-weight: 500;
	line-height: 130%; /* 19.5px */
	letter-spacing: 3.6px;
	color:var(--fs-color-primary);
	opacity: 1;
	transition: .25s opacity linear;
}

.header .header-nav:has(a:hover) .menu-item a:not(:hover) {
	opacity: 0.4;
}

.page-template-transparent-header-light .header .header-nav .menu-item a {
  color:#fff;
}

/*Custom white*/

#header.custom-white:not(.transparent) .header-logo {
  display: none!important;
}

#header.custom-white:not(.transparent) .header-logo-dark {
  display: block!important;
}

#header.custom-white:not(.transparent) .header-nav-main.nav > li > a,#header.custom-white:not(.transparent) .header-nav-main.nav > li.active > a {
  color:#fff;
}
.page-template-transparent-header-light #header.transparent .mobile-nav .nav-icon a {
  color:#fff;
}
#header.custom-white:not(.transparent) .mobile-nav .nav-icon a {
    color:#fff;
    transition: none;
}

#header.custom-white:not(.transparent) .mobile-nav .nav-icon a i {transition:none}


/*Home*/

.home-title-text {
  font-size:clamp(64px,15dvw,178px);
}

.home-title-text h1 {
  color:#fff;
  mix-blend-mode: difference;
}

.hero-home-section > .section-content {
  display: flex;
  flex-flow: column nowrap;
  min-height: 165vh;
  background: #EDECE9;
}

.home-title-row {
  min-height: 100dvh;
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 2;
  mix-blend-mode: difference;
}

.home-title-video {
  margin-top: -50dvh;
  position: relative;
}

.home-title-video .banner {
  filter: grayscale(100%);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  min-width: 350px;
  padding-top:60dvh!important;
}

.espacios-row .banner .overlay {
  background-color:unset!important;
  background:linear-gradient(180deg, rgba(0, 0, 0, 0.05) 60%, rgba(0, 0, 0, 0.60) 100%);
  z-index: 3;
}
.espacios-row .banner .banner-bg {
  z-index: 3;
}

.espacios-row .banner .text-box-button {
  z-index: -1;
  opacity: 0;
  transition: .3s opacity linear;
}

.espacios-row .banner .text-box-button .button {
  position: relative;
  left: -30px;
}

.espacios-row .banner:hover .text-box-button {
  opacity: 1;
  z-index: 4;
}

.espacios-row .banner.has-video .banner-bg > img {
  display: block;
  z-index: 3;
}

.espacios-row .banner:hover .banner-bg > img {
  opacity: 0;
}

.hero-gradient-overlay .section-bg-overlay {
  background-color:unset;
  background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.46) 100%);
}

.fotos-slider-footer .img {
  width: 35%!important;
  max-width:565px;
}

/*Historia*/
.sabbia-claim {
  position: absolute;
  opacity: 0.1;
  right: 0;
  bottom: -20px;
}


.historia-slider.swiper {
  display: block;
  width: 100%;
  overflow: visible;
  margin-left: -22px!important;
}

.historia-slider > .swiper-wrapper {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;

}

.historia-slider .swiper-slide {
  box-sizing: border-box;
  display: flex;
  flex: 0 0 auto;
  width: min(340px, 100%);
  max-width: 340px;
  min-width: 0;
  margin: 0;
  opacity: .25;
  transition: width 450ms ease, max-width 450ms ease,opacity 450ms ease;
  overflow: hidden;
  margin-right: 22px!important;
  padding-left: 22px;
  align-self: stretch;
  height: auto;
    -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;

}

.historia-slider .swiper-slide .text-description {
  opacity: 0;
  transition: opacity 450ms ease
} 

.historia-slider .swiper-slide.no-width-transition {
  transition: none !important;
}

.historia-slider .swiper-slide:not(:first-child):not(.is-expanded):after {
  content:"";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: #6B6B6Cdd;
}

/* Slide seleccionado */
.historia-slider .swiper-slide.is-expanded {
  width: min(620px, 100%);
  max-width: 620px;
  opacity:1 ;
}

.historia-slider .swiper-slide.is-expanded .text-description {
  opacity: 1;
}

/* Columna de Flatsome */
.historia-slider .swiper-slide > .col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Contenedor interior */
.historia-slider .swiper-slide > .col > .col-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
}

.historia-slider .swiper-slide > .col > .col-inner .img {
  margin-top: auto;
}

.historia-slider .swiper-slide > .col {
  min-width: 600px!important;
}
.qs-banner-section .section-content {
  min-height: 100dvh;
}
.qs-banner-section .banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 25%;
  min-width: 350px;
  padding-top: 60dvh !important;
}

.qs-banner-section .banner .height-fix {
  display: none!important;
}


/*trabaja con nosotros*/

.trabaja-points-row > .col:first-child {
  padding-left:20px!important;
}

.trabaja-points-row > .col h3 {
  position: relative;
}

.trabaja-points-row > .col h3:after {
  content:"";
  position: absolute;
  top: 15px;
  left:-20px;
  width: 4px;
  height: 4px;
  background: var(--fs-color-primary);
  border-radius: 99px;

}

.espacios-trabaja-row .overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.50) 70%);
  background-color: unset!important;
}


/*Footer*/

.footer-wrapper .ux-menu-title {
	color: #EBEAE5;
	font-size: 15px;
	font-weight: 400;
	line-height: 130%;
	text-transform: unset;
	min-height: 0;
	padding-top:0;
	padding-bottom:0;
	margin-bottom: 27px!important;
}  

.footer-wrapper .ux-menu .ux-menu-link__link {
	min-height: 0;
	padding-top:0;
	padding-bottom:0;
	color: #EDECE9;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	line-height: 130%;
	margin-bottom: 11px;
	text-transform:uppercase;
	transition: .3s opacity linear;
}

.footer-wrapper .ux-menu:has(.ux-menu-link__link:hover) .ux-menu-link__link:not(:hover) {
	opacity: .5;
}

.custom-absolute-footer-row a {
	color:#fff;
	margin:0 5px;
	display:inline-block;
	transition: .25s opacity linear;
}

.custom-absolute-footer-row a:hover {
	opacity: .85;
}

.absolute-footer {
  display: none!important;
}

/* Acercar EN y ES */
.header-nav li.menu-item-wpml-ls-2-en-gb {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

.header-nav li.menu-item-wpml-ls-2-es {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* Añadir la barra entre idiomas */
.header-nav li.menu-item-wpml-ls-2-en-gb a::after {
    content: "/";
    margin-left: 8px;
    margin-right: 8px;
}


/* Idiomas en el menú lateral responsive */
.nav-sidebar li.menu-item-wpml-ls-2-en-gb,
.nav-sidebar li.menu-item-wpml-ls-2-es {
    display: inline-flex !important;
    align-items: center;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-sidebar li.menu-item-wpml-ls-2-en-gb a,
.nav-sidebar li.menu-item-wpml-ls-2-es a {
    display: inline-block !important;
    width: auto !important;
    padding: 10px 4px !important;
}

/* Separador entre EN y ES */
.nav-sidebar li.menu-item-wpml-ls-2-en-gb a::after {
    content: "/" !important;
    margin-left: 8px;
    margin-right: 4px;
}

/* Idiomas en el menú responsive */
.nav-sidebar li.menu-item-wpml-ls-2-en-gb,
.nav-sidebar li.menu-item-wpml-ls-2-es {
    display: inline-block !important;
    width: auto !important;
    vertical-align: middle;
}

/* Espaciado de los enlaces */
.nav-sidebar li.menu-item-wpml-ls-2-en-gb a,
.nav-sidebar li.menu-item-wpml-ls-2-es a {
    display: inline-block !important;
    width: auto !important;
    padding: 10px 5px !important;
}

/* Separador */
.nav-sidebar li.menu-item-wpml-ls-2-en-gb a::after {
    content: "/" !important;
    margin-left: 8px;
    margin-right: 4px;
}



/* RESPONSIVE: EN / ES en una sola línea */
.nav-sidebar {
    display: flow-root;
}

.nav-sidebar > li.menu-item-wpml-ls-2-en-gb,
.nav-sidebar > li.menu-item-wpml-ls-2-es {
    display: inline-block !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    vertical-align: middle;
	margin-top: 50px !important;
}

/* Enlaces de idiomas */
.nav-sidebar > li.menu-item-wpml-ls-2-en-gb > a,
.nav-sidebar > li.menu-item-wpml-ls-2-es > a {
    display: inline-block !important;
    width: auto !important;
    padding: 10px 4px !important;
    line-height: inherit;
}

/* Separador EN / ES */
.nav-sidebar > li.menu-item-wpml-ls-2-en-gb > a::after {
    content: "/" !important;
    display: inline !important;
    margin: 0 0 0 12px;
}

.menu-item.wpml-ls-item:not(.wpml-ls-current-language) span {
    opacity: 0.4;
}

@media (max-width: 850px) {
  .espacios-row .banner .banner-bg > img {
    display: none!important;
  }

  .espacios-row .banner .text-box-button {
    opacity: 1;
    z-index: 4;
  }
   .espacios-row .banner > .banner-inner > .banner-layers {
    overflow: hidden;
   }
  .espacios-row .banner > .banner-inner > .banner-layers > .img, .espacios-row .banner > .banner-inner > .banner-layers > .img > .img-inner, .espacios-row .banner > .banner-inner > .banner-layers > .img > .img-inner img {
    height: 100%;
  }
  .qs-banner-section .section-content {
    min-height: unset!important;
}
.qs-banner-section .qs-banner {
    position: static;
    transform: none!important;  
    width: 100%;
    padding-top: 70% !important;
  }

  .mfp-bg.main-menu-overlay {
    background-color:rgb(29, 29, 29)!important;
    opacity: 1!important;
  }
.mfp-container .sidebar-menu {
  padding-top: 0;
  padding-bottom: 10dvh;
}
  .sidebar-menu .displaced-title {
    display: block;
     font-size: clamp(64px, 15dvw, 178px);
  color:#fff;
  font-family: "Evolve Early", serif;
  width: 100%;
  line-height: 1;
  font-size: 60px;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 50px;
 }

.displaced-title span:first-child {
  position: relative;
  left: -.5em;
  display: block;
}
.displaced-title span:nth-child(2) {
  position: relative;
  right: -.5em;
  display: block;
}

.off-canvas-center .mfp-content {
  padding-top: 0;
}


.off-canvas-center:not(.dark) .mfp-close {
  color:#fff;
  opacity: 1;
  mix-blend-mode: unset;
}

.off-canvas-center .nav-sidebar.nav-vertical>li>a {
  color:#fff;
  letter-spacing: 3.6px;
}
.mobile-nav .nav-icon a {
    padding: 0;
    font-size: 1.3rem;
    color: rgb(29, 29, 29);
}



}



@media (max-width: 550px) {
  .fotos-slider-footer .img {
    width: 35%!important;
    max-width: 300px;
    min-width: unset;
  }
  .footer-wrapper .ux-menu .ux-menu-link__link {
    margin-bottom: 16px;
    line-height: 1.4;
  }

  .historia-slider .swiper-slide.is-expanded {
    width: min(calc(100vw - 40px), 100%);
    max-width: calc(100vw - 40px)
    opacity:1 ;
  }

  .historia-slider .swiper-slide {
    width: min(300px, 100%);
    max-width: 300px;
    margin-right: 15px!important;
    padding-left: 15px;
    align-self: stretch;
    height: auto;
      -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
  }

  .historia-slider .swiper-slide > .col {
    min-width: calc(100vw - 55px)!important;
  }

  .historia-slider.swiper {
    margin-left: -15px!important;
  }
	
	.off-canvas-center .nav-vertical>li.menu-item>a {
		font-size: 1.125em;
	}

}