:root {
  --green: #55b629;
  --teal: #13aeb8;
  --gold: #e9a71c;
  --ink: #132226;
  --muted: #617176;
  --line: #dce6e3;
  --paper: #ffffff;
  --soft: #f4f8f6;
  --dark: #0f272b;
  --shadow: 0 18px 44px rgba(12, 38, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(19, 34, 38, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--dark);
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}

.brand span {
  font-size: 16px;
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  position: absolute;
  top: 68px;
  right: 16px;
  left: 16px;
  display: none;
  flex-direction: column;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: flex;
}

.site-nav a {
  padding: 12px 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
}

.site-nav .nav-call {
  color: #122024;
  background: var(--gold);
  border-radius: 8px;
}

.hero {
  position: relative;
  min-height: 590px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(105deg, rgba(8, 28, 31, 0.96) 0%, rgba(8, 28, 31, 0.9) 48%, rgba(8, 28, 31, 0.72) 100%),
    radial-gradient(circle at 76% 18%, rgba(19, 174, 184, 0.28), transparent 28%),
    linear-gradient(135deg, rgba(85, 182, 41, 0.18), rgba(233, 167, 28, 0.12));
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 520px;
  height: 520px;
  border: 38px solid rgba(233, 167, 28, 0.16);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(700px, calc(100% - 32px));
  margin: 0 auto;
  padding: 80px 0 64px;
}

.hero-mark {
  width: 86px;
  height: 86px;
  padding: 8px;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.eyebrow,
.section-kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 8vw, 72px);
  line-height: 1.08;
  font-weight: 900;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 5.5vw, 42px);
  line-height: 1.2;
}

h3 {
  font-size: 20px;
  line-height: 1.35;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

.hero-panel {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 44px;
  width: calc(100% - 32px);
  margin: 0;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.hero-panel-mark {
  position: absolute;
  right: -38px;
  top: -38px;
  width: 170px;
  height: 170px;
  opacity: 0.08;
}

.hero-panel-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-panel-kicker {
  position: relative;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.hero-panel h2 {
  position: relative;
  margin-bottom: 22px;
  font-size: 30px;
}

.brand-panel-lines {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
}

.brand-panel-lines::before,
.brand-panel-lines::after {
  content: "";
  position: absolute;
  border-radius: 999px;
}

.brand-panel-lines::before {
  right: 20px;
  top: 26px;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(233, 167, 28, 0.7));
}

.brand-panel-lines::after {
  left: 24px;
  bottom: 30px;
  width: 34%;
  height: 2px;
  background: linear-gradient(90deg, rgba(19, 174, 184, 0.72), transparent);
}

.brand-panel-tags {
  position: relative;
  display: grid;
  gap: 12px;
}

.brand-panel-tags span {
  display: block;
  padding: 14px 16px;
  color: #fff;
  background: rgba(8, 28, 31, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 900;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary {
  background: var(--gold);
  color: #162024;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.section {
  padding: 72px 0;
}

.section-muted {
  background: var(--soft);
}

.license-section {
  background: #fff;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.split {
  display: grid;
  gap: 28px;
}

.about-section p {
  color: var(--muted);
}

.about-panel {
  display: grid;
  gap: 12px;
}

.stat {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(12, 38, 43, 0.07);
}

.stat strong {
  display: block;
  color: var(--dark);
  font-size: 24px;
  line-height: 1.2;
}

.stat span {
  color: var(--muted);
  font-size: 14px;
}

.service-grid {
  display: grid;
  gap: 14px;
}

.service-card {
  min-height: 210px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(12, 38, 43, 0.07);
}

.service-card span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 10px;
  color: #0c5f65;
  background: rgba(19, 174, 184, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.service-card-simple {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 22px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  border-top: 4px solid var(--teal);
}

.permit-card {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.permit-grid {
  display: grid;
  gap: 10px;
  margin: 0;
}

.permit-grid div {
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid rgba(19, 34, 38, 0.08);
  border-radius: 8px;
}

.permit-grid dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.permit-grid dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.5;
}

.permit-note {
  margin: 18px 0 0;
  padding: 14px 16px;
  color: #3b4c51;
  background: rgba(233, 167, 28, 0.14);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}

.service-search {
  display: grid;
  gap: 8px;
  max-width: 620px;
  margin-bottom: 32px;
}

.service-search label {
  color: var(--ink);
  font-weight: 900;
}

.service-search input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  box-shadow: 0 8px 22px rgba(12, 38, 43, 0.06);
}

.service-search input:focus {
  outline: 3px solid rgba(19, 174, 184, 0.22);
  border-color: var(--teal);
}

.service-group {
  margin-top: 28px;
}

.service-group + .service-group {
  margin-top: 42px;
}

.service-group-heading {
  max-width: 760px;
  margin-bottom: 18px;
}

.service-group-heading h3 {
  margin-bottom: 8px;
  font-size: clamp(24px, 4vw, 32px);
}

.service-group-heading p:not(.section-kicker) {
  color: var(--muted);
}

.service-card-toggle {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.service-card-toggle.is-highlight {
  border-color: rgba(233, 167, 28, 0.78);
  box-shadow: 0 0 0 3px rgba(233, 167, 28, 0.18), 0 10px 28px rgba(12, 38, 43, 0.08);
}

.service-card-header {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.service-card-header h4 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.35;
}

.service-card-group {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: #0c5f65;
  background: rgba(19, 174, 184, 0.12);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.service-card-codes {
  margin-bottom: 10px;
  color: var(--dark);
  font-size: 15px;
  font-weight: 900;
}

.service-card-description {
  margin-bottom: 18px;
  color: var(--muted);
}

.service-toggle {
  align-self: flex-start;
  min-height: 42px;
  margin-top: auto;
  padding: 9px 14px;
  color: #122024;
  background: var(--gold);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.service-code-panel {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.code-list {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.code-list li {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid rgba(19, 34, 38, 0.08);
  border-radius: 8px;
}

.code-list strong {
  color: #0c5f65;
}

.code-list span {
  color: #394b50;
  font-size: 14px;
  line-height: 1.45;
}

.service-note {
  margin-top: 14px;
  padding: 12px 14px;
  color: #3b4c51;
  background: rgba(85, 182, 41, 0.1);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  font-size: 14px;
}

.service-group-r .service-card-group {
  color: #7b5100;
  background: rgba(233, 167, 28, 0.18);
}

.process-section {
  background:
    linear-gradient(180deg, rgba(15, 39, 43, 0.97), rgba(15, 39, 43, 0.97)),
    linear-gradient(135deg, rgba(19, 174, 184, 0.16), rgba(233, 167, 28, 0.1));
  color: #fff;
}

.process-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 20px 20px 20px 70px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.process-list li::before {
  counter-increment: process;
  content: counter(process);
  position: absolute;
  left: 20px;
  top: 20px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #102327;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list span {
  color: rgba(255, 255, 255, 0.78);
}

.fleet-section {
  background: var(--dark);
  color: #fff;
}

.section-heading.light p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.72);
}

.photo-grid {
  display: grid;
  gap: 14px;
}

.photo-card {
  overflow: hidden;
  margin: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
}

.photo-card img,
.photo-placeholder > div {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.photo-card img {
  object-fit: cover;
  background: #fff;
}

.photo-placeholder > div {
  display: grid;
  place-items: center;
  padding: 16px;
  color: rgba(255, 255, 255, 0.75);
  background:
    linear-gradient(135deg, rgba(19, 174, 184, 0.28), rgba(233, 167, 28, 0.2)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.08) 0 10px, transparent 10px 20px);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.photo-card figcaption {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.why-grid {
  display: grid;
  gap: 14px;
}

.why-grid > div {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  border-radius: 8px;
}

.why-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.why-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  background: var(--soft);
}

.contact-layout {
  display: grid;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.contact-list a,
.contact-list p {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(12, 38, 43, 0.06);
}

.contact-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.map-card {
  min-height: 360px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.site-footer {
  padding: 28px 0 86px;
  color: rgba(255, 255, 255, 0.76);
  background: #0b1b1e;
  font-size: 14px;
}

.site-footer p {
  margin: 0 0 4px;
}

.mobile-call {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 30;
  display: grid;
  place-items: center;
  min-height: 52px;
  color: #122024;
  background: var(--gold);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  font-weight: 900;
}

@media (min-width: 720px) {
  .site-header {
    padding: 10px 28px;
  }

  .nav-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 9px 12px;
  }

  .site-nav .nav-call {
    margin-left: 4px;
    padding-inline: 14px;
  }

  .hero-content {
    width: min(560px, calc(100% - 32px));
    margin-left: max(32px, calc((100vw - 1120px) / 2));
    margin-right: 0;
  }

  .hero .hero-content h1 {
    max-width: 560px;
    font-size: clamp(40px, 5.2vw, 64px);
  }

  .hero-lead {
    max-width: 560px;
  }

  .hero-panel {
    top: 72px;
    right: max(32px, calc((100vw - 1120px) / 2));
    bottom: 52px;
    width: min(40vw, 520px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
  }

  .split,
  .contact-layout {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

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

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

  .service-card-wide {
    grid-column: 1 / -1;
  }

  .process-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .process-list li {
    padding: 74px 18px 20px;
  }

  .process-list li::before {
    top: 20px;
  }

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

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

  .mobile-call {
    display: none;
  }

  .site-footer {
    padding-bottom: 28px;
  }
}

@media (min-width: 980px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-card-wide {
    grid-column: span 2;
  }

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

  .code-list-dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 719px) {
  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: min(520px, calc(100% - 32px));
    margin: 0 auto 70px;
  }
}

@media (max-width: 420px) {
  .brand span {
    max-width: 190px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .hero-content {
    padding-bottom: 24px;
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 2;
    width: min(343px, calc(100% - 32px));
    margin: 0 auto 70px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* Final visual unification: keep the site in one dark green brand system. */
body {
  color: rgba(255, 255, 255, 0.9);
  background: #0f272b;
}

.site-header {
  background: rgba(10, 31, 34, 0.94);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.brand,
.site-nav a {
  color: #fff;
}

.site-nav {
  background: rgba(12, 38, 43, 0.98);
  border-color: rgba(255, 255, 255, 0.12);
}

.nav-toggle {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.nav-toggle span:not(.sr-only) {
  background: #fff;
}

.hero {
  min-height: 560px;
}

.hero-content {
  width: min(820px, calc(100% - 32px));
}

.section,
.section-muted,
.license-section,
.contact-section,
.why-section {
  color: rgba(255, 255, 255, 0.9);
  background:
    radial-gradient(circle at 12% 0%, rgba(19, 174, 184, 0.14), transparent 32%),
    linear-gradient(180deg, #102b2f 0%, #0f272b 100%);
}

.section-heading p:not(.section-kicker),
.about-section p,
.why-grid p,
.contact-section p {
  color: rgba(255, 255, 255, 0.72);
}

.stat,
.permit-card,
.service-card,
.why-grid > div,
.contact-list a,
.contact-list p {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.stat strong,
.service-card-simple,
.why-grid strong,
.permit-grid dd {
  color: #fff;
}

.stat span,
.permit-grid dt,
.contact-list span {
  color: rgba(255, 255, 255, 0.64);
}

.permit-grid div {
  background: rgba(8, 28, 31, 0.42);
  border-color: rgba(255, 255, 255, 0.1);
}

.service-card-simple {
  min-height: 132px;
  border-top-color: var(--teal);
}

.map-card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

@media (min-width: 720px) {
  .hero-content {
    width: min(820px, calc(100% - 32px));
  }

  .hero .hero-content h1 {
    max-width: 760px;
    font-size: clamp(44px, 6vw, 72px);
  }

  .hero-lead {
    max-width: 720px;
  }
}
