@font-face {
  font-family: "Instrument Serif";
  src: url("../faces/instrument-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../faces/manrope-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../faces/manrope-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../faces/manrope-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --tb-ink: #0B1C2D;
  --tb-paper: #F8F5F0;
  --tb-teal: #0E8A6A;
  --tb-teal-ink: #08634C;
  --tb-amber: #D97706;
  --tb-mist: #E7EEF4;
  --tb-white: #FFFFFF;
  --tb-muted: #445566;
  --tb-line: #C9D4DE;
  --tb-danger: #9B2C2C;
  --tb-radius: 14px;
  --tb-shadow: 0 18px 40px rgba(11, 28, 45, 0.12);
  --tb-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --tb-sans: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--tb-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tb-ink);
  background: var(--tb-paper);
}

img { max-width: 100%; height: auto; }

a {
  color: var(--tb-teal-ink);
  text-underline-offset: 0.18em;
}

a:hover { color: var(--tb-ink); }

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

.tb-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--tb-ink);
  color: var(--tb-white);
  padding: 0.6rem 1rem;
  z-index: 1000;
}

.tb-skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.tb-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.tb-hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tb-bar {
  background: var(--tb-ink);
  color: var(--tb-white);
  border-bottom: 3px solid var(--tb-teal);
  position: sticky;
  top: 0;
  z-index: 40;
}

.tb-bar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding-block: 0.6rem;
}

.tb-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.tb-brand__mark {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 8px;
  background: var(--tb-teal);
  color: var(--tb-white);
  display: grid;
  place-items: center;
  font-family: var(--tb-serif);
  font-size: 1.35rem;
  line-height: 1;
}

.tb-brand__txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.tb-brand__txt strong {
  font-weight: 700;
  font-size: 1.05rem;
}

.tb-brand__txt span {
  font-size: 0.75rem;
  color: #B7C7D4;
  font-weight: 400;
}
.site-host { margin: 0 0 0.4rem; font-size: 0.95rem; }

.tb-burger {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid #2A4054;
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
}

.tb-burger span,
.tb-burger span::before,
.tb-burger span::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--tb-white);
  position: relative;
  margin: 0 auto;
}

.tb-burger span::before,
.tb-burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.tb-burger span::before { top: -6px; }
.tb-burger span::after { top: 6px; }

.tb-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.tb-nav ul {
  display: flex;
  gap: 0.2rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.tb-nav a {
  color: #D5E0E8;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.tb-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tb-teal);
  color: var(--tb-white) !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.86rem;
  line-height: 1.25;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-align: center;
  max-width: 18rem;
}

.tb-cta:hover { filter: brightness(1.08); }

.tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--tb-ink);
  color: var(--tb-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 2px solid var(--tb-ink);
  cursor: pointer;
  text-align: center;
}

.tb-btn:hover { background: #163249; }

.tb-btn--ghost {
  background: transparent;
  color: var(--tb-ink);
}

.tb-btn--ghost:hover { background: var(--tb-mist); }

.tb-btn--light {
  background: transparent;
  color: var(--tb-white);
  border-color: #7A8B99;
}

.tb-btn--light:hover { background: #163249; }

.tb-hero {
  background:
    linear-gradient(180deg, rgba(11, 28, 45, 0.08), transparent 40%),
    var(--tb-ink);
  color: var(--tb-white);
  padding: 3.2rem 0 2.6rem;
}

.tb-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}

.tb-kicker {
  display: inline-block;
  color: var(--tb-teal);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.7rem;
}

.tb-hero h1 {
  font-family: var(--tb-serif);
  font-weight: 400;
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  margin: 0 0 0.9rem;
}

.tb-lead {
  font-size: 1.08rem;
  color: #D3DEE6;
  margin: 0 0 1.3rem;
  max-width: 38rem;
}

.tb-hero__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.tb-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tb-facts li {
  background: #132536;
  border: 1px solid #2A4054;
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
  color: #D5E0E8;
}

.tb-frame {
  background: #102333;
  border: 1px solid #2C455A;
  border-radius: 16px;
  box-shadow: var(--tb-shadow);
  overflow: hidden;
}

.tb-frame__top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  background: #0E2132;
  border-bottom: 1px solid #2C455A;
  font-size: 0.78rem;
  color: #9BB0C0;
}

.tb-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #3A5366;
}

.tb-dot:nth-child(1) { background: #C45C4A; }
.tb-dot:nth-child(2) { background: #D97706; }
.tb-dot:nth-child(3) { background: #0E8A6A; }

.tb-badge {
  margin-left: auto;
  background: rgba(217, 119, 6, 0.18);
  color: #F3C077;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  font-weight: 700;
}

.tb-frame__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.9rem;
}

.tb-mini {
  background: #163249;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
}

.tb-mini span {
  display: block;
  font-size: 0.72rem;
  color: #9BB0C0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tb-mini strong {
  font-family: var(--tb-serif);
  font-size: 1.35rem;
  font-weight: 400;
}

.tb-kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: -1.4rem;
  position: relative;
  z-index: 2;
}

.tb-kpi article {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 20px rgba(11, 28, 45, 0.06);
}

.tb-kpi h2,
.tb-kpi p { margin: 0; }

.tb-kpi h2 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--tb-muted);
  font-weight: 700;
}

.tb-kpi p {
  font-family: var(--tb-serif);
  font-size: 1.45rem;
  margin-top: 0.25rem;
}

.tb-sec { padding: 3.4rem 0; }

.tb-sec--mist { background: var(--tb-mist); }

.tb-sec h2,
.tb-block h2 {
  font-family: var(--tb-serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.2;
  margin: 0 0 0.7rem;
}

.tb-sec > .tb-wrap > p,
.tb-intro {
  max-width: 42rem;
  color: var(--tb-muted);
  margin: 0 0 1.6rem;
}

.tb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tb-card {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: var(--tb-radius);
  padding: 1.25rem 1.2rem 1.35rem;
  border-top: 4px solid var(--tb-teal);
}

.tb-card--amber { border-top-color: var(--tb-amber); }

.tb-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.45rem;
}

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

.tb-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
  counter-reset: tbstep;
}

.tb-steps article {
  background: var(--tb-ink);
  color: var(--tb-white);
  border-radius: var(--tb-radius);
  padding: 1.2rem 1.1rem 1.3rem;
  min-height: 11rem;
}

.tb-steps article::before {
  counter-increment: tbstep;
  content: counter(tbstep, decimal-leading-zero);
  display: block;
  color: var(--tb-teal);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.55rem;
}

.tb-steps h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.tb-steps p {
  margin: 0;
  color: #C5D3DC;
  font-size: 0.95rem;
}

.tb-dash {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--tb-shadow);
}

.tb-dash__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  background: var(--tb-ink);
  color: var(--tb-white);
}

.tb-dash__bar strong { font-size: 0.95rem; }

.tb-months {
  display: flex;
  gap: 0.35rem;
}

.tb-months button {
  background: #163249;
  color: #D5E0E8;
  border: 1px solid #2A4054;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.tb-months button.is-on,
.tb-months button[aria-selected="true"] {
  background: var(--tb-teal);
  border-color: var(--tb-teal);
  color: var(--tb-white);
}

.tb-dash__body { padding: 1rem; }

.tb-dash .tb-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
  margin: 0 0 1rem;
}

.tb-dash .tb-kpis article {
  background: var(--tb-mist);
  border: 0;
  box-shadow: none;
  padding: 0.85rem;
}

.tb-dash .tb-kpis span {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--tb-muted);
}

.tb-dash .tb-kpis b {
  display: block;
  font-family: var(--tb-serif);
  font-size: 1.35rem;
  font-weight: 400;
  margin-top: 0.2rem;
}

.tb-dash b.is-down { color: var(--tb-danger); }

.tb-note {
  font-size: 0.92rem;
  color: var(--tb-amber);
  font-weight: 700;
  margin: 0 0 1rem;
}

.tb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tb-table th,
.tb-table td {
  text-align: left;
  padding: 0.55rem 0.2rem;
  border-bottom: 1px solid var(--tb-line);
}

.tb-table th { color: var(--tb-muted); font-weight: 600; }

.tb-bars { display: grid; gap: 0.55rem; margin: 1rem 0 0.4rem; }

.tb-bars span {
  display: block;
  height: 8px;
  background: var(--tb-teal);
  border-radius: 99px;
  width: 10%;
}

.tb-bars span.tb-bars__coste { background: var(--tb-amber); }
.tb-bars span.tb-bars__opex { background: #4A6A82; }

.tb-tot {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.85rem;
  background: var(--tb-ink);
  color: var(--tb-white);
  border-radius: 10px;
}

.tb-tot span { display: block; font-size: 0.72rem; color: #9BB0C0; }
.tb-tot b { font-size: 0.98rem; }

.tb-plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.tb-plan {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 16px;
  padding: 1.35rem 1.25rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.tb-plan.is-feat {
  background: var(--tb-ink);
  color: var(--tb-white);
  border-color: var(--tb-ink);
}

.tb-plan h3 { margin: 0; font-size: 1.15rem; }

.tb-plan .tb-amt {
  font-family: var(--tb-serif);
  font-size: 2.2rem;
  line-height: 1;
}

.tb-plan .tb-amt small {
  font-family: var(--tb-sans);
  font-size: 0.9rem;
}

.tb-plan ul {
  margin: 0.3rem 0 0.8rem;
  padding-left: 1.1rem;
  color: inherit;
}

.tb-plan.is-feat ul { color: #D3DEE6; }
.tb-plan .tb-btn { margin-top: auto; }
.tb-plan.is-feat .tb-btn {
  background: var(--tb-teal);
  border-color: var(--tb-teal);
}

.tb-faq details {
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.55rem;
}

.tb-faq summary {
  font-weight: 700;
  cursor: pointer;
}

.tb-faq details p {
  margin: 0.6rem 0 0.2rem;
  color: var(--tb-muted);
}

.tb-disc {
  background: #F3E6D0;
  border-left: 4px solid var(--tb-amber);
  padding: 1.1rem 1.2rem;
  border-radius: 0 12px 12px 0;
}

.tb-disc h2 { font-size: 1.35rem; }
.tb-disc p { margin: 0.5rem 0 0; color: #3F3324; }

.tb-form {
  background: var(--tb-ink);
  color: var(--tb-white);
  padding: 3.2rem 0;
}

.tb-form h2 { color: var(--tb-white); }

.tb-form .tb-intro,
.tb-form p { color: #C5D3DC; }

.tb-form__box {
  background: #122536;
  border: 1px solid #2A4054;
  border-radius: 16px;
  padding: 1.3rem;
  max-width: 36rem;
}

.tb-field { display: grid; gap: 0.3rem; margin-bottom: 0.85rem; }

.tb-field label { font-weight: 700; font-size: 0.92rem; }

.tb-field input[type="text"],
.tb-field input[type="email"],
.tb-field input[type="tel"] {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 8px;
  border: 1px solid #3A5366;
  background: #0E2132;
  color: var(--tb-white);
}

.tb-check {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.92rem;
  margin: 0.6rem 0 1rem;
}

.tb-check a { color: #8EE0C8; }

.tb-alert {
  background: #3B1C1C;
  color: #F3D2D2;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  margin-bottom: 0.8rem;
}

.tb-planbox {
  background: rgba(14, 138, 106, 0.18);
  color: #8EE0C8;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 0.9rem;
  font-weight: 700;
}

.tb-foot {
  background: #08141F;
  color: #C5D3DC;
  padding: 2.4rem 0 1.6rem;
  font-size: 0.92rem;
}

.tb-foot a { color: #D5E0E8; }

.tb-foot__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}

.tb-foot h2 {
  font-size: 0.95rem;
  color: var(--tb-white);
  margin: 0 0 0.5rem;
}

.tb-foot ul { list-style: none; margin: 0; padding: 0; }
.tb-foot li { margin-bottom: 0.35rem; }

.tb-linkbtn {
  background: none;
  border: 0;
  padding: 0;
  color: #D5E0E8;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.tb-fine {
  border-top: 1px solid #1C3144;
  padding-top: 1rem;
  color: #8AA0B0;
  font-size: 0.82rem;
}

.tb-prose {
  padding: 2.6rem 0 3.4rem;
}

.tb-prose--tight { padding: 0 0 0.4rem; }

.tb-prose h1 {
  font-family: var(--tb-serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin: 0 0 0.8rem;
}

.tb-prose h2 {
  font-family: var(--tb-serif);
  font-weight: 400;
  font-size: 1.55rem;
  margin: 1.8rem 0 0.55rem;
}

.tb-prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.tb-prose th,
.tb-prose td {
  border: 1px solid var(--tb-line);
  padding: 0.5rem 0.6rem;
  text-align: left;
  vertical-align: top;
}

.tb-prose th { background: var(--tb-mist); }

.tb-thanks,
.tb-miss {
  min-height: 50vh;
  display: grid;
  align-items: center;
  padding: 3rem 0;
}

.tb-cmp {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 80;
  padding: 1rem;
}

.tb-cmp__box {
  position: relative;
  width: min(920px, 100%);
  margin: 0 auto;
  background: var(--tb-white);
  border: 1px solid var(--tb-line);
  border-radius: 16px;
  box-shadow: var(--tb-shadow);
  padding: 1.15rem 1.2rem 1.2rem;
}

.tb-cmp__title {
  margin: 0 0 0.35rem;
  font-weight: 700;
}

.tb-cmp__txt { margin: 0 0 0.9rem; color: var(--tb-muted); font-size: 0.95rem; }

.tb-cmp__acts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tb-cmp__x {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--tb-ink);
  width: 2rem;
  height: 2rem;
}

.tb-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(8, 20, 31, 0.55);
  display: grid;
  place-items: center;
  padding: 1rem;
}

.tb-modal[hidden],
.tb-cmp[hidden] { display: none; }

.tb-modal__box {
  background: var(--tb-white);
  border-radius: 16px;
  padding: 1.3rem;
  width: min(28rem, 100%);
}

.tb-modal__box h2 { margin: 0 0 0.8rem; font-size: 1.25rem; }

.tb-switch {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem 0.7rem;
  margin-bottom: 0.9rem;
  align-items: start;
}

.tb-switch p { margin: 0; color: var(--tb-muted); font-size: 0.9rem; }

.tb-modal__acts {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .tb-hero__grid,
  .tb-cards,
  .tb-plans,
  .tb-foot__grid,
  .tb-kpi,
  .tb-dash .tb-kpis,
  .tb-tot { grid-template-columns: 1fr 1fr; }
  .tb-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .tb-burger { display: inline-block; }
  .tb-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #102333;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem 1rem 1.1rem;
    gap: 0.7rem;
    border-bottom: 3px solid var(--tb-teal);
  }
  .tb-nav.is-open { display: flex; }
  .tb-nav ul { flex-direction: column; gap: 0.55rem; }
  .tb-cta { max-width: none; }
  .tb-hero__grid,
  .tb-cards,
  .tb-plans,
  .tb-steps,
  .tb-foot__grid,
  .tb-kpi,
  .tb-dash .tb-kpis,
  .tb-tot,
  .tb-frame__grid { grid-template-columns: 1fr; }
  .tb-hero { padding-top: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
