/*
Theme Name: HK Home Repair Official
Theme URI: https://huamaigc.com/
Author: Codex
Description: A fast one-page official website theme for Hong Kong on-site repair and commercial kitchen maintenance services.
Version: 1.0.0
Text Domain: hk-home-repair
*/

:root {
  --ink: #142434;
  --muted: #657587;
  --line: #dfe6ea;
  --paper: #f8f5ef;
  --white: #ffffff;
  --teal: #0d7b72;
  --deep: #132235;
  --red: #d2483f;
  --gold: #f4c44f;
  --mint: #e7f6f1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Microsoft JhengHei", "Noto Sans HK", Arial, sans-serif;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 230px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
}
.brand strong { display: block; font-size: 16px; letter-spacing: 0; }
.brand span { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 28px; color: #506071; font-size: 14px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 4px; background: #f4f1eb; }
.lang b, .lang span { padding: 5px 10px; border-radius: 999px; font-size: 12px; }
.lang b { background: var(--deep); color: #fff; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
}
.btn-red { background: var(--red); color: #fff; }
.btn-pale { background: #e9f5f1; color: #0f655e; border-color: #d3e8e1; }
.btn-gold { background: var(--gold); color: #17304a; }
.hero {
  min-height: 760px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13,23,34,.92) 0%, rgba(13,23,34,.78) 45%, rgba(13,23,34,.25) 100%),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?auto=format&fit=crop&w=1800&q=80") center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 150px;
  background: linear-gradient(0deg, rgba(248,245,239,1), rgba(248,245,239,0));
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 380px;
  align-items: center;
  gap: 80px;
  padding: 90px 0 140px;
}
.eyebrow { color: var(--gold); font-size: 13px; font-weight: 800; margin-bottom: 16px; }
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(44px, 6vw, 74px);
  line-height: 1.08;
  letter-spacing: 0;
}
.hero-copy { max-width: 650px; margin: 26px 0 28px; color: #d8e1e9; font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { background: var(--gold); color: #17304a; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 800; }
.booking {
  background: rgba(255,255,255,.94);
  color: var(--ink);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 20px 55px rgba(0,0,0,.22);
}
.booking h2 { margin: 0 0 6px; font-size: 24px; }
.booking p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.field { margin-bottom: 13px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 800; }
.field select, .field input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.booking .btn { width: 100%; margin-top: 4px; }
.stats {
  position: relative;
  z-index: 2;
  margin-top: -68px;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 20px 45px rgba(30,33,36,.12);
  overflow: hidden;
}
.stat { padding: 22px 30px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; color: var(--teal); font-size: 30px; line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; }
.section { padding: 92px 0; }
.section.white { background: #fff; }
.section.mint { background: var(--mint); }
.section-head { margin-bottom: 30px; }
.section-kicker { color: var(--red); font-size: 13px; font-weight: 900; margin-bottom: 8px; }
.section h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
.section-lead { max-width: 820px; margin: 16px 0 0; color: var(--muted); }
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  min-height: 310px;
}
.service img { width: 100%; height: 170px; object-fit: cover; }
.service div { padding: 18px; }
.service h3 { margin: 0 0 8px; font-size: 18px; }
.service p { margin: 0; color: var(--muted); font-size: 14px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step {
  min-height: 178px;
  background: #fbf7f0;
  border: 1px solid #e4ded4;
  border-radius: 8px;
  padding: 28px;
}
.step b { color: var(--red); display: block; margin-bottom: 26px; }
.step h3 { margin: 0 0 10px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.area-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(320px, 1fr);
  gap: 60px;
  align-items: center;
}
.districts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.district {
  display: grid;
  place-items: center;
  height: 82px;
  border-radius: 8px;
  color: #fff;
  font-weight: 900;
  font-size: 17px;
}
.district.teal { background: #08665f; }
.district.red { background: var(--red); }
.district.gold { background: var(--gold); color: #17304a; }
.district.deep { background: #33445c; }
.cta {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6,111,100,.94), rgba(6,111,100,.82)),
    url("https://images.unsplash.com/photo-1607472586893-edb57bdc0e39?auto=format&fit=crop&w=1600&q=80") center/cover;
  padding: 78px 0;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 60px;
}
.cta h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1.16; }
.cta p { color: #d5ebe7; }
.contact-stack { display: grid; gap: 12px; }
.contact-stack a, .contact-stack div {
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: #0b5d55;
  font-weight: 900;
}
.contact-stack a:first-child { background: var(--red); color: #fff; }
.footer {
  background: #142434;
  color: #c9d3dc;
  padding: 32px 0;
  font-size: 13px;
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  background: #25D366 url("https://huamaigc.com/whatsapp.png") center/80% no-repeat;
}

@media (max-width: 920px) {
  .nav { height: auto; padding: 14px 0; flex-wrap: wrap; }
  .nav-links { order: 3; width: 100%; justify-content: space-between; gap: 10px; }
  .hero { min-height: auto; }
  .hero-grid, .area-grid, .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-grid { padding: 70px 0 120px; }
  .services { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .wrap { width: min(100% - 28px, 1180px); }
  .brand { min-width: 0; }
  .brand span { display: none; }
  .nav-actions { width: 100%; justify-content: space-between; }
  .nav-links a { font-size: 13px; }
  .hero h1 { font-size: 42px; }
  .booking { padding: 22px; }
  .stats-inner, .services, .steps, .districts { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
  .footer-inner { display: block; }
  .float-wa { width: 58px; height: 58px; }
}
/* Cleanup for final landing page */
.lang { display: none !important; }
[class*="cookie"], [id*="cookie"], [class*="cky"], [id*="cky"], .cky-consent-container, .cky-modal, .cky-overlay { display: none !important; visibility: hidden !important; }
