/* NexorSGSST · web pública. Azul Nexor en bandas completas, hojas blancas sobre fondo frío, Montserrat. */
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/montserrat-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/montserrat-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --blue: #005696; --blue-deep: #003d6b; --blue-hi: #1a6aa6; --on-blue: #ffffff; --on-blue-2: #cfe2f2; --on-blue-line: rgba(255,255,255,.28);
  --orange: #ff8200; --ground: #f5f7fa; --sheet: #ffffff; --ink: #1b2430; --muted: #51606f; --line: #dce3ea; --line-soft: #eef2f6;
  --crit: #c62828; --crit-t: #fdecec; --warn: #8a5300; --warn-f: #f5a623; --warn-t: #fff4e0; --good: #2e7d32; --good-t: #dcefdd; --mej: #3f6b94; --mej-t: #e4edf6;
  --r: 8px; --r-sm: 4px; --gut: clamp(16px, 4vw, 40px); --maxw: 1240px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(72px, 9vw, 128px);
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--ground); font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; font-weight: 800; letter-spacing: -0.02em; }
p { margin: 0; text-wrap: pretty; }
::selection { background: var(--blue); color: #fff; }
.band-blue ::selection { background: #fff; color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.band-blue :focus-visible { outline-color: #fff; }
html { scrollbar-color: #b9c6d3 var(--ground); }
.nw { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: var(--r); font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #e9f2fa; }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { background: var(--line-soft); }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 14px 26px; font-size: 1.05rem; }
.btn-meta { font-weight: 500; opacity: .75; font-size: .85em; }
.link { color: var(--blue); font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .ico { width: 16px; height: 16px; }

/* Barra superior: el ciclo PHVA es la navegación */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
@supports (backdrop-filter: blur(8px)) { .topbar { background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(10px); } }
.topbar-in { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gut); height: 68px; display: flex; align-items: center; gap: 24px; }
.brand img { height: 36px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; font-size: .9rem; font-weight: 600; }
.nav a { position: relative; padding: 8px 12px; border-radius: var(--r); text-decoration: none; color: var(--muted); transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--ink); background: var(--line-soft); }
.nav a[aria-current="page"], .nav a.is-here { color: var(--blue); }
.nav a.is-here::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--orange); }
.nav-cycle { display: grid; place-items: center; width: 28px; height: 28px; margin-right: 4px; opacity: 0; transition: opacity .3s; }
.nav-cycle.active { opacity: 1; }
.mini-ring { width: 24px; height: 24px; }
.mini-ring path { fill: none; stroke: rgba(0,86,150,.22); stroke-width: 4; stroke-linecap: butt; transition: stroke .3s; }
.mini-ring path.on { stroke: var(--blue); }
.nav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); color: var(--ink); cursor: pointer; place-items: center; }

/* Héroe: el anillo de los 60 estándares */
.band-blue { background: var(--blue); color: var(--on-blue); }
.hero { padding-block: clamp(24px, 4vh, 48px) clamp(40px, 6vh, 72px); overflow: hidden; }
.instrument { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, min(660px, calc(100svh - 150px))) minmax(200px, 1fr); align-items: center; gap: clamp(16px, 2.5vw, 40px); }
.ring-box { position: relative; container-type: inline-size; aspect-ratio: 1; }
.ring { width: 100%; height: 100%; overflow: visible; }
.ring .cell { fill: transparent; stroke: var(--on-blue-line); stroke-width: 1.5; cursor: pointer; transition: fill .25s var(--ease), stroke .25s; }
.ring .cell:hover { stroke: #fff; stroke-width: 2.5; }
.ring .cell.on { fill: #fff; stroke: #fff; }
.ring .cell.sweep { animation: sweep 1.1s var(--ease) both; animation-delay: calc(var(--i) * 18ms); }
@keyframes sweep { 0% { fill: transparent; } 30% { fill: rgba(255,255,255,.55); } 100% { fill: transparent; } }
.ring .cell.on.sweep { animation: none; }
.ring-label { text-decoration: none; }
.ring-label text { font-family: inherit; fill: #fff; font-size: 22px; }
.ring-label .rl-name { font-weight: 800; }
.ring-label .rl-w { fill: var(--on-blue-2); font-weight: 500; font-size: 18px; }
.ring-label:hover .rl-name, .ring-label:focus-visible .rl-name { text-decoration: underline; }
.ring-center { position: absolute; inset: 22%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(10px, 2.6cqi, 22px); pointer-events: none; }
.ring-center > * { pointer-events: auto; }
.hero-h1 { font-size: clamp(1.5rem, 6.6cqi, 3.4rem); line-height: 1.04; letter-spacing: -0.03em; max-width: 13ch; }
.hero-h1--sm { font-size: clamp(1.3rem, 5.4cqi, 2.8rem); max-width: 15ch; }
.hole-score { display: flex; align-items: center; justify-content: center; gap: 12px; }
.hs-num { font-size: clamp(1.6rem, 6.4cqi, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
.hs-unit { font-size: .5em; font-weight: 700; margin-left: .1em; letter-spacing: 0; }
.tap-hint { display: none; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 18px; }
.hero-login { color: #fff; font-weight: 600; font-size: .9rem; text-underline-offset: 4px; display: inline-flex; align-items: center; gap: 8px; }
.hero-login .ico { width: 18px; height: 18px; }
.inst-side { align-self: center; }
.inst-how { color: var(--on-blue-2); font-size: .95rem; display: grid; gap: 14px; max-width: 32ch; }
.how-lead { color: #fff; font-weight: 600; font-size: 1rem; line-height: 1.5; }
.how-do { display: flex; align-items: flex-start; gap: 10px; color: var(--on-blue-2); }
.how-do::before { content: ""; width: 22px; height: 14px; border-radius: 3px; background: #fff; flex: none; margin-top: 5px; }
.how-alt { color: #fff; font-size: .875rem; font-weight: 600; text-underline-offset: 4px; }
.inst-read { justify-self: end; text-align: right; display: grid; gap: 6px; min-width: 200px; }
.read-label { font-size: .875rem; font-weight: 600; color: var(--on-blue-2); }
.read-plan { justify-self: end; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; margin-top: 4px; }
.read-plan:hover { text-decoration: underline; text-underline-offset: 4px; }
.read-plan .ico { width: 16px; height: 16px; }
.read-meta { font-size: 1.05rem; font-weight: 700; color: #fff; }
.read-gap { font-size: .9rem; color: var(--on-blue-2); }
.read-gap { max-width: 24ch; justify-self: end; }
.read-reset { justify-self: end; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; background: none; border: 0; color: #fff; font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 4px; }
.read-reset .ico { width: 16px; height: 16px; }
.band { display: inline-block; padding: 4px 12px; border-radius: var(--r-sm); font-weight: 700; font-size: .85rem; }
.band-none { background: rgba(255,255,255,.14); color: #fff; }
.band-CRITICO { background: var(--crit-t); color: var(--crit); }
.band-MODERADO { background: var(--warn-t); color: var(--warn); }
.band-ACEPTABLE { background: var(--good-t); color: var(--good); }

/* Franja de presentación */
.intro { background: var(--sheet); border-bottom: 1px solid var(--line); }
.intro-in { padding-block: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px 64px; align-items: end; }
.intro-text { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.45; max-width: 46ch; letter-spacing: -0.01em; }
.intro-norms { color: var(--muted); font-size: .9rem; line-height: 1.7; }

/* Fases del ciclo */
.phase { padding-block: var(--sec); }
.phase-white { background: var(--sheet); border-block: 1px solid var(--line); }
.phase-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.phase-grid--wide { grid-template-columns: 1fr; }
.phase-grid--wide .phase-head { max-width: 760px; }
.phase-head { display: grid; gap: 16px; align-content: start; }
.phase-head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; }
.ph-word { color: var(--blue); }
.phase-head p { color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.phase-head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px 48px; margin-bottom: clamp(28px, 4vw, 48px); }
.phase-head--row > div:first-child { display: grid; gap: 16px; max-width: 720px; }
.phase-mark { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--blue) !important; font-size: 1.05rem !important; }
.pm-ring .mini-ring { width: 28px; height: 28px; }
.pm-ring .mini-ring path { stroke-width: 4.5; }
#planear .pm-ring path[data-phase="PLANEAR"], #hacer .pm-ring path[data-phase="HACER"], #verificar .pm-ring path[data-phase="VERIFICAR"], #actuar .pm-ring path[data-phase="ACTUAR"] { stroke: var(--blue); }
.phase-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.phase-list li { padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; font-size: .95rem; }
.phase-list--row { display: flex; flex-wrap: wrap; gap: 8px 28px; border: 0; margin-top: 40px; }
.phase-list--row li { border: 0; padding: 0; color: var(--muted); }
.phase-list--row li::before { content: ""; display: inline-block; width: 10px; height: 6px; border-radius: 2px; background: var(--blue); margin-right: 10px; vertical-align: middle; }
.sample { margin-top: 12px; font-size: .8rem; color: var(--muted); }

/* Planear: matriz GTC 45 */
.gtc { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.gtc .sample { padding: 0 24px 18px; margin: 0; }
.gtc-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); background: #f8fafc; }
.gtc-cell { padding: 14px 16px; font-size: .875rem; font-weight: 600; display: grid; gap: 4px; border-right: 1px solid var(--line-soft); }
.gtc-cell:last-child { border-right: 0; }
.gtc-k { font-size: .75rem; font-weight: 600; color: var(--muted); }
.gtc-controls { padding: 20px 24px 8px; display: grid; gap: 18px; }
.seg { border: 0; margin: 0; padding: 0; min-width: 0; }
.seg legend { padding: 0; font-size: .85rem; font-weight: 700; margin-bottom: 8px; }
.seg-opts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.seg label { position: relative; cursor: pointer; border-right: 1px solid var(--line); }
.seg label:last-child { border-right: 0; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: grid; gap: 1px; text-align: center; padding: 10px 6px; transition: background-color .2s, color .2s; }
.seg b { font-size: .85rem; font-weight: 700; }
.seg i { font-style: normal; font-size: .75rem; color: var(--muted); }
.seg label:hover span { background: var(--line-soft); }
.seg input:checked + span { background: var(--blue); color: #fff; }
.seg input:checked + span i { color: var(--on-blue-2); }
.seg input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -4px; }
.gtc-out { margin: 12px 24px 16px; display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: stretch; }
.gtc-calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: .85rem; color: var(--muted); padding: 16px 0; }
.gtc-calc b { display: block; font-size: 1.6rem; color: var(--ink); font-weight: 800; line-height: 1.1; }
.gtc-calc span[aria-hidden] { font-size: 1.3rem; color: var(--muted); align-self: flex-end; padding-bottom: 2px; }
.gtc-level { border-radius: var(--r); padding: 14px 16px; display: grid; gap: 6px; align-content: center; transition: background-color .3s; }
.gtc-level p { font-size: .9rem; font-weight: 600; }
.level-tag { font-weight: 800; font-size: 1.15rem; }
.lv-I { background: var(--crit-t); color: var(--crit); }
.lv-II { background: var(--warn-t); color: var(--warn); }
.lv-III { background: var(--mej-t); color: var(--mej); }
.lv-IV { background: var(--good-t); color: var(--good); }
.gtc-level p { color: var(--ink); }

/* Hacer: campo y oficina */
.field { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.phone { background: var(--ink); border-radius: 34px; padding: 12px; }
.phone-bar { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: .8rem; font-weight: 600; padding: 4px 12px 10px; }
.sig { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer; }
.sig .ico { width: 16px; height: 16px; }
.sig[aria-pressed="false"] { background: var(--warn-t); color: var(--warn); }
.phone-body { background: var(--ground); border-radius: 24px; padding: 20px 16px; display: grid; gap: 14px; min-height: 360px; align-content: start; }
.ph-title { font-weight: 800; font-size: 1.05rem; }
.ph-field { display: grid; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--muted); }
.ph-field select { font: inherit; font-size: .9rem; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px; min-height: 48px; }
.ph-save { min-height: 52px; border: 0; border-radius: var(--r); background: var(--blue); color: #fff; font: inherit; font-weight: 700; cursor: pointer; transition: background-color .2s; }
.ph-save:hover { background: var(--blue-deep); }
.ph-queue { background: var(--warn-t); color: var(--warn); border-radius: var(--r); padding: 10px 12px; font-size: .82rem; font-weight: 600; }
.ph-queue.ok { background: var(--good-t); color: var(--good); }
.office { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.office .sample { padding: 0 20px 16px; }
.office-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); font-weight: 700; background: #f8fafc; }
.office-sync { font-size: .8rem; font-weight: 600; color: var(--good); display: inline-flex; align-items: center; gap: 6px; }
.office-sync::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.office-sync.wait { color: var(--warn); }
.office-list { list-style: none; margin: 0; padding: 0; }
.office-list li { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--line-soft); font-size: .9rem; align-items: center; }
.ol-what { font-weight: 700; }
.ol-where, .ol-when { color: var(--muted); }
.office-list li.new { animation: arrive 1.2s var(--ease); }
@keyframes arrive { 0% { background: #e9f2fa; transform: translateY(-8px); opacity: 0; } 40% { opacity: 1; transform: none; } 100% { background: transparent; } }

/* Simulacro: corte de la sede */
#hacer { border-bottom: 0; padding-bottom: clamp(48px, 6vw, 80px); }
.phase-drill { padding-top: clamp(48px, 6vw, 80px); background: var(--sheet); border-top: 1px solid var(--line-soft); }
.drill-narrow { display: none; }
.drill { background: #f8fafc; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(12px, 2vw, 24px); overflow-x: auto; }
.drill-svg { width: 100%; height: auto; }
.drill-svg text { font-family: inherit; font-size: 15px; font-weight: 600; fill: var(--muted); }
.drill-svg .floor rect { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.drill-svg .floor line { stroke: var(--line); stroke-width: 2; }
.drill-svg .ground { fill: var(--line-soft); }
.drill-svg .stair rect { fill: var(--line-soft); stroke: var(--ink); stroke-width: 2; }
.drill-svg .stair path { stroke: #b9c6d3; stroke-width: 2; fill: none; }
.drill-svg .route { fill: none; stroke: var(--good); stroke-width: 3; stroke-dasharray: 2 10; stroke-linecap: round; opacity: .55; }
.drill.running .route { animation: march .6s linear infinite; opacity: 1; }
@keyframes march { to { stroke-dashoffset: -12; } }
.drill-svg .meet circle { fill: var(--good-t); stroke: var(--good); stroke-width: 2; }
.drill-svg .ext rect { fill: var(--crit); }
.drill-svg .people circle { fill: var(--blue); }
.drill-svg .people circle.safe { fill: var(--good); }
.drill-ctl { display: grid; gap: 10px; justify-items: end; }
.drill-read { font-size: .9rem; color: var(--muted); font-weight: 600; }
.drill-read span:first-child { color: var(--ink); font-size: 1.2rem; font-weight: 800; }

/* Verificar: lista de estándares */
.verify-read { min-width: min(100%, 380px); }
.meters { display: grid; gap: 10px; }
.meter { display: grid; grid-template-columns: 84px 1fr 48px; align-items: center; gap: 12px; font-size: .875rem; }
.m-name { font-weight: 600; }
.m-track { height: 8px; background: var(--line-soft); border-radius: var(--r-sm); overflow: hidden; }
.m-fill { display: block; height: 100%; width: 0; background: var(--crit); border-radius: var(--r-sm); transition: width .5s var(--ease), background-color .3s; }
.m-val { text-align: right; font-weight: 700; }
.std-list { columns: 2 460px; column-gap: 24px; }
.std-group { break-inside: avoid; margin: 0 0 24px; padding: 0; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); min-width: 0; }
.std-group legend { float: left; width: 100%; display: flex; justify-content: space-between; gap: 12px; padding: 16px 20px 10px; font-weight: 700; }
.sg-meta { color: var(--muted); font-weight: 600; font-size: .85rem; white-space: nowrap; }
.sg-cells { clear: both; display: flex; gap: 2px; padding: 0 20px 12px; }
.sg-cells i { height: 12px; min-width: 4px; border-radius: 2px; background: #fff; box-shadow: inset 0 0 0 1px #b9c6d3; transition: background-color .25s; }
.sg-cells i.on { background: var(--blue); box-shadow: none; }
.std-group ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.std-group li + li { border-top: 1px solid var(--line-soft); }
.std-group label { display: grid; grid-template-columns: 22px 52px 1fr auto; gap: 10px; align-items: start; padding: 10px 20px; cursor: pointer; font-size: .9rem; min-height: 44px; transition: background-color .15s; }
.std-group label:hover { background: #f8fafc; }
.std-group input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.std-code { color: var(--muted); font-weight: 600; }
.std-name { font-weight: 500; }
.std-w { font-weight: 700; color: var(--muted); }
.std-group input:checked ~ .std-name { color: var(--ink); font-weight: 600; }
.std-group input:checked ~ .std-w { color: var(--blue); }

/* Actuar: plan */
.plan { background: var(--ground); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.plan-lead { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; line-height: 1.4; }
.plan-table { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 14px; }
.pt-row { display: grid; grid-template-columns: 64px 1fr 72px 120px; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); font-size: .9rem; align-items: center; }
.pt-row:last-child { border-bottom: 0; }
.pt-head { background: #f8fafc; font-size: .78rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); }
.pt-code { color: var(--muted); font-weight: 600; }
.pt-act { font-weight: 600; }
.pt-gain { font-weight: 800; color: var(--blue); }
.pt-due { color: var(--muted); }
.plan-note { font-size: .85rem; color: var(--muted); margin-bottom: 20px; }

/* Módulos */
.modules { padding-block: var(--sec); }
.modules h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -0.03em; max-width: 20ch; margin-bottom: clamp(32px, 4vw, 56px); }
.mod-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.mod-cols > div { padding: 22px 28px 28px 0; border-bottom: 1px solid var(--line); }
.mod-cols > div:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.mod-cols h3 { font-size: 1.1rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.mod-cols p { color: var(--muted); font-size: .95rem; }

/* Banda de la app */
.appband-in { padding-block: clamp(48px, 6vw, 80px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.appband h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.03em; margin-bottom: 10px; }
.appband p { color: var(--on-blue-2); max-width: 56ch; }

/* Preguntas */
.faq-sec { padding-block: var(--sec); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.faq-grid > h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.03em; position: sticky; top: 100px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq summary:hover { color: var(--blue); }
.faq-a { padding: 0 0 22px; color: var(--muted); max-width: 68ch; }
.faq-a a { color: var(--blue); font-weight: 600; }
.faq-a code { font-size: .8rem; word-break: break-all; background: var(--line-soft); padding: 2px 6px; border-radius: 4px; }

/* Cierre */
.close { padding-block: var(--sec); background: var(--sheet); border-top: 1px solid var(--line); }
.close-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 80px; align-items: center; }
.close-main h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); letter-spacing: -0.035em; max-width: 18ch; margin-bottom: 28px; }
.close-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.close-note { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.login-form { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: grid; gap: 12px; background: var(--ground); }
.login-form h3 { font-size: 1.2rem; }
.login-form p { color: var(--muted); font-size: .9rem; }
.lf-row { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lf-row:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,86,150,.15); }
.lf-row input { flex: 1; min-width: 0; border: 0; padding: 14px; font: inherit; font-weight: 600; color: var(--ink); outline: none; background: transparent; }
.lf-row input::placeholder { color: #5d6b78; font-weight: 500; }
.lf-domain { padding-right: 14px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.lf-error { color: var(--crit) !important; font-weight: 600; }
.login-form .btn { justify-self: start; }

/* Pie */
.footer { background: var(--ink); color: #c5cfd9; font-size: .9rem; }
.footer-in { padding-block: 56px 32px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 64px; }
.footer-brand img { height: 34px; width: auto; background: #fff; padding: 6px 10px; border-radius: 6px; box-sizing: content-box; margin-bottom: 16px; }
.footer-brand p { max-width: 38ch; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font-size: .85rem; color: #fff; font-weight: 700; margin-bottom: 12px; letter-spacing: 0; }
.footer-cols a { display: block; text-decoration: none; padding: 5px 0; }
.footer-cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: #93a1af; }
.footer :focus-visible { outline-color: #fff; }

/* Página de autoevaluación */
.hero--page { padding-block: 24px 48px; }

/* Página de descarga */
.dl { padding-block: clamp(48px, 7vw, 96px); }
.dl-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px 80px; align-items: start; }
.dl-main { display: grid; gap: 22px; justify-items: start; }
.dl h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -0.035em; max-width: 14ch; }
.dl-sub { color: var(--on-blue-2); font-size: 1.1rem; max-width: 48ch; }
.dl-facts { display: flex; flex-wrap: wrap; gap: 8px 36px; margin: 8px 0 0; }
.dl-facts div { display: grid; }
.dl-facts dt { font-size: .8rem; color: var(--on-blue-2); font-weight: 600; }
.dl-facts dd { margin: 0; font-weight: 800; font-size: 1.05rem; }
.dl-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--on-blue-line); }
.dl-steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--on-blue-line); }
.dl-steps li::before { content: counter(s); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.dl-steps h2 { font-size: 1.1rem; letter-spacing: -0.01em; }
.dl-steps p { color: var(--on-blue-2); font-size: .95rem; }
.app-feats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.app-feats li { padding: 16px 0; border-bottom: 1px solid var(--line-soft); color: var(--muted); }
.app-feats b { color: var(--ink); }

/* Páginas de herramientas: calculadora o selector, tablas de la norma y archivo de Excel */
.dl--tool h1 { font-size: clamp(2rem, 4.4vw, 3.5rem); max-width: 18ch; }
.dl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.dl-link { color: #fff; font-weight: 600; font-size: .95rem; text-underline-offset: 4px; }
.hero-dl { margin: 0; border-top: 1px solid var(--on-blue-line); }
.hero-dl div { padding: 20px 0; border-bottom: 1px solid var(--on-blue-line); display: grid; gap: 6px; }
.hero-dl dt { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em; }
.hero-dl dd { margin: 0; color: var(--on-blue-2); font-size: .95rem; }
.inline { color: var(--blue); font-weight: 600; text-underline-offset: 3px; }
.phase-list--flush { margin-top: 0; }
.phase-head .btn { justify-self: start; }

.gtc--full .gtc-controls { gap: 22px; padding-top: 24px; }
.seg-help { margin-top: 8px; font-size: .85rem; line-height: 1.5; color: var(--muted); min-height: 4.5em; }
.gtc-calc em { display: block; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--ink); margin-top: 2px; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.split-head { display: grid; gap: 16px; position: sticky; top: 100px; }
.split-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.03em; }
.split-head p { color: var(--muted); }
.split-head .btn { justify-self: start; }
.split-nav { display: grid; border-top: 1px solid var(--line); margin-top: 4px; }
.split-nav a { padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-weight: 600; font-size: .9rem; text-decoration: none; color: var(--muted); transition: color .2s; }
.split-nav a:hover { color: var(--blue); }

.refs { display: grid; gap: 40px; min-width: 0; }
.ref { min-width: 0; scroll-margin-top: 100px; }
.ref h3 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 12px; }
.ref-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--sheet); }
.ref table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .9rem; }
.ref th, .ref td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.ref thead th { background: #f8fafc; font-size: .78rem; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--line); white-space: nowrap; }
.ref tbody tr:last-child > * { border-bottom: 0; }
.ref tbody th { font-weight: 700; white-space: nowrap; }
.ref tbody th.ref-wrap { white-space: normal; min-width: 180px; }
.ref-v { font-weight: 700; white-space: nowrap; }
.ref td { color: var(--muted); }
.ref td.ref-v { color: var(--ink); }
.lv { display: inline-block; padding: 2px 10px; border-radius: var(--r-sm); font-weight: 800; }

.cols { margin: 0; border-top: 2px solid var(--ink); }
.cols div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 4px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cols dt { font-weight: 700; }
.cols dd { margin: 0; color: var(--muted); font-size: .95rem; }

.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.calc-in { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px 20px; }
.calc-in fieldset { border: 0; margin: 0; padding: 16px 0 4px; min-width: 0; }
.calc-in fieldset + fieldset { border-top: 1px solid var(--line); margin-top: 16px; }
.calc-in legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font-weight: 800; font-size: 1rem; }
.calc-in label { clear: both; display: grid; grid-template-columns: 1fr 112px; gap: 12px; align-items: center; font-size: .9rem; font-weight: 600; padding: 5px 0; }
.calc-in input, .apply-n input { font: inherit; font-weight: 700; text-align: right; padding: 10px 12px; min-height: 44px; width: 100%; border: 1px solid var(--line); border-radius: var(--r); color: var(--ink); background: #fff; caret-color: var(--blue); }
.calc-in input:focus, .apply-n input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,86,150,.15); }
.calc-in .sample { margin-top: 14px; }
.calc-out { border-top: 2px solid var(--ink); }
.ind { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.ind h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
.ind-per { margin-left: 10px; font-size: .78rem; font-weight: 600; color: var(--muted); letter-spacing: 0; white-space: nowrap; }
.ind-val { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); line-height: 1; text-align: right; }
.ind-read { grid-column: 1 / -1; color: var(--muted); font-size: .92rem; min-height: 1.5em; }
.ind-read.warn { color: var(--warn); font-weight: 600; }

.apply { background: var(--sheet); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.apply-in { padding: 24px; display: grid; gap: 20px; }
.apply-n { display: grid; gap: 8px; font-size: .85rem; font-weight: 700; }
.apply-n input { max-width: 180px; text-align: left; font-size: 1.1rem; }
.apply-out { padding: 22px 24px; border-top: 1px solid var(--line); background: #f8fafc; display: grid; gap: 8px; justify-items: start; }
.apply-count { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; color: var(--blue); }
.apply-out p:not(.apply-count) { color: var(--muted); }
.req { scroll-margin-top: 68px; }
.req-here { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-weight: 700; font-size: .9rem; color: var(--ink) !important; }
.req-here::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.req-design { font-size: .95rem; }
.req-design b { color: var(--ink); }
.req-list { list-style: none; counter-reset: r; margin: 0; padding: 0; border-top: 2px solid var(--ink); columns: 2 320px; column-gap: 40px; }
.req-list li { counter-increment: r; break-inside: avoid; display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.req-list li::before { content: counter(r); color: var(--muted); font-weight: 700; }
.req-sixty { display: grid; gap: 20px; min-width: 0; }
.req-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tools-list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 2px solid var(--ink); }
.tools-list li { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto; gap: 12px 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.tl-main { display: grid; gap: 8px; }
.tl-main h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.02em; }
.tl-main h3 a { text-decoration: none; }
.tl-main h3 a:hover { color: var(--blue); }
.tl-main p, .tl-take { color: var(--muted); font-size: .95rem; }
.tl-go { display: flex; align-items: center; gap: 18px; }

.more { padding-block: clamp(56px, 7vw, 96px); background: var(--sheet); border-top: 1px solid var(--line); }
.more h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -0.02em; margin-bottom: 20px; }
.more-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.more-list li + li { border-left: 1px solid var(--line); }
.more-list a { display: grid; gap: 8px; height: 100%; align-content: start; padding: 20px 28px 8px 0; text-decoration: none; }
.more-list li + li a { padding-left: 28px; }
.more-list b { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; transition: color .2s; }
.more-list span { color: var(--muted); font-size: .92rem; }
.more-list a:hover b { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

.nf { padding-block: 120px; min-height: 60vh; }
.nf h1 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 16px; }

/* Responsive */
@media (max-width: 1100px) {
  .instrument { grid-template-columns: 1fr 1fr; }
  .ring-box { grid-column: 1 / -1; grid-row: 1; width: min(100%, 680px); justify-self: center; }
  .inst-how { grid-row: 2; }
  .inst-read { grid-row: 2; }
  .phase-grid, .faq-grid, .close-grid, .dl-grid, .footer-in, .split, .calc { grid-template-columns: 1fr; }
  .faq-grid > h2, .split-head { position: static; }
  .tools-list li { grid-template-columns: 1fr auto; }
  .tl-take { grid-column: 1; grid-row: 2; }
  .tl-go { grid-row: 1 / span 2; grid-column: 2; }
  .mod-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mod-cols > div:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .mod-cols > div:nth-child(2n) { padding-left: 28px; border-left: 1px solid var(--line); }
  .intro-in { grid-template-columns: 1fr; }
}
@media (max-width: 1060px) {
  .menu-btn { display: grid; }
  .topbar-cta span { display: none; }
  .topbar-cta { padding: 8px 12px; margin-left: auto; }
  .menu-btn { margin-left: 0; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px var(--gut) 16px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; font-size: 1rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .nav-cycle, .nav-sep { display: none; }
  .nav a.is-here::after { left: auto; right: 8px; top: 50%; bottom: auto; margin-top: -3px; }
}
@media (max-width: 760px) {
  .field { grid-template-columns: 1fr; }
  .phone { max-width: 340px; width: 100%; justify-self: center; }
  .gtc-row { grid-template-columns: 1fr 1fr; }
  .gtc-cell:nth-child(2) { border-right: 0; }
  .gtc-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); }
  .gtc-out { grid-template-columns: 1fr; gap: 4px; }
  .office-list li { grid-template-columns: 1fr auto; }
  .ol-where { grid-row: 2; }
  .drill-ctl { justify-items: start; }
  .more-list { grid-template-columns: 1fr; }
  .more-list li + li { border-left: 0; border-top: 1px solid var(--line); }
  .more-list li + li a { padding-left: 0; }
  .more-list a { padding-bottom: 20px; }
  .cols div { grid-template-columns: 1fr; }
  .tools-list li { grid-template-columns: 1fr; }
  .tl-go { grid-row: auto; grid-column: 1; }
  .pt-row { grid-template-columns: 56px 1fr 60px; }
  .pt-row > :nth-child(4) { grid-column: 2 / -1; font-size: .8rem; margin-top: -6px; }
  .pt-head > :nth-child(4) { display: none; }
}
@media (max-width: 640px) {
  .instrument { grid-template-columns: 1fr; gap: 20px; }
  .ring-box { grid-row: 1; }
  .ring-center { position: static; inset: auto; margin-top: 8px; }
  .ring-box { aspect-ratio: auto; }
  .ring { aspect-ratio: 1; height: auto; }
  .hero-h1 { font-size: clamp(2rem, 9vw, 2.6rem); max-width: 14ch; }
  .hero-h1--sm { font-size: clamp(1.7rem, 7.5vw, 2.2rem); }
  .hero-sub { font-size: 1rem; }
  .inst-how, .inst-read { grid-row: auto; }
  .inst-read { justify-self: stretch; text-align: left; border-top: 1px solid var(--on-blue-line); padding-top: 16px; }
  .read-gap, .read-reset { justify-self: start; }
  .inst-how { max-width: none; }
  .ring-label text { font-size: 28px; }
  .ring-label .rl-w { font-size: 22px; }
  .how-do { display: none; }
  .tap-hint { display: block; text-align: center; color: #fff; font-weight: 700; font-size: .95rem; margin-top: 4px; }
  .ring-center .hole-score { position: absolute; top: 50cqi; left: 50%; transform: translate(-50%, -50%); flex-direction: column; gap: 8px; }
  .hs-num { font-size: 3rem; }
  .read-plan { justify-self: start; }
  .drill-wide { display: none; }
  .drill-narrow { display: block; }
  .drill-svg text { font-size: 16px; }
  .mod-cols { grid-template-columns: 1fr; }
  .mod-cols > div:nth-child(2n) { padding-left: 0; border-left: 0; }
  .std-group label { grid-template-columns: 22px 44px 1fr auto; padding: 10px 14px; }
  .std-group legend, .sg-cells { padding-inline: 14px; }
  .seg-opts { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .seg label:nth-child(2n) { border-right: 0; }
  .seg label:nth-child(-n+2):not(:last-child) { border-bottom: 1px solid var(--line); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .calc-in { padding-inline: 16px; }
  .calc-in label { grid-template-columns: 1fr 96px; }
  .ind-val { font-size: 1.6rem; }
  .dl-actions .btn { width: 100%; justify-content: center; flex-wrap: wrap; row-gap: 2px; }
  .dl-actions .btn-meta { flex-basis: 100%; text-align: center; }
  .req-actions .btn, .phase-head .btn { width: 100%; justify-content: center; }
  .apply .seg-opts { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: minmax(0, 1fr); }
  .apply .seg label { border-right: 1px solid var(--line); border-bottom: 0 !important; }
  .apply .seg label:last-child { border-right: 0; }
  .apply-in, .apply-out { padding-inline: 16px; }
  .ind h3 { line-height: 1.25; }
  .seg-help { min-height: 0; }
  .close-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Vista del producto: portátil con el panel web y celular con la app (SVG de showcase.js) */
.showcase { padding-block: var(--sec) calc(var(--sec) * .7); }
.sc { margin: 0; }
.sc-svg { width: 100%; height: auto; overflow: visible; }
.sc-narrow { display: none; overflow: hidden; }
.sc figcaption { text-align: center; margin-top: 4px; }
.sc-notes { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.sc-notes li { padding: 20px 28px 0 0; color: var(--muted); font-size: .95rem; }
.sc-notes li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.sc-notes b { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 6px; }
@media (max-width: 760px) {
  .sc-notes { grid-template-columns: 1fr; }
  .sc-notes li, .sc-notes li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .sc-wide { display: none; }
  .sc-narrow { display: block; }
}

/* Más capturas: matriz de peligros y mapa 3D, en marco de pantalla */
.sc-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.sc-shot { margin: 0; display: grid; gap: 14px; align-content: start; }
.sc-shot a { display: block; border: clamp(6px, .8vw, 10px) solid var(--ink); border-radius: 12px; overflow: hidden; background: var(--ink); transition: transform .3s var(--ease); }
.sc-shot a:hover { transform: translateY(-3px); }
.sc-shot img { display: block; width: 100%; height: auto; }
.sc-shot figcaption { color: var(--muted); font-size: .95rem; }
.sc-shot figcaption b { display: block; color: var(--ink); font-size: 1.05rem; letter-spacing: -0.01em; margin-bottom: 4px; }
@media (max-width: 760px) { .sc-more { grid-template-columns: 1fr; } }
