/* PaginaWebGratisMexico - Custom CSS */

html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hide default details marker */
details > summary {
  list-style: none;
}
details > summary::-webkit-details-marker {
  display: none;
}

/* Smooth fade-in for sections on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Line-clamp helpers */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Selection color */
::selection {
  background: #FF6B35;
  color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: #F9FAFB;
}
::-webkit-scrollbar-thumb {
  background: #0A2540;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6B35;
}

/* Print styles */
@media print {
  header, footer, .fixed, button {
    display: none !important;
  }
}

/* Form focus ring polish */
input:focus, select:focus, textarea:focus {
  outline: none;
}

/* Prose tweaks for legal pages */
.prose p {
  line-height: 1.7;
  color: #1F2937;
}
.prose h2 {
  color: #0A2540;
}
