/* ***********************************************************************
* 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: 'Lato-SemiBold';
  src: url('./../fonts/Lato-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Medium';
  src: url('./../fonts/Lato-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Bold';
  src: url('./../fonts/Lato-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Lato-Regular';
  src: url('./../fonts/Lato-Regular.ttf') format('truetype');
}
/* ***********************************************************************
* BASE
* ************************************************************************/
:root {
  --black: rgb(0 0 0);
  --container: 1440px;
  --grey: rgb(176 176 176);
  --primary-color: rgb(78 93 32);
  --secondary-color: rgb(247 224 147);
  --text-color: rgb(83 83 83);
  --white: rgb(255 255 255);
}
body {
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
h1 {
  color: var(--white);
  font-family: 'Lato-SemiBold';
  font-size: clamp(38px, 4vw - 1rem, 52px);
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
h2 {
  color: var(--primary-color);
  font-family: 'Lato-Regular';
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 31px;
  text-transform: uppercase;
}
h3 {
  color: var(--white);
  font-family: 'Lato-Bold';
  text-align: center;
  font-family: Lato;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px; /* 122.222% */
}
h4 {
  color: var(--white);
  font-family: 'Lato-Regular';
  text-align: center;
  font-family: Lato;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px; /* 70% */
  letter-spacing: 2px;
  text-transform: uppercase;
}
p {
  color: var(--text-color);
  font-family: 'Lato-Regular';
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}
p > strong {
  font-family: 'Lato-Bold';
  font-weight: 700;
}
::selection {
  background-color: var(--secondary-color);
}
img {
  -moz-user-select: none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.container {
  max-width: var(--container);
}
.paragraph {
  margin: 0 auto;
  width: 620px;
}
.paragraph2 {
  margin: 0 auto;
  width: 420px;
}
@media (width <= 992px) {
  .paragraph,
  .paragraph2 {
    width: 100%;
  }
}
.picture img {
  -moz-box-shadow: 4px 5px 26px -4px rgba(0, 0, 0, 0.34);
  -webkit-box-shadow: 4px 5px 26px -4px rgba(0, 0, 0, 0.34);
  box-shadow: 4px 5px 26px -4px rgba(0, 0, 0, 0.34);
  min-height: 500px;
  object-fit: cover;
  width: 100%;
}
.picture.picture__height img {
  max-height: 760px;
}
.button button {
  background-color: var(--secondary-color);
  border: 0;
  color: var(--text-color);
  font-family: 'Lato-Bold';
  font-size: 16px;
  letter-spacing: 0.2rem;
  padding-block: 12px;
  padding-inline: 18px;
  transition: opacity 300ms ease-in;
}
.button button:hover {
  opacity: 0.8;
}
@media (width <= 992px) {
  .button button {
    width: 100%;
  }
}
/* ***********************************************************************
* HEADER
* ************************************************************************/
#header {
  background: url(./../images/header.jpg) 50% 50% / cover;
  height: 95vh;
  min-height: 800px;
  position: relative;
}
@media (width <= 992px) {
  #header {
    height: 50vh;
    min-height: 500px;
  }
}
@keyframes header__opacity {
  0% {
    background: linear-gradient(rgb(0 0 0 / 0%), rgb(0 0 0 / 0%)),
      url(./../images/header.jpg) 50% 80% / cover;
  }
  25% {
    background: linear-gradient(rgb(0 0 0 / 50%), rgb(0 0 0 5%)),
      url(./../images/header.jpg) 50% 80% / cover;
  }
  50% {
    background: linear-gradient(rgb(0 0 0 /10%), rgb(0 0 0 / 10%)),
      url(./../images/header.jpg) 50% 80% / cover;
  }
  75% {
    background: linear-gradient(rgb(0 0 0 / 15%), rgb(0 0 0 / 15%)),
      url(./../images/header.jpg) 50% 80% / cover;
  }
  100% {
    background: linear-gradient(rgb(0 0 0 / 20%), rgb(0 0 0 / 20%)),
      url(./../images/header.jpg) 50% 80% / cover;
  }
}
.header__opacity {
  animation: header__opacity 500ms ease-out;
  animation-fill-mode: forwards;
}
#header .title {
  bottom: 50%;
  left: 12%;
  position: absolute;
}
@media (width <= 992px) {
  #header .title {
    bottom: 5%;
    left: 3%;
    position: absolute;
  }
  #header .logo img {
    max-width: 208px;
  }
}
@keyframes title__fade {
  from {
    opacity: 0;
    transform: translateY(-100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.title__fade {
  animation: title__fade 500ms ease-out;
  animation-delay: 600ms;
  animation-fill-mode: forwards;
  opacity: 0;
}
/* ***********************************************************************
* FORM
* ************************************************************************/
.form {
  background-color: rgb(78 93 32 / 70%);
  height: 100%;
  min-width: 464px;
  padding: 48px 65px;
  position: absolute;
  right: 0;
  top: 0;
}
.form.form__mobile {
  padding: 18px;
  position: initial;
  width: 100%;
}
.form.footer__form {
  background-color: var(--primary-color);
  padding: 90px;
  position: initial;
  height: auto;
}
@media (width <= 992px) {
  .form{
    min-width: unset;
  }
  .form.footer__form {
    padding: 18px;
  }
}
@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 p {
  color: var(--white);
  font-family: 'Lato-Medium';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 40px;
}
.form form .input-style {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}
.form form .input-style label {
  color: var(--white);
  font-family: 'Lato-Medium';
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.55px;
  line-height: normal;
  margin-bottom: 4px;
}
.form form .input-style input,
.form form .input-style textarea {
  border: 0;
  border-radius: 4px;
  caret-color: var(--black);
  color: var(--black);
  font-family: 'Lato-Medium';
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.6px;
  line-height: normal;
  padding-block: 12px;
  padding-left: 16px;
  position: relative;
  transition: 350ms ease-in;
  width: 100%;
}
.form form .input-style textarea {
  height: 113px;
  resize: none;
}
.form form .input-style input::placeholder {
  color: var(--grey);
  font-family: 'Lato-Medium';
  font-size: 14px;
}
.form form .input-style input:focus {
  border: 0;
  outline: 2px solid var(--black);
}
.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 var(--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 var(--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: var(--white);
  font-family: 'Lato-Medium';
  font-size: 12px;
  margin-left: 8px;
}
.form .submit {
  margin-top: 24px;
}
.form .submit input {
  background-color: var(--secondary-color);
  border: 0;
  color: var(--text-color);
  font-family: 'Lato-Bold';
  font-size: 18px;
  letter-spacing: 0.2rem;
  padding-block: 12px;
  transition: opacity 300ms ease-in;
  width: 80%;
}
.form .submit input:hover {
  opacity: 0.8;
}
/* ***********************************************************************
* ICONS
* ************************************************************************/
#icons,
#section4 {
  background-color: var(--primary-color);
}
#icons p,
#section4 p {
  color: var(--white);
  margin: 0 auto;
  text-align: center;
}

#icons p {
  width: 50%;
}
#section4 p {
  width: 80%;
}
@media (width <= 992px) {
  #icons p,
  #section4 p {
    width: 100%;
  }
}
#icons figure img {
  height: 64px;
  margin-bottom: 18px;
}
#icons figcaption {
  color: var(--white);
  font-family: 'Lato-Bold';
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
}
@media (width <= 992px) {
  #icons .icon-container {
    width: 33.33%;
  }
}
/* ***********************************************************************
* MAP
* ************************************************************************/
#map img {
  object-fit: cover;
  width: 100%;
}
@media (width <= 992px) {
  #map img {
    min-height: 268px;
  }
}
/* ***********************************************************************
* FOOTER
* ************************************************************************/
footer {
  background-color: #838e63;
  padding-top: 18px;
}
footer p {
  color: var(--white);
  font-size: 14px;
}
footer a {
  color: inherit;
  cursor: pointer;
  display: inline-block;
  font-family: 'Lato-Regular';
  overflow: hidden;
  position: relative;
  text-decoration: none;
}
footer a:after {
  background: var(--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);
  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: 'Lato-Regular';
  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: 'Lato-Regular';
}
@media (width <=1280px){
  #footer__form .picture{
    width: 100%;
  }
  #footer__form .form{
    width: 100%;
  };
}
@media (width <= 992px) {
  #comprobante h1,
  #comprobante p {
    width: 100%;
  }
}
/* ***********************************************************************
* MODAL DE POLÍTICA DE PRIVACIDAD
* ************************************************************************/
#informacion .modal-header h5 {
  color: #333333;
  font-family: 'Lato-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: 'Lato-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 (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%;
  }
}
