/* Civil, Penal y Derecho Público: usa bitcoin.css, inmigracion.css y real-estate.css */
body .ar-hero { padding-bottom: 280px; }
body .ar-hero .ar-dibujo { height: 240px; }
body .ar .ar-dibujo :is(rect, circle, ellipse, path) { stroke: var(--lime); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
body .ar .ar-lleno { fill: var(--lime); stroke: none !important; }
@keyframes ar-entra { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* Civil */
body .ar-columna { animation: ar-entra .7s calc(1.2s + var(--i) * .2s) ease-out both; }
body .ar-columna rect { fill: #0D0D0E; }
body .ar-columna:nth-child(odd of .ar-columna) rect { fill: rgba(185,255,102,.18); }
body .ar-persona { animation: ar-entra .7s calc(2.4s + var(--i) * .25s) ease-out both; }
body .ar-persona :is(circle, path) { opacity: .4; }
/* Penal */
body .ar-mazo { transform-box: fill-box; transform-origin: 100% 50%; transform: rotate(15deg); animation: ar-golpe 2.6s 1s ease-in-out infinite; }
body .ar .ar-mazo .ar-mango { stroke-width: 12 !important; }
body .ar-mazo rect { fill: var(--lime); stroke: none !important; }
body .ar-mazo .ar-detalle { stroke: #0D0D0E !important; stroke-width: 3 !important; }
body .ar-onda { opacity: 0; transform-box: fill-box; transform-origin: center; animation: ar-onda 2.6s calc(1.78s + var(--i) * .16s) ease-out infinite; }
body .ar-escudo { animation: ar-entra .7s calc(.4s + var(--i) * .25s) ease-out both; }
body .ar-escudo path:first-child { fill: #0D0D0E; opacity: .9; }
@keyframes ar-golpe { 0%, 100% { transform: rotate(15deg); } 20% { transform: rotate(21deg); } 30% { transform: rotate(0); } 34% { transform: rotate(3deg); } 40% { transform: rotate(0); } 70% { transform: rotate(15deg); } }
@keyframes ar-onda { 0% { opacity: .7; transform: scale(.6); } 60%, 100% { opacity: 0; transform: scale(1.9); } }
/* Derecho público */
body .ar-hoja { fill: #1A1A1C; }
body .ar-dibujo .ar-renglon { opacity: .5; }
body .ar-exp { animation: ar-entra .7s calc(.3s + var(--i) * .25s) ease-out both; }
body .ar-sello { fill: var(--lime); stroke: none !important; transform-box: fill-box; transform-origin: center; animation: ar-sellar 6s calc(1.8s + var(--i) * 1.2s) ease-out infinite both; }
body .ar-sello-v { stroke: #0D0D0E !important; stroke-width: 3.5 !important; animation: ar-sellar 6s calc(1.8s + var(--i) * 1.2s) ease-out infinite both; transform-box: fill-box; transform-origin: center; }
body .ar-timbre { animation: ar-bajar 1.2s 1.2s ease-in-out infinite; }
@keyframes ar-sellar { 0% { opacity: 0; transform: scale(1.8); } 6%, 80% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: none; } }
@keyframes ar-bajar { 0%, 100% { transform: none; } 50% { transform: translateY(12px); } }
/* Panel dibujado */
body .ar-plano { background: #1A1A1C linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 30px 30px; }
body .ar-plano svg { width: 100%; height: 88%; padding-top: 2%; }
body .ar-plano .ar-hoja { fill: #26262A; stroke: rgba(255,255,255,.35); stroke-width: 2; }
body .ar-texto { stroke: rgba(255,255,255,.5); stroke-width: 6; stroke-linecap: round; }
body .ar-verde { stroke: var(--lime); stroke-width: 9; }
body .ar-plano .ar-lleno, body .ar-sello-g { fill: var(--lime); }
body .ar-check { stroke: #0D0D0E; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
body .ar-check-g { stroke-width: 5; }
body .ar-fino { stroke: rgba(255,255,255,.4); stroke-width: 2; }
body .ar-firma { stroke: var(--lime); stroke-width: 2.5; stroke-linecap: round; }
@media (max-width: 1199.98px) { body .ar .re-familia .mig-der { aspect-ratio: 1.15; } }
@media (min-width: 1601px) { body .ar-hero { padding-bottom: calc(15vw + 40px); } body .ar-hero .ar-dibujo { height: 15vw; } }
@media (max-width: 575.98px) { body .ar-hero { padding-bottom: 190px; } body .ar-hero .ar-dibujo { height: 150px; } body .ar .re-familia .mig-der { aspect-ratio: .95; } body .ar-plano svg { height: 78%; } body .ar .mig-pills { left: 60px; right: 10px; bottom: 12px; gap: 4px; flex-wrap: nowrap; } body .ar .mig-pills li { padding: 4px 8px; font-size: .7rem; } }
@media (max-width: 359.98px) { body .ar-hero .ar-dibujo { height: 128px; } body .ar .mig-pills { left: 52px; gap: 3px; } body .ar .mig-pills li { padding: 3px 6px; font-size: .62rem; } }
@media (prefers-reduced-motion: reduce) { body .ar-columna, body .ar-mazo, body .ar-onda, body .ar-escudo, body .ar-exp, body .ar-persona, body .ar-sello, body .ar-sello-v, body .ar-timbre { animation: none; } body .ar-onda { opacity: 0; } }
@media (max-width: 575.98px) { body .ar-civil .btc-nav { gap: 5px; } body .ar-civil .btc-nav .btc-flecha { flex-basis: 38px; height: 38px; } body .ar-civil .btc-nums { gap: 2px; flex-wrap: nowrap; } body .ar-civil .btc-nums button { width: 30px; height: 30px; font-size: .78rem; } }
