:root {
  --bg: #f4f6f3;
  --surface: #ffffff;
  --surface-soft: #eef3ef;
  --text: #16211d;
  --muted: #5c6964;
  --line: #d8e0db;
  --emerald: #0c6b59;
  --emerald-dark: #063d35;
  --ink: #101816;
  --gold: #b78b45;
  --red: #b5423f;
  --shadow: 0 24px 70px rgba(10, 32, 27, 0.12);
  --radius: 8px;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section,
.service-card {
  scroll-margin-top: 100px;
}

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #fbfcfb 0, var(--bg) 760px),
    var(--bg);
  letter-spacing: 0;
  overflow-x: hidden;
}

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

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

.mobile-only {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
  padding: 12px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.91);
  border-bottom: 1px solid rgba(216, 224, 219, 0.85);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 62px;
  height: auto;
  flex: 0 0 auto;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong {
  font-size: clamp(22px, 1.85vw, 32px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.brand-text small {
  color: #46524e;
  font-size: clamp(10px, 0.82vw, 14px);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 42px);
  color: #2f3c38;
  font-size: 15px;
  font-weight: 700;
}

.nav-links a {
  padding: 12px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--emerald-dark);
  border-color: var(--gold);
}

.header-call,
.primary-action,
.secondary-action,
.service-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: var(--radius);
  font-weight: 800;
}

.header-call {
  gap: 8px;
  padding: 11px 15px;
  color: var(--emerald-dark);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(16, 24, 22, 0.05);
}

.header-call svg,
.primary-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(38px, 6vw, 92px);
  align-items: center;
  min-height: min(760px, calc(100svh - 82px));
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px) clamp(46px, 5vw, 70px);
  overflow: hidden;
  min-width: 0;
  border-bottom: 1px solid rgba(216, 224, 219, 0.7);
}

.hero-copy {
  min-width: 0;
  max-width: 630px;
}

.trust-line {
  position: relative;
  margin: 0 0 24px;
  padding-left: 42px;
  color: var(--emerald-dark);
  font-size: 16px;
  font-weight: 800;
}

.trust-line::before {
  position: absolute;
  top: 50%;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--gold);
  content: "";
}

.hero h1 {
  margin: 0;
  max-width: 680px;
  font-size: clamp(40px, 4.8vw, 66px);
  line-height: 1.1;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.hero-lede {
  margin: 26px 0 0;
  max-width: 600px;
  color: #43504c;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
}

.compliance-note {
  max-width: 610px;
  margin-top: 26px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(183, 139, 69, 0.42);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(10, 32, 27, 0.08);
}

.compliance-note strong {
  display: block;
  color: var(--emerald-dark);
  font-size: 17px;
  font-weight: 900;
}

.compliance-note p {
  margin: 8px 0 0;
  color: #37443f;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-action {
  gap: 10px;
  padding: 14px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  box-shadow: 0 14px 34px rgba(8, 75, 65, 0.24);
}

.secondary-action {
  padding: 14px 18px;
  color: var(--emerald-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.42fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  min-height: 520px;
}

.hero-visual figure {
  overflow: hidden;
  margin: 0;
  background: #dfe5e1;
  border-radius: var(--radius);
  box-shadow: 0 22px 55px rgba(14, 32, 27, 0.11);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-main {
  grid-row: 1 / 3;
}

.photo-main img {
  object-position: center;
}

.photo-side-top img {
  object-position: 50% 58%;
}

.photo-side-bottom img {
  object-position: 50% 38%;
}

.service-note {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 315px;
  padding: 18px 20px;
  color: #fff;
  background: rgba(6, 43, 37, 0.91);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(10px);
}

.service-note strong,
.service-note span {
  display: block;
}

.service-note strong {
  margin-bottom: 6px;
  color: #f2d39c;
  font-size: 16px;
}

.service-note span {
  font-size: 14px;
  line-height: 1.7;
}

.service-band,
.consulting-section,
.seo-section,
.contact-section {
  padding: clamp(76px, 8vw, 112px) clamp(20px, 5vw, 72px);
}

.service-band {
  background:
    linear-gradient(180deg, #fff 0, #fff 52%, #f2f5f2 52%, #f2f5f2 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(240px, 0.55fr);
  gap: 32px;
  align-items: end;
  max-width: 1220px;
  margin: 0 auto 34px;
}

.section-heading h2,
.consulting-section h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.18;
}

.section-heading p,
.consulting-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 1220px;
  margin: 0 auto;
  background: var(--ink);
  border: 1px solid rgba(8, 61, 53, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(12, 31, 27, 0.13);
}

.mobile-service-picker {
  display: none;
}

.service-card {
  position: relative;
  display: grid;
  grid-template-rows: 250px 1fr;
  min-height: 498px;
  background: #fff;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card:last-child {
  border-right: 0;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.96);
}

.service-card > div {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #fff),
    var(--surface);
}

.service-card h3 {
  position: relative;
  margin: 0;
  padding-top: 18px;
  font-size: clamp(24px, 1.85vw, 30px);
  line-height: 1.18;
}

.service-card h3::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 3px;
  background: var(--gold);
  content: "";
}

.service-card p {
  margin: 16px 0 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.service-toggle {
  width: 100%;
  margin-top: auto;
  border: 1px solid #b9c7c0;
  color: var(--emerald-dark);
  background: #f9fbfa;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.service-card.is-active .service-toggle,
.service-toggle:hover,
.service-toggle:focus-visible {
  color: #fff;
  border-color: var(--emerald-dark);
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
}

.service-toggle:hover,
.service-toggle:focus-visible {
  transform: translateY(-1px);
}

.qualification-panels {
  max-width: 1220px;
  margin: 18px auto 0;
}

.qualification-panel {
  padding: clamp(30px, 4vw, 48px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 61, 53, 0.98), rgba(12, 82, 69, 0.94)),
    var(--emerald-dark);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 56px rgba(6, 38, 33, 0.18);
}

.qualification-panel span {
  display: block;
  margin-bottom: 12px;
  color: #f2d39c;
  font-weight: 800;
}

.qualification-panel h3 {
  margin: 0;
  max-width: 980px;
  font-size: clamp(25px, 2.6vw, 36px);
  line-height: 1.2;
}

.qualification-panel p {
  margin: 18px 0 0;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 16px;
  color: #063d35;
  font-weight: 900;
  background: #f2d39c;
  border-radius: var(--radius);
}

.consulting-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(260px, 0.7fr);
  gap: clamp(36px, 7vw, 96px);
  align-items: start;
  background:
    linear-gradient(90deg, rgba(15, 111, 92, 0.08), transparent 48%),
    var(--bg);
}

.consulting-section p {
  margin-top: 22px;
  max-width: 720px;
}

.service-points {
  display: grid;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  border: 1px solid rgba(216, 224, 219, 0.95);
  border-radius: var(--radius);
  background: var(--line);
}

.service-points li {
  position: relative;
  padding: 23px 24px 23px 48px;
  color: #26332f;
  font-size: 18px;
  font-weight: 800;
  background: #fff;
}

.service-points li::before {
  position: absolute;
  top: 28px;
  left: 24px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.seo-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: start;
  background: #fff;
  border-top: 1px solid rgba(216, 224, 219, 0.85);
}

.seo-section span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-weight: 900;
}

.seo-section h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.18;
}

.seo-section p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.seo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.seo-links a {
  min-height: 42px;
  padding: 10px 14px;
  color: var(--emerald-dark);
  font-weight: 900;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.seo-links a:hover,
.seo-links a:focus-visible {
  color: #fff;
  background: var(--emerald-dark);
  border-color: var(--emerald-dark);
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
  padding: clamp(58px, 7vw, 100px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(180deg, #fbfcfb 0, var(--bg) 100%),
    var(--bg);
  border-bottom: 1px solid rgba(216, 224, 219, 0.85);
}

.detail-hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.12;
}

.detail-hero > div,
.detail-content article,
.detail-content aside {
  min-width: 0;
}

.detail-hero p:not(.trust-line) {
  margin: 24px 0 0;
  max-width: 760px;
  color: #43504c;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.95;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(26px, 5vw, 64px);
  padding: clamp(64px, 7vw, 96px) clamp(20px, 5vw, 72px);
  background: #fff;
}

.detail-content article,
.detail-content aside {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.detail-content aside {
  background: var(--surface-soft);
}

.detail-content h2 {
  margin: 0 0 20px;
  color: var(--emerald-dark);
  font-size: clamp(24px, 2.4vw, 34px);
}

.detail-content ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-content li {
  position: relative;
  padding-left: 24px;
  color: #26332f;
  font-size: 17px;
  line-height: 1.8;
}

.detail-content li::before {
  position: absolute;
  top: 0.82em;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  content: "";
}

.detail-content p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(181, 66, 63, 0.1), transparent 34%),
    #0e1714;
  color: #fff;
}

.contact-section h2 {
  max-width: 780px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
}

.contact-grid a {
  min-height: 136px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-grid a:hover,
.contact-grid a:focus-visible {
  background: rgba(15, 111, 92, 0.45);
}

.contact-grid span,
.contact-grid strong {
  display: block;
}

.contact-grid span {
  margin-bottom: 14px;
  color: #f2d39c;
  font-size: 14px;
  font-weight: 800;
}

.contact-grid strong {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
}

.floating-line {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  color: #fff;
  background: #06c755;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.floating-line span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #06c755;
  font-size: 12px;
  font-weight: 900;
  background: #fff;
  border-radius: 6px;
}

.floating-line strong {
  font-size: 15px;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .section-heading,
  .consulting-section,
  .seo-section,
  .detail-hero,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding-top: 46px;
  }

  .hero-visual {
    grid-template-columns: 1fr 0.48fr;
    min-height: 460px;
  }

  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    grid-template-columns: 0.85fr 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  section,
  .service-card {
    scroll-margin-top: 82px;
  }

  .site-header {
    min-height: 68px;
    padding: 12px 16px;
  }

  .header-call {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 48px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .trust-line {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.16;
    word-break: break-all;
  }

  .hero {
    display: block;
  }

  .hero-copy,
  .hero-lede,
  .section-heading,
  .consulting-section,
  .seo-section,
  .detail-hero,
  .detail-content,
  .contact-section,
  .service-band {
    max-width: 100%;
    min-width: 0;
  }

  .hero-copy {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .hero-visual {
    margin-top: 34px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .primary-action,
  .secondary-action {
    width: 100%;
  }

  .hero-lede {
    font-size: 16px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }

  .compliance-note {
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    padding: 16px;
  }

  .compliance-note p {
    font-size: 15px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-visual {
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
    width: 100%;
  }

  .photo-main {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 230px;
  }

  .service-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
    padding: 14px;
  }

  .service-card {
    grid-template-columns: 1fr;
  }

  .mobile-service-picker {
    display: grid;
    gap: 12px;
    margin: 0 0 20px;
    padding: 18px;
    background: #fff;
    border: 2px solid rgba(6, 61, 53, 0.18);
    border-radius: var(--radius);
    box-shadow: 0 18px 44px rgba(12, 31, 27, 0.1);
  }

  .mobile-service-picker span {
    color: var(--emerald-dark);
    font-size: 16px;
    font-weight: 900;
  }

  .mobile-service-picker select {
    width: 100%;
    min-height: 58px;
    padding: 0 58px 0 16px;
    color: #fff;
    font: inherit;
    font-size: 19px;
    font-weight: 800;
    background:
      linear-gradient(45deg, transparent 50%, #fff 50%) right 21px center / 9px 9px no-repeat,
      linear-gradient(135deg, var(--emerald-dark), var(--emerald));
    border: 2px solid var(--emerald-dark);
    border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(6, 61, 53, 0.2);
    appearance: none;
  }

  .service-grid {
    display: none;
  }

  .service-card img {
    height: 220px;
  }

  .service-card > div {
    padding: 22px;
  }

  .floating-line {
    right: 14px;
    bottom: 14px;
    padding: 10px;
  }

  .floating-line strong {
    display: none;
  }

  .detail-hero h1 {
    max-width: calc(100vw - 40px);
    font-size: 28px;
    line-height: 1.22;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .detail-hero p:not(.trust-line),
  .detail-content li,
  .detail-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-all;
  }

  .detail-hero img {
    aspect-ratio: 16 / 11;
  }

  .detail-content article,
  .detail-content aside {
    padding: 22px;
  }

  .seo-links {
    display: grid;
  }

  .mobile-only {
    display: block;
  }
}
