:root {
  --green: #7ea653;
  --green-dark: #394b25;
  --green-deep: #263219;
  --green-light: #edf3e8;
  --green-pale: #f7f9f4;
  --ink: #20251f;
  --muted: #667061;
  --white: #fff;
  --line: #dce4d7;
  --danger: #a33a2d;
  --radius: 12px;
  --max-width: 1180px;
  --shadow: 0 18px 48px rgba(34, 61, 35, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.75;
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
section { padding: 92px 0; scroll-margin-top: 82px; }
.container { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }
.section-heading { margin-bottom: 40px; }
.section-eyebrow {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.section-title {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.18;
  letter-spacing: -.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(220, 228, 215, .9);
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  position: relative;
  width: 150px;
  height: 58px;
  overflow: hidden;
}
.brand img {
  position: absolute;
  top: -75px;
  left: -39px;
  width: 227px;
  max-width: none;
  height: 227px;
  object-fit: fill;
}
.nav { display: flex; align-items: center; gap: clamp(18px, 2.7vw, 34px); font-weight: 800; }
.nav a { position: relative; padding: 26px 0; font-size: 15px; }
.nav a::after {
  position: absolute;
  right: 100%;
  bottom: 18px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--green);
  transition: right .25s ease;
}
.nav a:hover::after, .nav a:focus-visible::after { right: 0; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green-dark);
  background: var(--white);
  font-size: 23px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--white);
  text-align: center;
  background: var(--green);
}
.hero-content { max-width: 1050px; padding: 100px 0 82px; }
.hero-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-mark::before, .hero-mark::after { width: 36px; height: 3px; content: ""; background: var(--green-dark); }
.hero h1 {
  margin: 0 0 24px;
  font-family: Arial, sans-serif;
  font-size: clamp(54px, 9vw, 108px);
  line-height: .95;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.hero .subtitle {
  margin: 0;
  color: var(--green-deep);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: .07em;
}
.scroll-cue {
  position: absolute;
  bottom: 25px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid rgba(29, 53, 31, .55);
  border-radius: 50%;
  color: var(--green-deep);
  font-size: 25px;
  line-height: 1;
  transform: translateX(-50%);
  animation: scroll-bounce 1.7s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.service-section { padding: 0; overflow: hidden; }
.service-section.alt { background: var(--green-light); }
.service-section .container { width: 100%; max-width: none; }
.service-layout { display: grid; grid-template-columns: minmax(320px, 38%) minmax(0, 62%); gap: 0; min-height: 760px; align-items: stretch; }
.service-section.alt .service-layout { grid-template-columns: minmax(0, 62%) minmax(320px, 38%); }
.service-copy, .service-visual { min-width: 0; }
.service-copy { align-self: center; padding: 82px max(24px, calc((100vw - var(--max-width)) / 2)) 82px clamp(48px, 7vw, 96px); }
.service-section.alt .service-copy { padding-right: clamp(48px, 7vw, 96px); padding-left: max(24px, calc((100vw - var(--max-width)) / 2)); }
.service-section.alt .service-visual { order: 2; }
.service-number { margin-bottom: 12px; color: var(--green); font-weight: 900; letter-spacing: .14em; }
.service-copy .section-title { margin-bottom: 22px; }
.service-copy > p { margin: 0 0 30px; color: var(--muted); font-size: 18px; }
.service-visual {
  margin: 0;
  width: 100%;
  min-height: 760px;
  overflow: hidden;
}
.service-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.service-items { display: flex; flex-wrap: wrap; gap: 11px; margin: 0; padding: 0; list-style: none; }
.service-items li {
  padding: 9px 16px;
  border: 1px solid #b7c9a8;
  border-radius: 999px;
  color: var(--green-dark);
  background: var(--white);
  font-weight: 800;
}

.poster-section { overflow: hidden; background: var(--green-pale); }
.poster-section .section-heading { text-align: left; }
.poster-carousel { overflow: hidden; }
.poster-track { display: flex; justify-content: center; padding: 5px 0 14px; }
.poster-slide {
  width: min(470px, 88vw);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.poster-slide img { width: 100%; max-height: 720px; object-fit: contain; }

.why-us { background: var(--green); }
.why-us .section-eyebrow, .why-us .section-title { color: var(--green-deep); }
.why-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(48px, 8vw, 90px); }
.advantage-list { border-top: 2px solid var(--green-deep); }
.advantage {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 2px solid var(--green-deep);
}
.advantage .check-icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--white); background: var(--green-deep); box-shadow: 0 7px 16px rgba(38,50,25,.2); }
.advantage .check-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.advantage h3 { margin: 0 0 6px; color: var(--green-deep); font-size: 23px; line-height: 1.3; }
.advantage p { margin: 0; color: #263c25; }

.gallery-section { overflow: hidden; background: var(--white); }
.gallery-header { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.gallery-controls { display: flex; gap: 10px; }
.gallery-arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-dark);
  background: var(--white);
  font-size: 23px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}
.gallery-arrow:hover { color: var(--white); background: var(--green); }
.collage-viewport { overflow: hidden; }
.collage-track { display: flex; transition: transform .6s cubic-bezier(.22,.7,.22,1); will-change: transform; }
.collage-slide { flex: 0 0 100%; min-width: 0; }
.collage-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: repeat(6, minmax(0, 1fr)); gap: 14px; height: clamp(430px, 48vw, 700px); }
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--green-light);
  cursor: zoom-in;
}
.layout-left .gallery-item:nth-child(1) { grid-column: 1 / 6; grid-row: 1 / 7; }
.layout-left .gallery-item:nth-child(2) { grid-column: 6 / 10; grid-row: 1 / 4; }
.layout-left .gallery-item:nth-child(3) { grid-column: 10 / 13; grid-row: 1 / 4; }
.layout-left .gallery-item:nth-child(4) { grid-column: 6 / 9; grid-row: 4 / 7; }
.layout-left .gallery-item:nth-child(5) { grid-column: 9 / 13; grid-row: 4 / 7; }
.layout-right .gallery-item:nth-child(1) { grid-column: 8 / 13; grid-row: 1 / 7; }
.layout-right .gallery-item:nth-child(2) { grid-column: 1 / 5; grid-row: 1 / 4; }
.layout-right .gallery-item:nth-child(3) { grid-column: 5 / 8; grid-row: 1 / 4; }
.layout-right .gallery-item:nth-child(4) { grid-column: 1 / 4; grid-row: 4 / 7; }
.layout-right .gallery-item:nth-child(5) { grid-column: 4 / 8; grid-row: 4 / 7; }
.layout-top .gallery-item:nth-child(1) { grid-column: 1 / 13; grid-row: 1 / 4; }
.layout-top .gallery-item:nth-child(2) { grid-column: 1 / 5; grid-row: 4 / 7; }
.layout-top .gallery-item:nth-child(3) { grid-column: 5 / 9; grid-row: 4 / 7; }
.layout-top .gallery-item:nth-child(4) { grid-column: 9 / 13; grid-row: 4 / 7; }
.layout-bottom .gallery-item:nth-child(1) { grid-column: 1 / 13; grid-row: 4 / 7; }
.layout-bottom .gallery-item:nth-child(2) { grid-column: 1 / 5; grid-row: 1 / 4; }
.layout-bottom .gallery-item:nth-child(3) { grid-column: 5 / 9; grid-row: 1 / 4; }
.layout-bottom .gallery-item:nth-child(4) { grid-column: 9 / 13; grid-row: 1 / 4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-item img.focus-right { object-position: 70% center; }
.gallery-item:hover img { transform: scale(1.055); }
.gallery-item::after {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 5px 11px;
  content: attr(data-label);
  color: var(--white);
  background: var(--green-dark);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  opacity: 1;
  transform: none;
}
.gallery-dots { display: flex; justify-content: center; gap: 9px; margin-top: 22px; }
.gallery-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: #cbd8c1; cursor: pointer; }
.gallery-dot.active { width: 28px; border-radius: 999px; background: var(--green); }

.contact-section { background: var(--green-pale); }
.contact-intro { max-width: 820px; margin: 18px 0 40px; color: var(--muted); font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; align-items: start; }
.contact-card, .message-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(34, 61, 35, .08);
}
.contact-card { padding: 32px; }
.contact-card h3, .message-form h3 { margin: 0 0 16px; color: var(--green-dark); font-size: 25px; }
.contact-card p { margin: 0 0 16px; color: var(--muted); }
.contact-points { display: grid; gap: 12px; margin: 28px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.contact-points span { display: flex; align-items: center; gap: 10px; color: var(--green-dark); font-weight: 800; }
.message-form { padding: 32px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label, .consent-field legend { color: var(--green-dark); font-weight: 800; }
.required { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 49px;
  padding: 11px 13px;
  border: 1px solid #cbd6c5;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  outline: none;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(126,166,83,.17); }
.consent-field { margin: 18px 0 22px; padding: 0; border: 0; }
.consent-option { display: flex; align-items: flex-start; gap: 10px; margin-top: 9px; color: var(--muted); font-size: 14px; font-weight: 600; }
.consent-option input { flex: 0 0 auto; width: 19px; height: 19px; margin: 4px 0 0; accent-color: var(--green); }
.form-button {
  min-width: 130px;
  min-height: 49px;
  padding: 10px 25px;
  border: 0;
  border-radius: 8px;
  color: var(--white);
  background: var(--green-dark);
  font-weight: 800;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.form-button:hover { background: var(--green); transform: translateY(-2px); }
.form-button:disabled { background: #98a391; cursor: wait; transform: none; }
.form-notice { display: none; margin: 16px 0 0; padding: 11px 13px; border-radius: 8px; color: var(--green-dark); background: var(--green-light); font-weight: 800; }
.form-notice.show { display: block; }
.form-notice.error { color: var(--danger); background: #faece9; }

.site-footer { padding: 28px 0; color: #d7e2d0; background: var(--green-deep); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 70px 28px 28px; background: rgba(8,15,9,.92); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1180px, 96vw); max-height: 84vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 18px; right: 24px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; color: var(--white); background: transparent; font-size: 29px; line-height: 1; cursor: pointer; }

@media (max-width: 900px) {
  section { padding: 76px 0; }
  .menu-toggle { display: block; }
  .nav { position: fixed; top: 80px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px 32px; border-bottom: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; font-size: 18px; }
  .nav a::after { bottom: 7px; }
  .service-layout, .service-section.alt .service-layout, .why-layout, .contact-grid { grid-template-columns: 1fr; }
  .service-layout { gap: 0; min-height: 0; }
  .service-section.alt .service-visual { order: 0; }
  .service-visual { min-height: 0; height: min(115vw, 760px); }
  .service-copy, .service-section.alt .service-copy { padding: 58px 24px 72px; }
  .contact-card { max-width: none; }
}

@media (max-width: 600px) {
  .container { width: min(var(--max-width), calc(100% - 32px)); }
  .service-section { width: 100%; }
  .service-section .container { width: 100%; max-width: none; padding: 0; }
  .service-section .service-layout, .service-section .service-copy, .service-section .service-visual { width: 100%; min-width: 0; }
  .service-section .service-visual { height: auto; aspect-ratio: 941 / 1672; }
  .service-section .service-copy, .service-section.alt .service-copy { padding: 52px 16px 64px; }
  .service-section .service-items li { max-width: 100%; overflow-wrap: anywhere; }
  section { padding: 62px 0; }
  .header-inner { min-height: 72px; }
  .brand { width: 132px; height: 54px; }
  .brand img { top: -70px; left: -40px; width: 211px; height: 211px; }
  .nav { top: 72px; }
  .hero { min-height: 560px; }
  .hero-content { padding: 82px 0 62px; }
  .hero h1 { font-size: clamp(48px, 17vw, 70px); }
  .hero h1 span { display: block; }
  .hero .subtitle { max-width: 340px; margin-inline: auto; line-height: 1.55; }
  .gallery-header { align-items: start; }
  .gallery-controls { padding-top: 4px; }
  .gallery-arrow { width: 42px; height: 42px; }
  .collage-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); height: min(440px, 112vw); gap: 9px; }
  .layout-left .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .layout-left .gallery-item:nth-child(2) { grid-column: 3 / 5; grid-row: 1; }
  .layout-left .gallery-item:nth-child(3) { grid-column: 3 / 5; grid-row: 2; }
  .layout-right .gallery-item:nth-child(1) { grid-column: 3 / 5; grid-row: 1 / 3; }
  .layout-right .gallery-item:nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
  .layout-right .gallery-item:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
  .layout-top .gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1; }
  .layout-top .gallery-item:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }
  .layout-top .gallery-item:nth-child(3) { grid-column: 3 / 5; grid-row: 2; }
  .layout-bottom .gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 2; }
  .layout-bottom .gallery-item:nth-child(2) { grid-column: 1 / 3; grid-row: 1; }
  .layout-bottom .gallery-item:nth-child(3) { grid-column: 3 / 5; grid-row: 1; }
  .gallery-item:nth-child(n+4) { display: none; }
  .gallery-item::after { right: 8px; bottom: 8px; opacity: 1; transform: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .message-form, .contact-card { padding: 25px; }
  .form-button { width: 100%; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
