:root {
  --forest: #183d2b;
  --leaf: #2f6f47;
  --moss: #8aa35d;
  --cream: #f6f1e7;
  --sand: #e4d7be;
  --ink: #17231c;
  --muted: #657367;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(24, 61, 43, 0.18);
  --radius-lg: 32px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(138, 163, 93, 0.24), transparent 32rem),
    linear-gradient(180deg, #fbf8f0 0%, #f2eadb 100%);
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(246, 241, 231, 0.88);
  border-bottom: 1px solid rgba(47, 111, 71, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--forest);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--cream);
  background: linear-gradient(135deg, var(--forest), var(--leaf));
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(24, 61, 43, 0.24);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: clamp(14px, 3vw, 34px);
  color: var(--forest);
  font-weight: 700;
}

.main-nav a {
  opacity: 0.76;
  transition: opacity 180ms ease, color 180ms ease;
}

.main-nav a:hover {
  color: var(--leaf);
  opacity: 1;
}

main {
  overflow: hidden;
}

.hero,
.intro,
.section,
.feature,
.contact {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  min-height: calc(100vh - 82px);
  padding: 72px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--forest);
  font-size: clamp(2.7rem, 7vw, 6.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h2 {
  margin-bottom: 18px;
  color: var(--forest);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: 1.28rem;
}

.hero-copy,
.intro p,
.feature-content li,
.contact p,
.steps p,
.service-card p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 34px;
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--forest);
  box-shadow: 0 14px 34px rgba(24, 61, 43, 0.24);
}

.button.secondary {
  color: var(--forest);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(47, 111, 71, 0.16);
}

.hero-card {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.hero-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 52%, rgba(24, 61, 43, 0.48));
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 1;
  padding: 18px 22px;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  font-size: 2rem;
  line-height: 1;
}

.hero-badge span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.intro {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(24px, 5vw, 68px);
  align-items: start;
  padding: 76px clamp(22px, 5vw, 58px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(47, 111, 71, 0.1);
  border-radius: var(--radius-lg);
}

.section {
  padding: 108px 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.steps article,
.contact-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 111, 71, 0.1);
  box-shadow: 0 18px 44px rgba(24, 61, 43, 0.08);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius-md);
}

.service-card img {
  height: 260px;
}

.service-card h3,
.service-card p {
  padding-inline: 22px;
}

.service-card h3 {
  padding-top: 22px;
}

.service-card p {
  padding-bottom: 8px;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  padding-top: 108px;
}

.feature-image {
  height: 520px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.feature-content {
  padding: clamp(18px, 3vw, 34px);
}

.feature-content ul {
  display: grid;
  gap: 16px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.feature-content li {
  position: relative;
  padding-left: 34px;
}

.feature-content li::before {
  position: absolute;
  top: 0.64em;
  left: 0;
  width: 14px;
  height: 14px;
  content: "";
  background: var(--moss);
  border: 4px solid rgba(138, 163, 93, 0.26);
  border-radius: 50%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-grid img {
  aspect-ratio: 1 / 0.82;
  border-radius: 20px;
  box-shadow: 0 12px 28px rgba(24, 61, 43, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.gallery-grid img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 38px rgba(24, 61, 43, 0.18);
}

.zoomable-image {
  cursor: zoom-in;
}

.zoomable-image:focus-visible {
  outline: 4px solid rgba(138, 163, 93, 0.9);
  outline-offset: 5px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  padding: clamp(18px, 4vw, 54px);
  visibility: hidden;
  background: rgba(8, 18, 12, 0.96);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.lightbox[aria-hidden="false"] {
  visibility: visible;
  opacity: 1;
}

.lightbox-image {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: min(1120px, 92vw);
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  border: 8px solid rgba(255, 255, 255, 0.82);
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  cursor: default;
}

.lightbox-caption {
  position: relative;
  z-index: 1;
  max-width: min(900px, 90vw);
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.86);
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 101;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--forest);
  font-size: 2rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps article {
  padding: 28px;
  border-radius: var(--radius-md);
}

.steps span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--moss);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.66fr);
  gap: 28px;
  align-items: center;
  margin-top: 108px;
  padding: clamp(34px, 6vw, 70px);
  color: var(--white);
  background:
    linear-gradient(rgba(24, 61, 43, 0.9), rgba(24, 61, 43, 0.9)),
    url("img/WhatsApp Image 2026-07-24 at 13.08.50 (1).jpeg") center/cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact .eyebrow,
.contact h2,
.contact p {
  color: var(--white);
}

.contact p {
  opacity: 0.86;
}

.contact-card {
  padding: 26px;
  color: var(--forest);
  border-radius: 24px;
}

.contact-card p {
  color: var(--muted);
}

.contact-card p:first-child {
  color: var(--forest);
  font-size: 1.3rem;
}

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .intro,
  .feature,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
  }

  .hero-card {
    min-height: 440px;
  }

  .service-grid,
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
  }

  .main-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.94rem;
  }

  .hero,
  .intro,
  .section,
  .feature,
  .contact,
  .site-footer {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    padding: 42px 0;
  }

  .hero-card,
  .feature-image {
    min-height: 0;
    height: 360px;
    border-radius: 26px;
  }

  .intro,
  .contact {
    padding: 28px;
    border-radius: 24px;
  }

  .section,
  .feature {
    padding-top: 76px;
  }

  .service-grid,
  .steps,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .service-card img {
    height: 230px;
  }

  .gallery-grid img {
    aspect-ratio: 1 / 0.68;
  }
}
