:root {
  --tnv2-ivory: #e8e0d2;
  --tnv2-ivory-soft: #f5f1ea;
  --tnv2-navy: #0e1d61;
  --tnv2-navy-deep: #09143f;
  --tnv2-gold: #b89a5a;
  --tnv2-gold-ink: #735c2c;
  --tnv2-white: #fffdf8;
  --tnv2-ink: #17213d;
  --tnv2-muted: #596174;
  --tnv2-line: rgba(14, 29, 97, .18);
  --tnv2-line-strong: rgba(14, 29, 97, .32);
  --tnv2-focus: #2f6fed;
  --tnv2-radius: 8px;
  --tnv2-font-ui: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --tnv2-font-display: "Source Serif 4", Georgia, serif;
}

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

html {
  background: var(--tnv2-ivory);
  color: var(--tnv2-ink);
}

body.tnv2-platform {
  margin: 0;
  background: var(--tnv2-ivory);
  color: var(--tnv2-ink);
  font-family: var(--tnv2-font-ui);
  line-height: 1.55;
}

.tnv2-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.tnv2-platform-top {
  border-bottom: 1px solid var(--tnv2-line);
  background: rgba(232, 224, 210, .96);
}

.tnv2-platform-top__row {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--tnv2-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tnv2-platform-top a,
.tnv2-platform-header a,
.tnv2-platform-footer a {
  color: inherit;
  text-decoration: none;
}

.tnv2-platform-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--tnv2-line);
  background: rgba(245, 241, 234, .96);
  backdrop-filter: blur(14px);
}

.tnv2-platform-header__row {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.tnv2-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--tnv2-navy);
}

.tnv2-brand__mark {
  width: 26px;
  height: 26px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.tnv2-brand__mark::before,
.tnv2-brand__mark::after {
  content: "";
  position: absolute;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.tnv2-brand__mark::before {
  inset: 5px;
}

.tnv2-brand__mark::after {
  inset: 10px;
}

.tnv2-brand__name {
  display: block;
  font-family: var(--tnv2-font-display);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 700;
  line-height: .9;
}

.tnv2-brand__product {
  display: block;
  margin-top: 4px;
  color: var(--tnv2-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.tnv2-global-nav,
.tnv2-platform-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
}

.tnv2-global-nav a,
.tnv2-platform-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  color: var(--tnv2-navy);
  font-weight: 700;
}

.tnv2-global-nav a[aria-current="page"],
.tnv2-global-nav a:hover,
.tnv2-platform-nav a[aria-current="page"],
.tnv2-platform-nav a:hover {
  border-bottom-color: var(--tnv2-gold);
}

.tnv2-cta {
  padding: 10px 16px;
  border: 1px solid var(--tnv2-navy);
  border-radius: var(--tnv2-radius);
  background: var(--tnv2-navy);
  color: var(--tnv2-white) !important;
}

.tnv2-cta:hover {
  border-bottom-color: var(--tnv2-navy) !important;
  background: var(--tnv2-navy-deep);
}

.tnv2-platform-bar {
  border-bottom: 1px solid var(--tnv2-line);
  background: var(--tnv2-navy);
  color: var(--tnv2-white);
}

.tnv2-platform-bar__row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tnv2-platform-title {
  color: rgba(255, 253, 248, .78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tnv2-platform-nav {
  justify-content: flex-end;
  overflow-x: auto;
}

.tnv2-platform-nav a {
  color: var(--tnv2-white);
  white-space: nowrap;
}

.tnv2-page {
  padding: clamp(54px, 7vw, 92px) 0;
}

.tnv2-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .65fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: end;
  padding-bottom: clamp(42px, 6vw, 72px);
  border-bottom: 1px solid var(--tnv2-line);
}

.tnv2-kicker,
.tnv2-card__meta,
.tnv2-label {
  color: var(--tnv2-gold-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.tnv2-hero h1 {
  max-width: 11.5ch;
  margin: 14px 0 22px;
  color: var(--tnv2-navy);
  font-family: var(--tnv2-font-display);
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 700;
  line-height: .94;
  letter-spacing: 0;
}

.tnv2-hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--tnv2-muted);
  font-size: clamp(18px, 2vw, 23px);
}

.tnv2-hero-aside {
  padding-left: clamp(20px, 4vw, 44px);
  border-left: 1px solid var(--tnv2-line-strong);
}

.tnv2-hero-aside dl {
  margin: 20px 0 0;
  display: grid;
  gap: 18px;
}

.tnv2-hero-aside dt {
  color: var(--tnv2-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tnv2-hero-aside dd {
  margin: 3px 0 0;
  color: var(--tnv2-navy);
  font-size: 18px;
  font-weight: 800;
}

.tnv2-section {
  padding: clamp(42px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--tnv2-line);
}

.tnv2-section h2 {
  margin: 0 0 16px;
  color: var(--tnv2-navy);
  font-family: var(--tnv2-font-display);
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1;
}

.tnv2-section__intro {
  max-width: 78ch;
  margin: 0 0 30px;
  color: var(--tnv2-muted);
  font-size: 18px;
}

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

.tnv2-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--tnv2-line);
  border-radius: var(--tnv2-radius);
  background: var(--tnv2-white);
}

.tnv2-card h3 {
  margin: 0;
  color: var(--tnv2-navy);
  font-family: var(--tnv2-font-display);
  font-size: 28px;
  line-height: 1.06;
}

.tnv2-card p {
  margin: 0;
  color: var(--tnv2-muted);
}

.tnv2-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--tnv2-line);
  padding-top: 16px;
}

.tnv2-link {
  color: var(--tnv2-navy);
  font-weight: 800;
  text-decoration: none;
}

.tnv2-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--tnv2-gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.tnv2-status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  border: 1px solid var(--tnv2-line);
  border-radius: 8px;
  color: var(--tnv2-navy);
  background: var(--tnv2-ivory-soft);
  font-size: 12px;
  font-weight: 800;
}

.tnv2-status[data-status="operativa"] {
  border-color: rgba(28, 105, 80, .35);
  color: #1c6950;
}

.tnv2-status[data-status="piloto"] {
  border-color: rgba(184, 154, 90, .65);
  color: var(--tnv2-gold-ink);
}

.tnv2-status[data-status="validacion"] {
  border-color: rgba(14, 29, 97, .35);
  color: var(--tnv2-navy);
}

.tnv2-status[data-status="archivo"] {
  color: var(--tnv2-muted);
}

.tnv2-filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.tnv2-input,
.tnv2-select {
  min-height: 46px;
  border: 1px solid var(--tnv2-line-strong);
  border-radius: var(--tnv2-radius);
  background: var(--tnv2-white);
  color: var(--tnv2-ink);
  font: inherit;
}

.tnv2-input {
  min-width: min(100%, 360px);
  padding: 10px 13px;
}

.tnv2-select {
  padding: 10px 38px 10px 13px;
}

.tnv2-platform-footer {
  border-top: 1px solid rgba(255, 253, 248, .14);
  background: var(--tnv2-navy-deep);
  color: rgba(255, 253, 248, .78);
}

.tnv2-platform-footer__row {
  min-height: 170px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: center;
}

.tnv2-platform-footer strong {
  display: block;
  color: var(--tnv2-white);
  font-family: var(--tnv2-font-display);
  font-size: 28px;
}

.tnv2-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  font-weight: 700;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--tnv2-focus);
  outline-offset: 3px;
}

@media (max-width: 920px) {
  .tnv2-platform-header__row,
  .tnv2-platform-bar__row,
  .tnv2-platform-footer__row {
    align-items: flex-start;
    flex-direction: column;
    display: flex;
  }

  .tnv2-global-nav {
    flex-wrap: wrap;
  }

  .tnv2-hero {
    grid-template-columns: 1fr;
  }

  .tnv2-hero-aside {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--tnv2-line-strong);
    padding-top: 22px;
  }

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

  .tnv2-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .tnv2-shell {
    width: min(100% - 28px, 1180px);
  }

  .tnv2-platform-top__row {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 0;
  }

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

  .tnv2-card {
    min-height: auto;
  }
}
