.titulo {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 2.3rem;
  color: #000000;
  margin-top: 30px;
}
.subTitulo {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1.4rem;
  color: #000000;
  margin-bottom: 30px;
}

.progress-container {
  width: 80%;
  height: 20px;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
  box-shadow: inset 0 0 0 1px grey;
}

.progress-bar {
  width: 25%;
  height: 100%;
  background-color: #2097ec;
  border-radius: 10px;

  /* TRANSICIÓN GUAO: Suave y con un ligero rebote al final */
  transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);

  /* EFECTO DE TEXTURA: Un degradado sutil para que no sea un color plano */
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.15) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.15) 75%,
    transparent 75%,
    transparent
  );
  background-size: 40px 40px; /* Tamaño de las rayas */

  /* ANIMACIÓN DE BRILLO: Las rayas se mueven suavemente */
  animation: progressAnimation 2s linear infinite;

  /* Sombra interna para dar profundidad */
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

/* El brillo que recorre la barra de vez en cuando */
.progress-bar::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 3s infinite;
}

/* Animación de las rayas */
@keyframes progressAnimation {
  from {
    background-position: 40px 0;
  }
  to {
    background-position: 0 0;
  }
}

/* Animación del reflejo brillante */
@keyframes shine {
  to {
    left: 100%;
  }
}

.paso {
  color: grey;
  font-size: 0.8rem;
}

.textoPregunta {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: #000000;
  margin-bottom: 20px;
}

.cardInputs {
  width: 80%;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* La caja contenedora */
.option-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: white;
  border: 1.5px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

/* Escondemos el radio original */
.option-card input[type="radio"] {
  display: none;
}

/* Texto a la izquierda */
.option-text {
  font-size: 1.2rem;
  color: #888;
  font-weight: 300;
}

/* El círculo del radio (personalizado) */
.custom-radio {
  width: 22px;
  height: 22px;
  border: 2px solid #ccc;
  border-radius: 50%;
  position: relative;
}

/* --- ESTADOS SELECCIONADOS --- */

/* Cuando el radio interno está checked, pintamos el borde de la caja */
.option-card:has(input:checked) {
  border-color: #0088f0;
}

/* Pintamos el texto cuando está seleccionado */
.option-card:has(input:checked) .option-text {
  color: #444;
}

/* Pintamos el círculo azul */
.option-card input:checked + .custom-radio {
  border-color: #0088f0;
}

/* El punto azul central */
.option-card input:checked + .custom-radio::after {
  content: "";
  width: 12px;
  height: 12px;
  background: #0088f0;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Botón Continuar */
.btnContinuar {
  background-color: #0088f0;
  color: white;
  border: none;
  padding: 16px;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 5px;
}

/* Contenedor para alinear los botones uno al lado del otro */
.cardBtns {
  display: flex;
  gap: 15px; /* Espacio entre botones */
  margin-top: 20px;
}

/* Estilo base para ambos botones */
.btnAtras,
.btnContinuar2 {
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  border: none;
}

/* Diseño específico para ATRÁS (Estilo secundario) */
.btnAtras {
  color: #0088f0;
  background-color: #e4eff5;
}
.btnContinuar2 {
  background-color: #0088f0;
  color: white;
}

@keyframes entradaGuapa {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.contenedorPaso1 {
  display: block;
  transition: 0.8s ease-in-out;
  animation: entradaGuapa 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  backface-visibility: hidden;
}
.contenedorPaso2 {
  display: none;
  transition: 0.8s ease-in-out;
  animation: entradaGuapa 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  backface-visibility: hidden;
}

.contenedorPaso3 {
  display: none;
  transition: 0.8s ease-in-out;
  animation: entradaGuapa 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  backface-visibility: hidden;
}
.contenedorPaso4 {
  transition: 0.8s ease-in-out;
  animation: entradaGuapa 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  backface-visibility: hidden;
}

/* Estilo del Formulario */
.oForm {
  width: 80%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.frmMovil {
  width: 100%;
  padding: 16px 20px;
  border: 1.5px solid #444;
  border-radius: 12px;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
}

.frmMovil:focus {
  border-color: #2097ec;
  box-shadow: 0 0 8px rgba(32, 151, 236, 0.2);
}
.control-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 10px 0;
  cursor: pointer;
}
input.formCheckbox.frmPrivacidad {
  width: 25px !important;
  height: 25px !important;
  margin-top: 3px;
  accent-color: #ffc12d;
}
.textoPoliticas {
  font-size: 13px;
  line-height: 1.4;
  color: #444;
  margin: 0;
}
.politicasLP {
  color: #000;
  text-decoration: underline;
  font-weight: 600;
  white-space: nowrap;
}
.botonEnviar {
  width: 100%;
  padding: 15px;
  background-color: #ffc12d;
  color: #000;
  border: none;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 800;
  text-transform: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  box-shadow: 0 4px 0px #d4a022;
}
.botonEnviar:hover {
  background-color: #ffcc55;
  transform: translateY(-2px);
  box-shadow: 0 6px 0px #d4a022;
}
.botonEnviar:active {
  transform: translateY(2px);
  box-shadow: 0 0px 0px #d4a022;
}
form .ssl .fa {
  color: black !important;
}
form .ssl {
  color: black !important;
}
.imagenPortada {
  width: 100%;
  height: 561px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../images/form1/imagenPortada.webp);
  background-color: #f4f4f4;
  transition:
    background-image 0.8s ease-in-out,
    filter 0.4s;
  will-change: background-image;
}
.imagenPortada[style] {
  animation: crossFade 0.6s ease-in-out;
}
@keyframes crossFade {
  0% {
    filter: brightness(1);
    opacity: 0.9;
  }
  50% {
    filter: brightness(1.05);
  }
  100% {
    filter: brightness(1);
    opacity: 1;
  }
}
@media (max-width: 1200px) {
  #bloque1 {
    padding: 40px 0px;
  }
  .imagenPortada2 {
    width: 100%;
    height: 200px;
    background-image: url(../images/form1/imagenPortada_xs.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
  }
  .titulo {
    text-align: center;
  }
  .subTitulo {
    text-align: center;
  }
  .textodejaTelefono {
    text-align: center;
  }
  .progress-container {
    width: 100%;
  }
  .textoPregunta {
    text-align: center;
  }
  .cardInputs {
    width: 100%;
  }
  .oForm {
    width: 100%;
  }
  input.formCheckbox.frmPrivacidad {
    width: 30px !important;
    height: 30px !important;
  }
}
@media (max-width: 990px) {
  .titulo {
    font-size: 1.8rem;
  }
  .subTitulo {
    font-size: 1rem;
  }
  .textoPregunta {
    font-size: 1.2rem;
  }
  .textodejaTelefono {
    text-align: center;
    font-size: 1rem;
  }
}
@media (max-width: 765px) {
  #bloque1 {
    padding: 0px;
    padding-bottom: 30px;
  }
  .imagenPortada2 {
    height: 131px;
    margin: 20px 0px;
  }
  .titulo {
    margin-top: 0px;
    font-size: 1.5rem;
  }
}
