/* Lighting.com — 青衣持牌水電 — mobile-first */

:root {
  --navy: #0B1F3A;
  --navy-mid: #122a4a;
  --navy-soft: #1a3558;
  --orange: #FF6B00;
  --orange-hover: #e55f00;
  --wa: #25D366;
  --wa-hover: #1ebe57;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --muted: #5a6a7e;
  --card-shadow: 0 8px 28px rgba(11, 31, 58, 0.12);
  --radius: 16px;
  --radius-sm: 12px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "PingFang HK", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei",
    "Helvetica Neue", Arial, sans-serif;
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.55;
  padding-top: 64px; /* clear fixed topbar */
  padding-bottom: calc(80px + var(--safe-bottom));
}

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

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

ul {
  list-style: none;
}

/* —— Sticky top bar —— */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

.brand {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.2;
}

.brand-en {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--white);
}

.brand-zh {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 700;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.97);
}

.btn-wa {
  background: var(--wa);
  color: #fff;
}

.btn-wa:hover {
  background: var(--wa-hover);
}

.btn-call {
  background: var(--orange);
  color: #fff;
}

.btn-call:hover {
  background: var(--orange-hover);
}

.btn-top {
  padding: 10px 14px;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.btn-top svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-huge {
  padding: 16px 28px;
  font-size: 1.15rem;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  min-width: 160px;
}

.btn-huge svg {
  width: 22px;
  height: 22px;
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 31, 58, 0.35) 0%, rgba(11, 31, 58, 0.82) 55%, rgba(11, 31, 58, 0.95) 100%),
    url("images/finished-living.jpg")
      center / cover no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 36px 20px 48px;
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
}

.price-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.45);
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: clamp(1.85rem, 6.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  max-width: 28em;
}

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

/* —— Sections common —— */
.section {
  padding: 56px 20px;
  max-width: 960px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* —— Services —— */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(11, 31, 58, 0.16);
}

.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.service-body {
  padding: 18px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.service-body h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.service-price {
  display: inline-block;
  align-self: flex-start;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 4px 12px;
  border-radius: 8px;
}

.service-body p {
  color: var(--muted);
  font-size: 0.92rem;
}

.service-cta {
  margin-top: auto;
  padding-top: 10px;
}

.service-cta a {
  color: var(--navy);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-cta a:hover {
  color: var(--orange);
}


/* —— Works / 工程實況 —— */
.works {
  background: var(--off-white);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  margin: 0;
}

.work-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
}

.work-card figcaption {
  padding: 10px 12px 14px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  text-align: center;
}

@media (min-width: 600px) {
  .work-card img {
    height: 240px;
  }
}

@media (min-width: 900px) {
  .work-card img {
    height: 200px;
  }
}

/* —— Trust —— */
.trust {
  background: var(--navy);
  color: var(--white);
  padding: 48px 20px;
}

.trust-inner {
  max-width: 960px;
  margin: 0 auto;
}

.trust .section-head h2 {
  color: var(--white);
}

.trust .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.trust-item {
  background: var(--navy-soft);
  border-radius: var(--radius-sm);
  padding: 22px 18px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 107, 0, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-item h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.trust-item p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* —— Areas / Map —— */
.areas {
  background: var(--white);
}

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

.area-map {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 220px;
  box-shadow: var(--card-shadow);
}

.area-map img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.area-map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.75), rgba(11, 31, 58, 0.35));
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.area-map-overlay span {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.area-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.area-pill {
  background: var(--off-white);
  border: 2px solid rgba(11, 31, 58, 0.08);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.area-pill.priority {
  border-color: var(--orange);
  background: rgba(255, 107, 0, 0.08);
}

.area-pill .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

.area-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin-top: 4px;
}

/* —— Bottom CTA band —— */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #1e3a5f 100%);
  color: var(--white);
  padding: 56px 20px;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.45rem, 5vw, 2rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.cta-band .hero-ctas {
  justify-content: center;
}

.cta-phone {
  margin-top: 20px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cta-phone a {
  color: var(--orange);
}

.cta-phone a:hover {
  text-decoration: underline;
}

/* —— Footer —— */
.site-footer {
  background: #071525;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  padding: 28px 20px 36px;
  font-size: 0.85rem;
}

.site-footer strong {
  color: #fff;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

/* —— Fixed mobile bottom bar —— */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 110;
  display: flex;
  gap: 0;
  background: var(--white);
  box-shadow: 0 -4px 24px rgba(11, 31, 58, 0.18);
  padding: 0;
  padding-bottom: var(--safe-bottom);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.mobile-bar a svg {
  width: 22px;
  height: 22px;
}

.mobile-bar .mb-call {
  background: var(--orange);
}

.mobile-bar .mb-wa {
  background: var(--wa);
}

.mobile-bar a:active {
  filter: brightness(0.92);
}

/* —— Credentials / 公司資料 —— */
.credentials {
  padding-top: 48px;
  padding-bottom: 48px;
}

.cred-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--orange);
  padding: 22px 20px 24px;
  max-width: 720px;
  margin: 0 auto;
}

.cred-list {
  display: grid;
  gap: 0;
}

.cred-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(11, 31, 58, 0.08);
}

.cred-row:last-child {
  border-bottom: none;
}

.cred-row dt {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.cred-row dd {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  word-break: break-word;
}

.cred-en {
  display: inline-block;
  margin-left: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.cred-addr-zh {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  color: var(--muted);
}

.cred-highlight dd.cred-no {
  display: inline-block;
  justify-self: start;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--orange);
}

.cred-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.footer-copy {
  display: inline-block;
  margin-top: 8px;
}

@media (min-width: 600px) {
  .cred-card {
    padding: 26px 32px 30px;
  }

  .cred-row {
    grid-template-columns: 230px 1fr;
    gap: 16px;
    align-items: baseline;
  }
}

/* —— Tablet+ —— */
@media (min-width: 600px) {
  .topbar {
    padding: 12px 24px;
  }

  .brand-en {
    font-size: 1.2rem;
  }

  .brand-zh {
    font-size: 0.8rem;
  }

  .btn-top {
    padding: 11px 18px;
    font-size: 0.95rem;
  }

  .hero-content {
    padding: 48px 32px 64px;
  }

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

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

  .areas-layout {
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
  }

  .area-map {
    min-height: 100%;
  }

  .area-map img {
    min-height: 280px;
    height: 100%;
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  body {
    padding-bottom: 0;
  }

  .mobile-bar {
    display: none;
  }
}

@media (max-width: 380px) {
  .btn-top span.label {
    display: none;
  }

  .btn-top {
    padding: 10px 12px;
  }
}
