:root {
  --teal: #00be96;
  --teal-dark: #009e7d;
  --footer-bg: #f2f8f6;
  --footer-text: #5f6266;
  --text: #555;
  --muted: #8c8c8c;
  --line: #00be96;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  letter-spacing: 0;
  background: #fff;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  height: 41px;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
}

.topbar p {
  margin: 0;
  letter-spacing: 3px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.search {
  width: 123px;
  height: 27px;
  display: flex;
  align-items: center;
  border-radius: 16px;
  padding-left: 12px;
  background: rgba(255, 255, 255, 0.26);
  color: #fff;
  font-size: 11px;
}

.search input {
  width: 38px;
  border: 0;
  outline: 0;
  background: transparent;
}

.search button {
  width: 28px;
  height: 27px;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 22px;
  line-height: 1;
}

select {
  width: 141px;
  height: 29px;
  border: 0;
  background: #fff;
  color: #555;
  padding-left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 2px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
}

.logo img {
  /* width: 130px; */
  /* height: 51px; */
  margin-left: 20px;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.3vw, 31px);
  font-size: 17px;
  color: #555;
  white-space: nowrap;
}

/* ── Dropdown nav ── */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-item > a,
.nav-item > span {
  cursor: pointer;
  color: #555;
  text-decoration: none;
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 8px 28px rgba(0,0,0,.12);
  min-width: 150px;
  padding: 6px 0;
  z-index: 100;
  margin-top: 8px;
}

/* 透明橋接塊，防止滑鼠穿越空隙時 hover 消失 */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}

.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  display: block;
}

.nav-dropdown a {
  display: block;
  padding: 9px 18px;
  color: #555;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s;
}

.nav-dropdown a:hover {
  background: #f5fafa;
  color: var(--teal);
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  height: min(39.6vw, 655px);
  min-height: 430px;
  overflow: hidden;
  background: #f7eee6;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: opacity 800ms ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 35px;
  height: 35px;
  transform: translateY(-50%);
  border: 0;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 36px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.hero-arrow.prev {
  left: 10px;
}

.hero-arrow.next {
  right: 10px;
}

.works h1 {
  margin: 0;
  height: 51px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--teal);
  font-weight: 400;
  font-size: 28px;
  letter-spacing: 7px;
}

.work-grid {
  width: calc(100% - 66px);
  max-width: 1502px;
  margin: 0 auto -44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 29px 24px 100px;
  border: 2px solid var(--line);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  background: #fff;
  position: relative;
  z-index: 2;
}

.work-grid article {
  text-align: center;
}

.work-grid h2 {
  margin: 0 0 23px;
  color: #565656;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 7px;
}

.work-grid h2 span {
  margin-right: 22px;
  font-size: 19px;
}

.work-grid img {
  width: 100%;
  aspect-ratio: 2.38 / 1;
  object-fit: cover;
  display: block;
}

.work-grid p {
  min-height: 78px;
  margin: 28px auto 22px;
  max-width: 330px;
  line-height: 1.8;
  font-size: 16px;
}

.more {
  display: inline-grid;
  place-items: center;
  width: 120px;
  height: 44px;
  border: 2px solid var(--line);
  border-radius: 22px;
  color: var(--teal-dark);
  letter-spacing: 3px;
  background: #fff;
}

.belief {
  height: clamp(520px, 42vw, 700px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(300px, 30vw, 500px);
  color: #fff;
  text-align: center;
  background: url("/nw/images/belief-default.jpg") center top / cover no-repeat;
  background-size: cover;
  clip-path: ellipse(122% 100% at 50% 0%);
}

.belief h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 52px);
  font-weight: 300;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.belief-values {
  max-width: 1500px;
  min-height: auto;
  margin: 55px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  color: #5d6268;
  background: #fff;
  text-align: left;
  position: relative;
  z-index: 1;
}

.belief-values article {
  min-height: auto;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-left: 0;
  background: #f0fdf9;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.belief-values article:nth-child(2) {
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.bv-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.bv-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

.belief-values h3 {
  margin: 0;
  color: #333;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 1px;
}

.belief-values p {
  margin: 0;
  color: #5d6268;
  line-height: 1.8;
  font-size: 16px;
  letter-spacing: 1px;
}

.growth-banner {
  margin-top: 0;
  background: #fff;
}

.growth-image {
  height: min(31vw, 500px);
  min-height: 300px;
  background: url("/nw/images/growth-default.jpg") center center / cover no-repeat;
  background-size: cover;
}

.growth-bar {
  height: 50px;
  background: var(--teal);
}

.about-news {
  max-width: 1180px;
  margin: 56px auto 55px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 39% 1fr;
  gap: 55px;
  align-items: start;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  letter-spacing: 7px;
  font-size: 18px;
}

.news-feature {
  min-height: 325px;
  position: relative;
  padding: 34px 24px 24px 8px;
  overflow: hidden;
}

.news-mark {
  width: 178px;
  height: 178px;
  margin-bottom: 28px;
  display: grid;
  place-content: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  color: var(--teal);
  background: #fff;
  text-align: center;
  letter-spacing: 3px;
}

.news-mark span {
  display: block;
  font-size: 18px;
}

.news-mark strong {
  display: block;
  margin-top: 8px;
  font-size: 25px;
  font-weight: 400;
}

.news-feature::before {
  content: "";
  position: absolute;
  left: -92px;
  top: 38px;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(0, 190, 150, 0.32);
  border-radius: 50%;
}

.news-feature h2 {
  margin: 0;
  color: #555;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 3px;
}

.news-feature > p:not(.eyebrow) {
  max-width: 330px;
  color: #777;
  font-size: 18px;
  letter-spacing: 2px;
  line-height: 1.85;
}

.news-more {
  display: inline-block;
  margin-top: 18px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--line);
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 3px;
}

.news-list {
  border-top: 1px solid #e8e8e8;
}

.news-list article {
  min-height: 66px;
  display: grid;
  grid-template-columns: 130px 70px 1fr;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid #e8e8e8;
}

.news-list span {
  color: #777;
  letter-spacing: 1px;
}

.news-list b {
  color: var(--teal);
  font-size: 13px;
  letter-spacing: 2px;
}

.news-list a {
  color: #555;
  line-height: 1.6;
}

footer {
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 42px 24px 38px;
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 62px;
  align-items: start;
}

.footer-logo img {
  width: 118px;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(110px, 1fr));
  gap: 62px;
}

footer h3 {
  margin: 0 0 4px;
  color: var(--footer-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.45;
}

footer p {
  margin: 0 0 15px;
  color: var(--teal);
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: 3px;
}

footer a {
  display: block;
  margin: 8px 0;
  color: var(--footer-text);
  font-size: 14px;
  line-height: 1.45;
}

footer small {
  display: block;
  min-height: 52px;
  padding: 16px 20px 14px;
  text-align: center;
  color: #fff;
  background: var(--teal);
  font-size: 13px;
  letter-spacing: 4px;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 39px;
  height: 39px;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  color: #aaa;
  background: #fff;
  font-size: 24px;
}

@media (max-width: 1250px) {
  .footer-main {
    grid-template-columns: 145px 1fr;
    gap: 36px;
    padding-inline: 34px;
  }

  .footer-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .topbar {
    height: auto;
    padding: 9px 15px;
  }

  .top-actions {
    display: none;
  }

  .site-header {
    min-height: 74px;
  }

  .logo img {
    width: auto;
    height: 44px;
  }

  .menu-button {
    display: block;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 30px;
  }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 0 16px;
    box-shadow: 0 8px 16px rgba(0,0,0,.08);
    z-index: 50;
  }

  nav.open {
    display: flex;
  }

  nav a,
  .nav-item > a,
  .nav-item > span {
    display: block;
    padding: 10px 24px;
    width: 100%;
    color: #333;
  }

  .nav-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-dropdown {
    display: none;
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: #f9f9f9;
    padding: 0;
    min-width: 100%;
  }

  .nav-dropdown::before {
    display: none;
  }

  .nav-item.open .nav-dropdown {
    display: block;
  }

  .nav-dropdown a {
    padding: 8px 24px 8px 38px;
    font-size: 14px;
  }

  .hero {
    height: 56vw;
    min-height: 250px;
  }

  .work-grid,
  .belief-values,
  .about-news,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    width: calc(100% - 28px);
    padding: 22px 18px 55px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 26px 42px;
  }

  .footer-grid {
    gap: 24px;
  }

  .work-grid article + article {
    margin-top: 24px;
  }

  .belief {
    height: 58vw;
    min-height: 280px;
    padding: 150px 18px 0;
    clip-path: none;
  }

  .belief h2 {
    margin: 0;
  }

  .belief-values {
    min-height: auto;
    margin: 32px auto;
    gap: 16px;
    padding: 0 18px;
  }

  .belief-values article {
    min-height: auto;
    padding: 24px 20px;
  }

  .growth-image {
    height: 54vw;
    min-height: 220px;
    background-position: center;
  }

  .growth-bar {
    height: 42px;
  }

  .about-news {
    margin-top: 48px;
    gap: 34px;
  }

  .news-feature {
    min-height: auto;
    padding: 0;
  }

  .news-mark {
    width: 132px;
    height: 132px;
    margin-bottom: 22px;
  }

  .news-mark strong {
    font-size: 20px;
  }

  .news-list article {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 15px 0;
  }
}
