:root {
  --orienta-blue: #006bce;
  --orienta-navy: #0f2a61;
  --orienta-yellow: #f4c600;
  --orienta-ink: #343434;
}

html,
body {
  font-family: "Poppins", sans-serif;
  color: var(--orienta-ink);
  background: #fff;
}

.legacy-orienta-topbar {
  position: relative;
  z-index: 1040;
  color: #fff;
  background: linear-gradient(100deg, #0872d4 0%, #0062c4 100%);
}

.legacy-orienta-topbar__inner {
  display: flex;
  width: min(100%, 1500px);
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 42px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legacy-orienta-topbar__logo img {
  display: block;
  width: 150px;
  height: auto;
}

.legacy-orienta-topbar__right,
.legacy-orienta-socials {
  display: flex;
  align-items: center;
}

.legacy-orienta-topbar__right {
  gap: 24px;
}

.legacy-orienta-socials {
  gap: 8px;
}

.legacy-orienta-socials a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}

.legacy-orienta-socials a:hover {
  color: var(--orienta-blue);
  background: #fff;
  transform: translateY(-2px);
}

.legacy-orienta-login {
  position: relative;
}

.legacy-orienta-login summary {
  display: flex;
  min-height: 44px;
  padding: 0 20px;
  align-items: center;
  gap: 9px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.legacy-orienta-login summary::-webkit-details-marker {
  display: none;
}

.legacy-orienta-login > div {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  min-width: 250px;
  padding: 10px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(7, 36, 81, .22);
}

.legacy-orienta-login > div a {
  padding: 11px 13px;
  border-radius: 8px;
  color: var(--orienta-navy);
  font-size: 13px;
  font-weight: 600;
}

.legacy-orienta-login > div a:hover {
  color: var(--orienta-blue);
  background: #f1f7fd;
}

app-navbar {
  position: relative;
  z-index: 1030;
  display: none !important;
}

app-navbar .navbar {
  min-height: 88px;
  border: 0;
  box-shadow: 0 7px 22px rgba(19, 52, 94, .07);
}

app-navbar .navbar > .container {
  width: min(100%, 1500px);
  max-width: 1500px;
  padding-right: 42px !important;
  padding-left: 42px !important;
}

app-navbar .navbar-brand {
  visibility: hidden;
  width: 150px;
}

app-navbar .navbar-nav {
  gap: 18px;
}

app-navbar .nav-link {
  color: var(--orienta-navy) !important;
  font-size: 15px;
  font-weight: 600;
}

app-navbar .nav-link:hover,
app-navbar .nav-link:focus {
  color: var(--orienta-blue) !important;
}

app-navbar .dropdown-menu {
  overflow: hidden;
  padding: 8px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(7, 36, 81, .16);
}

app-navbar .dropdown-item {
  border-radius: 8px;
}

app-navbar .dropdown-item a {
  display: block;
  padding: 7px 5px;
  color: var(--orienta-navy) !important;
  font-size: 13px;
  font-weight: 600;
}

app-navbar .btn-primary {
  min-height: 43px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--orienta-blue);
  font-size: 14px;
  font-weight: 600;
}

app-compendios > .back-white.bloque {
  padding: 72px clamp(22px, 5vw, 80px);
}

app-compendios .legal-layout {
  width: min(100%, 1420px);
  margin: 0 auto;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

app-compendios .floating-menu {
  top: 28px;
  overflow: hidden;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: #f7f9fc;
  box-shadow: 0 14px 40px rgba(17, 55, 99, .08);
}

app-compendios .floating-menu h5 {
  color: var(--orienta-navy);
  font-size: 15px;
  line-height: 1.35;
}

app-compendios .floating-menu nav a {
  display: block;
  width: 100%;
  min-width: 0;
  color: #576575;
  font-size: 13px;
  line-height: 1.45;
  white-space: normal;
}

app-compendios .floating-menu nav a:hover,
app-compendios .floating-menu nav a.active-link {
  color: var(--orienta-blue);
  background: #eaf4ff;
}

app-compendios .document-content {
  min-width: 0;
  color: #454545;
  font-size: 15px;
  line-height: 1.8;
}

app-compendios .document-content h1 {
  margin: 0 0 24px;
  color: var(--orienta-navy);
  font-size: clamp(30px, 3vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
  hyphens: none;
  overflow-wrap: break-word;
  word-break: normal;
}

app-compendios .document-content h2 {
  margin: 42px 0 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e7f0f9;
  color: var(--orienta-blue);
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 700;
  line-height: 1.3;
}

app-compendios .document-content h3 {
  margin: 28px 0 10px;
  color: var(--orienta-navy);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

app-compendios .document-content p,
app-compendios .document-content li {
  color: #4d5560;
  font-size: 15px;
  line-height: 1.8;
  text-align: left;
}

app-compendios .document-content ul,
app-compendios .document-content ol {
  padding-left: 22px;
}

app-compendios .document-content li {
  margin-bottom: 9px;
}

app-footer .footer {
  padding: 60px 0;
  border-radius: 0;
  background: var(--orienta-navy) !important;
}

app-footer .footer > .container {
  width: min(100%, 1420px);
  max-width: 1420px;
  padding: 0 42px !important;
}

app-footer .footer img[alt="Orienta"] {
  width: 175px;
}

app-footer .footer small,
app-footer .footer a {
  font-size: 13px;
  line-height: 1.65;
}

app-footer .footer h5 {
  margin-bottom: 2px;
  font-size: 19px;
  font-weight: 600;
}

app-footer .social-icon {
  width: 42px !important;
  height: 42px !important;
  color: var(--orienta-navy) !important;
  background: var(--orienta-yellow) !important;
  transition: transform .2s ease;
}

app-footer .social-icon:hover {
  transform: translateY(-3px);
}

.legacy-orienta-seals {
  display: flex !important;
  width: min(100%, 430px);
  padding: 8px 12px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #fff;
}

.legacy-orienta-seals a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.legacy-orienta-seals a:hover {
  transform: translateY(-3px);
}

.legacy-orienta-seals img {
  display: block;
  width: auto;
  max-width: 210px;
  height: 48px;
  object-fit: contain;
}

.legacy-orienta-seals a:last-child img {
  width: min(48vw, 210px);
  height: auto;
}

@media (max-width: 1199px) {
  app-navbar .navbar-brand {
    visibility: visible;
    width: auto;
  }

  app-navbar .navbar > .container {
    padding-right: 24px !important;
    padding-left: 24px !important;
  }
}

@media (max-width: 767px) {
  .legacy-orienta-topbar__inner {
    min-height: 68px;
    padding: 10px 20px;
  }

  .legacy-orienta-topbar__logo img {
    width: 126px;
  }

  .legacy-orienta-socials {
    display: none;
  }

  .legacy-orienta-login summary {
    min-height: 40px;
    padding: 0 14px;
    font-size: 12px;
  }

  .legacy-orienta-login > div {
    min-width: 225px;
  }

  app-navbar .navbar {
    min-height: 72px;
  }

  app-navbar .navbar-brand img {
    width: 126px;
  }

  app-compendios > .back-white.bloque {
    padding: 42px 18px 54px;
  }

  app-compendios .legal-layout {
    gap: 30px;
  }

  app-compendios .floating-menu {
    position: static;
    width: 100%;
  }

  app-compendios .floating-menu nav {
    display: grid !important;
    overflow: visible !important;
    gap: 4px;
  }

  app-compendios .document-content h1 {
    font-size: 29px;
  }

  app-compendios .document-content h2 {
    margin-top: 34px;
    font-size: 21px;
  }

  app-compendios .document-content h3 {
    font-size: 17px;
  }

  app-compendios .document-content,
  app-compendios .document-content p,
  app-compendios .document-content li {
    font-size: 14px;
    line-height: 1.72;
  }

  app-footer .footer {
    padding: 46px 0;
  }

  app-footer .footer > .container {
    padding: 0 22px !important;
  }

  app-footer .footer .row > div + div {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .legacy-orienta-socials a,
  app-footer .social-icon {
    transition: none;
  }
}
