/* Ajustes generales y versión móvil (el diseño está hecho a 1440 px) */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid #FFD84D; outline-offset: 2px; }
button[disabled] { opacity: .6; cursor: progress; }

@media (max-width: 900px) {
  #dc-root [style*="grid-template-columns: repeat(3"],
  #dc-root [style*="grid-template-columns: minmax(0, 1.3fr)"],
  #dc-root [style*="grid-template-columns: minmax(0, 1.4fr)"],
  #dc-root [style*="grid-template-columns: minmax(0, 1.2fr)"],
  #dc-root [style*="grid-template-columns: 1.2fr"],
  #dc-root [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  #dc-root [style*="grid-template-columns: repeat(4"] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #dc-root h1 { font-size: clamp(34px, 9vw, 52px) !important; }
  #dc-root h2 { font-size: clamp(26px, 7vw, 40px) !important; }
  #dc-root section, #dc-root main, #dc-root header, #dc-root footer > div { padding-left: 18px !important; padding-right: 18px !important; }
  #dc-root [style*="padding: 48px"], #dc-root [style*="padding: 40px"], #dc-root [style*="padding: 36px 40px"] { padding: 24px !important; }
  #dc-root [style*="padding: 100px 32px"], #dc-root [style*="padding: 110px 32px"] { padding-top: 56px !important; padding-bottom: 56px !important; }
  #dc-root nav { display: none !important; }
}
@media (max-width: 520px) {
  #dc-root [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
}

/* Impresión (PDF de la denuncia): fondo blanco, solo el contenido */
@media print {
  body, #dc-root > div { background: #fff !important; color: #000 !important; }
  #dc-root [aria-hidden="true"], #dc-root header select, #dc-root form, #dc-root footer, #dc-root button { display: none !important; }
  #dc-root * { color: #000 !important; background: transparent !important; box-shadow: none !important; }
  #dc-root section, #dc-root dl, #dc-root blockquote { border-color: #000 !important; }
}
@media (max-width: 860px) { #legado > div { grid-template-columns: 1fr !important; gap: 32px !important; } #legado h2 { font-size: 40px !important; } #legado { padding: 70px 22px !important; } }

/* Ventana de aceptación de las condiciones */
.lft-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 10, 16, .72); }
.lft-modal-box { width: 100%; max-width: 520px; max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box; padding: 28px; background: #F7F2FA; color: #1A1724; border: 2px solid #0B0A10; border-radius: 18px; box-shadow: 6px 6px 0 #0B0A10; font-family: Inter, 'Noto Sans Arabic', system-ui, sans-serif; font-size: 16px; line-height: 1.5; }
.lft-modal-box h2 { margin: 0 0 10px; font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 28px; line-height: 1.15; }
.lft-modal-box p { margin: 0 0 12px; }
.lft-modal-box ul { margin: 0 0 16px; padding-inline-start: 20px; }
.lft-modal-box li { margin-bottom: 8px; }
.lft-modal-box a { color: #5B2A86; }
.lft-check { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border: 2px solid #0B0A10; border-radius: 12px; background: #fff; cursor: pointer; }
.lft-check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: #5B2A86; }
.lft-modal-err { margin-top: 12px !important; color: #A1122B; font-weight: 600; }
.lft-modal-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 18px; }
.lft-modal-btns button { min-height: 44px; font-family: inherit; padding: 10px 18px; border: 2px solid #0B0A10; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.lft-btn-no { background: transparent; color: #1A1724; }
.lft-btn-ok { background: #FFD84D; color: #0B0A10; }
.lft-btn-ok:disabled { opacity: .45; cursor: not-allowed; }
