:root {
  --plum: #702070;
  --plum-deep: #4a1548;
  --plum-ink: #2d102c;
  --plum-soft: #8d3a88;
  --plum-mist: #f3e8f2;
  --gold: #b8945e;
  --gold-pale: #e8d7b8;
  --cream: #f7f1e8;
  --ivory: #fcf8f2;
  --paper: #fffdf9;
  --ink: #2a1f28;
  --muted: #6e5d6a;
  --line: rgba(112, 32, 112, 0.16);
  --shadow: 0 18px 50px rgba(45, 16, 44, 0.12);
  --radius: 2px;
  --header-h: 84px;
  --font-serif: "Noto Serif TC", "Songti TC", serif;
  --font-sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4.5rem;
  --space-6: 7rem;
  --max: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.75;
  font-size: 1.05rem;
}

body.is-menu-open {
  overflow: hidden;
  height: 100dvh;
}

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

a {
  color: var(--plum);
  text-decoration: none;
}

a:hover {
  color: var(--plum-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.28;
  color: var(--plum-ink);
  margin: 0 0 0.75rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--plum);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 4000;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.container {
  width: min(calc(100% - 2.4rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section {
  padding: var(--space-5) 0;
}

.section-tight {
  padding: var(--space-4) 0;
}

.section-dark {
  background: var(--plum-ink);
  color: #f4e9f2;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

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

.section-plum {
  background: var(--plum);
  color: #fff;
}

.section-plum h2,
.section-plum h3 {
  color: #fff;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(252, 248, 242, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(calc(100% - 1.6rem), 1280px);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.logo {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.logo img {
  height: 46px;
  width: auto;
  max-width: min(52vw, 280px);
  object-fit: contain;
  object-position: left center;
}

.nav-desktop {
  display: none;
  margin-left: auto;
  align-items: center;
  gap: 0.15rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-desktop > a,
.nav-desktop .has-sub > button {
  font-size: 0.86rem;
  color: var(--ink);
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.55rem 0.55rem;
  font-family: inherit;
  white-space: nowrap;
}

.nav-desktop > a:hover,
.nav-desktop .has-sub > button:hover,
.nav-desktop > a.is-active {
  color: var(--plum);
}

.has-sub {
  position: relative;
}

.has-sub > button::after {
  content: "";
  display: inline-block;
  width: 0.35rem;
  height: 0.35rem;
  margin-left: 0.3rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.sub-menu {
  position: absolute;
  top: calc(100% + 0.3rem);
  left: 0;
  min-width: 12.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: 0.2s var(--ease);
}

.has-sub:hover > .sub-menu,
.has-sub:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.sub-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--ink);
  font-size: 0.9rem;
}

.sub-menu a:hover {
  background: var(--plum-mist);
  color: var(--plum);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.25rem;
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: 0.2s var(--ease);
}

.btn-cta {
  background: var(--plum);
  color: #fff;
  flex-shrink: 0;
}

.header-inner > .btn-cta {
  margin-left: auto;
}

.btn-cta:hover {
  background: var(--plum-deep);
  color: #fff;
}

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

.btn-gold:hover {
  background: #c9a76d;
  color: var(--plum-ink);
}

.btn-ghost {
  border-color: currentColor;
  background: transparent;
  color: inherit;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.btn-outline {
  border-color: var(--plum);
  color: var(--plum);
  background: transparent;
}

.btn-outline:hover {
  background: var(--plum);
  color: #fff;
}

.menu-toggle {
  margin-left: 0;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--plum);
}

.header-inner > .btn-cta {
  min-height: 2.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

@media (min-width: 1100px) {
  .header-inner {
    gap: 1rem;
  }

  .logo {
    flex: 0 0 auto;
  }

  .nav-desktop {
    display: flex;
    margin-left: auto;
  }

  .header-inner > .btn-cta {
    margin-left: 0.4rem;
    min-height: 2.75rem;
    padding: 0.55rem 1.25rem;
    font-size: 0.92rem;
  }

  .logo img {
    height: 46px;
    max-width: none;
  }

  .menu-toggle {
    display: none;
  }
}

/* Mobile overlay: independent of desktop nav */
.nav-mobile {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: 3000;
  background: var(--plum-ink);
  color: #fff;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease), visibility 0.28s;
}

.nav-mobile.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-inner {
  min-height: 100dvh;
  padding: 1.1rem 1.3rem 3rem;
  display: flex;
  flex-direction: column;
}

.nav-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.nav-mobile-top img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.menu-close {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.nav-mobile-list a,
.nav-mobile-list button {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-mobile-sub {
  display: none;
  padding: 0.2rem 0 0.6rem 0.8rem;
}

.nav-mobile-sub.is-open {
  display: block;
}

.nav-mobile-sub a {
  font-family: var(--font-sans);
  font-size: 1rem;
  border-bottom: 0;
  padding: 0.4rem 0;
  color: var(--gold-pale);
}

.nav-mobile-cta {
  margin-top: 1.5rem;
}

.nav-mobile-cta .btn {
  width: 100%;
}

.nav-mobile-contact {
  margin-top: auto;
  padding-top: 2rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Hero */
.hero {
  display: grid;
  min-height: min(88vh, 760px);
  background: var(--cream);
}

.hero-copy {
  padding: 3.2rem 1.2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: 0.18em;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--plum);
  margin-bottom: 0.7rem;
}

.hero-display {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 6vw, 3.2rem);
  line-height: 1.28;
  color: var(--plum-ink);
  margin: 0 0 1.1rem;
  word-break: keep-all;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  margin: 1.4rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-meta span::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--plum);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-photo {
  min-height: 280px;
  background: #d9c9c0 center/cover no-repeat;
  position: relative;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--plum), var(--gold));
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero-copy {
    padding: 5rem 4vw 5rem 6vw;
  }

  .hero-photo {
    min-height: 100%;
  }
}

/* Split / media sections */
.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
  }

  .split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .split.reverse .split-media {
    order: -1;
  }
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

/* Service list */
.service-grid {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  gap: 0.35rem 1.2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.service-item h3 {
  font-size: 1.2rem;
  margin: 0;
}

.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.service-no {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}

@media (min-width: 720px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
  }
}

/* Cards / packages */
.pack-compare {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 800px) {
  .pack-compare {
    grid-template-columns: 1fr 1fr;
  }
}

.pack-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.8rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.pack-card.featured {
  background: var(--plum-ink);
  color: #f6ecf4;
  border-color: var(--plum-ink);
}

.pack-card.featured h2,
.pack-card.featured h3 {
  color: #fff;
}

.pack-card ol,
.pack-list {
  margin: 1rem 0 1.4rem;
  padding-left: 1.15rem;
}

.pack-card li {
  margin: 0.45rem 0;
}

.pack-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr 1fr;
}

.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.gallery figure {
  margin: 0;
}

.gallery figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 0.35rem;
}

@media (min-width: 760px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery img {
    height: 240px;
  }

  .gallery .wide {
    grid-column: span 2;
  }

  .gallery .wide img {
    height: 320px;
  }
}

/* Process */
.steps {
  display: grid;
  gap: 0;
  counter-reset: step;
}

.step {
  display: grid;
  gap: 0.5rem;
  padding: 1.6rem 0 1.6rem 1.2rem;
  border-left: 2px solid var(--gold-pale);
  position: relative;
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: -0.15rem;
  top: 1.55rem;
  transform: translateX(-100%);
  padding-right: 1rem;
  font-family: var(--font-serif);
  color: var(--plum);
  font-size: 0.95rem;
}

.step h3 {
  margin: 0;
}

.step p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.2rem;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
  }

  .step {
    border-left: 0;
    padding-left: 0;
  }

  .step::before {
    position: static;
    transform: none;
    padding: 0;
    display: block;
    margin-bottom: 0.7rem;
  }
}

/* FAQ */
.faq-list {
  max-width: 820px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item h2 {
  margin: 0;
  font-size: 1.05rem;
}

.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  font: inherit;
  color: inherit;
  padding: 1.15rem 2rem 1.15rem 0;
  cursor: pointer;
  position: relative;
}

.faq-item button::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1.05rem;
  color: var(--plum);
  font-size: 1.3rem;
}

.faq-item.is-open button::after {
  content: "–";
}

.faq-item .faq-body {
  display: none;
  padding: 0 0 1.15rem;
  color: var(--muted);
}

.faq-item.is-open .faq-body {
  display: block;
}

/* Forms */
.form-grid {
  display: grid;
  gap: 1rem;
}

.form-grid label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
}

.form-grid textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 2px solid var(--plum);
  outline-offset: 1px;
}

@media (min-width: 640px) {
  .form-two {
    grid-template-columns: 1fr 1fr;
  }

  .form-two .full {
    grid-column: 1 / -1;
  }
}

.contact-layout {
  display: grid;
  gap: 2.2rem;
}

@media (min-width: 880px) {
  .contact-layout {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 3.5rem;
  }
}

.contact-facts p {
  margin-bottom: 0.35rem;
}

.map-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .map-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.map-card {
  background: var(--cream);
  min-height: 220px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
}

.map-card iframe {
  width: 100%;
  height: 220px;
  border: 0;
  margin-bottom: 0.8rem;
  filter: grayscale(0.25) contrast(1.05);
}

/* Blog */
.blog-list {
  display: grid;
  gap: 1.4rem;
}

.blog-card {
  display: grid;
  gap: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
}

.blog-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card-body {
  padding: 0 1.2rem 1.3rem;
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.article h2 {
  margin-top: 2rem;
}

.article-hero {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 1.2rem 0 1.6rem;
}

@media (min-width: 760px) {
  .blog-card {
    grid-template-columns: 280px 1fr;
  }

  .blog-card img {
    height: 100%;
  }
}

/* CTA band */
.cta-band {
  display: grid;
  gap: 1rem;
}

@media (min-width: 760px) {
  .cta-band {
    grid-template-columns: 1.4fr auto;
    align-items: center;
  }
}

/* Footer */
.site-footer {
  background: var(--plum-ink);
  color: #e9d9e6;
  padding: 3.2rem 0 1.4rem;
}

.site-footer a {
  color: #f7eef4;
}

.footer-grid {
  display: grid;
  gap: 1.8rem;
}

.footer-grid h2 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
}

.footer-grid ul a {
  display: block;
  padding: 0.22rem 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid ul a:hover {
  color: var(--gold-pale);
}

.footer-bottom {
  margin-top: 2.2rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  justify-content: space-between;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 5.2rem;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.wa-float img {
  width: 28px;
  height: 28px;
}

.back-top {
  position: fixed;
  right: 1rem;
  bottom: 1.2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--plum);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}

.back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.7s var(--ease) forwards;
}

.reveal-delay {
  animation-delay: 0.12s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.page-hero {
  padding: 3.2rem 0 2rem;
  background:
    linear-gradient(180deg, var(--cream), var(--ivory));
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 5vw, 3rem);
}

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

.trust-item {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--plum-ink);
}

@media (min-width: 720px) {
  .trust-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

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

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

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

th {
  font-family: var(--font-serif);
  color: var(--plum-ink);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
