/* ==========================================================================
   BELMONTE SOFÍA · Experiencia comercial premium
   Extensión visual independiente. Sin dependencias externas.
   Identidad: tinta profunda, marfil cálido, carmín y oro discreto.
   ========================================================================== */

:root {
  --ink: #0c1a2c;
  --ink-soft: #24354b;
  --ink-deep: #081320;
  --ink-mid: #142842;
  --paper: #f7f3ec;
  --paper-warm: #f1eadf;
  --paper-deep: #e9e0d1;
  --surface: #fffdf9;
  --white: #ffffff;
  --accent: #b3243a;
  --accent-dark: #8d182b;
  --accent-soft: #f8ecee;
  --gold: #b3915a;
  --gold-deep: #87652f;
  --gold-soft: #dcc49a;
  --muted: #5e6672;
  --muted-soft: #7b8088;
  --line: rgba(12, 26, 44, 0.13);
  --line-strong: rgba(12, 26, 44, 0.24);
  --line-light: rgba(247, 243, 236, 0.16);
  --line-gold: rgba(179, 145, 90, 0.42);
  --success: #2f6a50;
  --danger: #9b2437;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-soft: 0 28px 60px -44px rgba(12, 26, 44, 0.5);
  --shadow-card: 0 18px 44px -34px rgba(12, 26, 44, 0.55);
  --shadow-float: 0 26px 70px -38px rgba(12, 26, 44, 0.6);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --container: 1180px;
  --header-height: 78px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked {
  overflow: hidden;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.032em;
  line-height: 1.04;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5.9rem);
}

h2 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  line-height: 1.14;
}

h4 {
  font-size: 1.12rem;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled),
[role="button"]:not([aria-disabled="true"]) {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

::selection {
  background: var(--gold-soft);
  color: var(--ink);
}

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

section {
  scroll-margin-top: 112px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 2 * clamp(20px, 4vw, 40px)), var(--container));
  margin-inline: auto;
}

.container--wide {
  width: min(calc(100% - 2 * clamp(20px, 4vw, 40px)), 1320px);
}

.container--narrow {
  width: min(calc(100% - 2 * clamp(20px, 4vw, 40px)), 860px);
}

.section {
  padding-block: clamp(64px, 8.2vw, 118px);
}

.section--tight {
  padding-block: clamp(44px, 5.5vw, 72px);
}

.section--paper-warm {
  background: var(--paper-warm);
}

.section--surface {
  background: var(--surface);
}

.section--navy {
  background:
    radial-gradient(circle at 68% 0%, rgba(179, 145, 90, 0.13), transparent 42%),
    linear-gradient(145deg, var(--ink-mid), var(--ink-deep) 70%);
  color: rgba(247, 243, 236, 0.78);
}

.section--navy h2,
.section--navy h3,
.section--navy h4 {
  color: var(--paper);
}

.section--navy .lead,
.section--navy p {
  color: rgba(247, 243, 236, 0.68);
}

.section--navy .eyebrow {
  color: var(--gold-soft);
}

.section--navy .eyebrow::before {
  background: var(--gold-soft);
}

.section-rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.section-rule--light {
  border-top-color: var(--line-light);
}

/* --------------------------------------------------------------------------
   Tipografía editorial y utilidades
   -------------------------------------------------------------------------- */

.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 0.98;
}

.display em,
.serif em {
  font-style: italic;
}

.accent-text {
  color: var(--accent);
}

.gold-text {
  color: var(--gold-deep);
}

.lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(1.04rem, 1.45vw, 1.22rem);
  line-height: 1.62;
}

.lead--wide {
  max-width: 74ch;
}

.lead--light {
  color: rgba(247, 243, 236, 0.72);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.2rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 1px;
  background: var(--gold-deep);
  content: "";
  flex: 0 0 auto;
}

.eyebrow--centered {
  justify-content: center;
}

.eyebrow--no-line::before {
  display: none;
}

.section-head {
  max-width: 780px;
  margin-bottom: clamp(34px, 5vw, 60px);
}

.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: end;
  gap: 40px;
  max-width: none;
}

.section-head__aside {
  padding-bottom: 0.3rem;
}

.section-head__aside p {
  color: var(--muted);
  font-size: 0.95rem;
}

.text-muted {
  color: var(--muted);
}

.text-light {
  color: rgba(247, 243, 236, 0.7);
}

.small {
  font-size: 0.84rem;
  line-height: 1.6;
}

.micro {
  font-size: 0.73rem;
  line-height: 1.5;
}

.mono-label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.22s var(--ease);
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.link-arrow--light {
  color: var(--paper);
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Barra de demostración
   -------------------------------------------------------------------------- */

.demo-bar {
  position: relative;
  z-index: 60;
  background: var(--ink-deep);
  color: rgba(247, 243, 236, 0.74);
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.demo-bar__inner {
  display: flex;
  min-height: 35px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.demo-bar__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.demo-bar__label::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(220, 196, 154, 0.13);
  content: "";
}

.demo-bar__text {
  overflow: hidden;
  color: rgba(247, 243, 236, 0.55);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.demo-bar__right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.demo-bar__locale {
  padding-left: 14px;
  border-left: 1px solid var(--line-light);
  color: rgba(247, 243, 236, 0.48);
}

/* --------------------------------------------------------------------------
   Cabecera y navegación
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 196px;
  height: auto;
}

.nav {
  margin-left: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 560;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav__link:hover {
  background: rgba(12, 26, 44, 0.045);
  color: var(--ink);
}

.nav__link[aria-current="page"] {
  color: var(--accent);
  font-weight: 680;
}

.nav__link[aria-current="page"]::after {
  position: absolute;
  right: 14px;
  bottom: 3px;
  left: 14px;
  height: 1px;
  background: var(--accent);
  content: "";
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.demo-chip::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-deep);
  content: "";
}

.nav-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 700;
}

.nav-toggle__bars {
  position: relative;
  width: 15px;
  height: 10px;
  border-top: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  border-top-color: transparent;
  border-bottom-color: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after,
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  position: absolute;
  top: 4px;
  left: 0;
  width: 15px;
  height: 1.5px;
  background: currentColor;
  content: "";
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: rotate(-45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: rotate(45deg);
}

.nav-panel {
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.nav-panel__inner {
  display: grid;
  gap: 4px;
  padding-block: 18px 26px;
}

.nav-panel__link {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.nav-panel__link::after {
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.9rem;
  content: "→";
}

.nav-panel__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
}

/* --------------------------------------------------------------------------
   Botones, etiquetas y estados
   -------------------------------------------------------------------------- */

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.22s var(--ease),
    border-color 0.22s var(--ease),
    color 0.22s var(--ease),
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease);
}

.button::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
  transition: transform 0.22s var(--ease);
}

.button:hover::after {
  transform: translateX(3px);
}

.button--no-arrow::after {
  display: none;
}

.button--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 10px 24px -16px rgba(179, 36, 58, 0.8);
}

.button--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -16px rgba(179, 36, 58, 0.85);
}

.button--dark {
  background: var(--ink);
  color: var(--paper);
}

.button--dark:hover {
  background: var(--ink-mid);
  transform: translateY(-1px);
}

.button--outline {
  border-color: var(--line-strong);
  color: var(--ink);
}

.button--outline:hover {
  border-color: var(--ink);
  background: rgba(12, 26, 44, 0.04);
  transform: translateY(-1px);
}

.button--light {
  background: var(--paper);
  color: var(--ink);
}

.button--light:hover {
  background: var(--white);
  transform: translateY(-1px);
}

.button--ghost-light {
  border-color: rgba(247, 243, 236, 0.32);
  color: var(--paper);
}

.button--ghost-light:hover {
  border-color: rgba(247, 243, 236, 0.65);
  background: rgba(247, 243, 236, 0.08);
}

.button--gold {
  border-color: var(--gold);
  color: var(--gold-deep);
}

.button--gold:hover {
  background: rgba(179, 145, 90, 0.08);
  border-color: var(--gold-deep);
}

.button--small {
  min-height: 40px;
  padding-inline: 19px;
  font-size: 12.5px;
}

.button--large {
  min-height: 54px;
  padding-inline: 28px;
  font-size: 14px;
}

.button--block {
  width: 100%;
}

.button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.text-link:hover {
  color: var(--accent);
}

.tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.tag--demo {
  border-color: rgba(179, 145, 90, 0.4);
  background: rgba(179, 145, 90, 0.09);
  color: var(--gold-deep);
}

.tag--live {
  border-color: rgba(47, 106, 80, 0.28);
  background: rgba(47, 106, 80, 0.08);
  color: var(--success);
}

.tag--dev {
  border-color: rgba(20, 40, 66, 0.22);
  background: rgba(20, 40, 66, 0.055);
  color: var(--ink-soft);
}

.tag--commission {
  border-color: rgba(179, 36, 58, 0.24);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.tag--vision {
  border-color: var(--line);
  background: transparent;
  color: var(--muted);
}

.tag--light {
  border-color: rgba(247, 243, 236, 0.24);
  background: rgba(247, 243, 236, 0.07);
  color: rgba(247, 243, 236, 0.82);
}

.tag--plain::before {
  display: none;
}

.status-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.status-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.status-legend__item {
  min-width: 0;
}

.status-legend__item p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   Pie de página
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(247, 243, 236, 0.12);
  background: var(--ink-deep);
  color: rgba(247, 243, 236, 0.6);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(120px, 0.55fr)) minmax(170px, 0.7fr);
  gap: clamp(30px, 5vw, 64px);
  padding-block: clamp(52px, 7vw, 78px) 48px;
}

.site-footer__brand img {
  width: 202px;
  margin-bottom: 22px;
}

.site-footer__brand p {
  max-width: 34ch;
  font-size: 13px;
  line-height: 1.65;
}

.site-footer__brand .site-footer__note {
  margin-top: 18px;
  color: rgba(247, 243, 236, 0.4);
  font-size: 10.5px;
  letter-spacing: 0.03em;
}

.footer-title {
  margin: 2px 0 15px;
  color: rgba(247, 243, 236, 0.9);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(247, 243, 236, 0.55);
  font-size: 12.5px;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--paper);
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.lang-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  color: rgba(247, 243, 236, 0.5);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.lang-chip--active {
  border-color: rgba(220, 196, 154, 0.5);
  color: var(--gold-soft);
}

.lang-chip small {
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.footer-note {
  margin-top: 12px;
  color: #7a8f9f;
  font-size: 10px;
  line-height: 1.5;
}

.site-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid rgba(247, 243, 236, 0.1);
  color: rgba(247, 243, 236, 0.35);
  font-size: 10px;
  line-height: 1.6;
}

.site-footer__legal p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Inicio · héroe editorial
   -------------------------------------------------------------------------- */

.home-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6.5vw, 88px) clamp(40px, 5vw, 66px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 145, 90, 0.14), transparent 37%),
    linear-gradient(180deg, var(--paper) 0%, #f8f4ed 100%);
}

.home-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 44%;
  height: 100%;
  background-image:
    linear-gradient(rgba(12, 26, 44, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 26, 44, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 75%, transparent);
  pointer-events: none;
}

.home-hero__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
  align-items: stretch;
  gap: clamp(36px, 5.6vw, 72px);
}

.home-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 12px;
}

.home-hero__title {
  margin-bottom: 24px;
  font-size: clamp(3.15rem, 6.35vw, 6.25rem);
  letter-spacing: -0.045em;
  line-height: 0.96;
}

.home-hero__title em {
  color: var(--accent);
  font-style: italic;
}

.home-hero__lead {
  max-width: 56ch;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.4vw, 1.16rem);
  line-height: 1.65;
}

.home-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
}

.home-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.home-hero__meta span::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

/* Tarjetas de entrada · BUSCO EMPLEO / SOY EMPRESA / CONSULTORAS */

.gateway {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.gateway__card {
  position: relative;
  display: flex;
  min-height: 202px;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 22px 18px;
  border-right: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.28);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.gateway__card:last-child {
  border-right: 0;
}

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

.gateway__card:hover .gateway__arrow {
  transform: translate(3px, -3px);
  background: var(--ink);
  color: var(--paper);
}

.gateway__num {
  margin-bottom: 20px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.gateway__label {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.38rem, 1.8vw, 1.62rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.gateway__hint {
  max-width: 26ch;
  margin: auto 0 0;
  padding-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.gateway__arrow {
  position: absolute;
  top: 18px;
  right: 20px;
  display: inline-flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 13px;
  transition: transform 0.24s var(--ease), background-color 0.24s var(--ease), color 0.24s var(--ease);
}

.gateway__card--company {
  background: rgba(179, 36, 58, 0.035);
}

.gateway__card--company .gateway__num {
  color: var(--accent);
}

/* Panel editorial del héroe */

.hero-board {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  overflow: hidden;
  padding: 26px 28px 24px;
  border: 1px solid #cddbea;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 12%, rgba(54, 108, 153, 0.14), transparent 34%),
    linear-gradient(155deg, #f8fbfe, #e9f1f8);
  box-shadow: 0 20px 50px -34px rgba(22, 61, 92, 0.34);
  color: #47647d;
}

.hero-board::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(35, 83, 120, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35, 83, 120, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  content: "";
  pointer-events: none;
}

.hero-board__rings {
  position: absolute;
  top: 48px;
  right: -126px;
  width: 390px;
  height: 390px;
  border: 1px solid rgba(64, 112, 151, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-board__rings::before,
.hero-board__rings::after {
  position: absolute;
  border: 1px solid rgba(64, 112, 151, 0.16);
  border-radius: 50%;
  content: "";
}

.hero-board__rings::before {
  inset: 44px;
}

.hero-board__rings::after {
  inset: 102px;
}

.hero-board__dot {
  position: absolute;
  top: 137px;
  right: 128px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5f8fb5;
  box-shadow: 0 0 0 7px rgba(95, 143, 181, 0.10);
}

.hero-board__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d7e2ec;
  color: #6f879a;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-board__head strong {
  color: #2f668f;
  font-weight: 700;
}

.hero-board__main {
  position: relative;
  z-index: 1;
  padding-top: 34px;
}

.hero-board__kicker {
  margin-bottom: 14px;
  color: #7890a3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-board__quote {
  max-width: 10ch;
  margin-bottom: 32px;
  color: #173a55;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 3.1vw, 2.9rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-board__quote em {
  color: var(--gold-soft);
  font-style: italic;
}

.board-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-steps li {
  display: grid;
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid #dbe5ee;
}

.board-steps__num {
  color: #5f8fb5;
  font-family: var(--serif);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.board-steps__name {
  color: #244a67;
  font-size: 12.5px;
  font-weight: 560;
}

.board-steps__state {
  color: rgba(247, 243, 236, 0.35);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-board__foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 26px;
}

.hero-board__foot p {
  max-width: 20ch;
  color: #6e8495;
  font-size: 9.5px;
  line-height: 1.5;
}

.hero-board__seal {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(54, 108, 153, 0.30);
  border-radius: 50%;
  color: #2f668f;
  font-family: var(--serif);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
}

/* --------------------------------------------------------------------------
   Franja de capacidades
   -------------------------------------------------------------------------- */

.capability-strip {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.capability-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 28px;
  min-height: 60px;
  padding-block: 12px;
}

.capability-strip__item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.capability-strip__item::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

/* --------------------------------------------------------------------------
   Niveles · tarjetas
   -------------------------------------------------------------------------- */

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

.level-card {
  position: relative;
  display: flex;
  min-height: 440px;
  flex-direction: column;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: var(--surface);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), border-color 0.28s var(--ease);
}

.level-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.level-card--featured {
  border-color: rgba(247, 243, 236, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 145, 90, 0.18), transparent 36%),
    linear-gradient(150deg, var(--ink-mid), var(--ink-deep));
  color: rgba(247, 243, 236, 0.68);
}

.level-card--featured h3,
.level-card--featured .level-card__num {
  color: var(--paper);
}

.level-card--featured .level-card__desc,
.level-card--featured .level-card__foot p {
  color: rgba(247, 243, 236, 0.58);
}

.level-card--featured .level-card__list li {
  border-top-color: rgba(247, 243, 236, 0.12);
}

.level-card--featured .level-card__list span {
  color: rgba(247, 243, 236, 0.8);
}

.level-card--featured .tag {
  border-color: rgba(220, 196, 154, 0.35);
  background: rgba(220, 196, 154, 0.08);
  color: var(--gold-soft);
}

.level-card--featured .tag--light {
  border-color: rgba(247, 243, 236, 0.2);
  color: rgba(247, 243, 236, 0.75);
}

.level-card--featured .link-arrow {
  color: var(--paper);
}

.level-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 30px;
}

.level-card__num {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.level-card__name {
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 2.25vw, 2.05rem);
}

.level-card__desc {
  min-height: 4.6em;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

.level-card__list {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.level-card__list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.45;
}

.level-card__list small {
  flex: 0 0 auto;
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: right;
  text-transform: uppercase;
}

.level-card--featured .level-card__list small {
  color: var(--gold-soft);
}

.level-card__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.level-card--featured .level-card__foot {
  border-top-color: rgba(247, 243, 236, 0.14);
}

.level-card__foot p {
  max-width: 22ch;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.level-card__disc {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.level-card--featured .level-card__disc {
  color: var(--gold-soft);
}

.level-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.level-disclaimer::before {
  padding: 1px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  content: "DEMO";
  flex: 0 0 auto;
}

/* --------------------------------------------------------------------------
   Método
   -------------------------------------------------------------------------- */

.method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method__step {
  position: relative;
  min-height: 250px;
  padding: 26px 26px 24px;
  border-right: 1px solid var(--line);
}

.method__step:last-child {
  border-right: 0;
}

.method__step::before {
  position: absolute;
  top: 38px;
  right: 20px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.method__num {
  display: block;
  margin-bottom: 48px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.method__name {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 1.58rem;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.method__desc {
  max-width: 30ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.method__state {
  position: absolute;
  right: 26px;
  bottom: 22px;
  left: 26px;
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Producto · bloque editorial con panel ilustrado
   -------------------------------------------------------------------------- */

.product-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(36px, 6vw, 84px);
}

.product-copy h2 {
  margin-bottom: 20px;
}

.product-copy .lead {
  margin-bottom: 26px;
}

.product-points {
  display: grid;
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.product-points li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 11px;
  color: rgba(247, 243, 236, 0.7);
  font-size: 13px;
  line-height: 1.55;
}

.product-points li::before {
  color: var(--gold-soft);
  content: "—";
}

.mock-app {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 236, 0.14);
  border-radius: 16px;
  background: #f9f6f0;
  box-shadow: 0 40px 100px -48px rgba(0, 0, 0, 0.8);
  color: var(--ink);
}

.mock-app__bar {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.mock-app__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mock-app__brand::before {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.mock-app__bar .tag {
  min-height: 19px;
  font-size: 7.5px;
}

.mock-app__layout {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  min-height: 320px;
}

.mock-app__rail {
  padding: 17px 12px;
  border-right: 1px solid var(--line);
  background: #f2ece1;
}

.mock-app__rail span {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.mock-app__rail span:first-child {
  padding: 6px 7px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--paper);
}

.mock-app__main {
  padding: 18px 20px;
}

.mock-app__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.mock-app__header h3 {
  margin-bottom: 3px;
  font-size: 1.05rem;
}

.mock-app__header p {
  color: var(--muted);
  font-size: 8px;
}

.mock-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.mock-stat {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.mock-stat small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 7px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mock-stat strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
}

.mock-table {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  overflow: hidden;
}

.mock-table__head,
.mock-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 0.8fr 0.75fr;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
}

.mock-table__head {
  border-bottom: 1px solid var(--line);
  background: #f7f2e9;
  color: var(--muted);
  font-size: 6.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mock-table__row {
  border-bottom: 1px solid rgba(12, 26, 44, 0.08);
  font-size: 8px;
}

.mock-table__row:last-child {
  border-bottom: 0;
}

.mock-table__row span:first-child {
  font-weight: 650;
}

.mock-pill {
  display: inline-block;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(12, 26, 44, 0.06);
  color: var(--ink-soft);
  font-size: 6.5px;
  font-weight: 650;
  white-space: nowrap;
}

.mock-pill--gold {
  background: rgba(179, 145, 90, 0.13);
  color: var(--gold-deep);
}

.mock-app__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 7.5px;
}

/* --------------------------------------------------------------------------
   Mercados
   -------------------------------------------------------------------------- */

.markets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
}

.market {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 30px 30px 30px 0;
  border-bottom: 1px solid var(--line);
}

.market + .market {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.market__index {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 2.3rem;
  line-height: 0.9;
}

.market__name {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.market__desc {
  max-width: 40ch;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.channel-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.25;
}

.channel-chip::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.market-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  background: rgba(179, 145, 90, 0.06);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.6;
}

.market-note strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Principios
   -------------------------------------------------------------------------- */

.principles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.principle {
  padding: 30px 28px;
  background: var(--surface);
}

.principle__num {
  display: block;
  margin-bottom: 28px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.principle h3 {
  margin-bottom: 10px;
  font-size: 1.48rem;
}

.principle p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.58;
}

/* --------------------------------------------------------------------------
   Cierre
   -------------------------------------------------------------------------- */

.closing {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 9vw, 120px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 14% 20%, rgba(179, 145, 90, 0.16), transparent 34%),
    var(--paper-warm);
}

.closing::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(179, 145, 90, 0.24);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

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

.closing h2 {
  max-width: 12ch;
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
}

.closing h2 em {
  color: var(--accent);
}

.closing__lead {
  max-width: 52ch;
  margin-bottom: 34px;
}

.closing__paths {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.closing__path {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.closing__path span {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 11px;
}

.closing__path:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.closing__path:hover span {
  color: var(--gold-soft);
}

/* --------------------------------------------------------------------------
   Páginas interiores · héroe
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(50px, 7.5vw, 100px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 92% 12%, rgba(179, 145, 90, 0.13), transparent 34%),
    linear-gradient(180deg, var(--paper), #f8f4ed);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  align-items: center;
  gap: clamp(38px, 6vw, 90px);
}

.page-hero__title {
  max-width: 15ch;
  margin-bottom: 22px;
  font-size: clamp(2.75rem, 5.45vw, 5.2rem);
  line-height: 0.98;
}

.page-hero__title em {
  color: var(--accent);
  font-style: italic;
}

.page-hero__lead {
  max-width: 60ch;
  margin-bottom: 28px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.page-hero__aside {
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  padding-block: 6px;
}

.hero-aside__row {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.hero-aside__row:last-child {
  border-bottom: 0;
}

.hero-aside__num {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 11px;
}

.hero-aside__label {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
}

.hero-aside__state {
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-aside__note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Flujo · empresas
   -------------------------------------------------------------------------- */

.flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.flow-step {
  position: relative;
  display: flex;
  min-height: 348px;
  flex-direction: column;
  padding: 26px 24px 24px;
  border-right: 1px solid var(--line);
}

.flow-step:last-child {
  border-right: 0;
}

.flow-step::before {
  position: absolute;
  top: 40px;
  right: 24px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.flow-step__num {
  margin-bottom: 40px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.flow-step h3 {
  margin-bottom: 10px;
  font-size: 1.52rem;
}

.flow-step > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.flow-step ul {
  display: grid;
  gap: 7px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.flow-step li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.flow-step li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.flow-step__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Planes detallados
   -------------------------------------------------------------------------- */

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px 26px;
  border: 1px solid var(--line);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: var(--surface);
}

.plan-card--featured {
  border-color: rgba(247, 243, 236, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 145, 90, 0.18), transparent 38%),
    linear-gradient(155deg, var(--ink-mid), var(--ink-deep));
  color: rgba(247, 243, 236, 0.68);
}

.plan-card--featured h3,
.plan-card--featured .plan-card__num {
  color: var(--paper);
}

.plan-card--featured .plan-card__desc,
.plan-card--featured .plan-card__note {
  color: rgba(247, 243, 236, 0.58);
}

.plan-card--featured .plan-feature {
  border-top-color: rgba(247, 243, 236, 0.12);
}

.plan-card--featured .plan-feature span {
  color: rgba(247, 243, 236, 0.84);
}

.plan-card--featured .plan-feature small {
  color: var(--gold-soft);
}

.plan-card--featured .plan-card__foot {
  border-top-color: rgba(247, 243, 236, 0.14);
}

.plan-card--featured .button--outline {
  border-color: rgba(247, 243, 236, 0.28);
  color: var(--paper);
}

.plan-card--featured .button--outline:hover {
  border-color: var(--paper);
  background: rgba(247, 243, 236, 0.08);
}

.plan-card__top {
  display: flex;
  min-height: 22px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.plan-card__num {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.plan-card h3 {
  margin-bottom: 6px;
  font-size: clamp(1.72rem, 2.3vw, 2.15rem);
}

.plan-card__tagline {
  margin-bottom: 14px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.3;
}

.plan-card--featured .plan-card__tagline {
  color: var(--gold-soft);
}

.plan-card__desc {
  min-height: 4.6em;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.58;
}

.plan-features {
  display: grid;
  gap: 0;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.plan-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  line-height: 1.45;
}

.plan-feature span {
  color: var(--ink-soft);
}

.plan-feature small {
  color: var(--gold-deep);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.plan-card__note {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.plan-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.plan-card__foot .button {
  flex: 1 1 auto;
}

.plan-card--featured .plan-card__foot .button--primary {
  border-color: var(--accent);
}

/* --------------------------------------------------------------------------
   Comparativa
   -------------------------------------------------------------------------- */

.comparison {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 12px;
}

.comparison caption {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  text-align: left;
}

.comparison thead th {
  padding: 14px 16px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: var(--paper-warm);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  vertical-align: bottom;
}

.comparison thead th:not(:first-child) {
  text-align: center;
}

.comparison thead th span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
}

.comparison tbody th {
  width: 42%;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  vertical-align: top;
}

.comparison tbody th small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 400;
  line-height: 1.4;
}

.comparison tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.45;
  text-align: center;
  vertical-align: top;
}

.comparison tbody tr:nth-child(even) th,
.comparison tbody tr:nth-child(even) td {
  background: #fbf8f2;
}

.comparison .compare-yes {
  color: var(--success);
  font-weight: 700;
}

.comparison .compare-no {
  color: var(--muted-soft);
}

.cell-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
}

.cell-state small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.35;
}

.comparison-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(179, 145, 90, 0.06);
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Enlaces de demostración
   -------------------------------------------------------------------------- */

.demo-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.demo-link {
  position: relative;
  display: grid;
  min-height: 270px;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: end;
  gap: 20px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.demo-link:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-3px);
}

.demo-link__copy {
  position: relative;
  z-index: 1;
  align-self: start;
}

.demo-link__copy h3 {
  margin-bottom: 9px;
  font-size: 1.8rem;
}

.demo-link__copy p {
  max-width: 34ch;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.demo-link__action {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-link__action::after {
  content: "→";
  transition: transform 0.22s var(--ease);
}

.demo-link:hover .demo-link__action::after {
  transform: translateX(3px);
}

.demo-link__art {
  position: relative;
  align-self: stretch;
  min-height: 200px;
  border-radius: 8px;
  background:
    linear-gradient(rgba(12, 26, 44, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 26, 44, 0.055) 1px, transparent 1px),
    linear-gradient(165deg, var(--paper-warm), var(--paper-deep));
  background-size: 24px 24px, 24px 24px, auto;
  overflow: hidden;
}

.demo-link__art::before {
  position: absolute;
  top: 32px;
  right: 22px;
  left: 22px;
  height: 8px;
  border-radius: 2px;
  background: var(--ink);
  box-shadow:
    0 18px 0 -2px rgba(12, 26, 44, 0.18),
    0 36px 0 -2px rgba(12, 26, 44, 0.12),
    0 70px 0 -2px var(--surface),
    0 88px 0 -2px rgba(12, 26, 44, 0.09),
    0 106px 0 -2px rgba(12, 26, 44, 0.06);
  content: "";
}

.demo-link__art--dash {
  background:
    linear-gradient(90deg, rgba(247, 243, 236, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(247, 243, 236, 0.09) 1px, transparent 1px),
    linear-gradient(155deg, var(--ink-mid), var(--ink-deep));
  background-size: 22px 22px, 22px 22px, auto;
}

.demo-link__art--dash::before {
  background: var(--gold-soft);
  box-shadow:
    0 18px 0 -2px rgba(247, 243, 236, 0.15),
    0 36px 0 -2px rgba(247, 243, 236, 0.11),
    0 70px 0 -2px rgba(255, 253, 249, 0.2),
    0 88px 0 -2px rgba(247, 243, 236, 0.1),
    0 106px 0 -2px rgba(247, 243, 236, 0.07);
}

.demo-link__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}

/* --------------------------------------------------------------------------
   Canales
   -------------------------------------------------------------------------- */

.channels-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.channel-market {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.channel-market:last-child {
  border-bottom: 1px solid var(--line);
}

.channel-market__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.channel-market__head h3 {
  font-size: 1.32rem;
}

.channel-market__head span {
  color: var(--gold-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Límites / FAQ
   -------------------------------------------------------------------------- */

.limits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.limit-item {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 22px;
  background: var(--surface);
}

.limit-item span {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.3;
}

.limit-item > h3,
.limit-item > p {
  grid-column: 2;
}

.limit-item p {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.limit-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--ink);
  font-size: 12.5px;
}

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.08rem, 1.7vw, 1.3rem);
  letter-spacing: -0.02em;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--gold-deep);
  content: "+";
  flex: 0 0 auto;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  transition: transform 0.2s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  max-width: 70ch;
  padding: 0 0 22px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Página de empresa · HALVORA (identidad ficticia)
   -------------------------------------------------------------------------- */

.company-shell {
  --brand: #275b7c;
  --brand-deep: #0d2a3d;
  --brand-deeper: #081b28;
  --brand-soft: #e9f0f4;
  --brand-ink: #102a3a;
  --brand-line: rgba(39, 91, 124, 0.2);
  background: #f8f5ef;
}

.company-shell[data-brand-theme="oxido"] {
  --brand: #a25731;
  --brand-deep: #5f2f1b;
  --brand-deeper: #3c1d11;
  --brand-soft: #f7e9df;
  --brand-ink: #4d2918;
  --brand-line: rgba(162, 87, 49, 0.22);
}

.company-shell[data-brand-theme="grafito"] {
  --brand: #46535f;
  --brand-deep: #222c35;
  --brand-deeper: #131b22;
  --brand-soft: #eceff1;
  --brand-ink: #242e37;
  --brand-line: rgba(70, 83, 95, 0.22);
}

.company-topbar {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.company-topbar__inner {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.company-powered {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
  font-size: 9.5px;
  text-decoration: none;
}

.company-powered img {
  width: 142px;
  height: auto;
}

.company-powered span {
  padding-left: 14px;
  border-left: 1px solid var(--line);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.company-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 7.5vw, 88px);
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 255, 255, 0.12), transparent 30%),
    linear-gradient(150deg, var(--brand-deep), var(--brand-deeper));
  color: rgba(255, 255, 255, 0.78);
  transition: background 0.4s var(--ease);
}

.company-hero__pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 56%;
  height: 100%;
  opacity: 0.85;
  pointer-events: none;
}

.company-hero__pattern::before {
  position: absolute;
  top: -120px;
  right: -50px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.company-hero__pattern::after {
  position: absolute;
  top: 38px;
  right: 110px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 44px rgba(255, 255, 255, 0.018),
    0 0 0 90px rgba(255, 255, 255, 0.012);
  content: "";
}

.company-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
}

.company-lockup {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 34px;
}

.company-mark {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 2px 14px 2px 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--serif);
  font-size: 1.65rem;
  line-height: 1;
}

.company-lockup__text strong {
  display: block;
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.24em;
  line-height: 1.2;
}

.company-lockup__text span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  letter-spacing: 0.03em;
}

.company-hero h1 {
  max-width: 12ch;
  margin-bottom: 20px;
  color: #fff;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.company-hero h1 em {
  color: var(--gold-soft);
}

.company-hero__lead {
  max-width: 50ch;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  line-height: 1.65;
}

.company-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.company-hero__actions .button--light {
  background: #fff;
}

.company-hero__actions .button--ghost-light {
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff;
}

.company-hero__actions .button--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.theme-panel {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: var(--radius);
  background: rgba(7, 18, 29, 0.4);
  backdrop-filter: blur(8px);
}

.theme-panel__label {
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.theme-panel p {
  margin-bottom: 13px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
  line-height: 1.5;
}

.theme-swatches {
  display: flex;
  gap: 8px;
}

.theme-swatch {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: transparent;
  color: transparent;
  font-size: 0;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.theme-swatch::before {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--swatch);
  content: "";
}

.theme-swatch[aria-pressed="true"] {
  border-color: #fff;
  transform: scale(1.06);
}

.theme-swatch[data-brand-theme="cobalto"] {
  --swatch: #275b7c;
}

.theme-swatch[data-brand-theme="oxido"] {
  --swatch: #a25731;
}

.theme-swatch[data-brand-theme="grafito"] {
  --swatch: #46535f;
}

.theme-status {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 9.5px;
  line-height: 1.5;
}

.company-band {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.company-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 30px;
  padding-block: 17px;
}

.company-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-facts li {
  color: var(--muted);
  font-size: 11.5px;
}

.company-facts strong {
  margin-right: 6px;
  color: var(--brand-ink);
  font-weight: 700;
}

.company-nav {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.9);
}

.company-nav__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.company-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.company-nav a:hover {
  background: var(--brand-soft);
}

.company-section {
  padding-block: clamp(56px, 7vw, 94px);
}

.company-section--warm {
  background: #f2ece2;
}

.company-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 90px);
  align-items: start;
}

.company-intro h2 {
  color: var(--brand-ink);
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
}

.company-intro__body {
  max-width: 58ch;
  color: #4f5a63;
  font-size: 14px;
  line-height: 1.72;
}

.company-intro__body p {
  margin-bottom: 16px;
}

.company-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.company-signal {
  padding: 7px 11px;
  border: 1px solid var(--brand-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  color: var(--brand-ink);
  font-size: 10px;
  font-weight: 600;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 14px;
  margin-top: 32px;
}

.media-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--brand-line);
  border-radius: 2px 22px 2px 22px;
  background: var(--brand-deep);
  color: #fff;
}

.media-card::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 34px 34px;
  content: "";
  opacity: 0.8;
}

.media-card::after {
  position: absolute;
  top: 38px;
  right: 34px;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255, 255, 255, 0.03);
  content: "";
}

.media-card--alt {
  background: var(--brand);
}

.media-card--alt::after {
  top: auto;
  right: auto;
  bottom: -80px;
  left: -60px;
  width: 260px;
  height: 260px;
}

.media-card__inner {
  position: relative;
  z-index: 1;
  max-width: 38ch;
}

.media-card__eyebrow {
  display: inline-flex;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.media-card h3 {
  margin-bottom: 7px;
  color: #fff;
  font-size: 1.35rem;
}

.media-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 11.5px;
  line-height: 1.55;
}

.media-card__note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  font-weight: 600;
}

.media-card__note::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold-soft);
  content: "";
}

.media-card__play {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 14px;
}

.media-card__play:hover {
  background: rgba(255, 255, 255, 0.16);
}

.company-offers-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 30px;
  margin-bottom: 30px;
}

.company-offers-head h2 {
  margin-bottom: 8px;
  color: var(--brand-ink);
}

.company-offers-head p {
  max-width: 55ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.offers-console {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.offers-console__toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(130px, 0.7fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.field--compact {
  gap: 5px;
}

.field--compact label {
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.field--compact input,
.field--compact select {
  min-height: 42px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 11.5px;
}

.field--compact .field__search {
  position: relative;
}

.offers-results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
}

.offers-results-bar strong {
  color: var(--brand-ink);
  font-weight: 700;
}

.offers-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.2s var(--ease);
}

.offer-row:last-child {
  border-bottom: 0;
}

.offer-row:hover {
  background: rgba(255, 253, 249, 0.8);
}

.offer-row__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 9px;
}

.offer-row__title {
  margin-bottom: 6px;
  color: var(--brand-ink);
  font-family: var(--serif);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.offer-row__summary {
  max-width: 68ch;
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.offer-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 13px;
  color: var(--muted);
  font-size: 11px;
}

.offer-row__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.offer-row__meta span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.offer-row__meta span:first-child::before {
  display: none;
}

.offer-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-row__actions .button {
  min-height: 40px;
  padding-inline: 17px;
  font-size: 11.5px;
}

.company-shell .button--primary,
.company-shell .offers-console .button--primary {
  background: var(--brand);
  box-shadow: 0 10px 24px -16px rgba(12, 26, 44, 0.55);
}

.company-shell .button--primary:hover {
  background: var(--brand-deep);
}

.company-shell .button--outline {
  border-color: var(--brand-line);
  color: var(--brand-ink);
}

.company-shell .button--outline:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
}

.offer-empty {
  padding: 48px 24px;
  text-align: center;
}

.offer-empty h3 {
  margin-bottom: 8px;
  color: var(--brand-ink);
  font-size: 1.5rem;
}

.offer-empty p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.confidential-demo {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--brand-line);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: var(--surface);
}

.confidential-demo__copy {
  padding: 30px;
}

.confidential-demo__copy h2 {
  margin-bottom: 12px;
  color: var(--brand-ink);
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.confidential-demo__copy p {
  max-width: 44ch;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.confidential-demo__points {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.confidential-demo__points li {
  position: relative;
  padding-left: 15px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.55;
}

.confidential-demo__points li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.confidential-demo__sample {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1), transparent 40%),
    linear-gradient(150deg, var(--brand-deep), var(--brand-deeper));
}

.masked-offer {
  width: min(100%, 380px);
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 2px 16px 2px 16px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  backdrop-filter: blur(5px);
}

.masked-offer__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.masked-offer__logo {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--serif);
  font-size: 15px;
}

.masked-offer__head span {
  color: rgba(255, 255, 255, 0.52);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.masked-offer h3 {
  margin-bottom: 8px;
  color: #fff;
  font-size: 1.7rem;
}

.masked-offer p {
  color: rgba(255, 255, 255, 0.64);
  font-size: 11.5px;
  line-height: 1.55;
}

.masked-offer__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.masked-offer__meta span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 9px;
}

.confidential-demo__flag {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
}

.company-footer {
  padding-block: 44px;
  background: var(--brand-deeper);
  color: rgba(255, 255, 255, 0.5);
}

.company-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
}

.company-footer__brand strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.company-footer__brand p {
  max-width: 54ch;
  font-size: 11px;
  line-height: 1.6;
}

.company-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
}

.company-footer__links a {
  color: rgba(255, 255, 255, 0.56);
  text-decoration: none;
}

.company-footer__links a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Modales y formularios
   -------------------------------------------------------------------------- */

.modal {
  width: min(calc(100% - 32px), 620px);
  max-height: min(88vh, 820px);
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 110px -30px rgba(0, 0, 0, 0.55);
  overflow: auto;
}

.modal--wide {
  width: min(calc(100% - 32px), 820px);
}

.modal::backdrop {
  background: rgba(4, 12, 20, 0.62);
  backdrop-filter: blur(4px);
}

.modal__header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(8px);
}

.modal__eyebrow {
  margin-bottom: 4px;
  color: var(--gold-deep);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.modal__title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.modal__close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.modal__close:hover {
  background: rgba(12, 26, 44, 0.06);
}

.modal__body {
  padding: 22px 24px 26px;
}

.modal__body > p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.demo-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  padding: 11px 13px;
  border: 1px solid var(--line-gold);
  border-radius: 8px;
  background: rgba(179, 145, 90, 0.07);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

.demo-notice::before {
  padding: 1px 5px;
  border: 1px solid var(--gold-deep);
  border-radius: 3px;
  color: var(--gold-deep);
  content: "DEMO";
  flex: 0 0 auto;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.field {
  display: grid;
  gap: 6px;
  margin-bottom: 15px;
}

.field label,
.field-label {
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.field label .optional {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 13px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea {
  min-height: 94px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b8f95;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: rgba(12, 26, 44, 0.4);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(12, 26, 44, 0.08);
}

.field .hint {
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.45;
}

.field__error {
  color: var(--danger);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background: #fffafb;
}

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

.file-field {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.7);
}

.file-field input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  cursor: pointer;
}

.file-field__icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--paper-warm);
  color: var(--gold-deep);
  font-size: 13px;
}

.file-field__copy strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}

.file-field__copy span {
  color: var(--muted);
  font-size: 9px;
}

.file-field__name {
  margin-top: 2px;
  color: var(--success);
  font-size: 9px;
  font-weight: 650;
}

.checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.checkbox input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.checkbox a {
  color: var(--ink);
}

.offer-preview__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.offer-preview__meta div {
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.offer-preview__meta span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.offer-preview__meta strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.4;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 21px;
}

.modal__actions .button {
  flex: 1 1 auto;
}

.form-status {
  margin-top: 12px;
}

.form-status:empty {
  display: none;
}

.form-success {
  padding: 8px 0 2px;
}

.form-success__mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 16px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.form-success h3 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.form-success p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.form-success__file {
  margin: 12px 0 18px;
  padding: 10px 12px;
  border-left: 2px solid var(--gold);
  background: rgba(179, 145, 90, 0.07);
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Panel de empresa · producto
   -------------------------------------------------------------------------- */

.app-body {
  background: #f4f0e8;
}

.app-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.app-header__inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-inline: clamp(20px, 3.5vw, 38px);
}

.app-header__group {
  display: flex;
  align-items: center;
  gap: 18px;
}

.app-header img {
  width: 165px;
}

.app-header__divider {
  width: 1px;
  height: 26px;
  background: var(--line);
}

.app-header__context {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.app-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-header__actions .text-link {
  font-size: 10.5px;
}

.app-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 10px;
}

.app-user__avatar {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 11px;
}

.app-shell {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  min-height: calc(100vh - 66px - 35px);
}

.app-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 26px 18px 22px;
  border-right: 1px solid var(--line);
  background: #f9f6f0;
}

.app-context {
  margin: 0;
  padding: 0 8px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.app-context strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-transform: none;
}

.app-nav {
  display: grid;
  gap: 4px;
}

.app-nav__item {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 560;
  text-align: left;
}

.app-nav__item:hover {
  background: rgba(12, 26, 44, 0.045);
}

.app-nav__item[aria-selected="true"] {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 8px 20px -18px rgba(12, 26, 44, 0.4);
}

.app-nav__icon {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 6px;
  background: rgba(12, 26, 44, 0.06);
  color: var(--muted);
  font-size: 10px;
}

.app-nav__item[aria-selected="true"] .app-nav__icon {
  background: var(--ink);
  color: var(--paper);
}

.app-nav__meta {
  margin-left: auto;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
}

.app-sidebar__foot {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid var(--line);
}

.app-sidebar__foot a {
  color: var(--muted);
  font-size: 9.5px;
  text-decoration: none;
}

.app-sidebar__foot a:hover {
  color: var(--ink);
}

.app-sidebar__foot .demo-note {
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
}

.app-main {
  min-width: 0;
}

.app-toolbar {
  display: flex;
  min-height: 62px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px clamp(20px, 3.5vw, 38px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.74);
}

.app-toolbar__company {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-company-mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(39, 91, 124, 0.25);
  border-radius: 2px 8px 2px 8px;
  background: #e9f0f4;
  color: #1e4b65;
  font-family: var(--serif);
  font-size: 13px;
}

.app-toolbar__company strong {
  display: block;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.app-toolbar__company small {
  color: var(--muted);
  font-size: 8px;
}

.app-toolbar__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.demo-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 10px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  background: rgba(179, 145, 90, 0.09);
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.demo-badge-large::before {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.app-content {
  max-width: 1260px;
  padding: clamp(24px, 4vw, 42px);
}

.app-view {
  animation: view-in 0.24s var(--ease);
}

@keyframes view-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.app-view__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.app-view__head h1 {
  margin-bottom: 6px;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.app-view__head p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.app-view__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.isolated-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(179, 145, 90, 0.1), rgba(179, 145, 90, 0.035));
}

.isolated-banner p {
  max-width: 92ch;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.isolated-banner strong {
  color: var(--ink);
}

.isolated-banner .tag {
  flex: 0 0 auto;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.stat-card__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.stat-card__label span {
  color: var(--gold-deep);
  font-size: 7px;
  letter-spacing: 0.03em;
  text-transform: none;
}

.stat-card__value {
  margin-bottom: 6px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.7vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-card__note {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.4;
}

.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.traffic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.traffic-cell {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.traffic-cell small {
  display: block;
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.traffic-cell strong {
  display: block;
  margin: 5px 0 4px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
}

.traffic-cell span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.traffic-note {
  grid-column: 1 / -1;
  max-width: 82ch;
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.panel {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
}

.panel__head h2,
.panel__head h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-transform: uppercase;
}

.panel__head p {
  color: var(--muted);
  font-size: 8.5px;
}

.panel__body {
  padding: 18px;
}

.panel__body--flush {
  padding: 0;
}

.panel-empty {
  padding: 32px 22px;
  text-align: center;
}

.panel-empty h4 {
  margin: 10px 0 6px;
  font-family: var(--serif);
  font-size: 1.2rem;
}

.panel-empty p {
  max-width: 38ch;
  margin: 0 auto 12px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.5;
}

.panel-empty__mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.progress-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 10px;
}

.progress-row__label {
  color: var(--ink-soft);
  font-size: 9.5px;
}

.progress-row__track {
  height: 5px;
  border-radius: 999px;
  background: rgba(12, 26, 44, 0.07);
  overflow: hidden;
}

.progress-row__fill {
  width: var(--fill, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--ink);
}

.progress-row__fill--gold {
  background: var(--gold);
}

.progress-row__fill--accent {
  background: var(--accent);
}

.progress-row__value {
  color: var(--muted);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.chart-shell {
  position: relative;
  display: flex;
  min-height: 150px;
  align-items: flex-end;
  gap: 7px;
  padding-top: 16px;
}

.chart-shell::before {
  position: absolute;
  top: 16px;
  right: 0;
  bottom: 20px;
  left: 0;
  background-image: linear-gradient(rgba(12, 26, 44, 0.055) 1px, transparent 1px);
  background-size: 100% 32px;
  content: "";
}

.chart-bar {
  position: relative;
  flex: 1;
  height: var(--h, 20%);
  min-height: 8px;
  border-radius: 3px 3px 0 0;
  background: rgba(12, 26, 44, 0.12);
}

.chart-bar:nth-child(2n) {
  background: rgba(179, 145, 90, 0.28);
}

.chart-bar::after {
  position: absolute;
  right: 0;
  bottom: -18px;
  left: 0;
  color: var(--muted);
  font-size: 6.5px;
  text-align: center;
  content: attr(data-label);
}

.chart-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 8px;
}

.chart-note span:last-child {
  color: var(--gold-deep);
  font-weight: 650;
}

.todo-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.todo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.todo-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.todo-item:first-child {
  padding-top: 0;
}

.todo-item p {
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.45;
}

.todo-item small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.todo-item .button {
  min-height: 30px;
  padding: 0 12px;
  font-size: 8.5px;
}

.app-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
}

.app-table caption {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 8.5px;
  text-align: left;
}

.app-table th {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: #faf6ef;
  color: var(--muted);
  font-size: 7.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.app-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  vertical-align: middle;
}

.app-table tbody tr:last-child td {
  border-bottom: 0;
}

.app-table tbody tr:hover td {
  background: rgba(247, 243, 236, 0.55);
}

.app-table__title {
  font-weight: 650;
  color: var(--ink);
}

.app-table__sub {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
}

.app-table .button {
  min-height: 30px;
  padding: 0 11px;
  font-size: 8px;
}

.table-wrap {
  overflow-x: auto;
}

.stage-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(12, 26, 44, 0.06);
  color: var(--ink-soft);
  font-size: 8px;
  font-weight: 650;
  white-space: nowrap;
}

.stage-badge::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.stage-badge--review {
  background: rgba(179, 145, 90, 0.13);
  color: var(--gold-deep);
}

.stage-badge--interview {
  background: rgba(39, 91, 124, 0.1);
  color: #24546d;
}

.stage-badge--decision {
  background: rgba(47, 106, 80, 0.1);
  color: var(--success);
}

.stage-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.filter-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 650;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-chip[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.filter-chip span {
  opacity: 0.6;
  font-variant-numeric: tabular-nums;
}

.candidate-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.candidate-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1.3fr) minmax(110px, 0.55fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
}

.candidate-row__avatar {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 12px;
}

.candidate-row h3 {
  margin-bottom: 2px;
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.candidate-row p {
  color: var(--muted);
  font-size: 8px;
  line-height: 1.45;
}

.candidate-row__stage {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

.candidate-row__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-end;
}

.candidate-row__actions .button {
  min-height: 30px;
  padding: 0 10px;
  font-size: 8px;
}

.candidate-empty {
  padding: 28px;
  border: 1px dashed var(--line-strong);
  border-radius: 9px;
  color: var(--muted);
  font-size: 10px;
  text-align: center;
}

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

.sources-market {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.sources-market__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.sources-market__head h2 {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.sources-market__head span {
  color: var(--muted);
  font-size: 7.5px;
}

.source-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.source-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.source-item:last-child {
  border-bottom: 0;
}

.source-item__name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 650;
}

.source-item__name::before {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #faf6ef;
  content: "";
}

.source-item__state {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 7.5px;
  white-space: nowrap;
}

.source-item__state::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-soft);
  content: "";
}

.source-item__action {
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  font-size: 8px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.source-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 16px;
  align-items: start;
}

.source-side {
  display: grid;
  gap: 12px;
}

.source-note {
  padding: 17px;
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  background: rgba(179, 145, 90, 0.06);
}

.source-note h3 {
  margin-bottom: 6px;
  font-size: 1.15rem;
}

.source-note p {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.55;
}

.source-note ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.source-note li {
  position: relative;
  padding-left: 12px;
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.45;
}

.source-note li::before {
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

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

.talent-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.talent-card--dark {
  border-color: rgba(247, 243, 236, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(179, 145, 90, 0.16), transparent 36%),
    linear-gradient(150deg, var(--ink-mid), var(--ink-deep));
  color: rgba(247, 243, 236, 0.68);
}

.talent-card h2 {
  margin: 14px 0 8px;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
}

.talent-card--dark h2 {
  color: var(--paper);
}

.talent-card > p {
  max-width: 42ch;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.talent-card--dark > p {
  color: rgba(247, 243, 236, 0.58);
}

.talent-card .plan-feature {
  border-top-color: var(--line);
  font-size: 9.5px;
}

.talent-card--dark .plan-feature {
  border-top-color: rgba(247, 243, 236, 0.12);
}

.talent-card--dark .plan-feature span {
  color: rgba(247, 243, 236, 0.82);
}

.talent-card--dark .plan-feature small {
  color: var(--gold-soft);
}

.talent-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.talent-guardrail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: rgba(179, 145, 90, 0.06);
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.6;
}

.talent-guardrail strong {
  color: var(--ink);
}

.app-footer-note {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

/* Legibilidad del panel de demostración */

.app-context {
  font-size: 9px;
}

.app-nav__item {
  font-size: 12.5px;
}

.app-nav__meta {
  font-size: 9px;
}

.app-sidebar__foot a {
  font-size: 10.5px;
}

.app-sidebar__foot .demo-note {
  font-size: 9px;
}

.app-toolbar__company strong {
  font-size: 12px;
}

.app-toolbar__company small {
  font-size: 9px;
}

.demo-badge-large {
  font-size: 9px;
}

.app-view__head p {
  font-size: 12.5px;
}

.isolated-banner p {
  font-size: 11.5px;
}

.stat-card__label {
  font-size: 9px;
}

.stat-card__label span {
  font-size: 8px;
}

.stat-card__note {
  font-size: 9.5px;
  line-height: 1.5;
}

.panel__head h2,
.panel__head h3 {
  font-size: 12px;
}

.panel__head p {
  font-size: 9.5px;
}

.panel-empty p {
  font-size: 11px;
}

.app-table {
  font-size: 11px;
}

.app-table caption {
  font-size: 9.5px;
}

.app-table th {
  font-size: 8.5px;
}

.app-table__sub {
  font-size: 9px;
}

.app-table .button {
  font-size: 9px;
}

.stage-badge {
  font-size: 9px;
}

.filter-chip {
  font-size: 9.5px;
}

.candidate-row h3 {
  font-size: 12px;
}

.candidate-row p {
  font-size: 9.5px;
}

.candidate-row__actions .button {
  font-size: 9.5px;
}

.progress-row__label {
  font-size: 10.5px;
}

.progress-row__value {
  font-size: 9px;
}

.chart-note {
  font-size: 9px;
}

.todo-item p {
  font-size: 11px;
}

.todo-item small {
  font-size: 9px;
}

.todo-item .button {
  font-size: 9.5px;
}

.sources-market__head h2 {
  font-size: 11px;
}

.sources-market__head span {
  font-size: 8.5px;
}

.source-item__name {
  font-size: 11.5px;
}

.source-item__state {
  font-size: 9px;
}

.source-item__action {
  font-size: 9.5px;
}

.source-note p {
  font-size: 10.5px;
}

.source-note li {
  font-size: 10px;
}

.talent-card > p {
  font-size: 11.5px;
}

.talent-card .plan-feature {
  font-size: 10.5px;
}

.talent-card .plan-feature small {
  font-size: 9px;
}

.talent-guardrail {
  font-size: 10.5px;
}

/* --------------------------------------------------------------------------
   Consultoras
   -------------------------------------------------------------------------- */

.consultora-console {
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: var(--ink-deep);
  box-shadow: var(--shadow-float);
}

.consultora-console__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid rgba(247, 243, 236, 0.13);
}

.consultora-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--paper);
}

.consultora-brand__mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(220, 196, 154, 0.5);
  border-radius: 50%;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 12px;
}

.consultora-brand strong {
  display: block;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.consultora-brand small {
  display: block;
  margin-top: 2px;
  color: rgba(247, 243, 236, 0.48);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.consultora-console__bar .tag {
  border-color: rgba(247, 243, 236, 0.18);
  color: rgba(247, 243, 236, 0.66);
}

.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 14px 22px 0;
  border-bottom: 1px solid rgba(247, 243, 236, 0.12);
  background: var(--ink-mid);
}

.client-tab {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 7px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 5px 5px 0 0;
  background: transparent;
  color: rgba(247, 243, 236, 0.56);
  font-size: 11px;
  font-weight: 600;
}

.client-tab::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.client-tab[aria-selected="true"] {
  border-color: rgba(247, 243, 236, 0.13);
  background: var(--ink-deep);
  color: var(--paper);
}

.client-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 0;
}

.client-panel__main {
  padding: 24px;
  border-right: 1px solid rgba(247, 243, 236, 0.12);
}

.client-panel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.client-panel__head h3 {
  color: var(--paper);
  font-size: 1.55rem;
}

.client-panel__head p {
  color: rgba(247, 243, 236, 0.52);
  font-size: 9.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.client-panel__side {
  padding: 24px;
  background: rgba(247, 243, 236, 0.035);
}

.client-panel__side h4 {
  margin-bottom: 10px;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.client-panel__side p,
.client-panel__side li {
  color: rgba(247, 243, 236, 0.58);
  font-size: 10.5px;
  line-height: 1.6;
}

.client-panel__side ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-panel__side li {
  padding-left: 11px;
  position: relative;
}

.client-panel__side li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.client-process-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.client-process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 13px 15px;
  border: 1px solid rgba(247, 243, 236, 0.14);
  border-radius: 6px;
  background: rgba(247, 243, 236, 0.045);
}

.client-process strong {
  display: block;
  color: rgba(247, 243, 236, 0.9);
  font-size: 11.5px;
  font-weight: 600;
}

.client-process small {
  display: block;
  margin-top: 3px;
  color: rgba(247, 243, 236, 0.46);
  font-size: 9.5px;
}

.client-process .stage-badge {
  background: rgba(247, 243, 236, 0.08);
  color: rgba(247, 243, 236, 0.6);
}

.isolation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.isolation-card {
  padding: 24px;
  background: var(--surface);
}

.isolation-card__num {
  display: block;
  margin-bottom: 22px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.isolation-card h3 {
  margin-bottom: 8px;
  font-size: 1.4rem;
}

.isolation-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
}

.access-matrix {
  width: 100%;
  border-collapse: collapse;
  font-size: 10.5px;
}

.access-matrix th,
.access-matrix td {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.access-matrix thead th {
  background: var(--paper-warm);
  color: var(--ink);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.access-matrix tbody th {
  color: var(--ink);
  font-size: 11px;
  font-weight: 650;
}

.access-matrix td {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.access-matrix tbody tr:last-child th,
.access-matrix tbody tr:last-child td {
  border-bottom: 0;
}

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

.mode-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.mode-card--consultora {
  border-color: var(--line-gold);
  background:
    linear-gradient(180deg, rgba(179, 145, 90, 0.07), transparent);
}

.mode-card__eyebrow {
  margin-bottom: 16px;
  color: var(--gold-deep);
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mode-card h3 {
  margin-bottom: 9px;
  font-size: 1.55rem;
}

.mode-card > p {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.62;
}

.mode-details {
  display: grid;
  gap: 0;
  margin: 0;
}

.mode-details div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.mode-details dt {
  color: var(--muted);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mode-details dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Candidatos
   -------------------------------------------------------------------------- */

.candidate-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(42px, 6vw, 76px) clamp(34px, 4.5vw, 56px);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 16%, rgba(179, 145, 90, 0.15), transparent 33%),
    linear-gradient(180deg, var(--paper), #f8f4ed);
}

.candidate-hero__head {
  max-width: 780px;
  margin-bottom: 30px;
}

.candidate-hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.8rem, 5.6vw, 5.3rem);
}

.candidate-hero h1 em {
  color: var(--accent);
  font-style: italic;
}

.candidate-hero__lead {
  max-width: 63ch;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
}

.search-console {
  padding: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.search-console__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.search-console__top p {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(200px, 1.7fr) repeat(3, minmax(120px, 0.75fr)) auto;
  gap: 10px;
  align-items: end;
}

.search-form .field {
  margin-bottom: 0;
}

.search-form .button {
  min-height: 46px;
}

.search-form__reset {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.search-form__reset:hover {
  color: var(--ink);
}

.results-section {
  padding-block: clamp(42px, 5.5vw, 70px);
}

.results-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.results-bar h2 {
  margin-bottom: 4px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
}

.results-bar p {
  color: var(--muted);
  font-size: 11px;
}

.results-bar__count {
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 650;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.job-card {
  position: relative;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 2px var(--radius) 2px var(--radius);
  background: var(--surface);
  transition: border-color 0.22s var(--ease), transform 0.22s var(--ease), box-shadow 0.22s var(--ease);
}

.job-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: translateY(-2px);
}

.job-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.job-card__company {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.35;
}

.job-card__company-mark {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #c7d6df;
  border-radius: 2px 7px 2px 7px;
  background: #e9f0f4;
  color: #1e4b65;
  font-family: var(--serif);
  font-size: 11px;
}

.job-card__company-mark--sofia {
  border-color: var(--line);
  border-radius: 50%;
  background: var(--paper-warm);
  color: var(--gold-deep);
}

.job-card__title {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.job-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 11px;
}

.job-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.job-card__meta span::before {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.job-card__meta span:first-child::before {
  display: none;
}

.job-card__excerpt {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.58;
}

.job-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.job-card__foot .button {
  min-height: 37px;
  padding-inline: 15px;
  font-size: 11px;
}

.job-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
}

.job-card__foot .text-link {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.job-card__company-link {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.job-card__company-link:hover {
  color: var(--ink);
}

.job-card__company-link--plain {
  text-decoration: none;
}

.job-card--confidential {
  border-color: var(--line-gold);
  background:
    linear-gradient(155deg, rgba(179, 145, 90, 0.09), rgba(255, 253, 249, 0.96));
}

.job-card--confidential .job-card__company-mark {
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-soft);
}

.job-card__badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 5px;
  margin-bottom: 12px;
  padding: 4px 8px;
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  color: var(--gold-deep);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-card__badge::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.jobs-empty {
  padding: 54px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  text-align: center;
}

.jobs-empty h3 {
  margin-bottom: 8px;
  font-size: 1.7rem;
}

.jobs-empty p {
  max-width: 40ch;
  margin: 0 auto 18px;
  color: var(--muted);
  font-size: 12px;
}

/* Empresa destacada · experiencia de candidato */

.company-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(32px, 5vw, 74px);
  align-items: center;
}

.company-spotlight__copy h2 {
  margin-bottom: 16px;
}

.company-spotlight__copy > p {
  max-width: 52ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.65;
}

.company-spotlight__points {
  display: grid;
  gap: 9px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.company-spotlight__points li {
  position: relative;
  padding-left: 17px;
  color: var(--ink-soft);
  font-size: 11.5px;
  line-height: 1.5;
}

.company-spotlight__points li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  content: "";
}

.company-spotlight__card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line-gold);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background:
    radial-gradient(circle at 94% 0%, rgba(179, 145, 90, 0.18), transparent 36%),
    linear-gradient(160deg, #fffdf9, #f6f0e6);
  box-shadow: var(--shadow-card);
}

.company-spotlight__card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 22px;
}

.company-spotlight__card-top > span:first-child {
  color: var(--gold-deep);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.company-spotlight__brand {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}

.company-spotlight__mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--line-gold);
  border-radius: 3px 16px 3px 16px;
  background: var(--ink);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 22px;
}

.company-spotlight__brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.company-spotlight__brand div span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.company-spotlight__desc {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.62;
}

.company-spotlight__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 20px 0;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}

.company-spotlight__facts span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.company-spotlight__facts strong {
  display: block;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.45;
}

.company-spotlight__card .button {
  width: 100%;
}

.candidate-note-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 249, 0.6);
  color: var(--muted);
  font-size: 10.5px;
}

.candidate-note-bar strong {
  color: var(--ink-soft);
}

.candidate-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.candidate-step {
  padding: 26px;
  background: var(--surface);
}

.candidate-step__num {
  display: block;
  margin-bottom: 24px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 12px;
}

.candidate-step h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.candidate-step p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.candidate-step__state {
  display: inline-flex;
  margin-top: 16px;
}

.candidate-privacy {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.candidate-privacy__card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.candidate-privacy__note {
  max-width: 48ch;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.62;
}

.candidate-privacy .button {
  margin-top: 20px;
}

.privacy-points {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-point {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.privacy-point:first-child {
  border-top: 0;
}

.privacy-point span {
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 11px;
}

.privacy-point strong {
  display: block;
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 11.5px;
}

.privacy-point p {
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.58;
}

.spontaneous {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 26px 28px;
  border: 1px solid var(--line-gold);
  border-radius: 2px var(--radius-lg) 2px var(--radius-lg);
  background: rgba(179, 145, 90, 0.06);
}

.spontaneous h2 {
  margin-bottom: 6px;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
}

.spontaneous p {
  max-width: 56ch;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Privacidad / prosa
   -------------------------------------------------------------------------- */

.prose-page {
  padding-block: clamp(52px, 7vw, 92px);
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(36px, 7vw, 100px);
  align-items: start;
}

.prose-aside {
  position: sticky;
  top: 120px;
}

.prose-aside h1 {
  margin-bottom: 18px;
  font-size: clamp(2.6rem, 4.5vw, 4.1rem);
}

.prose-aside p {
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.64;
}

.prose-aside .tag {
  margin-bottom: 18px;
}

.prose-aside__meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.prose-nav {
  display: grid;
  gap: 7px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.prose-nav a {
  color: var(--ink-soft);
  font-size: 11.5px;
  text-decoration: none;
}

.prose-nav a:hover {
  color: var(--accent);
}

.prose h2 {
  margin: 42px 0 15px;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin: 26px 0 8px;
  font-size: 1.3rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.75;
}

.prose ul {
  padding-left: 1.1rem;
}

.prose li {
  margin-bottom: 8px;
}

.prose .callout {
  margin: 24px 0;
  padding: 19px 21px;
  border-left: 2px solid var(--gold);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.68;
}

.prose .status-legend {
  margin-top: 22px;
}

.prose .status-legend + h2 {
  margin-top: 36px;
}

.prose .callout strong {
  color: var(--ink);
}

.prose hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Responsive · 1180 px
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .home-hero__layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
    gap: 36px;
  }

  .hero-board {
    min-height: 500px;
    padding: 24px;
  }

  .gateway__card {
    padding-inline: 17px;
  }

  .offers-console__toolbar {
    grid-template-columns: minmax(200px, 1.4fr) repeat(3, minmax(110px, 0.7fr)) auto;
  }

  .app-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  }

  .search-form {
    grid-template-columns: minmax(180px, 1.4fr) repeat(3, minmax(110px, 0.7fr));
  }

  .search-form .button {
    grid-column: auto;
  }

  .search-form__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   Responsive · 1020 px
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  :root {
    --header-height: 70px;
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .demo-chip {
    display: none;
  }

  .home-hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-board {
    min-height: 380px;
    border-radius: 2px 20px 2px 20px;
  }

  .hero-board__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.85fr);
    gap: 30px;
    align-items: start;
  }

  .hero-board__quote {
    margin-bottom: 0;
    font-size: 2.6rem;
  }

  .board-steps {
    align-self: end;
  }

  .level-card {
    min-height: 400px;
    padding: 24px;
  }

  .level-card__list li {
    display: grid;
    gap: 3px;
  }

  .level-card__list small {
    text-align: left;
  }

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

  .flow-step {
    min-height: 300px;
    border-bottom: 1px solid var(--line);
  }

  .flow-step:nth-child(2n) {
    border-right: 0;
  }

  .flow-step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .flow-step__num {
    margin-bottom: 28px;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-copy {
    max-width: 720px;
  }

  .company-hero__grid {
    grid-template-columns: minmax(0, 1fr) 230px;
  }

  .company-hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
  }

  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.7fr);
    gap: 40px;
  }

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

  .plan-card:last-child {
    grid-column: 1 / -1;
  }

  .plan-card:last-child .plan-card__desc {
    min-height: 0;
  }

  .source-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .source-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .client-panel__main {
    border-right: 0;
    border-bottom: 1px solid rgba(247, 243, 236, 0.12);
  }

  .app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .app-sidebar {
    display: block;
    position: static;
    padding: 14px clamp(20px, 3.5vw, 38px);
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: #f9f6f0;
  }

  .app-context {
    display: none;
  }

  .app-nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 5px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .app-nav__item {
    min-height: 38px;
    flex: 0 0 auto;
    padding: 0 13px;
    border-color: transparent;
    white-space: nowrap;
  }

  .app-nav__icon {
    display: none;
  }

  .app-sidebar__foot {
    display: none;
  }

  .app-content {
    max-width: none;
  }

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

  .app-header__group .app-header__divider,
  .app-header__context {
    display: none;
  }

  .app-header img {
    width: 155px;
  }

  .app-user span {
    display: none;
  }

  .offers-console__toolbar {
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 0.7fr));
  }

  .offers-console__toolbar .field:nth-of-type(4) {
    grid-column: 1 / 2;
  }

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

  .company-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .candidate-privacy {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .prose-aside {
    position: static;
  }

  .prose-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
}

/* --------------------------------------------------------------------------
   Responsive · 820 px
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .demo-bar__right {
    display: none;
  }

  .company-spotlight {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }
}

@media (max-width: 820px) {
  .demo-bar__text {
    display: none;
  }

  .home-hero {
    padding-block: 38px 34px;
  }

  .home-hero__title {
    font-size: clamp(2.8rem, 9.5vw, 4.5rem);
  }

  .gateway {
    grid-template-columns: minmax(0, 1fr);
    border-bottom: 0;
  }

  .gateway__card {
    min-height: 0;
    padding: 18px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .gateway__num {
    margin-bottom: 10px;
  }

  .gateway__hint {
    max-width: 44ch;
    padding-top: 10px;
  }

  .gateway__arrow {
    top: 17px;
  }

  .hero-board__main {
    display: block;
  }

  .hero-board__quote {
    margin-bottom: 26px;
  }

  .capability-strip__inner {
    justify-content: flex-start;
    gap: 10px 22px;
  }

  .capability-strip__item {
    font-size: 9px;
  }

  .level-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .level-card {
    min-height: 0;
  }

  .level-card__desc {
    min-height: 0;
  }

  .level-card__list li {
    display: flex;
  }

  .level-card__list small {
    text-align: right;
  }

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

  .method__step {
    min-height: 230px;
    border-bottom: 1px solid var(--line);
  }

  .method__step:nth-child(2n) {
    border-right: 0;
  }

  .method__step:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .section-head--split {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .markets-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .market {
    padding-right: 0;
  }

  .market + .market {
    padding-left: 0;
    border-left: 0;
  }

  .principles-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .principle__num {
    margin-bottom: 14px;
  }

  .page-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .page-hero__aside {
    max-width: 560px;
  }

  .page-hero__title {
    max-width: 18ch;
  }

  .plans-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .plan-card:last-child {
    grid-column: auto;
  }

  .plan-card {
    padding: 24px;
  }

  .plan-card__desc {
    min-height: 0;
  }

  .demo-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-link {
    min-height: 240px;
  }

  .channels-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .limits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .theme-panel {
    max-width: 330px;
  }

  .company-hero h1 {
    max-width: 16ch;
  }

  .company-topbar__inner {
    min-height: 54px;
  }

  .company-powered span {
    display: none;
  }

  .company-hero h1 {
    font-size: clamp(2.7rem, 8.5vw, 4rem);
  }

  .company-band__inner {
    align-items: flex-start;
  }

  .offers-console__toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .offers-console__toolbar .field:first-child {
    grid-column: 1 / -1;
  }

  .offers-console__toolbar .field:nth-of-type(4) {
    grid-column: auto;
  }

  .offers-console__toolbar .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .offer-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .offer-row__actions {
    justify-content: flex-start;
  }

  .confidential-demo {
    grid-template-columns: minmax(0, 1fr);
  }

  .confidential-demo__sample {
    min-height: 290px;
  }

  .media-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .media-card {
    min-height: 240px;
  }

  .company-section {
    padding-block: 52px;
  }

  .company-offers-head {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .app-toolbar {
    align-items: flex-start;
  }

  .app-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .app-header__inner {
    min-height: 58px;
  }

  .app-header__actions .text-link {
    display: none;
  }

  .app-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .traffic-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .traffic-note {
    max-width: none;
  }

  .sources-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .talent-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .candidate-row {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .candidate-row__stage {
    grid-column: 2;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .candidate-row__actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .search-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-form .field:first-child {
    grid-column: 1 / -1;
  }

  .search-form__actions {
    grid-column: 1 / -1;
  }

  .job-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .job-card {
    min-height: 0;
  }

  .candidate-flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .isolation-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .modes-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .source-side {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .site-footer__brand p {
    max-width: 46ch;
  }

  .site-footer__legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .comparison thead {
    display: none;
  }

  .comparison caption {
    display: block;
    width: 100%;
    margin-bottom: 14px;
    font-size: 11.5px;
    line-height: 1.5;
  }

  .comparison,
  .comparison tbody,
  .comparison tr,
  .comparison th,
  .comparison td {
    display: block;
    width: 100%;
  }

  .comparison tbody tr {
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    overflow: hidden;
  }

  .comparison tbody th {
    width: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper-warm);
    font-size: 12px;
  }

  .comparison tbody td {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    align-items: start;
    gap: 3px 12px;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(12, 26, 44, 0.07);
    text-align: left;
  }

  .comparison tbody td > * {
    grid-column: 2;
  }

  .comparison tbody td::before {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .comparison tbody tr:nth-child(even) th,
  .comparison tbody tr:nth-child(even) td {
    background: var(--surface);
  }

  .comparison tbody tr:nth-child(even) th {
    background: var(--paper-warm);
  }

  .comparison tbody td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .comparison .cell-state {
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
  }

  .access-matrix thead {
    display: none;
  }

  .access-matrix,
  .access-matrix tbody,
  .access-matrix tr,
  .access-matrix th,
  .access-matrix td {
    display: block;
    width: 100%;
  }

  .access-matrix tr {
    margin-bottom: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
  }

  .access-matrix th {
    background: var(--paper-warm);
  }

  .access-matrix td {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 12px;
    border-bottom: 1px solid var(--line);
  }

  .access-matrix td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 7.5px;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* --------------------------------------------------------------------------
   Responsive · 600 px
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  :root {
    --header-height: 64px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .demo-bar {
    font-size: 9px;
  }

  .demo-bar__inner {
    min-height: 31px;
  }

  .brand img {
    width: 164px;
  }

  .site-header__actions {
    gap: 7px;
  }

  .site-header__actions .button {
    display: none;
  }

  .nav-toggle {
    padding-inline: 12px;
    font-size: 11px;
  }


  .home-hero__title {
    margin-bottom: 18px;
    font-size: clamp(2.65rem, 12vw, 3.7rem);
  }

  .home-hero__lead {
    font-size: 0.98rem;
  }

  .home-hero__meta {
    font-size: 10px;
  }

  .hero-board {
    min-height: 0;
    padding: 20px;
  }

  .hero-board__quote {
    font-size: 2.15rem;
  }

  .hero-board__rings {
    right: -190px;
  }

  .hero-board__dot {
    display: none;
  }

  .board-steps li {
    grid-template-columns: 32px 1fr auto;
  }

  .hero-board__foot {
    padding-top: 22px;
  }

  .section {
    padding-block: 54px;
  }

  .section--tight {
    padding-block: 40px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .method {
    grid-template-columns: minmax(0, 1fr);
  }

  .method__step {
    min-height: 200px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px;
  }

  .method__step:last-child {
    border-bottom: 0;
  }

  .method__num {
    margin-bottom: 26px;
  }

  .method__state {
    right: 22px;
    bottom: 18px;
    left: 22px;
  }

  .gateway__label {
    font-size: 1.45rem;
  }

  .gateway__hint {
    font-size: 11px;
  }

  .level-card {
    padding: 22px;
  }

  .level-card__list li {
    display: grid;
  }

  .level-card__list small {
    text-align: left;
  }

  .capability-strip__inner {
    padding-block: 14px;
  }

  .page-hero {
    padding-block: 44px;
  }

  .page-hero__title {
    font-size: clamp(2.45rem, 10.5vw, 3.4rem);
  }

  .page-hero__actions .button {
    width: 100%;
  }

  .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-step {
    min-height: 0;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .flow-step:nth-child(2n) {
    border-right: 0;
  }

  .flow-step:nth-last-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .flow-step:last-child {
    border-bottom: 0;
  }

  .flow-step__num {
    margin-bottom: 20px;
  }

  .plan-card {
    padding: 22px;
  }

  .plan-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .plan-feature small {
    text-align: left;
  }

  .plan-card__foot .button {
    flex: 1 1 100%;
  }

  .demo-link {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px;
    min-height: 0;
  }

  .demo-link__art {
    min-height: 150px;
  }

  .demo-link__art::before {
    box-shadow:
      0 18px 0 -2px rgba(12, 26, 44, 0.18),
      0 36px 0 -2px rgba(12, 26, 44, 0.12),
      0 70px 0 -2px var(--surface),
      0 88px 0 -2px rgba(12, 26, 44, 0.09);
  }

  .demo-link__art--dash::before {
    box-shadow:
      0 18px 0 -2px rgba(247, 243, 236, 0.15),
      0 36px 0 -2px rgba(247, 243, 236, 0.11),
      0 70px 0 -2px rgba(255, 253, 249, 0.2),
      0 88px 0 -2px rgba(247, 243, 236, 0.1);
  }

  .status-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .limit-item {
    padding: 18px;
  }

  .faq summary {
    font-size: 1.05rem;
  }

  .company-topbar__actions .tag {
    display: none;
  }

  .company-powered img {
    width: 122px;
  }

  .company-topbar__inner {
    min-height: 52px;
  }

  .company-hero {
    padding-block: 40px;
  }

  .company-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.2rem);
  }

  .company-lockup {
    margin-bottom: 24px;
  }

  .company-mark {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .company-hero__actions .button {
    flex: 1 1 100%;
  }

  .theme-panel {
    max-width: none;
  }

  .company-band__inner {
    padding-block: 14px;
  }

  .company-facts {
    gap: 8px 18px;
  }

  .company-nav {
    overflow-x: auto;
  }

  .company-nav__inner {
    flex-wrap: nowrap;
    width: max-content;
    padding-right: 18px;
  }

  .company-nav a {
    flex: 0 0 auto;
  }

  .offer-preview__meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .company-section {
    padding-block: 44px;
  }

  .company-intro h2 {
    font-size: clamp(2rem, 8vw, 2.6rem);
  }

  .offers-console__toolbar {
    grid-template-columns: minmax(0, 1fr);
  }

  .offers-console__toolbar .field:first-child {
    grid-column: auto;
  }

  .offers-console__toolbar .button {
    width: 100%;
  }

  .offer-row {
    padding: 19px;
  }

  .offer-row__actions .button {
    flex: 1 1 100%;
  }

  .confidential-demo__copy,
  .confidential-demo__sample {
    padding: 22px;
  }

  .media-card {
    min-height: 220px;
    padding: 18px;
  }

  .company-footer__inner {
    align-items: flex-start;
  }

  .modal {
    width: calc(100% - 20px);
    max-height: 92vh;
  }

  .modal__header {
    padding: 18px 18px 14px;
  }

  .modal__body {
    padding: 18px;
  }

  .field-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .modal__actions .button {
    flex: 1 1 100%;
  }

  .app-header img {
    width: 142px;
  }

  .app-header__actions .demo-badge-large {
    display: none;
  }

  .app-sidebar {
    padding: 12px 18px;
  }

  .app-nav {
    margin-inline: -18px;
    padding-inline: 18px;
  }

  .app-toolbar {
    padding: 11px 18px;
  }

  .app-content {
    padding: 22px 18px;
  }

  .app-view__head {
    margin-bottom: 20px;
  }

  .app-view__head h1 {
    font-size: 2rem;
  }

  .stat-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .stat-card {
    padding: 15px 16px;
  }

  .stat-card__label {
    margin-bottom: 8px;
  }

  .isolated-banner {
    padding: 13px;
  }

  .app-table {
    min-width: 660px;
  }

  .candidate-row {
    padding: 12px;
  }

  .candidate-row__actions .button {
    flex: 1 1 auto;
  }

  .client-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-inline: 14px;
  }

  .client-tab {
    flex: 0 0 auto;
  }

  .client-panel__main,
  .client-panel__side {
    padding: 18px;
  }

  .client-process {
    grid-template-columns: minmax(0, 1fr);
    gap: 7px;
  }

  .search-console {
    padding: 14px;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr);
  }

  .search-form .field:first-child {
    grid-column: auto;
  }

  .search-form__actions {
    grid-column: auto;
  }

  .search-form__actions .button {
    width: 100%;
  }

  .results-bar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .job-card {
    padding: 19px;
  }

  .job-card__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .job-card__actions {
    width: 100%;
    justify-content: flex-start;
    gap: 16px;
  }

  .job-card__foot .button {
    flex: 0 0 auto;
  }

  .job-card__company-link {
    order: 2;
  }

  .spontaneous {
    padding: 22px;
  }

  .spontaneous .button {
    width: 100%;
  }

  .candidate-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.4rem);
  }

  .candidate-step {
    padding: 22px;
  }

  .prose-page {
    padding-block: 44px;
  }

  .prose-aside h1 {
    font-size: clamp(2.3rem, 9vw, 3rem);
  }

  .site-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .site-footer__brand {
    grid-column: auto;
  }

  .site-footer__main {
    padding-block: 42px 34px;
  }

  .site-footer__brand img {
    width: 184px;
  }

  .closing h2 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .closing__paths {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .closing__path {
    justify-content: space-between;
  }

  .status-legend {
    padding: 16px;
    gap: 13px;
  }

  .section-head--split {
    gap: 14px;
  }

  .client-tabs {
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 5px;
    padding: 12px 14px;
  }

  .client-tab {
    min-height: 34px;
    border: 1px solid rgba(247, 243, 236, 0.16);
    border-radius: 4px;
  }

  .client-tab[aria-selected="true"] {
    border-color: rgba(220, 196, 154, 0.5);
    background: rgba(247, 243, 236, 0.09);
  }
}

/* --------------------------------------------------------------------------
   Responsive · 390 px y menores
   -------------------------------------------------------------------------- */

@media (max-width: 420px) {
  .home-hero__meta span {
    flex: 1 1 100%;
  }

  .hero-board__head {
    font-size: 8.5px;
  }

  .board-steps__state {
    font-size: 7.5px;
  }

  .level-card__top {
    margin-bottom: 22px;
  }

  .section-head__aside p {
    font-size: 12px;
  }

  .market {
    grid-template-columns: 44px minmax(0, 1fr);
  }

  .market__index {
    font-size: 1.9rem;
  }

  .company-hero__lead {
    font-size: 0.95rem;
  }

  .company-facts li {
    flex: 1 1 100%;
  }

  .job-card__title {
    font-size: 1.35rem;
  }

  .app-toolbar__right {
    gap: 6px;
  }

  .demo-badge-large {
    font-size: 7px;
  }

  .app-user {
    display: none;
  }

  .offers-results-bar {
    padding-inline: 14px;
  }

  .comparison tbody td {
    grid-template-columns: 104px minmax(0, 1fr);
  }

  .access-matrix td {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   Preferencias de movimiento
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
