:root {
  color-scheme: light;
  --ink: #16221f;
  --muted: #53615d;
  --line: #d9e4df;
  --surface: #f7faf8;
  --panel: #ffffff;
  --green: #0f4d3f;
  --green-soft: #d9efe6;
  --coral: #cb5a45;
  --gold: #b88b2b;
  --shadow: 0 20px 60px rgba(22, 34, 31, 0.12);
  font-family: "Segoe UI", "Noto Sans TC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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);
  border-bottom: 1px solid rgba(217, 228, 223, 0.8);
  background: rgba(247, 250, 248, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.actions,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.nav {
  gap: clamp(14px, 3vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(20px, 5vw, 72px);
  overflow: hidden;
  background: #eef5f1;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/hero-metorchid.png") center / cover no-repeat;
  content: "";
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.95) 0%, rgba(247, 250, 248, 0.82) 42%, rgba(247, 250, 248, 0.36) 100%),
    linear-gradient(180deg, rgba(247, 250, 248, 0.1), rgba(247, 250, 248, 0.74));
  content: "";
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 10vw, 7.5rem);
  line-height: 0.95;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.12;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.hero-copy > p:not(.eyebrow),
.section-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--green);
  border-radius: 6px;
  font-weight: 800;
}

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

.button.secondary {
  color: var(--green);
  background: transparent;
}

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

.hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  min-height: 310px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.status-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin-bottom: 70px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 8px rgba(184, 139, 43, 0.15);
}

.panel-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.8rem;
  line-height: 1.1;
}

.hero-panel small {
  color: var(--muted);
}

.section {
  padding: clamp(48px, 7vw, 86px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

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

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

.services article {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.services span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--coral);
  font-weight: 900;
}

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

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--green-soft);
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  font-size: 0.92rem;
}

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

  .hero,
  .services {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(247, 250, 248, 0.96) 0%, rgba(247, 250, 248, 0.8) 58%, rgba(247, 250, 248, 0.45) 100%);
  }

  .hero-panel {
    justify-self: stretch;
    width: 100%;
    min-height: 240px;
  }
}
