/* Páginas interiores: ayudas, guías, blog, preguntas y avisos. Usa los tokens de estilo.css. */
.pagina { display: flex; flex-direction: column; align-items: center; padding: 170px var(--pad) 110px; background: var(--bg); }
@media (max-width: 1099px) { .pagina { padding-top: 150px; } }
.migas { width: 100%; max-width: 820px; margin-bottom: 36px; }
.migas ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: 15px; letter-spacing: -.02em; color: var(--muted); }
.migas li + li::before { content: "/"; margin-right: 6px; color: #BDBAB2; }
.migas a:hover { color: var(--ink); }
.art, .listado { width: 100%; max-width: 820px; }
.listado { max-width: 1100px; }
.art__tipo { font-size: 22px; line-height: 1.4; letter-spacing: -.04em; color: var(--muted); text-transform: uppercase; }
.art__cabeza { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.art h1, .listado h1 { font-size: 64px; line-height: 1.08; letter-spacing: -.06em; font-weight: 400; }
.art__ent { font-size: 20px; line-height: 1.5; letter-spacing: -.03em; color: var(--muted); max-width: 720px; }
.art__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14px; color: var(--muted); }
.art__meta span:not(:last-child)::after { content: "·"; margin-left: 16px; }
@media (max-width: 809px) { .art h1, .listado h1 { font-size: 40px; } .art__ent { font-size: 17px; } }
.chip { margin-top: 0; }
.respuesta { margin: 36px 0 8px; padding: 26px 30px; border-radius: 22px; background: #181818; color: #FAF9F5; }
.respuesta p:first-child { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #BDBAB2; margin-bottom: 8px; }
.respuesta p + p { font-size: 19px; line-height: 1.5; letter-spacing: -.02em; }
.indice { margin: 24px 0 8px; padding: 20px 24px; border-radius: 18px; border: 1px solid var(--line); }
.indice p { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.indice ol { padding-left: 20px; font-size: 15px; line-height: 1.8; color: var(--muted); }
.indice a:hover { color: var(--ink); text-decoration: underline; }
.art__cuerpo { font-size: 18px; line-height: 1.65; color: #3a3833; letter-spacing: -.015em; }
.art__cuerpo h2 { font-size: 38px; line-height: 1.15; letter-spacing: -.055em; font-weight: 400; color: var(--ink); margin: 56px 0 14px; scroll-margin-top: 140px; }
.art__cuerpo h3 { font-size: 24px; letter-spacing: -.04em; font-weight: 400; margin: 28px 0 8px; color: var(--ink); }
.art__cuerpo p { margin: 0 0 14px; }
.art__cuerpo ul, .art__cuerpo ol { margin: 0 0 16px; padding-left: 22px; }
.art__cuerpo li { margin-bottom: 8px; }
.art__cuerpo strong { color: var(--ink); font-weight: 700; }
.art__cuerpo a { color: var(--ink); text-decoration: underline; text-decoration-color: #BDBAB2; text-underline-offset: 3px; }
.art__cuerpo a:hover { text-decoration-color: var(--ink); }
.nota { padding: 18px 22px; border-radius: 16px; background: #E9E8E4; }
.pasos { counter-reset: paso; list-style: none; padding-left: 0 !important; }
.pasos li { counter-increment: paso; position: relative; padding: 18px 20px 18px 66px; border-radius: 16px; background: #F0EFEB; margin-bottom: 10px; }
.pasos li::before { content: counter(paso); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 8px; background: var(--ink); color: #FAF9F5; font-size: 15px; display: grid; place-items: center; }
.tabla { overflow-x: auto; margin: 10px 0 24px; border-radius: 16px; border: 1px solid var(--line); background: #FFFDF8; }
.tabla table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; min-width: 520px; }
.tabla th { text-align: left; font-weight: 700; color: var(--ink); background: #F0EFEB; padding: 12px 14px; white-space: nowrap; }
.tabla tbody th { background: transparent; border-top: 1px solid var(--line); width: 28%; white-space: normal; }
.tabla td { padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.tabla--ancha { margin-bottom: 40px; }
.tabla .chip { margin-top: 0; white-space: nowrap; }
.art__faq { margin-top: 56px; }
.art__faq h2, .faq-grupo h2, .rel h2 { font-size: 38px; letter-spacing: -.055em; font-weight: 400; margin-bottom: 18px; }
.faq-list { margin-top: 0; }
.faq-grupo { margin-top: 48px; }
.faq-grupo .faq-list, .art__faq .faq-list { max-width: none; }
.q h6 { font-size: 22px; }
.a p a { text-decoration: underline; text-underline-offset: 2px; }
.cta-art { margin-top: 56px; padding: 34px; border-radius: 28px; background: #181818; color: #FAF9F5; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-art h2 { font-size: 36px; line-height: 1.1; letter-spacing: -.055em; font-weight: 400; }
.cta-art p { color: #BDBAB2; font-size: 17px; line-height: 1.5; max-width: 520px; }
.cta-botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.cta-art .btn { width: auto; min-width: 190px; gap: 24px; }
.cta-art .btn:not(.btn-light) { background: transparent; border: 1px solid rgba(250,249,245,.4); color: #FAF9F5; }
.cta-art .btn:not(.btn-light) .btn-arrow { background: #FAF9F5; }
.cta-art .btn:not(.btn-light) .btn-arrow::before { color: #181818; }
.autor { display: flex; gap: 14px; align-items: center; margin-top: 32px; padding: 18px 20px; border-radius: 18px; background: #F0EFEB; }
.autor .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: #FAF9F5; display: grid; place-items: center; font-size: 14px; font-weight: 700; flex: none; }
.autor p { font-size: 14px; line-height: 1.45; color: var(--muted); }
.autor strong { color: var(--ink); }
.fuentes-art { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.fuentes-art h2 { font-size: 16px; font-weight: 700; margin-bottom: 10px; letter-spacing: -.02em; }
.fuentes-art ol { padding-left: 20px; font-size: 14px; line-height: 1.7; color: var(--muted); }
.fuentes-art a { text-decoration: underline; text-underline-offset: 2px; }
.aviso-art { margin-top: 14px; font-size: 13px; color: var(--muted); }
.rel { width: 100%; max-width: 1100px; margin-top: 90px; }
.rel h2 { text-align: center; }
.tarjetas { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; width: 100%; }
.tarjeta-art { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 24px; background: #F0EFEB; transition: background-color .25s, transform .4s var(--ease); }
.tarjeta-art:hover { background: #E9E8E4; transform: translateY(-2px); }
.tarjeta-art span { font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tarjeta-art h3 { font-size: 26px; line-height: 1.15; letter-spacing: -.05em; font-weight: 400; color: var(--ink); }
.tarjeta-art p { font-size: 15px; line-height: 1.5; color: var(--muted); }
.listado__cabeza { display: flex; flex-direction: column; gap: 16px; margin-bottom: 48px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 22px; font-size: 16px; line-height: 1.5; margin: 0 0 14px; }
.legal dt { color: var(--ink); font-weight: 700; } .legal dd { margin: 0; color: var(--muted); }
@media (max-width: 809px) { .legal dl { grid-template-columns: 1fr; gap: 2px; } .legal dd { margin-bottom: 10px; } .art__cuerpo h2 { font-size: 30px; } .q h6 { font-size: 18px; } }
.glosario { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0 0 16px; }
.glosario dt { font-size: 22px; letter-spacing: -.04em; color: var(--ink); margin-top: 22px; }
.glosario dd { margin: 6px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.lista-check { list-style: none; padding-left: 0 !important; }
.lista-check li { padding-left: 30px; position: relative; }
.lista-check li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--ink); }

/* ============ MÓVIL (revisión 12/10/2026) ============ */
@media (max-width: 809px) {
  .pagina { padding: 116px 16px 80px; }
  .migas { margin-bottom: 24px; }
  .migas ol { font-size: 14px; }
  .migas a { display: inline-block; padding: 8px 0; }
  .art__tipo { font-size: 18px; }
  .art h1, .listado h1 { font-size: 36px; line-height: 1.1; }
  .art__ent { font-size: 17px; }
  .respuesta { padding: 22px; border-radius: 18px; margin-top: 28px; }
  .respuesta p:first-child { font-size: 14px; }
  .respuesta p + p { font-size: 17px; }
  .indice a { display: inline-block; padding: 6px 0; }
  .art__cuerpo { font-size: 17px; }
  .art__cuerpo h2 { font-size: 28px; margin-top: 44px; }
  .pasos li { padding: 16px 16px 16px 58px; }
  .pasos li::before { left: 14px; }
  .cta-art { padding: 26px 22px; border-radius: 22px; }
  .cta-art h2 { font-size: 28px; }
  .cta-botones, .cta-art .btn { width: 100%; }
  .tarjetas { grid-template-columns: 1fr; }
  .tarjeta-art { padding: 22px; }
  .tarjeta-art h3 { font-size: 23px; }
  .rel { margin-top: 64px; }
  .art__faq h2, .faq-grupo h2, .rel h2 { font-size: 30px; }
  .fuentes-art a { display: inline-block; padding: 4px 0; }
  .aviso-art { font-size: 14px; }

  /* Tablas: en móvil se convierten en fichas apiladas (data-label lo pone sub.js) */
  .tabla { overflow: visible; border: 0; background: transparent; }
  .tabla table { min-width: 0; }
  .tabla thead { display: none; }
  .tabla table, .tabla tbody, .tabla tr, .tabla td, .tabla tbody th { display: block; width: 100%; }
  .tabla tr { background: #FFFDF8; border: 1px solid var(--line); border-radius: 16px; padding: 6px 16px; margin-bottom: 10px; }
  .tabla td, .tabla tbody th { border: 0; padding: 8px 0; }
  .tabla td + td { border-top: 1px solid var(--line); }
  .tabla td[data-label]::before { content: attr(data-label); display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .tabla td:first-child { font-size: 18px; color: var(--ink); }
  .tabla td:first-child::before { display: none; }
  .tabla tbody th { width: 100%; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding-bottom: 0; }
  .tabla tbody th + td { border-top: 0; padding-top: 4px; }
  .tabla tr:has(th) { padding: 4px 16px 8px; }
}
@media (max-width: 809px) {
  .tarjeta-art span { font-size: 14px; }
  .nav-logo { padding: 10px 0; }
  .tabla td:first-child a { display: inline-block; padding: 6px 0; }
}
@media (max-width: 809px) { .migas ol { align-items: center; } .migas li { display: flex; align-items: center; } }
