/* HomezyPro redesign (18 Oct 2026). Loaded last (src/layouts/Base.astro) so it layers over the ported
   stylesheets without editing them. Plan: docs/REDESIGN-PLAN.md.
   Brand: green #0e5e3f, ink #1b2120, paper #f3f0e9; one warm accent (terracotta) for CTAs and highlights;
   trade colours = the home map's dot colours (light fills) with darker inks for icons and text. */

:root {
  --paper: #f3f0e9;
  --paper-deep: #ebe6db;
  --surface: #fbf9f4;
  --white: #fff;
  --ink: #1b2120;
  --ink-soft: #343b39;
  --muted: #4f5853;
  --faint: #5f6863;
  --rule: #e4ded2;
  --rule-strong: #c9c1b1;
  --green: #0e5e3f;
  --green-ink: #0b3d2a;
  --green-deep: #0a3526;
  --green-mid: #2f7d5b;
  --sage: #b9d3c2;
  --green-tint: #e2ece5;
  --green-tint-2: #cfe0d5;
  --accent: #b4502a;
  --accent-hover: #9a4322;
  --apricot: #f4b183;
  --apricot-tint: #fbe3d0;
  --focus: #0e5e3f;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-1: 0 1px 2px rgba(27, 33, 32, .05), 0 6px 18px -8px rgba(27, 33, 32, .14);
  --shadow-2: 0 2px 4px rgba(27, 33, 32, .06), 0 18px 40px -16px rgba(27, 33, 32, .28);
  --shadow: var(--shadow-1);
  --section-gap: clamp(56px, 8vw, 104px);
  --t-aircon: #f3c871; --t-aircon-ink: #8a5a00;
  --t-plumbing: #83c9ed; --t-plumbing-ink: #1d6a93;
  --t-electrician: #c1b2f1; --t-electrician-ink: #5b46a8;
  --t-handyman: #84d7bc; --t-handyman-ink: #1f7a5c;
  --t-cleaning: #f1a6b7; --t-cleaning-ink: #a33d58;
  --trade: var(--sage); --trade-ink: var(--green);
}
[data-trade="aircon"] { --trade: var(--t-aircon); --trade-ink: var(--t-aircon-ink); }
[data-trade="plumbing"] { --trade: var(--t-plumbing); --trade-ink: var(--t-plumbing-ink); }
[data-trade="electrician"] { --trade: var(--t-electrician); --trade-ink: var(--t-electrician-ink); }
[data-trade="handyman"] { --trade: var(--t-handyman); --trade-ink: var(--t-handyman-ink); }
[data-trade="cleaning"] { --trade: var(--t-cleaning); --trade-ink: var(--t-cleaning-ink); }

html { background: var(--paper); }
body { background: var(--paper); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }
html { overflow-x: clip; }
body { overflow-x: clip; }
img, svg { max-width: 100%; }

/* ---------- Focus, motion ---------- */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, [tabindex]:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
input[type="radio"]:focus-visible + span, input[type="checkbox"]:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 999px; }
.foot :focus-visible, .home-hero :focus-visible, .home-explorer .home-map-card :focus-visible, .callbar :focus-visible { outline-color: var(--apricot); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Type ---------- */
h1, h2, h3 { text-wrap: balance; }
.kicker { font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .12em; color: var(--green); text-transform: uppercase; }
.note, .byline, .method { font-size: .875rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn { border-radius: 999px; min-height: 46px; padding: 0 20px; font-weight: 600; font-size: .95rem; gap: 8px; transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s; }
.btn-solid { background: var(--green); border-color: var(--green); color: #fff; }
.btn-solid:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn-accent, a.btn-accent { background: var(--accent); border: 1px solid var(--accent); color: #fff; }
.btn-accent:hover, a.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.whatsapp-button, a.btn.whatsapp-button { background: #fff; border: 1px solid var(--green); color: var(--green-ink); }
.whatsapp-button:hover, a.btn.whatsapp-button:hover { background: var(--green-tint); color: var(--green-ink); }

/* ---------- Header ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(251, 249, 244, .94); -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--rule); box-shadow: none; }
.top-inner { min-height: 68px; gap: 20px; flex-wrap: nowrap; }
.global-search { border-radius: 999px; background: #fff; border-color: var(--rule); height: 46px; box-shadow: inset 0 1px 2px rgba(27, 33, 32, .04); }
.search-submit { border-radius: 999px; background: var(--accent); width: 38px; }
.search-submit:hover { background: var(--accent-hover); }
.nav-shell { border-top: 1px solid var(--rule); gap: 24px; }
.nav { gap: 6px; margin: 0 -10px; }
.nav a { font-size: .9rem; font-weight: 500; color: var(--ink-soft); min-height: 46px; padding: 0 10px; border-bottom: 3px solid transparent; border-radius: 0; }
.nav a .nav-ic { width: 1.15rem; height: 1.15rem; color: var(--trade-ink); opacity: 1; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--trade); background: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; border-bottom-color: var(--accent); background: none; }
.nav-secondary { display: flex; gap: 20px; }
.nav-secondary a { font-size: .875rem; color: var(--muted); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.nav-secondary a:hover, .nav-secondary a[aria-current] { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }

/* Menu: <details> panel, mobile only */
.site-menu { display: none; position: static; border: 0; padding: 0; margin: 0; background: none; }
.menu-button { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 13px; border-radius: 999px; border: 1px solid var(--rule-strong); background: #fff; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; }
.menu-button::-webkit-details-marker { display: none; }
.menu-button .ic { width: 20px; height: 20px; }
.menu-close-ic { display: none; }
.site-menu[open] .menu-open-ic { display: none; }
.site-menu[open] .menu-close-ic { display: block; }
.site-menu[open] .menu-button { background: var(--green); border-color: var(--green); color: #fff; }
.menu-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--rule); box-shadow: 0 24px 40px -20px rgba(27, 33, 32, .35); padding: 18px var(--pad) 24px; max-height: calc(100vh - 70px); max-height: calc(100dvh - 70px); overflow-y: auto; overscroll-behavior: contain; }
.menu-panel:focus { outline: none; }
.menu-heading { font-family: var(--mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 18px 0 10px; }
.menu-search .hero-quick-form { margin: 0; }
.menu-query { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--rule-strong); border-radius: 999px; padding: 0 5px 0 16px; min-height: 50px; color: var(--muted); }
.menu-query input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); height: 46px; }
.menu-query input:focus-visible { outline: none; }
.menu-query:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(14, 94, 63, .2); }
.menu-search-go { width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.menu-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.menu-tile { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 12px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 600; }
.menu-tile:hover { border-color: var(--trade-ink); }
.menu-tile[aria-current="page"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.menu-tile-icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--trade); color: var(--ink); flex: none; }
.menu-tile-icon .ic { width: 22px; height: 22px; }
.menu-tiles li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.menu-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.menu-links a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; font-weight: 500; }
.menu-links .ic { width: 16px; color: var(--muted); }
.menu-note { display: flex; gap: 8px; align-items: center; font-size: .875rem; color: var(--muted); margin: 16px 0 0; }
.menu-note .ic { width: 18px; color: var(--green); flex: none; }

@media (max-width: 899px) {
  .top { position: sticky; }
  .top-inner { min-height: 64px; padding: 8px 0; gap: 12px; flex-wrap: nowrap; position: static; }
  .top .global-search, .nav-shell { display: none; }
  .site-menu { display: block; margin-left: auto; }
  .brand .brand-logo { height: 30px; width: auto; }
  html.menu-open { overflow: hidden; }
}

/* ---------- Crumbs ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin: 22px 0 22px; }

/* ---------- Home: hero ---------- */
.home-page main.wrap { padding-top: 22px; }
.home-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 0; align-items: stretch; margin: 0 0 18px; background: var(--green-deep); color: #f3f0e9; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); min-height: 0; border: 0; padding: 0; }
.home-hero-copy { padding: clamp(28px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.home-hero-eyebrow { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; color: var(--apricot); margin: 0 0 18px; }
.home-hero-eyebrow .ic { width: 16px; height: 16px; }
.home-hero h1 { font-family: var(--serif); font-weight: 560; font-size: clamp(2.3rem, 1.3rem + 3.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.035em; margin: 0; color: #fbf9f4; max-width: 13ch; }
.home-hero h1 em { display: block; font-style: italic; font-weight: 420; color: var(--apricot); }
.home-hero-dek { font-size: 1.1rem; line-height: 1.6; color: #d9e6dd; max-width: 46ch; margin: 18px 0 26px; }
.home-hero .hero-search-card { background: none; border: 0; box-shadow: none; padding: 0; margin: 0; width: auto; max-width: 560px; color: inherit; border-radius: 0; }
.home-hero .hero-search-card::before { display: none; }
.home-hero .hero-quick-form { display: block; margin: 0; }
.home-hero .hero-quick-form > label { display: block; font-weight: 600; font-size: .95rem; color: #fbf9f4; margin: 0 0 10px; }
.home-hero .hero-query-wrap { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; color: var(--muted); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .45); border: 0; height: auto; }
.home-hero .hero-query-wrap > .ic { width: 20px; height: 20px; flex: none; }
.home-hero .hero-query-wrap input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 1.0625rem; height: 48px; color: var(--ink); padding: 0 4px; }
.home-hero .hero-query-wrap input:focus-visible { outline: none; }
.home-hero .hero-query-wrap:focus-within { box-shadow: 0 0 0 3px var(--apricot), 0 12px 30px -12px rgba(0, 0, 0, .45); }
.home-hero .hero-query-wrap .btn { min-height: 48px; flex: none; margin: 0; width: auto; }
.hero-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; }
.hero-popular > span { font-size: .85rem; color: #c4d6ca; margin-right: 2px; }
.home-hero .hero-popular a { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px 0 10px; border-radius: 999px; background: rgba(251, 249, 244, .1); border: 1px solid rgba(251, 249, 244, .22); color: #fbf9f4; text-decoration: none; font-size: .9rem; font-weight: 500; }
.home-hero .hero-popular a .ic { width: 18px; height: 18px; color: var(--trade); }
.home-hero .hero-popular a:hover { background: rgba(251, 249, 244, .2); border-color: var(--trade); }
.home-hero .hero-search-foot { display: flex; align-items: center; justify-content: flex-start; gap: 8px; margin: 22px 0 0; font-size: .875rem; color: #c4d6ca; border: 0; padding: 0; }
.hero-search-foot .ic { width: 17px; color: var(--apricot); }
.home-hero-art { position: relative; display: flex; align-items: flex-end; background: linear-gradient(180deg, #fbf9f4 0%, #fbe3d0 70%, #fbe3d0 100%); }
.home-hero-art picture { display: block; width: 100%; }
.home-hero-art img { display: block; width: 100%; height: auto; }
@media (max-width: 899px) {
  .home-hero { grid-template-columns: 1fr; border-radius: var(--r-md); }
  .home-hero-art { order: -1; aspect-ratio: 16 / 8; min-height: 0; overflow: hidden; }
  .home-hero-art img { height: 100%; object-fit: cover; object-position: 50% 80%; }
  .home-hero-copy { padding: 24px 20px 26px; }
  .home-hero h1 { max-width: none; }
  .home-hero-dek { margin: 14px 0 20px; font-size: 1rem; }
}
@media (max-width: 520px) {
  .home-hero .hero-query-wrap { flex-wrap: wrap; border-radius: 22px; padding: 6px; }
  .home-hero .hero-query-wrap > .ic { margin-left: 10px; }
  .home-hero .hero-query-wrap input { flex-basis: 60%; }
  .home-hero .hero-query-wrap .btn { width: 100%; justify-content: center; }
}

/* Trust strip */
.home-trust { margin: 0 0 var(--section-gap); }
.home-trust ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-trust li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-sm); font-size: .925rem; line-height: 1.5; color: var(--muted); }
.home-trust li .ic { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }
.home-trust strong { color: var(--ink); display: block; font-size: 1rem; }
@media (max-width: 759px) { .home-trust ul { grid-template-columns: 1fr; gap: 8px; } .home-trust li { padding: 12px 14px; } }

/* Section heads */
.section-head { margin: 0 0 24px; }
.section-head h2, .how-steps h2, .home-explorer h2, .quick-services h2, .guide-discovery > h2 { font-family: var(--serif); font-weight: 560; font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); line-height: 1.12; letter-spacing: -.025em; margin: 0; }

/* Trade tiles */
.trade-tiles { margin: 0 0 var(--section-gap); }
.trade-tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.trade-tile-grid li { grid-column: span 2; }
.trade-tile-grid li:nth-child(4) { grid-column: 2 / span 2; }
.trade-tile-grid li:nth-child(5) { grid-column: 4 / span 2; }
.trade-tile { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s, border-color .2s; }
.trade-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--trade-ink); }
.trade-tile-art { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border-bottom: 4px solid var(--trade); }
.trade-tile-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.trade-tile:hover .trade-tile-art img { transform: scale(1.04); }
.trade-tile-body { display: flex; align-items: center; gap: 14px; padding: 16px 18px 18px; }
.trade-tile-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--trade); display: grid; place-items: center; flex: none; color: var(--ink); }
.trade-tile-icon .ic { width: 24px; height: 24px; }
.trade-tile-text { display: grid; gap: 2px; min-width: 0; }
.trade-tile-text strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 560; letter-spacing: -.01em; line-height: 1.2; }
.trade-tile-text span { font-size: .875rem; color: var(--muted); line-height: 1.45; }
.trade-tile-go { width: 22px; height: 22px; margin-left: auto; color: var(--trade-ink); flex: none; transition: transform .2s; }
.trade-tile:hover .trade-tile-go { transform: translateX(3px); }
@media (max-width: 899px) {
  .trade-tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .trade-tile-grid li, .trade-tile-grid li:nth-child(4), .trade-tile-grid li:nth-child(5) { grid-column: auto; }
  .trade-tile-grid li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .trade-tile-grid { grid-template-columns: 1fr; gap: 10px; }
  .trade-tile { flex-direction: row; align-items: stretch; }
  .trade-tile-art { width: 104px; flex: none; aspect-ratio: auto; border-bottom: 0; border-right: 4px solid var(--trade); }
  .trade-tile-body { padding: 12px 14px; gap: 10px; }
  .trade-tile-icon { display: none; }
  .trade-tile-text strong { font-size: 1.15rem; }
  .trade-tile-text span { font-size: .8125rem; }
}

/* How it works steps */
.how-steps { margin: 0 0 var(--section-gap); padding: clamp(24px, 4vw, 44px); background: var(--apricot-tint); border-radius: var(--r-lg); position: relative; }
.how-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.how-steps li { position: relative; background: #fff; border-radius: var(--r-md); padding: 22px 22px 20px; box-shadow: var(--shadow-1); }
.step-n { position: absolute; top: 16px; right: 20px; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--apricot); font-weight: 600; }
.step-ic { width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.step-ic .ic { width: 22px; height: 22px; }
.how-steps h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 560; margin: 0 0 6px; }
.how-steps p { margin: 0; color: var(--muted); font-size: .95rem; line-height: 1.55; }
.how-steps-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--accent-hover); font-weight: 600; text-decoration: none; }
.how-steps-link:hover { text-decoration: underline; }
.how-steps-link .ic { width: 18px; }
@media (max-width: 759px) { .how-steps ol { grid-template-columns: 1fr; gap: 10px; } .how-steps li { padding: 16px 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; } .step-ic { grid-row: span 2; margin: 0; } .how-steps h3 { font-size: 1.15rem; } .step-n { font-size: 1.6rem; top: 12px; right: 14px; } }

/* Map section (restyle only) and price strip */
.home-explorer { border-radius: var(--r-lg); border-color: var(--rule); box-shadow: var(--shadow-1); margin-bottom: var(--section-gap); }
.home-map-card { border-radius: var(--r-md); }
.map-filters button { border-radius: 999px; min-height: 42px; }
.map-filters button[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.quick-services { margin-bottom: var(--section-gap); }
.quick-trades { border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); }
.quick-trade { position: relative; }
.quick-trade::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--trade, var(--sage)); }
[data-quick-trade="aircon"] { --trade: var(--t-aircon); --trade-ink: var(--t-aircon-ink); }
[data-quick-trade="plumbing"] { --trade: var(--t-plumbing); --trade-ink: var(--t-plumbing-ink); }
[data-quick-trade="electrician"] { --trade: var(--t-electrician); --trade-ink: var(--t-electrician-ink); }
[data-quick-trade="handyman"] { --trade: var(--t-handyman); --trade-ink: var(--t-handyman-ink); }
[data-quick-trade="cleaning"] { --trade: var(--t-cleaning); --trade-ink: var(--t-cleaning-ink); }
.quick-trade-icon { color: var(--trade-ink); }
/* No star glyphs (rating rule): the price strip's star icon is hidden; the figure stays. */
.quick-rating > .ic { display: none; }
.quick-trade-footer a { color: var(--accent-hover); }

/* Guide cards (home, guides, blog) with trade art */
.guide-discovery { margin-top: var(--section-gap); }
.guide-card { position: relative; overflow: hidden; border-radius: var(--r-md); border: 1px solid var(--rule); background: #fff; box-shadow: var(--shadow-1); transition: transform .2s, box-shadow .2s, border-color .2s; }
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--trade-ink); }
.guide-card .card-art { display: block; margin: -1px -1px 14px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface); border-bottom: 4px solid var(--trade); }
.guide-card .card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-card > span:not(.card-art) { color: var(--trade-ink); font-weight: 600; }
.guide-card b { color: var(--accent-hover); }
.guide-card-grid { gap: 18px; }
.guide-card:has(.card-art) { padding-top: 0; }
.guide-card .card-art { margin-left: -22px; margin-right: -22px; }

/* ---------- Footer ---------- */
.foot { background: var(--green-deep); color: #d9e6dd; border-top: 0; margin-top: 24px; padding: clamp(40px, 6vw, 72px) 0 28px; }
.foot a { color: #f3f0e9; }
.foot a:hover { color: var(--apricot); }
.foot .brand-logo .hz-homezy { fill: #fbf9f4; }
.foot .brand-logo .hz-mark, .foot .brand-logo .hz-pro { fill: var(--apricot); }
.foot .brand:hover .brand-logo .hz-homezy { fill: #fff; }
.foot-inner { display: block; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding-bottom: 36px; border-bottom: 1px solid rgba(243, 240, 233, .16); }
.foot-brand p { color: #c4d6ca; font-size: .95rem; }
.foot .foot-note { color: #a9c0b1; font-size: .875rem; }
.foot-col h2, .foot-guides-title { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--apricot); margin: 0 0 14px; font-weight: 500; }
.foot-col ul { gap: 4px; }
.foot-col li { font-size: .95rem; }
.foot-col a { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; text-decoration: none; }
.foot-jobs .ic { width: 18px; height: 18px; color: var(--trade); }
.foot-guides-wrap { padding: 30px 0; border-bottom: 1px solid rgba(243, 240, 233, .16); }
.footer-guides { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px 20px; border: 0; margin: 0; padding: 0; }
.footer-guides details { border: 0; border-top: 0; padding: 0; }
.footer-guides summary { display: flex; justify-content: flex-start; align-items: center; gap: 8px; min-height: 44px; color: #fbf9f4; font-weight: 600; font-size: .925rem; cursor: pointer; list-style: none; border-bottom: 1px solid rgba(243, 240, 233, .12); }
.footer-guides summary::-webkit-details-marker { display: none; }
.footer-guides summary::after { content: ""; width: 7px; height: 7px; margin-left: auto; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .2s; }
.footer-guides details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.footer-guides summary .ic { width: 18px; height: 18px; color: var(--trade); flex: none; }
.footer-guides ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.footer-guides li a { font-size: .875rem; color: #c4d6ca; text-decoration: none; display: block; padding: 4px 0; }
.footer-guides li a:hover { color: var(--apricot); text-decoration: underline; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 30px; padding-top: 22px; font-size: .85rem; color: #a9c0b1; }
.foot-bottom p { margin: 0; }
.foot .foot-line, .footer-logo-ownership { color: #a9c0b1; border: 0; padding: 0; margin: 0; font-size: .85rem; }
.footer-logo-ownership a { color: #f3f0e9; }
@media (max-width: 899px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .footer-guides { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-top { grid-template-columns: 1fr; }
  .footer-guides { grid-template-columns: 1fr; }
}

/* ---------- Hub (directory) ---------- */
.directory-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: center; padding: clamp(22px, 4vw, 40px); margin-bottom: 28px; border: 0; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); overflow: hidden; }
.directory-hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: var(--trade); }
.directory-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); letter-spacing: -.035em; }
.directory-hero h1 em { color: var(--trade-ink); }
.directory-hero[data-trade="all"] h1 em { color: var(--green); }
.directory-hero > div > p:not(.kicker) { font-size: 1rem; color: var(--muted); }
.directory-hero .kicker { color: var(--trade-ink); }
.directory-hero:has(.directory-hero-art) { grid-template-columns: minmax(0, 1fr) 260px; }
.directory-hero-art { grid-row: span 2; align-self: stretch; border-radius: var(--r-md); overflow: hidden; background: var(--surface); }
.directory-hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stamp { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-sm); justify-self: start; }
.stamp-icon { background: var(--trade); color: var(--ink); }
.guide-jump { color: var(--accent-hover); font-weight: 600; }
@media (max-width: 759px) {
  .directory-hero, .directory-hero:has(.directory-hero-art) { grid-template-columns: 1fr; padding: 20px 18px; border-radius: var(--r-md); }
  .directory-hero-art { display: none; }
  .hero-stamp { padding: 10px 14px; }
}

/* Filters */
.filters { border-radius: var(--r-md); }
.filter-search input, .filters select { border-radius: 10px; border-color: var(--rule-strong); min-height: 44px; font-size: .95rem; }
.filters-head h2 { font-size: .95rem; }
.filter-check { font-size: .9rem; min-height: 40px; }
.filter-check small { font-size: .8rem; }
.filters legend { font-size: .85rem; font-weight: 600; }
.rating-chips { border: 0; padding: 14px 0 6px; margin: 4px 0 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.rating-chips[hidden] { display: none; }
.rating-chips legend { padding: 0 0 8px; font-size: .85rem; font-weight: 600; width: 100%; }
.rating-chips label { position: relative; cursor: pointer; }
.rating-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-chips label > span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--rule-strong); background: #fff; font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.rating-chips input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.rating-chips label:hover > span { border-color: var(--green); }
.filters fieldset.rating-chips { border-bottom: 0; padding: 14px 0 6px; margin: 4px 0 0; }
.filter-categories a .ic:first-child { color: var(--green); }
.results-toolbar h2 { font-size: 1.15rem; }
.results-toolbar p, .results-method { font-size: .85rem; }
.sort-control, .sort-control select { font-size: .85rem; }

/* Mobile: sticky filter bar under the header */
@media (max-width: 639px) {
  .directory-layout .filters { position: sticky; top: 64px; z-index: 15; background: var(--surface); margin: 0 calc(var(--pad) * -1) 14px; padding: 8px var(--pad); border-bottom: 1px solid var(--rule); border-radius: 0; box-shadow: 0 8px 16px -14px rgba(27, 33, 32, .4); }
  .directory-layout .filters-head { margin: 0; }
  .directory-layout .filters-head h2 { display: none; }
  .directory-layout .filter-toggle { min-height: 44px; border-radius: 999px; padding: 0 16px; background: #fff; border: 1px solid var(--rule-strong); font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; }
  .directory-layout .filters-head button[data-reset] { font-size: .875rem; }
  .directory-layout .filter-content:not([hidden]) { max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; overscroll-behavior: contain; padding: 4px 2px 12px; }
}

/* Company cards: compact head row, price and CTAs on the right (desktop) */
.business-card { border-radius: var(--r-md); border-color: var(--rule); box-shadow: var(--shadow-1); transition: box-shadow .2s, border-color .2s, transform .2s; }
.business-card:hover { box-shadow: var(--shadow-2); border-color: var(--rule-strong); }
body .business-card article { padding: 18px 20px !important; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
body .business-card article .business-highlights, body .business-card article .business-price > div { display: contents; }
.business-top { gap: 12px; }
.business-identity { display: flex; align-items: center; gap: 14px; min-width: 0; }
.business-identity .listing-logo, .compact-identity .listing-logo { width: 56px; height: 56px; flex: none; border-radius: 14px; }
.business-category { font-size: .8125rem; color: var(--muted); margin: 0 0 2px; }
.business-card h2 { font-size: 1.2rem; line-height: 1.3; }
/* Card rating: restyled as one sourced line ("4.9 / 5 Google Maps · 3,126 reviews"); text unchanged. */
body .business-card .average-rating, body .compact-company .average-rating { margin: 0 !important; border: 0; background: none; padding: 0; height: auto; display: block; overflow: visible; }
body .business-card .average-main, body .compact-company .average-main { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; padding: 0 !important; background: none; border: 0; min-height: 24px !important; height: auto; text-decoration: none; color: var(--ink-soft); font-size: .9rem; }
body .business-card .average-main > .ic, body .compact-company .average-main > .ic { display: none; }
body .business-card .average-score, body .compact-company .average-score { display: inline-flex; align-items: baseline; gap: 2px; background: none; padding: 0 !important; border-radius: 0; color: var(--ink); }
body .business-card .average-score strong, body .compact-company .average-score strong { font-family: var(--sans); font-size: 1rem !important; letter-spacing: 0; font-weight: 700; color: var(--green-ink); }
body .business-card .average-score > span, body .compact-company .average-score > span { font-size: .85rem !important; color: var(--muted); }
body .business-card .average-copy, body .compact-company .average-copy { display: inline-flex; flex-direction: row; flex-wrap: wrap; gap: 0 6px; align-items: baseline; }
body .business-card .average-copy .average-label, body .compact-company .average-copy .average-label { font-size: .9rem; color: var(--muted); }
body .business-card .average-score + .average-copy .average-label::after, body .compact-company .average-score + .average-copy .average-label::after { content: " ·"; }
body .business-card .average-copy > strong, body .compact-company .average-copy > strong { font-size: .9rem; font-weight: 500; color: var(--ink-soft); }
body .business-card .average-copy > span:last-child, body .compact-company .average-copy > span:last-child { font-size: .9rem; }
body .business-card .average-main:hover, body .compact-company .average-main:hover { background: none; color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
body .business-card .average-rating-empty, body .compact-company .average-rating-empty { min-height: 0; padding: 0; }
.business-price { padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--rule); display: grid; gap: 2px; align-content: start; }
.business-price .price-eyebrow { font-size: .72rem; letter-spacing: .08em; color: var(--muted); }
.business-price strong { font-size: 1.15rem; color: var(--green-ink); }
.business-price .price-context { font-size: .8125rem; color: var(--muted); }
.coverage-badges span { border-radius: 999px; font-size: .8rem; padding: 3px 10px; background: var(--green-tint); color: var(--green-ink); border: 0; }
.business-offer .price-eyebrow { font-size: .72rem; }
.business-offer p, .business-fit { font-size: .9rem; color: var(--ink-soft); margin: 2px 0 0; }
.business-bottom { border-top: 0; padding: 0; gap: 10px; flex-wrap: wrap; }
.profile-link { font-size: .9rem; color: var(--green); min-height: 44px; }
.business-contact { gap: 8px; }
.business-contact a { min-height: 40px; border-radius: 999px; font-size: .875rem; font-weight: 600; padding: 0 16px; border-color: var(--rule-strong); color: var(--ink); }
.business-contact a:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.business-contact a:first-child:hover { background: var(--accent-hover); }
.business-contact a:last-child:not(:first-child) { background: #fff; border-color: var(--green); color: var(--green-ink); }
body .business-card article > *, body .business-card article .business-highlights > * { margin: 0 !important; height: auto !important; }
body .business-card .average-rating { order: 1; }
body .business-card .coverage-badges { order: 2; }
body .business-card .business-price { order: 3; }
body .business-card .business-offer, body .business-card .business-fit { order: 4; }
body .business-card .business-bottom { order: 5; }
body .business-card .business-offer p, body .compact-company .compact-offerings { font-size: .9rem; line-height: 1.55; }
body .business-card .business-offer a { min-height: 0; }
@media (max-width: 759px) {
  body .business-card article { padding: 16px !important; gap: 10px; }
  body .business-card .business-price { padding: 10px 12px; }
  body .business-card .business-price strong { font-size: 1.05rem; }
}
@media (min-width: 760px) {
  body .business-card article { grid-template-columns: minmax(0, 1fr) 230px; grid-template-areas: "top price" "rating price" "badges bottom" "offer bottom"; grid-template-rows: auto 1fr auto auto; column-gap: 22px; row-gap: 6px; align-items: start; }
  body .business-card article > *, body .business-card article .business-highlights > * { margin: 0 !important; height: auto !important; }
  body .business-card .business-bottom { align-self: end; }
  .business-top { grid-area: top; }
  body .business-card article .average-rating { grid-area: rating; padding-left: 70px; align-self: start; }
  .business-card .coverage-badges { grid-area: badges; padding-left: 70px; }
  .business-offer, .business-fit { grid-area: offer; padding-left: 70px; }
  .business-price { grid-area: price; }
  .business-bottom { grid-area: bottom; flex-direction: column; align-items: stretch; }
  .business-bottom .profile-link { justify-content: center; }
  .business-contact { width: 100%; }
  .business-contact a { flex: 1; }
}
/* Compact "other companies" rows */
.compact-list { gap: 10px; }
.compact-company { border-radius: var(--r-sm); border-color: var(--rule); box-shadow: none; background: #fff; }
.compact-company:hover { border-color: var(--rule-strong); box-shadow: var(--shadow-1); }
.compact-company article { padding: 14px 16px; gap: 8px; }
body .compact-company .compact-highlights { gap: 10px 16px; align-items: center; margin: 4px 0; }
body .compact-company .compact-highlights > * { height: auto; }
.compact-company .listing-logo { width: 44px; height: 44px; border-radius: 12px; }
.compact-company h3 { font-size: 1.05rem; }
.compact-company .business-price { padding: 8px 12px; }
.compact-actions a { font-size: .875rem; min-height: 40px; }
.compact-actions a:first-child { color: var(--green); font-weight: 600; }

/* ---------- Best-of ---------- */
.best-of-top { list-style: none; margin: 18px 0 14px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.best-of-top > li { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 22px 20px 20px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-1); border-top: 6px solid var(--trade); }
.best-of-top > li:first-child { background: linear-gradient(180deg, var(--apricot-tint), #fff 60%); }
.best-of-top .best-of-rank { position: absolute; top: 14px; right: 16px; font-family: var(--serif); font-size: 2.8rem; line-height: 1; font-weight: 600; color: var(--accent); background: none; width: auto; height: auto; }
.best-of-top .listing-logo { width: 64px !important; height: 64px !important; border-radius: 16px; flex: none; }
.best-of-top > li > div { display: grid; gap: 6px; }
.best-of-top > li > div > a:first-child { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; font-weight: 560; color: var(--ink); text-decoration: none; }
.best-of-top > li > div > a:first-child:hover { color: var(--green); text-decoration: underline; }
.best-of-top > li > div > span { font-size: .9rem; color: var(--muted); }
.best-of-list { margin-top: 0; }
.best-of-list li { border-radius: var(--r-sm); }
.best-of-method { margin: 28px 0; padding: 0; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--rule); }
.best-of-method > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 0 20px; cursor: pointer; }
.best-of-method > summary::-webkit-details-marker { display: none; }
.best-of-method > summary .ic { width: 20px; transition: transform .2s; }
.best-of-method[open] > summary .ic { transform: rotate(180deg); }
.best-of-method > ul, .best-of-method > p { margin: 0 20px 18px; }
@media (max-width: 759px) { .best-of-top { grid-template-columns: 1fr; gap: 10px; } .best-of-top > li { flex-direction: row; align-items: center; padding: 16px; } .best-of-top .listing-logo { width: 52px; height: 52px; } .best-of-top .best-of-rank { font-size: 2rem; top: 10px; right: 12px; } .best-of-top > li > div { padding-right: 34px; } }

/* ---------- Company profile ---------- */
.company-masthead, .compact-profile-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 32px; align-items: start; padding: clamp(20px, 3.5vw, 34px); margin: 0 0 22px; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-lg); box-shadow: var(--shadow-1); overflow: hidden; }
.company-masthead::before, .compact-profile-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--trade); }
.compact-profile-hero { grid-template-columns: minmax(0, 1fr); }
/* QA PR #2 recheck P1-1: live's "Example service price" panel beside the rating panel, restyled; the
   Call/WhatsApp buttons sit under it on wide screens (the sticky callbar takes over below 900 px). */
.masthead-side { display: grid; gap: 14px; align-content: start; width: 300px; max-width: 100%; }
body.company-page .company-masthead .price-snapshot { margin: 0; background: var(--green-tint); border: 1px solid var(--green-tint-2); border-radius: var(--r-md); color: var(--ink); }
body.company-page .company-masthead .price-snapshot:hover { background: var(--green-tint); border-color: var(--sage); }
body.company-page .company-masthead .price-snapshot .kicker { color: var(--green-ink); }
body.company-page .company-masthead .price-snapshot > strong { font-family: var(--serif); color: var(--green-ink); }
body.company-page .company-masthead .price-snapshot > span:not(.kicker) { color: var(--ink-soft); }
body.company-page .company-masthead .price-snapshot .snapshot-link { color: var(--green); border-top-color: var(--green-tint-2); min-height: 24px; }
.masthead-side .masthead-contact { min-width: 0; }
@media (max-width: 899px) { .masthead-side { width: auto; } }
/* Follow-up 20 Oct: at 900 px and up the price panel's top lines up with the rating panel, as on live.
   The main column's wrapper is transparent to the masthead grid and the side column (price, then Call/WhatsApp)
   starts on the rating row; below 900 px they stack as before. */
@media (min-width: 900px) {
  body .company-masthead { grid-template-rows: auto auto auto auto 1fr; }
  body .company-masthead > .masthead-main { display: contents; }
  body .company-masthead .company-name-line { grid-column: 1; grid-row: 1; }
  body .company-masthead .average-rating-large { grid-column: 1; grid-row: 2; margin: 0; align-self: start; }
  body .company-masthead .company-intro { grid-column: 1; grid-row: 3; margin: 0; align-self: start; }
  body .company-masthead .company-actions { grid-column: 1; grid-row: 4; margin: 0; align-self: start; }
  body .company-masthead > .masthead-side { grid-column: 2; grid-row: 2 / -1; align-self: start; width: auto; }
}
.company-name-line { display: flex; align-items: center; gap: 18px; }
.company-name-line .company-logo-large, .company-name-line .company-logo { margin: 0; flex: none; }
.company-name-line .listing-logo-large { width: 76px; height: 76px; border-radius: 18px; font-size: 1.4rem; }
.company-name-line .company-logo-large { display: grid; justify-items: center; gap: 4px; max-width: 120px; }
.company-logo-large figcaption { margin: 0; max-width: 120px; font-size: .72rem; line-height: 1.35; color: var(--muted); text-align: center; }
.company-logo-large figcaption a { color: var(--green); }
.company-trade { color: var(--trade-ink); font-weight: 600; font-size: .9rem; text-decoration: none; }
.company-trade:hover { text-decoration: underline; }
.company-masthead h1, .compact-profile-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.7rem); line-height: 1.1; margin: 2px 0 0; letter-spacing: -.03em; }
.company-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.company-pill { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border-radius: 999px; background: var(--green-tint); color: var(--green-ink); font-size: .85rem; font-weight: 500; }
.company-pill .ic { width: 15px; height: 15px; }
.masthead-main > .average-rating-large, .compact-profile-hero > .average-rating-large { margin: 16px 0 0; }
.company-intro { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); max-width: 70ch; }
.masthead-contact { display: grid; gap: 10px; min-width: 240px; padding: 18px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); }
.masthead-contact .btn { width: 100%; justify-content: center; }
.company-actions { gap: 10px; flex-wrap: wrap; }
@media (max-width: 899px) {
  .company-masthead { grid-template-columns: 1fr; }
  .masthead-contact { display: none; } /* the sticky callbar takes over on small screens */
  .company-name-line { gap: 14px; }
  .company-name-line .listing-logo-large { width: 60px; height: 60px; border-radius: 14px; }
}
/* Big rating box: restyled as a quiet sourced line (text unchanged) */
body .average-rating-large { max-width: 560px; border-radius: var(--r-sm); background: var(--surface); border-color: var(--rule); }
body .average-rating-large .average-main { padding: 14px 18px; gap: 16px; min-height: 0; }
body .average-rating-large .average-score { padding: 10px 12px; border-radius: 10px; }
body .average-rating-large .average-score strong { font-size: 1.9rem !important; }
body .average-rating-large .average-copy > strong { font-size: 1.1rem; }
body .average-rating-large .average-label { font-size: .9rem; }
body .average-rating-large .average-sources { padding: 0 18px; }
.company-section-nav a.is-active, .company-section-nav a[aria-current] { color: var(--green-ink); border-bottom-color: var(--accent); }
.profile-section { scroll-margin-top: 90px; }
.booking-card { border-radius: var(--r-md); box-shadow: var(--shadow-1); }
.booking-card .btn-solid { background: var(--accent); border-color: var(--accent); }
.booking-card .btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.owner-claim-card { border-radius: var(--r-md); }
.service-rate { border-radius: var(--r-sm); }

/* Sticky Call + WhatsApp bar (mobile) */
.callbar { display: none; }
@media (max-width: 899px) {
  .has-callbar .callbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 10px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(10, 53, 38, .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, .35); border: 0; }
  .has-callbar .callbar .btn { flex: 1 1 0; min-height: 50px; justify-content: center; font-size: 1rem; border-radius: 999px; }
  .has-callbar .callbar .btn:not(.btn-accent) { background: #fbf9f4; border-color: #fbf9f4; color: var(--green-ink); }
  .has-callbar .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
/* PR #3 review P2-4: one breakpoint for both contact surfaces. From 900 px the masthead (or compact-profile)
   Call/WhatsApp buttons show, so the sticky bar from older stylesheets' max-width: 959px rules is hidden;
   below 900 px the masthead buttons hide and the sticky bar shows. No width shows both or neither. */
@media (min-width: 900px) {
  html body.has-callbar .callbar { display: none; }
  html body.has-callbar .foot-inner { padding-bottom: 30px; }
}
/* Compact profiles show Call/WhatsApp inside the hero; below 900 px the sticky bar carries them instead,
   button by button, so a number the bar does not have stays in the hero. */
@media (max-width: 899px) {
  body.has-callbar:has(.callbar a[href^="tel:"]) .compact-profile-hero > .company-actions > .btn[href^="tel:"],
  body.has-callbar:has(.callbar a[href*="wa.me/"]) .compact-profile-hero > .company-actions > .btn[href*="wa.me/"] { display: none; }
}

/* ---------- Guides, blog, town pages ---------- */
.guide-hero { position: relative; border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-1); border: 1px solid var(--rule); padding: clamp(22px, 4vw, 44px); overflow: hidden; }
.guide-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: var(--apricot-tint); opacity: .7; z-index: 0; pointer-events: none; }
.guide-hero > * { position: relative; z-index: 1; }
.guide-hero h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); letter-spacing: -.035em; line-height: 1.08; }
.guide-hero figure img { border-radius: var(--r-md); }
.guide-hero figcaption { font-size: .8rem; }
.guide-hero figcaption a { color: #fbf9f4; background: rgba(10, 53, 38, .82); padding: 2px 8px; border-radius: 6px; }
.guide-hero .btn-solid { background: var(--accent); border-color: var(--accent); }
.guide-hero .btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.guide-dek { font-size: 1.1rem; color: var(--muted); }

/* Town page mini map */
.area-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 360px); gap: 28px; align-items: center; }
.area-hero::after { display: none; }
.area-hero::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--trade); }
body .town-map { margin: 0; background: #e6f0f3; border-radius: var(--r-md); padding: 10px; border: 1px solid var(--rule); }
.town-map svg { display: block; width: 100%; height: auto; }
.town-map-halo { fill: var(--apricot); fill-opacity: .28; }
.town-map-dot { fill: var(--accent); stroke: #fbf9f4; stroke-width: 5; }
.town-map-near { fill: #fbf9f4; stroke: var(--green-deep); stroke-width: 3; }
@media (max-width: 759px) { .area-hero { grid-template-columns: 1fr; } .town-map { max-width: 420px; order: -1; } }

/* Article layout */
.guide-toc { border-radius: var(--r-md); background: #fff; border: 1px solid var(--rule); padding: 6px 14px 12px; }
.guide-toc summary { padding: 8px 0; }
.guide-toc nav a { border-radius: 8px; }
.guide-toc nav a span { color: var(--accent); font-family: var(--mono); }
.guide-toc nav a:hover { background: var(--green-tint); }
.guide-aside .btn-solid { background: var(--accent); border-color: var(--accent); }
.guide-aside .btn-solid:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
@media (min-width: 960px) { .guide-aside { position: sticky; top: 130px; align-self: start; } }
.guide-copy h2 { font-family: var(--serif); letter-spacing: -.02em; }
.guide-copy h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--apricot); margin: 0 0 14px; }
.guide-copy table, .guide-price-sample table { border-collapse: separate; border-spacing: 0; width: 100%; background: #fff; border: 1px solid var(--rule); border-radius: var(--r-sm); overflow: hidden; font-size: .925rem; }
.guide-copy th, .guide-copy td, .guide-price-sample th, .guide-price-sample td { padding: 10px 12px; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
.guide-copy thead th, .guide-price-sample thead th { background: var(--green-deep); color: #fbf9f4; font-weight: 600; font-size: .85rem; }
.guide-copy tbody tr:nth-child(even) > *, .guide-price-sample tbody tr:nth-child(even) > * { background: var(--surface); }
.guide-copy tbody tr:last-child > *, .guide-price-sample tbody tr:last-child > * { border-bottom: 0; }
.guide-copy thead a { color: #fbf9f4; }
.guide-table-scroll { border-radius: var(--r-sm); }
.guide-editor-note, .guide-copy blockquote { position: relative; border-radius: var(--r-md); background: var(--apricot-tint); border: 0; border-left: 5px solid var(--accent); padding: 18px 20px 18px 22px; }
.guide-editor-note strong:first-child { font-family: var(--serif); font-size: 1.15rem; }
.guide-price-sample { border-radius: var(--r-md); background: #fff; border: 1px solid var(--rule); box-shadow: var(--shadow-1); }
.guide-cta { border-radius: var(--r-lg); background: var(--green-deep); color: #fbf9f4; }
.guide-cta h2, .guide-cta p { color: #fbf9f4; }
.guide-cta .kicker { color: var(--apricot); }
.guide-cta .btn-solid { background: var(--accent); border-color: var(--accent); color: #fff; }
.areas-we-serve-links a, .areas-we-serve-links li a { border-radius: 999px; }
.faq details { border-radius: var(--r-sm); }
.blog-index-jump a { border-radius: 999px; }
.area-company-list li { border-radius: var(--r-sm); }
.directory-guide-card { border-radius: var(--r-lg); }
.browse-more a .ic:first-child { color: var(--green); }

@media (max-width: 420px) {
  :root { --pad: 16px; }
  .guide-hero, .directory-hero { border-radius: var(--r-md); }
}
.guide-discovery > h2 { margin-bottom: 24px; }
.guide-card .card-art img { object-position: 50% 65%; }
@media (max-width: 759px) { body .directory-hero .hero-stamp { display: flex; } }

/* Denser cards: the offer label runs inline with its list; smaller CTA rows. */
body .business-card .business-offer .price-eyebrow { display: inline; margin-right: 6px; }
body .business-card .business-offer p { display: inline; }
body .business-card .profile-link { min-height: 36px; }
body .business-card .business-price { padding: 10px 14px; }
@media (min-width: 760px) { body .business-card .business-price .price-context { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }

/* Review round 2: compact profiles. The ported `.company-actions .btn { background: white }` hid the
   accent button's white label; contact CTAs sit at the side of the header band on desktop. */
body .company-actions .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
body .company-actions .btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
body .company-actions .whatsapp-button { background: #fff; border-color: var(--green); color: var(--green-ink); }
body .company-name-line .listing-logo-large { width: 64px !important; height: 64px !important; min-width: 0; border-radius: 16px; flex: none; }
body .company-name-line .listing-logo-large:not(.has-logo) span { font-size: 1.35rem; }
body .compact-profile-hero .limited-details-note { border-radius: var(--r-sm); }
@media (min-width: 900px) {
  body .compact-profile-hero { grid-template-columns: minmax(0, 1fr) 260px; column-gap: 32px; }
  body .compact-profile-hero > * { grid-column: 1; }
  body .compact-profile-hero > .company-actions { grid-column: 2; grid-row: 1 / span 6; align-self: start; flex-direction: column; align-items: stretch; margin: 0; padding: 18px; gap: 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--r-md); }
  body .compact-profile-hero > .company-actions .btn { width: 100%; justify-content: center; min-height: 48px; font-size: .95rem; }
  body .compact-profile-hero > .company-actions > a:not(.btn) { justify-content: center; }
}
@media (max-width: 899px) { body .company-name-line .listing-logo-large { width: 52px !important; height: 52px !important; border-radius: 14px; } }

/* Review round 2: the hero art fills its panel (portrait crop on desktop, wide crop on mobile). */
@media (min-width: 900px) {
  body .home-hero-art { display: block; background: #fbe3d0; }
  body .home-hero-art picture { position: absolute; inset: 0; }
  body .home-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 100%; }
}

/* Review round 2: 404 hero spacing, footer lists stacked on mobile, shorter card art on phones. */
main > [data-not-found]:first-child { margin-top: 24px; }
body .foot-col ul { display: grid; gap: 2px; grid-template-columns: 1fr; }
body .foot-col li { display: block; }
body .browse-more > div a { font-size: .95rem; min-height: 52px; border-radius: var(--r-sm); }
body .browse-more > div a .ic:first-child { width: 20px; height: 20px; }
@media (max-width: 560px) {
  .guide-card .card-art { aspect-ratio: 12 / 5; }
}

/* QA PR #2 review: tap targets of at least 24 px on hub cards ("+N more" and the rating link). */
body .business-offer p > a[href$="#pricing"], body .compact-offerings > a { display: inline-flex; align-items: center; min-height: 24px; padding: 0 2px; }
/* QA PR #2 review: search placeholders at 4.5:1 or better (var(--faint) is 5.8:1 on white). */
input::placeholder, textarea::placeholder, .global-search > input::placeholder, .account-card input::placeholder { color: var(--faint); opacity: 1; }
/* QA PR #2 review P1-2: the SLA outline needs its credit on every town map. */
body .guide-hero .town-map { height: auto; min-height: 0; max-height: none; aspect-ratio: auto; overflow: visible; }
body .guide-hero .town-map figcaption, .town-map figcaption { position: static; margin: 6px 2px 0; padding: 0; background: none; border-radius: 0; font-size: .75rem; line-height: 1.4; color: var(--muted); text-align: right; }
body .guide-hero .town-map figcaption a, .town-map figcaption a { padding: 0; background: none; color: inherit; }
/* Home cost cards: the guide link and "Compare N" share the footer; keep "Compare N" on one line. */
.quick-trade-footer { gap: 12px; }
.quick-trade-footer > a:last-child { white-space: nowrap; }

/* Card inner padding (Martin, 20 Oct 2026) - "text too close to card". The "From the HomezyPro directory"
   rate cards (.guide-price-sample, wherever used) had the card border and radius but no padding.
   Same clamp as .company-masthead; dividers now sit inset with the text. */
.guide-price-sample { padding: clamp(20px, 3.5vw, 34px); }
.guide-price-sample > :first-child { margin-top: 0; }
.guide-price-sample > :last-child { margin-bottom: 0; }
.guide-price-sample > details:last-child { border-bottom: 0; padding-bottom: 0; }
.guide-price-sample details:not([open]) > .guide-table-scroll { display: none; } /* its border painted a stray rule under the closed summary */

/* Company summaries (21 Oct 2026): on cards the summary sits in the offer area above the services line;
   on company pages it leads the intro, near the top. Never clipped. */
.business-offer .business-summary { font-size: .95rem; line-height: 1.55; color: var(--ink); margin: 0 0 8px; }
body .business-card .business-offer p.business-summary, body .business-offer p.business-summary { display: block; font-size: .95rem; line-height: 1.55; color: var(--ink); margin: 0 0 8px !important; }
.compact-company .compact-summary { font-size: .9rem; line-height: 1.55; color: var(--ink); margin: 6px 0 0; }
.company-lede { display: grid; gap: 10px; max-width: 70ch; }
.company-lede > p { margin: 0; }
.company-summary { font-size: 1.05rem; line-height: 1.6; color: var(--ink); max-width: 70ch; }
.masthead-main > .company-lede, .compact-profile-hero > .company-lede { margin: 16px 0 0; }
@media (min-width: 900px) {
  body .company-masthead .company-lede { grid-column: 1; grid-row: 3; margin: 0; align-self: start; }
}
