/* ==========================================================================
   Junk Removal HK — Main Stylesheet (v2: white / muted-teal / gold palette)
   Mobile-first, system-font, zero external dependencies.
   Optimised for Hong Kong mobile networks. Premium, calm, design-forward.
   ========================================================================== */

:root {
  --c-bg: #fafaf7;             /* warm off-white */
  --c-surface: #ffffff;
  --c-bg-alt: #f3f0e8;         /* cream panel */
  --c-ink: #0e1014;
  --c-ink-soft: #4a5160;
  --c-ink-faint: #8a8f99;
  --c-line: #ececea;
  --c-brand: #2d8f87;          /* muted teal — premium, calm */
  --c-brand-dark: #226e68;
  --c-accent: #128c7e;         /* WhatsApp green */
  --c-accent-dark: #0a6157;
  --c-gold: #c9a96a;           /* warm HK gold accent */
  --c-warn: #fff8e1;
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(14,16,20,.05);
  --shadow-md: 0 8px 28px rgba(14,16,20,.08);
  --maxw: 1180px;
  --gutter: 1rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC",
          "PingFang TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Apple Garamond", Georgia,
                "Times New Roman", "PingFang TC", "Noto Serif TC", serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

html[lang="zh-HK"] body { font-size: 16px; line-height: 1.75; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-brand-dark); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--c-ink);
}
h1 { font-size: clamp(2rem, 5.4vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 3.8vw, 2rem); margin-top: 2.2rem; }
h3 { font-size: 1.18rem; margin-top: 1.4rem; }
p  { margin: 0 0 1em; }
ul, ol { padding-left: 1.2rem; margin: 0 0 1em; }
li { margin-bottom: .3em; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ----- Skip link (a11y) ---------------------------------------------------- */
.skip { position: absolute; left: -9999px; top: 0; background: #000; color: #fff; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

/* ----- Header / Nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding-top: .7rem; padding-bottom: .7rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--c-ink);
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: var(--c-brand); color: #fff;
  display: grid; place-items: center; font-size: 1.05rem; font-weight: 800;
  flex-shrink: 0;
}
img.brand-mark {
  background: transparent; object-fit: contain; border-radius: 0;
}
.brand small { display: block; font-family: var(--font); font-weight: 500; font-size: .72rem; color: var(--c-ink-soft); margin-top: 1px; letter-spacing: 0; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: 1px solid var(--c-line); background: var(--c-surface);
  border-radius: 8px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--c-ink); position: relative;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }

.main-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--c-surface); border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow-md);
}
.main-nav.is-open { display: block; }
.main-nav ul { list-style: none; padding: .5rem var(--gutter); margin: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block; padding: .85rem .25rem; color: var(--c-ink);
  border-bottom: 1px solid var(--c-line); font-weight: 600;
}
.main-nav a:hover { color: var(--c-brand-dark); text-decoration: none; }

.nav-cta {
  display: inline-block;
  background: var(--c-brand); color: #fff; font-weight: 700;
  padding: .6rem 1rem; border-radius: 999px; font-size: .92rem;
  white-space: nowrap;
  transition: background .2s;
}
.nav-cta:hover { background: var(--c-brand-dark); color: #fff; text-decoration: none; }

.lang-switch {
  font-size: .85rem; font-weight: 600; color: var(--c-ink-soft);
  border: 1px solid var(--c-line); padding: .35rem .55rem; border-radius: 6px;
  background: var(--c-surface);
}
.lang-switch:hover { color: var(--c-brand-dark); border-color: var(--c-brand); text-decoration: none; }

/* ----- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .9rem 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; border: 0; cursor: pointer;
  font-family: var(--font);
  transition: transform .08s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--c-accent); color: #fff; }
.btn-primary:hover { background: var(--c-accent-dark); color: #fff; text-decoration: none; }
.btn-secondary { background: transparent; color: var(--c-ink); border: 1px solid var(--c-line); }
.btn-secondary:hover { background: var(--c-bg); border-color: var(--c-ink); color: var(--c-ink); text-decoration: none; }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ----- Hero (split layout — text left, photo right) ------------------------ */
.hero {
  background: var(--c-bg);
  color: var(--c-ink);
  padding: 3.5rem 0 0;
  border-bottom: 1px solid var(--c-line);
}
.hero .container {
  display: grid; grid-template-columns: 1fr; gap: 2rem;
  align-items: stretch;
}
.hero-text { padding-bottom: 4rem; max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-brand-dark); font-weight: 700;
  margin-bottom: 1.2rem;
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--c-brand-dark); }
.hero h1 {
  font-size: clamp(2.2rem, 5.8vw, 3.6rem);
  color: var(--c-ink);
  margin-bottom: 1.3rem;
  letter-spacing: -.02em;
  line-height: 1.06;
}
.hero h1 em { font-style: italic; color: var(--c-brand-dark); font-weight: 400; }
.hero .lead { font-size: 1.18rem; color: var(--c-ink-soft); max-width: 580px; margin-bottom: 2rem; line-height: 1.55; }
.hero .phone {
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--c-ink); margin-bottom: 1rem; font-weight: 600;
}
.hero .phone a { color: var(--c-ink); }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.hero .trust-row {
  display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2.6rem;
  color: var(--c-ink-soft); font-size: .9rem;
}
.hero .trust-row strong { color: var(--c-ink); font-weight: 700; }

.hero-photo {
  position: relative;
  min-height: 320px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #ece8df;
  margin-top: .5rem;
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  display: block;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,16,20,0) 65%, rgba(14,16,20,.55) 100%);
  pointer-events: none;
}
.hero-photo .photo-caption {
  position: absolute; left: 18px; bottom: 14px; right: 18px;
  color: #fff; font-size: .85rem; font-family: var(--font);
  display: flex; align-items: center; gap: .5rem; opacity: .92; z-index: 1;
}
.hero-photo .photo-caption::before {
  content: ""; width: 6px; height: 6px; background: var(--c-gold); border-radius: 50%;
}

/* ----- Section spacing ----------------------------------------------------- */
section { padding: 3.5rem 0; }
section.alt { background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.section-head { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.section-head h2 { margin-top: 0; }
.section-head p { color: var(--c-ink-soft); }

/* ----- Trust strip --------------------------------------------------------- */
.trust-strip { background: var(--c-surface); border-bottom: 1px solid var(--c-line); padding: 1.4rem 0; }
.trust-strip ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
  text-align: center;
}
.trust-strip li { font-size: .9rem; font-weight: 600; color: var(--c-ink); margin: 0; }
.trust-strip li span { display: block; font-size: 1.6rem; margin-bottom: .2rem; }

/* ----- Recently completed at (logos / building-name strip) ----------------- */
.recently-at {
  background: var(--c-bg-alt); padding: 2.2rem 0;
  border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line);
}
.recently-at .label {
  text-align: center; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--c-ink-soft); font-weight: 700; margin-bottom: 1.2rem;
}
.recently-at .row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.4rem;
  font-family: var(--font-serif); color: var(--c-ink); font-size: 1.05rem;
  text-align: center;
}
.recently-at .row span { white-space: nowrap; }

/* ----- Testimonials -------------------------------------------------------- */
.testimonials { padding: 4rem 0; background: var(--c-surface); border-top: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); }
.testimonial-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.testimonial {
  background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem;
}
.testimonial blockquote {
  margin: 0 0 1.2rem; font-family: var(--font-serif); font-size: 1.1rem; line-height: 1.5;
  color: var(--c-ink); quotes: "\201C" "\201D";
}
.testimonial blockquote::before { content: open-quote; color: var(--c-gold); font-size: 2rem; line-height: 0; vertical-align: -0.4rem; margin-right: .2rem; }
.testimonial .who { font-size: .9rem; color: var(--c-ink-soft); }
.testimonial .who strong { color: var(--c-ink); font-weight: 700; }
.testimonial .stars { color: var(--c-gold); font-size: .95rem; margin-bottom: .8rem; letter-spacing: .1em; }

/* ----- Service grid -------------------------------------------------------- */
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 1rem;
}
.service-card {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .25s, border-color .2s;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--c-brand); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-card .body { padding: 1.2rem 1.3rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { margin-top: 0; margin-bottom: .4rem; }
.service-card p { color: var(--c-ink-soft); flex: 1; font-size: .95rem; }
.service-card .more { color: var(--c-brand-dark); font-weight: 700; margin-top: .6rem; font-size: .92rem; }

/* ----- Process steps ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.step {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1.3rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start;
}
.step .num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--c-brand); color: #fff; font-weight: 800;
  display: grid; place-items: center;
}
.step h3 { margin: 0 0 .25rem; }
.step p { margin: 0; color: var(--c-ink-soft); }

/* ----- Areas served -------------------------------------------------------- */
.areas { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
.area-block h3 { color: var(--c-brand-dark); border-bottom: 2px solid var(--c-brand); padding-bottom: .3rem; font-family: var(--font-serif); }
.area-block ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .35rem;
  font-size: .95rem;
}
.area-block li::before { content: "▸ "; color: var(--c-brand); }

/* ----- FAQ ---------------------------------------------------------------- */
.faq details {
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 1rem 1.2rem; margin-bottom: .7rem;
}
.faq details[open] { border-color: var(--c-brand); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-serif); font-size: 1.08rem; list-style: none;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem;
  color: var(--c-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex-shrink: 0; font-weight: 400; font-size: 1.5rem; line-height: 1;
  color: var(--c-brand-dark); transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { margin-top: .8rem; color: var(--c-ink); }
.faq .answer :last-child { margin-bottom: 0; }

/* ----- Service-page hero (B2B/services) ------------------------------------ */
.service-hero {
  padding: 2.6rem 0 2rem; background: var(--c-bg-alt);
  border-bottom: 1px solid var(--c-line);
}
.service-hero .breadcrumb {
  font-size: .85rem; color: var(--c-ink-soft); margin-bottom: .5rem;
}
.service-hero h1 { margin-bottom: .4rem; }
.service-hero .lead { font-size: 1.12rem; color: var(--c-ink-soft); max-width: 720px; }
.service-hero .cta-row { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

/* ----- TL;DR answer box (GEO-optimised quick-answer block) ----------------- */
.tldr {
  background: var(--c-warn); border-left: 4px solid var(--c-brand);
  padding: 1rem 1.1rem; margin: 1.5rem 0; border-radius: 6px;
}
.tldr strong { display: block; margin-bottom: .3rem; color: var(--c-brand-dark); }
.tldr p { margin: 0; }

/* ----- Fact table (kept for any non-pricing tables) ----------------------- */
.fact-table {
  width: 100%; border-collapse: collapse; margin: 1.2rem 0;
  background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
}
.fact-table th, .fact-table td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--c-line); font-size: .95rem; }
.fact-table th { background: var(--c-bg-alt); font-weight: 700; }
.fact-table tr:last-child td { border-bottom: 0; }

/* ----- Two-column content layout ------------------------------------------ */
.two-col { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.two-col .stack > * + * { margin-top: 1rem; }

.gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; margin: 1.2rem 0;
}
.gallery img { aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }

/* ----- Sticky WhatsApp CTA (mobile) ---------------------------------------- */
.whatsapp-fab {
  position: fixed; right: 14px; bottom: 14px; z-index: 25;
  background: var(--c-accent); color: #fff; border-radius: 999px;
  padding: .85rem 1.15rem; font-weight: 700; font-size: .95rem;
  box-shadow: 0 8px 22px rgba(18,140,126,.4);
  display: inline-flex; align-items: center; gap: .45rem;
}
.whatsapp-fab:hover { background: var(--c-accent-dark); color: #fff; text-decoration: none; }
.whatsapp-fab svg { width: 18px; height: 18px; fill: #fff; }

/* ----- Footer (light) ----------------------------------------------------- */
.site-footer {
  background: var(--c-surface); color: var(--c-ink-soft); padding: 3rem 0 1.5rem; margin-top: 3rem;
  border-top: 1px solid var(--c-line);
}
.site-footer a { color: var(--c-ink-soft); }
.site-footer a:hover { color: var(--c-ink); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 1.5rem; }
.site-footer h4 { font-family: var(--font-serif); color: var(--c-ink); margin: 0 0 .6rem; font-size: 1rem; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .35rem; font-size: .92rem; }
.footer-bottom { border-top: 1px solid var(--c-line); padding-top: 1rem; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--c-ink-faint); }

/* ----- Final CTA band ----------------------------------------------------- */
.cta-band {
  background: var(--c-bg-alt); color: var(--c-ink); padding: 3.2rem 0; text-align: center;
  border-top: 1px solid var(--c-line);
}
.cta-band h2 { color: var(--c-ink); margin-top: 0; }
.cta-band p { color: var(--c-ink-soft); max-width: 600px; margin: 0 auto 1.2rem; }

/* ============================================================ Breakpoints */
@media (min-width: 700px) {
  .service-grid     { grid-template-columns: repeat(2, 1fr); }
  .steps            { grid-template-columns: repeat(3, 1fr); }
  .trust-strip ul   { grid-template-columns: repeat(4, 1fr); }
  .areas            { grid-template-columns: repeat(3, 1fr); }
  .area-block ul    { grid-template-columns: repeat(2, 1fr); }
  .footer-grid      { grid-template-columns: repeat(3, 1fr); }
  .gallery          { grid-template-columns: repeat(4, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .main-nav {
    display: flex; position: static; background: transparent; border: 0; box-shadow: none;
  }
  .main-nav ul {
    display: flex; gap: .25rem; padding: 0;
  }
  .main-nav a {
    border-bottom: 0; padding: .6rem .85rem; border-radius: 6px;
  }
  .main-nav a:hover { background: var(--c-bg-alt); }
  .site-header .container { gap: 1.4rem; }
  .two-col { grid-template-columns: 2fr 1fr; }
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .service-card img { height: 220px; }
  .hero { padding: 4.5rem 0 4rem; }
  .hero .container { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; align-items: center; }
  .hero-text { padding-bottom: 0; }
  .hero-photo { min-height: 480px; border-radius: 14px; margin-top: 0; box-shadow: 0 20px 50px rgba(14,16,20,.12); }
  section { padding: 5rem 0; }
  .whatsapp-fab { display: none; }
}

/* ============================================================ Mobile polish
   Applied below ~700px. Fixes: header cramp, tight trust row, wide gaps in
   "Recently active in" strip, punchier hero photo, safer overflow, tighter
   sections, better button wrapping, and a legibility bump for testimonial + FAQ. */
@media (max-width: 699px) {
  html, body { overflow-x: hidden; max-width: 100%; }
  .site-header .container { gap: .55rem; }
  .brand small { display: none; }              /* subtitle would overflow */
  .brand { gap: .5rem; font-size: 1rem; }
  .nav-cta { padding: .55rem .85rem; font-size: .85rem; }
  section { padding: 2.6rem 0; }
  .hero { padding: 2.4rem 0 0; }
  .hero h1 { font-size: clamp(1.85rem, 7.4vw, 2.4rem); line-height: 1.1; }
  .hero .lead { font-size: 1.02rem; }
  .hero .trust-row { gap: .7rem 1.2rem; margin-top: 1.8rem; font-size: .85rem; }
  .hero-photo { min-height: 260px; }
  .cta-band { padding: 2.6rem 0; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; min-width: 0; }
  /* Recently active in — swipeable rail on mobile, snappy */
  .recently-at { padding: 1.6rem 0; }
  .recently-at .row {
    flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
    gap: 1.6rem; padding: 0 1rem; margin: 0 -1rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: .95rem;
  }
  .recently-at .row::-webkit-scrollbar { display: none; }
  .recently-at .row span { scroll-snap-align: center; }
  .service-card img { height: 180px; }
  .testimonials { padding: 2.6rem 0; }
  .testimonial { padding: 1.4rem 1.4rem 1.2rem; }
  .testimonial blockquote { font-size: 1rem; }
  .fact-table { font-size: .88rem; }
  .fact-table th, .fact-table td { padding: .6rem .7rem; }
  .faq summary { font-size: .98rem; gap: .8rem; }
  .whatsapp-fab { right: 12px; bottom: 12px; padding: .8rem 1.05rem; font-size: .9rem; }
}

/* Very narrow — under 380px (older iPhone SE, Galaxy S8 etc.) */
@media (max-width: 379px) {
  .container { padding: 0 .8rem; }
  .brand span { font-size: .92rem; }
  .nav-cta { padding: .5rem .7rem; font-size: .8rem; }
  h1 { font-size: 1.7rem; }
  .hero h1 { font-size: 1.75rem; }
  .cta-row .btn { flex-basis: 100%; }
}

/* Reduce motion for users who ask for it */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Print-friendly */
@media print {
  .site-header, .site-footer, .whatsapp-fab, .nav-cta, .cta-band { display: none; }
  body { color: #000; background: #fff; }
}
