@font-face {
  font-family: "Tobias-Light";
  src: url("../fonts/Tobias-Light.woff") format("woff");
}
* {
  margin: 0;
  padding: 0;
  font-family: "Tobias-Light", sans-serif;
  box-sizing: border-box;
  padding-bottom: env(safe-area-inset-bottom);
}
body {
  width: 100%;
}
a {
  position: relative;
}
a::before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
a:hover::before {
  transform: scaleX(1);
}
header {
  width: 100%;
  height: 620px;
  position: relative;
}
nav {
  transition: all 0.3s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 25px;
  width: 100%;
  z-index: 4;
  min-height: 60px;
}
nav ul {
  
  transition: left 0.3s;
  display: flex;
  flex-direction: row;
  gap: 20px;
  list-style: none;
  max-width: 1280px;
  margin: 0 auto;
}
nav ul li:nth-child(4) {
  flex: 1;
}
nav ul li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
#hamburguesa{
  transition: left 0.3s;
  left: -100px;
  position: absolute;
    width: 32px;
    height: 32px;
    top: 15px;
}
#logo {
  position: fixed;
  width: 400px;
  left: calc(50% - 200px);
  top: 30px;
}
.logo2 {
  transition: all 0.3s;
  position: fixed;
  width: 120px;
  left: calc(50% - 60px);
  top: 9px;
  z-index: 10;
  opacity: 0;
}
#parallax {
  height: 100%;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
#otras{
  background-color: #6285AF;
  display: flex;
  justify-content: center;
}
#otras div{
  width: 100%;
  max-width: 1280px;
  padding: 300px 20px 50px 20px;
  text-align: center;
}
#otras h2, #otras p{
  color: #fff;
  margin-bottom: 20px;
}
#otras #logo{
  position: absolute;
  top: 90px;
}
#autom{
  height: auto;
}
section {
  position: relative;
  z-index: 2;
}
.sec1 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #6285af;
  background-image: url(../images/fondo1.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
  padding: 40px 0;
}
.sec1 h1 {
  font-size: 23px;
  line-height: 28px;
  text-align: center;
  color: #fff;
  font-weight: 100;
  max-width: 600px;
  padding: 0px 20px;
}
.sec2 {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: #fbf4ea;
  padding: 100px 0
}
.sec2 h2 {
  font-size: 56px;
  line-height: 60px;
  text-align: left;
  color: #000;
  font-weight: 100;
  margin-bottom: 20px;
}
.sec2 p {
  font-size: 20px;
  line-height: 24px;
  margin-bottom: 20px;
  color: #000;
}
.sec2col1,
.sec2col2 {
  position: relative;
  max-width: 600px;
  width: 100%;
  padding: 0 20px;
}
.sec2col1{
  display: flex;
  justify-content: center;
}
.sec3 {
display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    background-color: #fbf4ea;
    padding: 50px 0 100px;
}
.sec4{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #E8C996;
  height: auto;
  padding: 100px 0;
  overflow: hidden;
}
.sec5{
  height: 750px;
  position: relative;
}
.sec6{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #AB7565;
  height: auto;
  padding: 30px 0;
}
.galeria2, .galeria4{
  height: 100%;
}
.galeria2 .splide__track, .galeria4 .splide__track{
  height: 100%;
}
.galeria2 .splide__pagination__page, .galeria4 .splide__pagination__page {
  border-radius: 0;
    opacity: 1;
  background: #fff;
  border: 0;
  display: inline-block;
  height: 14px;
  width: 14px;
  margin: 8px;
  margin-bottom: 50px;
  padding: 0;
  position: relative;
  transform: rotate(45deg);
  transition: transform .2s linear;
}
.galeria2 .splide__pagination__page.is-active, .galeria4 .splide__pagination__page.is-active {
  background: #E8C996;
  transform: scale(1) rotate(135deg) !important;
  z-index: 1;
}
.galeria2 .splide__slide, .galeria4 .splide__slide{
  background-size: contain;
}
.listado ul{
  transition: all .5s;
  list-style: none;
  width: calc(100% - 40px);
  margin: 0 20px;
  max-width: 1200px;
  padding-left: 20px;
  border-left: 2px solid;
  margin-left: 200px;
  opacity: 0;
}

.listado ul li{
  font-size: 20px;
    margin-bottom: 10px;
}
.listado ul li:last-child{
  margin-bottom: 0;
}
.listado2{
  margin-left: 0px!important;
  margin-right: 0px!important;
  opacity: 1!important;
}
.enlace{
  transition: all .5s;
  margin: 0 20px;
  text-align: right;
  font-size: 20px;
  position: relative;
  text-decoration: none;
  color: #000;
}
.enlace img{
  position: relative;
  top: 2px;
  margin-left: 10px;
}
.enl{
  width: calc(100% - 40px);
    margin: 0 20px;
    max-width: 1200px;
    text-align: right;
    margin-top: 50px;
    
  margin-right: 200px;
}
.enl a::before {
  background-color: #000;
}
.interesa{
  width: 100%;
    max-width: 1200px;
    text-align: center;
}
.interesa a{
  color: #fff;
  text-transform: uppercase;
}
.interesa img{
  filter: brightness(0) invert(1);
}
.carta {
  transition: all 0.5s;
  width: calc(100% - 40px);
  transform: perspective(4000px) rotateY(90deg);
}
.carta span {
  position: absolute;
  width: 100%;
  bottom: 10%;
  color: #a66e61;
  font-size: 46px;
  text-align: center;
  padding: 0 50px;
}
.carta img{
  width: 100%;
}
.carta2 {
  transform: perspective(1200px) rotateY(0deg) !important;
}
.estrella {
  margin-top: 50px;
}

.salto {
  margin-top: 30px;
}
.men {
  background-color: #6285af;
}
nav li{
  position: relative;
}
.logo2b {
  opacity: 1;
}

/* Slider */
.splide {
  width: 100%;
}
.splide__track {
}
.splide__slide {
  padding: 0 10px;
}
.splide__slide img {
    transition: all .3s;
  width: 100%;
  
}
.galeria1 img:hover, .galeria3 img:hover{
    cursor: pointer;
    transform: scale(0.95);
}
.submenu{
  position: absolute;
  left: -20px;
  top: 22px;
  background-color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.submenu a{
  color: #000;
}
#foto{
    display: none;
    text-align: center;
    position: fixed;
    width: 100%;
    height: calc(100% - 58px);
    background-color: #fbf4ea;
    z-index: 3;
    top: 58px;
    padding: 50px;
}
#foto2, #foto2 img{
  height: 100%;
  width: 100%;
  object-fit: contain;
}
.foto2{
    transition: all .5s;
    margin-top: 50px;
}
.foto2o{
    margin-top: 0;
}

#sec7, #sec8{
  background-color: #f0f4f2;
}
#sec7 .carta span{
  color: #5089B1;
}
#sec9{
  background-color: #B5C6BF;
}
#sec12{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #eeeae1;
}
#sec12 img{
  max-width: 1200px;
  width: 100%;
}
#sec13{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #6285AF;
  padding: 100px 0 0px;
}
#sec13 p{
  font-size: 40px;
  color: #fff;
}
#sec13 .tel{
  font-size: 30px;
  margin-top: 50px;
}
#sec13 .estrella{
  margin-bottom: 50px;
}
.foo{
  transition: all 0.3s;
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 25px;
  width: 100%;
  z-index: 3;
  overflow: hidden;
}
.foo ul li:nth-child(5) {
  flex: 1;
}
.foo ul{
    display: flex;
    flex-direction: row;
    gap: 20px;
    list-style: none;
    max-width: 1280px;
    margin: 100px auto 0;
}
.foo ul li{
  line-height: 40px;
}
.foo ul li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.foo ul li{
  color: #fff;
  font-size: 14px;
}
.boton{
  position: relative;
    text-align: right;
    margin-top: 50px;
}
.boton a{
  transition: all .3s;
  background-color: #E8C996;
  color: #A66E61;
  text-decoration: none;
  padding: 25px 60px;
  border-radius: 50px;
  font-size: 20px;
  position: absolute;
    right: 0;
    top: 0;
}
.boton a:hover{
  transform: scale(0.95);
}
.boton2 a{
  background-color: #B5C6BF;
  color: #5089B1;
}

.menumovil{
  left: 0;
}
.hamburmovil{

  z-index: 10;
}
.hamburmovil .hamb{
  fill: #000;
}
#res ul{
  transition: all 0.3s;
  height: 0;
  padding: 0 20px;
  overflow: hidden;
}
#res:hover ul{
  height: 175px;
  padding: 20px;
}
#res ul li a::before{
  background-color: #000;
}








@media screen and (max-width: 1200px) {
  #logo {
    top: 100px;
  }
  .sec2{
    flex-direction: column;
  }
  .carta{
    margin-bottom: 50px;
  }
}
@media screen and (max-width: 950px) {
  .sec5 {
    height: 500px;
  }
  nav ul{
    position: fixed;
    width: 300px;
    background-color: #fff;
    flex-direction: column;
    left: 0;
    top: 0;
    height: 100vh;
    padding: 70px 20px 90px 20px;
    left: -300px;
  }
  nav ul li a{
    font-size: 18px;
    line-height: 22px;
    color: #000;
    float: left;
    width: 100%;
  }
  #hamburguesa{
    left: 20px;
  }
  .idioma{
    width: auto;
    margin-right: 20px;
    font-size: 18px;
    margin-top: -20px;
    margin-bottom: 10px;
  }
  #logo{
    max-width: 250px;
    left: calc(50% - 125px);
    top: 70px;
  }
  #sec13 p {
    font-size: 24px;
  }
  .foo ul{
    flex-direction: column;
    gap: 0px;
    margin: 50px 0 0;
  }
  #sec13{
    padding: 20px 0 0 0;
  }
  #res ul{
    transition: none;
    height: auto;
    text-align: left;
    margin-top: 20px;
    padding: 0px;
    background-color: transparent;
    max-width: 200px;
    position: relative;
  }
  #res:hover ul{
    height: inherit;
    padding: 0 0 0 20px;
  }
  #res:hover ul li a::before{
    background-color: #fff;
  }
}
@media screen and (max-width: 500px) {
  .carta span{
    font-size: 40px;
  }
  .galeria2 .splide__pagination__page, .galeria4 .splide__pagination__page {
    margin: 0 5px 30px;
    width: 10px;
    height: 10px;
  }
  
}
@media screen and (max-width: 460px) {
  .carta span{
    font-size: 28px;
  }
}