/* Legalin · ¿Cuánto cobra un abogado en Chile? (26-11-2026). Todo bajo .hon para no chocar con los estilos de las guías. */
.hon { --hon-shirt: #fffdf7; --hon-graphite: #44464b; --hon-line: rgba(24,48,41,.14); --hon-line-strong: rgba(24,48,41,.28); --hon-ease: cubic-bezier(.2,0,0,1);
  --hon-shadow: 0 1px 1px rgba(24,48,41,.04), 0 6px 14px -6px rgba(24,48,41,.10), 0 24px 48px -24px rgba(24,48,41,.18);
  width: min(100% - 2 * clamp(1rem, 4.5vw, 4.5rem), 72rem); margin-inline: auto; font-size: 1.0625rem; }
.hon :where(h1, h2, h3) { font-weight: normal; letter-spacing: -.03em; }
.hon-calc, .hon-item { scroll-margin-top: 5.5rem; }
.hon h1 em, .hon h2 em { display: inline; }
.hon .num { font-variant-numeric: tabular-nums; }
.hon .breadcrumbs { margin-top: 1.25rem; }
.hon .breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 14px; color: var(--muted); }
.hon .breadcrumbs li + li::before { content: "›"; margin: 0 9px; color: var(--line); }
.hon .breadcrumbs a { color: var(--forest); font-weight: 600; text-decoration: none; }
.hon .breadcrumbs [aria-current] { color: var(--ink); }

.hon-hero { padding-block: clamp(1.25rem, 3.5vw, 3rem) 2rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 2rem; align-items: end; }
.hon-hero h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); line-height: .98; letter-spacing: -.035em; font-variation-settings: "wght" 780, "wdth" 86, "opsz" 96; }
.hon-hero h1 em { color: var(--forest); position: relative; white-space: nowrap; }
.hon-hero h1 em::after { content: ""; position: absolute; left: .02em; right: .06em; bottom: -.04em; height: .12em; background: var(--mandarin); border-radius: 99px; z-index: -1; }
.hon-sub { margin-top: 1.25rem; max-width: 40ch; font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.45; }
.hon-meta { margin-top: .9rem; font-size: .875rem; color: var(--hon-graphite); }
.hon-uf { justify-self: end; border: 1px solid var(--hon-line-strong); border-radius: 14px; padding: .85rem 1.1rem; background: var(--hon-shirt); font-size: .875rem; color: var(--hon-graphite); max-width: 20rem; }
.hon-uf strong { display: block; color: var(--ink); font-size: 1.35rem; font-weight: 700; }

.hon-calc { background: var(--hon-shirt); border: 1px solid var(--hon-line); border-radius: 22px; box-shadow: var(--hon-shadow); padding: clamp(1.25rem, 3vw, 2.25rem); }
.hon-step-label { font-size: .8125rem; letter-spacing: .04em; text-transform: uppercase; color: var(--hon-graphite); font-weight: 600; margin-bottom: .6rem; }
.hon-step-label b { color: var(--forest); }
.hon-step + .hon-step { margin-top: 1.5rem; }
.hon-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.hon-chip { border: 1px solid var(--hon-line-strong); background: transparent; border-radius: 999px; padding: .55rem 1rem; min-height: 44px; font-size: .9375rem; transition: background-color .15s var(--hon-ease), border-color .15s var(--hon-ease); }
.hon-chip[aria-pressed="true"] { background: var(--forest); color: #f7f8f2; border-color: var(--forest); }
@media (hover: hover) and (pointer: fine) { .hon-chip:not([aria-pressed="true"]):hover { border-color: var(--forest); background: var(--ivory); } }

.hon-ficha { margin-top: 2rem; border-top: 1px solid var(--hon-line); padding-top: 2rem; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3rem); }
.hon-ficha.solo { grid-template-columns: 1fr; }
.hon-f-materia { font-size: .875rem; color: var(--hon-graphite); }
.hon-f-title { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; font-weight: 700; margin-top: .15rem; }
.hon-f-desc { margin-top: .5rem; color: var(--hon-graphite); max-width: 46ch; }
.hon-typ { margin-top: 1.5rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .75rem; }
.hon-typ-label { font-size: .875rem; color: var(--hon-graphite); width: 100%; }
.hon-typ-big { font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-weight: 760; }
.hon-typ-uf { font-size: 1.125rem; color: var(--forest); }

.hon-bar-wrap { margin-top: 1.5rem; }
.hon-bar { position: relative; height: 14px; border-radius: 99px; background: rgba(20,92,69,.12); }
.hon-zone { position: absolute; top: 0; bottom: 0; width: 33.334%; border-radius: 99px; background: var(--mandarin); opacity: 0; transition: left .35s var(--hon-ease), opacity .25s var(--hon-ease); }
.hon-zone.on { opacity: .9; }
.hon-ticks { position: absolute; inset: 0; display: flex; }
.hon-ticks span { flex: 1; border-right: 2px solid var(--hon-shirt); }
.hon-ticks span:last-child { border-right: 0; }
.hon-marker { position: absolute; top: -7px; width: 4px; height: 28px; margin-left: -2px; border-radius: 3px; background: var(--forest); }
.hon-legend { display: flex; justify-content: space-between; font-size: .75rem; color: var(--hon-graphite); margin-top: .35rem; padding-inline: 2%; }
.hon-ends { display: flex; justify-content: space-between; margin-top: .65rem; font-size: .875rem; }
.hon-ends div:last-child { text-align: right; }
.hon-ends b { display: block; font-weight: 650; font-size: 1rem; }
.hon-ends span { color: var(--hon-graphite); }

.hon-factors { margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.hon-factors .hon-fh { padding: 0; font-size: 1rem; font-weight: 680; letter-spacing: -.01em; margin-bottom: .2rem; }
.hon-hint { font-size: .8125rem; color: var(--hon-graphite); margin-bottom: .6rem; }
.hon-check { display: flex; gap: .65rem; align-items: flex-start; padding: .55rem .7rem; border: 1px solid var(--hon-line); border-radius: 12px; cursor: pointer; font-size: .9375rem; line-height: 1.35; transition: border-color .15s var(--hon-ease), background-color .15s var(--hon-ease); }
.hon-check + .hon-check { margin-top: .45rem; }
.hon-check input { margin: .15rem 0 0; width: 1.1rem; height: 1.1rem; accent-color: var(--forest); flex: none; }
.hon-check:has(input:checked) { border-color: var(--forest); background: var(--ivory); }
.hon-check small { display: block; color: var(--hon-graphite); font-size: .8125rem; margin-top: .1rem; }
.hon-up { color: #a4531a; } .hon-down { color: var(--forest); }
.hon-nota { margin-top: 1rem; font-size: .875rem; color: var(--hon-graphite); background: var(--ivory); border-radius: 12px; padding: .7rem .9rem; }

.hon-side { display: flex; flex-direction: column; gap: 1rem; }
.hon-verdict { border-radius: 18px; padding: 1.25rem 1.35rem; background: var(--forest); color: #f7f8f2; }
.hon-v-label { font-size: .8125rem; opacity: .78; }
.hon-v-text { font-size: 1.375rem; line-height: 1.2; margin-top: .35rem; font-weight: 680; }
.hon-v-text em { color: var(--mandarin); }
.hon-v-note { font-size: .875rem; opacity: .85; margin-top: .6rem; }
.hon-box { border: 1px solid var(--hon-line); border-radius: 16px; padding: 1rem 1.15rem; font-size: .9375rem; }
.hon-box h3 { font-size: .9375rem; font-weight: 680; letter-spacing: -.01em; margin-bottom: .3rem; }
.hon-box ul { margin: 0; padding-left: 1.1rem; color: var(--hon-graphite); }
.hon-origin { background: var(--ivory); border: 0; font-size: .8125rem; color: var(--hon-graphite); }
.hon-origin a { color: var(--forest); }
.hon-conf { display: inline-block; font-size: .75rem; border-radius: 999px; padding: .1rem .55rem; background: rgba(20,92,69,.1); color: var(--forest-deep); margin-left: .35rem; }
.hon-btns { display: flex; flex-direction: column; gap: .5rem; }
.hon-btn { display: inline-flex; justify-content: center; align-items: center; gap: .5rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px; border: 1px solid transparent; font-weight: 650; text-decoration: none; font-size: 1rem; transition: background-color .15s var(--hon-ease), border-color .15s var(--hon-ease), transform .12s var(--hon-ease); }
.hon-btn:active { transform: scale(.97); }
.hon-btn-primary { background: var(--forest); color: #f7f8f2; }
.hon-btn-ghost { background: transparent; border-color: var(--hon-line-strong); color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .hon-btn-primary:hover { background: var(--forest-deep); } .hon-btn-ghost:hover { border-color: var(--forest); background: var(--ivory); } }
.hon-btn-row { display: flex; gap: .5rem; } .hon-btn-row .hon-btn { flex: 1; }
.hon-consent { font-size: .75rem; color: var(--hon-graphite); }
.hon-consent a { color: var(--forest); }
.hon-nodata { margin-top: 1.5rem; border-radius: 16px; background: var(--ivory); padding: 1.25rem; max-width: 46rem; }
.hon-nodata p + p { margin-top: .5rem; }

.hon-section { padding-top: clamp(3rem, 6vw, 5rem); }
.hon-section > h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1; letter-spacing: -.03em; font-weight: 760; }
.hon-section > h2 em { color: var(--forest); }
.hon-section > p { margin-top: .75rem; max-width: 60ch; color: var(--hon-graphite); }
.hon-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.hon-cols .hon-box { background: var(--hon-shirt); }
.hon-cols .hon-box p { color: var(--hon-graphite); }

.hon-lista { margin-top: 1.25rem; border-top: 1px solid var(--hon-line); }
.hon-grupo { padding-block: .4rem; border-bottom: 1px solid var(--hon-line); }
.hon-grupo > h3 { font-family: var(--serif); font-style: italic; font-weight: 600; color: var(--forest); font-size: 1.25rem; letter-spacing: -.02em; padding-block: .6rem .2rem; }
.hon-item summary { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1rem; align-items: baseline; padding: .65rem .25rem; cursor: pointer; list-style: none; }
.hon-item summary::-webkit-details-marker { display: none; }
.hon-item summary::after { content: "+"; color: var(--forest); font-weight: 700; width: 1rem; text-align: center; }
.hon-item[open] summary::after { content: "−"; }
.hon-item .hon-s-t { font-weight: 600; }
.hon-item .hon-s-v { text-align: right; font-variant-numeric: tabular-nums; }
.hon-item .hon-s-v small { display: block; color: var(--hon-graphite); font-size: .8125rem; }
.hon-item-body { padding: 0 .25rem 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; font-size: .9375rem; }
.hon-item-body > p { grid-column: 1 / -1; color: var(--hon-graphite); }
.hon-item-body h4 { margin: 0 0 .25rem; font-size: .875rem; font-weight: 680; }
.hon-item-body ul { margin: 0; padding-left: 1.1rem; }
.hon-item-body .hon-ver { grid-column: 1 / -1; }
.hon-item-body .hon-ver button { background: none; border: 0; padding: 0; color: var(--forest); text-decoration: underline; text-underline-offset: 4px; font-size: .9375rem; }

.hon-cierre { margin-top: clamp(3rem, 6vw, 5rem); background: var(--forest); color: #f7f8f2; border-radius: 22px; padding: clamp(1.5rem, 4vw, 3rem); display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1.5rem; align-items: center; }
.hon-cierre h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.05; font-weight: 760; }
.hon-cierre h2 em { color: var(--mandarin); }
.hon-cierre p { margin-top: .6rem; opacity: .9; }
.hon-cierre .hon-btn-primary { background: var(--mandarin); color: var(--ink); }
.hon-cierre .hon-btn-ghost { border-color: rgba(247,248,242,.5); color: #f7f8f2; }
.hon-legal { margin-block: 2rem 3rem; font-size: .8125rem; color: var(--hon-graphite); max-width: 70ch; }

@media (max-width: 900px) {
  .hon-hero, .hon-ficha, .hon-cierre { grid-template-columns: 1fr; }
  .hon-uf { justify-self: start; }
  .hon-cols { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hon-factors, .hon-item-body { grid-template-columns: 1fr; }
  .hon-item summary { grid-template-columns: minmax(0, 1fr) auto; }
  .hon-item summary::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .hon * { transition: none !important; } }
