:root {
  --ink: #111827;
  --muted: #5c6878;
  --line: #dde5ee;
  --paper: #f5f7f4;
  --white: #ffffff;
  --gold: #f5b51b;
  --green: #1f8b62;
  --green-dark: #123d34;
  --blue: #243b64;
  --shadow: 0 24px 70px rgba(17, 24, 39, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", Arial, sans-serif;
  line-height: 1.65;
}

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

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

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(44px, 6.4vw, 78px);
  line-height: 1.06;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.16;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.3;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 280px) 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(220, 227, 234, 0.84);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 250px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  color: #273241;
  font-size: 15px;
  font-weight: 800;
}

.main-nav a,
.site-footer a {
  transition: color 0.2s ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-cta,
.btn,
.contact-form button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-weight: 900;
}

.header-cta {
  padding: 0 20px;
  color: var(--green-dark);
  border: 1px solid rgba(31, 139, 98, 0.3);
  background: #edf7f2;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(520px, calc(100vh - 240px));
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: clamp(56px, 8vw, 104px) clamp(20px, 5vw, 72px) clamp(54px, 7vw, 86px);
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 18, 28, 0.9) 0%, rgba(8, 18, 28, 0.72) 46%, rgba(8, 18, 28, 0.28) 100%),
    url("assets/original/songshan-parking.jpeg") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  right: -18vw;
  bottom: -28vw;
  z-index: -1;
  width: 58vw;
  height: 58vw;
  min-width: 500px;
  min-height: 500px;
  border: 1px solid rgba(245, 181, 27, 0.28);
  border-radius: 50%;
  content: "";
}

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

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.dark-feature .eyebrow,
.contact .eyebrow {
  color: var(--gold);
}

.hero-copy {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.btn {
  padding: 0 24px;
}

.btn.primary,
.contact-form button {
  color: #142019;
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.project-card span,
.service-number {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.section,
.feature,
.metrics,
.contact,
.site-footer {
  padding-right: clamp(20px, 5vw, 72px);
  padding-left: clamp(20px, 5vw, 72px);
}

.section {
  padding-top: clamp(76px, 10vw, 128px);
  padding-bottom: clamp(76px, 10vw, 128px);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(32px, 8vw, 96px);
  align-items: start;
  background: var(--white);
}

.intro-copy {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 19px;
}

.intro-copy p {
  margin-bottom: 0;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  padding-top: clamp(64px, 9vw, 120px);
  padding-bottom: clamp(64px, 9vw, 120px);
}

.dark-feature {
  color: var(--white);
  background: var(--green-dark);
}

.feature-image img {
  width: 100%;
  height: min(760px, 72vw);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.feature-image.tall img {
  object-position: center;
}

.feature-copy {
  max-width: 660px;
}

.feature-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--green-dark);
}

.metrics div {
  min-height: 180px;
  padding: 36px;
  background: #173f36;
  color: var(--white);
}

.metrics strong {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1;
}

.metrics span {
  color: rgba(255, 255, 255, 0.82);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 38px;
}

.section-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

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

.service-grid article,
.advantage-grid article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-grid article {
  min-height: 330px;
  padding: 32px;
}

.service-grid p,
.advantage-grid p,
.project-card p,
.guarantee-copy p,
.contact-copy p {
  color: var(--muted);
}

.guarantee {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(34px, 7vw, 84px);
  align-items: center;
  background: #eef4f0;
}

.guarantee-copy {
  max-width: 680px;
}

.guarantee-media {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.guarantee-media img {
  width: 100%;
  border-radius: 6px;
}

.projects {
  background: var(--white);
}

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

.other-projects {
  margin-top: clamp(56px, 8vw, 92px);
}

.compact-heading {
  margin-bottom: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
}

.project-card.wide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-column: 1 / -1;
}

.project-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #e8edf1;
}

.report-card img {
  object-fit: contain;
  background: #f8fafc;
}

.project-card.wide img {
  height: 100%;
  min-height: 390px;
}

.project-card div {
  padding: 28px;
}

.lighting-advantages {
  background: var(--paper);
}

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

.advantage-grid article {
  padding: 28px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(34px, 7vw, 92px);
  align-items: start;
  padding-top: clamp(76px, 10vw, 128px);
  padding-bottom: clamp(76px, 10vw, 128px);
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(18, 61, 52, 0.92)),
    url("assets/original/service-equipment.jpeg") center / cover no-repeat;
}

.contact-copy {
  max-width: 720px;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-list p {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-list strong {
  color: var(--gold);
}

.contact-list span {
  color: var(--white);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: #243041;
  font-size: 14px;
  font-weight: 900;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8e2;
  border-radius: 6px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfd;
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  cursor: pointer;
  font: inherit;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 28px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer div {
  display: grid;
  gap: 2px;
}

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

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

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

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

  .intro,
  .feature,
  .guarantee,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .brand img {
    width: min(240px, 80vw);
  }

  .header-cta {
    display: none;
  }

  .main-nav {
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 52px;
    padding-bottom: 34px;
  }

  .hero::after {
    display: none;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(11, 22, 32, 0.88) 0%, rgba(11, 22, 32, 0.78) 100%),
      url("assets/original/songshan-parking.jpeg") center / cover no-repeat;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .metrics,
  .service-grid,
  .advantage-grid,
  .project-grid,
  .project-card.wide {
    grid-template-columns: 1fr;
  }

  .metrics div {
    min-height: auto;
    padding: 28px;
  }

  .service-grid article {
    min-height: auto;
  }

  .feature-image img,
  .project-card img,
  .project-card.wide img {
    height: 360px;
    min-height: 0;
  }
}

@media (max-width: 430px) {
  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 30px;
  }

  .service-grid article,
  .advantage-grid article,
  .project-card div,
  .contact-form {
    padding: 22px;
  }
}
