:root {
  --paper: #f7efe1;
  --paper-deep: #efe0c7;
  --ink: #21160e;
  --muted: #715f4f;
  --cinnabar: #9d241d;
  --cinnabar-deep: #741811;
  --tea: #253d2a;
  --gold: #c69a4a;
  --line: rgba(33, 22, 14, 0.18);
  --shadow: 0 24px 60px rgba(42, 22, 8, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif TC", "Microsoft JhengHei", "PingFang TC", serif;
  font-size: 16px;
  line-height: 1.7;
  background:
    linear-gradient(rgba(247, 239, 225, 0.92), rgba(247, 239, 225, 0.92)),
    radial-gradient(circle at 20% 0%, rgba(198, 154, 74, 0.22), transparent 34%),
    repeating-linear-gradient(90deg, rgba(80, 49, 22, 0.035) 0 1px, transparent 1px 10px),
    var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(92, 52, 20, 0.16);
  background: rgba(247, 239, 225, 0.92);
  backdrop-filter: blur(14px);
}

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

.brand-seal,
.card-mark,
.process-list span {
  display: grid;
  place-items: center;
  color: #fff9ee;
  background: var(--cinnabar);
  border: 1px solid rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.brand-seal {
  width: 42px;
  height: 42px;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #4a382a;
  font-size: 0.98rem;
}

.nav-links a,
.header-cta,
.primary-btn,
.secondary-btn,
.booking-form button,
.mobile-bar a {
  min-height: 44px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.nav-links a:hover,
.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover,
.booking-form button:hover,
.mobile-bar a:hover {
  transform: translateY(-1px);
}

.header-cta,
.primary-btn,
.booking-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  color: #fff9ee;
  background: var(--cinnabar);
  border: 1px solid var(--cinnabar-deep);
  border-radius: var(--radius);
  font-weight: 700;
}

.header-cta:hover,
.primary-btn:hover,
.booking-form button:hover {
  background: var(--cinnabar-deep);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(42px, 7vw, 92px) clamp(20px, 5vw, 72px) 44px;
  min-height: calc(100svh - 76px);
}

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

.eyebrow {
  margin: 0 0 10px;
  color: var(--cinnabar);
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 1.02;
  letter-spacing: 0;
  font-weight: 900;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #4b392b;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

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

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid rgba(33, 22, 14, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.54);
  color: var(--ink);
  font-weight: 700;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
}

.hero-facts div {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 250, 239, 0.58);
  border-radius: var(--radius);
}

.hero-facts dt {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.hero-portrait {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(92, 52, 20, 0.22);
  border-radius: var(--radius);
  background: var(--paper-deep);
  box-shadow: var(--shadow);
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(255, 244, 220, 0.48);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(20px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-strip div {
  padding: 22px;
  background: rgba(255, 250, 239, 0.68);
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip span {
  color: var(--muted);
  margin-top: 4px;
}

.section {
  padding: clamp(52px, 8vw, 92px) clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 28px;
}

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

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.68);
}

.card-mark {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  font-weight: 900;
}

.service-card p {
  margin: 14px 0 0;
  color: var(--muted);
}

.pricing-section {
  background:
    linear-gradient(rgba(37, 61, 42, 0.9), rgba(37, 61, 42, 0.9)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 12px);
  color: #fff8eb;
}

.pricing-section .eyebrow,
.pricing-section .pricing-note {
  color: #f0d39b;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 248, 235, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.98);
}

table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: var(--ink);
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(33, 22, 14, 0.14);
  text-align: left;
  vertical-align: middle;
}

th {
  background: #832018;
  color: #fff9ee;
  font-size: 1rem;
}

td:nth-child(2),
td:nth-child(3),
th:nth-child(2),
th:nth-child(3) {
  text-align: center;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: #f3eadb;
}

.pricing-note {
  margin: 18px 0 0;
  max-width: 920px;
}

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

.comparison-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.68);
}

ul {
  margin: 16px 0 0;
  padding-left: 1.25rem;
}

li + li {
  margin-top: 8px;
}

.process-section {
  background: rgba(239, 224, 199, 0.56);
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.75);
}

.process-list span {
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  font-weight: 800;
}

.process-list strong {
  display: block;
  font-size: 1.12rem;
}

.process-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  margin: 24px 0;
}

.contact-list p {
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  flex: 0 0 74px;
  color: var(--cinnabar);
}

.map-frame {
  overflow: hidden;
  min-height: 260px;
  border: 1px solid rgba(33, 22, 14, 0.2);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(37, 61, 42, 0.88), rgba(117, 24, 17, 0.82)),
    repeating-linear-gradient(45deg, transparent 0 12px, rgba(255, 255, 255, 0.08) 12px 13px);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
}

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(33, 22, 14, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.72);
  color: var(--tea);
  font-weight: 800;
}

.booking-form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 250, 239, 0.84);
  box-shadow: var(--shadow);
}

.booking-form h3 {
  margin-bottom: 18px;
}

label,
fieldset {
  display: block;
  margin: 0 0 14px;
  color: #4b392b;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid rgba(33, 22, 14, 0.22);
  border-radius: 6px;
  background: #fffaf0;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

fieldset {
  padding: 12px;
  border: 1px solid rgba(33, 22, 14, 0.18);
  border-radius: 6px;
}

legend {
  padding: 0 6px;
}

.radio-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 4px 18px 0 0;
}

.radio-line input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.booking-form button {
  width: 100%;
  margin-top: 8px;
  font: inherit;
  cursor: pointer;
}

.booking-form button:disabled {
  opacity: 0.68;
  cursor: wait;
}

.form-message {
  min-height: 28px;
  margin: 12px 0 0;
  color: var(--tea);
  font-weight: 800;
}

.mobile-bar {
  display: none;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-portrait {
    order: -1;
    min-height: 520px;
  }

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

@media (max-width: 680px) {
  body {
    padding-bottom: 62px;
  }

  .site-header {
    min-height: 64px;
    padding: 10px 16px;
  }

  .brand {
    min-width: auto;
  }

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

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

  .hero-portrait {
    min-height: 480px;
  }

  .hero-facts,
  .trust-strip,
  .service-grid,
  .comparison-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin: 0 16px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-actions a {
    width: 100%;
  }

  .contact-list p {
    display: block;
  }

  .contact-list strong {
    display: block;
    margin-bottom: 4px;
  }

  .mobile-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 25;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 250, 239, 0.22);
    background: #2a1a11;
  }

  .mobile-bar a {
    display: grid;
    place-items: center;
    color: #fff9ee;
    font-size: 0.95rem;
    font-weight: 800;
  }

  .mobile-bar a:nth-child(2) {
    background: var(--cinnabar);
  }
}
