/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.hidden-head {
  transform: translateY(-100%);
}

.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 80px;
  background: #fff;

  &:before {
    /*content: '';*/
    position: absolute;
    top: 0;
    left: 0;
    /*min-height: 124px;*/
    width: 100%;
    /*mask: linear-gradient(black, black, transparent);*/
    /*backdrop-filter: blur(10px);*/
    /*transition: all 0.5s;*/
  }
}

.header .logo img {
  height: 30px;
  margin-right: 8px;
}

.header .btn-phone,
.header .btn-phone:focus {
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.5s;
  height: 48px;
  width: 48px;
  padding: 16px 20px;
  border-radius: 50px;
  background: #c6c6c6;
 
	color: var(--black);
  /*box-shadow: 0px 4px 0px 0px hsl(0deg 0% 50% / 50%);*/
}

.header .btn-phone:hover {
  color: #fff;
  background: #000;
}

.header .btn-schedule,
.header .btn-schedule:focus {
	font-family: var(--heading-font);
	font-weight: 600;
	font-size: 16px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.5s;
  height: 48px;
  padding: 16px 20px;
  border-radius: 50px;
  background: #c6c6c6;
 
	color: var(--black);
  /*box-shadow: 0px 4px 0px 0px hsl(0deg 0% 50% / 50%);*/
}

.header .btn-schedule:hover {
  color: #fff;
   background: #000;
}

.scrolled .header {
  padding: 10px 80px;
  
  &:before {
    height: 68px;
    min-height: -webkit-fill-available;
    mask: none;
    /*box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);*/
    background: #fff;
    /*backdrop-filter: blur(20px);*/
  }

  & .logo img {
    /*filter: invert(1)!important;*/
  }

  & .navmenu a, & .navmenu a:focus {
    color: var(--black);
  }
}


@media (max-width: 1199px) {
  .header {
    padding: 18px 10px;

    & .btn-schedule, & .btn-phone {
      display:none;
    }
  }
  .scrolled .header {
    padding: 18px 10px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    position: relative;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
		gap: 32px;
  }

  .navmenu li {
    position: relative;
    padding: 10px 0;
  }

  .navmenu a,
  .navmenu a:focus {
    /*color: color-mix(in hsl, var(--nav-color) 70%, transparent);*/
    color: #000;
    padding: 0;
		font-size: 16px;
    font-family: var(--geist-font);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    /*color: var(--nav-hover-color);*/
    color: #000;
  }

  .navmenu .dropdown {
    position: relative;
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 0;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown.large {
    position: unset;
  }

  .navmenu .dropdown.large ul {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2px;

    & li a {
      background: transparent;
      padding: 10px;
      border-radius: 8px;
      display: flex;
      align-items: start;
      gap: 14px;
      justify-content: start;

      & .icon {
        min-width: 20px;
        height: 20px;
        display: grid;
        align-items: center;

        & i {
          font-size: 20px;
          margin-top: 2px;
        }
      }

      & span {
        white-space: nowrap;
        font-weight: 500;
        font-size: 16px;
      }

      & p {
        font-size: 14px;
        color: var(--black3);
        margin: 0;
        margin-top: 5px;
      }

      &:hover {
        background: #f1f1f2;
      }
    }
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
    padding: 0;
  }

  .navmenu .dropdown ul a {
    padding: 10px;
    font-size: 16px;
    text-transform: none;
    border-radius: 5px;
    color: var(--black2);
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    /*color: var(--nav-dropdown-hover-color);*/
    color: #000;
    background: #f1f1f2;
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
    margin-top: 20px;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: hsl(0 -2% 55% / 1);
    font-size: 28px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    order: 3;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 10px;
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    height: auto;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 0;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: grid;
    gap: 10px;
    padding: 20px;
    height: fit-content;
  }
}