:root {
  --twh-primary: #FF7403;
  --twh-primary-dark: #C35B07;
  --twh-primary-light: #FFF0E5;
  --twh-white: #FFFFFF;

  --twh-accent-red: #E84A1B;
  --twh-text: #3B261B;
  --twh-text-muted: #746158;
  --twh-border: #F0D2BF;

  --line-green: #06C755;
  --line-green-dark: #05a648;

  --shadow-sm: 0 2px 8px rgba(59, 38, 27, 0.08);
  --shadow-md: 0 8px 24px rgba(59, 38, 27, 0.12);
  --shadow-lg: 0 20px 48px rgba(59, 38, 27, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  color: var(--twh-text);
  background: var(--twh-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon, svg { width: 20px; height: 20px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--twh-primary);
  color: var(--twh-white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { background: var(--twh-primary-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--twh-white);
  color: var(--twh-white);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

.btn-line {
  background: var(--line-green);
  color: var(--twh-white);
  box-shadow: var(--shadow-md);
}
.btn-line:hover { background: var(--line-green-dark); }

.btn-lg { padding: 16px 32px; font-size: 16px; margin-top: 20px; }
.btn-full { width: 100%; }

.btn-nav-cta { padding: 10px 22px; font-size: 14px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--twh-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  font-size: 20px;
  font-weight: 900;
  color: var(--twh-text);
  letter-spacing: 1px;
}
.logo span {
  font-size: 13px;
  font-weight: 500;
  color: var(--twh-primary);
  margin-left: 6px;
}
.main-nav {
  display: flex;
  gap: 36px;
}
.main-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--twh-text-muted);
  transition: color 0.2s ease;
}
.main-nav a:hover { color: var(--twh-primary); }

.header-right { display: flex; align-items: center; gap: 12px; }

/* 手機版漢堡按鈕：桌機隱藏 */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--twh-border);
  border-radius: 10px;
  background: var(--twh-white);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--twh-text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--twh-primary-light) 0%, var(--twh-white) 55%);
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}
.hero-photo {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 7;
  background: var(--twh-primary-light);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.eyebrow {
  color: var(--twh-primary);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 14px;
  margin-bottom: 12px;
}
.hero-content h1 {
  font-size: 52px;
  font-weight: 900;
  letter-spacing: 4px;
  margin-bottom: 16px;
}
.hero-tagline {
  font-size: 20px;
  color: var(--twh-text-muted);
  font-weight: 500;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--twh-border);
  border-bottom: 1px solid var(--twh-border);
}
.hero-stat { display: flex; flex-direction: column; }
.hero-stat-num {
  font-size: 28px;
  font-weight: 900;
  color: var(--twh-primary);
}
.hero-stat-label {
  font-size: 13px;
  color: var(--twh-text-muted);
  margin-top: 4px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn-outline { color: var(--twh-text); border-color: var(--twh-primary); }
.hero-cta .btn-outline:hover { background: var(--twh-primary-light); }

/* Section shared */
.section { padding: 96px 0; }
.section-eyebrow {
  color: var(--twh-primary);
  font-weight: 700;
  letter-spacing: 3px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 8px;
}
.section-eyebrow.light { color: #FFD9B3; }
.section-title {
  font-size: 34px;
  font-weight: 900;
  text-align: center;
  letter-spacing: 2px;
}
.section-title.light { color: var(--twh-white); }
.section-sub {
  text-align: center;
  color: var(--twh-text-muted);
  margin-top: 12px;
  margin-bottom: 56px;
  font-size: 16px;
}
.section-sub.light { color: rgba(255,255,255,0.85); }

/* Areas */
.areas { background: var(--twh-white); }
.area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.area-card {
  background: var(--twh-primary-light);
  border: 1px solid var(--twh-border);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.area-city {
  font-size: 13px;
  color: var(--twh-primary-dark);
  font-weight: 700;
}
.area-name {
  font-size: 22px;
  font-weight: 900;
  color: var(--twh-text);
}

/* Results */
.results {
  background: linear-gradient(135deg, var(--twh-primary) 0%, var(--twh-accent-red) 100%);
}
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 820px;
  margin: 0 auto;
}
.results-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 40px 24px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
}
.results-card-honor { background: rgba(255,255,255,0.14); }
.results-trophy {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  color: var(--twh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.results-trophy svg { width: 28px; height: 28px; }
.results-badge {
  font-size: 32px;
  font-weight: 900;
  color: var(--twh-white);
  letter-spacing: 2px;
}
.results-num {
  font-size: 56px;
  font-weight: 900;
  color: var(--twh-white);
  letter-spacing: 1px;
}
.results-plus { color: #FFD9B3; }
.results-desc {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; }
}

/* Services */
.services { background: var(--twh-white); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  border: 1px solid var(--twh-border);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--twh-primary);
}
.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--twh-primary-light);
  color: var(--twh-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-icon svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--twh-text-muted);
  font-size: 14.5px;
}

/* Booking */
.booking { background: var(--twh-primary-light); }
.booking-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.booking .section-eyebrow, .booking .section-title, .booking .section-sub {
  text-align: left;
  margin-bottom: 16px;
}
.booking .section-sub { margin-bottom: 32px; }
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 8px;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
}
.contact-list svg { color: var(--twh-primary); flex-shrink: 0; }

.booking-form {
  background: var(--twh-white);
  border-radius: 20px;
  padding: 36px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
/* 預約區塊改成導向真正的預約系統（/card/booking），這裡只留一張說明卡 */
.booking-cta { gap: 14px; }
.bk-cta-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--twh-primary);
}
.bk-cta-title { font-size: 22px; line-height: 1.4; }
.bk-cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 4px 0 8px;
}
.bk-cta-list li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--twh-text);
}
.bk-cta-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--twh-primary);
}

.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 14px; font-weight: 700; color: var(--twh-text); }
.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--twh-border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--twh-text);
  background: var(--twh-white);
  resize: vertical;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--twh-primary);
  box-shadow: 0 0 0 3px var(--twh-primary-light);
}
.form-note {
  text-align: center;
  font-size: 14px;
  color: var(--twh-primary-dark);
  font-weight: 600;
  min-height: 20px;
}

/* My Listings (我的店鋪) */
.listings { background: var(--twh-primary-light); }
.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.listing-card {
  display: block;
  background: var(--twh-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.listing-photo {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--twh-border);
}
.listing-body { padding: 16px 18px; }
.listing-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--twh-text);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.listing-meta { font-size: 13px; color: var(--twh-text-muted); margin-bottom: 10px; }
.listing-price { font-size: 22px; font-weight: 900; color: var(--twh-primary); }
.listing-price span { font-size: 13px; font-weight: 700; margin-left: 2px; }
.listing-ask {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--twh-border);
  font-size: 13px;
  font-weight: 700;
  color: var(--line-green);
}
.listing-card:hover .listing-ask { color: var(--line-green-dark); }

@media (max-width: 900px) { .listings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .listings-grid { grid-template-columns: 1fr; } }

/* Valuation (免費查行情) */
.valuation { background: var(--twh-white); }
.valuation .section-eyebrow, .valuation .section-title, .valuation .section-sub {
  text-align: left;
  margin-bottom: 16px;
}
.valuation .section-sub { margin-bottom: 32px; }

/* 預約系統 */
.bk-step {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.bk-step-no {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--twh-text);
  color: var(--twh-white);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.bk-step h3 {
  font-size: 17px;
  font-weight: 700;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.bk-step h3 small {
  font-size: 12px;
  font-weight: 500;
  color: var(--twh-text-muted);
}

.bk-slots {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 4px 2px;
}
.bk-day-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--twh-primary-dark);
}
.bk-slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 7px;
}

.bk-chip {
  border: 1px solid var(--twh-border);
  background: var(--twh-white);
  color: var(--twh-text);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.bk-chip:hover { border-color: var(--twh-primary); }
.bk-chip[aria-pressed="true"] {
  background: var(--twh-primary);
  border-color: var(--twh-primary);
  color: var(--twh-white);
}

.bk-picked {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--twh-primary-dark);
  min-height: 20px;
}

.bk-meet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.bk-card {
  border: 1px solid var(--twh-border);
  background: var(--twh-white);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.bk-card strong { font-size: 14.5px; color: var(--twh-text); }
.bk-card span { font-size: 12px; color: var(--twh-text-muted); line-height: 1.5; }
.bk-card:hover { border-color: var(--twh-primary); }
.bk-card[aria-pressed="true"] {
  border-color: var(--twh-primary);
  background: var(--twh-primary-light);
}

.bk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.bk-sublabel {
  font-size: 13px;
  font-weight: 700;
  color: var(--twh-text);
}
.bk-tags { display: flex; flex-wrap: wrap; gap: 7px; }

.bk-note {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--twh-text-muted);
  min-height: 20px;
}
.bk-note-warn { color: var(--twh-accent-red); }
.bk-note-ok { color: var(--twh-primary-dark); }
.bk-empty { font-size: 14px; color: var(--twh-text-muted); }

@media (max-width: 560px) {
  .bk-meet { grid-template-columns: 1fr; }
  .bk-grid { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--twh-text);
  color: rgba(255,255,255,0.8);
  padding: 48px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-name { font-size: 18px; font-weight: 900; color: var(--twh-white); }
.footer-role { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 4px; }
.footer-contact { display: flex; gap: 24px; font-size: 14px; }
.footer-contact a:hover { color: var(--twh-primary); }
.footer-copy { width: 100%; text-align: center; font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 24px; }

/* Floating LINE button */
.float-line {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--line-green);
  color: var(--twh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  transition: transform 0.2s ease;
}
.float-line:hover { transform: scale(1.08); }
.float-line svg { width: 30px; height: 30px; }

/* Responsive */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { max-width: 320px; margin: 0 auto; }
  .hero-content { text-align: center; }
  .hero-stats { justify-content: center; }
  .hero-cta { justify-content: center; }
  /* 手機版：導覽列改為由漢堡按鈕展開的下拉面板。
     先前這裡是 display:none 且無替代入口，導致手機完全點不到選單。 */
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--twh-white);
    border-bottom: 1px solid var(--twh-border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    display: none;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 15px 24px;
    font-size: 16px;
    font-weight: 600;
    color: var(--twh-text);
    border-bottom: 1px solid var(--twh-primary-light);
  }
  .main-nav a:last-child { border-bottom: none; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .booking-inner { grid-template-columns: 1fr; }
  .booking .section-eyebrow, .booking .section-title, .booking .section-sub { text-align: center; }
  .valuation .section-eyebrow, .valuation .section-title, .valuation .section-sub { text-align: center; }
  .contact-list { align-items: center; }
}

@media (max-width: 560px) {
  .hero-content h1 { font-size: 38px; }
  .section-title { font-size: 26px; }
  .results-num { font-size: 52px; }
  .header-inner { height: 64px; }
  .footer-inner { justify-content: center; text-align: center; }
}
