@font-face {
  font-family: fa-gutesgeld;
  src: url(fonts/fa-gutesgeld.ttf?t4nipe) format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'DavidLibre-Regular';
  src: url(fonts/DavidLibre-Regular.woff) format('woff'),
    url(fonts/DavidLibre-Regular.woff2) format('woff2');
}

@font-face {
  font-family: 'Lato-Regular';
  src: url(fonts/Lato-Regular.woff) format('woff'), url(fonts/Lato-Regular.woff2) format('woff2');
}

/* GENERAL */

body,
html {
  font-family: 'Lato-Regular';
  overflow-x: hidden;
  background-color: white;
  margin: 0;
  height: 100%;
  overflow-x: hidden;
}

article > .wpb-content-wrapper {
  position: relative;
}

section {
  position: sticky;
  top: 0;
  min-height: 100vh;
  height: max-content;
}

.separador-imagen {
  background-size: 100% 100%;
}

p {
  font-family: 'Lato-Regular' !important;
  font-size: 31px;
  line-height: 52px;
}

h1 {
  font-family: 'DavidLibre-Regular' !important;
  line-height: 90%;
  font-size: 92px;
}

h2 {
  font-family: 'DavidLibre-Regular' !important;
  font-size: 31px;
  line-height: 72px;
}

h3,
h3 * {
  font-family: 'Lato-Regular' !important;
  line-height: 100%;
  font-size: 61px;
}

h4 {
  font-family: 'Lato-Regular' !important;
  font-size: 60px;
  line-height: 70px;
}

header#site-header,
.home header#site-header {
  height: 100px !important;
  position: relative;
  top: 0px;
  width: 100%;
  z-index: 1111;
  background-color: #1e472e;
}

.vc_row.wpb_row.vc_row-fluid.vc_row-no-padding[data-vc-full-width='true'] {
  max-width: 100%;
  margin-left: 0%;
  width: 100% !important;
  left: 0px !important;
}

.header__wrapper {
  background: transparent;
  height: 100px;
}

article .vc_section:first-child {
  padding-top: 55px;
}

.header__nav,
#nav-main {
  width: 85%;
  justify-content: center;
  display: flex;
}

.nav-main__container {
  width: 100%;
}

.menu,
.menu.horizontal {
  justify-content: end;
}

.dropdown.menu > li a {
  color: #fff;
  /* Body styles/body-compact-02 */
  font-family: 'DavidLibre-Regular';
  font-size: 20px;
  font-style: normal;
  line-height: 32px; /* 137.5% */
  font-weight: 400;
}

.dropdown.menu > li.opens-right > .is-dropdown-submenu {
  top: 100%;
  right: auto;
  left: 0;
  background-color: #1e472e;
  width: 300px;
  padding: 10px;
}

body:not(.home) .dropdown.menu > li:last-child a {
  text-transform: unset;
  font-weight: 400;
  border-width: 0px;
}

.dropdown.menu > li {
  margin-left: 50px;
}

.dropdown.menu > li.is-dropdown-submenu-parent > a {
  padding-right: 0px;
}

.dropdown.menu > li a:hover {
  text-decoration: underline;
}

.header__content.grid-container {
  width: 95%;
}

.vc_row.wpb_row.vc_row-fluid {
  max-width: 1920px;
  margin: auto;
  width: 85%;
}

.footer {
  position: relative;
  margin: 0px;
  background: #1e472e;
}

.footer * {
  color: #e5dac2;
  font-family: 'Open Sans';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 18px; /* 128.571% */
  letter-spacing: 0.16px;
}

.footer .cell.medium-4 {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
}

.adreca-footer p,
.adreca-footer p a {
  color: #fff !important;
  text-align: center;
  font-family: 'Lato-Regular' !important;
  font-size: 18px;
}

.enllacos-destacats {
  width: 100%;
  margin-top: 50px;
}

.footer .primer_pis {
  background: #f0f7ef;
  padding: 30px;
}

.footer .segon_pis {
  padding: 30px;
}

.xarxes-socials a {
  margin: 5px 10px;
}

#logoskit-footer {
  width: 50%;
}

.links p {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  flex-direction: row;
  margin-bottom: 0px;
}

.enllacos-web {
  margin-top: 30px;
}

.enllacos-web a {
  font-family: 'Archivo-Light';
  font-size: 12px;
  line-height: 16px;
}

.footer a:hover {
  color: #fff !important;
  text-decoration: underline;
}

.xarxes {
  display: flex;
  justify-content: space-between;
  width: 50%;
  align-items: center;
}

.footer .cell:last-child {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: start;
  align-items: start;
}

.footer .dropdown.menu > li a {
  color: white;
  border: 0px;
  padding: 0px;
  border-radius: 0px;
  font-family: 'Lato-Regular' !important;
  font-size: 14px !important;
  line-height: 18px !important;
  background: unset;
  text-transform: unset;
  font-weight: 600 !important;
  margin-top: 50px;
  margin-bottom: 25px;
}

.footer .dropdown.menu.submenu > li a {
  font-family: 'Archivo-Light' !important;
  font-weight: 400 !important;
  margin-top: 0px;
  margin-bottom: 10px;
}

.footer .menu.dropdown.submenu.is-dropdown-submenu.first-sub.vertical {
  display: block;
}

#nav-footer {
  width: 100%;
  height: 90%;
}

.nav-footer__container {
  height: 48vh;
}

.nav-footer__container .menu.dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex-wrap: wrap;
  justify-content: start;
  height: 100%;
}

.nav-footer__container > ul > li:first-child {
  height: 100%;
}

.nav-footer__container > ul > li:nth-child(2) {
  height: auto;
}

.nav-footer__container > ul > li:nth-child(5) {
  height: auto;
}

.nav-footer__container > ul > li:nth-child(4) {
  height: 40%;
}
.nav-footer__container > ul > li:nth-child(5) {
  height: auto;
}
.nav-footer__container > ul > li:nth-child(6) {
  height: 50%;
}

.footer .menu.dropdown.submenu.is-dropdown-submenu.first-sub.vertical {
  display: block;
  position: unset;
}

.xarxes div {
  width: 40%;
  display: flex;
  justify-content: space-around;
}

.idiomes {
  width: 15%;
  display: flex;
  justify-content: space-between;
}

.logo_footer {
  width: 50%;
}

.enllacos_interes {
  display: flex;
  flex-direction: column;
  align-items: end;
}

.grid-x.grid-padding-x.primer_pis,
.grid-x.grid-padding-x.segon_pis {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
}

.header__logo {
  height: 100px;
}

#logo-footer img {
  height: 60px;
}

#logo-footer-promou {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 70%;
}

#logo-footer-promou p {
  font-family: 'Synonym';
  font-weight: 500;
  font-size: 20px;
  color: black;
}

#logo-footer-promou img {
  height: 60px;
}

.home header#site-header {
  display: none !important;
}

header#site-header.display {
  display: block !important;
  position: fixed;
}

.show-mobile {
  display: none;
}
.hide-mobile {
  display: block;
}

.seccio.inhabilitat {
  display: none !important;
}

.up-boto {
  display: none;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 222222;
  width: 60px;
  height: 60px;
  background: #1e472e;
  border-radius: 20px;
  padding: 5px;
  opacity: 0.5;
  cursor: pointer;
}

.up-boto.display {
  display: block;
}

.up-boto:hover {
  opacity: 1;
}
/* SECCIONS */

.pagines-replicables-seccions {
  display: flex;
  flex-direction: column;
}

.seccio {
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}

.seccio[data-ubicacio='primer'] {
  order: 1;
}
.seccio[data-ubicacio='segon'] {
  order: 2;
}
.seccio[data-ubicacio='tercer'] {
  order: 3;
}
.seccio[data-ubicacio='quart'] {
  order: 4;
}
.seccio[data-ubicacio='cinque'] {
  order: 5;
}
.seccio[data-ubicacio='sise'] {
  order: 6;
}
.seccio[data-ubicacio='sete'] {
  order: 7;
}

/* PRIMERA SECCIO */

.seccio.primera-seccio {
  background: #1e472e;
}

.primera-seccio .inner-seccio.seccio-esquerra {
  width: 30%;
}

.primera-seccio .inner-seccio.seccio-centre {
  width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.primera-seccio .inner-seccio.seccio-dreta {
  width: 30%;
  position: relative;
}

.primera-seccio h1 {
  color: white;
  text-align: center;
  text-transform: unset;
}

.clip-oval {
  width: 30vw;
  height: 90vh;
  background: white;
  border-radius: 290px 270px 0 560px;
  overflow: hidden;
  position: absolute;
  right: -70px;
  bottom: 50px;
}

.clip-oval img {
  position: absolute;
  top: 10px;
  left: 10px;
  height: 90%;
  object-fit: cover;
  width: 90%;
  border-radius: 340px 270px 0 560px;
}

/* END PRIMERA SECCIO */

/* SEGONA SECCIO */

.seccio.segona-seccio {
  padding: 80px 100px;
  background-color: #eaeaea;
}

.segona-seccio .inner-seccio.seccio-esquerra {
  width: 50%;
}

.segona-seccio .inner-seccio.seccio-dreta {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.segona-seccio h2,
.segona-seccio h3 p {
  color: #1e472e;
}

.segona-seccio h3 {
  margin-bottom: 35px;
}

.segona-seccio .imatge-flotant-superior {
  width: 50%;
  border-radius: 420px 540px;
}

.segona-seccio .imatge-flotant-inferior {
  width: 50%;
  border-radius: 540px 420px;
  position: absolute;
  top: 280px;
}

/* END SEGONA SECCIO */

/* TERCERA SECCIO */
.seccio.tercera-seccio {
  background-color: #688971;
}

.tercera-seccio .inner-seccio.seccio-esquerra {
  width: 50%;
}

.tercera-seccio .inner-seccio.seccio-dreta {
  width: 50%;
  margin-top: 160px;
  margin-bottom: 80px;
  padding-right: 100px;
  text-align: right;
}

.tercera-seccio .imatge-canviant-primera-seccio {
  width: 70%;
  margin-top: 30px;
  border-radius: 50%;
  transform: rotate(-20deg);
  height: 80%;
  position: relative;
  left: -120px;
}

.tercera-seccio h2 {
  color: white;
}

.tercera-seccio p {
  color: white;
  line-height: 110%;
  margin-bottom: 50px;
}

.tercera-seccio h3 p {
  color: white;
  margin-bottom: 50px;
  line-height: 100%;
}

.tercera-seccio h3 {
  margin-top: 50px;
  margin-bottom: 100px;
}

.tercera-seccio a.boto.boto-blanc {
  color: white;
  border-color: white;
}

.tercera-seccio a.boto.boto-blanc:hover {
  color: #688971;
  background-color: white;
  border-color: white;
}

/* END TERCERA SECCIO */

/* QUARTA SECCIO */

.seccio.quarta-seccio {
  background: #eaeaea;
}

.quarta-seccio .inner-seccio.seccio-sencera {
  padding: 80px 100px;
}

.quarta-seccio h2,
.quarta-seccio h3 p {
  color: #1e472e;
}

.quarta-seccio h2,
.quarta-seccio h3 {
  margin-bottom: 50px;
}

.acordio-item {
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
}

.acordio-header p {
  font-size: 54px;
  font-family: 'Archivo-Light' !important;
  line-height: 100%;
  color: #1e472e;
  margin-bottom: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.acordio-header p::after,
.acordio-header.active p::after {
  content: '';
  height: 2px;
  width: 40px;
  background: #1e472e;
  position: absolute;
  right: 0px;
}

.acordio-header p::before {
  content: '';
  height: 40px;
  width: 2px;
  background: #1e472e;
  position: absolute;
  right: 20px;
}

.acordio-header.active p::before {
  content: none;
}

/* END QUARTA SECCIO */

/* CINQUENA SECCIO */

.seccio.cinquena-seccio {
  display: flex;
  justify-content: center;
  align-items: start;
  position: relative;
}

.seccio.cinquena-seccio::before {
  content: ' ';
  width: 100%;
  height: 100%;
  position: absolute;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.cinquena-seccio .inner-seccio.seccio-sencera {
  width: 50%;
  z-index: 2;
  margin-top: 80px;
}

.cinquena-seccio h3 p {
  text-align: center;
  color: white;
  margin-top: 80px;
}

.cinquena-seccio h2 {
  text-align: center;
  color: white;
}

/* END CINQUENA SECCIO */

/* SISENA SECCIO */

.seccio.sisena-seccio {
  background: #1e472e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sisena-seccio .inner-seccio.seccio-sencera {
  padding: 80px 100px;
  width: 60%;
  text-align: center;
}

.sisena-seccio h2 {
  color: white;
  margin-right: 50px;
}

.sisena-seccio h3 p {
  color: white;
  margin-bottom: 50px;
}

.sisena-seccio img {
  width: 60%;
  margin-top: 50px;
  margin-bottom: 100px;
}

/* END SISENA SECCIO */

/* SETENA SECCIO */

.seccio.setena-seccio {
  background: #ffe087;
  display: flex;
  flex-wrap: wrap;
  padding: 80px 100px;
}

.setena-seccio .inner-seccio.seccio-esquerra {
  width: 50%;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.setena-seccio .inner-seccio.seccio-dreta {
  width: 50%;
}

.setena-seccio h4 p {
  font-family: 'Archivo-Light' !important;
  font-size: 60px;
  line-height: 70px;
}

.setena-seccio .boto {
  width: max-content;
  margin-top: 20px;
}

.setena-seccio img {
  width: 80%;
}

.sky {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(30deg, #3c61c4, #2b2c6c);
  background: radial-gradient(circle at bottom, #3c61c4, #2b2c6c);
  overflow: hidden;
}
.comets {
  width: 150vw;
  height: 150vh;
  transform-origin: center;
  transform: translate3D(-25vw, -25vh, 1px) rotate(125deg) scale(0.9);
  position: absolute;
}
.comet {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3px;
  height: 75vh;
  background: linear-gradient(#f8f4ec, transparent);
  animation: comet 3s ease-in-out forwards;
}

@keyframes comet {
  0% {
    opacity: 0;
    transform: translateY(200%) scaleY(0);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(0) scaleY(1);
  }
}

#logo-column {
  margin-left: 25%;
}

#logo-luna {
  width: 30%;
  margin: auto;
}

.vc_section.vc_section-has-fill + .vc_section {
  padding-left: 45px;
  padding-right: 45px;
  padding-top: 60px;
  padding-bottom: 60px;
}

/* END SETENA SECCIO */

/* Slider */

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  overflow: hidden;
  display: block;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  left: 0;
  top: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.slick-track:before,
.slick-track:after {
  content: '';
  display: table;
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  float: left;
  height: 100%;
  min-height: 1px;
  display: none;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/* Slider */

.slick-loading .slick-list {
  background: #fff url('./ajax-loader.gif') center center no-repeat;
}

.sphere {
  border-radius: 100%;
  width: 100px;
  height: 100px;
  display: flex;
  overflow: hidden;
  align-items: center;
  position: relative;
  margin: auto;
  border: 1px solid #1d283f;
}

.hemisphere {
  width: 50%;
  height: 100%;
}

.light {
  background-color: #f8f4ec;
}

.dark {
  background-color: #1d283f;
}

.divider,
.divider:after {
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  position: absolute;
  border-radius: 100%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
}

.divider {
  background-color: #1d283f;
}

.divider:after {
  content: '';
  background-color: #f8f4ec;
  transform: rotateY(180deg);
}

@media screen and (min-width: 1501px) {
  .separador-imagen {
    padding: 0px !important;
    height: 100vh;
    background-size: cover !important;
    background-position: center;
  }

  .separador-imagen .vc_row {
    padding: 0px !important;
  }

  .separador-imagen video {
    width: 100vw;
    object-fit: cover;
  }
}

@media screen and (max-width: 1500px) {
}

@media screen and (max-width: 1200px) {
}

@media screen and (max-width: 1000px) {
}

@media screen and (max-width: 900px) {
  #logo-column {
    margin-left: unset;
  }
}

@media screen and (max-width: 800px) {
}

@media screen and (max-width: 650px) {
}

@media screen and (max-width: 470px) {
  video::-webkit-media-controls {
    display: none !important;
    -webkit-appearance: none;
  }
  video::-webkit-media-controls-enclosure {
    display: none !important;
  }
  video::-webkit-media-controls-panel {
    display: none !important;
  }

  .video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; /* se adapta al contenedor */
    pointer-events: none; /* evita que se activen controles */
  }

  .vc_row.wpb_row.vc_row-fluid.vc_row-no-padding[data-vc-full-width='true'] {
    max-width: 100%;
    margin-left: 0%;
    width: 100% !important;
    left: 0px !important;
    padding: 0px;
  }

  .ofrecemos-row {
    width: 100%;
    padding: 0px;
  }

  .ofrecemos-row > .wpb_column {
    margin: 0px;
    padding: 25px 0px;
  }

  .ofrecemos-row .wpb_text_column {
    margin-top: 0px;
  }

  .ofrecemos-row > .wpb_column .vc_column-inner {
    z-index: 2;
    position: relative;
  }

  .ofrecemos-row > .wpb_column .wpb_raw_code {
    margin-bottom: 0px;
  }

  .vc_section.vc_section-has-fill + .vc_section {
    padding-left: 0px;
    padding-right: 0px;
    padding-top: 60px !important;
    padding-bottom: 60px;
  }

  .vc_column_container > .vc_column-inner {
    padding-left: 0px;
    padding-right: 0px;
  }

  p {
    font-size: 20px;
    line-height: 120%;
  }

  .vc_section.separador-imagen.vc_section-has-fill {
    padding-top: 0px !important;
  }

  .slider_projectes {
    width: 100% !important;
    margin-top: 0px;
    margin-bottom: 30px;
  }

  .slide_project {
    width: 90% !important;
    margin: 0 auto !important;
    position: relative;
  }

  .slide_project img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    border-radius: 15px;
  }
  .slide_project .slide--content {
    position: absolute;
    bottom: 0px;
    left: 0px;
    flex-direction: column;
    background: #1c1c1c47;
    width: 100%;
    padding: 10px;
  }

  .slide_project .slide--content h3 {
    font-family: 'DavidLibre-Regular' !important;
    color: #f8f4ec;
    font-size: 34px;
  }

  .slide_project .slide--content p {
    font-family: 'Lato-Regular' !important;
    font-size: 20px;
    color: #f8f4ec;
  }

  h2 {
    line-height: 52px;
  }

  #contact-section {
    position: relative; /* necesario para posicionar la flor */
  }

  #contact-section .floresita {
    position: absolute;
    top: 0;
    left: -10px;
    width: 150px;
    height: auto;
    z-index: 10;
    pointer-events: none;
  }

  #contact-section .monigote {
    position: absolute;
    top: 120px;
    right: -40px;
    width: 150px;
    height: auto;
    z-index: 10;
    pointer-events: none;
  }

  #contact-section .bolas {
    position: absolute;
    top: 70px;
    right: 0px;
    width: auto;
    height: auto;
    z-index: 10;
    pointer-events: none;
  }

  #contact-section .vc_row.wpb_row.vc_row-fluid {
    z-index: 2;
  }

  #contact-section .ola {
    position: absolute;
    bottom: 0px;
    left: 0px;
    height: auto;
    z-index: 1;
    pointer-events: none;
  }

  #contact-section h3 {
    font-size: 34px;
    color: #1c1c1c;
    margin-bottom: 25px;
  }

  #contact-section a {
    font-size: 24px;
    color: #1c1c1c;
  }

  #site-footer {
    display: none;
  }

  .boto * {
    margin-bottom: 35px !important;
    background: #2f3a59f0;
    color: #f8f4ec;
    padding: 10px 20px;
    border-radius: 15px;
    margin-top: 35px;
    text-decoration: none;
  }
}
