/* ============================================================
   VerSimulator — Component styles (static build)
   Extracted from the original component <style> blocks so the
   markup carries no inline <style> tags. Loaded after styles.css.
   ============================================================ */

/* ----------  NAV  ---------- */
.nav-links { display: flex; gap: 32px; }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
.nav-burger span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: transform .2s ease, opacity .2s ease; }
.nav-shell.menu-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-shell.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
.nav-shell.menu-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; padding: 16px var(--container-pad) 24px; gap: 16px; border-top: 1px solid var(--rule); }
.nav-mobile a { font-size: 17px; }
.nav-shell.menu-open .nav-mobile { display: flex; }
@media (max-width: 940px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
}
@media (min-width: 941px) {
  .nav-mobile { display: none !important; }
}

/* ----------  FOOTER  ---------- */
.footer-top { display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 64px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 840px) {
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
}

/* ----------  HERO  ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* ----------  SIX AREAS  ---------- */
.areas-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.area-card {
  background: var(--paper);
  padding: clamp(24px, 3vw, 40px);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  transition: background .25s ease;
}
.area-card:hover { background: var(--cream); }
.area-icon {
  color: var(--ink);
  margin-bottom: 28px;
  opacity: 0.88;
  transition: color .25s ease;
}
.area-card:hover .area-icon { color: var(--teal); opacity: 1; }
@media (max-width: 900px) { .areas-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .areas-grid { grid-template-columns: 1fr; } }

/* ----------  PROCESS  ---------- */
.process-grid {
  margin: 80px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}
.process-step {
  background: var(--ink);
  padding: clamp(28px, 3vw, 44px);
  min-height: 320px;
}
@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr; } }

/* ----------  SOFT SKILLS  ---------- */
.ss-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.ss-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.ss-item {
  display: flex; align-items: center; gap: 20px;
  padding: 24px 4px;
  border-bottom: 1px solid var(--rule);
}
.ss-num { width: 44px; flex-shrink: 0; }
.ss-check { flex-shrink: 0; opacity: 0.9; }
@media (max-width: 900px) { .ss-grid { grid-template-columns: 1fr; } }

/* ----------  SEGMENTS  ---------- */
.seg-grid { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 880px) { .seg-grid { grid-template-columns: 1fr; } }

/* ----------  DEMO FORM  ---------- */
.df-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
@media (max-width: 640px) { .df-grid { grid-template-columns: 1fr; } }

.demo-form input,
.demo-form select {
  width: 100%;
  padding: 13px 0;
  border: none;
  border-bottom: 1px solid var(--rule-strong);
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease;
}
.demo-form input:focus,
.demo-form select:focus { border-bottom-color: var(--ink); }
.demo-form input::placeholder { color: rgba(10,10,11,0.32); }
[data-theme="dark"] .demo-form input::placeholder { color: rgba(255,255,255,0.35); }

.field { display: flex; flex-direction: column; gap: 6px; }
.field-error { font-size: 12px; color: var(--amber); }
.field-hint { font-size: 12px; color: var(--muted); }
.field input.has-error { border-bottom-color: var(--amber); }

.seg-select { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 8px; }
.seg-opt {
  padding: 10px 14px;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  transition: all .15s ease;
  cursor: pointer;
}
.seg-opt.is-active { border-color: var(--ink); background: var(--ink); color: var(--cream); }

.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 900px) { .demo-grid { grid-template-columns: 1fr; } }

.demo-success { text-align: center; }

/* ----------  DEMO MODAL  ---------- */
.demo-modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: flex-start; justify-content: center;
  padding: clamp(16px, 4vh, 56px) 20px;
  overflow-y: auto;
}
.demo-modal[hidden] { display: none; }
.demo-modal-scrim {
  position: fixed; inset: 0;
  background: rgba(10,10,11,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .25s ease;
}
.demo-modal-card {
  position: relative;
  background: var(--cream);
  color: var(--ink);
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 48px);
  z-index: 1;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.4);
  animation: rise .3s cubic-bezier(.2,.8,.2,1);
}
.demo-modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  border: none; cursor: pointer;
  transition: background .15s ease;
}
.demo-modal-close:hover { background: rgba(10,10,11,0.06); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ============================================================
   HERO ANIMATION
   ============================================================ */
.hero-anim {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: clamp(18px, 2vw, 28px);
  box-shadow: 0 30px 60px -30px rgba(10,10,11,0.18);
  overflow: hidden;
}
.ha-svg { width: 100%; height: auto; display: block; }
.ha-stack { display: none; }
@media (max-width: 980px) { .hero-anim { display: none; } }

.ha-line {
  stroke: var(--ink);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0.28;
  animation: ha-draw 0.85s forwards cubic-bezier(0.65, 0, 0.25, 1);
  transition: opacity 0.3s ease, stroke 0.3s ease, stroke-width 0.3s ease;
}
.ha-line.is-active { opacity: 1; stroke: var(--teal); stroke-width: 1.8; }
.ha-line.is-dim { opacity: 0.1; }

.ha-endpoint {
  fill: var(--ink);
  opacity: 0;
  animation: ha-ep-in 0.6s forwards cubic-bezier(0.22, 1, 0.36, 1);
  transition: r 0.25s cubic-bezier(0.22, 1, 0.36, 1), fill 0.25s ease, opacity 0.25s ease;
}
.ha-ep-0 { animation-delay: 1.65s; }
.ha-ep-1 { animation-delay: 1.78s; }
.ha-ep-2 { animation-delay: 1.91s; }
.ha-ep-3 { animation-delay: 2.04s; }
.ha-ep-4 { animation-delay: 2.17s; }
.ha-ep-5 { animation-delay: 2.30s; }
@keyframes ha-ep-in { from { opacity: 0; } to { opacity: 0.55; } }
.ha-endpoint.is-active { fill: var(--teal); opacity: 1; }
.ha-endpoint.is-dim { opacity: 0.15; }
.ha-l-0 { animation-delay: 0.95s; }
.ha-l-1 { animation-delay: 1.10s; }
.ha-l-2 { animation-delay: 1.25s; }
.ha-l-3 { animation-delay: 1.40s; }
.ha-l-4 { animation-delay: 1.55s; }
.ha-l-5 { animation-delay: 1.70s; }
@keyframes ha-draw { to { stroke-dashoffset: 0; } }

.ha-logo { opacity: 0; animation: ha-logo-in 1s 0.05s forwards cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes ha-logo-in { 0% { opacity: 0; } 60% { opacity: 1; } 100% { opacity: 1; } }

.ha-node-teal {
  transform-origin: 51px 84px;
  transform-box: fill-box;
  animation: ha-pulse 2.8s 3.6s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
@keyframes ha-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.22); } }

.ha-label { opacity: 0; animation: ha-label-in 0.7s forwards cubic-bezier(0.22, 1, 0.36, 1); transition: opacity 0.25s ease; }
.ha-lab-0 { animation-delay: 1.65s; }
.ha-lab-1 { animation-delay: 1.78s; }
.ha-lab-2 { animation-delay: 1.91s; }
.ha-lab-3 { animation-delay: 2.04s; }
.ha-lab-4 { animation-delay: 2.17s; }
.ha-lab-5 { animation-delay: 2.30s; }
@keyframes ha-label-in { from { opacity: 0; } to { opacity: 1; } }

.ha-name {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.01em;
  fill: var(--ink);
  transition: fill 0.25s ease;
}
.ha-label.is-active .ha-name { fill: var(--ink); }
.ha-icon-wrap { color: var(--ink); transition: color 0.25s ease; }
.ha-label.is-active .ha-icon-wrap { color: var(--teal); }
.ha-label.is-dim { opacity: 0.45; }

.ha-node {
  transform-origin: center;
  transform-box: fill-box;
  transition: r 0.25s cubic-bezier(0.22, 1, 0.36, 1), fill 0.25s ease, opacity 0.25s ease;
}
.ha-node.is-active:not(.ha-node-teal) { fill: var(--teal); }
.ha-node.is-active { r: 8; }
.ha-node.is-dim { opacity: 0.4; }

.ha-stack-logo { opacity: 0; animation: ha-stack-fade 0.8s 0.1s forwards ease-out; }
.ha-stack-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  border-radius: 12px; overflow: hidden; width: 100%;
}
.ha-stack-item {
  background: var(--paper);
  padding: 16px;
  display: flex; align-items: center; gap: 14px;
  opacity: 0;
  animation: ha-stack-fade 0.6s forwards cubic-bezier(0.22, 1, 0.36, 1);
  transition: background 0.2s ease, color 0.2s ease;
}
.ha-stack-item:hover { background: var(--cream); }
.ha-stack-item:hover .ha-stack-icon { color: var(--teal); }
.ha-si-0 { animation-delay: 0.9s; }
.ha-si-1 { animation-delay: 1.05s; }
.ha-si-2 { animation-delay: 1.2s; }
.ha-si-3 { animation-delay: 1.35s; }
.ha-si-4 { animation-delay: 1.5s; }
.ha-si-5 { animation-delay: 1.65s; }
@keyframes ha-stack-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.ha-stack-icon {
  color: var(--ink);
  display: inline-flex; width: 28px; height: 28px;
  align-items: center; justify-content: center; flex-shrink: 0;
  transition: color 0.2s ease;
}
.ha-stack-icon svg { width: 24px; height: 24px; }
.ha-stack-text { display: flex; flex-direction: column; line-height: 1.1; }
.ha-stack-name { font-family: var(--display); font-size: 19px; color: var(--ink); letter-spacing: -0.01em; }

@media (prefers-reduced-motion: reduce) {
  .ha-line, .ha-logo, .ha-label, .ha-endpoint, .ha-node-teal, .ha-stack-logo, .ha-stack-item {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
    transform: none !important;
  }
  .ha-endpoint { opacity: 0.55 !important; }
}

/* ============================================================
   "ACCEDER" / LOGIN PAGE
   ============================================================ */
.login-page { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }

/* Left brand panel */
.login-aside {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(32px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.login-aside-brand { display: inline-flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.login-aside-body { margin-top: auto; margin-bottom: auto; position: relative; z-index: 2; padding: 48px 0; }
.login-aside-body h1 {
  font-family: var(--display);
  font-size: clamp(34px, 3.6vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 14ch;
  color: var(--cream);
}
.login-aside-body p { margin: 24px 0 0; color: rgba(255,255,255,0.72); font-size: 17px; line-height: 1.55; max-width: 40ch; }
.login-aside-meta { position: relative; z-index: 2; display: flex; gap: 28px; flex-wrap: wrap; }
.login-aside-meta .v { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--cream); }
.login-aside-meta .k { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 6px; }
/* decorative V mark, faint */
.login-aside-mark { position: absolute; right: -120px; top: 50%; transform: translateY(-50%); width: 520px; height: 520px; opacity: 0.06; z-index: 1; pointer-events: none; }

/* Right form panel */
.login-main {
  background: var(--paper);
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 48px);
}
.login-topbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.login-topbar a { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.login-form-wrap { margin: auto; width: 100%; max-width: 400px; padding: 40px 0; }
.login-form-wrap > .eyebrow { margin: 0 0 14px; }
.login-form-wrap > h2 { font-family: var(--display); font-size: clamp(32px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 36px; }

/* role segmented */
.login-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: var(--cream-deep); border-radius: 12px; margin-bottom: 30px; }
.login-role {
  padding: 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.login-role.is-active { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(10,10,11,0.12); }

.login-field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.login-field label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; opacity: 0.7; display: flex; justify-content: space-between; align-items: baseline; }
.login-field label a { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 12.5px; color: var(--teal); opacity: 1; }
.login-input-wrap { position: relative; display: flex; align-items: center; }
.login-field input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 10px;
  background: var(--paper);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-field input::placeholder { color: rgba(10,10,11,0.3); }
[data-theme="dark"] .login-field input::placeholder { color: rgba(255,255,255,0.32); }
.login-field input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10,10,11,0.06); }
.login-field input.has-error { border-color: var(--amber); }
.login-pw-toggle {
  position: absolute; right: 6px;
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--muted); display: inline-flex;
  border-radius: 6px;
}
.login-pw-toggle:hover { color: var(--ink); }
.login-error { font-size: 12.5px; color: var(--amber); min-height: 16px; margin-top: 1px; }
.login-submit { width: 100%; justify-content: center; padding: 15px; font-size: 15px; margin-top: 6px; }
.login-note {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px dashed var(--rule-strong);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  background: var(--cream);
}
.login-foot { margin-top: 28px; text-align: center; font-size: 14px; color: var(--muted); }
.login-foot a { color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--ink); padding-bottom: 1px; }

@media (max-width: 860px) {
  .login-page { grid-template-columns: 1fr; }
  .login-aside { display: none; }
  .login-main { min-height: 100vh; }
}

/* ============================================================
   "SOLUCIÓN" PAGE
   ============================================================ */

/* --- Quarterly loop --- */
.sol-loop {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}
.sol-loop-step {
  background: var(--ink);
  padding: clamp(24px, 2.6vw, 36px);
  min-height: 260px;
  display: flex;
  flex-direction: column;
}
.sol-loop-step .label-mono { color: var(--teal); font-size: 13px; }
.sol-loop-step h3 {
  font-family: var(--display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.08;
  margin: 14px 0 12px;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.sol-loop-step p { margin: 0; color: rgba(255,255,255,0.72); font-size: 14.5px; line-height: 1.5; }
.sol-loop-step .sol-loop-arrow { margin-top: auto; padding-top: 20px; color: var(--teal); font-size: 20px; }
@media (max-width: 960px) { .sol-loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .sol-loop { grid-template-columns: 1fr; } }

/* 3-up variant (soft-skills sources) */
.sol-loop--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 820px) { .sol-loop--3 { grid-template-columns: 1fr; } }

/* --- Areas in depth: each area card grows a decision list --- */
.sol-areas {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.sol-area {
  background: var(--paper);
  padding: clamp(28px, 3vw, 44px);
  display: flex;
  flex-direction: column;
  transition: background .25s ease;
}
.sol-area:hover { background: var(--cream); }
.sol-area-head { display: flex; align-items: center; gap: 18px; }
.sol-area-icon { color: var(--ink); opacity: 0.9; flex-shrink: 0; transition: color .25s ease; }
.sol-area:hover .sol-area-icon { color: var(--teal); }
.sol-area h3 { font-family: var(--display); font-size: clamp(26px, 2.6vw, 36px); line-height: 1; margin: 0; letter-spacing: -0.01em; }
.sol-area-tag { margin-left: auto; }
.sol-area > p { margin: 18px 0 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.55; }
.sol-area-decisions {
  list-style: none;
  margin: 22px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sol-area-decisions li {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  padding: 6px 12px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
}
@media (max-width: 760px) { .sol-areas { grid-template-columns: 1fr; } }

/* --- Reports feature split --- */
.sol-reports-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.sol-report-list { list-style: none; margin: 32px 0 0; padding: 0; }
.sol-report-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 0;
  border-top: 1px solid var(--rule);
}
.sol-report-list li:last-child { border-bottom: 1px solid var(--rule); }
.sol-report-list .sr-k { font-family: var(--mono); font-size: 12px; color: var(--teal); width: 34px; flex-shrink: 0; padding-top: 3px; }
.sol-report-list h4 { font-family: var(--display); font-size: 22px; margin: 0 0 5px; line-height: 1.1; }
.sol-report-list p { margin: 0; color: var(--ink-soft); font-size: 14.5px; line-height: 1.5; }
/* dashboard mock */
.sol-dash {
  background: var(--ink);
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  color: var(--cream);
}
.sol-dash-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.sol-dash-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); }
.sol-dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; overflow: hidden; }
.sol-dash-kpi { background: var(--ink); padding: 18px; }
.sol-dash-kpi .v { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--cream); letter-spacing: -0.02em; }
.sol-dash-kpi .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 8px; }
.sol-dash-kpi .d { font-size: 12px; margin-top: 6px; }
.sol-dash-bars { margin-top: 18px; display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 14px; background: rgba(255,255,255,0.04); border-radius: 10px; }
.sol-dash-bars span { flex: 1; background: linear-gradient(var(--teal), rgba(14,165,168,0.4)); border-radius: 3px 3px 0 0; }
@media (max-width: 860px) { .sol-reports-grid { grid-template-columns: 1fr; } }

/* ============================================================
   "¿POR QUÉ NOSOTROS?" PAGE
   ============================================================ */

/* --- Differentiators: detailed stacked rows --- */
.why-diff {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
}
.why-row {
  display: grid;
  grid-template-columns: 88px 1fr 1.15fr;
  gap: clamp(20px, 4vw, 64px);
  padding: 44px 0;
  border-top: 1px solid var(--rule-strong);
  align-items: start;
}
.why-row:last-child { border-bottom: 1px solid var(--rule-strong); }
.why-num {
  font-family: var(--display);
  font-size: 40px;
  line-height: 1;
  color: var(--teal);
  letter-spacing: -0.02em;
}
.why-row h3 {
  font-family: var(--display);
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.01em;
}
.why-row .why-lede {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.55;
  max-width: 42ch;
}
.why-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.why-points li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5 L9.5 15 L16 8' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 16px no-repeat,
    var(--teal);
}
@media (max-width: 860px) {
  .why-row { grid-template-columns: 56px 1fr; gap: 20px 24px; }
  .why-row .why-detail { grid-column: 1 / -1; }
  .why-num { font-size: 30px; }
}

/* --- Comparison table --- */
.cmp {
  margin-top: 56px;
  border: 1px solid var(--rule-strong);
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
}
.cmp-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.cmp-row:first-child { border-top: none; }
.cmp-cell { padding: 20px clamp(16px, 2vw, 28px); font-size: 15px; line-height: 1.45; }
.cmp-head {
  background: transparent;
}
.cmp-head .cmp-cell { padding-top: 26px; padding-bottom: 26px; }
.cmp-th {
  font-family: var(--display);
  font-size: 21px;
  letter-spacing: -0.01em;
}
.cmp-th-sub { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.cmp-feature { font-weight: 600; color: var(--ink); display: flex; align-items: center; }
.cmp-vs { background: var(--ink); color: var(--cream); }
.cmp-head .cmp-vs { color: var(--cream); }
.cmp-head .cmp-vs .cmp-th-sub { color: var(--teal); }
.cmp-val { display: flex; gap: 11px; align-items: flex-start; }
.cmp-val::before {
  content: "";
  flex-shrink: 0;
  width: 17px; height: 17px;
  margin-top: 1px;
  border-radius: 50%;
}
.cmp-vs .cmp-val::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6 11.5 L9.5 15 L16 8' fill='none' stroke='%23ffffff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 15px no-repeat,
    var(--teal);
}
.cmp-gen { color: var(--muted); }
.cmp-gen .cmp-val::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M7 7 L15 15 M15 7 L7 15' fill='none' stroke='%23999' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E")
    center / 14px no-repeat,
    rgba(10,10,11,0.06);
}
.cmp-tag { display: none; }
@media (max-width: 760px) {
  .cmp-row { grid-template-columns: 1fr; }
  .cmp-cell { border-top: 1px solid var(--rule); }
  .cmp-row:first-child .cmp-cell:first-child { border-top: none; }
  .cmp-head { display: none; }
  .cmp-feature { background: var(--cream-deep); font-size: 13px; font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; padding-top: 14px; padding-bottom: 14px; }
  .cmp-tag { display: inline; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.6; margin-right: 8px; }
}

/* ----------  TWEAKS PANEL (gated, owner-only via ?tweaks)  ---------- */
.vs-tweaks {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  width: 300px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(10,10,11,0.4);
  padding: 18px;
  font-family: var(--sans);
}
.vs-tweaks h2 { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; margin: 0 0 14px; color: var(--muted); }
.vs-tw-section { margin-bottom: 18px; }
.vs-tw-section > label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.vs-tw-row { display: flex; gap: 8px; flex-wrap: wrap; }
.vs-tw-swatch { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.vs-tw-swatch.is-active { border-color: var(--ink); }
.vs-tweaks select { width: 100%; padding: 8px 10px; border: 1px solid var(--rule-strong); border-radius: 8px; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 13px; }
.vs-tw-seg { display: flex; gap: 6px; }
.vs-tw-seg button { flex: 1; padding: 8px; border: 1px solid var(--rule-strong); border-radius: 8px; background: transparent; color: var(--ink); font-size: 12px; cursor: pointer; }
.vs-tw-seg button.is-active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.vs-tw-toggle { display: flex; align-items: center; justify-content: space-between; }
.vs-tw-toggle input { width: 18px; height: 18px; }
