/* ***********************************************************************
* 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: 'NimbusSans-Regular';
  src: url('./../fonts/NimbusSans-Regular.otf') format('opentype');
}
@font-face {
  font-family: 'NimbusSans-Extended';
  src: url('./../fonts/NimbusSans-Extended.otf') format('opentype');
}
@font-face {
  font-family: 'NimbusSans-Bold';
  src: url('./../fonts/NimbusSans-Bold.otf') format('opentype');
}
/* ***********************************************************************
* BASE
* ************************************************************************/
:root {
  --primary-color: rgb(255 255 255);
  --secondary-color: rgb(56 57 54);

  /* --container: 1440px; */
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}
h2 {
  color: #453f4c;
  font-family: 'NimbusSans-Extended';
  font-size: clamp(28px, 4.5vw, 30px);
  line-height: 130%;
}
h3 {
  color: #edeae3;
  font-family: 'NimbusSans-Extended';
  font-size: clamp(28px, 4vw, 48px);
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
}
h4 {
  font-family: 'NimbusSans-Extended';
  font-size: clamp(16px, 2.5vw, 20px);
}
p {
  color: #53585a;
  font-family: 'NimbusSans-Regular';
  font-size: 18px;
}
p > strong {
  font-family: 'NimbusSans-Extended';
  font-weight: 700;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
::selection {
  background-color: #978981;
  color: #ffffff;
}
img {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  display: block;
  height: auto;
  max-width: 100%;
  user-select: none;
}
/* .container {
      max-width: var(--container);
    } */
.button button {
  background-color: var(--secondary-color);
  border: 0;
  border-radius: 5px;
  font-size: clamp(16px, 2.5vw, 18px);
  padding: 8px 16px;
  transition: opacity 300ms ease;

  /* width: 222px; */
}
.button button:hover {
  opacity: 0.8;
}
/* @media (width <= 992px) {
  .button button {
        width: 100%;
      }
  } */
button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}
/* ***********************************************************************
* HEADER
* ************************************************************************/
#header {
  background: url(./../images/jpg/header.jpg) 50% 50% / cover;
}
#footer-form {
  background: url(./../images/jpg/footer.jpg) 50% 50% / cover;
}
.header {
  min-height: max(100vh, 700px);
  position: relative;
}
.header::before {
  background-color: rgb(0 0 0 / 40%);
  content: '';
  height: 100%;
  position: absolute;
  width: 100%;
}
@media (max-width: 992px) {
  .header {
    min-height: max(50vh, 300px);
  }
}
.theline {
  border-top: 1px solid white;
  left: 50%;
  position: absolute;
  top: 11%;
  transform: translateX(-50%);
  width: 91%;
}
@media (max-width: 992px) {
  .theline {
    left: 50%;
    top: 3%;
    width: 95%;
  }
}
#header .logo {
  left: 5%;
  position: absolute;
  top: 15%;
}
@media (max-width: 992px) {
  #header .logo {
    left: 3%;
    top: 7%;
  }
  #header .logo img {
    width: 300px;
  }
}
/* ***********************************************************************
* FORM
* ************************************************************************/
.form {
  backdrop-filter: blur(7.5px);
  background-color: rgb(255 255 255 / 10%);
  border-radius: 18px;
  padding: 36px;
  position: absolute;
  right: 5%;
  top: 15%;
  width: 450px;
}
@media (max-width: 992px) {
  .form {
    background-color: #1e1e1e;
    border-radius: 0;
    bottom: 0;
    padding: 18px;
    position: initial;
    right: 0;
    width: 100%;
  }
}
@keyframes form__fade {
  from {
    opacity: 0;
    transform: translateX(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.form__fade {
  animation: form__fade 1000ms ease-out;
  animation-delay: 1000ms;
  animation-fill-mode: forwards;
  opacity: 0;
}
.form h1 {
  color: white;
  font-family: 'NimbusSans-Extended';
  font-size: clamp(28px, 4.5vw, 36px);
}
.form p {
  color: white;
  font-family: 'NimbusSans-Regular';
  font-size: clamp(18px, 3.5vw, 24px);
}
.form form .input-style {
  margin-block: 16px;
}
.input-flex {
  display: flex;
  justify-content: space-between;
}
.form form .input-style.md {
  width: 46%;
}
.form form .input-style input,
.form form .input-style textarea {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid white;
  caret-color: white;
  color: white;
  font-family: 'Roboto-Regular';
  font-size: 16px;
  padding-block: 6px;
  width: 100%;

  /* padding-inline: 8px; */
}
.form form .input-style textarea {
  height: 100px;
  resize: none;
}
.form form .input-style input::placeholder,
.form form .input-style textarea::placeholder {
  color: white;
  font-family: 'NimbusSans-Regular';
  font-size: 14px;
}
.form form .input-style input:focus {
  border: 0;
  outline: 2px solid var(--secondary-color);
}
.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'] {
  appearance: none;
  background-color: none;
  border: 1px solid white;
  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 white;
  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: white;
  font-family: 'NimbusSans-Regular';
  font-size: 11px;
  margin-left: 6px;
}
.form .submit {
  margin-top: 24px;
}
.form .submit input {
  background-color: #edeae3;
  border: 0;
  border-radius: 100px;
  color: #453f4c;
  font-family: 'NimbusSans-Extended';
  font-size: 12px;
  letter-spacing: 0.6px;
  padding-block: 10px;
  transition: opacity 300ms ease-in;
  width: 100px;
}
.form .submit input:hover {
  opacity: 0.8;
}
/* ***********************************************************************
* 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: none;
  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: 5%;
  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: 12px;
  margin: 5px 10px;
  width: 12px;
}
#renders .owl-dots .owl-dot.active {
  background: rgb(255, 255, 255);
}
#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 (max-width: 992px) {
  #renders .owl-carousel .owl-nav {
    padding: 0;
  }
  #renders .owl-carousel .owl-nav button img {
    width: 70%;
  }
}
/* ***********************************************************************
* SECTIONS
* ************************************************************************/
#section1 {
  align-items: center;
  background: url(../images/jpg/bg.jpg) 50% 50% / cover;
  display: flex;
  height: 500px;
  justify-content: center;
}
.h-picture {
  max-height: 900px;
}
#section2,
#section3,
#section4 {
  background: url(../images/png/transparent-bg.png) rgb(211 211 211 / 0.05) -716.119px -0.712px /
    199.461% 146.384% no-repeat;
}
#section3 {
  position: relative;
}
.pill {
  left: -24px;
  position: absolute;
  top: 17%;
}
@media (max-width: 1200px) {
  .pill {
    left: -24px;
    position: absolute;
    top: 2%;
  }
}
#section3 ul li {
  align-items: center;
  color: #53585a;
  display: flex;
  font-family: 'NimbusSans-Regular';
  font-size: 18px;
  gap: 12px;
  margin-block: 24px;
}
#map {
  height: 800px;
}
@media (max-width: 992px) {
  #map {
    height: 400px;
  }
}
/* ***********************************************************************
* FOOTER
* ************************************************************************/
footer {
  background-color: #978981;
  padding-top: 18px;
}
footer p {
  color: white;
  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: white;
  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);
  font-size: 36px;
  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 (max-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%;
}
/* ***********************************************************************
* ANIMATIONS
* ************************************************************************/
/*? Animación para que las imágenes aparezcan progresivamente en móvil */
@keyframes animated__picture {
  from {
    opacity: 0;
    scale: 25%;
  }
  to {
    opacity: 1;
    scale: 100%;
  }
}
@media (max-width: 768px) {
  .animated__picture img {
    animation-fill-mode: both;
    animation-name: animated__picture;
    animation-range: entry 10% cover 30%;
    animation-timeline: --image;
    height: auto;
    view-timeline-axis: block;
    view-timeline-name: --image;
    width: 100%;
  }
}
