/* ============================= */
/* ESTILO DOCUMENTOS LEGALES */
/* ============================= */

/* Contenedor más cómodo */
.container.my-5 {
  max-width: 1000px;
}

/* Card más elegante */
.card.shadow-lg {
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid #f1f1f1;
}

/* Padding consistente */
.card-body.p-5 {
  padding: 50px !important;
}

/* Título principal */
.card-body h2 {
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Divider más fino */
hr.mb-4 {
  border-top: 2px solid #f1f1f1;
}

/* Texto legal */
.card-body div[style*="line-height"] {
  font-size: 15px;
  line-height: 1.9 !important;
  color: #555 !important;
}

/* Párrafos */
.card-body p {
  margin-bottom: 16px;
}

/* Subtítulos legales */
.card-body h4,
.card-body h5 {
  margin-top: 30px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Links */
.card-body a {
  color: #ec1c24;
  font-weight: 500;
}

.card-body a:hover {
  text-decoration: underline;
}

/* Caja contacto */
.card-body .mt-5.p-4.rounded {
  background: #f8f9fa !important;
  border-left: 4px solid #ec1c24;
}

/* Footer legal */
.card-body .text-center {
  color: #666;
}

/* Responsive */
@media (max-width: 768px) {
  .card-body.p-5 {
    padding: 25px !important;
  }

  .card-body div[style*="line-height"] {
    font-size: 14px;
  }
}

/* ancho cómodo */
.container.my-5 {
  max-width: 850px;
}

/* barra progreso */
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: #ec1c24;
  width: 0%;
  z-index: 2000;
}

/* header sticky */
.legal-header-sticky {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 10px 20px;
  z-index: 1000;
  font-weight: 600;
}

/* lectura */
.card-body p {
  text-align: justify;
}
