body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: url("../img/fondo.png") no-repeat center center fixed;
  background-size: cover;
}

    header {
  background: rgba(0, 76, 153, 0.85); /* azul oscuro semitransparente */
  color: white;
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
  border-radius: 12px;
  margin: 20px;
  backdrop-filter: blur(4px); /* efecto cristalino opcional */
}

    .column {
      display: flex;
      flex-direction: column;
      align-items: center;
      flex: 1;
      min-width: 250px;
      max-width: 33%;
    }

    .questions-row {
      display: flex;
      flex-direction: row;
      gap: 12px;
      font-size: 1.1em;
      font-weight: 700;
      flex-wrap: wrap;
      justify-content: center;
      margin-bottom: 10px;
    }

    .questions-row span {
      padding: 8px 14px;
      border: 2px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px;
      transition: all 0.25s ease;
      cursor: pointer;
      background-color: rgba(255, 255, 255, 0.05);
      text-align: center;
    }

    .questions-row span:hover {
      background-color: rgba(255, 255, 255, 0.15);
      border-color: white;
    }

    .info-box {
      display: none;
      background-color: rgba(255,255,255,0.1);
      padding: 12px 16px;
      border-radius: 8px;
      font-size: 0.95em;
      line-height: 1.5;
      color: #ffffff;
      text-align: left;
      max-width: 100%;
    }

    .info-box.active {
      display: block;
    }

    .logo {
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .logo-symbol {
      display: flex;
      align-items: center;
      font-weight: 900;
      font-size: 5em;
      letter-spacing: 1px;
    }

    .logo-symbol .text {
      display: flex;
    }

    .logo-symbol .circle {
      width: 1em;
      height: 1em;
      margin-left: 6px;
      background-color: white;
      border-radius: 50%;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .logo-symbol .circle::before {
      content: "✔";
      color: #004c99;
      font-size: 0.6em;
      font-weight: bold;
      position: absolute;
    }

    .subtitle {
      font-size: 0.8em;
      font-weight: 800;
      letter-spacing: 2px;
      margin-top: 4px;
      text-transform: uppercase;
    }

    @media (max-width: 768px) {
      header {
        flex-direction: column;
        align-items: center;
      }

      .logo-symbol {
        font-size: 4em;
      }

      .questions-row {
        gap: 10px;
        font-size: 1em;
      }

      .column {
        max-width: 100%;
      }
    }


   .vehiculos {
  margin: 60px auto;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4); /* más opaco */
  padding: 40px 30px;
  border-radius: 16px;
  color: white;
  text-align: center;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.vehiculos h2 {
  font-size: 1.8em;
  margin-bottom: 30px;
}

.vehiculos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-items: center;
}

.vehiculo {
  font-size: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 15px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #00ffa1 0%, transparent 70%);
  background-size: 0% 0%;
  background-repeat: no-repeat;
  background-position: top left;
  transition: background-size 1.0s ease-out, transform 0.3s ease; /* velocidad de salida */
}

.vehiculo:hover {
  background-size: 350% 350%;
  transform: scale(1.1);
  transition: background-size 1.5s ease-in, transform 0.3s ease; /* velocidad de entrada más lenta */
}



.vehiculo span {
  font-size: 0.6em;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .vehiculos-grid {
    grid-template-columns: 1fr;
  }
}


  

.formularioModal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1000;
  font-family: 'Segoe UI', sans-serif;

  align-items: center;
  justify-content: center;
}

.formularioContenido {
  background: rgba(255,255,255,0.97);
  color: #111;
  border-radius: 20px;
  max-width: 550px;
  width: 95vw;
  box-shadow: 0 6px 25px rgba(0,0,0,0.4);
  position: relative;
  animation: slideIn 0.4s ease-out;
  padding: 35px 20px;
  max-height: 92vh;
  overflow-y: auto;
  box-sizing: border-box;

  /* Scrollbar personalizado para Chrome/Safari/Edge */
  scrollbar-color: #03a9f4 #e0e0e0;
  scrollbar-width: thin;
}
.formularioContenido::-webkit-scrollbar {
  width: 10px;
}
.formularioContenido::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #03a9f4 40%, #00ffa1 100%);
  border-radius: 7px;
  opacity: 0.7;
}
.formularioContenido::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 10px;
}

@media (max-width: 700px) {
  .formularioContenido {
    max-height: 97vh;
    padding: 17px 2vw;
  }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.dato-resumen {
  margin-bottom: 8px;
  font-size: 1em;
  line-height: 1.4;
}
#formPaso3 hr {
  border: none;
  border-top: 2px solid #00ffa1;
  margin: 18px 0 12px 0;
}

.botton-atras {
  background-color:#ccc; 
  border:none; 
  padding:10px 18px; 
  border-radius:8px; 
  cursor:pointer; 
  font-weight:bold;
  }
.botton-adelante {
display:none; 
background-color:#00ffa1; 
border:none; 
padding:10px 18px; 
border-radius:8px; 
cursor:pointer; 
color:#000; 
font-weight:bold;
  }


  /* --- FORMULARIO DE CREAR CUENTA (PASO 4) --- */

#formPaso4 {
  margin-top: 8px;
}

.aviso-cuenta {
  background: linear-gradient(90deg, #e3f8ff 10%, #e1ffe7 100%);
  border-left: 6px solid #00ffa1;
  color: #005a8d;
  font-size: 1.07em;
  font-weight: 600;
  padding: 17px 20px 15px 18px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 2px 14px rgba(0, 79, 153, 0.08);
  text-align: left;
  line-height: 1.5;
}

.campo-form {
  margin-bottom: 18px;
  text-align: left;
}
.campo-form label {
  font-size: 1em;
  color: #004c99;
  font-weight: bold;
  margin-bottom: 7px;
  display: inline-block;
}
.campo-form input[type="email"],
.campo-form input[type="password"] {
  width: 100%;
  padding: 10px 13px;
  font-size: 1em;
  border-radius: 9px;
  border: 1.5px solid #c2d0e4;
  outline: none;
  transition: border-color 0.2s;
  margin-top: 4px;
  margin-bottom: 3px;
  background: #f8fbff;
}
.campo-form input:focus {
  border-color: #00ffa1;
  background: #eafff8;
}
.msg-error {
  display: block;
  min-height: 18px;
  color: #c62828;
  font-size: 0.97em;
  font-weight: 500;
  padding-left: 2px;
  margin-bottom: -5px;
}

#erroresForm4 {
  min-height: 18px;
  margin: 7px 0 7px 0;
}

@media (max-width: 650px) {
  .aviso-cuenta {
    font-size: 0.99em;
    padding: 13px 10px 13px 9px;
  }
  .campo-form input[type="email"],
  .campo-form input[type="password"] {
    font-size: 0.97em;
    padding: 9px 8px;
  }
}

  /* --- FORMULARIO DE PAGO (PASO 5) --- */

#formPaso5 .campo-form {
  margin-bottom: 15px;
}

#formPaso5 .campo-form label {
  font-size: 1em;
  color: #004c99;
  font-weight: 600;
}

#formPaso5 .campo-form input,
#formPaso5 .campo-form select {
  padding: 9px 10px;
  border-radius: 8px;
  border: 1.5px solid #ccc;
  font-size: 1em;
  margin-top: 3px;
  width: 100%;
  background: #f8faff;
}

#formPaso5 .campo-form input:focus, #formPaso5 .campo-form select:focus {
  border-color: #00ffa1;
  outline: none;
  background: #eafff8;
}

#formPaso5 .msg-error {
  display: block;
  color: #c62828;
  font-size: 0.92em;
  min-height: 17px;
  margin-top: 2px;
}

#logoTarjeta {
  background: #fff;
  border-radius: 7px;
  border: 1px solid #ddd;
  padding: 3px 4px;
  min-width: 34px;
}


#formPaso5 {
  max-width: 430px;
  margin: 10px auto 0 auto;
  background: rgba(255,255,255,0.98);
  border-radius: 22px;
  padding: 28px 36px 30px 36px;
  box-shadow: 0 12px 38px rgba(0,0,0,0.16);
  font-family: 'Segoe UI', sans-serif;
  border: 1.5px solid #e0f7fa;
  position: relative;
  overflow-y: auto;
}

#formPaso5 h3 {
  margin-bottom: 26px;
  margin-top: 0;  
  font-size: 1.37em;
  color: #0069c0;
  border-bottom: 2px solid #00ffa1;
  padding-bottom: 10px;
  text-align: center;
  letter-spacing: 0.01em;
}

#formPaso5 label {
  margin-top: 15px;
  display: block;
  color: #004c99;
  font-weight: 600;
  font-size: 1.06em;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

#formPaso5 input,
#formPaso5 select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 12px;
  border: 1.2px solid #c5e8ef;
  font-size: 1.11em;
  margin-bottom: 9px;
  background: #f5fcff;
  transition: border 0.2s, background 0.18s;
  outline: none;
  box-sizing: border-box;
}

#formPaso5 input:focus,
#formPaso5 select:focus {
  border-color: #00ffa1;
  background: #e0f7fa;
}

#formPaso5 #logoTarjeta {
  height: 28px;
  margin-left: 5px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(0,0,0,0.10);
  padding: 2px 5px;
  transition: transform 0.18s;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
#formPaso5 #logoTarjeta:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 2px 14px rgba(0,0,0,0.14);
}

#formPaso5 #mensajeValidacion {
  margin-bottom: 15px;
  font-weight: 500;
  font-size: 1.01em;
  text-align: center;
  padding: 10px 0 6px 0;
  border-radius: 10px;
  min-height: 26px;
  letter-spacing: 0.01em;
  color: #00695c;
  background: #e0fff3;
  border: 1px solid #b2ffe5;
  box-shadow: 0 1px 4px rgba(0,255,161,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

#formPaso5 .form5-row {
  margin-bottom: 22px;
}

#formPaso5 [id^="error"] {
  color: #d32f2f;
  font-size: 0.96em;
  margin-bottom: 5px;
  min-height: 17px;
  padding-left: 2px;
}

#btnRegistroSiguiente5 {
  background: linear-gradient(90deg,#00ffa1 0%,#25e5fa 100%);
  color: #004c99;
  border: none;
  padding: 13px 0;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.13em;
  margin-top: 32px;
  width: 100%;
  box-shadow: 0 3px 16px rgba(0,255,161,0.10);
  cursor: pointer;
  transition: background 0.16s, box-shadow 0.2s;
  display: block;
}
#btnRegistroSiguiente5:hover {
  background: linear-gradient(90deg,#00e89d 0%,#21c6e1 100%);
  color: #002b60;
  box-shadow: 0 4px 18px rgba(0,255,161,0.16);
}

@media (max-width: 570px) {
  #formPaso5 {
    max-width: 98vw;
    padding: 18px 5vw 20px 5vw;
  }
  #formPaso5 h3 { font-size: 1.11em;}
}


#btnRegistroSiguiente5 {
  margin-top: 22px !important;        /* Levanta el botón desde abajo */
  margin-bottom: 2px;
  width: 100%;
  background: linear-gradient(90deg,#00ffa1 60%,#15cdfc 100%);
  color: #0e223a;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1em;
  padding: 12px 0 12px 0;
  box-shadow: 0 3px 10px rgba(34,188,197,0.10);
  transition: background 0.16s, color 0.13s;
}
#btnRegistroSiguiente5:hover {
  background: linear-gradient(90deg,#00ffa1 55%,#15cdfc 100%);
  color: #004c99;
}

.loader-mini {
  position: absolute;
  left: 0; right: 0;
  top: 0; bottom: 0;
  background: rgba(255,255,255,0.86);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.loader-circulo-mini {
  border: 4px solid #15cdfc;
  border-top: 4px solid #00ffa1;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  animation: spin 1s linear infinite;
  margin-bottom: 2px;
}

@keyframes spin {
  0% { transform: rotate(0deg);}
  100% { transform: rotate(360deg);}
}




.rechazo-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(255,40,80,0.99); /* Rojo translúcido más visible */
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px; /* Misma que tu form para que no sobresalga */
  animation: fadeInRechazo 0.5s;
}

@keyframes fadeInRechazo {
  0% { opacity: 0;}
  100% { opacity: 1;}
}

.rechazo-animado {
  width: 90%;
  max-width: 350px;
  background: #fff;
  border-radius: 18px;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.19);
  position: relative;
  animation: esquinasRechazo 0.4s cubic-bezier(.36,.07,.19,.97);
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes esquinasRechazo {
  0% {
    box-shadow: 0 0 0 0 #ee215c, 0 0 0 0 #ee215c, 0 0 0 0 #ee215c, 0 0 0 0 #ee215c;
    transform: scale(0.8);
  }
  100% {
    box-shadow:
      -60px -60px 0 0 #ee215c, /* esquina sup izq */
      60px -60px 0 0 #ee215c,  /* esquina sup der */
      -60px 60px 0 0 #ee215c,  /* esquina inf izq */
      60px 60px 0 0 #ee215c;   /* esquina inf der */
    transform: scale(1);
  }
}

.rechazo-x-circulo {
  margin-bottom: 12px;
  animation: saltarX 0.5s cubic-bezier(.53,.1,.48,1.28);
}

@keyframes saltarX {
  0% { transform: translateY(-50px) scale(0.6);}
  75% { transform: translateY(8px) scale(1.1);}
  100% { transform: translateY(0) scale(1);}
}

.rechazo-x-circulo svg {
  display: block;
  margin: 0 auto;
}

.rechazo-mensaje h3 {
  color: #ee215c;
  font-size: 1.38em;
  margin-bottom: 10px;
  margin-top: 2px;
  text-align: center;
}

.rechazo-motivo {
  color: #37384a;
  text-align: center;
  font-size: 1em;
  margin-bottom: 20px;
  margin-top: 8px;
}

.boton-reintentar {
  display: block;
  margin: 0 auto;
  padding: 12px 0;
  width: 100%;
  border: none;
  border-radius: 10px;
  background: linear-gradient(90deg,#6d47ff 0%,#a948e8 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.1em;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 1s;
  box-shadow: 0 2px 8px 0 rgba(108, 56, 255, 0.12);
}
.boton-reintentar:hover {
  background: linear-gradient(90deg,#a948e8 0%,#6d47ff 100%);
}
