/* ===== Base / tokens ===== */
:root {
  --brand: #ff4065;
  --brand-dark: #d81f47;
  --ink: #2b2b2b;
  --muted: #666;
  --bg-soft: #fff5f7;
  --line: #f0d4da;
  --radius: 14px;
  --maxw: 1100px;
}

* { box-sizing: border-box; }

html, body { overflow-x: hidden; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif;
  color: var(--ink);
  line-height: 1.7;
  background: #fff;
  -webkit-text-size-adjust: 100%;
}

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

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 18px;
}

/* ===== Section titles ===== */
.section-title {
  text-align: center;
  font-size: 1.6rem;
  margin: 0 0 6px;
  color: var(--ink);
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  display: block;
  width: 54px;
  height: 4px;
  border-radius: 4px;
  background: var(--brand);
  margin: 12px auto 0;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin: 0 0 22px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 8px;
}
.logo img { height: 42px; width: auto; }
.header-right { display: flex; align-items: center; gap: 10px; }
.tel-link { display: none; flex-direction: column; line-height: 1.2; text-align: right; }
.tel-label { font-size: .72rem; color: var(--muted); }
.tel-num { font-size: 1.1rem; font-weight: 700; color: var(--brand); }
.btn-consult {
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: .95rem;
  white-space: nowrap;
  transition: background .2s;
}
.btn-consult:hover { background: var(--brand-dark); }

/* ===== Hero ===== */
.hero img { width: 100%; }

/* ===== Features ===== */
.features { padding: 40px 0; }
.features-headline { text-align: center; margin-bottom: 24px; }
.fh-title {
  font-size: clamp(1.3rem, 5.6vw, 2.2rem);
  font-weight: 800;
  color: #4a403a;
  margin: 0 0 16px;
  letter-spacing: 1px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 18px);
}
.fh-slash { color: #4a403a; font-weight: 400; transform: scaleY(1.4); }
.feature-grid-img {
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}

/* ===== Cases ===== */
.cases { padding: 40px 0; background: var(--bg-soft); }
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 24px;
}
.case-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.case-card img { width: 100%; }
.case-card h3 {
  margin: 14px 16px 6px;
  font-size: 1.15rem;
  color: var(--brand-dark);
}
.case-card p { margin: 0 16px 18px; color: #444; font-size: .95rem; }

/* ===== Steps ===== */
.steps { padding: 44px 0; }
.steps-slogan {
  text-align: center;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 2px;
  margin: 4px 0 26px;
}
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 720px;
  margin-inline: auto;
}
.step-card {
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  position: relative;
}
.step-icon { height: 56px; width: auto; margin: 0 auto 12px; }
.step-card h3 { margin: 0 0 10px; color: var(--brand-dark); font-size: 1.2rem; }
.step-card p { margin: 0; color: #555; }
.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { color: #555; padding: 3px 0; }

/* ===== Footer ===== */
.site-footer {
  background: #2b2b2b;
  color: #ddd;
  padding: 30px 0;
  text-align: center;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 16px;
}
.footer-nav a { color: #eee; font-size: .92rem; }
.footer-nav a:hover { color: var(--brand); }
.footer-legal { margin: 0 0 12px; font-size: .85rem; }
.footer-legal a { color: #ccc; }
.footer-copy { margin: 0; font-size: .78rem; color: #999; }

/* ===== Desktop ===== */
@media (min-width: 768px) {
  .tel-link { display: flex; }
  .section-title { font-size: 2rem; }
  .case-grid { grid-template-columns: repeat(3, 1fr); }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
}
