:root {
  --brick: #8B3A2B;
  --brick-deep: #6A2C21;
  --brick-2: #9A4A38;
  --brick-soft: #C27562;
  --amber: #D4A04A;
  --amber-deep: #C08A32;
  --amber-soft: #E8C984;
  --cream: #F8F1E6;
  --paper: #FBF6EE;
  --white: #FFFCF7;
  --ink: #3B2A22;
  --ink-2: #524038;
  --muted: #7A665A;
  --line: #EAD9C6;
  --shadow: 0 1px 2px rgba(59, 42, 34, 0.05), 0 14px 36px rgba(59, 42, 34, 0.07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "Nunito", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: var(--brick); text-decoration: none; }
a:hover { color: var(--amber-deep); }
img, video { max-width: 100%; display: block; }
h1, h2, h3, p, .lead, .note, .ai-note, li { text-wrap: pretty; }

.wrap { width: min(1120px, calc(100% - 56px)); margin: 0 auto; }

header {
  background: rgba(255, 252, 247, 0.9);
  backdrop-filter: saturate(1.12) blur(14px);
  -webkit-backdrop-filter: saturate(1.12) blur(14px);
  border-bottom: 1px solid rgba(139, 58, 43, 0.1);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 14px; color: inherit; }
.brand:hover { color: inherit; }
.mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--brick);
  color: #FBF6EE;
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 0;
  font-size: 18px;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(139, 58, 43, 0.18);
}
.brand-text .zh {
  display: block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .08em;
  line-height: 1.25;
  color: var(--brick);
}
.brand-text .en {
  display: block;
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  font-size: 11px;
  letter-spacing: .16em;
  color: var(--muted);
  margin-top: 2px;
  font-weight: 600;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}
nav a {
  letter-spacing: .02em;
  color: var(--ink-2);
  position: relative;
  padding: 4px 0;
}
nav a:hover { color: var(--brick); }
nav a.active { color: var(--brick); }
nav a.active:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.lang {
  border: 1px solid rgba(139, 58, 43, 0.22);
  background: var(--white);
  padding: 6px 14px;
  font-size: 12px;
  letter-spacing: .08em;
  cursor: pointer;
  color: var(--ink);
  border-radius: 999px;
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  font-weight: 700;
}
.lang:hover {
  border-color: var(--brick);
  color: var(--brick);
}

.hero {
  color: var(--ink);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
  background-color: var(--paper);
  background-image:
    radial-gradient(ellipse 70% 80% at 90% 0%, rgba(212, 160, 74, 0.18), transparent 58%),
    radial-gradient(ellipse 55% 70% at 0% 100%, rgba(139, 58, 43, 0.08), transparent 55%);
}
.hero.hero-photo {
  padding: 0;
  background: var(--paper);
}
.hero-photo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  min-height: 520px;
  align-items: stretch;
}
.hero-photo .hero-copy {
  padding: 72px 0 72px;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-photo .hero-copy-wrap {
  width: min(560px, calc(100% - 56px));
  margin-left: auto;
  margin-right: 36px;
}
.hero-photo-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}
.hero-photo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  position: absolute;
  inset: 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 42em; position: relative; z-index: 1; }
.hero .kicker {
  color: var(--amber-deep);
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  letter-spacing: .22em;
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px);
  letter-spacing: .02em;
  line-height: 1.22;
  margin: 0 0 22px;
  color: var(--brick);
  text-wrap: pretty;
}
.hero p { max-width: 38em; color: var(--ink-2); margin: 0; font-size: 17px; }
.hero-visual { position: relative; height: 280px; pointer-events: none; }
.hero-frame {
  position: absolute;
  inset: 10px 0 10px 10px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 58, 43, 0.08);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

section { padding: 88px 0; }
section.alt { background: var(--white); }
h2 {
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  letter-spacing: .06em;
  margin: 0 0 10px;
  color: var(--brick);
  line-height: 1.3;
}
.rule {
  width: 56px;
  height: 3px;
  background: var(--amber);
  margin: 0 0 28px;
  border-radius: 3px;
}
.lead { font-size: 18px; max-width: 42em; color: var(--ink-2); }
.muted { color: var(--muted); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.card {
  background: var(--white);
  border: 1px solid rgba(139, 58, 43, 0.1);
  padding: 32px 28px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: .04em; color: var(--brick); }

dl.contact { margin: 0; }
dl.contact dt {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--muted);
  margin: 18px 0 4px;
  font-weight: 700;
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  text-transform: uppercase;
}
dl.contact dt:first-child { margin-top: 0; }
dl.contact dd { margin: 0; font-size: 16px; }
dl.contact a { color: var(--brick); font-weight: 600; }

footer {
  background: var(--brick-deep);
  color: #f3e4d8;
  padding: 48px 0 32px;
  font-size: 13px;
}
footer .zh-name {
  color: #fff;
  letter-spacing: .12em;
  font-weight: 700;
  font-size: 16px;
}
footer a { color: #f8eadc; }
footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 28px; }
.foot-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #e8c984;
  font-weight: 700;
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  margin-bottom: 6px;
}
.legal {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(248, 234, 220, 0.16);
  color: #d4b8a6;
  font-size: 12px;
}

.cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.cta a {
  display: inline-block;
  background: var(--brick);
  color: #FBF6EE;
  padding: 14px 26px;
  letter-spacing: .04em;
  font-size: 15px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(139, 58, 43, 0.2);
}
.cta a:hover { background: var(--brick-2); color: #fff; }
.cta a.ghost {
  background: transparent;
  color: var(--brick);
  box-shadow: none;
  border: 1px solid rgba(139, 58, 43, 0.28);
}
.cta a.ghost:hover { background: var(--cream); color: var(--brick-deep); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.points .card p { margin: 0; color: var(--muted); font-size: 15px; }
.note { font-size: 14px; color: var(--muted); max-width: 46em; }
.caption { margin: 20px 0 0; font-size: 12.5px; color: var(--muted); }

.photo-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  margin-top: 8px;
}
.photo-row img, .photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.photo-card {
  border-radius: 20px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 58, 43, 0.08);
}
.photo-card.tall { min-height: 420px; }
.photo-card img { aspect-ratio: auto; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery a {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 58, 43, 0.08);
  color: inherit;
}
.gallery a:hover { color: inherit; }
.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.gallery .caption-in {
  padding: 10px 14px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.gallery .wide img { height: 280px; }
.gallery .portrait img { height: 400px; object-position: center 45%; }
.gallery .portrait.fit img { object-fit: contain; background: #F8F1E6; object-position: center; }

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 8px;
}
.video-card {
  background: var(--white);
  border: 1px solid rgba(139, 58, 43, 0.1);
  border-radius: 20px;
  padding: 16px 16px 20px;
  box-shadow: var(--shadow);
}
.video-card video {
  width: 100%;
  max-height: 68vh;
  border-radius: 14px;
  background: #3B2A22;
  margin: 0 auto;
}
.video-card h3 { margin: 14px 0 6px; font-size: 17px; color: var(--brick); }
.video-card p { margin: 0; font-size: 14px; color: var(--muted); }

.price-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  margin-top: 8px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid rgba(139, 58, 43, 0.1);
  border-radius: 20px;
  padding: 28px 26px;
  box-shadow: var(--shadow);
}
.price-card.feature {
  background: linear-gradient(180deg, #FFFCF7 0%, #F8F1E6 100%);
  border-color: rgba(212, 160, 74, 0.35);
}
.price-card h3 { margin: 0 0 8px; font-size: 20px; color: var(--brick); }
.price {
  font-family: "Nunito", "Noto Sans TC", sans-serif;
  font-weight: 800;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--brick);
  line-height: 1.1;
  margin: 10px 0 6px;
}
.price span { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.inc-list { margin: 16px 0 0; padding: 0; list-style: none; }
.inc-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-2);
}
.inc-list .tag {
  flex-shrink: 0;
  font-size: 11px;
  letter-spacing: .08em;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-top: 2px;
  font-family: "Nunito", "Noto Sans TC", sans-serif;
}
.tag-yes { background: #efe3c0; color: #6A2C21; }
.tag-no { background: #f0e4dc; color: #7A665A; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(139, 58, 43, 0.1);
  border-radius: 20px;
  padding: 26px 24px 28px;
  box-shadow: var(--shadow);
}
.service-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  color: var(--brick);
}
.service-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--brick); }
.service-card p { margin: 0; color: var(--muted); font-size: 15px; }

.ai-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.ai-card {
  background: var(--white);
  border: 1px solid rgba(139, 58, 43, 0.1);
  padding: 24px 24px 26px;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.ai-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  display: grid;
  place-items: center;
  color: var(--brick);
}
.ai-card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: .04em; color: var(--brick); }
.ai-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.ai-note {
  margin-top: 32px;
  border-left: 3px solid var(--amber);
  padding: 4px 0 4px 18px;
  color: var(--muted);
  font-size: 14px;
  max-width: 48em;
}
.callout {
  background: var(--cream);
  border: 1px solid rgba(212, 160, 74, 0.28);
  border-radius: 20px;
  padding: 22px 24px;
  margin: 0 0 32px;
}
.callout strong { color: var(--brick); }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(43, 28, 22, 0.88);
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 32px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: 0;
  color: #FBF6EE;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

[lang="en"] .only-zh, :lang(en) .only-zh { display: none !important; }
[lang="zh-Hant"] .only-en, :lang(zh-Hant) .only-en { display: none !important; }
body[data-lang="en"] .only-zh { display: none !important; }
body[data-lang="zh"] .only-en { display: none !important; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .price-grid, .service-grid, .ai-grid, .photo-row { grid-template-columns: 1fr; }
  .hero-photo-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo-media { min-height: 280px; height: 320px; }
  .hero-photo .hero-copy { padding: 48px 0 52px; }
  .hero-photo .hero-copy-wrap {
    width: min(1120px, calc(100% - 36px));
    margin: 0 auto;
  }
}

@media (max-width: 800px) {
  .wrap { width: min(1120px, calc(100% - 36px)); }
  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 13px;
    width: 100%;
    order: 3;
  }
  nav a.active:after { bottom: -3px; }
  .header-row { flex-wrap: wrap; gap: 14px; }
  .grid, .foot-grid, .points, .video-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero { padding: 56px 0 52px; }
  .hero-inner { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { max-width: none; }
  .hero-visual { display: none; }
  .hero h1 { font-size: clamp(28px, 8vw, 40px); }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery .wide img, .gallery .portrait img { height: 260px; }
  .price { font-size: 30px; }
}
