:root {
  --ink: #0a0a0c;
  --brand: #750946;
  --brand-hover: #5e0738;
  --brand-light: #e0529d;
  --muted: #52555a;
  --muted-on-dark: #b6bac2;
  --line: rgba(82, 85, 90, 0.2);
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface: #f7f6f8;
  --white: #ffffff;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

button,
input,
select {
  font-family: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}

.dashboard-wrap :focus-visible,
.talent-panel :focus-visible,
.rubric-score-card :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--brand-light);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--brand);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

.app-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

.app-shell > main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.app-shell > main > .hero-wrap,
.app-shell > main > .sectors-wrap,
.app-shell > main > .dashboard-wrap,
.app-shell > main > .method-wrap {
  flex: 1;
}

/* NAVBAR */
.navbar-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(82, 85, 90, 0.1);
}

.navbar {
  height: 76px;
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.brand-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.08));
  transition: transform 0.2s var(--ease-out);
}

.brand-logo-team {
  width: 34px;
  height: 31px;
}

.brand:hover .brand-logo {
  transform: scale(1.06);
}

.brand-label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.brand-title b {
  color: var(--brand);
}

.brand-subtitle {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--ink);
  border-radius: 10px;
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  padding: 6px 0;
  transition: color 0.18s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--brand);
}

.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}

/* BUTTONS */
.button {
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.18s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button:active {
  transform: scale(0.98);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

.button-dark:hover {
  background: #1f1f24;
}

.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(117, 9, 70, 0.25);
}

.button-primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 12px 28px rgba(117, 9, 70, 0.32);
}

.button-secondary {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.button-secondary:hover {
  border-color: rgba(117, 9, 70, 0.38);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  place-items: center;
}

.menu-button:hover {
  background: var(--surface);
}

/* HERO */
.hero-wrap {
  position: relative;
  background: linear-gradient(135deg, #ffffff 42%, rgba(117, 9, 70, 0.06) 100%);
}

.hero {
  min-height: 680px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1240px;
  margin: auto;
  padding: 72px 24px 92px;
}

.hero-glow {
  position: absolute;
  right: 3%;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: rgba(117, 9, 70, 0.08);
  filter: blur(72px);
  pointer-events: none;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(117, 9, 70, 0.14);
}

.hero h1 {
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin: 24px 0 22px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--brand);
}

.hero-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 40px;
}

.hero-proof-logos {
  display: flex;
  align-items: center;
  gap: 8px;
}

.proof-logo-chip {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s var(--ease-out);
}

.proof-logo-chip:hover {
  transform: translateY(-2px);
}

.proof-logo-chip img {
  max-width: 28px;
  max-height: 28px;
  object-fit: contain;
  display: block;
}

.avatar-stack {
  display: flex;
  padding-left: 8px;
}

.avatar-stack span {
  margin-left: -8px;
  width: 36px;
  height: 36px;
  border: 2px solid var(--white);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(117, 9, 70, 0.1);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) {
  background: rgba(117, 9, 70, 0.16);
}

.avatar-stack span:nth-child(3) {
  background: var(--ink);
  color: var(--white);
}

.hero-proof strong,
.hero-proof small {
  display: block;
}

.hero-proof strong {
  font-size: 14px;
}

.hero-proof small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* HERO VISUAL */
.connection-visual {
  height: 480px;
  position: relative;
  border-radius: 28px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.8);
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.04),
    0 28px 64px rgba(117, 9, 70, 0.12);
}

.visual-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(117, 9, 70, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 9, 70, 0.1) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.45;
  mask-image: radial-gradient(circle, #000, transparent 74%);
}

.orbit {
  position: absolute;
  border: 1px dashed rgba(117, 9, 70, 0.28);
  border-radius: 50%;
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
}

.orbit-one {
  width: 270px;
  height: 270px;
}

.orbit-two {
  width: 400px;
  height: 400px;
}

.node {
  position: absolute;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(82, 85, 90, 0.16);
}

.center-node {
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: 158px;
  height: 158px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 12px;
}

.center-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--brand);
  color: var(--white);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.center-emblem-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(117, 9, 70, 0.22);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
  box-shadow: 0 6px 18px rgba(117, 9, 70, 0.16);
  transition: transform 0.25s var(--ease-out);
}

.center-node:hover .center-emblem-wrap {
  transform: scale(1.08);
}

.center-emblem {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.center-node strong {
  font-size: 14px;
}

.center-node small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.satellite {
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.satellite > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(117, 9, 70, 0.08);
  color: var(--brand);
}

.satellite strong,
.satellite small {
  display: block;
}

.satellite strong {
  font-size: 13px;
}

.satellite small {
  font-size: 11px;
  color: var(--muted);
}

.satellite-one {
  left: 6%;
  top: 17%;
}

.satellite-two {
  right: 4%;
  top: 26%;
}

.satellite-three {
  left: 8%;
  bottom: 16%;
}

.signal-card {
  position: absolute;
  right: 5%;
  bottom: 6%;
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  padding: 14px 16px;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  z-index: 4;
}

.signal-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 10px;
}

.signal-card small,
.signal-card strong {
  display: block;
}

.signal-card small {
  color: var(--muted-on-dark);
  font-size: 11px;
}

.signal-card strong {
  font-size: 18px;
  margin-top: 2px;
}

.trend {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--brand);
  padding: 5px 8px;
  border-radius: 6px;
}

/* SHARED SECTIONS */
.section {
  max-width: 1240px;
  margin: auto;
  padding: 104px 24px;
}

.section-heading {
  max-width: 660px;
}

.section-heading.center {
  text-align: center;
  margin: auto;
}

.eyebrow {
  color: var(--brand);
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.eyebrow-light {
  color: var(--brand-light);
}

.section-heading h1,
.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

/* COMPETENCIES */
.competencies {
  text-align: center;
}

.tabs {
  margin: 40px auto 32px;
  background: var(--surface);
  border: 1px solid rgba(82, 85, 90, 0.12);
  border-radius: 12px;
  padding: 5px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.tabs button {
  border: 0;
  padding: 11px 20px;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  transition:
    background-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.tabs button:hover {
  color: var(--ink);
}

.tabs button.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

.competency-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--white);
  transition:
    transform 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out);
}

.competency-card:hover {
  transform: translateY(-4px);
  border-color: rgba(117, 9, 70, 0.35);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: rgba(117, 9, 70, 0.08);
  color: var(--brand);
  border-radius: 12px;
}

.card-index {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.competency-card h3 {
  margin: 22px 0 10px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.competency-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.65;
  font-size: 14px;
  min-height: 68px;
}

.level-row {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.level-row strong {
  color: var(--ink);
}

.progress {
  height: 6px;
  background: rgba(82, 85, 90, 0.14);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 8px;
}

.progress span {
  height: 100%;
  display: block;
  background: linear-gradient(90deg, var(--brand), #a31363);
  border-radius: inherit;
}

.context-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.context-note svg {
  color: var(--brand);
  flex-shrink: 0;
}

/* SECTORS */
.sectors-wrap {
  background: var(--surface);
  border-top: 1px solid rgba(82, 85, 90, 0.1);
}

.split-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 42px;
}

.text-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 6px;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration: underline;
}

.sector-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.sector-card {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition:
    transform 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    box-shadow 0.22s var(--ease-out);
}

.sector-card:hover {
  border-color: rgba(117, 9, 70, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.07);
}

.sector-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.sector-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand);
  background: rgba(117, 9, 70, 0.08);
}

.sector-number {
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
}

.sector-tag {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(82, 85, 90, 0.09);
  color: var(--ink);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sector-card h3 {
  font-size: 18px;
  margin: 14px 0 8px;
}

.sector-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
  min-height: 44px;
}

.sector-footer {
  border-top: 1px solid rgba(82, 85, 90, 0.14);
  margin-top: 20px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
}

.sector-footer span {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sector-footer i {
  width: 7px;
  height: 7px;
  background: var(--brand);
  border-radius: 50%;
}

/* DASHBOARD / RESULTADOS */
.dashboard-wrap {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.dashboard-wrap::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(117, 9, 70, 0.24);
  filter: blur(90px);
  right: -140px;
  top: -140px;
  pointer-events: none;
}

.dashboard {
  position: relative;
  z-index: 1;
}

.dashboard .section-heading p {
  color: var(--muted-on-dark);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 40px 0 20px;
}

.metrics article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: 14px;
}

.metric-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.metric-icon.primary {
  background: rgba(224, 82, 157, 0.18);
  color: var(--brand-light);
}

.metric-icon.secondary {
  background: rgba(117, 9, 70, 0.4);
  color: var(--white);
}

.metric-icon.neutral {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.metrics strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.metrics p {
  color: var(--muted-on-dark);
  font-size: 13px;
  margin: 4px 0 0;
}

.metrics small {
  margin-left: auto;
  align-self: flex-start;
  color: #e2e5eb;
  font-size: 11px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  padding: 5px 9px;
  border-radius: 6px;
  white-space: nowrap;
}

.analysis-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 20px;
}

.chart-card,
.insight-card {
  border: 1px solid var(--line-dark);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
  padding: 28px;
}

.chart-head span {
  color: var(--muted-on-dark);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.chart-head h3 {
  margin: 6px 0 0;
  font-size: 20px;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 20px 0 24px;
  color: #e2e5eb;
  font-size: 13px;
  font-weight: 600;
}

.legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 3px;
}

.specialist-dot {
  background: var(--brand-light);
}

.student-dot {
  background: #d4d7de;
}

.bar-row {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 8px 16px;
  margin-bottom: 18px;
}

.bar-row:last-child {
  margin-bottom: 0;
}

.bar-label {
  grid-row: span 2;
  align-self: center;
}

.bar-label span,
.bar-label small {
  display: block;
}

.bar-label span {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
}

.bar-label small {
  color: var(--muted-on-dark);
  margin-top: 3px;
  font-size: 12px;
}

.bar-track {
  height: 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding-right: 42px;
}

.bar {
  height: 100%;
  display: block;
  border-radius: 4px;
  position: relative;
}

.bar b {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
}

.specialists-bar {
  background: linear-gradient(90deg, var(--brand), var(--brand-light));
}

.students-bar {
  background: #d4d7de;
}

.insight-card {
  background: linear-gradient(145deg, rgba(117, 9, 70, 0.28), rgba(255, 255, 255, 0.04));
  display: flex;
  flex-direction: column;
}

.insight-label {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--white);
  background: rgba(117, 9, 70, 0.55);
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.insight-card h3 {
  font-size: 26px;
  line-height: 1.24;
  letter-spacing: -0.025em;
  margin: 20px 0 14px;
}

.insight-card > p {
  font-size: 14px;
  line-height: 1.7;
  color: #d7dbe2;
  margin: 0;
}

.insight-card > p strong {
  color: var(--white);
}

.quote {
  border-left: 3px solid var(--brand-light);
  margin: 22px 0 0;
  padding: 6px 0 6px 16px;
  color: #e6e8ee;
  font-size: 14px;
  line-height: 1.6;
  font-style: italic;
}

.quote footer {
  color: var(--muted-on-dark);
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 12px;
}

.insight-card > a {
  margin-top: auto;
  padding-top: 24px;
  color: var(--brand-light);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.insight-card > a:hover {
  color: var(--white);
}

/* STRATEGY & CONTACT */
.strategy {
  padding-bottom: 112px;
}

.strategy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.kit-panel,
.talent-panel {
  border-radius: 20px;
  padding: 36px;
}

.kit-panel {
  background: rgba(117, 9, 70, 0.05);
  border: 1px solid rgba(117, 9, 70, 0.14);
}

.talent-panel {
  background: var(--ink);
  color: var(--white);
}

.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 800;
}

.panel-badge.dark {
  color: var(--brand-light);
}

.kit-panel h3,
.talent-panel h3 {
  margin: 16px 0 10px;
  font-size: 26px;
  letter-spacing: -0.025em;
}

.kit-panel > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  max-width: 480px;
}

.talent-panel > p {
  margin: 0;
  color: var(--muted-on-dark);
  line-height: 1.65;
  font-size: 15px;
  max-width: 480px;
}

.resource-list {
  display: grid;
  gap: 10px;
  margin: 26px 0 22px;
}

.resource-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  color: var(--ink);
  transition:
    border-color 0.2s var(--ease-out),
    transform 0.18s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.resource-btn:hover {
  border-color: rgba(117, 9, 70, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.resource-btn:active {
  transform: scale(0.99);
}

.resource-btn > span:nth-child(2) {
  flex: 1;
}

.file-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(117, 9, 70, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}

.resource-btn strong,
.resource-btn small {
  display: block;
}

.resource-btn strong {
  font-size: 14px;
}

.resource-btn small {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.resource-btn svg {
  color: var(--brand);
  flex-shrink: 0;
}

.kit-button {
  width: 100%;
}

.kit-feedback {
  margin: 12px 0 0;
  min-height: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.talent-panel form {
  margin-top: 24px;
}

.field {
  margin-bottom: 14px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.talent-panel label {
  display: block;
  color: #e2e5eb;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.talent-panel input,
.talent-panel select,
.talent-panel textarea {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 0 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s var(--ease-out);
}

.talent-panel textarea {
  height: auto;
  min-height: 74px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.5;
}

.talent-panel textarea::placeholder {
  color: #9ba0aa;
}

.talent-panel textarea:focus {
  border-color: var(--brand-light);
}

.talent-direct-mail {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted-on-dark);
}

.talent-direct-mail a {
  color: var(--brand-light);
  font-weight: 700;
  text-decoration: none;
}

.talent-direct-mail a:hover {
  color: var(--white);
  text-decoration: underline;
}

.error-mailto-link {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.talent-panel select option {
  background: var(--ink);
  color: var(--white);
}

.talent-panel input:focus,
.talent-panel select:focus {
  border-color: var(--brand-light);
}

.talent-panel input::placeholder {
  color: #9ba0aa;
}

.form-error {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(224, 82, 157, 0.16);
  border: 1px solid rgba(224, 82, 157, 0.45);
  color: #ffd5eb;
  font-size: 13px;
}

.submit-button {
  width: 100%;
  background: var(--brand);
  color: var(--white);
  margin-top: 4px;
}

.submit-button:hover {
  background: #8c0c54;
}

.privacy {
  display: block;
  text-align: center;
  color: var(--muted-on-dark);
  font-size: 12px;
  margin-top: 12px;
}

.success-message {
  text-align: center;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-message[hidden] {
  display: none;
}

.success-message > span {
  width: 56px;
  height: 56px;
  background: rgba(224, 82, 157, 0.2);
  color: var(--white);
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.success-message h4 {
  font-size: 22px;
  margin: 16px 0 8px;
}

.success-message p {
  color: var(--muted-on-dark);
  font-size: 14px;
  line-height: 1.65;
  max-width: 340px;
  margin: 0;
}

.success-message button {
  border: 0;
  background: transparent;
  color: var(--brand-light);
  font-size: 14px;
  font-weight: 700;
  margin-top: 16px;
  padding: 6px 10px;
}

.success-message button:hover {
  text-decoration: underline;
}

/* METHODOLOGY */
.method-wrap {
  background: var(--surface);
  border-top: 1px solid rgba(82, 85, 90, 0.12);
}

.method-intro {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.method-meta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.method-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.method-badge-img {
  object-fit: contain;
  display: block;
}

.method-stamp {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  flex-shrink: 0;
}

.method-stamp span {
  font-size: 26px;
  font-weight: 800;
  color: var(--brand);
}

.method-stamp p {
  border-left: 1px solid var(--line);
  padding-left: 16px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.accordion {
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.accordion-item {
  border-bottom: 1px solid var(--line);
}

.accordion-item h3 {
  margin: 0;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
}

.accordion-trigger span {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 700;
}

.accordion-trigger b {
  color: var(--brand);
  font-size: 13px;
}

.accordion-trigger svg {
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.accordion-item.open .accordion-trigger svg {
  transform: rotate(180deg);
}

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease-out);
}

.accordion-content p {
  overflow: hidden;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  max-width: 850px;
}

.accordion-item.open .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-item.open .accordion-content p {
  padding: 0 44px 24px;
}

/* FOOTER */
.site-footer {
  background: var(--ink);
  color: var(--white);
}

.footer-inner {
  max-width: 1240px;
  margin: auto;
  padding: 64px 24px 28px;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding-bottom: 44px;
}

.brand.light {
  color: var(--white);
}

.brand.light .brand-title {
  color: var(--white);
}

.brand.light .brand-title b {
  color: var(--brand-light);
}

.brand.light .brand-subtitle {
  color: var(--muted-on-dark);
}

.brand.light .brand-mark {
  background: var(--brand);
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-card {
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s var(--ease-out);
}

.footer-logo-card:hover {
  transform: translateY(-2px);
}

.footer-logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-attribution {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12px;
  color: var(--muted-on-dark);
}

.footer-attribution strong {
  color: var(--white);
  font-weight: 600;
}

.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer-tag {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  color: #d0d0d5;
}

.footer-brand p,
.footer-note p {
  color: var(--muted-on-dark);
  font-size: 14px;
  line-height: 1.7;
  margin: 14px 0 0;
  max-width: 300px;
}

.footer-main h4 {
  font-size: 14px;
  margin: 6px 0 16px;
  color: var(--white);
}

.footer-main > div > a:not(.brand) {
  display: block;
  text-decoration: none;
  color: var(--muted-on-dark);
  font-size: 14px;
  margin: 11px 0;
  transition: color 0.18s var(--ease-out);
}

.footer-main > div > a:not(.brand):hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: var(--muted-on-dark);
  font-size: 13px;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .nav-links {
    gap: 18px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .hero-content {
    text-align: center;
    margin: auto;
  }

  .hero-copy {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .connection-visual {
    max-width: 640px;
    width: 100%;
    margin: auto;
  }

  .sector-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .analysis-grid {
    grid-template-columns: 1fr;
  }

  .footer-main {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-note {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .navbar {
    height: 68px;
  }

  .menu-button {
    display: grid;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 16px;
    right: 16px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 15px;
    padding: 10px 12px;
    border-radius: 8px;
  }

  .nav-links a:hover {
    background: var(--surface);
  }

  .hero {
    min-height: auto;
    padding: 48px 20px 68px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .connection-visual {
    height: 410px;
  }

  .orbit-two {
    width: 330px;
    height: 330px;
  }

  .satellite-two {
    right: 3%;
  }

  .satellite-three {
    left: 3%;
  }

  .signal-card {
    right: 3%;
    min-width: 200px;
  }

  .section {
    padding: 76px 20px;
  }

  .competency-grid,
  .sector-grid,
  .metrics,
  .strategy-grid {
    grid-template-columns: 1fr;
  }

  .competency-card p {
    min-height: 0;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .bar-row {
    grid-template-columns: 130px 1fr;
  }

  .metrics small {
    display: none;
  }

  .chart-card,
  .insight-card {
    padding: 22px;
  }

  .kit-panel,
  .talent-panel {
    padding: 26px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .method-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .method-meta-card {
    flex-direction: column;
    width: 100%;
  }

  .method-logos {
    justify-content: center;
    width: 100%;
  }

  .brand-logo-team {
    display: none;
  }

  .brand-subtitle {
    display: none;
  }

  .method-stamp {
    width: 100%;
  }

  .accordion-item.open .accordion-content p {
    padding: 0 12px 22px 38px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand,
  .footer-note {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   PROGRESSIVE DISCLOSURE COMPONENTS (OIL-ND REAL DATA)
   ========================================================= */

/* Competencias: Resumen tripartito y píldoras */
.tripartito-summary {
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 16px 22px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(117, 9, 70, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.summary-text strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
}

.summary-text span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.summary-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.summary-metrics span {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 7px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--muted);
}

.summary-metrics b {
  color: var(--brand);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tool-pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 7px;
  background: rgba(117, 9, 70, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

/* Sectores: Tarjetas interactivas + Panel lateral (Drawer) */
.sector-trigger {
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.sector-trigger .sector-footer {
  width: 100%;
  margin-top: auto;
}

.sector-cta {
  color: var(--brand) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(10, 10, 12, 0.48);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.22s var(--ease-out);
}

.drawer-backdrop.open {
  opacity: 1;
}

.sector-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 130;
  width: min(480px, 94vw);
  background: var(--white);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.26s var(--ease-out);
}

.sector-drawer.open {
  transform: translateX(0);
}

.sector-drawer[hidden],
.drawer-backdrop[hidden] {
  display: none;
}

.drawer-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.drawer-header h2 {
  margin: 0;
  font-size: 21px;
  line-height: 1.25;
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.drawer-close:hover {
  background: var(--surface);
  color: var(--brand);
}

.drawer-body {
  padding: 24px 28px 32px;
  overflow-y: auto;
  flex: 1;
}

.drawer-kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.drawer-kpis > div {
  padding: 16px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.drawer-kpis small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.drawer-kpis strong {
  display: block;
  font-size: 22px;
  color: var(--brand);
  margin: 4px 0 2px;
}

.drawer-kpis span {
  font-size: 12px;
  color: var(--muted);
}

.drawer-block {
  margin-bottom: 24px;
}

.drawer-block h4 {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.tripartito-bar {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 2px;
  background: var(--surface);
}

.seg-siempre {
  background: var(--ink);
}

.seg-algunas {
  background: #9ca3af;
}

.seg-nunca {
  background: var(--brand);
}

.tripartito-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.tripartito-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tripartito-legend i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  display: inline-block;
}

.dot-siempre {
  background: var(--ink);
}

.dot-algunas {
  background: #9ca3af;
}

.dot-nunca {
  background: var(--brand);
}

.drawer-list {
  margin: 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.75;
}

.drawer-cta {
  width: 100%;
  margin-top: 8px;
}

/* Resultados: Switcher de vista y barras limpias */
.chart-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

.chart-switcher {
  display: inline-flex;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line-dark);
  gap: 3px;
}

.chart-switcher button {
  border: 0;
  background: transparent;
  color: var(--muted-on-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 7px;
  transition:
    background-color 0.18s var(--ease-out),
    color 0.18s var(--ease-out);
}

.chart-switcher button:hover {
  color: var(--white);
}

.chart-switcher button.active {
  background: var(--brand);
  color: var(--white);
}

.single-bar-row {
  display: grid;
  grid-template-columns: 205px 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.single-bar-row:last-child {
  margin-bottom: 0;
}

.single-bar-row .bar-track {
  padding-right: 64px;
}

@media (max-width: 720px) {
  .tripartito-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .drawer-kpis {
    grid-template-columns: 1fr;
  }

  .single-bar-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* =========================================================
   LEGAL PAGES, COOKIE BANNER, CONSENT CHECKBOX & 404 PAGE
   ========================================================= */

/* Consent checkbox en formulario de contacto */
.consent-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 16px;
}

.consent-field input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--brand-light);
  cursor: pointer;
}

.consent-field label {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #d7dbe2;
  font-weight: 500;
  cursor: pointer;
}

.consent-field a {
  color: var(--brand-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-field a:hover {
  color: var(--white);
}

/* Enlaces legales en el footer */
.footer-bottom {
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-legal a,
.footer-legal-btn {
  color: var(--muted-on-dark);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  background: transparent;
  border: 0;
  padding: 0;
  transition: color 0.18s var(--ease-out);
}

.footer-legal a:hover,
.footer-legal-btn:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Banner flotante de cookies */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 110;
  max-width: 960px;
  margin: auto;
  padding: 18px 22px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.08),
    0 20px 50px rgba(10, 10, 12, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.22s var(--ease-out),
    transform 0.24s var(--ease-out);
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-text strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 3px;
}

.cookie-banner-text p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.cookie-banner-text a {
  color: var(--brand);
  font-weight: 700;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

/* Páginas legales (privacidad.html y terminos.html) */
.legal-wrap {
  background: var(--surface);
  flex: 1;
}

.legal-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  margin-top: 44px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-toc strong {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 4px;
}

.legal-toc a {
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.18s var(--ease-out);
}

.legal-toc a:hover {
  color: var(--brand);
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 36px 40px;
}

.legal-content article {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(82, 85, 90, 0.14);
  scroll-margin-top: 96px;
}

.legal-content article:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-content h2 {
  margin: 0 0 12px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.legal-content h3 {
  margin: 18px 0 8px;
  font-size: 15px;
  color: var(--brand);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.legal-content p {
  margin: 0 0 12px;
}

.legal-content ul {
  margin: 8px 0 14px;
  padding-left: 20px;
}

.legal-content a {
  color: var(--brand);
  font-weight: 600;
}

.legal-content code {
  background: var(--surface);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 13px;
  color: var(--ink);
}

.legal-note {
  padding: 14px 16px;
  border-left: 3px solid var(--brand);
  background: rgba(117, 9, 70, 0.05);
  border-radius: 0 10px 10px 0;
  color: var(--ink) !important;
}

.cookie-status-box {
  margin: 18px 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-status-box strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
}

.cookie-status-box p {
  margin: 4px 0 0;
  font-size: 13px;
}

/* Página 404 */
.error-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 42%, rgba(117, 9, 70, 0.05) 100%);
}

.error-page {
  text-align: center;
  max-width: 620px;
}

.error-code {
  display: block;
  font-size: clamp(72px, 12vw, 120px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(117, 9, 70, 0.16);
  margin-bottom: 12px;
}

.error-page h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.6vw, 40px);
  letter-spacing: -0.03em;
}

.error-page p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 auto 28px;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .legal-toc {
    position: static;
  }

  .legal-content {
    padding: 24px 20px;
  }
}

@media (max-width: 720px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   KIT DE COMUNICACIÓN LND — LABORATORIO INTERACTIVO (FASE 4)
   ========================================================= */
.kit-lab {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.kit-sector-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03), 0 12px 28px -8px rgba(10, 10, 12, 0.06);
}

.kit-sector-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.kit-sector-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 620px;
}

.kit-download-all {
  flex-shrink: 0;
}

.sector-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    transform 0.16s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.sector-chip small {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(10, 10, 12, 0.07);
  color: var(--muted);
}

.sector-chip:hover {
  border-color: rgba(117, 9, 70, 0.45);
  background: #ffffff;
  transform: translateY(-1px);
}

.sector-chip:active {
  transform: scale(0.98);
}

.sector-chip.active {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(117, 9, 70, 0.24);
}

.sector-chip.active small {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.kit-sector-context {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.kit-context-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 4px;
}

.kit-context-main strong {
  display: block;
  font-size: 16px;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.kit-context-main p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.kit-context-stats {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.kit-context-stats > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 118px;
}

.kit-context-stats small {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}

.kit-context-stats b {
  display: block;
  margin-top: 2px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

/* Navegación por 3 Dimensiones */
.kit-dim-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.kit-dim-tab {
  appearance: none;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  cursor: pointer;
  font-family: inherit;
  transition:
    border-color 0.2s var(--ease-out),
    background-color 0.2s var(--ease-out),
    transform 0.18s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.kit-dim-tab:hover {
  border-color: rgba(117, 9, 70, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(10, 10, 12, 0.06);
}

.kit-dim-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(10, 10, 12, 0.18);
}

.dim-step {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 4px;
}

.kit-dim-tab.active .dim-step {
  color: var(--brand-light);
}

.kit-dim-tab strong {
  display: block;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.kit-dim-tab.active strong {
  color: var(--white);
}

.kit-dim-tab small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.kit-dim-tab.active small {
  color: var(--muted-on-dark);
}

.kit-dim-panel {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.kit-dim-panel[hidden] {
  display: none;
}

.kit-module-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03), 0 12px 28px -10px rgba(10, 10, 12, 0.06);
}

.kit-module-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.module-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(117, 9, 70, 0.09);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.kit-module-head h2 {
  margin: 10px 0 6px;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.kit-module-head > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 640px;
}

/* Módulo 1: Switch Estudiante vs. Empresa y Tarjetas */
.mode-switch {
  display: inline-flex;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  flex-shrink: 0;
}

.mode-switch-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 9px;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), color 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}

.mode-switch-btn.active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.mode-switch-btn[data-translator-mode="empresa"].active {
  background: var(--brand);
  color: var(--white);
}

.translator-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.translator-card {
  border-radius: 16px;
  padding: 22px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    background-color 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out),
    transform 0.18s var(--ease-out),
    box-shadow 0.22s var(--ease-out);
}

.translator-card.mode-student {
  background: #faf7f8;
  border-color: rgba(138, 31, 61, 0.22);
}

.translator-card.mode-company {
  background: #ffffff;
  border-color: rgba(117, 9, 70, 0.34);
  box-shadow: 0 8px 24px -8px rgba(117, 9, 70, 0.12);
}

.translator-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.translator-cat {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.card-flip-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 5px 11px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), opacity 0.15s var(--ease-out);
}

.card-flip-btn:active {
  transform: scale(0.97);
}

.mode-student .card-flip-btn {
  background: rgba(153, 27, 63, 0.1);
  color: #8a1939;
}

.mode-company .card-flip-btn {
  background: rgba(13, 110, 74, 0.11);
  color: #0b5d3f;
}

.mode-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.translator-quote {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 600;
  color: var(--ink);
}

.mode-student .translator-quote {
  color: #4b4e54;
  font-weight: 500;
}

.translator-why {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  padding: 10px 12px;
  background: var(--surface);
  border-radius: 10px;
}

.translator-why strong {
  color: var(--ink);
}

.translator-card-actions {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-action-btn,
.mini-copy-btn {
  appearance: none;
  border-radius: 9px;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition:
    background-color 0.18s var(--ease-out),
    border-color 0.18s var(--ease-out),
    color 0.18s var(--ease-out),
    transform 0.15s var(--ease-out);
}

.mini-action-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.mini-action-btn:hover {
  border-color: var(--ink);
}

.mini-copy-btn {
  border: 1px solid rgba(117, 9, 70, 0.25);
  background: rgba(117, 9, 70, 0.06);
  color: var(--brand);
}

.mini-copy-btn:hover {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--white);
}

.mini-copy-btn.copied {
  background: #0d6e4a;
  border-color: #0d6e4a;
  color: var(--white);
}

/* Módulo 2: CV y Portafolio */
.module-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cv-preview-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
}

.cv-preview-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px 22px;
}

.sub-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand);
  margin-bottom: 8px;
}

.cv-roles-text {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
}

.cv-hint {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.cv-project-box {
  background: var(--white);
  border: 1px solid rgba(117, 9, 70, 0.2);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 12px 14px;
}

.cv-project-box strong {
  display: block;
  font-size: 13px;
  color: var(--ink);
  margin-bottom: 4px;
}

.cv-project-box p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
}

.kit-bullet-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.5;
}

/* Módulo 3: Guiones de Pitch y STAR */
.pitch-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pitch-tab {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.18s var(--ease-out), border-color 0.18s var(--ease-out), color 0.18s var(--ease-out);
}

.pitch-tab:hover {
  border-color: rgba(117, 9, 70, 0.45);
}

.pitch-tab.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.pitch-tab.english-tab.active {
  background: var(--brand);
  border-color: var(--brand);
}

.pitch-stage {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 24px;
}

.pitch-meta-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pitch-meta-badge.highlight {
  background: rgba(117, 9, 70, 0.09);
  border-color: rgba(117, 9, 70, 0.25);
  color: var(--brand);
}

.pitch-script-text {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.pitch-footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.pitch-footer small {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
  max-width: 620px;
}

.star-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.star-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.star-item > span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.star-item strong {
  display: block;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 4px;
}

.star-item p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Módulo 4: LinkedIn y Keywords Tripartitas */
.linkedin-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.linkedin-copy-blocks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.copy-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
}

.copy-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.copy-box-head > span {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.linkedin-headline-preview {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  background: var(--white);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  line-height: 1.5;
}

.linkedin-about-preview {
  margin: 0;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.linkedin-keywords-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kw-tier-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.kw-tier-label.basal {
  color: var(--ink);
}

.kw-tier-label.diff {
  color: var(--brand);
}

.kw-tier-label.frontier {
  color: #0b5d3f;
}

.frontier-pill {
  background: rgba(13, 110, 74, 0.1) !important;
  color: #0b5d3f !important;
  border-color: rgba(13, 110, 74, 0.25) !important;
}

.linkedin-checklist-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.linkedin-checklist-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.linkedin-checklist-panel > p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--muted);
}

.kit-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kit-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.18s var(--ease-out), background-color 0.18s var(--ease-out);
}

.kit-check-item:hover {
  border-color: rgba(117, 9, 70, 0.4);
}

.kit-check-item.done {
  background: rgba(13, 110, 74, 0.06);
  border-color: rgba(13, 110, 74, 0.3);
}

.kit-check-item.done span {
  text-decoration: line-through;
  color: var(--muted);
}

.kit-check-item input {
  margin-top: 2px;
  accent-color: var(--brand);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Módulo 5: Rúbrica Interactiva de Autodiagnóstico */
.rubric-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: start;
}

.rubric-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rubric-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease-out),
    background-color 0.18s var(--ease-out),
    transform 0.16s var(--ease-out);
}

.rubric-item:hover {
  border-color: rgba(117, 9, 70, 0.4);
  background: var(--white);
}

.rubric-item.checked {
  background: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 6px 18px -6px rgba(117, 9, 70, 0.16);
}

.rubric-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--brand);
  flex-shrink: 0;
}

.rubric-item-body {
  flex: 1;
}

.rubric-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rubric-item-top strong {
  font-size: 14.5px;
  color: var(--ink);
}

.rubric-weight {
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
  background: rgba(117, 9, 70, 0.09);
  padding: 2px 8px;
  border-radius: 999px;
  flex-shrink: 0;
}

.rubric-item-body p {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.rubric-score-card {
  position: sticky;
  top: 96px;
  background: var(--ink);
  color: var(--white);
  border-radius: 18px;
  padding: 24px;
}

.rubric-score-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rubric-badge {
  display: inline-block;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rubric-badge.status-low {
  background: rgba(224, 82, 157, 0.2);
  color: #ffc2e2;
}

.rubric-badge.status-mid {
  background: rgba(245, 158, 11, 0.22);
  color: #fde68a;
}

.rubric-badge.status-high {
  background: rgba(16, 185, 129, 0.22);
  color: #a7f3d0;
}

.rubric-score-num {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.rubric-progress-track {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
  margin: 14px 0 18px;
}

.rubric-progress-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.35s var(--ease-out), background-color 0.25s var(--ease-out);
}

.rubric-progress-fill.status-low {
  background: var(--brand-light);
}

.rubric-progress-fill.status-mid {
  background: #f59e0b;
}

.rubric-progress-fill.status-high {
  background: #10b981;
}

.rubric-score-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.rubric-score-card > p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted-on-dark);
}

.rubric-tips-box {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--line-dark);
}

.rubric-tips-box h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--brand-light);
}

.rubric-tips-box ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #e4e6ec;
}

.rubric-tips-box .tip-success {
  color: #a7f3d0;
  font-weight: 600;
}

.rubric-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.rubric-actions .button-primary {
  flex: 1;
}

.rubric-actions .button-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.rubric-actions .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
}

/* Cierre Escaparate de Talento (Ancho completo debajo del Kit) */
.talent-banner {
  margin-top: 36px;
  padding: 40px;
}

.talent-banner-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: start;
}

.talent-banner-copy h2 {
  margin: 16px 0 12px;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.03em;
}

.talent-banner-copy > p {
  margin: 0;
  color: var(--muted-on-dark);
  font-size: 15px;
  line-height: 1.7;
}

.talent-highlights {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.talent-highlights > div {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
}

.talent-highlights strong {
  display: block;
  font-size: 20px;
  color: var(--brand-light);
}

.talent-highlights span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted-on-dark);
}

.talent-banner-form form {
  margin-top: 0;
}

/* Toast flotante accesible */
.kit-live-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(224, 82, 157, 0.45);
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out);
}

.kit-live-toast.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 960px) {
  .kit-sector-header,
  .kit-sector-context,
  .kit-module-head {
    flex-direction: column;
  }

  .kit-context-stats {
    width: 100%;
    flex-wrap: wrap;
  }

  .kit-dim-nav,
  .translator-grid,
  .cv-preview-grid,
  .star-grid,
  .linkedin-layout,
  .rubric-layout,
  .talent-banner-grid {
    grid-template-columns: 1fr;
  }

  .rubric-score-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .kit-sector-bar,
  .kit-module-card,
  .talent-banner {
    padding: 22px 18px;
  }

  .mode-switch {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .talent-highlights {
    grid-template-columns: 1fr;
  }

  .rubric-actions {
    flex-direction: column;
  }
}

/* =========================================================
   SIMULADOR DE ENTREVISTA LND (estrategia.html)
   ========================================================= */
.sim-section {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03), 0 12px 28px -10px rgba(10, 10, 12, 0.06);
}

.sim-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.sim-header h2 {
  margin: 10px 0 6px;
  font-size: clamp(20px, 2.3vw, 26px);
  letter-spacing: -0.025em;
}

.sim-header > div > p {
  margin: 0;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 650px;
}

.sim-meta-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.sim-sector-pill {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(117, 9, 70, 0.08);
  border: 1px solid rgba(117, 9, 70, 0.2);
  color: var(--brand);
  font-size: 12.5px;
  font-weight: 700;
}

.sim-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 20px;
  align-items: start;
}

.sim-chat-window {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sim-chat-topbar {
  background: var(--ink);
  color: var(--white);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.sim-recruiter-id {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sim-avatar {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--brand);
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.sim-recruiter-id strong {
  display: block;
  font-size: 14px;
}

.sim-recruiter-id small {
  display: block;
  font-size: 12px;
  color: var(--muted-on-dark);
}

.sim-progress-dots {
  display: flex;
  gap: 6px;
}

.sim-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.sim-dot.current {
  background: var(--brand-light);
  box-shadow: 0 0 0 3px rgba(224, 82, 157, 0.28);
}

.sim-dot.done {
  background: #10b981;
}

.sim-transcript {
  padding: 18px;
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sim-msg {
  max-width: 90%;
  border-radius: 14px;
  padding: 12px 15px;
  font-size: 14px;
  line-height: 1.55;
}

.sim-msg p {
  margin: 0;
}

.sim-msg-recruiter {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}

.sim-msg-recruiter small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand);
  margin-bottom: 4px;
}

.sim-msg-user {
  align-self: flex-end;
  background: var(--brand);
  color: var(--white);
}

.sim-msg-feedback {
  align-self: flex-start;
  font-size: 13px;
  border-left: 3px solid transparent;
}

.sim-msg-feedback.fb-especialista {
  background: rgba(13, 110, 74, 0.09);
  border-left-color: #0d6e4a;
  color: #0b4f36;
}

.sim-msg-feedback.fb-intermedio {
  background: rgba(217, 119, 6, 0.1);
  border-left-color: #d97706;
  color: #7c4004;
}

.sim-msg-feedback.fb-escolar {
  background: rgba(153, 27, 63, 0.09);
  border-left-color: #991b3f;
  color: #7d1532;
}

.sim-choices {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: var(--white);
  display: grid;
  gap: 10px;
}

.sim-choice-btn {
  appearance: none;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: inherit;
  font-size: 13.5px;
  line-height: 1.5;
  cursor: pointer;
  transition:
    border-color 0.18s var(--ease-out),
    background-color 0.18s var(--ease-out),
    transform 0.15s var(--ease-out);
}

.sim-choice-btn:hover {
  border-color: var(--brand);
  background: var(--white);
  transform: translateY(-1px);
}

.sim-choice-btn:active {
  transform: scale(0.99);
}

.sim-choice-letter {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(117, 9, 70, 0.1);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.sim-finish-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sim-finish-bar p {
  margin: 0;
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.55;
  flex: 1;
}

.sim-summary-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
}

.sim-score-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.sim-score-box strong {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.sim-level-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(10, 10, 12, 0.08);
  color: var(--muted);
}

.sim-level-tag.level-expert {
  background: rgba(13, 110, 74, 0.12);
  color: #0b5d3f;
}

.sim-level-tag.level-mid {
  background: rgba(217, 119, 6, 0.14);
  color: #92400e;
}

.sim-level-tag.level-student {
  background: rgba(153, 27, 63, 0.12);
  color: #8a1939;
}

.sim-summary-panel > p {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.sim-legend {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.sim-legend li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sim-legend strong {
  color: var(--ink);
}

.dot-expert,
.dot-mid,
.dot-student {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.dot-expert {
  background: #0d6e4a;
}

.dot-mid {
  background: #d97706;
}

.dot-student {
  background: #991b3f;
}

/* =========================================================
   BOT FLOTANTE DISCRETO GLOBAL (inyectado desde layout.js)
   ========================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Señuelo invisible para scripts automatizados de spam */
.bot-decoy {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.lnd-bot-root {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 95;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.lnd-bot-launcher {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--brand);
  color: var(--white);
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(117, 9, 70, 0.34), 0 2px 6px rgba(0, 0, 0, 0.14);
  transition:
    transform 0.18s var(--ease-out),
    background-color 0.18s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.lnd-bot-launcher:hover {
  background: var(--brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(117, 9, 70, 0.42);
}

.lnd-bot-launcher:active {
  transform: scale(0.97);
}

.lnd-bot-panel {
  width: min(370px, calc(100vw - 28px));
  height: min(520px, calc(100vh - 108px));
  background: var(--white);
  border: 1px solid rgba(10, 10, 12, 0.14);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(10, 10, 12, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
}

.lnd-bot-panel[hidden] {
  display: none;
}

.lnd-bot-header {
  background: var(--ink);
  color: var(--white);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lnd-bot-identity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lnd-bot-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  padding: 2px;
  object-fit: contain;
}

.lnd-bot-identity strong {
  display: block;
  font-size: 13.5px;
  line-height: 1.2;
}

.lnd-bot-identity small {
  display: block;
  font-size: 11px;
  color: var(--muted-on-dark);
}

.lnd-bot-header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.lnd-bot-icon-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: #d4d7df;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.lnd-bot-icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.lnd-bot-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lnd-msg {
  display: flex;
}

.lnd-msg-bot {
  justify-content: flex-start;
}

.lnd-msg-user {
  justify-content: flex-end;
}

.lnd-msg-user span {
  background: var(--brand);
  color: var(--white);
  padding: 9px 13px;
  border-radius: 14px 14px 4px 14px;
  font-size: 13px;
  line-height: 1.45;
  max-width: 85%;
}

.lnd-msg-bubble {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 10px 13px;
  border-radius: 14px 14px 14px 4px;
  font-size: 13px;
  line-height: 1.55;
  max-width: 90%;
}

.lnd-msg-bubble p {
  margin: 0;
}

.lnd-msg-links {
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lnd-msg-links a {
  color: var(--brand);
  font-weight: 700;
  font-size: 12.5px;
  text-decoration: none;
}

.lnd-msg-links a:hover {
  text-decoration: underline;
}

.lnd-typing .lnd-msg-bubble {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 14px;
}

.lnd-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: lndBotBounce 0.9s infinite ease-in-out;
}

.lnd-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.lnd-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes lndBotBounce {
  0%, 80%, 100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

.lnd-bot-options {
  padding: 8px 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 112px;
  overflow-y: auto;
}

.lnd-bot-options:empty {
  display: none;
}

.lnd-bot-chip {
  appearance: none;
  border: 1px solid rgba(117, 9, 70, 0.28);
  background: rgba(117, 9, 70, 0.05);
  color: var(--brand);
  border-radius: 999px;
  padding: 6px 11px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s var(--ease-out), color 0.16s var(--ease-out);
}

.lnd-bot-chip:hover {
  background: var(--brand);
  color: var(--white);
}

.lnd-bot-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.lnd-bot-form input {
  flex: 1;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
}

.lnd-bot-form input:focus,
.lnd-bot-form input:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(117, 9, 70, 0.18);
  background: var(--white);
}

.lnd-bot-send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.lnd-bot-send {
  appearance: none;
  border: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.16s var(--ease-out);
}

.lnd-bot-send:hover {
  background: var(--brand);
}

@media (max-width: 960px) {
  .sim-header,
  .sim-shell {
    flex-direction: column;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .sim-section {
    padding: 22px 18px;
  }

  .lnd-bot-root {
    right: 14px;
    bottom: 14px;
  }

  .lnd-bot-launcher {
    width: 48px;
    padding: 0;
    justify-content: center;
  }

  .bot-launcher-label {
    display: none;
  }
}
