/* ========================= */
/* RESET */
/* ========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

/* ========================= */
/* HERO */
/* ========================= */

.hero{
  width:100%;
  padding:40px 20px;
  display:flex;
  justify-content:center;
}

/* ========================= */
/* CONTENEDOR */
/* ========================= */

.hero-container{

  width:100%;
  max-width:1400px;

  display:grid;

  grid-template-columns:1fr 1.5fr;

  gap:30px;

  align-items:center;
}

/* ========================= */
/* FORMULARIO */
/* ========================= */

.search-box{

  width:100%;

  background:rgba(10,31,68,0.95);

  backdrop-filter:blur(10px);

  padding:30px;

  border-radius:16px;

  box-shadow:0 10px 40px rgba(0,0,0,0.5);

  color:white;
}

/* TITULO */

.search-box h2{

  text-align:center;

  margin-bottom:20px;

  font-size:40px;

  font-weight:700;
}

/* GRID */

.grid{

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:15px;
}

/* LABEL */

.search-box label{

  display:block;

  margin-bottom:5px;

  font-size:13px;

  font-weight:600;

  color:rgba(255,255,255,0.85);
}

/* INPUTS */

.search-box select,
.search-box input{

  width:100%;

  padding:12px;

  border:none;

  border-radius:8px;

  background:rgba(255,255,255,0.12);

  color:white;

  font-size:14px;

  font-weight:600;

  outline:none;

  transition:0.3s;
}

/* OPTIONS */

.search-box select option{

  background:#0a1f44;

  color:white;
}

/* PLACEHOLDER */

.search-box input::placeholder{

  color:rgba(255,255,255,0.6);
}

/* FOCUS */

.search-box input:focus,
.search-box select:focus{

  border:1px solid #8b0000;

  box-shadow:0 0 8px rgba(139,0,0,0.7);
}

/* FULL WIDTH */

.full-width{

  grid-column:span 2;
}

/* BOTON */

.search-box button{

  width:100%;

  margin-top:20px;

  padding:14px;

  border:none;

  border-radius:10px;

  background:linear-gradient(45deg,#8b0000,#b30000);

  color:white;

  font-size:15px;

  font-weight:700;

  cursor:pointer;

  transition:0.3s;
}

.search-box button:hover{

  transform:translateY(-2px);

  box-shadow:0 10px 20px rgba(0,0,0,0.4);
}

/* MENSAJES */

.extraMsg{

  margin-top:10px;

  font-size:13px;

  color:#ffcc00;

  opacity:0;

  transition:0.3s;
}

.extraMsg.show{

  opacity:1;
}

/* ========================= */
/* VIDEO */
/* ========================= */

.hero-slider{

  position:relative;

  width:100%;

  height:600px;

  overflow:hidden;

  border-radius:16px;

  background:black;
}

.hero-video{

  width:100%;

  height:100%;

  object-fit:cover;

  display:block;
}

/* ========================= */
/* TABLETS */
/* ========================= */

@media (max-width: 992px){

  .hero-container{

    grid-template-columns:1fr;
  }

  .hero-slider{

    height:450px;
  }

}

/* ========================= */
/* CELULARES */
/* ========================= */

@media (max-width: 768px){

  .hero{

    padding:20px 15px;
  }

  .hero-container{

    grid-template-columns:1fr;

    gap:20px;
  }

  /* VIDEO ARRIBA */

  .hero-slider{

    width:100%;

    height:auto;

    overflow:hidden;

    border-radius:16px;

    order:1;
  }

  .hero-video{

    width:100%;

    height:auto;

    display:block;

    object-fit:cover;
  }

  /* FORMULARIO ABAJO */

  .search-box{

    padding:20px;

    order:2;
  }

  .search-box h2{

    font-size:32px;
  }

  .grid{

    grid-template-columns:1fr;
  }

  .full-width{

    grid-column:span 1;
  }

}

/* ========================= */
/* TELEFONOS PEQUEÑOS */
/* ========================= */

@media (max-width: 480px){

  .search-box{

    padding:15px;
  }

  .search-box h2{

    font-size:26px;
  }

  .search-box select,
  .search-box input{

    font-size:13px;

    padding:10px;
  }

  .search-box button{

    padding:12px;
  }

}