* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-y: scroll;
  scrollbar-width: none; /* para Firefox */
}

html::-webkit-scrollbar {
  display: none; /* para Chrome, Safari y Opera */
}
/*---VARIABLES--*/
:root {
  --color-marron:  #302725  !important;
  --color-marron-secundario: #533e31!important;
  --color-naranja: #bb8540 !important;
  --color-beige-oscuro: #bda793 !important;
  --color-beige: #d0ccc0!important;
}
body{
  background-color: var(--color-beige);
}

body, p,h1 {
  font-family: "neue-haas-grotesk-display", sans-serif;
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

.section {
  padding-bottom: 30px;
  padding-top: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}
.section.one {
  z-index: 1;
}

.section.two {

  z-index: 2;
}

.section.three {

  z-index: 3;
}

.section.four {

  z-index: 4;
}

.section.four.section_to-pin {
  height: 100vh;
  left: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
}
.section.four.section_to-pin .section_pin {
  height: 100vh;
  padding: 7vh 0px 7vh 0px;
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}


.section.four.section_to-pin .section_pin .image_wrapper {
  width: calc(86vh * 0.7 );
  height: 86vh;
  position: relative;
  display: flex;
  justify-content: center;
}

.section.four.section_to-pin .section_pin .image_wrapper .image {
  width: 100%;
  height: 86vh;
  object-fit: cover;
  object-position: center;
}
.section.four.section_to-pin .section_pin .image_wrapper.active {
  opacity: 1;
}
.section.five {
  z-index: 5;
}

.section.six {
  z-index: 6;
}

.section.seven {
  z-index: 7;
}

.section .grid-container {
  width: 100%;
}

@media screen and (min-width: 640px) {
  h1 {
    font-size: 40px;
    line-height: 50px;
  }
}
@media screen and (min-width: 1024px) {
  h1 {
    font-size: 48px;
    line-height: 58px;
  }
}
@media screen and (min-width: 1200px) {
  h1 {
    font-size: 56px;
    line-height: 66px;
  }
}
@media screen and (min-width: 1440px) {
  h1 {
    font-size: 64px;
    line-height: 74px;
  }
}






/* HEADER */
header{
  height: 7vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #302725 !important;
  position: fixed;
  width: 100%;
  z-index:99;
  background-color: var(--color-beige);
}
footer {
  height: 7vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #302725 !important;
  width: 100%;
  z-index:98;
  font-size: 12px;
}

header {
  top: 0;
}

footer {
  bottom: 0;
}
.left, .right {
  padding: 0 30px;
}
.abp-icono {
  padding: 10px 30px;
  font-size: 30px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.abp-menu {
  font-size: 45px !important;
  font-weight: 500 !important;
  color: var(--color-marron) !important;
}
.abp-icono a {
  color: var(--color-marron) !important;
  text-decoration: none;
}

.abp-icono i{
  font-style: italic !important;
  color: var(--color-naranja) !important;
}

p.abp-texto  {
  font-size: 20px !important;
  line-height: 1.2em !important;
  text-align: normal !important;
  font-weight: 500 !important;
  color: var(--color-marron) !important;
  margin-bottom: 10px !important;
}

.abp-h1 {  
  font-size:  70px !important;
  font-weight: 600 !important;
  color: var(--color-marron) !important;
  line-height: 60px;
  padding-bottom: 10px;
}
.abp-texto-grande{
  font-weight: 600 !important;
  color: var(--color-marron);
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-size: 10vw; /* Escala el tamaño del texto con el ancho de la ventana */
  text-align: center; /* Alinea el texto horizontalmente */
  position: absolute;
  margin-bottom: 7vh;
  line-height: 0;
  bottom: 0;
}



/* Estilos raros */

.grid-container {
  max-width: 100vw; 
  margin-left: auto;
  margin-right: auto;
}

.cell{
  padding: 0px 30px !important;
}

.column-30vw {
  max-width: 33.33vw;
  /* Estilos adicionales si son necesarios */
}


.dos-columnas {
  column-count:2;
  column-gap:30px;
}



/* Fullscreen Menu */
.fullscreen-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100%;
  background-color: var(--color-naranja);
  z-index: 100;
  text-align: center;
  padding-top: 100px;
}

.fullscreen-menu .menu-items {
  position: absolute;
  bottom: 30px;
  left: 30px;
  text-align: left;
  font-family: "neue-haas-grotesk-display", sans-serif;
}

.fullscreen-menu .abp-idiomas {
  position: absolute;
  bottom: 30px;
  right: 30px;
  font-size: 25px;
  font-family: "neue-haas-grotesk-display", sans-serif;
  text-decoration: none;
}

.fullscreen-menu .abp-idiomas a{
  text-decoration: none;
  color: var(--color-marron);
  font-weight: 500;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 0px;
}

.fullscreen-menu .menu-items a {
  color: var(--color-marron);
  display: block;
  font-size: 90px;
  font-style: normal;
  font-weight: 500;
  margin-bottom: 0px;
  line-height: 1.2;
  text-decoration: none;
  opacity: 0; /* Inicialmente ocultos para la animación */

}

.fullscreen-menu .menu-items a:hover {
  transition: transform 0.4s ease;
  color: var(--color-beige);
  font-family: "neue-haas-grotesk-display", sans-serif;
  transform: skewX(-14deg) !important;
}


.close-menu {
  position: absolute;
  top: 10px;
  right: 30px;
  font-size: 20px;
  font-weight: 500;
  color: var(--color-marron);
  cursor: pointer;
  font-family: "neue-haas-grotesk-display", sans-serif;
}


.abp-nombre{
  padding-top: 20px !important;
  font-size: 25px !important;
  font-weight: 400 !important;
}

.abp-nombre-socio{
  font-size: 25px !important;
  font-weight: 400 !important;
}

.abp-cargo{
  font-size: 20px !important;
  font-weight: 400 !important;
  font-style: italic;
  margin-top: -12px;
  margin-bottom: 15px;
}

.abp-publicacion {
  font-size: 20px !important;
  font-weight: 400 !important;
}

.abp-publicacion:hover {
  font-size: 20px !important;
  font-style: italic !important;
  transition: transform 0.4s ease;
  font-family: "neue-haas-grotesk-display", sans-serif;
  transform: skewX(-10deg) !important;
}

a {
  line-height: inherit;
  color: var(--color-marron);
  text-decoration: none;
  cursor: pointer;
}

a:focus, a:hover {
  color: var(--color-marron);
}

/*Imagen Horizontal*/
.abp-imagen-horizontal img {
  height: calc(43vh - 7.5px) !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.image_wrapper.abp-imagen-horizontal{
  width: calc(0.7 * 86vh) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 15px 0px !important;
}

/*Seccion FOTOS*/
.grid-fotos{
  display: grid;
  grid-template-columns: 0.8fr 2fr;
  gap: 30px;
  padding: 0 30px;
}
.image-vertical{

  object-fit: cover;
  width: 100%;
  height: 100%;
}

/*Seccion Equipo*/
.grid-equipo{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 30px 30px 0 30px;
}

/*Seccion Premios*/
.grid-premios{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 0 30px 30px 30px;
}

/*SECCION SOCIOS*/
.section-socio{
  display: flex; 
  gap: 30px; 
  justify-content: space-between;
  padding: 30px;
}

.contenedor-de-texto{
  position: relative;
}

.column-70vw {
  width: 60vw;
}

.column-30vw {
  width: 40vw;
  position: absolute;
  bottom: 0;
  right: 0;

}

.column-30 {
  width: 30vw;
  position: absolute;
  bottom: 0;
  left: 0;
}






/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--color-marron-secundario); /* Ajusta al color deseado */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1000; /* Asegúrate de que esté sobre todo lo demás */
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
  opacity: 1;
  visibility: visible;
  transition: transform 0.8s ease-out; /* Agrega una transición suave para transformar y opacidad */
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#preloader .logo {
  margin-bottom: 20px;
  font-weight: 600 !important;
  color: var(--color-beige);
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-size: 10vw; /* Escala el tamaño del texto con el ancho de la ventana */
  text-align: center; /* Alinea el texto horizontalmente */
  position: relative;
  z-index: 2;
}

#preloader.hidden {
  transform: translateX(-100%); /* Mueve el preloader hacia la izquierda al agregar la clase 'hidden' */
}

#loading-percentage {
  font-size: 10vw;
  font-family: "neue-haas-grotesk-display", sans-serif;
  color: var(--color-beige);
}

.covered {
  color: #ffffff; /* O el color que prefieras cuando las letras son cubiertas */
}
.seccion-nosotros{
  width: 65vw !important; 
  padding-left: 30px !important;
}
.colaboradores{
  padding:0 30px;
}

.solo-movil{
  display:none !important;
}

.icono-inicio{
  width: 200px;
}
/* Media Query para dispositivos móviles */

.abp-h2 {  
  font-size:  70px !important;
  font-weight: 600 !important;
  color: var(--color-marron) !important;
  line-height: 1 !important;
  letter-spacing: 0;
}

.abp-slogan {  
  font-size: 20px !important;
  font-family: "neue-haas-grotesk-display", sans-serif;
  font-weight: 500 !important;
  font-style: italic !important;
  color: var(--color-naranja) !important;
  padding-bottom: 10px !important;
}

/*Menu rápido*/
.superior{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.fixed-menu {
  width: 300px;
  position: fixed;
  display: flex;
  top: 95%;
  justify-content: space-evenly;
  border: 1.5px solid var(--color-marron);
  background-color: var(--color-marron);
  transform: translateY(-0%);
  padding: 5px 0px;
  border-radius: 50px;
  z-index: 1000;
}

.fixed-menu .menu-item {
  display: block;
  font-size: 20px !important;
  line-height: 1.2em !important;
  text-align: normal !important;
  font-weight: 500 !important;
  color: var(--color-beige) !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.fixed-menu .menu-item.active {
  color: var(--color-naranja);
}

/*Links legales*/

#policy-links {
  display: flex;
  gap: 20px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  align-items: center;
}

#policy-links.visible {
  opacity: 1;
}

.policy-item {
  display: inline-block;

}

.policy-item a{
  color: var(--color-marron);
  text-decoration: none;
  font-size: 12px;
}

@media (max-width: 768px) {
  .abp-h1{
    font-size: 50px !important;
    line-height: 40px;
    padding-top: 20px !important;
  }
  .abp-h2 {
    font-size: 50px !important;
    font-weight: 600 !important;
  }
  .solo-movil{
    display:grid !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
  .left, .right {
    padding: 0 20px;
  }
  .image-inicio{
    height: 70vh !important;
    width: auto !important;
  }
  .section.four.section_to-pin, .section.four.section_to-pin .section_pin {
    flex-direction: column !important;
    align-items: center !important;
    padding: 0px !important;
    height: auto !important; /* Permite que la sección crezca verticalmente según el contenido */
    display: block !important; /* Cambia la disposición a bloque */
  }

  .section.four.section_to-pin .section_pin .image_wrapper,
  .section.four.section_to-pin .section_pin .content_wrapper {
    width: 100% !important; /* Ajusta el ancho al 100% para ocupar el contenedor */
    padding: 10px 20px;
  }
  
  .section.four.section_to-pin .section_pin .image_wrapper .image {
    width: 100% !important; 
  }
  header{
    position: fixed;
  }
  .grid-equipo {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
    padding: 0 20px;
  }
  .seccion-nosotros{
    width: 100% !important; 
    padding: 0 20px !important;
  }
  .fullscreen-menu .menu-items a {
    font-size: 60px !important;
  }
  .close-menu {
    top: 10px;
    right: 20px;
  }
  .abp-icono {
    padding: 5px 20px;
    font-size: 20px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
  }
  .section.four.section_to-pin .section_pin .image_wrapper .image {
    height: 100%;
    padding-bottom: 20px;
  }

  .section.four.section_to-pin .section_pin .image_wrapper {
      width: 100% !important;
      height: auto;

  }
  .grid-fotos {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 20px;
  } 
  /*Seccion Equipo*/
  .grid-equipo{
    gap: 20px;
    padding: 20px 20px 0 20px;
  }

  .section{
    padding-bottom: 20px;
    padding-top: 20px;
  }

  /*Seccion Premios*/
  .grid-premios{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 20px 20px 20px;
  }

  /*SECCION SOCIOS*/
  .section-socio{
    display: none;
  }

  .contenedor-de-texto{
    position: relative;
  }

  .column-70vw {
    width: 100%;
  }

  .column-30vw {
    width: 100%;
    position: absolute;
    bottom: 0;
    right: 0;

  }

  .column-30 {
    width: 30vw;
    position: absolute;
    bottom: 0;
    left: 0;
  }
  .cell {
    padding: 0px 20px !important;
  }

  .colaboradores{
    padding: 20px;
  }
  .abp-texto-grande {
    font-weight: 600 !important;
    color: var(--color-marron);
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-size: 20vw;
    text-align: center;
    position: absolute;
    margin-top: 4vh !important;
    margin-bottom: 4vh;
    line-height: 1;

  }
  #image_wrapper_8{
    height:30vh !important;
  }
  .icono-inicio{
    width: 180px;
  }
  .abp-nombre {
    padding-top: 10px !important;
    font-size: 25px !important;
    font-weight: 400 !important;
  }
  .section.four.section_to-pin .section_pin .image_wrapper .image {
    height: 100%;
    padding-bottom: 0px; 
  }
  #custom-cursor{
    display: none;
  }
  .fixed-menu{
    display: none !important;
  }
  .fullscreen-menu .abp-idiomas {
    top: 10px;
    left:20px;
    height: 7vh;
  }
  .fullscreen-menu {
    text-align: left;
  }
  footer {
    height: auto !important;
    background-color: var(--color-marron)!important;
    display: flex!important;
    flex-direction: column !important;
    position: static !important;
    width: 100% !important;
    z-index:99 !important;
    padding: 20px 0 !important;
    color: var(--color-beige) !important;
    align-items: baseline;
    font-size: 20px;
    font-weight: 500;

  }
  footer a{
    color: var(--color-beige) !important;
  }
  #policy-links {
    display: flex;
    flex-direction: column; /* Apilar elementos verticalmente */
    gap:0px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    align-items: baseline;
  }
  #policy-links.visible {
    opacity: 1;
  }
  .policy-item {
    display: flex;
  }
  .policy-item a {
    color: var(--color-marron);
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
  }
}

@media (min-width: 2600px){

  .abp-texto{
    font-size: 24px !important;
  }
  .abp-slogan {  
    font-size: 24px !important;
  }
}

.imagen-completa{
  width: 100vw !important;
}
#custom-cursor {
  position: fixed;
  pointer-events: none;
  width: 20px;
  height: 20px;
  background-color: var(--color-marron);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border 0.3s ease, background-color 0.3s ease;
  z-index: 999999;
}

#custom-cursor.on-image {
  width: 70px;
  height: 70px;
  background-color:  var(--color-marron);
  background-clip: content-box;
}

#custom-cursor.on-image::after {
  content: '+';
  padding: 0px;
  font-size: 50px;
  font-weight: 300;
  color: var(--color-beige);
  position: absolute;
  left: 50%;
  top: 47%;
  transform: translate(-50%, -50%);
}

#custom-cursor.on-link {
  width: 70px; /* Ajusta al tamaño deseado */
  height: 70px; /* Ajusta al tamaño deseado */
  background-image: url('../images/flecha.png');
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}



#custom-cursor.on-link::after {
  font-size: 20px;
  font-weight: 100;
  color: var(--color-beige);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}


body {
  cursor: none;
}

button, a {
  cursor: none !important;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 7vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  margin: auto;
  display: block;
  height: 86vh;
  opacity: 0; /* Inicialmente invisible */
  transition: opacity 0.6s ease; /* Transición suave de opacidad */
  
}

.lightbox-close {
  position: absolute;
  top: 0px;
  right: 20px;
  color: var(--color-beige);
  font-size: 45px;
  cursor: pointer;
  font-weight: 500;
}

.lightbox-prev, .lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 20px;
  margin-top: -50px;
  color: var(--color-beige);
  font-weight: 500;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.lightbox-prev {
  left: 0;
  border-radius: 3px 0 0 3px;
}

.lightbox-next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/*Pantalla grande 27'*/
@media (min-width: 2400px){
  .abp-texto p {
    font-size: 24px !important;
    line-height: 1.2em !important;
    text-align: normal !important;
    font-weight: 500 !important;
    color: var(--color-marron) !important;
    margin-bottom: 10px !important;
  }
  .abp-slogan {
    font-size: 24px !important;
    font-family: "neue-haas-grotesk-display", sans-serif;
    font-weight: 500 !important;
    font-style: italic !important;
    color: var(--color-naranja) !important;
    padding-bottom: 10px !important;
  }
  header {
    height: 5vh !important;
  }
  .section.four.section_to-pin .section_pin .image_wrapper .image {
    width: 100%;
    height: 90vh;
    object-fit: cover;
    object-position: center;
  }
  .section.four.section_to-pin .section_pin {
    height: 90vh;
    padding: 5vh 0px 5vh 0px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
  }
  .close-menu{
    padding-top: 10px;
  }
  .fullscreen-menu .menu-items a {
    color: var(--color-marron);
    display: block;
    font-size: 120px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0px;
    text-decoration: none;
    opacity: 0;
  }

}


/* Devolver cursor normal dentro del banner de CookieYes */
.cky-consent-container,
.cky-consent-container *,
.cky-consent-bar,
.cky-consent-bar *,
.cky-modal,
.cky-modal *,
[id^="cookieyes-"],
[id^="cookieyes-"] * {
  cursor: auto !important;
}

.grid-equipo .image {
  height: 350px !important;
  object-fit: cover !important;
  width: 100% !important;
}


@media (max-width: 640px){
  .grid-equipo .image {
    height: 290px !important;
  }

}