body {
  overflow-x: hidden;
}

section {
  padding: 40px;
}

@media only screen and (max-width: 768px) {
  section {
    padding: 20px 10px;
  }
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}

/* Cabecera
*--------------------------------
*/

#cabecera {
  position: relative;
  background: url(../images/cabecera.png) 50% 100% / cover;
  height: 100vh;
  min-height: 900px;
}

@media only screen and (max-width: 992px) {
  #cabecera {
    height: 50vh;
    min-height: 500px;
  }
}

/* Formulario
*--------------------------------
*/

#cabecera .formulario {
  position: absolute;
  right: 0;
  top: 0;
}

#cabecera .formulario .form {
  background-color: #ffffff;
  width: 544px;
  padding: 60px 40px;
}

@media only screen and (max-width: 768px) {
  .formulario.form__mobile {
    position: initial;
    width: 100%;
  }
  .formulario .form {
    background-color: #ffffff;
    padding: 20px;
    width: 100%;
  }

  #cabecera .btn-tour {
    top: 50 !important;
    bottom: auto !important;
    left: 0px !important;
  }
}

.formulario .form h1 {
  padding-top: 76px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
}

.formulario .form p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 20px;
}

@media only screen and (max-width: 768px) {
  .formulario .form img {
    width: 40%;
  }
  .formulario .form h1 {
    padding-top: 18px;
    font-size: 18px;
  }

  .formulario .form p {
    font-size: 15px;
  }
}

.formulario .form .inputs {
  padding-top: 28px;
}

@media only screen and (max-width: 768px) {
  .formulario .form .inputs {
    padding-top: 8px;
  }
}

.formulario .form .inputs .input-style {
  border-bottom: 1px solid #000000;
  margin-bottom: 28px;
}

@media only screen and (max-width: 768px) {
  .formulario .form .inputs .input-style {
    margin-bottom: 16px;
  }
}

.formulario .form .inputs .input-style input {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  border: none;
  outline: none;
  color: #000000;
}

.formulario form select {
  color: #000000;
  width: 100%;
  border: none;
  background: none;
  outline: none;
  border-bottom: 1px solid #000000;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 28px;
}

.formulario .form .inputs .input-style input::placeholder {
  color: #000000;
}

.formulario .form .submits {
  display: flex;
  justify-content: space-between;
}

.formulario .form .submits .checkbox {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
  width: 160px;
}

.formulario .form .submits .checkbox span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
}

.formulario .form .submits .submit input,
#cabecera .btn-tour {
  background-color: #db1f30;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  border: 1px solid #db1f30;
  text-transform: uppercase;
  width: 221px;
  padding: 6px 0;
}

#cabecera .btn-tour {
  width: auto;

  padding: 13px 45px;
  position: absolute;
  bottom: 150px;
  left: 92px;
}
#cabecera .topo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  top: 350px;
  left: 80px;
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
}
#cabecera .topo div {
  padding: 0 5px;
  width: fit-content;
  background-color: #db1f30;
}

@media only screen and (max-width: 768px) {
  .formulario .form .submits .submit input {
    font-size: 14px;
    width: 160px;
  }

  #cabecera .btn-tour {
    font-size: 14px;
    text-align: center;
  }
  #cabecera .topo {
    top: 100px;
    left: 0;
    font-size: 16px;
  }
}

.formulario .form .submits .submit input:hover {
  background-color: #ffffff;
  color: #db1f30;
  border: 1px solid #db1f30;
  transition: 0.6s;
}

.red {
  background-color: #db1f30;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  text-align: center;
  line-height: 28px;
  padding: 12px 0 8px;
}

/* Section1
*--------------------------------
*/

#section1 .container {
  display: flex;
  align-items: flex-end;
}

@media only screen and (max-width: 992px) {
  #section1 .container {
    flex-wrap: wrap;
  }

  #cabecera .btn-tour {
    bottom: 80px;
  }
}

#section1 .left h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
  width: 70%;
  padding-bottom: 38px;
}

#section1 .left.ancho h1 {
  width: 40%;
}

@media only screen and (max-width: 768px) {
  #section1 .left.ancho h1 {
    width: 100%;
  }
}

#section1 .left p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  width: 80%;
}

@media only screen and (max-width: 768px) {
  #section1 .left h1 {
    font-size: 24px;
    width: 100%;
    padding-bottom: 18px;
  }

  #section1 .left p {
    font-size: 14px;
    width: 100%;
  }
}

#section1 .right p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 18px;
}

@media only screen and (max-width: 768px) {
  #section1 .right p {
    font-size: 14px;
  }
}

#section1 .right strong {
  font-weight: 700;
}

/* Iconos
*--------------------------------
*/

#iconos .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#iconos .container .icon-wrapper {
  justify-content: center;
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

#iconos .container .icon-wrapper p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  padding-top: 8px;
}

@media only screen and (max-width: 992px) {
  #iconos .container .icon-wrapper p {
    font-size: 12px;
    padding-top: 8px;
  }
}

/* Galería
*--------------------------------
*/

#render {
  padding-top: 0;
  padding-bottom: 40px;
}

#render .owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  left: 440px;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  width: 90%;
  pointer-events: none;
  padding: 0 40px;
}

@media only screen and (max-width: 1600px) {
  #render .owl-carousel .owl-nav {
    display: none;
  }
  .owl-dots {
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: max-content;
  }
  .owl-dots .owl-dot {
    width: 15px;
    height: 15px;
    margin: 5px 10px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #db1f30;
  }
  .owl-dots .owl-dot.active {
    background: #db1f30;
  }
  .owl-dots .owl-dot :focus {
    outline: none;
  }
}

#render .owl-carousel .owl-nav div {
  outline: none;
  pointer-events: all;
  width: 50px;
  margin: 16px 0;
}

#render .owl-carousel .owl-nav div img {
  width: 100%;
}

#render .owl-carousel .owl-nav div:nth-child(2) {
  width: 70px;
}

#render .owl-carousel .item {
  position: relative;
  opacity: 1;
  transition: 0.8s;
  width: 361px;
  height: 306px;
}

@media only screen and (max-width: 992px) {
  #render .owl-carousel .item {
    position: relative;
    opacity: 1;
    transition: 0.8s;
    width: 100%;
    height: 306px;
  }
}

#render .owl-carousel .item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  padding: 0 28px;
}

@media only screen and (max-width: 768px) {
  #render .owl-carousel .item img {
    padding: 0;
  }
}

#render .owl-carousel .owl-stage-outer .owl-stage .owl-item.active {
  opacity: 1;
}

#render .owl-carousel .owl-stage-outer .owl-stage .owl-item.active .item {
  opacity: 1;
  transition: 0.4s;
}

/* Mapa
*--------------------------------
*/

#mapa .container {
  background: url(../images/mapa.jpg) 50% 50% / cover;
  height: 100vh;
}

@media only screen and (max-width: 768px) {
  #mapa .container {
    background: url(../images/mapa.jpg) 50% 50% / cover;
    height: 50vh;
  }
  #iconos .container .icon-wrapper {
    width: 50%;
  }
}

#linea .container {
  border-top: 1px solid #000000;
}

/* Info
*--------------------------------
*/

#info .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

@media only screen and (max-width: 992px) {
  #info .container {
    justify-content: space-around;
  }
  #info .container .text {
    margin: 20px 12px;
    width: 120px;
  }
}

#info .container .text p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0;
}

#info .container .text span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 16px;
}

@media only screen and (max-width: 992px) {
  #info .container .text p {
    font-size: 12px;
  }

  #info .container .text span {
    font-size: 12px;
  }
}

/* Formulario Footer
*--------------------------------
*/

#formulario-footer {
  display: flex;
}

.form-footer h1 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 24px;
  padding-bottom: 36px;
}

@media only screen and (max-width: 768px) {
  .form-footer h1 {
    font-size: 16px;
    padding-bottom: 16px;
  }
}

#formulario-footer .form-footer form .inputs .input-flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#formulario-footer .form-footer form .inputs .input-style {
  border-bottom: 1px solid #000000;
  margin-bottom: 28px;
}

#formulario-footer .form-footer form .inputs .input-style.md {
  width: 30%;
}

@media only screen and (max-width: 992px) {
  #formulario-footer .form-footer form .inputs .input-style.md {
    width: 100%;
  }
}

#formulario-footer .form-footer form .inputs .input-style.lg {
  width: 100%;
}

#formulario-footer .form-footer form .inputs .input-style input {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 14px;
  border: none;
  outline: none;
  color: #000000;
}

#formulario-footer .form-footer form .inputs .input-style input::placeholder {
  color: #000000;
}

#formulario-footer .form-footer form .submits {
  display: flex;
  justify-content: space-between;
}

#formulario-footer .form-footer form .submits .checkbox {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 10px;
  width: 160px;
}

#formulario-footer .form-footer form .submits .submit input {
  background-color: #db1f30;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 20px;
  border: 1px solid #db1f30;
  text-transform: uppercase;
  width: 221px;
  padding: 2px 0;
}

@media only screen and (max-width: 768px) {
  #formulario-footer .form-footer form .submits .submit input {
    font-size: 14px;
    width: 180px;
    padding: 8px 0;
  }
}

#formulario-footer .form-footer form .submits .submit input:hover {
  background-color: #ffffff;
  color: #db1f30;
  border: 1px solid #db1f30;
  transition: 0.6s;
}

/* Footer
*--------------------------------
*/

footer {
  background-color: #db1f30;
  color: #ffffff;
  text-align: center;
  padding: 20px 0 0;
}

@media only screen and (max-width: 768px) {
  footer {
    font-size: 12px;
  }
}

/* Animaciones
*--------------------------------
*/

.fadeTop {
  opacity: 0;
  transform: translate(0, 10vh);
  transition: all 4s;
}
.fadeBottom {
  opacity: 0;
  transform: translate(0, -10vh);
  transition: all 2s;
}
.fadeRight {
  opacity: 0;
  transform: translate(10vh, 0vh);
  transition: all 2s;
}
.fadeLeft {
  opacity: 0;
  transform: translate(-10vh, 0vh);
  transition: all 2s;
}
.fadeTransparence {
  opacity: 0;
  transition: all 4s;
}
.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* 
* Responsive
* -----------------------------------------------------
*/

@media only screen and (max-width: 1284px) {
  .fadeRight {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 2s;
  }
  .fadeLeft {
    opacity: 1;
    transform: translate(0, 0);
    transition: all 2s;
  }
}

/* 
* Fuentes
* -----------------------------------------------------
*/

@font-face {
  font-family: 'OpenSans-ExtraBold';
  src: url('../fonts/OpenSans-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans-SemiBold';
  src: url('../fonts/OpenSans-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans-Bold';
  src: url('../fonts/OpenSans-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans-Regular';
  src: url('../fonts/OpenSans-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans-Light';
  src: url('../fonts/OpenSans-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat-Bold';
  src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
}
