/* 駿誠清潔滅蟲 — brand: logo pink, white, black; red accents; WhatsApp green for WhatsApp only. */
:root {
  --pink: #B51D8D;
  --pink-dark: #8E1570;
  --pink-tint: #FCE7F3;
  --page: #FFF6FA;
  --line: #F3CFE4;
  --ink: #111111;
  --muted: #555555;
  --red: #D92D20;
  --wa: #0E7A3E;
  --wa-dark: #0B6433;
  --white: #FFFFFF;
  --radius: 16px;
  --font: "PingFang HK", "Noto Sans HK", "Noto Sans CJK TC", "Microsoft JhengHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--page); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid #1C7FC4; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding-inline: 16px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* draft-only */
.draft-banner { background: #FFF3C4; color: var(--ink); font-size: 14px; padding-block: 8px; border-bottom: 1px solid #E8D48A; }
.pending { background: #FFF3C4; color: var(--ink); border: 1px dashed #C9A227; border-radius: 8px; padding: 6px 10px; font-size: 14px; font-weight: 700; }

/* header */
.site-header { background: var(--white); border-bottom: 1px solid #EFE3EA; position: sticky; top: 0; z-index: 20; }
.site-header .wrap { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand img { height: 40px; width: auto; display: block; }
.brand small { font-size: 11px; line-height: 1.25; font-weight: 700; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 10px; text-decoration: none; font-size: 15px; font-weight: 700; color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--pink-dark); box-shadow: inset 0 -3px 0 var(--pink); border-radius: 0; }
.site-nav .nav-home { display: none; }
.site-nav .lang { border: 1.5px solid var(--line); }
.site-nav .nav-wa { display: none; background: var(--wa); color: var(--white); margin-left: 6px; }
@media (min-width: 768px) {
  .site-nav .nav-home { display: inline-flex; }
  .site-nav .nav-wa { display: inline-flex; }
}

/* buttons */
.btn { min-height: 56px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 0 18px; border-radius: var(--radius); text-decoration: none; font-size: 18px; font-weight: 900; border: 0; cursor: pointer; font-family: inherit; text-align: center; line-height: 1.3; }
.btn svg { flex-shrink: 0; }
.btn-wa { background: var(--wa); color: var(--white); }
.btn-wa:hover { background: var(--wa-dark); }
.on-pink .btn-wa { box-shadow: 0 0 0 2px var(--white); }
.btn-white { background: var(--white); color: var(--red); }
.btn-pink { background: var(--pink); color: var(--white); }

/* hero */
.hero { background: var(--pink); color: var(--white); padding-block: 28px 32px; }
.hero .wrap { display: grid; gap: 16px; }
.hero-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pill { padding: 3px 12px; border-radius: 999px; background: var(--white); color: var(--red); font-size: 14px; font-weight: 900; }
.eyebrow { font-size: 15px; font-weight: 700; }
.hero h1 { margin: 0; font-size: clamp(32px, 8.4vw, 52px); line-height: 1.2; font-weight: 900; text-wrap: balance; }
.hl { background: var(--white); color: var(--pink); padding: 0 8px; border-radius: 8px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero p { margin: 0; color: #FDE7F4; }
.hero-ctas { display: grid; gap: 12px; padding-top: 4px; }
@media (min-width: 768px) {
  .hero { padding-block: 48px 52px; }
  .hero-ctas { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 680px; }
}

/* badges */
.badges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-block: 20px 4px; }
.badge { min-height: 64px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); font-weight: 900; line-height: 1.3; }
.badge .ico { width: 38px; height: 38px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink); }
.badge.urgent .ico { background: var(--red); }
@media (min-width: 768px) { .badges { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* sections */
.section { padding-block: 28px 8px; }
.section h2 { margin: 0 0 6px; font-size: 26px; line-height: 1.3; font-weight: 900; text-wrap: balance; }
.section h2::after { content: ""; display: block; width: 48px; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--pink); }
.section .sub { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.section h3 { margin: 20px 0 10px; font-size: 20px; }

/* service tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { min-height: 108px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px 10px; text-align: center; text-decoration: none; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.tile:hover { border-color: var(--pink); }
.tile .ico { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink-tint); }
.tile strong { font-size: 15px; line-height: 1.3; }
.tile span.price { font-size: 12px; color: var(--muted); }
@media (min-width: 768px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.more-link { display: inline-flex; min-height: 44px; align-items: center; margin-top: 8px; font-weight: 700; color: var(--pink-dark); }
.strip { margin-top: 12px; min-height: 60px; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--radius); background: var(--red); color: var(--white); text-decoration: none; font-weight: 700; line-height: 1.4; }

/* lists */
.intro { margin: 0 0 12px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.checks li { display: flex; align-items: flex-start; gap: 8px; }
.checks svg { flex-shrink: 0; margin-top: 3px; }
@media (min-width: 768px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; } }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.steps li::before { content: counter(step); flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--pink); color: var(--white); font-weight: 900; display: flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps li { flex-direction: column; } }
.chips-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips-list li { padding: 8px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: 15px; }
.area-line { margin: 12px 0 0; font-weight: 900; }

/* services page */
.svc-grid { display: grid; gap: 10px; }
@media (min-width: 768px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc { display: grid; gap: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.svc-head { display: flex; align-items: center; gap: 10px; }
.svc-head .ico { width: 40px; height: 40px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--pink-tint); }
.svc-head h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.svc .price { color: var(--muted); font-size: 14px; }
.svc .btn { min-height: 48px; font-size: 16px; }
.note { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* form */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 16px; display: grid; gap: 22px; }
@media (min-width: 768px) { .form-card { padding: 24px; } }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.f-title { display: block; font-size: 17px; font-weight: 900; margin-bottom: 10px; padding: 0; }
.tag { font-size: 13px; font-weight: 700; margin-left: 6px; }
.tag.req { color: var(--red); }
.tag.opt { color: var(--muted); font-weight: 400; }
.hint { display: block; font-size: 14px; color: var(--muted); margin: -4px 0 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip label { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 14px; border-radius: 22px; border: 1.5px solid #D9C3D0; background: var(--white); cursor: pointer; font-size: 15px; line-height: 1.3; user-select: none; }
.chip input:checked + label { background: var(--pink); border-color: var(--pink); color: var(--white); font-weight: 700; }
.chip input:focus-visible + label { outline: 3px solid #1C7FC4; outline-offset: 2px; }
.field { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #D9C3D0; border-radius: 10px; font: inherit; font-size: 17px; color: var(--ink); background: var(--white); }
textarea.field { min-height: 96px; resize: vertical; }
.field:focus { border-color: var(--pink); outline: none; box-shadow: 0 0 0 3px var(--pink-tint); }
.invalid .field, .invalid .chips { border-radius: 10px; box-shadow: 0 0 0 2px var(--red); }
details.extras { border: 1.5px dashed #D9C3D0; border-radius: 10px; background: var(--page); }
details.extras summary { min-height: 48px; display: flex; align-items: center; justify-content: space-between; padding: 0 14px; cursor: pointer; font-weight: 700; color: var(--pink-dark); list-style: none; }
details.extras summary::-webkit-details-marker { display: none; }
details.extras summary::after { content: "＋"; content: "＋" / ""; }
details.extras[open] summary::after { content: "－"; content: "－" / ""; }
.extras-body { display: grid; gap: 20px; padding: 6px 14px 16px; }
.form-error { background: #FEE4E2; color: #7A271A; border-radius: 10px; padding: 10px 12px; font-weight: 700; }
.small { font-size: 13px; color: var(--muted); margin: 0; }

/* contact page */
.info { margin: 0; display: grid; gap: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.info div { display: grid; grid-template-columns: 5.5em 1fr; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.info div:last-child { border-bottom: 0; }
.info dt { font-weight: 900; }
.info dd { margin: 0; overflow-wrap: anywhere; }
.wa-number { font-size: 22px; font-weight: 900; letter-spacing: .02em; margin: 8px 0; }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { min-height: 52px; display: flex; align-items: center; padding: 10px 14px; cursor: pointer; font-weight: 900; }
.faq details p { margin: 0; padding: 0 14px 14px; }
.faq details .pending { margin: 0 14px 14px; display: inline-block; }
.two-col { display: grid; gap: 20px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 3fr 2fr; align-items: start; } }
.prose p { margin: 0 0 12px; max-width: 65ch; }

/* footer */
.site-footer { margin-top: 40px; background: var(--ink); color: var(--white); padding-block: 28px 32px; font-size: 15px; }
.has-sticky .site-footer { padding-bottom: 110px; }
.site-footer .wrap { display: grid; gap: 10px; }
.site-footer strong { font-size: 17px; }
.site-footer a { color: var(--white); }
.site-footer .links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.site-footer .links a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 768px) { .site-footer, .has-sticky .site-footer { padding-block: 32px; } }

/* sticky WhatsApp (phones) */
.sticky-wa { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--white); border-top: 1px solid #EFE3EA; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); }
.sticky-wa .btn { min-height: 52px; }
@media (min-width: 768px) { .sticky-wa { display: none; } }

/* page titles */
.page-h1, .form-h { margin: 0 0 6px; font-size: 28px; line-height: 1.3; font-weight: 900; text-wrap: balance; }
.page-h1::after, .form-h::after { content: ""; display: block; width: 48px; height: 5px; margin-top: 6px; border-radius: 3px; background: var(--pink); }
.form-h { font-size: 26px; }
.group-title { margin: 28px 0 10px; font-size: 22px; font-weight: 900; }
.gap-top { margin-top: 24px; }
.two-col h2 { margin: 0 0 12px; font-size: 22px; font-weight: 900; }

/* small-screen fixes */
.site-nav a { white-space: nowrap; }
.hero h1, .badge, .tile strong, .steps li, .checks li, .strip { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 420px) {
  .brand small { display: none; }
  .site-nav a { padding: 0 8px; font-size: 15px; }
  .badge { font-size: 15px; gap: 8px; padding: 10px; }
  .badge .ico { width: 32px; height: 32px; }
  .badge .ico svg { width: 18px; height: 18px; }
}


/* review fixes 2026-09-28 */
html { scroll-padding-top: 84px; scroll-padding-bottom: 96px; }
.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.field, .chip label { border-color: #8A6A7C; }
.field:focus-visible { outline: 3px solid #1C7FC4; outline-offset: 1px; }
.on-pink :focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; box-shadow: 0 0 0 6px #111111; }
.chip input:checked + label::before { content: "✓"; content: "✓" / ""; margin-right: 6px; font-weight: 900; }
@media (forced-colors: active) {
  .chip input:checked + label { outline: 3px solid CanvasText; }
  .btn, .pill, .badge .ico, .tile .ico { forced-color-adjust: auto; }
}
.faq summary { justify-content: space-between; gap: 12px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; content: "＋" / ""; flex-shrink: 0; color: var(--pink-dark); }
.faq details[open] summary::after { content: "－"; content: "－" / ""; }
.f-err { margin: 8px 0 0; color: #B42318; font-size: 15px; font-weight: 700; }
.f-err::before { content: "⚠ "; content: "⚠ " / ""; }
#nojs-fallback p { margin: 0; }
@media (max-height: 500px) and (orientation: landscape) {
  .site-header { position: static; }
  .sticky-wa { padding-block: 4px calc(4px + env(safe-area-inset-bottom, 0px)); }
  .sticky-wa .btn { min-height: 40px; font-size: 15px; }
  .has-sticky .site-footer { padding-bottom: 64px; }
}
html[lang="en-HK"] .hero h1 { font-size: clamp(28px, 7.4vw, 48px); }
@media (max-width: 420px) { html[lang="en-HK"] .sticky-wa .btn { font-size: 16px; } }

/* 2026-09-28 owner: "再純色啲" — flat, solid colours: pure white ground, neutral greys, solid pink icon discs */
:root { --page: #FFFFFF; --line: #E3E3E3; --pink-tint: #B51D8D; }
.tile .ico, .svc-head .ico { background: var(--pink); }
.field, .chip label { border-color: #767676; }
details.extras { background: #F7F7F7; border-color: #BDBDBD; }
details.extras summary { color: var(--ink); }
.field:focus { box-shadow: 0 0 0 3px #F1F1F1; }
.site-header { border-bottom-color: var(--line); }
.sticky-wa { border-top-color: var(--line); }
.hero p { color: #FFFFFF; }
.more-link { color: var(--pink); }
