:root {
  --sat-bg: #f4f7fb;
  --sat-surface: #ffffff;
  --sat-surface-soft: #edf6f3;
  --sat-primary: #145d8f;
  --sat-primary-dark: #0d3f66;
  --sat-primary-soft: #e7f2f8;
  --sat-accent: #23b58f;
  --sat-text: #17202a;
  --sat-muted: #5e6c7a;
  --sat-border: #d8e3ea;
  --sat-shadow: 0 18px 45px rgba(14, 48, 73, 0.12);
  --sat-radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--sat-text);
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.58;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98), rgba(241, 246, 250, 0.94)),
    url("../arte/fondo.png");
}

a {
  color: var(--sat-primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--sat-primary-dark);
  text-decoration: underline;
}

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

.container,
.container-fluid {
  width: min(1120px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: min(1240px, calc(100% - 28px));
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(12, 64, 99, 0.94);
  box-shadow: 0 8px 24px rgba(10, 38, 58, 0.16);
  backdrop-filter: blur(12px);
}

.navbar .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 78px;
}

.navbar-brand {
  color: #ffffff;
  text-decoration: none;
}

.navbar-brand:hover,
.navbar-brand:focus {
  color: #ffffff;
  text-decoration: none;
}

.navbar-brand h5,
.navbar-brand h6 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

.navbar-brand h5 {
  font-size: 1.05rem;
  font-weight: 700;
}

.navbar-brand h6 {
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 0.82rem;
  font-weight: 500;
}

.navbar-brand svg {
  color: #7ce0c7;
  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.15));
}

.navbar-collapse {
  display: flex;
  align-items: center;
}

.justify-content-end {
  justify-content: flex-end;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--sat-radius);
  color: rgba(255, 255, 255, 0.86);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.dropdown.open > .nav-link {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.dropdown-toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-left: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: none;
  min-width: 230px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: var(--sat-surface);
  border: 1px solid var(--sat-border);
  border-radius: var(--sat-radius);
  box-shadow: var(--sat-shadow);
}

.dropdown:hover > .dropdown-menu,
.dropdown.open > .dropdown-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--sat-text);
  font-weight: 600;
  text-decoration: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--sat-primary-dark);
  background: var(--sat-primary-soft);
  text-decoration: none;
}

.navbar-toggler {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--sat-radius);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 999px;
  content: "";
}

.navbar-toggler-icon::before {
  transform: translateY(-7px);
}

.navbar-toggler-icon::after {
  transform: translateY(5px);
}

.e-50,
.p-3 {
  padding: 18px;
}

.text-center {
  text-align: center;
}

.text-decoration-none {
  text-decoration: none;
}

.mbr-bold {
  font-weight: 700;
}

.row {
  display: grid;
  gap: 24px;
  margin: 0;
}

.row-cols-1 {
  grid-template-columns: 1fr;
}

.g-4 {
  gap: 24px;
  margin-bottom: 24px;
}

.col {
  min-width: 0;
}

.card {
  height: 100%;
  overflow: hidden;
  background: var(--sat-surface);
  border: 1px solid rgba(216, 227, 234, 0.9);
  border-radius: var(--sat-radius);
  box-shadow: 0 14px 36px rgba(14, 48, 73, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 181, 143, 0.45);
  box-shadow: 0 20px 44px rgba(14, 48, 73, 0.14);
}

.card-img-top {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.card-body {
  padding: 20px;
}

.card-title {
  margin: 0 0 12px;
  color: var(--sat-primary-dark);
  font-size: 1.22rem;
  line-height: 1.25;
}

.card-text {
  margin: 0 0 14px;
  color: var(--sat-muted);
}

.card-textx {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #273746;
  font-size: 0.96rem;
  list-style: none;
}

.card-textx::before {
  content: "";
  flex: 0 0 7px;
  width: 7px;
  height: 7px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--sat-accent);
}

.form-control {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--sat-text);
  background: #ffffff;
  border: 1px solid var(--sat-border);
  border-radius: 6px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  border-color: var(--sat-primary);
  outline: none;
  box-shadow: 0 0 0 4px rgba(20, 93, 143, 0.12);
}

.form-control:disabled,
.btn:disabled {
  cursor: wait;
  opacity: 0.62;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--sat-radius);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary,
.bg-primary {
  color: #ffffff;
  background: var(--sat-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  color: #ffffff;
  background: var(--sat-primary-dark);
}

.alert {
  padding: 12px 14px;
  border-radius: var(--sat-radius);
}

.alert-success {
  color: #0b4e3e;
  background: #ddf7ee;
  border: 1px solid #a9e8d6;
}

.h-100 {
  height: 100%;
}

.mb-0 {
  margin-bottom: 0;
}

.sat-top-spacer {
  height: 0.5rem;
}

#home > .container:first-of-type,
#caracteristicas > .container:first-of-type,
.sat-section-callout {
  margin-top: 10px !important;
  background: linear-gradient(135deg, rgba(229, 248, 242, 0.96), rgba(246, 251, 255, 0.96)) !important;
  border: 1px solid #b8e8db !important;
  border-radius: var(--sat-radius) !important;
  box-shadow: 0 12px 30px rgba(16, 96, 118, 0.08);
}

#home > .container:first-of-type h5,
#caracteristicas > .container:first-of-type h5,
.sat-section-callout h5 {
  margin: 0 0 6px;
  color: var(--sat-primary-dark);
  font-size: 1.2rem;
  overflow-wrap: anywhere;
}

#home > .container:first-of-type p,
#caracteristicas > .container:first-of-type p,
.sat-section-callout p {
  margin: 0;
  color: var(--sat-muted);
}

.sat-login-wrap {
  margin: 10px 10px 12px;
}

.sat-login-card {
  max-width: 500px;
  overflow: hidden;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  background-clip: padding-box;
  border: 1px solid rgba(216, 227, 234, 0.95);
  border-radius: var(--sat-radius);
  box-shadow: 0 18px 42px rgba(14, 48, 73, 0.14);
}

.sat-login-header {
  display: flex;
  min-height: 44px;
  padding: 10px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sat-primary), var(--sat-primary-dark));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sat-login-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.sat-login-title svg {
  flex: 0 0 auto;
}

.sat-login-alert {
  margin: 12px 14px 0;
}

.sat-login-body {
  display: block;
  margin: 14px 14px 0;
}

.sat-form-label {
  display: inline-block;
  margin-bottom: 5px;
  color: var(--sat-primary-dark);
  font-size: 0.94rem;
  font-weight: 700;
}

.sat-field-gap {
  height: 10px;
}

.sat-action-gap {
  height: 12px;
}

.sat-form-action {
  text-align: center;
}

.sat-login-button {
  min-width: 170px;
  border-radius: var(--sat-radius) !important;
  box-shadow: 0 10px 22px rgba(20, 93, 143, 0.22);
}

.sat-forgot-link {
  display: block;
  margin: 10px 14px 14px;
  color: var(--sat-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.sat-forgot-link:hover,
.sat-forgot-link:focus {
  color: var(--sat-primary-dark);
}

.sat-section-spacer {
  height: 1.25rem;
}

.sat-content-panel {
  margin-top: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--sat-border);
  border-radius: var(--sat-radius);
  box-shadow: 0 12px 30px rgba(14, 48, 73, 0.08);
}

#mision .sat-content-panel {
  max-width: 920px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 253, 0.9)),
    var(--sat-surface);
  border-top: 4px solid var(--sat-accent);
  box-shadow: 0 18px 42px rgba(14, 48, 73, 0.12);
}

.sat-content-panel h4 {
  margin: 0 0 8px;
  color: var(--sat-primary-dark);
  font-size: 1.15rem;
  line-height: 1.3;
}

.sat-content-panel p {
  margin: 0 0 14px;
}

.sat-content-panel p:last-child,
.sat-content-panel ul:last-child {
  margin-bottom: 0;
}

.sat-content-panel ul {
  margin: 0 0 16px;
  padding-left: 1.2rem;
}

.sat-content-panel li {
  margin-bottom: 6px;
}

.sat-services-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.sat-services-list > section {
  min-width: 0;
  padding: 20px;
  background: var(--sat-surface);
  border: 1px solid rgba(216, 227, 234, 0.9);
  border-radius: var(--sat-radius);
  box-shadow: 0 14px 36px rgba(14, 48, 73, 0.1);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sat-services-list > section:hover {
  transform: translateY(-3px);
  border-color: rgba(35, 181, 143, 0.45);
  box-shadow: 0 20px 44px rgba(14, 48, 73, 0.14);
}

.sat-services-list > section:first-child {
  padding-top: 20px;
}

.sat-services-list > section:last-child {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(216, 227, 234, 0.9);
}

.sat-services-list h4 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.sat-services-list h4::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--sat-accent);
  box-shadow: 0 0 0 5px rgba(35, 181, 143, 0.12);
}

.sat-logo-cloud {
  margin-top: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--sat-border);
  border-radius: var(--sat-radius);
  box-shadow: 0 12px 30px rgba(14, 48, 73, 0.08);
}

#clientes > .container {
  margin-top: 18px;
}

#clientes .sat-logo-cloud {
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 251, 253, 0.9)),
    var(--sat-surface);
  box-shadow: 0 18px 42px rgba(14, 48, 73, 0.12);
}

.sat-logo-cloud .carousel-inner {
  position: relative;
  min-height: 142px;
}

.sat-logo-cloud .carousel-item {
  display: none;
}

.sat-logo-cloud .carousel-item.active {
  display: block;
}

.sat-logo-cloud .carousel-item > .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100% !important;
  height: auto !important;
  min-height: 142px;
  font-size: 0;
}

.sat-logo-cloud a {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 132px;
  min-height: 132px;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(216, 227, 234, 0.9);
  border-radius: var(--sat-radius);
  box-shadow: 0 8px 20px rgba(14, 48, 73, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sat-logo-cloud a:hover,
.sat-logo-cloud a:focus {
  border-color: rgba(35, 181, 143, 0.45);
  box-shadow: 0 12px 26px rgba(14, 48, 73, 0.1);
  text-decoration: none;
  transform: translateY(-2px);
}

.sat-logo-cloud img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

#home > .container.p-3 {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--sat-border);
  border-radius: var(--sat-radius);
  box-shadow: 0 12px 30px rgba(14, 48, 73, 0.08);
}

.sat-manual-panel {
  max-width: 920px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 253, 0.9)),
    var(--sat-surface);
  border-top: 4px solid var(--sat-accent);
  box-shadow: 0 18px 42px rgba(14, 48, 73, 0.12);
}

.sat-manual-panel h4 {
  margin-bottom: 12px;
}

.sat-manual-revision {
  color: var(--sat-muted);
  font-weight: 700;
}

.sat-manual-button {
  margin-top: 10px;
  min-width: 170px;
  box-shadow: 0 10px 22px rgba(20, 93, 143, 0.22);
}

.sat-faq-list {
  max-width: 980px;
}

.sat-faq-list p {
  margin-bottom: 8px;
}

.sat-faq-list p[style*="color:blue"] {
  margin-top: 18px;
  margin-bottom: 6px;
  color: var(--sat-primary-dark) !important;
  font-weight: 700;
}

.sat-faq-list p[style*="color:blue"]:first-child {
  margin-top: 0;
}

.sat-faq-list p:empty,
.sat-faq-list p:has(> br:only-child) {
  display: none;
}

#pie .container {
  width: 100%;
  max-width: none;
  padding: 22px 18px;
  background: #0d3f66;
}

#pie a.btn {
  margin: 6px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .row-cols-md-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .sat-services-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .navbar .container-fluid {
    flex-wrap: wrap;
    min-height: 72px;
  }

  .navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .navbar-collapse {
    display: none;
    flex-basis: 100%;
    width: 100%;
  }

  .navbar-collapse.show {
    display: block;
  }

  .navbar-nav {
    display: grid;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 14px;
  }

  .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin: 4px 0 8px;
    box-shadow: none;
  }
}

@media (max-width: 560px) {
  .container,
  .container-fluid {
    width: calc(100vw - 22px);
    max-width: 310px;
  }

  #home > .container:first-of-type,
  #caracteristicas > .container:first-of-type,
  #home > .container.p-3,
  .sat-content-panel,
  .sat-logo-cloud {
    width: calc(100vw - 22px) !important;
    max-width: 310px !important;
  }

  .navbar .container-fluid {
    position: relative;
    padding-right: 56px;
  }

  #home > div[style*="margin:10px"] {
    margin: 10px 0 !important;
  }

  #home > div[style*="margin:10px"] > .container {
    width: calc(100% - 22px);
    max-width: 310px !important;
  }

  .sat-login-wrap {
    margin: 10px 0 12px;
  }

  .sat-login-wrap > .container {
    width: calc(100% - 22px);
    max-width: 310px !important;
  }

  .navbar-toggler {
    position: absolute;
    top: 16px;
    right: 0;
  }

  .navbar-brand svg {
    width: 52px;
    height: 52px;
  }

  .card-body {
    padding: 16px;
  }

  .sat-content-panel {
    padding: 16px;
  }

  .sat-logo-cloud {
    padding: 14px;
  }

  .sat-logo-cloud .carousel-inner {
    min-height: 74px;
  }

  .sat-logo-cloud .carousel-item > .container {
    gap: 5px;
    min-height: 74px;
  }

  .sat-logo-cloud a {
    width: 56px;
    min-height: 56px;
    padding: 3px;
  }

  .sat-logo-cloud img {
    width: 50px;
    height: 50px;
  }

  .sat-services-list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #pie a.btn {
    width: 100%;
  }
}
