:root {
  color-scheme: light;
  --ink: #17201b;
  --muted: #5a665f;
  --line: #dbe2dd;
  --soft: #f4f7f5;
  --paper: #ffffff;
  --brand: #0f6b4f;
  --brand-dark: #094934;
  --accent: #cf6b2f;
  --shadow: 0 18px 55px rgba(25, 48, 36, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.65;
  background: #f2f6f3;
}

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;
  min-height: 68px;
  padding: 0 5vw;
  border-bottom: 1px solid rgba(219, 226, 221, 0.8);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--brand-dark);
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.55fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 68px);
  padding: 72px 5vw 96px;
  background:
    linear-gradient(90deg, rgba(248, 251, 249, 0.98) 0%, rgba(248, 251, 249, 0.92) 48%, rgba(248, 251, 249, 0.62) 100%),
    url("https://images.pexels.com/photos/36162732/pexels-photo-36162732.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
}

.hero__content {
  position: relative;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: 0;
}

.hero__lead {
  max-width: 700px;
  color: var(--muted);
  font-size: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(15, 107, 79, 0.2);
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.button--primary {
  color: #fff;
  background: var(--brand);
}

.button--primary:hover {
  background: var(--brand-dark);
}

.button--secondary {
  border: 1px solid var(--line);
  color: var(--brand-dark);
  background: #fff;
}

.hero__panel,
.card,
.qr-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero__panel {
  overflow: hidden;
  padding: 0;
}

.hero__panel h2 {
  font-size: 24px;
}

.hero__panel img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero__panel-copy {
  padding: 24px;
}

.hero__panel-copy p {
  margin-bottom: 0;
  color: var(--muted);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.trust-strip div {
  display: grid;
  gap: 6px;
  padding: 28px 5vw;
  background: #fff;
}

.trust-strip strong {
  color: var(--brand-dark);
  font-size: 20px;
}

.trust-strip span {
  color: var(--muted);
}

.section {
  padding: 92px 5vw;
}

.section__heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section__heading p:not(.eyebrow) {
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card {
  position: relative;
  padding: 26px;
  box-shadow: none;
  background: #fff;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--brand);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
}

.card--muted {
  background: var(--soft);
}

.discovery {
  background: #fff;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight {
  display: grid;
  gap: 10px;
  padding: 24px;
  border-left: 3px solid var(--brand);
  background: var(--soft);
}

.insight span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.insight p {
  margin-bottom: 0;
  color: var(--muted);
}

.case-band {
  background:
    linear-gradient(180deg, rgba(9, 73, 52, 0.92), rgba(15, 107, 79, 0.88)),
    url("https://images.pexels.com/photos/36003983/pexels-photo-36003983.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
  color: #fff;
}

.case-band .eyebrow {
  color: #ffbd7c;
}

.case-band .section__heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.14);
}

.case-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
}

.case-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.case-card div {
  padding: 22px;
}

.case-card--featured img {
  height: 100%;
  aspect-ratio: auto;
}

.case-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.case-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  padding: 92px 5vw;
  background: var(--soft);
}

.band__inner {
  max-width: 1180px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-list a {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 8px;
  min-height: 156px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    var(--service-bg) center / cover;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-list a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(15, 107, 79, 0.12), transparent 65%);
  pointer-events: none;
}

.service-list span,
.service-list strong {
  position: relative;
  z-index: 1;
}

.service-list a:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.service-list span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
}

.service-list strong {
  font-size: 21px;
  line-height: 1.35;
}

.signals {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    url("https://images.pexels.com/photos/36296037/pexels-photo-36296037.jpeg?auto=compress&cs=tinysrgb&w=1600") center / cover;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.signal {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.signal strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-dark);
  font-size: 20px;
}

.signal p {
  margin-bottom: 0;
  color: var(--muted);
}

.checklist {
  background: #fff;
}

.checklist__layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.checklist__block {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checklist__block p {
  margin-bottom: 0;
  color: var(--muted);
}

.lead-form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: 42px;
  align-items: start;
}

.lead-form__intro {
  max-width: 560px;
}

.lead-form__intro p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.lead-form label {
  display: grid;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 800;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #cfd8d2;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form__wide,
.form-note,
.lead-form button {
  grid-column: 1 / -1;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 42px;
  align-items: center;
}

.contact__copy {
  max-width: 720px;
}

.contact__copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.qr-card {
  padding: 18px;
  text-align: center;
  box-shadow: none;
}

.qr-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.direct-line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 14px;
  padding: 0 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--brand);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px dashed #aeb9b1;
  border-radius: 6px;
  color: var(--brand-dark);
  font-weight: 900;
  background:
    linear-gradient(45deg, #eef4f0 25%, transparent 25%),
    linear-gradient(-45deg, #eef4f0 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #eef4f0 75%),
    linear-gradient(-45deg, transparent 75%, #eef4f0 75%);
  background-size: 22px 22px;
  background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

.footer {
  padding: 32px 5vw 92px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  background: #fff;
}

.footer p {
  max-width: 980px;
  margin-bottom: 0;
}

.floating-line {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  background: var(--brand);
  box-shadow: 0 12px 32px rgba(15, 107, 79, 0.28);
}

@media (max-width: 920px) {
  .hero,
  .contact,
  .lead-form-section,
  .trust-strip {
    grid-template-columns: 1fr;
  }

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

  .grid,
  .service-list,
  .insight-grid,
  .case-grid,
  .signal-list,
  .checklist__layout {
    grid-template-columns: 1fr;
  }

  .case-card--featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .case-card--featured img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .qr-card {
    max-width: 320px;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 82px;
    padding: 12px 18px;
  }

  .nav {
    width: 100%;
    gap: 12px;
    overflow-x: auto;
    font-size: 14px;
    white-space: nowrap;
  }

  .hero,
  .section,
  .band {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero__lead {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .floating-line {
    display: inline-flex;
  }

  .desktop-note {
    display: none;
  }

  .direct-line-link {
    width: 100%;
  }

  .footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
