/* ***********************************************************************
* 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: 'IBMPlexSans';
  src: url('./../fonts/IBMPlexSans-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'ArquitectaBook';
  src: url('./../fonts/ArquitectaBook.otf') format('opentype');
}
@font-face {
  font-family: 'Arquitecta-Light';
  src: url('./../fonts/ArquitectaLight.otf') format('opentype');
}
@font-face {
  font-family: 'Arquitecta-Bold';
  src: url('./../fonts/ArquitectaBold.otf') format('opentype');
}
@font-face {
  font-family: 'Arquitecta-Medium';
  src: url('./../fonts/ArquitectaMedium.otf') 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 {
  color: var(--white);
  font-family: ArquitectaBook;
  font-size: clamp(20px, 6vw - 1rem, 54px);
}
h2 {
  color: var(--white);
  font-family: IBMPlexSans;
  font-size: clamp(18px, 4vw - 1rem, 24px);
  width: 60%;
}
h3 {
  color: var(--white);
  font-family: ArquitectaBook;
  font-size: clamp(28px, 4vw - 1rem, 36px);
  text-transform: uppercase;
}
section p {
  font-family: ArquitectaBook;
  font-size: 22px;
  color: var(--white);
}
p > strong {
  font-weight: 700;
}
.box span {
  color: var(--white);
  font-family: 'Arquitecta-Medium';
  font-size: 22px;
}
::selection {
  background-color: var(--primary-color);
  color: #000000;
}
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: 420px;
}
@media (width <= 1200px) {
  .paragraph {
    width: 90%;
  }
}
.picture img {
  min-height: 500px;
  object-fit: cover;
  width: 100%;
}
.button {
  border: 1px solid var(--white);
  border-radius: 8px;
  padding-block: 12px;
  transition: background-color 300ms ease;
  width: 196px;
  margin: 0 auto;
  transition: transform 300ms ease;
}
.button button {
  background-color: transparent;
  border: 0;
  color: var(--white);
  letter-spacing: 0.1rem;
  font-family: 'Arquitecta-Bold';
  font-size: 16px;
}
.button:hover {
  transform: scale(1.1);
}

/* ***********************************************************************
* HEADER
* ************************************************************************/
.menu {
  position: absolute;
  right: 8%;
  top: 5%;
}
@media (width <= 992px) {
  .menu {
    position: absolute;
    right: 2%;
    top: 1%;
  }
}
.info {
  justify-content: end;
  width: 100%;
}
@media (width <= 480px) {
  .info {
    flex-wrap: wrap;
    width: 100px;
    margin-left: auto;
  }
}
.info span {
  color: #ffffff;
}
.nav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  justify-content: end;
  gap: 80px;
  width: 100%;
}
.nav__phone {
  background-color: #111927;
}
@media (width <= 992px) {
  .nav ul {
    gap: 24px;
    margin: 0;
    justify-content: center;
  }
}
.nav ul li {
  color: var(--white);
  font-family: 'ArquitectaBook';
  font-size: 15px;
}
.menu .info span {
  font-family: 'ArquitectaBook';
  font-size: 15px;
}
#header {
  background: url(./../images/header.jpg) 50% 50% / cover;
  height: 100vh;
  min-height: 900px;
  position: relative;
}
@media (width <= 1200px) {
  #header {
    height: 50vh;
    min-height: 400px;
  }
}

#header .logo {
  left: 6%;
  position: absolute;
  top: 5%;
}
@media (width <= 1500px) {
  #header .logo {
    left: 4%;
    top: 3%;
  }
  #header .logo img {
    width: 110px;
  }
}
#header .title {
  left: 6%;
  position: absolute;
  bottom: 35%;
}

@media (width <= 1500px) {
  #header .title {
    left: 1%;
    position: absolute;
    bottom: 4%;
  }
}

@media (width <= 992px) {
  #header .title {
    left: 3%;
  }
}
/* ***********************************************************************
* FORM
* ************************************************************************/
.form {
  background-color: rgb(217 217 217 / 85%);
  border-radius: 10px;
  top: 50%;
  padding: 36px;
  position: absolute;
  right: 8%;
  transform: translateY(-50%);
  width: 420px;
}
.form.footer-form {
  background-color: var(--white);
  border-radius: 0;
  padding: 18px;
  position: initial;
  transform: translateY(0);
  width: 100%;
}
.form.footer-form > div {
  width: 70%;
  margin: 0 auto;
}
@media (width <= 1500px) {
  .form {
    right: 4%;
  }
}
@media (width <= 1200px) {
  .form {
    background-color: rgb(217 217 217);
    border-radius: 0;
    bottom: 0;
    padding: 18px;
    position: initial;
    right: 0;
    width: 100%;
    transform: translateY(0);
  }
  .form.footer-form > div {
    width: 100%;
  }
}

.form p:first-of-type {
  color: #1c2338;
  font-family: 'Arquitecta-Medium';
  font-size: 35px;
  width: 70%;
  line-height: normal;
}
.form.footer-form p:first-of-type {
  width: 100%;
}
.form p:last-of-type {
  color: #1c2338;
  font-family: Montserrat;
  font-size: 14px;
  font-style: italic;
  padding-block: 16px;
}
.form form .input-style {
  margin-bottom: 18px;
}
.form.footer-form form .input-flex {
  display: flex;
  justify-content: space-between;
}

.form.footer-form form .input-style.lg {
  width: 32%;
}
.form.footer-form form .input-style.xl {
  width: 66%;
}
@media (width <= 992px) {
  .form.footer-form form .input-flex {
    flex-wrap: wrap;
  }
  .form.footer-form form .input-style.lg {
    width: 100%;
  }
  .form.footer-form form .input-style.xl {
    width: 100%;
  }
}
.form form .input-style input {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid #1c2338;
  caret-color: #1c2338;
  color: #1c2338;
  font-family: 'Arquitecta-Light';
  font-size: 14px;
  padding: 4px 2px;
  position: relative;
  transition: 350ms ease-in;
  width: 100%;
}
.form form .input-style input::placeholder {
  color: #1c2338;
  font-family: 'Arquitecta-Light';
  font-size: 14px;
}
.form form .input-style input:focus {
  border: 0;
  outline: 2px solid #1c2338;
}
.form form .submits {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
@media (width <= 992px) {
  .form form .submits {
    flex-wrap: wrap;
  }
}
.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 #1c2338;
  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 #1c2338;
  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 {
  font-family: 'Arquitecta-Light';
  font-size: 12px;
  margin-left: 6px;
  color: #1c2338;
}
.form .submit {
  margin-top: 24px;
  border: 1px solid #1c2338;
  border-radius: 8px;
  padding-block: 10px;
  padding-inline: 12px;
  transition: transform 300ms ease;
  cursor: pointer;
}

.form .submit input {
  background-color: transparent;
  border: 0;
  color: #1c2338;
  letter-spacing: 0.1rem;
  font-family: 'Arquitecta-Bold';
  font-size: 16px;
}
.form .submit:hover {
  transform: scale(1.1);
}

/* ***********************************************************************
* SECTION
* ************************************************************************/
.bg1 {
  background-color: #111927;
}
.bg2 {
  background-color: #384458;
}
.bg3 {
  background-color: #243147;
}
.box {
  height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
@media (width <= 1200px) {
  .box {
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .box img {
    width: 100px;
  }
}

@media (width <= 480px) {
  .box {
    height: 500px;
  }
}

/* ***********************************************************************
* BANNER
* ************************************************************************/
#banner {
  background: url(./../images/banner.jpg) 50% 60% / cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 500px;
  object-fit: cover;
  width: 100%;
}
#banner > div {
  width: 50%;
  margin: 0 auto;
}
@media (width <= 1200px) {
  #banner > div {
    width: 96%;
  }
}
@media (width <= 480px) {
  #banner {
    height: 600px;
  }
}
/* ***********************************************************************
* FOOTER
* ************************************************************************/
.footer-logo {
  background-color: #1c2338;
  text-align: center;
}
/* .footer-logo a img {
  max-width: 180px;
} */
footer {
  background-color: #222f45;
  padding-top: 18px;
}
footer p {
  color: var(--white);
  font-size: 0.8rem;
}

/* ***********************************************************************
* 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%;
}
/* ***********************************************************************
* 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%;
  }
}
