@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;
  color: #3f3f3f;
  background: radial-gradient(1200px 600px at 10% 0%, rgba(200, 169, 106, 0.12), transparent 60%), radial-gradient(900px 500px at 95% 20%, rgba(28, 52, 79, 0.1), transparent 55%), #efe5d8;
}
@media (max-width: 768px) {
  body {
    background: radial-gradient(900px 520px at 20% 0%, rgba(200, 169, 106, 0.1), transparent 65%), #efe5d8;
  }
}

/* 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);
}

.section-h2 {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 12px;
  margin: 0 0 2.5rem 0;
  padding: 0 0 14px 0;
  color: #00284b;
  letter-spacing: 0.06em;
}
.section-h2::before {
  content: attr(data-en);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(28, 52, 79, 0.55);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .section-h2::before {
    font-size: 0.85rem;
  }
}
.section-h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 86px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c8a96a, rgba(200, 169, 106, 0));
}
@media (max-width: 768px) {
  .section-h2::after {
    width: 72px;
  }
}
@media (max-width: 768px) {
  .section-h2 {
    padding-bottom: 12px;
    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: 5.5rem 0;
  }
}

a {
  text-decoration: none;
  color: #00284b;
}

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.7;
}
.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: #00284b;
}
.cta-link a.tel svg #background {
  fill: #00284b;
}
.cta-link a.tel svg #icon {
  fill: white;
}
.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: #00284b;
  z-index: 1049;
  transition: 0.5s;
}
.navbar .navbar-toggler {
  border-color: rgb(151, 151, 151);
}
.navbar .navbar-toggler .navbar-toggler-icon {
  filter: invert(1);
}
.navbar .navbar-brand {
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.navbar .navbar-brand .img-box {
  width: 250px;
  height: 110px;
}
@media (max-width: 768px) {
  .navbar .navbar-brand .img-box {
    width: 160px;
    height: 60px;
  }
}
.navbar .navbar-brand .img-box img {
  width: 100%;
  height: 100%;
  transition: 0.5s;
}
.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 .nav-link {
  color: #d5a360;
}
.navbar .navbar-collapse .navbar-nav .nav-item.cta {
  background: #00284b;
}

#hero {
  position: relative;
  overflow: hidden;
  margin-top: 139.25px;
}
@media (max-width: 768px) {
  #hero {
    margin-top: 86px;
  }
}
#hero .swiper {
  width: 100%;
  will-change: transform;
}
#hero .swiper .swiper-wrapper .swiper-slide img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 8s ease; /* 控制漸進放大 */
}
#hero .swiper .swiper-slide-active img {
  transform: scale(1.1); /* 只要變 active 就開始放大 */
}
#hero .cta-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.438);
}
#hero .cta-box .cta-content {
  text-align: center;
  color: white;
  padding: 2rem 3rem;
  border-radius: 1rem;
}
#hero .cta-box .cta-content h1 {
  margin-bottom: 1rem;
  text-align: center;
}
#hero .cta-box .cta-content p {
  margin-bottom: 2rem;
}
#hero .cta-box .cta-content .btn-box {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .btn-box {
    flex-direction: column;
  }
}
#hero .cta-box .cta-content .btn-box a {
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10rem;
  transition: 0.5s;
}
@media (max-width: 768px) {
  #hero .cta-box .cta-content .btn-box a {
    padding: 0.5rem 1rem;
  }
}
#hero .cta-box .cta-content .btn-box a i {
  padding-left: 0.5rem;
  font-size: 1.3rem;
}
#hero .cta-box .cta-content .btn-box a:first-child {
  background: #00284b;
  color: white;
}
#hero .cta-box .cta-content .btn-box a:last-child {
  color: gray;
  background: white;
}
#hero .cta-box .cta-content .btn-box a:last-child:hover {
  background: white;
  color: #00284b;
}

.about {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0));
}
.about .about__media {
  position: relative;
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(200, 169, 106, 0.18);
  box-shadow: 0 18px 40px rgba(28, 52, 79, 0.12);
}
@media (max-width: 768px) {
  .about .about__media {
    padding: 14px;
  }
}
.about .about__img {
  overflow: hidden;
  border-radius: 18px;
  background: #eadfcf;
  border: 1px solid rgba(200, 169, 106, 0.22);
}
.about .about__img img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.92) contrast(0.96);
}
@media (max-width: 768px) {
  .about .about__img img {
    filter: saturate(0.95) contrast(0.98);
  }
}
.about .about__img--main {
  aspect-ratio: 16/11;
  margin: 0;
}
@media (max-width: 768px) {
  .about .about__img--main {
    aspect-ratio: 16/12;
  }
}
.about .about__stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 768px) {
  .about .about__stack {
    gap: 10px;
    margin-top: 10px;
  }
}
.about .about__badge {
  position: absolute;
  right: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(28, 52, 79, 0.92);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(200, 169, 106, 0.35);
  box-shadow: 0 14px 30px rgba(28, 52, 79, 0.18);
}
.about .about__badge i {
  font-size: 1.15rem;
}
@media (max-width: 768px) {
  .about .about__badge i {
    font-size: 1.05rem;
  }
}
.about .about__badge span {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
@media (max-width: 768px) {
  .about .about__badge span {
    font-size: 0.9rem;
  }
}
@media (max-width: 768px) {
  .about .about__badge {
    right: 12px;
    top: 12px;
    padding: 9px 10px;
  }
}
.about .about__card {
  border-radius: 18px;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(200, 169, 106, 0.22);
  box-shadow: 0 18px 40px rgba(28, 52, 79, 0.12);
  padding: 26px;
}
@media (max-width: 768px) {
  .about .about__card {
    padding: 18px;
  }
}
.about .about__text {
  margin: 0 0 18px 0;
  color: #3f3f3f;
  line-height: 1.95;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .about .about__text {
    font-size: 1rem;
    line-height: 1.9;
  }
}
.about .about__highlights {
  display: grid;
  gap: 12px;
  padding-top: 6px;
}
@media (max-width: 768px) {
  .about .about__highlights {
    gap: 10px;
  }
}
.about .about__hl {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(200, 169, 106, 0.18);
}
@media (max-width: 768px) {
  .about .about__hl {
    padding: 11px 12px;
  }
}
.about .about__hl-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(200, 169, 106, 0.16);
  border: 1px solid rgba(200, 169, 106, 0.22);
}
.about .about__hl-icon i {
  font-size: 1.25rem;
  color: #00284b;
}
@media (max-width: 768px) {
  .about .about__hl-icon i {
    font-size: 1.15rem;
  }
}
@media (max-width: 768px) {
  .about .about__hl-icon {
    width: 40px;
    height: 40px;
  }
}
.about .about__hl-text {
  display: grid;
  gap: 2px;
}
.about .about__hl-text strong {
  font-weight: 700;
  color: #00284b;
}
@media (max-width: 768px) {
  .about .about__hl-text strong {
    font-size: 0.98rem;
  }
}
.about .about__hl-text span {
  color: rgba(63, 63, 63, 0.72);
  font-size: 0.95rem;
}
@media (max-width: 768px) {
  .about .about__hl-text span {
    font-size: 0.92rem;
  }
}
.about .about__cta {
  margin-top: 18px;
}
.about .about__cta .btn {
  border-radius: 999px;
  padding: 12px 16px;
  border-width: 1px;
}
@media (max-width: 768px) {
  .about .about__cta .btn {
    padding: 11px 14px;
  }
}
.about .about__cta .btn-primary {
  background: #00284b;
  border-color: #00284b;
}
.about .about__cta .btn-primary:hover {
  background: #223b57;
  border-color: #223b57;
}
.about .about__cta .btn-outline-primary {
  color: #00284b;
  border-color: rgba(28, 52, 79, 0.35);
  background: rgba(255, 255, 255, 0.32);
}
.about .about__cta .btn-outline-primary:hover {
  color: #00284b;
  border-color: rgba(200, 169, 106, 0.55);
  background: rgba(200, 169, 106, 0.12);
}

.services {
  position: relative;
}
.services::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  background: url("../images/services/bg.avif") no-repeat;
  background-size: cover;
  z-index: -1;
}
@media (max-width: 768px) {
  .services::after {
    background: url("../images/services/bg-s.avif") no-repeat;
    background-position: center;
    background-size: cover;
  }
}
.services .services__intro {
  border-radius: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(200, 169, 106, 0.18);
  box-shadow: 0 14px 30px rgba(28, 52, 79, 0.08);
}
@media (max-width: 768px) {
  .services .services__intro {
    padding: 18px;
  }
}
.services .services__lead {
  margin: 0;
  color: #3f3f3f;
  line-height: 1.95;
  font-size: 1.05rem;
}
@media (max-width: 768px) {
  .services .services__lead {
    font-size: 1rem;
  }
}
.services .services__meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
@media (max-width: 768px) {
  .services .services__meta {
    margin-top: 12px;
    gap: 8px;
  }
}
.services .services__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(234, 223, 207, 0.55);
  border: 1px solid rgba(200, 169, 106, 0.22);
  color: rgba(28, 52, 79, 0.9);
  font-size: 0.95rem;
}
.services .services__pill i {
  color: #c8a96a;
}
@media (max-width: 768px) {
  .services .services__pill i {
    font-size: 1.05rem;
  }
}
@media (max-width: 768px) {
  .services .services__pill {
    font-size: 0.92rem;
  }
}
.services .services__card {
  border-radius: 18px;
  overflow: hidden;
  background: rgb(255, 255, 255);
  border: 1px solid rgba(200, 169, 106, 0.2);
  box-shadow: 0 18px 40px rgba(28, 52, 79, 0.12);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.services .services__card:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 169, 106, 0.38);
  box-shadow: 0 22px 50px rgba(28, 52, 79, 0.14);
}
.services .services__thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #eadfcf;
}
.services .services__thumb img {
  width: 100%;
  height: 100%;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  filter: saturate(0.9) contrast(0.96);
}
@media (max-width: 768px) {
  .services .services__thumb img {
    filter: saturate(0.93) contrast(0.98);
  }
}
.services .services__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 52, 79, 0), rgba(28, 52, 79, 0.12));
  pointer-events: none;
}
.services .services__body {
  padding: 18px 18px 20px 18px;
}
@media (max-width: 768px) {
  .services .services__body {
    padding: 16px;
  }
}
.services .services__title {
  margin: 0 0 10px 0;
  color: #00284b;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 1.08rem;
}
@media (max-width: 768px) {
  .services .services__title {
    font-size: 1.02rem;
  }
}
.services .services__title::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: rgba(200, 169, 106, 0.65);
}
@media (max-width: 768px) {
  .services .services__title::after {
    width: 46px;
  }
}
.services .services__text {
  margin: 0;
  color: rgba(63, 63, 63, 0.72);
  line-height: 1.9;
  font-size: 0.98rem;
}
@media (max-width: 768px) {
  .services .services__text {
    font-size: 0.95rem;
  }
}

.process .process__rail {
  position: relative;
  display: grid;
  gap: 14px;
}
.process .process__rail::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(200, 169, 106, 0.35);
}
@media (max-width: 768px) {
  .process .process__rail::before {
    left: 22px;
  }
}
.process .process__item {
  position: relative;
  display: grid;
  grid-template-columns: 52px 54px 1fr;
  gap: 12px;
  align-items: start;
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(200, 169, 106, 0.18);
  box-shadow: 0 14px 30px rgba(28, 52, 79, 0.08);
}
@media (max-width: 768px) {
  .process .process__item {
    grid-template-columns: 46px 50px 1fr;
    padding: 14px;
    gap: 10px;
  }
}
.process .process__no {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(234, 223, 207, 0.65);
  border: 1px solid rgba(200, 169, 106, 0.22);
  color: #00284b;
  font-weight: 800;
}
@media (max-width: 768px) {
  .process .process__no {
    width: 40px;
    height: 40px;
  }
}
.process .process__icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
}
.process .process__icon i {
  font-size: 2rem;
  color: #00284b;
}
@media (max-width: 768px) {
  .process .process__icon i {
    font-size: 1.8rem;
  }
}
@media (max-width: 768px) {
  .process .process__icon {
    width: 40px;
    height: 40px;
  }
}
.process .process__content {
  padding-top: 2px;
}
@media (max-width: 768px) {
  .process .process__content {
    padding-top: 0;
  }
}
.process .process__title {
  margin: 0;
  color: #00284b;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 1.06rem;
}
@media (max-width: 768px) {
  .process .process__title {
    font-size: 1.02rem;
  }
}
.process .process__text {
  margin: 8px 0 0 0;
  color: rgba(63, 63, 63, 0.72);
  line-height: 1.9;
  font-size: 0.98rem;
}
@media (max-width: 768px) {
  .process .process__text {
    font-size: 0.95rem;
  }
}

.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 {
  background: #efe5d8;
}
#works .nav-pills .nav-link.active,
#works .nav-pills .show > .nav-link {
  background: #00284b;
  color: #c8a96a;
}
#works .nav-pills .nav-link {
  border: 1px solid #00284b;
  color: #00284b;
}
#works img {
  width: 100%;
  height: 400px;
}
@media (max-width: 768px) {
  #works img {
    height: 150px;
  }
}

@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: #00284b;
  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: #00284b;
  font-weight: 600;
}
#contact .contact-box span {
  display: block;
  color: gray;
  margin-top: 0.5rem;
}

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