@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&family=Noto+Serif+TC:wght@200..900&display=swap");
:root {
  font-size: clamp(16px, 2.8vw, 18px);
}

h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 1.7rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.35rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.2rem, 2vw, 1.3rem);
  font-weight: 500;
}

h5 {
  font-size: clamp(1.125rem, 1.7vw, 1.2rem);
  font-weight: 400;
}

h6 {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
}

p,
a,
span {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
}

small {
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  font-weight: 400;
}

li {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.5;
}

button,
input,
textarea,
select {
  font-size: clamp(1rem, 1vw, 1.125rem);
  font-weight: 400;
  line-height: 1.4;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  background: #f4f1eb;
  color: #2f2b28;
  letter-spacing: 0.2px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* 若你想更有質感：可換「淡紙紋/亞麻紋」背景圖（freepik 搜尋關鍵字在下方） */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 768px) {
  body {
    line-height: 1.75;
  }
}

.section-title {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0 0 2.5rem;
  color: #2f2b28;
  font-weight: 800;
  letter-spacing: 0.6px;
  line-height: 1.15;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.65rem;
  width: 72px;
  height: 10px;
  border-radius: 999px;
  background: rgba(217, 199, 164, 0.85);
}
@media (max-width: 768px) {
  .section-title::after {
    width: 56px;
    height: 9px;
  }
}
.section-title__en {
  font-size: 0.95rem;
  color: #3e5548;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .section-title__en {
    font-size: 0.85rem;
  }
}
@media (max-width: 768px) {
  .section-title {
    margin: 0 0 2rem;
  }
}

/* CSS */
[data-aos=blur-up] {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(10px);
  transition: all 0.1s ease;
}

[data-aos=blur-up].aos-animate {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

h2 {
  margin-bottom: 3rem;
}
@media (max-width: 768px) {
  h2 {
    margin-bottom: 2rem;
  }
}

.split {
  display: inline-block;
  overflow: hidden;
  text-shadow: 0 1.3em currentColor; /* 和 JS 位移一致 */
  will-change: transform;
  padding: 1 1rem;
}

.char {
  display: inline-block;
  position: relative;
}

section {
  padding: 8rem 0rem;
}
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

a {
  text-decoration: none;
  color: #d9c7a4;
}

img {
  -o-object-fit: cover;
     object-fit: cover;
}

.all-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  z-index: -1;
  opacity: 0.35;
}
.all-bg img {
  width: 100%;
  height: 100%;
}

.cta-link {
  position: fixed;
  right: 1rem;
  bottom: 2rem;
  z-index: 999;
  flex-direction: column;
  display: flex;
  gap: 1rem;
  /* 避免子項目被等寬拉伸，同時維持靠右貼齊 */
  align-items: flex-end;
}
@media (max-width: 768px) {
  .cta-link {
    bottom: 1rem;
    right: 0.5rem;
  }
}
.cta-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 2rem;
  overflow: hidden;
}
.cta-link a.line {
  background: #39cd00;
}
.cta-link a.tel {
  background: #d9c7a4;
}
.cta-link a.tel .label {
  color: #333;
}
.cta-link a.tel svg #background {
  fill: #d9c7a4;
}
.cta-link a.tel svg #icon {
  fill: white;
  fill: #333;
}
.cta-link a .icon {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s ease;
}
.cta-link a .icon svg {
  width: 50px;
}
.cta-link a .label {
  white-space: nowrap;
  overflow: hidden;
  color: white;
  /* 用可動畫屬性取代 display */
  opacity: 0;
  visibility: hidden;
  max-width: 0; /* 或用 width，依喜好 */
  margin-left: 0;
  transform: translateX(8px);
  transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.cta-link a:hover {
  gap: 0.5rem;
}
.cta-link a:hover .label {
  opacity: 1;
  visibility: visible;
  max-width: 200px;
  margin-left: 0rem;
  padding-right: 1rem;
  transform: translateX(0);
  transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease, transform 0.3s ease, visibility 0s;
}
.cta-link .dropdown-menu {
  margin-right: 0.25rem;
  margin-left: 0;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  left: 0;
  background: #f4f1eb;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .brand-c {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
@media (max-width: 768px) {
  .navbar .brand-c {
    gap: 0.5rem;
  }
}
.navbar .brand-c__name {
  font-weight: 900;
  letter-spacing: 0.22em;
  color: #2f2b28;
}
@media (max-width: 768px) {
  .navbar .brand-c__name {
    letter-spacing: 0.16em;
  }
}
.navbar .brand-c__pipe {
  width: 1px;
  height: 18px;
  background: rgba(168, 176, 160, 0.75);
}
@media (max-width: 768px) {
  .navbar .brand-c__pipe {
    height: 16px;
  }
}
.navbar .brand-c__sub {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  color: #8e8072;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .navbar .brand-c__sub {
    font-size: 0.5rem;
  }
}
.navbar .brand-c:hover .brand-c__name {
  color: #3e5548;
}
.navbar .navbar-collapse {
  flex-grow: 0;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse {
    padding-top: 1rem;
  }
}
.navbar .navbar-collapse .navbar-nav {
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .navbar .navbar-collapse .navbar-nav {
    gap: 0.5rem;
  }
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #d9c7a4;
}

.parallax-fixed {
  position: relative;
  height: 100vh; /* 可自行調整高度 */
  overflow: hidden;
}
.parallax-fixed .parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 120%;
}
.parallax-fixed .parallax-img img {
  width: 100%;
  height: 100%;
}

.parallax-dynamic {
  position: relative;
  /* 高度交給圖片本身決定 */
}
.parallax-dynamic .parallax-media {
  overflow: hidden;
  line-height: 0; /* 移除 img 作為 inline 元素的行高縫隙 */
}
.parallax-dynamic .parallax-media img {
  display: block;
  width: 100%;
  height: auto;
  /* 關鍵：先往上、並放大一點，避免上下兩端出現空白 */
  transform: translateY(-12%) scale(1.12);
  transform-origin: center;
  will-change: transform;
}

#hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  /* 極薄的閱讀輔助：只在底部與左側微暗，不會擋背景 */
  /* 左側垂直 rail */
  /* 右下 Dock：小、穩、像產品頁的操作列 */
}
@media (max-width: 768px) {
  #hero {
    height: 45vh;
  }
}
@media (max-width: 400px) {
  #hero {
    height: 40vh;
  }
}
#hero .swiper {
  position: absolute;
  inset: 0;
  top: -10%;
  height: 120%;
}
#hero .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 8s ease;
  transform: scale(1.02);
}
@media (max-width: 768px) {
  #hero .swiper .swiper-slide img {
    transform: scale(1.01);
  }
}
#hero .swiper .swiper-slide-active img {
  transform: scale(1.12);
}
@media (max-width: 768px) {
  #hero .swiper .swiper-slide-active img {
    transform: scale(1.07);
  }
}
#hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0%, rgba(0, 0, 0, 0) 34%), linear-gradient(180deg, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.32) 100%);
}
@media (max-width: 768px) {
  #hero::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.38) 100%);
  }
}
#hero .hero-rail {
  position: absolute;
  z-index: 2;
  left: 26px;
  top: 26px;
  bottom: 26px;
  width: 76px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  /* 玻璃感細條，不是大面積卡片 */
}
@media (max-width: 768px) {
  #hero .hero-rail {
    left: 14px;
    top: 14px;
    bottom: 14px;
    width: 60px;
  }
}
#hero .hero-rail::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(244, 241, 235, 0.12);
  border: 1px solid rgba(244, 241, 235, 0.18);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}
#hero .hero-rail > * {
  position: relative;
  z-index: 1;
}
#hero .hero-rail__brand {
  margin-top: 18px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  letter-spacing: 0.28em;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
@media (max-width: 768px) {
  #hero .hero-rail__brand {
    margin-top: 14px;
    font-size: 0.92rem;
  }
}
#hero .hero-rail__dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d9c7a4;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  #hero .hero-rail__dot {
    width: 9px;
    height: 9px;
  }
}
#hero .hero-rail__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 768px) {
  #hero .hero-rail__meta {
    gap: 8px;
  }
}
#hero .hero-rail__meta .pill {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 10px 10px;
  border-radius: 999px;
  background: rgba(62, 85, 72, 0.55);
  border: 1px solid rgba(244, 241, 235, 0.2);
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
@media (max-width: 768px) {
  #hero .hero-rail__meta .pill {
    padding: 8px 8px;
    font-size: 0.85rem;
  }
}
#hero .hero-rail__scroll {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}
@media (max-width: 768px) {
  #hero .hero-rail__scroll {
    margin-bottom: 12px;
    gap: 6px;
    font-size: 0.85rem;
  }
}
#hero .hero-rail__scroll i {
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  #hero .hero-rail__scroll i {
    font-size: 1.05rem;
  }
}
#hero .hero-dock {
  position: absolute;
  z-index: 2;
  left: 28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  background: rgba(244, 241, 235, 0.18);
  border: 1px solid rgba(244, 241, 235, 0.22);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.22);
}
@media (max-width: 768px) {
  #hero .hero-dock {
    display: none;
    left: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 0.95rem 0.95rem;
    border-radius: 18px;
  }
}
#hero .hero-dock__text {
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
#hero .hero-dock__text h1 {
  margin: 0 0 0.25rem;
  font-weight: 900;
  letter-spacing: 0.3px;
  line-height: 1.1;
}
@media (max-width: 768px) {
  #hero .hero-dock__text h1 {
    font-size: 1.35rem;
  }
}
#hero .hero-dock__text p {
  margin: 0;
  opacity: 0.92;
  font-weight: 800;
  letter-spacing: 0.12em;
}
@media (max-width: 768px) {
  #hero .hero-dock__text p {
    font-size: 0.9rem;
    letter-spacing: 0.08em;
  }
}
#hero .hero-dock__actions {
  display: flex;
  gap: 0.7rem;
}
@media (max-width: 768px) {
  #hero .hero-dock__actions {
    gap: 0.6rem;
  }
}
#hero .dock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.78rem 1.1rem;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: transform 160ms ease, filter 160ms ease, background 160ms ease;
}
@media (max-width: 768px) {
  #hero .dock-btn {
    width: 100%;
    padding: 0.8rem 1.05rem;
  }
}
#hero .dock-btn i {
  font-size: 1.1rem;
}
@media (max-width: 768px) {
  #hero .dock-btn i {
    font-size: 1.05rem;
  }
}
#hero .dock-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
}
@media (max-width: 768px) {
  #hero .dock-btn:hover {
    transform: none;
  }
}
#hero .dock-btn--primary {
  background: #3e5548;
  color: #ffffff;
  box-shadow: 0 18px 55px rgba(62, 85, 72, 0.28);
}
#hero .dock-btn--ghost {
  background: rgba(244, 241, 235, 0.88);
  color: #3e5548;
}

#about {
  position: relative;
}
#about .about-media {
  position: relative;
  min-height: 420px;
}
@media (max-width: 768px) {
  #about .about-media {
    min-height: 360px;
  }
}
#about .about-media__frame {
  position: absolute;
  overflow: hidden;
  border-radius: 22px;
  background: #a8b0a0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(168, 176, 160, 0.35);
}
#about .about-media__frame img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.02);
}
@media (max-width: 768px) {
  #about .about-media__frame img {
    transform: scale(1.01);
  }
}
@media (max-width: 768px) {
  #about .about-media__frame {
    border-radius: 18px;
  }
}
#about .about-media__frame--a {
  top: 0;
  left: 0;
  width: 78%;
  height: 66%;
}
@media (max-width: 768px) {
  #about .about-media__frame--a {
    width: 82%;
    height: 62%;
  }
}
#about .about-media__frame--b {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 58%;
  border: 1px solid rgba(217, 199, 164, 0.55);
  box-shadow: 0 22px 60px rgba(62, 85, 72, 0.12);
}
@media (max-width: 768px) {
  #about .about-media__frame--b {
    width: 70%;
    height: 58%;
  }
}
#about .about-media__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  background: rgba(244, 241, 235, 0.9);
  border: 1px solid rgba(168, 176, 160, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
}
#about .about-media__badge i {
  font-size: 1.35rem;
  color: #3e5548;
}
@media (max-width: 768px) {
  #about .about-media__badge i {
    font-size: 1.25rem;
  }
}
@media (max-width: 768px) {
  #about .about-media__badge {
    left: 12px;
    bottom: 12px;
    padding: 0.8rem 0.9rem;
    border-radius: 14px;
  }
}
#about .about-media__badge-text .t1 {
  font-weight: 800;
  color: #2f2b28;
  letter-spacing: 0.4px;
}
@media (max-width: 768px) {
  #about .about-media__badge-text .t1 {
    font-size: 0.95rem;
  }
}
#about .about-media__badge-text .t2 {
  font-size: 0.9rem;
  color: #8e8072;
}
@media (max-width: 768px) {
  #about .about-media__badge-text .t2 {
    font-size: 0.85rem;
  }
}
#about .about-card {
  position: relative;
  padding: 2.2rem 2.2rem;
  border-radius: 26px;
  background: rgba(244, 241, 235, 0.92);
  border: 1px solid rgba(168, 176, 160, 0.45);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.06);
}
@media (max-width: 768px) {
  #about .about-card {
    padding: 1.6rem 1.2rem;
    border-radius: 20px;
  }
}
#about .about-card__lead p {
  margin: 0 0 0.9rem;
}
@media (max-width: 768px) {
  #about .about-card__lead p {
    margin: 0 0 0.8rem;
  }
}
#about .about-card__mission {
  margin-top: 1.4rem;
  padding: 1.2rem 1.2rem;
  border-radius: 18px;
  background: rgba(217, 199, 164, 0.18);
  border: 1px solid rgba(217, 199, 164, 0.35);
}
@media (max-width: 768px) {
  #about .about-card__mission {
    margin-top: 1.1rem;
    border-radius: 16px;
  }
}
#about .about-card__mission .kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 800;
  color: #3e5548;
  margin-bottom: 0.45rem;
}
#about .about-card__mission .kicker i {
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  #about .about-card__mission .kicker i {
    font-size: 1.1rem;
  }
}
@media (max-width: 768px) {
  #about .about-card__mission .kicker {
    margin-bottom: 0.4rem;
  }
}
#about .about-card__mission p {
  margin: 0;
}
@media (max-width: 768px) {
  #about .about-card__mission p {
    font-size: 0.98rem;
  }
}
#about .about-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}
@media (max-width: 768px) {
  #about .about-points {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
  }
}
#about .about-point {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1rem;
  border-radius: 18px;
  background: rgba(244, 241, 235, 0.95);
  border: 1px solid rgba(168, 176, 160, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
@media (max-width: 768px) {
  #about .about-point {
    padding: 0.95rem 0.95rem;
    border-radius: 16px;
  }
}
#about .about-point i {
  flex: 0 0 auto;
  font-size: 1.35rem;
  color: #3e5548;
  margin-top: 0.1rem;
}
@media (max-width: 768px) {
  #about .about-point i {
    font-size: 1.25rem;
  }
}
#about .about-point .txt .ttl {
  font-weight: 800;
  color: #2f2b28;
  letter-spacing: 0.3px;
}
@media (max-width: 768px) {
  #about .about-point .txt .ttl {
    font-size: 1rem;
  }
}
#about .about-point .txt .sub {
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: #8e8072;
}
@media (max-width: 768px) {
  #about .about-point .txt .sub {
    font-size: 0.9rem;
  }
}
#about .about-point:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.07);
}
@media (max-width: 768px) {
  #about .about-point:hover {
    transform: translateY(-1px);
  }
}
#about .about-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  #about .about-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 1.2rem;
  }
}
#about .about-cta .btn-forest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  background: #3e5548;
  color: #ffffff;
  border: 1px solid rgba(62, 85, 72, 0.65);
  box-shadow: 0 16px 40px rgba(62, 85, 72, 0.18);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: transform 160ms ease, filter 160ms ease;
}
@media (max-width: 768px) {
  #about .about-cta .btn-forest {
    width: 100%;
  }
}
#about .about-cta .btn-forest i {
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  #about .about-cta .btn-forest i {
    font-size: 1.1rem;
  }
}
#about .about-cta .btn-forest:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}
@media (max-width: 768px) {
  #about .about-cta .btn-forest:hover {
    transform: translateY(0);
  }
}
#about .about-cta__note {
  color: #8e8072;
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  #about .about-cta__note {
    text-align: center;
    font-size: 0.92rem;
  }
}

#services .service-card {
  height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(168, 176, 160, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
@media (max-width: 768px) {
  #services .service-card {
    border-radius: 18px;
  }
}
#services .service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  #services .service-card:hover {
    transform: translateY(-2px);
  }
}
#services .service-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
#services .service-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transform: scale(1.03);
  transition: transform 260ms ease;
}
@media (max-width: 768px) {
  #services .service-img img {
    transform: scale(1.02);
  }
}
.service-card:hover #services .service-img img {
  transform: scale(1.08);
}
@media (max-width: 768px) {
  .service-card:hover #services .service-img img {
    transform: scale(1.04);
  }
}
#services .service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}
#services .service-content {
  padding: 1.4rem 1.5rem;
}
@media (max-width: 768px) {
  #services .service-content {
    padding: 1.1rem 1.1rem;
  }
}
#services .service-content h3 {
  margin-bottom: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #3e5548;
}
@media (max-width: 768px) {
  #services .service-content h3 {
    font-size: 1.05rem;
  }
}
#services .service-content p {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.7;
  color: #8e8072;
}
@media (max-width: 768px) {
  #services .service-content p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

#process .process-timeline {
  position: relative;
  padding: 0.75rem 0;
  /* 中線：讓整體有流程感 */
}
@media (max-width: 768px) {
  #process .process-timeline {
    padding: 0.25rem 0;
  }
}
#process .process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(62, 85, 72, 0) 0%, rgba(168, 176, 160, 0.85) 12%, rgba(168, 176, 160, 0.85) 88%, rgba(62, 85, 72, 0) 100%);
}
@media (max-width: 768px) {
  #process .process-timeline::before {
    left: 14px;
    transform: none;
  }
}
#process .process-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  padding: 0.75rem 0;
  /* 中央節點 */
}
@media (max-width: 768px) {
  #process .process-step {
    grid-template-columns: 28px 1fr;
    padding: 0.55rem 0;
  }
}
#process .process-step::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #3e5548;
  box-shadow: 0 0 0 8px rgba(62, 85, 72, 0.12);
}
@media (max-width: 768px) {
  #process .process-step::before {
    left: 6px;
    transform: none;
    top: 1.5rem;
    z-index: 10;
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 7px rgba(62, 85, 72, 0.12);
  }
}
#process .process-step.is-left {
  /* 連線到中線的小橋段 */
}
#process .process-step.is-left .process-card {
  grid-column: 1/2;
}
@media (max-width: 768px) {
  #process .process-step.is-left .process-card {
    grid-column: 2/3;
  }
}
#process .process-step.is-left .process-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: 1.35rem;
  width: 18px;
  height: 2px;
  background: rgba(168, 176, 160, 0.85);
}
@media (max-width: 768px) {
  #process .process-step.is-left .process-card::after {
    left: -14px;
    right: auto;
    width: 14px;
    top: 1.15rem;
  }
}
#process .process-step.is-right .process-card {
  grid-column: 3/4;
}
@media (max-width: 768px) {
  #process .process-step.is-right .process-card {
    grid-column: 2/3;
  }
}
#process .process-step.is-right .process-card::after {
  content: "";
  position: absolute;
  left: -18px;
  top: 1.35rem;
  width: 18px;
  height: 2px;
  background: rgba(168, 176, 160, 0.85);
}
@media (max-width: 768px) {
  #process .process-step.is-right .process-card::after {
    left: -14px;
    width: 14px;
    top: 1.15rem;
  }
}
#process .process-card {
  position: relative;
  padding: 1.2rem 1.25rem;
  border-radius: 20px;
  background: rgba(244, 241, 235, 0.92);
  border: 1px solid rgba(168, 176, 160, 0.45);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.06);
  transition: transform 160ms ease, box-shadow 160ms ease;
  /* 低調的角落光斑，增加質感但不AI */
}
@media (max-width: 768px) {
  #process .process-card {
    padding: 1rem 1rem;
    border-radius: 16px;
  }
}
#process .process-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.075);
}
@media (max-width: 768px) {
  #process .process-card:hover {
    transform: translateY(-1px);
  }
}
#process .process-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin-bottom: 0.65rem;
}
@media (max-width: 768px) {
  #process .process-card__head {
    gap: 0.75rem;
    margin-bottom: 0.55rem;
  }
}
#process .process-card .badge {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #3e5548;
  background: rgba(217, 199, 164, 0.3);
  border: 1px solid rgba(217, 199, 164, 0.5);
}
@media (max-width: 768px) {
  #process .process-card .badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }
}
#process .process-card .meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  #process .process-card .meta {
    gap: 0.6rem;
  }
}
#process .process-card .meta h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
  color: #2f2b28;
  line-height: 1.25;
}
@media (max-width: 768px) {
  #process .process-card .meta h3 {
    font-size: 1.05rem;
  }
}
#process .process-card .meta .icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(168, 176, 160, 0.18);
  border: 1px solid rgba(168, 176, 160, 0.35);
}
@media (max-width: 768px) {
  #process .process-card .meta .icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }
}
#process .process-card .meta .icon i {
  font-size: 1.25rem;
  color: #3e5548;
}
@media (max-width: 768px) {
  #process .process-card .meta .icon i {
    font-size: 1.15rem;
  }
}
#process .process-card p {
  margin: 0;
  color: #8e8072;
  font-size: 0.96rem;
  line-height: 1.75;
}
@media (max-width: 768px) {
  #process .process-card p {
    font-size: 0.92rem;
    line-height: 1.65;
  }
}

.auto-carousel {
  padding: 0;
}
.auto-carousel .swiper {
  width: 100%;
  transform: rotate(0deg);
  position: relative;
}
.auto-carousel .swiper .swiper-wrapper {
  transition-timing-function: linear !important; /* 平滑線性移動 */
}
.auto-carousel .swiper .swiper-slide {
  width: 600px;
  aspect-ratio: 3/2;
}
@media (max-width: 768px) {
  .auto-carousel .swiper .swiper-slide {
    width: 300px;
  }
}
.auto-carousel .swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #d9c7a4;
}
#works .nav-pills .nav-link {
  color: #ff6b00;
}

@media (max-width: 768px) {
  #contact {
    padding-bottom: 1rem;
  }
}
#contact .contact-box {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  #contact .contact-box {
    margin-bottom: 1rem;
  }
}
#contact .contact-box:last-child {
  margin-bottom: 0;
}
#contact .contact-box .icon-box {
  background: #d9c7a4;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
}
#contact .contact-box .icon-box i {
  color: white;
  font-size: 2rem;
}
#contact .contact-box a {
  color: #8e8072;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

footer {
  padding-bottom: 1rem;
}
footer a {
  color: #8e8072;
  text-decoration: underline;
}/*# sourceMappingURL=all.css.map */