/* ====== /css/estilos_v1.css ====== */
html, body { height: 100%; }

body{
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111827;
}

/* Fondo */
.page-bg{
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url("/imagenes/jms.jpg") center center no-repeat;
  background-size: cover;
  z-index: -2;
}

.page-overlay{
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(255,255,255,0.88);
  z-index: -1;
}

/* Layout */
.wrapper{
  min-height: 100%;
  padding: 28px 16px;
}

.layout{
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

/* Cabecera */
.header{
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.header__img{
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
}

/* Bot¨Žn/link superior */
.top-actions{
  text-align: center;
  margin: 16px 0 22px;
}

.nav-link{
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  color: #0b3a6a;
  background: #e9f0f7;
  border: 1px solid rgba(11, 58, 106, 0.22);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.06);
}

.nav-link:hover{
  background: #dde8f3;
}

/* Card principal */
.card{
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(17,24,39,0.10);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,0.10);
  overflow: hidden;
}

/* Columna izquierda: imagen */
.card__media{
  float: left;
  width: 380px;
  max-width: 100%;
  margin-right: 24px;
}

.card__media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(17,24,39,0.10);
}

/* Columna derecha: contenido */
.card__content{
  overflow: hidden;
  padding-top: 6px;
}

@media (min-width: 861px){
  .card__content{
    padding-top: 14px;
  }
}

/* Textos */
.title{
  margin: 0 0 8px;
  font-size: 22px;
}

.subtitle{
  margin: 0 0 18px;
  color: #374151;
  line-height: 1.55;
}

/* Form */
.form{
  max-width: 560px;
}

.label{
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.field{
  margin-bottom: 14px;
}

.input{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(17,24,39,0.18);
  font-size: 15px;
  outline: none;
  background: #fff;
}

.input:focus{
  border-color: rgba(11, 58, 106, 0.45);
  box-shadow: 0 0 0 4px rgba(11, 58, 106, 0.12);
}

.btn{
  width: 100%;
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
  font-size: 15px;
  color: #fff;
  background: #0b3a6a;
}

.btn:hover{
  filter: brightness(0.97);
}

.help{
  margin: 10px 0 0;
  color: #6b7280;
  font-size: 13px;
}

/* Footer */
.footer{
  text-align: center;
  margin-top: 16px;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 860px){
  .card{
    padding: 18px;
  }

  .card__media{
    float: none;
    width: 100%;
    max-width: 460px;
    margin: 0 auto 16px auto;
  }

  .form{
    max-width: 100%;
  }
}
