/* =====================================================================
   Business Spotlight UK — public site (spotlight.sanford.systems)
   Stand-alone: shares nothing with the Hub's app.css.
   Navy and gold from the sanford.systems Spotlight hero.
   ===================================================================== */

/* Fonts served from this site (no Google Fonts request). SIL OFL 1.1 —
   licences in /fonts. Latin subset covers English, £ and accented names. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/montserrat-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Varela Round"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/varela-round-latin-400-normal.woff2") format("woff2"); }

:root {
    --sp-navy: #14273f;
    --sp-navy-2: #1d3554;
    --sp-navy-ink: #0d1b2d;
    --sp-gold: #d9b56f;
    --sp-gold-dark: #b8924a;
    --sp-gold-tint: #f6eedd;
    --sp-cream: #faf8f3;
    --sp-paper: #ffffff;
    --sp-ink: #1c2633;
    --sp-muted: #5b6574;
    --sp-line: #e6e1d6;
    --sp-danger: #a3352a;
    --sp-danger-bg: #fbecea;
    --sp-radius: 14px;
    --sp-radius-sm: 8px;
    --sp-shadow: 0 1px 2px rgba(13, 27, 45, 0.06), 0 8px 24px rgba(13, 27, 45, 0.06);
    --sp-heading: "Varela Round", "Trebuchet MS", system-ui, sans-serif;
    --sp-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --sp-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--sp-cream);
    color: var(--sp-ink);
    font-family: var(--sp-body);
    font-size: 16px;
    line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--sp-navy); text-underline-offset: 3px; }
a:hover { color: var(--sp-gold-dark); }

h1, h2, h3 { font-family: var(--sp-heading); font-weight: 400; line-height: 1.2; color: var(--sp-navy); margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--sp-gold); outline-offset: 2px; }

.sp-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.sp-narrow { max-width: 760px; }
.sp-center { text-align: center; }
.sp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.sp-skip { position: absolute; left: -9999px; top: 8px; background: var(--sp-gold); color: var(--sp-navy-ink); padding: 8px 14px; border-radius: var(--sp-radius-sm); z-index: 10; }
.sp-skip:focus { left: 8px; }

/* ---------- Buttons ---------- */

.sp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
    font-family: var(--sp-body); font-weight: 600; font-size: 15px; line-height: 1.2;
    text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.sp-btn:hover { transform: translateY(-1px); }
.sp-btn-gold { background: var(--sp-gold); color: var(--sp-navy-ink); }
.sp-btn-gold:hover { background: #e4c588; color: var(--sp-navy-ink); }
.sp-btn-navy { background: var(--sp-navy); color: #fff; }
.sp-btn-navy:hover { background: var(--sp-navy-2); color: #fff; }
.sp-btn-ghost { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.sp-btn-ghost:hover { border-color: var(--sp-gold); color: var(--sp-gold); }
.sp-btn-ghost-dark { border-color: var(--sp-line); color: var(--sp-navy); background: var(--sp-paper); }
.sp-btn-sm { padding: 8px 16px; font-size: 14px; }
.sp-btn-lg { padding: 15px 30px; font-size: 16px; }
.sp-btn-block { display: flex; width: 100%; margin-top: 14px; }

/* ---------- Header ---------- */

.sp-header { background: var(--sp-navy); color: #fff; border-bottom: 1px solid rgba(217, 181, 111, 0.25); }
.sp-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.sp-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.sp-brand:hover { color: #fff; }
.sp-brand-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sp-gold); color: var(--sp-navy); font-size: 18px; }
.sp-brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.sp-brand-region { font-family: var(--sp-heading); font-size: 18px; }
.sp-brand-name { font-family: var(--sp-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-gold); }
.sp-nav { display: flex; align-items: center; gap: 18px; }
.sp-nav > a:not(.sp-btn) { color: #fff; text-decoration: none; font-weight: 500; font-size: 15px; }
.sp-nav > a:not(.sp-btn):hover { color: var(--sp-gold); }

/* ---------- Hero ---------- */

/* No overflow: hidden here — it would cut off the search suggestions.
   The glow is drawn inside the hero's own box instead. */
.sp-hero { background: var(--sp-navy); color: #fff; padding: 72px 0 80px; position: relative; }
.sp-hero::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 55%;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(217, 181, 111, 0.16), transparent 70%);
    pointer-events: none;
}
.sp-hero-inner { position: relative; z-index: 1; text-align: center; }
.sp-hero h1 { color: #fff; margin-bottom: 0.35em; }
.sp-kicker-link { color: inherit; text-decoration: none; }
.sp-kicker-link:hover { text-decoration: underline; }
.sp-kicker { font-family: var(--sp-mono); font-weight: 600; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sp-gold); margin-bottom: 1em; }
.sp-hero-lead { font-family: var(--sp-mono); font-size: clamp(15px, 1.9vw, 18px); max-width: 760px; margin: 0 auto 1.8em; color: rgba(255, 255, 255, 0.92); }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 32px; }

.sp-search { display: flex; gap: 8px; max-width: 560px; margin: 0 auto; background: rgba(255, 255, 255, 0.08); padding: 6px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); }
.sp-search input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; font: inherit; padding: 10px 12px; }
.sp-search input::placeholder { color: rgba(255, 255, 255, 0.6); }
.sp-search input:focus { outline: none; }
.sp-search:focus-within { border-color: var(--sp-gold); }

/* ---------- Page heads ---------- */

.sp-page-head { background: var(--sp-navy); color: rgba(255, 255, 255, 0.9); padding: 44px 0 48px; }
.sp-page-head h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.sp-page-head p { max-width: 720px; }
.sp-page-head .sp-hero-lead { margin: 0; text-align: left; }
.sp-crumbs { font-size: 13px; margin-bottom: 18px; color: rgba(255, 255, 255, 0.7); }
.sp-crumbs a { color: rgba(255, 255, 255, 0.85); }
.sp-crumbs a:hover { color: var(--sp-gold); }

/* ---------- Sections ---------- */

.sp-section { padding: 64px 0; }
.sp-section-tight { padding: 40px 0 64px; }
.sp-section-alt { background: var(--sp-paper); border-top: 1px solid var(--sp-line); border-bottom: 1px solid var(--sp-line); }
.sp-band { background: var(--sp-gold-tint); }
.sp-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 28px; }
.sp-section-head.sp-center { display: block; }
.sp-section-head p { color: var(--sp-muted); margin: 0; flex-basis: 100%; }
.sp-section-head.sp-center p { margin: 0 auto; }
.sp-link-arrow { font-weight: 600; text-decoration: none; }
.sp-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

/* ---------- Cards ---------- */

.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.sp-card { background: var(--sp-paper); border-radius: var(--sp-radius); box-shadow: var(--sp-shadow); overflow: hidden; border: 1px solid var(--sp-line); transition: transform .15s, box-shadow .15s; }
.sp-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(13, 27, 45, 0.08), 0 16px 32px rgba(13, 27, 45, 0.1); }
.sp-card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.sp-card-link:hover { color: inherit; }
.sp-card-media { position: relative; aspect-ratio: 4 / 3; background: var(--sp-navy); display: grid; place-items: center; overflow: hidden; }
.sp-card-media img { width: 100%; height: 100%; object-fit: cover; }
.sp-card-initial { font-family: var(--sp-heading); font-size: 64px; color: var(--sp-gold); }
.sp-card-body { padding: 16px 18px 20px; }
.sp-card-title { margin-bottom: 6px; }
.sp-card-summary { color: var(--sp-muted); font-size: 14px; margin: 0; }
.sp-eyebrow { font-family: var(--sp-mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-gold-dark); margin-bottom: 6px; }
.sp-tag { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.sp-tag-gold { background: var(--sp-gold); color: var(--sp-navy-ink); }

/* ---------- Pills ---------- */

.sp-pills { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sp-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--sp-paper); border: 1px solid var(--sp-line); text-decoration: none; font-weight: 500; font-size: 14px; }
.sp-pills a:hover { border-color: var(--sp-gold); color: var(--sp-navy); }
.sp-message-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.sp-message-apply { margin-top: 36px; padding: 22px; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); background: var(--sp-gold-tint); }
.sp-message-apply p { font-weight: 600; margin-bottom: 12px; }
.sp-reviews .sp-btn + .sp-btn { margin-top: 10px; }
.sp-reviews p { margin-bottom: 14px; }
.sp-area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sp-area-list li { padding: 4px 12px; border-radius: 999px; border: 1px solid var(--sp-line); font-size: 14px; }
.sp-area-choice { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 10px 14px; margin-bottom: 10px; background: var(--sp-paper); }
.sp-area-choice summary { cursor: pointer; font-weight: 600; }
.sp-area-choice[open] summary { margin-bottom: 10px; }
.sp-area-towns { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 2px 12px; margin-top: 6px; }
.sp-area-uk { font-size: 1.05rem; margin-bottom: 4px; }
.sp-area-county { border-top: 1px solid var(--sp-line); padding: 8px 0 4px; margin-left: 4px; }
.sp-area-county summary { cursor: pointer; font-weight: 500; }
.sp-area-county[open] summary { margin-bottom: 6px; }
.sp-online-tag { display: inline-block; margin: 6px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 14px; }
.sp-map { display: block; width: 100%; height: auto; max-height: 520px; object-fit: contain; margin: 4px 0 12px; }
.sp-map-key { list-style: none; padding: 0; margin: 0; font-size: 14px; }
.sp-map-key li { display: flex; gap: 8px; align-items: baseline; margin-bottom: 6px; }
.sp-key { display: inline-block; width: 12px; height: 12px; border-radius: 3px; flex: none; transform: translateY(1px); }
.sp-key-base { background: #2e9e5b; }
.sp-key-served { background: #f0a043; }
.sp-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 24px 0; }
.sp-share-label { font-weight: 600; margin-right: 4px; }
.sp-share-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--sp-line); background: var(--sp-paper); color: var(--sp-navy); text-decoration: none; font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.sp-share-btn:hover { border-color: var(--sp-gold); }
.sp-share-icon { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; font-family: Arial, Helvetica, sans-serif; }
.sp-share-linkedin .sp-share-icon { background: #0a66c2; }
.sp-share-facebook .sp-share-icon { background: #1877f2; }
.sp-share-x .sp-share-icon { background: #111; }
.sp-stats { border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 18px 22px; margin-bottom: 22px; background: var(--sp-paper); }
.sp-stats h2 { font-size: 1.15rem; margin: 0 0 10px; }
.sp-stats ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.sp-stats strong { display: block; font-size: 1.6rem; color: var(--sp-navy); }
.sp-cat-row { display: grid; grid-template-columns: minmax(170px, 1fr) 1.3fr; gap: 6px 12px; align-items: center; padding: 3px 0; }
.sp-cat-row .sp-check { margin: 0; }
.sp-cat-row input[type=text] { padding: 6px 10px; font-size: 14px; }
@media (max-width: 600px) { .sp-cat-row { grid-template-columns: 1fr; } }
.sp-service-list { list-style: none; padding: 0; margin: 0; }
.sp-service-list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--sp-line); }
.sp-service-list li:last-child { border-bottom: 0; }
.sp-service-link { font-size: 14px; white-space: nowrap; }
.sp-open-tag { display: inline-block; margin: 6px 8px 0 0; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 14px; }
.sp-open-tag.is-open { background: #2e9e5b; color: #fff; }
.sp-offer { border: 2px dashed var(--sp-gold); border-radius: var(--sp-radius); padding: 18px 22px; margin: 24px 0; background: var(--sp-gold-tint); }
.sp-offer h2 { font-size: 1.3rem; margin: 2px 0 6px; }
.sp-offer-kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--sp-navy); margin: 0; }
.sp-card-offer { display: inline-block; margin: 0 0 6px; padding: 2px 10px; border-radius: 999px; background: var(--sp-gold-tint); color: var(--sp-navy); font-size: 13px; font-weight: 600; }
.sp-hours-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.sp-hours-table th { text-align: left; font-weight: 500; padding: 4px 8px 4px 0; }
.sp-hours-table td { text-align: right; padding: 4px 0; }
.sp-hours-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; padding: 4px 0; border-bottom: 1px solid var(--sp-line); }
.sp-hours-row .sp-check { min-width: 130px; margin: 0; }
.sp-hours-slot { display: inline-flex; gap: 4px; align-items: center; }
.sp-hours-slot input { width: auto; padding: 4px 6px; }
.sp-subhead { font-size: 1.05rem; margin: 20px 0 6px; }
.sp-report-link { font-size: 13px; margin: -10px 0 24px; }
.sp-report-link a { color: var(--sp-muted); }
.sp-btn-sm { padding: 7px 14px; font-size: 14px; }
.sp-office-links .sp-btn + a { margin-left: 10px; }
.sp-serving { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--sp-line); }
.sp-serving h2 { font-size: 1.35rem; margin-bottom: 6px; }
.sp-serving-note { color: var(--sp-muted); margin-bottom: 20px; }
.sp-browse-more { margin-top: 40px; }
.sp-browse-more h2 { font-size: 1.25rem; margin-bottom: 14px; }
.sp-browse-all { margin-top: 18px; font-weight: 600; }
.sp-pills span { font-family: var(--sp-mono); font-size: 12px; color: var(--sp-muted); }

/* ---------- How it works ---------- */

.sp-steps-list { list-style: none; counter-reset: step; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.sp-steps-list li { counter-increment: step; background: var(--sp-paper); border-radius: var(--sp-radius); padding: 24px; border: 1px solid var(--sp-line); display: flex; flex-direction: column; gap: 6px; }
.sp-steps-list li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--sp-navy); color: var(--sp-gold); font-family: var(--sp-heading); margin-bottom: 6px; }
.sp-steps-list strong { font-family: var(--sp-heading); font-weight: 400; font-size: 1.15rem; color: var(--sp-navy); }
.sp-steps-list span { color: var(--sp-muted); font-size: 15px; }

/* ---------- Directory ---------- */

.sp-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 14px; align-items: end; background: var(--sp-paper); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 18px; margin-bottom: 28px; }
.sp-filters label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.sp-filters-actions { display: flex; align-items: center; gap: 14px; }
.sp-count { font-family: var(--sp-mono); font-size: 13px; color: var(--sp-muted); }
.sp-empty { background: var(--sp-paper); border: 1px dashed var(--sp-line); border-radius: var(--sp-radius); padding: 32px; text-align: center; }
.sp-pager { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; color: var(--sp-muted); font-size: 14px; }

/* ---------- Profile ---------- */

.sp-profile { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.sp-profile-hero { margin: 0 0 32px; border-radius: var(--sp-radius); overflow: hidden; box-shadow: var(--sp-shadow); }
.sp-profile-hero img { width: 100%; }
.sp-answer { margin-bottom: 32px; }
.sp-answer h2 { font-size: 1.4rem; padding-left: 14px; border-left: 4px solid var(--sp-gold); }
.sp-answer p { font-size: 17px; }
.sp-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.sp-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--sp-radius-sm); }
.sp-profile-side { position: sticky; top: 20px; display: flex; flex-direction: column; gap: 20px; }
.sp-panel { background: var(--sp-paper); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 22px; box-shadow: var(--sp-shadow); }
.sp-panel h2 { font-size: 1.2rem; }
.sp-panel-town { color: var(--sp-muted); font-size: 14px; }
.sp-panel-gold { background: var(--sp-gold-tint); border-color: #ecdcb9; box-shadow: none; }
.sp-contact { list-style: none; padding: 0; margin: 0; }
.sp-contact li { display: flex; flex-direction: column; padding: 10px 0; border-top: 1px solid var(--sp-line); font-size: 15px; word-break: break-word; }
.sp-contact li span { font-family: var(--sp-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-muted); }

/* ---------- Forms ---------- */

.sp-form fieldset { border: 1px solid var(--sp-line); background: var(--sp-paper); border-radius: var(--sp-radius); padding: 22px 24px 8px; margin: 0 0 22px; }
.sp-form legend { font-family: var(--sp-heading); font-size: 1.3rem; color: var(--sp-navy); padding: 0 8px; margin-left: -8px; }
.sp-legend-help { color: var(--sp-muted); font-size: 14.5px; }
.sp-form label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
.sp-hint { color: var(--sp-muted); font-size: 14px; margin: -2px 0 8px; }
.sp-optional { font-weight: 400; color: var(--sp-muted); font-size: 13px; }
.sp-form input[type="text"], .sp-form input[type="email"], .sp-form input[type="tel"], .sp-form input[type="search"],
.sp-form select, .sp-form textarea, .sp-filters input, .sp-filters select {
    width: 100%; font: inherit; font-size: 16px; color: var(--sp-ink); background: #fff;
    border: 1.5px solid #d6d0c3; border-radius: var(--sp-radius-sm); padding: 11px 12px; margin-bottom: 10px;
}
.sp-filters input, .sp-filters select { margin-bottom: 0; }
.sp-form textarea { resize: vertical; min-height: 120px; }
.sp-form input:focus, .sp-form select:focus, .sp-form textarea:focus, .sp-filters input:focus, .sp-filters select:focus { border-color: var(--sp-navy); outline: 3px solid rgba(217, 181, 111, 0.45); outline-offset: 0; }
.sp-form [aria-invalid="true"] { border-color: var(--sp-danger); }
.sp-form input[type="file"] { margin-bottom: 14px; font-size: 15px; }
.sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sp-field-error { color: var(--sp-danger); font-size: 14px; font-weight: 600; margin: -4px 0 10px; }
.sp-check { display: flex !important; gap: 12px; align-items: flex-start; font-weight: 400 !important; font-size: 15px !important; }
.sp-check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--sp-navy); }
.sp-consents { padding-bottom: 16px !important; }
.sp-alert { background: var(--sp-danger-bg); color: var(--sp-danger); border-radius: var(--sp-radius-sm); padding: 14px 18px; margin-bottom: 22px; }
.sp-alert p { margin: 0; }
.sp-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Misc ---------- */

.sp-message { padding: 24px 0; }
.sp-prose h2 { margin-top: 1.6em; }
.sp-prose ul { padding-left: 1.2em; }
.sp-prose li { margin-bottom: 0.4em; }
.sp-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.sp-region-card { display: flex; flex-direction: column; gap: 6px; background: var(--sp-navy); color: #fff; border-radius: var(--sp-radius); padding: 32px 26px; text-decoration: none; box-shadow: var(--sp-shadow); transition: transform .15s; }
.sp-region-card:hover { color: #fff; transform: translateY(-3px); }
.sp-region-name { font-family: var(--sp-heading); font-size: 1.8rem; }
.sp-region-brand { font-family: var(--sp-mono); font-size: 12px; color: var(--sp-gold); letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Footer ---------- */

.sp-footer { background: var(--sp-navy-ink); color: rgba(255, 255, 255, 0.78); padding: 40px 0; font-size: 14px; }
.sp-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.sp-footer a { color: #fff; }
.sp-footer a:hover { color: var(--sp-gold); }
.sp-footer-name { font-family: var(--sp-heading); font-size: 18px; color: #fff; margin-bottom: 6px; }
.sp-footer-credit { font-family: var(--sp-mono); font-size: 13px; }
.sp-footer-small { font-size: 12.5px; color: rgba(255, 255, 255, 0.55); margin: 0; }
.sp-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: flex-start; }

/* ---------- Small screens ---------- */

@media (max-width: 900px) {
    .sp-profile { grid-template-columns: 1fr; }
    .sp-profile-side { position: static; }
    .sp-filters { grid-template-columns: 1fr 1fr; }
    .sp-filters > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    .sp-hero { padding: 52px 0 60px; }
    .sp-section { padding: 44px 0; }
    .sp-form-row { grid-template-columns: 1fr; gap: 0; }
    .sp-form fieldset { padding: 18px 16px 6px; }
    .sp-filters { grid-template-columns: 1fr; }
    .sp-search { flex-direction: column; background: transparent; border: 0; padding: 0; }
    .sp-search input { background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 10px; }
    .sp-nav > a:not(.sp-btn) { display: none; }
    .sp-brand-region { font-size: 16px; }
    .sp-btn-lg { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; }
}

/* ---------- Offices, accounts and confirmations (build 783) ---------- */

.sp-office { padding: 12px 0; border-top: 1px solid var(--sp-line); }
.sp-office:first-of-type { border-top: 0; padding-top: 4px; }
.sp-office-name { font-weight: 600; margin: 0 0 2px; }
.sp-office-address { margin: 0; color: var(--sp-ink); font-size: 15px; }
.sp-office-links { margin: 4px 0 0; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; word-break: break-word; }
.sp-tag-inline { display: inline-block; background: var(--sp-gold-tint); color: var(--sp-navy); border-radius: 999px; padding: 1px 8px; font-size: 11px; font-weight: 600; vertical-align: middle; }
.sp-notice { background: #e9f3ec; color: #1f5132; border-radius: var(--sp-radius-sm); padding: 14px 18px; margin-bottom: 22px; }
.sp-notice p { margin: 0; }
.sp-checks { background: var(--sp-gold-tint); border: 1px solid #ecdcb9; border-radius: var(--sp-radius); padding: 20px 22px; margin-bottom: 22px; }
.sp-checks h2 { font-size: 1.25rem; }
.sp-check-item { border-top: 1px solid #ecdcb9; padding-top: 12px; margin-top: 12px; }
.sp-check-item p { margin-bottom: 8px; }
.sp-code-form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.sp-code-form label { margin: 0 !important; }
.sp-code-form input[type="text"] { width: 150px; margin: 0; font-family: var(--sp-mono); letter-spacing: 0.2em; font-size: 18px; }
.sp-mailing { border: 1px solid var(--sp-line, #e4e0d8); border-radius: var(--sp-radius); padding: 20px 22px; margin: 28px 0 18px; }
.sp-mailing h2 { font-size: 1.15rem; margin-top: 0; }
.sp-mailing .sp-hint { margin: 8px 0 12px; }
.sp-inline-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.sp-details { margin: 0 0 22px; }
.sp-details summary { cursor: pointer; font-weight: 600; color: var(--sp-navy); padding: 14px 18px; background: var(--sp-paper); border: 1px dashed var(--sp-gold-dark); border-radius: var(--sp-radius); list-style: none; }
.sp-details summary::-webkit-details-marker { display: none; }
.sp-details summary::before { content: "+ "; color: var(--sp-gold-dark); }
.sp-details[open] summary { margin-bottom: 12px; }
.sp-list { list-style: none; padding: 0; margin: 0 0 24px; }
.sp-list li { background: var(--sp-paper); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-sm); padding: 14px 18px; margin-bottom: 10px; display: flex; flex-direction: column; gap: 2px; }
.sp-on-dark { color: var(--sp-gold); }
.sp-on-dark:hover { color: #fff; }
.sp-form input[type="radio"] { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--sp-navy); }

/* ---------- Home: find your area (build 785) ---------- */

.sp-locate { margin: 14px 0 0; min-height: 24px; }
.sp-link-button { background: none; border: 0; padding: 0; color: var(--sp-gold); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sp-link-button:hover { color: #fff; }
.sp-link-button:disabled { opacity: 0.6; cursor: wait; }
.sp-locate-status { display: block; margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, 0.85); }
.sp-center-block { margin: 0 auto 28px; text-align: center; }
.sp-center-pills { justify-content: center; margin-bottom: 32px; }
.sp-region-count { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.8); }
.sp-gap-top { margin-top: 26px; }
.sp-hero-stats { font-family: var(--sp-mono); font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-gold); margin: -10px 0 26px; }
.sp-faq details { background: var(--sp-paper); border: 1px solid var(--sp-line); border-radius: var(--sp-radius-sm); padding: 14px 18px; margin-bottom: 10px; }
.sp-faq summary { cursor: pointer; font-weight: 600; color: var(--sp-navy); }
.sp-faq details[open] summary { margin-bottom: 8px; }
.sp-faq p { margin: 0; color: var(--sp-ink); }

/* Business details panel: registration numbers with a link to check them. */
.sp-verify-link { font-size: 13px; margin-top: 2px; }
.sp-business-details .sp-small { font-size: 13px; color: var(--sp-muted); margin: 10px 0 0; }

/* Home: counties switched on only by businesses serving them, by area. */
.sp-area-index { margin-top: 44px; }
.sp-area-index h3 { font-family: var(--sp-heading); font-weight: 400; font-size: 1.4rem; margin: 0 0 20px; }
.sp-area-index-groups { columns: 4 230px; column-gap: 32px; }
.sp-area-index-group { break-inside: avoid; margin: 0 0 22px; }
.sp-area-index-group h4 { font-family: var(--sp-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--sp-muted); margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--sp-line); }
.sp-area-index-group ul { list-style: none; margin: 0; padding: 0; }
.sp-area-index-group li { padding: 3px 0; font-size: 15px; line-height: 1.35; }
.sp-area-index-group li a { font-weight: 600; }
.sp-area-index-group li span { display: block; font-size: 12.5px; color: var(--sp-muted); }

/* "Registration checked" — staff confirmed the company/charity record. */
.sp-verified-tag { display: inline-block; margin: 6px 8px 0 0; }
.sp-verified-tag a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sp-gold); color: var(--sp-navy); font-size: 14px; font-weight: 600; text-decoration: none; }
.sp-verified { margin: 0 0 8px; padding: 8px 10px; border-radius: 8px; background: rgba(46, 158, 91, 0.1); color: #1d6b3d; font-size: 14px; }
.sp-verified span { font-weight: 700; }

/* "Promote your listing" — the badge pack on the manage page. */
.sp-promote { background: #fff; border: 1px solid var(--sp-line); border-radius: var(--sp-radius); padding: 22px 24px; margin: 0 0 24px; }
.sp-promote h2 { margin: 0 0 6px; }
.sp-promote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin: 14px 0; }
.sp-promote figure { margin: 0; }
.sp-promote img { display: block; max-width: 100%; height: auto; border-radius: 8px; box-shadow: var(--sp-shadow); margin-bottom: 8px; }
.sp-promote figcaption { font-size: 14px; line-height: 1.45; }
.sp-promote-sticker { display: flex; align-items: center; justify-content: center; gap: 8px; height: 120px; border-radius: 8px; background: var(--sp-navy); color: var(--sp-gold); font-weight: 700; text-decoration: none; margin-bottom: 8px; border: 3px solid var(--sp-gold); }
.sp-promote-sticker:hover { color: #fff; }
.sp-promote-embed { margin: 6px 0 10px; }
.sp-promote-embed summary { cursor: pointer; font-weight: 600; }
.sp-promote-embed textarea { width: 100%; font-family: var(--sp-mono); font-size: 12px; }

/* Business of the month. */
.sp-section-tight { padding-top: 28px; padding-bottom: 0; }
.sp-botm { background: #fbf6ea; border: 1px solid #ead9b0; border-radius: var(--sp-radius); padding: 22px 26px; margin: 0 0 28px; }
.sp-botm-wide { display: flex; gap: 24px; align-items: center; }
.sp-botm-wide img { width: 220px; height: 160px; object-fit: cover; border-radius: 10px; flex: none; }
.sp-botm h2 { margin: 4px 0 2px; font-size: 1.6rem; }
.sp-botm h2 a { color: var(--sp-navy); text-decoration: none; }
.sp-botm-kicker { margin: 0; font-family: var(--sp-mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a6d2b; }
.sp-botm-place { margin: 0 0 8px; color: var(--sp-muted); }
@media (max-width: 640px) { .sp-botm-wide { flex-direction: column; align-items: flex-start; } .sp-botm-wide img { width: 100%; height: 180px; } }
.sp-botm-tag a { background: #fff; }
/* Near me, new, roundup. */
.sp-search-near select { border: 0; border-radius: 8px; padding: 0 10px; font: inherit; }
.sp-near-item { display: flex; flex-direction: column; }
.sp-distance { margin: 0 0 6px; font-family: var(--sp-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--sp-muted); text-transform: uppercase; }
.sp-near-count, .sp-roundup-county { margin: 8px 0 16px; }
.sp-roundup-county { margin-top: 32px; }
.sp-roundup-nav { display: flex; justify-content: space-between; margin-top: 36px; }
.sp-link-quiet { margin-left: 14px; color: inherit; opacity: 0.85; }

/* Videos on a listing: our thumbnail, opens on YouTube. */
.sp-videos { margin: 28px 0 0; }
.sp-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.sp-video { display: block; text-decoration: none; color: inherit; }
.sp-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: var(--sp-navy); }
.sp-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-video-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(20, 39, 63, 0.82); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; padding-left: 4px; box-sizing: border-box; }
.sp-video:hover .sp-video-play { background: var(--sp-gold); color: var(--sp-navy); }
.sp-video-title { display: block; font-weight: 600; margin: 8px 0 0; }
.sp-video-note { display: block; font-size: 13px; color: var(--sp-muted); }
.sp-video-status { margin: 0 0 12px; padding-left: 18px; }

/* Breathing room between the last section and the footer on every page
   (a panel at the very end of a page used to sit right on the footer). */
#main { padding-bottom: 56px; }
@media (max-width: 640px) { #main { padding-bottom: 40px; } }

/* Search suggestions (spotlight-suggest.js). */
.sp-suggest-wrap { position: relative; }
.sp-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; list-style: none; margin: 0; padding: 6px 0; background: #fff; color: var(--sp-ink, #14273f); border-radius: 12px; box-shadow: 0 12px 32px rgba(20, 39, 63, 0.22); max-height: 60vh; overflow-y: auto; text-align: left; }
.sp-suggest-head { padding: 8px 16px 4px; font-family: var(--sp-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sp-muted); }
.sp-suggest-item { padding: 9px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 1px; }
.sp-suggest-item[aria-selected="true"], .sp-suggest-item:hover { background: #f4ecdb; }
.sp-suggest-label { font-weight: 600; font-size: 15px; }
.sp-suggest-sub { font-size: 13px; color: var(--sp-muted); }

/* Header on phones: keep "Get featured" on one line and give the brand the
   room it needs, rather than squeezing the button into two lines. */
.sp-nav .sp-btn { white-space: nowrap; flex: none; }
.sp-brand { min-width: 0; }
.sp-brand-mark { flex: none; }
@media (max-width: 640px) {
    .sp-header-inner { gap: 10px; min-height: 60px; padding-top: 8px; padding-bottom: 8px; }
    .sp-nav .sp-btn { padding: 8px 14px; font-size: 14px; line-height: 1.2; border-radius: 10px; }
    .sp-brand { gap: 8px; }
    .sp-brand-mark { width: 30px; height: 30px; font-size: 15px; }
    .sp-brand-name { font-size: 9.5px; letter-spacing: 0.05em; }
}
@media (max-width: 360px) {
    .sp-brand-name { display: none; }
}

/* "Open 24 hours" on a day: its time boxes are not needed. */
.sp-hours-row:has(.sp-hours-allday input:checked) .sp-hours-slot { opacity: 0.35; pointer-events: none; }
.sp-hours-allday { white-space: nowrap; }
.sp-hours-row .sp-hours-allday { min-width: 0; margin-left: auto; }

/* "Add to home screen" in the footer. */
.sp-footer-install { background: none; border: 1px solid rgba(217, 181, 111, 0.6); color: var(--sp-gold); border-radius: 999px; padding: 4px 12px; font: inherit; cursor: pointer; }
.sp-footer-install:hover { background: rgba(217, 181, 111, 0.12); }
.sp-install-ios { margin: 12px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.85); }

/* Bot trap link (SpotlightBotGuard): never seen by people. */
.sp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* "Show email" (SpotlightEmailReveal). */
.sp-email-reveal { display: inline; margin: 0; text-align: left; font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sp-email-reveal:hover, .sp-email-reveal:focus-visible { color: var(--sp-gold-dark, #8a6a2c); }
.sp-email-domain { opacity: .7; font-size: .92em; text-decoration: none; }
.sp-email-link { word-break: break-all; }

/* One-sentence factual summary under a listing's story. */
.sp-factline { margin: 28px 0 0; padding: 14px 16px; border-left: 3px solid var(--sp-gold, #d9b56f); background: rgba(20, 39, 63, .04); font-size: .95rem; line-height: 1.55; color: inherit; }

/* Opening hours and business details above the story (listing page). */
.sp-glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0 0 32px; align-items: stretch; }
.sp-glance > .sp-panel { height: 100%; box-sizing: border-box; }
.sp-glance .sp-panel h2 { font-size: 1.15rem; }
.sp-contact .sp-email-reveal, .sp-office-links .sp-email-reveal { align-self: flex-start; }
.sp-contact li .sp-email-domain { font-family: inherit; font-size: .92em; letter-spacing: 0; text-transform: none; color: var(--sp-muted); }

/* About page: the one place Sanford Systems' services are offered to visitors. */
.sp-about-cta { margin: 32px 0; padding: 24px 26px; background: var(--sp-gold-tint); border: 1px solid #ecdcb9; border-radius: var(--sp-radius); }
.sp-about-cta h2 { margin-top: 0; }
.sp-about-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 0; }

/* "Grow your business" on the manage page (SpotlightGrowth). */
.sp-grow { border: 1px solid #ecdcb9; background: var(--sp-gold-tint); border-radius: var(--sp-radius); padding: 22px; margin-bottom: 22px; }
.sp-grow h2 { font-size: 1.15rem; margin: 0 0 6px; }
.sp-grow-intro { margin: 0 0 16px; }
.sp-grow-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.sp-grow-card { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 16px; background: var(--sp-paper); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); }
.sp-grow-card h3 { margin: 0; font-size: 1rem; color: var(--sp-navy); }
.sp-grow-card p { margin: 0; font-size: 14px; line-height: 1.5; flex: 1; }
.sp-grow-card .sp-btn { align-self: flex-start; }
.sp-grow .sp-hint { margin: 14px 0 0; }
