.dm-sans-font {
  font-family: "DM Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.dm-mono-medium {
  font-family: "DM Mono", monospace;
  font-weight: 500;
  font-style: normal;
}

body {
  font-family: "DM Sans", sans-serif;
  color: #636770;
  font-size: 14px;
  line-height: 1.2;
}

.uil {
  font-size: 24px;
}
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6 {
  margin: 0;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1, .h1 {
  font-size: 28px;
  line-height: 1.1;
}

h2, .h2 {
  font-size: 24px;
}

h3, .h3 {
  font-size: 22px;
}

h4, .h4 {
  font-size: 18px;
  line-height: 1.6;
}

h5, .h5 {
  font-size: 16px;
}

h6, .h6 {
  font-size: 14px;
}

p {
  margin: 0;
  line-height: 1.6;
}
p + p {
  margin-top: 1.2em;
}

@media (min-width: 1024px) {
  h1, .h1 {
    font-size: 48px !important;
  }
  h2, .h2 {
    font-size: 40px !important;
  }
  h3, .h3 {
    font-size: 32px !important;
  }
  h4, .h4 {
    font-size: 24px !important;
  }
  h5, .h5 {
    font-size: 24px !important;
  }
  h6, .h6 {
    font-size: 20px !important;
  }
  body {
    font-size: 16px !important;
  }
}
.nav {
  position: fixed;
  width: 100%;
  height: 56px;
  top: 0;
  background-color: #fff;
  border-bottom: 1px solid rgba(101, 136, 150, 0.2);
  z-index: 100;
  transition: all 250ms ease-out;
}
.nav.transparente {
  background-color: transparent;
  border-bottom: none;
}
.nav.transparente .bar {
  background-color: transparent;
  border-bottom: none;
}
.nav .bar {
  display: flex;
  align-items: center;
  position: relative;
  height: 100%;
  background-color: #fff;
  transition: all 250ms ease-out;
}
.nav .col {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav .toggle {
  position: relative;
}
.nav .toggle .ico {
  transition: all 250ms ease-out;
}
.nav .toggle .close {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.nav .nav-mid {
  justify-content: center;
}
.nav .nav-end {
  justify-content: flex-end;
  gap: 6px;
}
.nav .btn {
  height: 24px;
  padding: 0 10px;
  font-size: 12px;
}
.nav .btn.btn-busqueda {
  width: 24px;
  padding-top: 1px;
  transition: all 250ms ease-out;
}
.nav .btn.btn-busqueda .ico {
  font-size: 14px;
}
.nav .btn.btn-busqueda.active {
  background-color: #E8EBED !important;
}
.nav .active-section {
  position: relative;
}
.nav .active-section::before {
  content: "";
  display: inline-block;
  position: absolute;
  width: 4px;
  height: 4px;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  background-color: #DB2D30;
  border-radius: 100%;
}
.nav .menu {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: absolute;
  width: 100%;
  height: calc(var(--vh, 1vh) * 100 - 56px);
  padding: 24px 20px;
  padding-top: 48px;
  left: 0;
  top: 56px;
  background-color: rgba(255, 255, 255, 0.9);
  color: #384157;
  opacity: 0;
  visibility: hidden;
  transition: all 350ms linear;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav .menu .accordion {
  position: relative;
}
.nav .menu .accordion .trigger {
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}
.nav .menu .accordion .cont {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(56, 65, 87, 0.5);
}
.nav .menu .link {
  position: relative;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
}
.nav .menu .active {
  opacity: 1;
  color: #384157;
}
.nav .menu .active-section.link {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.nav .menu .active-section .trigger {
  text-decoration: underline !important;
  text-underline-offset: 4px;
}
.nav .menu .active-section::before {
  left: -10px;
  top: 6px;
  display: none;
}
.nav.active .toggle .open {
  opacity: 0;
}
.nav.active .toggle .close {
  opacity: 1;
}
.nav.active .menu {
  padding-top: 24px;
  opacity: 1;
  visibility: visible;
}
.nav .fondo-busqueda {
  position: absolute;
  width: 100vw;
  height: calc(100vh - 56px);
  height: calc(var(--vh, 1vh) * 100 - 56px);
  left: 0;
  top: 56px;
  background-color: rgba(56, 65, 87, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 350ms linear;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: -2;
}
.nav .fondo-busqueda.active {
  visibility: visible;
}
.nav .busqueda {
  position: absolute;
  width: 100%;
  padding: 12px 20px;
  left: 0;
  top: 56px;
  background-color: #fff;
  box-shadow: 0px 8px 20px 0px rgba(56, 65, 87, 0.28);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow-y: hidden;
  opacity: 0;
  visibility: hidden;
  transition: all 350ms linear;
  z-index: -1;
}
.nav .busqueda.active {
  opacity: 1;
  visibility: visible;
}
.nav .busqueda .form-control.active {
  border-color: #384157;
}
.nav .busqueda .resultados {
  display: flex;
  flex-direction: column;
  position: relative;
  max-height: 400px;
  margin: 0 -20px;
  margin-top: 12px;
  margin-bottom: -12px;
  padding: 0 20px;
  border-top: 1px solid #EDF1F2;
  overflow-y: auto;
}
.nav .busqueda .resultados .item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 -20px;
  padding: 12px 20px;
  border-top: 1px solid #EDF1F2;
}
.nav .busqueda .resultados .item p {
  font-size: 14px;
  line-height: 1.2;
  color: #384157;
}
.nav .busqueda .resultados .item small {
  font-size: 12px;
  color: #aaa;
}
.nav .busqueda .resultados .item:first-of-type {
  border-top: none;
}
footer {
  position: relative;
  padding-top: 32px;
  padding-bottom: 40px;
  background-color: rgba(56, 65, 87, 0.08);
}
footer .row {
  flex-direction: column;
  gap: 20px;
}
footer .col {
  display: flex;
  flex-direction: column;
}
footer .iso {
  height: 52px;
}
footer .row-datos {
  display: flex;
  gap: 20px;
}
footer .col-datos {
  display: flex;
}
footer .col-datos .datos {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 13px;
}

@media (min-width: 768px) {
  .nav {
    height: 64px;
  }
  .nav .nav-mid {
    line-height: 0;
  }
  .nav .logo {
    height: 40px;
  }
  .nav .ftn-busqueda {
    top: 64px;
  }
  .nav .busqueda {
    top: 64px;
  }
  .nav .busqueda .form-group {
    margin: 0 auto;
  }
  .nav .busqueda .resultados {
    max-height: 520px;
  }
  .nav .nav-end {
    gap: 8px;
  }
  .nav .btn {
    height: 28px;
    padding: 0px 14px;
    font-size: 13px;
  }
  .nav .btn.btn-busqueda {
    width: 28px;
    padding: 0;
    padding-top: 1px;
  }
  .nav .btn.btn-busqueda .ico {
    font-size: 15px;
  }
  .nav .menu {
    top: 64px;
  }
  .nav .active-section::before {
    top: 34px;
  }
  footer .row {
    flex-direction: row;
    gap: 0;
  }
}
@media (min-width: 1024px) {
  .nav {
    gap: 36px;
    height: 96px;
  }
  .nav .bar {
    gap: 36px;
  }
  .nav .col {
    flex: none;
  }
  .nav .nav-start {
    order: 1;
    display: none;
  }
  .nav .nav-mid {
    justify-content: flex-start;
  }
  .nav .logo {
    height: 56px;
  }
  .nav .menu {
    order: 2;
    flex: 1;
    flex-direction: row;
    justify-content: flex-end;
    gap: 36px;
    position: relative;
    width: auto;
    height: auto;
    padding: 0;
    top: 0;
    visibility: visible;
    opacity: 1;
    background-color: transparent;
    backdrop-filter: none;
  }
  .nav .menu .accordion {
    position: relative;
    width: auto;
  }
  .nav .menu .accordion .collapse {
    position: absolute;
    box-shadow: 0px 8px 20px 0px rgba(56, 65, 87, 0.28);
    border-radius: 8px;
    top: calc(100% + 12px);
  }
  .nav .menu .accordion .collapse .cont {
    gap: 12px;
    padding: 16px 20px;
    padding-right: 20px;
    background-color: #fff;
  }
  .nav .menu .accordion .collapse .cont a {
    white-space: nowrap;
    font-size: 15px;
  }
  .nav .menu .accordion .collapse .cont a:hover {
    color: #384157;
  }
  .nav .menu .active-section {
    position: relative;
  }
  .nav .menu .active-section::before {
    display: inline-block !important;
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 36px !important;
  }
  .nav .menu .active-section.accordion, .nav .menu .active-section.link {
    text-decoration: none !important;
  }
  .nav .menu .active-section.accordion::before, .nav .menu .active-section.link::before {
    top: 28px !important;
  }
  .nav .menu .active-section.accordion::before {
    left: calc(50% - 11px) !important;
  }
  .nav .menu .active-section .trigger {
    text-decoration: none !important;
  }
  .nav .nav-end {
    order: 3;
  }
  .nav .fondo-busqueda {
    left: 50%;
    top: 96px;
    transform: translateX(-50%);
  }
  .nav .busqueda {
    left: 28px;
    right: 28px;
    top: 96px;
    padding-top: 16px;
  }
  .nav .busqueda .form-group {
    max-width: 480px;
  }
  .nav .busqueda .form-control {
    height: 40px;
    border-radius: 20px;
    padding-left: 16px;
    padding-right: 56px;
  }
  .nav .busqueda .resultados {
    margin-top: 16px;
  }
  .nav .busqueda .resultados .item {
    padding: 20px;
    transition: all 250ms ease-out;
    cursor: pointer;
  }
  .nav .busqueda .resultados .item p {
    font-size: 15px;
  }
  .nav .busqueda .resultados .item small {
    font-size: 13px;
  }
  .nav .busqueda .resultados .item:hover {
    background-color: rgba(56, 65, 87, 0.08);
  }
  footer {
    padding-top: 60px;
    padding-bottom: 80px;
  }
  footer .iso {
    height: 68px;
  }
  footer .col-datos .datos {
    flex-direction: row;
    gap: 20px;
  }
  footer .col-datos .datos .item {
    width: 320px;
    font-size: 14px;
    line-height: 1.6;
  }
  footer .col-datos .datos .item a:hover {
    color: #384157;
    text-decoration: underline !important;
    text-underline-offset: 2px;
  }
  footer .redes {
    flex-direction: row;
  }
  footer .redes a:hover {
    opacity: 1;
  }
}
