/* Navesoft / Navemar — tokens sobre impulsa2-shell.css
   Identidad alineada con https://navemar.com/ (azul vivo + teal).
   Solo aplica con body.brand-navesoft; Impulsa2 no usa este archivo. */
:root {
  --primary-blue: #0a5cad;
  --card-blue: #062861;
  --deep-blue: #041e3a;
  --accent-teal: #00a9b5;
  --accent-orange: #0a5cad;
  --accent-yellow: #00a9b5;
  --text-white: #ffffff;
  --text-muted: #8eb4d8;
  --surface: #ffffff;
  --surface-soft: #f3f7fb;
  --line: #d0dce8;
  --shadow-card: 0 8px 28px rgba(4, 30, 58, 0.16);
  --font-main: "Lato", Helvetica, Arial, sans-serif;
  --radius: 8px;
  --i2-muted: #3d5a80;
}

body.impulsa2-app.brand-navesoft,
body.landing.brand-navesoft {
  background: var(--deep-blue);
  font-family: var(--font-main);
  color: var(--text-white);
}

body.impulsa2-app.brand-navesoft a,
body.landing.brand-navesoft a {
  color: var(--accent-teal);
}

.brand-navesoft .topbar {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(6, 40, 97, 0.08), 0 8px 24px rgba(4, 30, 58, 0.08);
}

.brand-navesoft .brand__text strong {
  color: #1a1a1a;
}

.brand-navesoft .brand__text small {
  color: #5a6b7d;
}

.brand-navesoft .brand__img {
  height: 48px;
  width: auto;
  background: transparent;
  padding: 0;
  border-radius: 0;
}

.brand-navesoft .hero__highlight {
  color: var(--accent-teal);
}

.brand-navesoft .btn--primary,
.brand-navesoft .tab--active,
.brand-navesoft button.primary,
.brand-navesoft #btnLogin {
  color: #ffffff !important;
  background: var(--primary-blue) !important;
  border-color: var(--primary-blue) !important;
  border-radius: 8px;
  font-weight: 700;
}

.brand-navesoft .btn--primary:hover,
.brand-navesoft #btnLogin:hover {
  background: #084a8f !important;
  border-color: #084a8f !important;
}

.brand-navesoft .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(4, 30, 58, 0.94) 0%,
    rgba(6, 40, 97, 0.82) 48%,
    rgba(10, 92, 173, 0.55) 100%
  );
}

.brand-navesoft .hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(4, 30, 58, 0.93) 0%,
    rgba(6, 40, 97, 0.74) 52%,
    rgba(10, 92, 173, 0.42) 100%
  );
}

/* Águila Impulsa2 tenue: se intuye detrás del hero, sin competir con Navemar */
.brand-navesoft .hero__eagle {
  object-fit: cover;
  object-position: right center;
  opacity: 0.32;
  filter: saturate(0.7) brightness(1.08);
  mix-blend-mode: luminosity;
}

.brand-navesoft .topbar__pill {
  background: rgba(0, 169, 181, 0.12);
  color: #062861;
  border: 1px solid rgba(0, 169, 181, 0.35);
}

/* Co-brand Impulsa2 (tecnología detrás de Navesoft) */
.brand-navesoft .brand-pill-impulsa2 {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1b2a47 0%, #0d1627 100%);
  color: #f39c12 !important;
  border: 1px solid rgba(243, 156, 18, 0.45);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.brand-navesoft .brand-pill-impulsa2:hover {
  color: #ffffff !important;
  border-color: #f39c12;
}

.brand-navesoft .topbar--cobrand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-navesoft .footer a[href*="impulsa2"] {
  color: #f39c12;
  font-weight: 700;
}

.brand-navesoft .card,
.brand-navesoft .portal-card,
.brand-navesoft .login-card,
.brand-navesoft #loginCard {
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.brand-navesoft .card__head h2,
.brand-navesoft .portal-card__head h2,
.brand-navesoft .card__title,
.brand-navesoft #login-title {
  color: #062861;
}

.brand-navesoft .hero__channel {
  border-color: rgba(0, 169, 181, 0.55);
  color: #e8f7f8;
}

.brand-navesoft .footer,
.brand-navesoft .footer--simple {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--accent-teal);
  background: var(--deep-blue);
  color: #c9d7e8;
}

/* Logo Impulsa2 suave como marca de agua en el footer */
.brand-navesoft .footer::after,
.brand-navesoft .footer--simple::after {
  content: "";
  position: absolute;
  right: 1.4rem;
  bottom: 0.55rem;
  width: 108px;
  height: 34px;
  background: url("/portal/assets/impulsa2-logo.png") right center / contain no-repeat;
  opacity: 0.3;
  filter: brightness(1.6) grayscale(0.15);
  pointer-events: none;
}

@media (max-width: 640px) {
  .brand-navesoft .footer::after,
  .brand-navesoft .footer--simple::after {
    display: none;
  }
}

.brand-navesoft .footer a {
  color: var(--accent-teal);
}

/* WhatsApp diferido en modo web: se puede reactivar quitando esta regla */
.brand-navesoft .fab-wa {
  display: none;
}

.brand-navesoft .section-label {
  color: var(--accent-teal);
}
