/* -------HEADER-------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 999;
  background-color: #fcfcfc;
  border-radius: 0 0 100% 100% / 0 0 40% 40%;
  padding: 0 20px;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
}

/* .site-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 100%;
  background-color: #fcfcfc;
  border-radius: 0 0 100% 100% / 0 0 100% 100%;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.12);
  z-index: -1;
} */
.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  height: 100%;
  padding: 10px 0;
}

.logo-header img {
  height: 67px;
  object-fit: contain;
}

.menu-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--azul-contacto);
  font-size: 18px;
  font-weight: 400;
}

.tabs {
  display: flex;
  gap: 50px;
}

.menu-header li:not(.contacto) {
  position: relative;
}

.menu-header li:not(.contacto) a {
  color: var(--azul-contacto);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.menu-header li:not(.contacto) a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: var(--azul-contacto);
  transition: width 0.3s ease-in-out;
}

.menu-header li:not(.contacto) a:hover::after {
  width: 100%;
}

.contacto-desk {
  min-width: 167px;
}

.menu-header .contacto {
  display: none;
}

.icon-menu {
  display: none;
}

.btn-menu-toggle {
  display: none;
}

/* mobile */
@media (max-width: 969px) {
  .site-header {
    height: 60px;
  }

  .contacto-desk {
    display: none;
  }

  .btn-menu-toggle {
    width: 25px;
    height: 20px;
    padding: 0;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
  }

  .btn-menu-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--primary-color);
    transition: 0.3s ease;
  }

  .btn-menu-toggle.expanded span:nth-child(2) {
    opacity: 0;
  }

  .btn-menu-toggle.expanded span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -8px);
  }

  .btn-menu-toggle.expanded span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 7px);
  }

  .site-header .container-header .main-nav {
    position: absolute;
    top: 115%;
    left: 0;
    width: 100%;
    background-color: var(--blanco);
    clip-path: ellipse(184% 132% at 50% -32%);
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
  }

  .site-header .container-header .main-nav.expanded {
    max-height: 700px;
  }

  .site-header .container-header .main-nav .icon-menu {
    display: block;
    background-color: transparent;
  }

  .logo-header img {
    height: 40px;
  }

  .site-header .container-header .main-nav .menu-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px;
    gap: 0;
    font-size: 16px;
  }

  .menu-header .contacto {
    display: block;
  }

  .menu-header li:not(.contacto) {
    position: relative;
    margin-bottom: 25px;
  }

  .menu-header li:not(.contacto) a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: var(--azul-contacto);
    transition: width 0.3s ease-in-out;
  }

  .menu-header li:not(.contacto) a:hover::after {
    width: 100%;
  }
}