body.sa-home {
  margin: 0;
  background: #f7f9fc;
  color: #16325c;
  font-family: "Nunito", "Open Sans", sans-serif;
}

body.sa-home a {
  color: inherit;
  text-decoration: none;
}

.sa-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
}

.sa-brand {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 18px;
}

.sa-pill,
.sa-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid #e07a1a;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  background: #e07a1a;
  box-shadow: 0 10px 24px rgba(224, 122, 26, 0.35);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 13px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sa-pill:hover,
.sa-cta:hover {
  color: #fff;
  background: #c96812;
  border-color: #c96812;
  transform: translateY(-1px);
}

.sa-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 22px;
  padding: 110px 20px 72px;
  background:
    linear-gradient(180deg, rgba(3, 10, 28, 0.55), rgba(3, 10, 28, 0.72)),
    url("../img/presentacion1.jpeg") center / cover no-repeat;
}

.sa-glass {
  max-width: 720px;
  padding: 22px 28px;
  border-radius: 28px;
  border: 1px solid rgba(120, 190, 255, 0.55);
  background: rgba(6, 18, 40, 0.45);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
}

.sa-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: #9fd4ff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sa-glass h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
}

.sa-glass h1 span {
  color: #3ec4ff;
}

.sa-tagline {
  margin: 12px 0 0;
  color: #d7e8ff;
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 600;
  line-height: 1.5;
}

.sa-section {
  padding: 72px 20px 88px;
}

.sa-wrap {
  width: min(980px, 100%);
  margin: 0 auto;
}

.sa-intro {
  text-align: center;
}

.sa-badge {
  display: inline-block;
  background: #163a7a;
  color: #fff;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sa-intro h2 {
  margin: 18px 0 8px;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  color: #12356d;
}

.sa-intro h2::after {
  content: "";
  display: block;
  width: 72px;
  height: 5px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: #f0b429;
}

.sa-intro p {
  max-width: 640px;
  margin: 16px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: #23406e;
}

.sa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.sa-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 18px;
  box-shadow: 0 12px 32px rgba(16, 42, 88, 0.06);
  border-top: 4px solid #1a73e8;
}

.sa-card i {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #1a73e8;
  margin-bottom: 12px;
}

.sa-card--license {
  border-top-color: #e07a1a;
}

.sa-card--license i {
  background: #e07a1a;
}

.sa-card--company {
  border-top-color: #1e9e62;
}

.sa-card--company i {
  background: #1e9e62;
}

.sa-card--module {
  border-top-color: #5b4cdb;
}

.sa-card--module i {
  background: #5b4cdb;
}

.sa-card h3 {
  margin: 0 0 8px;
  color: #12356d;
  font-size: 18px;
  font-weight: 800;
}

.sa-card p {
  margin: 0;
  color: #3d5278;
  line-height: 1.5;
  font-size: 14px;
}

.sa-footer {
  background: #07111f;
  color: #9fb3cc;
  padding: 28px 20px;
  text-align: center;
}

.sa-footer strong {
  color: #fff;
}

.sa-footer p {
  margin: 0;
  font-size: 14px;
}

.sa-login {
  margin: 0;
  min-height: 100vh;
  font-family: "Nunito", "Open Sans", sans-serif;
  color: #16325c;
  background:
    linear-gradient(180deg, rgba(3, 10, 28, 0.62), rgba(3, 10, 28, 0.78)),
    url("../img/presentacion1.jpeg") center / cover no-repeat fixed;
}

.sa-login a {
  color: inherit;
  text-decoration: none;
}

.sa-pill--ghost {
  background: transparent;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.55);
}

.sa-pill--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.sa-login-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 20px 28px;
}

.sa-login-card {
  width: min(420px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 22px 24px 24px;
  box-shadow: 0 22px 60px rgba(8, 20, 48, 0.32);
}

.sa-login-logo-link {
  display: block;
  margin-bottom: 14px;
}

.sa-login-logo {
  width: 100%;
  max-height: 78px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  display: block;
}

.sa-login-card .sa-kicker {
  color: #1a73e8;
}

.sa-login-card h1 {
  margin: 4px 0 0;
  color: #12356d;
  font-size: 24px;
  font-weight: 800;
}

.sa-login-copy {
  margin: 8px 0 0;
  color: #3d5278;
  line-height: 1.5;
}

.sa-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff1f0;
  color: #9b1c1c;
  border-left: 4px solid #dc2626;
  font-size: 14px;
}

.sa-field {
  display: block;
  margin-top: 16px;
}

.sa-field > span:first-child {
  display: block;
  margin-bottom: 8px;
  color: #12356d;
  font-size: 14px;
  font-weight: 800;
}

.sa-input-wrap {
  position: relative;
  display: block;
}

.sa-input-wrap > i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #1a73e8;
}

.sa-input-wrap input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #d7e2f0;
  border-radius: 14px;
  padding: 13px 44px 13px 40px;
  font: inherit;
  color: #16325c;
  background: #f7f9fc;
}

.sa-input-wrap input:focus {
  outline: none;
  border-color: #1a73e8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(26, 115, 232, 0.12);
}

.sa-toggle-pass {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #5b7094;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
}

.sa-toggle-pass:hover {
  color: #12356d;
  background: #eef4ff;
}

.sa-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 18px;
  color: #3d5278;
  font-size: 14px;
  font-weight: 600;
}

.sa-cta--full {
  width: 100%;
  justify-content: center;
  border: 0;
  cursor: pointer;
  font: inherit;
}

.sa-pick-card {
  width: min(640px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 22px 24px 24px;
  box-shadow: 0 22px 60px rgba(8, 20, 48, 0.32);
}

.sa-pick-card .sa-login-logo {
  margin-bottom: 14px;
}

.sa-pick-card .sa-kicker {
  color: #1a73e8;
}

.sa-pick-card h1 {
  margin: 4px 0 0;
  color: #12356d;
  font-size: 24px;
  font-weight: 800;
}

.sa-pick-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
  max-height: 52vh;
  overflow: auto;
}

.sa-pick-item form {
  margin: 0;
}

.sa-pick-main,
.sa-pick-subs button {
  width: 100%;
  border: 1px solid #d7e2f0;
  background: #f7f9fc;
  color: #16325c;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.sa-pick-main {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
  padding: 12px 14px;
}

.sa-pick-main:hover,
.sa-pick-subs button:hover,
.sa-pick-main.is-active,
.sa-pick-subs button.is-active {
  border-color: #1a73e8;
  background: #eef4ff;
  color: #12356d;
}

.sa-pick-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a73e8;
  color: #fff;
}

.sa-pick-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.sa-pick-text strong {
  font-size: 15px;
}

.sa-pick-text small {
  color: #5b7094;
}

.sa-pick-subs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px 4px 2px 48px;
}

.sa-pick-subs button {
  width: auto;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.sa-pick-empty {
  margin: 16px 0 0;
  color: #5b7094;
  text-align: center;
}

@media (max-width: 900px) {
  .sa-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .sa-nav {
    padding: 14px 16px;
  }

  .sa-pill {
    padding: 8px 12px;
    font-size: 12px;
  }

  .sa-grid {
    grid-template-columns: 1fr;
  }
}
