:root {
  --blue-900: #0f2742;
  --blue-800: #163a5f;
  --gray-900: #1f2a37;
  --gray-700: #4b5563;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --max-width: 1120px;
  --radius: 14px;
  --shadow: 0 12px 28px rgba(15, 39, 66, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  color: var(--gray-900);
  line-height: 1.6;
  background: linear-gradient(180deg, #f9fbfd 0%, #ffffff 55%);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(var(--max-width), 92%);
  margin: 0 auto;
}

.section {
  padding: 68px 0;
}

h1,
h2,
h3 {
  color: var(--blue-900);
  line-height: 1.3;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
}

h2 {
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  margin-bottom: 24px;
}

h3 {
  font-size: 1.1rem;
}

p {
  margin: 0 0 12px;
  color: var(--gray-700);
}

.eyebrow {
  color: var(--blue-800);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 700;
}

.sub {
  font-size: 1.05rem;
  max-width: 52ch;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--gray-200);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-subtitle {
  margin-left: 10px;
  color: var(--blue-900);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  border: 1px solid #dbe4ef;
  border-radius: 10px;
  background: #fff;
  color: var(--blue-900);
  font-weight: 700;
  padding: 8px 12px;
}

.btn {
  display: inline-block;
  background: var(--blue-900);
  color: var(--white) !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--blue-800);
  transform: translateY(-1px);
}

.btn-small {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.btn-secondary {
  background: transparent;
  color: var(--blue-900) !important;
  border: 1px solid #bfd0e3;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #f5f8fc;
  transform: translateY(-1px);
}

.hero-grid,
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}

.hero-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #dbe4ef;
  box-shadow: 0 20px 36px rgba(15, 39, 66, 0.1);
  position: relative;
}

.hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 39, 66, 0.16) 0%, rgba(15, 39, 66, 0.28) 100%);
  pointer-events: none;
}

.hero-image {
  border-radius: var(--radius);
  min-height: 420px;
  object-fit: cover;
  width: 100%;
}

.hero-image-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  margin: 0;
  z-index: 2;
  color: var(--white);
  background: rgba(15, 39, 66, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  font-weight: 600;
}

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

.hero-trust {
  margin-top: 16px;
  margin-bottom: 0;
  color: #2d4561;
  font-weight: 600;
}

.alt-bg {
  background: var(--gray-100);
}

.cards {
  display: grid;
  gap: 18px;
}

.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
}

.section-title-center {
  text-align: center;
  position: relative;
  margin-bottom: 28px;
}

.section-title-center::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--blue-900);
  margin: 10px auto 0;
}

.service-card {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(15, 39, 66, 0.12);
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.service-card h3,
.service-card p {
  padding-left: 16px;
  padding-right: 16px;
}

.service-card h3 {
  margin-top: 14px;
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem);
  line-height: 1.25;
}

.service-card p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.service-card a,
.case-card a {
  color: var(--blue-800);
  text-decoration: none;
  font-weight: 700;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 18px;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin-bottom: 0;
}

.section-link {
  color: var(--blue-800);
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

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

.case-card {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.08);
  border-radius: var(--radius);
}

.case-image {
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.case-body {
  padding: 14px 16px 18px;
}

.case-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.case-role {
  margin-bottom: 8px;
  color: var(--blue-800);
  font-weight: 700;
}

.case-card p {
  margin-bottom: 8px;
  font-size: 1rem;
}

.case-result-title {
  margin-top: 10px;
  margin-bottom: 6px;
  font-weight: 700;
  color: var(--blue-900);
}

.case-results {
  margin: 0;
  padding-left: 18px;
}

.case-results li {
  margin-bottom: 6px;
  color: var(--gray-700);
}

.case-summary {
  margin-top: 18px;
  border: 1px solid #d8e0ea;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.case-summary h3 {
  margin-bottom: 10px;
}

.case-summary p {
  margin: 0;
}

.testimonials-section {
  background: #e9eef5;
}

.testimonials-eyebrow {
  color: #e68a57;
  text-transform: none;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.testimonials-title {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 12px;
}

.testimonials-sub {
  margin-bottom: 28px;
  max-width: 60ch;
}

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

.testimonial-card {
  border: 1px solid #dde3ea;
  box-shadow: 0 8px 20px rgba(15, 39, 66, 0.06);
  padding: 20px 26px 22px;
}

.quote-mark {
  color: #f0cfc2;
  font-size: 3.2rem;
  line-height: 0.7;
  margin-bottom: 6px;
  font-weight: 700;
}

.testimonial-card h3 {
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.testimonial-industry {
  margin: 0;
  color: var(--blue-800);
}

.process-eyebrow {
  text-transform: none;
  letter-spacing: 0.04em;
  color: #e67d52;
  text-align: center;
  margin-bottom: 6px;
}

.process-title,
.process-sub {
  text-align: center;
}

.process-sub {
  margin: 0 auto 28px;
}

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

.process-card {
  position: relative;
  padding: 20px 16px 16px;
  display: flex;
  flex-direction: column;
}

.process-step-no {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--blue-900);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin: -40px auto 10px;
}

.process-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: #eaf0f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 10px;
}

.process-card h3 {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.process-card p {
  text-align: center;
}

.process-time {
  margin: auto 0 0;
  padding: 8px 10px;
  border-radius: 999px;
  background: #edf3fa;
  color: var(--blue-900);
  font-weight: 600;
  font-size: 0.92rem;
}

.process-value-bar {
  margin-top: 20px;
  background: #eef3f9;
  border: 1px solid #dde6f0;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.process-value-bar p {
  margin: 0;
  padding: 16px 18px;
  border-right: 1px solid #d9e2ed;
}

.process-value-bar p:last-child {
  border-right: 0;
}

.process-value-bar strong {
  display: block;
  color: var(--blue-900);
  margin-bottom: 4px;
}

.process-cta-wrap {
  text-align: center;
  margin-top: 20px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline-item {
  border-left: 6px solid var(--blue-900);
}

.clean-list {
  margin: 0;
  padding-left: 18px;
}

.clean-list li {
  margin-bottom: 8px;
  color: var(--gray-700);
}

.faq {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cta-section {
  background: linear-gradient(120deg, var(--blue-900), var(--blue-800));
}

.cta-box {
  text-align: center;
}

.cta-box h2 {
  color: var(--white);
  margin-bottom: 18px;
}

.contact-line {
  color: #dbe6f2;
  margin-bottom: 16px;
}

.contact-line a {
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.cta-box .btn {
  background: var(--white);
  color: var(--blue-900) !important;
}

.site-footer {
  border-top: 1px solid var(--gray-200);
  background: var(--white);
}

.footer-wrap {
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-wrap a {
  color: var(--blue-800);
  text-decoration: none;
  font-weight: 700;
}

.legal-content {
  max-width: 880px;
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content h2 {
  font-size: 1.18rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-content p {
  margin-bottom: 12px;
}

@media (max-width: 960px) {
  .hero-grid,
  .two-col,
  .cols-3,
  .faq,
  .cols-2 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    gap: 10px;
  }

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

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

  .hero-image {
    min-height: 340px;
  }

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

  .process-value-bar {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 48px 0;
  }

  .nav-wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand-logo {
    height: 34px;
  }

  .brand-subtitle {
    font-size: 0.82rem;
  }

  .nav-wrap nav {
    width: auto;
    position: relative;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
  }

  .nav-links {
    display: none;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 220px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    background: #fff;
    border: 1px solid #dbe4ef;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(15, 39, 66, 0.12);
    padding: 10px;
    z-index: 20;
  }

  .nav-links.is-open {
    display: grid;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 10px 12px;
    border: 1px solid #dbe4ef;
    border-radius: 10px;
    background: #fff;
  }

  .nav-links .btn-small {
    border-radius: 10px;
    padding: 10px 12px;
  }

  .nav-links a.btn {
    background: var(--blue-900);
    color: var(--white) !important;
    border: 0;
  }

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

  .hero-actions .btn {
    text-align: center;
  }

  .service-card h3,
  .service-card p {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-image-badge {
    right: 10px;
    bottom: 10px;
    font-size: 0.82rem;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .case-body {
    padding: 12px 14px 16px;
  }

  .testimonial-grid {
    display: flex;
    gap: 0;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
  }

  .testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 16px 16px 18px;
  }

  .process-cards,
  .process-value-bar {
    grid-template-columns: 1fr;
  }

  .process-card {
    padding: 18px 14px 14px;
  }

  .process-value-bar p {
    border-right: 0;
    border-bottom: 1px solid #d9e2ed;
  }

  .process-value-bar p:last-child {
    border-bottom: 0;
  }
}
