/* 珮豐花園 靜態網站樣式表（純 CSS，無需任何建置工具） */

:root {
  /* 主背景與表面（大量留白、通透暖白） — SPA Pastel Editorial */
  --background: #fcf8f7;          /* 暖白 Warm White（主背景） */
  --background-soft: #e9f0f1;     /* 淺霧藍霧面（區塊交替，平衡暖色） */
  --surface: #ffffff;            /* 純白 Pure White（卡片／面板） */

  /* 品牌輔助色（低彩度編輯感點綴） */
  --primary: #a79185;            /* 暖灰褐 Warm Taupe（裝飾／次要標題） */
  --primary-soft: #d1e4e8;       /* 霧藍 Powder Blue（輔助背景） */
  --primary-100: #e7eef0;        /* 極淺霧藍（頂部條／柔和色塊） */

  /* 裸粉主色（封面／品牌區塊／柔和 CTA，≤20%） */
  --nude-pink: #fee0d5;          /* 裸粉 Blush Peach */
  --nude-pink-40: rgba(254, 224, 213, 0.4);
  --nude-pink-50: rgba(254, 224, 213, 0.55);
  --nude-pink-60: rgba(254, 224, 213, 0.7);
  --nude-pink-70: rgba(254, 224, 213, 0.85);

  /* 主要行動色（CTA）＝炭黑，負責秩序與可讀性 */
  --cta: #292a2b;               /* 炭黑 Charcoal */
  --cta-dark: #191a1a;          /* hover 更深炭黑 */

  /* 暖灰褐點綴（小標題／價格／日期／編輯感，≤5%） */
  --accent: #a79185;            /* 暖灰褐 Warm Taupe */
  --accent-dark: #8c776b;

  /* 文字（炭黑為主，確保高對比可讀） */
  --text-main: #292a2b;          /* 標題／重要文字（炭黑） */
  --text-soft: #625b57;          /* 內文（次要文字） */
  --text-muted: #8d857f;         /* 次要提示 */

  /* 線條（沙灰 Soft Sand） */
  --border-soft: #ece4dd;
  --border-strong: #d8cfc7;

  /* 深色（Footer / inverse）＝炭黑底＋暖白字 */
  --footer-bg: #292a2b;
  --footer-text: #ede6e0;

  --white-60: rgba(255, 255, 255, 0.6);
  --white-50: rgba(255, 255, 255, 0.5);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text-main);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: "Noto Serif TC", "PingFang TC", "Microsoft JhengHei", serif;
  margin: 0;
  color: var(--text-main);
  font-weight: 600;
}

p {
  margin: 0;
}

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

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

.display {
  font-family: "Cormorant Garamond", "Noto Serif TC", serif;
  font-style: italic;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 32px;
  }
}

.section {
  padding: 72px 0;
}

@media (min-width: 640px) {
  .section {
    padding: 112px 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 128px 0;
  }
}

/* 霧藍平衡區（安靜、留白） */
.section--soft {
  background: var(--background-soft);
}

/* 裸粉情緒／品牌焦點區 */
.section--pink {
  background: var(--nude-pink-40);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading--left {
  margin: 0 0 40px;
  text-align: left;
}

@media (min-width: 640px) {
  .section-heading {
    margin-bottom: 56px;
  }
}

.section-heading__eyebrow {
  margin: 0 0 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading__title {
  font-size: 1.65rem;
  line-height: 1.3;
  letter-spacing: 0.06em;
}

@media (min-width: 640px) {
  .section-heading__title {
    font-size: 2.15rem;
  }
}

.section-heading__desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

/* Announcement bar */
.announcement-bar {
  background: var(--primary-100);
  color: var(--text-main);
  border-bottom: 1px solid var(--border-soft);
}

.announcement-bar__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 9px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .announcement-bar__inner {
    padding: 10px 32px;
  }
}

.announcement-bar a {
  color: var(--cta-dark);
  border-bottom: 1px solid rgba(41, 42, 43, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.2s;
}

.announcement-bar a:hover {
  border-color: var(--cta-dark);
}

/* 公告列右側社群 icon（手機版空間不足，僅桌機版顯示）*/
.announcement-bar__inner {
  position: relative;
}

.announcement-bar__social {
  display: none;
}

@media (min-width: 640px) {
  .announcement-bar__social {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 14px;
  }
}

.announcement-bar__social a {
  display: inline-flex;
  align-items: center;
  color: var(--cta-dark);
  border-bottom: none;
  padding-bottom: 0;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.announcement-bar__social a:hover {
  opacity: 1;
  border-bottom: none;
}

.announcement-bar__social svg {
  display: block;
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 243, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(230, 221, 215, 0.7);
}

.site-header__bar {
  max-width: 1152px;
  margin: 0 auto;
  padding: 12px 20px;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

@media (min-width: 640px) {
  .site-header__bar {
    padding: 16px 32px;
  }
}

@media (min-width: 768px) {
  .site-header__bar {
    min-height: 84px;
  }
}

.site-header__side {
  display: flex;
  align-items: center;
}

.site-header__side--right {
  justify-content: flex-end;
  gap: 12px;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-logo__img {
  height: 92px;
  width: auto;
  aspect-ratio: 501.71 / 148.2;
  display: block;
}

@media (min-width: 768px) {
  .site-logo__img {
    height: 116px;
  }
}

/* 主導覽：第二列、置中、大寫編輯式微標籤 */
.main-nav {
  display: block;
  border-top: 1px solid rgba(230, 221, 215, 0.6);
}

.main-nav__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-nav__inner > ul,
.main-nav__spacer {
  display: none;
}

.main-nav__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .main-nav__inner {
    padding: 12px 32px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: initial;
  }
  .main-nav__inner > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
  }
  .main-nav__spacer {
    display: block;
  }
  .main-nav__actions {
    justify-self: end;
  }
  .main-nav__actions .mobile-menu-toggle {
    display: none;
  }
}

.main-nav li {
  position: relative;
}

.main-nav ul a {
  display: inline-block;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  color: var(--text-main);
  transition: color 0.2s, border-color 0.2s;
}

.main-nav ul a:hover {
  color: var(--cta);
}

.main-nav ul a.is-active {
  color: var(--cta);
  border-bottom-color: var(--cta);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 208px;
  margin-top: 10px;
  padding: 0 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  box-shadow: 0 18px 38px -20px rgba(41, 42, 43, 0.14);
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  max-height: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: max-height 0.28s ease, opacity 0.22s ease, transform 0.28s ease, padding 0.28s ease, visibility 0.28s;
  z-index: 60;
}

.nav-item--dropdown:hover .nav-dropdown,
.nav-item--dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  max-height: 320px;
  padding: 6px;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: none;
  color: var(--text-main);
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.nav-dropdown a:hover {
  background: var(--primary-100);
  color: var(--cta);
}

.header-cta {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-menu-toggle {
    display: none;
  }
}

.header-cta .btn {
  width: 84.21px;
  height: 40px;
  padding: 0;
  white-space: nowrap;
}

.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}

.header-icon-link svg {
  width: 20px;
  height: 20px;
}

.header-icon-link:hover {
  color: var(--cta);
  border-color: var(--cta);
  background: var(--background-soft);
}

/* Mobile menu */
.mobile-menu-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 1px;
  background: var(--text-main);
  transition: transform 0.2s, opacity 0.2s;
}

.mobile-menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--background);
  padding: 32px 24px;
  max-height: 85vh;
  overflow-y: auto;
  border-bottom: 1px solid var(--border-soft);
}

.mobile-menu.is-open {
  display: block;
}

.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 18px;
}

.mobile-menu ul li a.is-active {
  color: var(--cta);
  font-weight: 500;
}

.mobile-menu__actions {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: #5c463b;
  color: #fff;
}

.btn--primary:hover {
  background: #47362d;
}

.btn--outline {
  border-color: #5c463b;
  color: #5c463b;
  background: transparent;
}

.btn--outline:hover {
  background: #5c463b;
  color: #fff;
}

.btn--full {
  width: 100%;
}

/* Hero */
.hero {
  background: var(--background-soft);
  padding: 16px;
}

@media (min-width: 640px) {
  .hero {
    padding: 24px 32px;
  }
}

.hero__title {
  font-size: 2rem;
  line-height: 1.18;
  letter-spacing: 0.05em;
}

@media (min-width: 640px) {
  .hero__title {
    font-size: 3rem;
  }
}

.hero__desc {
  margin-top: 24px;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Hero carousel (full-bleed banner) */
.hero-carousel {
  position: relative;
  height: clamp(420px, 82vh, 560px);
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

@media (min-width: 640px) {
  .hero-carousel {
    height: 832px;
    border-radius: 10px;
  }
}

.hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-carousel__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-carousel__panel {
  max-width: 640px;
  background: linear-gradient(135deg, rgba(41, 42, 43, 0.85) 0%, rgba(41, 42, 43, 0.55) 100%);
  border-radius: 10px;
  padding: 32px 36px;
}

@media (min-width: 640px) {
  .hero-carousel__panel {
    position: absolute;
    top: 0;
    bottom: 322px;
    left: 32px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 133px;
    border-radius: 0 0 10px 10px;
  }

  .hero-carousel__panel--rect {
    bottom: 0;
    justify-content: center;
    padding-top: 32px;
  }
}

.hero-carousel__eyebrow {
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.hero-carousel__panel .hero__title {
  color: #fff;
}

.hero-carousel__panel .hero__desc {
  color: rgba(255, 255, 255, 0.92);
}

.hero-carousel__panel .btn--outline {
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
}

.hero-carousel__panel .btn--outline:hover {
  background: #fff;
  color: var(--cta-dark);
}

.hero-carousel__panel--drop {
  animation: heroPanelDrop 0.8s ease both;
}

.hero-carousel__panel--left {
  animation: heroPanelLeft 0.8s ease both;
}

.hero-carousel__panel--rise {
  animation: heroPanelRise 0.8s ease both;
}

@keyframes heroPanelDrop {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroPanelLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroPanelRise {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.hero-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
}

.hero-carousel__dot.is-active {
  width: 20px;
  background: #fff;
}

/* 首頁 Hero — 編輯式左右分欄（大字＋直式輪播） */
.hero-split {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
}

.hero-split__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 20px 56px;
  display: grid;
  gap: 36px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .hero-split__inner {
    padding: 56px 32px 72px;
  }
}

@media (min-width: 900px) {
  .hero-split__inner {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 88px;
    padding: 104px 32px 120px;
  }
}

.hero-split__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-split__title {
  margin-top: 28px;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: 0.06em;
  color: var(--text-main);
}

.hero-split__desc {
  margin-top: 32px;
  max-width: 480px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-soft);
}

.hero-split .hero__actions {
  margin-top: 34px;
}

.hero-split__contact {
  margin-top: 26px;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.hero-split__media .hero-carousel {
  height: auto;
  aspect-ratio: 4 / 5;
  max-width: none;
  margin: 0;
  border-radius: 10px;
}

/* 首頁精選 — 圖文左右交替列 */
.showcase-list {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 900px) {
  .showcase-list {
    gap: 72px;
  }
}

.showcase-row {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .showcase-row {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .showcase-row--reverse .showcase-row__media {
    order: 2;
  }
}

.showcase-row__media .img-placeholder {
  border-radius: 8px;
}

.showcase-row__title {
  margin-top: 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.55rem;
  line-height: 1.35;
  color: var(--text-main);
}

.showcase-row__desc {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
}

.showcase-row__meta {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.showcase-row__link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 500;
  color: var(--cta);
  transition: color 0.2s;
}

.showcase-row__link:hover {
  color: var(--cta-dark);
  text-decoration: underline;
}

/* Simple page header (non-hero pages) */
.page-header {
  background: var(--background-soft);
}

.page-header__inner {
  max-width: 768px;
  margin: 0 auto;
  padding: 64px 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .page-header__inner {
    padding: 96px 32px;
  }
}

.page-header--wide .page-header__inner {
  max-width: 1024px;
  text-align: left;
  padding: 48px 20px;
}

@media (min-width: 640px) {
  .page-header--wide .page-header__inner {
    padding: 56px 32px;
  }
}

.page-header__eyebrow {
  font-family: "Noto Sans TC", "Inter", sans-serif;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-header__title {
  margin-top: 16px;
  font-size: 2rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .page-header__title {
    font-size: 2.6rem;
  }
}

.page-header__desc {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.page-header--wide .page-header__desc {
  max-width: 640px;
}

/* 頁首加高的 banner 版面（products / services 共用，不含背景圖）*/
.page-header--hero .page-header__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
}

@media (min-width: 640px) {
  .page-header--hero .page-header__inner {
    min-height: 600px;
  }
}

/* 只有 products 頁首用的全寬背景圖 */
.page-header--hero-bg {
  background-image: url("../images/p25.png");
  background-size: cover;
  background-position: center;
}

/* products 頁首文字加白色外光暈，提升在背景圖上的可讀性 */
.page-header--hero-bg .page-header__title,
.page-header--hero-bg .page-header__desc,
.page-header--hero-bg .small-note {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7);
}

/* products 頁首文字往上偏移 120px（僅桌機版）*/
@media (min-width: 640px) {
  .page-header--hero-bg .page-header__inner {
    transform: translateY(-120px);
  }
}

/* 只有 services 頁首用的全寬背景圖 */
.page-header--hero-bg-services {
  background-image: url("../images/s01.png");
  background-size: cover;
  background-position: center;
}

/* services 頁首文字加白色外光暈，提升在背景圖上的可讀性 */
.page-header--hero-bg-services .page-header__title,
.page-header--hero-bg-services .page-header__desc {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7);
}

/* 只有 brand 頁首用的全寬背景圖 */
.page-header--hero-bg-brand {
  background-image: url("../images/b01.png");
  background-size: cover;
  background-position: center;
}

/* brand 頁首文字加白色外光暈，提升在背景圖上的可讀性 */
.page-header--hero-bg-brand .page-header__title,
.page-header--hero-bg-brand .page-header__desc {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7);
}

/* brand 頁首文字往上偏移 150px、往右偏移 100px（視窗較窄時自動縮小位移量，僅桌機版）*/
@media (min-width: 640px) {
  .page-header--hero-bg-brand .page-header__inner {
    transform: translate(clamp(0px, calc((100vw - 768px) / 2), 100px), -150px);
  }
}

/* 只有 reviews 頁首用的全寬背景圖 */
.page-header--hero-bg-reviews {
  background-image: url("../images/r01.png");
  background-size: cover;
  background-position: left center;
}

/* reviews 頁首文字加白色外光暈，提升在背景圖上的可讀性 */
.page-header--hero-bg-reviews .page-header__title,
.page-header--hero-bg-reviews .page-header__desc {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7);
}

/* reviews 頁首文字靠左排版，避開背景圖右側人物（僅桌機版）*/
@media (min-width: 640px) {
  .page-header--hero-bg-reviews .page-header__inner {
    margin: 0;
    max-width: min(44%, 560px);
    text-align: left;
    padding-left: clamp(24px, 5vw, 80px);
    transform: translateY(-150px);
  }
}

/* 只有 contact 頁首用的全寬背景圖 */
.page-header--hero-bg-contact {
  background-image: url("../images/c01.png");
  background-size: cover;
  background-position: center;
}

/* contact 頁首文字加白色外光暈，提升在背景圖上的可讀性 */
.page-header--hero-bg-contact .page-header__title,
.page-header--hero-bg-contact .page-header__desc {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7);
}

/* contact 頁首文字往上偏移 150px、往左偏移 50px（視窗較窄時自動縮小位移量，僅桌機版）*/
@media (min-width: 640px) {
  .page-header--hero-bg-contact .page-header__inner {
    transform: translate(clamp(-50px, calc((768px - 100vw) / 2), 0px), -150px);
  }
}

/* 只有 news 頁首用的全寬背景圖 */
.page-header--hero-bg-news {
  background-image: url("../images/N01.png");
  background-size: cover;
  background-position: center;
}

/* news 頁首文字往右偏移 200px（視窗較窄時自動縮小位移量）、往上偏移 140px（僅桌機版）*/
@media (min-width: 640px) {
  .page-header--hero-bg-news .page-header__inner {
    transform: translate(clamp(0px, calc((100vw - 768px) / 2), 200px), -140px);
  }
}

/* news 頁首文字加白色外光暈，提升在背景圖上的可讀性 */
.page-header--hero-bg-news .page-header__title,
.page-header--hero-bg-news .page-header__desc {
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.95),
    0 0 28px rgba(255, 255, 255, 0.7);
}

/* 只有 products-serum 頁首用的全寬背景圖（文字排版維持 wide 不變）*/
.page-header--hero-bg-serum {
  background-image: url("../images/pH01.png");
  background-size: cover;
  background-position: center;
}

/* 只有 products-cream 頁首用的全寬背景圖（文字排版維持 wide 不變）*/
.page-header--hero-bg-cream {
  background-image: url("../images/ph02.png");
  background-size: cover;
  background-position: center;
}

/* 只有 products-mask 頁首用的全寬背景圖（文字排版維持 wide 不變）*/
.page-header--hero-bg-mask {
  background-image: url("../images/ph03.png");
  background-size: cover;
  background-position: center;
}

/* 只有 products-body-care 頁首用的全寬背景圖（文字排版維持 wide 不變）*/
.page-header--hero-bg-body {
  background-image: url("../images/ph04.png");
  background-size: cover;
  background-position: center;
}

/* 只有 services-facial 頁首用的全寬背景圖（文字排版維持 wide 不變）*/
.page-header--hero-bg-facial {
  background-image: url("../images/services-banner01.png");
  background-size: cover;
  background-position: center;
}


/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  color: var(--text-soft);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a:hover {
  color: var(--cta);
}

.breadcrumb .current {
  color: var(--text-main);
}

/* Grid utilities */
.grid {
  display: grid;
  gap: 24px;
}

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

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

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

/* Cards */
.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--surface);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 22px 48px -30px rgba(41, 42, 43, 0.12);
  transform: translateY(-2px);
}

.card .img-placeholder {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .img-placeholder {
  transform: scale(1.03);
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.card__eyebrow {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.card__title {
  font-size: 1.05rem;
}

.card__desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
  font-size: 13px;
}

.card__meta-link {
  font-weight: 500;
  color: var(--cta);
}

.card:hover .card__meta-link {
  text-decoration: underline;
}

.card__badge {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  background: var(--nude-pink-60);
  padding: 2px 10px;
  font-size: 12px;
  color: var(--text-main);
}

/* Image placeholder */
.img-placeholder {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-soft), var(--background-soft) 55%, var(--surface));
  aspect-ratio: 4 / 3;
}

.img-placeholder--square { aspect-ratio: 1 / 1; }
.img-placeholder--tall { aspect-ratio: 4 / 5; }
.img-placeholder--wide { aspect-ratio: 16 / 9; }

.img-placeholder > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background:
    radial-gradient(circle at 25% 25%, rgba(209, 228, 232, 0.55), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(254, 224, 213, 0.5), transparent 55%);
}

.img-placeholder__label {
  position: relative;
  padding: 0 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(41, 42, 43, 0.72);
}

.img-placeholder__label small {
  display: block;
  font-size: 11px;
  color: rgba(41, 42, 43, 0.5);
}

/* Steps / numbered list */
.numbered {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--nude-pink);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.125rem;
  color: var(--cta);
  flex-shrink: 0;
}

.numbered--outline {
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid var(--cta);
}

.why-item, .belief-item {
  text-align: center;
}

@media (min-width: 640px) {
  .why-item, .belief-item {
    text-align: left;
  }
  .why-item .numbered, .belief-item .numbered {
    margin-left: 0;
  }
}

.why-item .numbered, .belief-item .numbered {
  margin: 0 auto 12px;
}

.step-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-list li {
  display: flex;
  gap: 16px;
}

.step-list .step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--nude-pink);
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--cta);
  flex-shrink: 0;
}

.step-list .step-title {
  font-weight: 500;
}

.step-list .step-desc {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Checklist */
.check-list {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .check-list--2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--white-60);
  padding: 14px 16px;
  font-size: 15px;
}

.check-list .check-mark {
  color: var(--cta);
  margin-top: 2px;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bullet-list li {
  display: flex;
  gap: 10px;
  font-size: 15px;
}

.bullet-list .bullet {
  color: var(--cta);
}

.caution-list li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Quote */
.quote {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--white-60);
  padding: 24px;
  font-size: 15px;
  line-height: 1.75;
}

.quote-link {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--cta);
}

.tag {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--white-60);
  padding: 4px 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Filter buttons (reviews) */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: transparent;
  padding: 8px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #5c463b;
  color: #5c463b;
}

.filter-btn.is-active {
  border-color: #5c463b;
  background: #5c463b;
  color: #fff;
}

.review-card {
  display: none;
}

.review-card.is-visible {
  display: flex;
}

/* FAQ accordion */
.faq {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--white-50);
  overflow: hidden;
}

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

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

@media (min-width: 640px) {
  .faq-question {
    padding: 20px 24px;
  }
}

.faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--cta);
  transition: transform 0.2s;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

@media (min-width: 640px) {
  .faq-answer {
    padding: 0 24px 20px;
  }
}

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

/* Detail layout */
.detail-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .detail-grid {
    grid-template-columns: 2fr 1fr;
  }
}

.detail-block + .detail-block {
  margin-top: 48px;
}

.info-card {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--white-60);
  padding: 24px;
}

.info-card__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-soft);
}

.info-card__value {
  margin-top: 4px;
  font-size: 1.125rem;
}

.price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-strong);
}

.price-trial {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.price-list {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-main);
}

.price-list--struck {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: line-through;
}

.info-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--text-soft);
}

.sidebar-actions {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-label {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--text-soft);
}

.pending-badge {
  display: inline-block;
  margin-bottom: 12px;
  border-radius: 999px;
  background: var(--nude-pink-70);
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-main);
}

.pending-note {
  margin-bottom: 40px;
  border-radius: 8px;
  border: 1px solid rgba(167, 145, 133, 0.4);
  background: var(--nude-pink-40);
  padding: 20px;
  font-size: 14px;
  line-height: 1.7;
}

.field-grid {
  display: grid;
  gap: 20px;
}

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

.field-box {
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: var(--white-60);
  padding: 16px;
}

.field-box__label {
  font-size: 12px;
  color: var(--text-soft);
}

.field-box__value {
  margin-top: 4px;
  font-size: 15px;
}

.chip-link {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: var(--white-60);
  padding: 8px 16px;
  font-size: 14px;
}

.chip-link:hover {
  border-color: var(--cta);
  color: var(--cta);
}

/* Split editorial feature (bamford 交替圖文分欄) */
.split-feature {
  padding: 72px 0;
}

@media (min-width: 640px) {
  .split-feature {
    padding: 112px 0;
  }
}

.split-feature__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  gap: 40px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .split-feature__inner {
    padding: 0 32px;
  }
}

@media (min-width: 900px) {
  .split-feature__inner {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
  }
  .split-feature--reverse .split-feature__media {
    order: 2;
  }
}

.split-feature__media .img-placeholder {
  border-radius: 10px;
}

.split-feature__title {
  margin-top: 18px;
  font-size: 1.9rem;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

@media (min-width: 640px) {
  .split-feature__title {
    font-size: 2.5rem;
  }
}

.split-feature__body p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-soft);
}

.split-feature__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Editorial numbered list */
.feature-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
}

.feature-list li {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--border-soft);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.feature-list .feature-list__num {
  flex-shrink: 0;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
}

.feature-list .feature-list__title {
  font-family: "Noto Serif TC", serif;
  font-size: 1.05rem;
  color: var(--text-main);
}

.feature-list .feature-list__desc {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* Quote chapter (bamford 品牌語錄) */
.quote-chapter {
  padding: 88px 0;
  background: var(--nude-pink-50);
  text-align: center;
}

@media (min-width: 640px) {
  .quote-chapter {
    padding: 128px 0;
  }
}

.quote-chapter__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 24px;
}

.quote-chapter__mark {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--primary);
}

.quote-chapter__text {
  margin-top: 8px;
  font-family: "Noto Serif TC", serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-main);
}

@media (min-width: 640px) {
  .quote-chapter__text {
    font-size: 2.2rem;
  }
}

.quote-chapter__cite {
  margin-top: 28px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Detail hero (服務／產品細項頁上方主圖＋簡介) */
.detail-hero__grid {
  margin-top: 28px;
  display: grid;
  gap: 32px;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .detail-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
  .detail-hero__grid--media-right .detail-hero__media {
    order: 2;
  }
}

.detail-hero__media .img-placeholder {
  border-radius: 10px;
}

.detail-hero__eyebrow {
  margin-bottom: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.detail-hero__sizes {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* 最新消息卡片 */
.article-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.article-card__date {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.article-card__title {
  font-family: "Noto Serif TC", serif;
}

/* 最新消息內容頁 */
.article-meta {
  margin-top: 16px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.article-hero {
  max-width: 900px;
  margin: 0 auto 48px;
}

.article-hero .img-placeholder {
  border-radius: 10px;
}

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

.article-body > :first-child {
  margin-top: 0;
}

.article-body p {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text-soft);
}

.article-body .article-lead {
  font-size: 1.2rem;
  line-height: 1.85;
  color: var(--text-main);
}

.article-heading {
  margin-top: 44px;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--text-main);
}

.article-quote {
  margin: 40px 0;
  padding: 6px 0 6px 24px;
  border-left: 3px solid var(--primary);
  font-family: "Noto Serif TC", serif;
  font-size: 1.35rem;
  line-height: 1.6;
  color: var(--text-main);
}

.article-foot {
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

/* CTA block */
.cta-block {
  max-width: 640px;
  margin: 0 auto;
  border-radius: 10px;
  background: var(--nude-pink-50);
  padding: 48px 24px;
  text-align: center;
}

@media (min-width: 640px) {
  .cta-block {
    padding: 48px 64px;
  }
}

.cta-block__title {
  font-size: 1.5rem;
}

@media (min-width: 640px) {
  .cta-block__title {
    font-size: 1.875rem;
  }
}

.cta-block__desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.cta-block__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cta-block--quote {
  padding: 32px 24px;
}

/* Contact page */
.contact-info dt {
  font-size: 13px;
  color: var(--text-soft);
}

.contact-info dd {
  margin: 2px 0 0;
}

.contact-info > div + div {
  margin-top: 16px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 260px;
}

.hours-row .closed {
  color: var(--text-soft);
}

.map-frame {
  margin-top: 24px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  color: var(--cta);
}

.map-link:hover {
  text-decoration: underline;
}

.booking-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.booking-steps li {
  display: flex;
  gap: 8px;
}

.booking-steps .step-index {
  color: var(--cta);
}

/* Form */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.form-field .required {
  color: var(--cta);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: #fff;
  padding: 12px 16px;
  font-size: 15px;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--cta);
}

.form-error {
  margin-top: 4px;
  font-size: 12px;
  color: var(--cta);
}

.form-row-2 {
  display: grid;
  gap: 20px;
}

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

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

.form-success {
  border-radius: 8px;
  border: 1px solid rgba(167, 145, 133, 0.4);
  background: var(--nude-pink-40);
  padding: 32px;
  text-align: center;
}

.form-success__title {
  font-size: 1.125rem;
  font-weight: 500;
}

.form-success__desc {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.form-submit-error {
  font-size: 14px;
  color: var(--cta);
  margin-bottom: 16px;
}

/* Newsletter chapter */
.newsletter {
  position: relative;
  background-color: var(--nude-pink-50);
}

.newsletter::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/patten01.png");
  background-repeat: repeat;
  background-size: 640px auto;
  background-position: top center;
  opacity: 0.4;
  pointer-events: none;
}

.newsletter__inner {
  position: relative;
  z-index: 1;
}

.newsletter__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 20px;
  text-align: center;
}

@media (min-width: 640px) {
  .newsletter__inner {
    padding: 96px 32px;
  }
}

.newsletter__eyebrow {
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.newsletter__title {
  font-size: 1.65rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .newsletter__title {
    font-size: 2.15rem;
  }
}

.newsletter__desc {
  margin: 16px auto 0;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-soft);
}

.newsletter__form {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.newsletter__form input {
  flex: 1 1 260px;
  max-width: 340px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  padding: 12px 20px;
  font-size: 15px;
  outline: none;
}

.newsletter__form input:focus {
  border-color: var(--primary-soft);
  box-shadow: 0 0 0 3px rgba(209, 228, 232, 0.55);
}

.newsletter__note {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--background);
  color: var(--text-soft);
}

.site-footer__inner {
  max-width: 1152px;
  margin: 0 auto;
  padding: 48px 20px 64px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 640px) {
  .site-footer__inner {
    padding: 64px 32px;
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand__en {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--accent);
}

.footer-brand__zh {
  margin-top: 4px;
  font-size: 14px;
  color: var(--text-main);
}

.footer-brand__desc {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 260px;
}

.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 16px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-social a:hover {
  color: var(--cta);
}

.footer-col-label {
  margin-bottom: 16px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 40px;
  font-size: 14px;
}

@media (min-width: 640px) {
  .footer-nav ul {
    grid-template-columns: 1fr;
  }
}

.footer-nav a:hover {
  color: var(--cta);
}

.footer-contact {
  font-size: 14px;
  color: var(--text-soft);
}

.footer-contact a:hover {
  color: var(--cta);
}

.footer-contact__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.footer-contact__label {
  font-weight: 500;
  color: var(--text-main);
}

.site-footer__bottom {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

@media (min-width: 640px) {
  .site-footer__bottom {
    padding: 0 32px 48px;
  }
}

.footer-disclaimer {
  border-top: 1px solid var(--border-soft);
  padding-top: 24px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-muted);
}

.footer-copyright {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Line float button */
.line-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--cta);
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 12px 30px -10px rgba(41, 42, 43, 0.35);
}

@media (min-width: 768px) {
  .line-float {
    display: none;
  }
}

/* Utility */
.text-center { text-align: center; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mt-10 { margin-top: 40px; }
.small-note {
  font-size: 12px;
  color: var(--text-soft);
}
