:root {
  --ubb-blue: #0f59a8;
  --ubb-blue-dark: #073e78;
  --ubb-teal: #0f8fa8;
  --ink: #152238;
  --muted: #5d6b82;
  --soft: #eef5fb;
  --line: #d9e4ef;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fff;
}

.navbar {
  --bs-navbar-padding-y: 0.65rem;
  box-shadow: 0 6px 24px rgba(10, 43, 78, 0.05);
}

.navbar-brand strong {
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-logo-dgce {
  width: auto;
  height: 42px;
  max-width: 168px;
  object-fit: contain;
}

.nav-link {
  color: #314158;
  font-weight: 650;
}

.btn {
  border-radius: 0.55rem;
  font-weight: 750;
}

.btn-primary {
  --bs-btn-bg: var(--ubb-blue);
  --bs-btn-border-color: var(--ubb-blue);
  --bs-btn-hover-bg: #0b4c91;
  --bs-btn-hover-border-color: #0b4c91;
}

.btn-outline-primary {
  --bs-btn-color: var(--ubb-blue);
  --bs-btn-border-color: var(--ubb-blue);
  --bs-btn-hover-bg: var(--ubb-blue);
  --bs-btn-hover-border-color: var(--ubb-blue);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 680px;
  color: #fff;
  background: #092b52;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(90deg, rgba(6, 31, 59, 0.96) 0%, rgba(15, 89, 168, 0.88) 44%, rgba(15, 89, 168, 0.35) 100%),
    url("../img/captura-inicio.png");
  background-size: cover;
  background-position: center right;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.min-vh-75 {
  min-height: 75vh;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(3.6rem, 10vw, 8.2rem);
  font-weight: 850;
  line-height: 0.92;
  letter-spacing: 0;
}

.hero .lead {
  max-width: 760px;
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  font-weight: 680;
  line-height: 1.18;
}

.hero-copy {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}

.hero-downloads {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-download-note {
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.74);
}

.section-pad {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.bg-soft {
  background: var(--soft);
}

h2 {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 820;
  line-height: 1.08;
  letter-spacing: 0;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.feature,
.download-card,
.step {
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fff;
}

.feature {
  padding: 1.35rem;
}

.feature i,
.download-card i {
  display: inline-grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  margin-bottom: 1rem;
  color: var(--ubb-blue);
  background: #e8f3ff;
  border-radius: 0.65rem;
  font-size: 1.25rem;
}

.feature h3,
.download-card h3,
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 800;
}

.feature p,
.download-card p,
.step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.screenshot {
  margin: 0;
}

.screenshot img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: 0 24px 70px rgba(18, 45, 76, 0.16);
}

.screenshot-large img {
  min-height: 460px;
  object-fit: cover;
  object-position: top center;
}

.screenshot figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.step {
  padding: 1.35rem;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 1.15rem;
  color: #fff;
  background: var(--ubb-blue);
  border-radius: 999px;
  font-weight: 850;
}

.notice {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 860px;
  margin-inline: auto;
  padding: 1.1rem 1.25rem;
  color: #79350b;
  background: #fff8ed;
  border: 1px solid #f6d0a3;
  border-radius: 0.75rem;
}

.notice i {
  flex: 0 0 auto;
  font-size: 1.25rem;
}

.notice p {
  margin: 0;
  line-height: 1.55;
}

.download-section {
  background: linear-gradient(180deg, #fff, #f6f9fc);
}

.requirements-section {
  background: #fff;
}

.requirement-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: linear-gradient(180deg, #ffffff, #f8fbfe);
}

.requirement-title {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.15rem;
}

.requirement-title i,
.requirement-note i {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  color: var(--ubb-blue);
  background: #e8f3ff;
  border-radius: 0.65rem;
  font-size: 1.25rem;
}

.requirement-title h3 {
  margin: 0 0 0.25rem;
  font-size: 1.2rem;
  font-weight: 820;
}

.requirement-title p,
.requirement-note p {
  margin: 0;
  color: var(--muted);
}

.requirement-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.55;
}

.requirement-card strong {
  color: var(--ink);
}

.requirement-note {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 880px;
  margin-inline: auto;
  padding: 1rem 1.15rem;
  border: 1px solid #cbe3f9;
  border-radius: 0.75rem;
  background: #f0f8ff;
}

.download-card {
  padding: 1.5rem;
}

.download-card .btn {
  margin-top: 1.35rem;
}

.download-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.download-actions .btn {
  margin-top: 0;
}

.footer {
  padding: 1.6rem 0;
  color: #fff;
  background: var(--ubb-blue);
}

.footer small {
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 620px;
  }

  .hero-bg {
    background-image:
      linear-gradient(180deg, rgba(6, 31, 59, 0.97) 0%, rgba(15, 89, 168, 0.85) 72%, rgba(15, 89, 168, 0.65) 100%),
      url("../img/captura-inicio.png");
    background-position: center;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .brand-logo-dgce {
    height: 34px;
    max-width: 124px;
  }

  .hero {
    min-height: 620px;
  }

  .hero .btn {
    width: 100%;
  }

  .hero-downloads {
    display: grid;
    gap: 0.7rem;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .screenshot-large img {
    min-height: 280px;
  }
}
