 .u-section-1 {
  background-image: none;
}

.u-section-1 .u-sheet-1 {
  min-height: 76px;
}

.u-section-1 .u-text-1 {
  text-transform: none;
  font-weight: normal;
  font-size: 2.25rem;
  margin: 18px 388px 18px 0;
}

@media (max-width: 1199px) {
  .u-section-1 .u-sheet-1 {
    min-height: 122px;
  }

  .u-section-1 .u-text-1 {
    margin-right: 188px;
  }
}

@media (max-width: 991px) {
  .u-section-1 .u-sheet-1 {
    min-height: 74px;
  }

  .u-section-1 .u-text-1 {
    width: auto;
    margin-top: 17px;
    margin-right: 0;
    margin-bottom: 17px;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-text-1 {
    font-size: 1.875rem;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 41px;
  }

  .u-section-1 .u-text-1 {
    font-size: 1.5rem;
    margin-top: 8px;
    margin-bottom: 8px;
  }
} .u-section-2 {
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-image: linear-gradient(to bottom, #e5e5e5, #ffffff);
  background-size: cover;
  min-height: 620px;
}

.u-section-2 .u-layout-wrap-1 {
  margin-top: 0;
  margin-bottom: 0;
}

.u-section-2 .u-image-1 {
  animation-duration: 1000ms;
  min-height: 620px;
  filter: none;
  background-image: url("images/sd-min.jpg");
  background-position: 50% 50%;
  background-size: cover;
}

.u-section-2 .u-container-layout-1 {
  padding: 0;
}

.u-section-2 .u-layout-cell-2 {
  animation-duration: 1000ms;
  min-height: 620px;
}

.u-section-2 .u-container-layout-2 {
  padding: 14px 0 10px;
}

.u-section-2 .u-group-1 {
  width: 383px;
  min-height: 444px;
  height: auto;
  box-shadow: 5px 5px 20px 0 rgba(0,0,0,0.4);
  --radius: 12px;
  margin: 60px auto 0;
}

.u-section-2 .u-container-layout-3 {
  padding: 0;
}

.u-section-2 .u-text-1 {
  font-size: 1.875rem;
  margin: 45px auto 0;
}

.u-section-2 .u-text-2 {
  font-size: 1.25rem;
  margin: 22px auto 0;
}

.u-section-2 .u-custom-html-1 {
  min-height: 183px;
  height: auto;
  width: 319px;
  margin: 32px auto 0;
}

.u-section-2 .u-btn-1 {
  background-image: none;
  border-style: solid;
  font-style: italic;
  font-weight: 700;
  margin: 12px auto 0;
  padding: 0;
}

@media (max-width: 1199px) {
   .u-section-2 {
    min-height: 599px;
  }

  .u-section-2 .u-layout-wrap-1 {
    margin-bottom: 47px;
  }

  .u-section-2 .u-image-1 {
    min-height: 511px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 556px;
  }

  .u-section-2 .u-group-1 {
    min-height: 408px;
    height: auto;
  }

  .u-section-2 .u-text-1 {
    width: auto;
    margin-top: 35px;
  }

  .u-section-2 .u-text-2 {
    width: auto;
    margin-top: 23px;
  }

  .u-section-2 .u-custom-html-1 {
    min-height: 188px;
  }
}

@media (max-width: 991px) {
   .u-section-2 {
    min-height: 351px;
  }

  .u-section-2 .u-layout-wrap-1 {
    margin-bottom: 0;
  }

  .u-section-2 .u-image-1 {
    background-position: 76.36% 50%;
    min-height: 358px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 560px;
  }

  .u-section-2 .u-container-layout-2 {
    padding-top: 0;
  }

  .u-section-2 .u-group-1 {
    width: 285px;
    min-height: 381px;
    margin-top: 76px;
  }

  .u-section-2 .u-text-1 {
    font-size: 1.5rem;
    margin-top: 29px;
  }

  .u-section-2 .u-text-2 {
    font-size: 1.125rem;
    margin-top: 8px;
  }

  .u-section-2 .u-custom-html-1 {
    min-height: 166px;
    width: 253px;
  }

  .u-section-2 .u-btn-1 {
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
   .u-section-2 {
    min-height: 1013px;
  }

  .u-section-2 .u-image-1 {
    min-height: 398px;
  }

  .u-section-2 .u-container-layout-1 {
    padding-bottom: 13px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 523px;
  }

  .u-section-2 .u-container-layout-2 {
    padding-top: 13px;
    padding-bottom: 70px;
  }

  .u-section-2 .u-group-1 {
    width: 520px;
    min-height: 387px;
    margin-top: 53px;
  }

  .u-section-2 .u-text-1 {
    margin-top: 35px;
  }

  .u-section-2 .u-text-2 {
    margin-top: 6px;
  }

  .u-section-2 .u-custom-html-1 {
    min-height: 177px;
    width: 376px;
    margin-top: 17px;
  }

  .u-section-2 .u-btn-1 {
    margin-top: 22px;
  }
}

@media (max-width: 575px) {
   .u-section-2 {
    min-height: 719px;
  }

  .u-section-2 .u-layout-wrap-1 {
    margin-bottom: 40px;
  }

  .u-section-2 .u-image-1 {
    min-height: 268px;
  }

  .u-section-2 .u-layout-cell-2 {
    min-height: 411px;
  }

  .u-section-2 .u-container-layout-2 {
    padding-top: 0;
    padding-bottom: 10px;
  }

  .u-section-2 .u-group-1 {
    width: 403px;
    min-height: 361px;
    margin-top: 29px;
  }

  .u-section-2 .u-text-1 {
    margin-top: 30px;
  }

  .u-section-2 .u-text-2 {
    margin-top: 0;
  }

  .u-section-2 .u-custom-html-1 {
    min-height: 165px;
    width: 340px;
    margin-top: 29px;
  }

  .u-section-2 .u-btn-1 {
    margin-top: 7px;
  }
}.u-section-3 .u-sheet-1 {
  min-height: 43px;
}

.u-section-3 .u-btn-1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  background-image: none;
  border-style: none;
  align-self: flex-end;
  margin: 1px -80px 0 auto;
  padding: 10px 46px 11px 44px;
}

.u-section-3 .u-icon-1 {
  width: 38px;
  height: 38px;
  background-image: none;
  margin: -39px -64px 0 auto;
  padding: 5px;
}

.u-section-3 .u-btn-2 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
  background-image: none;
  border-style: none;
  align-self: flex-end;
  margin: -39px 143px 0 auto;
  padding: 10px 51px 11px 50px;
}

.u-section-3 .u-icon-2 {
  width: 40px;
  height: 40px;
  margin: -40px 143px 2px auto;
}

@media (max-width: 1199px) {
  .u-section-3 .u-btn-1 {
    margin-right: 0;
  }

  .u-section-3 .u-icon-1 {
    margin-right: 11px;
  }

  .u-section-3 .u-btn-2 {
    margin-right: 227px;
  }

  .u-section-3 .u-icon-2 {
    margin-right: 227px;
  }
}

@media (max-width: 991px) {
  .u-section-3 .u-btn-1 {
    margin-right: -21px;
  }

  .u-section-3 .u-icon-1 {
    margin-right: -21px;
  }

  .u-section-3 .u-btn-2 {
    margin-right: 195px;
  }

  .u-section-3 .u-icon-2 {
    margin-right: 195px;
  }
}

@media (max-width: 767px) {
  .u-section-3 .u-sheet-1 {
    min-height: 47px;
  }

  .u-section-3 .u-btn-1 {
    margin-top: -1189px;
    margin-right: 0;
  }

  .u-section-3 .u-icon-1 {
    margin-top: 0;
    margin-right: 63px;
  }

  .u-section-3 .u-btn-2 {
    margin-right: 15px;
  }

  .u-section-3 .u-icon-2 {
    margin-right: 116px;
    margin-bottom: 9px;
  }
}

@media (max-width: 575px) {
  .u-section-3 .u-sheet-1 {
    min-height: 48px;
  }

  .u-section-3 .u-btn-1 {
    margin-top: -1790px;
  }

  .u-section-3 .u-icon-1 {
    margin-top: 3px;
    margin-right: 66px;
  }

  .u-section-3 .u-btn-2 {
    margin-right: 0;
  }

  .u-section-3 .u-icon-2 {
    margin-right: 118px;
    margin-bottom: 6px;
  }
}/* Campos */
.campo {
  margin-bottom: 15px;
  position: relative;
}
.campo label {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  border-radius: 5px;
  padding: 5px 10px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
/* Íconos */
.campo .icono {
  flex: 0 0 24px;
  text-align: center;
  font-size: 18px;
  margin-right: 6px;
  color: #888;
  position: relative;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Ambos íconos comparten el mismo “slot” */
.campo .icono i {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  margin: auto;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
/* Estado inicial: íconos base visibles */
.campo .icono .fa-user-check,
.campo .icono .fa-lock-open {
  opacity: 0;
  transform: scale(0.9);
}
.campo .icono .fa-user,
.campo .icono .fa-lock {
  opacity: 1;
  transform: scale(1);
}
/* Inputs */
.campo input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  color: grey;
  padding: 2px 0;
}
/* Hover/focus visual del recuadro e icono (común) */
.campo label:hover,
.campo label:focus-within {
  border-color: #0078D4;
  box-shadow: 0 0 6px rgba(0,120,212,0.4);
}
.campo label:hover .icono,
.campo label:focus-within .icono {
  color: #0078D4;
}
/* Usuario: SOLO cuando el label del nombre está en foco */
label[for="nombre"]:focus-within .fa-user {
  opacity: 0;
  transform: scale(0.9);
}
label[for="nombre"]:focus-within .fa-user-check {
  opacity: 1;
  transform: scale(1);
}
/* Candado: SOLO cuando el label de clave está en foco (con ligero giro) */
label[for="clave"]:focus-within .fa-lock {
  opacity: 0;
  transform: scale(0.9) rotate(-10deg);
}
label[for="clave"]:focus-within .fa-lock-open {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
/* Botón */
button {
  background: #0078D4;
  color: white;
  border: none;
  padding: 10px 30px;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: background 0.3s ease;
}
button:disabled {
  background: #ccc;
  cursor: not-allowed;
}
/* Mensajes de error */
.mensaje-error {
  position: absolute;
  color: red;
  text-align: center;
  width: 85%;
  font-size: 14px;
  margin-top: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
/* Animaciones */
@keyframes bounceIn {
  0%   { transform: scale(0.8); opacity: 0; }
  50%  { transform: scale(1.2); opacity: 1; }
  70%  { transform: scale(0.9); }
  100% { transform: scale(1); }
}
@keyframes unlock {
  0%   { transform: rotate(0deg) scale(0.9); opacity: 0; }
  50%  { transform: rotate(-20deg) scale(1.1); opacity: 1; }
  100% { transform: rotate(0deg) scale(1); opacity: 1; }
}
/* Estado inicial */
.campo .icono .fa-user-check,
.campo .icono .fa-lock-open {
  opacity: 0;
  transform: scale(0.9);
}
.campo .icono .fa-user,
.campo .icono .fa-lock {
  opacity: 1;
  transform: scale(1);
}
/* Usuario: rebote al validarse */
label[for="nombre"]:focus-within .fa-user {
  opacity: 0;
  transform: scale(0.8);
}
label[for="nombre"]:focus-within .fa-user-check {
  opacity: 1;
  animation: bounceIn 0.4s ease forwards;
}
/* Candado: giro al abrirse */
label[for="clave"]:focus-within .fa-lock {
  opacity: 0;
  transform: scale(0.8);
}
label[for="clave"]:focus-within .fa-lock-open {
  opacity: 1;
  animation: unlock 0.4s ease forwards;
}
/* Loader */
.loader {
  position: absolute;
  margin-top: 5px;
  text-align: center;
  width: 86%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: #0078D4;
  transition: opacity 0.3s ease;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 3px solid #ccc;
  border-top: 3px solid #0078D4;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  100% { transform: rotate(360deg); }
}