:root {
  --bg: #eef3fa;
  --bg-soft: #f7fbff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: #ffffff;
  --text: #12233b;
  --muted: #4a5f7a;
  --line: rgba(15, 52, 107, 0.1);
  --primary: #0e3d78;
  --primary-deep: #08274d;
  --accent: #e7c93d;
  --accent-deep: #b58d00;
  --success: #1f7f6f;
  --shadow: 0 24px 60px rgba(11, 31, 68, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(231, 201, 61, 0.28), transparent 22%),
    radial-gradient(circle at left 10%, rgba(43, 112, 194, 0.14), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 45%, #eaf1f8 100%);
}

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

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

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 10px 28px 112px;
}

.site-header {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  justify-content: start;
  align-items: end;
  gap: clamp(20px, 2.8vw, 40px);
  position: sticky;
  top: 0;
  z-index: 40;
  margin-bottom: 24px;
  padding: 18px 24px 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(11, 31, 68, 0.1);
  border: 1px solid rgba(15, 52, 107, 0.08);
  border-radius: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #1f66c2);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 1.7rem;
}

.brand-copy {
  display: grid;
  gap: 6px;
}

.brand-title-row {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.9rem;
  line-height: 1;
  white-space: nowrap;
}

.brand-service {
  display: inline-block;
  color: var(--primary);
  font-size: 1.34rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
}

.brand-copy span {
  color: var(--muted);
  font-size: 1.18rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: clamp(14px, 1.8vw, 28px);
  align-self: end;
  padding-bottom: 4px;
  color: var(--muted);
}

.site-nav a {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1;
}

.cta,
.mobile-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.cta:hover,
.mobile-action:hover {
  transform: translateY(-1px);
}

.site-header .brand:hover {
  transform: translateY(-1px);
}

main {
  display: flex;
  flex-direction: column;
}

.case-gallery {
  order: -1;
}

.hero,
.metrics,
.section {
  animation: rise 0.6s ease both;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.hero-copy,
.metrics,
.section {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(320px, 0.74fr);
  grid-template-areas:
    "main side"
    "proof proof";
  gap: 20px 26px;
  align-items: start;
  padding: 32px 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at right top, rgba(231, 201, 61, 0.12), transparent 24%),
    radial-gradient(circle at left 18%, rgba(43, 112, 194, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
}

.hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-copy::before,
.hero-copy::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero-copy::before {
  top: -120px;
  right: -50px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(14, 61, 120, 0.08), transparent 68%);
}

.hero-copy::after {
  left: -70px;
  bottom: -150px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(231, 201, 61, 0.12), transparent 68%);
}

.hero-copy-main,
.hero-copy-side {
  min-width: 0;
}

.hero-copy-main {
  grid-area: main;
  display: grid;
  align-content: start;
  gap: 12px;
  max-width: none;
}

.hero-copy-side {
  grid-area: side;
  display: grid;
  align-content: start;
}

.hero-proof-row {
  grid-area: proof;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 2px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 900;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 1.12;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(1.86rem, 2.25vw, 2.48rem);
  max-width: none;
  line-height: 1.1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  text-wrap: nowrap;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  display: flex;
  align-items: center;
  min-height: 40px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.03em;
}

.hero-chip-price {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(255, 241, 184, 0.95), rgba(255, 224, 124, 0.98));
}

.hero-chip-soft {
  color: var(--muted);
  background: rgba(14, 61, 120, 0.06);
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.hero-lead,
.price-note,
.section-intro,
.info-card p,
.story-copy p,
.story-points p,
.contact-card p,
.faq-list p,
.metrics p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-lead {
  margin: 0;
  max-width: 46ch;
  font-size: 0.95rem;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 2px 0 0;
}

.hero-points p {
  position: relative;
  margin: 0;
  padding-left: 16px;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary-deep);
  line-height: 1.5;
}

.hero-points p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #2b70c2);
}

.hero-side-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(245, 250, 255, 0.9));
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 20px 46px rgba(11, 31, 68, 0.1);
}

.price-card {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94));
  border: 1px solid rgba(14, 61, 120, 0.1);
}

.price-label {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
}

.price-value {
  margin: 0;
  font-size: clamp(1.3rem, 1.55vw, 1.72rem);
  line-height: 1.32;
  font-weight: 900;
  text-wrap: balance;
}

.price-tier-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.price-tier-list p {
  margin: 0;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.38;
  font-weight: 800;
  color: var(--text);
}

.price-note,
.price-note-list {
  margin-top: 18px;
}

.price-note-list {
  display: grid;
  gap: 10px;
}

.price-note-list p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

.cta-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cta-row .cta:first-child {
  grid-column: 1 / -1;
}

.hero-copy-side .cta {
  min-height: 41px;
  padding: 0 16px;
  font-size: 0.88rem;
}

.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #2b70c2);
  box-shadow: 0 18px 34px rgba(14, 61, 120, 0.28);
}

.secondary {
  color: #0d5d53;
  background: linear-gradient(135deg, #e8fbf4, #f7fffd);
  border: 1px solid rgba(31, 127, 111, 0.16);
}

.form {
  color: #6b4a00;
  background: linear-gradient(135deg, #fff1b8, #ffe07c);
  border: 1px solid rgba(181, 141, 0, 0.2);
}

.ghost,
.dark {
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 61, 120, 0.12);
}

.fact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 0;
  margin: 0;
  padding: 6px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(14, 61, 120, 0.08);
  overflow: hidden;
}

.fact-grid div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 66px;
  padding: 10px 13px;
  border-radius: 0;
  background: transparent;
  border: 0;
}

.fact-grid div:nth-child(odd) {
  border-right: 1px solid rgba(14, 61, 120, 0.08);
}

.fact-grid div:nth-child(-n + 2) {
  border-bottom: 1px solid rgba(14, 61, 120, 0.08);
}

.fact-grid dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.fact-grid dd {
  margin: 0;
  font-weight: 800;
  font-size: 0.86rem;
  line-height: 1.35;
}

.proof-stack {
  display: grid;
  gap: 12px;
}

.floating-proof {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: 16px 16px 15px;
  border-radius: 18px;
  color: var(--text);
  box-shadow: 0 18px 36px rgba(8, 39, 77, 0.12);
  text-align: center;
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.floating-proof::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.floating-proof span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 1;
}

.floating-proof strong {
  line-height: 1.35;
  font-size: 0.98rem;
  text-wrap: balance;
  max-width: 24ch;
}

.floating-proof small {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  max-width: 30ch;
}

.proof-one {
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.proof-one::before {
  background: linear-gradient(135deg, rgba(8, 39, 77, 0.96), rgba(17, 78, 150, 0.9));
}

.proof-two {
  background: linear-gradient(135deg, rgba(255, 248, 220, 0.96), rgba(255, 255, 255, 0.94));
}

.proof-two::before {
  background: linear-gradient(135deg, rgba(181, 141, 0, 0.95), rgba(231, 201, 61, 0.9));
}

.proof-three {
  background: linear-gradient(135deg, rgba(235, 252, 246, 0.96), rgba(255, 255, 255, 0.94));
}

.proof-three::before {
  background: linear-gradient(135deg, rgba(9, 95, 83, 0.96), rgba(20, 152, 134, 0.9));
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}

.metrics article {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.metrics span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(14, 61, 120, 0.1);
  color: var(--primary);
  font-weight: 900;
}

.metrics h2 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.section {
  padding: 34px;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.problem-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.94));
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.08);
}

.problem-card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.problem-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-intro {
  margin: 0 0 20px;
  max-width: 62ch;
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.section-heading h2 {
  font-size: clamp(1.78rem, 2.5vw, 2.42rem);
  max-width: none;
}

.card-grid {
  display: grid;
  gap: 16px;
}

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

.info-card,
.contact-card {
  padding: 22px;
  border-radius: 22px;
  background: var(--surface-strong);
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.info-card h3,
.area-column h3,
.contact-label,
.story-points h3 {
  margin: 0 0 12px;
}

.accent {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.45;
  font-weight: 900;
}

.story-layout,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 22px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 22px;
}

.case-warning,
.case-subheading {
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.94));
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.08);
}

.case-warning {
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(11, 31, 68, 0.96), rgba(18, 55, 104, 0.92));
  color: #fff;
}

.case-warning .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.case-warning h3,
.case-subheading h3 {
  margin: 0 0 12px;
  font-size: clamp(1.34rem, 1.95vw, 1.72rem);
  line-height: 1.3;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.case-warning p:last-child,
.case-subheading p:last-child {
  margin: 0;
  line-height: 1.8;
}

.case-warning p:last-child {
  color: rgba(255, 255, 255, 0.84);
}

.case-subheading {
  margin-bottom: 18px;
}

.case-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.compare-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 20px 44px rgba(11, 31, 68, 0.1);
}

.compare-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
}

.compare-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}

.compare-card strong {
  font-size: 1.08rem;
}

.compare-card span:last-child {
  color: var(--muted);
  line-height: 1.72;
}

.compare-label {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.compare-card.before .compare-label {
  background: rgba(11, 31, 68, 0.88);
  color: #fff;
}

.compare-card.after .compare-label {
  background: rgba(12, 123, 93, 0.9);
  color: #fff;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 18px 38px rgba(11, 31, 68, 0.08);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  background: #dce5f1;
}

.process-grid .case-card img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
  object-position: center center;
  background: linear-gradient(180deg, #f4f7fb, #eef3f9);
}

.case-card img.water-photo {
  object-position: center center;
}

.service-photo-card img {
  aspect-ratio: 16 / 11;
  object-position: center center;
}

.case-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}

.case-card strong {
  font-size: 1rem;
}

.case-card span {
  color: var(--muted);
  line-height: 1.7;
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.license-card {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 18px 38px rgba(11, 31, 68, 0.08);
}

.license-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  background: #dce5f1;
}

.license-card figcaption {
  display: grid;
  gap: 8px;
  padding: 18px 20px 20px;
}

.license-card strong {
  font-size: 1.08rem;
}

.license-card span,
.license-card small {
  color: var(--muted);
  line-height: 1.72;
}

.license-card small {
  font-size: 0.88rem;
}

.license-note {
  margin: 18px 0 0;
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(14, 61, 120, 0.06);
  border: 1px solid rgba(14, 61, 120, 0.08);
  color: var(--primary-deep);
  font-weight: 800;
  line-height: 1.7;
}

.story-copy blockquote {
  margin: 0 0 18px;
  padding: 22px 24px;
  border-left: 6px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: rgba(14, 61, 120, 0.06);
  color: var(--primary-deep);
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.6;
}

.story-points {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.story-points div {
  padding: 18px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.story-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.story-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.story-photo img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
}

.story-quote-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(14, 61, 120, 0.96), rgba(31, 102, 194, 0.9));
  color: #fff;
  line-height: 1.8;
  font-weight: 700;
}

.area-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.area-column {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(242, 248, 255, 0.92));
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.area-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px 30px;
  border-radius: 24px;
  border: 1px solid rgba(14, 61, 120, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 248, 255, 0.94));
  box-shadow: 0 18px 38px rgba(11, 31, 68, 0.08);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.area-link-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 61, 120, 0.18);
  box-shadow: 0 22px 42px rgba(11, 31, 68, 0.11);
}

.area-link-copy {
  display: grid;
  gap: 10px;
}

.area-link-copy p,
.area-link-copy h3 {
  margin: 0;
}

.area-link-copy h3 {
  color: var(--text);
}

.area-link-copy p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.82;
}

.area-link-arrow {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(14, 61, 120, 0.08);
  color: var(--primary);
  font-size: 1.6rem;
  font-weight: 900;
}

.case-study-hero {
  display: grid;
  gap: 22px;
}

.case-study-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 22px;
  align-items: start;
}

.case-study-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(14, 61, 120, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 46px rgba(11, 31, 68, 0.1);
}

.case-study-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.case-study-photo figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
  line-height: 1.76;
}

.case-study-side {
  display: grid;
  gap: 16px;
}

.case-meta-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.94));
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 16px 36px rgba(11, 31, 68, 0.08);
}

.case-meta-card h3 {
  margin: 0 0 10px;
  font-size: 1.06rem;
}

.case-meta-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.case-body-copy {
  display: grid;
  gap: 16px;
}

.case-body-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.84;
}

.case-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.82;
}

.case-list strong {
  color: var(--text);
}

.case-inline-quote {
  margin: 22px 0 0;
  padding: 22px 24px;
  border-left: 6px solid var(--accent);
  border-radius: 0 20px 20px 0;
  background: rgba(14, 61, 120, 0.06);
  color: var(--primary-deep);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.76;
}

.case-tip-card {
  padding: 24px 26px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 248, 229, 0.94), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(236, 196, 91, 0.24);
  box-shadow: 0 14px 32px rgba(209, 170, 61, 0.08);
}

.case-tip-card ol {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 12px;
  color: var(--muted);
  line-height: 1.84;
}

.case-tip-card li::marker {
  color: var(--primary);
  font-weight: 900;
}

.review-summary,
.review-footer {
  padding: 22px 24px;
  border-radius: 22px;
  border: 1px solid rgba(14, 61, 120, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(242, 248, 255, 0.94));
}

.review-summary {
  margin-bottom: 18px;
}

.review-summary p,
.review-footer p {
  margin: 0;
  line-height: 1.8;
}

.review-grid {
  margin-bottom: 18px;
}

.review-card {
  display: grid;
  gap: 14px;
  padding: 20px 20px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.95));
  box-shadow: 0 14px 34px rgba(11, 31, 68, 0.08);
}

.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.06rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.avatar-rose {
  background: linear-gradient(135deg, #d44f84, #a92f66);
}

.avatar-sky {
  background: linear-gradient(135deg, #58a3ff, #2b70c2);
}

.avatar-cocoa {
  background: linear-gradient(135deg, #87624d, #644635);
}

.avatar-olive {
  background: linear-gradient(135deg, #72a53e, #4c7a23);
}

.avatar-ink {
  background: linear-gradient(135deg, #3d4659, #1e2532);
}

.avatar-amber {
  background: linear-gradient(135deg, #c77a28, #9a5514);
}

.review-identity {
  min-width: 0;
}

.review-identity h3 {
  margin: 0 0 4px;
}

.review-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4285f4, #34a853);
  color: #fff;
  font-size: 0.98rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(52, 104, 194, 0.24);
  flex: 0 0 auto;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-stars {
  color: #f4b400;
  font-size: 1.02rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.review-time {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.review-quote {
  margin: 0;
  color: var(--muted);
  line-height: 1.86;
}

.review-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.review-footer .cta {
  flex: 0 0 auto;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(14, 61, 120, 0.08);
  font-weight: 700;
  color: var(--primary-deep);
}

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

.contact-card.strong {
  background: linear-gradient(135deg, rgba(14, 61, 120, 0.96), rgba(31, 102, 194, 0.9));
  color: #fff;
}

.contact-card.strong p,
.contact-card.strong .contact-label {
  color: rgba(255, 255, 255, 0.82);
}

.contact-label {
  color: var(--muted);
  font-weight: 800;
}

.contact-value {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.35rem;
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 61, 120, 0.08);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 12px 0 0;
}

.floating-actions {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 112px;
  padding: 0 16px;
  min-height: 52px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(11, 31, 68, 0.2);
  font-weight: 800;
}

.floating-action svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.floating-action.call {
  background: linear-gradient(135deg, var(--primary), #2b70c2);
}

.floating-action.line {
  background: linear-gradient(135deg, #0f8a6f, #1cc58b);
}

.floating-action.booking {
  display: inline-flex;
  background: linear-gradient(135deg, #ffe38e, #f4c94f);
  color: #5e4200;
}

.mobile-bar,
.mobile-action {
  display: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .site-header,
  .hero,
  .problem-grid,
  .case-compare,
  .process-grid,
  .case-grid,
  .license-grid,
  .three-up,
  .story-layout,
  .booking-layout,
  .metrics,
  .area-board {
    grid-template-columns: 1fr;
  }

  .area-link-card {
    align-items: flex-start;
    padding: 24px 22px;
  }

  .area-link-arrow {
    width: 46px;
    height: 46px;
    font-size: 1.35rem;
  }

  .hero-copy {
    grid-template-columns: 1fr;
    grid-template-areas:
      "main"
      "side"
      "proof";
    gap: 24px;
  }

  .hero-copy-main {
    max-width: none;
  }

  .site-nav {
    justify-content: flex-start;
  }

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

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

  .review-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .case-study-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px 18px;
  }

  .site-nav {
    gap: 14px 18px;
    padding-bottom: 0;
  }

  .hero-copy {
    padding: 32px 28px;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(2.02rem, 5.4vw, 2.46rem);
  }

  .brand-service {
    font-size: 1.12rem;
  }

  .hero-proof-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 8px 14px 108px;
  }

  .hero-copy,
  .section {
    padding: 22px;
  }

  .site-header {
    position: sticky;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .brand {
    gap: 12px;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
    font-size: 1.45rem;
  }

  .brand-copy {
    gap: 4px;
  }

  .brand-title-row {
    gap: 8px;
  }

  .brand-copy strong {
    font-size: 1.52rem;
  }

  .brand-service {
    font-size: 1.02rem;
  }

  .brand-copy span {
    font-size: 0.96rem;
  }

  .site-nav {
    gap: 10px 14px;
  }

  .site-nav a {
    font-size: 0.92rem;
  }

  .fact-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(1.72rem, 8.4vw, 2.2rem);
    line-height: 1.05;
    white-space: normal;
    text-wrap: balance;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-chip {
    min-height: 36px;
    padding: 0 13px;
    font-size: 0.82rem;
  }

  .hero-copy {
    gap: 18px;
    padding: 24px 20px;
  }

  .hero-points,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .hero-points p {
    font-size: 0.88rem;
  }

  .hero-side-card,
  .price-card,
  .fact-grid div {
    padding: 18px;
  }

  .fact-grid div:nth-child(odd) {
    border-right: 0;
  }

  .fact-grid div:nth-child(-n + 2) {
    border-bottom: 0;
  }

  .fact-grid div:not(:last-child) {
    border-bottom: 1px solid rgba(14, 61, 120, 0.08);
  }

  .price-value,
  .accent,
  .contact-value {
    font-size: 1.02rem;
  }

  .cta-row {
    grid-template-columns: 1fr;
  }

  .cta {
    width: 100%;
  }

  .floating-proof {
    min-height: 96px;
    padding: 16px 18px;
  }

  .floating-actions {
    display: flex;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
    z-index: 40;
  }

  .floating-action {
    min-width: 108px;
    min-height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    box-shadow: 0 12px 24px rgba(11, 31, 68, 0.2);
  }

  .floating-action.booking {
    display: inline-flex;
  }

  .floating-action svg {
    width: 18px;
    height: 18px;
  }

  .case-study-photo img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 420px) {
  .floating-actions {
    right: 8px;
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 7px;
  }

  .floating-action {
    min-width: 100px;
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .floating-action svg {
    width: 16px;
    height: 16px;
  }
}

.site-nav a[aria-current="page"] {
  position: relative;
  color: var(--primary);
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #2b70c2);
}

.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.entry-card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.94));
  border: 1px solid rgba(14, 61, 120, 0.08);
  box-shadow: 0 18px 38px rgba(11, 31, 68, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease;
}

a.entry-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 42px rgba(11, 31, 68, 0.12);
  border-color: rgba(14, 61, 120, 0.16);
}

.entry-card .eyebrow {
  margin-bottom: 0;
}

.entry-card h3 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.32;
}

.entry-card p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.entry-link {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.4;
}

.compact-grid {
  margin-bottom: 0;
}

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

.page-cta-panel {
  display: grid;
  gap: 22px;
  background:
    radial-gradient(circle at right top, rgba(231, 201, 61, 0.12), transparent 24%),
    radial-gradient(circle at left 10%, rgba(43, 112, 194, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.94));
}

.page-cta-panel .section-intro {
  margin-bottom: 0;
}

.page-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.page-cta-actions .cta {
  min-width: 220px;
}

.district-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.district-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(14, 61, 120, 0.06);
  border: 1px solid rgba(14, 61, 120, 0.08);
  color: var(--primary-deep);
  font-size: 0.92rem;
  font-weight: 800;
}

.service-map-section .section-heading h1 {
  margin: 0;
  line-height: 1.12;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.9rem, 2.3vw, 2.7rem);
  text-wrap: balance;
}

.service-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 46px;
  align-items: start;
}

.service-map-copy {
  display: grid;
  gap: 22px;
  align-content: start;
}

.service-map-subtitle {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.9;
}

.step-card,
.zone-card,
.footprint-details {
  border: 1px solid rgba(14, 61, 120, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 251, 255, 0.94));
  box-shadow: 0 18px 38px rgba(11, 31, 68, 0.08);
}

.step-card,
.zone-card {
  padding: 24px;
  border-radius: 24px;
}

.step-card h3,
.zone-card h3 {
  margin: 0;
}

.legend-item p,
.step-card p:not(.eyebrow),
.zone-card p:not(.eyebrow),
.footprint-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.legend-list {
  display: grid;
  gap: 18px;
}

.legend-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 0;
}

.legend-swatch {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 10px;
}

.swatch-core {
  background: #e934f8;
}

.swatch-main {
  background: #65ec4e;
}

.swatch-outer {
  background: #fbfefa;
  border: 1px solid rgba(18, 35, 59, 0.18);
}

.legend-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.legend-copy p {
  line-height: 2.02;
}

.legend-note {
  display: block;
  margin-top: 10px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(236, 196, 91, 0.26);
  background: linear-gradient(135deg, rgba(255, 247, 221, 0.96), rgba(255, 252, 241, 0.92));
  box-shadow: 0 14px 30px rgba(209, 170, 61, 0.09);
  font-size: 0.92rem;
  line-height: 1.82;
  color: rgba(66, 87, 114, 0.96);
}

.service-map-figure {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(14, 61, 120, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 52px rgba(11, 31, 68, 0.12);
}

.service-map-figure a {
  display: block;
}

.service-map-figure img {
  width: 100%;
  height: auto;
}

.service-map-figure figcaption {
  padding: 16px 20px 18px;
  color: var(--muted);
  line-height: 1.72;
  font-size: 0.94rem;
}

@media (min-width: 1100px) {
  .service-map-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(520px, 0.92fr);
    gap: clamp(58px, 5.6vw, 92px);
  }

  .service-map-copy {
    gap: 28px;
    max-width: 49ch;
    padding-top: 10px;
  }

  .service-map-subtitle {
    max-width: 41ch;
    font-size: 1.12rem;
    line-height: 1.95;
  }

  .legend-list {
    gap: 24px;
  }

  .legend-item {
    gap: 18px;
  }

  .legend-swatch {
    width: 18px;
    height: 18px;
    margin-top: 8px;
  }

  .legend-copy p {
    font-size: 1.08rem;
    line-height: 1.96;
  }

  .legend-note {
    max-width: 42ch;
    padding: 18px 20px;
    font-size: 0.98rem;
    line-height: 1.86;
  }

  .service-map-figure {
    max-width: 940px;
    justify-self: end;
  }
}

.booking-flow-section {
  display: grid;
  gap: 18px;
}

.booking-steps,
.zone-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.step-card,
.zone-card {
  display: grid;
  gap: 12px;
}

.step-card .eyebrow {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.35;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #2b70c2);
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.step-card h3 {
  font-size: clamp(1.72rem, 1.4vw, 2rem);
  line-height: 1.28;
}

.zone-core-card {
  background: linear-gradient(135deg, rgba(155, 56, 198, 0.1), rgba(255, 255, 255, 0.96));
}

.zone-main-card {
  background: linear-gradient(135deg, rgba(111, 165, 60, 0.14), rgba(255, 255, 255, 0.96));
}

.zone-outer-card {
  background: linear-gradient(135deg, rgba(243, 244, 246, 0.94), rgba(255, 255, 255, 0.98));
}

.footprint-details {
  margin-top: 18px;
  padding: 20px 24px;
  border-radius: 24px;
}

.footprint-details summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--primary);
}

.footprint-details p {
  margin-top: 14px;
}

@media (max-width: 1080px) {
  .service-map-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .booking-steps,
  .zone-grid,
  .entry-grid,
  .compact-grid.case-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-nav a[aria-current="page"]::after {
    display: none;
  }

  .booking-steps,
  .zone-grid,
  .entry-grid,
  .compact-grid.case-grid {
    grid-template-columns: 1fr;
  }

  .entry-card {
    padding: 22px 20px;
  }

  .step-card,
  .zone-card,
  .footprint-details {
    padding: 22px 20px;
  }

  .legend-item {
    gap: 12px;
  }

  .page-cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .page-cta-actions .cta {
    width: 100%;
    min-width: 0;
  }
}
