.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  padding: 0.8rem 2rem;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.navbar-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.logo img {
  width: 100%;
  max-width: 10rem;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  top: 20px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  transition: color 0.3s;
  text-align: center;
  font-family: "KievitOT";
  font-size: var(--fs-3);
  text-align: center;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--rojo);
}

.right-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-switcher a {
  color: black;
  text-decoration: none;
  font-family: "KievitOT";
  font-size: var(--fs-3);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: black;
}

/*habmurger*/
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 24px;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: black;
  border-radius: 3px;
  transition: all 0.4s ease;
  transform-origin: center;
}

/* Estado activo (transformado en X) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Responsive */
@media (max-width: 1300px) {
  .nav-links {
    gap: 1rem;
    font-size: var(--fs-2);
    left: 50%;
    transform: translateX(-40%);
  }
}

@media (max-width: 990px) {
  .navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    padding: 0;
    z-index: 1000;
  }

  .navbar-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
  }

  .hamburger {
    display: block;
  }

  .right-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .language-switcher {
    padding: 0;
    text-align: right;
  }

  .nav-links {
    position: fixed;
    top: 54px;
    left: 0;
    width: 100%;
    background-color: var(--rosa);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    padding: 0 2rem;
    z-index: 999;
    transform: none !important;
    height: 100vh;
  }

  .nav-links.active {
    max-height: 100vh;
    opacity: 1;
    padding: 2rem;
  }

  .nav-links a {
    font-size: var(--fs-6);
  }

  .hamburger {
    display: flex;
  }

  .language-switcher a {
    font-size: var(--fs-6);
  }
}

/*Footer*/
/*?footer*/
.logos-footer {
  gap: 4rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 5rem;
}
.logos-footer a {
  display: flex;
  justify-content: center;
  align-items: center;
}
.logos-footer img {
  height: 90px;
}
.back-to-top img {
  height: 50px;
  width: auto;
}
.small {
  height: 60px !important;
}
.x-small {
  height: 40px !important;
}

@media (max-width: 900px) {
  .logos-footer img {
    height: 70px;
  }
  .logos-footer {
    gap: 3rem;
  }
  .small {
    height: 50px !important;
  }
  .x-small {
    height: 30px !important;
  }
}

@media (max-width: 450px) {
  .logos-footer img {
    height: 40px;
  }
  .logos-footer {
    gap: 2rem;
  }
  .small {
    height: 26px !important;
  }
  .x-small {
    height: 20px !important;
  }
}

.switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 0.5rem;
  border-radius: 2px;
  z-index: 99;
  background-color: white;
  transition: var(--animTransition);
}
.switcher:hover {
  background-color: var(--rosa);
}
.switcher a {
  text-transform: uppercase;
  font-size: var(--fs-4);
  font-family: "KievitOT";
}
