/* Low-fidelity wireframe styles: greyscale on purpose. Layout and flow only, not the look. */
:root {
  --ink: #1f1f1f;
  --mid: #6b6b6b;
  --line: #c9c9c9;
  --fill: #ececec;
  --fill-2: #f6f6f6;
  --bg: #ffffff;
  --dark: #2b2b2b;
  --note: #fff3a6;
  --note-ink: #5a4a00;
  --plate: #f7d117;
  --radius: 10px;
  --gutter: 16px;
  --max: 1120px;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); line-height: 1.45; }
/* Room for the bottom action bar, only on pages that have one */
body:has(.action-bar) { padding-bottom: 72px; }
@media (min-width: 900px) { body:has(.action-bar) { padding-bottom: 0; } }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .4em; }
h1 { font-size: clamp(1.7rem, 5vw, 2.8rem); }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.9rem); }
h3 { font-size: 1.05rem; }
p { margin: 0 0 .8em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 40px 0; border-bottom: 1px dashed var(--line); }
.eyebrow { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mid); margin-bottom: 6px; }
.muted { color: var(--mid); }
.small { font-size: .85rem; }

/* Wireframe toolbar (not part of the design) */
.wf-bar { position: relative; z-index: 50; display: flex; gap: 8px; align-items: center; justify-content: space-between;
  background: #111; color: #fff; font: 12px/1.2 ui-monospace, Menlo, monospace; padding: 6px var(--gutter); }
.wf-bar a { color: #fff; }
.wf-bar button { font: inherit; background: #333; color: #fff; border: 1px solid #555; border-radius: 4px; padding: 3px 8px; cursor: pointer; }
.in-frame .wf-bar { display: none; }

/* Annotations */
.note { display: none; background: var(--note); color: var(--note-ink); border-left: 4px solid #e2c200; font-size: .8rem;
  padding: 6px 10px; margin: 10px 0; border-radius: 4px; }
.note::before { content: "NOTE  "; font-weight: 700; letter-spacing: .05em; }
body.show-notes .note { display: block; }

/* Header */
.site-header { background: var(--dark); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { height: 36px; width: auto; }
.nav { display: none; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; }
@media (min-width: 900px) { .nav { display: flex; } .logo { height: 44px; } }
.site-header .header-call { display: none; }
@media (min-width: 900px) { .site-header .header-call { display: inline-flex; } }

/* Sticky header with a compact Call button on mobile (replaces the bottom action bar) */
.site-header.sticky { position: sticky; top: 0; z-index: 45; box-shadow: 0 1px 0 #000, 0 4px 12px rgba(0,0,0,.15); }
.site-header.sticky .wrap { min-height: 56px; }
section[id], main[id] { scroll-margin-top: 72px; }
.site-header .call-sm { display: inline-flex; min-height: 40px; padding: 0 14px; font-size: .95rem; }
.call-sm svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .site-header .call-sm { display: none; } .site-header.sticky .wrap { min-height: 64px; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px;
  border-radius: var(--radius); border: 2px solid var(--ink); background: var(--ink); color: #fff; font-weight: 600;
  text-decoration: none; font-size: 1rem; cursor: pointer; white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row .btn { flex: 1 1 200px; }
@media (min-width: 900px) { .btn-row .btn { flex: 0 0 auto; } }

/* Placeholders */
.ph { background: var(--fill); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center;
  color: var(--mid); font-size: .85rem; text-align: center; padding: 12px;
  background-image: linear-gradient(135deg, transparent 49.6%, var(--line) 49.8%, var(--line) 50.2%, transparent 50.4%),
                    linear-gradient(45deg, transparent 49.6%, var(--line) 49.8%, var(--line) 50.2%, transparent 50.4%); }
.ph span { background: var(--fill); padding: 2px 8px; border-radius: 4px; }
.ratio-hero { aspect-ratio: 4 / 3; }
.ratio-wide { aspect-ratio: 16 / 7; }
.ratio-map { aspect-ratio: 4 / 3; }
@media (min-width: 900px) { .ratio-map { aspect-ratio: 16 / 10; } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 18px; }
@media (min-width: 700px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: .85rem; background: var(--fill-2); }
.trust b { display: block; font-size: 1rem; }

/* Cards / grids */
.grid { display: grid; gap: 10px; }
.grid.services { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .grid.services { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.card .icon { width: 32px; height: 32px; border-radius: 8px; background: var(--fill); border: 1px solid var(--line); margin-bottom: 10px; }
.card p { font-size: .85rem; color: var(--mid); margin: 0; }

.steps { display: grid; gap: 10px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps .card { counter-increment: s; }
.steps .card h3::before { content: counter(s) ". "; }

/* Reviews */
.reviews { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.review { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 900px) { .review { flex: 1 1 0; } .reviews { overflow: visible; margin: 0; padding-inline: 0; } }
.stars { letter-spacing: 2px; }
.review blockquote { margin: 8px 0; font-size: .95rem; }
.review cite { font-style: normal; font-size: .8rem; color: var(--mid); }
.rating-big { display: flex; align-items: baseline; gap: 10px; }
.rating-big b { font-size: 3rem; line-height: 1; }

/* Contact */
.split { display: grid; gap: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 32px; } }
.hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours td { padding: 6px 0; border-bottom: 1px solid var(--fill); }
.hours td:last-child { text-align: right; }
.hours tr.today td { font-weight: 700; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--fill-2); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--mid); }
.status.open::before { background: #3a3a3a; box-shadow: 0 0 0 3px #d6d6d6; }

form { display: grid; gap: 10px; }
label { font-size: .85rem; font-weight: 600; display: grid; gap: 4px; }
input, select, textarea { font: inherit; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; width: 100%; }
textarea { min-height: 96px; }
.form-row { display: grid; gap: 10px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* UK reg plate: the one bit of colour, since it's an instantly-recognised affordance */
.plate { display: flex; align-items: stretch; border: 2px solid var(--ink); border-radius: 8px; overflow: hidden; max-width: 360px; background: var(--plate); }
.plate .gb { background: #1d3f91; color: #fff; font-weight: 700; font-size: .7rem; display: grid; place-items: center; padding: 0 8px; }
.plate input { border: 0; border-radius: 0; background: transparent; font-weight: 800; font-size: 1.5rem; letter-spacing: .08em; text-transform: uppercase; text-align: center; min-height: 56px; }

/* Footer */
.site-footer { background: var(--dark); color: #ddd; padding: 28px 0; font-size: .85rem; }
.site-footer .wrap { display: grid; gap: 14px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }

/* Mobile sticky action bar */
.action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--dark); border-top: 1px solid #000; }
.action-bar a { color: #fff; text-decoration: none; text-align: center; padding: 10px 4px 12px; font-size: .78rem; font-weight: 600; }
.action-bar a + a { border-left: 1px solid #444; }
.action-bar i { display: block; width: 22px; height: 22px; margin: 0 auto 4px; border-radius: 6px; background: #555; }
@media (min-width: 900px) { .action-bar { display: none; } }

/* Tabs (variant C) */
.tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 2px solid var(--ink); position: sticky; top: 0; background: var(--bg); z-index: 30; padding-top: 8px; }
.tabs button { font: inherit; font-weight: 600; border: 1px solid var(--line); border-bottom: 0; background: var(--fill-2); padding: 10px 14px; border-radius: 8px 8px 0 0; cursor: pointer; white-space: nowrap; }
.tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel { padding: 22px 0 32px; }
.panel[hidden] { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: var(--fill-2); border-radius: 999px; padding: 6px 12px; font-size: .85rem; }

.tile-pair { display: grid; gap: 12px; }
@media (min-width: 700px) { .tile-pair { grid-template-columns: 1fr 1fr; } }
.tile { border: 2px solid var(--ink); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; }
