/* 
* =================================
* FUENTES
*=================================
*/

@font-face {
  font-family: 'Roboto-Regular';
  src: url('./../cookies/fonts/Roboto-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('./../cookies/fonts/Roboto-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('./../cookies/fonts/Roboto-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arquitecta';
  src: url('./../fonts/ArquitectaBook.otf') format('opentype');
  font-weight: 250;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arquitecta';
  src: url('./../fonts/ArquitectaBold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arquitecta';
  src: url('./../fonts/ArquitectaMedium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Arthead';
  src: url('./../fonts/Arthead.otf') format('opentype');
  /* font-weight: 700;
  font-style: normal; */
  font-display: swap;
}

/* 
* =================================
* BASE
*=================================
*/

:root {
  --color-primary: #00513F;
  --color-secondary: #419293;
  --color-text: #002417;
}

body {
  overflow-x: hidden;
}

body a {
  color: inherit;
  text-decoration: none;
}

body section {
  padding-block: 40px;
}

@media(min-width:992px) {
  body section {
    padding-block: 80px;
  }
}

body h1 {
  color: white;
  font-family: 'Arthead', sans-serif;
  font-size: clamp(24px, 4vw - 1rem, 48px);
}

body h2 {
  color: white;
  font-family: 'Arquitecta', sans-serif;
  font-size: clamp(24px, 4vw - 1rem, 46px);
  font-style: normal;
  font-weight: 500;
  line-height: 96.435%;
}

body h3 {
  color: inherit;
  font-family: 'Arthead', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
}

body h4 {
  color: var(--color-text);
  font-family: "Arthead", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 1px;

}

body h6 {
  color: inherit;
  font-family: 'Arquitecta', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 250;
  letter-spacing: 1.6px;
  line-height: 96.435%;
}

body p,
body ul {
  color: inherit;
  font-family: 'Arquitecta', sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 250;
  letter-spacing: 1px;
  line-height: 24px;
}

body ul {
  padding-left: 0;
  list-style: none;
}

body img {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}

::selection {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* .paragraph {
  margin: 0 auto;
  width: 480px;
}

@media (width <=992px) {
  .paragraph {
    width: 100%;
  }
} */

/* .picture img {
  min-height: 500px;
  object-fit: cover;
  width: 100%;
} */

.button button {
  padding-block: 8px;
  transition: background-color 300ms ease;
  width: 222px;
}

.button button:hover {
  background-color: transparent;
}

@media (width <=992px) {
  .button button {
    width: 100%;
  }
}

/* 
* =================================
* UTILS
*=================================
*/

.obj-fit-cover {
  object-fit: cover;
}

.obj-position-left {
  object-position: left;
}

.color-text {
  color: var(--color-text);
}


/* 
* =================================
* FORM
*=================================
*/

.form {
  position: initial;
  width: 100%;
  padding-block: 18px;
  background-color: rgb(255 255 255);
  border-radius: 0;

}

@media(min-width:992px) {
  .form {
    padding-inline: 36px;
    position: absolute;
    right: 8%;
    top: 0;
    background-color: rgb(255 255 255 / 80%);
  }
}

.form h6 {
  color: var(--color-primary);
  font-family: 'Arthead', sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 2px;
}

.form form .input-style, .footer-form form .input-style {
  margin-bottom: 18px;
}

.form form .input-style input {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #072a49;
  outline: 0;
  caret-color: #072a49;
  color: #072a49;
  font-family: 'Arquitecta', sans-serif;
  font-size: 20px;
  font-weight: 250;
  padding-bottom: 14px;
  transition: 350ms ease-in;
  width: 100%;
}

.form form .input-style input::placeholder {
  color: #072a49;
  font-family: 'Arquitecta', sans-serif;
  font-size: 20px;
  font-weight: 250;
}

.form form .input-style input:focus {
  border: 0;
  outline: 2px solid #000000;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.form form .checkbox, .footer-form form .checkbox {
  align-items: end;
  display: flex;
  margin-bottom: 8px;
}

.form form .checkbox:first-of-type {
  margin-top: 24px;
}

.form form .checkbox input[type='checkbox'], .footer-form form .checkbox input[type='checkbox'] {
  appearance: none;
  background-color: none;
  border: 1px solid #419293;
  border-radius: 0.05em;
  cursor: pointer;
  display: grid;
  height: 1em;
  margin: 0;
  place-content: center;
  transform: translateY(-0.075em);
  width: 1em;
}
.footer-form form .checkbox input[type='checkbox']{
  border-color: white;
}

.form form .checkbox input[type='checkbox']::before, .footer-form form .checkbox input[type='checkbox']::before {
  box-shadow: inset 1em 1em #419293;
  content: '';
  height: 8px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  width: 8px;
}

.form form .checkbox input[type='checkbox']:checked::before, .footer-form form .checkbox input[type='checkbox']:checked::before {
  transform: scale(1);
}

.form form .checkbox span, .footer-form form .checkbox span{
  margin-left: 6px;
  color: #000000;
  font-family: 'Arquitecta', sans-serif;
  font-size: 14px;
  font-family: 250;
}

.footer-form form .checkbox span{
    color: white;
}

.form .submits, .footer-form .submits{
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.form .submit {
  margin-top: 36px;
}
.footer-form{
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.form .submit input, .footer-form .submit input {
  background-color: #419293;
  border: 0;
  border-radius: 75px;
  color: #ffffff;
  font-family: 'Arthead', sans-serif;
  font-size: 19px;
  font-weight: 250;
  letter-spacing: 0.2rem;
  padding: 8px 0 0;
  transition: opacity 300ms ease-in;
  width: 160px;
}

.form .submit input:hover, .footer-form .submit input:hover {
  opacity: 0.8;
}

.form .input-flex, .footer-form .input-flex {
  display: flex;
  justify-content: space-between;
}

.form form .input-style.md, .footer-form form .input-style.md {
  width: 48%;
}

.footer-form form .input-style input {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid white;
  outline: 0;
  caret-color: white;
  color: white;
  font-family: 'Arquitecta', sans-serif;
  font-size: 20px;
  font-weight: 250;
  padding-bottom: 14px;
  transition: 350ms ease-in;
  width: 100%;
}
.footer-form form .input-style input::placeholder{
  color: white;
}
/* 
* =================================
* CAROUSEL + RENDERS
*=================================
*/

#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: 60px;
}

#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 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: 8%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: max-content;
}

#renders .owl-dots .owl-dot {
  border: 2px solid rgb(255, 255, 255);
  border-radius: 15px;
  height: 15px;
  margin: 5px 10px;
  width: 15px;
}

#renders .owl-dots .owl-dot.active {
  background: rgb(255, 255, 255);
}

#renders .owl-dots .owl-dot :focus {
  outline: none;
}

@media (width <=992px) {
  #renders .owl-carousel .owl-nav {
    padding: 0;
  }

  #renders .owl-carousel .owl-nav button img {
    width: 70%;
  }
}

/*
* =======================
* HEADER
* ======================= 
*/

.header {
  background: url(./../images/header.jpg) 50% 50% / cover;
  height: 44vh;
  min-height: 500px;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .header {
    height: 100vh;
    min-height: 900px;
  }
}

.header::before {
  background-color: rgb(0 0 0 / 20%);
  content: '';
  height: 100%;
  position: absolute;
  width: 100%;
}

.header .title {
  left: 3%;
  position: absolute;
  top: 7%;
  width: 95%;
}

@media (min-width: 992px) {
  .header .title {
    bottom: 12%;
    left: 5%;
    width: 520px;
  }
}

@media (min-width: 992px) {
  .header .form {
    width: 520px;
  }
}


/* 
* =================================
* SECCIONES
*=================================
*/

.viviendas,
.contacto {
  background-color: var(--color-primary);
  background-image: url('./../images/vivienda-banner-bg.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contacto {
  background-position: top;
}

.amenities img,
.ubicacion img {
  height: 240px;
}

@media(min-width:992px) {

  .amenities img,
  .ubicacion img {
    height: 400px;
  }
}

#map {
  margin-top: -300px;
  transform: translateY(300px);
}

/* 
* =================================
* 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: 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', sans-serif;
  font-size: 16px;
  font-weight: 400;
  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', sans-serif;
  font-weight: 500;
}

@media (width <=992px) {

  #comprobante h1,
  #comprobante p {
    width: 100%;
  }
}

/* 
* =================================
* MODAL
*=================================
*/

#informacion .modal-header h5 {
  color: #333333;
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  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', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: normal;
  text-align: left;
  width: 100%;
}