/* Hero 輪播 */
.hero { position: relative; height: min(100vh, 760px); min-height: 520px; overflow: hidden; color: #fff; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.2s ease, transform 6s ease;
  filter: blur(2px);
}
.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(20, 52, 42, .92) 20%, rgba(20, 52, 42, .55));
}
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.hero-eyebrow { color: var(--gold); letter-spacing: .3em; font-weight: 600; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.6rem); letter-spacing: .15em; line-height: 1.3; }
.hero-content > p:not(.hero-eyebrow) { font-size: 1.15rem; opacity: .9; margin-bottom: 12px; }
.hero-content .btn { align-self: flex-start; }
.hero-dots { position: absolute; z-index: 2; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dots button {
  width: 36px; height: 4px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .4);
}
.hero-dots button.is-active { background: var(--gold); }

/* 通用區塊 */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-eyebrow { color: var(--gold); letter-spacing: .3em; font-weight: 600; font-size: .9rem; }
.section-title {
  color: var(--primary); font-size: 2rem; margin-bottom: 32px;
  position: relative; padding-bottom: 12px;
}
.section-title::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 48px; height: 3px; background: var(--gold);
}
.center { text-align: center; }
.section-title.center::after { left: 50%; transform: translateX(-50%); }

/* 關於 */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.about-grid p + p { margin-top: 16px; }
.about-grid p:not(.section-eyebrow) { color: var(--muted); }
.about-img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius);
  box-shadow: 16px 16px 0 var(--gold);
}

/* 服務項目 */
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .06); transition: transform .3s;
}
.service-card:hover { transform: translateY(-6px); }
.service-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.service-body { padding: 24px 28px; border-top: 4px solid var(--primary); }
.service-body h3 { color: var(--primary); margin-bottom: 8px; }
.service-body p { color: var(--muted); }

/* 施工流程 */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-list li { text-align: center; padding: 32px 16px; border: 1px solid #e5e0d3; border-radius: var(--radius); }
.process-list span { display: block; font-size: 2.2rem; font-weight: 700; color: var(--gold); }
.process-list h3 { color: var(--primary); margin: 4px 0; }
.process-list p { color: var(--muted); font-size: .95rem; }

/* 工程實績 */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.08); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 8px 12px;
  background: linear-gradient(transparent, rgba(20, 52, 42, .85)); color: #fff;
}

/* 聯絡 */
.contact { background: var(--primary); color: #fff; }
.contact .section-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.contact-list { list-style: none; margin-bottom: 28px; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.contact-list strong { display: inline-block; width: 88px; color: var(--gold); font-weight: 600; }
.contact-list a:hover { color: var(--gold); }
.map { width: 100%; height: 360px; border: 0; border-radius: var(--radius); }

@media (max-width: 860px) {
  .section { padding: 64px 0; }
  .about-grid, .contact-grid, .service-grid { grid-template-columns: 1fr; }
  .process-list, .gallery { grid-template-columns: repeat(2, 1fr); }
}

.contact-list a { word-break: break-all; }
