:root {
  /*///// colors /////*/
  --main-black: #000000;
  --main-white: #ffffff;
  --main-grey: #d3d3d3;
  --main-color: #9bbdac;
  --main-color-dark: #7a9587;
  --secondary-color: #faf3e6;
  --secondary-color-dark: #dfd8cb;

  /*///// fonts  /////*/
  --main-font: 'EB Garamond';
  --secondary-font: 'trajan pro', serif;
  --third-font: sans-serif;

  /*///// padding / margin /////*/
  --padding-container: 1rem;
  --margin-container: 1rem;
  --padding-content: 0.5rem;
  --margin-content: 0.5rem;
}

body {
  background-color: var(--main-white);
}

.hg-pl-menu {
  background-color: transparent;
  transition: background .6s ease;
  padding: 0.5rem;
}

.hg-pl-menu.scrolled,
.hg-pl-menu.active {
  background-color: var(--secondary-color);
}

.hg-burger {
  margin-right: 1rem;
}

.hg-burger span,
.hg-burger span:before,
.hg-burger span:after {
  background: var(--main-white);
  transition: .3s;
}

.hg-pl-menu.scrolled .hg-burger span,
.hg-pl-menu.scrolled .hg-burger span:before,
.hg-pl-menu.scrolled .hg-burger span:after {
  background: var(--main-color);
}

.hg-burger.active span,
.hg-burger.active span:before,
.hg-burger.active span:after {
  background: var(--main-color);
}

.hg-nav .menu-contact {
  transform: translateY(50px);
}

.hg-nav .menu-contact a {
  font-size: 0.9rem;
  font-family: var(--secondary-font);
}

.menu-logo {
  height: 0;
  padding: 0 2rem;
}

.hg-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 0;
  flex-flow: column wrap;
  justify-content: center;
  align-content: center;
  z-index: -1;
  width: 100%;
  transform: translateY(-100vh);
  transition: transform ease .3s;
  background-color: var(--secondary-color);
  z-index: 900;
}

.hg-nav.active {
  display: flex;
  transform: translateY(0);
}

.hg-nav a {
  font-size: 1.3rem;
  line-height: 1rem;
  cursor: pointer;
}

.hg-nav li {
  margin: 1rem;
  border-bottom: solid 2px transparent;
}

.hg-nav li:hover {
  border-bottom: solid 2px var(--main-color);
}

.hg-nav img {
  height: 120px;
  position: absolute;
  top: 130px;
  right: 50%;
  transform: translate(50%, 0%);
}

.menu-lang {
  display: flex;
  flex-flow: row wrap;
  justify-content: end;
  padding-top: 4px;
}

.menu-lang a,
.menu-lang span {
  width: auto;
  padding: 0 0.3rem;
  font-family: var(--main-font);
  color: var(--main-white);
}

.home .header-logo-text a {
  opacity: 0;
  pointer-events: none;
}

.home .scrolled .header-logo-text a {
  opacity: 1;
}

.header-logo-text p {
  margin: 0;
  font-family: var(--secondary-font);
  color: var(--main-white);
  font-size: 0.9rem;
  line-height: 1.5rem;
}

.header-logo-text p:nth-child(2) {
  font-size: 0.7rem;
}

.hg-pl-menu.scrolled .menu-lang a,
.hg-pl-menu.scrolled .menu-lang span,
.hg-pl-menu.scrolled .header-logo-text p,
.hg-pl-menu.active .menu-lang a,
.hg-pl-menu.active .menu-lang span,
.hg-pl-menu.active .header-logo-text p {
  color: var(--main-color);
}

h1,
h2,
h3 {
  font-weight: 400;
}

.container-block {
  height: 100vh;
  width: 100%;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  display: flex;
  flex-flow: row wrap;
  background-color: var(--main-white);
}

.first-container {
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
  color: white;
  border: 0;
  padding: 20%;
  padding-top: 20px;
  position: fixed;
  z-index: -1;
}

.first-container img {
  height: 120px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.banner-image {
  position: relative;
  z-index: -2;
  height: 100vh;
}

.home-boxes a {
  font-size: 2rem;
  line-height: 3rem;
  text-align: center;
  padding: 3rem;
}

.home-boxes p {
  font-size: 1.3rem;
  line-height: 2rem;
  text-align: center;
  padding: 0 20%;
}

h1,
h2 {
  font-family: var(--secondary-font);
}

.first-container h1 {
  font-size: 3rem;
  line-height: 4rem;
  margin-bottom: 0;
}

.first-container h2 {
  font-size: 2rem;
}

.first-container p {
  font-size: 1.3rem;
  line-height: 2rem;
  text-align: center;
  padding: 0 10%;
}

.two-divs-one {
  width: 35%;
  border-right: 2px solid white;
}

.two-divs-two {
  width: 65%;
}

.three-divs-one {
  width: 65%;
  border-right: 2px solid white;
}

.three-divs-inside-container {
  width: 35%;
  display: flex;
  flex-flow: column wrap;
  height: 100%;
}

.three-divs-two {
  width: 100%;
  height: 50% !important;
  border-bottom: 2px solid white;
}

.three-divs-three {
  width: 100%;
  height: 50% !important;
}

.home-div-link {
  height: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  cursor: pointer;
}

.home-div-link a {
  display: block;
  color: var(--main-white);
  text-align: center;
  width: 100%;
  height: 100%;
  font-size: 2.2rem;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.25);
}

.darker-background {
  background-color: rgba(0, 0, 0, 0.25);
}

.home-div-link a:hover {
  background-color: rgba(255, 255, 255, 0);
}

.home-div-block {
  height: 100%;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  color: var(--main-white);
}

.block-text,
.block-image {
  padding: 3rem;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  max-height: 100vh;
  min-height: 250px;
}

.block-text h3 {
  margin: 3rem 0;
}

.block-vertical-image {
  padding: 3rem 10rem;
}

.block-image .background-image {
  min-height: 250px;
}

@media (max-width: 1600px) {
  .block-vertical-image {
    padding: 3rem 8rem;
  }
}

@media (max-width: 1400px) {
  .block-vertical-image {
    padding: 3rem 6rem;
  }
}

@media (max-width: 1200px) {
  .block-vertical-image {
    padding: 3rem 4rem;
  }
}

@media (max-width: 992px) {
  .block-vertical-image {
    padding: 3rem;
  }
}

.block-60 {
  width: 60%;
}

.block-50 {
  width: 50%;
}

.block-40 {
  width: 40%;
}

.block-text h3 {
  font-size: 2.5rem;
}

.block-text .block-before-title {
  font-size: 0.9rem;
  color: #cbbc5a;
}

.block-text p {
  border-left: 1px solid var(--main-color);
  padding-left: 20px;
  padding-bottom: 2rem;
  line-height: 2rem;
  font-size: 1.3rem;
  color: #7b7b7b;
}

.block-map {
  background-color: #f3f3f3;
  padding: 3%;
}

.block-map iframe {
  width: 100%;
  height: 50vh;
}

.background-image:not(.visible) {
  background-image: none !important;
  background-color: #f3f3f3;
}

.background-image {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.vertical-img {
  height: 100%;
}

.horizontal-img {
  height: 100%;
  background-size: contain;
}

/*.image-fixed{
  background-attachment: fixed;
}*/
@supports (-webkit-touch-callout : none) {
  .image-fixed {
    background-attachment: scroll;
  }
}

@supports not (-webkit-touch-callout : none) {
  .image-fixed {
    background-attachment: fixed;
  }
}

.hg-gallery-img {
  display: flex;
}

.hg-gallery-img img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hg-gallery-left,
.hg-gallery-right {
  color: var(--main-white);
}

.img-casas {
  min-height: 400px;
}

.gallery-casas,
.gallery-casas .hg-gallery-img img {
  height: 100%;
}

.gallery-casas .hg-gallery-img {
  display: none;
}

.gallery-casas .hg-gallery-img:first-child {
  display: block;
  height: 100%;
  width: auto;
  overflow: hidden;
  padding: 0;
}

.gallery-casas .hg-gallery-img:hover {
  transform: none;
}

.gallery-casas {
  position: relative;
}

.more-images {
  position: absolute;
  bottom: 10px;
  right: 15px;
  color: white;
  font-size: 1.5rem;
  opacity: 0.8;
  transition: all ease .2s;
}

.gallery-casas:hover .more-images {
  opacity: 1;
  transform: scale(1.2);
}

.container-casas p {
  line-height: 1.8rem;
  font-size: 1.2rem;
  color: #7b7b7b;
}

.container-casas h3 {
  margin-top: 0;
}

.hg-slider-images {
  max-height: 100vh;
}

.hg-pl-slider .hg-slider-left,
.hg-pl-slider .hg-slider-right {
  color: var(--main-white);
}

.container-block .hg-slider-images .background-image {
  position: relative;
  z-index: -2;
  height: 100vh;
}

.hg-slider-images .background-image .container-block {
  position: fixed;
  z-index: -1;
}

.hg-pl-slider.container-block .hg-slider-left,
.hg-pl-slider.container-block .hg-slider-right {
  opacity: 1;
  position: fixed;
}

.hg-pl-gallery .hg-gallery-close {
  top: 60px;
}

.hg-slider-img {
  height: 100%;
}

.services-container p,
.services-text {
  font-size: 1.8rem;
  line-height: 2.5rem;
}

.services-text {
  padding: 0 20%;
}

@media (max-width: 992px) {
  .block-60 {
    width: 50%;
  }

  .block-40 {
    width: 50%;
  }

  .block-text,
  .block-image,
  .block-image img {
    padding: 2rem;
  }

  .block-text p {
    line-height: 1.8rem;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .first-container {
    justify-content: start;
    padding-top: 70px;
  }

  .first-container img {
    margin-bottom: 20px;
  }

  .first-container h1 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .first-container h2 {
    font-size: 1.5rem;
    line-height: 1.5rem;
  }

  .first-container p {
    /*font-size: 1rem;*/
    line-height: 1.8rem;
    padding: 0;
  }

  .nav-row {
    margin: 0 1rem;
  }

  .hg-nav img {
    height: 100px;
    top: 80px;
  }

  .two-divs-one,
  .two-divs-two {
    width: 100%;
    height: 50%;
    border: 0;
  }

  .three-divs-inside-container {
    width: 100%;
    height: 67%;
  }

  .three-divs-one {
    width: 100%;
    height: 33%;
  }

  .three-divs-two {
    height: 50%;
  }

  .two-divs-one,
  .three-divs-one,
  .three-divs-two,
  .three-divs-three {
    border: 0;
    border-bottom: 2px solid var(--main-white);
  }

  .container-block.container-block-last-home {
    height: 150vh;
  }

  .block-40,
  .block-50,
  .block-60 {
    width: 100%;
  }

  .block-text,
  .block-image,
  .block-image img {
    padding: 1rem;
  }

  .block-text h3 {
    margin: 2rem 0;
  }

  .img-casas {
    height: 250px;
  }

  .container-block:has(.block-text) {
    height: auto;
  }

  .block-reverse {
    flex-direction: column-reverse;
  }

  .services-text {
    padding: 0 10%;
  }

}

@media (max-width: 576px) {
  .hg-menu .contact {
    font-size: 1.5rem;
    margin: 0;
    padding: 0.9rem;
  }
}

.hg-slider.hg-border-none {
  margin-top: 50px;
}

.hg-slider-left,
.hg-slider-right {
  opacity: 0;
  color: var(--main-color-dark);
}

.hg-button {
  display: block;
  text-align: center;
  font-size: 1.3rem;
  line-height: 2rem;
  padding: 1rem 1rem;
  font-family: var(--secondary-font);
  text-transform: uppercase;
  letter-spacing: 2px;
}

footer {
  background-color: var(--secondary-color);
  z-index: 16;
  position: relative;
  padding-bottom: 60px;
}

@media (max-width: 992px) {
  footer {
    padding-bottom: 120px;
  }

  #WAButton {
    bottom: 130px;
  }
}

footer a {
  color: var(--main-black);
}

footer a:hover {
  text-decoration: underline;
}

footer h2 {
  font-size: 1.3rem;
  padding: 0 1rem;
}

.footer-block {
  width: fit-content;
  margin: 1rem auto;
}

.hg-img-container {
  max-height: 300px;
}

.hg-padding-first-content {
  padding-top: 4rem;
}

/*////////////////////////////////////
////////// IFRAME / RATIO ////////////
////////////////////////////////////*/

iframe {
  border: 0;
}

.hg-ratio {
  position: relative;
  width: 100%
}

.hg-ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.hg-ratio>* {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hg-ratio-1x1 {
  --bs-aspect-ratio: 100%;
}

.hg-ratio-4x3 {
  --bs-aspect-ratio: calc(3 / 4 * 100%);
}

.hg-ratio-16x9 {
  --bs-aspect-ratio: calc(9 / 16 * 100%);
}

.hg-ratio-21x9 {
  --bs-aspect-ratio: calc(9 / 21 * 100%);
}

*,
::after,
::before {
  box-sizing: border-box;
}

img,
svg {
  vertical-align: middle;
}

/*
.cookiescriptlogo {
  fill: #ce8c81!important;
}
*/
.hg-form .hg-form-element[type="checkbox"] {
  margin-top: 0;
  vertical-align: middle;
}

.bookings .contenedor_buscador {
  display: none;
}

.bookings .section-bookings {
  background-color: var(--main-color);
}

.bookings .container-bookings {
  padding-left: 4rem;
  padding-right: 4rem;
  background-color: var(--main-white);
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .bookings .container-bookings {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.hg-form input,
.hg-form textarea,
.hg-form select {
  border-style: solid;
  border-color: var(--main-color);
}

.hg-form .hg-button {
  font-size: inherit;
  line-height: inherit;
}