/* Marca Microtec Suite — B v3: icono PNG nítido (tu M original) + texto HTML */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;700&display=swap');

.mt-brand {
  --mt-h: 40px;
  --mt-icon-w: calc(var(--mt-h) * 47 / 39);
  display: inline-flex;
  align-items: center;
  gap: calc(var(--mt-h) * 7.5 / 39);
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.mt-brand--link { cursor: pointer; }

.mt-brand-icon {
  width: var(--mt-icon-w);
  height: var(--mt-h);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.mt-brand-icon img,
.microtec-platform-logo {
  display: block;
  width: var(--mt-icon-w);
  height: var(--mt-h);
  object-fit: contain;
  image-rendering: auto;
}

.mt-brand-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  gap: calc(var(--mt-h) * 3.2 / 39);
}
.mt-brand-microtec,
.mt-brand-suite {
  font-family: Montserrat, 'DM Sans', system-ui, sans-serif;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.mt-brand-microtec {
  font-weight: 700;
  font-size: calc(var(--mt-h) * 12.6 / 39);
  letter-spacing: 0.14em;
  color: #e9ecf3;
}
.mt-brand-suite {
  font-weight: 500;
  font-size: calc(var(--mt-h) * 8.1 / 39);
  letter-spacing: 0.34em;
  color: #73ade8;
  margin-left: calc(var(--mt-h) * 0.02);
}
.mt-brand-tag {
  font-family: Montserrat, 'DM Sans', sans-serif;
  font-size: 0.65rem;
  color: var(--text3, #8b8fa8);
  font-weight: 500;
  margin-top: 2px;
  letter-spacing: 0;
  text-transform: none;
}

.mt-brand--sm { --mt-h: 32px; gap: calc(var(--mt-h) * 7 / 39); }

.mt-brand--md { --mt-h: 44px; }

.mt-brand--lg { --mt-h: 52px; gap: calc(var(--mt-h) * 8 / 39); }

.mt-brand--center { justify-content: center; }
.mt-brand--stacked {
  flex-direction: column;
  text-align: center;
  gap: calc(var(--mt-h) * 10 / 39);
}
.mt-brand--stacked .mt-brand-stack { align-items: center; }

.mt-brand-words {
  white-space: nowrap;
  font-weight: 700;
  font-family: Montserrat, 'DM Sans', sans-serif;
  color: inherit;
}

.logo-icon-wrap .microtec-platform-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.logo-icon-wrap:not(.logo-icon-wrap--has-img) {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.logo-name .mt-brand-microtec,
.logo-name .mt-brand-suite { display: block; }
.logo-name { --mt-h: 40px; }
.logo-name .mt-brand-microtec {
  color: var(--text, #f0f2fa);
}
.logo-name .mt-brand-suite {
  color: #73ade8;
}

.hub-brand-wrap,
#hub-brand-wrap { --mt-h: 40px; }
.hub-brand-stack .mt-brand-microtec {
  font-size: calc(var(--mt-h) * 14 / 39);
  color: #0f172a;
}
.hub-brand-stack .mt-brand-suite {
  font-size: calc(var(--mt-h) * 8.5 / 39);
  color: #73ade8;
  letter-spacing: 0.3em;
}

/* Login — centrado vertical como antes */
.login-logo {
  text-align: center;
  margin-bottom: 36px;
}
.login-logo .login-logo-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 12px;
  min-height: 72px;
}
.login-logo .login-logo-img {
  max-height: 72px;
  max-width: min(220px, 100%);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.login-logo .login-brand-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(52px * 3.2 / 39);
  margin-bottom: 4px;
}
.login-logo .login-brand-text .mt-brand-microtec {
  font-size: calc(52px * 12.6 / 39);
}
.login-logo .login-brand-text .mt-brand-suite {
  font-size: calc(52px * 8.1 / 39);
}
.login-logo .login-brand-text .mt-brand-words {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text, #e8eaf0);
  letter-spacing: -0.02em;
}
.login-logo .subtitulo {
  font-size: 0.8125rem;
  color: var(--text-secondary, #8b8fa8);
  margin-top: 4px;
}
.login-logo .mt-brand-icon {
  margin: 0 auto;
}
