:root {
  --yellow: #f3c700;
  --text: #333333;
  --muted: #666666;
  --line: #dddddd;
  --bg: #ffffff;
  --soft: #f3f3f3;
  --line-green: #0cd000;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; }
.site-frame { min-height: 100vh; display: flex; flex-direction: column; }
.site-header { border-top: 6px solid var(--yellow); background: #fff; position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.brand-title { margin: 0; font-size: 24px; font-weight: 700; letter-spacing: 0.08em; }
.brand-subtitle { margin: 4px 0 0; font-size: 13px; color: var(--muted); letter-spacing: 0.18em; }
.desktop-nav { display: flex; gap: 32px; align-items: center; }
.nav-link { padding-bottom: 8px; border-bottom: 3px solid transparent; }
.nav-link.is-active { border-color: #cfcfcf; }
.mobile-nav { display: none; border-top: 1px solid #ece7d8; }
.mobile-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; }
.mobile-pill { white-space: nowrap; padding: 10px 16px; border: 1px solid #ddd7c7; border-radius: 999px; background: #fff; font-size: 14px; }
.mobile-pill.is-active { border-color: var(--yellow); background: #fff7d1; color: #233142; }
.page-wrap { padding: 20px 0 80px; }
.breadcrumb { background: var(--soft); color: var(--muted); display: flex; gap: 10px; align-items: center; padding: 10px 16px; font-size: 14px; }
.hero-section { margin-top: 32px; }
.hero-image { width: 100%; border-radius: 6px; object-fit: cover; max-height: 420px; }
.hero-image--process { background: #faf7ef; padding: 12px; }
.content-section { padding: 56px 0; }
.content-section.bordered { border-top: 1px dashed var(--line); }
.page-title, .section-title { margin: 0 0 28px; text-align: center; font-size: 36px; }
.page-title--left { text-align: left; }
.section-intro { max-width: 880px; color: var(--muted); line-height: 1.8; margin: 0 0 24px; }
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }
.split-panel { display: grid; grid-template-columns: minmax(0, 1fr) 282px; gap: 40px; align-items: start; }
.split-panel--estimate { grid-template-columns: 250px minmax(0, 1fr); }
.process-panel { grid-template-columns: 320px minmax(0, 1fr); }
.contact-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 48px; align-items: center; }
.text-stack { display: grid; gap: 18px; line-height: 1.85; color: #4a4a4a; }
.text-stack p, .contact-list p, .footer-inner p, .work-card p { margin: 0; }
.side-card { justify-self: center; }
.card-image, .logo-badge { width: 100%; border-radius: 8px; }
.logo-badge--small { width: 120px; }
.cta-row { margin-top: 44px; padding-top: 36px; border-top: 1px dashed var(--line); display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: center; gap: 20px; }
.cta-copy { font-size: 24px; font-weight: 700; }
.centered-copy { text-align: center; }
.quick-links { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.quick-link { border: 1px solid #d5d5d5; padding: 10px 18px; }
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work-card { text-align: center; }
.work-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; background: #f5f5f5; }
.work-card h3, .step-copy h3 { margin: 12px 0 8px; }
.process-steps { display: grid; gap: 20px; }
.process-step { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.step-badge { background: #bfe3ea; color: #fff; display: grid; place-items: center; padding: 18px 10px; font-weight: 700; clip-path: polygon(0 0, 84% 0, 100% 50%, 84% 100%, 0 100%); }
.step-copy { border-top: 1px dashed var(--line); padding-top: 14px; }
.muted { color: #909090; }
.contact-list { display: grid; gap: 8px; }
.floating-actions { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: flex; flex-direction: column; gap: 10px; }
.floating-btn { width: 56px; height: 56px; border-radius: 999px; display: grid; place-items: center; box-shadow: 0 6px 12px rgba(0, 0, 0, 0.18); }
.line-btn { background: var(--line-green); }
.phone-btn { background: var(--yellow); }
.ig-btn { background: linear-gradient(135deg, #ff7a18, #ff2d55 55%, #7a5cff); }
.floating-icon { width: 40px; height: 40px; }
.floating-text { color: #fff; font-weight: 700; letter-spacing: 0.04em; }
.site-footer { margin-top: auto; background: var(--yellow); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .split-panel, .split-panel--estimate, .process-panel, .contact-layout, .cta-row, .works-grid, .process-step { grid-template-columns: 1fr; }
  .page-title, .section-title { font-size: 30px; }
  .footer-inner { flex-direction: column; }
}

@media (min-width: 1024px) {
  .floating-actions { top: 46%; bottom: auto; right: 0; transform: translateY(-50%); }
  .floating-btn { width: 64px; height: 64px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; border-top-right-radius: 0; border-bottom-right-radius: 0; }
  .floating-icon { width: 48px; height: 48px; }
}

[data-field] {
  cursor: pointer;
}

[data-field]:hover {
  outline: 2px dashed rgba(60, 80, 120, 0.35);
  outline-offset: 2px;
}

.contact-form {
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
}

.contact-form button {
  border: 0;
  border-radius: 4px;
  padding: 12px 14px;
  background: #f3c700;
  color: #333333;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form-status {
  min-height: 1.2em;
  color: #666666;
}

.contact-form-status.is-success {
  color: #1a7f37;
}

.contact-form-status.is-error {
  color: #b42318;
}
