/* Software de fiscalización gubernamental. Uses the portal v3 tokens
   (--bg, --bg2, --ink, --ink2, --line, --coral-t, --coral-btn, --sans, --mono)
   and the dark band of the RVFEW detail, so both themes follow the portal. */
.fz {
  flex: 1;
  background: var(--bg);
  color: var(--ink);
  font: 450 1.05rem/1.6 var(--sans);
}
.fz-wrap { width: min(100%, 82rem); margin-inline: auto; padding-inline: clamp(1.25rem, 4.5vw, 4rem); box-sizing: border-box; }
.fz :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; }
.fz :is(h1, h2, h3) { text-wrap: balance; }
.fz p { text-wrap: pretty; }
.fz h1 { font: 800 clamp(2.3rem, 1rem + 3vw, 3.8rem)/1.04 var(--sans); letter-spacing: -.04em; max-width: 21ch; }
.fz h2 { font: 760 clamp(1.9rem, 3.6vw, 3.1rem)/1.08 var(--sans); letter-spacing: -.035em; max-width: 24ch; }
.fz h3 { font: 720 1.2rem/1.25 var(--sans); letter-spacing: -.015em; }
.fz a:focus-visible, .fz summary:focus-visible { outline: 3px solid var(--coral-t); outline-offset: 4px; border-radius: .25rem; }
.fz [id] { scroll-margin-top: 6rem; }

.fz-eyebrow, .fz-tag { font: 650 .8rem/1.3 var(--mono, var(--sans)); letter-spacing: .08em; text-transform: uppercase; color: var(--coral-t); }
.fz-eyebrow { margin-bottom: 1.1rem; }

.fz-hero { padding-block: clamp(2.5rem, 6vw, 5.5rem); border-bottom: 1px solid var(--line); }
.fz-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.fz-lead { margin-top: 1.5rem; max-width: 58ch; font-size: clamp(1.1rem, 1.5vw, 1.28rem); color: var(--ink2); }
.fz-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .85rem; margin-top: 2rem; }
.fz-btn { display: inline-flex; align-items: center; min-height: 3rem; padding: .8rem 1.45rem; border-radius: 999px; background: var(--coral-btn); color: #fff; text-decoration: none; font-weight: 700; box-sizing: border-box; }
.fz-btn:hover { filter: brightness(.91); }
.fz-btn-ghost { background: var(--bg2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.fz-btn-ghost:hover { filter: none; box-shadow: inset 0 0 0 1px var(--ink2); }
.fz-audience { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; padding: 0; list-style: none; }
.fz-audience li { padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; color: var(--ink2); }

.fz-spec { background: #161b2b; color: #fff; border-radius: 1.25rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.fz-spec h2 { font: 650 .8rem/1.3 var(--mono, var(--sans)); letter-spacing: .08em; text-transform: uppercase; color: #ff9482; }
.fz-spec dl { margin-top: 1rem; }
.fz-spec dl > div { padding-block: .85rem; border-top: 1px solid #343a4c; }
.fz-spec dt { font-size: .82rem; color: #aeb3c2; }
.fz-spec dd { margin-top: .2rem; font-weight: 650; line-height: 1.4; }

.fz-block { padding-block: clamp(3rem, 6vw, 5.5rem); }
.fz-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.fz-head p { max-width: 62ch; color: var(--ink2); }

.fz-benefits, .fz-reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.5rem 2rem; }
.fz-benefits > div, .fz-reasons > div { border-top: 2px solid var(--coral-t); padding-top: 1.1rem; }
.fz-reasons > div { border-top: 1px solid var(--line); }
.fz-benefits p, .fz-reasons p { margin-top: .6rem; color: var(--ink2); font-size: 1rem; }

.fz-band { background: var(--bg2); border-block: 1px solid var(--line); }
.fz-systems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.fz-systems article { background: var(--bg); border: 1px solid var(--line); border-radius: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); }
.fz-systems h3 { margin-top: .6rem; font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.15; }
.fz-systems h3 + p { margin-top: .85rem; color: var(--ink2); }
.fz-systems ul { margin-top: 1.4rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fz-systems li { position: relative; padding: .7rem 0 .7rem 1.6rem; border-bottom: 1px solid var(--line); font-size: 1rem; line-height: 1.5; }
.fz-systems li::before { content: ''; position: absolute; left: .15rem; top: 1.05rem; width: .5rem; height: .28rem; border-left: 2px solid var(--coral-t); border-bottom: 2px solid var(--coral-t); transform: rotate(-45deg); }

.fz-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; padding: 0; list-style: none; counter-reset: fz-stage; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.fz-timeline li { counter-increment: fz-stage; padding: 1.5rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fz-timeline li::before { content: counter(fz-stage, decimal-leading-zero); display: block; margin-bottom: .75rem; font: 700 .85rem/1 var(--mono, var(--sans)); color: var(--coral-t); }
.fz-timeline p { margin-top: .5rem; color: var(--ink2); font-size: .98rem; }
.fz-note { margin-top: 1.5rem; }
.fz-text-link { color: var(--coral-t); font-weight: 650; text-underline-offset: .22em; }

.fz-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; padding: 0; list-style: none; counter-reset: fz-step; }
.fz-steps li { counter-increment: fz-step; }
.fz-steps li::before { content: counter(fz-step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-bottom: 1rem; border-radius: 50%; background: var(--coral-btn); color: #fff; font-weight: 750; }
.fz-steps p { margin-top: .55rem; color: var(--ink2); font-size: .98rem; }

.fz-rows { max-width: 56rem; }
.fz-rows details { border-top: 1px solid var(--line); }
.fz-rows details:last-child { border-bottom: 1px solid var(--line); }
.fz-rows summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; padding: 1.1rem .25rem; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 650; list-style: none; }
.fz-rows summary::-webkit-details-marker { display: none; }
.fz-rows summary::after { content: ''; flex: none; width: .5rem; height: .5rem; margin-right: .5rem; border-right: 2px solid var(--coral-t); border-bottom: 2px solid var(--coral-t); transform: rotate(45deg); }
.fz-rows details[open] summary::after { transform: rotate(225deg); }
.fz-rows details p { padding: 0 .25rem 1.25rem; color: var(--ink2); max-width: 64ch; }

.fz-cta { margin-bottom: clamp(3rem, 6vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem); text-align: center; display: grid; justify-items: center; gap: 1rem; background: #161b2b; color: #fff; border-radius: 1.5rem; width: min(calc(100% - 2.5rem), 78rem); }
.fz-cta p { max-width: 60ch; color: #d2d5df; }
.fz-cta .fz-actions { justify-content: center; margin-top: .75rem; }
.fz-cta .fz-btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #596071; }

@media (max-width: 64rem) {
  .fz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
}
@media (max-width: 48rem) {
  .fz-hero-grid, .fz-systems { grid-template-columns: 1fr; }
  .fz-timeline { grid-template-columns: 1fr; }
}
@media (max-width: 32rem) {
  .fz-steps { grid-template-columns: 1fr; }
  .fz-actions .fz-btn { width: 100%; justify-content: center; }
}
