:root {
  --bg: #F7F1E3;
  --ink: #1A1A1A;
  --gold: #C9A227;
  --gold-soft: rgba(201, 162, 39, 0.22);
  --card: #FBF7EE;
  --card-warm: #EFE6D2;
  --muted: #5A554C;
  --line: rgba(26, 26, 26, 0.08);
  --shadow: 0 18px 40px rgba(26, 26, 26, 0.07);
  --radius: 18px;
  --max: 1080px;
  --font: "Noto Sans TC", "Noto Sans CJK TC", "Source Han Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--gold);
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Preview banner */
.preview-banner {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.65rem 1rem;
}

.preview-banner strong {
  color: var(--gold);
  font-weight: 500;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 241, 227, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--ink);
}

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

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 44%);
  gap: 3.5rem;
  align-items: center;
}

.eyebrow {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.15rem);
  margin-bottom: 0.85rem;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.sublead {
  color: var(--muted);
  margin-bottom: 1.4rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.6rem;
}

.tag {
  border: 1px solid var(--gold);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.2rem 0.8rem;
  font-size: 0.82rem;
  background: transparent;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.price-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.price {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-visual {
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}

.btn:focus-visible,
.field input:focus-visible,
.field select:focus-visible,
.radios label:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  color: var(--ink);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-disabled,
.btn[disabled] {
  background: var(--card-warm);
  color: var(--muted);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  filter: none;
}

/* Sections */
section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 0.6rem;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.section-kicker {
  text-align: center;
  color: var(--gold);
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.section-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2.4rem;
  color: var(--muted);
}

.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2.2rem;
  border: 0;
}

/* Intro */
.intro-copy {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 1.05rem;
  text-align: justify;
}

/* Contents grid */
.contents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.item-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.2rem;
}

.item-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.65rem;
}

.item-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}

.item-card p {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.contents-note {
  text-align: center;
  color: var(--muted);
  margin-top: 1.4rem;
  font-size: 0.92rem;
}

/* Value */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.value-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  text-align: center;
}

.value-card::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1.1rem;
}

.value-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.7rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.quote-banner {
  background: var(--card-warm);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  text-align: center;
  padding: 1.8rem 1.5rem;
  font-size: 1.12rem;
  font-weight: 500;
  line-height: 1.8;
}

/* Action steps */
.action-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-card {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.35rem 1.4rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  border-left-width: 4px;
}

.action-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.action-card h3 span {
  color: var(--gold);
  font-weight: 500;
  font-size: 0.92rem;
  margin-left: 0.35rem;
}

.action-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Audience */
.audience-list {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
  margin: 0 auto;
}

.audience-list li {
  list-style: none;
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: 14px;
  padding: 1rem 1.2rem;
}

.audience-list {
  padding: 0;
  margin-top: 0;
}

/* Process */
.process {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 2.2rem 0 0.4rem;
}

.process-step {
  flex: 1 1 180px;
  max-width: 240px;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.2rem 1rem;
}

.process-step .n {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.35rem;
}

.process-step.pending {
  border-style: dashed;
  opacity: 0.85;
}

.process-arrow {
  align-self: center;
  color: var(--gold);
  font-size: 1.2rem;
}

/* Order */
.order-section {
  padding-top: 3rem;
}

.order-box {
  background: var(--card);
  border: 1px solid var(--gold);
  border-radius: 24px;
  padding: 2.2rem 2rem 2rem;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  display: block;
}
.field-label,
.radios-legend {
  font-weight: 500;
  font-size: 0.92rem;
}

.req {
  color: var(--gold);
  margin-left: 0.15rem;
}

.hint {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.16);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.field input[type="radio"] {
  width: auto;
  margin: 0;
  flex: 0 0 auto;
}

.split-fields {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr;
  gap: 0.5rem;
}

.split-fields.time-fields {
  grid-template-columns: 1fr 1fr;
}

.radio-row {
  display: flex;
  gap: 0.7rem;
  min-width: 0;
}

.field input:hover,
.field select:hover {
  border-color: var(--gold);
}

.radios {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.radios legend {
  padding: 0;
  margin-bottom: 0.4rem;
  font-weight: 500;
  font-size: 0.92rem;
}

.radio-row label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid rgba(26, 26, 26, 0.16);
  background: #fff;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  cursor: pointer;
}

.radio-row label:has(input:checked) {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
}

.radio-row input {
  accent-color: var(--gold);
}

.privacy-callout {
  grid-column: 1 / -1;
  background: var(--bg);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 0.95rem 1rem;
  font-size: 0.92rem;
  line-height: 1.7;
}

.privacy-callout h3 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Payment placeholder */
.payment-box {
  margin-top: 1.4rem;
  border: 1px dashed var(--gold);
  border-radius: 20px;
  padding: 1.6rem 1.5rem;
  background: rgba(255, 255, 255, 0.35);
}

.payment-box h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.payment-box p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.payment-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.payment-amount {
  font-size: 1.35rem;
  font-weight: 700;
}

/* Messages */
.form-message {
  grid-column: 1 / -1;
  display: none;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
}

.form-message.is-visible {
  display: block;
}

.form-message.info {
  background: var(--card-warm);
  border: 1px solid var(--gold);
}

/* Legal */
.legal {
  padding-top: 2rem;
}

.legal-block {
  max-width: 44rem;
  margin: 0 auto 1.5rem;
}

.legal-block h2 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.legal-block p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.gallery figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.gallery figcaption {
  text-align: center;
  font-size: 0.78rem;
  color: var(--muted);
  padding: 0.55rem 0.4rem 0.7rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gold-soft);
  padding: 2.4rem 0 2.6rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  margin-bottom: 0.8rem;
}

.footer-links a {
  text-decoration: none;
}

.copyright {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Responsive */
@media (max-width: 860px) {
  .hero-grid,
  .contents-grid,
  .value-grid,
  .form-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 2.4rem;
  }

  .nav {
    display: none;
  }

  .order-box {
    padding: 1.5rem 1.15rem 1.4rem;
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  section {
    padding: 3rem 0;
  }
}

.br-mobile { display: none; }

@media (max-width: 640px) {
  .br-mobile { display: block; }
}
