.header {
  height: 80px;
  line-height: 80px;
  position: sticky;
  top: 0;
  background-color: transparent;
  z-index: 999;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scroll-active {
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header.scroll-active .header__nav a {
  color: #333;
}

.header .header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header .header__wrap .header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .header__wrap .header__logo img {
  width: 120px;
}

.header .header__wrap .header__logo span {
  font-size: 12px;
  color: #333;
}

.header .header__wrap .header__nav {
  display: flex;
  gap: 57px;
}

.header .header__wrap .header__nav a {
  font-size: 14px;
  position: relative;
  transition: color 0.3s ease;
}

.header .header__wrap .header__nav a:hover {
  color: #29a245;
}

.header .header__wrap .header__nav a::before {
  position: absolute;
  content: "";
  bottom: 12px;
  width: 40px;
  height: 3px;
  background-color: transparent;
  left: 50%;
  transform: translateX(-50%);
  transition: background-color 0.3s ease;
}

.header .header__wrap .header__nav a:hover::before {
  background-color: #29a245;
}

.header .header__wrap .header__nav > .active {
  color: #29a245;
}

.header .header__wrap .header__nav > .active::before {
  background-color: #29a245;
}

.header .header__wrap .header__search {
  display: none;
  width: 200px;
  height: 60px;
  padding: 4px 6px 4px 16px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 30px;
}

.header .header__wrap .header__search input {
  width: 126px;
  outline: none;
  border: none;
}

.header .header__wrap .header__search button {
  width: 50px;
  height: 50px;
  background: #29a245;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header .header__wrap .header__search button > img {
  width: 24px;
  height: 26px;
}

.header__menu {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
  flex-shrink: 0;
}

.header__menu img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header .header__wrap {
  flex-wrap: nowrap !important;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .header__menu {
    display: block;
  }
  .drawer-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 3;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
  }
  .drawer-mask.active {
    opacity: 1;
    pointer-events: auto;
  }
  .header {
    height: auto;
    min-height: 60px;
    line-height: normal;
    padding: 10px 0;
    position: relative;
    position: sticky;
    top: 0;
    background-color: transparent;
    z-index: 999;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    z-index: 997;
  }
  .header .header__wrap {
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
  }
  .header .header__wrap .header__logo img {
    width: 90px;
    flex-shrink: 0;
  }
  .header .header__wrap .header__search {
    width: 140px;
    height: 40px;
    padding: 2px 4px 2px 10px;
    flex-shrink: 0;
  }
  .header .header__wrap .header__search input {
    width: 80px;
    font-size: 12px;
  }
  .header .header__wrap .header__search button {
    width: 32px;
    height: 32px;
  }
  .header .header__wrap .header__search button img {
    width: 16px;
    height: 18px;
  }
  .header .header__wrap .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 85%;
    height: 100vh;
    background: #ffffff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 36px;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
    pointer-events: none;
    z-index: 9999;
  }
  .header .header__wrap .header__nav a {
    font-size: 16px;
    white-space: nowrap;
    flex-shrink: 0;
    color: #222;
  }
  .header .header__wrap .header__nav a::before {
    display: none;
  }
  .header .header__wrap .header__nav.active {
    transform: translateX(0);
    pointer-events: auto;
  }
  .header.scroll-active .header__nav a {
    color: #222;
  }
  .section__head {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  .section__title div > img {
    width: 10px;
    height: 10px;
  }
  .section__title h2 {
    font-size: 28px;
    margin-top: 12px;
  }
  .section__title p {
    font-size: 14px;
    margin-top: 10px;
  }
  .more-link {
    font-size: 14px;
    padding-bottom: 10px;
  }
  .more-link img {
    width: 16px;
    margin-left: 10px;
  }
}
