:root {
  --gold: #b8860b;
  --gold-light: #d4af37;
  --red: #8b2635;
  --red-dark: #5c1823;
  --green-wa: #25d366;
  --green-line: #06c755;
  --cream: #f5ebe0;
  --cream-deep: #e8d5c4;
  --text: #4a3728;
  --white: #fff;
  --radius: 14px;
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans TC", "Noto Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(12px, 4vw, 32px);
  background: linear-gradient(180deg, #fff9f0 0%, #f8efe4 100%);
  border-bottom: 1px solid rgba(184, 134, 11, 0.25);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--gold);
  font-weight: 700;
}

.brand-logo {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  opacity: 0.85;
}

.nav-desktop {
  display: none;
  gap: 28px;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--text);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-tw {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--gold-light);
  background: #fff;
  font-size: 0.8rem;
  color: var(--gold);
}

.lang-toggle {
  border: 1px solid var(--gold-light);
  background: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--gold);
}

.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  padding: 8px;
  cursor: pointer;
}

.menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 auto;
  width: min(280px, 85vw);
  background: #fff;
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.12);
  padding: 20px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  z-index: 99;
}

.nav-drawer.is-open {
  transform: translateX(0);
}

.nav-drawer a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.nav-overlay {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  z-index: 98;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 420px;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 248, 240, 0.92) 0%, rgba(245, 235, 224, 0.88) 45%, rgba(232, 213, 196, 0.75) 100%),
    url("../img/hero-couple.jpg") center 40% / cover no-repeat;
}

.hero-photo {
  min-height: 280px;
  background:
    linear-gradient(to bottom, transparent 60%, var(--cream) 100%),
    url("../img/hero-couple.jpg") center 45% / cover;
}

.hero-copy {
  padding: 24px 20px 32px;
  text-align: center;
}

.hero-script {
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: clamp(2rem, 8vw, 3.2rem);
  color: var(--red);
  margin: 0;
  line-height: 1.2;
}

.hero-script .sub {
  display: block;
  font-size: clamp(1.1rem, 4vw, 1.6rem);
  color: #c45c5c;
  margin-top: 8px;
}

.hero-desc {
  margin: 14px auto 0;
  max-width: 520px;
  font-size: 0.95rem;
}

.hero-desc strong {
  display: block;
  margin-bottom: 4px;
}

.features-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 8px 16px 24px;
  max-width: 560px;
  margin: 0 auto;
}

.feat-card {
  background: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  aspect-ratio: 1;
  max-width: 130px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.72rem;
  border: 2px solid var(--gold-light);
  padding: 8px;
}

.feat-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 6px;
  color: var(--gold);
}

/* CTA band */
.cta-band {
  position: relative;
  padding: 36px 20px 48px;
  background: linear-gradient(180deg, var(--cream) 0%, #f0d9c8 50%, #e8cfc0 100%);
  text-align: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 45%;
  max-width: 280px;
  height: 120px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 80'%3E%3Cpath fill='%23c4a484' opacity='.25' d='M0 80 L0 40 Q50 20 80 35 L120 25 L200 50 L200 80z'/%3E%3C/svg%3E") no-repeat bottom left / contain;
  pointer-events: none;
}

.cta-band h2 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  color: var(--red-dark);
}

.cta-band p {
  margin: 0 0 20px;
  font-size: 0.9rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s, filter 0.15s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.cta-btn--wa {
  background: var(--green-wa);
}

.cta-btn--line {
  background: var(--green-line);
}

.cta-btn .cta-meta {
  flex: 1;
  text-align: left;
}

.cta-btn .cta-meta small {
  display: block;
  font-weight: 400;
  opacity: 0.92;
  font-size: 0.8rem;
}

.cta-btn .arrow {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Footer wave */
.footer-wave {
  background: var(--red-dark);
  color: #fff;
  text-align: center;
  padding: 48px 20px 56px;
  clip-path: ellipse(120% 100% at 50% 100%);
  margin-top: -20px;
}

.footer-wave p {
  margin: 0;
  font-family: "Ma Shan Zheng", "Noto Serif TC", serif;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  line-height: 1.5;
}

/* Content sections */
.content-section {
  padding: 48px 20px;
  max-width: 820px;
  margin: 0 auto;
}

.content-section:nth-child(even) {
  background: rgba(255, 255, 255, 0.45);
}

.section-tag {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin: 0 0 8px;
}

.content-section h2 {
  color: var(--red-dark);
  font-size: 1.35rem;
  margin: 0 0 20px;
  line-height: 1.35;
}

.content-section p {
  margin: 0 0 14px;
}

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

.adv-list li {
  margin-bottom: 22px;
  padding-left: 0;
}

.adv-list .num {
  color: var(--gold);
  font-weight: 700;
  margin-right: 6px;
}

.adv-list h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--red);
}

.adv-list p {
  margin: 0;
  font-size: 0.92rem;
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin: 24px 0;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px;
  border: 1px solid var(--cream-deep);
}

.contact-card h3 {
  margin: 0 0 8px;
  color: var(--red);
}

.contact-card a {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--green-wa);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-card.line a {
  background: var(--green-line);
}

.contact-cta {
  text-align: center;
  font-weight: 600;
  color: var(--red-dark);
  margin-top: 24px;
}

@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
  }
  .menu-btn,
  .nav-drawer,
  .nav-overlay {
    display: none;
  }
  .badge-tw {
    display: flex;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 480px;
    align-items: stretch;
  }
  .hero-photo {
    min-height: 100%;
    order: 0;
  }
  .hero-copy {
    order: 1;
    text-align: left;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .features-row {
    grid-template-columns: repeat(4, 1fr);
    max-width: 100%;
    padding-left: 40px;
    padding-right: 40px;
  }
  .feat-card {
    max-width: none;
    border-radius: var(--radius);
    aspect-ratio: auto;
    min-height: 110px;
    font-size: 0.8rem;
  }
  .cta-buttons {
    flex-direction: row;
    max-width: 720px;
  }
  .cta-btn {
    flex: 1;
  }
}

@media (max-width: 899px) {
  .hero {
    display: block;
    position: relative;
  }
  .hero-photo {
    min-height: 320px;
  }
  .hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12%;
    padding: 16px;
    background: linear-gradient(to top, rgba(255, 252, 248, 0.92) 0%, transparent 100%);
  }
  .hero-copy .hero-script {
    text-shadow: 0 1px 0 #fff;
  }
  .features-row {
    position: relative;
    z-index: 2;
    margin-top: -8px;
  }
}

html[lang="en"] .hero-script {
  font-family: "Noto Serif", Georgia, serif;
}

html[lang="en"] .footer-wave p {
  font-family: "Noto Serif", Georgia, serif;
}