:root {
  --bg: #fffdfb;
  --surface: #ffffff;
  --ink: #252321;
  --muted: #655f59;
  --line: #e8ded6;
  --rose: #d96f76;
  --rose-dark: #a8464f;
  --sage: #708b75;
  --clay: #c9875f;
  --cream: #f6efe8;
  --shadow: 0 14px 34px rgba(77, 55, 42, 0.08);
  --radius: 8px;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans TC", "Microsoft JhengHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

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

a:hover {
  color: var(--rose-dark);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 251, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 72px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand strong {
  font-size: 20px;
  font-weight: 800;
}

.brand span {
  color: var(--muted);
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.nav-toggle-lines::before {
  transform: translateY(-7px);
}

.nav-toggle-lines::after {
  transform: translateY(5px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 15px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 700;
}

.button {
  padding: 10px 18px;
  background: var(--rose);
  color: #fff;
  border: 1px solid var(--rose);
}

.button:hover {
  background: var(--rose-dark);
  color: #fff;
  border-color: var(--rose-dark);
}

.button.secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.button.secondary:hover {
  border-color: var(--rose);
  color: var(--rose-dark);
}

.text-link {
  color: var(--rose-dark);
  padding: 0;
}

.section {
  padding: 72px 20px;
}

.section.alt {
  background: var(--cream);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  padding: 84px 20px 56px;
  background: linear-gradient(180deg, #fff8f5 0%, #fffdfb 100%);
}

.hero-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 42px;
  align-items: center;
}

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

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 0;
  letter-spacing: 0;
}

h1 {
  font-size: 44px;
  max-width: 720px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

p {
  margin: 14px 0 0;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.trust-item {
  border-left: 3px solid var(--rose);
  padding: 10px 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.trust-item strong {
  display: block;
  font-size: 18px;
}

.trust-item span {
  color: var(--muted);
  font-size: 14px;
}

.visual-panel {
  min-height: 430px;
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(217, 111, 118, 0.12), rgba(112, 139, 117, 0.12)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.photo-slot {
  min-height: 160px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(217, 111, 118, 0.18), rgba(201, 135, 95, 0.12)),
    #fff;
  display: flex;
  align-items: end;
  padding: 14px;
  color: var(--muted);
  font-weight: 700;
}

.photo-slot.large {
  grid-row: span 2;
  min-height: 344px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 560px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 260px;
}

.service-card .text-link {
  margin-top: auto;
}

.badge {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(112, 139, 117, 0.12);
  color: var(--sage);
  font-size: 13px;
  font-weight: 800;
}

.list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.list li:last-child {
  border-bottom: 0;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.price-table th {
  background: var(--cream);
  font-weight: 800;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.case-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.case-card figcaption {
  padding: 12px;
  color: var(--muted);
  font-size: 14px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 20px;
}

.contact-strip {
  background: var(--ink);
  color: #fff;
  padding: 42px 20px;
}

.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.contact-strip p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-strip .button {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.site-footer {
  background: #171513;
  color: rgba(255, 255, 255, 0.76);
  padding: 40px 20px;
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
}

.site-footer strong {
  color: #fff;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-note {
  max-width: var(--max);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 14px;
}

.breadcrumbs {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--rose-dark);
}

.page-hero {
  padding: 58px 20px;
  background: var(--cream);
}

.page-hero .container {
  max-width: 900px;
}

.notice {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 4px solid var(--clay);
  background: #fff8f0;
  color: var(--muted);
}

@media (max-width: 900px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

  .hero-grid,
  .grid.three,
  .grid.two,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .visual-panel {
    min-height: 320px;
  }

  .photo-slot.large {
    min-height: 260px;
  }
}

@media (max-width: 740px) {
  .nav {
    flex-wrap: wrap;
    min-height: 64px;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 8px 0 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 8px 0;
  }

  .hero {
    padding-top: 52px;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .section,
  .page-hero {
    padding: 48px 18px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .visual-panel {
    grid-template-columns: 1fr;
  }

  .photo-slot,
  .photo-slot.large {
    min-height: 180px;
  }

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

  .price-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .contact-strip .container {
    align-items: start;
    flex-direction: column;
  }
}
