/* ============================================================
   Sistema de diseño: alma Prime Studio
   Grotesk bold/uppercase, objetos con borde fino (sin sombra
   pesada), acento vívido único, franja de cifras grandes.
   Contenido centrado con max-width en pantallas anchas.
   ============================================================ */

:root {
  color-scheme: light only;
  --ink: #0E0E10;
  --ink-alt: #12202B;
  --ink-2: #17171A;
  --paper: #E5EFF5;
  --paper-2: #D3E2EC;
  --accent: #FF4B2B;
  --accent-dark: #B7350D;
  --ok: #2F6E4B;
  --graphite: #5E6A73;
  --ink-text: #14181A;
  --line-dark: rgba(229, 239, 245, 0.14);
  --line-light: rgba(14, 14, 16, 0.14);
  --content-max: 1180px;

  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --font-body: 'Inter', -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.section-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

/* ---------- Header calcado del theme primestudio-theme ---------- */

:root {
  --ps-glass: rgba(255,255,255,0.08);
  --ps-blur: 20px;
  --ps-border: rgba(255,255,255,0.12);
  --ps-elastic: cubic-bezier(0.68,-0.55,0.32,1.55);
  --ps-smooth: cubic-bezier(0.16,1,0.3,1);
  --ps-orange: #E8470A;
}

/* Logo esquina superior izquierda */
#nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 300;
  padding: 28px 40px 0;
  display: flex; align-items: flex-start;
  background: transparent; pointer-events: none;
}
#nav > * { pointer-events: auto; }
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}

/* Cápsula central */
#ps-main-header {
  position: fixed; top: 24px; left: 50%; transform: translateX(-50%);
  z-index: 8000;
  display: flex; align-items: center;
  padding: 0 4px; height: 48px;
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(var(--ps-blur));
  -webkit-backdrop-filter: blur(var(--ps-blur));
  border-radius: 8px;
  border: 1px solid var(--ps-border);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.4s var(--ps-elastic);
}
#ps-main-header.ps-nav-ready { opacity: 1; pointer-events: auto; }
body.ps-scrolled #ps-main-header {
  opacity: 0 !important; transform: translateX(-50%) translateY(-14px); pointer-events: none;
}

#ps-main-header ul {
  display: flex; gap: 0; align-items: center;
  list-style: none !important; padding: 0; margin: 0;
}
#ps-main-header ul li {
  position: relative;
  list-style: none !important;
}
#ps-main-header ul li a {
  display: block;
  text-decoration: none; color: rgba(255,255,255,0.88);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 20px; letter-spacing: .08em;
  padding: 0 20px; line-height: 48px;
  transition: color .2s; cursor: pointer;
}
#ps-main-header ul li a:hover { color: var(--ps-orange); }

/* Ocultar flechas / indicadores nativos WP */
#ps-main-header ul li.menu-item-has-children > a::after,
#ps-main-header ul li.menu-item-has-children > a::before,
#ps-main-header .sub-menu-toggle,
#ps-main-header .dropdown-toggle { display: none !important; }

/* Separadores entre ítems */
#ps-main-header ul li + li::before {
  content: ''; position: absolute; left: 0; top: 12px; bottom: 12px;
  width: 1px; background: rgba(255,255,255,0.1);
}

/* Submenú desplegable (hover) */
#ps-main-header ul li ul {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: rgba(15,15,15,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--ps-border);
  border-radius: 8px;
  padding: 6px 0; min-width: 210px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 500;
  display: block;
}
/* Puente invisible para no perder el hover */
#ps-main-header ul li::after {
  content: ''; position: absolute; bottom: -10px; left: 0; right: 0; height: 12px;
}
#ps-main-header ul li ul li { display: block; position: static; }
#ps-main-header ul li ul li::before { display: none; }
#ps-main-header ul li ul::before {
  content: '';
  position: absolute; top: -6px; left: 50%;
  width: 10px; height: 10px;
  background: rgba(15,15,15,0.97);
  border-left: 1px solid var(--ps-border);
  border-top: 1px solid var(--ps-border);
  transform: translateX(-50%) rotate(45deg);
}
#ps-main-header ul li ul li a {
  display: block; padding: 11px 20px; line-height: 1.2;
  color: rgba(255,255,255,0.6);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 20px; letter-spacing: .06em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color .2s, background .2s;
}
#ps-main-header ul li ul li:last-child a { border-bottom: none; }
#ps-main-header ul li ul li a:hover { color: var(--ps-orange); background: rgba(255,255,255,0.03); }

/* Botón sticky (aparece al scrollear) */
#ps-sticky-trigger {
  position: fixed; top: 20px; right: 24px; z-index: 8500;
  display: flex; align-items: center; gap: 0;
  border-radius: 6px;
  background: rgba(20,20,20,0.55);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ps-border);
  overflow: hidden;
  cursor: pointer;
  transform: scale(0) rotate(8deg); opacity: 0;
  transition: transform 0.4s var(--ps-elastic), opacity 0.3s ease;
  user-select: none;
}
body.ps-scrolled #ps-sticky-trigger { transform: scale(1) rotate(0deg); opacity: 1; }
#ps-sticky-trigger:hover { background: rgba(40,40,40,0.7); }

.ps-trigger-label {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 20px; letter-spacing: .08em;
  color: rgba(255,255,255,0.88);
  padding: 0 18px; line-height: 44px;
}
.ps-trigger-sep { width: 1px; background: rgba(255,255,255,0.12); height: 44px; }
.ps-trigger-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ps-trigger-icon { display: flex; flex-direction: column; gap: 5px; }
.ps-trigger-icon span {
  display: block; width: 16px; height: 1.5px;
  background: #fff; border-radius: 2px;
  transition: all .28s ease;
}
body.ps-menu-open .ps-trigger-icon span:nth-child(1) { transform: rotate(45deg) translate(4.5px,4.5px); }
body.ps-menu-open .ps-trigger-icon span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.ps-menu-open .ps-trigger-icon span:nth-child(3) { transform: rotate(-45deg) translate(4.5px,-4.5px); }

/* Menú flotante */
#ps-floating-menu {
  position: fixed; top: 76px; right: 24px;
  width: 260px; border-radius: 8px; z-index: 8400;
  background: rgba(12,12,12,0.97);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--ps-border);
  box-shadow: 0 24px 56px rgba(0,0,0,0.65);
  transform: translateY(10px) scale(0.97);
  opacity: 0; visibility: hidden;
  transition: all 0.3s var(--ps-smooth);
  transform-origin: top right;
  overflow: hidden;
}
#ps-floating-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }

.ps-menu-slider { display: flex; width: 200%; transition: transform 0.4s var(--ps-smooth); }
.ps-menu-slider.show-sub { transform: translateX(-50%); }
.ps-menu-pane { width: 50%; box-sizing: border-box; }

.ps-menu-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ps-menu-panel-title {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.ps-menu-close-line {
  width: 18px; height: 1.5px; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: background .2s;
  position: relative;
}
body.ps-menu-open .ps-menu-close-line { background: rgba(255,255,255,0.8); }

.ps-menu-body { padding: 8px 0; }
.ps-fmenu-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px;
  color: #fff; text-decoration: none;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 20px; letter-spacing: .05em;
  cursor: pointer; transition: color .2s, background .2s;
}
.ps-fmenu-link:hover { color: var(--ps-orange); background: rgba(255,255,255,0.03); }
.ps-fmenu-arrow { font-size: 11px; opacity: 0.3; font-family: 'Space Mono', monospace; }

.ps-sub-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.ps-menu-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.35);
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  cursor: pointer; transition: color .2s;
}
.ps-menu-back:hover { color: #fff; }
.ps-sub-title {
  font-family: 'Space Mono', monospace;
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}
.ps-sub-body { padding: 8px 0; }
.ps-sub-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 20px;
  color: rgba(255,255,255,0.55); text-decoration: none;
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 17px; letter-spacing: .05em;
  transition: color .2s, background .2s;
}
.ps-sub-link:hover { color: var(--ps-orange); background: rgba(255,255,255,0.03); }
.ps-sub-link .ps-fmenu-arrow { font-size: 10px; }

/* Mobile: se oculta la cápsula, el trigger queda siempre visible */
@media (max-width: 768px) {
  #ps-main-header { display: none; }
  #ps-sticky-trigger { transform: scale(1) rotate(0deg) !important; opacity: 1 !important; }
  #nav { padding: 20px 20px 0; }
}

/* Espacio superior en el hero para que la cápsula no lo tape */
.hero { padding-top: 130px !important; }
@media (max-width: 768px) { .hero { padding-top: 100px !important; } }

/* ---------- Hero ---------- */

.hero { background: var(--ink); color: var(--paper); padding-top: 64px; padding-bottom: 56px; }
.hero .section-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 20px;
  max-width: 760px;
}
.hero h1 span { color: var(--accent); }

.hero p.lede { font-size: 16.5px; color: rgba(229, 239, 245, 0.68); max-width: 480px; margin: 0 0 34px; }

/* ---------- Formulario ---------- */

.scanbar { display: flex; gap: 10px; max-width: 560px; }

.scanbar input {
  flex: 1;
  background: var(--ink-2);
  border: 1px solid var(--line-dark);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 14.5px;
  padding: 15px 18px;
  border-radius: 2px;
}
.scanbar input::placeholder { color: rgba(229, 239, 245, 0.35); }
.scanbar input:focus { outline: none; border-color: var(--accent); }

.scanbar button {
  background: var(--accent);
  color: #1B0B04;
  border: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 16px 26px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.scanbar button:hover:not(:disabled) { background: #FF6444; }
.scanbar button:disabled { opacity: 0.5; cursor: default; }

.scan-foot { margin-top: 14px; font-size: 13px; color: rgba(229, 239, 245, 0.5); display: flex; align-items: center; gap: 8px; }
.scan-foot svg { flex-shrink: 0; }

.form-error { margin-top: 12px; max-width: 560px; font-size: 14px; color: var(--accent); font-family: var(--font-mono); display: none; }
.form-error.visible { display: block; }

/* ---------- Progreso ---------- */

.scan-progress { display: none; max-width: 560px; margin-top: 20px; font-family: var(--font-mono); font-size: 13px; color: rgba(229, 239, 245, 0.7); }
.scan-progress.visible { display: block; }

.scan-progress__bar { height: 3px; background: rgba(229, 239, 245, 0.15); border-radius: 2px; overflow: hidden; margin-bottom: 10px; }
.scan-progress__fill { height: 100%; width: 0%; background: var(--accent); transition: width 0.4s ease; }

/* ---------- Franja de cifras ---------- */

.statstrip { background: var(--ink); border-top: 1px solid var(--line-dark); }
.statstrip__inner { display: flex; padding-top: 0; padding-bottom: 0; }
.stat { flex: 1; padding: 28px 20px; border-right: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-weight: 700; font-size: 34px; color: var(--accent); }
.stat .label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(229, 239, 245, 0.5); margin-top: 4px; }

/* ---------- Contexto de la ley ---------- */

.context { background: var(--paper); color: var(--ink-text); padding-top: 60px; padding-bottom: 60px; border-top: 1px solid var(--line-light); }
.context .eyebrow { color: var(--accent-dark); }
.context h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 30px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.context-lede { font-size: 15.5px; color: var(--graphite); max-width: 680px; margin: 0 0 40px; }

.context-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 36px;
}
.context-item {
  background: #FFFFFF;
  border: 1px solid var(--line-light);
  border-radius: 3px;
  padding: 26px 22px;
  min-width: 0;
  opacity: 0;
  transform: scale(0.9) translateY(14px);
  transition: opacity 0.55s cubic-bezier(.34,1.56,.64,1), transform 0.55s cubic-bezier(.34,1.56,.64,1);
}
.context-item.in-view { opacity: 1; transform: scale(1) translateY(0); }
.context-item .idx { font-family: var(--font-mono); font-size: 12.5px; color: var(--accent-dark); margin-bottom: 12px; }
.context-item h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-transform: uppercase; margin: 0 0 10px; line-height: 1.25; overflow-wrap: break-word; }
.context-item p { font-size: 13.5px; color: var(--graphite); margin: 0; line-height: 1.5; overflow-wrap: break-word; }

.context-links { display: flex; gap: 28px; flex-wrap: wrap; }
.context-links a {
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent-dark);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dark);
  padding-bottom: 2px;
}
.context-links a:hover { opacity: 0.75; }

/* ---------- Resultados ---------- */

.results { display: none; }
.results.visible { display: block; }

.verdict { background: var(--paper); color: var(--ink-text); }
.verdict__inner { padding-top: 60px; padding-bottom: 60px; display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }

.score-block { display: flex; flex-direction: column; gap: 14px; }
.score-row { display: flex; align-items: baseline; gap: 10px; }
.score-num { font-family: var(--font-display); font-weight: 700; font-size: 120px; line-height: 1; color: var(--accent-dark); opacity: 0; transform: translateY(10px); }
.score-num.animate-in { animation: scoreIn 0.5s ease 0.1s forwards; }
.score-suffix { font-family: var(--font-mono); font-size: 18px; color: var(--graphite); opacity: 0; }
.score-suffix.animate-in { animation: fadeIn 0.5s ease 0.45s forwards; }

.score-bar { width: 220px; height: 3px; background: rgba(20, 24, 26, 0.1); border-radius: 2px; overflow: hidden; }
.score-bar-fill { height: 100%; width: 0%; background: var(--accent-dark); border-radius: 2px; transition: width 1.1s cubic-bezier(.22,.61,.36,1) 0.15s; }

@keyframes scoreIn { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }

.verdict-text { max-width: 400px; opacity: 0; transform: translateY(10px); }
.verdict-text.animate-in { animation: scoreIn 0.6s ease 0.5s forwards; }
.verdict-text .eyebrow { color: var(--accent-dark); margin-bottom: 8px; }
.verdict-text h2 { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; margin: 0 0 10px; }
.verdict-text p { color: var(--graphite); font-size: 14.5px; margin: 0; }

/* ---------- Hallazgos: animación disparada por scroll ---------- */

.findings { background: var(--paper); color: var(--ink-text); }
.findings .section-inner { padding-bottom: 56px; }
.findings h3 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite);
  margin: 0 0 4px;
  padding-top: 36px;
  border-top: 1px solid var(--line-light);
}

.finding {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(.22,.61,.36,1), transform 0.6s cubic-bezier(.22,.61,.36,1);
}
.finding.in-view { opacity: 1; transform: translateY(0); }

.finding .idx { font-family: var(--font-mono); font-size: 12px; color: var(--graphite); width: 24px; flex-shrink: 0; }
.finding .tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 9px;
  border-radius: 2px;
  flex-shrink: 0;
  width: 70px;
  text-align: center;
}
.tag.sev-critical { background: rgba(255, 75, 43, 0.14); color: var(--accent-dark); }
.tag.sev-high { background: rgba(255, 75, 43, 0.08); color: #A34324; }
.tag.sev-medium { background: rgba(94, 106, 115, 0.16); color: #4B555C; }
.tag.sev-low { background: rgba(94, 106, 115, 0.1); color: #5E6A73; }
.tag.sev-info { background: rgba(94, 106, 115, 0.08); color: #6C7780; }
.tag.sev-ok { background: rgba(47, 110, 75, 0.14); color: var(--ok); }

.finding-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; text-transform: uppercase; margin: 0 0 4px; }
.finding-body p { font-size: 14px; color: var(--graphite); margin: 0 0 4px; }
.finding-body p.reco { font-style: italic; color: rgba(94, 106, 115, 0.85); }

/* ---------- Nota de alcance ---------- */

/* ---------- CTA ---------- */

.cta { background: var(--accent); color: #1B0B04; }
.cta__inner { padding-top: 56px; padding-bottom: 56px; display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; }
.cta h3 { font-family: var(--font-display); font-weight: 700; font-size: 28px; text-transform: uppercase; margin: 0; max-width: 520px; line-height: 1.1; }

/* ---------- Footer ---------- */

footer.site-footer { background: var(--ink); color: rgba(229, 239, 245, 0.4); }
footer.site-footer .section-inner { padding-top: 26px; padding-bottom: 26px; text-align: center; font-family: var(--font-mono); font-size: 11.5px; }


/* ---------- Typewriter del hero ---------- */

.typewriter {
  font-family: var(--font-mono);
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  min-height: 24px;
  margin: 0 0 16px;
}
.typewriter .cursor {
  display: inline-block;
  width: 9px;
  height: 17px;
  background: var(--accent);
  margin-left: 4px;
  vertical-align: text-bottom;
  animation: blink 0.85s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- CTA con acciones ---------- */

.cta-sub { font-size: 14.5px; margin: 12px 0 0; max-width: 420px; color: rgba(27, 11, 4, 0.8); }
.cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.cta-btn {
  background: #1B0B04;
  color: var(--paper);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 16px 28px;
  min-height: 52px;
  display: flex;
  align-items: center;
  border-radius: 2px;
  white-space: nowrap;
}
.cta-alt { font-family: var(--font-mono); font-size: 12px; color: rgba(27, 11, 4, 0.7); }
.cta-alt a { color: #1B0B04; }

/* ---------- Entrada elegante con scroll (todos los bloques nuevos) ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(.16,1,.3,1), transform 0.7s cubic-bezier(.16,1,.3,1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Qué revisa el diagnóstico ---------- */

.controls-section { background: var(--ink-alt); color: var(--paper); padding: 70px 0; }
.controls-section .eyebrow { color: var(--accent); }
.controls-section h2 {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 42px);
  text-transform: uppercase; margin: 0 0 16px; line-height: 1.05;
}
.section-lede { font-size: 15.5px; color: rgba(229, 239, 245, 0.65); max-width: 640px; margin: 0 0 44px; }
.controls-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.control-card { background: var(--ink); padding: 28px 26px; }
.control-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--accent); display: block; margin-bottom: 10px; }
.control-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; margin: 0 0 8px; }
.control-card p { font-size: 13.5px; color: rgba(229, 239, 245, 0.6); margin: 0; line-height: 1.55; }

/* ---------- Cómo interpretar tu score ---------- */

.scores-section { background: var(--paper); color: var(--ink-text); padding: 70px 0; border-top: 1px solid var(--line-light); }
.scores-section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; margin: 0 0 16px; }
.scores-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.score-band { background: #fff; border: 1px solid var(--line-light); padding: 22px 20px; }
.score-band strong { font-family: var(--font-display); font-weight: 700; font-size: 32px; display: block; line-height: 1; }
.score-band .grade { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); display: block; margin: 6px 0 10px; }
.score-band p { font-size: 12.5px; color: var(--graphite); margin: 0; line-height: 1.5; }
.band-a strong { color: var(--ok); }
.band-b strong { color: #B8842E; }
.band-c strong { color: #C4691D; }
.band-d strong { color: var(--accent-dark); }

/* ---------- Qué cubre y qué no cubre (versión completa) ---------- */

.scope-section { background: var(--paper); color: var(--ink-text); padding: 70px 0; border-top: 1px solid var(--line-light); }
.scope-section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 38px); text-transform: uppercase; margin: 0 0 16px; }
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 8px; }
.scope-grid h4 { font-family: var(--font-display); font-weight: 700; font-size: 16px; text-transform: uppercase; margin: 0 0 14px; }
.scope-grid ul { list-style: none; padding: 0; margin: 0; }
.scope-grid li { font-size: 13.5px; padding: 9px 0 9px 24px; border-bottom: 1px solid var(--line-light); position: relative; color: var(--graphite); }
.scope-grid .si li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.scope-grid .no li::before { content: '—'; position: absolute; left: 0; color: var(--graphite); }

/* Nota corta dentro de resultados: apunta a la sección completa, sin duplicar contenido */
.scope-note-short { background: var(--paper); color: var(--ink-text); }
.scope-note-short .section-inner { padding: 18px 40px; font-size: 13px; color: var(--graphite); }
.scope-note-short a { color: var(--accent-dark); }

/* ---------- FAQs con acordeón elegante ---------- */

.faq-section { background: var(--paper); color: var(--ink-text); padding: 70px 0; border-top: 1px solid var(--line-light); }
.faq-section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 42px); text-transform: uppercase; margin: 0 0 30px; }
.faq-list { border-top: 1px solid var(--line-light); }
.faq-item { border-bottom: 1px solid var(--line-light); position: relative; }
.faq-item::before {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.5s cubic-bezier(.16,1,.3,1);
}
.faq-item.open::before { width: 64px; }

.faq-q {
  cursor: pointer; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink-text);
  -webkit-tap-highlight-color: transparent; user-select: none;
}
.faq-q:hover { color: var(--accent-dark); }
.faq-q > span:first-child { flex: 1; }

.faq-icon { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; top: 50%; left: 50%; background: var(--accent-dark); border-radius: 1px;
  transition: transform 0.45s cubic-bezier(.16,1,.3,1);
}
.faq-icon::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-icon::after { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq-item.open .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg) scaleY(0); }
.faq-item.open .faq-icon::before { transform: translate(-50%, -50%) rotate(180deg); }

.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s cubic-bezier(.16,1,.3,1); }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel-inner { overflow: hidden; }
.faq-body {
  padding: 0 0 22px; font-size: 14px; line-height: 1.65; color: var(--graphite); max-width: 720px;
  opacity: 0; transform: translateY(-6px); transition: opacity 0.35s ease 0.1s, transform 0.35s ease 0.1s;
}
.faq-item.open .faq-body { opacity: 1; transform: translateY(0); }

.faq-closing {
  margin: 32px 0 0; padding-top: 10px;
  font-size: 14.5px; color: var(--graphite);
}
.faq-closing a { color: var(--accent-dark); font-weight: 600; }

@media (max-width: 720px) {
  .controls-grid, .scope-grid { grid-template-columns: 1fr; }
  .scores-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls-section, .scores-section, .scope-section, .faq-section { padding: 50px 0; }
}

@media (max-width: 720px) {
  .section-inner { padding-left: 20px; padding-right: 20px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .cta-actions { align-items: flex-start; }
  .typewriter { min-height: 42px; }
  .scanbar { flex-direction: column; }
  .statstrip__inner { flex-wrap: wrap; }
  .stat { flex: 1 1 50%; }
  .stat:first-child { padding-left: 20px; }
  .verdict__inner { flex-direction: column; align-items: flex-start; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .context-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .score-num, .score-suffix, .verdict-text { animation: none !important; opacity: 1 !important; transform: none !important; }
  .finding { transition: none; opacity: 1; transform: none; }
  .score-bar-fill { transition: none; }
  .scan-progress__fill { transition: none; }
  .reveal { transition: none !important; opacity: 1 !important; transform: none !important; }
  .faq-panel, .faq-body, .faq-icon::before, .faq-icon::after, .faq-item::before { transition: none !important; }
}
