/* RESET GENERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f7fa;
  color: #1D2D5C;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 15px 5%;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.container {
   
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.2rem;
}

.logo img {
  height: 70px;
}

nav a {
  margin-left: 25px;
  text-decoration: none;
  color: #1D2D5C;
  font-weight: 700; /* más negrita */
  font-size: 1rem;
}

nav a:hover {
  text-decoration: underline;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 40px; /* espacio entre enlaces y login */
  margin-left: auto; /* empuja todo el nav a la derecha */
}

.nav-links {
  display: flex;
  gap: 30px; /* espacio entre botones del menú */
}

.login-btn {
  background-color: #1D2D5C;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.login-btn:hover {
  background-color: #16284a;
}

/* SECCIÓN DE TÍTULO */
.hero-title {
  padding: 80px 5% 40px 5%;
  text-align: left;
}

.hero-title h1 {
  font-size: 2.4rem;
  font-weight: 600;
  max-width: 800px;
  line-height: 1.3;
  margin-bottom: 50px;
  color: white;
  text-shadow: 1px 4px 2px rgba(0, 0, 0, 0.263), -6px 5px 7px rgba(0, 0, 0, 0.214);
  letter-spacing: 0.5px;
   
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SECCIÓN DE BOTONES */
.cta-section {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding-bottom: 80px;
  flex-wrap: wrap;
  
}

.cta-block {
  padding: 30px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-block h2 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-align: center;
}
.cta-block.dark h2 {
  color: white; /* Para que se vea en el fondo azul oscuro */
}
.cta-block.light {
  background-color: white;
  color: #1D2D5C;
}

.cta-block.dark {
  background-color: #1D2D5C;
  color: white;
}

.primary-btn {
  background-color: #1D2D5C;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s;
}

.primary-btn:hover {
  background-color: #16284a;
}

.secondary-btn {
  background-color: white;
  color: #1D2D5C;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid white;
  transition: background-color 0.3s;
}

.secondary-btn:hover {
  background-color: #f4f4f4;
}
 /* FONDO CON IMAGEN DE ABOGADO */
 .hero-background {
  position: relative;
  background-image: linear-gradient(to right, rgb(6 16 46 / 65%), rgb(0 0 0 / 14%)), url(../images/banner.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
  min-height: 100vh;
  z-index: 0;
  overflow: hidden;
  filter: brightness(1.05) contrast(1.05);
}

/* Overlay degradado sin tapar la imagen */
.hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgb(255 255 255 / 0%), #f9fbe736 60%);
  z-index: 1;
  pointer-events: none;
}

/* Asegura que el contenido esté encima del overlay */
.hero-title,
.cta-section {
  position: relative;
  z-index: 2;
  margin-top: 10px; /* Sube el título hacia arriba */
}

/* MENÚ RESPONSIVO */
.main-nav {
  display: flex;
  gap: 25px;
}

@media (max-width: 768px) {
  .main-nav {
    flex-direction: column;
    align-items: flex-end;
    padding-top: 20px;
    gap: 10px;
  }

  .hero-title h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .cta-section {
    flex-direction: column;
    align-items: center;
  }
}


/* NAV RESPONSIVO */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: white;
    padding: 10px;
    position: absolute;
    top: 70px;
    right: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
  }

  .main-nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}
.hero-title .container {
  padding-left: 6%;
  margin-top: -50px;
  max-width: 800px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}



.hero-description {
  margin-top: -30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}





.subtext {
  position: relative;
  display: inline-block;
  color: white;
  font-size: 1.1rem;
  z-index: 2;
}
.subline {
  height: 3px;
  background-color: white;
  margin-top: 8px;
  animation: drawAndFade 4s ease-out forwards;
  animation-delay: 0.5s;
  width: 0;
  max-width: 590px;
}

/* Coloca la línea justo debajo del texto */
.hero-title .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Animación horizontal */
@keyframes drawAndFade {
  0% {
    width: 0;
    opacity: 1;
  }
  70% {
    width: 100%;
    opacity: 1;
  }
  100% {
    width: 100%;
    opacity: 0;
  }
}


/* SECCIÓN BENEFICIOS */
html {
  scroll-behavior: smooth;
}

.benefits-section {
  background-color: #ffffff;
  padding: 120px 5% 80px;
  text-align: center;
  scroll-margin-top: 100px;
}

.benefits-section h2 {
  font-size: clamp(22px, 5vw, 35px);
  margin-bottom: 50px;
  color: #1D2D5C;
  font-weight: 700;
}

.benefits-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-item {
  flex: 1 1 250px;
  padding: 30px 20px;
  background-color: #f8f9fb;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-6px);
}

.benefit-item i {
  font-size: 40px;
  color: #1D2D5C;
  margin-bottom: 20px;
}

.benefit-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1D2D5C;
  font-weight: 600;
}

.benefit-item p {
  font-size: 0.95rem;
  color: #555;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .benefits-section {
    padding: 80px 20px;
  }

  .benefit-item {
    padding: 25px 15px;
  }
}


html {
  scroll-behavior: smooth;
}

.pasos-seccion {
  background-color: #f3f6fb;
  padding: 120px 20px 100px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  scroll-margin-top: 100px;
}

.pasos-seccion h2 {
  color: #1d2d5c;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 60px;
}

.pasos-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.paso-box {
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  max-width: 300px;
  flex: 1 1 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.paso-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.paso-numero {
  font-size: 3rem;
  color: #1d2d5c;
  font-weight: 700;
  margin-bottom: 20px;
}

.paso-titulo {
  font-size: 1.3rem;
  color: #1d2d5c;
  font-weight: 600;
  margin-bottom: 12px;
}

.paso-texto {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/*seccion 3 banner*/

.bloque-contacto {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background-color: #0a2a52;
  padding: 80px 5%;
  color: white;
}

.bloque-texto {
  flex: 1 1 50%;
  padding: 20px 40px;
}

.bloque-texto h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  color:#fff;
}

.bloque-texto p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.btn-contacto {
  background-color: #3CD1C2;
  color: #0a2a52;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-contacto:hover {
  background-color: #2bb8a9;
}

.bloque-imagen {
  flex: 1 1 50%;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  background-color: #0a2a52;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bloque-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}






/*adaptar a responsive*/
@media (max-width: 768px) {
  .bloque-contacto {
    display: flex;
    flex-direction: column !important;
    align-items: center;
    padding: 40px 5%;
    gap: 30px;
  }

  .bloque-texto,
  .bloque-imagen {
    width: 100%;
    text-align: center;
  }

  .bloque-imagen img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 12px;
  }

  .btn-contacto {
    display: inline-block;
    margin-top: 20px;
  }
}


@media (max-width: 480px) {
  .hero-title h1 {
    font-size: 1.6rem;
    line-height: 1.3;
    word-break: break-word;
  }

  .hero-title {
    padding: 60px 5% 30px 5%;
  }
}



/* Mejoras para móvil */
@media (max-width: 480px) {
  .hero-title h1 {
    font-size: 1.3rem;
    line-height: 1.4;
    word-break: break-word;
  }

  .hero-title .marca {
    font-size: 1.2rem;
    display: inline-block;
    word-break: break-word;
  }

  .hero-title {
    padding: 40px 6% 20px 6%;
  }
}


/* seccion especializaciones */ 
html {
  scroll-behavior: smooth;
}

.servicios-grid {
  text-align: center;
  padding: 100px 20px 60px; /* Reducido padding superior */
  scroll-margin-top: 80px; /* Reduce altura de anclaje para mostrar mejor el título */
}

.titulo-seccion {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1d2d5c;
  font-weight: 700;
}

.tarjetas-contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.tarjeta-servicio {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  width: 220px;
  cursor: pointer;
  transition: transform 0.2s;
}

.tarjeta-servicio:hover {
  transform: translateY(-5px);
}

.icono {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1d2d5c;
}

.oculto {
  display: none;
}

.ver-mas-container {
  margin-top: 30px;
}

#verMasBtn {
  padding: 10px 20px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: #1d2d5c;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

#verMasBtn:hover {
  background-color: #132042;
}

/* stilo buscador */

.input-buscador {
  padding: 12px 20px 12px 48px !important; /* Padding especial por la lupa */
  margin-bottom: 0; /* Si no quieres separación grande */
  height: 45px;
  box-sizing: border-box;
}
.buscador-wrapper {
  position: relative;
  text-align: center;
  margin: 30px auto;
  max-width: 500px;
}

.buscador-wrapper input {
  padding: 12px 20px 12px 48px; /* espacio a la izquierda para la lupa */
  width: 100%;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  height: 45px; /* altura uniforme */
  box-sizing: border-box;
}

.buscador-wrapper .icono-lupa {
  position: absolute;
  top: 40%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 18px;
  color: #1d2d5c;
  pointer-events: none;
  height: 100%;
  display: flex;
  align-items: center;
}

/*iconos para como funciona*/
.icono-azul {
  width: 50px;
  height: 50px;
  margin: 0 auto 12px;
  color: #1D2D5C;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.icono-svg {
  width: 28px;
  height: 28px;
}

/*footer*/
.seccion-footer {
  background-color: #1d2d5c;
  color: white;
  padding: 60px 10%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.footer-col {
  flex: 2 2  px;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-col a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-socials a {
  color: #ccc;
  font-size: 1.4rem;
}

.footer-socials a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 16px 0;
  color: #aaa;
  font-size: 0.85rem;
  background-color: #1d2d5c;
  width: 100%;
}


/* seleccion de servicios opciones */ 

.filtros-servicio {
  text-align: center;
  margin-bottom: 20px;
}

.filtros-servicio button {
  background-color: #f1f1f1;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  color: #1d2d5c;
  transition: background-color 0.3s;
}

.filtros-servicio button:hover {
  background-color: #dbe1f0;
}

.filtros-servicio button.activo {
  background-color: #1d2d5c;
  color: white;
}


/* formulario */

.formulario-wizard {
  max-width: 600px;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.servicio-seleccionado {
  text-align: center;
  margin-bottom: 20px;
  background: #e6f0ff;
  color: #1D2D5C;
  padding: 12px;
  border-radius: 8px;
  font-weight: 600;
}

.barra-progreso {
  background: #f1f1f1;
  height: 8px;
  border-radius: 5px;
  margin-bottom: 30px;
  overflow: hidden;
}

.progreso {
  height: 100%;
  width: 0%;
  background: #1D2D5C;
  transition: 0.4s ease;
}

.paso {
  display: none;
}

.paso.active {
  display: block;
}

h2 {
  color: #1D2D5C;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  text-align: left;
  text-justify: none;
}

textarea {
  width: 100%;
  height: 120px;
  resize: vertical; /* permite al usuario expandirlo verticalmente */
}

input:focus,
textarea:focus,
select:focus {
  border-color: #1d2d5c;
}

.botones {
  text-align: center;
}

.botones button {
  background-color: #1D2D5C;
  color: white;
  padding: 12px 25px;
  margin: 5px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.botones button:hover {
  background-color: #16284a;
}

.checkbox-acepto {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  background: #fff8e1;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 600px) {
  .formulario-wizard {
    padding: 20px;
    margin: 20px;
  }

  .botones button {
    width: 100%;
    margin-bottom: 10px;
  }
}

.botones button, .formulario-pasos button {
  background-color: #1D2D5C; /* Azul oscuro corporativo */
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 20px;
  margin-right: 10px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.botones button:hover, .formulario-pasos button:hover {
  background-color: #16284a; /* Azul un poco más oscuro al pasar el mouse */
  transform: translateY(-2px); /* Sube levemente al pasar el mouse */
}

/*formulario, para pasar de pregunta */



input, textarea, select {
  border: 1px solid #ccc;
  outline: none;
  transition: border-color 0.3s;
}

input:focus, textarea:focus, select:focus {
  border-color: #1d2d5c; /* Azul elegante al hacer focus */
}

.mensaje-error {
  color: red;
  font-size: 0.9rem;
  margin-top: -10px;
}

 

.campo-telefono {
  padding-bottom: 24px;
}

.campo-telefono .mensaje-error {
  margin-top: 2px;
  color: red;
  font-size: 0.8rem;
}
input[type="checkbox"].error {
  outline: 2px solid red;
  box-shadow: 0 0 3px red;
}

.acepto-politicas {
  position: relative;
}

.tooltip-politicas {
  position: absolute;
  top: -40px;
  left: 0;
  background-color: #fff3cd;
  color: #c62828;
  border: 1px solid #f5c6cb;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 4px;
  z-index: 100;
  display: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

/* Borde rojo si está en error */
input[type="checkbox"].error {
  outline: 2px solid red;
}
.tooltip-politicas {
  position: absolute;
  top: -31px;               /* más arriba */
  left: 5px;                /* más cerca al checkbox */
  background-color: #fff3cd;
  color: #c62828;
  border: 1px solid #f5c6cb;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  z-index: 100;
  display: none;
  box-shadow: 0 2px 6px rgb(0 0 0 / 32%);
  white-space: nowrap;
}

.g-recaptcha {
  transform: scale(0.85);
  transform-origin: 0 0;
  margin: 15px 0;
}

/* Flechita tipo globito */
.tooltip-politicas::after {
  content: "";
  position: absolute;
  top: 100%; /* abajo del tooltip */
  left: 15px; /* ajusta para apuntar mejor */
  border-width: 6px;
  border-style: solid;
  border-color: #fff3cd transparent transparent transparent;
}


/*politicas check*/

.acepto-politicas {
  background-color: #fff6d8;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.acepto-politicas input[type="checkbox"] {
  margin-top: 5px;
  transform: scale(1.1);
  flex-shrink: 0;
}

.acepto-politicas label {
  text-align: left !important;
  text-justify: none !important;
  display: block;
  flex: 1;
}

.acepto-politicas .privacidad {
  display: block;
  font-weight: bold;
  text-decoration: underline;
  margin-top: 8px;
  padding-top: 5px;
  color: #000;
}

/* Responsive */
@media (max-width: 600px) {
  .formulario-wizard {
    padding: 20px;
    margin: 20px;
  }

  .botones button {
    width: 100%;
    margin-bottom: 10px;
  }
}


input[type="tel"] {
  width: 100%;
  height: 48px;           /* Aumenta la altura del input */
  font-size: 1.05rem;     /* Hace más grande el texto */
  padding: 10px 14px;     /* Espaciado interno */
  border-radius: 8px;
  border: 1px solid #ccc;
  box-sizing: border-box;
}


/* titulo htmls*/

.titulo-servicio {
  background-color: #eaf0fc; /* azul claro muy suave */
  padding: 40px 20px;
  text-align: center;
  border-bottom: 2px solid #1D2D5C;
}

.contenedor-titulo h1 {
  font-size: 2rem;
  color: #1D2D5C;
  margin-bottom: 10px;
  font-weight: 700;
}

.contenedor-titulo p {
  font-size: 1.05rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
}


/*seccion barra vertical formulario */ 
/* Contenedor principal lado a lado */
.formulario-contenedor {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 40px 5%;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.formulario-wizard {
  flex: 1 1 600px;
  max-width: 600px;
}

.beneficios-laterales {
  flex: 1 1 320px;
  background-color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  font-size: 0.95rem;
  color: #1D2D5C;
}

.beneficios-laterales h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  border-bottom: 2px solid #1D2D5C;
  padding-bottom: 5px;
}

.beneficios-laterales ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.beneficios-laterales li {
  margin-bottom: 12px;
  line-height: 1.5;
}


/* pasos a seguir */

 /* Animación de entrada por scroll */
 .pasos-proceso {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 20px;
  background: #fff;
  border-radius: 16px;
  max-width: 300px;
  margin-top: 30px;
}

.paso-item {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.paso-num {
  background-color: #1D2D5C;
  color: white;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 transparent;
  transition: box-shadow 0.4s ease;
}

.paso-texto {
  font-size: 0.95rem;
  color: #1D2D5C;
  font-weight: 600;
}

.paso-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.paso-item.visible .paso-num {
  box-shadow: 0 0 16px rgba(29, 45, 92, 0.5);
}



.pasos-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 40px 0;
  padding: 20px;
}

.paso {
  display: flex;
  align-items: center;
  position: relative;
}

.circulo {
  width: 40px;
  height: 40px;
  background-color: #1d2d5c;
  color: white;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  margin-bottom: 10px;
}

.texto-paso {
  margin-left: 15px;
  font-weight: 600;
  color: #1d2d5c;
}

/* Línea que conecta los círculos, pegada al borde izquierdo */
.linea-conector {
  width: 2px;
  height: 20px;
  background-color: #ccc;
  margin-left: 19px; /* Alineado con centro del círculo */
  margin-bottom: 10px;
}



.paso-item {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.paso-item.visible {
  opacity: 1;
  transform: translateX(0);
}


 
/*seccion descripcion  */ 
.seccion-informativa {
  background-color: #f9fafc;
  padding: 80px 20px;
  color: #1d2d5c;
  font-family: 'Poppins', sans-serif;
}

.contenedor-info {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  line-height: 1.7;
}

.contenedor-info h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1d2d5c;
  text-align: center;
}

.contenedor-info h3 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #3c4a70;
  margin-bottom: 25px;
  text-align: center;
}

.contenedor-info p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
  text-align: justify;
}

.contenedor-info p strong {
  color: #1d2d5c;
  font-weight: 600;
}

.btn-consulta {
  display: inline-block;
  background-color: #1d2d5c;
  color: #fff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  font-size: 16px;
  transition: background 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-consulta:hover {
  background-color: #2c3e75;
}

.btn-consulta:hover {
  background-color: #2c3e75;
  transform: scale(1.05);
}
.seccion-informativa {
  margin-top: 60px;
}

#formulario {
  scroll-margin-top: 100px;

}


.btn-consulta {
  display: inline-block;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  background-color: #1a214f; /* ajusta al color que uses */
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.btn-consulta:hover {
  background-color: #2c3170;
}

.btn-consulta small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #e0e0e0;
  margin-top: 4px;
}

/*preguntas frecuentes*/

.faq-container {
  margin-top: 40px;
  padding: 0 20px;
}

.faq-titulo {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1a214f;
}

.faq-item {
  background: #f7f9fc;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 15px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.pregunta {
  font-weight: 600;
  margin-bottom: 6px;
  color: #1a214f;
}

.respuesta {
  color: #333;
  line-height: 1.5;
}

/* Estilo para resaltar "Encuentra tu abogado" */
.nav-link.destacado {
  color: #1a214f;
  font-weight: 600;
  text-decoration: underline;
}

/* Estilo tipo botón para "Soy Abogado" */
.nav-boton {
  background-color: #1a214f;
  color: white;
  padding: 8px 16px;
  border-radius: 8px;
  margin-left: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.nav-boton:hover {
  background-color: #31376e;
}

.btn-amarillo {
  background-color: #f9e79f; /* amarillo suave */
  color: #1a1a1a;
  padding: 10px 18px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  display: inline-block;
}

.btn-amarillo:hover {
  background-color: #f7d74b;
  color: #000;
}


.btn-outline-azul {
  border: 2px solid #1a214f;   /* Azul institucional */
  color: #1a214f;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 8px;
  background-color: transparent;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-outline-azul:hover {
  background-color: #1a214f;
  color: white;
}

  .select-rojo {
    border: 2px solid red !important;
    background-color: #ffe5e5 !important;
    color: #b30000 !important;
    font-weight: bold;
  }
 
  .pasos-seccion {
  background: linear-gradient(to right, #f5f7fa, #c3cfe2);
  padding: 60px 20px;
}



.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-header {
  width: 100%;
  padding: 15px;
  font-weight: 600;
  font-size: 16px;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* acordeon preguntas*/
.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 15px;
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 200px; /* ajusta según tu texto */
  padding: 15px;
}

.arrow {
  transition: transform 0.3s ease;
}
.accordion-item.active .arrow {
  transform: rotate(180deg);
}

.seccion-asesoria {
  position: relative;
  background-image: url("https://www.solicitaabogado.com/images/Asesoria-legal.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.overlay-asesoria {
  background-color: rgba(0, 32, 64, 0.65); /* azul oscuro translúcido */
  padding: 100px 20px;
  text-align: center;
}

.container-asesoria {
  max-width: 900px;
  margin: 0 auto;
}

.titulo-asesoria {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
}

.texto-asesoria {
  font-size: 1.1rem;
  color: #f5f5f5;
  line-height: 1.8;
  text-align: justify;
  text-align-last: center;
}

/* estilo para seccion publica tu caso legal */

/* === Sección SEO: Tienes un problema legal === */
.bloque-problema-legal {
  background-color: #f9f9f9;
  padding: 80px 20px;
  font-family: 'Inter', sans-serif;
}

.contenedor-problema-legal {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.bloque-problema-legal h2 {
  color: #1d2d5c;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.4;
}

.bloque-problema-legal p {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.boton-problema-legal {
  background-color: #1d2d5c;
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.boton-problema-legal:hover {
  background-color: #243b7a;
  transform: scale(1.05);
}

/*titulo para publica tu caso legal */

/* ==== Corrige centrado de la sección "Publica tu caso legal gratis" ==== */
.seccion-servicio {
  width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: center;
  text-align: center !important;
  margin: 0 auto !important;
  padding: 2rem 1rem;
}

.descripcion-servicio {
  font-size: 1.1rem;
  color: #444;
  margin-top: 10px;
  margin-bottom: 40px;
  max-width: 900px;
  line-height: 1.7;
  text-align: center !important;
}
