:root {
  --cream-main: #ead9c1;
  --cream-light: #fbf3e8;
  --cream-deep: #caa77a;
  --cream-dark: #806142;
  --accent-sage: #8fa081;
  --accent-ink: #2f2b26;
  --bg-main: #fffaf2;
  --bg-card: #fffdf8;
  --bg-warm: #f4e6d3;
  --bg-dark: #26221f;
  --text-main: #2d2823;
  --text-medium: #665d53;
  --text-light: #94897c;
  --text-white: #ffffff;
  --font-heading: "Noto Serif TC", serif;
  --font-body: "Noto Sans TC", sans-serif;
  --font-english: "Cormorant Garamond", serif;
  --font-number: "Cormorant Garamond", serif;
  --text-hero: clamp(2.25rem, 6vw, 5.4rem);
  --text-h1: clamp(2rem, 5vw, 4.25rem);
  --text-h2: clamp(1.5rem, 3vw, 2.35rem);
  --text-h3: clamp(1.12rem, 2vw, 1.35rem);
  --text-body: 1rem;
  --text-small: 0.9rem;
  --text-caption: 0.75rem;
  --text-data: 4rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: 6rem;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-full: 999px;
  --shadow-sm: 0 8px 22px rgba(80, 57, 35, 0.08);
  --shadow-md: 0 18px 45px rgba(80, 57, 35, 0.14);
  --shadow-lg: 0 28px 70px rgba(80, 57, 35, 0.22);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.85;
  letter-spacing: 0.035em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.content-container,
.board-inner {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.content-container.narrow {
  width: min(100% - 2rem, 640px);
}

.content-container.wide {
  width: min(100% - 2rem, 1280px);
}

.board-inner.wide {
  width: min(100% - 2rem, 1280px);
}

.board-inner.narrow {
  width: min(100% - 2rem, 640px);
}

.lp-section {
  position: relative;
  width: 100%;
}

.poster-section,
.poster-board {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.poster-section {
  display: grid;
  isolation: isolate;
}

.poster-section .section-image,
.poster-section .section-overlay,
.poster-copy {
  grid-area: 1 / 1;
}

.poster-section .section-image {
  z-index: 1;
}

.poster-section .section-image img {
  width: 100%;
  height: 100svh;
  min-height: 680px;
  object-fit: cover;
}

.poster-section .section-overlay {
  z-index: 2;
  pointer-events: none;
}

.poster-safe-left .section-overlay {
  background: linear-gradient(90deg, rgba(255, 250, 242, 0.94) 0%, rgba(255, 250, 242, 0.82) 33%, rgba(255, 250, 242, 0.12) 58%, transparent 100%);
}

.poster-safe-right .section-overlay {
  background: linear-gradient(270deg, rgba(255, 250, 242, 0.95) 0%, rgba(255, 250, 242, 0.84) 34%, rgba(255, 250, 242, 0.12) 60%, transparent 100%);
}

.poster-copy {
  z-index: 3;
  align-self: center;
  width: min(39rem, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 7rem);
  padding: clamp(1.25rem, 3vw, 2.5rem) 0;
}

.poster-copy-right {
  justify-self: end;
  margin-left: 0;
  margin-right: clamp(1rem, 7vw, 7rem);
}

.poster-copy h1,
.poster-copy h2,
.board-heading h2 {
  font-family: var(--font-heading);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-md);
}

.poster-copy h2,
.board-heading h2 {
  font-size: var(--text-h1);
}

.poster-copy em,
.board-heading em,
.cta-heading em {
  color: var(--cream-dark);
  font-style: normal;
}

.eyebrow {
  color: var(--cream-dark);
  font-family: var(--font-english);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.section-label {
  color: var(--cream-dark);
  display: inline-block;
  font-family: var(--font-english);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  margin-bottom: var(--space-sm);
  text-transform: uppercase;
}

.section-heading {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.25;
}

.section-heading em {
  color: var(--cream-dark);
  font-style: normal;
}

.brand-name {
  color: var(--text-medium);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  letter-spacing: 0.28em;
  margin-bottom: var(--space-md);
}

.lead,
.poster-copy p,
.section-intro {
  color: var(--text-medium);
  max-width: 36rem;
}

.lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  margin-bottom: var(--space-lg);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.cta-btn {
  align-items: center;
  border-radius: var(--radius-full);
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 3.25rem;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.cta-btn-primary {
  background: var(--accent-sage);
  box-shadow: var(--shadow-md);
  color: var(--text-white);
}

.cta-btn-primary:hover {
  background: #788b6c;
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.cta-btn-secondary {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(128, 97, 66, 0.35);
  color: var(--cream-dark);
}

.poster-board {
  align-items: center;
  background:
    radial-gradient(circle at 10% 15%, rgba(202, 167, 122, 0.16), transparent 32%),
    linear-gradient(135deg, #fffaf2 0%, #f6ead8 100%);
  display: flex;
  padding: clamp(4rem, 7vw, 7rem) 0;
}

.poster-board::before,
.poster-board::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.poster-board::before {
  border: 1px solid rgba(128, 97, 66, 0.18);
  inset: clamp(1rem, 3vw, 2.25rem);
}

.poster-board::after {
  background: linear-gradient(135deg, transparent 0 48%, rgba(128, 97, 66, 0.18) 49% 50%, transparent 51%);
  height: 18rem;
  right: -4rem;
  top: -4rem;
  width: 18rem;
}

.board-heading {
  margin-bottom: var(--space-xl);
  max-width: 50rem;
  position: relative;
  z-index: 1;
}

.pain-grid,
.style-grid,
.process-grid,
.cases-grid,
.plan-grid {
  display: grid;
  gap: var(--space-md);
  position: relative;
  z-index: 1;
}

.pain-grid,
.style-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-card,
.style-card,
.process-card,
.plan-card {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(202, 167, 122, 0.24);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

.text-card span,
.process-card span {
  color: var(--cream-deep);
  display: block;
  font-family: var(--font-number);
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.text-card h3,
.style-card h3,
.process-card h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
}

.text-card p,
.style-card p,
.process-card p,
.plan-card p {
  color: var(--text-medium);
  font-size: var(--text-small);
}

.section-plans {
  background:
    radial-gradient(circle at 88% 12%, rgba(143, 160, 129, 0.18), transparent 28%),
    linear-gradient(135deg, #fbf3e8 0%, #fffdf8 54%, #ead9c1 100%);
}

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

.plan-card {
  min-height: 27rem;
}

.plan-card.featured {
  background: #2f2b26;
  color: var(--text-white);
}

.plan-card.featured p,
.plan-card.featured .plan-row span {
  color: rgba(255, 255, 255, 0.76);
}

.plan-room {
  color: var(--cream-dark);
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

.plan-card.featured .plan-room {
  color: var(--cream-light);
}

.plan-row {
  align-items: baseline;
  border-bottom: 1px solid rgba(202, 167, 122, 0.26);
  display: flex;
  gap: var(--space-sm);
  justify-content: space-between;
  padding: 0.9rem 0;
}

.plan-row strong {
  font-family: var(--font-number);
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  font-weight: 500;
  line-height: 1;
}

.plan-row span {
  color: var(--text-medium);
  font-weight: 700;
  white-space: nowrap;
}

.style-card {
  min-height: 18rem;
  padding-top: 8rem;
  position: relative;
  overflow: hidden;
}

.style-card::before {
  content: "";
  height: 7rem;
  inset: 0 0 auto;
  position: absolute;
}

.style-card.cream::before {
  background: linear-gradient(135deg, #f8ebd9, #d9bd98);
}

.style-card.wood::before {
  background: linear-gradient(135deg, #f7efe3, #b68a5c);
}

.style-card.clean::before {
  background: linear-gradient(135deg, #f5f5f0, #9aa795);
}

.poster-list {
  color: var(--text-medium);
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin-top: var(--space-md);
}

.poster-list li {
  background: rgba(255, 255, 255, 0.58);
  border-left: 3px solid var(--cream-deep);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.65rem 0.85rem;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-cases {
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.65), transparent 28%),
    linear-gradient(135deg, #ead9c1 0%, #fffaf2 100%);
}

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

.cases-grid-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: var(--space-xl);
}

.case-card {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.case-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  width: 100%;
}

.case-card:hover img {
  transform: scale(1.04);
}

.case-overlay {
  background: linear-gradient(to top, rgba(33, 29, 25, 0.9), rgba(33, 29, 25, 0.14) 64%, transparent);
  color: var(--text-white);
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: flex-end;
  padding: var(--space-lg);
  position: absolute;
}

.case-overlay span,
.case-label {
  color: var(--cream-light);
  font-family: var(--font-english);
  font-size: var(--text-caption);
  letter-spacing: 0.28em;
}

.case-overlay h3,
.case-title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin-top: var(--space-xs);
}

.case-overlay p,
.case-meta {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-small);
}

.faq-section {
  display: grid;
  gap: var(--space-sm);
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.faq-item {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(202, 167, 122, 0.24);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-weight: 700;
  justify-content: space-between;
  padding: 1.1rem 1.3rem;
}

.faq-q::after {
  color: var(--cream-deep);
  content: "+";
  font-family: var(--font-english);
  font-size: 1.7rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-q::after {
  transform: rotate(45deg);
}

.faq-a {
  color: var(--text-medium);
  font-size: var(--text-small);
  max-height: 0;
  overflow: hidden;
  padding: 0 1.3rem;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.open .faq-a {
  max-height: 16rem;
  padding: 0 1.3rem 1.2rem;
}

.section-14-cta {
  background: var(--cream-main);
  padding: var(--space-3xl) 0;
}

.section-14-cta .content-container {
  position: relative;
}

.cta-heading {
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: var(--text-h1);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: var(--space-md);
}

.cta-sub {
  color: var(--text-medium);
  margin-bottom: var(--space-lg);
}

.cta-checklist {
  display: grid;
  gap: var(--space-xs);
  list-style: none;
  margin: 0 auto var(--space-xl);
  max-width: 27rem;
  text-align: left;
}

.cta-checklist li {
  background: rgba(255, 255, 255, 0.58);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
}

.cta-btn-big {
  min-height: 3.8rem;
  padding-inline: 2.25rem;
}

.floating-cta {
  align-items: center;
  background: var(--accent-sage);
  border-radius: var(--radius-full);
  bottom: 24px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  display: flex;
  font-size: var(--text-small);
  font-weight: 800;
  height: 58px;
  justify-content: center;
  letter-spacing: 0.1em;
  position: fixed;
  right: 18px;
  text-decoration: none;
  width: 58px;
  z-index: 100;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--space-xl) 0;
}

.site-footer-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr 1fr;
}

.site-footer h3 {
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-sm);
}

.site-footer p,
.site-footer li {
  color: var(--cream-light);
  font-size: var(--text-small);
  list-style: none;
}

.site-footer a {
  color: var(--cream-light);
  text-decoration: none;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-caption);
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  text-align: center;
}

/* 免費諮詢表單（稿面：案例與 FAQ 之間） */
.poster-board.section-lead {
  min-height: auto;
  padding: var(--space-3xl) 0;
}

.section-lead .board-heading {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-lead .section-intro {
  margin-left: auto;
  margin-right: auto;
}

.lead-form {
  background: var(--bg-card);
  border: 1px solid rgba(202, 167, 122, 0.22);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-top: var(--space-lg);
  padding: var(--space-xl) var(--space-lg);
  position: relative;
  z-index: 1;
}

.lead-fields {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr 1fr;
}

.lead-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  text-align: left;
}

.lead-field span {
  color: var(--text-medium);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.lead-field input,
.lead-field textarea {
  background: #fff;
  border: 1px solid rgba(128, 97, 66, 0.25);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: inherit;
  font-size: var(--text-body);
  padding: 0.65rem 0.85rem;
  width: 100%;
}

.lead-field input:focus,
.lead-field textarea:focus {
  border-color: var(--accent-sage);
  outline: none;
  box-shadow: 0 0 0 3px rgba(143, 160, 129, 0.25);
}

.lead-field-full {
  grid-column: 1 / -1;
}

.lead-note {
  color: var(--text-light);
  font-size: var(--text-caption);
  margin-top: var(--space-md);
  text-align: center;
}

.lead-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .poster-section .section-image img {
    min-height: 720px;
  }

  .poster-safe-left .section-overlay,
  .poster-safe-right .section-overlay {
    background: linear-gradient(to bottom, rgba(255, 250, 242, 0.96), rgba(255, 250, 242, 0.78) 45%, rgba(255, 250, 242, 0.1));
  }

  .poster-copy,
  .poster-copy-right {
    align-self: start;
    justify-self: start;
    margin: 0;
    padding: 6rem 1rem 0;
    width: min(100%, 38rem);
  }

  .lead-fields {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .style-grid,
  .plan-grid,
  .process-grid,
  .cases-grid,
  .cases-grid-6,
  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .plan-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  :root {
    --text-hero: clamp(2rem, 13vw, 3.6rem);
    --text-h1: clamp(1.9rem, 11vw, 3rem);
  }

  body {
    letter-spacing: 0.02em;
  }

  .poster-copy h1,
  .poster-copy h2,
  .board-heading h2 {
    line-height: 1.25;
  }

  .cta-row,
  .cta-btn {
    width: 100%;
  }

  .poster-board::before {
    inset: 0.75rem;
  }
}

/* ============================================
   品牌 LOGO（hero / footer / case nav）
   ============================================ */
.site-brand-logo {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  height: 64px;
  justify-content: center;
  left: 18px;
  padding: 6px 10px;
  position: fixed;
  text-decoration: none;
  top: 18px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: auto;
  z-index: 100;
}

.site-brand-logo img {
  display: block;
  height: 100%;
  width: auto;
}

.site-brand-logo:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-1px);
}

.site-footer-brand {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-logo {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  height: auto;
  max-width: 180px;
  padding: 12px 16px;
  width: 100%;
}

.case-nav-brand {
  align-items: center;
  display: inline-flex;
  gap: 0.6rem;
  text-decoration: none;
}

.case-nav-brand img {
  background: var(--bg-card);
  border-radius: 8px;
  display: block;
  height: 36px;
  padding: 4px;
  width: auto;
}

@media (max-width: 768px) {
  .site-brand-logo {
    height: 52px;
    left: 12px;
    padding: 5px 8px;
    top: 12px;
  }

  .footer-logo {
    max-width: 140px;
    padding: 10px 12px;
  }
}

@media (max-width: 560px) {
  .site-brand-logo {
    height: 46px;
    left: 10px;
    top: 10px;
  }
}
