:root {
  --ink: #16224A;
  --ink-2: #4A5677;
  --steel: #4E6FA3;
  --steel-soft: #E8EEF7;
  --mist: #DCE2EC;
  --paper: #F5F6F9;
  --white: #FFFFFF;
  --amber: #E9A33B;
  --amber-soft: #FBEFD9;
  --amber-ink: #7A4F08;
  --green: #237A4B;
  --green-soft: #DFF1E6;
  --red: #B9382F;
  --red-soft: #F8E1DE;
  --font: "Public Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  --maxw: 1180px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
a { color: var(--steel); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
[hidden] { display: none !important; }

/* ---------- Barra superior ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--mist);
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--ink); }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-weight: 700; font-size: 1.05rem; }
.brand-text small { color: var(--ink-2); font-size: .8rem; }
.tabs { display: flex; gap: .25rem; }
.tabs a {
  text-decoration: none; color: var(--ink-2);
  padding: .55rem .85rem; border-radius: 8px; font-weight: 500;
}
.tabs a:hover { background: var(--paper); color: var(--ink); }
.tabs a.active { color: var(--ink); background: var(--amber-soft); }

main { max-width: var(--maxw); margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* ---------- Inicio ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center;
  padding: 2.5rem 0 3rem;
}
h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.3rem);
  font-weight: 800; letter-spacing: -0.025em; line-height: 1.05;
  max-width: 15ch; margin-bottom: 1.25rem;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 56ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.line-art { margin: 0; }
.line-art svg { width: 100%; height: auto; display: block; }
.line-art text { font-family: var(--font); font-size: 15px; font-weight: 600; fill: var(--ink); text-anchor: middle; }
.line-art text.caption { font-size: 12.5px; font-weight: 400; font-style: italic; fill: var(--ink-2); }
.seg-voice { stroke-dasharray: 460; stroke-dashoffset: 460; animation: draw 1.6s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.25rem; border-radius: 8px;
  font-weight: 600; text-decoration: none; line-height: 1.2;
  border: 1.5px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--steel); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--white); }
.btn-small { padding: .5rem .85rem; font-size: .9rem; }
.btn-danger { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-danger:hover { background: #a02f27; }
.confirm-inline { display: inline-flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.link { font-weight: 600; }

.block { padding: 2.5rem 0; border-top: 1px solid var(--mist); }
.block h2 { font-size: 1.6rem; margin-bottom: 1rem; max-width: 26ch; }
.block h3 { font-size: 1.15rem; margin-bottom: .75rem; }
.block-intro { color: var(--ink-2); max-width: 70ch; }
.two-col { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.two-col p { color: var(--ink-2); max-width: 48ch; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1rem; border-top: 3px solid var(--steel); }
.steps li::before {
  content: counter(step);
  display: block; font-size: 2rem; font-weight: 800; line-height: 1;
  color: var(--steel); margin-bottom: .5rem;
}
.steps h3 { font-size: 1.05rem; }
.steps p { color: var(--ink-2); font-size: .95rem; margin: 0; }

.principles { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.principles div { padding-left: 1rem; border-left: 3px solid var(--amber); }
.principles dt { font-weight: 600; margin-bottom: .2rem; }
.principles dd { margin: 0; color: var(--ink-2); font-size: .95rem; }

.note { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.note h3 { font-size: 1.05rem; }
.note p { font-size: .95rem; }
.note p:last-child { margin: 0; }

/* ---------- Demo ---------- */
.demo-grid { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 1.5rem; align-items: start; }

.phone {
  min-width: 0;
  position: sticky; top: 84px;
  background: var(--white); border: 1px solid var(--mist); border-radius: 16px;
  padding: 1.25rem;
}
.phone-head h2 { font-size: 1.25rem; }
.phone-head p { color: var(--ink-2); font-size: .95rem; margin: .25rem 0 1rem; }

.voices { border: 0; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.voices legend { font-size: .85rem; color: var(--ink-2); margin-bottom: .5rem; padding: 0; }
.voice {
  display: flex; flex-direction: column; gap: .15rem; position: relative;
  padding: .7rem .8rem; border: 1.5px solid var(--mist); border-radius: 10px; cursor: pointer;
}
.voice input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.voice:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.voice:has(input:focus-visible) { outline: 3px solid var(--amber); outline-offset: 2px; }
.voice-name { font-weight: 700; }
.voice-desc { font-size: .8rem; color: var(--ink-2); }
.voices.locked .voice { opacity: .6; cursor: default; }
.voices.locked .voice input { pointer-events: none; }

.access { margin-bottom: 1rem; padding: .75rem .85rem; border: 1px solid var(--mist); border-radius: 10px; background: var(--paper); display: flex; flex-direction: column; gap: .4rem; }
.access-row { display: flex; align-items: baseline; gap: .5rem; }
.access-label { font-size: .8rem; color: var(--ink-2); }
.access-code { font-family: var(--mono); font-weight: 700; letter-spacing: .08em; }
.access-quota { font-size: .8rem; color: var(--ink-2); }
.access-actions { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.btn-link { background: none; border: 0; color: var(--steel); font-weight: 600; cursor: pointer; padding: .3rem 0; font-size: .9rem; }
.btn-link:hover { text-decoration: underline; }
.access-input { display: flex; gap: .4rem; }
.access-input input { flex: 1; min-width: 0; font: inherit; padding: .5rem .6rem; border: 1.5px solid var(--mist); border-radius: 8px; text-transform: uppercase; font-family: var(--mono); letter-spacing: .08em; }
.access-msg { margin: 0; font-size: .85rem; color: var(--ink-2); }
.access-msg.error { color: var(--red); }

.dial { margin-bottom: 1rem; }
.btn-call, .btn-hangup {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1rem; border-radius: 12px; border: 0;
  font-weight: 700; font-size: 1.05rem; cursor: pointer; color: var(--white);
}
.btn-call { background: var(--green); }
.btn-call:hover { background: #1c6a40; }
.btn-call:disabled { background: var(--mist); color: var(--ink-2); cursor: wait; }
.btn-call svg { width: 22px; height: 22px; fill: currentColor; }
.btn-hangup { background: var(--red); }
.btn-hangup:hover { background: #a02f27; }

.line-state { display: flex; align-items: center; gap: .6rem; font-size: .95rem; margin-bottom: .6rem; }
.line-state .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--mist); flex: none; }
.line-state[data-state="connecting"] .dot { background: var(--amber); animation: pulse 1s ease-in-out infinite; }
.line-state[data-state="speaking"] .dot { background: var(--steel); }
.line-state[data-state="listening"] .dot { background: var(--green); animation: pulse 1.4s ease-in-out infinite; }
.line-state[data-state="thinking"] .dot { background: var(--amber); }
.line-state[data-state="ended"] .dot { background: var(--ink); }
.line-state[data-state="error"] .dot { background: var(--red); }
@keyframes pulse { 50% { transform: scale(1.5); opacity: .55; } }
.timer { margin-left: auto; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink-2); }
.timer.warn { color: var(--amber-ink); }
.timer.critical { color: var(--red); animation: pulse 1s ease-in-out infinite; }

.wave { width: 100%; max-width: 100%; height: 90px; display: block; background: var(--paper); border-radius: 8px; margin-bottom: .9rem; }

.meters { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: .5rem; margin: 0 0 .75rem; }
.meters dt { font-size: .75rem; color: var(--ink-2); }
.meters dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.phone-note { font-size: .8rem; color: var(--ink-2); margin: 0; }
.phone-error { margin: .75rem 0 0; padding: .6rem .75rem; background: var(--red-soft); color: var(--red); border-radius: 8px; font-size: .9rem; }
.phone-guard { margin: .75rem 0 0; padding: .6rem .75rem; background: var(--amber-soft); color: var(--amber-ink); border-radius: 8px; font-size: .9rem; border-left: 3px solid var(--amber); }
.phone-guard[data-etapa="corte"] { background: var(--red-soft); color: var(--red); border-left-color: var(--red); }

.console { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
.console > section, .console > details { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); }
.console > section > header { display: flex; align-items: center; gap: .75rem; padding: .9rem 1.25rem; border-bottom: 1px solid var(--mist); }
.console h2 { font-size: 1.1rem; }
.hint { color: var(--ink-2); font-size: .85rem; }
.numero { font-family: var(--mono); font-size: .85rem; color: var(--ink-2); background: var(--paper); padding: .2rem .5rem; border-radius: 6px; }
.badge {
  font-size: .78rem; font-weight: 600; padding: .2rem .55rem; border-radius: 999px;
  background: var(--mist); color: var(--ink-2); margin-left: auto; white-space: nowrap;
}
.badge[data-estado="en_curso"], .badge[data-estado="pendiente_devolucion"] { background: var(--amber-soft); color: var(--amber-ink); }
.badge[data-estado="resuelta"] { background: var(--green-soft); color: var(--green); }
.badge[data-estado="abandonada"] { background: var(--mist); color: var(--ink-2); }
.badge[data-estado="fuera_de_alcance"] { background: var(--red-soft); color: var(--red); }
.badge[data-urgencia="alta"] { background: var(--red-soft); color: var(--red); }
.badge[data-urgencia="media"] { background: var(--amber-soft); color: var(--amber-ink); }
.badge[data-urgencia="baja"] { background: var(--steel-soft); color: var(--steel); }

.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; padding: 1rem 1.25rem 1.25rem; }
.field {
  border: 1.5px dashed var(--mist); border-radius: 8px; padding: .5rem .75rem; min-height: 3.6rem;
  display: flex; flex-direction: column; gap: .1rem;
}
.field span { font-size: .75rem; color: var(--ink-2); }
.field output { font-weight: 500; color: var(--ink-2); overflow-wrap: anywhere; }
.field.filled { border-style: solid; border-color: var(--steel); }
.field.filled output { color: var(--ink); }
.field.flash { animation: fill 1.4s ease-out; }
@keyframes fill { 0% { background: var(--amber-soft); } 100% { background: transparent; } }
.field.wide { grid-column: 1 / -1; }
.field i.val { font-style: normal; font-size: .72rem; font-weight: 600; padding: .05rem .45rem; border-radius: 999px; align-self: flex-start; margin-top: .15rem; }
.field i.val.ok { background: var(--green-soft); color: var(--green); }
.field i.val.bad { background: var(--red-soft); color: var(--red); }

.bubbles { list-style: none; margin: 0; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: .6rem; max-height: 48vh; overflow-y: auto; }
.bubbles li { max-width: 82%; padding: .55rem .85rem; border-radius: 12px; font-size: .97rem; }
.bubbles li small { display: block; font-size: .72rem; color: var(--ink-2); margin-bottom: .15rem; font-weight: 600; }
.bubbles li.assistant { align-self: flex-start; background: var(--steel-soft); border-bottom-left-radius: 4px; }
.bubbles li.user { align-self: flex-end; background: var(--amber-soft); border-bottom-right-radius: 4px; }
.bubbles li.pending span { color: var(--ink-2); font-style: italic; }
.empty { color: var(--ink-2); padding: 1rem 1.25rem; margin: 0; font-size: .95rem; }

.instr summary { cursor: pointer; padding: .85rem 1.25rem; font-weight: 600; font-size: .95rem; }
.instr pre { margin: 0; padding: 0 1.25rem 1.25rem; white-space: pre-wrap; font-family: var(--font); font-size: .88rem; color: var(--ink-2); max-height: 420px; overflow-y: auto; }

/* Ficha de síntesis */
.console > section.sintesis { border-top: 4px solid var(--amber); }
.sintesis header { flex-wrap: wrap; }
.sintesis .actions { display: flex; gap: .5rem; margin-left: auto; }
.sintesis .body { padding: 1rem 1.25rem 1.25rem; display: grid; grid-template-columns: 1.3fr 1fr; gap: .5rem 2rem; }
.sintesis h4 { margin: 0 0 .3rem; font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.sintesis p { margin: 0 0 .9rem; }
.sintesis ul { margin: 0 0 .9rem; padding-left: 1.1rem; }
.sintesis li { margin-bottom: .2rem; }
.sintesis .motivo { font-size: 1.15rem; font-weight: 600; }
.sintesis .tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.sintesis .tag { background: var(--paper); border-radius: 999px; padding: .15rem .6rem; font-size: .82rem; }
.sintesis .meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .85rem; color: var(--ink-2); border-top: 1px solid var(--mist); padding-top: .75rem; }
.sintesis .generating { padding: 1.25rem; color: var(--ink-2); display: flex; align-items: center; gap: .6rem; }
.spinner { width: 16px; height: 16px; border: 2px solid var(--mist); border-top-color: var(--amber); border-radius: 50%; animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.warn { margin: 1rem 1.25rem; padding: .6rem .75rem; background: var(--amber-soft); color: var(--amber-ink); border-radius: 8px; font-size: .9rem; }
.pill-humano { font-size: .8rem; font-weight: 600; padding: .2rem .6rem; border-radius: 999px; background: var(--steel-soft); color: var(--steel); }
.pill-humano.si { background: var(--amber-soft); color: var(--amber-ink); }

/* ---------- Panel ---------- */
.panel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; padding-bottom: 1.5rem; }
.panel-head h2 { font-size: 1.8rem; margin-bottom: .35rem; }
.panel-head p { color: var(--ink-2); margin: 0; max-width: 60ch; }
.panel-head-actions { display: flex; align-items: center; gap: .9rem; flex-shrink: 0; }

/* Login del panel del funcionario */
.panel-login { display: flex; justify-content: center; padding: 3rem 0 4rem; }
.panel-login-card { width: 100%; max-width: 22rem; display: flex; flex-direction: column; padding: 1.6rem; border: 1px solid var(--mist); border-radius: 12px; background: var(--paper); }
.panel-login-card h2 { font-size: 1.35rem; margin-bottom: .4rem; }
.panel-login-card p { color: var(--ink-2); font-size: .9rem; margin: 0 0 1.2rem; }
.panel-login-card .panel-login-note { color: var(--ink); padding: .6rem .75rem; border-left: 3px solid var(--steel); border-radius: 6px; background: var(--steel-soft); }
.panel-login-card label { font-size: .8rem; color: var(--ink-2); margin-bottom: .25rem; }
.panel-login-card input { font: inherit; padding: .55rem .65rem; margin-bottom: .9rem; border: 1.5px solid var(--mist); border-radius: 8px; background: var(--paper); color: inherit; }
.panel-login-card input:focus-visible { outline: 2px solid var(--steel); outline-offset: 1px; border-color: var(--steel); }
.panel-login-card button { margin-top: .3rem; }
.panel-login-msg { margin: .9rem 0 0; font-size: .85rem; color: var(--red); }
.kpis { margin: 0 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.kpis div { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1rem 1.25rem; }
.kpis dd { margin: 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpis dt { color: var(--ink-2); font-size: .85rem; }

.table-wrap { overflow-x: auto; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); }
.calls-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.calls-table th, .calls-table td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--mist); white-space: nowrap; }
.calls-table th { font-size: .78rem; color: var(--ink-2); font-weight: 600; }
.calls-table th.num, .calls-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.calls-table tbody tr { cursor: pointer; }
.calls-table tbody tr:hover { background: var(--paper); }
.calls-table tbody tr:last-child td { border-bottom: 0; }
.calls-table .numero { font-size: .8rem; }
.calls-table .badge { margin-left: 0; }
.calls-table td.muted { color: var(--ink-2); }

.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.chart { margin: 0; background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: 1rem 1.25rem; }
.chart figcaption { font-weight: 600; margin-bottom: .75rem; }
.chart svg { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--font); font-size: 12.5px; fill: var(--ink); }
.chart text.val { fill: var(--ink-2); }
.chart .bar { transition: opacity .15s; }
.chart .bar:hover { opacity: .8; }
.chart .empty { padding: 0; font-size: .9rem; }

.drawer-backdrop { position: fixed; inset: 0; background: rgba(22, 34, 74, .35); z-index: 30; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100%);
  background: var(--white); z-index: 31; overflow-y: auto;
  box-shadow: -8px 0 30px rgba(22, 34, 74, .18);
}
.drawer > header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--mist);
  position: sticky; top: 0; background: var(--white); z-index: 1;
}
.drawer h2 { font-size: 1.2rem; margin-top: .35rem; }
.btn-icon { border: 0; background: var(--paper); width: 36px; height: 36px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; color: var(--ink); flex: none; }
.drawer-body { padding: 1.25rem 1.5rem 2rem; }
.drawer-body .actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 1.25rem; }
.drawer-body .actions .badge { margin-left: 0; }
.drawer-body h3 { font-size: 1rem; margin: 1.25rem 0 .6rem; }
.drawer-body .fields { padding: 0; grid-template-columns: 1fr 1fr; }
.drawer-body .bubbles { padding: 0; max-height: none; }
.drawer-body .sintesis { border: 1px solid var(--mist); border-top: 4px solid var(--amber); border-radius: var(--radius); }
.drawer-body .sintesis .body { grid-template-columns: 1fr; }
.drawer-body .meta-list { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem 1rem; margin: 0; font-size: .9rem; }
.drawer-body .meta-list dt { color: var(--ink-2); }
.drawer-body .meta-list dd { margin: 0; font-variant-numeric: tabular-nums; }

/* ---------- Grabación sincronizada ---------- */
.player { display: flex; align-items: center; gap: .75rem; padding: .75rem 1.25rem; border-bottom: 1px solid var(--mist); background: var(--paper); }
.player audio { flex: 1; min-width: 0; height: 40px; }
.player .hint { white-space: nowrap; }
.bubbles li time { font-weight: 500; color: var(--ink-2); margin-left: .4rem; font-variant-numeric: tabular-nums; }
.bubbles li.seekable { cursor: pointer; transition: opacity .2s, box-shadow .2s; }
.bubbles li.seekable:hover { box-shadow: 0 0 0 2px var(--mist); }
.bubbles li.upcoming { opacity: .45; }
.bubbles li.active { box-shadow: 0 0 0 2px var(--amber); opacity: 1; }
.bubbles li.active small { color: var(--amber-ink); }
.drawer-body .player { border: 1px solid var(--mist); border-radius: var(--radius); margin-bottom: .75rem; }

/* ---------- Pie y avisos ---------- */
.foot { border-top: 1px solid var(--mist); padding: 1.25rem 1.5rem; text-align: center; color: var(--ink-2); font-size: .85rem; }
.foot p { margin: 0; }
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%);
  background: var(--ink); color: var(--white); padding: .7rem 1rem; border-radius: 10px;
  z-index: 50; font-size: .95rem; max-width: 90vw;
}
.noscript { text-align: center; padding: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 1.5rem; }
  .demo-grid { grid-template-columns: minmax(0, 1fr); }
  .phone { position: static; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .charts { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr 1fr; }
  .sintesis .body { grid-template-columns: 1fr; }
  .panel-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 600px) {
  .topbar { flex-direction: column; align-items: flex-start; }
  .steps, .principles, .fields, .kpis, .drawer-body .fields { grid-template-columns: 1fr; }
  main { padding: 1.25rem 1rem 3rem; }
  .bubbles li { max-width: 95%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .seg-voice { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
