/* Quote3 比三家. Layout and tokens follow swissofferten.ch: Inter, navy ink, off-white bands,
   4px corners, one strong red for actions. The red is the Hong Kong flag red. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-regular.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-medium.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-semibold.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-bold.woff2) format("woff2"); }

:root {
  --ink: #1f2937;
  --muted: #4b5563;
  --soft: #6b7280;
  --navy: #0b1f33;
  --navy-2: #12304d;
  --red: #de2910;
  --red-dark: #b8200b;
  --paper: #f8f7f4;
  --line: #e5e7eb;
  --green: #15803d;
  --green-ink: #166534;
  --green-bg: #e9f5ee;
  --green-line: #a8d5b5;
  --font: Inter, "PingFang HK", "Noto Sans HK", "Noto Sans CJK HK", "Microsoft JhengHei", "Heiti TC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
/* Keep anchor jumps clear of the sticky header. */
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--font); color: var(--ink); background: #fff; }
picture, img, svg { display: block; max-width: 100%; }
/* width/height attributes reserve space; CSS decides the real height. */
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); line-height: 1.12; font-weight: 700; }
:lang(en) :is(h1, h2, .h-xl, .h-lg) { letter-spacing: -0.02em; }
:lang(zh-HK) :is(h1, h2, h3) { line-height: 1.25; }
p { margin: 0 0 1em; }
ul, ol.steps, .progress ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1264px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }
.center { text-align: center; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--red);
  background: var(--red); color: #fff; font: 600 16px/1.2 var(--font); padding: 12px 20px; border-radius: 4px;
  text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-lg { font-size: 20px; padding: 18px 40px; }
.btn-md { font-size: 18px; padding: 14px 28px; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-light { background: transparent; color: #fff; border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; }
@media (hover: hover) {
  .btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
  .btn-line:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
  .btn-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
}
.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); text-decoration: none; }
.link:hover { text-decoration: underline; }
.link .i { width: 16px; height: 16px; }

/* Type */
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--red); margin: 0 0 20px; }
:lang(zh-HK) .eyebrow { letter-spacing: .12em; font-size: 13px; }
.eyebrow .flag { width: 14px; height: 14px; }
.h-xl { font-size: clamp(34px, 4.6vw, 56px); }
.h-lg { font-size: clamp(30px, 3.6vw, 44px); }
.lead { font-size: 20px; color: var(--muted); }

/* Logo: wordmark plus a small red square, as SwissOfferten does with its flag. */
.logo { display: inline-flex; align-items: flex-start; text-decoration: none; color: var(--navy);
  font: 700 30px/1 Inter, var(--font); letter-spacing: -0.02em; }
.flag { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; background: var(--red);
  color: #fff; font: 700 11px/1 var(--font); letter-spacing: 0; margin: -4px 0 0 3px; }

/* Header */
.hdr { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.hdr .wrap { display: flex; align-items: center; gap: 24px; height: 80px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav > a, .dd > button { font: 500 16px/1 var(--font); color: #374151; text-decoration: none; background: none; border: 0;
  padding: 10px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; }
.nav > a:hover, .dd > button:hover, .dd.open > button { color: var(--navy); background: var(--paper); }
.dd { position: relative; }
.dd > button .i { width: 16px; height: 16px; transition: transform .15s; }
.dd.open > button .i { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 16px 40px rgba(11, 31, 51, .12); padding: 10px; min-width: 280px; display: none; }
.dd.open .dd-menu { display: block; }
.dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 4px; text-decoration: none; color: var(--ink); font-size: 15px; }
.dd-menu a:hover { background: var(--paper); color: var(--navy); }
.dd-menu a .i { color: var(--navy); }
.dd-menu .all { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; font-weight: 600; color: var(--navy); }
.dd-regions { display: none; grid-template-columns: repeat(4, max-content); gap: 8px 28px; min-width: 0; padding: 20px 22px; }
.dd.open .dd-regions { display: grid; }
.dd-regions h4 { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--soft); margin: 0 0 6px; }
.dd-regions a { padding: 6px 0; font-size: 15px; }
.dd-regions a:hover { background: none; text-decoration: underline; }
.dd-regions .all { grid-column: 1 / -1; padding-top: 14px; }
.hdr-right { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.lang { display: inline-flex; background: #f3f4f6; border: 1px solid var(--line); border-radius: 6px; padding: 3px; }
.lang a { font: 500 14px/1 var(--font); color: #4b5563; text-decoration: none; padding: 8px 10px; border-radius: 4px; }
.lang a[aria-current] { background: #fff; color: var(--navy); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.hdr .cta { background: #fff; color: var(--navy); border-color: var(--navy); }
.scrolled .hdr .cta, .hdr .cta:hover { background: var(--red); border-color: var(--red); color: #fff; }
.burger { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--navy); cursor: pointer; }
.burger .i { width: 28px; height: 28px; }
.mnav { display: none; }
@media (max-width: 1140px) {
  .nav, .hdr-right .lang { display: none; }
  .burger { display: block; }
  .hdr .wrap { height: 68px; gap: 12px; }
  .logo { font-size: 26px; }
  .mnav-open .mnav { display: block; position: fixed; inset: 69px 0 0; background: #fff; overflow-y: auto; padding: 8px 24px 40px; z-index: 49; }
  .mnav details { border-bottom: 1px solid var(--line); }
  .mnav summary, .mnav > a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 18px; font-weight: 600;
    color: var(--navy); text-decoration: none; cursor: pointer; list-style: none; border-bottom: 1px solid var(--line); }
  .mnav details summary { border-bottom: 0; }
  .mnav summary::-webkit-details-marker { display: none; }
  .mnav details[open] summary .i { transform: rotate(180deg); }
  .mnav details a { display: block; padding: 10px 0 10px 4px; color: var(--ink); text-decoration: none; }
  .mnav details div { padding-bottom: 14px; }
  .mnav .lang { display: inline-flex; margin-top: 24px; }
  .mnav .btn { width: 100%; margin-top: 24px; }
}
@media (max-width: 520px) { .hdr .cta { display: none; } }

/* Hero: full-bleed photo with a dark overlay */
.hero { position: relative; color: #fff; min-height: 720px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8, 20, 34, .82) 0%, rgba(8, 20, 34, .55) 50%, rgba(8, 20, 34, .2) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-top: 60px; padding-bottom: 80px; }
.hero h1 { color: #fff; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.05; max-width: 820px; }
:lang(zh-HK) .hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.18; }
.hero .sub { font-size: 20px; font-weight: 500; margin: 24px 0 48px; }
.checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 20px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks .i { width: 18px; height: 18px; color: #4ade80; }
.hero-sm { min-height: 460px; }
.hero-sm .wrap { padding-top: 48px; padding-bottom: 64px; }
.hero-sm h1 { font-size: clamp(34px, 4.4vw, 54px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; margin-bottom: 20px; opacity: .85; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .6; }
@media (max-width: 700px) {
  .hero { min-height: 620px; align-items: flex-end; }
  .hero::after { background: linear-gradient(180deg, rgba(8, 20, 34, .35) 0%, rgba(8, 20, 34, .85) 70%); }
  .hero .wrap { padding-bottom: 48px; }
  .hero .sub { font-size: 18px; margin-bottom: 32px; }
  .hero .btn-lg { width: 100%; }
  .hero-sm { min-height: 440px; }
}

/* Sections */
.sec { padding: 104px 0; }
.sec-sm { padding: 64px 0; }
.paper { background: var(--paper); }
.navy { background: var(--navy); color: #e5e7eb; }
.navy h2, .navy h3 { color: #fff; }
.sec-head { margin-bottom: 48px; max-width: 860px; }
.sec-head p { margin: 16px 0 0; }
@media (max-width: 700px) { .sec { padding: 72px 0; } .sec-head { margin-bottom: 32px; } }

/* "What do you need?" icon row */
.needs { padding: 40px 0 16px; }
.need-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.need { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 8px; text-decoration: none;
  color: var(--navy); font-weight: 600; font-size: 16px; text-align: center; border-radius: 6px; }
.need .i { width: 36px; height: 36px; stroke-width: 1.4; }
.need:hover { background: var(--paper); color: var(--red); }
.more { margin: 8px 0 32px; }
.more summary { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--navy); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more[open] summary .i { transform: rotate(180deg); }
.more .minis { margin-top: 16px; }
@media (max-width: 900px) { .need-row { grid-template-columns: repeat(3, 1fr); } }

/* Trust strip (SwissOfferten shows its star rating here) */
.strip { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.strip ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; font-weight: 600; color: var(--navy); }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip .i { color: var(--green); }

/* Guarantee panel and price stat */
.gpanel { background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 6px; padding: 40px 32px; }
.gpanel h2 { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(26px, 2.6vw, 32px); max-width: 680px; }
.gpanel h2 .i { width: 30px; height: 30px; color: var(--green-ink); margin-top: 4px; }
.gpanel .strong { font-weight: 600; font-size: 20px; color: var(--navy); margin: 22px 0 6px; }
.gpanel p { max-width: 600px; color: var(--muted); }
.gpanel .row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 26px; }
.gpanel .link { color: var(--green-ink); }
.stat { border-left: 3px solid var(--navy); padding: 2px 0 2px 20px; margin-top: 28px; max-width: 640px; }
.stat-n { font-size: clamp(28px, 3vw, 34px); font-weight: 700; color: var(--navy); margin: 0 0 6px; letter-spacing: -0.01em; }
.stat p { margin: 0 0 10px; color: var(--muted); }
.stat strong { color: var(--navy); }
.stat small { display: block; color: var(--soft); font-size: 13px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin: 0 0 40px; }
.steps li { border-top: 1px solid var(--navy); padding-top: 20px; }
.steps h3 { font-size: clamp(22px, 2.2vw, 30px); display: flex; align-items: baseline; gap: 12px; }
.steps .no { font-size: 14px; font-weight: 600; color: var(--red); letter-spacing: .12em; }
.steps p { color: var(--muted); margin: 12px 0 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Photo cards */
.season { margin: 18px 0 40px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--navy); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.card .ph { overflow: hidden; }
.card:hover img { transform: scale(1.03); }
.card-t { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; font-size: 20px; font-weight: 700; }
.card-t .i { width: 20px; height: 20px; transition: transform .15s; }
.card:hover .card-t .i { transform: translateX(4px); }
.card-d { padding: 0 20px 20px; margin-top: -8px; color: var(--muted); font-size: 15px; }
.minis { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; font-weight: 500; }
.minis a { color: var(--muted); text-decoration: none; }
.minis a:hover { color: var(--navy); text-decoration: underline; }
.after-cards { margin-top: 36px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* Values block */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.values h2 { font-size: clamp(44px, 5.6vw, 76px); line-height: 1.02; }
:lang(zh-HK) .values h2 { line-height: 1.15; }
.values blockquote { margin: 32px 0 12px; font-size: 22px; line-height: 1.5; color: var(--ink); }
.values cite { font-style: normal; font-weight: 600; font-size: 15px; color: var(--navy); }
.sig { font: italic 400 46px/1.2 "Segoe Script", "Brush Script MT", "Kaiti TC", "BiauKai", "DFKai-SB", "AR PL UKai TW", cursive;
  color: var(--navy); margin: 22px 0 30px; }
:lang(zh-HK) .sig { font-style: normal; font-size: 40px; }
.photo-tag { position: relative; border-radius: 6px; overflow: hidden; }
.photo-tag img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-tag .tag { position: absolute; left: 0; bottom: 0; background: var(--navy); color: #fff; display: flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase; padding: 12px 18px; }
:lang(zh-HK) .photo-tag .tag { letter-spacing: .15em; font-size: 13px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; gap: 40px; } }

/* Promise columns (in the slot SwissOfferten uses for reviews) */
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
.cols3 > li { border-top: 1px solid var(--navy); padding-top: 22px; }
.cols3 .i { color: var(--red); width: 28px; height: 28px; margin-bottom: 16px; }
.cols3 h3 { font-size: 22px; margin-bottom: 10px; }
.cols3 p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .cols3 { grid-template-columns: 1fr; } }

/* Dark split section (agents / property managers) */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.split h2 { font-size: clamp(34px, 3.8vw, 48px); margin-bottom: 24px; }
.split .lead { color: #cbd5e1; }
.navy .eyebrow { color: #fff; }
.ticks { display: grid; gap: 14px; margin: 28px 0 36px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks .i { color: #4ade80; width: 22px; height: 22px; }
.split .row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.split .link { color: #fff; }
.split img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split img { aspect-ratio: 4 / 3; } }

/* FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.7fr; gap: 48px; align-items: start; }
.faq h2 { font-size: clamp(28px, 2.6vw, 32px); }
.qa details { background: #fff; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 12px; }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px; font-size: 19px; font-weight: 600;
  color: var(--navy); cursor: pointer; list-style: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .i { width: 18px; height: 18px; transition: transform .15s; color: var(--muted); }
.qa details[open] summary .i { transform: rotate(180deg); }
.qa .ans { padding: 0 24px 22px; color: var(--muted); }
.qa .ans p:last-child { margin: 0; }
.qa + .link { margin-top: 18px; }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 24px; margin-bottom: 18px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 24px; } .qa summary { font-size: 17px; padding: 20px; } }

/* Final call to action and footer */
.final { background: var(--navy); color: #fff; padding: 120px 0 96px; }
.final h2 { color: #fff; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.06; max-width: 940px; margin-bottom: 40px; }
:lang(zh-HK) .final h2 { line-height: 1.2; }
.tagline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .25em;
  text-transform: uppercase; color: #8aa0b6; padding: 28px 0; border-bottom: 1px solid #1d3550; }
.ftr { background: var(--navy); color: #cbd5e1; font-size: 15px; padding-bottom: 40px; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; padding: 56px 0 48px; }
.ftr .logo { color: #fff; }
.ftr-about p { margin: 18px 0 22px; color: #9fb2c6; }
.ftr-contact li { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.ftr-contact .i { width: 16px; height: 16px; color: #9fb2c6; }
.ftr h4 { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.ftr-grid ul li { margin-bottom: 11px; }
.ftr a { color: #cbd5e1; text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-links { border-top: 1px solid #1d3550; padding: 32px 0 8px; }
.ftr-links h4 { font-size: 12px; color: #9fb2c6; margin-bottom: 10px; }
.ftr-links ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: 22px; }
.ftr-links ul a { color: #e5e7eb; }
.ftr-trust { border-top: 1px solid #1d3550; padding-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 13px; color: #9fb2c6; }
.ftr-trust li { display: flex; align-items: center; gap: 8px; }
.ftr-trust .i { width: 15px; height: 15px; }
.ftr-copy { font-size: 13px; color: #8aa0b6; margin-top: 22px; }
@media (max-width: 1000px) { .ftr-grid { grid-template-columns: 1fr 1fr; } .ftr-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .ftr-grid { grid-template-columns: 1fr; } .final { padding: 88px 0 72px; } }

/* Floating buttons, nudge bubble and the mobile bottom bar */
.fab { position: fixed; right: 24px; bottom: 28px; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.fab a, .fab button { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--navy); color: #fff;
  border: 0; cursor: pointer; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22), 0 8px 24px rgba(11, 31, 51, .25); text-decoration: none; }
.fab .totop { width: 44px; height: 44px; margin-right: 4px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.show-top .fab .totop { opacity: 1; pointer-events: auto; }
.fab .chat { width: 52px; height: 52px; }
.fab .chat .i { width: 26px; height: 26px; }
.nudge { position: fixed; right: 90px; bottom: 30px; z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 12px 32px rgba(11, 31, 51, .18); padding: 14px 40px 14px 18px; font-size: 15px; max-width: 290px; }
.nudge a { color: var(--ink); text-decoration: none; }
.nudge a strong { color: var(--navy); }
.nudge button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: #f3f4f6;
  color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.nudge button .i { width: 14px; height: 14px; }
.mbar { display: none; }
@media (max-width: 700px) {
  .fab { bottom: 92px; right: 16px; }
  .fab .chat { display: none; }
  .nudge { display: none; }
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
  .show-bar .mbar { transform: none; }
  .mbar .btn { width: 100%; }
}

/* Simple navy page header (no photo) */
.phead { background: var(--navy); color: #fff; padding: 72px 0 80px; }
.phead h1 { color: #fff; font-size: clamp(34px, 4.6vw, 56px); max-width: 900px; }
.phead .lead { color: #cbd5e1; margin: 20px 0 0; max-width: 760px; }
.phead .byline { color: #cbd5e1; font-size: 15px; margin: 16px 0 0; }
.phead .row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.phead .checks { margin-top: 28px; }

/* Lists and two-column content on service pages */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.list-check li { position: relative; padding: 0 0 12px 34px; }
.list-check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23166534' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-plus li { position: relative; padding: 0 0 12px 34px; color: var(--muted); }
.list-plus li::before { content: "+"; position: absolute; left: 4px; top: -1px; font-weight: 700; color: var(--soft); font-size: 18px; }
.box-title { font-size: 22px; margin-bottom: 20px; }
.chips-plain { display: flex; flex-wrap: wrap; gap: 10px; }
.chips-plain li { border: 1px solid var(--line); background: #fff; border-radius: 4px; padding: 8px 14px; font-size: 15px; }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; gap: 40px; } }

/* District index */
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.regions h2 { font-size: 22px; margin-bottom: 16px; }
.regions li { border-bottom: 1px solid var(--line); }
.regions a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; text-decoration: none; font-weight: 500; }
.regions a:hover { color: var(--red); }
.regions a .i { width: 16px; height: 16px; }
@media (max-width: 900px) { .regions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .regions { grid-template-columns: 1fr; } }

/* Long-form text (guides, privacy) */
.doc { padding: 64px 0 96px; }
.doc h2 { font-size: 26px; margin: 44px 0 14px; }
.doc h3 { font-size: 20px; margin: 28px 0 10px; }
.doc p, .doc li { color: #374151; }
.doc ul { list-style: disc; padding-left: 22px; margin: 0 0 1em; }
.doc ul li { margin-bottom: 8px; }
.doc .updated { color: var(--soft); font-size: 14px; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--navy); }
.note { background: var(--paper); border-left: 3px solid var(--navy); padding: 16px 20px; margin: 24px 0; color: var(--muted); font-size: 15px; }
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.guide-card { display: block; border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 28px; text-decoration: none; }
.guide-card .i { color: var(--red); margin-bottom: 18px; }
.guide-card h2 { font-size: 22px; margin-bottom: 10px; }
.guide-card p { color: var(--muted); margin: 0; }
.guide-card:hover h2 { text-decoration: underline; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr; } }

/* Partner pricing table and stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #1d3550; margin-top: 56px; }
.stats li { padding: 28px 24px 0 0; }
.stats b { display: block; font-size: clamp(30px, 3.4vw, 44px); color: #fff; line-height: 1.1; }
.stats span { color: #9fb2c6; font-size: 15px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 16px; }
.ptable th, .ptable td { padding: 16px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.ptable th { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); font-weight: 600; }
.ptable td:last-child, .ptable th:last-child { text-align: right; white-space: nowrap; font-weight: 700; color: var(--navy); }
@media (max-width: 600px) { .stats { grid-template-columns: 1fr; } }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 36px; box-shadow: 0 20px 48px rgba(11, 31, 51, .08); }
.field { margin-bottom: 20px; }
.field > label, fieldset > legend { display: block; font-weight: 600; font-size: 15px; color: var(--navy); margin-bottom: 8px; padding: 0; }
.opt { font-weight: 400; color: var(--soft); font-size: 14px; }
fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
input[type=text], input[type=tel], input[type=email], input[type=date], input[type=number], select, textarea {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: #fff; border: 1px solid #d1d5db; border-radius: 4px; padding: 13px 14px; }
select { appearance: none; padding-right: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 12px center/18px no-repeat; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .form-card { padding: 24px 18px; } }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #d1d5db; border-radius: 4px; padding: 10px 14px; font-size: 15px;
  cursor: pointer; background: #fff; user-select: none; }
.chips input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 8px 0 20px; }
.check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--navy); }
.check a { color: var(--navy); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b91c1c; font-size: 15px; font-weight: 600; margin: 0 0 14px; }
.done { text-align: center; padding: 24px 8px; }
.done .big { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-bg); color: var(--green-ink);
  display: flex; align-items: center; justify-content: center; }
.done .big .i { width: 32px; height: 32px; stroke-width: 2.5; }
.done h2 { font-size: 28px; margin-bottom: 12px; }
.done ol { text-align: left; max-width: 460px; margin: 20px auto 0; color: var(--muted); padding-left: 20px; }
.done ol li { margin-bottom: 8px; }

/* Multi-step quote form */
.quote-page { background: var(--paper); padding: 48px 0 96px; min-height: 70vh; }
.quote-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.progress { margin-bottom: 30px; }
.progress ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0; list-style: none; }
.progress li { font-size: 13px; font-weight: 600; color: var(--soft); border-top: 4px solid var(--line); padding-top: 10px; }
.progress li.on { color: var(--navy); border-color: var(--red); }
.qstep h2 { font-size: clamp(24px, 2.6vw, 30px); margin-bottom: 8px; }
.qstep .hint { color: var(--muted); margin-bottom: 24px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { position: relative; }
.tile input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tile span { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; border: 1px solid #d1d5db; border-radius: 6px; padding: 18px 16px;
  font-weight: 600; color: var(--navy); background: #fff; cursor: pointer; min-height: 100%; }
.tile span .i { width: 30px; height: 30px; stroke-width: 1.5; }
.tile small { font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.4; }
.tile input:checked + span { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); background: #fff7f6; }
.tile input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.tiles-sm { grid-template-columns: repeat(3, 1fr); margin-top: 12px; }
.tiles-sm span { flex-direction: row; align-items: center; padding: 12px 14px; font-size: 15px; }
.tiles-sm span .i { width: 22px; height: 22px; }
.seg { display: inline-flex; border: 1px solid #d1d5db; border-radius: 4px; overflow: hidden; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: block; padding: 11px 22px; font-weight: 600; cursor: pointer; border-right: 1px solid #d1d5db; background: #fff; }
.seg label:last-child span { border-right: 0; }
.seg input:checked + span { background: var(--navy); color: #fff; }
.seg input:focus-visible + span { outline: 2px solid var(--red); outline-offset: -3px; }
.gopt { display: flex; gap: 14px; align-items: flex-start; background: var(--green-bg); border: 1px solid var(--green-line); border-radius: 6px; padding: 18px; margin-bottom: 20px; cursor: pointer; }
.gopt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-ink); flex: none; }
.gopt b { color: var(--navy); display: block; }
.gopt small { color: var(--muted); font-size: 14px; }
.qnav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.qnav .back { background: none; border: 0; font: 600 16px var(--font); color: var(--navy); cursor: pointer; padding: 10px 0; display: inline-flex; align-items: center; gap: 6px; }
.qnav .back .i { transform: rotate(180deg); width: 18px; height: 18px; }
.qside { position: sticky; top: 104px; }
.qside .box { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; margin-bottom: 16px; }
.qside h3 { font-size: 17px; margin-bottom: 14px; }
.qside .ticks { margin: 0; gap: 12px; font-size: 15px; }
.qside .ticks .i { color: var(--green); width: 20px; height: 20px; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } .qside { position: static; } }
@media (max-width: 640px) { .tiles, .tiles-sm { grid-template-columns: 1fr 1fr; } .progress li { font-size: 0; } .quote-page { padding-top: 24px; } }

/* Cost calculator */
.calc { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.calc-out { background: var(--navy); color: #fff; border-radius: 6px; padding: 36px; position: sticky; top: 104px; }
.calc-out .lbl { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #9fb2c6; font-weight: 600; }
.calc-out .big { font-size: clamp(32px, 3.6vw, 44px); font-weight: 700; margin: 8px 0 12px; letter-spacing: -0.01em; }
.calc-out p { color: #cbd5e1; font-size: 15px; }
.calc-out .btn { width: 100%; margin-top: 12px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-out { position: static; } }

/* Small first line of the home H1, naming what the site does above the slogan. */
.hero h1 .kicker { display: block; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: .02em; color: rgba(255, 255, 255, .86); margin-bottom: 14px; }
.quote-h1 { font-size: clamp(24px, 2.6vw, 30px); margin: 0 0 18px; }

/* Price table on service pages (the partner pricing table's style), and related guides. */
.prices { max-width: 640px; }
.rel-guides { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.print-btn { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
@media print {
  .hdr, .mnav, .ftr, .fab, .nudge, .final, .crumbs, .btn, .no-print, .doc .link { display: none !important; }
  .phead { background: #fff; color: #000; padding: 0 0 12px; }
  .phead h1, .phead .lead, .phead .byline { color: #000; }
  .doc { padding: 0; }
  .doc h2 { margin-top: 20px; break-after: avoid; }
}
