:root {
  --ink: #102846;
  --ink-2: #173a60;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --muted: #607084;
  --gold: #e7b84b;
  --blue: #0867d8;
  --teal: #14a787;
  --line: #dfe7ef;
  --shadow: 0 24px 70px rgba(16, 40, 70, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 4vw;
  background: var(--ink);
  color: #d9e7f5;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
}

.topbar span:last-child {
  color: var(--gold);
}

.nav {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand img {
  width: 172px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #263f5d;
  font-size: 14px;
  font-weight: 800;
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 8px;
  font-weight: 900;
  border: 0;
  cursor: pointer;
}

.nav-cta {
  padding: 0 18px;
  background: var(--ink);
  color: #fff;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
  align-items: center;
  padding: 52px 0 92px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 5.6vw, 78px);
  line-height: 1.05;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.14;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.lead,
.section-head p,
.results p,
.contact p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 38px;
}

.btn {
  padding: 0 24px;
  font-size: 15px;
}

.btn.primary {
  background: linear-gradient(135deg, var(--blue), #004cb7);
  color: #fff;
  box-shadow: 0 14px 26px rgba(8, 103, 216, 0.25);
}

.btn.ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0;
}

.hero-stats div {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  color: var(--ink);
  font-size: 26px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.hero-media {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #dce9f5;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.logo-strip {
  display: flex;
  justify-content: center;
  gap: 34px;
  flex-wrap: wrap;
  padding: 20px 24px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 1px;
}

.logo-strip span {
  color: #e8eef6;
}

.section {
  padding: 100px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-head.narrow {
  max-width: 680px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 275px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 40, 70, 0.07);
}

.service-card span,
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border-radius: 50%;
  background: rgba(231, 184, 75, 0.18);
  color: #9a6b00;
  font-size: 13px;
  font-weight: 900;
}

.service-card p,
.timeline p,
.faq p,
.image-grid span,
.metric-grid span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.image-band {
  padding: 72px 0;
  background: #eaf1f8;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.image-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.image-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.image-grid figcaption {
  display: grid;
  gap: 6px;
  padding: 22px 24px 24px;
}

.image-grid b {
  font-size: 22px;
}

.process {
  padding-bottom: 116px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.timeline li {
  min-height: 270px;
  padding: 28px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.results {
  padding: 100px 0;
  background: var(--ink);
  color: #fff;
}

.results .eyebrow {
  color: var(--gold);
}

.results-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.results p {
  color: #c7d5e3;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.metric-grid article {
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.metric-grid b {
  display: block;
  margin-bottom: 12px;
  color: #fff;
  font-size: 24px;
}

.metric-grid span {
  color: #c7d5e3;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

details p {
  margin: 16px 0 0;
}

.contact {
  padding: 96px 0;
  background: linear-gradient(135deg, #f8fbff, #e5eef8);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: start;
}

.telegram-card {
  display: inline-grid;
  gap: 7px;
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
}

.telegram-card span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.telegram-card strong {
  font-size: 20px;
}

form {
  padding: 32px;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

label {
  display: block;
  margin-bottom: 20px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

input,
textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid #ccd8e4;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 15px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--blue);
}

form .btn {
  width: 100%;
}

form small {
  display: block;
  margin-top: 14px;
  color: var(--muted);
  text-align: center;
}

.form-success {
  padding: 36px 16px;
  text-align: center;
}

.form-success b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(20, 167, 135, 0.14);
  color: var(--teal);
  font-size: 24px;
}

.footer {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.footer .brand img {
  width: 145px;
}

.mobile-float {
  display: none;
}

@media (max-width: 980px) {
  .hero,
  .results-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, 1180px);
  }

  .topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 18px;
  }

  .nav {
    min-height: 76px;
  }

  .brand img {
    width: 138px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding: 38px 0 64px;
  }

  h1 {
    font-size: 43px;
  }

  h2 {
    font-size: 34px;
  }

  .lead,
  .section-head p,
  .results p,
  .contact p {
    font-size: 16px;
  }

  .hero-stats,
  .service-grid,
  .image-grid,
  .timeline,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .section,
  .results,
  .contact {
    padding: 72px 0;
  }

  .logo-strip {
    justify-content: flex-start;
    gap: 18px;
    font-size: 13px;
  }

  .service-card,
  .timeline li {
    min-height: auto;
  }

  .service-card span,
  .timeline span {
    margin-bottom: 24px;
  }

  form {
    padding: 24px;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 0 88px;
  }

  .mobile-float {
    position: fixed;
    right: 18px;
    bottom: 16px;
    left: 18px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    border-radius: 8px;
    background: var(--gold);
    color: var(--ink);
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(16, 40, 70, 0.25);
  }
}

@media (max-width: 640px) { .nav-links { gap: 12px; } .nav-links .language-switch { display: inline-flex; font-size: 12px; } }
