/* ***********************************************************************
* FUENTES
* ************************************************************************/
@font-face {
  font-family: "Roboto-Bold";
  src: url("./../cookies/fonts/Roboto-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto-Regular";
  src: url("./../cookies/fonts/Roboto-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Roboto-Medium";
  src: url("./../cookies/fonts/Roboto-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Arquitecta-Medium";
  src: url("./../fonts/ArquitectaMedium.otf") format("opentype");
}
@font-face {
  font-family: "Arquitecta-Bold";
  src: url("./../fonts/ArquitectaBold.otf") format("opentype");
}
@font-face {
  font-family: "Avenir-Medium";
  src: url("./../fonts/Avenir-Medium.ttf") format("opentype");
}
@font-face {
  font-family: "Avenir-Heavy";
  src: url("./../fonts/Avenir-Heavy.ttf") format("opentype");
}
@font-face {
  font-family: "Avenir-Regular";
  src: url("./../fonts/Avenir-Regular.ttf") format("opentype");
}
@font-face {
  font-family: "Avenir-Light";
  src: url("./../fonts/Avenir-Light.ttf") format("opentype");
}
/* ***********************************************************************
* BASE
* ************************************************************************/
:root {
  --black: rgb(0 0 0);
  --container: 1440px;
  --primary-color: rgb(255 255 255);
  --secondary-color: rgb(56 57 54);
  --white: rgb(255 255 255);
}
body {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
h1 {
  font-size: clamp(24px, 4vw - 1rem, 38px);
}
h2 {
  color: #ffffff;
  font-family: "Avenir-Heavy";
  font-size: clamp(38px, 4vw - 1rem, 45px);
  font-style: normal;
  font-weight: 800;
  line-height: 50px;
}
h3 {
  color: #73675b;
  font-family: "Arquitecta-Medium";
  font-size: clamp(32px, 4vw - 1rem, 60px);
  font-style: normal;
  font-weight: 500;
  line-height: 107%;
}
h3.white {
  color: #ffffff;
}
h4 {
  color: #ffffff;
  font-family: "Arquitecta-Medium";
  font-size: 54.297px;
  font-style: normal;
  font-weight: 500;
  line-height: 107%;
}
h6 {
  color: #ffffff;
  font-family: "Avenir-Medium";
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 50px;
}
p {
  color: #ffffff;
  font-family: "Avenir-Regular";
  font-size: clamp(18px, 4vw - 1rem, 20px);
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
}
p.light {
  font-family: "Avenir-Light";
}
p.alt-color {
  color: #151d23;
}
p.big {
  font-size: 33px;
}
#PoliticaCookies p {
  color: #000000;
}
p > strong {
  font-family: "Avenir-Heavy";
  font-weight: 800;
}
::selection {
  background-color: #c4b5a6;
  color: #ffffff;
}
img {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
video {
  object-fit: cover;
  width: 100%;
}

.container {
  max-width: var(--container);
}
.picture img {
  min-height: 500px;
  object-fit: cover;
  width: 100%;
}

.button button {
  background-color: #e2e2de;
  border: 0;
  color: #0d0d0d;
  font-family: "Avenir-Medium";
  font-weight: 500;
  padding-block: 16px;
  transition: background-color 600ms ease;
  width: 222px;
}
.button button:hover {
  background-color: #ffffff;
}
.button.secondary button {
  background-color: #73675b;
  color: #ffffff;
  width: 242px;
}
.button.white-button button {
  background-color: #ffffff;
  border: 1px solid #73675b;
  color: #73675b;
  width: 302px;
}
.button.white-button button:hover {
  background-color: #73675b;
  color: #ffffff;
  width: 302px;
}
@media (width <= 768px) {
  .button button {
    width: 100%;
  }
}

/* ***********************************************************************
* HEADER
* ************************************************************************/
.header {
  position: relative;
}
.home-header {
  height: calc(100vh - 81px);
  min-height: 800px;
}
.pages-header {
  height: 100vh;
  min-height: 900px;
}
.header::before {
  background-color: rgb(0 0 0 / 10%);
  content: "";
  height: 100%;
  position: absolute;
  width: 100%;
  z-index: 1;
}
.logos {
  position: relative;
  z-index: 99;
}
#home {
  background: url(./../images/header.jpg) 50% 50% / cover;
}
#proyecto {
  background: url(./../images/proyecto.jpg) 50% 50% / cover;
}
#entorno {
  background: url(./../images/entorno.jpg) 50% 50% / cover;
}
#viviendas {
  background: url(./../images/viviendas.jpg) 50% 50% / cover;
}
#contacto {
  background: url(./../images/contacto.jpg) 50% 50% / cover;
}
@media (width <= 1200px) {
  .home-header,
  .pages-header {
    height: 50px;
    min-height: 500px;
  }
}
/* .header .safadi {
      left: 5%;
      position: absolute;
      top: 5%;
    } */
.header .safadi img {
  width: 360px;
}
/* .header .vents {
      position: absolute;
      right: 5%;
      top: 5%;
    } */
@media (width <= 1200px) {
  .header .safadi img {
    width: 160px;
  }
  .header .vents img {
    width: 140px;
  }
  /* .header .vents {
        left: 5%;
        position: absolute;
        right: initial;
        top: 15%;
      } */
}
/* ***********************************************************************
* HAMBURGUER
* ************************************************************************/
/* Botón del menú hamburguesa */
.hamburger {
  position: absolute;
  top: 4%;
  right: 10px;
  width: 35px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 100;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}

/* Menú desplegable */
.menu {
  position: absolute;
  top: 0;
  left: 0;
  background: #73675b;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding-top: 54px;
  padding-bottom: 18px;
  padding-inline: 10px;
  display: none;
  flex-direction: column;
  width: 100%;
  z-index: 99;
}

.menu a {
  text-decoration: none;
  color: #333;
  padding: 10px;
  border-radius: 4px;
  transition: background 0.3s;
  color: #ffffff;
  font-family: "Arquitecta-Medium";
  font-size: 22px;
}

.menu a:hover {
  background: #c4b5a6;
}

/* Mostrar el menú cuando esté activo */
.menu.active {
  display: flex;
}

/* Animaciones del botón */
.hamburger.active span:nth-child(1) {
  transform: translateY(13px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-13px) rotate(-45deg);
}

/* ***********************************************************************
* NAV
* ************************************************************************/
#nav {
  background-color: #73675b;
}
#secondary-nav {
  background-color: rgb(115 103 91 / 90%);
  bottom: 10%;
  position: absolute;
  width: 100%;
  z-index: 99;
}
#nav ul,
#secondary-nav ul {
  margin-bottom: 0;
}
#secondary-nav img {
  width: 280px;
}
#nav ul li,
#secondary-nav ul li {
  color: #ffffff;
  font-family: "Arquitecta-Medium";
  font-size: 22px;
  list-style: none;
}
/* #nav ul li:hover,
#secondary-nav ul li:hover,
#nav ul li a.active,
#secondary-nav ul li a.active {
  font-family: 'Arquitecta-Bold';
} */
/* ***********************************************************************
* SECTIONS
* ************************************************************************/
#section1,
#section2,
#section3 {
  position: relative;
}
.text {
  color: #ffffff;
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 600px;
}
.text.text-left {
  left: 10%;
}
.text.text-right {
  right: 10%;
}
@media (width <= 992px) {
  .text {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 94%;
  }
  .text.text-left,
  .text.text-right {
    left: 3%;
  }
}
.picture {
  min-height: 700px;
}
.bg-1 {
  background-color: #73675b;
}
.safadi-footer {
  width: 230px;
}
.bg-2 {
  background-color: #c4b5a6;
}
.bg-2 p {
  color: #000000;
  font-family: "Avenir-Regular";
  font-weight: 400;
}
.bg-3 {
  background-color: rgb(115 103 91 / 10%);
}
.paragraph {
  margin: 0 auto;
  width: 580px;
}
.paragraph2 {
  margin: 0 auto;
  width: 280px;
}
.paragraph3 {
  margin: 0 auto;
  width: 550px;
}
@media (width <= 992px) {
  .paragraph,
  .paragraph3 {
    width: 100%;
  }
  .paragraph2 {
    text-align: center;
  }
}
#tipologias ul li {
  list-style: none;
  color: #151d23;
  text-align: center;
  font-family: "Avenir-Light";
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 36.363px;
  margin-block: 18px;
}
.dvestudi {
  max-height: 700px;
}
/* ***********************************************************************
* FORM
* ************************************************************************/
.form h1 {
  font-family: "Roboto-Bold";
  font-size: 13px;
}
.form form .input-style {
  margin-block: 24px;
}
.form form .input-style.md {
  width: 31%;
}
.form form .input-style.xs {
  width: 10%;
}
.form form .input-style.sm {
  width: 25%;
}
.form form .input-style.lg {
  width: 60%;
}
.input-flex {
  display: flex;
  justify-content: space-between;
}
@media (width <= 992px) {
  .form form .input-style.md,
  .form form .input-style.lg {
    width: 100%;
  }

  .form form .input-style.xs {
    width: 25%;
  }
  .form form .input-style.sm {
    width: 70%;
  }

  .input-flex {
    flex-wrap: wrap;
  }
}
.form form .input-style input {
  border: 0;
  border-bottom: 1px solid #4c4c4c;
  caret-color: var(--black);
  color: var(--black);
  font-family: "Avenir-Light";
  font-size: 14px;
  padding: 4px 2px;
  position: relative;
  transition: 350ms ease-in;
  width: 100%;
}
.form form .input-style input::placeholder {
  color: #4c4c4c;
  font-family: "Avenir-Light";
  font-size: 14px;
}
.form form .input-style input:focus {
  border: 0;
  outline: 2px solid #4c4c4c;
}
.form form .checkbox {
  align-items: end;
  display: flex;
  margin-bottom: 8px;
}
.form form .checkbox:first-of-type {
  margin-top: 12px;
}
.form form .checkbox input[type="checkbox"] {
  appearance: none;
  background-color: none;
  border: 1px solid #4c4c4c;
  border-radius: 0.05em;
  cursor: pointer;
  display: grid;
  height: 1em;
  margin: 0;
  place-content: center;
  transform: translateY(-0.075em);
  width: 1em;
}
.form form .checkbox input[type="checkbox"]::before {
  box-shadow: inset 1em 1em #4c4c4c;
  content: "";
  height: 8px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  width: 8px;
}
.form form .checkbox input[type="checkbox"]:checked::before {
  transform: scale(1);
}
.form form .checkbox span {
  color: #4c4c4c;
  font-family: "Avenir-Light";
  font-size: 11px;
  margin-left: 6px;
}
.form .submit {
  margin-top: 24px;
}
.form .submit input {
  background-color: #73675b;
  border: 0;
  color: #ffffff;
  font-family: "Avenir-Light";
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  padding-top: 10px;
  padding-bottom: 6px;
  transition: opacity 300ms ease-in;
  width: 160px;
}
.form .submit input:hover {
  opacity: 0.8;
}
/* ***********************************************************************
* CAROUSEL + RENDERS
* ************************************************************************/
#renders ul {
  padding-left: 0;
}

#renders ul li {
  list-style: none;
  color: #73675b;
  text-align: center;
  font-family: "Arquitecta-Medium";
  font-size: clamp(18px, 4vw - 1rem, 23px);
  font-style: normal;
  font-weight: 500;
  line-height: 107%;
  text-transform: uppercase;
}
@media (width <= 1200px) {
  #renders ul li {
    width: 33%;
  }
}
#renders .owl-carousel .owl-nav {
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  display: flex;
  justify-content: space-between;
  left: 50%;
  padding: 0 40px;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}
#renders .owl-carousel .owl-nav button {
  border: none;
  outline: none;
  pointer-events: all;
  width: 50px;
}
#renders .owl-carousel .owl-nav button img {
  width: 100%;
}
#renders .owl-carousel .owl-nav button:nth-child(2) {
  transform: rotate(180deg);
}
#renders .owl-carousel .item {
  height: 44vw;
  min-height: 300px;
  /* opacity: 0.4; */
  position: relative;
  transition: 0.8s;
}
#renders .owl-carousel .item::before {
  background-color: rgb(115 103 91 / 80%);
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

#renders
  .owl-carousel
  .owl-stage-outer
  .owl-stage
  .owl-item.active
  .item::before {
  background-color: transparent;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
}

#renders .owl-carousel .item img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
#renders .owl-carousel .owl-stage-outer .owl-stage .owl-item.active {
  opacity: 1;
}
#renders .owl-carousel .owl-stage-outer .owl-stage .owl-item.active .item {
  opacity: 1;
  transition: 0.4s;
}
#renders .owl-dots {
  bottom: -5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: max-content;
}
@media (width <= 992px) {
  #renders .owl-dots {
    bottom: -15%;
  }
}
#renders .owl-dots .owl-dot {
  border: 1px solid #73675b;
  border-radius: 15px;
  height: 20px;
  margin: 5px 10px;
  width: 20px;
}
#renders .owl-dots .owl-dot.active {
  background: #73675b;
}
#renders .owl-dots .owl-dot :focus {
  outline: none;
}
/* .custom-nav button {
      background-color: #ffffff;
      border: none;
      margin: 0 8px;
      outline: none;
      pointer-events: all;
      width: 60px;
    }
.custom-nav button img {
      width: 100%;
    }
.custom-nav button:nth-child(2) {
      transform: rotate(180deg);
    } */
@media (width <= 992px) {
  #renders .owl-carousel .owl-nav {
    padding: 0;
  }
  #renders .owl-carousel .owl-nav button img {
    width: 70%;
  }
}
/* ***********************************************************************
* MAP
* ************************************************************************/
#map iframe {
  height: 720px;
}
@media (width <= 1500px) {
  #map iframe {
    height: 800px;
  }
}

@media (width <= 1200px) {
  #map iframe {
    height: 400px;
  }
}
.map-info {
  margin: 0 auto;
  width: 60%;
}
@media (width <= 1700px) {
  .map-info {
    width: 100%;
  }
}
.map-info ul {
  padding-left: 0;
}
.map-info ul li {
  list-style: none;
  color: #151d23;
  font-family: "Avenir-Medium";
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  margin-block: 20px;
}
.map-info ul li > strong {
  font-family: "Avenir-Heavy";
}
/* ***********************************************************************
* FOOTER
* ************************************************************************/
footer {
  background-color: #f1e4d7;
  padding-top: 18px;
}
footer p {
  color: var(--black);
  font-size: 0.8rem;
}
footer a {
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-family: "Roboto-Medium", sans-serif;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
footer a:after {
  background: var(--black);
  bottom: 0;
  content: "";
  height: 2px;
  left: -100%;
  position: absolute;
  transition: left 600ms ease;
  width: 100%;
}
footer a:hover:after {
  left: 0;
}
/* ***********************************************************************
* PÁGINA DE COMPROBANTE
* ************************************************************************/
#comprobante {
  align-items: center;
  background-color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  height: 100vh;
  justify-content: center;
}
#comprobante img {
  height: 148px;
}
#comprobante h1 {
  color: var(--black);
  padding: 24px 0;
  text-align: center;
  width: 470px;
}
#comprobante p {
  color: #1c1b1a;
  font-size: 20px;
  text-align: center;
  width: 520px;
}
#comprobante h4 {
  border-bottom: 2px solid rgb(28, 27, 26);
  color: rgb(28, 27, 26);
  font-family: "Roboto-Regular", sans-serif;
  font-size: 16px;
  padding-bottom: 8px;
  padding-top: 24px;
  text-decoration-color: transparent;
}
#comprobante a {
  color: rgb(34, 34, 34);
  text-decoration: none;
}
#footer p {
  font-size: 0.8rem;
}
#footer a {
  font-family: "Roboto-Medium";
}
@media (width <= 992px) {
  #comprobante h1,
  #comprobante p {
    width: 100%;
  }
}
/* ***********************************************************************
* MODAL DE POLÍTICA DE PRIVACIDAD
* ************************************************************************/
#informacion .modal-header h5 {
  color: #333333;
  font-family: "Roboto-Bold";
  font-size: 1rem;
  letter-spacing: 0.02rem;
  text-transform: capitalize;
}
#informacion .modal-content {
  -moz-box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
  box-shadow: 0px 17px 19px -8px rgba(0, 0, 0, 0.6);
}
#informacion .modal-body p,
#informacion ul li {
  color: #222222;
  font-family: "Roboto-Regular";
  font-size: 0.9rem;
  line-height: normal;
  text-align: left;
  width: 100%;
}

/* ANIMACIONES */
@keyframes title__fade {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* TOPO HEADER */

.topo {
  width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
  text-align: center;
  padding: 24px;

  background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.3),
    0 2px 5px rgba(0, 0, 0, 0.2);
  left: 8%;
  top: 20%;
  position: absolute;

  animation: title__fade 1.5s ease forwards;

  border: 10px solid white;

}

.topo.topo-r {
  left: unset;
  right: 8%;
}

.topo span {
  transform: rotate(-15deg);
  width: 100%;
  font-family: "Avenir-Medium";
  font-size: 24px;
  color: white;
  font-weight: 600;
}
.topo span strong {
  display: block;
  font-family: "Avenir-Heavy";
  text-transform: uppercase;
  border-top: 2px solid white;
  padding-top: 5px;
  margin-top: 5px;
}
.topo-r span {
  transform: rotate(15deg);
}

@media (max-width: 1200px) {
  .topo {
    width: 180px;
    height: 180px;
    left: 10%;
    top: unset;
    bottom: 10%;
  }
  .topo.topo-r {
    right: 10%;
  }

  .topo span {
    font-size: 14px;
  }
}
@media (max-width: 768px) {
  .topo {
    width: 140px;
    height: 140px;
    left: 4%;
    top: unset;
    bottom: 10%;
  }

  .topo.topo-r {
    right: 4%;
  }

  .topo span {
    font-size: 12px;
  }
}