body {
  margin: 0;
}

.header {
  width: 100%;
  height: 130px;
}

.logo {
  position: relative; /* 👈 importante */
  left: 0;
  top: 0;
  bottom: 0;
  height: 130px;
  display: block;  
  margin-top: 0;
}

/* contenedor del logo */
.logo-container {
  position: relative;
  padding-left: 0 !important;
  display: flex;
  align-items: flex-start;
}

.logo2{
  margin-left: 20px;  
  height: 50px;
}

.nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.nav-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
  width: 100%;
}

.nav-stack2 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 15px;
  margin-left: 0;
  width: 100%;
}

.nav-social {
  margin-left: 0 !important;
  justify-content: center !important;
  flex-wrap: wrap;
}

.encCl {
  width: 100%;
  height: 30px;
  background: linear-gradient(to right, #F2F4F5 70%, #D5DCE0 100%);
}

.header-nav {
  width: 100%;
  margin-top: 0;
  margin-right: 0;
  padding-top: 0;
}

.header-nav .container-fluid {
  padding-top: 0;
  justify-content: center;
}

.header-nav .navbar-collapse {
  align-items: center;
  justify-content: center;
  overflow-x: auto;
}

.header-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  width: 100%;
  margin-right: 0 !important;
}

.header-nav-list .nav-link {
  text-decoration: none;
  color: #477e87;
  white-space: nowrap;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.95rem;
  font-weight: bold;
}

.header-nav-list .nav-link:hover {
  color: #000;
}

.btnCf {
  background-color: #ec008c;
  border-radius: 10px;  
}

.btnCf:hover{
  background-color: #720245;  
}

.btnAco {
  background-color: #006176;
  border-radius: 10px;  
}

.btnAco:hover{
  background-color: #00313b;  
}

.btnCont {
  color: #006176;
  font-weight: bold;
  font-size: 18px;
  border-radius: 10px;
  width: 100%;
}

.nav-stack2-wide,
.nav-stack2-half {
  width: auto;
}

.nav-social-wrap {
  display: flex;
  justify-content: center;
}

@media (max-width: 991.98px) {
  .row.flex-nowrap {
    flex-wrap: wrap !important;
  }

  .logo {
    height: 100px;
  }

  .logo-container,
  .nav-column,
  .nav-stack,
  .nav-stack2 {
    justify-content: center;
  }

  .header-nav .navbar-collapse {
    overflow-x: visible;
  }

  .header-nav .container-fluid {
    justify-content: flex-end;
    align-items: flex-start !important;
  }

  .header-nav .navbar-toggler {
    align-self: flex-start;
    margin: 0 10px 0 auto;
  }

  .nav-stack {
    margin-top: 10px;
  }

  .nav-stack2 {
    gap: 0.6rem;
    padding: 0 10px 10px;
  }

  .nav-stack2-wide {
    width: 100%;
    margin: 0 !important;
  }

  .nav-stack2-half {
    width: auto;
    flex: 0 0 auto;
    margin: 0 !important;
  }

  .nav-social-wrap {
    align-items: center;
  }

  .nav-social {
    width: auto;
    gap: 0.3rem !important;
    justify-content: center !important;
    align-items: center;
    flex-wrap: nowrap;
  }

  .btnCont {
    width: auto;
  }

  .nav-social-link img {
    width: 30px;
    height: 30px;
  }

}

@media (max-width: 768px) {
  .header {
    height: 200px;
    background: linear-gradient(to bottom, #ffffff, #c6e3eb);
  }
}
