:root {
  --ink: #17211d;
  --muted: #62706a;
  --line: #dbe5df;
  --paper: #fbfdfb;
  --soft: #eef7f1;
  --mint: #2f8f74;
  --green: #0d5f4e;
  --gold: #b9822f;
  --blue: #2a6487;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(18, 48, 39, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans TC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 253, 251, 0.94);
  box-shadow: 0 10px 30px rgba(20, 40, 34, 0.08);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.site-header.is-scrolled .brand-mark,
.site-header.is-open .brand-mark {
  border-color: var(--line);
  background: var(--soft);
  color: var(--green);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.76;
}

.nav {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  font-weight: 700;
  font-size: 0.95rem;
}

.nav a,
.header-cta,
.primary-button,
.secondary-button {
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav a:hover,
.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-1px);
}

.header-cta,
.menu-button {
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
  font: inherit;
}

.header-cta {
  display: inline-flex;
  gap: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  justify-content: center;
}

svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 128px clamp(18px, 5vw, 72px) 48px;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 29, 24, 0.88) 0%, rgba(8, 29, 24, 0.64) 44%, rgba(8, 29, 24, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 29, 24, 0.8), rgba(8, 29, 24, 0.04) 58%);
}

.hero-content {
  position: relative;
  width: min(1120px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.8rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.knowledge-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-button {
  background: var(--mint);
  color: var(--white);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.44);
  color: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1040px, 100%);
  margin-top: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.hero-facts article {
  min-height: 112px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-facts span,
.contact-grid span,
.hours span {
  display: block;
  color: currentColor;
  font-size: 0.84rem;
  opacity: 0.7;
}

.hero-facts strong {
  display: block;
  margin-top: 7px;
  font-size: 1.02rem;
  line-height: 1.45;
}

.notice-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: var(--green);
  color: var(--white);
}

.notice-band div {
  display: flex;
  gap: 16px;
  align-items: baseline;
}

.notice-band span {
  color: rgba(255, 255, 255, 0.82);
}

.notice-band a {
  flex: 0 0 auto;
  border-bottom: 2px solid var(--gold);
  font-weight: 900;
}

.section {
  padding: 84px clamp(18px, 5vw, 72px);
}

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

.section-heading h2,
.compare-panel h2,
.knowledge-content h2,
.contact-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.14;
  letter-spacing: 0;
}

.section-heading p,
.compare-panel p,
.knowledge-content p,
.contact-card p {
  color: var(--muted);
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  align-items: end;
  gap: 32px;
  max-width: none;
}

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

.service-card,
.package-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 26px rgba(20, 48, 41, 0.05);
}

.service-card {
  padding: 28px;
}

.service-card svg {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--mint);
}

.service-card h3,
.package-card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

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

.packages {
  background: var(--soft);
}

.package-card {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  overflow: hidden;
}

.package-top {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.package-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: 14px;
}

.price-row strong {
  color: var(--green);
  font-size: 2rem;
  line-height: 1;
}

.price-row span {
  color: var(--muted);
  text-decoration: line-through;
}

.package-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 22px 24px 26px;
  color: var(--muted);
  list-style: none;
}

.package-card li {
  position: relative;
  padding-left: 22px;
}

.package-card li::before {
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}

.compare {
  background: var(--green);
  color: var(--white);
}

.compare-panel {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 52px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.compare-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.choice-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.choice-list article {
  display: grid;
  grid-template-columns: 50px 160px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.choice-list span {
  color: var(--gold);
  font-weight: 900;
}

.choice-list strong {
  font-size: 1.05rem;
}

.choice-list p {
  margin-bottom: 0;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f5faf7;
  color: var(--green);
  font-size: 0.88rem;
}

tbody tr:hover {
  background: #f8fbf9;
}

.knowledge {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 54px;
  align-items: center;
  background: #ffffff;
}

.knowledge-visual {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.knowledge-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.knowledge-points span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--green);
  font-weight: 900;
}

.contact {
  background: linear-gradient(180deg, var(--soft), #ffffff);
}

.contact-card {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 34px;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.contact-grid a {
  display: grid;
  gap: 8px;
  min-height: 138px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbf9;
}

.contact-grid svg {
  color: var(--mint);
}

.hours {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1px;
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hours div {
  min-height: 86px;
  padding: 14px;
  background: var(--white);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 32px clamp(18px, 5vw, 72px);
  background: #10251f;
  color: var(--white);
}

.site-footer p {
  max-width: 720px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-content: start;
  font-weight: 800;
}

.source-links a {
  border-bottom: 1px solid var(--gold);
}

@media (max-width: 1040px) {
  .service-grid,
  .package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-facts,
  .hours {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-panel,
  .knowledge,
  .contact-card,
  .split-heading {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 16px;
  }

  .brand small,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .nav {
    display: flex;
  }

  .nav a {
    padding: 15px 18px;
    border-bottom: 1px solid var(--line);
  }

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

  .hero-facts,
  .service-grid,
  .package-grid,
  .contact-grid,
  .hours {
    grid-template-columns: 1fr;
  }

  .notice-band,
  .notice-band div,
  .site-footer,
  .choice-list article {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}
